@synergy-design-system/vue 2.11.5 → 2.11.7
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 -0
- package/dist/components/SynVueAccordion.vue.d.ts +5 -6
- package/dist/components/SynVueAccordion.vue.js +33 -0
- package/dist/components/SynVueAccordion.vue2.js +4 -0
- package/dist/components/SynVueAlert.vue.d.ts +10 -15
- package/dist/components/SynVueAlert.vue.js +40 -0
- package/dist/components/SynVueAlert.vue2.js +4 -0
- package/dist/components/SynVueBadge.vue.d.ts +5 -6
- package/dist/components/SynVueBadge.vue.js +31 -0
- package/dist/components/SynVueBadge.vue2.js +4 -0
- package/dist/components/SynVueBreadcrumb.vue.d.ts +5 -6
- package/dist/components/SynVueBreadcrumb.vue.js +31 -0
- package/dist/components/SynVueBreadcrumb.vue2.js +4 -0
- package/dist/components/SynVueBreadcrumbItem.vue.d.ts +5 -6
- package/dist/components/SynVueBreadcrumbItem.vue.js +33 -0
- package/dist/components/SynVueBreadcrumbItem.vue2.js +4 -0
- package/dist/components/SynVueButton.vue.d.ts +6 -10
- package/dist/components/SynVueButton.vue.js +54 -0
- package/dist/components/SynVueButton.vue2.js +4 -0
- package/dist/components/SynVueButtonGroup.vue.d.ts +5 -6
- package/dist/components/SynVueButtonGroup.vue.js +31 -0
- package/dist/components/SynVueButtonGroup.vue2.js +4 -0
- package/dist/components/SynVueCard.vue.d.ts +5 -6
- package/dist/components/SynVueCard.vue.js +31 -0
- package/dist/components/SynVueCard.vue2.js +4 -0
- package/dist/components/SynVueCheckbox.vue.d.ts +10 -16
- package/dist/components/SynVueCheckbox.vue.js +53 -0
- package/dist/components/SynVueCheckbox.vue2.js +4 -0
- package/dist/components/SynVueCombobox.vue.d.ts +20 -32
- package/dist/components/SynVueCombobox.vue.js +64 -0
- package/dist/components/SynVueCombobox.vue2.js +4 -0
- package/dist/components/SynVueDetails.vue.d.ts +10 -15
- package/dist/components/SynVueDetails.vue.js +41 -0
- package/dist/components/SynVueDetails.vue2.js +4 -0
- package/dist/components/SynVueDialog.vue.d.ts +10 -17
- package/dist/components/SynVueDialog.vue.js +41 -0
- package/dist/components/SynVueDialog.vue2.js +4 -0
- package/dist/components/SynVueDivider.vue.d.ts +5 -6
- package/dist/components/SynVueDivider.vue.js +29 -0
- package/dist/components/SynVueDivider.vue2.js +4 -0
- package/dist/components/SynVueDrawer.vue.d.ts +10 -17
- package/dist/components/SynVueDrawer.vue.js +43 -0
- package/dist/components/SynVueDrawer.vue2.js +4 -0
- package/dist/components/SynVueDropdown.vue.d.ts +10 -15
- package/dist/components/SynVueDropdown.vue.js +45 -0
- package/dist/components/SynVueDropdown.vue2.js +4 -0
- package/dist/components/SynVueFile.vue.d.ts +10 -16
- package/dist/components/SynVueFile.vue.js +58 -0
- package/dist/components/SynVueFile.vue2.js +4 -0
- package/dist/components/SynVueHeader.vue.d.ts +6 -10
- package/dist/components/SynVueHeader.vue.js +37 -0
- package/dist/components/SynVueHeader.vue2.js +4 -0
- package/dist/components/SynVueIcon.vue.d.ts +6 -9
- package/dist/components/SynVueIcon.vue.js +36 -0
- package/dist/components/SynVueIcon.vue2.js +4 -0
- package/dist/components/SynVueIconButton.vue.d.ts +6 -9
- package/dist/components/SynVueIconButton.vue.js +42 -0
- package/dist/components/SynVueIconButton.vue2.js +4 -0
- package/dist/components/SynVueInput.vue.d.ts +12 -19
- package/dist/components/SynVueInput.vue.js +73 -0
- package/dist/components/SynVueInput.vue2.js +4 -0
- package/dist/components/SynVueMenu.vue.d.ts +6 -8
- package/dist/components/SynVueMenu.vue.js +24 -0
- package/dist/components/SynVueMenu.vue2.js +4 -0
- package/dist/components/SynVueMenuItem.vue.d.ts +5 -6
- package/dist/components/SynVueMenuItem.vue.js +35 -0
- package/dist/components/SynVueMenuItem.vue2.js +4 -0
- package/dist/components/SynVueMenuLabel.vue.d.ts +4 -5
- package/dist/components/SynVueMenuLabel.vue.js +22 -0
- package/dist/components/SynVueMenuLabel.vue2.js +4 -0
- package/dist/components/SynVueNavItem.vue.d.ts +10 -15
- package/dist/components/SynVueNavItem.vue.js +43 -0
- package/dist/components/SynVueNavItem.vue2.js +4 -0
- package/dist/components/SynVueOptgroup.vue.d.ts +5 -6
- package/dist/components/SynVueOptgroup.vue.js +32 -0
- package/dist/components/SynVueOptgroup.vue2.js +4 -0
- package/dist/components/SynVueOption.vue.d.ts +5 -6
- package/dist/components/SynVueOption.vue.js +32 -0
- package/dist/components/SynVueOption.vue2.js +4 -0
- package/dist/components/SynVuePopup.vue.d.ts +6 -8
- package/dist/components/SynVuePopup.vue.js +55 -0
- package/dist/components/SynVuePopup.vue2.js +4 -0
- package/dist/components/SynVuePrioNav.vue.d.ts +4 -5
- package/dist/components/SynVuePrioNav.vue.js +22 -0
- package/dist/components/SynVuePrioNav.vue2.js +4 -0
- package/dist/components/SynVueProgressBar.vue.d.ts +5 -6
- package/dist/components/SynVueProgressBar.vue.js +33 -0
- package/dist/components/SynVueProgressBar.vue2.js +4 -0
- package/dist/components/SynVueProgressRing.vue.d.ts +5 -6
- package/dist/components/SynVueProgressRing.vue.js +32 -0
- package/dist/components/SynVueProgressRing.vue2.js +4 -0
- package/dist/components/SynVueRadio.vue.d.ts +6 -9
- package/dist/components/SynVueRadio.vue.js +37 -0
- package/dist/components/SynVueRadio.vue2.js +4 -0
- package/dist/components/SynVueRadioButton.vue.d.ts +6 -9
- package/dist/components/SynVueRadioButton.vue.js +38 -0
- package/dist/components/SynVueRadioButton.vue2.js +4 -0
- package/dist/components/SynVueRadioGroup.vue.d.ts +8 -12
- package/dist/components/SynVueRadioGroup.vue.js +48 -0
- package/dist/components/SynVueRadioGroup.vue2.js +4 -0
- package/dist/components/SynVueRange.vue.d.ts +12 -19
- package/dist/components/SynVueRange.vue.js +56 -0
- package/dist/components/SynVueRange.vue2.js +4 -0
- package/dist/components/SynVueRangeTick.vue.d.ts +5 -6
- package/dist/components/SynVueRangeTick.vue.js +31 -0
- package/dist/components/SynVueRangeTick.vue2.js +4 -0
- package/dist/components/SynVueSelect.vue.d.ts +18 -29
- package/dist/components/SynVueSelect.vue.js +64 -0
- package/dist/components/SynVueSelect.vue2.js +4 -0
- package/dist/components/SynVueSideNav.vue.d.ts +10 -15
- package/dist/components/SynVueSideNav.vue.js +39 -0
- package/dist/components/SynVueSideNav.vue2.js +4 -0
- package/dist/components/SynVueSpinner.vue.d.ts +4 -5
- package/dist/components/SynVueSpinner.vue.js +20 -0
- package/dist/components/SynVueSpinner.vue2.js +4 -0
- package/dist/components/SynVueSwitch.vue.d.ts +10 -16
- package/dist/components/SynVueSwitch.vue.js +52 -0
- package/dist/components/SynVueSwitch.vue2.js +4 -0
- package/dist/components/SynVueTab.vue.d.ts +6 -8
- package/dist/components/SynVueTab.vue.js +37 -0
- package/dist/components/SynVueTab.vue2.js +4 -0
- package/dist/components/SynVueTabGroup.vue.d.ts +8 -11
- package/dist/components/SynVueTabGroup.vue.js +40 -0
- package/dist/components/SynVueTabGroup.vue2.js +4 -0
- package/dist/components/SynVueTabPanel.vue.d.ts +5 -6
- package/dist/components/SynVueTabPanel.vue.js +32 -0
- package/dist/components/SynVueTabPanel.vue2.js +4 -0
- package/dist/components/SynVueTag.vue.d.ts +6 -8
- package/dist/components/SynVueTag.vue.js +35 -0
- package/dist/components/SynVueTag.vue2.js +4 -0
- package/dist/components/SynVueTextarea.vue.d.ts +10 -16
- package/dist/components/SynVueTextarea.vue.js +65 -0
- package/dist/components/SynVueTextarea.vue2.js +4 -0
- package/dist/components/SynVueTooltip.vue.d.ts +10 -15
- package/dist/components/SynVueTooltip.vue.js +44 -0
- package/dist/components/SynVueTooltip.vue2.js +4 -0
- package/dist/index.d.ts +45 -45
- package/dist/index.js +92 -0
- package/package.json +12 -5
- /package/src/{index.js → index.ts} +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent, ref, openBlock, createElementBlock, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/menu/menu.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueMenu",
|
|
5
|
+
emits: ["syn-select"],
|
|
6
|
+
setup(__props, { expose: __expose }) {
|
|
7
|
+
const nativeElement = ref();
|
|
8
|
+
__expose({
|
|
9
|
+
nativeElement
|
|
10
|
+
});
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return openBlock(), createElementBlock("syn-menu", {
|
|
13
|
+
onSynSelect: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-select", $event)),
|
|
14
|
+
ref_key: "nativeElement",
|
|
15
|
+
ref: nativeElement
|
|
16
|
+
}, [
|
|
17
|
+
renderSlot(_ctx.$slots, "default")
|
|
18
|
+
], 544);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
_sfc_main as default
|
|
24
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynMenuItem } from '@synergy-design-system/components';
|
|
1
|
+
import { SynMenuItem } from '@synergy-design-system/components';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
slots: {
|
|
5
4
|
default?(_: {}): any;
|
|
@@ -10,7 +9,7 @@ declare function __VLS_template(): {
|
|
|
10
9
|
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import(
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
13
|
/**
|
|
15
14
|
* The type of menu item to render.
|
|
16
15
|
* To use `checked`, this value must be set to `checkbox`.
|
|
@@ -34,8 +33,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
34
33
|
*/
|
|
35
34
|
disabled?: SynMenuItem["disabled"];
|
|
36
35
|
}, {
|
|
37
|
-
nativeElement: import(
|
|
38
|
-
}, {}, {}, {}, import(
|
|
36
|
+
nativeElement: import('vue').Ref<SynMenuItem | undefined, SynMenuItem | undefined>;
|
|
37
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
39
38
|
/**
|
|
40
39
|
* The type of menu item to render.
|
|
41
40
|
* To use `checked`, this value must be set to `checkbox`.
|
|
@@ -58,7 +57,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
58
57
|
* Draws the menu item in a disabled state, preventing selection.
|
|
59
58
|
*/
|
|
60
59
|
disabled?: SynMenuItem["disabled"];
|
|
61
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
60
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
62
61
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
63
62
|
export default _default;
|
|
64
63
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/menu-item/menu-item.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueMenuItem",
|
|
5
|
+
props: {
|
|
6
|
+
type: {},
|
|
7
|
+
checked: {},
|
|
8
|
+
value: {},
|
|
9
|
+
loading: {},
|
|
10
|
+
disabled: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props, { expose: __expose }) {
|
|
13
|
+
const nativeElement = ref();
|
|
14
|
+
__expose({
|
|
15
|
+
nativeElement
|
|
16
|
+
});
|
|
17
|
+
const props = __props;
|
|
18
|
+
const visibleProps = computed(
|
|
19
|
+
() => Object.fromEntries(
|
|
20
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
21
|
+
)
|
|
22
|
+
);
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock("syn-menu-item", mergeProps(visibleProps.value, {
|
|
25
|
+
ref_key: "nativeElement",
|
|
26
|
+
ref: nativeElement
|
|
27
|
+
}), [
|
|
28
|
+
renderSlot(_ctx.$slots, "default")
|
|
29
|
+
], 16);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
_sfc_main as default
|
|
35
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynMenuLabel } from '@synergy-design-system/components';
|
|
1
|
+
import { SynMenuLabel } from '@synergy-design-system/components';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
slots: {
|
|
5
4
|
default?(_: {}): any;
|
|
@@ -10,9 +9,9 @@ declare function __VLS_template(): {
|
|
|
10
9
|
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import(
|
|
14
|
-
nativeElement: import(
|
|
15
|
-
}, {}, {}, {}, import(
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
13
|
+
nativeElement: import('vue').Ref<SynMenuLabel | undefined, SynMenuLabel | undefined>;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
16
|
export default _default;
|
|
18
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent, ref, openBlock, createElementBlock, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/menu-label/menu-label.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueMenuLabel",
|
|
5
|
+
setup(__props, { expose: __expose }) {
|
|
6
|
+
const nativeElement = ref();
|
|
7
|
+
__expose({
|
|
8
|
+
nativeElement
|
|
9
|
+
});
|
|
10
|
+
return (_ctx, _cache) => {
|
|
11
|
+
return openBlock(), createElementBlock("syn-menu-label", {
|
|
12
|
+
ref_key: "nativeElement",
|
|
13
|
+
ref: nativeElement
|
|
14
|
+
}, [
|
|
15
|
+
renderSlot(_ctx.$slots, "default")
|
|
16
|
+
], 512);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
_sfc_main as default
|
|
22
|
+
};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynShowEvent } from '@synergy-design-system/components';
|
|
3
|
-
import type { SynHideEvent } from '@synergy-design-system/components';
|
|
4
|
-
import type { SynBlurEvent } from '@synergy-design-system/components';
|
|
5
|
-
import type { SynFocusEvent } from '@synergy-design-system/components';
|
|
6
|
-
import type { SynNavItem } from '@synergy-design-system/components';
|
|
1
|
+
import { SynShowEvent, SynHideEvent, SynBlurEvent, SynFocusEvent, SynNavItem } from '@synergy-design-system/components';
|
|
7
2
|
export type { SynShowEvent } from '@synergy-design-system/components';
|
|
8
3
|
export type { SynHideEvent } from '@synergy-design-system/components';
|
|
9
4
|
export type { SynBlurEvent } from '@synergy-design-system/components';
|
|
10
5
|
export type { SynFocusEvent } from '@synergy-design-system/components';
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
12
7
|
/**
|
|
13
8
|
* The navigation item's href target.
|
|
14
9
|
If provided, the navigation item will use an anchor tag otherwise it will use a button tag.
|
|
@@ -42,13 +37,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
42
37
|
*/
|
|
43
38
|
divider?: SynNavItem["divider"];
|
|
44
39
|
}, {
|
|
45
|
-
nativeElement: import(
|
|
46
|
-
}, {}, {}, {}, import(
|
|
40
|
+
nativeElement: import('vue').Ref<SynNavItem | undefined, SynNavItem | undefined>;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
"syn-show": (e: SynShowEvent) => any;
|
|
43
|
+
"syn-hide": (e: SynHideEvent) => any;
|
|
47
44
|
"syn-blur": (e: SynBlurEvent) => any;
|
|
48
45
|
"syn-focus": (e: SynFocusEvent) => any;
|
|
49
|
-
|
|
50
|
-
"syn-show": (e: SynShowEvent) => any;
|
|
51
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
52
47
|
/**
|
|
53
48
|
* The navigation item's href target.
|
|
54
49
|
If provided, the navigation item will use an anchor tag otherwise it will use a button tag.
|
|
@@ -82,11 +77,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
82
77
|
*/
|
|
83
78
|
divider?: SynNavItem["divider"];
|
|
84
79
|
}> & Readonly<{
|
|
80
|
+
"onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
|
|
81
|
+
"onSyn-hide"?: ((e: SynHideEvent) => any) | undefined;
|
|
85
82
|
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
|
|
86
83
|
"onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
|
|
87
|
-
|
|
88
|
-
"onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
|
|
89
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
84
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
90
85
|
default?(_: {}): any;
|
|
91
86
|
}>;
|
|
92
87
|
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/nav-item/nav-item.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueNavItem",
|
|
5
|
+
props: {
|
|
6
|
+
href: {},
|
|
7
|
+
current: {},
|
|
8
|
+
disabled: {},
|
|
9
|
+
horizontal: {},
|
|
10
|
+
chevron: {},
|
|
11
|
+
open: {},
|
|
12
|
+
divider: {}
|
|
13
|
+
},
|
|
14
|
+
emits: ["syn-show", "syn-hide", "syn-blur", "syn-focus"],
|
|
15
|
+
setup(__props, { expose: __expose }) {
|
|
16
|
+
const nativeElement = ref();
|
|
17
|
+
__expose({
|
|
18
|
+
nativeElement
|
|
19
|
+
});
|
|
20
|
+
const props = __props;
|
|
21
|
+
const visibleProps = computed(
|
|
22
|
+
() => Object.fromEntries(
|
|
23
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("syn-nav-item", mergeProps({
|
|
28
|
+
onSynShow: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-show", $event)),
|
|
29
|
+
onSynHide: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("syn-hide", $event)),
|
|
30
|
+
onSynBlur: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("syn-blur", $event)),
|
|
31
|
+
onSynFocus: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("syn-focus", $event))
|
|
32
|
+
}, visibleProps.value, {
|
|
33
|
+
ref_key: "nativeElement",
|
|
34
|
+
ref: nativeElement
|
|
35
|
+
}), [
|
|
36
|
+
renderSlot(_ctx.$slots, "default")
|
|
37
|
+
], 16);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export {
|
|
42
|
+
_sfc_main as default
|
|
43
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynOptgroup } from '@synergy-design-system/components';
|
|
1
|
+
import { SynOptgroup } from '@synergy-design-system/components';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
slots: {
|
|
5
4
|
default?(_: {}): any;
|
|
@@ -10,7 +9,7 @@ declare function __VLS_template(): {
|
|
|
10
9
|
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import(
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
13
|
/**
|
|
15
14
|
* Disables all options in the optgroup.
|
|
16
15
|
*/
|
|
@@ -21,8 +20,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
21
20
|
*/
|
|
22
21
|
label?: SynOptgroup["label"];
|
|
23
22
|
}, {
|
|
24
|
-
nativeElement: import(
|
|
25
|
-
}, {}, {}, {}, import(
|
|
23
|
+
nativeElement: import('vue').Ref<SynOptgroup | undefined, SynOptgroup | undefined>;
|
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
26
25
|
/**
|
|
27
26
|
* Disables all options in the optgroup.
|
|
28
27
|
*/
|
|
@@ -32,7 +31,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
32
31
|
* If you need to display HTML, use the `label` slot instead.
|
|
33
32
|
*/
|
|
34
33
|
label?: SynOptgroup["label"];
|
|
35
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
34
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
36
|
export default _default;
|
|
38
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/optgroup/optgroup.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueOptgroup",
|
|
5
|
+
props: {
|
|
6
|
+
disabled: {},
|
|
7
|
+
label: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props, { expose: __expose }) {
|
|
10
|
+
const nativeElement = ref();
|
|
11
|
+
__expose({
|
|
12
|
+
nativeElement
|
|
13
|
+
});
|
|
14
|
+
const props = __props;
|
|
15
|
+
const visibleProps = computed(
|
|
16
|
+
() => Object.fromEntries(
|
|
17
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock("syn-optgroup", mergeProps(visibleProps.value, {
|
|
22
|
+
ref_key: "nativeElement",
|
|
23
|
+
ref: nativeElement
|
|
24
|
+
}), [
|
|
25
|
+
renderSlot(_ctx.$slots, "default")
|
|
26
|
+
], 16);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
_sfc_main as default
|
|
32
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynOption } from '@synergy-design-system/components';
|
|
1
|
+
import { SynOption } from '@synergy-design-system/components';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
slots: {
|
|
5
4
|
default?(_: {}): any;
|
|
@@ -10,7 +9,7 @@ declare function __VLS_template(): {
|
|
|
10
9
|
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import(
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
13
|
/**
|
|
15
14
|
* The option's value.
|
|
16
15
|
* When selected, the containing form control will receive this value.
|
|
@@ -25,8 +24,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
25
24
|
*/
|
|
26
25
|
disabled?: SynOption["disabled"];
|
|
27
26
|
}, {
|
|
28
|
-
nativeElement: import(
|
|
29
|
-
}, {}, {}, {}, import(
|
|
27
|
+
nativeElement: import('vue').Ref<SynOption | undefined, SynOption | undefined>;
|
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
30
29
|
/**
|
|
31
30
|
* The option's value.
|
|
32
31
|
* When selected, the containing form control will receive this value.
|
|
@@ -40,7 +39,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
40
39
|
* Draws the option in a disabled state, preventing selection.
|
|
41
40
|
*/
|
|
42
41
|
disabled?: SynOption["disabled"];
|
|
43
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
42
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
44
43
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
44
|
export default _default;
|
|
46
45
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/option/option.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueOption",
|
|
5
|
+
props: {
|
|
6
|
+
value: {},
|
|
7
|
+
disabled: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props, { expose: __expose }) {
|
|
10
|
+
const nativeElement = ref();
|
|
11
|
+
__expose({
|
|
12
|
+
nativeElement
|
|
13
|
+
});
|
|
14
|
+
const props = __props;
|
|
15
|
+
const visibleProps = computed(
|
|
16
|
+
() => Object.fromEntries(
|
|
17
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock("syn-option", mergeProps(visibleProps.value, {
|
|
22
|
+
ref_key: "nativeElement",
|
|
23
|
+
ref: nativeElement
|
|
24
|
+
}), [
|
|
25
|
+
renderSlot(_ctx.$slots, "default")
|
|
26
|
+
], 16);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
_sfc_main as default
|
|
32
|
+
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynRepositionEvent } from '@synergy-design-system/components';
|
|
3
|
-
import type { SynPopup } from '@synergy-design-system/components';
|
|
1
|
+
import { SynRepositionEvent, SynPopup } from '@synergy-design-system/components';
|
|
4
2
|
export type { SynRepositionEvent } from '@synergy-design-system/components';
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
6
4
|
/**
|
|
7
5
|
* The element the popup will be anchored to.
|
|
8
6
|
* If the anchor lives outside of the popup, you can provide the anchor
|
|
@@ -138,10 +136,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
138
136
|
*/
|
|
139
137
|
hoverBridge?: SynPopup["hoverBridge"];
|
|
140
138
|
}, {
|
|
141
|
-
nativeElement: import(
|
|
142
|
-
}, {}, {}, {}, import(
|
|
139
|
+
nativeElement: import('vue').Ref<SynPopup | undefined, SynPopup | undefined>;
|
|
140
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
143
141
|
"syn-reposition": (e: SynRepositionEvent) => any;
|
|
144
|
-
}, string, import(
|
|
142
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
145
143
|
/**
|
|
146
144
|
* The element the popup will be anchored to.
|
|
147
145
|
* If the anchor lives outside of the popup, you can provide the anchor
|
|
@@ -278,7 +276,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
278
276
|
hoverBridge?: SynPopup["hoverBridge"];
|
|
279
277
|
}> & Readonly<{
|
|
280
278
|
"onSyn-reposition"?: ((e: SynRepositionEvent) => any) | undefined;
|
|
281
|
-
}>, {}, {}, {}, {}, string, import(
|
|
279
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
282
280
|
default?(_: {}): any;
|
|
283
281
|
}>;
|
|
284
282
|
export default _default;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/popup/popup.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVuePopup",
|
|
5
|
+
props: {
|
|
6
|
+
anchor: {},
|
|
7
|
+
active: {},
|
|
8
|
+
placement: {},
|
|
9
|
+
strategy: {},
|
|
10
|
+
distance: {},
|
|
11
|
+
skidding: {},
|
|
12
|
+
arrow: {},
|
|
13
|
+
arrowPlacement: {},
|
|
14
|
+
arrowPadding: {},
|
|
15
|
+
flip: {},
|
|
16
|
+
flipFallbackPlacements: {},
|
|
17
|
+
flipFallbackStrategy: {},
|
|
18
|
+
flipBoundary: {},
|
|
19
|
+
flipPadding: {},
|
|
20
|
+
shift: {},
|
|
21
|
+
shiftBoundary: {},
|
|
22
|
+
shiftPadding: {},
|
|
23
|
+
autoSize: {},
|
|
24
|
+
sync: {},
|
|
25
|
+
autoSizeBoundary: {},
|
|
26
|
+
autoSizePadding: {},
|
|
27
|
+
hoverBridge: {}
|
|
28
|
+
},
|
|
29
|
+
emits: ["syn-reposition"],
|
|
30
|
+
setup(__props, { expose: __expose }) {
|
|
31
|
+
const nativeElement = ref();
|
|
32
|
+
__expose({
|
|
33
|
+
nativeElement
|
|
34
|
+
});
|
|
35
|
+
const props = __props;
|
|
36
|
+
const visibleProps = computed(
|
|
37
|
+
() => Object.fromEntries(
|
|
38
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
39
|
+
)
|
|
40
|
+
);
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
return openBlock(), createElementBlock("syn-popup", mergeProps({
|
|
43
|
+
onSynReposition: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-reposition", $event))
|
|
44
|
+
}, visibleProps.value, {
|
|
45
|
+
ref_key: "nativeElement",
|
|
46
|
+
ref: nativeElement
|
|
47
|
+
}), [
|
|
48
|
+
renderSlot(_ctx.$slots, "default")
|
|
49
|
+
], 16);
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
export {
|
|
54
|
+
_sfc_main as default
|
|
55
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynPrioNav } from '@synergy-design-system/components';
|
|
1
|
+
import { SynPrioNav } from '@synergy-design-system/components';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
slots: {
|
|
5
4
|
default?(_: {}): any;
|
|
@@ -10,9 +9,9 @@ declare function __VLS_template(): {
|
|
|
10
9
|
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import(
|
|
14
|
-
nativeElement: import(
|
|
15
|
-
}, {}, {}, {}, import(
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
13
|
+
nativeElement: import('vue').Ref<SynPrioNav | undefined, SynPrioNav | undefined>;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
16
|
export default _default;
|
|
18
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent, ref, openBlock, createElementBlock, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/prio-nav/prio-nav.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVuePrioNav",
|
|
5
|
+
setup(__props, { expose: __expose }) {
|
|
6
|
+
const nativeElement = ref();
|
|
7
|
+
__expose({
|
|
8
|
+
nativeElement
|
|
9
|
+
});
|
|
10
|
+
return (_ctx, _cache) => {
|
|
11
|
+
return openBlock(), createElementBlock("syn-prio-nav", {
|
|
12
|
+
ref_key: "nativeElement",
|
|
13
|
+
ref: nativeElement
|
|
14
|
+
}, [
|
|
15
|
+
renderSlot(_ctx.$slots, "default")
|
|
16
|
+
], 512);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
_sfc_main as default
|
|
22
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynProgressBar } from '@synergy-design-system/components';
|
|
1
|
+
import { SynProgressBar } from '@synergy-design-system/components';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
slots: {
|
|
5
4
|
default?(_: {}): any;
|
|
@@ -10,7 +9,7 @@ declare function __VLS_template(): {
|
|
|
10
9
|
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import(
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
13
|
/**
|
|
15
14
|
* The current progress as a percentage, 0 to 100.
|
|
16
15
|
*/
|
|
@@ -24,8 +23,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
24
23
|
*/
|
|
25
24
|
label?: SynProgressBar["label"];
|
|
26
25
|
}, {
|
|
27
|
-
nativeElement: import(
|
|
28
|
-
}, {}, {}, {}, import(
|
|
26
|
+
nativeElement: import('vue').Ref<SynProgressBar | undefined, SynProgressBar | undefined>;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
29
28
|
/**
|
|
30
29
|
* The current progress as a percentage, 0 to 100.
|
|
31
30
|
*/
|
|
@@ -38,7 +37,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
38
37
|
* A custom label for assistive devices.
|
|
39
38
|
*/
|
|
40
39
|
label?: SynProgressBar["label"];
|
|
41
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
40
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
42
|
export default _default;
|
|
44
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/progress-bar/progress-bar.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueProgressBar",
|
|
5
|
+
props: {
|
|
6
|
+
value: {},
|
|
7
|
+
indeterminate: {},
|
|
8
|
+
label: {}
|
|
9
|
+
},
|
|
10
|
+
setup(__props, { expose: __expose }) {
|
|
11
|
+
const nativeElement = ref();
|
|
12
|
+
__expose({
|
|
13
|
+
nativeElement
|
|
14
|
+
});
|
|
15
|
+
const props = __props;
|
|
16
|
+
const visibleProps = computed(
|
|
17
|
+
() => Object.fromEntries(
|
|
18
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createElementBlock("syn-progress-bar", mergeProps(visibleProps.value, {
|
|
23
|
+
ref_key: "nativeElement",
|
|
24
|
+
ref: nativeElement
|
|
25
|
+
}), [
|
|
26
|
+
renderSlot(_ctx.$slots, "default")
|
|
27
|
+
], 16);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
_sfc_main as default
|
|
33
|
+
};
|