sit-onyx 1.3.0-dev-20251027142308 → 1.3.0-dev-20251027202432
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/OnyxPagination/OnyxInlinePagination.d.vue.ts +9 -0
- package/dist/components/OnyxPagination/types.d.ts +6 -0
- package/dist/i18n/locales/de-DE.json +2 -0
- package/dist/i18n/locales/en-US.json +2 -0
- package/dist/i18n/locales/en-US.json.d.ts +2 -0
- package/dist/index.esm-bundler.js +487 -328
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +2139 -2020
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -49,7 +49,7 @@ const useVModel = (options) => {
|
|
|
49
49
|
};
|
|
50
50
|
const ACCORDION_INJECTION_KEY = Symbol();
|
|
51
51
|
const ACCORDION_TYPES = ["default", "nested-large", "nested-small", "card"];
|
|
52
|
-
const _sfc_main$
|
|
52
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
53
53
|
__name: "OnyxAccordion",
|
|
54
54
|
props: {
|
|
55
55
|
density: { type: null, required: false },
|
|
@@ -119,7 +119,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
119
119
|
}
|
|
120
120
|
return target;
|
|
121
121
|
};
|
|
122
|
-
function _sfc_render$
|
|
122
|
+
function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
123
123
|
return openBlock(), createElementBlock(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
@@ -137,7 +137,7 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
137
137
|
/* CLASS */
|
|
138
138
|
);
|
|
139
139
|
}
|
|
140
|
-
const OnyxAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
140
|
+
const OnyxAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAccordion/OnyxAccordion.vue"]]);
|
|
141
141
|
const ONYX_BREAKPOINTS = {
|
|
142
142
|
"2xs": 320,
|
|
143
143
|
xs: 577,
|
|
@@ -150,7 +150,7 @@ const ONYX_BREAKPOINTS = {
|
|
|
150
150
|
md: ONYX_BREAKPOINTS.lg - 1,
|
|
151
151
|
lg: ONYX_BREAKPOINTS.xl - 1
|
|
152
152
|
});
|
|
153
|
-
const _sfc_main$
|
|
153
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
154
154
|
__name: "OnyxIcon",
|
|
155
155
|
props: {
|
|
156
156
|
size: { type: null, required: false },
|
|
@@ -166,8 +166,8 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
return __returned__;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
const _hoisted_1$
|
|
170
|
-
function _sfc_render$
|
|
169
|
+
const _hoisted_1$1b = ["innerHTML"];
|
|
170
|
+
function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
171
171
|
return openBlock(), createElementBlock("figure", {
|
|
172
172
|
class: normalizeClass({
|
|
173
173
|
"onyx-component": true,
|
|
@@ -178,9 +178,9 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
178
178
|
}),
|
|
179
179
|
"aria-hidden": "true",
|
|
180
180
|
innerHTML: $setup.props.icon
|
|
181
|
-
}, null, 10, _hoisted_1$
|
|
181
|
+
}, null, 10, _hoisted_1$1b);
|
|
182
182
|
}
|
|
183
|
-
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
183
|
+
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIcon/OnyxIcon.vue"]]);
|
|
184
184
|
const isAlreadyTriggered = /* @__PURE__ */ new Set();
|
|
185
185
|
const IDLE_TIMEOUT = 200;
|
|
186
186
|
const onIdleCallback = globalThis.window && "requestIdleCallback" in globalThis.window ? globalThis.window.requestIdleCallback : (cb, _) => setTimeout(cb, 0);
|
|
@@ -196,7 +196,7 @@ const requestAnimationSync = (animationName) => {
|
|
|
196
196
|
isAlreadyTriggered.add(animationName);
|
|
197
197
|
onIdleCallback(() => syncAnimations(animationName), { timeout: IDLE_TIMEOUT });
|
|
198
198
|
};
|
|
199
|
-
const _sfc_main$
|
|
199
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
200
200
|
__name: "OnyxSkeleton",
|
|
201
201
|
setup(__props, { expose: __expose }) {
|
|
202
202
|
__expose();
|
|
@@ -206,15 +206,15 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return __returned__;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
const _hoisted_1$
|
|
209
|
+
const _hoisted_1$1a = {
|
|
210
210
|
"aria-hidden": "true",
|
|
211
211
|
class: "onyx-component onyx-skeleton"
|
|
212
212
|
};
|
|
213
|
-
function _sfc_render$
|
|
214
|
-
return openBlock(), createElementBlock("figure", _hoisted_1$
|
|
213
|
+
function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
214
|
+
return openBlock(), createElementBlock("figure", _hoisted_1$1a);
|
|
215
215
|
}
|
|
216
|
-
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
217
|
-
const _sfc_main$
|
|
216
|
+
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSkeleton/OnyxSkeleton.vue"]]);
|
|
217
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
218
218
|
__name: "OnyxAccordionItem",
|
|
219
219
|
props: {
|
|
220
220
|
density: { type: null, required: false },
|
|
@@ -251,11 +251,11 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
return __returned__;
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
const _hoisted_1$
|
|
255
|
-
const _hoisted_2$
|
|
256
|
-
const _hoisted_3$
|
|
257
|
-
const _hoisted_4$
|
|
258
|
-
function _sfc_render$
|
|
254
|
+
const _hoisted_1$19 = ["open"];
|
|
255
|
+
const _hoisted_2$Q = ["id", "tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
256
|
+
const _hoisted_3$z = { class: "onyx-accordion-item__header-content" };
|
|
257
|
+
const _hoisted_4$n = ["id", "aria-labelledby"];
|
|
258
|
+
function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
259
259
|
return $setup.showSkeleton ? (openBlock(), createBlock(resolveDynamicComponent($setup.type === "card" ? $setup.OnyxSkeleton : "div"), {
|
|
260
260
|
key: 0,
|
|
261
261
|
class: normalizeClass([
|
|
@@ -291,14 +291,14 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
291
|
"aria-disabled": $setup.isDisabled,
|
|
292
292
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $setup.isOpen = !$setup.isOpen, ["prevent"]))
|
|
293
293
|
}, [
|
|
294
|
-
createElementVNode("div", _hoisted_3$
|
|
294
|
+
createElementVNode("div", _hoisted_3$z, [
|
|
295
295
|
renderSlot(_ctx.$slots, "header")
|
|
296
296
|
]),
|
|
297
297
|
createVNode($setup["OnyxIcon"], {
|
|
298
298
|
icon: $setup.iconChevronDownSmall,
|
|
299
299
|
class: "onyx-accordion-item__header-icon"
|
|
300
300
|
}, null, 8, ["icon"])
|
|
301
|
-
], 8, _hoisted_2$
|
|
301
|
+
], 8, _hoisted_2$Q),
|
|
302
302
|
createElementVNode("div", {
|
|
303
303
|
id: $setup.panelId,
|
|
304
304
|
class: "onyx-accordion-item__panel",
|
|
@@ -306,10 +306,10 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
306
306
|
"aria-labelledby": $setup.headerId
|
|
307
307
|
}, [
|
|
308
308
|
renderSlot(_ctx.$slots, "default")
|
|
309
|
-
], 8, _hoisted_4$
|
|
310
|
-
], 10, _hoisted_1$
|
|
309
|
+
], 8, _hoisted_4$n)
|
|
310
|
+
], 10, _hoisted_1$19));
|
|
311
311
|
}
|
|
312
|
-
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
312
|
+
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAccordionItem/OnyxAccordionItem.vue"]]);
|
|
313
313
|
const DATETIME_FORMATS = {
|
|
314
314
|
date: { dateStyle: "medium" },
|
|
315
315
|
"datetime-local": { dateStyle: "medium", timeStyle: "short" },
|
|
@@ -344,7 +344,7 @@ const navItemOptionsLabel = "Subpages of {label}";
|
|
|
344
344
|
const navigation = { "appLogo": "App logo of {appName}", "goToHome": "Go to home page", "goBack": "Go back", "moreNavItems": "+{n} More", "moreNavItemsLabel": "More Items", "showMoreNavItemsLabel": "Show more items", "userMenuLabel": "User options", "toggleBurgerMenu": "Toggle burger menu", "toggleContextMenu": "Toggle context menu", "navigationHeadline": "Navigation", "moreActionsFlyout": 'Choose an action for the column "{column}"', "moreActionsTrigger": "Toggle column actions" };
|
|
345
345
|
const tooltip = { "neutral": "Toggle info tooltip", "danger": "Toggle error tooltip", "success": "Toggle success tooltip" };
|
|
346
346
|
const colorScheme = { "headline": "Change appearance", "subtitle": "Select the appearance of the application:", "appearance": "Appearance", "auto": { "label": "Auto", "description": "The application automatically adapts its appearance to your system settings." }, "light": { "label": "Light", "description": "Light mode provides optimal contrast for bright environments." }, "dark": { "label": "Dark", "description": "This color mode is optimized for darker environments." } };
|
|
347
|
-
const pagination = { "label": "Pagination", "ofPages": "of {pages} page | of {pages} pages", "previous": "previous page", "next": "next page", "select": { "label": "Page selection", "listLabel": "Available pages" } };
|
|
347
|
+
const pagination = { "label": "Pagination", "ofPages": "of {pages} page | of {pages} pages", "previous": "previous page", "next": "next page", "buttonLabel": "Page {page}", "morePages": "More pages in between", "select": { "label": "Page selection", "listLabel": "Available pages" } };
|
|
348
348
|
const input = { "clear": "Clear input", "showPassword": "Show Password", "hidePassword": "Hide Password" };
|
|
349
349
|
const dialog = { "close": "Close dialog" };
|
|
350
350
|
const headline = { "copyLink": "Copy link to this headline", "copyLinkTo": "Copy link to headline:" };
|
|
@@ -1542,7 +1542,7 @@ const createTooltip = createBuilder(({ debounce: debounce2, isVisible }) => {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
};
|
|
1544
1544
|
});
|
|
1545
|
-
const _sfc_main$
|
|
1545
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
1546
1546
|
__name: "OnyxBasicDialog",
|
|
1547
1547
|
props: {
|
|
1548
1548
|
density: { type: null, required: false },
|
|
@@ -1598,12 +1598,12 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
1598
1598
|
return __returned__;
|
|
1599
1599
|
}
|
|
1600
1600
|
});
|
|
1601
|
-
const _hoisted_1$
|
|
1602
|
-
const _hoisted_2$
|
|
1601
|
+
const _hoisted_1$18 = ["aria-modal", "aria-label", "role"];
|
|
1602
|
+
const _hoisted_2$P = {
|
|
1603
1603
|
ref: "contentRef",
|
|
1604
1604
|
class: "onyx-basic-dialog__content"
|
|
1605
1605
|
};
|
|
1606
|
-
function _sfc_render$
|
|
1606
|
+
function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1607
1607
|
return $setup.props.open ? (openBlock(), createElementBlock("dialog", {
|
|
1608
1608
|
key: 0,
|
|
1609
1609
|
ref: "dialogRef",
|
|
@@ -1622,16 +1622,16 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1622
1622
|
}, [
|
|
1623
1623
|
createElementVNode(
|
|
1624
1624
|
"div",
|
|
1625
|
-
_hoisted_2$
|
|
1625
|
+
_hoisted_2$P,
|
|
1626
1626
|
[
|
|
1627
1627
|
renderSlot(_ctx.$slots, "default")
|
|
1628
1628
|
],
|
|
1629
1629
|
512
|
|
1630
1630
|
/* NEED_PATCH */
|
|
1631
1631
|
)
|
|
1632
|
-
], 42, _hoisted_1$
|
|
1632
|
+
], 42, _hoisted_1$18)) : createCommentVNode("v-if", true);
|
|
1633
1633
|
}
|
|
1634
|
-
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1634
|
+
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicDialog/OnyxBasicDialog.vue"]]);
|
|
1635
1635
|
const normalizedIncludes = (haystack, needle) => {
|
|
1636
1636
|
const haystackNormalized = removeDiacritics(haystack.toLowerCase());
|
|
1637
1637
|
const needleNormalized = removeDiacritics(needle.toLowerCase());
|
|
@@ -1713,7 +1713,7 @@ const normalizeHref = (href) => {
|
|
|
1713
1713
|
return value.replace(/\/+$/, "");
|
|
1714
1714
|
};
|
|
1715
1715
|
const ROUTER_INJECTION_KEY = Symbol();
|
|
1716
|
-
const _sfc_main$
|
|
1716
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
1717
1717
|
__name: "OnyxVisuallyHidden",
|
|
1718
1718
|
props: {
|
|
1719
1719
|
is: { type: String, required: false, default: "span" }
|
|
@@ -1726,7 +1726,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
1726
1726
|
return __returned__;
|
|
1727
1727
|
}
|
|
1728
1728
|
});
|
|
1729
|
-
function _sfc_render$
|
|
1729
|
+
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1730
1730
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.is), { class: "onyx-component onyx-visually-hidden" }, {
|
|
1731
1731
|
default: withCtx(() => [
|
|
1732
1732
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -1735,8 +1735,8 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1735
1735
|
/* FORWARDED */
|
|
1736
1736
|
});
|
|
1737
1737
|
}
|
|
1738
|
-
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1739
|
-
const _sfc_main$
|
|
1738
|
+
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue"]]);
|
|
1739
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
1740
1740
|
__name: "OnyxRouterLink",
|
|
1741
1741
|
props: {
|
|
1742
1742
|
href: { type: String, required: true },
|
|
@@ -1752,8 +1752,8 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
1752
1752
|
return __returned__;
|
|
1753
1753
|
}
|
|
1754
1754
|
});
|
|
1755
|
-
const _hoisted_1$
|
|
1756
|
-
function _sfc_render$
|
|
1755
|
+
const _hoisted_1$17 = ["href", "target", "rel"];
|
|
1756
|
+
function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1757
1757
|
return openBlock(), createElementBlock("a", {
|
|
1758
1758
|
class: normalizeClass([
|
|
1759
1759
|
"onyx-component",
|
|
@@ -1777,10 +1777,10 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1777
1777
|
_: 1
|
|
1778
1778
|
/* STABLE */
|
|
1779
1779
|
})) : createCommentVNode("v-if", true)
|
|
1780
|
-
], 10, _hoisted_1$
|
|
1780
|
+
], 10, _hoisted_1$17);
|
|
1781
1781
|
}
|
|
1782
|
-
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1783
|
-
const _sfc_main$
|
|
1782
|
+
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRouterLink/OnyxRouterLink.vue"]]);
|
|
1783
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
1784
1784
|
__name: "OnyxHeadline",
|
|
1785
1785
|
props: {
|
|
1786
1786
|
is: { type: null, required: true },
|
|
@@ -1805,7 +1805,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
1805
1805
|
return __returned__;
|
|
1806
1806
|
}
|
|
1807
1807
|
});
|
|
1808
|
-
function _sfc_render$
|
|
1808
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1809
1809
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
1810
1810
|
key: 0,
|
|
1811
1811
|
class: normalizeClass(["onyx-headline-skeleton", `onyx-headline-skeleton--${$setup.showAs}`])
|
|
@@ -1845,7 +1845,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1845
1845
|
/* FORWARDED */
|
|
1846
1846
|
}, 8, ["id", "class"]));
|
|
1847
1847
|
}
|
|
1848
|
-
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1848
|
+
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxHeadline/OnyxHeadline.vue"]]);
|
|
1849
1849
|
const useAutofocus = (inputRef, props) => {
|
|
1850
1850
|
if (!props.autofocus) {
|
|
1851
1851
|
return;
|
|
@@ -1896,7 +1896,7 @@ const useFormContext = (props) => {
|
|
|
1896
1896
|
DEFAULT_FORM_INJECTION_CONTEXT
|
|
1897
1897
|
)(toRef(props));
|
|
1898
1898
|
};
|
|
1899
|
-
const _sfc_main$
|
|
1899
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
1900
1900
|
__name: "ButtonOrLinkLayout",
|
|
1901
1901
|
props: {
|
|
1902
1902
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -1919,8 +1919,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
1919
1919
|
return __returned__;
|
|
1920
1920
|
}
|
|
1921
1921
|
});
|
|
1922
|
-
const _hoisted_1$
|
|
1923
|
-
function _sfc_render$
|
|
1922
|
+
const _hoisted_1$16 = ["disabled", "type", "autofocus"];
|
|
1923
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1924
1924
|
return $setup.linkProps ? (openBlock(), createBlock(
|
|
1925
1925
|
$setup["OnyxRouterLink"],
|
|
1926
1926
|
normalizeProps(mergeProps({ key: 0 }, $setup.linkProps)),
|
|
@@ -1941,10 +1941,10 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1941
1941
|
autofocus: $setup.props.autofocus
|
|
1942
1942
|
}, [
|
|
1943
1943
|
renderSlot(_ctx.$slots, "default")
|
|
1944
|
-
], 8, _hoisted_1$
|
|
1944
|
+
], 8, _hoisted_1$16));
|
|
1945
1945
|
}
|
|
1946
|
-
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1947
|
-
const _sfc_main$
|
|
1946
|
+
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/ButtonOrLinkLayout.vue"]]);
|
|
1947
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
1948
1948
|
__name: "OnyxSystemButton",
|
|
1949
1949
|
props: {
|
|
1950
1950
|
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
@@ -1965,7 +1965,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
1965
1965
|
return __returned__;
|
|
1966
1966
|
}
|
|
1967
1967
|
});
|
|
1968
|
-
function _sfc_render$
|
|
1968
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1969
1969
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
1970
1970
|
key: 0,
|
|
1971
1971
|
class: normalizeClass(["onyx-system-button-skeleton", $setup.props.icon ? "" : "onyx-system-button-skeleton--text"])
|
|
@@ -1997,8 +1997,8 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1997
1997
|
/* STABLE */
|
|
1998
1998
|
}, 16, ["class", "aria-label", "title"]));
|
|
1999
1999
|
}
|
|
2000
|
-
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2001
|
-
const _sfc_main$
|
|
2000
|
+
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSystemButton/OnyxSystemButton.vue"]]);
|
|
2001
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
2002
2002
|
__name: "OnyxAlertModal",
|
|
2003
2003
|
props: {
|
|
2004
2004
|
density: { type: null, required: false },
|
|
@@ -2023,11 +2023,11 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
2023
2023
|
return __returned__;
|
|
2024
2024
|
}
|
|
2025
2025
|
});
|
|
2026
|
-
const _hoisted_1$
|
|
2027
|
-
const _hoisted_2$
|
|
2028
|
-
const _hoisted_3$
|
|
2029
|
-
const _hoisted_4$
|
|
2030
|
-
function _sfc_render$
|
|
2026
|
+
const _hoisted_1$15 = { class: "onyx-alert-modal__content" };
|
|
2027
|
+
const _hoisted_2$O = { class: "onyx-alert-modal__headline" };
|
|
2028
|
+
const _hoisted_3$y = ["id"];
|
|
2029
|
+
const _hoisted_4$m = { class: "onyx-alert-modal__actions" };
|
|
2030
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2031
2031
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps({
|
|
2032
2032
|
class: ["onyx-alert-modal", $setup.densityClass]
|
|
2033
2033
|
}, $setup.dialogProps, {
|
|
@@ -2037,7 +2037,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2037
2037
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
2038
2038
|
}), {
|
|
2039
2039
|
default: withCtx(() => [
|
|
2040
|
-
createElementVNode("div", _hoisted_1$
|
|
2040
|
+
createElementVNode("div", _hoisted_1$15, [
|
|
2041
2041
|
$setup.props.icon ? (openBlock(), createBlock(
|
|
2042
2042
|
$setup["OnyxIcon"],
|
|
2043
2043
|
mergeProps({
|
|
@@ -2049,7 +2049,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2049
2049
|
/* FULL_PROPS */
|
|
2050
2050
|
)) : createCommentVNode("v-if", true),
|
|
2051
2051
|
createElementVNode("div", null, [
|
|
2052
|
-
createElementVNode("div", _hoisted_2$
|
|
2052
|
+
createElementVNode("div", _hoisted_2$O, [
|
|
2053
2053
|
renderSlot(_ctx.$slots, "headline", {
|
|
2054
2054
|
label: $setup.props.label
|
|
2055
2055
|
}, () => [
|
|
@@ -2077,10 +2077,10 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2077
2077
|
class: "onyx-alert-modal__body onyx-truncation"
|
|
2078
2078
|
}, [
|
|
2079
2079
|
renderSlot(_ctx.$slots, "default")
|
|
2080
|
-
], 8, _hoisted_3$
|
|
2080
|
+
], 8, _hoisted_3$y)
|
|
2081
2081
|
])
|
|
2082
2082
|
]),
|
|
2083
|
-
createElementVNode("div", _hoisted_4$
|
|
2083
|
+
createElementVNode("div", _hoisted_4$m, [
|
|
2084
2084
|
renderSlot(_ctx.$slots, "actions")
|
|
2085
2085
|
])
|
|
2086
2086
|
]),
|
|
@@ -2088,7 +2088,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2088
2088
|
/* FORWARDED */
|
|
2089
2089
|
}, 16, ["class", "aria-describedby"]);
|
|
2090
2090
|
}
|
|
2091
|
-
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2091
|
+
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAlertModal/OnyxAlertModal.vue"]]);
|
|
2092
2092
|
const useRootAttrs = () => {
|
|
2093
2093
|
const attrs = useAttrs();
|
|
2094
2094
|
const rootAttrs = computed(
|
|
@@ -2170,7 +2170,7 @@ const mergeVueProps = (...args) => args.reduce((prev, curr) => {
|
|
|
2170
2170
|
merged.ref = mergedRef;
|
|
2171
2171
|
return merged;
|
|
2172
2172
|
}, {});
|
|
2173
|
-
const _sfc_main$
|
|
2173
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
2174
2174
|
__name: "OnyxFABButton",
|
|
2175
2175
|
props: {
|
|
2176
2176
|
density: { type: null, required: false },
|
|
@@ -2190,11 +2190,11 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
2190
2190
|
return __returned__;
|
|
2191
2191
|
}
|
|
2192
2192
|
});
|
|
2193
|
-
const _hoisted_1$
|
|
2193
|
+
const _hoisted_1$14 = {
|
|
2194
2194
|
key: 1,
|
|
2195
2195
|
class: "onyx-fab-button__label"
|
|
2196
2196
|
};
|
|
2197
|
-
function _sfc_render$
|
|
2197
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2198
2198
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2199
2199
|
key: 0,
|
|
2200
2200
|
class: normalizeClass(["onyx-fab-button-skeleton", $setup.densityClass])
|
|
@@ -2212,7 +2212,7 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2212
2212
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
2213
2213
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
2214
2214
|
"span",
|
|
2215
|
-
_hoisted_1$
|
|
2215
|
+
_hoisted_1$14,
|
|
2216
2216
|
toDisplayString($setup.props.label),
|
|
2217
2217
|
1
|
|
2218
2218
|
/* TEXT */
|
|
@@ -2222,7 +2222,7 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2222
2222
|
/* STABLE */
|
|
2223
2223
|
}, 8, ["class", "title", "aria-label", "link"]));
|
|
2224
2224
|
}
|
|
2225
|
-
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2225
|
+
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABButton/OnyxFABButton.vue"]]);
|
|
2226
2226
|
const useResizeObserver = (target, options) => {
|
|
2227
2227
|
const box = options?.box ?? "content-box";
|
|
2228
2228
|
const width = ref(0);
|
|
@@ -2534,7 +2534,7 @@ function useSticky(options) {
|
|
|
2534
2534
|
});
|
|
2535
2535
|
return { stickyStyles, scrolledOut, isSticky, checkVisibilityOnScroll };
|
|
2536
2536
|
}
|
|
2537
|
-
const _sfc_main$
|
|
2537
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
2538
2538
|
__name: "OnyxBasicPopover",
|
|
2539
2539
|
props: {
|
|
2540
2540
|
label: { type: String, required: true },
|
|
@@ -2692,8 +2692,8 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
2692
2692
|
return __returned__;
|
|
2693
2693
|
}
|
|
2694
2694
|
});
|
|
2695
|
-
const _hoisted_1$
|
|
2696
|
-
function _sfc_render$
|
|
2695
|
+
const _hoisted_1$13 = ["role", "aria-label"];
|
|
2696
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2697
2697
|
return openBlock(), createElementBlock(
|
|
2698
2698
|
"div",
|
|
2699
2699
|
{
|
|
@@ -2712,14 +2712,14 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2712
2712
|
style: normalizeStyle(!$setup.isSticky ? $setup.popoverStyles : $setup.stickyStyles)
|
|
2713
2713
|
}, [
|
|
2714
2714
|
renderSlot(_ctx.$slots, "content")
|
|
2715
|
-
], 14, _hoisted_1$
|
|
2715
|
+
], 14, _hoisted_1$13)
|
|
2716
2716
|
],
|
|
2717
2717
|
4
|
|
2718
2718
|
/* STYLE */
|
|
2719
2719
|
);
|
|
2720
2720
|
}
|
|
2721
|
-
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2722
|
-
const _sfc_main$
|
|
2721
|
+
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicPopover/OnyxBasicPopover.vue"]]);
|
|
2722
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
2723
2723
|
__name: "OnyxFlyoutMenu",
|
|
2724
2724
|
props: {
|
|
2725
2725
|
alignment: { type: String, required: false, default: "auto" },
|
|
@@ -2761,9 +2761,9 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
2761
2761
|
return __returned__;
|
|
2762
2762
|
}
|
|
2763
2763
|
});
|
|
2764
|
-
const _hoisted_1$
|
|
2765
|
-
const _hoisted_2$
|
|
2766
|
-
function _sfc_render$
|
|
2764
|
+
const _hoisted_1$12 = { class: "onyx-flyout-menu__list-header" };
|
|
2765
|
+
const _hoisted_2$N = { class: "onyx-flyout-menu__list-footer" };
|
|
2766
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2767
2767
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.mergeVueProps($setup.root, { ref: $setup.popover }), {
|
|
2768
2768
|
class: "onyx-component onyx-flyout-menu",
|
|
2769
2769
|
open: $setup.isExpanded,
|
|
@@ -2772,7 +2772,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2772
2772
|
disabled: $props.disabled
|
|
2773
2773
|
}), createSlots({
|
|
2774
2774
|
content: withCtx(() => [
|
|
2775
|
-
createElementVNode("div", _hoisted_1$
|
|
2775
|
+
createElementVNode("div", _hoisted_1$12, [
|
|
2776
2776
|
renderSlot(_ctx.$slots, "header")
|
|
2777
2777
|
]),
|
|
2778
2778
|
$setup.slots.options ? (openBlock(), createElementBlock(
|
|
@@ -2784,7 +2784,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2784
2784
|
16
|
|
2785
2785
|
/* FULL_PROPS */
|
|
2786
2786
|
)) : createCommentVNode("v-if", true),
|
|
2787
|
-
createElementVNode("div", _hoisted_2$
|
|
2787
|
+
createElementVNode("div", _hoisted_2$N, [
|
|
2788
2788
|
renderSlot(_ctx.$slots, "footer")
|
|
2789
2789
|
])
|
|
2790
2790
|
]),
|
|
@@ -2805,8 +2805,8 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2805
2805
|
} : void 0
|
|
2806
2806
|
]), 1040, ["open", "label", "alignment", "disabled"]);
|
|
2807
2807
|
}
|
|
2808
|
-
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2809
|
-
const _sfc_main$
|
|
2808
|
+
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue"]]);
|
|
2809
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
2810
2810
|
__name: "OnyxFAB",
|
|
2811
2811
|
props: {
|
|
2812
2812
|
density: { type: null, required: false },
|
|
@@ -2845,7 +2845,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
2845
2845
|
return __returned__;
|
|
2846
2846
|
}
|
|
2847
2847
|
});
|
|
2848
|
-
function _sfc_render$
|
|
2848
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2849
2849
|
return !$setup.hasOptions || $setup.skeleton ? (openBlock(), createBlock($setup["OnyxFABButton"], mergeProps({
|
|
2850
2850
|
key: 0,
|
|
2851
2851
|
class: ["onyx-fab", `onyx-fab--${$setup.props.alignment}`]
|
|
@@ -2875,8 +2875,8 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2875
2875
|
/* FORWARDED */
|
|
2876
2876
|
}, 8, ["open", "label", "class", "alignment"]));
|
|
2877
2877
|
}
|
|
2878
|
-
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2879
|
-
const _sfc_main$
|
|
2878
|
+
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFAB/OnyxFAB.vue"]]);
|
|
2879
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
2880
2880
|
__name: "OnyxFABItem",
|
|
2881
2881
|
props: {
|
|
2882
2882
|
density: { type: null, required: false },
|
|
@@ -2899,7 +2899,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
2899
2899
|
return __returned__;
|
|
2900
2900
|
}
|
|
2901
2901
|
});
|
|
2902
|
-
function _sfc_render$
|
|
2902
|
+
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2903
2903
|
return openBlock(), createElementBlock(
|
|
2904
2904
|
"li",
|
|
2905
2905
|
mergeProps({
|
|
@@ -2914,7 +2914,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2914
2914
|
/* FULL_PROPS */
|
|
2915
2915
|
);
|
|
2916
2916
|
}
|
|
2917
|
-
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2917
|
+
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABItem/OnyxFABItem.vue"]]);
|
|
2918
2918
|
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = Symbol();
|
|
2919
2919
|
const createGlobalFABProvider = () => {
|
|
2920
2920
|
const items = shallowRef([]);
|
|
@@ -2951,7 +2951,7 @@ const useGlobalFAB = () => {
|
|
|
2951
2951
|
);
|
|
2952
2952
|
return globalFABProvider;
|
|
2953
2953
|
};
|
|
2954
|
-
const _sfc_main$
|
|
2954
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
2955
2955
|
__name: "OnyxGlobalFAB",
|
|
2956
2956
|
setup(__props, { expose: __expose }) {
|
|
2957
2957
|
__expose();
|
|
@@ -2965,7 +2965,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
2965
2965
|
return __returned__;
|
|
2966
2966
|
}
|
|
2967
2967
|
});
|
|
2968
|
-
function _sfc_render$
|
|
2968
|
+
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2969
2969
|
return $setup.globalFAB.items.value.length === 1 ? (openBlock(), createBlock(
|
|
2970
2970
|
$setup["OnyxFAB"],
|
|
2971
2971
|
normalizeProps(mergeProps({ key: 0 }, $setup.globalFAB.items.value[0].value)),
|
|
@@ -3000,14 +3000,14 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3000
3000
|
/* STABLE */
|
|
3001
3001
|
}, 8, ["label", "alignment"])) : createCommentVNode("v-if", true);
|
|
3002
3002
|
}
|
|
3003
|
-
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3004
|
-
const _sfc_main$
|
|
3005
|
-
const _hoisted_1$
|
|
3003
|
+
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalFAB/OnyxGlobalFAB.vue"]]);
|
|
3004
|
+
const _sfc_main$1p = {};
|
|
3005
|
+
const _hoisted_1$11 = {
|
|
3006
3006
|
class: "onyx-component onyx-circle-spinner",
|
|
3007
3007
|
viewBox: "0 0 50 50"
|
|
3008
3008
|
};
|
|
3009
|
-
function _sfc_render$
|
|
3010
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3009
|
+
function _sfc_render$1p(_ctx, _cache) {
|
|
3010
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$11, [..._cache[0] || (_cache[0] = [
|
|
3011
3011
|
createElementVNode(
|
|
3012
3012
|
"circle",
|
|
3013
3013
|
{
|
|
@@ -3022,11 +3022,11 @@ function _sfc_render$1o(_ctx, _cache) {
|
|
|
3022
3022
|
)
|
|
3023
3023
|
])]);
|
|
3024
3024
|
}
|
|
3025
|
-
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3026
|
-
const _sfc_main$
|
|
3027
|
-
const _hoisted_1
|
|
3028
|
-
function _sfc_render$
|
|
3029
|
-
return openBlock(), createElementBlock("div", _hoisted_1
|
|
3025
|
+
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue"]]);
|
|
3026
|
+
const _sfc_main$1o = {};
|
|
3027
|
+
const _hoisted_1$10 = { class: "onyx-component onyx-loading-dots" };
|
|
3028
|
+
function _sfc_render$1o(_ctx, _cache) {
|
|
3029
|
+
return openBlock(), createElementBlock("div", _hoisted_1$10, [..._cache[0] || (_cache[0] = [
|
|
3030
3030
|
createElementVNode(
|
|
3031
3031
|
"span",
|
|
3032
3032
|
{ class: "onyx-loading-dots__center" },
|
|
@@ -3036,8 +3036,8 @@ function _sfc_render$1n(_ctx, _cache) {
|
|
|
3036
3036
|
)
|
|
3037
3037
|
])]);
|
|
3038
3038
|
}
|
|
3039
|
-
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3040
|
-
const _sfc_main$
|
|
3039
|
+
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingDots.vue"]]);
|
|
3040
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
3041
3041
|
__name: "OnyxLoadingIndicator",
|
|
3042
3042
|
props: {
|
|
3043
3043
|
type: { type: String, required: false, default: "dots" }
|
|
@@ -3050,10 +3050,10 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
3050
3050
|
return __returned__;
|
|
3051
3051
|
}
|
|
3052
3052
|
});
|
|
3053
|
-
function _sfc_render$
|
|
3053
|
+
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3054
3054
|
return $setup.props.type === "circle" ? (openBlock(), createBlock($setup["OnyxCircleSpinner"], { key: 0 })) : $setup.props.type === "dots" ? (openBlock(), createBlock($setup["OnyxLoadingDots"], { key: 1 })) : createCommentVNode("v-if", true);
|
|
3055
3055
|
}
|
|
3056
|
-
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3056
|
+
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue"]]);
|
|
3057
3057
|
const useRipple = (container) => {
|
|
3058
3058
|
const isPointerDown = ref(false);
|
|
3059
3059
|
const ripples = reactive(/* @__PURE__ */ new Map());
|
|
@@ -3100,7 +3100,7 @@ const useRipple = (container) => {
|
|
|
3100
3100
|
});
|
|
3101
3101
|
return { isPointerDown, ripples, startRipple, hideRipples, hideRipple, events };
|
|
3102
3102
|
};
|
|
3103
|
-
const _sfc_main$
|
|
3103
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
3104
3104
|
__name: "OnyxRipple",
|
|
3105
3105
|
setup(__props, { expose: __expose }) {
|
|
3106
3106
|
const rippleTrigger = useTemplateRef("rippleTriggerRef");
|
|
@@ -3113,16 +3113,16 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
3113
3113
|
return __returned__;
|
|
3114
3114
|
}
|
|
3115
3115
|
});
|
|
3116
|
-
const _hoisted_1
|
|
3116
|
+
const _hoisted_1$$ = {
|
|
3117
3117
|
ref: "rippleTriggerRef",
|
|
3118
3118
|
class: "onyx-component onyx-ripple",
|
|
3119
3119
|
"aria-hidden": "true"
|
|
3120
3120
|
};
|
|
3121
|
-
const _hoisted_2$
|
|
3122
|
-
function _sfc_render$
|
|
3121
|
+
const _hoisted_2$M = ["data-rippleid"];
|
|
3122
|
+
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3123
3123
|
return openBlock(), createElementBlock(
|
|
3124
3124
|
"span",
|
|
3125
|
-
_hoisted_1
|
|
3125
|
+
_hoisted_1$$,
|
|
3126
3126
|
[
|
|
3127
3127
|
(openBlock(true), createElementBlock(
|
|
3128
3128
|
Fragment,
|
|
@@ -3137,7 +3137,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3137
3137
|
}),
|
|
3138
3138
|
"data-rippleid": key,
|
|
3139
3139
|
onAnimationend: _cache[0] || (_cache[0] = ($event) => $setup.hideRipple($event.target))
|
|
3140
|
-
}, null, 44, _hoisted_2$
|
|
3140
|
+
}, null, 44, _hoisted_2$M);
|
|
3141
3141
|
}),
|
|
3142
3142
|
128
|
|
3143
3143
|
/* KEYED_FRAGMENT */
|
|
@@ -3147,8 +3147,8 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3147
3147
|
/* NEED_PATCH */
|
|
3148
3148
|
);
|
|
3149
3149
|
}
|
|
3150
|
-
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3151
|
-
const _sfc_main$
|
|
3150
|
+
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRipple/OnyxRipple.vue"]]);
|
|
3151
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
3152
3152
|
__name: "OnyxButton",
|
|
3153
3153
|
props: {
|
|
3154
3154
|
density: { type: null, required: false },
|
|
@@ -3178,8 +3178,8 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
3178
3178
|
return __returned__;
|
|
3179
3179
|
}
|
|
3180
3180
|
});
|
|
3181
|
-
const _hoisted_1$
|
|
3182
|
-
function _sfc_render$
|
|
3181
|
+
const _hoisted_1$_ = { class: "onyx-button__label onyx-truncation-ellipsis" };
|
|
3182
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3183
3183
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
3184
3184
|
key: 0,
|
|
3185
3185
|
class: normalizeClass(["onyx-button-skeleton", $setup.densityClass])
|
|
@@ -3216,7 +3216,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3216
3216
|
})) : createCommentVNode("v-if", true),
|
|
3217
3217
|
createElementVNode(
|
|
3218
3218
|
"span",
|
|
3219
|
-
_hoisted_1$
|
|
3219
|
+
_hoisted_1$_,
|
|
3220
3220
|
toDisplayString($setup.props.label),
|
|
3221
3221
|
1
|
|
3222
3222
|
/* TEXT */
|
|
@@ -3231,8 +3231,8 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3231
3231
|
/* STABLE */
|
|
3232
3232
|
}, 16, ["class", "aria-label"]));
|
|
3233
3233
|
}
|
|
3234
|
-
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3235
|
-
const _sfc_main$
|
|
3234
|
+
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/OnyxButton.vue"]]);
|
|
3235
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
3236
3236
|
__name: "OnyxInfoCard",
|
|
3237
3237
|
props: {
|
|
3238
3238
|
density: { type: null, required: false },
|
|
@@ -3259,16 +3259,16 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
3259
3259
|
return __returned__;
|
|
3260
3260
|
}
|
|
3261
3261
|
});
|
|
3262
|
-
const _hoisted_1$
|
|
3263
|
-
const _hoisted_2$
|
|
3262
|
+
const _hoisted_1$Z = { class: "onyx-info-card__content" };
|
|
3263
|
+
const _hoisted_2$L = {
|
|
3264
3264
|
key: 3,
|
|
3265
3265
|
class: "onyx-info-card__description onyx-text--small"
|
|
3266
3266
|
};
|
|
3267
|
-
const _hoisted_3$
|
|
3267
|
+
const _hoisted_3$x = {
|
|
3268
3268
|
key: 4,
|
|
3269
3269
|
class: "onyx-info-card__buttons onyx-density-compact"
|
|
3270
3270
|
};
|
|
3271
|
-
function _sfc_render$
|
|
3271
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3272
3272
|
return openBlock(), createElementBlock(
|
|
3273
3273
|
"div",
|
|
3274
3274
|
{
|
|
@@ -3280,7 +3280,7 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3280
3280
|
class: "onyx-info-card__icon",
|
|
3281
3281
|
icon: $setup.props.icon
|
|
3282
3282
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
3283
|
-
createElementVNode("div", _hoisted_1$
|
|
3283
|
+
createElementVNode("div", _hoisted_1$Z, [
|
|
3284
3284
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
3285
3285
|
key: 0,
|
|
3286
3286
|
is: "h3",
|
|
@@ -3323,10 +3323,10 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3323
3323
|
color: $setup.systemButtonColor,
|
|
3324
3324
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("close"))
|
|
3325
3325
|
}, null, 8, ["icon", "label", "color"])) : createCommentVNode("v-if", true),
|
|
3326
|
-
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
3326
|
+
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$L, [
|
|
3327
3327
|
renderSlot(_ctx.$slots, "default")
|
|
3328
3328
|
])) : createCommentVNode("v-if", true),
|
|
3329
|
-
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3329
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
|
|
3330
3330
|
renderSlot(_ctx.$slots, "buttons")
|
|
3331
3331
|
])) : createCommentVNode("v-if", true)
|
|
3332
3332
|
])
|
|
@@ -3335,8 +3335,8 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3335
3335
|
/* CLASS */
|
|
3336
3336
|
);
|
|
3337
3337
|
}
|
|
3338
|
-
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3339
|
-
const _sfc_main$
|
|
3338
|
+
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoCard/OnyxInfoCard.vue"]]);
|
|
3339
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
3340
3340
|
__name: "OnyxNotificationMessage",
|
|
3341
3341
|
props: {
|
|
3342
3342
|
headline: { type: String, required: true },
|
|
@@ -3354,7 +3354,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
3354
3354
|
return __returned__;
|
|
3355
3355
|
}
|
|
3356
3356
|
});
|
|
3357
|
-
function _sfc_render$
|
|
3357
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3358
3358
|
return openBlock(), createBlock($setup["OnyxInfoCard"], {
|
|
3359
3359
|
class: normalizeClass(["onyx-component onyx-notification-message", [
|
|
3360
3360
|
"onyx-component",
|
|
@@ -3387,7 +3387,7 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3387
3387
|
} : void 0
|
|
3388
3388
|
]), 1032, ["class", "headline", "icon", "style", "aria-label"]);
|
|
3389
3389
|
}
|
|
3390
|
-
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3390
|
+
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationMessage/OnyxNotificationMessage.vue"]]);
|
|
3391
3391
|
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = Symbol();
|
|
3392
3392
|
const createNotificationsProvider = () => {
|
|
3393
3393
|
let nextId = 1;
|
|
@@ -3432,7 +3432,7 @@ const useNotification = () => {
|
|
|
3432
3432
|
);
|
|
3433
3433
|
return notificationsProvider;
|
|
3434
3434
|
};
|
|
3435
|
-
const _sfc_main$
|
|
3435
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
3436
3436
|
__name: "OnyxNotifications",
|
|
3437
3437
|
setup(__props, { expose: __expose }) {
|
|
3438
3438
|
__expose();
|
|
@@ -3442,15 +3442,15 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
3442
3442
|
return __returned__;
|
|
3443
3443
|
}
|
|
3444
3444
|
});
|
|
3445
|
-
const _hoisted_1$
|
|
3445
|
+
const _hoisted_1$Y = {
|
|
3446
3446
|
key: 0,
|
|
3447
3447
|
class: "onyx-component onyx-notifications",
|
|
3448
3448
|
role: "presentation",
|
|
3449
3449
|
"aria-live": "polite",
|
|
3450
3450
|
open: ""
|
|
3451
3451
|
};
|
|
3452
|
-
function _sfc_render$
|
|
3453
|
-
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
3452
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3453
|
+
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$Y, [
|
|
3454
3454
|
(openBlock(true), createElementBlock(
|
|
3455
3455
|
Fragment,
|
|
3456
3456
|
null,
|
|
@@ -3502,8 +3502,8 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3502
3502
|
))
|
|
3503
3503
|
])) : createCommentVNode("v-if", true);
|
|
3504
3504
|
}
|
|
3505
|
-
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3506
|
-
const _sfc_main$
|
|
3505
|
+
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotifications/OnyxNotifications.vue"]]);
|
|
3506
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
3507
3507
|
__name: "OnyxToastMessage",
|
|
3508
3508
|
props: {
|
|
3509
3509
|
density: { type: null, required: false },
|
|
@@ -3539,33 +3539,33 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
3539
3539
|
return __returned__;
|
|
3540
3540
|
}
|
|
3541
3541
|
});
|
|
3542
|
-
const _hoisted_1$
|
|
3543
|
-
const _hoisted_2$
|
|
3544
|
-
const _hoisted_3$
|
|
3545
|
-
const _hoisted_4$
|
|
3546
|
-
const _hoisted_5$
|
|
3542
|
+
const _hoisted_1$X = { class: "onyx-toast-message__wrapper" };
|
|
3543
|
+
const _hoisted_2$K = { class: "onyx-toast-message__content onyx-truncation-ellipsis" };
|
|
3544
|
+
const _hoisted_3$w = { class: "onyx-toast-message__headline onyx-text" };
|
|
3545
|
+
const _hoisted_4$l = { class: "onyx-truncation-ellipsis" };
|
|
3546
|
+
const _hoisted_5$f = ["aria-label"];
|
|
3547
3547
|
const _hoisted_6$b = {
|
|
3548
3548
|
key: 0,
|
|
3549
3549
|
class: "onyx-toast-message__description onyx-text--small onyx-truncation-multiline",
|
|
3550
3550
|
tabindex: "0"
|
|
3551
3551
|
};
|
|
3552
|
-
function _sfc_render$
|
|
3552
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3553
3553
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.clickable ? "button" : "div"), {
|
|
3554
3554
|
class: normalizeClass(["onyx-component onyx-toast-message", [`onyx-toast-message--${$setup.props.color}`, $setup.densityClass]]),
|
|
3555
3555
|
role: $setup.props.color === "danger" || $setup.props.color === "warning" ? "alert" : "status",
|
|
3556
3556
|
"aria-label": $setup.props.clickable ? $setup.props.headline : void 0
|
|
3557
3557
|
}, {
|
|
3558
3558
|
default: withCtx(() => [
|
|
3559
|
-
createElementVNode("div", _hoisted_1$
|
|
3559
|
+
createElementVNode("div", _hoisted_1$X, [
|
|
3560
3560
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
3561
3561
|
key: 0,
|
|
3562
3562
|
icon: $setup.icon
|
|
3563
3563
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
3564
|
-
createElementVNode("div", _hoisted_2$
|
|
3565
|
-
createElementVNode("div", _hoisted_3$
|
|
3564
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
3565
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
3566
3566
|
createElementVNode(
|
|
3567
3567
|
"span",
|
|
3568
|
-
_hoisted_4$
|
|
3568
|
+
_hoisted_4$l,
|
|
3569
3569
|
toDisplayString($setup.props.headline),
|
|
3570
3570
|
1
|
|
3571
3571
|
/* TEXT */
|
|
@@ -3578,7 +3578,7 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3578
3578
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("close"))
|
|
3579
3579
|
}, [
|
|
3580
3580
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
3581
|
-
], 8, _hoisted_5$
|
|
3581
|
+
], 8, _hoisted_5$f)) : createCommentVNode("v-if", true)
|
|
3582
3582
|
]),
|
|
3583
3583
|
$setup.props.description ? (openBlock(), createElementBlock(
|
|
3584
3584
|
"p",
|
|
@@ -3607,7 +3607,7 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3607
3607
|
/* STABLE */
|
|
3608
3608
|
}, 8, ["class", "role", "aria-label"]);
|
|
3609
3609
|
}
|
|
3610
|
-
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3610
|
+
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToastMessage/OnyxToastMessage.vue"]]);
|
|
3611
3611
|
const TOAST_PROVIDER_INJECTION_KEY = Symbol();
|
|
3612
3612
|
const createToastProvider = () => {
|
|
3613
3613
|
let nextId = 1;
|
|
@@ -3650,7 +3650,7 @@ const useToast = () => {
|
|
|
3650
3650
|
);
|
|
3651
3651
|
return toastProvider;
|
|
3652
3652
|
};
|
|
3653
|
-
const _sfc_main$
|
|
3653
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
3654
3654
|
__name: "OnyxToast",
|
|
3655
3655
|
setup(__props, { expose: __expose }) {
|
|
3656
3656
|
__expose();
|
|
@@ -3660,15 +3660,15 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
3660
3660
|
return __returned__;
|
|
3661
3661
|
}
|
|
3662
3662
|
});
|
|
3663
|
-
const _hoisted_1$
|
|
3663
|
+
const _hoisted_1$W = {
|
|
3664
3664
|
key: 0,
|
|
3665
3665
|
class: "onyx-component onyx-toast",
|
|
3666
3666
|
role: "presentation",
|
|
3667
3667
|
"aria-live": "polite",
|
|
3668
3668
|
open: ""
|
|
3669
3669
|
};
|
|
3670
|
-
function _sfc_render$
|
|
3671
|
-
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
3670
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3671
|
+
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$W, [
|
|
3672
3672
|
(openBlock(true), createElementBlock(
|
|
3673
3673
|
Fragment,
|
|
3674
3674
|
null,
|
|
@@ -3686,8 +3686,8 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3686
3686
|
))
|
|
3687
3687
|
])) : createCommentVNode("v-if", true);
|
|
3688
3688
|
}
|
|
3689
|
-
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3690
|
-
const _sfc_main$
|
|
3689
|
+
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToast/OnyxToast.vue"]]);
|
|
3690
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
3691
3691
|
__name: "OnyxAppLayout",
|
|
3692
3692
|
props: {
|
|
3693
3693
|
navBarAlignment: { type: String, required: false, default: "top" }
|
|
@@ -3701,22 +3701,22 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
3701
3701
|
return __returned__;
|
|
3702
3702
|
}
|
|
3703
3703
|
});
|
|
3704
|
-
const _hoisted_1$
|
|
3704
|
+
const _hoisted_1$V = {
|
|
3705
3705
|
key: 0,
|
|
3706
3706
|
class: "onyx-app__nav"
|
|
3707
3707
|
};
|
|
3708
|
-
const _hoisted_2$
|
|
3709
|
-
function _sfc_render$
|
|
3708
|
+
const _hoisted_2$J = { class: "onyx-app__page" };
|
|
3709
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3710
3710
|
return openBlock(), createElementBlock(
|
|
3711
3711
|
"div",
|
|
3712
3712
|
{
|
|
3713
3713
|
class: normalizeClass(["onyx-component onyx-app", { "onyx-app--horizontal": $setup.props.navBarAlignment === "left" }])
|
|
3714
3714
|
},
|
|
3715
3715
|
[
|
|
3716
|
-
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3716
|
+
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
3717
3717
|
renderSlot(_ctx.$slots, "navBar")
|
|
3718
3718
|
])) : createCommentVNode("v-if", true),
|
|
3719
|
-
createElementVNode("div", _hoisted_2$
|
|
3719
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
3720
3720
|
renderSlot(_ctx.$slots, "default")
|
|
3721
3721
|
]),
|
|
3722
3722
|
createVNode($setup["OnyxToast"]),
|
|
@@ -3727,8 +3727,8 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3727
3727
|
/* CLASS */
|
|
3728
3728
|
);
|
|
3729
3729
|
}
|
|
3730
|
-
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3731
|
-
const _sfc_main$
|
|
3730
|
+
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAppLayout/OnyxAppLayout.vue"]]);
|
|
3731
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
3732
3732
|
__name: "OnyxAvatar",
|
|
3733
3733
|
props: {
|
|
3734
3734
|
size: { type: null, required: false, default: "48px" },
|
|
@@ -3762,13 +3762,13 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
3762
3762
|
return __returned__;
|
|
3763
3763
|
}
|
|
3764
3764
|
});
|
|
3765
|
-
const _hoisted_1$
|
|
3766
|
-
const _hoisted_2$
|
|
3767
|
-
const _hoisted_3$
|
|
3765
|
+
const _hoisted_1$U = ["title", "aria-label"];
|
|
3766
|
+
const _hoisted_2$I = ["src", "alt"];
|
|
3767
|
+
const _hoisted_3$v = {
|
|
3768
3768
|
key: 0,
|
|
3769
3769
|
class: "onyx-avatar__initials"
|
|
3770
3770
|
};
|
|
3771
|
-
function _sfc_render$
|
|
3771
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3772
3772
|
return openBlock(), createElementBlock("figure", {
|
|
3773
3773
|
class: normalizeClass([
|
|
3774
3774
|
"onyx-component",
|
|
@@ -3785,13 +3785,13 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3785
3785
|
src: $setup.props.src,
|
|
3786
3786
|
alt: $setup.ariaLabel,
|
|
3787
3787
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.hasImageError = true)
|
|
3788
|
-
}, null, 40, _hoisted_2$
|
|
3788
|
+
}, null, 40, _hoisted_2$I)) : (openBlock(), createElementBlock(
|
|
3789
3789
|
Fragment,
|
|
3790
3790
|
{ key: 1 },
|
|
3791
3791
|
[
|
|
3792
3792
|
$setup.initials ? (openBlock(), createElementBlock(
|
|
3793
3793
|
"div",
|
|
3794
|
-
_hoisted_3$
|
|
3794
|
+
_hoisted_3$v,
|
|
3795
3795
|
toDisplayString($setup.initials),
|
|
3796
3796
|
1
|
|
3797
3797
|
/* TEXT */
|
|
@@ -3804,10 +3804,10 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3804
3804
|
64
|
|
3805
3805
|
/* STABLE_FRAGMENT */
|
|
3806
3806
|
))
|
|
3807
|
-
], 10, _hoisted_1$
|
|
3807
|
+
], 10, _hoisted_1$U);
|
|
3808
3808
|
}
|
|
3809
|
-
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3810
|
-
const _sfc_main$
|
|
3809
|
+
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatar/OnyxAvatar.vue"]]);
|
|
3810
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
3811
3811
|
__name: "OnyxAvatarStack",
|
|
3812
3812
|
setup(__props, { expose: __expose }) {
|
|
3813
3813
|
__expose();
|
|
@@ -3816,14 +3816,14 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3816
3816
|
return __returned__;
|
|
3817
3817
|
}
|
|
3818
3818
|
});
|
|
3819
|
-
const _hoisted_1$
|
|
3820
|
-
function _sfc_render$
|
|
3821
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3819
|
+
const _hoisted_1$T = { class: "onyx-component onyx-avatar-stack" };
|
|
3820
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3821
|
+
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
3822
3822
|
renderSlot(_ctx.$slots, "default")
|
|
3823
3823
|
]);
|
|
3824
3824
|
}
|
|
3825
|
-
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3826
|
-
const _sfc_main$
|
|
3825
|
+
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatarStack/OnyxAvatarStack.vue"]]);
|
|
3826
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
3827
3827
|
__name: "OnyxBadge",
|
|
3828
3828
|
props: {
|
|
3829
3829
|
density: { type: null, required: false },
|
|
@@ -3840,7 +3840,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
3840
3840
|
return __returned__;
|
|
3841
3841
|
}
|
|
3842
3842
|
});
|
|
3843
|
-
function _sfc_render$
|
|
3843
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3844
3844
|
return openBlock(), createElementBlock(
|
|
3845
3845
|
"div",
|
|
3846
3846
|
{
|
|
@@ -3871,8 +3871,8 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3871
3871
|
/* CLASS */
|
|
3872
3872
|
);
|
|
3873
3873
|
}
|
|
3874
|
-
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3875
|
-
const _sfc_main$
|
|
3874
|
+
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBadge/OnyxBadge.vue"]]);
|
|
3875
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
3876
3876
|
__name: "OnyxBottomBar",
|
|
3877
3877
|
props: {
|
|
3878
3878
|
density: { type: null, required: false },
|
|
@@ -3887,10 +3887,10 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
3887
3887
|
return __returned__;
|
|
3888
3888
|
}
|
|
3889
3889
|
});
|
|
3890
|
-
const _hoisted_1$
|
|
3891
|
-
const _hoisted_2$
|
|
3892
|
-
const _hoisted_3$
|
|
3893
|
-
function _sfc_render$
|
|
3890
|
+
const _hoisted_1$S = { class: "onyx-bottom-bar__content onyx-grid-container" };
|
|
3891
|
+
const _hoisted_2$H = { class: "onyx-bottom-bar__content--left" };
|
|
3892
|
+
const _hoisted_3$u = { class: "onyx-bottom-bar__content--right" };
|
|
3893
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3894
3894
|
return openBlock(), createElementBlock(
|
|
3895
3895
|
"div",
|
|
3896
3896
|
{
|
|
@@ -3902,11 +3902,11 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3902
3902
|
])
|
|
3903
3903
|
},
|
|
3904
3904
|
[
|
|
3905
|
-
createElementVNode("div", _hoisted_1$
|
|
3906
|
-
createElementVNode("div", _hoisted_2$
|
|
3905
|
+
createElementVNode("div", _hoisted_1$S, [
|
|
3906
|
+
createElementVNode("div", _hoisted_2$H, [
|
|
3907
3907
|
renderSlot(_ctx.$slots, "left")
|
|
3908
3908
|
]),
|
|
3909
|
-
createElementVNode("div", _hoisted_3$
|
|
3909
|
+
createElementVNode("div", _hoisted_3$u, [
|
|
3910
3910
|
renderSlot(_ctx.$slots, "default")
|
|
3911
3911
|
])
|
|
3912
3912
|
])
|
|
@@ -3915,7 +3915,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3915
3915
|
/* CLASS */
|
|
3916
3916
|
);
|
|
3917
3917
|
}
|
|
3918
|
-
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3918
|
+
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBottomBar/OnyxBottomBar.vue"]]);
|
|
3919
3919
|
const useMoreList = (options) => {
|
|
3920
3920
|
const visibleElements = ref();
|
|
3921
3921
|
const hiddenElements = ref();
|
|
@@ -4010,7 +4010,7 @@ const useMoreListChild = (injectionKey) => {
|
|
|
4010
4010
|
};
|
|
4011
4011
|
const BREADCRUMB_MORE_LIST_INJECTION_KEY = Symbol();
|
|
4012
4012
|
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
4013
|
-
const _sfc_main$
|
|
4013
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
4014
4014
|
__name: "OnyxExternalLinkIcon",
|
|
4015
4015
|
props: {
|
|
4016
4016
|
href: { type: String, required: false },
|
|
@@ -4031,7 +4031,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
4031
4031
|
return __returned__;
|
|
4032
4032
|
}
|
|
4033
4033
|
});
|
|
4034
|
-
function _sfc_render$
|
|
4034
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4035
4035
|
return $setup.isVisible ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4036
4036
|
key: 0,
|
|
4037
4037
|
class: "onyx-component onyx-external-link-icon",
|
|
@@ -4039,8 +4039,8 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4039
4039
|
size: "16px"
|
|
4040
4040
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true);
|
|
4041
4041
|
}
|
|
4042
|
-
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4043
|
-
const _sfc_main$
|
|
4042
|
+
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue"]]);
|
|
4043
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
4044
4044
|
__name: "OnyxListItem",
|
|
4045
4045
|
props: {
|
|
4046
4046
|
density: { type: null, required: false },
|
|
@@ -4059,7 +4059,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
4059
4059
|
return __returned__;
|
|
4060
4060
|
}
|
|
4061
4061
|
});
|
|
4062
|
-
function _sfc_render$
|
|
4062
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4063
4063
|
return openBlock(), createElementBlock(
|
|
4064
4064
|
"li",
|
|
4065
4065
|
{
|
|
@@ -4081,8 +4081,8 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4081
4081
|
/* CLASS */
|
|
4082
4082
|
);
|
|
4083
4083
|
}
|
|
4084
|
-
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4085
|
-
const _sfc_main$
|
|
4084
|
+
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxListItem/OnyxListItem.vue"]]);
|
|
4085
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
4086
4086
|
...{ inheritAttrs: false },
|
|
4087
4087
|
__name: "OnyxMenuItem",
|
|
4088
4088
|
props: {
|
|
@@ -4161,17 +4161,17 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
4161
4161
|
return __returned__;
|
|
4162
4162
|
}
|
|
4163
4163
|
});
|
|
4164
|
-
const _hoisted_1$
|
|
4165
|
-
const _hoisted_2$
|
|
4164
|
+
const _hoisted_1$R = { class: "onyx-truncation-ellipsis" };
|
|
4165
|
+
const _hoisted_2$G = {
|
|
4166
4166
|
key: 0,
|
|
4167
4167
|
class: "onyx-menu-item__chevron"
|
|
4168
4168
|
};
|
|
4169
|
-
const _hoisted_3$
|
|
4169
|
+
const _hoisted_3$t = {
|
|
4170
4170
|
key: 0,
|
|
4171
4171
|
role: "menu",
|
|
4172
4172
|
class: "onyx-menu-item__children"
|
|
4173
4173
|
};
|
|
4174
|
-
function _sfc_render$
|
|
4174
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4175
4175
|
const _component_OnyxMenuItem = resolveComponent("OnyxMenuItem", true);
|
|
4176
4176
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({
|
|
4177
4177
|
selected: $setup.isActive,
|
|
@@ -4192,7 +4192,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4192
4192
|
createElementVNode("span", null, [
|
|
4193
4193
|
createElementVNode(
|
|
4194
4194
|
"span",
|
|
4195
|
-
_hoisted_1$
|
|
4195
|
+
_hoisted_1$R,
|
|
4196
4196
|
toDisplayString($setup.props.label),
|
|
4197
4197
|
1
|
|
4198
4198
|
/* TEXT */
|
|
@@ -4206,7 +4206,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4206
4206
|
)
|
|
4207
4207
|
])
|
|
4208
4208
|
]),
|
|
4209
|
-
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4209
|
+
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$G, [
|
|
4210
4210
|
createVNode($setup["OnyxIcon"], {
|
|
4211
4211
|
icon: $setup.iconChevronRightSmall,
|
|
4212
4212
|
size: "24px"
|
|
@@ -4220,7 +4220,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4220
4220
|
]),
|
|
4221
4221
|
$setup.hasChildren ? withDirectives((openBlock(), createElementBlock(
|
|
4222
4222
|
"ul",
|
|
4223
|
-
_hoisted_3$
|
|
4223
|
+
_hoisted_3$t,
|
|
4224
4224
|
[
|
|
4225
4225
|
createVNode(
|
|
4226
4226
|
_component_OnyxMenuItem,
|
|
@@ -4257,8 +4257,8 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4257
4257
|
/* FORWARDED */
|
|
4258
4258
|
}, 16, ["selected", "active", "color", "disabled", "class"]);
|
|
4259
4259
|
}
|
|
4260
|
-
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4261
|
-
const _sfc_main$
|
|
4260
|
+
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue"]]);
|
|
4261
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
4262
4262
|
...{ inheritAttrs: false },
|
|
4263
4263
|
__name: "OnyxBreadcrumbItem",
|
|
4264
4264
|
props: {
|
|
@@ -4284,7 +4284,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
4284
4284
|
return __returned__;
|
|
4285
4285
|
}
|
|
4286
4286
|
});
|
|
4287
|
-
function _sfc_render$
|
|
4287
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4288
4288
|
return openBlock(), createElementBlock(
|
|
4289
4289
|
Fragment,
|
|
4290
4290
|
null,
|
|
@@ -4344,8 +4344,8 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4344
4344
|
/* STABLE_FRAGMENT */
|
|
4345
4345
|
);
|
|
4346
4346
|
}
|
|
4347
|
-
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4348
|
-
const _sfc_main$
|
|
4347
|
+
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.vue"]]);
|
|
4348
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
4349
4349
|
__name: "OnyxMoreList",
|
|
4350
4350
|
props: {
|
|
4351
4351
|
injectionKey: { type: [Symbol, Object], required: true },
|
|
@@ -4378,7 +4378,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
4378
4378
|
return __returned__;
|
|
4379
4379
|
}
|
|
4380
4380
|
});
|
|
4381
|
-
function _sfc_render$
|
|
4381
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4382
4382
|
return openBlock(), createBlock(
|
|
4383
4383
|
resolveDynamicComponent($setup.props.is),
|
|
4384
4384
|
{
|
|
@@ -4418,8 +4418,8 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4418
4418
|
/* NEED_PATCH */
|
|
4419
4419
|
);
|
|
4420
4420
|
}
|
|
4421
|
-
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4422
|
-
const _sfc_main$
|
|
4421
|
+
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMoreList/OnyxMoreList.vue"]]);
|
|
4422
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
4423
4423
|
__name: "OnyxBreadcrumb",
|
|
4424
4424
|
props: {
|
|
4425
4425
|
density: { type: null, required: false },
|
|
@@ -4445,13 +4445,13 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
4445
4445
|
return __returned__;
|
|
4446
4446
|
}
|
|
4447
4447
|
});
|
|
4448
|
-
const _hoisted_1$
|
|
4449
|
-
const _hoisted_2$
|
|
4448
|
+
const _hoisted_1$Q = ["aria-label", "aria-hidden"];
|
|
4449
|
+
const _hoisted_2$F = {
|
|
4450
4450
|
class: "onyx-breadcrumb__list onyx-grid-container",
|
|
4451
4451
|
role: "menu"
|
|
4452
4452
|
};
|
|
4453
|
-
const _hoisted_3$
|
|
4454
|
-
function _sfc_render$
|
|
4453
|
+
const _hoisted_3$s = { ref: "moreListRef" };
|
|
4454
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4455
4455
|
return openBlock(), createElementBlock("nav", {
|
|
4456
4456
|
class: normalizeClass([
|
|
4457
4457
|
"onyx-component",
|
|
@@ -4462,7 +4462,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4462
4462
|
"aria-label": $setup.t("breadcrumb.label"),
|
|
4463
4463
|
"aria-hidden": $setup.props.skeleton
|
|
4464
4464
|
}, [
|
|
4465
|
-
createElementVNode("ol", _hoisted_2$
|
|
4465
|
+
createElementVNode("ol", _hoisted_2$F, [
|
|
4466
4466
|
createVNode($setup["OnyxBreadcrumbItem"], {
|
|
4467
4467
|
class: "onyx-breadcrumb__home",
|
|
4468
4468
|
href: $setup.props.home?.link ?? "/",
|
|
@@ -4530,7 +4530,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4530
4530
|
options: withCtx(() => [
|
|
4531
4531
|
createElementVNode(
|
|
4532
4532
|
"div",
|
|
4533
|
-
_hoisted_3$
|
|
4533
|
+
_hoisted_3$s,
|
|
4534
4534
|
null,
|
|
4535
4535
|
512
|
|
4536
4536
|
/* NEED_PATCH */
|
|
@@ -4544,13 +4544,13 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4544
4544
|
/* FORWARDED */
|
|
4545
4545
|
}, 8, ["injection-key"])
|
|
4546
4546
|
])
|
|
4547
|
-
], 10, _hoisted_1$
|
|
4547
|
+
], 10, _hoisted_1$Q);
|
|
4548
4548
|
}
|
|
4549
|
-
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4549
|
+
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumb/OnyxBreadcrumb.vue"]]);
|
|
4550
4550
|
const BUTTON_TYPES = ["button", "submit", "reset"];
|
|
4551
4551
|
const BUTTON_COLORS = ["primary", "neutral", "danger"];
|
|
4552
4552
|
const BUTTON_MODES = ["default", "outline", "plain"];
|
|
4553
|
-
const _sfc_main$
|
|
4553
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
4554
4554
|
__name: "OnyxCard",
|
|
4555
4555
|
props: {
|
|
4556
4556
|
density: { type: null, required: false },
|
|
@@ -4569,7 +4569,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
4569
4569
|
return __returned__;
|
|
4570
4570
|
}
|
|
4571
4571
|
});
|
|
4572
|
-
function _sfc_render$
|
|
4572
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4573
4573
|
return openBlock(), createBlock(resolveDynamicComponent($setup.linkProps ? $setup.OnyxRouterLink : $setup.props.clickable ? "button" : "div"), mergeProps($setup.linkProps, {
|
|
4574
4574
|
class: ["onyx-component", "onyx-card", $setup.densityClass, "onyx-truncation-multiline", "onyx-text"]
|
|
4575
4575
|
}), {
|
|
@@ -4580,8 +4580,8 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4580
4580
|
/* FORWARDED */
|
|
4581
4581
|
}, 16, ["class"]);
|
|
4582
4582
|
}
|
|
4583
|
-
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4584
|
-
const _sfc_main$
|
|
4583
|
+
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCard/OnyxCard.vue"]]);
|
|
4584
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
4585
4585
|
__name: "OnyxCalendarCell",
|
|
4586
4586
|
props: {
|
|
4587
4587
|
density: { type: null, required: false },
|
|
@@ -4610,14 +4610,14 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
4610
4610
|
return __returned__;
|
|
4611
4611
|
}
|
|
4612
4612
|
});
|
|
4613
|
-
const _hoisted_1$
|
|
4614
|
-
const _hoisted_2$
|
|
4615
|
-
const _hoisted_3$
|
|
4616
|
-
const _hoisted_4$
|
|
4613
|
+
const _hoisted_1$P = { class: "onyx-calendar-cell__header" };
|
|
4614
|
+
const _hoisted_2$E = { class: "onyx-calendar-cell__date-container" };
|
|
4615
|
+
const _hoisted_3$r = { class: "onyx-calendar-cell__date" };
|
|
4616
|
+
const _hoisted_4$k = {
|
|
4617
4617
|
key: 0,
|
|
4618
4618
|
class: "onyx-calendar-cell__main"
|
|
4619
4619
|
};
|
|
4620
|
-
function _sfc_render$
|
|
4620
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4621
4621
|
return openBlock(), createElementBlock(
|
|
4622
4622
|
"td",
|
|
4623
4623
|
{
|
|
@@ -4643,18 +4643,18 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4643
4643
|
]
|
|
4644
4644
|
}), {
|
|
4645
4645
|
default: withCtx(() => [
|
|
4646
|
-
createElementVNode("div", _hoisted_1$
|
|
4647
|
-
createElementVNode("div", _hoisted_2$
|
|
4646
|
+
createElementVNode("div", _hoisted_1$P, [
|
|
4647
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
4648
4648
|
createElementVNode(
|
|
4649
4649
|
"span",
|
|
4650
|
-
_hoisted_3$
|
|
4650
|
+
_hoisted_3$r,
|
|
4651
4651
|
toDisplayString($setup.props.date),
|
|
4652
4652
|
1
|
|
4653
4653
|
/* TEXT */
|
|
4654
4654
|
)
|
|
4655
4655
|
])
|
|
4656
4656
|
]),
|
|
4657
|
-
!!$setup.slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
4657
|
+
!!$setup.slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
4658
4658
|
renderSlot(_ctx.$slots, "default")
|
|
4659
4659
|
])) : createCommentVNode("v-if", true)
|
|
4660
4660
|
]),
|
|
@@ -4666,8 +4666,8 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4666
4666
|
/* CLASS */
|
|
4667
4667
|
);
|
|
4668
4668
|
}
|
|
4669
|
-
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4670
|
-
const _sfc_main$
|
|
4669
|
+
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendarCell/OnyxCalendarCell.vue"]]);
|
|
4670
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
4671
4671
|
__name: "OnyxIconButton",
|
|
4672
4672
|
props: {
|
|
4673
4673
|
density: { type: null, required: false },
|
|
@@ -4692,7 +4692,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
4692
4692
|
return __returned__;
|
|
4693
4693
|
}
|
|
4694
4694
|
});
|
|
4695
|
-
function _sfc_render$
|
|
4695
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4696
4696
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
4697
4697
|
key: 0,
|
|
4698
4698
|
class: normalizeClass(["onyx-icon-button-skeleton", $setup.densityClass])
|
|
@@ -4720,8 +4720,8 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4720
4720
|
/* FORWARDED */
|
|
4721
4721
|
}, 16, ["aria-label", "title", "class"]));
|
|
4722
4722
|
}
|
|
4723
|
-
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4724
|
-
const _sfc_main$
|
|
4723
|
+
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIconButton/OnyxIconButton.vue"]]);
|
|
4724
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
4725
4725
|
__name: "OnyxTooltip",
|
|
4726
4726
|
props: {
|
|
4727
4727
|
density: { type: null, required: false },
|
|
@@ -4876,8 +4876,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
4876
4876
|
return __returned__;
|
|
4877
4877
|
}
|
|
4878
4878
|
});
|
|
4879
|
-
const _hoisted_1$
|
|
4880
|
-
function _sfc_render$
|
|
4879
|
+
const _hoisted_1$O = { class: "onyx-tooltip--content" };
|
|
4880
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4881
4881
|
return openBlock(), createElementBlock(
|
|
4882
4882
|
"div",
|
|
4883
4883
|
{
|
|
@@ -4893,7 +4893,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4893
4893
|
style: $setup.tooltipStyles
|
|
4894
4894
|
}),
|
|
4895
4895
|
[
|
|
4896
|
-
createElementVNode("div", _hoisted_1$
|
|
4896
|
+
createElementVNode("div", _hoisted_1$O, [
|
|
4897
4897
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4898
4898
|
key: 0,
|
|
4899
4899
|
icon: $setup.props.icon,
|
|
@@ -4917,8 +4917,8 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4917
4917
|
/* CLASS, STYLE */
|
|
4918
4918
|
);
|
|
4919
4919
|
}
|
|
4920
|
-
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4921
|
-
const _sfc_main
|
|
4920
|
+
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTooltip/OnyxTooltip.vue"]]);
|
|
4921
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
4922
4922
|
__name: "OnyxTag",
|
|
4923
4923
|
props: {
|
|
4924
4924
|
density: { type: null, required: false },
|
|
@@ -4945,9 +4945,9 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
4945
4945
|
return __returned__;
|
|
4946
4946
|
}
|
|
4947
4947
|
});
|
|
4948
|
-
const _hoisted_1$
|
|
4949
|
-
const _hoisted_2$
|
|
4950
|
-
function _sfc_render
|
|
4948
|
+
const _hoisted_1$N = { class: "onyx-text onyx-truncation-ellipsis" };
|
|
4949
|
+
const _hoisted_2$D = { class: "onyx-text onyx-truncation-ellipsis" };
|
|
4950
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4951
4951
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
4952
4952
|
key: 0,
|
|
4953
4953
|
class: normalizeClass(["onyx-tag-skeleton", $setup.densityClass])
|
|
@@ -4970,7 +4970,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4970
4970
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
4971
4971
|
createElementVNode(
|
|
4972
4972
|
"span",
|
|
4973
|
-
_hoisted_1$
|
|
4973
|
+
_hoisted_1$N,
|
|
4974
4974
|
toDisplayString($setup.props.label),
|
|
4975
4975
|
1
|
|
4976
4976
|
/* TEXT */
|
|
@@ -5001,7 +5001,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5001
5001
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5002
5002
|
createElementVNode(
|
|
5003
5003
|
"span",
|
|
5004
|
-
_hoisted_2$
|
|
5004
|
+
_hoisted_2$D,
|
|
5005
5005
|
toDisplayString($setup.props.label),
|
|
5006
5006
|
1
|
|
5007
5007
|
/* TEXT */
|
|
@@ -5011,9 +5011,9 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5011
5011
|
/* CLASS */
|
|
5012
5012
|
));
|
|
5013
5013
|
}
|
|
5014
|
-
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
5014
|
+
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTag/OnyxTag.vue"]]);
|
|
5015
5015
|
const __default__ = {};
|
|
5016
|
-
const _sfc_main
|
|
5016
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
5017
5017
|
...__default__,
|
|
5018
5018
|
__name: "OnyxCalendar",
|
|
5019
5019
|
props: {
|
|
@@ -5104,16 +5104,16 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
5104
5104
|
return __returned__;
|
|
5105
5105
|
}
|
|
5106
5106
|
});
|
|
5107
|
-
const _hoisted_1$
|
|
5108
|
-
const _hoisted_2$
|
|
5109
|
-
const _hoisted_3$
|
|
5110
|
-
const _hoisted_4$
|
|
5111
|
-
const _hoisted_5$
|
|
5107
|
+
const _hoisted_1$M = { class: "onyx-calendar__header" };
|
|
5108
|
+
const _hoisted_2$C = { class: "control-container time-control-container" };
|
|
5109
|
+
const _hoisted_3$q = { class: "control-container" };
|
|
5110
|
+
const _hoisted_4$j = { class: "onyx-calendar__body" };
|
|
5111
|
+
const _hoisted_5$e = ["abbr"];
|
|
5112
5112
|
const _hoisted_6$a = {
|
|
5113
5113
|
key: 0,
|
|
5114
5114
|
scope: "row"
|
|
5115
5115
|
};
|
|
5116
|
-
function _sfc_render
|
|
5116
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5117
5117
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5118
5118
|
"div",
|
|
5119
5119
|
{
|
|
@@ -5134,8 +5134,8 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5134
5134
|
class: normalizeClass(["onyx-component", "onyx-calendar", `onyx-calendar--${$setup.calendarSize}`, $setup.densityClass])
|
|
5135
5135
|
},
|
|
5136
5136
|
[
|
|
5137
|
-
createElementVNode("div", _hoisted_1$
|
|
5138
|
-
createElementVNode("div", _hoisted_2$
|
|
5137
|
+
createElementVNode("div", _hoisted_1$M, [
|
|
5138
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
5139
5139
|
$setup.calendarSize !== "small" ? (openBlock(), createBlock($setup["OnyxTag"], {
|
|
5140
5140
|
key: 0,
|
|
5141
5141
|
label: $setup.t("calendar.todayButton.label"),
|
|
@@ -5173,11 +5173,11 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5173
5173
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.goToMonthByOffset(1))
|
|
5174
5174
|
}, null, 8, ["label", "icon", "disabled"])
|
|
5175
5175
|
]),
|
|
5176
|
-
createElementVNode("div", _hoisted_3$
|
|
5176
|
+
createElementVNode("div", _hoisted_3$q, [
|
|
5177
5177
|
renderSlot(_ctx.$slots, "actions")
|
|
5178
5178
|
])
|
|
5179
5179
|
]),
|
|
5180
|
-
createElementVNode("div", _hoisted_4$
|
|
5180
|
+
createElementVNode("div", _hoisted_4$j, [
|
|
5181
5181
|
createElementVNode(
|
|
5182
5182
|
"table",
|
|
5183
5183
|
normalizeProps(guardReactiveProps($setup.tableProps)),
|
|
@@ -5192,7 +5192,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5192
5192
|
key: header,
|
|
5193
5193
|
scope: "col",
|
|
5194
5194
|
abbr: header
|
|
5195
|
-
}, toDisplayString(header), 9, _hoisted_5$
|
|
5195
|
+
}, toDisplayString(header), 9, _hoisted_5$e);
|
|
5196
5196
|
}),
|
|
5197
5197
|
128
|
|
5198
5198
|
/* KEYED_FRAGMENT */
|
|
@@ -5265,7 +5265,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5265
5265
|
/* CLASS */
|
|
5266
5266
|
));
|
|
5267
5267
|
}
|
|
5268
|
-
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
5268
|
+
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendar/OnyxCalendar.vue"]]);
|
|
5269
5269
|
const useRequired = (props, requiredMarker) => ({
|
|
5270
5270
|
/**
|
|
5271
5271
|
* Class that configures which type of required marker is used.
|
|
@@ -5481,7 +5481,7 @@ const formatMinMax = (locale, type, value) => {
|
|
|
5481
5481
|
};
|
|
5482
5482
|
return date.toLocaleString(locale, format);
|
|
5483
5483
|
};
|
|
5484
|
-
const _sfc_main$
|
|
5484
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
5485
5485
|
__name: "OnyxErrorTooltip",
|
|
5486
5486
|
props: {
|
|
5487
5487
|
errorMessages: { type: Object, required: false },
|
|
@@ -5497,16 +5497,16 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
5497
5497
|
return __returned__;
|
|
5498
5498
|
}
|
|
5499
5499
|
});
|
|
5500
|
-
const _hoisted_1$
|
|
5501
|
-
const _hoisted_2$
|
|
5500
|
+
const _hoisted_1$L = { class: "onyx-component" };
|
|
5501
|
+
const _hoisted_2$B = {
|
|
5502
5502
|
key: 0,
|
|
5503
5503
|
ref: "targetRef"
|
|
5504
5504
|
};
|
|
5505
|
-
function _sfc_render$
|
|
5506
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5505
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5506
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
5507
5507
|
!$setup.tooltipError || $setup.props.disabled ? (openBlock(), createElementBlock(
|
|
5508
5508
|
"div",
|
|
5509
|
-
_hoisted_2$
|
|
5509
|
+
_hoisted_2$B,
|
|
5510
5510
|
null,
|
|
5511
5511
|
512
|
|
5512
5512
|
/* NEED_PATCH */
|
|
@@ -5539,8 +5539,8 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5539
5539
|
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
5540
5540
|
]);
|
|
5541
5541
|
}
|
|
5542
|
-
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5543
|
-
const _sfc_main$
|
|
5542
|
+
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxErrorTooltip/OnyxErrorTooltip.vue"]]);
|
|
5543
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
5544
5544
|
...{ inheritAttrs: false },
|
|
5545
5545
|
__name: "OnyxCheckbox",
|
|
5546
5546
|
props: {
|
|
@@ -5587,10 +5587,10 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
5587
5587
|
return __returned__;
|
|
5588
5588
|
}
|
|
5589
5589
|
});
|
|
5590
|
-
const _hoisted_1$
|
|
5591
|
-
const _hoisted_2$
|
|
5592
|
-
const _hoisted_3$
|
|
5593
|
-
function _sfc_render$
|
|
5590
|
+
const _hoisted_1$K = ["title"];
|
|
5591
|
+
const _hoisted_2$A = { class: "onyx-checkbox__container" };
|
|
5592
|
+
const _hoisted_3$p = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"];
|
|
5593
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5594
5594
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5595
5595
|
"div",
|
|
5596
5596
|
mergeProps({
|
|
@@ -5616,7 +5616,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5616
5616
|
class: normalizeClass(["onyx-component onyx-checkbox", [$setup.requiredTypeClass, $setup.densityClass]]),
|
|
5617
5617
|
title: $setup.title
|
|
5618
5618
|
}, [
|
|
5619
|
-
createElementVNode("div", _hoisted_2$
|
|
5619
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
5620
5620
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
5621
5621
|
key: 0,
|
|
5622
5622
|
class: "onyx-checkbox__loading",
|
|
@@ -5633,7 +5633,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5633
5633
|
required: $setup.props.required,
|
|
5634
5634
|
value: $setup.props.value,
|
|
5635
5635
|
autofocus: $setup.props.autofocus
|
|
5636
|
-
}, $setup.restAttrs), null, 16, _hoisted_3$
|
|
5636
|
+
}, $setup.restAttrs), null, 16, _hoisted_3$p)), [
|
|
5637
5637
|
[vModelCheckbox, $setup.isChecked],
|
|
5638
5638
|
[$setup["vCustomValidity"]]
|
|
5639
5639
|
])
|
|
@@ -5669,13 +5669,13 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5669
5669
|
64
|
|
5670
5670
|
/* STABLE_FRAGMENT */
|
|
5671
5671
|
)) : createCommentVNode("v-if", true)
|
|
5672
|
-
], 10, _hoisted_1$
|
|
5672
|
+
], 10, _hoisted_1$K)
|
|
5673
5673
|
]),
|
|
5674
5674
|
_: 1
|
|
5675
5675
|
/* STABLE */
|
|
5676
5676
|
}, 16, ["disabled", "error-messages"]));
|
|
5677
5677
|
}
|
|
5678
|
-
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5678
|
+
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckbox/OnyxCheckbox.vue"]]);
|
|
5679
5679
|
const useSelectAllCheckboxState = (enabledOptionValues, modelValue) => computed(() => {
|
|
5680
5680
|
const currentValues = modelValue.value.filter(
|
|
5681
5681
|
(value) => enabledOptionValues.value.includes(value)
|
|
@@ -5710,7 +5710,7 @@ const useCheckAll = (enabledOptionValues, modelValue, onChangeCallback) => {
|
|
|
5710
5710
|
}
|
|
5711
5711
|
};
|
|
5712
5712
|
};
|
|
5713
|
-
const _sfc_main$
|
|
5713
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
5714
5714
|
__name: "OnyxInfoTooltip",
|
|
5715
5715
|
props: {
|
|
5716
5716
|
text: { type: String, required: true },
|
|
@@ -5746,9 +5746,9 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
5746
5746
|
return __returned__;
|
|
5747
5747
|
}
|
|
5748
5748
|
});
|
|
5749
|
-
const _hoisted_1$
|
|
5750
|
-
function _sfc_render$
|
|
5751
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
5749
|
+
const _hoisted_1$J = { class: "onyx-component onyx-info-tooltip" };
|
|
5750
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5751
|
+
return openBlock(), createElementBlock("span", _hoisted_1$J, [
|
|
5752
5752
|
$setup.triggerType === "click" ? (openBlock(), createBlock($setup["OnyxTooltip"], mergeProps({ key: 0 }, $setup.tooltipProps, {
|
|
5753
5753
|
open: $setup.isVisible,
|
|
5754
5754
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isVisible = $event)
|
|
@@ -5806,8 +5806,8 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5806
5806
|
))
|
|
5807
5807
|
]);
|
|
5808
5808
|
}
|
|
5809
|
-
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5810
|
-
const _sfc_main$
|
|
5809
|
+
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoTooltip/OnyxInfoTooltip.vue"]]);
|
|
5810
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
5811
5811
|
__name: "OnyxCheckboxGroup",
|
|
5812
5812
|
props: {
|
|
5813
5813
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -5865,18 +5865,18 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
5865
5865
|
return __returned__;
|
|
5866
5866
|
}
|
|
5867
5867
|
});
|
|
5868
|
-
const _hoisted_1$
|
|
5869
|
-
const _hoisted_2$
|
|
5868
|
+
const _hoisted_1$I = ["disabled", "aria-label"];
|
|
5869
|
+
const _hoisted_2$z = {
|
|
5870
5870
|
key: 0,
|
|
5871
5871
|
class: "onyx-checkbox-group__label"
|
|
5872
5872
|
};
|
|
5873
|
-
function _sfc_render$
|
|
5873
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5874
5874
|
return openBlock(), createElementBlock("fieldset", {
|
|
5875
5875
|
class: normalizeClass(["onyx-component", "onyx-checkbox-group", $setup.densityClass]),
|
|
5876
5876
|
disabled: $setup.disabled,
|
|
5877
5877
|
"aria-label": $setup.props.label
|
|
5878
5878
|
}, [
|
|
5879
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$
|
|
5879
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$z, [
|
|
5880
5880
|
createVNode($setup["OnyxHeadline"], { is: "h3" }, {
|
|
5881
5881
|
default: withCtx(() => [
|
|
5882
5882
|
createTextVNode(
|
|
@@ -5956,15 +5956,15 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5956
5956
|
2
|
|
5957
5957
|
/* CLASS */
|
|
5958
5958
|
)
|
|
5959
|
-
], 10, _hoisted_1$
|
|
5959
|
+
], 10, _hoisted_1$I);
|
|
5960
5960
|
}
|
|
5961
|
-
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5961
|
+
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue"]]);
|
|
5962
5962
|
const escapeCSS = (key) => {
|
|
5963
5963
|
const name = typeof key === "symbol" && key.description ? key.description : String(key);
|
|
5964
5964
|
if (globalThis.window && window.CSS) return CSS.escape(name);
|
|
5965
5965
|
return name.replace(/\W/g, "-");
|
|
5966
5966
|
};
|
|
5967
|
-
const _sfc_main$
|
|
5967
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
5968
5968
|
__name: "OnyxEmpty",
|
|
5969
5969
|
props: {
|
|
5970
5970
|
density: { type: null, required: false }
|
|
@@ -5981,12 +5981,12 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
5981
5981
|
return __returned__;
|
|
5982
5982
|
}
|
|
5983
5983
|
});
|
|
5984
|
-
const _hoisted_1$
|
|
5985
|
-
const _hoisted_2$
|
|
5984
|
+
const _hoisted_1$H = { class: "onyx-empty__label onyx-text onyx-truncation-multiline" };
|
|
5985
|
+
const _hoisted_2$y = {
|
|
5986
5986
|
key: 0,
|
|
5987
5987
|
class: "onyx-empty__buttons"
|
|
5988
5988
|
};
|
|
5989
|
-
function _sfc_render$
|
|
5989
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5990
5990
|
return openBlock(), createElementBlock(
|
|
5991
5991
|
"div",
|
|
5992
5992
|
{
|
|
@@ -5999,10 +5999,10 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5999
5999
|
size: "48px"
|
|
6000
6000
|
}, null, 8, ["icon"])
|
|
6001
6001
|
]),
|
|
6002
|
-
createElementVNode("div", _hoisted_1$
|
|
6002
|
+
createElementVNode("div", _hoisted_1$H, [
|
|
6003
6003
|
renderSlot(_ctx.$slots, "default")
|
|
6004
6004
|
]),
|
|
6005
|
-
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6005
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
6006
6006
|
renderSlot(_ctx.$slots, "buttons")
|
|
6007
6007
|
])) : createCommentVNode("v-if", true)
|
|
6008
6008
|
],
|
|
@@ -6010,8 +6010,8 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6010
6010
|
/* CLASS */
|
|
6011
6011
|
);
|
|
6012
6012
|
}
|
|
6013
|
-
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6014
|
-
const _sfc_main$
|
|
6013
|
+
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxEmpty/OnyxEmpty.vue"]]);
|
|
6014
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
6015
6015
|
__name: "OnyxTable",
|
|
6016
6016
|
props: {
|
|
6017
6017
|
density: { type: null, required: false },
|
|
@@ -6042,14 +6042,14 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
6042
6042
|
return __returned__;
|
|
6043
6043
|
}
|
|
6044
6044
|
});
|
|
6045
|
-
const _hoisted_1$
|
|
6045
|
+
const _hoisted_1$G = {
|
|
6046
6046
|
key: 0,
|
|
6047
6047
|
class: "onyx-table-wrapper__top"
|
|
6048
6048
|
};
|
|
6049
|
-
const _hoisted_2$
|
|
6050
|
-
const _hoisted_3$
|
|
6051
|
-
const _hoisted_4$
|
|
6052
|
-
const _hoisted_5$
|
|
6049
|
+
const _hoisted_2$x = ["id"];
|
|
6050
|
+
const _hoisted_3$o = { class: "onyx-table-wrapper__actions" };
|
|
6051
|
+
const _hoisted_4$i = ["tabindex"];
|
|
6052
|
+
const _hoisted_5$d = ["aria-labelledby"];
|
|
6053
6053
|
const _hoisted_6$9 = ["span"];
|
|
6054
6054
|
const _hoisted_7$5 = {
|
|
6055
6055
|
key: 0,
|
|
@@ -6064,7 +6064,7 @@ const _hoisted_13 = {
|
|
|
6064
6064
|
key: 1,
|
|
6065
6065
|
class: "onyx-table-wrapper__bottom"
|
|
6066
6066
|
};
|
|
6067
|
-
function _sfc_render$
|
|
6067
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6068
6068
|
return openBlock(), createElementBlock(
|
|
6069
6069
|
"div",
|
|
6070
6070
|
{
|
|
@@ -6072,11 +6072,11 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6072
6072
|
style: normalizeStyle($setup.style)
|
|
6073
6073
|
},
|
|
6074
6074
|
[
|
|
6075
|
-
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6075
|
+
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
6076
6076
|
createElementVNode("div", { id: $setup.headlineId }, [
|
|
6077
6077
|
renderSlot(_ctx.$slots, "headline")
|
|
6078
|
-
], 8, _hoisted_2$
|
|
6079
|
-
createElementVNode("div", _hoisted_3$
|
|
6078
|
+
], 8, _hoisted_2$x),
|
|
6079
|
+
createElementVNode("div", _hoisted_3$o, [
|
|
6080
6080
|
renderSlot(_ctx.$slots, "actions")
|
|
6081
6081
|
])
|
|
6082
6082
|
])) : createCommentVNode("v-if", true),
|
|
@@ -6153,8 +6153,8 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6153
6153
|
])
|
|
6154
6154
|
])
|
|
6155
6155
|
])
|
|
6156
|
-
], 10, _hoisted_5$
|
|
6157
|
-
], 16, _hoisted_4$
|
|
6156
|
+
], 10, _hoisted_5$d)
|
|
6157
|
+
], 16, _hoisted_4$i),
|
|
6158
6158
|
!!$setup.slots.bottomLeft || !!$setup.slots.pagination ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
6159
6159
|
createElementVNode("div", null, [
|
|
6160
6160
|
renderSlot(_ctx.$slots, "bottomLeft")
|
|
@@ -6168,8 +6168,8 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6168
6168
|
/* STYLE */
|
|
6169
6169
|
);
|
|
6170
6170
|
}
|
|
6171
|
-
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6172
|
-
const _sfc_main$
|
|
6171
|
+
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTable/OnyxTable.vue"]]);
|
|
6172
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
6173
6173
|
__name: "OnyxDataGridRenderer",
|
|
6174
6174
|
props: {
|
|
6175
6175
|
density: { type: null, required: false },
|
|
@@ -6205,7 +6205,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
6205
6205
|
return __returned__;
|
|
6206
6206
|
}
|
|
6207
6207
|
});
|
|
6208
|
-
function _sfc_render$
|
|
6208
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6209
6209
|
return openBlock(), createBlock($setup["OnyxTable"], mergeProps({ class: "onyx-data-grid" }, $setup.tableProps, {
|
|
6210
6210
|
"scroll-container-attrs": $setup.mergeVueProps($setup.props.scrollContainerAttrs, { style: $setup.columnStyle })
|
|
6211
6211
|
}), createSlots({
|
|
@@ -6312,8 +6312,8 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6312
6312
|
})
|
|
6313
6313
|
]), 1040, ["scroll-container-attrs"]);
|
|
6314
6314
|
}
|
|
6315
|
-
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6316
|
-
const _sfc_main$
|
|
6315
|
+
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGridRenderer/OnyxDataGridRenderer.vue"]]);
|
|
6316
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
6317
6317
|
...{ inheritAttrs: false },
|
|
6318
6318
|
__name: "OnyxMiniSearch",
|
|
6319
6319
|
props: {
|
|
@@ -6353,9 +6353,9 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
6353
6353
|
return __returned__;
|
|
6354
6354
|
}
|
|
6355
6355
|
});
|
|
6356
|
-
const _hoisted_1$
|
|
6357
|
-
const _hoisted_2$
|
|
6358
|
-
function _sfc_render$
|
|
6356
|
+
const _hoisted_1$F = ["autofocus", "placeholder", "aria-label"];
|
|
6357
|
+
const _hoisted_2$w = ["aria-label"];
|
|
6358
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6359
6359
|
return openBlock(), createElementBlock(
|
|
6360
6360
|
"div",
|
|
6361
6361
|
mergeProps({
|
|
@@ -6374,7 +6374,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6374
6374
|
size: "1"
|
|
6375
6375
|
}, $setup.restAttrs, {
|
|
6376
6376
|
"aria-label": $setup.props.label
|
|
6377
|
-
}), null, 16, _hoisted_1$
|
|
6377
|
+
}), null, 16, _hoisted_1$F), [
|
|
6378
6378
|
[vModelText, $setup.modelValue]
|
|
6379
6379
|
]),
|
|
6380
6380
|
createElementVNode("button", {
|
|
@@ -6387,7 +6387,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6387
6387
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.emit("clear"))
|
|
6388
6388
|
}, [
|
|
6389
6389
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
6390
|
-
], 40, _hoisted_2$
|
|
6390
|
+
], 40, _hoisted_2$w),
|
|
6391
6391
|
createVNode($setup["OnyxIcon"], {
|
|
6392
6392
|
class: "onyx-mini-search__icon",
|
|
6393
6393
|
icon: $setup.iconSearch
|
|
@@ -6397,11 +6397,11 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6397
6397
|
/* FULL_PROPS */
|
|
6398
6398
|
);
|
|
6399
6399
|
}
|
|
6400
|
-
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6400
|
+
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMiniSearch/OnyxMiniSearch.vue"]]);
|
|
6401
6401
|
const prepareMapping = (features, key) => features.flatMap((f) => f[key]).filter((f) => f?.func).sort((a, b) => (a?.order ?? 0) - (b?.order ?? 0));
|
|
6402
6402
|
const applyMapping = (mapping, input2) => mapping.reduce((output, m) => m.func(output), input2);
|
|
6403
6403
|
const DataGridRowOptionsSymbol = Symbol("RowOptions");
|
|
6404
|
-
const _sfc_main$
|
|
6404
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
6405
6405
|
__name: "HeaderCell",
|
|
6406
6406
|
props: {
|
|
6407
6407
|
label: { type: String, required: true }
|
|
@@ -6415,27 +6415,27 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
6415
6415
|
return __returned__;
|
|
6416
6416
|
}
|
|
6417
6417
|
});
|
|
6418
|
-
const _hoisted_1$
|
|
6419
|
-
const _hoisted_2$
|
|
6420
|
-
const _hoisted_3$
|
|
6418
|
+
const _hoisted_1$E = { class: "onyx-component onyx-data-grid-header-cell" };
|
|
6419
|
+
const _hoisted_2$v = { class: "onyx-data-grid-header-cell__label" };
|
|
6420
|
+
const _hoisted_3$n = {
|
|
6421
6421
|
key: 0,
|
|
6422
6422
|
class: "onyx-data-grid-header-cell__actions"
|
|
6423
6423
|
};
|
|
6424
|
-
function _sfc_render$
|
|
6425
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6424
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6425
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
6426
6426
|
createElementVNode(
|
|
6427
6427
|
"span",
|
|
6428
|
-
_hoisted_2$
|
|
6428
|
+
_hoisted_2$v,
|
|
6429
6429
|
toDisplayString($setup.props.label),
|
|
6430
6430
|
1
|
|
6431
6431
|
/* TEXT */
|
|
6432
6432
|
),
|
|
6433
|
-
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6433
|
+
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
|
|
6434
6434
|
renderSlot(_ctx.$slots, "actions")
|
|
6435
6435
|
])) : createCommentVNode("v-if", true)
|
|
6436
6436
|
]);
|
|
6437
6437
|
}
|
|
6438
|
-
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6438
|
+
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/HeaderCell.vue"]]);
|
|
6439
6439
|
const FALLBACK_RENDER_VALUE = "-";
|
|
6440
6440
|
const fallback = (opts) => opts?.fallback ?? FALLBACK_RENDER_VALUE;
|
|
6441
6441
|
const createTypeRenderer = (typeRenderer) => Object.freeze(typeRenderer);
|
|
@@ -6928,6 +6928,155 @@ const formatBytesToString = (locale, bytes) => {
|
|
|
6928
6928
|
unitDisplay: "narrow"
|
|
6929
6929
|
}).format(value);
|
|
6930
6930
|
};
|
|
6931
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
6932
|
+
__name: "OnyxInlinePagination",
|
|
6933
|
+
props: {
|
|
6934
|
+
density: { type: null, required: false },
|
|
6935
|
+
modelValue: { type: Number, required: true },
|
|
6936
|
+
pages: { type: Number, required: true },
|
|
6937
|
+
disabled: { type: Boolean, required: false },
|
|
6938
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
6939
|
+
type: { type: String, required: false }
|
|
6940
|
+
},
|
|
6941
|
+
emits: ["update:modelValue"],
|
|
6942
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
6943
|
+
__expose();
|
|
6944
|
+
const props = __props;
|
|
6945
|
+
const emit = __emit;
|
|
6946
|
+
const { t } = injectI18n();
|
|
6947
|
+
const { densityClass } = useDensity(props);
|
|
6948
|
+
const skeleton = useSkeletonContext(props);
|
|
6949
|
+
const hasReachedMin = computed(() => props.modelValue <= 1);
|
|
6950
|
+
const hasReachedMax = computed(() => props.modelValue >= props.pages);
|
|
6951
|
+
const displayPagesNumbers = computed(() => {
|
|
6952
|
+
const currentPage = props.modelValue;
|
|
6953
|
+
const totalPages = props.pages;
|
|
6954
|
+
const pagesToShow = /* @__PURE__ */ new Set();
|
|
6955
|
+
pagesToShow.add(1);
|
|
6956
|
+
pagesToShow.add(totalPages);
|
|
6957
|
+
pagesToShow.add(currentPage);
|
|
6958
|
+
pagesToShow.add(currentPage - 1);
|
|
6959
|
+
pagesToShow.add(currentPage + 1);
|
|
6960
|
+
if (currentPage === 1) pagesToShow.add(3);
|
|
6961
|
+
if (currentPage === totalPages) pagesToShow.add(totalPages - 2);
|
|
6962
|
+
const uniqueSortedPages = Array.from(pagesToShow).filter((page) => page >= 1 && page <= totalPages).sort((a, b) => a - b);
|
|
6963
|
+
const finalPages = [];
|
|
6964
|
+
let lastPageAdded = null;
|
|
6965
|
+
for (const page of uniqueSortedPages) {
|
|
6966
|
+
if (lastPageAdded !== null && page > lastPageAdded + 1) {
|
|
6967
|
+
finalPages.push("morePages");
|
|
6968
|
+
}
|
|
6969
|
+
finalPages.push(page);
|
|
6970
|
+
lastPageAdded = page;
|
|
6971
|
+
}
|
|
6972
|
+
return finalPages;
|
|
6973
|
+
});
|
|
6974
|
+
const __returned__ = { props, emit, t, densityClass, skeleton, hasReachedMin, hasReachedMax, displayPagesNumbers, get iconChevronLeftSmall() {
|
|
6975
|
+
return iconChevronLeftSmall;
|
|
6976
|
+
}, get iconChevronRightSmall() {
|
|
6977
|
+
return iconChevronRightSmall;
|
|
6978
|
+
}, OnyxIcon, OnyxSkeleton, OnyxVisuallyHidden };
|
|
6979
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
6980
|
+
return __returned__;
|
|
6981
|
+
}
|
|
6982
|
+
});
|
|
6983
|
+
const _hoisted_1$D = ["aria-label"];
|
|
6984
|
+
const _hoisted_2$u = ["aria-label", "disabled"];
|
|
6985
|
+
const _hoisted_3$m = ["aria-label", "disabled", "onClick"];
|
|
6986
|
+
const _hoisted_4$h = ["aria-label"];
|
|
6987
|
+
const _hoisted_5$c = ["aria-label", "disabled"];
|
|
6988
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6989
|
+
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
6990
|
+
key: 0,
|
|
6991
|
+
class: normalizeClass([
|
|
6992
|
+
"onyx-pagination-skeleton",
|
|
6993
|
+
"onyx-pagination-skeleton--inline",
|
|
6994
|
+
"onyx-text",
|
|
6995
|
+
$setup.densityClass
|
|
6996
|
+
])
|
|
6997
|
+
}, null, 8, ["class"])) : (openBlock(), createElementBlock("div", {
|
|
6998
|
+
key: 1,
|
|
6999
|
+
class: normalizeClass([
|
|
7000
|
+
"onyx-component",
|
|
7001
|
+
"onyx-pagination",
|
|
7002
|
+
"onyx-pagination--inline",
|
|
7003
|
+
"onyx-text",
|
|
7004
|
+
$setup.densityClass
|
|
7005
|
+
]),
|
|
7006
|
+
role: "group",
|
|
7007
|
+
"aria-label": $setup.t("pagination.label")
|
|
7008
|
+
}, [
|
|
7009
|
+
createElementVNode("button", {
|
|
7010
|
+
class: "onyx-pagination__navigate-button",
|
|
7011
|
+
"aria-label": $setup.t("pagination.previous"),
|
|
7012
|
+
type: "button",
|
|
7013
|
+
disabled: $setup.props.disabled || $setup.hasReachedMin,
|
|
7014
|
+
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue - 1))
|
|
7015
|
+
}, [
|
|
7016
|
+
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronLeftSmall }, null, 8, ["icon"])
|
|
7017
|
+
], 8, _hoisted_2$u),
|
|
7018
|
+
(openBlock(true), createElementBlock(
|
|
7019
|
+
Fragment,
|
|
7020
|
+
null,
|
|
7021
|
+
renderList($setup.displayPagesNumbers, (pageNumber) => {
|
|
7022
|
+
return openBlock(), createElementBlock(
|
|
7023
|
+
Fragment,
|
|
7024
|
+
{ key: pageNumber },
|
|
7025
|
+
[
|
|
7026
|
+
typeof pageNumber === "number" ? (openBlock(), createElementBlock("button", {
|
|
7027
|
+
key: 0,
|
|
7028
|
+
class: normalizeClass([
|
|
7029
|
+
"onyx-pagination__page-button",
|
|
7030
|
+
{ "onyx-pagination__page-button--active": pageNumber === $setup.props.modelValue }
|
|
7031
|
+
]),
|
|
7032
|
+
"aria-label": $setup.t("pagination.buttonLabel", { page: pageNumber }),
|
|
7033
|
+
type: "button",
|
|
7034
|
+
disabled: $setup.props.disabled,
|
|
7035
|
+
onClick: ($event) => $setup.emit("update:modelValue", pageNumber)
|
|
7036
|
+
}, toDisplayString(pageNumber), 11, _hoisted_3$m)) : (openBlock(), createElementBlock("div", {
|
|
7037
|
+
key: 1,
|
|
7038
|
+
class: normalizeClass(["onyx-pagination__more-pages"]),
|
|
7039
|
+
"aria-label": $setup.t("pagination.morePages")
|
|
7040
|
+
}, [
|
|
7041
|
+
_cache[2] || (_cache[2] = createElementVNode(
|
|
7042
|
+
"span",
|
|
7043
|
+
{ "aria-hidden": "true" },
|
|
7044
|
+
"...",
|
|
7045
|
+
-1
|
|
7046
|
+
/* CACHED */
|
|
7047
|
+
)),
|
|
7048
|
+
createVNode($setup["OnyxVisuallyHidden"], null, {
|
|
7049
|
+
default: withCtx(() => [
|
|
7050
|
+
createTextVNode(
|
|
7051
|
+
toDisplayString($setup.t("pagination.morePages")),
|
|
7052
|
+
1
|
|
7053
|
+
/* TEXT */
|
|
7054
|
+
)
|
|
7055
|
+
]),
|
|
7056
|
+
_: 1
|
|
7057
|
+
/* STABLE */
|
|
7058
|
+
})
|
|
7059
|
+
], 8, _hoisted_4$h))
|
|
7060
|
+
],
|
|
7061
|
+
64
|
|
7062
|
+
/* STABLE_FRAGMENT */
|
|
7063
|
+
);
|
|
7064
|
+
}),
|
|
7065
|
+
128
|
|
7066
|
+
/* KEYED_FRAGMENT */
|
|
7067
|
+
)),
|
|
7068
|
+
createElementVNode("button", {
|
|
7069
|
+
class: "onyx-pagination__navigate-button",
|
|
7070
|
+
"aria-label": $setup.t("pagination.next"),
|
|
7071
|
+
type: "button",
|
|
7072
|
+
disabled: $setup.props.disabled || $setup.hasReachedMax,
|
|
7073
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue + 1))
|
|
7074
|
+
}, [
|
|
7075
|
+
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
7076
|
+
], 8, _hoisted_5$c)
|
|
7077
|
+
], 10, _hoisted_1$D));
|
|
7078
|
+
}
|
|
7079
|
+
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxInlinePagination.vue"]]);
|
|
6931
7080
|
const useErrorClass = (showError) => computed(() => {
|
|
6932
7081
|
if (showError.value === true) {
|
|
6933
7082
|
return "onyx-form-element--immediate-invalid";
|
|
@@ -7922,7 +8071,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
7922
8071
|
modelValue: { type: Number, required: true },
|
|
7923
8072
|
pages: { type: Number, required: true },
|
|
7924
8073
|
disabled: { type: Boolean, required: false },
|
|
7925
|
-
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
8074
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
8075
|
+
type: { type: String, required: false }
|
|
7926
8076
|
},
|
|
7927
8077
|
emits: ["update:modelValue"],
|
|
7928
8078
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8034,29 +8184,38 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
8034
8184
|
modelValue: { type: Number, required: true },
|
|
8035
8185
|
pages: { type: Number, required: true },
|
|
8036
8186
|
disabled: { type: Boolean, required: false, default: false },
|
|
8037
|
-
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
8187
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
8188
|
+
type: { type: String, required: false }
|
|
8038
8189
|
},
|
|
8039
8190
|
emits: ["update:modelValue"],
|
|
8040
8191
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
8041
8192
|
__expose();
|
|
8042
8193
|
const props = __props;
|
|
8043
8194
|
const emit = __emit;
|
|
8044
|
-
const
|
|
8045
|
-
const __returned__ = { props, emit,
|
|
8195
|
+
const paginationProps = useForwardProps(props, OnyxSelectPagination);
|
|
8196
|
+
const __returned__ = { props, emit, paginationProps, OnyxInlinePagination, OnyxSelectPagination };
|
|
8046
8197
|
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
8047
8198
|
return __returned__;
|
|
8048
8199
|
}
|
|
8049
8200
|
});
|
|
8050
8201
|
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8051
|
-
return openBlock(), createBlock(
|
|
8052
|
-
$setup["
|
|
8053
|
-
mergeProps($setup.
|
|
8202
|
+
return $setup.props.type === "inline" ? (openBlock(), createBlock(
|
|
8203
|
+
$setup["OnyxInlinePagination"],
|
|
8204
|
+
mergeProps({ key: 0 }, $setup.paginationProps, {
|
|
8054
8205
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.emit("update:modelValue", $event))
|
|
8055
8206
|
}),
|
|
8056
8207
|
null,
|
|
8057
8208
|
16
|
|
8058
8209
|
/* FULL_PROPS */
|
|
8059
|
-
)
|
|
8210
|
+
)) : (openBlock(), createBlock(
|
|
8211
|
+
$setup["OnyxSelectPagination"],
|
|
8212
|
+
mergeProps({ key: 1 }, $setup.paginationProps, {
|
|
8213
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:modelValue", $event))
|
|
8214
|
+
}),
|
|
8215
|
+
null,
|
|
8216
|
+
16
|
|
8217
|
+
/* FULL_PROPS */
|
|
8218
|
+
));
|
|
8060
8219
|
}
|
|
8061
8220
|
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxPagination.vue"]]);
|
|
8062
8221
|
const SELECTION_FEATURE = Symbol("Selection");
|