sit-onyx 1.0.0-beta.310 → 1.0.0-beta.312
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/OnyxDialog/types.d.ts +4 -0
- package/dist/components/OnyxSegmentedControl/OnyxSegmentedControl.d.vue.ts +17 -0
- package/dist/components/OnyxSegmentedControl/types.d.ts +6 -6
- package/dist/components/OnyxSegmentedControlElement/OnyxSegmentedControlElement.d.vue.ts +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.esm-bundler.js +648 -504
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +1463 -1348
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -61,7 +61,7 @@ const useVModel = (options) => {
|
|
|
61
61
|
};
|
|
62
62
|
const ACCORDION_INJECTION_KEY = Symbol();
|
|
63
63
|
const ACCORDION_TYPES = ["default", "nested-large", "nested-small", "card"];
|
|
64
|
-
const _sfc_main$
|
|
64
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
65
65
|
__name: "OnyxAccordion",
|
|
66
66
|
props: {
|
|
67
67
|
density: { type: null, required: false },
|
|
@@ -131,7 +131,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
131
131
|
}
|
|
132
132
|
return target;
|
|
133
133
|
};
|
|
134
|
-
function _sfc_render$
|
|
134
|
+
function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
135
|
return openBlock(), createElementBlock(
|
|
136
136
|
"div",
|
|
137
137
|
{
|
|
@@ -149,8 +149,8 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
149
149
|
/* CLASS */
|
|
150
150
|
);
|
|
151
151
|
}
|
|
152
|
-
const OnyxAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
153
|
-
const _sfc_main$
|
|
152
|
+
const OnyxAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAccordion/OnyxAccordion.vue"]]);
|
|
153
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
154
154
|
__name: "OnyxIcon",
|
|
155
155
|
props: {
|
|
156
156
|
size: { type: null, required: false },
|
|
@@ -166,8 +166,8 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
return __returned__;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
const _hoisted_1$
|
|
170
|
-
function _sfc_render$
|
|
169
|
+
const _hoisted_1$17 = ["innerHTML"];
|
|
170
|
+
function _sfc_render$1B(_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$1z(_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$17);
|
|
182
182
|
}
|
|
183
|
-
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
183
|
+
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__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$1A = /* @__PURE__ */ defineComponent({
|
|
200
200
|
__name: "OnyxSkeleton",
|
|
201
201
|
setup(__props, { expose: __expose }) {
|
|
202
202
|
__expose();
|
|
@@ -206,15 +206,15 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return __returned__;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
const _hoisted_1$
|
|
209
|
+
const _hoisted_1$16 = {
|
|
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$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
214
|
+
return openBlock(), createElementBlock("figure", _hoisted_1$16);
|
|
215
215
|
}
|
|
216
|
-
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
217
|
-
const _sfc_main$
|
|
216
|
+
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSkeleton/OnyxSkeleton.vue"]]);
|
|
217
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
218
218
|
__name: "OnyxAccordionItem",
|
|
219
219
|
props: {
|
|
220
220
|
density: { type: null, required: false },
|
|
@@ -251,11 +251,11 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
return __returned__;
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
const _hoisted_1$
|
|
255
|
-
const _hoisted_2$
|
|
256
|
-
const _hoisted_3$
|
|
254
|
+
const _hoisted_1$15 = ["open"];
|
|
255
|
+
const _hoisted_2$M = ["id", "tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
256
|
+
const _hoisted_3$t = { class: "onyx-accordion-item__header-content" };
|
|
257
257
|
const _hoisted_4$k = ["id", "aria-labelledby"];
|
|
258
|
-
function _sfc_render$
|
|
258
|
+
function _sfc_render$1z(_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$1x(_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$t, [
|
|
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$M),
|
|
302
302
|
createElementVNode("div", {
|
|
303
303
|
id: $setup.panelId,
|
|
304
304
|
class: "onyx-accordion-item__panel",
|
|
@@ -307,9 +307,9 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
307
307
|
}, [
|
|
308
308
|
renderSlot(_ctx.$slots, "default")
|
|
309
309
|
], 8, _hoisted_4$k)
|
|
310
|
-
], 10, _hoisted_1$
|
|
310
|
+
], 10, _hoisted_1$15));
|
|
311
311
|
}
|
|
312
|
-
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
312
|
+
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__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" },
|
|
@@ -1226,7 +1226,7 @@ const createTooltip = createBuilder(({ debounce: debounce2, isVisible }) => {
|
|
|
1226
1226
|
}
|
|
1227
1227
|
};
|
|
1228
1228
|
});
|
|
1229
|
-
const _sfc_main$
|
|
1229
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
1230
1230
|
__name: "OnyxBasicDialog",
|
|
1231
1231
|
props: {
|
|
1232
1232
|
density: { type: null, required: false },
|
|
@@ -1282,12 +1282,12 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
1282
1282
|
return __returned__;
|
|
1283
1283
|
}
|
|
1284
1284
|
});
|
|
1285
|
-
const _hoisted_1$
|
|
1286
|
-
const _hoisted_2$
|
|
1285
|
+
const _hoisted_1$14 = ["aria-modal", "aria-label", "role"];
|
|
1286
|
+
const _hoisted_2$L = {
|
|
1287
1287
|
ref: "contentRef",
|
|
1288
1288
|
class: "onyx-basic-dialog__content"
|
|
1289
1289
|
};
|
|
1290
|
-
function _sfc_render$
|
|
1290
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1291
1291
|
return $setup.props.open ? (openBlock(), createElementBlock("dialog", {
|
|
1292
1292
|
key: 0,
|
|
1293
1293
|
ref: "dialogRef",
|
|
@@ -1306,16 +1306,16 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1306
1306
|
}, [
|
|
1307
1307
|
createElementVNode(
|
|
1308
1308
|
"div",
|
|
1309
|
-
_hoisted_2$
|
|
1309
|
+
_hoisted_2$L,
|
|
1310
1310
|
[
|
|
1311
1311
|
renderSlot(_ctx.$slots, "default")
|
|
1312
1312
|
],
|
|
1313
1313
|
512
|
|
1314
1314
|
/* NEED_PATCH */
|
|
1315
1315
|
)
|
|
1316
|
-
], 42, _hoisted_1$
|
|
1316
|
+
], 42, _hoisted_1$14)) : createCommentVNode("v-if", true);
|
|
1317
1317
|
}
|
|
1318
|
-
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1318
|
+
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicDialog/OnyxBasicDialog.vue"]]);
|
|
1319
1319
|
const normalizedIncludes = (haystack, needle) => {
|
|
1320
1320
|
const haystackNormalized = removeDiacritics(haystack.toLowerCase());
|
|
1321
1321
|
const needleNormalized = removeDiacritics(needle.toLowerCase());
|
|
@@ -1397,7 +1397,7 @@ const normalizeHref = (href) => {
|
|
|
1397
1397
|
return value.replace(/\/+$/, "");
|
|
1398
1398
|
};
|
|
1399
1399
|
const ROUTER_INJECTION_KEY = Symbol();
|
|
1400
|
-
const _sfc_main$
|
|
1400
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
1401
1401
|
__name: "OnyxVisuallyHidden",
|
|
1402
1402
|
props: {
|
|
1403
1403
|
is: { type: String, required: false, default: "span" }
|
|
@@ -1410,7 +1410,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
1410
1410
|
return __returned__;
|
|
1411
1411
|
}
|
|
1412
1412
|
});
|
|
1413
|
-
function _sfc_render$
|
|
1413
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1414
1414
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.is), { class: "onyx-component onyx-visually-hidden" }, {
|
|
1415
1415
|
default: withCtx(() => [
|
|
1416
1416
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -1419,8 +1419,8 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1419
1419
|
/* FORWARDED */
|
|
1420
1420
|
});
|
|
1421
1421
|
}
|
|
1422
|
-
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1423
|
-
const _sfc_main$
|
|
1422
|
+
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue"]]);
|
|
1423
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
1424
1424
|
__name: "OnyxRouterLink",
|
|
1425
1425
|
props: {
|
|
1426
1426
|
href: { type: String, required: true },
|
|
@@ -1436,8 +1436,8 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
1436
1436
|
return __returned__;
|
|
1437
1437
|
}
|
|
1438
1438
|
});
|
|
1439
|
-
const _hoisted_1$
|
|
1440
|
-
function _sfc_render$
|
|
1439
|
+
const _hoisted_1$13 = ["href", "target", "rel"];
|
|
1440
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1441
1441
|
return openBlock(), createElementBlock("a", {
|
|
1442
1442
|
class: normalizeClass([
|
|
1443
1443
|
"onyx-component",
|
|
@@ -1461,10 +1461,10 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1461
1461
|
_: 1
|
|
1462
1462
|
/* STABLE */
|
|
1463
1463
|
})) : createCommentVNode("v-if", true)
|
|
1464
|
-
], 10, _hoisted_1$
|
|
1464
|
+
], 10, _hoisted_1$13);
|
|
1465
1465
|
}
|
|
1466
|
-
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1467
|
-
const _sfc_main$
|
|
1466
|
+
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRouterLink/OnyxRouterLink.vue"]]);
|
|
1467
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
1468
1468
|
__name: "OnyxHeadline",
|
|
1469
1469
|
props: {
|
|
1470
1470
|
is: { type: null, required: true },
|
|
@@ -1489,7 +1489,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
1489
1489
|
return __returned__;
|
|
1490
1490
|
}
|
|
1491
1491
|
});
|
|
1492
|
-
function _sfc_render$
|
|
1492
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1493
1493
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
1494
1494
|
key: 0,
|
|
1495
1495
|
class: normalizeClass(["onyx-headline-skeleton", `onyx-headline-skeleton--${$setup.showAs}`])
|
|
@@ -1529,7 +1529,7 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1529
1529
|
/* FORWARDED */
|
|
1530
1530
|
}, 8, ["id", "class"]));
|
|
1531
1531
|
}
|
|
1532
|
-
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1532
|
+
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxHeadline/OnyxHeadline.vue"]]);
|
|
1533
1533
|
const useAutofocus = (inputRef, props) => {
|
|
1534
1534
|
if (!props.autofocus) {
|
|
1535
1535
|
return;
|
|
@@ -1580,7 +1580,7 @@ const useFormContext = (props) => {
|
|
|
1580
1580
|
DEFAULT_FORM_INJECTION_CONTEXT
|
|
1581
1581
|
)(toRef(props));
|
|
1582
1582
|
};
|
|
1583
|
-
const _sfc_main$
|
|
1583
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
1584
1584
|
__name: "ButtonOrLinkLayout",
|
|
1585
1585
|
props: {
|
|
1586
1586
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -1603,8 +1603,8 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
1603
1603
|
return __returned__;
|
|
1604
1604
|
}
|
|
1605
1605
|
});
|
|
1606
|
-
const _hoisted_1$
|
|
1607
|
-
function _sfc_render$
|
|
1606
|
+
const _hoisted_1$12 = ["disabled", "type", "autofocus"];
|
|
1607
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1608
1608
|
return $setup.linkProps ? (openBlock(), createBlock(
|
|
1609
1609
|
$setup["OnyxRouterLink"],
|
|
1610
1610
|
normalizeProps(mergeProps({ key: 0 }, $setup.linkProps)),
|
|
@@ -1625,10 +1625,10 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1625
1625
|
autofocus: $setup.props.autofocus
|
|
1626
1626
|
}, [
|
|
1627
1627
|
renderSlot(_ctx.$slots, "default")
|
|
1628
|
-
], 8, _hoisted_1$
|
|
1628
|
+
], 8, _hoisted_1$12));
|
|
1629
1629
|
}
|
|
1630
|
-
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1631
|
-
const _sfc_main$
|
|
1630
|
+
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/ButtonOrLinkLayout.vue"]]);
|
|
1631
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
1632
1632
|
__name: "OnyxSystemButton",
|
|
1633
1633
|
props: {
|
|
1634
1634
|
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
@@ -1648,7 +1648,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
1648
1648
|
return __returned__;
|
|
1649
1649
|
}
|
|
1650
1650
|
});
|
|
1651
|
-
function _sfc_render$
|
|
1651
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1652
1652
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
1653
1653
|
key: 0,
|
|
1654
1654
|
class: normalizeClass(["onyx-system-button-skeleton", $setup.props.icon ? "" : "onyx-system-button-skeleton--text"])
|
|
@@ -1680,8 +1680,8 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1680
1680
|
/* STABLE */
|
|
1681
1681
|
}, 16, ["class", "aria-label", "title"]));
|
|
1682
1682
|
}
|
|
1683
|
-
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1684
|
-
const _sfc_main$
|
|
1683
|
+
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSystemButton/OnyxSystemButton.vue"]]);
|
|
1684
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
1685
1685
|
__name: "OnyxAlertModal",
|
|
1686
1686
|
props: {
|
|
1687
1687
|
density: { type: null, required: false },
|
|
@@ -1705,11 +1705,11 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
1705
1705
|
return __returned__;
|
|
1706
1706
|
}
|
|
1707
1707
|
});
|
|
1708
|
-
const _hoisted_1$
|
|
1709
|
-
const _hoisted_2$
|
|
1710
|
-
const _hoisted_3$
|
|
1708
|
+
const _hoisted_1$11 = { class: "onyx-alert-modal__content" };
|
|
1709
|
+
const _hoisted_2$K = { class: "onyx-alert-modal__headline" };
|
|
1710
|
+
const _hoisted_3$s = ["id"];
|
|
1711
1711
|
const _hoisted_4$j = { class: "onyx-alert-modal__actions" };
|
|
1712
|
-
function _sfc_render$
|
|
1712
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1713
1713
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps({
|
|
1714
1714
|
class: ["onyx-alert-modal", $setup.densityClass]
|
|
1715
1715
|
}, $setup.props, {
|
|
@@ -1719,7 +1719,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1719
1719
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
1720
1720
|
}), {
|
|
1721
1721
|
default: withCtx(() => [
|
|
1722
|
-
createElementVNode("div", _hoisted_1$
|
|
1722
|
+
createElementVNode("div", _hoisted_1$11, [
|
|
1723
1723
|
$setup.props.icon ? (openBlock(), createBlock(
|
|
1724
1724
|
$setup["OnyxIcon"],
|
|
1725
1725
|
mergeProps({
|
|
@@ -1731,7 +1731,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1731
1731
|
/* FULL_PROPS */
|
|
1732
1732
|
)) : createCommentVNode("v-if", true),
|
|
1733
1733
|
createElementVNode("div", null, [
|
|
1734
|
-
createElementVNode("div", _hoisted_2$
|
|
1734
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
1735
1735
|
renderSlot(_ctx.$slots, "headline", {
|
|
1736
1736
|
label: $setup.props.label
|
|
1737
1737
|
}, () => [
|
|
@@ -1759,7 +1759,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1759
1759
|
class: "onyx-alert-modal__body onyx-truncation"
|
|
1760
1760
|
}, [
|
|
1761
1761
|
renderSlot(_ctx.$slots, "default")
|
|
1762
|
-
], 8, _hoisted_3$
|
|
1762
|
+
], 8, _hoisted_3$s)
|
|
1763
1763
|
])
|
|
1764
1764
|
]),
|
|
1765
1765
|
createElementVNode("div", _hoisted_4$j, [
|
|
@@ -1770,7 +1770,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1770
1770
|
/* FORWARDED */
|
|
1771
1771
|
}, 16, ["class", "aria-describedby"]);
|
|
1772
1772
|
}
|
|
1773
|
-
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1773
|
+
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAlertModal/OnyxAlertModal.vue"]]);
|
|
1774
1774
|
const useRootAttrs = () => {
|
|
1775
1775
|
const attrs = useAttrs();
|
|
1776
1776
|
const rootAttrs = computed(
|
|
@@ -1852,7 +1852,7 @@ const mergeVueProps = (...args) => args.reduce((prev, curr) => {
|
|
|
1852
1852
|
merged.ref = mergedRef;
|
|
1853
1853
|
return merged;
|
|
1854
1854
|
}, {});
|
|
1855
|
-
const _sfc_main$
|
|
1855
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
1856
1856
|
__name: "OnyxFABButton",
|
|
1857
1857
|
props: {
|
|
1858
1858
|
density: { type: null, required: false },
|
|
@@ -1872,11 +1872,11 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
1872
1872
|
return __returned__;
|
|
1873
1873
|
}
|
|
1874
1874
|
});
|
|
1875
|
-
const _hoisted_1
|
|
1875
|
+
const _hoisted_1$10 = {
|
|
1876
1876
|
key: 1,
|
|
1877
1877
|
class: "onyx-fab-button__label"
|
|
1878
1878
|
};
|
|
1879
|
-
function _sfc_render$
|
|
1879
|
+
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1880
1880
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
1881
1881
|
key: 0,
|
|
1882
1882
|
class: normalizeClass(["onyx-fab-button-skeleton", $setup.densityClass])
|
|
@@ -1894,7 +1894,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1894
1894
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
1895
1895
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
1896
1896
|
"span",
|
|
1897
|
-
_hoisted_1
|
|
1897
|
+
_hoisted_1$10,
|
|
1898
1898
|
toDisplayString($setup.props.label),
|
|
1899
1899
|
1
|
|
1900
1900
|
/* TEXT */
|
|
@@ -1904,7 +1904,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1904
1904
|
/* STABLE */
|
|
1905
1905
|
}, 8, ["class", "title", "aria-label", "link"]));
|
|
1906
1906
|
}
|
|
1907
|
-
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1907
|
+
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABButton/OnyxFABButton.vue"]]);
|
|
1908
1908
|
const useResizeObserver = (target, options) => {
|
|
1909
1909
|
const box = "content-box";
|
|
1910
1910
|
const width = ref(0);
|
|
@@ -2140,7 +2140,7 @@ const findParentWithHiddenOverflow = (element) => {
|
|
|
2140
2140
|
}
|
|
2141
2141
|
return element.parentElement ? findParentWithHiddenOverflow(element.parentElement) : void 0;
|
|
2142
2142
|
};
|
|
2143
|
-
const _sfc_main$
|
|
2143
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
2144
2144
|
__name: "OnyxBasicPopover",
|
|
2145
2145
|
props: {
|
|
2146
2146
|
label: { type: String, required: true },
|
|
@@ -2283,8 +2283,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
2283
2283
|
return __returned__;
|
|
2284
2284
|
}
|
|
2285
2285
|
});
|
|
2286
|
-
const _hoisted_1
|
|
2287
|
-
function _sfc_render$
|
|
2286
|
+
const _hoisted_1$$ = ["role", "aria-label"];
|
|
2287
|
+
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2288
2288
|
return openBlock(), createElementBlock(
|
|
2289
2289
|
"div",
|
|
2290
2290
|
{
|
|
@@ -2303,14 +2303,14 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2303
2303
|
style: normalizeStyle($setup.popoverStyles)
|
|
2304
2304
|
}, [
|
|
2305
2305
|
renderSlot(_ctx.$slots, "content")
|
|
2306
|
-
], 14, _hoisted_1
|
|
2306
|
+
], 14, _hoisted_1$$)
|
|
2307
2307
|
],
|
|
2308
2308
|
4
|
|
2309
2309
|
/* STYLE */
|
|
2310
2310
|
);
|
|
2311
2311
|
}
|
|
2312
|
-
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2313
|
-
const _sfc_main$
|
|
2312
|
+
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicPopover/OnyxBasicPopover.vue"]]);
|
|
2313
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
2314
2314
|
__name: "OnyxFlyoutMenu",
|
|
2315
2315
|
props: {
|
|
2316
2316
|
alignment: { type: String, required: false, default: "auto" },
|
|
@@ -2349,9 +2349,9 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
2349
2349
|
return __returned__;
|
|
2350
2350
|
}
|
|
2351
2351
|
});
|
|
2352
|
-
const _hoisted_1$
|
|
2353
|
-
const _hoisted_2$
|
|
2354
|
-
function _sfc_render$
|
|
2352
|
+
const _hoisted_1$_ = { class: "onyx-flyout-menu__list-header" };
|
|
2353
|
+
const _hoisted_2$J = { class: "onyx-flyout-menu__list-footer" };
|
|
2354
|
+
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2355
2355
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.mergeVueProps($setup.root, { ref: $setup.popover }), {
|
|
2356
2356
|
class: "onyx-component onyx-flyout-menu",
|
|
2357
2357
|
open: $setup.isExpanded,
|
|
@@ -2360,7 +2360,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2360
2360
|
disabled: $props.disabled
|
|
2361
2361
|
}), createSlots({
|
|
2362
2362
|
content: withCtx(() => [
|
|
2363
|
-
createElementVNode("div", _hoisted_1$
|
|
2363
|
+
createElementVNode("div", _hoisted_1$_, [
|
|
2364
2364
|
renderSlot(_ctx.$slots, "header")
|
|
2365
2365
|
]),
|
|
2366
2366
|
$setup.slots.options ? (openBlock(), createElementBlock(
|
|
@@ -2372,7 +2372,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2372
2372
|
16
|
|
2373
2373
|
/* FULL_PROPS */
|
|
2374
2374
|
)) : createCommentVNode("v-if", true),
|
|
2375
|
-
createElementVNode("div", _hoisted_2$
|
|
2375
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
2376
2376
|
renderSlot(_ctx.$slots, "footer")
|
|
2377
2377
|
])
|
|
2378
2378
|
]),
|
|
@@ -2388,8 +2388,8 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2388
2388
|
} : void 0
|
|
2389
2389
|
]), 1040, ["open", "label", "alignment", "disabled"]);
|
|
2390
2390
|
}
|
|
2391
|
-
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2392
|
-
const _sfc_main$
|
|
2391
|
+
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue"]]);
|
|
2392
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
2393
2393
|
__name: "OnyxFAB",
|
|
2394
2394
|
props: {
|
|
2395
2395
|
density: { type: null, required: false },
|
|
@@ -2427,7 +2427,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
2427
2427
|
return __returned__;
|
|
2428
2428
|
}
|
|
2429
2429
|
});
|
|
2430
|
-
function _sfc_render$
|
|
2430
|
+
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2431
2431
|
return !$setup.hasOptions || $setup.skeleton ? (openBlock(), createBlock($setup["OnyxFABButton"], mergeProps({
|
|
2432
2432
|
key: 0,
|
|
2433
2433
|
class: ["onyx-fab", `onyx-fab--${$setup.props.alignment}`]
|
|
@@ -2457,8 +2457,8 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2457
2457
|
/* FORWARDED */
|
|
2458
2458
|
}, 8, ["open", "label", "class", "alignment"]));
|
|
2459
2459
|
}
|
|
2460
|
-
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2461
|
-
const _sfc_main$
|
|
2460
|
+
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFAB/OnyxFAB.vue"]]);
|
|
2461
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
2462
2462
|
__name: "OnyxFABItem",
|
|
2463
2463
|
props: {
|
|
2464
2464
|
density: { type: null, required: false },
|
|
@@ -2481,7 +2481,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2481
2481
|
return __returned__;
|
|
2482
2482
|
}
|
|
2483
2483
|
});
|
|
2484
|
-
function _sfc_render$
|
|
2484
|
+
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2485
2485
|
return openBlock(), createElementBlock(
|
|
2486
2486
|
"li",
|
|
2487
2487
|
mergeProps({
|
|
@@ -2496,7 +2496,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2496
2496
|
/* FULL_PROPS */
|
|
2497
2497
|
);
|
|
2498
2498
|
}
|
|
2499
|
-
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2499
|
+
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABItem/OnyxFABItem.vue"]]);
|
|
2500
2500
|
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = Symbol();
|
|
2501
2501
|
const createGlobalFABProvider = () => {
|
|
2502
2502
|
const items = shallowRef([]);
|
|
@@ -2533,7 +2533,7 @@ const useGlobalFAB = () => {
|
|
|
2533
2533
|
);
|
|
2534
2534
|
return globalFABProvider;
|
|
2535
2535
|
};
|
|
2536
|
-
const _sfc_main$
|
|
2536
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
2537
2537
|
__name: "OnyxGlobalFAB",
|
|
2538
2538
|
setup(__props, { expose: __expose }) {
|
|
2539
2539
|
__expose();
|
|
@@ -2547,7 +2547,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
2547
2547
|
return __returned__;
|
|
2548
2548
|
}
|
|
2549
2549
|
});
|
|
2550
|
-
function _sfc_render$
|
|
2550
|
+
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2551
2551
|
return $setup.globalFAB.items.value.length === 1 ? (openBlock(), createBlock(
|
|
2552
2552
|
$setup["OnyxFAB"],
|
|
2553
2553
|
normalizeProps(mergeProps({ key: 0 }, $setup.globalFAB.items.value[0].value)),
|
|
@@ -2582,8 +2582,8 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2582
2582
|
/* STABLE */
|
|
2583
2583
|
}, 8, ["label", "alignment"])) : createCommentVNode("v-if", true);
|
|
2584
2584
|
}
|
|
2585
|
-
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2586
|
-
const _sfc_main$
|
|
2585
|
+
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalFAB/OnyxGlobalFAB.vue"]]);
|
|
2586
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
2587
2587
|
__name: "OnyxToastMessage",
|
|
2588
2588
|
props: {
|
|
2589
2589
|
density: { type: null, required: false },
|
|
@@ -2619,9 +2619,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
2619
2619
|
return __returned__;
|
|
2620
2620
|
}
|
|
2621
2621
|
});
|
|
2622
|
-
const _hoisted_1$
|
|
2623
|
-
const _hoisted_2$
|
|
2624
|
-
const _hoisted_3$
|
|
2622
|
+
const _hoisted_1$Z = { class: "onyx-toast-message__wrapper" };
|
|
2623
|
+
const _hoisted_2$I = { class: "onyx-toast-message__content onyx-truncation-ellipsis" };
|
|
2624
|
+
const _hoisted_3$r = { class: "onyx-toast-message__headline onyx-text" };
|
|
2625
2625
|
const _hoisted_4$i = { class: "onyx-truncation-ellipsis" };
|
|
2626
2626
|
const _hoisted_5$d = ["aria-label"];
|
|
2627
2627
|
const _hoisted_6$a = {
|
|
@@ -2629,20 +2629,20 @@ const _hoisted_6$a = {
|
|
|
2629
2629
|
class: "onyx-toast-message__description onyx-text--small onyx-truncation-multiline",
|
|
2630
2630
|
tabindex: "0"
|
|
2631
2631
|
};
|
|
2632
|
-
function _sfc_render$
|
|
2632
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2633
2633
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.clickable ? "button" : "div"), {
|
|
2634
2634
|
class: normalizeClass(["onyx-component onyx-toast-message", [`onyx-toast-message--${$setup.props.color}`, $setup.densityClass]]),
|
|
2635
2635
|
role: $setup.props.color === "danger" || $setup.props.color === "warning" ? "alert" : "status",
|
|
2636
2636
|
"aria-label": $setup.props.clickable ? $setup.props.headline : void 0
|
|
2637
2637
|
}, {
|
|
2638
2638
|
default: withCtx(() => [
|
|
2639
|
-
createElementVNode("div", _hoisted_1$
|
|
2639
|
+
createElementVNode("div", _hoisted_1$Z, [
|
|
2640
2640
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
2641
2641
|
key: 0,
|
|
2642
2642
|
icon: $setup.icon
|
|
2643
2643
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
2644
|
-
createElementVNode("div", _hoisted_2$
|
|
2645
|
-
createElementVNode("div", _hoisted_3$
|
|
2644
|
+
createElementVNode("div", _hoisted_2$I, [
|
|
2645
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
2646
2646
|
createElementVNode(
|
|
2647
2647
|
"span",
|
|
2648
2648
|
_hoisted_4$i,
|
|
@@ -2687,7 +2687,7 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2687
2687
|
/* STABLE */
|
|
2688
2688
|
}, 8, ["class", "role", "aria-label"]);
|
|
2689
2689
|
}
|
|
2690
|
-
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2690
|
+
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToastMessage/OnyxToastMessage.vue"]]);
|
|
2691
2691
|
const TOAST_PROVIDER_INJECTION_KEY = Symbol();
|
|
2692
2692
|
const createToastProvider = () => {
|
|
2693
2693
|
let nextId = 1;
|
|
@@ -2730,7 +2730,7 @@ const useToast = () => {
|
|
|
2730
2730
|
);
|
|
2731
2731
|
return toastProvider;
|
|
2732
2732
|
};
|
|
2733
|
-
const _sfc_main$
|
|
2733
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
2734
2734
|
__name: "OnyxToast",
|
|
2735
2735
|
setup(__props, { expose: __expose }) {
|
|
2736
2736
|
__expose();
|
|
@@ -2740,15 +2740,15 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
2740
2740
|
return __returned__;
|
|
2741
2741
|
}
|
|
2742
2742
|
});
|
|
2743
|
-
const _hoisted_1$
|
|
2743
|
+
const _hoisted_1$Y = {
|
|
2744
2744
|
key: 0,
|
|
2745
2745
|
class: "onyx-component onyx-toast",
|
|
2746
2746
|
role: "presentation",
|
|
2747
2747
|
"aria-live": "polite",
|
|
2748
2748
|
open: ""
|
|
2749
2749
|
};
|
|
2750
|
-
function _sfc_render$
|
|
2751
|
-
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
2750
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2751
|
+
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$Y, [
|
|
2752
2752
|
(openBlock(true), createElementBlock(
|
|
2753
2753
|
Fragment,
|
|
2754
2754
|
null,
|
|
@@ -2766,8 +2766,8 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2766
2766
|
))
|
|
2767
2767
|
])) : createCommentVNode("v-if", true);
|
|
2768
2768
|
}
|
|
2769
|
-
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2770
|
-
const _sfc_main$
|
|
2769
|
+
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToast/OnyxToast.vue"]]);
|
|
2770
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
2771
2771
|
__name: "OnyxAppLayout",
|
|
2772
2772
|
props: {
|
|
2773
2773
|
navBarAlignment: { type: String, required: false, default: "top" }
|
|
@@ -2781,22 +2781,22 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
2781
2781
|
return __returned__;
|
|
2782
2782
|
}
|
|
2783
2783
|
});
|
|
2784
|
-
const _hoisted_1$
|
|
2784
|
+
const _hoisted_1$X = {
|
|
2785
2785
|
key: 0,
|
|
2786
2786
|
class: "onyx-app__nav"
|
|
2787
2787
|
};
|
|
2788
|
-
const _hoisted_2$
|
|
2789
|
-
function _sfc_render$
|
|
2788
|
+
const _hoisted_2$H = { class: "onyx-app__page" };
|
|
2789
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2790
2790
|
return openBlock(), createElementBlock(
|
|
2791
2791
|
"div",
|
|
2792
2792
|
{
|
|
2793
2793
|
class: normalizeClass(["onyx-component onyx-app", { "onyx-app--horizontal": $setup.props.navBarAlignment === "left" }])
|
|
2794
2794
|
},
|
|
2795
2795
|
[
|
|
2796
|
-
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2796
|
+
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
2797
2797
|
renderSlot(_ctx.$slots, "navBar")
|
|
2798
2798
|
])) : createCommentVNode("v-if", true),
|
|
2799
|
-
createElementVNode("div", _hoisted_2$
|
|
2799
|
+
createElementVNode("div", _hoisted_2$H, [
|
|
2800
2800
|
renderSlot(_ctx.$slots, "default")
|
|
2801
2801
|
]),
|
|
2802
2802
|
createVNode($setup["OnyxToast"]),
|
|
@@ -2806,8 +2806,8 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2806
2806
|
/* CLASS */
|
|
2807
2807
|
);
|
|
2808
2808
|
}
|
|
2809
|
-
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2810
|
-
const _sfc_main$
|
|
2809
|
+
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAppLayout/OnyxAppLayout.vue"]]);
|
|
2810
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
2811
2811
|
__name: "OnyxAvatar",
|
|
2812
2812
|
props: {
|
|
2813
2813
|
size: { type: null, required: false, default: "48px" },
|
|
@@ -2841,13 +2841,13 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
2841
2841
|
return __returned__;
|
|
2842
2842
|
}
|
|
2843
2843
|
});
|
|
2844
|
-
const _hoisted_1$
|
|
2845
|
-
const _hoisted_2$
|
|
2846
|
-
const _hoisted_3$
|
|
2844
|
+
const _hoisted_1$W = ["title", "aria-label"];
|
|
2845
|
+
const _hoisted_2$G = ["src", "alt"];
|
|
2846
|
+
const _hoisted_3$q = {
|
|
2847
2847
|
key: 0,
|
|
2848
2848
|
class: "onyx-avatar__initials"
|
|
2849
2849
|
};
|
|
2850
|
-
function _sfc_render$
|
|
2850
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2851
2851
|
return openBlock(), createElementBlock("figure", {
|
|
2852
2852
|
class: normalizeClass([
|
|
2853
2853
|
"onyx-component",
|
|
@@ -2864,13 +2864,13 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2864
2864
|
src: $setup.props.src,
|
|
2865
2865
|
alt: $setup.ariaLabel,
|
|
2866
2866
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.hasImageError = true)
|
|
2867
|
-
}, null, 40, _hoisted_2$
|
|
2867
|
+
}, null, 40, _hoisted_2$G)) : (openBlock(), createElementBlock(
|
|
2868
2868
|
Fragment,
|
|
2869
2869
|
{ key: 1 },
|
|
2870
2870
|
[
|
|
2871
2871
|
$setup.initials ? (openBlock(), createElementBlock(
|
|
2872
2872
|
"div",
|
|
2873
|
-
_hoisted_3$
|
|
2873
|
+
_hoisted_3$q,
|
|
2874
2874
|
toDisplayString($setup.initials),
|
|
2875
2875
|
1
|
|
2876
2876
|
/* TEXT */
|
|
@@ -2883,10 +2883,10 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2883
2883
|
64
|
|
2884
2884
|
/* STABLE_FRAGMENT */
|
|
2885
2885
|
))
|
|
2886
|
-
], 10, _hoisted_1$
|
|
2886
|
+
], 10, _hoisted_1$W);
|
|
2887
2887
|
}
|
|
2888
|
-
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2889
|
-
const _sfc_main$
|
|
2888
|
+
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatar/OnyxAvatar.vue"]]);
|
|
2889
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
2890
2890
|
__name: "OnyxAvatarStack",
|
|
2891
2891
|
setup(__props, { expose: __expose }) {
|
|
2892
2892
|
__expose();
|
|
@@ -2895,14 +2895,14 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2895
2895
|
return __returned__;
|
|
2896
2896
|
}
|
|
2897
2897
|
});
|
|
2898
|
-
const _hoisted_1$
|
|
2899
|
-
function _sfc_render$
|
|
2900
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2898
|
+
const _hoisted_1$V = { class: "onyx-component onyx-avatar-stack" };
|
|
2899
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2900
|
+
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
2901
2901
|
renderSlot(_ctx.$slots, "default")
|
|
2902
2902
|
]);
|
|
2903
2903
|
}
|
|
2904
|
-
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2905
|
-
const _sfc_main$
|
|
2904
|
+
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatarStack/OnyxAvatarStack.vue"]]);
|
|
2905
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
2906
2906
|
__name: "OnyxBadge",
|
|
2907
2907
|
props: {
|
|
2908
2908
|
density: { type: null, required: false },
|
|
@@ -2919,7 +2919,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
2919
2919
|
return __returned__;
|
|
2920
2920
|
}
|
|
2921
2921
|
});
|
|
2922
|
-
function _sfc_render$
|
|
2922
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2923
2923
|
return openBlock(), createElementBlock(
|
|
2924
2924
|
"div",
|
|
2925
2925
|
{
|
|
@@ -2950,8 +2950,8 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2950
2950
|
/* CLASS */
|
|
2951
2951
|
);
|
|
2952
2952
|
}
|
|
2953
|
-
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2954
|
-
const _sfc_main$
|
|
2953
|
+
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBadge/OnyxBadge.vue"]]);
|
|
2954
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
2955
2955
|
__name: "OnyxBottomBar",
|
|
2956
2956
|
props: {
|
|
2957
2957
|
density: { type: null, required: false },
|
|
@@ -2966,10 +2966,10 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
2966
2966
|
return __returned__;
|
|
2967
2967
|
}
|
|
2968
2968
|
});
|
|
2969
|
-
const _hoisted_1$
|
|
2970
|
-
const _hoisted_2$
|
|
2971
|
-
const _hoisted_3$
|
|
2972
|
-
function _sfc_render$
|
|
2969
|
+
const _hoisted_1$U = { class: "onyx-bottom-bar__content onyx-grid-container" };
|
|
2970
|
+
const _hoisted_2$F = { class: "onyx-bottom-bar__content--left" };
|
|
2971
|
+
const _hoisted_3$p = { class: "onyx-bottom-bar__content--right" };
|
|
2972
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2973
2973
|
return openBlock(), createElementBlock(
|
|
2974
2974
|
"div",
|
|
2975
2975
|
{
|
|
@@ -2981,11 +2981,11 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2981
2981
|
])
|
|
2982
2982
|
},
|
|
2983
2983
|
[
|
|
2984
|
-
createElementVNode("div", _hoisted_1$
|
|
2985
|
-
createElementVNode("div", _hoisted_2$
|
|
2984
|
+
createElementVNode("div", _hoisted_1$U, [
|
|
2985
|
+
createElementVNode("div", _hoisted_2$F, [
|
|
2986
2986
|
renderSlot(_ctx.$slots, "left")
|
|
2987
2987
|
]),
|
|
2988
|
-
createElementVNode("div", _hoisted_3$
|
|
2988
|
+
createElementVNode("div", _hoisted_3$p, [
|
|
2989
2989
|
renderSlot(_ctx.$slots, "default")
|
|
2990
2990
|
])
|
|
2991
2991
|
])
|
|
@@ -2994,8 +2994,8 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2994
2994
|
/* CLASS */
|
|
2995
2995
|
);
|
|
2996
2996
|
}
|
|
2997
|
-
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2998
|
-
const _sfc_main$
|
|
2997
|
+
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBottomBar/OnyxBottomBar.vue"]]);
|
|
2998
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
2999
2999
|
__name: "OnyxBreadcrumbItem",
|
|
3000
3000
|
props: {
|
|
3001
3001
|
density: { type: null, required: false },
|
|
@@ -3018,7 +3018,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3018
3018
|
return __returned__;
|
|
3019
3019
|
}
|
|
3020
3020
|
});
|
|
3021
|
-
function _sfc_render$
|
|
3021
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3022
3022
|
return openBlock(), createElementBlock(
|
|
3023
3023
|
"li",
|
|
3024
3024
|
mergeProps({
|
|
@@ -3051,8 +3051,8 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3051
3051
|
/* FULL_PROPS */
|
|
3052
3052
|
);
|
|
3053
3053
|
}
|
|
3054
|
-
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3055
|
-
const _sfc_main$
|
|
3054
|
+
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.vue"]]);
|
|
3055
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
3056
3056
|
__name: "OnyxBreadcrumb",
|
|
3057
3057
|
props: {
|
|
3058
3058
|
density: { type: null, required: false },
|
|
@@ -3073,9 +3073,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
3073
3073
|
return __returned__;
|
|
3074
3074
|
}
|
|
3075
3075
|
});
|
|
3076
|
-
const _hoisted_1$
|
|
3077
|
-
const _hoisted_2$
|
|
3078
|
-
function _sfc_render$
|
|
3076
|
+
const _hoisted_1$T = ["aria-label"];
|
|
3077
|
+
const _hoisted_2$E = { class: "onyx-breadcrumb__list onyx-grid-container" };
|
|
3078
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3079
3079
|
return openBlock(), createElementBlock("nav", {
|
|
3080
3080
|
class: normalizeClass([
|
|
3081
3081
|
"onyx-component",
|
|
@@ -3085,7 +3085,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3085
3085
|
]),
|
|
3086
3086
|
"aria-label": $setup.t("breadcrumb.label")
|
|
3087
3087
|
}, [
|
|
3088
|
-
createElementVNode("ol", _hoisted_2$
|
|
3088
|
+
createElementVNode("ol", _hoisted_2$E, [
|
|
3089
3089
|
createVNode($setup["OnyxBreadcrumbItem"], {
|
|
3090
3090
|
class: "onyx-breadcrumb__home",
|
|
3091
3091
|
href: $setup.props.home?.link ?? "/",
|
|
@@ -3116,16 +3116,16 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3116
3116
|
}, 8, ["href", "aria-label", "skeleton"]),
|
|
3117
3117
|
renderSlot(_ctx.$slots, "default")
|
|
3118
3118
|
])
|
|
3119
|
-
], 10, _hoisted_1$
|
|
3119
|
+
], 10, _hoisted_1$T);
|
|
3120
3120
|
}
|
|
3121
|
-
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3122
|
-
const _sfc_main$
|
|
3123
|
-
const _hoisted_1$
|
|
3121
|
+
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumb/OnyxBreadcrumb.vue"]]);
|
|
3122
|
+
const _sfc_main$1c = {};
|
|
3123
|
+
const _hoisted_1$S = {
|
|
3124
3124
|
class: "onyx-component onyx-circle-spinner",
|
|
3125
3125
|
viewBox: "0 0 50 50"
|
|
3126
3126
|
};
|
|
3127
|
-
function _sfc_render$
|
|
3128
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3127
|
+
function _sfc_render$1c(_ctx, _cache) {
|
|
3128
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$S, [..._cache[0] || (_cache[0] = [
|
|
3129
3129
|
createElementVNode(
|
|
3130
3130
|
"circle",
|
|
3131
3131
|
{
|
|
@@ -3140,11 +3140,11 @@ function _sfc_render$1a(_ctx, _cache) {
|
|
|
3140
3140
|
)
|
|
3141
3141
|
])]);
|
|
3142
3142
|
}
|
|
3143
|
-
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3144
|
-
const _sfc_main$
|
|
3145
|
-
const _hoisted_1$
|
|
3146
|
-
function _sfc_render$
|
|
3147
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3143
|
+
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue"]]);
|
|
3144
|
+
const _sfc_main$1b = {};
|
|
3145
|
+
const _hoisted_1$R = { class: "onyx-component onyx-loading-dots" };
|
|
3146
|
+
function _sfc_render$1b(_ctx, _cache) {
|
|
3147
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [..._cache[0] || (_cache[0] = [
|
|
3148
3148
|
createElementVNode(
|
|
3149
3149
|
"span",
|
|
3150
3150
|
{ class: "onyx-loading-dots__center" },
|
|
@@ -3154,8 +3154,8 @@ function _sfc_render$19(_ctx, _cache) {
|
|
|
3154
3154
|
)
|
|
3155
3155
|
])]);
|
|
3156
3156
|
}
|
|
3157
|
-
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3158
|
-
const _sfc_main$
|
|
3157
|
+
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingDots.vue"]]);
|
|
3158
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
3159
3159
|
__name: "OnyxLoadingIndicator",
|
|
3160
3160
|
props: {
|
|
3161
3161
|
type: { type: String, required: false, default: "dots" }
|
|
@@ -3168,10 +3168,10 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
3168
3168
|
return __returned__;
|
|
3169
3169
|
}
|
|
3170
3170
|
});
|
|
3171
|
-
function _sfc_render$
|
|
3171
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3172
3172
|
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);
|
|
3173
3173
|
}
|
|
3174
|
-
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3174
|
+
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue"]]);
|
|
3175
3175
|
const useRipple = (container) => {
|
|
3176
3176
|
const isPointerDown = ref(false);
|
|
3177
3177
|
const ripples = reactive(/* @__PURE__ */ new Map());
|
|
@@ -3218,7 +3218,7 @@ const useRipple = (container) => {
|
|
|
3218
3218
|
});
|
|
3219
3219
|
return { isPointerDown, ripples, startRipple, hideRipples, hideRipple, events };
|
|
3220
3220
|
};
|
|
3221
|
-
const _sfc_main$
|
|
3221
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
3222
3222
|
__name: "OnyxRipple",
|
|
3223
3223
|
setup(__props, { expose: __expose }) {
|
|
3224
3224
|
const rippleTrigger = useTemplateRef("rippleTriggerRef");
|
|
@@ -3231,16 +3231,16 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
3231
3231
|
return __returned__;
|
|
3232
3232
|
}
|
|
3233
3233
|
});
|
|
3234
|
-
const _hoisted_1$
|
|
3234
|
+
const _hoisted_1$Q = {
|
|
3235
3235
|
ref: "rippleTriggerRef",
|
|
3236
3236
|
class: "onyx-component onyx-ripple",
|
|
3237
3237
|
"aria-hidden": "true"
|
|
3238
3238
|
};
|
|
3239
|
-
const _hoisted_2$
|
|
3240
|
-
function _sfc_render$
|
|
3239
|
+
const _hoisted_2$D = ["data-rippleid"];
|
|
3240
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3241
3241
|
return openBlock(), createElementBlock(
|
|
3242
3242
|
"span",
|
|
3243
|
-
_hoisted_1$
|
|
3243
|
+
_hoisted_1$Q,
|
|
3244
3244
|
[
|
|
3245
3245
|
(openBlock(true), createElementBlock(
|
|
3246
3246
|
Fragment,
|
|
@@ -3255,7 +3255,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3255
3255
|
}),
|
|
3256
3256
|
"data-rippleid": key,
|
|
3257
3257
|
onAnimationend: _cache[0] || (_cache[0] = ($event) => $setup.hideRipple($event.target))
|
|
3258
|
-
}, null, 44, _hoisted_2$
|
|
3258
|
+
}, null, 44, _hoisted_2$D);
|
|
3259
3259
|
}),
|
|
3260
3260
|
128
|
|
3261
3261
|
/* KEYED_FRAGMENT */
|
|
@@ -3265,8 +3265,8 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3265
3265
|
/* NEED_PATCH */
|
|
3266
3266
|
);
|
|
3267
3267
|
}
|
|
3268
|
-
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3269
|
-
const _sfc_main$
|
|
3268
|
+
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRipple/OnyxRipple.vue"]]);
|
|
3269
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
3270
3270
|
__name: "OnyxButton",
|
|
3271
3271
|
props: {
|
|
3272
3272
|
density: { type: null, required: false },
|
|
@@ -3298,8 +3298,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
3298
3298
|
return __returned__;
|
|
3299
3299
|
}
|
|
3300
3300
|
});
|
|
3301
|
-
const _hoisted_1$
|
|
3302
|
-
function _sfc_render$
|
|
3301
|
+
const _hoisted_1$P = { class: "onyx-button__label onyx-truncation-ellipsis" };
|
|
3302
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3303
3303
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
3304
3304
|
key: 0,
|
|
3305
3305
|
class: normalizeClass(["onyx-button-skeleton", $setup.densityClass])
|
|
@@ -3336,7 +3336,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3336
3336
|
})) : createCommentVNode("v-if", true),
|
|
3337
3337
|
createElementVNode(
|
|
3338
3338
|
"span",
|
|
3339
|
-
_hoisted_1$
|
|
3339
|
+
_hoisted_1$P,
|
|
3340
3340
|
toDisplayString($setup.props.label),
|
|
3341
3341
|
1
|
|
3342
3342
|
/* TEXT */
|
|
@@ -3351,11 +3351,11 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3351
3351
|
/* STABLE */
|
|
3352
3352
|
}, 16, ["class", "aria-label"]));
|
|
3353
3353
|
}
|
|
3354
|
-
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3354
|
+
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/OnyxButton.vue"]]);
|
|
3355
3355
|
const BUTTON_TYPES = ["button", "submit", "reset"];
|
|
3356
3356
|
const BUTTON_COLORS = ["primary", "neutral", "danger"];
|
|
3357
3357
|
const BUTTON_MODES = ["default", "outline", "plain"];
|
|
3358
|
-
const _sfc_main$
|
|
3358
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
3359
3359
|
__name: "OnyxCard",
|
|
3360
3360
|
props: {
|
|
3361
3361
|
density: { type: null, required: false },
|
|
@@ -3374,7 +3374,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
3374
3374
|
return __returned__;
|
|
3375
3375
|
}
|
|
3376
3376
|
});
|
|
3377
|
-
function _sfc_render$
|
|
3377
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3378
3378
|
return openBlock(), createBlock(resolveDynamicComponent($setup.linkProps ? $setup.OnyxRouterLink : $setup.props.clickable ? "button" : "div"), mergeProps($setup.linkProps, {
|
|
3379
3379
|
class: ["onyx-component", "onyx-card", $setup.densityClass, "onyx-truncation-multiline", "onyx-text"]
|
|
3380
3380
|
}), {
|
|
@@ -3385,7 +3385,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3385
3385
|
/* FORWARDED */
|
|
3386
3386
|
}, 16, ["class"]);
|
|
3387
3387
|
}
|
|
3388
|
-
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3388
|
+
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCard/OnyxCard.vue"]]);
|
|
3389
3389
|
const useRequired = (props, requiredMarker) => ({
|
|
3390
3390
|
/**
|
|
3391
3391
|
* Class that configures which type of required marker is used.
|
|
@@ -3572,7 +3572,7 @@ const formatMinMax = (locale, type, value) => {
|
|
|
3572
3572
|
};
|
|
3573
3573
|
return date.toLocaleString(locale, format);
|
|
3574
3574
|
};
|
|
3575
|
-
const _sfc_main$
|
|
3575
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
3576
3576
|
__name: "OnyxTooltip",
|
|
3577
3577
|
props: {
|
|
3578
3578
|
density: { type: null, required: false },
|
|
@@ -3721,8 +3721,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3721
3721
|
return __returned__;
|
|
3722
3722
|
}
|
|
3723
3723
|
});
|
|
3724
|
-
const _hoisted_1$
|
|
3725
|
-
function _sfc_render$
|
|
3724
|
+
const _hoisted_1$O = { class: "onyx-tooltip--content" };
|
|
3725
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3726
3726
|
return openBlock(), createElementBlock(
|
|
3727
3727
|
"div",
|
|
3728
3728
|
{
|
|
@@ -3738,7 +3738,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3738
3738
|
style: $setup.tooltipStyles
|
|
3739
3739
|
}),
|
|
3740
3740
|
[
|
|
3741
|
-
createElementVNode("div", _hoisted_1$
|
|
3741
|
+
createElementVNode("div", _hoisted_1$O, [
|
|
3742
3742
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
3743
3743
|
key: 0,
|
|
3744
3744
|
icon: $setup.props.icon,
|
|
@@ -3762,8 +3762,8 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3762
3762
|
/* CLASS, STYLE */
|
|
3763
3763
|
);
|
|
3764
3764
|
}
|
|
3765
|
-
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3766
|
-
const _sfc_main$
|
|
3765
|
+
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTooltip/OnyxTooltip.vue"]]);
|
|
3766
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
3767
3767
|
__name: "OnyxErrorTooltip",
|
|
3768
3768
|
props: {
|
|
3769
3769
|
errorMessages: { type: Object, required: false },
|
|
@@ -3779,16 +3779,16 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3779
3779
|
return __returned__;
|
|
3780
3780
|
}
|
|
3781
3781
|
});
|
|
3782
|
-
const _hoisted_1$
|
|
3783
|
-
const _hoisted_2$
|
|
3782
|
+
const _hoisted_1$N = { class: "onyx-component" };
|
|
3783
|
+
const _hoisted_2$C = {
|
|
3784
3784
|
key: 0,
|
|
3785
3785
|
ref: "targetRef"
|
|
3786
3786
|
};
|
|
3787
|
-
function _sfc_render$
|
|
3788
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3787
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3788
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
3789
3789
|
!$setup.tooltipError || $setup.props.disabled ? (openBlock(), createElementBlock(
|
|
3790
3790
|
"div",
|
|
3791
|
-
_hoisted_2$
|
|
3791
|
+
_hoisted_2$C,
|
|
3792
3792
|
null,
|
|
3793
3793
|
512
|
|
3794
3794
|
/* NEED_PATCH */
|
|
@@ -3821,8 +3821,8 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3821
3821
|
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
3822
3822
|
]);
|
|
3823
3823
|
}
|
|
3824
|
-
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3825
|
-
const _sfc_main$
|
|
3824
|
+
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxErrorTooltip/OnyxErrorTooltip.vue"]]);
|
|
3825
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
3826
3826
|
...{ inheritAttrs: false },
|
|
3827
3827
|
__name: "OnyxCheckbox",
|
|
3828
3828
|
props: {
|
|
@@ -3869,10 +3869,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3869
3869
|
return __returned__;
|
|
3870
3870
|
}
|
|
3871
3871
|
});
|
|
3872
|
-
const _hoisted_1$
|
|
3873
|
-
const _hoisted_2$
|
|
3874
|
-
const _hoisted_3$
|
|
3875
|
-
function _sfc_render$
|
|
3872
|
+
const _hoisted_1$M = ["title"];
|
|
3873
|
+
const _hoisted_2$B = { class: "onyx-checkbox__container" };
|
|
3874
|
+
const _hoisted_3$o = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"];
|
|
3875
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3876
3876
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
3877
3877
|
"div",
|
|
3878
3878
|
mergeProps({
|
|
@@ -3898,7 +3898,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3898
3898
|
class: normalizeClass(["onyx-component onyx-checkbox", [$setup.requiredTypeClass, $setup.densityClass]]),
|
|
3899
3899
|
title: $setup.title
|
|
3900
3900
|
}, [
|
|
3901
|
-
createElementVNode("div", _hoisted_2$
|
|
3901
|
+
createElementVNode("div", _hoisted_2$B, [
|
|
3902
3902
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
3903
3903
|
key: 0,
|
|
3904
3904
|
class: "onyx-checkbox__loading",
|
|
@@ -3915,7 +3915,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3915
3915
|
required: $setup.props.required,
|
|
3916
3916
|
value: $setup.props.value,
|
|
3917
3917
|
autofocus: $setup.props.autofocus
|
|
3918
|
-
}, $setup.restAttrs), null, 16, _hoisted_3$
|
|
3918
|
+
}, $setup.restAttrs), null, 16, _hoisted_3$o)), [
|
|
3919
3919
|
[vModelCheckbox, $setup.isChecked],
|
|
3920
3920
|
[$setup["vCustomValidity"]]
|
|
3921
3921
|
])
|
|
@@ -3951,13 +3951,13 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3951
3951
|
64
|
|
3952
3952
|
/* STABLE_FRAGMENT */
|
|
3953
3953
|
)) : createCommentVNode("v-if", true)
|
|
3954
|
-
], 10, _hoisted_1$
|
|
3954
|
+
], 10, _hoisted_1$M)
|
|
3955
3955
|
]),
|
|
3956
3956
|
_: 1
|
|
3957
3957
|
/* STABLE */
|
|
3958
3958
|
}, 16, ["disabled", "error-messages"]));
|
|
3959
3959
|
}
|
|
3960
|
-
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3960
|
+
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckbox/OnyxCheckbox.vue"]]);
|
|
3961
3961
|
const useSelectAllCheckboxState = (enabledOptionValues, modelValue) => computed(() => {
|
|
3962
3962
|
const currentValues = modelValue.value.filter(
|
|
3963
3963
|
(value) => enabledOptionValues.value.includes(value)
|
|
@@ -3992,7 +3992,7 @@ const useCheckAll = (enabledOptionValues, modelValue, onChangeCallback) => {
|
|
|
3992
3992
|
}
|
|
3993
3993
|
};
|
|
3994
3994
|
};
|
|
3995
|
-
const _sfc_main$
|
|
3995
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
3996
3996
|
__name: "OnyxInfoTooltip",
|
|
3997
3997
|
props: {
|
|
3998
3998
|
text: { type: String, required: true },
|
|
@@ -4027,9 +4027,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
4027
4027
|
return __returned__;
|
|
4028
4028
|
}
|
|
4029
4029
|
});
|
|
4030
|
-
const _hoisted_1$
|
|
4031
|
-
function _sfc_render$
|
|
4032
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
4030
|
+
const _hoisted_1$L = { class: "onyx-component onyx-info-tooltip" };
|
|
4031
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4032
|
+
return openBlock(), createElementBlock("span", _hoisted_1$L, [
|
|
4033
4033
|
$setup.triggerType === "click" ? (openBlock(), createBlock($setup["OnyxTooltip"], mergeProps({ key: 0 }, $setup.props, {
|
|
4034
4034
|
open: $setup.isVisible,
|
|
4035
4035
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isVisible = $event)
|
|
@@ -4087,8 +4087,8 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4087
4087
|
))
|
|
4088
4088
|
]);
|
|
4089
4089
|
}
|
|
4090
|
-
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4091
|
-
const _sfc_main$
|
|
4090
|
+
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoTooltip/OnyxInfoTooltip.vue"]]);
|
|
4091
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
4092
4092
|
__name: "OnyxCheckboxGroup",
|
|
4093
4093
|
props: {
|
|
4094
4094
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -4146,18 +4146,18 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
4146
4146
|
return __returned__;
|
|
4147
4147
|
}
|
|
4148
4148
|
});
|
|
4149
|
-
const _hoisted_1$
|
|
4150
|
-
const _hoisted_2$
|
|
4149
|
+
const _hoisted_1$K = ["disabled", "aria-label"];
|
|
4150
|
+
const _hoisted_2$A = {
|
|
4151
4151
|
key: 0,
|
|
4152
4152
|
class: "onyx-checkbox-group__label"
|
|
4153
4153
|
};
|
|
4154
|
-
function _sfc_render$
|
|
4154
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4155
4155
|
return openBlock(), createElementBlock("fieldset", {
|
|
4156
4156
|
class: normalizeClass(["onyx-component", "onyx-checkbox-group", $setup.densityClass]),
|
|
4157
4157
|
disabled: $setup.disabled,
|
|
4158
4158
|
"aria-label": $setup.props.label
|
|
4159
4159
|
}, [
|
|
4160
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$
|
|
4160
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$A, [
|
|
4161
4161
|
createVNode($setup["OnyxHeadline"], { is: "h3" }, {
|
|
4162
4162
|
default: withCtx(() => [
|
|
4163
4163
|
createTextVNode(
|
|
@@ -4237,14 +4237,14 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4237
4237
|
2
|
|
4238
4238
|
/* CLASS */
|
|
4239
4239
|
)
|
|
4240
|
-
], 10, _hoisted_1$
|
|
4240
|
+
], 10, _hoisted_1$K);
|
|
4241
4241
|
}
|
|
4242
|
-
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4242
|
+
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue"]]);
|
|
4243
4243
|
const escapeCSS = (name) => {
|
|
4244
4244
|
if ("CSS" in window && window.CSS) return CSS.escape(name);
|
|
4245
4245
|
return name.replace(/\W/g, "-");
|
|
4246
4246
|
};
|
|
4247
|
-
const _sfc_main
|
|
4247
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
4248
4248
|
__name: "OnyxEmpty",
|
|
4249
4249
|
props: {
|
|
4250
4250
|
density: { type: null, required: false }
|
|
@@ -4261,12 +4261,12 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
4261
4261
|
return __returned__;
|
|
4262
4262
|
}
|
|
4263
4263
|
});
|
|
4264
|
-
const _hoisted_1$
|
|
4265
|
-
const _hoisted_2$
|
|
4264
|
+
const _hoisted_1$J = { class: "onyx-empty__label onyx-text onyx-truncation-multiline" };
|
|
4265
|
+
const _hoisted_2$z = {
|
|
4266
4266
|
key: 0,
|
|
4267
4267
|
class: "onyx-empty__buttons"
|
|
4268
4268
|
};
|
|
4269
|
-
function _sfc_render
|
|
4269
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4270
4270
|
return openBlock(), createElementBlock(
|
|
4271
4271
|
"div",
|
|
4272
4272
|
{
|
|
@@ -4279,10 +4279,10 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4279
4279
|
size: "48px"
|
|
4280
4280
|
}, null, 8, ["icon"])
|
|
4281
4281
|
]),
|
|
4282
|
-
createElementVNode("div", _hoisted_1$
|
|
4282
|
+
createElementVNode("div", _hoisted_1$J, [
|
|
4283
4283
|
renderSlot(_ctx.$slots, "default")
|
|
4284
4284
|
]),
|
|
4285
|
-
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4285
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
4286
4286
|
renderSlot(_ctx.$slots, "buttons")
|
|
4287
4287
|
])) : createCommentVNode("v-if", true)
|
|
4288
4288
|
],
|
|
@@ -4290,8 +4290,8 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4290
4290
|
/* CLASS */
|
|
4291
4291
|
);
|
|
4292
4292
|
}
|
|
4293
|
-
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
4294
|
-
const _sfc_main$
|
|
4293
|
+
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxEmpty/OnyxEmpty.vue"]]);
|
|
4294
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
4295
4295
|
__name: "OnyxTable",
|
|
4296
4296
|
props: {
|
|
4297
4297
|
density: { type: null, required: false },
|
|
@@ -4321,12 +4321,12 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4321
4321
|
return __returned__;
|
|
4322
4322
|
}
|
|
4323
4323
|
});
|
|
4324
|
-
const _hoisted_1$
|
|
4324
|
+
const _hoisted_1$I = {
|
|
4325
4325
|
key: 0,
|
|
4326
4326
|
class: "onyx-table-wrapper__top"
|
|
4327
4327
|
};
|
|
4328
|
-
const _hoisted_2$
|
|
4329
|
-
const _hoisted_3$
|
|
4328
|
+
const _hoisted_2$y = ["id"];
|
|
4329
|
+
const _hoisted_3$n = { class: "onyx-table-wrapper__actions" };
|
|
4330
4330
|
const _hoisted_4$h = ["tabindex"];
|
|
4331
4331
|
const _hoisted_5$c = ["aria-labelledby"];
|
|
4332
4332
|
const _hoisted_6$9 = ["span"];
|
|
@@ -4343,7 +4343,7 @@ const _hoisted_13 = {
|
|
|
4343
4343
|
key: 1,
|
|
4344
4344
|
class: "onyx-table-wrapper__bottom"
|
|
4345
4345
|
};
|
|
4346
|
-
function _sfc_render$
|
|
4346
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4347
4347
|
return openBlock(), createElementBlock(
|
|
4348
4348
|
"div",
|
|
4349
4349
|
{
|
|
@@ -4351,11 +4351,11 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4351
4351
|
style: normalizeStyle($setup.style)
|
|
4352
4352
|
},
|
|
4353
4353
|
[
|
|
4354
|
-
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4354
|
+
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
4355
4355
|
createElementVNode("div", { id: $setup.headlineId }, [
|
|
4356
4356
|
renderSlot(_ctx.$slots, "headline")
|
|
4357
|
-
], 8, _hoisted_2$
|
|
4358
|
-
createElementVNode("div", _hoisted_3$
|
|
4357
|
+
], 8, _hoisted_2$y),
|
|
4358
|
+
createElementVNode("div", _hoisted_3$n, [
|
|
4359
4359
|
renderSlot(_ctx.$slots, "actions")
|
|
4360
4360
|
])
|
|
4361
4361
|
])) : createCommentVNode("v-if", true),
|
|
@@ -4446,8 +4446,8 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4446
4446
|
/* STYLE */
|
|
4447
4447
|
);
|
|
4448
4448
|
}
|
|
4449
|
-
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4450
|
-
const _sfc_main
|
|
4449
|
+
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTable/OnyxTable.vue"]]);
|
|
4450
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
4451
4451
|
__name: "OnyxDataGridRenderer",
|
|
4452
4452
|
props: {
|
|
4453
4453
|
density: { type: null, required: false },
|
|
@@ -4481,7 +4481,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
4481
4481
|
return __returned__;
|
|
4482
4482
|
}
|
|
4483
4483
|
});
|
|
4484
|
-
function _sfc_render
|
|
4484
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4485
4485
|
return openBlock(), createBlock($setup["OnyxTable"], mergeProps({ class: "onyx-data-grid" }, $setup.props, {
|
|
4486
4486
|
"scroll-container-attrs": $setup.mergeVueProps($setup.props.scrollContainerAttrs, { style: $setup.columnStyle })
|
|
4487
4487
|
}), createSlots({
|
|
@@ -4588,8 +4588,8 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4588
4588
|
})
|
|
4589
4589
|
]), 1040, ["scroll-container-attrs"]);
|
|
4590
4590
|
}
|
|
4591
|
-
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
4592
|
-
const _sfc_main$
|
|
4591
|
+
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGridRenderer/OnyxDataGridRenderer.vue"]]);
|
|
4592
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
4593
4593
|
...{ inheritAttrs: false },
|
|
4594
4594
|
__name: "OnyxMiniSearch",
|
|
4595
4595
|
props: {
|
|
@@ -4629,9 +4629,9 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
4629
4629
|
return __returned__;
|
|
4630
4630
|
}
|
|
4631
4631
|
});
|
|
4632
|
-
const _hoisted_1$
|
|
4633
|
-
const _hoisted_2$
|
|
4634
|
-
function _sfc_render$
|
|
4632
|
+
const _hoisted_1$H = ["autofocus", "placeholder", "aria-label"];
|
|
4633
|
+
const _hoisted_2$x = ["aria-label"];
|
|
4634
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4635
4635
|
return openBlock(), createElementBlock(
|
|
4636
4636
|
"div",
|
|
4637
4637
|
mergeProps({
|
|
@@ -4650,7 +4650,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4650
4650
|
size: "1"
|
|
4651
4651
|
}, $setup.restAttrs, {
|
|
4652
4652
|
"aria-label": $setup.props.label
|
|
4653
|
-
}), null, 16, _hoisted_1$
|
|
4653
|
+
}), null, 16, _hoisted_1$H), [
|
|
4654
4654
|
[vModelText, $setup.modelValue]
|
|
4655
4655
|
]),
|
|
4656
4656
|
createElementVNode("button", {
|
|
@@ -4663,7 +4663,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4663
4663
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.emit("clear"))
|
|
4664
4664
|
}, [
|
|
4665
4665
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
4666
|
-
], 40, _hoisted_2$
|
|
4666
|
+
], 40, _hoisted_2$x),
|
|
4667
4667
|
createVNode($setup["OnyxIcon"], {
|
|
4668
4668
|
class: "onyx-mini-search__icon",
|
|
4669
4669
|
icon: $setup.iconSearch
|
|
@@ -4673,11 +4673,11 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4673
4673
|
/* FULL_PROPS */
|
|
4674
4674
|
);
|
|
4675
4675
|
}
|
|
4676
|
-
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4676
|
+
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMiniSearch/OnyxMiniSearch.vue"]]);
|
|
4677
4677
|
const prepareMapping = (features, key) => features.flatMap((f) => f[key]).filter((f) => f?.func).sort((a, b) => (a?.order ?? 0) - (b?.order ?? 0));
|
|
4678
4678
|
const applyMapping = (mapping, input2) => mapping.reduce((output, m) => m.func(output), input2);
|
|
4679
4679
|
const DataGridRowOptionsSymbol = Symbol("RowOptions");
|
|
4680
|
-
const _sfc_main$
|
|
4680
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
4681
4681
|
__name: "HeaderCell",
|
|
4682
4682
|
props: {
|
|
4683
4683
|
label: { type: String, required: true }
|
|
@@ -4691,27 +4691,27 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
4691
4691
|
return __returned__;
|
|
4692
4692
|
}
|
|
4693
4693
|
});
|
|
4694
|
-
const _hoisted_1$
|
|
4695
|
-
const _hoisted_2$
|
|
4696
|
-
const _hoisted_3$
|
|
4694
|
+
const _hoisted_1$G = { class: "onyx-component onyx-data-grid-header-cell" };
|
|
4695
|
+
const _hoisted_2$w = { class: "onyx-data-grid-header-cell__label" };
|
|
4696
|
+
const _hoisted_3$m = {
|
|
4697
4697
|
key: 0,
|
|
4698
4698
|
class: "onyx-data-grid-header-cell__actions"
|
|
4699
4699
|
};
|
|
4700
|
-
function _sfc_render$
|
|
4701
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4700
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4701
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
4702
4702
|
createElementVNode(
|
|
4703
4703
|
"span",
|
|
4704
|
-
_hoisted_2$
|
|
4704
|
+
_hoisted_2$w,
|
|
4705
4705
|
toDisplayString($setup.props.label),
|
|
4706
4706
|
1
|
|
4707
4707
|
/* TEXT */
|
|
4708
4708
|
),
|
|
4709
|
-
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
4709
|
+
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
|
|
4710
4710
|
renderSlot(_ctx.$slots, "actions")
|
|
4711
4711
|
])) : createCommentVNode("v-if", true)
|
|
4712
4712
|
]);
|
|
4713
4713
|
}
|
|
4714
|
-
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4714
|
+
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/HeaderCell.vue"]]);
|
|
4715
4715
|
const FALLBACK_RENDER_VALUE = "-";
|
|
4716
4716
|
const fallback = (opts) => opts?.fallback ?? FALLBACK_RENDER_VALUE;
|
|
4717
4717
|
const createTypeRenderer = (typeRenderer) => Object.freeze(typeRenderer);
|
|
@@ -5213,7 +5213,7 @@ const useErrorClass = (showError) => computed(() => {
|
|
|
5213
5213
|
}
|
|
5214
5214
|
return "onyx-form-element--touched-invalid";
|
|
5215
5215
|
});
|
|
5216
|
-
const _sfc_main$
|
|
5216
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
5217
5217
|
__name: "FormMessage",
|
|
5218
5218
|
props: {
|
|
5219
5219
|
messages: { type: Object, required: true },
|
|
@@ -5227,17 +5227,17 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
5227
5227
|
return __returned__;
|
|
5228
5228
|
}
|
|
5229
5229
|
});
|
|
5230
|
-
const _hoisted_1$
|
|
5230
|
+
const _hoisted_1$F = {
|
|
5231
5231
|
class: /* @__PURE__ */ normalizeClass(["onyx-truncation-ellipsis"])
|
|
5232
5232
|
};
|
|
5233
|
-
function _sfc_render$
|
|
5233
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5234
5234
|
return openBlock(), createBlock(resolveDynamicComponent($props.messages.hidden ? $setup.OnyxVisuallyHidden : "span"), {
|
|
5235
5235
|
class: normalizeClass(["onyx-component", "onyx-form-message", `onyx-form-message__${$setup.props.type}`])
|
|
5236
5236
|
}, {
|
|
5237
5237
|
default: withCtx(() => [
|
|
5238
5238
|
createElementVNode(
|
|
5239
5239
|
"span",
|
|
5240
|
-
_hoisted_1$
|
|
5240
|
+
_hoisted_1$F,
|
|
5241
5241
|
toDisplayString($setup.props.messages.shortMessage),
|
|
5242
5242
|
1
|
|
5243
5243
|
/* TEXT */
|
|
@@ -5255,8 +5255,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5255
5255
|
/* STABLE */
|
|
5256
5256
|
}, 8, ["class"]);
|
|
5257
5257
|
}
|
|
5258
|
-
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5259
|
-
const _sfc_main$
|
|
5258
|
+
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/FormMessage.vue"]]);
|
|
5259
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
5260
5260
|
__name: "OnyxFormElement",
|
|
5261
5261
|
props: {
|
|
5262
5262
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -5315,14 +5315,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
5315
5315
|
return __returned__;
|
|
5316
5316
|
}
|
|
5317
5317
|
});
|
|
5318
|
-
const _hoisted_1$
|
|
5318
|
+
const _hoisted_1$E = {
|
|
5319
5319
|
key: 0,
|
|
5320
5320
|
class: "onyx-form-element__label onyx-text--small"
|
|
5321
5321
|
};
|
|
5322
|
-
const _hoisted_2$
|
|
5323
|
-
const _hoisted_3$
|
|
5322
|
+
const _hoisted_2$v = ["for"];
|
|
5323
|
+
const _hoisted_3$l = { class: "onyx-form-element__footer onyx-text--small" };
|
|
5324
5324
|
const _hoisted_4$g = { class: "onyx-form-element__footer-messages" };
|
|
5325
|
-
function _sfc_render$
|
|
5325
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5326
5326
|
return openBlock(), createElementBlock(
|
|
5327
5327
|
"div",
|
|
5328
5328
|
{
|
|
@@ -5334,11 +5334,11 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5334
5334
|
])
|
|
5335
5335
|
},
|
|
5336
5336
|
[
|
|
5337
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5337
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
5338
5338
|
createElementVNode("label", {
|
|
5339
5339
|
for: $setup.props.id,
|
|
5340
5340
|
class: "onyx-truncation-ellipsis"
|
|
5341
|
-
}, toDisplayString($setup.props.label), 9, _hoisted_2$
|
|
5341
|
+
}, toDisplayString($setup.props.label), 9, _hoisted_2$v),
|
|
5342
5342
|
$setup.props.required ? (openBlock(), createElementBlock(
|
|
5343
5343
|
"span",
|
|
5344
5344
|
{
|
|
@@ -5369,7 +5369,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5369
5369
|
renderSlot(_ctx.$slots, "default", {
|
|
5370
5370
|
id: $setup.props.id
|
|
5371
5371
|
}),
|
|
5372
|
-
createElementVNode("div", _hoisted_3$
|
|
5372
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
5373
5373
|
createElementVNode("span", _hoisted_4$g, [
|
|
5374
5374
|
$setup.props.errorMessages ? (openBlock(), createBlock($setup["FormMessage"], {
|
|
5375
5375
|
key: 0,
|
|
@@ -5409,8 +5409,8 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5409
5409
|
/* CLASS */
|
|
5410
5410
|
);
|
|
5411
5411
|
}
|
|
5412
|
-
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5413
|
-
const _sfc_main$
|
|
5412
|
+
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/OnyxFormElement.vue"]]);
|
|
5413
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
5414
5414
|
...{ inheritAttrs: false },
|
|
5415
5415
|
__name: "OnyxSelectInput",
|
|
5416
5416
|
props: {
|
|
@@ -5493,9 +5493,9 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
5493
5493
|
return __returned__;
|
|
5494
5494
|
}
|
|
5495
5495
|
});
|
|
5496
|
-
const _hoisted_1$
|
|
5497
|
-
const _hoisted_2$
|
|
5498
|
-
function _sfc_render$
|
|
5496
|
+
const _hoisted_1$D = ["id", "readonly", "placeholder", "required", "disabled", "aria-label", "title", "value", "autofocus"];
|
|
5497
|
+
const _hoisted_2$u = ["aria-label", "title", "disabled"];
|
|
5498
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5499
5499
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5500
5500
|
"div",
|
|
5501
5501
|
mergeProps({
|
|
@@ -5560,7 +5560,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5560
5560
|
autofocus: $setup.props.autofocus,
|
|
5561
5561
|
autocomplete: "off",
|
|
5562
5562
|
onKeydown: $setup.blockTyping
|
|
5563
|
-
}), null, 16, _hoisted_1$
|
|
5563
|
+
}), null, 16, _hoisted_1$D), [
|
|
5564
5564
|
[$setup["vCustomValidity"]]
|
|
5565
5565
|
]),
|
|
5566
5566
|
$setup.props.textMode === "preview" && $setup.selectionCount > 0 ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
@@ -5599,7 +5599,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5599
5599
|
disabled: $setup.disabled || $setup.props.readonly || $setup.props.loading
|
|
5600
5600
|
}, [
|
|
5601
5601
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronDownUp }, null, 8, ["icon"])
|
|
5602
|
-
], 8, _hoisted_2$
|
|
5602
|
+
], 8, _hoisted_2$u),
|
|
5603
5603
|
!$setup.props.hideSuccessIcon && $setup.successMessages ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
5604
5604
|
key: 2,
|
|
5605
5605
|
class: "onyx-select-input__check-icon",
|
|
@@ -5616,8 +5616,8 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5616
5616
|
/* FULL_PROPS */
|
|
5617
5617
|
));
|
|
5618
5618
|
}
|
|
5619
|
-
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5620
|
-
const _sfc_main$
|
|
5619
|
+
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectInput/OnyxSelectInput.vue"]]);
|
|
5620
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
5621
5621
|
__name: "OnyxListItem",
|
|
5622
5622
|
props: {
|
|
5623
5623
|
density: { type: null, required: false },
|
|
@@ -5636,7 +5636,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
5636
5636
|
return __returned__;
|
|
5637
5637
|
}
|
|
5638
5638
|
});
|
|
5639
|
-
function _sfc_render$
|
|
5639
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5640
5640
|
return openBlock(), createElementBlock(
|
|
5641
5641
|
"li",
|
|
5642
5642
|
{
|
|
@@ -5658,8 +5658,8 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5658
5658
|
/* CLASS */
|
|
5659
5659
|
);
|
|
5660
5660
|
}
|
|
5661
|
-
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5662
|
-
const _sfc_main$
|
|
5661
|
+
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxListItem/OnyxListItem.vue"]]);
|
|
5662
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
5663
5663
|
__name: "OnyxSelectOption",
|
|
5664
5664
|
props: {
|
|
5665
5665
|
active: { type: Boolean, required: false, default: false },
|
|
@@ -5677,8 +5677,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
5677
5677
|
return __returned__;
|
|
5678
5678
|
}
|
|
5679
5679
|
});
|
|
5680
|
-
const _hoisted_1$
|
|
5681
|
-
function _sfc_render$
|
|
5680
|
+
const _hoisted_1$C = ["checked", "aria-labelledby", "disabled", "indeterminate"];
|
|
5681
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5682
5682
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({ class: "onyx-component onyx-select-option" }, $setup.props, {
|
|
5683
5683
|
checked: !!_ctx.$attrs["aria-checked"],
|
|
5684
5684
|
selected: !!_ctx.$attrs["aria-selected"],
|
|
@@ -5695,7 +5695,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5695
5695
|
tabindex: "-1",
|
|
5696
5696
|
class: "onyx-select-option__checkbox",
|
|
5697
5697
|
type: "checkbox"
|
|
5698
|
-
}, null, 8, _hoisted_1$
|
|
5698
|
+
}, null, 8, _hoisted_1$C)) : createCommentVNode("v-if", true),
|
|
5699
5699
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
5700
5700
|
key: 1,
|
|
5701
5701
|
icon: $setup.props.icon
|
|
@@ -5716,8 +5716,8 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5716
5716
|
/* FORWARDED */
|
|
5717
5717
|
}, 16, ["checked", "selected", "disabled"]);
|
|
5718
5718
|
}
|
|
5719
|
-
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5720
|
-
const _sfc_main$
|
|
5719
|
+
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectOption/OnyxSelectOption.vue"]]);
|
|
5720
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
5721
5721
|
__name: "OnyxSelect",
|
|
5722
5722
|
props: {
|
|
5723
5723
|
density: { type: null, required: false },
|
|
@@ -5988,15 +5988,15 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
5988
5988
|
return __returned__;
|
|
5989
5989
|
}
|
|
5990
5990
|
});
|
|
5991
|
-
const _hoisted_1$
|
|
5991
|
+
const _hoisted_1$B = {
|
|
5992
5992
|
ref: "selectRef",
|
|
5993
5993
|
class: "onyx-component onyx-select-wrapper"
|
|
5994
5994
|
};
|
|
5995
|
-
const _hoisted_2$
|
|
5995
|
+
const _hoisted_2$t = {
|
|
5996
5996
|
class: "onyx-select__wrapper",
|
|
5997
5997
|
tabindex: "-1"
|
|
5998
5998
|
};
|
|
5999
|
-
const _hoisted_3$
|
|
5999
|
+
const _hoisted_3$k = {
|
|
6000
6000
|
key: 0,
|
|
6001
6001
|
role: "group",
|
|
6002
6002
|
class: "onyx-select__group"
|
|
@@ -6022,10 +6022,10 @@ const _hoisted_8$4 = {
|
|
|
6022
6022
|
key: 0,
|
|
6023
6023
|
class: "onyx-select__description onyx-text--small"
|
|
6024
6024
|
};
|
|
6025
|
-
function _sfc_render$
|
|
6025
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6026
6026
|
return openBlock(), createElementBlock(
|
|
6027
6027
|
"div",
|
|
6028
|
-
_hoisted_1$
|
|
6028
|
+
_hoisted_1$B,
|
|
6029
6029
|
[
|
|
6030
6030
|
createVNode($setup["OnyxBasicPopover"], {
|
|
6031
6031
|
class: normalizeClass($setup.densityClass),
|
|
@@ -6044,7 +6044,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6044
6044
|
}), null, 16, ["show-focus", "autofocus"])
|
|
6045
6045
|
]),
|
|
6046
6046
|
content: withCtx(() => [
|
|
6047
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$
|
|
6047
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$t, [
|
|
6048
6048
|
$setup.props.withSearch ? (openBlock(), createBlock($setup["OnyxMiniSearch"], mergeProps({
|
|
6049
6049
|
key: 0,
|
|
6050
6050
|
ref: "miniSearchRef",
|
|
@@ -6059,7 +6059,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6059
6059
|
"div",
|
|
6060
6060
|
normalizeProps(guardReactiveProps($setup.listbox)),
|
|
6061
6061
|
[
|
|
6062
|
-
$setup.isEmptyMessage ? (openBlock(), createElementBlock("ul", _hoisted_3$
|
|
6062
|
+
$setup.isEmptyMessage ? (openBlock(), createElementBlock("ul", _hoisted_3$k, [
|
|
6063
6063
|
createElementVNode("li", _hoisted_4$f, [
|
|
6064
6064
|
renderSlot(_ctx.$slots, "empty", { defaultMessage: $setup.isEmptyMessage }, () => [
|
|
6065
6065
|
createVNode($setup["OnyxEmpty"], {
|
|
@@ -6214,8 +6214,8 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6214
6214
|
/* NEED_PATCH */
|
|
6215
6215
|
);
|
|
6216
6216
|
}
|
|
6217
|
-
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6218
|
-
const _sfc_main$
|
|
6217
|
+
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelect/OnyxSelect.vue"]]);
|
|
6218
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
6219
6219
|
__name: "OnyxSelectPagination",
|
|
6220
6220
|
props: {
|
|
6221
6221
|
density: { type: null, required: false },
|
|
@@ -6252,11 +6252,11 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
6252
6252
|
return __returned__;
|
|
6253
6253
|
}
|
|
6254
6254
|
});
|
|
6255
|
-
const _hoisted_1$
|
|
6256
|
-
const _hoisted_2$
|
|
6257
|
-
const _hoisted_3$
|
|
6255
|
+
const _hoisted_1$A = ["aria-label"];
|
|
6256
|
+
const _hoisted_2$s = { class: "onyx-pagination__count" };
|
|
6257
|
+
const _hoisted_3$j = ["aria-label", "disabled"];
|
|
6258
6258
|
const _hoisted_4$e = ["aria-label", "disabled"];
|
|
6259
|
-
function _sfc_render$
|
|
6259
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6260
6260
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
6261
6261
|
key: 0,
|
|
6262
6262
|
class: normalizeClass(["onyx-pagination-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -6282,7 +6282,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6282
6282
|
}, null, 8, ["label", "list-label", "options", "model-value", "value-label", "disabled"]),
|
|
6283
6283
|
createElementVNode(
|
|
6284
6284
|
"div",
|
|
6285
|
-
_hoisted_2$
|
|
6285
|
+
_hoisted_2$s,
|
|
6286
6286
|
toDisplayString($setup.t("pagination.ofPages", { n: $setup.props.pages })),
|
|
6287
6287
|
1
|
|
6288
6288
|
/* TEXT */
|
|
@@ -6295,7 +6295,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6295
6295
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue - 1))
|
|
6296
6296
|
}, [
|
|
6297
6297
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronLeftSmall }, null, 8, ["icon"])
|
|
6298
|
-
], 8, _hoisted_3$
|
|
6298
|
+
], 8, _hoisted_3$j),
|
|
6299
6299
|
createElementVNode("button", {
|
|
6300
6300
|
class: "onyx-pagination__button",
|
|
6301
6301
|
"aria-label": $setup.t("pagination.next"),
|
|
@@ -6305,10 +6305,10 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6305
6305
|
}, [
|
|
6306
6306
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
6307
6307
|
], 8, _hoisted_4$e)
|
|
6308
|
-
], 14, _hoisted_1$
|
|
6308
|
+
], 14, _hoisted_1$A));
|
|
6309
6309
|
}
|
|
6310
|
-
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6311
|
-
const _sfc_main$
|
|
6310
|
+
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxSelectPagination.vue"]]);
|
|
6311
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
6312
6312
|
__name: "OnyxPagination",
|
|
6313
6313
|
props: {
|
|
6314
6314
|
density: { type: null, required: false },
|
|
@@ -6327,7 +6327,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
6327
6327
|
return __returned__;
|
|
6328
6328
|
}
|
|
6329
6329
|
});
|
|
6330
|
-
function _sfc_render$
|
|
6330
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6331
6331
|
return openBlock(), createBlock(
|
|
6332
6332
|
$setup["OnyxSelectPagination"],
|
|
6333
6333
|
mergeProps($setup.props, {
|
|
@@ -6338,7 +6338,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6338
6338
|
/* FULL_PROPS */
|
|
6339
6339
|
);
|
|
6340
6340
|
}
|
|
6341
|
-
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6341
|
+
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxPagination.vue"]]);
|
|
6342
6342
|
const SELECTION_FEATURE = Symbol("Selection");
|
|
6343
6343
|
const SELECTION_MUTATION_ORDER = 1e3;
|
|
6344
6344
|
const useSelection = (options) => createFeature((ctx) => {
|
|
@@ -6611,7 +6611,7 @@ const BASE_FEATURE = (options) => createFeature(({ skeleton }) => {
|
|
|
6611
6611
|
}
|
|
6612
6612
|
};
|
|
6613
6613
|
});
|
|
6614
|
-
const _sfc_main$
|
|
6614
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
6615
6615
|
...{ inheritAttrs: false },
|
|
6616
6616
|
__name: "OnyxDataGrid",
|
|
6617
6617
|
props: {
|
|
@@ -6689,7 +6689,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6689
6689
|
return __returned__;
|
|
6690
6690
|
}
|
|
6691
6691
|
});
|
|
6692
|
-
function _sfc_render$
|
|
6692
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6693
6693
|
return openBlock(), createBlock($setup["OnyxDataGridRenderer"], mergeProps(
|
|
6694
6694
|
{
|
|
6695
6695
|
"column-groups": $setup.rendererColumnGroups,
|
|
@@ -6724,8 +6724,8 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6724
6724
|
} : void 0
|
|
6725
6725
|
]), 1040, ["column-groups", "columns", "rows", "scroll-container-attrs"]);
|
|
6726
6726
|
}
|
|
6727
|
-
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6728
|
-
const _sfc_main$
|
|
6727
|
+
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGrid.vue"]]);
|
|
6728
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
6729
6729
|
__name: "OnyxExternalLinkIcon",
|
|
6730
6730
|
props: {
|
|
6731
6731
|
href: { type: String, required: false },
|
|
@@ -6746,7 +6746,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
6746
6746
|
return __returned__;
|
|
6747
6747
|
}
|
|
6748
6748
|
});
|
|
6749
|
-
function _sfc_render$
|
|
6749
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6750
6750
|
return $setup.isVisible ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
6751
6751
|
key: 0,
|
|
6752
6752
|
class: "onyx-component onyx-external-link-icon",
|
|
@@ -6754,8 +6754,8 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6754
6754
|
size: "16px"
|
|
6755
6755
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true);
|
|
6756
6756
|
}
|
|
6757
|
-
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6758
|
-
const _sfc_main$
|
|
6757
|
+
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue"]]);
|
|
6758
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
6759
6759
|
...{ inheritAttrs: false },
|
|
6760
6760
|
__name: "OnyxMenuItem",
|
|
6761
6761
|
props: {
|
|
@@ -6834,17 +6834,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6834
6834
|
return __returned__;
|
|
6835
6835
|
}
|
|
6836
6836
|
});
|
|
6837
|
-
const _hoisted_1$
|
|
6838
|
-
const _hoisted_2$
|
|
6837
|
+
const _hoisted_1$z = { class: "onyx-truncation-ellipsis" };
|
|
6838
|
+
const _hoisted_2$r = {
|
|
6839
6839
|
key: 0,
|
|
6840
6840
|
class: "onyx-menu-item__chevron"
|
|
6841
6841
|
};
|
|
6842
|
-
const _hoisted_3$
|
|
6842
|
+
const _hoisted_3$i = {
|
|
6843
6843
|
key: 0,
|
|
6844
6844
|
role: "menu",
|
|
6845
6845
|
class: "onyx-menu-item__children"
|
|
6846
6846
|
};
|
|
6847
|
-
function _sfc_render$
|
|
6847
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6848
6848
|
const _component_OnyxMenuItem = resolveComponent("OnyxMenuItem", true);
|
|
6849
6849
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({
|
|
6850
6850
|
selected: $setup.isActive,
|
|
@@ -6865,7 +6865,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6865
6865
|
createElementVNode("span", null, [
|
|
6866
6866
|
createElementVNode(
|
|
6867
6867
|
"span",
|
|
6868
|
-
_hoisted_1$
|
|
6868
|
+
_hoisted_1$z,
|
|
6869
6869
|
toDisplayString($setup.props.label),
|
|
6870
6870
|
1
|
|
6871
6871
|
/* TEXT */
|
|
@@ -6879,7 +6879,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6879
6879
|
)
|
|
6880
6880
|
])
|
|
6881
6881
|
]),
|
|
6882
|
-
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6882
|
+
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
6883
6883
|
createVNode($setup["OnyxIcon"], {
|
|
6884
6884
|
icon: $setup.iconChevronRightSmall,
|
|
6885
6885
|
size: "24px"
|
|
@@ -6893,7 +6893,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6893
6893
|
]),
|
|
6894
6894
|
$setup.hasChildren ? withDirectives((openBlock(), createElementBlock(
|
|
6895
6895
|
"ul",
|
|
6896
|
-
_hoisted_3$
|
|
6896
|
+
_hoisted_3$i,
|
|
6897
6897
|
[
|
|
6898
6898
|
createVNode(
|
|
6899
6899
|
_component_OnyxMenuItem,
|
|
@@ -6930,7 +6930,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6930
6930
|
/* FORWARDED */
|
|
6931
6931
|
}, 16, ["selected", "active", "color", "disabled", "class"]);
|
|
6932
6932
|
}
|
|
6933
|
-
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6933
|
+
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue"]]);
|
|
6934
6934
|
const HIDE_COLUMNS_FEATURE = Symbol("HideColumnsFeature");
|
|
6935
6935
|
const HIDDEN_COLUMN = Symbol("HiddenColumn");
|
|
6936
6936
|
const useHideColumns = (options) => createFeature((ctx) => {
|
|
@@ -7045,7 +7045,7 @@ const useHideColumns = (options) => createFeature((ctx) => {
|
|
|
7045
7045
|
}
|
|
7046
7046
|
};
|
|
7047
7047
|
});
|
|
7048
|
-
const _sfc_main$
|
|
7048
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
7049
7049
|
__name: "OnyxResizeHandle",
|
|
7050
7050
|
props: {
|
|
7051
7051
|
element: { type: null, required: true },
|
|
@@ -7119,7 +7119,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
7119
7119
|
return __returned__;
|
|
7120
7120
|
}
|
|
7121
7121
|
});
|
|
7122
|
-
function _sfc_render$
|
|
7122
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7123
7123
|
return openBlock(), createElementBlock(
|
|
7124
7124
|
"button",
|
|
7125
7125
|
{
|
|
@@ -7153,7 +7153,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7153
7153
|
/* CLASS, NEED_HYDRATION */
|
|
7154
7154
|
);
|
|
7155
7155
|
}
|
|
7156
|
-
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7156
|
+
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxResizeHandle/OnyxResizeHandle.vue"]]);
|
|
7157
7157
|
const RESIZING_FEATURE = Symbol("Resizing");
|
|
7158
7158
|
const FILLER_COLUMN = Symbol("FILLER_COLUMN");
|
|
7159
7159
|
const useResizing = (options) => createFeature((ctx) => {
|
|
@@ -7295,7 +7295,7 @@ const DEFAULT_COMPARES = Object.freeze({
|
|
|
7295
7295
|
skeleton: () => 0,
|
|
7296
7296
|
boolean: BOOLEAN_COMPARE
|
|
7297
7297
|
});
|
|
7298
|
-
const _sfc_main$
|
|
7298
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
7299
7299
|
__name: "SortAction",
|
|
7300
7300
|
props: {
|
|
7301
7301
|
columnLabel: { type: String, required: true },
|
|
@@ -7319,14 +7319,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
7319
7319
|
return __returned__;
|
|
7320
7320
|
}
|
|
7321
7321
|
});
|
|
7322
|
-
function _sfc_render$
|
|
7322
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7323
7323
|
return openBlock(), createBlock($setup["OnyxSystemButton"], {
|
|
7324
7324
|
label: $setup.buttonLabel,
|
|
7325
7325
|
icon: $setup.icon,
|
|
7326
7326
|
color: "medium"
|
|
7327
7327
|
}, null, 8, ["label", "icon"]);
|
|
7328
7328
|
}
|
|
7329
|
-
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7329
|
+
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/sorting/SortAction.vue"]]);
|
|
7330
7330
|
const nextSortDirection = (current, skipNone) => {
|
|
7331
7331
|
switch (current) {
|
|
7332
7332
|
case "asc":
|
|
@@ -7568,7 +7568,7 @@ const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
7568
7568
|
useSorting,
|
|
7569
7569
|
useStickyColumns
|
|
7570
7570
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7571
|
-
const _sfc_main$
|
|
7571
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
7572
7572
|
...{ inheritAttrs: false },
|
|
7573
7573
|
__name: "OnyxDatePicker",
|
|
7574
7574
|
props: {
|
|
@@ -7640,9 +7640,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
7640
7640
|
return __returned__;
|
|
7641
7641
|
}
|
|
7642
7642
|
});
|
|
7643
|
-
const _hoisted_1$
|
|
7644
|
-
const _hoisted_2$
|
|
7645
|
-
function _sfc_render$
|
|
7643
|
+
const _hoisted_1$y = { class: "onyx-datepicker__wrapper" };
|
|
7644
|
+
const _hoisted_2$q = ["id", "type", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "min", "max"];
|
|
7645
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7646
7646
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
7647
7647
|
"div",
|
|
7648
7648
|
mergeProps({
|
|
@@ -7671,7 +7671,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7671
7671
|
message: $setup.messages
|
|
7672
7672
|
}), {
|
|
7673
7673
|
default: withCtx(({ id: inputId }) => [
|
|
7674
|
-
createElementVNode("div", _hoisted_1$
|
|
7674
|
+
createElementVNode("div", _hoisted_1$y, [
|
|
7675
7675
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
7676
7676
|
key: 0,
|
|
7677
7677
|
class: "onyx-datepicker__loading",
|
|
@@ -7693,7 +7693,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7693
7693
|
title: $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
7694
7694
|
min: $setup.getNormalizedDate($setup.props.min),
|
|
7695
7695
|
max: $setup.getNormalizedDate($setup.props.max)
|
|
7696
|
-
}, $setup.restAttrs), null, 16, _hoisted_2$
|
|
7696
|
+
}, $setup.restAttrs), null, 16, _hoisted_2$q)), [
|
|
7697
7697
|
[vModelDynamic, $setup.value],
|
|
7698
7698
|
[$setup["vCustomValidity"]]
|
|
7699
7699
|
])
|
|
@@ -7707,9 +7707,9 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7707
7707
|
/* FULL_PROPS */
|
|
7708
7708
|
));
|
|
7709
7709
|
}
|
|
7710
|
-
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7710
|
+
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDatePicker/OnyxDatePicker.vue"]]);
|
|
7711
7711
|
const DIALOG_ALIGNMENTS = ["left", "center", "right"];
|
|
7712
|
-
const _sfc_main$
|
|
7712
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
7713
7713
|
__name: "OnyxForm",
|
|
7714
7714
|
props: {
|
|
7715
7715
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -7729,7 +7729,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
7729
7729
|
return __returned__;
|
|
7730
7730
|
}
|
|
7731
7731
|
});
|
|
7732
|
-
function _sfc_render$
|
|
7732
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7733
7733
|
return openBlock(), createElementBlock(
|
|
7734
7734
|
"form",
|
|
7735
7735
|
{
|
|
@@ -7746,10 +7746,10 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7746
7746
|
/* CLASS */
|
|
7747
7747
|
);
|
|
7748
7748
|
}
|
|
7749
|
-
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7749
|
+
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxForm/OnyxForm.vue"]]);
|
|
7750
7750
|
const HEADLINE_TYPES = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
7751
7751
|
const ICON_SIZES = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"];
|
|
7752
|
-
const _sfc_main$
|
|
7752
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
7753
7753
|
__name: "OnyxIconButton",
|
|
7754
7754
|
props: {
|
|
7755
7755
|
density: { type: null, required: false },
|
|
@@ -7773,7 +7773,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
7773
7773
|
return __returned__;
|
|
7774
7774
|
}
|
|
7775
7775
|
});
|
|
7776
|
-
function _sfc_render$
|
|
7776
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7777
7777
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
7778
7778
|
key: 0,
|
|
7779
7779
|
class: normalizeClass(["onyx-icon-button-skeleton", $setup.densityClass])
|
|
@@ -7801,8 +7801,8 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7801
7801
|
/* FORWARDED */
|
|
7802
7802
|
}, 16, ["aria-label", "title", "class"]));
|
|
7803
7803
|
}
|
|
7804
|
-
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7805
|
-
const _sfc_main$
|
|
7804
|
+
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIconButton/OnyxIconButton.vue"]]);
|
|
7805
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
7806
7806
|
...{ inheritAttrs: false },
|
|
7807
7807
|
__name: "OnyxImage",
|
|
7808
7808
|
props: {
|
|
@@ -7841,10 +7841,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7841
7841
|
return __returned__;
|
|
7842
7842
|
}
|
|
7843
7843
|
});
|
|
7844
|
-
const _hoisted_1$
|
|
7845
|
-
const _hoisted_2$
|
|
7846
|
-
const _hoisted_3$
|
|
7847
|
-
function _sfc_render$
|
|
7844
|
+
const _hoisted_1$x = ["src", "alt"];
|
|
7845
|
+
const _hoisted_2$p = ["src", "alt"];
|
|
7846
|
+
const _hoisted_3$h = { class: "onyx-image__alt onyx-text--small" };
|
|
7847
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7848
7848
|
return openBlock(), createElementBlock(
|
|
7849
7849
|
"figure",
|
|
7850
7850
|
mergeProps($setup.rootAttrs, {
|
|
@@ -7869,7 +7869,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7869
7869
|
src: $setup.imageSrc.light,
|
|
7870
7870
|
alt: $setup.props.alt,
|
|
7871
7871
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.isError = true)
|
|
7872
|
-
}), null, 16, _hoisted_1$
|
|
7872
|
+
}), null, 16, _hoisted_1$x),
|
|
7873
7873
|
$setup.imageSrc.dark ? (openBlock(), createElementBlock("img", mergeProps({
|
|
7874
7874
|
key: 0,
|
|
7875
7875
|
class: "onyx-image__source onyx-image__source--dark"
|
|
@@ -7877,7 +7877,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7877
7877
|
src: $setup.imageSrc.dark,
|
|
7878
7878
|
alt: $setup.props.alt,
|
|
7879
7879
|
onError: _cache[1] || (_cache[1] = ($event) => $setup.isError = true)
|
|
7880
|
-
}), null, 16, _hoisted_2$
|
|
7880
|
+
}), null, 16, _hoisted_2$p)) : createCommentVNode("v-if", true),
|
|
7881
7881
|
$setup.isError ? (openBlock(), createElementBlock(
|
|
7882
7882
|
"div",
|
|
7883
7883
|
mergeProps({
|
|
@@ -7892,7 +7892,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7892
7892
|
}, null, 8, ["icon"]),
|
|
7893
7893
|
createElementVNode(
|
|
7894
7894
|
"div",
|
|
7895
|
-
_hoisted_3$
|
|
7895
|
+
_hoisted_3$h,
|
|
7896
7896
|
toDisplayString($setup.props.alt),
|
|
7897
7897
|
1
|
|
7898
7898
|
/* TEXT */
|
|
@@ -7910,7 +7910,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7910
7910
|
/* FULL_PROPS */
|
|
7911
7911
|
);
|
|
7912
7912
|
}
|
|
7913
|
-
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7913
|
+
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxImage/OnyxImage.vue"]]);
|
|
7914
7914
|
const IMAGE_SHAPES = ["rounded", "circle", "clip", "clip-inverted"];
|
|
7915
7915
|
const useLenientMaxLengthValidation = (options) => {
|
|
7916
7916
|
const { t } = injectI18n();
|
|
@@ -7947,7 +7947,7 @@ const useLenientMaxLengthValidation = (options) => {
|
|
|
7947
7947
|
maxLength
|
|
7948
7948
|
};
|
|
7949
7949
|
};
|
|
7950
|
-
const _sfc_main$
|
|
7950
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
7951
7951
|
...{ inheritAttrs: false },
|
|
7952
7952
|
__name: "OnyxInput",
|
|
7953
7953
|
props: {
|
|
@@ -8030,18 +8030,18 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
8030
8030
|
return __returned__;
|
|
8031
8031
|
}
|
|
8032
8032
|
});
|
|
8033
|
-
const _hoisted_1$
|
|
8034
|
-
const _hoisted_2$
|
|
8033
|
+
const _hoisted_1$w = { class: "onyx-input__wrapper" };
|
|
8034
|
+
const _hoisted_2$o = {
|
|
8035
8035
|
key: 0,
|
|
8036
8036
|
class: "onyx-input__separator onyx-input__separator--leading"
|
|
8037
8037
|
};
|
|
8038
|
-
const _hoisted_3$
|
|
8038
|
+
const _hoisted_3$g = ["id", "placeholder", "type", "required", "autocapitalize", "autocomplete", "autofocus", "name", "pattern", "readonly", "disabled", "maxlength", "minlength", "aria-label", "title"];
|
|
8039
8039
|
const _hoisted_4$d = ["aria-label", "title"];
|
|
8040
8040
|
const _hoisted_5$a = {
|
|
8041
8041
|
key: 4,
|
|
8042
8042
|
class: "onyx-input__separator onyx-input__separator--trailing"
|
|
8043
8043
|
};
|
|
8044
|
-
function _sfc_render$
|
|
8044
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8045
8045
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
8046
8046
|
"div",
|
|
8047
8047
|
mergeProps({
|
|
@@ -8070,9 +8070,9 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8070
8070
|
message: $setup.messages
|
|
8071
8071
|
}), {
|
|
8072
8072
|
default: withCtx(({ id: inputId }) => [
|
|
8073
|
-
createElementVNode("div", _hoisted_1$
|
|
8073
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
8074
8074
|
renderSlot(_ctx.$slots, "leading"),
|
|
8075
|
-
$setup.slots.leading ? (openBlock(), createElementBlock("hr", _hoisted_2$
|
|
8075
|
+
$setup.slots.leading ? (openBlock(), createElementBlock("hr", _hoisted_2$o)) : createCommentVNode("v-if", true),
|
|
8076
8076
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
8077
8077
|
key: 1,
|
|
8078
8078
|
class: "onyx-input__loading",
|
|
@@ -8097,7 +8097,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8097
8097
|
minlength: $setup.props.minlength,
|
|
8098
8098
|
"aria-label": $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
8099
8099
|
title: $setup.props.hideLabel ? $setup.props.label : void 0
|
|
8100
|
-
}, $setup.restAttrs), null, 16, _hoisted_3$
|
|
8100
|
+
}, $setup.restAttrs), null, 16, _hoisted_3$g), [
|
|
8101
8101
|
[vModelDynamic, $setup.modelValue],
|
|
8102
8102
|
[$setup["vCustomValidity"]]
|
|
8103
8103
|
]),
|
|
@@ -8139,9 +8139,9 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8139
8139
|
/* FULL_PROPS */
|
|
8140
8140
|
));
|
|
8141
8141
|
}
|
|
8142
|
-
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8142
|
+
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue"]]);
|
|
8143
8143
|
const INPUT_TYPES = ["email", "password", "search", "tel", "text", "url"];
|
|
8144
|
-
const _sfc_main$
|
|
8144
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
8145
8145
|
__name: "OnyxLink",
|
|
8146
8146
|
props: {
|
|
8147
8147
|
href: { type: String, required: false },
|
|
@@ -8156,7 +8156,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
8156
8156
|
return __returned__;
|
|
8157
8157
|
}
|
|
8158
8158
|
});
|
|
8159
|
-
function _sfc_render$
|
|
8159
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8160
8160
|
return openBlock(), createBlock(
|
|
8161
8161
|
$setup["OnyxRouterLink"],
|
|
8162
8162
|
mergeProps({ class: "onyx-component onyx-link" }, $setup.props),
|
|
@@ -8178,8 +8178,8 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8178
8178
|
/* FULL_PROPS */
|
|
8179
8179
|
);
|
|
8180
8180
|
}
|
|
8181
|
-
const OnyxLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8182
|
-
const _sfc_main$
|
|
8181
|
+
const OnyxLink = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLink/OnyxLink.vue"]]);
|
|
8182
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
8183
8183
|
__name: "OnyxMobileNavButton",
|
|
8184
8184
|
props: {
|
|
8185
8185
|
label: { type: String, required: true },
|
|
@@ -8201,12 +8201,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
8201
8201
|
return __returned__;
|
|
8202
8202
|
}
|
|
8203
8203
|
});
|
|
8204
|
-
const _hoisted_1$
|
|
8205
|
-
const _hoisted_2$
|
|
8206
|
-
const _hoisted_3$
|
|
8204
|
+
const _hoisted_1$v = { class: "onyx-component onyx-mobile-nav-button" };
|
|
8205
|
+
const _hoisted_2$n = ["aria-label", "disabled"];
|
|
8206
|
+
const _hoisted_3$f = { class: "onyx-mobile-nav-button__flyout" };
|
|
8207
8207
|
const _hoisted_4$c = { class: "onyx-mobile-nav-button__menu" };
|
|
8208
|
-
function _sfc_render$
|
|
8209
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8208
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8209
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
8210
8210
|
createElementVNode("button", {
|
|
8211
8211
|
type: "button",
|
|
8212
8212
|
class: normalizeClass(["onyx-mobile-nav-button__trigger", { "onyx-mobile-nav-button__trigger--active": $setup.props.open }]),
|
|
@@ -8217,10 +8217,10 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8217
8217
|
createVNode($setup["OnyxIcon"], {
|
|
8218
8218
|
icon: $setup.props.open ? $setup.iconX : $setup.props.icon
|
|
8219
8219
|
}, null, 8, ["icon"])
|
|
8220
|
-
], 10, _hoisted_2$
|
|
8220
|
+
], 10, _hoisted_2$n),
|
|
8221
8221
|
withDirectives(createElementVNode(
|
|
8222
8222
|
"div",
|
|
8223
|
-
_hoisted_3$
|
|
8223
|
+
_hoisted_3$f,
|
|
8224
8224
|
[
|
|
8225
8225
|
createElementVNode("div", _hoisted_4$c, [
|
|
8226
8226
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
@@ -8254,8 +8254,8 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8254
8254
|
})) : createCommentVNode("v-if", true)
|
|
8255
8255
|
]);
|
|
8256
8256
|
}
|
|
8257
|
-
const OnyxMobileNavButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8258
|
-
const _sfc_main$
|
|
8257
|
+
const OnyxMobileNavButton = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMobileNavButton/OnyxMobileNavButton.vue"]]);
|
|
8258
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
8259
8259
|
__name: "OnyxModal",
|
|
8260
8260
|
props: {
|
|
8261
8261
|
density: { type: null, required: false },
|
|
@@ -8281,16 +8281,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
8281
8281
|
return __returned__;
|
|
8282
8282
|
}
|
|
8283
8283
|
});
|
|
8284
|
-
const _hoisted_1$
|
|
8285
|
-
const _hoisted_2$
|
|
8286
|
-
const _hoisted_3$
|
|
8284
|
+
const _hoisted_1$u = { class: "onyx-modal__header" };
|
|
8285
|
+
const _hoisted_2$m = { class: "onyx-modal__headline" };
|
|
8286
|
+
const _hoisted_3$e = { class: "onyx-modal__headline-content" };
|
|
8287
8287
|
const _hoisted_4$b = ["id"];
|
|
8288
8288
|
const _hoisted_5$9 = { class: "onyx-modal__body" };
|
|
8289
8289
|
const _hoisted_6$7 = {
|
|
8290
8290
|
key: 0,
|
|
8291
8291
|
class: "onyx-modal__footer"
|
|
8292
8292
|
};
|
|
8293
|
-
function _sfc_render$
|
|
8293
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8294
8294
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps($setup.props, {
|
|
8295
8295
|
modal: "",
|
|
8296
8296
|
class: ["onyx-modal", $setup.densityClass],
|
|
@@ -8298,9 +8298,9 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8298
8298
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
8299
8299
|
}), {
|
|
8300
8300
|
default: withCtx(() => [
|
|
8301
|
-
createElementVNode("div", _hoisted_1$
|
|
8302
|
-
createElementVNode("div", _hoisted_2$
|
|
8303
|
-
createElementVNode("div", _hoisted_3$
|
|
8301
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
8302
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
8303
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
8304
8304
|
renderSlot(_ctx.$slots, "headline", {
|
|
8305
8305
|
label: $setup.props.label
|
|
8306
8306
|
}, () => [
|
|
@@ -8344,7 +8344,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8344
8344
|
/* FORWARDED */
|
|
8345
8345
|
}, 16, ["class", "aria-describedby"]);
|
|
8346
8346
|
}
|
|
8347
|
-
const OnyxModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8347
|
+
const OnyxModal = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxModal/OnyxModal.vue"]]);
|
|
8348
8348
|
const useMoreList = (options) => {
|
|
8349
8349
|
const visibleElements = ref();
|
|
8350
8350
|
const hiddenElements = ref();
|
|
@@ -8426,7 +8426,7 @@ const useMoreListChild = (injectionKey) => {
|
|
|
8426
8426
|
isVisible
|
|
8427
8427
|
};
|
|
8428
8428
|
};
|
|
8429
|
-
const _sfc_main$
|
|
8429
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
8430
8430
|
__name: "OnyxMoreList",
|
|
8431
8431
|
props: {
|
|
8432
8432
|
injectionKey: { type: [Symbol, Object], required: true },
|
|
@@ -8453,7 +8453,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
8453
8453
|
return __returned__;
|
|
8454
8454
|
}
|
|
8455
8455
|
});
|
|
8456
|
-
function _sfc_render$
|
|
8456
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8457
8457
|
return openBlock(), createBlock(
|
|
8458
8458
|
resolveDynamicComponent($setup.props.is),
|
|
8459
8459
|
{
|
|
@@ -8485,8 +8485,8 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8485
8485
|
/* NEED_PATCH */
|
|
8486
8486
|
);
|
|
8487
8487
|
}
|
|
8488
|
-
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8489
|
-
const _sfc_main$
|
|
8488
|
+
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMoreList/OnyxMoreList.vue"]]);
|
|
8489
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
8490
8490
|
__name: "OnyxNavAppArea",
|
|
8491
8491
|
props: {
|
|
8492
8492
|
link: { type: null, required: false, default: "/" },
|
|
@@ -8505,12 +8505,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8505
8505
|
return __returned__;
|
|
8506
8506
|
}
|
|
8507
8507
|
});
|
|
8508
|
-
const _hoisted_1$
|
|
8509
|
-
const _hoisted_2$
|
|
8508
|
+
const _hoisted_1$t = ["src", "alt"];
|
|
8509
|
+
const _hoisted_2$l = {
|
|
8510
8510
|
key: 1,
|
|
8511
8511
|
class: "onyx-text-small onyx-truncation-ellipsis"
|
|
8512
8512
|
};
|
|
8513
|
-
function _sfc_render$
|
|
8513
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8514
8514
|
return openBlock(), createBlock($setup["OnyxRouterLink"], mergeProps($setup.linkProps, {
|
|
8515
8515
|
class: "onyx-component onyx-nav-app-area",
|
|
8516
8516
|
"aria-label": $setup.buttonLabel
|
|
@@ -8524,10 +8524,10 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8524
8524
|
class: "onyx-nav-app-area__logo",
|
|
8525
8525
|
width: "24",
|
|
8526
8526
|
height: "24"
|
|
8527
|
-
}, null, 8, _hoisted_1$
|
|
8527
|
+
}, null, 8, _hoisted_1$t)) : createCommentVNode("v-if", true),
|
|
8528
8528
|
$setup.props.appName ? (openBlock(), createElementBlock(
|
|
8529
8529
|
"span",
|
|
8530
|
-
_hoisted_2$
|
|
8530
|
+
_hoisted_2$l,
|
|
8531
8531
|
toDisplayString($setup.props.appName),
|
|
8532
8532
|
1
|
|
8533
8533
|
/* TEXT */
|
|
@@ -8538,8 +8538,8 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8538
8538
|
/* FORWARDED */
|
|
8539
8539
|
}, 16, ["aria-label"]);
|
|
8540
8540
|
}
|
|
8541
|
-
const OnyxNavAppArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8542
|
-
const _sfc_main$
|
|
8541
|
+
const OnyxNavAppArea = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavAppArea/OnyxNavAppArea.vue"]]);
|
|
8542
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
8543
8543
|
__name: "OnyxSelectDialog",
|
|
8544
8544
|
props: {
|
|
8545
8545
|
open: { type: [Boolean, null], required: false, skipCheck: true, default: false },
|
|
@@ -8572,14 +8572,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
8572
8572
|
return __returned__;
|
|
8573
8573
|
}
|
|
8574
8574
|
});
|
|
8575
|
-
const _hoisted_1$
|
|
8576
|
-
const _hoisted_2$
|
|
8577
|
-
const _hoisted_3$
|
|
8575
|
+
const _hoisted_1$s = ["id"];
|
|
8576
|
+
const _hoisted_2$k = ["autofocus", "value", "checked", "aria-label"];
|
|
8577
|
+
const _hoisted_3$d = { class: "onyx-select-dialog__label" };
|
|
8578
8578
|
const _hoisted_4$a = {
|
|
8579
8579
|
key: 0,
|
|
8580
8580
|
class: "onyx-text--small"
|
|
8581
8581
|
};
|
|
8582
|
-
function _sfc_render$
|
|
8582
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8583
8583
|
return openBlock(), createBlock($setup["OnyxModal"], mergeProps($setup.props, {
|
|
8584
8584
|
open: $setup.props.open,
|
|
8585
8585
|
class: "onyx-select-dialog",
|
|
@@ -8649,7 +8649,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8649
8649
|
checked: $setup.props.modelValue === option.value,
|
|
8650
8650
|
"aria-label": option.label,
|
|
8651
8651
|
required: ""
|
|
8652
|
-
}, null, 8, _hoisted_2$
|
|
8652
|
+
}, null, 8, _hoisted_2$k)
|
|
8653
8653
|
]),
|
|
8654
8654
|
_: 2
|
|
8655
8655
|
/* DYNAMIC */
|
|
@@ -8659,7 +8659,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8659
8659
|
),
|
|
8660
8660
|
createElementVNode(
|
|
8661
8661
|
"span",
|
|
8662
|
-
_hoisted_3$
|
|
8662
|
+
_hoisted_3$d,
|
|
8663
8663
|
toDisplayString(option.label),
|
|
8664
8664
|
1
|
|
8665
8665
|
/* TEXT */
|
|
@@ -8688,7 +8688,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8688
8688
|
32
|
|
8689
8689
|
/* NEED_HYDRATION */
|
|
8690
8690
|
)
|
|
8691
|
-
], 40, _hoisted_1$
|
|
8691
|
+
], 40, _hoisted_1$s)
|
|
8692
8692
|
]),
|
|
8693
8693
|
_: 2
|
|
8694
8694
|
/* DYNAMIC */
|
|
@@ -8702,11 +8702,11 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8702
8702
|
} : void 0
|
|
8703
8703
|
]), 1040, ["open", "label"]);
|
|
8704
8704
|
}
|
|
8705
|
-
const OnyxSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8705
|
+
const OnyxSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectDialog/OnyxSelectDialog.vue"]]);
|
|
8706
8706
|
const autoImage = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 206 110"><g clip-path="url(#auto-a)"><mask id="auto-d" fill="var(--onyx-color-neutral-grayscale-white)"><path d="M0 4a4 4 0 0 1 4-4h99v110H4a4 4 0 0 1-4-4z"/></mask><path fill="var(--onyx-color-neutral-steel-1200)" d="M0 4a4 4 0 0 1 4-4h99v110H4a4 4 0 0 1-4-4z"/><g filter="url(#auto-b)"><mask id="auto-c" fill="var(--onyx-color-neutral-grayscale-white)"><path d="M0 26h46v84H0z"/></mask><path fill="var(--onyx-color-neutral-steel-1100)" d="M0 26h46v84H0z"/><path fill="var(--onyx-color-neutral-steel-900)" d="M46 26h-1v84h2V26z" mask="url(#auto-c)"/></g><path fill="var(--onyx-color-neutral-steel-1100)" stroke="var(--onyx-color-neutral-steel-900)" d="M.5.5h281v25H.5z"/><path fill="var(--onyx-color-onyx-500)" d="M10 12.5a2.5 2.5 0 0 1 2.5-2.5h35a2.5 2.5 0 0 1 0 5h-35a2.5 2.5 0 0 1-2.5-2.5"/><path fill="var(--onyx-color-neutral-steel-900)" d="M68 12.5a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5M59 43a7 7 0 0 1 7-7h54a7 7 0 1 1 0 14H66a7 7 0 0 1-7-7m0 19a2 2 0 0 1 2-2h85a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h120a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h95a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2"/></g><path fill="var(--onyx-color-neutral-steel-900)" d="M-1 4a5 5 0 0 1 5-5h99v2H4a3 3 0 0 0-3 3zm104 107H4a5 5 0 0 1-5-5h2a3 3 0 0 0 3 3h99zm-99 0a5 5 0 0 1-5-5V4a5 5 0 0 1 5-5v2a3 3 0 0 0-3 3v102a3 3 0 0 0 3 3zM103 0v110z" mask="url(#auto-d)"/><g clip-path="url(#auto-e)"><mask id="auto-f" fill="var(--onyx-color-neutral-grayscale-white)"><path d="M103 0h99a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4h-99z"/></mask><path fill="var(--onyx-color-neutral-steel-100)" d="M103 0h99a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4h-99z"/><path fill="var(--onyx-color-neutral-grayscale-white)" stroke="var(--onyx-color-neutral-steel-300)" d="M.5.5h281v25H.5z"/><path fill="var(--onyx-color-neutral-steel-300)" d="M68 12.5a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5m48 0a2.5 2.5 0 0 1 2.5-2.5h33a2.5 2.5 0 1 1 0 5h-33a2.5 2.5 0 0 1-2.5-2.5m47 0a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5M59 43a7 7 0 0 1 7-7h54a7 7 0 1 1 0 14H66a7 7 0 0 1-7-7m0 19a2 2 0 0 1 2-2h85a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h120a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h95a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2"/></g><path fill="var(--onyx-color-neutral-steel-300)" d="M103-1h99a5 5 0 0 1 5 5h-2a3 3 0 0 0-3-3h-99zm104 107a5 5 0 0 1-5 5h-99v-2h99a3 3 0 0 0 3-3zm-104 4V0zM202-1a5 5 0 0 1 5 5v102a5 5 0 0 1-5 5v-2a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3z" mask="url(#auto-f)"/><defs><clipPath id="auto-a"><path fill="var(--onyx-color-neutral-grayscale-white)" d="M0 4a4 4 0 0 1 4-4h99v110H4a4 4 0 0 1-4-4z"/></clipPath><clipPath id="auto-e"><path fill="var(--onyx-color-neutral-grayscale-white)" d="M103 0h99a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4h-99z"/></clipPath><filter id="auto-b" width="62" height="100" x="-6" y="18" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="2"/><feGaussianBlur stdDeviation="4"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_16217_22720"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_16217_22720" result="shape"/></filter></defs></svg>';
|
|
8707
8707
|
const darkImage = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 206 110"><g clip-path="url(#dark-a)"><path fill="var(--onyx-color-neutral-steel-1200)" d="M0 4a4 4 0 0 1 4-4h198a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z"/><g filter="url(#dark-b)"><mask id="dark-c" fill="#fff"><path d="M0 26h46v84H0z"/></mask><path fill="var(--onyx-color-neutral-steel-1100)" d="M0 26h46v84H0z"/><path fill="var(--onyx-color-neutral-steel-900)" d="M46 26h-1v84h2V26z" mask="url(#dark-c)"/></g><path fill="var(--onyx-color-neutral-steel-1100)" stroke="var(--onyx-color-neutral-steel-900)" d="M.5.5h281v25H.5z"/><path fill="var(--onyx-color-onyx-500)" d="M10 12.5a2.5 2.5 0 0 1 2.5-2.5h35a2.5 2.5 0 0 1 0 5h-35a2.5 2.5 0 0 1-2.5-2.5"/><path fill="var(--onyx-color-neutral-steel-900)" d="M68 12.5a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5m48 0a2.5 2.5 0 0 1 2.5-2.5h33a2.5 2.5 0 1 1 0 5h-33a2.5 2.5 0 0 1-2.5-2.5m47 0a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5M59 43a7 7 0 0 1 7-7h54a7 7 0 1 1 0 14H66a7 7 0 0 1-7-7m0 19a2 2 0 0 1 2-2h85a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h120a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h95a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2"/></g><path stroke="var(--onyx-color-neutral-steel-900)" d="M4 .5h198a3.5 3.5 0 0 1 3.5 3.5v102a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 106V4A3.5 3.5 0 0 1 4 .5Z"/><defs><clipPath id="dark-a"><path fill="#fff" d="M0 4a4 4 0 0 1 4-4h198a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z"/></clipPath><filter id="dark-b" width="62" height="100" x="-6" y="18" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="2"/><feGaussianBlur stdDeviation="4"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_16217_22757"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_16217_22757" result="shape"/></filter></defs></svg>';
|
|
8708
8708
|
const lightImage = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 206 110"><g clip-path="url(#light-a)"><path fill="var(--onyx-color-neutral-steel-100)" d="M0 4a4 4 0 0 1 4-4h198a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z"/><g filter="url(#light-b)"><mask id="light-c" fill="var(--onyx-color-neutral-grayscale-white)"><path d="M0 26h46v84H0z"/></mask><path fill="var(--onyx-color-neutral-grayscale-white)" d="M0 26h46v84H0z"/><path fill="var(--onyx-color-neutral-steel-300)" d="M46 26h-1v84h2V26z" mask="url(#light-c)"/></g><path fill="var(--onyx-color-neutral-grayscale-white)" stroke="var(--onyx-color-neutral-steel-300)" d="M.5.5h281v25H.5z"/><path fill="var(--onyx-color-onyx-500)" d="M10 12.5a2.5 2.5 0 0 1 2.5-2.5h35a2.5 2.5 0 0 1 0 5h-35a2.5 2.5 0 0 1-2.5-2.5"/><path fill="var(--onyx-color-neutral-steel-300)" d="M68 12.5a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5m48 0a2.5 2.5 0 0 1 2.5-2.5h33a2.5 2.5 0 1 1 0 5h-33a2.5 2.5 0 0 1-2.5-2.5m47 0a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5M59 43a7 7 0 0 1 7-7h54a7 7 0 1 1 0 14H66a7 7 0 0 1-7-7m0 19a2 2 0 0 1 2-2h85a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h120a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h95a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2"/></g><path stroke="var(--onyx-color-neutral-steel-300)" d="M4 .5h198a3.5 3.5 0 0 1 3.5 3.5v102a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 106V4A3.5 3.5 0 0 1 4 .5Z"/><defs><clipPath id="light-a"><path fill="var(--onyx-color-neutral-grayscale-white)" d="M0 4a4 4 0 0 1 4-4h198a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z"/></clipPath><filter id="light-b" width="62" height="100" x="-6" y="18" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="2"/><feGaussianBlur stdDeviation="4"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_16217_22745"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_16217_22745" result="shape"/></filter></defs></svg>';
|
|
8709
|
-
const _sfc_main$
|
|
8709
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
8710
8710
|
__name: "OnyxColorSchemeDialog",
|
|
8711
8711
|
props: {
|
|
8712
8712
|
open: { type: [Boolean, null], required: false, skipCheck: true, default: false },
|
|
@@ -8746,7 +8746,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8746
8746
|
return __returned__;
|
|
8747
8747
|
}
|
|
8748
8748
|
});
|
|
8749
|
-
function _sfc_render$
|
|
8749
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8750
8750
|
return openBlock(), createBlock($setup["OnyxSelectDialog"], mergeProps({ class: "onyx-color-scheme-dialog" }, $setup.props, {
|
|
8751
8751
|
label: $setup.t("colorScheme.headline"),
|
|
8752
8752
|
options: $setup.options,
|
|
@@ -8765,8 +8765,8 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8765
8765
|
/* STABLE */
|
|
8766
8766
|
}, 16, ["label", "options", "open"]);
|
|
8767
8767
|
}
|
|
8768
|
-
const OnyxColorSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8769
|
-
const _sfc_main$
|
|
8768
|
+
const OnyxColorSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.vue"]]);
|
|
8769
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
8770
8770
|
__name: "OnyxColorSchemeMenuItem",
|
|
8771
8771
|
props: {
|
|
8772
8772
|
modelValue: { type: String, required: true }
|
|
@@ -8785,8 +8785,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
8785
8785
|
return __returned__;
|
|
8786
8786
|
}
|
|
8787
8787
|
});
|
|
8788
|
-
const _hoisted_1$
|
|
8789
|
-
function _sfc_render$
|
|
8788
|
+
const _hoisted_1$r = { class: "onyx-color-scheme-menu-item__value" };
|
|
8789
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8790
8790
|
return openBlock(), createBlock($setup["OnyxMenuItem"], {
|
|
8791
8791
|
class: "onyx-component onyx-color-scheme-menu-item",
|
|
8792
8792
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.isOpen = true)
|
|
@@ -8801,7 +8801,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8801
8801
|
),
|
|
8802
8802
|
createElementVNode(
|
|
8803
8803
|
"span",
|
|
8804
|
-
_hoisted_1$
|
|
8804
|
+
_hoisted_1$r,
|
|
8805
8805
|
toDisplayString($setup.t(`colorScheme.${$setup.props.modelValue}.label`)),
|
|
8806
8806
|
1
|
|
8807
8807
|
/* TEXT */
|
|
@@ -8820,8 +8820,8 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8820
8820
|
/* STABLE */
|
|
8821
8821
|
});
|
|
8822
8822
|
}
|
|
8823
|
-
const OnyxColorSchemeMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8824
|
-
const _sfc_main$
|
|
8823
|
+
const OnyxColorSchemeMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.vue"]]);
|
|
8824
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
8825
8825
|
__name: "OnyxLanguageMenuItem",
|
|
8826
8826
|
props: {
|
|
8827
8827
|
modelValue: { type: null, required: true },
|
|
@@ -8846,8 +8846,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
8846
8846
|
return __returned__;
|
|
8847
8847
|
}
|
|
8848
8848
|
});
|
|
8849
|
-
const _hoisted_1$
|
|
8850
|
-
function _sfc_render$
|
|
8849
|
+
const _hoisted_1$q = { class: "onyx-language-menu-item__value" };
|
|
8850
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8851
8851
|
return openBlock(), createBlock($setup["OnyxMenuItem"], {
|
|
8852
8852
|
class: "onyx-component onyx-language-menu-item",
|
|
8853
8853
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.isOpen = true)
|
|
@@ -8862,7 +8862,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8862
8862
|
),
|
|
8863
8863
|
createElementVNode(
|
|
8864
8864
|
"span",
|
|
8865
|
-
_hoisted_1$
|
|
8865
|
+
_hoisted_1$q,
|
|
8866
8866
|
toDisplayString($setup.currentValueLabel),
|
|
8867
8867
|
1
|
|
8868
8868
|
/* TEXT */
|
|
@@ -8893,12 +8893,12 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8893
8893
|
/* STABLE */
|
|
8894
8894
|
});
|
|
8895
8895
|
}
|
|
8896
|
-
const OnyxLanguageMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8896
|
+
const OnyxLanguageMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxLanguageMenuItem/OnyxLanguageMenuItem.vue"]]);
|
|
8897
8897
|
const MOBILE_NAV_BAR_INJECTION_KEY = Symbol();
|
|
8898
8898
|
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = Symbol();
|
|
8899
8899
|
const NAV_BAR_MORE_LIST_INJECTION_KEY = Symbol();
|
|
8900
8900
|
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
8901
|
-
const _sfc_main$
|
|
8901
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
8902
8902
|
__name: "OnyxSeparator",
|
|
8903
8903
|
props: {
|
|
8904
8904
|
orientation: { type: null, required: false, default: "horizontal" }
|
|
@@ -8915,16 +8915,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
8915
8915
|
return __returned__;
|
|
8916
8916
|
}
|
|
8917
8917
|
});
|
|
8918
|
-
const _hoisted_1$
|
|
8919
|
-
function _sfc_render$
|
|
8918
|
+
const _hoisted_1$p = ["aria-orientation"];
|
|
8919
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8920
8920
|
return openBlock(), createElementBlock("div", {
|
|
8921
8921
|
class: normalizeClass(["onyx-component onyx-separator", { "onyx-separator--vertical": $setup.isVertical }]),
|
|
8922
8922
|
role: "separator",
|
|
8923
8923
|
"aria-orientation": $setup.props.orientation
|
|
8924
|
-
}, null, 10, _hoisted_1$
|
|
8924
|
+
}, null, 10, _hoisted_1$p);
|
|
8925
8925
|
}
|
|
8926
|
-
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8927
|
-
const _sfc_main$
|
|
8926
|
+
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSeparator/OnyxSeparator.vue"]]);
|
|
8927
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
8928
8928
|
__name: "OnyxNavItemFacade",
|
|
8929
8929
|
props: {
|
|
8930
8930
|
link: { type: null, required: false },
|
|
@@ -8945,7 +8945,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
8945
8945
|
return __returned__;
|
|
8946
8946
|
}
|
|
8947
8947
|
});
|
|
8948
|
-
function _sfc_render$
|
|
8948
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8949
8949
|
return openBlock(), createBlock($setup["OnyxMenuItem"], mergeProps($setup.props, {
|
|
8950
8950
|
link: $setup.hasChildren && $setup.props.context !== "navbar" ? void 0 : $setup.props.link,
|
|
8951
8951
|
class: {
|
|
@@ -8971,8 +8971,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8971
8971
|
} : void 0
|
|
8972
8972
|
]), 1040, ["link", "class", "open"]);
|
|
8973
8973
|
}
|
|
8974
|
-
const OnyxNavItemFacade = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8975
|
-
const _sfc_main$
|
|
8974
|
+
const OnyxNavItemFacade = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxNavItemFacade/OnyxNavItemFacade.vue"]]);
|
|
8975
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
8976
8976
|
...{ inheritAttrs: false },
|
|
8977
8977
|
__name: "OnyxNavItem",
|
|
8978
8978
|
props: {
|
|
@@ -9018,12 +9018,12 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
9018
9018
|
return __returned__;
|
|
9019
9019
|
}
|
|
9020
9020
|
});
|
|
9021
|
-
const _hoisted_1$
|
|
9022
|
-
const _hoisted_2$
|
|
9021
|
+
const _hoisted_1$o = { class: "onyx-nav-item-wrapper__controls" };
|
|
9022
|
+
const _hoisted_2$j = {
|
|
9023
9023
|
role: "menu",
|
|
9024
9024
|
class: "onyx-nav-item-wrapper__mobile-children"
|
|
9025
9025
|
};
|
|
9026
|
-
function _sfc_render$
|
|
9026
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9027
9027
|
return $setup.isMobile && $setup.open ? (openBlock(), createElementBlock(
|
|
9028
9028
|
"div",
|
|
9029
9029
|
mergeProps({
|
|
@@ -9035,7 +9035,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9035
9035
|
}
|
|
9036
9036
|
}, $setup.rootAttrs),
|
|
9037
9037
|
[
|
|
9038
|
-
createElementVNode("div", _hoisted_1$
|
|
9038
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
9039
9039
|
createVNode($setup["OnyxButton"], {
|
|
9040
9040
|
label: $setup.t("back"),
|
|
9041
9041
|
mode: "plain",
|
|
@@ -9063,7 +9063,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9063
9063
|
/* STABLE_FRAGMENT */
|
|
9064
9064
|
)) : createCommentVNode("v-if", true)
|
|
9065
9065
|
]),
|
|
9066
|
-
createElementVNode("ul", _hoisted_2$
|
|
9066
|
+
createElementVNode("ul", _hoisted_2$j, [
|
|
9067
9067
|
renderSlot(_ctx.$slots, "children")
|
|
9068
9068
|
])
|
|
9069
9069
|
],
|
|
@@ -9160,7 +9160,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9160
9160
|
}, 16, ["active"])
|
|
9161
9161
|
], 8, ["disabled", "to"]));
|
|
9162
9162
|
}
|
|
9163
|
-
const OnyxNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9163
|
+
const OnyxNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue"]]);
|
|
9164
9164
|
const useTimer = (endTime) => {
|
|
9165
9165
|
const intervalId = ref();
|
|
9166
9166
|
const timeLeft = ref(calculateTimeLeft(new Date(endTime.value).getTime()));
|
|
@@ -9221,7 +9221,7 @@ const timeToDurationString = (timeLeft) => {
|
|
|
9221
9221
|
const { hours, minutes, seconds } = getTimeFragments(timeLeft);
|
|
9222
9222
|
return `PT${hours}H${minutes}M${seconds}S`;
|
|
9223
9223
|
};
|
|
9224
|
-
const _sfc_main$
|
|
9224
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
9225
9225
|
__name: "OnyxTimer",
|
|
9226
9226
|
props: {
|
|
9227
9227
|
endTime: { type: null, required: true },
|
|
@@ -9252,13 +9252,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
9252
9252
|
return __returned__;
|
|
9253
9253
|
}
|
|
9254
9254
|
});
|
|
9255
|
-
const _hoisted_1$
|
|
9256
|
-
const _hoisted_2$
|
|
9255
|
+
const _hoisted_1$n = ["aria-label"];
|
|
9256
|
+
const _hoisted_2$i = {
|
|
9257
9257
|
key: 0,
|
|
9258
9258
|
class: "onyx-timer__label"
|
|
9259
9259
|
};
|
|
9260
|
-
const _hoisted_3$
|
|
9261
|
-
function _sfc_render$
|
|
9260
|
+
const _hoisted_3$c = ["datetime"];
|
|
9261
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9262
9262
|
return openBlock(), createElementBlock("div", {
|
|
9263
9263
|
class: "onyx-component onyx-timer onyx-text onyx-truncation-ellipsis",
|
|
9264
9264
|
role: "timer",
|
|
@@ -9266,7 +9266,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9266
9266
|
}, [
|
|
9267
9267
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
9268
9268
|
"span",
|
|
9269
|
-
_hoisted_2$
|
|
9269
|
+
_hoisted_2$i,
|
|
9270
9270
|
toDisplayString($setup.props.label),
|
|
9271
9271
|
1
|
|
9272
9272
|
/* TEXT */
|
|
@@ -9274,11 +9274,11 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9274
9274
|
createElementVNode("time", {
|
|
9275
9275
|
datetime: $setup.timeToDurationString($setup.timeLeft),
|
|
9276
9276
|
class: "onyx-timer__time"
|
|
9277
|
-
}, toDisplayString($setup.formattedTime), 9, _hoisted_3$
|
|
9278
|
-
], 8, _hoisted_1$
|
|
9277
|
+
}, toDisplayString($setup.formattedTime), 9, _hoisted_3$c)
|
|
9278
|
+
], 8, _hoisted_1$n);
|
|
9279
9279
|
}
|
|
9280
|
-
const OnyxTimer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9281
|
-
const _sfc_main$
|
|
9280
|
+
const OnyxTimer = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.vue"]]);
|
|
9281
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
9282
9282
|
__name: "UserMenuLayout",
|
|
9283
9283
|
props: {
|
|
9284
9284
|
isMobile: { type: Boolean, required: true },
|
|
@@ -9303,10 +9303,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
9303
9303
|
return __returned__;
|
|
9304
9304
|
}
|
|
9305
9305
|
});
|
|
9306
|
-
const _hoisted_1$
|
|
9307
|
-
const _hoisted_2$
|
|
9308
|
-
function _sfc_render$
|
|
9309
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9306
|
+
const _hoisted_1$m = { class: "onyx-component" };
|
|
9307
|
+
const _hoisted_2$h = { class: "onyx-user-menu__footer onyx-text--small" };
|
|
9308
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9309
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
9310
9310
|
$setup.props.isMobile ? (openBlock(), createElementBlock(
|
|
9311
9311
|
Fragment,
|
|
9312
9312
|
{ key: 0 },
|
|
@@ -9350,7 +9350,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9350
9350
|
!!$setup.slots.footer ? {
|
|
9351
9351
|
name: "footer",
|
|
9352
9352
|
fn: withCtx(() => [
|
|
9353
|
-
createElementVNode("div", _hoisted_2$
|
|
9353
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
9354
9354
|
renderSlot(_ctx.$slots, "footer")
|
|
9355
9355
|
])
|
|
9356
9356
|
]),
|
|
@@ -9359,8 +9359,8 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9359
9359
|
]), 1032, ["open", "label", "disabled"]))
|
|
9360
9360
|
]);
|
|
9361
9361
|
}
|
|
9362
|
-
const UserMenuLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9363
|
-
const _sfc_main$
|
|
9362
|
+
const UserMenuLayout = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxUserMenu/UserMenuLayout.vue"]]);
|
|
9363
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
9364
9364
|
__name: "OnyxUserMenu",
|
|
9365
9365
|
props: {
|
|
9366
9366
|
fullName: { type: String, required: true },
|
|
@@ -9394,16 +9394,16 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9394
9394
|
return __returned__;
|
|
9395
9395
|
}
|
|
9396
9396
|
});
|
|
9397
|
-
const _hoisted_1$
|
|
9398
|
-
const _hoisted_2$
|
|
9399
|
-
const _hoisted_3$
|
|
9397
|
+
const _hoisted_1$l = { class: "onyx-truncation-ellipsis" };
|
|
9398
|
+
const _hoisted_2$g = { class: "onyx-user-menu__header" };
|
|
9399
|
+
const _hoisted_3$b = { class: "onyx-truncation-ellipsis" };
|
|
9400
9400
|
const _hoisted_4$9 = { class: "onyx-user-menu__username onyx-text onyx-truncation-ellipsis" };
|
|
9401
9401
|
const _hoisted_5$8 = {
|
|
9402
9402
|
key: 0,
|
|
9403
9403
|
class: "onyx-user-menu__description onyx-text--small onyx-truncation-ellipsis"
|
|
9404
9404
|
};
|
|
9405
9405
|
const _hoisted_6$6 = { class: "onyx-user-menu__options" };
|
|
9406
|
-
function _sfc_render$
|
|
9406
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9407
9407
|
return openBlock(), createBlock($setup["UserMenuLayout"], {
|
|
9408
9408
|
"flyout-open": $setup.flyoutOpen,
|
|
9409
9409
|
"onUpdate:flyoutOpen": _cache[0] || (_cache[0] = ($event) => $setup.flyoutOpen = $event),
|
|
@@ -9428,7 +9428,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9428
9428
|
),
|
|
9429
9429
|
createElementVNode(
|
|
9430
9430
|
"span",
|
|
9431
|
-
_hoisted_1$
|
|
9431
|
+
_hoisted_1$l,
|
|
9432
9432
|
toDisplayString($setup.props.fullName),
|
|
9433
9433
|
1
|
|
9434
9434
|
/* TEXT */
|
|
@@ -9439,7 +9439,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9439
9439
|
)
|
|
9440
9440
|
]),
|
|
9441
9441
|
header: withCtx(() => [
|
|
9442
|
-
createElementVNode("div", _hoisted_2$
|
|
9442
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
9443
9443
|
createVNode(
|
|
9444
9444
|
$setup["OnyxAvatar"],
|
|
9445
9445
|
mergeProps($setup.avatar, { size: "48px" }),
|
|
@@ -9447,7 +9447,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9447
9447
|
16
|
|
9448
9448
|
/* FULL_PROPS */
|
|
9449
9449
|
),
|
|
9450
|
-
createElementVNode("div", _hoisted_3$
|
|
9450
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
9451
9451
|
createElementVNode(
|
|
9452
9452
|
"div",
|
|
9453
9453
|
_hoisted_4$9,
|
|
@@ -9482,8 +9482,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9482
9482
|
} : void 0
|
|
9483
9483
|
]), 1032, ["flyout-open", "class", "is-mobile", "disabled"]);
|
|
9484
9484
|
}
|
|
9485
|
-
const OnyxUserMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9486
|
-
const _sfc_main$
|
|
9485
|
+
const OnyxUserMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxUserMenu/OnyxUserMenu.vue"]]);
|
|
9486
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
9487
9487
|
__name: "OnyxNavBar",
|
|
9488
9488
|
props: {
|
|
9489
9489
|
appName: { type: String, required: false },
|
|
@@ -9554,12 +9554,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
9554
9554
|
return __returned__;
|
|
9555
9555
|
}
|
|
9556
9556
|
});
|
|
9557
|
-
const _hoisted_1$
|
|
9558
|
-
const _hoisted_2$
|
|
9557
|
+
const _hoisted_1$k = { class: "onyx-nav-bar__content onyx-grid-container" };
|
|
9558
|
+
const _hoisted_2$f = {
|
|
9559
9559
|
key: 0,
|
|
9560
9560
|
class: "onyx-nav-bar__mobile-page onyx-truncation-ellipsis"
|
|
9561
9561
|
};
|
|
9562
|
-
const _hoisted_3$
|
|
9562
|
+
const _hoisted_3$a = { role: "menubar" };
|
|
9563
9563
|
const _hoisted_4$8 = { ref: "moreListRef" };
|
|
9564
9564
|
const _hoisted_5$7 = {
|
|
9565
9565
|
key: 0,
|
|
@@ -9574,7 +9574,7 @@ const _hoisted_8$3 = {
|
|
|
9574
9574
|
key: 1,
|
|
9575
9575
|
class: "onyx-nav-bar__context"
|
|
9576
9576
|
};
|
|
9577
|
-
function _sfc_render$
|
|
9577
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9578
9578
|
return openBlock(), createElementBlock(
|
|
9579
9579
|
"header",
|
|
9580
9580
|
{
|
|
@@ -9582,8 +9582,8 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9582
9582
|
class: normalizeClass(["onyx-component onyx-nav-bar", { "onyx-nav-bar--mobile": $setup.actualIsMobile }])
|
|
9583
9583
|
},
|
|
9584
9584
|
[
|
|
9585
|
-
createElementVNode("div", _hoisted_1$
|
|
9586
|
-
$setup.actualIsMobile && $setup.slots.mobileActivePage && !$setup.isBurgerOpen && !$setup.isContextOpen ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
9585
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
9586
|
+
$setup.actualIsMobile && $setup.slots.mobileActivePage && !$setup.isBurgerOpen && !$setup.isContextOpen ? (openBlock(), createElementBlock("span", _hoisted_2$f, [
|
|
9587
9587
|
renderSlot(_ctx.$slots, "mobileActivePage")
|
|
9588
9588
|
])) : $setup.props.appName || $setup.props.logoUrl || $setup.slots.appArea ? (openBlock(), createBlock($setup["OnyxNavAppArea"], mergeProps({
|
|
9589
9589
|
key: 1,
|
|
@@ -9626,7 +9626,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9626
9626
|
"nav",
|
|
9627
9627
|
mergeProps({ class: "onyx-nav-bar__nav--mobile" }, $setup.nav),
|
|
9628
9628
|
[
|
|
9629
|
-
createElementVNode("ul", _hoisted_3$
|
|
9629
|
+
createElementVNode("ul", _hoisted_3$a, [
|
|
9630
9630
|
renderSlot(_ctx.$slots, "default")
|
|
9631
9631
|
])
|
|
9632
9632
|
],
|
|
@@ -9733,7 +9733,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9733
9733
|
/* CLASS */
|
|
9734
9734
|
);
|
|
9735
9735
|
}
|
|
9736
|
-
const OnyxNavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9736
|
+
const OnyxNavBar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/OnyxNavBar.vue"]]);
|
|
9737
9737
|
const useRelativeTimeFormat = (options) => {
|
|
9738
9738
|
const { locale, t } = injectI18n();
|
|
9739
9739
|
const format = computed(() => new Intl.RelativeTimeFormat(locale.value, unref(options.options)));
|
|
@@ -9781,7 +9781,7 @@ const useRelativeTimeFormat = (options) => {
|
|
|
9781
9781
|
timeAgo
|
|
9782
9782
|
};
|
|
9783
9783
|
};
|
|
9784
|
-
const _sfc_main$
|
|
9784
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
9785
9785
|
__name: "OnyxNotificationCard",
|
|
9786
9786
|
props: {
|
|
9787
9787
|
density: { type: null, required: false },
|
|
@@ -9809,15 +9809,15 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
9809
9809
|
return __returned__;
|
|
9810
9810
|
}
|
|
9811
9811
|
});
|
|
9812
|
-
const _hoisted_1$
|
|
9812
|
+
const _hoisted_1$j = {
|
|
9813
9813
|
key: 0,
|
|
9814
9814
|
class: "onyx-notification-card-skeleton"
|
|
9815
9815
|
};
|
|
9816
|
-
const _hoisted_2$
|
|
9816
|
+
const _hoisted_2$e = {
|
|
9817
9817
|
key: 1,
|
|
9818
9818
|
class: "onyx-notification-card__content"
|
|
9819
9819
|
};
|
|
9820
|
-
const _hoisted_3$
|
|
9820
|
+
const _hoisted_3$9 = { class: "onyx-notification-card__header" };
|
|
9821
9821
|
const _hoisted_4$7 = { class: "onyx-notification-card__header-container" };
|
|
9822
9822
|
const _hoisted_5$6 = { class: "onyx-notification-card__header-container" };
|
|
9823
9823
|
const _hoisted_6$4 = { class: "onyx-notification-card__created-at onyx-text--small" };
|
|
@@ -9826,14 +9826,14 @@ const _hoisted_8$2 = {
|
|
|
9826
9826
|
key: 0,
|
|
9827
9827
|
class: "onyx-notification-card__actions onyx-density-compact"
|
|
9828
9828
|
};
|
|
9829
|
-
function _sfc_render$
|
|
9829
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9830
9830
|
return openBlock(), createElementBlock(
|
|
9831
9831
|
"div",
|
|
9832
9832
|
{
|
|
9833
9833
|
class: normalizeClass(["onyx-component", "onyx-notification-card", $setup.densityClass])
|
|
9834
9834
|
},
|
|
9835
9835
|
[
|
|
9836
|
-
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
9836
|
+
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
9837
9837
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-notification-card-skeleton__header" }),
|
|
9838
9838
|
(openBlock(), createElementBlock(
|
|
9839
9839
|
Fragment,
|
|
@@ -9847,9 +9847,9 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9847
9847
|
64
|
|
9848
9848
|
/* STABLE_FRAGMENT */
|
|
9849
9849
|
))
|
|
9850
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
9850
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
9851
9851
|
createElementVNode("div", null, [
|
|
9852
|
-
createElementVNode("div", _hoisted_3$
|
|
9852
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
9853
9853
|
createElementVNode("div", _hoisted_4$7, [
|
|
9854
9854
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
9855
9855
|
key: 0,
|
|
@@ -9923,8 +9923,8 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9923
9923
|
/* CLASS */
|
|
9924
9924
|
);
|
|
9925
9925
|
}
|
|
9926
|
-
const OnyxNotificationCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9927
|
-
const _sfc_main$
|
|
9926
|
+
const OnyxNotificationCard = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationCard/OnyxNotificationCard.vue"]]);
|
|
9927
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
9928
9928
|
__name: "OnyxNotificationDot",
|
|
9929
9929
|
props: {
|
|
9930
9930
|
hidden: { type: Boolean, required: false, default: false },
|
|
@@ -9938,9 +9938,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
9938
9938
|
return __returned__;
|
|
9939
9939
|
}
|
|
9940
9940
|
});
|
|
9941
|
-
const _hoisted_1$
|
|
9942
|
-
function _sfc_render$
|
|
9943
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9941
|
+
const _hoisted_1$i = { class: "onyx-component onyx-notification-dot" };
|
|
9942
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9943
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
9944
9944
|
renderSlot(_ctx.$slots, "default"),
|
|
9945
9945
|
!$setup.props.hidden ? (openBlock(), createBlock($setup["OnyxBadge"], {
|
|
9946
9946
|
key: 0,
|
|
@@ -9950,8 +9950,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9950
9950
|
}, null, 8, ["color"])) : createCommentVNode("v-if", true)
|
|
9951
9951
|
]);
|
|
9952
9952
|
}
|
|
9953
|
-
const OnyxNotificationDot = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9954
|
-
const _sfc_main$
|
|
9953
|
+
const OnyxNotificationDot = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationDot/OnyxNotificationDot.vue"]]);
|
|
9954
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
9955
9955
|
__name: "OnyxInfoCard",
|
|
9956
9956
|
props: {
|
|
9957
9957
|
density: { type: null, required: false },
|
|
@@ -9975,16 +9975,16 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
9975
9975
|
return __returned__;
|
|
9976
9976
|
}
|
|
9977
9977
|
});
|
|
9978
|
-
const _hoisted_1$
|
|
9979
|
-
const _hoisted_2$
|
|
9978
|
+
const _hoisted_1$h = { class: "onyx-info-card__content" };
|
|
9979
|
+
const _hoisted_2$d = {
|
|
9980
9980
|
key: 2,
|
|
9981
9981
|
class: "onyx-info-card__description onyx-text--small"
|
|
9982
9982
|
};
|
|
9983
|
-
const _hoisted_3$
|
|
9983
|
+
const _hoisted_3$8 = {
|
|
9984
9984
|
key: 3,
|
|
9985
9985
|
class: "onyx-info-card__buttons onyx-density-compact"
|
|
9986
9986
|
};
|
|
9987
|
-
function _sfc_render$
|
|
9987
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9988
9988
|
return openBlock(), createElementBlock(
|
|
9989
9989
|
"div",
|
|
9990
9990
|
{
|
|
@@ -9996,7 +9996,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9996
9996
|
class: "onyx-info-card__icon",
|
|
9997
9997
|
icon: $setup.props.icon
|
|
9998
9998
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
9999
|
-
createElementVNode("div", _hoisted_1$
|
|
9999
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
10000
10000
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
10001
10001
|
key: 0,
|
|
10002
10002
|
is: "h3",
|
|
@@ -10020,10 +10020,10 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10020
10020
|
color: $setup.props.color === "neutral" ? "soft" : "medium",
|
|
10021
10021
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("close"))
|
|
10022
10022
|
}, null, 8, ["icon", "label", "color"])) : createCommentVNode("v-if", true),
|
|
10023
|
-
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
10023
|
+
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$d, [
|
|
10024
10024
|
renderSlot(_ctx.$slots, "default")
|
|
10025
10025
|
])) : createCommentVNode("v-if", true),
|
|
10026
|
-
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
10026
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
10027
10027
|
renderSlot(_ctx.$slots, "buttons")
|
|
10028
10028
|
])) : createCommentVNode("v-if", true)
|
|
10029
10029
|
])
|
|
@@ -10032,8 +10032,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10032
10032
|
/* CLASS */
|
|
10033
10033
|
);
|
|
10034
10034
|
}
|
|
10035
|
-
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10036
|
-
const _sfc_main$
|
|
10035
|
+
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoCard/OnyxInfoCard.vue"]]);
|
|
10036
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
10037
10037
|
__name: "OnyxNotificationMessage",
|
|
10038
10038
|
props: {
|
|
10039
10039
|
headline: { type: String, required: true },
|
|
@@ -10051,7 +10051,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
10051
10051
|
return __returned__;
|
|
10052
10052
|
}
|
|
10053
10053
|
});
|
|
10054
|
-
function _sfc_render$
|
|
10054
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10055
10055
|
return openBlock(), createBlock($setup["OnyxInfoCard"], {
|
|
10056
10056
|
class: normalizeClass(["onyx-component onyx-notification-message", [
|
|
10057
10057
|
"onyx-component",
|
|
@@ -10084,7 +10084,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10084
10084
|
} : void 0
|
|
10085
10085
|
]), 1032, ["class", "headline", "icon", "style", "aria-label"]);
|
|
10086
10086
|
}
|
|
10087
|
-
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10087
|
+
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationMessage/OnyxNotificationMessage.vue"]]);
|
|
10088
10088
|
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = Symbol();
|
|
10089
10089
|
const createNotificationsProvider = () => {
|
|
10090
10090
|
let nextId = 1;
|
|
@@ -10125,7 +10125,7 @@ const useNotification = () => {
|
|
|
10125
10125
|
);
|
|
10126
10126
|
return notificationsProvider;
|
|
10127
10127
|
};
|
|
10128
|
-
const _sfc_main$
|
|
10128
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
10129
10129
|
__name: "OnyxNotifications",
|
|
10130
10130
|
setup(__props, { expose: __expose }) {
|
|
10131
10131
|
__expose();
|
|
@@ -10135,15 +10135,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
10135
10135
|
return __returned__;
|
|
10136
10136
|
}
|
|
10137
10137
|
});
|
|
10138
|
-
const _hoisted_1$
|
|
10138
|
+
const _hoisted_1$g = {
|
|
10139
10139
|
key: 0,
|
|
10140
10140
|
class: "onyx-component onyx-notifications",
|
|
10141
10141
|
role: "presentation",
|
|
10142
10142
|
"aria-live": "polite",
|
|
10143
10143
|
open: ""
|
|
10144
10144
|
};
|
|
10145
|
-
function _sfc_render$
|
|
10146
|
-
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
10145
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10146
|
+
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$g, [
|
|
10147
10147
|
(openBlock(true), createElementBlock(
|
|
10148
10148
|
Fragment,
|
|
10149
10149
|
null,
|
|
@@ -10195,8 +10195,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10195
10195
|
))
|
|
10196
10196
|
])) : createCommentVNode("v-if", true);
|
|
10197
10197
|
}
|
|
10198
|
-
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10199
|
-
const _sfc_main$
|
|
10198
|
+
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotifications/OnyxNotifications.vue"]]);
|
|
10199
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
10200
10200
|
__name: "OnyxPageLayout",
|
|
10201
10201
|
props: {
|
|
10202
10202
|
skeleton: { type: Boolean, required: false },
|
|
@@ -10213,12 +10213,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
10213
10213
|
return __returned__;
|
|
10214
10214
|
}
|
|
10215
10215
|
});
|
|
10216
|
-
const _hoisted_1$
|
|
10216
|
+
const _hoisted_1$f = {
|
|
10217
10217
|
key: 0,
|
|
10218
10218
|
class: "onyx-page__sidebar"
|
|
10219
10219
|
};
|
|
10220
|
-
const _hoisted_2$
|
|
10221
|
-
const _hoisted_3$
|
|
10220
|
+
const _hoisted_2$c = { class: "onyx-page__main" };
|
|
10221
|
+
const _hoisted_3$7 = {
|
|
10222
10222
|
key: 1,
|
|
10223
10223
|
class: "onyx-page__sidebar onyx-page__sidebar--right"
|
|
10224
10224
|
};
|
|
@@ -10226,7 +10226,7 @@ const _hoisted_4$6 = {
|
|
|
10226
10226
|
key: 2,
|
|
10227
10227
|
class: "onyx-page__footer"
|
|
10228
10228
|
};
|
|
10229
|
-
function _sfc_render$
|
|
10229
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10230
10230
|
return openBlock(), createElementBlock(
|
|
10231
10231
|
"div",
|
|
10232
10232
|
{
|
|
@@ -10237,10 +10237,10 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10237
10237
|
]])
|
|
10238
10238
|
},
|
|
10239
10239
|
[
|
|
10240
|
-
$setup.slots.sidebar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10240
|
+
$setup.slots.sidebar ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
10241
10241
|
renderSlot(_ctx.$slots, "sidebar")
|
|
10242
10242
|
])) : createCommentVNode("v-if", true),
|
|
10243
|
-
createElementVNode("main", _hoisted_2$
|
|
10243
|
+
createElementVNode("main", _hoisted_2$c, [
|
|
10244
10244
|
createElementVNode(
|
|
10245
10245
|
"div",
|
|
10246
10246
|
{
|
|
@@ -10253,7 +10253,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10253
10253
|
/* CLASS */
|
|
10254
10254
|
)
|
|
10255
10255
|
]),
|
|
10256
|
-
$setup.slots.sidebarRight ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
10256
|
+
$setup.slots.sidebarRight ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
10257
10257
|
renderSlot(_ctx.$slots, "sidebarRight")
|
|
10258
10258
|
])) : createCommentVNode("v-if", true),
|
|
10259
10259
|
$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
@@ -10264,8 +10264,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10264
10264
|
/* CLASS */
|
|
10265
10265
|
);
|
|
10266
10266
|
}
|
|
10267
|
-
const OnyxPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10268
|
-
const _sfc_main$
|
|
10267
|
+
const OnyxPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPageLayout/OnyxPageLayout.vue"]]);
|
|
10268
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
10269
10269
|
__name: "OnyxProgressItem",
|
|
10270
10270
|
props: {
|
|
10271
10271
|
density: { type: null, required: false },
|
|
@@ -10291,9 +10291,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
10291
10291
|
return __returned__;
|
|
10292
10292
|
}
|
|
10293
10293
|
});
|
|
10294
|
-
const _hoisted_1$
|
|
10295
|
-
const _hoisted_2$
|
|
10296
|
-
function _sfc_render$
|
|
10294
|
+
const _hoisted_1$e = ["disabled"];
|
|
10295
|
+
const _hoisted_2$b = { class: "onyx-progress-item__indicator" };
|
|
10296
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10297
10297
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
10298
10298
|
key: 0,
|
|
10299
10299
|
class: normalizeClass(["onyx-progress-item-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -10309,7 +10309,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10309
10309
|
type: "button",
|
|
10310
10310
|
disabled: $setup.props.disabled
|
|
10311
10311
|
}, [
|
|
10312
|
-
createElementVNode("span", _hoisted_2$
|
|
10312
|
+
createElementVNode("span", _hoisted_2$b, [
|
|
10313
10313
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
10314
10314
|
key: 0,
|
|
10315
10315
|
icon: $setup.icon
|
|
@@ -10334,9 +10334,9 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10334
10334
|
1
|
|
10335
10335
|
/* TEXT */
|
|
10336
10336
|
)
|
|
10337
|
-
], 10, _hoisted_1$
|
|
10337
|
+
], 10, _hoisted_1$e));
|
|
10338
10338
|
}
|
|
10339
|
-
const OnyxProgressItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10339
|
+
const OnyxProgressItem = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxProgressItem/OnyxProgressItem.vue"]]);
|
|
10340
10340
|
const PROGRESS_ITEM_STATUS = [
|
|
10341
10341
|
"default",
|
|
10342
10342
|
"active",
|
|
@@ -10344,7 +10344,7 @@ const PROGRESS_ITEM_STATUS = [
|
|
|
10344
10344
|
"visited",
|
|
10345
10345
|
"invalid"
|
|
10346
10346
|
];
|
|
10347
|
-
const _sfc_main$
|
|
10347
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
10348
10348
|
__name: "OnyxProgressSteps",
|
|
10349
10349
|
props: {
|
|
10350
10350
|
density: { type: null, required: false },
|
|
@@ -10399,8 +10399,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
10399
10399
|
return __returned__;
|
|
10400
10400
|
}
|
|
10401
10401
|
});
|
|
10402
|
-
const _hoisted_1$
|
|
10403
|
-
function _sfc_render$
|
|
10402
|
+
const _hoisted_1$d = { class: "onyx-progress-steps__scroll-container" };
|
|
10403
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10404
10404
|
return openBlock(), createElementBlock(
|
|
10405
10405
|
"div",
|
|
10406
10406
|
{
|
|
@@ -10412,7 +10412,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10412
10412
|
])
|
|
10413
10413
|
},
|
|
10414
10414
|
[
|
|
10415
|
-
createElementVNode("div", _hoisted_1$
|
|
10415
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
10416
10416
|
(openBlock(true), createElementBlock(
|
|
10417
10417
|
Fragment,
|
|
10418
10418
|
null,
|
|
@@ -10446,8 +10446,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10446
10446
|
/* CLASS */
|
|
10447
10447
|
);
|
|
10448
10448
|
}
|
|
10449
|
-
const OnyxProgressSteps = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10450
|
-
const _sfc_main$
|
|
10449
|
+
const OnyxProgressSteps = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxProgressSteps/OnyxProgressSteps.vue"]]);
|
|
10450
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
10451
10451
|
...{ inheritAttrs: false },
|
|
10452
10452
|
__name: "OnyxRadioButton",
|
|
10453
10453
|
props: {
|
|
@@ -10482,8 +10482,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
10482
10482
|
return __returned__;
|
|
10483
10483
|
}
|
|
10484
10484
|
});
|
|
10485
|
-
const _hoisted_1$
|
|
10486
|
-
function _sfc_render$
|
|
10485
|
+
const _hoisted_1$c = ["required", "name", "value", "checked", "disabled", "autofocus"];
|
|
10486
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10487
10487
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10488
10488
|
"div",
|
|
10489
10489
|
mergeProps({
|
|
@@ -10523,7 +10523,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10523
10523
|
checked: $setup.props.checked,
|
|
10524
10524
|
disabled: $setup.disabled,
|
|
10525
10525
|
autofocus: $setup.props.autofocus
|
|
10526
|
-
}, $setup.restAttrs), null, 16, _hoisted_1$
|
|
10526
|
+
}, $setup.restAttrs), null, 16, _hoisted_1$c)), [
|
|
10527
10527
|
[$setup["vCustomValidity"]]
|
|
10528
10528
|
]),
|
|
10529
10529
|
createElementVNode(
|
|
@@ -10544,8 +10544,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10544
10544
|
/* STABLE */
|
|
10545
10545
|
}, 16, ["disabled", "error-messages"]));
|
|
10546
10546
|
}
|
|
10547
|
-
const OnyxRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10548
|
-
const _sfc_main$
|
|
10547
|
+
const OnyxRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRadioButton/OnyxRadioButton.vue"]]);
|
|
10548
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
10549
10549
|
__name: "OnyxRadioGroup",
|
|
10550
10550
|
props: {
|
|
10551
10551
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -10592,19 +10592,19 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
10592
10592
|
return __returned__;
|
|
10593
10593
|
}
|
|
10594
10594
|
});
|
|
10595
|
-
const _hoisted_1$
|
|
10596
|
-
const _hoisted_2$
|
|
10595
|
+
const _hoisted_1$b = ["disabled", "aria-label"];
|
|
10596
|
+
const _hoisted_2$a = {
|
|
10597
10597
|
key: 0,
|
|
10598
10598
|
class: "onyx-radio-group__label"
|
|
10599
10599
|
};
|
|
10600
|
-
function _sfc_render$
|
|
10600
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10601
10601
|
return openBlock(), createElementBlock("fieldset", {
|
|
10602
10602
|
class: normalizeClass(["onyx-component", "onyx-radio-group", $setup.densityClass, $setup.requiredTypeClass]),
|
|
10603
10603
|
disabled: $setup.disabled,
|
|
10604
10604
|
role: "radiogroup",
|
|
10605
10605
|
"aria-label": $setup.props.label
|
|
10606
10606
|
}, [
|
|
10607
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$
|
|
10607
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$a, [
|
|
10608
10608
|
createVNode($setup["OnyxHeadline"], {
|
|
10609
10609
|
is: "h3",
|
|
10610
10610
|
class: normalizeClass($setup.requiredMarkerClass)
|
|
@@ -10671,10 +10671,152 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10671
10671
|
2
|
|
10672
10672
|
/* CLASS */
|
|
10673
10673
|
)
|
|
10674
|
-
], 10, _hoisted_1$
|
|
10674
|
+
], 10, _hoisted_1$b);
|
|
10675
10675
|
}
|
|
10676
|
-
const OnyxRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10676
|
+
const OnyxRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRadioGroup/OnyxRadioGroup.vue"]]);
|
|
10677
10677
|
const LINK_TARGETS = ["_self", "_blank", "_parent", "_top"];
|
|
10678
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
10679
|
+
...{ inheritAttrs: false },
|
|
10680
|
+
__name: "OnyxSegmentedControlElement",
|
|
10681
|
+
props: {
|
|
10682
|
+
value: { type: null, required: true },
|
|
10683
|
+
label: { type: String, required: true },
|
|
10684
|
+
hideLabel: { type: Boolean, required: false },
|
|
10685
|
+
autofocus: { type: Boolean, required: false },
|
|
10686
|
+
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
10687
|
+
icon: { type: String, required: false },
|
|
10688
|
+
name: { type: String, required: false },
|
|
10689
|
+
density: { type: null, required: false },
|
|
10690
|
+
checked: { type: Boolean, required: false }
|
|
10691
|
+
},
|
|
10692
|
+
setup(__props, { expose: __expose }) {
|
|
10693
|
+
__expose();
|
|
10694
|
+
const props = __props;
|
|
10695
|
+
const { densityClass } = useDensity(props);
|
|
10696
|
+
const { disabled } = useFormContext(props);
|
|
10697
|
+
const input2 = useTemplateRef("inputRef");
|
|
10698
|
+
useAutofocus(input2, props);
|
|
10699
|
+
const { rootAttrs, restAttrs } = useRootAttrs();
|
|
10700
|
+
const __returned__ = { props, densityClass, disabled, input: input2, rootAttrs, restAttrs, OnyxIcon, OnyxVisuallyHidden };
|
|
10701
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
10702
|
+
return __returned__;
|
|
10703
|
+
}
|
|
10704
|
+
});
|
|
10705
|
+
const _hoisted_1$a = ["id", "name", "value", "disabled", "aria-label", "autofocus", "checked"];
|
|
10706
|
+
const _hoisted_2$9 = ["for"];
|
|
10707
|
+
const _hoisted_3$6 = {
|
|
10708
|
+
key: 1,
|
|
10709
|
+
class: "onyx-segmented-control-element__text"
|
|
10710
|
+
};
|
|
10711
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10712
|
+
return openBlock(), createElementBlock(
|
|
10713
|
+
"div",
|
|
10714
|
+
mergeProps($setup.rootAttrs, {
|
|
10715
|
+
class: ["onyx-component", "onyx-segmented-control-element", $setup.densityClass]
|
|
10716
|
+
}),
|
|
10717
|
+
[
|
|
10718
|
+
createVNode($setup["OnyxVisuallyHidden"], null, {
|
|
10719
|
+
default: withCtx(() => [
|
|
10720
|
+
createElementVNode("input", mergeProps($setup.restAttrs, {
|
|
10721
|
+
id: $setup.props.value.toString(),
|
|
10722
|
+
ref: "inputRef",
|
|
10723
|
+
name: $setup.props.name,
|
|
10724
|
+
type: "radio",
|
|
10725
|
+
value: $setup.props.value,
|
|
10726
|
+
disabled: $setup.disabled,
|
|
10727
|
+
class: "onyx-segmented-control-element__input",
|
|
10728
|
+
"aria-label": $setup.props.label,
|
|
10729
|
+
autofocus: $setup.props.autofocus,
|
|
10730
|
+
checked: $setup.props.checked
|
|
10731
|
+
}), null, 16, _hoisted_1$a)
|
|
10732
|
+
]),
|
|
10733
|
+
_: 1
|
|
10734
|
+
/* STABLE */
|
|
10735
|
+
}),
|
|
10736
|
+
createElementVNode("label", {
|
|
10737
|
+
for: $setup.props.value.toString(),
|
|
10738
|
+
class: "onyx-segmented-control-element__label"
|
|
10739
|
+
}, [
|
|
10740
|
+
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
10741
|
+
key: 0,
|
|
10742
|
+
icon: $setup.props.icon,
|
|
10743
|
+
class: "onyx-segmented-control-element__icon"
|
|
10744
|
+
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
10745
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
10746
|
+
"p",
|
|
10747
|
+
_hoisted_3$6,
|
|
10748
|
+
toDisplayString($setup.props.label),
|
|
10749
|
+
1
|
|
10750
|
+
/* TEXT */
|
|
10751
|
+
)) : createCommentVNode("v-if", true)
|
|
10752
|
+
], 8, _hoisted_2$9)
|
|
10753
|
+
],
|
|
10754
|
+
16
|
|
10755
|
+
/* FULL_PROPS */
|
|
10756
|
+
);
|
|
10757
|
+
}
|
|
10758
|
+
const OnyxSegmentedControlElement = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSegmentedControlElement/OnyxSegmentedControlElement.vue"]]);
|
|
10759
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
10760
|
+
__name: "OnyxSegmentedControl",
|
|
10761
|
+
props: {
|
|
10762
|
+
density: { type: null, required: false },
|
|
10763
|
+
modelValue: { type: null, required: true },
|
|
10764
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
10765
|
+
options: { type: Array, required: true },
|
|
10766
|
+
name: { type: String, required: false, default: () => useId() }
|
|
10767
|
+
},
|
|
10768
|
+
emits: ["update:modelValue"],
|
|
10769
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
10770
|
+
__expose();
|
|
10771
|
+
const props = __props;
|
|
10772
|
+
const emit = __emit;
|
|
10773
|
+
const skeleton = useSkeletonContext(props);
|
|
10774
|
+
const { densityClass } = useDensity(props);
|
|
10775
|
+
const modelValue = useVModel({
|
|
10776
|
+
props,
|
|
10777
|
+
emit,
|
|
10778
|
+
key: "modelValue"
|
|
10779
|
+
});
|
|
10780
|
+
const handleChange = (value) => {
|
|
10781
|
+
modelValue.value = value;
|
|
10782
|
+
};
|
|
10783
|
+
const __returned__ = { props, emit, skeleton, densityClass, modelValue, handleChange, OnyxSegmentedControlElement, OnyxSkeleton };
|
|
10784
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
10785
|
+
return __returned__;
|
|
10786
|
+
}
|
|
10787
|
+
});
|
|
10788
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10789
|
+
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
10790
|
+
key: 0,
|
|
10791
|
+
class: normalizeClass(["onyx-segmented-control-skeleton", $setup.densityClass])
|
|
10792
|
+
}, null, 8, ["class"])) : (openBlock(), createElementBlock(
|
|
10793
|
+
"div",
|
|
10794
|
+
{
|
|
10795
|
+
key: 1,
|
|
10796
|
+
class: normalizeClass(["onyx-component", "onyx-segmented-control", $setup.densityClass])
|
|
10797
|
+
},
|
|
10798
|
+
[
|
|
10799
|
+
(openBlock(true), createElementBlock(
|
|
10800
|
+
Fragment,
|
|
10801
|
+
null,
|
|
10802
|
+
renderList($props.options, (option) => {
|
|
10803
|
+
return openBlock(), createBlock($setup["OnyxSegmentedControlElement"], mergeProps({
|
|
10804
|
+
key: option.value.toString()
|
|
10805
|
+
}, { ref_for: true }, option, {
|
|
10806
|
+
name: $setup.props.name,
|
|
10807
|
+
checked: option.value === $setup.modelValue,
|
|
10808
|
+
onChange: ($event) => $setup.handleChange(option.value)
|
|
10809
|
+
}), null, 16, ["name", "checked", "onChange"]);
|
|
10810
|
+
}),
|
|
10811
|
+
128
|
|
10812
|
+
/* KEYED_FRAGMENT */
|
|
10813
|
+
))
|
|
10814
|
+
],
|
|
10815
|
+
2
|
|
10816
|
+
/* CLASS */
|
|
10817
|
+
));
|
|
10818
|
+
}
|
|
10819
|
+
const OnyxSegmentedControl = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSegmentedControl/OnyxSegmentedControl.vue"]]);
|
|
10678
10820
|
const SELECT_ALIGNMENTS = ["full", "left", "right"];
|
|
10679
10821
|
const MULTISELECT_TEXT_MODE = ["summary", "preview"];
|
|
10680
10822
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
@@ -12964,6 +13106,8 @@ export {
|
|
|
12964
13106
|
OnyxRadioButton,
|
|
12965
13107
|
OnyxRadioGroup,
|
|
12966
13108
|
OnyxRouterLink,
|
|
13109
|
+
OnyxSegmentedControl,
|
|
13110
|
+
OnyxSegmentedControlElement,
|
|
12967
13111
|
OnyxSelect,
|
|
12968
13112
|
OnyxSelectDialog,
|
|
12969
13113
|
OnyxSelectInput,
|