@synergy-design-system/vue 1.27.0 → 2.1.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/README.md +1 -33
- package/dist/components/SynVueAlert.vue.d.ts +0 -5
- package/dist/components/SynVueBreadcrumbItem.vue.d.ts +0 -2
- package/dist/components/SynVueButton.vue.d.ts +0 -8
- package/dist/components/SynVueCard.vue.d.ts +8 -6
- package/dist/components/SynVueCheckbox.vue.d.ts +0 -9
- package/dist/components/SynVueDialog.vue.d.ts +0 -3
- package/dist/components/SynVueDivider.vue.d.ts +0 -1
- package/dist/components/SynVueDrawer.vue.d.ts +0 -4
- package/dist/components/SynVueDropdown.vue.d.ts +0 -13
- package/dist/components/SynVueHeader.vue.d.ts +26 -25
- package/dist/components/SynVueIcon.vue.d.ts +0 -2
- package/dist/components/SynVueIconButton.vue.d.ts +0 -3
- package/dist/components/SynVueInput.vue.d.ts +0 -15
- package/dist/components/SynVueMenuItem.vue.d.ts +0 -5
- package/dist/components/SynVueNavItem.vue.d.ts +0 -4
- package/dist/components/SynVueOptgroup.vue.d.ts +0 -1
- package/dist/components/SynVueOption.vue.d.ts +0 -4
- package/dist/components/SynVuePopup.vue.d.ts +0 -1
- package/dist/components/SynVuePrioNav.vue.d.ts +8 -23
- package/dist/components/SynVueRadio.vue.d.ts +0 -2
- package/dist/components/SynVueRadioButton.vue.d.ts +0 -3
- package/dist/components/SynVueRadioGroup.vue.d.ts +0 -6
- package/dist/components/SynVueSelect.vue.d.ts +0 -11
- package/dist/components/SynVueSideNav.vue.d.ts +0 -5
- package/dist/components/SynVueSwitch.vue.d.ts +0 -9
- package/dist/components/SynVueTab.vue.d.ts +63 -0
- package/dist/components/SynVueTabGroup.vue.d.ts +78 -0
- package/dist/components/SynVueTabPanel.vue.d.ts +40 -0
- package/dist/components/SynVueTextarea.vue.d.ts +0 -107
- package/dist/components/SynVueTooltip.vue.d.ts +0 -5
- package/dist/index.d.ts +3 -0
- package/package.json +2 -2
- package/src/components/SynVueAlert.vue +0 -26
- package/src/components/SynVueBadge.vue +0 -3
- package/src/components/SynVueBreadcrumb.vue +0 -3
- package/src/components/SynVueBreadcrumbItem.vue +0 -6
- package/src/components/SynVueButton.vue +0 -41
- package/src/components/SynVueButtonGroup.vue +0 -3
- package/src/components/SynVueCard.vue +4 -6
- package/src/components/SynVueCheckbox.vue +0 -45
- package/src/components/SynVueDialog.vue +0 -14
- package/src/components/SynVueDivider.vue +0 -4
- package/src/components/SynVueDrawer.vue +0 -16
- package/src/components/SynVueDropdown.vue +0 -39
- package/src/components/SynVueHeader.vue +37 -39
- package/src/components/SynVueIcon.vue +0 -6
- package/src/components/SynVueIconButton.vue +0 -17
- package/src/components/SynVueInput.vue +0 -70
- package/src/components/SynVueMenu.vue +0 -3
- package/src/components/SynVueMenuItem.vue +0 -15
- package/src/components/SynVueMenuLabel.vue +0 -3
- package/src/components/SynVueNavItem.vue +0 -19
- package/src/components/SynVueOptgroup.vue +0 -4
- package/src/components/SynVueOption.vue +0 -13
- package/src/components/SynVuePopup.vue +0 -7
- package/src/components/SynVuePrioNav.vue +1 -8
- package/src/components/SynVueProgressBar.vue +0 -3
- package/src/components/SynVueProgressRing.vue +0 -3
- package/src/components/SynVueRadio.vue +0 -6
- package/src/components/SynVueRadioButton.vue +0 -14
- package/src/components/SynVueRadioGroup.vue +0 -28
- package/src/components/SynVueSelect.vue +0 -50
- package/src/components/SynVueSideNav.vue +0 -18
- package/src/components/SynVueSpinner.vue +0 -3
- package/src/components/SynVueSwitch.vue +0 -43
- package/src/components/SynVueTab.vue +92 -0
- package/src/components/SynVueTabGroup.vue +121 -0
- package/src/components/SynVueTabPanel.vue +69 -0
- package/src/components/SynVueTag.vue +0 -3
- package/src/components/SynVueTextarea.vue +0 -60
- package/src/components/SynVueTooltip.vue +0 -18
- package/src/index.js +3 -0
package/README.md
CHANGED
|
@@ -139,39 +139,7 @@ An example for how these types can be used in case of event handling, is shown b
|
|
|
139
139
|
</template>
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
-
### 7.
|
|
143
|
-
|
|
144
|
-
> ⛔️ This feature is deprecated, the methods defined below will not be available in the next major version of `@synergy-design-system/vue`!
|
|
145
|
-
> If you need to call methods on elements, please obtain a reference to the native element as shown below and call the method on the native element itself!
|
|
146
|
-
|
|
147
|
-
Components can have methods (like `focus`, `click`, `stepUp`, etc. ), which trigger an action, if they are called.
|
|
148
|
-
|
|
149
|
-
In Vue they can be used by prefixing each method name with `call`.
|
|
150
|
-
|
|
151
|
-
`focus` -> `callFocus`, `click`-> `callClick`, ...
|
|
152
|
-
|
|
153
|
-
An example for calling such a method in a Vue component is shown here:
|
|
154
|
-
|
|
155
|
-
```html
|
|
156
|
-
<script setup lang="ts">
|
|
157
|
-
import { SynVueInput, SynVueButton } from "@synergy-design-system/vue";
|
|
158
|
-
import { ref } from "vue";
|
|
159
|
-
|
|
160
|
-
const count = ref<InstanceType<typeof SynVueInput> | null>(null);
|
|
161
|
-
|
|
162
|
-
const handleClick = () => {
|
|
163
|
-
// Increment the count via calling the method
|
|
164
|
-
count.value?.callStepUp();
|
|
165
|
-
};
|
|
166
|
-
</script>
|
|
167
|
-
|
|
168
|
-
<template>
|
|
169
|
-
<SynVueInput ref="count" label="My count" type="number" value="5" />
|
|
170
|
-
<SynVueButton @click="handleClick"> Increment </SynVueButton>
|
|
171
|
-
</template>
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### 7.2. Obtaining a reference to the underlying native element
|
|
142
|
+
### 7. Obtaining a reference to the underlying native element (e.g. for usage of methods)
|
|
175
143
|
|
|
176
144
|
Sometimes, there is a need to interact directly with the underlying native web-component. For this reason, the library exposes a `nativeElement` property for all vue components.
|
|
177
145
|
|
|
@@ -29,11 +29,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
29
|
*/
|
|
30
30
|
duration?: number | undefined;
|
|
31
31
|
}>, {
|
|
32
|
-
callHandleOpenChange: () => Promise<void> | undefined;
|
|
33
|
-
callHandleDurationChange: () => void | undefined;
|
|
34
|
-
callShow: () => Promise<void> | undefined;
|
|
35
|
-
callHide: () => Promise<void> | undefined;
|
|
36
|
-
callToast: () => Promise<void> | undefined;
|
|
37
32
|
nativeElement: import("vue").Ref<SynAlert | undefined>;
|
|
38
33
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
34
|
"syn-show": (e: SynShowEvent) => void;
|
|
@@ -19,8 +19,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
*/
|
|
20
20
|
rel?: string | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
callHrefChanged: () => void | undefined;
|
|
23
|
-
callHandleSlotChange: () => void | undefined;
|
|
24
22
|
nativeElement: import("vue").Ref<SynBreadcrumbItem | undefined>;
|
|
25
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
26
24
|
/**
|
|
@@ -96,14 +96,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
96
96
|
*/
|
|
97
97
|
formTarget?: string | undefined;
|
|
98
98
|
}>, {
|
|
99
|
-
callHandleDisabledChange: () => void | undefined;
|
|
100
|
-
callClick: () => void | undefined;
|
|
101
|
-
callFocus: (options?: FocusOptions | undefined) => void | undefined;
|
|
102
|
-
callBlur: () => void | undefined;
|
|
103
|
-
callCheckValidity: () => boolean | undefined;
|
|
104
|
-
callGetForm: () => HTMLFormElement | null | undefined;
|
|
105
|
-
callReportValidity: () => boolean | undefined;
|
|
106
|
-
callSetCustomValidity: (message: string) => void | undefined;
|
|
107
99
|
nativeElement: import("vue").Ref<SynButton | undefined>;
|
|
108
100
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
109
101
|
"syn-blur": (e: SynBlurEvent) => void;
|
|
@@ -2,18 +2,20 @@ import '@synergy-design-system/components/components/card/card.js';
|
|
|
2
2
|
import type { SynCard } from '@synergy-design-system/components';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
4
4
|
/**
|
|
5
|
-
* Draws the card
|
|
6
|
-
* Can be used
|
|
5
|
+
* Draws the card with sharp edges.
|
|
6
|
+
* Can be used e.g.
|
|
7
|
+
* when nesting multiple syn-cards to create hierarchy.
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
+
sharp?: boolean | undefined;
|
|
9
10
|
}>, {
|
|
10
11
|
nativeElement: import("vue").Ref<SynCard | undefined>;
|
|
11
12
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
12
13
|
/**
|
|
13
|
-
* Draws the card
|
|
14
|
-
* Can be used
|
|
14
|
+
* Draws the card with sharp edges.
|
|
15
|
+
* Can be used e.g.
|
|
16
|
+
* when nesting multiple syn-cards to create hierarchy.
|
|
15
17
|
*/
|
|
16
|
-
|
|
18
|
+
sharp?: boolean | undefined;
|
|
17
19
|
}>>>, {}, {}>, {
|
|
18
20
|
default?(_: {}): any;
|
|
19
21
|
}>;
|
|
@@ -55,15 +55,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
55
55
|
*/
|
|
56
56
|
modelValue?: boolean | undefined;
|
|
57
57
|
}>, {
|
|
58
|
-
callHandleDisabledChange: () => void | undefined;
|
|
59
|
-
callHandleStateChange: () => void | undefined;
|
|
60
|
-
callClick: () => void | undefined;
|
|
61
|
-
callFocus: (options?: FocusOptions | undefined) => void | undefined;
|
|
62
|
-
callBlur: () => void | undefined;
|
|
63
|
-
callCheckValidity: () => boolean | undefined;
|
|
64
|
-
callGetForm: () => HTMLFormElement | null | undefined;
|
|
65
|
-
callReportValidity: () => boolean | undefined;
|
|
66
|
-
callSetCustomValidity: (message: string) => void | undefined;
|
|
67
58
|
nativeElement: import("vue").Ref<SynCheckbox | undefined>;
|
|
68
59
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
60
|
"syn-blur": (e: SynBlurEvent) => void;
|
|
@@ -27,9 +27,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
27
|
*/
|
|
28
28
|
noHeader?: boolean | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
callHandleOpenChange: () => Promise<void> | undefined;
|
|
31
|
-
callShow: () => Promise<void> | undefined;
|
|
32
|
-
callHide: () => Promise<void> | undefined;
|
|
33
30
|
nativeElement: import("vue").Ref<SynDialog | undefined>;
|
|
34
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
32
|
"syn-show": (e: SynShowEvent) => void;
|
|
@@ -6,7 +6,6 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
6
6
|
*/
|
|
7
7
|
vertical?: boolean | undefined;
|
|
8
8
|
}>, {
|
|
9
|
-
callHandleVerticalChange: () => void | undefined;
|
|
10
9
|
nativeElement: import("vue").Ref<SynDivider | undefined>;
|
|
11
10
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
12
11
|
/**
|
|
@@ -37,10 +37,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
37
|
*/
|
|
38
38
|
noHeader?: boolean | undefined;
|
|
39
39
|
}>, {
|
|
40
|
-
callHandleOpenChange: () => Promise<void> | undefined;
|
|
41
|
-
callHandleNoModalChange: () => void | undefined;
|
|
42
|
-
callShow: () => Promise<void> | undefined;
|
|
43
|
-
callHide: () => Promise<void> | undefined;
|
|
44
40
|
nativeElement: import("vue").Ref<SynDrawer | undefined>;
|
|
45
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
42
|
"syn-show": (e: SynShowEvent) => void;
|
|
@@ -47,19 +47,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
47
47
|
*/
|
|
48
48
|
sync?: SynDropdown['sync'];
|
|
49
49
|
}>, {
|
|
50
|
-
callFocusOnTrigger: () => void | undefined;
|
|
51
|
-
callGetMenu: () => import("@synergy-design-system/components").SynMenu | undefined;
|
|
52
|
-
callHandleTriggerClick: () => void | undefined;
|
|
53
|
-
callHandleTriggerKeyDown: (event: KeyboardEvent) => Promise<void> | undefined;
|
|
54
|
-
callHandleTriggerKeyUp: (event: KeyboardEvent) => void | undefined;
|
|
55
|
-
callHandleTriggerSlotChange: () => void | undefined;
|
|
56
|
-
callUpdateAccessibleTrigger: () => void | undefined;
|
|
57
|
-
callShow: () => Promise<void> | undefined;
|
|
58
|
-
callHide: () => Promise<void> | undefined;
|
|
59
|
-
callReposition: () => void | undefined;
|
|
60
|
-
callAddOpenListeners: () => void | undefined;
|
|
61
|
-
callRemoveOpenListeners: () => void | undefined;
|
|
62
|
-
callHandleOpenChange: () => Promise<void> | undefined;
|
|
63
50
|
nativeElement: import("vue").Ref<SynDropdown | undefined>;
|
|
64
51
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
52
|
"syn-show": (e: SynShowEvent) => void;
|
|
@@ -1,47 +1,48 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/header/header.js';
|
|
2
|
-
import type {
|
|
3
|
-
export type {
|
|
4
|
-
export type {
|
|
2
|
+
import type { SynBurgerMenuClosedEvent, SynBurgerMenuHiddenEvent, SynBurgerMenuOpenEvent, SynHeader } from '@synergy-design-system/components';
|
|
3
|
+
export type { SynBurgerMenuClosedEvent } from '@synergy-design-system/components';
|
|
4
|
+
export type { SynBurgerMenuHiddenEvent } from '@synergy-design-system/components';
|
|
5
|
+
export type { SynBurgerMenuOpenEvent } from '@synergy-design-system/components';
|
|
5
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
6
7
|
/**
|
|
7
8
|
* The headers label.
|
|
8
|
-
* If you need to display HTML, use the `
|
|
9
|
+
* If you need to display HTML, use the `label` slot instead.
|
|
9
10
|
*/
|
|
10
11
|
label?: string | undefined;
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
-
The button is added automatically
|
|
13
|
+
* Defines the current visibility and icon of the burger-menu icon.
|
|
14
|
+
The menu button is added automatically if the component finds a syn-side-nav in non-rail mode.
|
|
15
|
+
The following values can be used:
|
|
16
|
+
- hidden: The burger menu is not visible
|
|
17
|
+
- open: The burger menu is visible and shows the close icon
|
|
18
|
+
- closed: The burger menu is visible and shows the open icon
|
|
14
19
|
*/
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Determines whether or not the burger menu is currently visible.
|
|
18
|
-
*/
|
|
19
|
-
burgerMenuVisible?: boolean | undefined;
|
|
20
|
+
burgerMenu?: "open" | "hidden" | "closed" | undefined;
|
|
20
21
|
}>, {
|
|
21
|
-
callHandleBurgerMenuVisible: () => void | undefined;
|
|
22
|
-
callConnectSideNavigation: (sideNav: import("@synergy-design-system/components").SynSideNav) => void | undefined;
|
|
23
22
|
nativeElement: import("vue").Ref<SynHeader | undefined>;
|
|
24
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
"syn-burger-menu-
|
|
26
|
-
"syn-burger-menu-
|
|
24
|
+
"syn-burger-menu-closed": (e: SynBurgerMenuClosedEvent) => void;
|
|
25
|
+
"syn-burger-menu-hidden": (e: SynBurgerMenuHiddenEvent) => void;
|
|
26
|
+
"syn-burger-menu-open": (e: SynBurgerMenuOpenEvent) => void;
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
28
28
|
/**
|
|
29
29
|
* The headers label.
|
|
30
|
-
* If you need to display HTML, use the `
|
|
30
|
+
* If you need to display HTML, use the `label` slot instead.
|
|
31
31
|
*/
|
|
32
32
|
label?: string | undefined;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
The button is added automatically
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
* Defines the current visibility and icon of the burger-menu icon.
|
|
35
|
+
The menu button is added automatically if the component finds a syn-side-nav in non-rail mode.
|
|
36
|
+
The following values can be used:
|
|
37
|
+
- hidden: The burger menu is not visible
|
|
38
|
+
- open: The burger menu is visible and shows the close icon
|
|
39
|
+
- closed: The burger menu is visible and shows the open icon
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
burgerMenu?: "open" | "hidden" | "closed" | undefined;
|
|
42
42
|
}>>> & {
|
|
43
|
-
"onSyn-burger-menu-
|
|
44
|
-
"onSyn-burger-menu-
|
|
43
|
+
"onSyn-burger-menu-closed"?: ((e: SynBurgerMenuClosedEvent) => any) | undefined;
|
|
44
|
+
"onSyn-burger-menu-hidden"?: ((e: SynBurgerMenuHiddenEvent) => any) | undefined;
|
|
45
|
+
"onSyn-burger-menu-open"?: ((e: SynBurgerMenuOpenEvent) => any) | undefined;
|
|
45
46
|
}, {}, {}>, {
|
|
46
47
|
default?(_: {}): any;
|
|
47
48
|
}>;
|
|
@@ -25,8 +25,6 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
25
25
|
*/
|
|
26
26
|
library?: string | undefined;
|
|
27
27
|
}>, {
|
|
28
|
-
callHandleLabelChange: () => void | undefined;
|
|
29
|
-
callSetIcon: () => Promise<void> | undefined;
|
|
30
28
|
nativeElement: import("vue").Ref<SynIcon | undefined>;
|
|
31
29
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
30
|
"syn-load": (e: SynLoadEvent) => void;
|
|
@@ -52,9 +52,6 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
52
52
|
*/
|
|
53
53
|
disabled?: boolean | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
callClick: () => void | undefined;
|
|
56
|
-
callFocus: (options?: FocusOptions | undefined) => void | undefined;
|
|
57
|
-
callBlur: () => void | undefined;
|
|
58
55
|
nativeElement: import("vue").Ref<SynIconButton | undefined>;
|
|
59
56
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
57
|
"syn-blur": (e: SynBlurEvent) => void;
|
|
@@ -143,21 +143,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
143
143
|
*/
|
|
144
144
|
modelValue?: string | undefined;
|
|
145
145
|
}>, {
|
|
146
|
-
callHandleDisabledChange: () => void | undefined;
|
|
147
|
-
callHandleStepChange: () => void | undefined;
|
|
148
|
-
callHandleValueChange: () => Promise<void> | undefined;
|
|
149
|
-
callFocus: (options?: FocusOptions | undefined) => void | undefined;
|
|
150
|
-
callBlur: () => void | undefined;
|
|
151
|
-
callSelect: () => void | undefined;
|
|
152
|
-
callSetSelectionRange: (selectionStart: number, selectionEnd: number, selectionDirection?: "none" | "forward" | "backward" | undefined) => void | undefined;
|
|
153
|
-
callSetRangeText: (replacement: string, start?: number | undefined, end?: number | undefined, selectMode?: "select" | "end" | "start" | "preserve" | undefined) => void | undefined;
|
|
154
|
-
callShowPicker: () => void | undefined;
|
|
155
|
-
callStepUp: () => void | undefined;
|
|
156
|
-
callStepDown: () => void | undefined;
|
|
157
|
-
callCheckValidity: () => boolean | undefined;
|
|
158
|
-
callGetForm: () => HTMLFormElement | null | undefined;
|
|
159
|
-
callReportValidity: () => boolean | undefined;
|
|
160
|
-
callSetCustomValidity: (message: string) => void | undefined;
|
|
161
146
|
nativeElement: import("vue").Ref<SynInput | undefined>;
|
|
162
147
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
163
148
|
"syn-blur": (e: SynBlurEvent) => void;
|
|
@@ -24,11 +24,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
*/
|
|
25
25
|
disabled?: boolean | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
callHandleCheckedChange: () => void | undefined;
|
|
28
|
-
callHandleDisabledChange: () => void | undefined;
|
|
29
|
-
callHandleTypeChange: () => void | undefined;
|
|
30
|
-
callGetTextLabel: () => string | undefined;
|
|
31
|
-
callIsSubmenu: () => boolean | undefined;
|
|
32
27
|
nativeElement: import("vue").Ref<SynMenuItem | undefined>;
|
|
33
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
34
29
|
/**
|
|
@@ -38,10 +38,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
38
|
*/
|
|
39
39
|
divider?: boolean | undefined;
|
|
40
40
|
}>, {
|
|
41
|
-
callHandleOpenChange: () => void | undefined;
|
|
42
|
-
callBlur: () => void | undefined;
|
|
43
|
-
callClick: () => void | undefined;
|
|
44
|
-
callFocus: (options?: FocusOptions | undefined) => void | undefined;
|
|
45
41
|
nativeElement: import("vue").Ref<SynNavItem | undefined>;
|
|
46
42
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
43
|
"syn-show": (e: SynShowEvent) => void;
|
|
@@ -11,7 +11,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
11
11
|
*/
|
|
12
12
|
label?: string | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
callHandleDisabledChange: () => void | undefined;
|
|
15
14
|
nativeElement: import("vue").Ref<SynOptgroup | undefined>;
|
|
16
15
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
17
16
|
/**
|
|
@@ -15,10 +15,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
*/
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
callHandleDisabledChange: () => void | undefined;
|
|
19
|
-
callHandleSelectedChange: () => void | undefined;
|
|
20
|
-
callHandleValueChange: () => void | undefined;
|
|
21
|
-
callGetTextLabel: () => string | undefined;
|
|
22
18
|
nativeElement: import("vue").Ref<SynOption | undefined>;
|
|
23
19
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
24
20
|
/**
|
|
@@ -137,7 +137,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
137
137
|
*/
|
|
138
138
|
hoverBridge?: boolean | undefined;
|
|
139
139
|
}>, {
|
|
140
|
-
callReposition: () => void | undefined;
|
|
141
140
|
nativeElement: import("vue").Ref<SynPopup | undefined>;
|
|
142
141
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
143
142
|
"syn-reposition": (e: SynRepositionEvent) => void;
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/prio-nav/prio-nav.js';
|
|
2
2
|
import type { SynPrioNav } from '@synergy-design-system/components';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
This will be shown after the priority menu 3 dots link
|
|
7
|
-
*/
|
|
8
|
-
priorityMenuLabel?: string | undefined;
|
|
9
|
-
}>, {
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
|
4
|
+
[x: string]: unknown;
|
|
5
|
+
}>>, {
|
|
10
6
|
nativeElement: import("vue").Ref<SynPrioNav | undefined>;
|
|
11
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
priorityMenuLabel?: string | undefined;
|
|
17
|
-
}>>>, {}, {}>, {
|
|
7
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
}>>>>, {
|
|
10
|
+
readonly [x: number]: string;
|
|
11
|
+
} | {}, {}>, {
|
|
18
12
|
default?(_: {}): any;
|
|
19
13
|
}>;
|
|
20
14
|
export default _default;
|
|
@@ -23,12 +17,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
23
17
|
$slots: S;
|
|
24
18
|
};
|
|
25
19
|
};
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToOption<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -19,8 +19,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
*/
|
|
20
20
|
disabled?: boolean | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
callHandleCheckedChange: () => void | undefined;
|
|
23
|
-
callHandleDisabledChange: () => void | undefined;
|
|
24
22
|
nativeElement: import("vue").Ref<SynRadio | undefined>;
|
|
25
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
24
|
"syn-blur": (e: SynBlurEvent) => void;
|
|
@@ -23,9 +23,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
23
|
*/
|
|
24
24
|
pill?: boolean | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
callHandleDisabledChange: () => void | undefined;
|
|
27
|
-
callFocus: (options?: FocusOptions | undefined) => void | undefined;
|
|
28
|
-
callBlur: () => void | undefined;
|
|
29
26
|
nativeElement: import("vue").Ref<SynRadioButton | undefined>;
|
|
30
27
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
28
|
"syn-blur": (e: SynBlurEvent) => void;
|
|
@@ -46,12 +46,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
46
|
*/
|
|
47
47
|
modelValue?: string | undefined;
|
|
48
48
|
}>, {
|
|
49
|
-
callHandleSizeChange: () => void | undefined;
|
|
50
|
-
callHandleValueChange: () => void | undefined;
|
|
51
|
-
callCheckValidity: () => boolean | undefined;
|
|
52
|
-
callGetForm: () => HTMLFormElement | null | undefined;
|
|
53
|
-
callReportValidity: () => boolean | undefined;
|
|
54
|
-
callSetCustomValidity: (message?: string | undefined) => void | undefined;
|
|
55
49
|
nativeElement: import("vue").Ref<SynRadioGroup | undefined>;
|
|
56
50
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
51
|
"syn-invalid": (e: SynInvalidEvent) => void;
|
|
@@ -103,17 +103,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
103
103
|
*/
|
|
104
104
|
modelValue?: string | string[] | undefined;
|
|
105
105
|
}>, {
|
|
106
|
-
callHandleDisabledChange: () => void | undefined;
|
|
107
|
-
callHandleValueChange: () => void | undefined;
|
|
108
|
-
callHandleOpenChange: () => Promise<void> | undefined;
|
|
109
|
-
callShow: () => Promise<void> | undefined;
|
|
110
|
-
callHide: () => Promise<void> | undefined;
|
|
111
|
-
callCheckValidity: () => boolean | undefined;
|
|
112
|
-
callGetForm: () => HTMLFormElement | null | undefined;
|
|
113
|
-
callReportValidity: () => boolean | undefined;
|
|
114
|
-
callSetCustomValidity: (message: string) => void | undefined;
|
|
115
|
-
callFocus: (options?: FocusOptions | undefined) => void | undefined;
|
|
116
|
-
callBlur: () => void | undefined;
|
|
117
106
|
nativeElement: import("vue").Ref<SynSelect | undefined>;
|
|
118
107
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
119
108
|
"syn-show": (e: SynShowEvent) => void;
|
|
@@ -37,11 +37,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
37
|
*/
|
|
38
38
|
noFocusTrapping?: boolean | undefined;
|
|
39
39
|
}>, {
|
|
40
|
-
callHandleModeChange: () => void | undefined;
|
|
41
|
-
callHandleOpenChange: () => void | undefined;
|
|
42
|
-
callHandleFocusTrapping: () => void | undefined;
|
|
43
|
-
callShow: () => Promise<void> | undefined;
|
|
44
|
-
callHide: () => Promise<void> | undefined;
|
|
45
40
|
nativeElement: import("vue").Ref<SynSideNav | undefined>;
|
|
46
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
42
|
"syn-show": (e: SynShowEvent) => void;
|
|
@@ -49,15 +49,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
49
49
|
*/
|
|
50
50
|
modelValue?: boolean | undefined;
|
|
51
51
|
}>, {
|
|
52
|
-
callHandleCheckedChange: () => void | undefined;
|
|
53
|
-
callHandleDisabledChange: () => void | undefined;
|
|
54
|
-
callClick: () => void | undefined;
|
|
55
|
-
callFocus: (options?: FocusOptions | undefined) => void | undefined;
|
|
56
|
-
callBlur: () => void | undefined;
|
|
57
|
-
callCheckValidity: () => boolean | undefined;
|
|
58
|
-
callGetForm: () => HTMLFormElement | null | undefined;
|
|
59
|
-
callReportValidity: () => boolean | undefined;
|
|
60
|
-
callSetCustomValidity: (message: string) => void | undefined;
|
|
61
52
|
nativeElement: import("vue").Ref<SynSwitch | undefined>;
|
|
62
53
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
63
54
|
"syn-blur": (e: SynBlurEvent) => void;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import '@synergy-design-system/components/components/tab/tab.js';
|
|
2
|
+
import type { SynCloseEvent, SynTab } from '@synergy-design-system/components';
|
|
3
|
+
export type { SynCloseEvent } from '@synergy-design-system/components';
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
5
|
+
/**
|
|
6
|
+
* The name of the tab panel this tab is associated with.
|
|
7
|
+
* The panel must be located in the same tab group.
|
|
8
|
+
*/
|
|
9
|
+
panel?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Draws the tab in an active state.
|
|
12
|
+
*/
|
|
13
|
+
active?: boolean | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Makes the tab closable and shows a close button.
|
|
16
|
+
*/
|
|
17
|
+
closable?: boolean | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Disables the tab and prevents selection.
|
|
20
|
+
*/
|
|
21
|
+
disabled?: boolean | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
nativeElement: import("vue").Ref<SynTab | undefined>;
|
|
24
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
"syn-close": (e: SynCloseEvent) => void;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
27
|
+
/**
|
|
28
|
+
* The name of the tab panel this tab is associated with.
|
|
29
|
+
* The panel must be located in the same tab group.
|
|
30
|
+
*/
|
|
31
|
+
panel?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Draws the tab in an active state.
|
|
34
|
+
*/
|
|
35
|
+
active?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Makes the tab closable and shows a close button.
|
|
38
|
+
*/
|
|
39
|
+
closable?: boolean | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Disables the tab and prevents selection.
|
|
42
|
+
*/
|
|
43
|
+
disabled?: boolean | undefined;
|
|
44
|
+
}>>> & {
|
|
45
|
+
"onSyn-close"?: ((e: SynCloseEvent) => any) | undefined;
|
|
46
|
+
}, {}, {}>, {
|
|
47
|
+
default?(_: {}): any;
|
|
48
|
+
}>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToOption<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: import('vue').PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import '@synergy-design-system/components/components/tab-group/tab-group.js';
|
|
2
|
+
import type { SynTabGroup, SynTabHideEvent, SynTabShowEvent } from '@synergy-design-system/components';
|
|
3
|
+
export type { SynTabShowEvent } from '@synergy-design-system/components';
|
|
4
|
+
export type { SynTabHideEvent } from '@synergy-design-system/components';
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
6
|
+
/**
|
|
7
|
+
* The placement of the tabs.
|
|
8
|
+
*/
|
|
9
|
+
placement?: "top" | "end" | "start" | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel.
|
|
12
|
+
* When set to
|
|
13
|
+
manual, the tab will receive focus but will not show until the user presses spacebar or enter.
|
|
14
|
+
*/
|
|
15
|
+
activation?: "auto" | "manual" | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Disables the scroll arrows that appear when tabs overflow.
|
|
18
|
+
*/
|
|
19
|
+
noScrollControls?: boolean | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Draws the tab group as a contained element.
|
|
22
|
+
*/
|
|
23
|
+
contained?: boolean | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Draws the tab group with edges instead of roundings.
|
|
26
|
+
* Takes only effect if used with the 'contained' property
|
|
27
|
+
*/
|
|
28
|
+
sharp?: boolean | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
nativeElement: import("vue").Ref<SynTabGroup | undefined>;
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
"syn-tab-show": (e: SynTabShowEvent) => void;
|
|
33
|
+
"syn-tab-hide": (e: SynTabHideEvent) => void;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
35
|
+
/**
|
|
36
|
+
* The placement of the tabs.
|
|
37
|
+
*/
|
|
38
|
+
placement?: "top" | "end" | "start" | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel.
|
|
41
|
+
* When set to
|
|
42
|
+
manual, the tab will receive focus but will not show until the user presses spacebar or enter.
|
|
43
|
+
*/
|
|
44
|
+
activation?: "auto" | "manual" | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Disables the scroll arrows that appear when tabs overflow.
|
|
47
|
+
*/
|
|
48
|
+
noScrollControls?: boolean | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Draws the tab group as a contained element.
|
|
51
|
+
*/
|
|
52
|
+
contained?: boolean | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Draws the tab group with edges instead of roundings.
|
|
55
|
+
* Takes only effect if used with the 'contained' property
|
|
56
|
+
*/
|
|
57
|
+
sharp?: boolean | undefined;
|
|
58
|
+
}>>> & {
|
|
59
|
+
"onSyn-tab-show"?: ((e: SynTabShowEvent) => any) | undefined;
|
|
60
|
+
"onSyn-tab-hide"?: ((e: SynTabHideEvent) => any) | undefined;
|
|
61
|
+
}, {}, {}>, {
|
|
62
|
+
default?(_: {}): any;
|
|
63
|
+
}>;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
71
|
+
type __VLS_TypePropsToOption<T> = {
|
|
72
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
73
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
74
|
+
} : {
|
|
75
|
+
type: import('vue').PropType<T[K]>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
};
|