@synergy-design-system/vue 2.11.6 → 2.11.8
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 +31 -21
- 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 +15 -13
- package/dist/components/SynVueBadge.vue.js +31 -0
- package/dist/components/SynVueBadge.vue2.js +4 -0
- package/dist/components/SynVueBreadcrumb.vue.d.ts +19 -15
- package/dist/components/SynVueBreadcrumb.vue.js +31 -0
- package/dist/components/SynVueBreadcrumb.vue2.js +4 -0
- package/dist/components/SynVueBreadcrumbItem.vue.d.ts +36 -21
- 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 +19 -15
- package/dist/components/SynVueButtonGroup.vue.js +31 -0
- package/dist/components/SynVueButtonGroup.vue2.js +4 -0
- package/dist/components/SynVueCard.vue.d.ts +19 -15
- 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 +11 -8
- 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 +43 -23
- package/dist/components/SynVueMenuItem.vue.js +35 -0
- package/dist/components/SynVueMenuItem.vue2.js +4 -0
- package/dist/components/SynVueMenuLabel.vue.d.ts +5 -7
- 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 +25 -18
- package/dist/components/SynVueOptgroup.vue.js +32 -0
- package/dist/components/SynVueOptgroup.vue2.js +4 -0
- package/dist/components/SynVueOption.vue.d.ts +31 -20
- 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 +5 -7
- package/dist/components/SynVuePrioNav.vue.js +22 -0
- package/dist/components/SynVuePrioNav.vue2.js +4 -0
- package/dist/components/SynVueProgressBar.vue.d.ts +31 -21
- package/dist/components/SynVueProgressBar.vue.js +33 -0
- package/dist/components/SynVueProgressBar.vue2.js +4 -0
- package/dist/components/SynVueProgressRing.vue.d.ts +23 -17
- 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 +15 -13
- 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 +23 -17
- 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 +11 -4
- /package/src/{index.js → index.ts} +0 -0
|
@@ -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,19 +1,17 @@
|
|
|
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
|
-
attrs: Partial<{}>;
|
|
5
3
|
slots: {
|
|
6
4
|
default?(_: {}): any;
|
|
7
5
|
};
|
|
8
6
|
refs: {
|
|
9
7
|
nativeElement: unknown;
|
|
10
8
|
};
|
|
11
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
12
10
|
};
|
|
13
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import(
|
|
15
|
-
nativeElement: import(
|
|
16
|
-
}, {}, {}, {}, 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>;
|
|
17
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
16
|
export default _default;
|
|
19
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,33 +1,43 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynProgressBar } from '@synergy-design-system/components';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
/**
|
|
5
|
-
* The current progress as a percentage, 0 to 100.
|
|
6
|
-
*/
|
|
7
|
-
value?: SynProgressBar['value'];
|
|
8
|
-
/**
|
|
9
|
-
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
|
10
|
-
*/
|
|
11
|
-
indeterminate?: SynProgressBar['indeterminate'];
|
|
12
|
-
/**
|
|
13
|
-
* A custom label for assistive devices.
|
|
14
|
-
*/
|
|
15
|
-
label?: SynProgressBar['label'];
|
|
16
|
-
};
|
|
1
|
+
import { SynProgressBar } from '@synergy-design-system/components';
|
|
17
2
|
declare function __VLS_template(): {
|
|
18
|
-
attrs: Partial<{}>;
|
|
19
3
|
slots: {
|
|
20
4
|
default?(_: {}): any;
|
|
21
5
|
};
|
|
22
6
|
refs: {
|
|
23
7
|
nativeElement: unknown;
|
|
24
8
|
};
|
|
25
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
26
10
|
};
|
|
27
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
-
declare const __VLS_component: import(
|
|
29
|
-
|
|
30
|
-
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
+
/**
|
|
14
|
+
* The current progress as a percentage, 0 to 100.
|
|
15
|
+
*/
|
|
16
|
+
value?: SynProgressBar["value"];
|
|
17
|
+
/**
|
|
18
|
+
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
|
19
|
+
*/
|
|
20
|
+
indeterminate?: SynProgressBar["indeterminate"];
|
|
21
|
+
/**
|
|
22
|
+
* A custom label for assistive devices.
|
|
23
|
+
*/
|
|
24
|
+
label?: SynProgressBar["label"];
|
|
25
|
+
}, {
|
|
26
|
+
nativeElement: import('vue').Ref<SynProgressBar | undefined, SynProgressBar | undefined>;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
28
|
+
/**
|
|
29
|
+
* The current progress as a percentage, 0 to 100.
|
|
30
|
+
*/
|
|
31
|
+
value?: SynProgressBar["value"];
|
|
32
|
+
/**
|
|
33
|
+
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
|
34
|
+
*/
|
|
35
|
+
indeterminate?: SynProgressBar["indeterminate"];
|
|
36
|
+
/**
|
|
37
|
+
* A custom label for assistive devices.
|
|
38
|
+
*/
|
|
39
|
+
label?: SynProgressBar["label"];
|
|
40
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
42
|
export default _default;
|
|
33
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
|
+
};
|
|
@@ -1,29 +1,35 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynProgressRing } from '@synergy-design-system/components';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
/**
|
|
5
|
-
* The current progress as a percentage, 0 to 100.
|
|
6
|
-
*/
|
|
7
|
-
value?: SynProgressRing['value'];
|
|
8
|
-
/**
|
|
9
|
-
* A custom label for assistive devices.
|
|
10
|
-
*/
|
|
11
|
-
label?: SynProgressRing['label'];
|
|
12
|
-
};
|
|
1
|
+
import { SynProgressRing } from '@synergy-design-system/components';
|
|
13
2
|
declare function __VLS_template(): {
|
|
14
|
-
attrs: Partial<{}>;
|
|
15
3
|
slots: {
|
|
16
4
|
default?(_: {}): any;
|
|
17
5
|
};
|
|
18
6
|
refs: {
|
|
19
7
|
nativeElement: unknown;
|
|
20
8
|
};
|
|
21
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
22
10
|
};
|
|
23
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
-
declare const __VLS_component: import(
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
+
/**
|
|
14
|
+
* The current progress as a percentage, 0 to 100.
|
|
15
|
+
*/
|
|
16
|
+
value?: SynProgressRing["value"];
|
|
17
|
+
/**
|
|
18
|
+
* A custom label for assistive devices.
|
|
19
|
+
*/
|
|
20
|
+
label?: SynProgressRing["label"];
|
|
21
|
+
}, {
|
|
22
|
+
nativeElement: import('vue').Ref<SynProgressRing | undefined, SynProgressRing | undefined>;
|
|
23
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
24
|
+
/**
|
|
25
|
+
* The current progress as a percentage, 0 to 100.
|
|
26
|
+
*/
|
|
27
|
+
value?: SynProgressRing["value"];
|
|
28
|
+
/**
|
|
29
|
+
* A custom label for assistive devices.
|
|
30
|
+
*/
|
|
31
|
+
label?: SynProgressRing["label"];
|
|
32
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
34
|
export default _default;
|
|
29
35
|
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/progress-ring/progress-ring.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueProgressRing",
|
|
5
|
+
props: {
|
|
6
|
+
value: {},
|
|
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-progress-ring", 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,10 +1,7 @@
|
|
|
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 { SynRadio } from '@synergy-design-system/components';
|
|
1
|
+
import { SynBlurEvent, SynFocusEvent, SynRadio } from '@synergy-design-system/components';
|
|
5
2
|
export type { SynBlurEvent } from '@synergy-design-system/components';
|
|
6
3
|
export type { SynFocusEvent } from '@synergy-design-system/components';
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* The radio's value.
|
|
10
7
|
* When selected, the radio group will receive this value.
|
|
@@ -21,11 +18,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
18
|
*/
|
|
22
19
|
disabled?: SynRadio["disabled"];
|
|
23
20
|
}, {
|
|
24
|
-
nativeElement: import(
|
|
25
|
-
}, {}, {}, {}, import(
|
|
21
|
+
nativeElement: import('vue').Ref<SynRadio | undefined, SynRadio | undefined>;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
23
|
"syn-blur": (e: SynBlurEvent) => any;
|
|
27
24
|
"syn-focus": (e: SynFocusEvent) => any;
|
|
28
|
-
}, string, import(
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
29
26
|
/**
|
|
30
27
|
* The radio's value.
|
|
31
28
|
* When selected, the radio group will receive this value.
|
|
@@ -44,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
41
|
}> & Readonly<{
|
|
45
42
|
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
|
|
46
43
|
"onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
|
|
47
|
-
}>, {}, {}, {}, {}, string, import(
|
|
44
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
48
45
|
default?(_: {}): any;
|
|
49
46
|
}>;
|
|
50
47
|
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/radio/radio.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueRadio",
|
|
5
|
+
props: {
|
|
6
|
+
value: {},
|
|
7
|
+
size: {},
|
|
8
|
+
disabled: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["syn-blur", "syn-focus"],
|
|
11
|
+
setup(__props, { expose: __expose }) {
|
|
12
|
+
const nativeElement = ref();
|
|
13
|
+
__expose({
|
|
14
|
+
nativeElement
|
|
15
|
+
});
|
|
16
|
+
const props = __props;
|
|
17
|
+
const visibleProps = computed(
|
|
18
|
+
() => Object.fromEntries(
|
|
19
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
return (_ctx, _cache) => {
|
|
23
|
+
return openBlock(), createElementBlock("syn-radio", mergeProps({
|
|
24
|
+
onSynBlur: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-blur", $event)),
|
|
25
|
+
onSynFocus: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("syn-focus", $event))
|
|
26
|
+
}, visibleProps.value, {
|
|
27
|
+
ref_key: "nativeElement",
|
|
28
|
+
ref: nativeElement
|
|
29
|
+
}), [
|
|
30
|
+
renderSlot(_ctx.$slots, "default")
|
|
31
|
+
], 16);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
_sfc_main as default
|
|
37
|
+
};
|
|
@@ -1,10 +1,7 @@
|
|
|
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 { SynRadioButton } from '@synergy-design-system/components';
|
|
1
|
+
import { SynBlurEvent, SynFocusEvent, SynRadioButton } from '@synergy-design-system/components';
|
|
5
2
|
export type { SynBlurEvent } from '@synergy-design-system/components';
|
|
6
3
|
export type { SynFocusEvent } from '@synergy-design-system/components';
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* The radio's value.
|
|
10
7
|
* When selected, the radio group will receive this value.
|
|
@@ -25,11 +22,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
22
|
*/
|
|
26
23
|
pill?: SynRadioButton["pill"];
|
|
27
24
|
}, {
|
|
28
|
-
nativeElement: import(
|
|
29
|
-
}, {}, {}, {}, import(
|
|
25
|
+
nativeElement: import('vue').Ref<SynRadioButton | undefined, SynRadioButton | undefined>;
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
27
|
"syn-blur": (e: SynBlurEvent) => any;
|
|
31
28
|
"syn-focus": (e: SynFocusEvent) => any;
|
|
32
|
-
}, string, import(
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
33
30
|
/**
|
|
34
31
|
* The radio's value.
|
|
35
32
|
* When selected, the radio group will receive this value.
|
|
@@ -52,7 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
49
|
}> & Readonly<{
|
|
53
50
|
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
|
|
54
51
|
"onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
|
|
55
|
-
}>, {}, {}, {}, {}, string, import(
|
|
52
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
56
53
|
default?(_: {}): any;
|
|
57
54
|
}>;
|
|
58
55
|
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/radio-button/radio-button.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SynVueRadioButton",
|
|
5
|
+
props: {
|
|
6
|
+
value: {},
|
|
7
|
+
disabled: {},
|
|
8
|
+
size: {},
|
|
9
|
+
pill: {}
|
|
10
|
+
},
|
|
11
|
+
emits: ["syn-blur", "syn-focus"],
|
|
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-radio-button", mergeProps({
|
|
25
|
+
onSynBlur: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-blur", $event)),
|
|
26
|
+
onSynFocus: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("syn-focus", $event))
|
|
27
|
+
}, visibleProps.value, {
|
|
28
|
+
ref_key: "nativeElement",
|
|
29
|
+
ref: nativeElement
|
|
30
|
+
}), [
|
|
31
|
+
renderSlot(_ctx.$slots, "default")
|
|
32
|
+
], 16);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
_sfc_main as default
|
|
38
|
+
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import '@synergy-design-system/components
|
|
2
|
-
import type { SynChangeEvent } from '@synergy-design-system/components';
|
|
3
|
-
import type { SynInputEvent } from '@synergy-design-system/components';
|
|
4
|
-
import type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
5
|
-
import type { SynRadioGroup } from '@synergy-design-system/components';
|
|
1
|
+
import { SynChangeEvent, SynInputEvent, SynInvalidEvent, SynRadioGroup } from '@synergy-design-system/components';
|
|
6
2
|
export type { SynChangeEvent } from '@synergy-design-system/components';
|
|
7
3
|
export type { SynInputEvent } 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
|
/**
|
|
11
7
|
* The radio group's label.
|
|
12
8
|
* Required for proper accessibility.
|
|
@@ -49,13 +45,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
49
45
|
*/
|
|
50
46
|
modelValue?: SynRadioGroup["value"];
|
|
51
47
|
}, {
|
|
52
|
-
nativeElement: import(
|
|
53
|
-
}, {}, {}, {}, import(
|
|
48
|
+
nativeElement: import('vue').Ref<SynRadioGroup | undefined, SynRadioGroup | undefined>;
|
|
49
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
50
|
+
"syn-invalid": (e: SynInvalidEvent) => any;
|
|
54
51
|
"syn-change": (e: SynChangeEvent) => any;
|
|
55
52
|
"syn-input": (e: SynInputEvent) => any;
|
|
56
|
-
"syn-invalid": (e: SynInvalidEvent) => any;
|
|
57
53
|
"update:modelValue": (newValue: string) => any;
|
|
58
|
-
}, string, import(
|
|
54
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
59
55
|
/**
|
|
60
56
|
* The radio group's label.
|
|
61
57
|
* Required for proper accessibility.
|
|
@@ -98,11 +94,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
98
94
|
*/
|
|
99
95
|
modelValue?: SynRadioGroup["value"];
|
|
100
96
|
}> & Readonly<{
|
|
97
|
+
"onSyn-invalid"?: ((e: SynInvalidEvent) => any) | undefined;
|
|
101
98
|
"onSyn-change"?: ((e: SynChangeEvent) => any) | undefined;
|
|
102
99
|
"onSyn-input"?: ((e: SynInputEvent) => any) | undefined;
|
|
103
|
-
"onSyn-invalid"?: ((e: SynInvalidEvent) => any) | undefined;
|
|
104
100
|
"onUpdate:modelValue"?: ((newValue: string) => any) | undefined;
|
|
105
|
-
}>, {}, {}, {}, {}, string, import(
|
|
101
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
106
102
|
default?(_: {}): any;
|
|
107
103
|
}>;
|
|
108
104
|
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import "@synergy-design-system/components/components/radio-group/radio-group.js";
|
|
3
|
+
const _hoisted_1 = ["value"];
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "SynVueRadioGroup",
|
|
6
|
+
props: {
|
|
7
|
+
label: {},
|
|
8
|
+
helpText: {},
|
|
9
|
+
name: {},
|
|
10
|
+
value: {},
|
|
11
|
+
size: {},
|
|
12
|
+
form: {},
|
|
13
|
+
required: {},
|
|
14
|
+
modelValue: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["syn-change", "syn-input", "syn-invalid", "update:modelValue"],
|
|
17
|
+
setup(__props, { expose: __expose }) {
|
|
18
|
+
const nativeElement = ref();
|
|
19
|
+
__expose({
|
|
20
|
+
nativeElement
|
|
21
|
+
});
|
|
22
|
+
const props = __props;
|
|
23
|
+
const visibleProps = computed(
|
|
24
|
+
() => Object.fromEntries(
|
|
25
|
+
Object.entries(props).filter(([, value]) => typeof value !== "undefined")
|
|
26
|
+
)
|
|
27
|
+
);
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return openBlock(), createElementBlock("syn-radio-group", mergeProps({
|
|
30
|
+
onSynChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-change", $event)),
|
|
31
|
+
onSynInput: _cache[1] || (_cache[1] = ($event) => {
|
|
32
|
+
_ctx.$emit("update:modelValue", $event.target.value);
|
|
33
|
+
_ctx.$emit("syn-input", $event);
|
|
34
|
+
}),
|
|
35
|
+
onSynInvalid: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("syn-invalid", $event)),
|
|
36
|
+
value: typeof props.modelValue !== "undefined" ? props.modelValue : typeof props.value !== "undefined" ? props.value : void 0
|
|
37
|
+
}, visibleProps.value, {
|
|
38
|
+
ref_key: "nativeElement",
|
|
39
|
+
ref: nativeElement
|
|
40
|
+
}), [
|
|
41
|
+
renderSlot(_ctx.$slots, "default")
|
|
42
|
+
], 16, _hoisted_1);
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
export {
|
|
47
|
+
_sfc_main as default
|
|
48
|
+
};
|