@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
package/README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynAccordion } from '@synergy-design-system/components';
|
|
1
|
+
import { SynAccordion } 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
|
* Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
|
|
16
15
|
*/
|
|
@@ -24,8 +23,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
24
23
|
*/
|
|
25
24
|
size?: SynAccordion["size"];
|
|
26
25
|
}, {
|
|
27
|
-
nativeElement: import(
|
|
28
|
-
}, {}, {}, {}, import(
|
|
26
|
+
nativeElement: import('vue').Ref<SynAccordion | undefined, SynAccordion | undefined>;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
29
28
|
/**
|
|
30
29
|
* Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
|
|
31
30
|
*/
|
|
@@ -38,7 +37,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
38
37
|
* The size that should be applied to all slotted `<syn-details>` elements
|
|
39
38
|
*/
|
|
40
39
|
size?: SynAccordion["size"];
|
|
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/accordion/accordion.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueAccordion",
|
|
5
|
+
props: {
|
|
6
|
+
closeOthers: {},
|
|
7
|
+
contained: {},
|
|
8
|
+
size: {}
|
|
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-accordion", 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
|
+
};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynShowEvent } from '@synergy-design-system/components';
|
|
3
|
-
import type { SynAfterShowEvent } from '@synergy-design-system/components';
|
|
4
|
-
import type { SynHideEvent } from '@synergy-design-system/components';
|
|
5
|
-
import type { SynAfterHideEvent } from '@synergy-design-system/components';
|
|
6
|
-
import type { SynAlert } from '@synergy-design-system/components';
|
|
1
|
+
import { SynShowEvent, SynAfterShowEvent, SynHideEvent, SynAfterHideEvent, SynAlert } from '@synergy-design-system/components';
|
|
7
2
|
export type { SynShowEvent } from '@synergy-design-system/components';
|
|
8
3
|
export type { SynAfterShowEvent } from '@synergy-design-system/components';
|
|
9
4
|
export type { SynHideEvent } from '@synergy-design-system/components';
|
|
10
5
|
export type { SynAfterHideEvent } 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
|
* Indicates whether or not the alert is open.
|
|
14
9
|
* You can toggle this attribute to show and hide the alert, or you can
|
|
@@ -33,13 +28,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
28
|
*/
|
|
34
29
|
duration?: SynAlert["duration"];
|
|
35
30
|
}, {
|
|
36
|
-
nativeElement: import(
|
|
37
|
-
}, {}, {}, {}, import(
|
|
38
|
-
"syn-
|
|
31
|
+
nativeElement: import('vue').Ref<SynAlert | undefined, SynAlert | undefined>;
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
"syn-show": (e: SynShowEvent) => any;
|
|
39
34
|
"syn-after-show": (e: SynAfterShowEvent) => any;
|
|
40
35
|
"syn-hide": (e: SynHideEvent) => any;
|
|
41
|
-
"syn-
|
|
42
|
-
}, string, import(
|
|
36
|
+
"syn-after-hide": (e: SynAfterHideEvent) => any;
|
|
37
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
43
38
|
/**
|
|
44
39
|
* Indicates whether or not the alert is open.
|
|
45
40
|
* You can toggle this attribute to show and hide the alert, or you can
|
|
@@ -64,11 +59,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
59
|
*/
|
|
65
60
|
duration?: SynAlert["duration"];
|
|
66
61
|
}> & Readonly<{
|
|
67
|
-
"onSyn-
|
|
62
|
+
"onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
|
|
68
63
|
"onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
|
|
69
64
|
"onSyn-hide"?: ((e: SynHideEvent) => any) | undefined;
|
|
70
|
-
"onSyn-
|
|
71
|
-
}>, {}, {}, {}, {}, string, import(
|
|
65
|
+
"onSyn-after-hide"?: ((e: SynAfterHideEvent) => any) | undefined;
|
|
66
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
72
67
|
default?(_: {}): any;
|
|
73
68
|
}>;
|
|
74
69
|
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/alert/alert.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueAlert",
|
|
5
|
+
props: {
|
|
6
|
+
open: {},
|
|
7
|
+
closable: {},
|
|
8
|
+
variant: {},
|
|
9
|
+
duration: {}
|
|
10
|
+
},
|
|
11
|
+
emits: ["syn-show", "syn-after-show", "syn-hide", "syn-after-hide"],
|
|
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-alert", mergeProps({
|
|
25
|
+
onSynShow: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-show", $event)),
|
|
26
|
+
onSynAfterShow: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("syn-after-show", $event)),
|
|
27
|
+
onSynHide: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("syn-hide", $event)),
|
|
28
|
+
onSynAfterHide: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("syn-after-hide", $event))
|
|
29
|
+
}, visibleProps.value, {
|
|
30
|
+
ref_key: "nativeElement",
|
|
31
|
+
ref: nativeElement
|
|
32
|
+
}), [
|
|
33
|
+
renderSlot(_ctx.$slots, "default")
|
|
34
|
+
], 16);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
_sfc_main as default
|
|
40
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynBadge } from '@synergy-design-system/components';
|
|
1
|
+
import { SynBadge } from '@synergy-design-system/components';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
slots: {
|
|
5
4
|
default?(_: {}): any;
|
|
@@ -10,19 +9,19 @@ 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 badge's theme variant.
|
|
16
15
|
*/
|
|
17
16
|
variant?: SynBadge["variant"];
|
|
18
17
|
}, {
|
|
19
|
-
nativeElement: import(
|
|
20
|
-
}, {}, {}, {}, import(
|
|
18
|
+
nativeElement: import('vue').Ref<SynBadge | undefined, SynBadge | undefined>;
|
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
21
20
|
/**
|
|
22
21
|
* The badge's theme variant.
|
|
23
22
|
*/
|
|
24
23
|
variant?: SynBadge["variant"];
|
|
25
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
24
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
26
|
export default _default;
|
|
28
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/badge/badge.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueBadge",
|
|
5
|
+
props: {
|
|
6
|
+
variant: {}
|
|
7
|
+
},
|
|
8
|
+
setup(__props, { expose: __expose }) {
|
|
9
|
+
const nativeElement = ref();
|
|
10
|
+
__expose({
|
|
11
|
+
nativeElement
|
|
12
|
+
});
|
|
13
|
+
const props = __props;
|
|
14
|
+
const visibleProps = computed(
|
|
15
|
+
() => Object.fromEntries(
|
|
16
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
17
|
+
)
|
|
18
|
+
);
|
|
19
|
+
return (_ctx, _cache) => {
|
|
20
|
+
return openBlock(), createElementBlock("syn-badge", mergeProps(visibleProps.value, {
|
|
21
|
+
ref_key: "nativeElement",
|
|
22
|
+
ref: nativeElement
|
|
23
|
+
}), [
|
|
24
|
+
renderSlot(_ctx.$slots, "default")
|
|
25
|
+
], 16);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
_sfc_main as default
|
|
31
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynBreadcrumb } from '@synergy-design-system/components';
|
|
1
|
+
import { SynBreadcrumb } 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 label to use for the breadcrumb control.
|
|
16
15
|
* This will not be shown on the screen, but it will be announced by
|
|
@@ -18,15 +17,15 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
18
17
|
*/
|
|
19
18
|
label?: SynBreadcrumb["label"];
|
|
20
19
|
}, {
|
|
21
|
-
nativeElement: import(
|
|
22
|
-
}, {}, {}, {}, import(
|
|
20
|
+
nativeElement: import('vue').Ref<SynBreadcrumb | undefined, SynBreadcrumb | undefined>;
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
23
22
|
/**
|
|
24
23
|
* The label to use for the breadcrumb control.
|
|
25
24
|
* This will not be shown on the screen, but it will be announced by
|
|
26
25
|
screen readers and other assistive devices to provide more context for users.
|
|
27
26
|
*/
|
|
28
27
|
label?: SynBreadcrumb["label"];
|
|
29
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
28
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
30
|
export default _default;
|
|
32
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/breadcrumb/breadcrumb.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueBreadcrumb",
|
|
5
|
+
props: {
|
|
6
|
+
label: {}
|
|
7
|
+
},
|
|
8
|
+
setup(__props, { expose: __expose }) {
|
|
9
|
+
const nativeElement = ref();
|
|
10
|
+
__expose({
|
|
11
|
+
nativeElement
|
|
12
|
+
});
|
|
13
|
+
const props = __props;
|
|
14
|
+
const visibleProps = computed(
|
|
15
|
+
() => Object.fromEntries(
|
|
16
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
17
|
+
)
|
|
18
|
+
);
|
|
19
|
+
return (_ctx, _cache) => {
|
|
20
|
+
return openBlock(), createElementBlock("syn-breadcrumb", mergeProps(visibleProps.value, {
|
|
21
|
+
ref_key: "nativeElement",
|
|
22
|
+
ref: nativeElement
|
|
23
|
+
}), [
|
|
24
|
+
renderSlot(_ctx.$slots, "default")
|
|
25
|
+
], 16);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
_sfc_main as default
|
|
31
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynBreadcrumbItem } from '@synergy-design-system/components';
|
|
1
|
+
import { SynBreadcrumbItem } 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
|
* Optional URL to direct the user to when the breadcrumb item is activated.
|
|
16
15
|
* When set, a link will be rendered
|
|
@@ -29,8 +28,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
29
28
|
*/
|
|
30
29
|
rel?: SynBreadcrumbItem["rel"];
|
|
31
30
|
}, {
|
|
32
|
-
nativeElement: import(
|
|
33
|
-
}, {}, {}, {}, import(
|
|
31
|
+
nativeElement: import('vue').Ref<SynBreadcrumbItem | undefined, SynBreadcrumbItem | undefined>;
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
34
33
|
/**
|
|
35
34
|
* Optional URL to direct the user to when the breadcrumb item is activated.
|
|
36
35
|
* When set, a link will be rendered
|
|
@@ -48,7 +47,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
48
47
|
* Only used when `href` is set.
|
|
49
48
|
*/
|
|
50
49
|
rel?: SynBreadcrumbItem["rel"];
|
|
51
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
50
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
51
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
52
|
export default _default;
|
|
54
53
|
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/breadcrumb-item/breadcrumb-item.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueBreadcrumbItem",
|
|
5
|
+
props: {
|
|
6
|
+
href: {},
|
|
7
|
+
target: {},
|
|
8
|
+
rel: {}
|
|
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-breadcrumb-item", 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
|
+
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynBlurEvent } from '@synergy-design-system/components';
|
|
3
|
-
import type { SynFocusEvent } from '@synergy-design-system/components';
|
|
4
|
-
import type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
5
|
-
import type { SynButton } from '@synergy-design-system/components';
|
|
1
|
+
import { SynBlurEvent, SynFocusEvent, SynInvalidEvent, SynButton } from '@synergy-design-system/components';
|
|
6
2
|
export type { SynBlurEvent } from '@synergy-design-system/components';
|
|
7
3
|
export type { SynFocusEvent } from '@synergy-design-system/components';
|
|
8
4
|
export type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
10
6
|
title?: SynButton["title"];
|
|
11
7
|
/**
|
|
12
8
|
* The button's theme variant.
|
|
@@ -99,12 +95,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
99
95
|
*/
|
|
100
96
|
formTarget?: SynButton["formTarget"];
|
|
101
97
|
}, {
|
|
102
|
-
nativeElement: import(
|
|
103
|
-
}, {}, {}, {}, import(
|
|
98
|
+
nativeElement: import('vue').Ref<SynButton | undefined, SynButton | undefined>;
|
|
99
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
104
100
|
"syn-blur": (e: SynBlurEvent) => any;
|
|
105
101
|
"syn-focus": (e: SynFocusEvent) => any;
|
|
106
102
|
"syn-invalid": (e: SynInvalidEvent) => any;
|
|
107
|
-
}, string, import(
|
|
103
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
108
104
|
title?: SynButton["title"];
|
|
109
105
|
/**
|
|
110
106
|
* The button's theme variant.
|
|
@@ -200,7 +196,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
200
196
|
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
|
|
201
197
|
"onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
|
|
202
198
|
"onSyn-invalid"?: ((e: SynInvalidEvent) => any) | undefined;
|
|
203
|
-
}>, {}, {}, {}, {}, string, import(
|
|
199
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
204
200
|
default?(_: {}): any;
|
|
205
201
|
}>;
|
|
206
202
|
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/button/button.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueButton",
|
|
5
|
+
props: {
|
|
6
|
+
title: {},
|
|
7
|
+
variant: {},
|
|
8
|
+
size: {},
|
|
9
|
+
caret: {},
|
|
10
|
+
disabled: {},
|
|
11
|
+
loading: {},
|
|
12
|
+
type: {},
|
|
13
|
+
name: {},
|
|
14
|
+
value: {},
|
|
15
|
+
href: {},
|
|
16
|
+
target: {},
|
|
17
|
+
rel: {},
|
|
18
|
+
download: {},
|
|
19
|
+
form: {},
|
|
20
|
+
formAction: {},
|
|
21
|
+
formEnctype: {},
|
|
22
|
+
formMethod: {},
|
|
23
|
+
formNoValidate: {},
|
|
24
|
+
formTarget: {}
|
|
25
|
+
},
|
|
26
|
+
emits: ["syn-blur", "syn-focus", "syn-invalid"],
|
|
27
|
+
setup(__props, { expose: __expose }) {
|
|
28
|
+
const nativeElement = ref();
|
|
29
|
+
__expose({
|
|
30
|
+
nativeElement
|
|
31
|
+
});
|
|
32
|
+
const props = __props;
|
|
33
|
+
const visibleProps = computed(
|
|
34
|
+
() => Object.fromEntries(
|
|
35
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
36
|
+
)
|
|
37
|
+
);
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
return openBlock(), createElementBlock("syn-button", mergeProps({
|
|
40
|
+
onSynBlur: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-blur", $event)),
|
|
41
|
+
onSynFocus: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("syn-focus", $event)),
|
|
42
|
+
onSynInvalid: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("syn-invalid", $event))
|
|
43
|
+
}, visibleProps.value, {
|
|
44
|
+
ref_key: "nativeElement",
|
|
45
|
+
ref: nativeElement
|
|
46
|
+
}), [
|
|
47
|
+
renderSlot(_ctx.$slots, "default")
|
|
48
|
+
], 16);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
_sfc_main as default
|
|
54
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynButtonGroup } from '@synergy-design-system/components';
|
|
1
|
+
import { SynButtonGroup } 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
|
* A label to use for the button group.
|
|
16
15
|
* This won't be displayed on the screen, but it will be announced by assistive
|
|
@@ -18,15 +17,15 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
18
17
|
*/
|
|
19
18
|
label?: SynButtonGroup["label"];
|
|
20
19
|
}, {
|
|
21
|
-
nativeElement: import(
|
|
22
|
-
}, {}, {}, {}, import(
|
|
20
|
+
nativeElement: import('vue').Ref<SynButtonGroup | undefined, SynButtonGroup | undefined>;
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
23
22
|
/**
|
|
24
23
|
* A label to use for the button group.
|
|
25
24
|
* This won't be displayed on the screen, but it will be announced by assistive
|
|
26
25
|
devices when interacting with the control and is strongly recommended.
|
|
27
26
|
*/
|
|
28
27
|
label?: SynButtonGroup["label"];
|
|
29
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
28
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
30
|
export default _default;
|
|
32
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/button-group/button-group.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueButtonGroup",
|
|
5
|
+
props: {
|
|
6
|
+
label: {}
|
|
7
|
+
},
|
|
8
|
+
setup(__props, { expose: __expose }) {
|
|
9
|
+
const nativeElement = ref();
|
|
10
|
+
__expose({
|
|
11
|
+
nativeElement
|
|
12
|
+
});
|
|
13
|
+
const props = __props;
|
|
14
|
+
const visibleProps = computed(
|
|
15
|
+
() => Object.fromEntries(
|
|
16
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
17
|
+
)
|
|
18
|
+
);
|
|
19
|
+
return (_ctx, _cache) => {
|
|
20
|
+
return openBlock(), createElementBlock("syn-button-group", mergeProps(visibleProps.value, {
|
|
21
|
+
ref_key: "nativeElement",
|
|
22
|
+
ref: nativeElement
|
|
23
|
+
}), [
|
|
24
|
+
renderSlot(_ctx.$slots, "default")
|
|
25
|
+
], 16);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
_sfc_main as default
|
|
31
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynCard } from '@synergy-design-system/components';
|
|
1
|
+
import { SynCard } 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
|
* Draws the card with sharp edges.
|
|
16
15
|
* Can be used e.g.
|
|
@@ -18,15 +17,15 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
18
17
|
*/
|
|
19
18
|
sharp?: SynCard["sharp"];
|
|
20
19
|
}, {
|
|
21
|
-
nativeElement: import(
|
|
22
|
-
}, {}, {}, {}, import(
|
|
20
|
+
nativeElement: import('vue').Ref<SynCard | undefined, SynCard | undefined>;
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
23
22
|
/**
|
|
24
23
|
* Draws the card with sharp edges.
|
|
25
24
|
* Can be used e.g.
|
|
26
25
|
* when nesting multiple syn-cards to create hierarchy.
|
|
27
26
|
*/
|
|
28
27
|
sharp?: SynCard["sharp"];
|
|
29
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
28
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
30
|
export default _default;
|
|
32
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/card/card.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueCard",
|
|
5
|
+
props: {
|
|
6
|
+
sharp: {}
|
|
7
|
+
},
|
|
8
|
+
setup(__props, { expose: __expose }) {
|
|
9
|
+
const nativeElement = ref();
|
|
10
|
+
__expose({
|
|
11
|
+
nativeElement
|
|
12
|
+
});
|
|
13
|
+
const props = __props;
|
|
14
|
+
const visibleProps = computed(
|
|
15
|
+
() => Object.fromEntries(
|
|
16
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
17
|
+
)
|
|
18
|
+
);
|
|
19
|
+
return (_ctx, _cache) => {
|
|
20
|
+
return openBlock(), createElementBlock("syn-card", mergeProps(visibleProps.value, {
|
|
21
|
+
ref_key: "nativeElement",
|
|
22
|
+
ref: nativeElement
|
|
23
|
+
}), [
|
|
24
|
+
renderSlot(_ctx.$slots, "default")
|
|
25
|
+
], 16);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
_sfc_main as default
|
|
31
|
+
};
|