sit-onyx 1.3.0 → 1.4.0-dev-20251104083804
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/OnyxCodeTab/OnyxCodeTab.d.vue.ts +33 -0
- package/dist/components/OnyxCodeTab/types.d.ts +18 -0
- package/dist/components/OnyxCodeTabs/OnyxCodeTabs.d.vue.ts +31 -0
- package/dist/components/OnyxCodeTabs/types.d.ts +10 -0
- package/dist/components/OnyxTabs/OnyxTabs.d.vue.ts +8 -0
- package/dist/i18n/locales/de-DE.json +6 -0
- package/dist/i18n/locales/en-US.json +6 -0
- package/dist/i18n/locales/en-US.json.d.ts +6 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.esm-bundler.js +917 -733
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +2504 -2370
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, provide, inject, toRef, ref, watch, defineComponent, watchEffect, toRefs, createElementBlock, openBlock, normalizeClass, renderSlot, onMounted, createBlock, resolveDynamicComponent, withCtx, createVNode, createElementVNode, withModifiers, readonly, reactive, onBeforeMount, onBeforeUnmount, useId, toValue, nextTick, unref, shallowRef, useTemplateRef, createCommentVNode, createTextVNode, toDisplayString, normalizeProps, mergeProps, Fragment, useAttrs, isProxy, toRaw, customRef, onUnmounted, normalizeStyle, useSlots, createSlots, renderList, toHandlers, resolveComponent, withDirectives, guardReactiveProps, vShow, Teleport, vModelCheckbox, vModelText, h, vModelDynamic, withKeys, createStaticVNode, useModel } from "vue";
|
|
2
|
-
import { iconChevronDownSmall, iconCircleAttention, iconXSmall, iconMoreVertical, iconX, iconMoreHorizontalSmall, iconCircleCheck, iconCircleX, iconCircleInformation, iconUser, iconArrowSmallUpRight, iconChevronRightSmall, iconArrowSmallLeft, iconMoreHorizontal, iconHome, iconChevronLeftSmall, iconSearch, iconCheck, iconSearchX, iconChevronDownUp, iconCheckSmall, iconPlusSmall, iconEyeDisabled, iconListArrowUp, iconListArrowDown, iconArrowsSort, iconCircleBlock, iconFileDisabled, iconEyeClosed, iconEye, iconCircleContrast, iconTranslate, iconMenu, iconNotificationFlag, iconMinusSmall, iconPlus, iconMinus, iconFile, iconFilePdf, iconFileCsv, iconAudio, iconVideocam, iconPicture, iconFileRtf, iconFilePpt, iconFileXls, iconFileXlsx, iconFileDoc, iconFileGlobe, iconFileArchive, iconFileText, iconTrash, iconCloudArrowUp, iconShareIos, iconSettings, iconLogout, iconArrowSmallRight } from "@sit-onyx/icons";
|
|
2
|
+
import { iconChevronDownSmall, iconCircleAttention, iconXSmall, iconMoreVertical, iconX, iconMoreHorizontalSmall, iconCircleCheck, iconCircleX, iconCircleInformation, iconUser, iconArrowSmallUpRight, iconChevronRightSmall, iconArrowSmallLeft, iconMoreHorizontal, iconHome, iconChevronLeftSmall, iconFileCopy, iconSearch, iconCheck, iconSearchX, iconChevronDownUp, iconCheckSmall, iconPlusSmall, iconEyeDisabled, iconListArrowUp, iconListArrowDown, iconArrowsSort, iconCircleBlock, iconFileDisabled, iconEyeClosed, iconEye, iconCircleContrast, iconTranslate, iconMenu, iconNotificationFlag, iconMinusSmall, iconPlus, iconMinus, iconFile, iconFilePdf, iconFileCsv, iconAudio, iconVideocam, iconPicture, iconFileRtf, iconFilePpt, iconFileXls, iconFileXlsx, iconFileDoc, iconFileGlobe, iconFileArchive, iconFileText, iconTrash, iconCloudArrowUp, iconShareIos, iconSettings, iconLogout, iconArrowSmallRight } from "@sit-onyx/icons";
|
|
3
3
|
const DENSITIES = ["compact", "default", "cozy"];
|
|
4
4
|
const useDensity = (props) => ({
|
|
5
5
|
densityClass: computed(() => ({ [`onyx-density-${props.density}`]: !!props.density }))
|
|
@@ -49,7 +49,7 @@ const useVModel = (options) => {
|
|
|
49
49
|
};
|
|
50
50
|
const ACCORDION_INJECTION_KEY = Symbol();
|
|
51
51
|
const ACCORDION_TYPES = ["default", "nested-large", "nested-small", "card"];
|
|
52
|
-
const _sfc_main$
|
|
52
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
53
53
|
__name: "OnyxAccordion",
|
|
54
54
|
props: {
|
|
55
55
|
density: { type: null, required: false },
|
|
@@ -119,7 +119,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
119
119
|
}
|
|
120
120
|
return target;
|
|
121
121
|
};
|
|
122
|
-
function _sfc_render$
|
|
122
|
+
function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
123
123
|
return openBlock(), createElementBlock(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
@@ -137,7 +137,7 @@ function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
137
137
|
/* CLASS */
|
|
138
138
|
);
|
|
139
139
|
}
|
|
140
|
-
const OnyxAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
140
|
+
const OnyxAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAccordion/OnyxAccordion.vue"]]);
|
|
141
141
|
const ONYX_BREAKPOINTS = {
|
|
142
142
|
"2xs": 320,
|
|
143
143
|
xs: 577,
|
|
@@ -150,7 +150,7 @@ const ONYX_BREAKPOINTS = {
|
|
|
150
150
|
md: ONYX_BREAKPOINTS.lg - 1,
|
|
151
151
|
lg: ONYX_BREAKPOINTS.xl - 1
|
|
152
152
|
});
|
|
153
|
-
const _sfc_main$
|
|
153
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
154
154
|
__name: "OnyxIcon",
|
|
155
155
|
props: {
|
|
156
156
|
size: { type: null, required: false },
|
|
@@ -166,8 +166,8 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
return __returned__;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
const _hoisted_1$
|
|
170
|
-
function _sfc_render$
|
|
169
|
+
const _hoisted_1$1e = ["innerHTML"];
|
|
170
|
+
function _sfc_render$1I(_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$1G(_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$1e);
|
|
182
182
|
}
|
|
183
|
-
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
183
|
+
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1I], ["__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$1H = /* @__PURE__ */ defineComponent({
|
|
200
200
|
__name: "OnyxSkeleton",
|
|
201
201
|
setup(__props, { expose: __expose }) {
|
|
202
202
|
__expose();
|
|
@@ -206,15 +206,15 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return __returned__;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
const _hoisted_1$
|
|
209
|
+
const _hoisted_1$1d = {
|
|
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$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
214
|
+
return openBlock(), createElementBlock("figure", _hoisted_1$1d);
|
|
215
215
|
}
|
|
216
|
-
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
217
|
-
const _sfc_main$
|
|
216
|
+
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSkeleton/OnyxSkeleton.vue"]]);
|
|
217
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
218
218
|
__name: "OnyxAccordionItem",
|
|
219
219
|
props: {
|
|
220
220
|
density: { type: null, required: false },
|
|
@@ -251,11 +251,11 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
return __returned__;
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
const _hoisted_1$
|
|
255
|
-
const _hoisted_2$
|
|
254
|
+
const _hoisted_1$1c = ["open"];
|
|
255
|
+
const _hoisted_2$S = ["id", "tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
256
256
|
const _hoisted_3$A = { class: "onyx-accordion-item__header-content" };
|
|
257
257
|
const _hoisted_4$o = ["id", "aria-labelledby"];
|
|
258
|
-
function _sfc_render$
|
|
258
|
+
function _sfc_render$1G(_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([
|
|
@@ -298,7 +298,7 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
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$S),
|
|
302
302
|
createElementVNode("div", {
|
|
303
303
|
id: $setup.panelId,
|
|
304
304
|
class: "onyx-accordion-item__panel",
|
|
@@ -307,9 +307,9 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
307
307
|
}, [
|
|
308
308
|
renderSlot(_ctx.$slots, "default")
|
|
309
309
|
], 8, _hoisted_4$o)
|
|
310
|
-
], 10, _hoisted_1$
|
|
310
|
+
], 10, _hoisted_1$1c));
|
|
311
311
|
}
|
|
312
|
-
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
312
|
+
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1G], ["__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" },
|
|
@@ -357,6 +357,7 @@ const globalFAB = { "label": "Global actions" };
|
|
|
357
357
|
const calendar = { "todayButton": { "label": "Today", "tooltip": "Jump to today" }, "calendarWeek": "CW", "calendarWeekButtonLabel": "Select calendar week {weekNumber}", "previousMonthButton": "Previous month", "nextMonthButton": "Next month" };
|
|
358
358
|
const flyoutMenu = { "moreActions": "More actions", "toggleActions": { "click": "Click to toggle action visibility", "hover": "Hover/Focus to toggle action visibility" } };
|
|
359
359
|
const slider = { "decreaseValue": "Decrease value by {n}", "increaseValue": "Increase value by {n}" };
|
|
360
|
+
const codeTabs = { "label": "Code snippets", "copySnippet": "Copy code", "copied": "Copied!", "tabLabel": "Code" };
|
|
360
361
|
const enUS = {
|
|
361
362
|
yes,
|
|
362
363
|
no,
|
|
@@ -390,7 +391,8 @@ const enUS = {
|
|
|
390
391
|
globalFAB,
|
|
391
392
|
calendar,
|
|
392
393
|
flyoutMenu,
|
|
393
|
-
slider
|
|
394
|
+
slider,
|
|
395
|
+
codeTabs
|
|
394
396
|
};
|
|
395
397
|
const NUMBER_FORMATS = {
|
|
396
398
|
decimal: { style: "decimal" }
|
|
@@ -2120,7 +2122,7 @@ const createTooltip = createBuilder(({ debounce: debounce2, isVisible }) => {
|
|
|
2120
2122
|
}
|
|
2121
2123
|
};
|
|
2122
2124
|
});
|
|
2123
|
-
const _sfc_main$
|
|
2125
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
2124
2126
|
__name: "OnyxBasicDialog",
|
|
2125
2127
|
props: {
|
|
2126
2128
|
density: { type: null, required: false },
|
|
@@ -2176,12 +2178,12 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2176
2178
|
return __returned__;
|
|
2177
2179
|
}
|
|
2178
2180
|
});
|
|
2179
|
-
const _hoisted_1$
|
|
2180
|
-
const _hoisted_2$
|
|
2181
|
+
const _hoisted_1$1b = ["aria-modal", "aria-label", "role"];
|
|
2182
|
+
const _hoisted_2$R = {
|
|
2181
2183
|
ref: "contentRef",
|
|
2182
2184
|
class: "onyx-basic-dialog__content"
|
|
2183
2185
|
};
|
|
2184
|
-
function _sfc_render$
|
|
2186
|
+
function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2185
2187
|
return $setup.props.open ? (openBlock(), createElementBlock("dialog", {
|
|
2186
2188
|
key: 0,
|
|
2187
2189
|
ref: "dialogRef",
|
|
@@ -2200,16 +2202,16 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2200
2202
|
}, [
|
|
2201
2203
|
createElementVNode(
|
|
2202
2204
|
"div",
|
|
2203
|
-
_hoisted_2$
|
|
2205
|
+
_hoisted_2$R,
|
|
2204
2206
|
[
|
|
2205
2207
|
renderSlot(_ctx.$slots, "default")
|
|
2206
2208
|
],
|
|
2207
2209
|
512
|
|
2208
2210
|
/* NEED_PATCH */
|
|
2209
2211
|
)
|
|
2210
|
-
], 42, _hoisted_1$
|
|
2212
|
+
], 42, _hoisted_1$1b)) : createCommentVNode("v-if", true);
|
|
2211
2213
|
}
|
|
2212
|
-
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2214
|
+
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicDialog/OnyxBasicDialog.vue"]]);
|
|
2213
2215
|
const normalizedIncludes = (haystack, needle) => {
|
|
2214
2216
|
const haystackNormalized = removeDiacritics(haystack.toLowerCase());
|
|
2215
2217
|
const needleNormalized = removeDiacritics(needle.toLowerCase());
|
|
@@ -2291,7 +2293,7 @@ const normalizeHref = (href) => {
|
|
|
2291
2293
|
return value.replace(/\/+$/, "");
|
|
2292
2294
|
};
|
|
2293
2295
|
const ROUTER_INJECTION_KEY = Symbol();
|
|
2294
|
-
const _sfc_main$
|
|
2296
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
2295
2297
|
__name: "OnyxVisuallyHidden",
|
|
2296
2298
|
props: {
|
|
2297
2299
|
is: { type: String, required: false, default: "span" }
|
|
@@ -2304,7 +2306,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
2304
2306
|
return __returned__;
|
|
2305
2307
|
}
|
|
2306
2308
|
});
|
|
2307
|
-
function _sfc_render$
|
|
2309
|
+
function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2308
2310
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.is), { class: "onyx-component onyx-visually-hidden" }, {
|
|
2309
2311
|
default: withCtx(() => [
|
|
2310
2312
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -2313,8 +2315,8 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2313
2315
|
/* FORWARDED */
|
|
2314
2316
|
});
|
|
2315
2317
|
}
|
|
2316
|
-
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2317
|
-
const _sfc_main$
|
|
2318
|
+
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue"]]);
|
|
2319
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
2318
2320
|
__name: "OnyxRouterLink",
|
|
2319
2321
|
props: {
|
|
2320
2322
|
href: { type: String, required: true },
|
|
@@ -2330,8 +2332,8 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2330
2332
|
return __returned__;
|
|
2331
2333
|
}
|
|
2332
2334
|
});
|
|
2333
|
-
const _hoisted_1$
|
|
2334
|
-
function _sfc_render$
|
|
2335
|
+
const _hoisted_1$1a = ["href", "target", "rel"];
|
|
2336
|
+
function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2335
2337
|
return openBlock(), createElementBlock("a", {
|
|
2336
2338
|
class: normalizeClass([
|
|
2337
2339
|
"onyx-component",
|
|
@@ -2355,10 +2357,10 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2355
2357
|
_: 1
|
|
2356
2358
|
/* STABLE */
|
|
2357
2359
|
})) : createCommentVNode("v-if", true)
|
|
2358
|
-
], 10, _hoisted_1$
|
|
2360
|
+
], 10, _hoisted_1$1a);
|
|
2359
2361
|
}
|
|
2360
|
-
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2361
|
-
const _sfc_main$
|
|
2362
|
+
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRouterLink/OnyxRouterLink.vue"]]);
|
|
2363
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
2362
2364
|
__name: "OnyxHeadline",
|
|
2363
2365
|
props: {
|
|
2364
2366
|
is: { type: null, required: true },
|
|
@@ -2383,7 +2385,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
2383
2385
|
return __returned__;
|
|
2384
2386
|
}
|
|
2385
2387
|
});
|
|
2386
|
-
function _sfc_render$
|
|
2388
|
+
function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2387
2389
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2388
2390
|
key: 0,
|
|
2389
2391
|
class: normalizeClass(["onyx-headline-skeleton", `onyx-headline-skeleton--${$setup.showAs}`])
|
|
@@ -2423,7 +2425,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2423
2425
|
/* FORWARDED */
|
|
2424
2426
|
}, 8, ["id", "class"]));
|
|
2425
2427
|
}
|
|
2426
|
-
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2428
|
+
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxHeadline/OnyxHeadline.vue"]]);
|
|
2427
2429
|
const useAutofocus = (inputRef, props) => {
|
|
2428
2430
|
if (!props.autofocus) {
|
|
2429
2431
|
return;
|
|
@@ -2474,7 +2476,7 @@ const useFormContext = (props) => {
|
|
|
2474
2476
|
DEFAULT_FORM_INJECTION_CONTEXT
|
|
2475
2477
|
)(toRef(props));
|
|
2476
2478
|
};
|
|
2477
|
-
const _sfc_main$
|
|
2479
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
2478
2480
|
__name: "ButtonOrLinkLayout",
|
|
2479
2481
|
props: {
|
|
2480
2482
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -2497,8 +2499,8 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
2497
2499
|
return __returned__;
|
|
2498
2500
|
}
|
|
2499
2501
|
});
|
|
2500
|
-
const _hoisted_1$
|
|
2501
|
-
function _sfc_render$
|
|
2502
|
+
const _hoisted_1$19 = ["disabled", "type", "autofocus"];
|
|
2503
|
+
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2502
2504
|
return $setup.linkProps ? (openBlock(), createBlock(
|
|
2503
2505
|
$setup["OnyxRouterLink"],
|
|
2504
2506
|
normalizeProps(mergeProps({ key: 0 }, $setup.linkProps)),
|
|
@@ -2519,10 +2521,10 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2519
2521
|
autofocus: $setup.props.autofocus
|
|
2520
2522
|
}, [
|
|
2521
2523
|
renderSlot(_ctx.$slots, "default")
|
|
2522
|
-
], 8, _hoisted_1$
|
|
2524
|
+
], 8, _hoisted_1$19));
|
|
2523
2525
|
}
|
|
2524
|
-
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2525
|
-
const _sfc_main$
|
|
2526
|
+
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/ButtonOrLinkLayout.vue"]]);
|
|
2527
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
2526
2528
|
__name: "OnyxSystemButton",
|
|
2527
2529
|
props: {
|
|
2528
2530
|
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
@@ -2543,7 +2545,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
2543
2545
|
return __returned__;
|
|
2544
2546
|
}
|
|
2545
2547
|
});
|
|
2546
|
-
function _sfc_render$
|
|
2548
|
+
function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2547
2549
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2548
2550
|
key: 0,
|
|
2549
2551
|
class: normalizeClass(["onyx-system-button-skeleton", $setup.props.icon ? "" : "onyx-system-button-skeleton--text"])
|
|
@@ -2575,8 +2577,8 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2575
2577
|
/* STABLE */
|
|
2576
2578
|
}, 16, ["class", "aria-label", "title"]));
|
|
2577
2579
|
}
|
|
2578
|
-
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2579
|
-
const _sfc_main$
|
|
2580
|
+
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSystemButton/OnyxSystemButton.vue"]]);
|
|
2581
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
2580
2582
|
__name: "OnyxAlertModal",
|
|
2581
2583
|
props: {
|
|
2582
2584
|
density: { type: null, required: false },
|
|
@@ -2601,11 +2603,11 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
2601
2603
|
return __returned__;
|
|
2602
2604
|
}
|
|
2603
2605
|
});
|
|
2604
|
-
const _hoisted_1$
|
|
2605
|
-
const _hoisted_2$
|
|
2606
|
+
const _hoisted_1$18 = { class: "onyx-alert-modal__content" };
|
|
2607
|
+
const _hoisted_2$Q = { class: "onyx-alert-modal__headline" };
|
|
2606
2608
|
const _hoisted_3$z = ["id"];
|
|
2607
2609
|
const _hoisted_4$n = { class: "onyx-alert-modal__actions" };
|
|
2608
|
-
function _sfc_render$
|
|
2610
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2609
2611
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps({
|
|
2610
2612
|
class: ["onyx-alert-modal", $setup.densityClass]
|
|
2611
2613
|
}, $setup.dialogProps, {
|
|
@@ -2615,7 +2617,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2615
2617
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
2616
2618
|
}), {
|
|
2617
2619
|
default: withCtx(() => [
|
|
2618
|
-
createElementVNode("div", _hoisted_1$
|
|
2620
|
+
createElementVNode("div", _hoisted_1$18, [
|
|
2619
2621
|
$setup.props.icon ? (openBlock(), createBlock(
|
|
2620
2622
|
$setup["OnyxIcon"],
|
|
2621
2623
|
mergeProps({
|
|
@@ -2627,7 +2629,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2627
2629
|
/* FULL_PROPS */
|
|
2628
2630
|
)) : createCommentVNode("v-if", true),
|
|
2629
2631
|
createElementVNode("div", null, [
|
|
2630
|
-
createElementVNode("div", _hoisted_2$
|
|
2632
|
+
createElementVNode("div", _hoisted_2$Q, [
|
|
2631
2633
|
renderSlot(_ctx.$slots, "headline", {
|
|
2632
2634
|
label: $setup.props.label
|
|
2633
2635
|
}, () => [
|
|
@@ -2666,7 +2668,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2666
2668
|
/* FORWARDED */
|
|
2667
2669
|
}, 16, ["class", "aria-describedby"]);
|
|
2668
2670
|
}
|
|
2669
|
-
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2671
|
+
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAlertModal/OnyxAlertModal.vue"]]);
|
|
2670
2672
|
const useRootAttrs = () => {
|
|
2671
2673
|
const attrs = useAttrs();
|
|
2672
2674
|
const rootAttrs = computed(
|
|
@@ -2748,7 +2750,7 @@ const mergeVueProps = (...args) => args.reduce((prev, curr) => {
|
|
|
2748
2750
|
merged.ref = mergedRef;
|
|
2749
2751
|
return merged;
|
|
2750
2752
|
}, {});
|
|
2751
|
-
const _sfc_main$
|
|
2753
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
2752
2754
|
__name: "OnyxFABButton",
|
|
2753
2755
|
props: {
|
|
2754
2756
|
density: { type: null, required: false },
|
|
@@ -2768,11 +2770,11 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
2768
2770
|
return __returned__;
|
|
2769
2771
|
}
|
|
2770
2772
|
});
|
|
2771
|
-
const _hoisted_1$
|
|
2773
|
+
const _hoisted_1$17 = {
|
|
2772
2774
|
key: 1,
|
|
2773
2775
|
class: "onyx-fab-button__label"
|
|
2774
2776
|
};
|
|
2775
|
-
function _sfc_render$
|
|
2777
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2776
2778
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2777
2779
|
key: 0,
|
|
2778
2780
|
class: normalizeClass(["onyx-fab-button-skeleton", $setup.densityClass])
|
|
@@ -2790,7 +2792,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2790
2792
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
2791
2793
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
2792
2794
|
"span",
|
|
2793
|
-
_hoisted_1$
|
|
2795
|
+
_hoisted_1$17,
|
|
2794
2796
|
toDisplayString($setup.props.label),
|
|
2795
2797
|
1
|
|
2796
2798
|
/* TEXT */
|
|
@@ -2800,7 +2802,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2800
2802
|
/* STABLE */
|
|
2801
2803
|
}, 8, ["class", "title", "aria-label", "link"]));
|
|
2802
2804
|
}
|
|
2803
|
-
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2805
|
+
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABButton/OnyxFABButton.vue"]]);
|
|
2804
2806
|
const useResizeObserver = (target, options) => {
|
|
2805
2807
|
const box = options?.box ?? "content-box";
|
|
2806
2808
|
const width = ref(0);
|
|
@@ -3112,7 +3114,7 @@ function useSticky(options) {
|
|
|
3112
3114
|
});
|
|
3113
3115
|
return { stickyStyles, scrolledOut, isSticky, checkVisibilityOnScroll };
|
|
3114
3116
|
}
|
|
3115
|
-
const _sfc_main$
|
|
3117
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
3116
3118
|
__name: "OnyxBasicPopover",
|
|
3117
3119
|
props: {
|
|
3118
3120
|
label: { type: String, required: true },
|
|
@@ -3270,8 +3272,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
3270
3272
|
return __returned__;
|
|
3271
3273
|
}
|
|
3272
3274
|
});
|
|
3273
|
-
const _hoisted_1$
|
|
3274
|
-
function _sfc_render$
|
|
3275
|
+
const _hoisted_1$16 = ["role", "aria-label"];
|
|
3276
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3275
3277
|
return openBlock(), createElementBlock(
|
|
3276
3278
|
"div",
|
|
3277
3279
|
{
|
|
@@ -3290,14 +3292,14 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3290
3292
|
style: normalizeStyle(!$setup.isSticky ? $setup.popoverStyles : $setup.stickyStyles)
|
|
3291
3293
|
}, [
|
|
3292
3294
|
renderSlot(_ctx.$slots, "content")
|
|
3293
|
-
], 14, _hoisted_1$
|
|
3295
|
+
], 14, _hoisted_1$16)
|
|
3294
3296
|
],
|
|
3295
3297
|
4
|
|
3296
3298
|
/* STYLE */
|
|
3297
3299
|
);
|
|
3298
3300
|
}
|
|
3299
|
-
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3300
|
-
const _sfc_main$
|
|
3301
|
+
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicPopover/OnyxBasicPopover.vue"]]);
|
|
3302
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
3301
3303
|
__name: "OnyxFlyoutMenu",
|
|
3302
3304
|
props: {
|
|
3303
3305
|
alignment: { type: String, required: false, default: "auto" },
|
|
@@ -3339,9 +3341,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3339
3341
|
return __returned__;
|
|
3340
3342
|
}
|
|
3341
3343
|
});
|
|
3342
|
-
const _hoisted_1$
|
|
3343
|
-
const _hoisted_2$
|
|
3344
|
-
function _sfc_render$
|
|
3344
|
+
const _hoisted_1$15 = { class: "onyx-flyout-menu__list-header" };
|
|
3345
|
+
const _hoisted_2$P = { class: "onyx-flyout-menu__list-footer" };
|
|
3346
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3345
3347
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.mergeVueProps($setup.root, { ref: $setup.popover }), {
|
|
3346
3348
|
class: "onyx-component onyx-flyout-menu",
|
|
3347
3349
|
open: $setup.isExpanded,
|
|
@@ -3350,7 +3352,7 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3350
3352
|
disabled: $props.disabled
|
|
3351
3353
|
}), createSlots({
|
|
3352
3354
|
content: withCtx(() => [
|
|
3353
|
-
createElementVNode("div", _hoisted_1$
|
|
3355
|
+
createElementVNode("div", _hoisted_1$15, [
|
|
3354
3356
|
renderSlot(_ctx.$slots, "header")
|
|
3355
3357
|
]),
|
|
3356
3358
|
$setup.slots.options ? (openBlock(), createElementBlock(
|
|
@@ -3362,7 +3364,7 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3362
3364
|
16
|
|
3363
3365
|
/* FULL_PROPS */
|
|
3364
3366
|
)) : createCommentVNode("v-if", true),
|
|
3365
|
-
createElementVNode("div", _hoisted_2$
|
|
3367
|
+
createElementVNode("div", _hoisted_2$P, [
|
|
3366
3368
|
renderSlot(_ctx.$slots, "footer")
|
|
3367
3369
|
])
|
|
3368
3370
|
]),
|
|
@@ -3383,8 +3385,8 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3383
3385
|
} : void 0
|
|
3384
3386
|
]), 1040, ["open", "label", "alignment", "disabled"]);
|
|
3385
3387
|
}
|
|
3386
|
-
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3387
|
-
const _sfc_main$
|
|
3388
|
+
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue"]]);
|
|
3389
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
3388
3390
|
__name: "OnyxFAB",
|
|
3389
3391
|
props: {
|
|
3390
3392
|
density: { type: null, required: false },
|
|
@@ -3423,7 +3425,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3423
3425
|
return __returned__;
|
|
3424
3426
|
}
|
|
3425
3427
|
});
|
|
3426
|
-
function _sfc_render$
|
|
3428
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3427
3429
|
return !$setup.hasOptions || $setup.skeleton ? (openBlock(), createBlock($setup["OnyxFABButton"], mergeProps({
|
|
3428
3430
|
key: 0,
|
|
3429
3431
|
class: ["onyx-fab", `onyx-fab--${$setup.props.alignment}`]
|
|
@@ -3453,8 +3455,8 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3453
3455
|
/* FORWARDED */
|
|
3454
3456
|
}, 8, ["open", "label", "class", "alignment"]));
|
|
3455
3457
|
}
|
|
3456
|
-
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3457
|
-
const _sfc_main$
|
|
3458
|
+
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFAB/OnyxFAB.vue"]]);
|
|
3459
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
3458
3460
|
__name: "OnyxFABItem",
|
|
3459
3461
|
props: {
|
|
3460
3462
|
density: { type: null, required: false },
|
|
@@ -3477,7 +3479,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3477
3479
|
return __returned__;
|
|
3478
3480
|
}
|
|
3479
3481
|
});
|
|
3480
|
-
function _sfc_render$
|
|
3482
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3481
3483
|
return openBlock(), createElementBlock(
|
|
3482
3484
|
"li",
|
|
3483
3485
|
mergeProps({
|
|
@@ -3492,7 +3494,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3492
3494
|
/* FULL_PROPS */
|
|
3493
3495
|
);
|
|
3494
3496
|
}
|
|
3495
|
-
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3497
|
+
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABItem/OnyxFABItem.vue"]]);
|
|
3496
3498
|
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = Symbol();
|
|
3497
3499
|
const createGlobalFABProvider = () => {
|
|
3498
3500
|
const items = shallowRef([]);
|
|
@@ -3529,7 +3531,7 @@ const useGlobalFAB = () => {
|
|
|
3529
3531
|
);
|
|
3530
3532
|
return globalFABProvider;
|
|
3531
3533
|
};
|
|
3532
|
-
const _sfc_main$
|
|
3534
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
3533
3535
|
__name: "OnyxGlobalFAB",
|
|
3534
3536
|
setup(__props, { expose: __expose }) {
|
|
3535
3537
|
__expose();
|
|
@@ -3543,7 +3545,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
3543
3545
|
return __returned__;
|
|
3544
3546
|
}
|
|
3545
3547
|
});
|
|
3546
|
-
function _sfc_render$
|
|
3548
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3547
3549
|
return $setup.globalFAB.items.value.length === 1 ? (openBlock(), createBlock(
|
|
3548
3550
|
$setup["OnyxFAB"],
|
|
3549
3551
|
normalizeProps(mergeProps({ key: 0 }, $setup.globalFAB.items.value[0].value)),
|
|
@@ -3578,14 +3580,14 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3578
3580
|
/* STABLE */
|
|
3579
3581
|
}, 8, ["label", "alignment"])) : createCommentVNode("v-if", true);
|
|
3580
3582
|
}
|
|
3581
|
-
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3582
|
-
const _sfc_main$
|
|
3583
|
-
const _hoisted_1$
|
|
3583
|
+
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalFAB/OnyxGlobalFAB.vue"]]);
|
|
3584
|
+
const _sfc_main$1s = {};
|
|
3585
|
+
const _hoisted_1$14 = {
|
|
3584
3586
|
class: "onyx-component onyx-circle-spinner",
|
|
3585
3587
|
viewBox: "0 0 50 50"
|
|
3586
3588
|
};
|
|
3587
|
-
function _sfc_render$
|
|
3588
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3589
|
+
function _sfc_render$1s(_ctx, _cache) {
|
|
3590
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$14, [..._cache[0] || (_cache[0] = [
|
|
3589
3591
|
createElementVNode(
|
|
3590
3592
|
"circle",
|
|
3591
3593
|
{
|
|
@@ -3600,11 +3602,11 @@ function _sfc_render$1q(_ctx, _cache) {
|
|
|
3600
3602
|
)
|
|
3601
3603
|
])]);
|
|
3602
3604
|
}
|
|
3603
|
-
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3604
|
-
const _sfc_main$
|
|
3605
|
-
const _hoisted_1$
|
|
3606
|
-
function _sfc_render$
|
|
3607
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3605
|
+
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue"]]);
|
|
3606
|
+
const _sfc_main$1r = {};
|
|
3607
|
+
const _hoisted_1$13 = { class: "onyx-component onyx-loading-dots" };
|
|
3608
|
+
function _sfc_render$1r(_ctx, _cache) {
|
|
3609
|
+
return openBlock(), createElementBlock("div", _hoisted_1$13, [..._cache[0] || (_cache[0] = [
|
|
3608
3610
|
createElementVNode(
|
|
3609
3611
|
"span",
|
|
3610
3612
|
{ class: "onyx-loading-dots__center" },
|
|
@@ -3614,8 +3616,8 @@ function _sfc_render$1p(_ctx, _cache) {
|
|
|
3614
3616
|
)
|
|
3615
3617
|
])]);
|
|
3616
3618
|
}
|
|
3617
|
-
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3618
|
-
const _sfc_main$
|
|
3619
|
+
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingDots.vue"]]);
|
|
3620
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
3619
3621
|
__name: "OnyxLoadingIndicator",
|
|
3620
3622
|
props: {
|
|
3621
3623
|
type: { type: String, required: false, default: "dots" }
|
|
@@ -3628,10 +3630,10 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
3628
3630
|
return __returned__;
|
|
3629
3631
|
}
|
|
3630
3632
|
});
|
|
3631
|
-
function _sfc_render$
|
|
3633
|
+
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3632
3634
|
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);
|
|
3633
3635
|
}
|
|
3634
|
-
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3636
|
+
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue"]]);
|
|
3635
3637
|
const useRipple = (container) => {
|
|
3636
3638
|
const isPointerDown = ref(false);
|
|
3637
3639
|
const ripples = reactive(/* @__PURE__ */ new Map());
|
|
@@ -3678,7 +3680,7 @@ const useRipple = (container) => {
|
|
|
3678
3680
|
});
|
|
3679
3681
|
return { isPointerDown, ripples, startRipple, hideRipples, hideRipple, events };
|
|
3680
3682
|
};
|
|
3681
|
-
const _sfc_main$
|
|
3683
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
3682
3684
|
__name: "OnyxRipple",
|
|
3683
3685
|
setup(__props, { expose: __expose }) {
|
|
3684
3686
|
const rippleTrigger = useTemplateRef("rippleTriggerRef");
|
|
@@ -3691,16 +3693,16 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
3691
3693
|
return __returned__;
|
|
3692
3694
|
}
|
|
3693
3695
|
});
|
|
3694
|
-
const _hoisted_1$
|
|
3696
|
+
const _hoisted_1$12 = {
|
|
3695
3697
|
ref: "rippleTriggerRef",
|
|
3696
3698
|
class: "onyx-component onyx-ripple",
|
|
3697
3699
|
"aria-hidden": "true"
|
|
3698
3700
|
};
|
|
3699
|
-
const _hoisted_2$
|
|
3700
|
-
function _sfc_render$
|
|
3701
|
+
const _hoisted_2$O = ["data-rippleid"];
|
|
3702
|
+
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3701
3703
|
return openBlock(), createElementBlock(
|
|
3702
3704
|
"span",
|
|
3703
|
-
_hoisted_1$
|
|
3705
|
+
_hoisted_1$12,
|
|
3704
3706
|
[
|
|
3705
3707
|
(openBlock(true), createElementBlock(
|
|
3706
3708
|
Fragment,
|
|
@@ -3715,7 +3717,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3715
3717
|
}),
|
|
3716
3718
|
"data-rippleid": key,
|
|
3717
3719
|
onAnimationend: _cache[0] || (_cache[0] = ($event) => $setup.hideRipple($event.target))
|
|
3718
|
-
}, null, 44, _hoisted_2$
|
|
3720
|
+
}, null, 44, _hoisted_2$O);
|
|
3719
3721
|
}),
|
|
3720
3722
|
128
|
|
3721
3723
|
/* KEYED_FRAGMENT */
|
|
@@ -3725,8 +3727,8 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3725
3727
|
/* NEED_PATCH */
|
|
3726
3728
|
);
|
|
3727
3729
|
}
|
|
3728
|
-
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3729
|
-
const _sfc_main$
|
|
3730
|
+
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRipple/OnyxRipple.vue"]]);
|
|
3731
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
3730
3732
|
__name: "OnyxButton",
|
|
3731
3733
|
props: {
|
|
3732
3734
|
density: { type: null, required: false },
|
|
@@ -3756,8 +3758,8 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
3756
3758
|
return __returned__;
|
|
3757
3759
|
}
|
|
3758
3760
|
});
|
|
3759
|
-
const _hoisted_1
|
|
3760
|
-
function _sfc_render$
|
|
3761
|
+
const _hoisted_1$11 = { class: "onyx-button__label onyx-truncation-ellipsis" };
|
|
3762
|
+
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3761
3763
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
3762
3764
|
key: 0,
|
|
3763
3765
|
class: normalizeClass(["onyx-button-skeleton", $setup.densityClass])
|
|
@@ -3794,7 +3796,7 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3794
3796
|
})) : createCommentVNode("v-if", true),
|
|
3795
3797
|
createElementVNode(
|
|
3796
3798
|
"span",
|
|
3797
|
-
_hoisted_1
|
|
3799
|
+
_hoisted_1$11,
|
|
3798
3800
|
toDisplayString($setup.props.label),
|
|
3799
3801
|
1
|
|
3800
3802
|
/* TEXT */
|
|
@@ -3809,8 +3811,8 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3809
3811
|
/* STABLE */
|
|
3810
3812
|
}, 16, ["class", "aria-label"]));
|
|
3811
3813
|
}
|
|
3812
|
-
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3813
|
-
const _sfc_main$
|
|
3814
|
+
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/OnyxButton.vue"]]);
|
|
3815
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
3814
3816
|
__name: "OnyxInfoCard",
|
|
3815
3817
|
props: {
|
|
3816
3818
|
density: { type: null, required: false },
|
|
@@ -3837,8 +3839,8 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
3837
3839
|
return __returned__;
|
|
3838
3840
|
}
|
|
3839
3841
|
});
|
|
3840
|
-
const _hoisted_1$
|
|
3841
|
-
const _hoisted_2$
|
|
3842
|
+
const _hoisted_1$10 = { class: "onyx-info-card__content" };
|
|
3843
|
+
const _hoisted_2$N = {
|
|
3842
3844
|
key: 3,
|
|
3843
3845
|
class: "onyx-info-card__description onyx-text--small"
|
|
3844
3846
|
};
|
|
@@ -3846,7 +3848,7 @@ const _hoisted_3$y = {
|
|
|
3846
3848
|
key: 4,
|
|
3847
3849
|
class: "onyx-info-card__buttons onyx-density-compact"
|
|
3848
3850
|
};
|
|
3849
|
-
function _sfc_render$
|
|
3851
|
+
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3850
3852
|
return openBlock(), createElementBlock(
|
|
3851
3853
|
"div",
|
|
3852
3854
|
{
|
|
@@ -3858,7 +3860,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3858
3860
|
class: "onyx-info-card__icon",
|
|
3859
3861
|
icon: $setup.props.icon
|
|
3860
3862
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
3861
|
-
createElementVNode("div", _hoisted_1$
|
|
3863
|
+
createElementVNode("div", _hoisted_1$10, [
|
|
3862
3864
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
3863
3865
|
key: 0,
|
|
3864
3866
|
is: "h3",
|
|
@@ -3901,7 +3903,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3901
3903
|
color: $setup.systemButtonColor,
|
|
3902
3904
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("close"))
|
|
3903
3905
|
}, null, 8, ["icon", "label", "color"])) : createCommentVNode("v-if", true),
|
|
3904
|
-
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
3906
|
+
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$N, [
|
|
3905
3907
|
renderSlot(_ctx.$slots, "default")
|
|
3906
3908
|
])) : createCommentVNode("v-if", true),
|
|
3907
3909
|
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
|
|
@@ -3913,8 +3915,8 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3913
3915
|
/* CLASS */
|
|
3914
3916
|
);
|
|
3915
3917
|
}
|
|
3916
|
-
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3917
|
-
const _sfc_main$
|
|
3918
|
+
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoCard/OnyxInfoCard.vue"]]);
|
|
3919
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
3918
3920
|
__name: "OnyxNotificationMessage",
|
|
3919
3921
|
props: {
|
|
3920
3922
|
headline: { type: String, required: true },
|
|
@@ -3932,7 +3934,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
3932
3934
|
return __returned__;
|
|
3933
3935
|
}
|
|
3934
3936
|
});
|
|
3935
|
-
function _sfc_render$
|
|
3937
|
+
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3936
3938
|
return openBlock(), createBlock($setup["OnyxInfoCard"], {
|
|
3937
3939
|
class: normalizeClass(["onyx-component onyx-notification-message", [
|
|
3938
3940
|
"onyx-component",
|
|
@@ -3965,7 +3967,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3965
3967
|
} : void 0
|
|
3966
3968
|
]), 1032, ["class", "headline", "icon", "style", "aria-label"]);
|
|
3967
3969
|
}
|
|
3968
|
-
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3970
|
+
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationMessage/OnyxNotificationMessage.vue"]]);
|
|
3969
3971
|
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = Symbol();
|
|
3970
3972
|
const createNotificationsProvider = () => {
|
|
3971
3973
|
let nextId = 1;
|
|
@@ -4010,7 +4012,7 @@ const useNotification = () => {
|
|
|
4010
4012
|
);
|
|
4011
4013
|
return notificationsProvider;
|
|
4012
4014
|
};
|
|
4013
|
-
const _sfc_main$
|
|
4015
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
4014
4016
|
__name: "OnyxNotifications",
|
|
4015
4017
|
setup(__props, { expose: __expose }) {
|
|
4016
4018
|
__expose();
|
|
@@ -4020,15 +4022,15 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
4020
4022
|
return __returned__;
|
|
4021
4023
|
}
|
|
4022
4024
|
});
|
|
4023
|
-
const _hoisted_1
|
|
4025
|
+
const _hoisted_1$$ = {
|
|
4024
4026
|
key: 0,
|
|
4025
4027
|
class: "onyx-component onyx-notifications",
|
|
4026
4028
|
role: "presentation",
|
|
4027
4029
|
"aria-live": "polite",
|
|
4028
4030
|
open: ""
|
|
4029
4031
|
};
|
|
4030
|
-
function _sfc_render$
|
|
4031
|
-
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1
|
|
4032
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4033
|
+
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$$, [
|
|
4032
4034
|
(openBlock(true), createElementBlock(
|
|
4033
4035
|
Fragment,
|
|
4034
4036
|
null,
|
|
@@ -4080,8 +4082,8 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4080
4082
|
))
|
|
4081
4083
|
])) : createCommentVNode("v-if", true);
|
|
4082
4084
|
}
|
|
4083
|
-
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4084
|
-
const _sfc_main$
|
|
4085
|
+
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotifications/OnyxNotifications.vue"]]);
|
|
4086
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
4085
4087
|
__name: "OnyxToastMessage",
|
|
4086
4088
|
props: {
|
|
4087
4089
|
density: { type: null, required: false },
|
|
@@ -4117,8 +4119,8 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
4117
4119
|
return __returned__;
|
|
4118
4120
|
}
|
|
4119
4121
|
});
|
|
4120
|
-
const _hoisted_1$
|
|
4121
|
-
const _hoisted_2$
|
|
4122
|
+
const _hoisted_1$_ = { class: "onyx-toast-message__wrapper" };
|
|
4123
|
+
const _hoisted_2$M = { class: "onyx-toast-message__content onyx-truncation-ellipsis" };
|
|
4122
4124
|
const _hoisted_3$x = { class: "onyx-toast-message__headline onyx-text" };
|
|
4123
4125
|
const _hoisted_4$m = { class: "onyx-truncation-ellipsis" };
|
|
4124
4126
|
const _hoisted_5$g = ["aria-label"];
|
|
@@ -4127,19 +4129,19 @@ const _hoisted_6$b = {
|
|
|
4127
4129
|
class: "onyx-toast-message__description onyx-text--small onyx-truncation-multiline",
|
|
4128
4130
|
tabindex: "0"
|
|
4129
4131
|
};
|
|
4130
|
-
function _sfc_render$
|
|
4132
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4131
4133
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.clickable ? "button" : "div"), {
|
|
4132
4134
|
class: normalizeClass(["onyx-component onyx-toast-message", [`onyx-toast-message--${$setup.props.color}`, $setup.densityClass]]),
|
|
4133
4135
|
role: $setup.props.color === "danger" || $setup.props.color === "warning" ? "alert" : "status",
|
|
4134
4136
|
"aria-label": $setup.props.clickable ? $setup.props.headline : void 0
|
|
4135
4137
|
}, {
|
|
4136
4138
|
default: withCtx(() => [
|
|
4137
|
-
createElementVNode("div", _hoisted_1$
|
|
4139
|
+
createElementVNode("div", _hoisted_1$_, [
|
|
4138
4140
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4139
4141
|
key: 0,
|
|
4140
4142
|
icon: $setup.icon
|
|
4141
4143
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
4142
|
-
createElementVNode("div", _hoisted_2$
|
|
4144
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
4143
4145
|
createElementVNode("div", _hoisted_3$x, [
|
|
4144
4146
|
createElementVNode(
|
|
4145
4147
|
"span",
|
|
@@ -4185,7 +4187,7 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4185
4187
|
/* STABLE */
|
|
4186
4188
|
}, 8, ["class", "role", "aria-label"]);
|
|
4187
4189
|
}
|
|
4188
|
-
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4190
|
+
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToastMessage/OnyxToastMessage.vue"]]);
|
|
4189
4191
|
const TOAST_PROVIDER_INJECTION_KEY = Symbol();
|
|
4190
4192
|
const createToastProvider = () => {
|
|
4191
4193
|
let nextId = 1;
|
|
@@ -4228,7 +4230,7 @@ const useToast = () => {
|
|
|
4228
4230
|
);
|
|
4229
4231
|
return toastProvider;
|
|
4230
4232
|
};
|
|
4231
|
-
const _sfc_main$
|
|
4233
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
4232
4234
|
__name: "OnyxToast",
|
|
4233
4235
|
setup(__props, { expose: __expose }) {
|
|
4234
4236
|
__expose();
|
|
@@ -4238,15 +4240,15 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
4238
4240
|
return __returned__;
|
|
4239
4241
|
}
|
|
4240
4242
|
});
|
|
4241
|
-
const _hoisted_1$
|
|
4243
|
+
const _hoisted_1$Z = {
|
|
4242
4244
|
key: 0,
|
|
4243
4245
|
class: "onyx-component onyx-toast",
|
|
4244
4246
|
role: "presentation",
|
|
4245
4247
|
"aria-live": "polite",
|
|
4246
4248
|
open: ""
|
|
4247
4249
|
};
|
|
4248
|
-
function _sfc_render$
|
|
4249
|
-
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
4250
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4251
|
+
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$Z, [
|
|
4250
4252
|
(openBlock(true), createElementBlock(
|
|
4251
4253
|
Fragment,
|
|
4252
4254
|
null,
|
|
@@ -4264,8 +4266,8 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4264
4266
|
))
|
|
4265
4267
|
])) : createCommentVNode("v-if", true);
|
|
4266
4268
|
}
|
|
4267
|
-
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4268
|
-
const _sfc_main$
|
|
4269
|
+
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToast/OnyxToast.vue"]]);
|
|
4270
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
4269
4271
|
__name: "OnyxAppLayout",
|
|
4270
4272
|
props: {
|
|
4271
4273
|
navBarAlignment: { type: String, required: false, default: "top" }
|
|
@@ -4279,22 +4281,22 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
4279
4281
|
return __returned__;
|
|
4280
4282
|
}
|
|
4281
4283
|
});
|
|
4282
|
-
const _hoisted_1$
|
|
4284
|
+
const _hoisted_1$Y = {
|
|
4283
4285
|
key: 0,
|
|
4284
4286
|
class: "onyx-app__nav"
|
|
4285
4287
|
};
|
|
4286
|
-
const _hoisted_2$
|
|
4287
|
-
function _sfc_render$
|
|
4288
|
+
const _hoisted_2$L = { class: "onyx-app__page" };
|
|
4289
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4288
4290
|
return openBlock(), createElementBlock(
|
|
4289
4291
|
"div",
|
|
4290
4292
|
{
|
|
4291
4293
|
class: normalizeClass(["onyx-component onyx-app", { "onyx-app--horizontal": $setup.props.navBarAlignment === "left" }])
|
|
4292
4294
|
},
|
|
4293
4295
|
[
|
|
4294
|
-
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4296
|
+
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
4295
4297
|
renderSlot(_ctx.$slots, "navBar")
|
|
4296
4298
|
])) : createCommentVNode("v-if", true),
|
|
4297
|
-
createElementVNode("div", _hoisted_2$
|
|
4299
|
+
createElementVNode("div", _hoisted_2$L, [
|
|
4298
4300
|
renderSlot(_ctx.$slots, "default")
|
|
4299
4301
|
]),
|
|
4300
4302
|
createVNode($setup["OnyxToast"]),
|
|
@@ -4305,8 +4307,8 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4305
4307
|
/* CLASS */
|
|
4306
4308
|
);
|
|
4307
4309
|
}
|
|
4308
|
-
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4309
|
-
const _sfc_main$
|
|
4310
|
+
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAppLayout/OnyxAppLayout.vue"]]);
|
|
4311
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
4310
4312
|
__name: "OnyxAvatar",
|
|
4311
4313
|
props: {
|
|
4312
4314
|
size: { type: null, required: false, default: "48px" },
|
|
@@ -4340,13 +4342,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
4340
4342
|
return __returned__;
|
|
4341
4343
|
}
|
|
4342
4344
|
});
|
|
4343
|
-
const _hoisted_1$
|
|
4344
|
-
const _hoisted_2$
|
|
4345
|
+
const _hoisted_1$X = ["title", "aria-label"];
|
|
4346
|
+
const _hoisted_2$K = ["src", "alt"];
|
|
4345
4347
|
const _hoisted_3$w = {
|
|
4346
4348
|
key: 0,
|
|
4347
4349
|
class: "onyx-avatar__initials"
|
|
4348
4350
|
};
|
|
4349
|
-
function _sfc_render$
|
|
4351
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4350
4352
|
return openBlock(), createElementBlock("figure", {
|
|
4351
4353
|
class: normalizeClass([
|
|
4352
4354
|
"onyx-component",
|
|
@@ -4363,7 +4365,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4363
4365
|
src: $setup.props.src,
|
|
4364
4366
|
alt: $setup.ariaLabel,
|
|
4365
4367
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.hasImageError = true)
|
|
4366
|
-
}, null, 40, _hoisted_2$
|
|
4368
|
+
}, null, 40, _hoisted_2$K)) : (openBlock(), createElementBlock(
|
|
4367
4369
|
Fragment,
|
|
4368
4370
|
{ key: 1 },
|
|
4369
4371
|
[
|
|
@@ -4382,10 +4384,10 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4382
4384
|
64
|
|
4383
4385
|
/* STABLE_FRAGMENT */
|
|
4384
4386
|
))
|
|
4385
|
-
], 10, _hoisted_1$
|
|
4387
|
+
], 10, _hoisted_1$X);
|
|
4386
4388
|
}
|
|
4387
|
-
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4388
|
-
const _sfc_main$
|
|
4389
|
+
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatar/OnyxAvatar.vue"]]);
|
|
4390
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
4389
4391
|
__name: "OnyxAvatarStack",
|
|
4390
4392
|
setup(__props, { expose: __expose }) {
|
|
4391
4393
|
__expose();
|
|
@@ -4394,14 +4396,14 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
4394
4396
|
return __returned__;
|
|
4395
4397
|
}
|
|
4396
4398
|
});
|
|
4397
|
-
const _hoisted_1$
|
|
4398
|
-
function _sfc_render$
|
|
4399
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4399
|
+
const _hoisted_1$W = { class: "onyx-component onyx-avatar-stack" };
|
|
4400
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4401
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
4400
4402
|
renderSlot(_ctx.$slots, "default")
|
|
4401
4403
|
]);
|
|
4402
4404
|
}
|
|
4403
|
-
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4404
|
-
const _sfc_main$
|
|
4405
|
+
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatarStack/OnyxAvatarStack.vue"]]);
|
|
4406
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
4405
4407
|
__name: "OnyxBadge",
|
|
4406
4408
|
props: {
|
|
4407
4409
|
density: { type: null, required: false },
|
|
@@ -4418,7 +4420,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
4418
4420
|
return __returned__;
|
|
4419
4421
|
}
|
|
4420
4422
|
});
|
|
4421
|
-
function _sfc_render$
|
|
4423
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4422
4424
|
return openBlock(), createElementBlock(
|
|
4423
4425
|
"div",
|
|
4424
4426
|
{
|
|
@@ -4449,8 +4451,8 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4449
4451
|
/* CLASS */
|
|
4450
4452
|
);
|
|
4451
4453
|
}
|
|
4452
|
-
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4453
|
-
const _sfc_main$
|
|
4454
|
+
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBadge/OnyxBadge.vue"]]);
|
|
4455
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
4454
4456
|
__name: "OnyxBottomBar",
|
|
4455
4457
|
props: {
|
|
4456
4458
|
density: { type: null, required: false },
|
|
@@ -4465,10 +4467,10 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
4465
4467
|
return __returned__;
|
|
4466
4468
|
}
|
|
4467
4469
|
});
|
|
4468
|
-
const _hoisted_1$
|
|
4469
|
-
const _hoisted_2$
|
|
4470
|
+
const _hoisted_1$V = { class: "onyx-bottom-bar__content onyx-grid-container" };
|
|
4471
|
+
const _hoisted_2$J = { class: "onyx-bottom-bar__content--left" };
|
|
4470
4472
|
const _hoisted_3$v = { class: "onyx-bottom-bar__content--right" };
|
|
4471
|
-
function _sfc_render$
|
|
4473
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4472
4474
|
return openBlock(), createElementBlock(
|
|
4473
4475
|
"div",
|
|
4474
4476
|
{
|
|
@@ -4480,8 +4482,8 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4480
4482
|
])
|
|
4481
4483
|
},
|
|
4482
4484
|
[
|
|
4483
|
-
createElementVNode("div", _hoisted_1$
|
|
4484
|
-
createElementVNode("div", _hoisted_2$
|
|
4485
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
4486
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
4485
4487
|
renderSlot(_ctx.$slots, "left")
|
|
4486
4488
|
]),
|
|
4487
4489
|
createElementVNode("div", _hoisted_3$v, [
|
|
@@ -4493,7 +4495,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4493
4495
|
/* CLASS */
|
|
4494
4496
|
);
|
|
4495
4497
|
}
|
|
4496
|
-
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4498
|
+
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBottomBar/OnyxBottomBar.vue"]]);
|
|
4497
4499
|
const useMoreList = (options) => {
|
|
4498
4500
|
const visibleElements = ref();
|
|
4499
4501
|
const hiddenElements = ref();
|
|
@@ -4588,7 +4590,7 @@ const useMoreListChild = (injectionKey) => {
|
|
|
4588
4590
|
};
|
|
4589
4591
|
const BREADCRUMB_MORE_LIST_INJECTION_KEY = Symbol();
|
|
4590
4592
|
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
4591
|
-
const _sfc_main$
|
|
4593
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
4592
4594
|
__name: "OnyxExternalLinkIcon",
|
|
4593
4595
|
props: {
|
|
4594
4596
|
href: { type: String, required: false },
|
|
@@ -4609,7 +4611,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
4609
4611
|
return __returned__;
|
|
4610
4612
|
}
|
|
4611
4613
|
});
|
|
4612
|
-
function _sfc_render$
|
|
4614
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4613
4615
|
return $setup.isVisible ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4614
4616
|
key: 0,
|
|
4615
4617
|
class: "onyx-component onyx-external-link-icon",
|
|
@@ -4617,8 +4619,8 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4617
4619
|
size: "16px"
|
|
4618
4620
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true);
|
|
4619
4621
|
}
|
|
4620
|
-
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4621
|
-
const _sfc_main$
|
|
4622
|
+
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue"]]);
|
|
4623
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
4622
4624
|
__name: "OnyxListItem",
|
|
4623
4625
|
props: {
|
|
4624
4626
|
density: { type: null, required: false },
|
|
@@ -4637,7 +4639,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
4637
4639
|
return __returned__;
|
|
4638
4640
|
}
|
|
4639
4641
|
});
|
|
4640
|
-
function _sfc_render$
|
|
4642
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4641
4643
|
return openBlock(), createElementBlock(
|
|
4642
4644
|
"li",
|
|
4643
4645
|
{
|
|
@@ -4659,8 +4661,8 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4659
4661
|
/* CLASS */
|
|
4660
4662
|
);
|
|
4661
4663
|
}
|
|
4662
|
-
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4663
|
-
const _sfc_main$
|
|
4664
|
+
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxListItem/OnyxListItem.vue"]]);
|
|
4665
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
4664
4666
|
...{ inheritAttrs: false },
|
|
4665
4667
|
__name: "OnyxMenuItem",
|
|
4666
4668
|
props: {
|
|
@@ -4739,8 +4741,8 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
4739
4741
|
return __returned__;
|
|
4740
4742
|
}
|
|
4741
4743
|
});
|
|
4742
|
-
const _hoisted_1$
|
|
4743
|
-
const _hoisted_2$
|
|
4744
|
+
const _hoisted_1$U = { class: "onyx-truncation-ellipsis" };
|
|
4745
|
+
const _hoisted_2$I = {
|
|
4744
4746
|
key: 0,
|
|
4745
4747
|
class: "onyx-menu-item__chevron"
|
|
4746
4748
|
};
|
|
@@ -4749,7 +4751,7 @@ const _hoisted_3$u = {
|
|
|
4749
4751
|
role: "menu",
|
|
4750
4752
|
class: "onyx-menu-item__children"
|
|
4751
4753
|
};
|
|
4752
|
-
function _sfc_render$
|
|
4754
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4753
4755
|
const _component_OnyxMenuItem = resolveComponent("OnyxMenuItem", true);
|
|
4754
4756
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({
|
|
4755
4757
|
selected: $setup.isActive,
|
|
@@ -4770,7 +4772,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4770
4772
|
createElementVNode("span", null, [
|
|
4771
4773
|
createElementVNode(
|
|
4772
4774
|
"span",
|
|
4773
|
-
_hoisted_1$
|
|
4775
|
+
_hoisted_1$U,
|
|
4774
4776
|
toDisplayString($setup.props.label),
|
|
4775
4777
|
1
|
|
4776
4778
|
/* TEXT */
|
|
@@ -4784,7 +4786,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4784
4786
|
)
|
|
4785
4787
|
])
|
|
4786
4788
|
]),
|
|
4787
|
-
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4789
|
+
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
|
|
4788
4790
|
createVNode($setup["OnyxIcon"], {
|
|
4789
4791
|
icon: $setup.iconChevronRightSmall,
|
|
4790
4792
|
size: "24px"
|
|
@@ -4835,8 +4837,8 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4835
4837
|
/* FORWARDED */
|
|
4836
4838
|
}, 16, ["selected", "active", "color", "disabled", "class"]);
|
|
4837
4839
|
}
|
|
4838
|
-
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4839
|
-
const _sfc_main$
|
|
4840
|
+
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue"]]);
|
|
4841
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
4840
4842
|
...{ inheritAttrs: false },
|
|
4841
4843
|
__name: "OnyxBreadcrumbItem",
|
|
4842
4844
|
props: {
|
|
@@ -4862,7 +4864,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
4862
4864
|
return __returned__;
|
|
4863
4865
|
}
|
|
4864
4866
|
});
|
|
4865
|
-
function _sfc_render$
|
|
4867
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4866
4868
|
return openBlock(), createElementBlock(
|
|
4867
4869
|
Fragment,
|
|
4868
4870
|
null,
|
|
@@ -4922,8 +4924,8 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4922
4924
|
/* STABLE_FRAGMENT */
|
|
4923
4925
|
);
|
|
4924
4926
|
}
|
|
4925
|
-
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4926
|
-
const _sfc_main$
|
|
4927
|
+
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.vue"]]);
|
|
4928
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
4927
4929
|
__name: "OnyxMoreList",
|
|
4928
4930
|
props: {
|
|
4929
4931
|
injectionKey: { type: [Symbol, Object], required: true },
|
|
@@ -4956,7 +4958,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
4956
4958
|
return __returned__;
|
|
4957
4959
|
}
|
|
4958
4960
|
});
|
|
4959
|
-
function _sfc_render$
|
|
4961
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4960
4962
|
return openBlock(), createBlock(
|
|
4961
4963
|
resolveDynamicComponent($setup.props.is),
|
|
4962
4964
|
{
|
|
@@ -4996,8 +4998,8 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4996
4998
|
/* NEED_PATCH */
|
|
4997
4999
|
);
|
|
4998
5000
|
}
|
|
4999
|
-
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5000
|
-
const _sfc_main$
|
|
5001
|
+
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMoreList/OnyxMoreList.vue"]]);
|
|
5002
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
5001
5003
|
__name: "OnyxBreadcrumb",
|
|
5002
5004
|
props: {
|
|
5003
5005
|
density: { type: null, required: false },
|
|
@@ -5023,13 +5025,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
5023
5025
|
return __returned__;
|
|
5024
5026
|
}
|
|
5025
5027
|
});
|
|
5026
|
-
const _hoisted_1$
|
|
5027
|
-
const _hoisted_2$
|
|
5028
|
+
const _hoisted_1$T = ["aria-label", "aria-hidden"];
|
|
5029
|
+
const _hoisted_2$H = {
|
|
5028
5030
|
class: "onyx-breadcrumb__list onyx-grid-container",
|
|
5029
5031
|
role: "menu"
|
|
5030
5032
|
};
|
|
5031
5033
|
const _hoisted_3$t = { ref: "moreListRef" };
|
|
5032
|
-
function _sfc_render$
|
|
5034
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5033
5035
|
return openBlock(), createElementBlock("nav", {
|
|
5034
5036
|
class: normalizeClass([
|
|
5035
5037
|
"onyx-component",
|
|
@@ -5040,7 +5042,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5040
5042
|
"aria-label": $setup.t("breadcrumb.label"),
|
|
5041
5043
|
"aria-hidden": $setup.props.skeleton
|
|
5042
5044
|
}, [
|
|
5043
|
-
createElementVNode("ol", _hoisted_2$
|
|
5045
|
+
createElementVNode("ol", _hoisted_2$H, [
|
|
5044
5046
|
createVNode($setup["OnyxBreadcrumbItem"], {
|
|
5045
5047
|
class: "onyx-breadcrumb__home",
|
|
5046
5048
|
href: $setup.props.home?.link ?? "/",
|
|
@@ -5122,13 +5124,13 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5122
5124
|
/* FORWARDED */
|
|
5123
5125
|
}, 8, ["injection-key"])
|
|
5124
5126
|
])
|
|
5125
|
-
], 10, _hoisted_1$
|
|
5127
|
+
], 10, _hoisted_1$T);
|
|
5126
5128
|
}
|
|
5127
|
-
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5129
|
+
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumb/OnyxBreadcrumb.vue"]]);
|
|
5128
5130
|
const BUTTON_TYPES = ["button", "submit", "reset"];
|
|
5129
5131
|
const BUTTON_COLORS = ["primary", "neutral", "danger"];
|
|
5130
5132
|
const BUTTON_MODES = ["default", "outline", "plain"];
|
|
5131
|
-
const _sfc_main$
|
|
5133
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
5132
5134
|
__name: "OnyxCard",
|
|
5133
5135
|
props: {
|
|
5134
5136
|
density: { type: null, required: false },
|
|
@@ -5147,7 +5149,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
5147
5149
|
return __returned__;
|
|
5148
5150
|
}
|
|
5149
5151
|
});
|
|
5150
|
-
function _sfc_render$
|
|
5152
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5151
5153
|
return openBlock(), createBlock(resolveDynamicComponent($setup.linkProps ? $setup.OnyxRouterLink : $setup.props.clickable ? "button" : "div"), mergeProps($setup.linkProps, {
|
|
5152
5154
|
class: ["onyx-component", "onyx-card", $setup.densityClass, "onyx-truncation-multiline", "onyx-text"]
|
|
5153
5155
|
}), {
|
|
@@ -5158,8 +5160,8 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5158
5160
|
/* FORWARDED */
|
|
5159
5161
|
}, 16, ["class"]);
|
|
5160
5162
|
}
|
|
5161
|
-
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5162
|
-
const _sfc_main$
|
|
5163
|
+
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"]]);
|
|
5164
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
5163
5165
|
__name: "OnyxTooltip",
|
|
5164
5166
|
props: {
|
|
5165
5167
|
density: { type: null, required: false },
|
|
@@ -5314,8 +5316,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5314
5316
|
return __returned__;
|
|
5315
5317
|
}
|
|
5316
5318
|
});
|
|
5317
|
-
const _hoisted_1$
|
|
5318
|
-
function _sfc_render$
|
|
5319
|
+
const _hoisted_1$S = { class: "onyx-tooltip--content" };
|
|
5320
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5319
5321
|
return openBlock(), createElementBlock(
|
|
5320
5322
|
"div",
|
|
5321
5323
|
{
|
|
@@ -5331,7 +5333,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5331
5333
|
style: $setup.tooltipStyles
|
|
5332
5334
|
}),
|
|
5333
5335
|
[
|
|
5334
|
-
createElementVNode("div", _hoisted_1$
|
|
5336
|
+
createElementVNode("div", _hoisted_1$S, [
|
|
5335
5337
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
5336
5338
|
key: 0,
|
|
5337
5339
|
icon: $setup.props.icon,
|
|
@@ -5355,8 +5357,8 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5355
5357
|
/* CLASS, STYLE */
|
|
5356
5358
|
);
|
|
5357
5359
|
}
|
|
5358
|
-
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5359
|
-
const _sfc_main$
|
|
5360
|
+
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"]]);
|
|
5361
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
5360
5362
|
__name: "OnyxCalendarCell",
|
|
5361
5363
|
props: {
|
|
5362
5364
|
density: { type: null, required: false },
|
|
@@ -5386,8 +5388,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
5386
5388
|
return __returned__;
|
|
5387
5389
|
}
|
|
5388
5390
|
});
|
|
5389
|
-
const _hoisted_1$
|
|
5390
|
-
const _hoisted_2$
|
|
5391
|
+
const _hoisted_1$R = { class: "onyx-calendar-cell__header" };
|
|
5392
|
+
const _hoisted_2$G = { class: "onyx-calendar-cell__date-container" };
|
|
5391
5393
|
const _hoisted_3$s = {
|
|
5392
5394
|
key: 1,
|
|
5393
5395
|
class: "onyx-calendar-cell__date"
|
|
@@ -5396,7 +5398,7 @@ const _hoisted_4$l = {
|
|
|
5396
5398
|
key: 0,
|
|
5397
5399
|
class: "onyx-calendar-cell__main"
|
|
5398
5400
|
};
|
|
5399
|
-
function _sfc_render$
|
|
5401
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5400
5402
|
return openBlock(), createElementBlock(
|
|
5401
5403
|
"td",
|
|
5402
5404
|
{
|
|
@@ -5422,8 +5424,8 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5422
5424
|
]
|
|
5423
5425
|
}), {
|
|
5424
5426
|
default: withCtx(() => [
|
|
5425
|
-
createElementVNode("div", _hoisted_1$
|
|
5426
|
-
createElementVNode("div", _hoisted_2$
|
|
5427
|
+
createElementVNode("div", _hoisted_1$R, [
|
|
5428
|
+
createElementVNode("div", _hoisted_2$G, [
|
|
5427
5429
|
$setup.props.tooltipText ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
5428
5430
|
key: 0,
|
|
5429
5431
|
text: $setup.props.tooltipText,
|
|
@@ -5461,8 +5463,8 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5461
5463
|
/* CLASS */
|
|
5462
5464
|
);
|
|
5463
5465
|
}
|
|
5464
|
-
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5465
|
-
const _sfc_main$
|
|
5466
|
+
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendarCell/OnyxCalendarCell.vue"]]);
|
|
5467
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
5466
5468
|
__name: "OnyxIconButton",
|
|
5467
5469
|
props: {
|
|
5468
5470
|
density: { type: null, required: false },
|
|
@@ -5487,7 +5489,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
5487
5489
|
return __returned__;
|
|
5488
5490
|
}
|
|
5489
5491
|
});
|
|
5490
|
-
function _sfc_render$
|
|
5492
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5491
5493
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5492
5494
|
key: 0,
|
|
5493
5495
|
class: normalizeClass(["onyx-icon-button-skeleton", $setup.densityClass])
|
|
@@ -5515,8 +5517,8 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5515
5517
|
/* FORWARDED */
|
|
5516
5518
|
}, 16, ["aria-label", "title", "class"]));
|
|
5517
5519
|
}
|
|
5518
|
-
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5519
|
-
const _sfc_main$
|
|
5520
|
+
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIconButton/OnyxIconButton.vue"]]);
|
|
5521
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
5520
5522
|
__name: "OnyxTag",
|
|
5521
5523
|
props: {
|
|
5522
5524
|
density: { type: null, required: false },
|
|
@@ -5543,9 +5545,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
5543
5545
|
return __returned__;
|
|
5544
5546
|
}
|
|
5545
5547
|
});
|
|
5546
|
-
const _hoisted_1$
|
|
5547
|
-
const _hoisted_2$
|
|
5548
|
-
function _sfc_render$
|
|
5548
|
+
const _hoisted_1$Q = { class: "onyx-text onyx-truncation-ellipsis" };
|
|
5549
|
+
const _hoisted_2$F = { class: "onyx-text onyx-truncation-ellipsis" };
|
|
5550
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5549
5551
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5550
5552
|
key: 0,
|
|
5551
5553
|
class: normalizeClass(["onyx-tag-skeleton", $setup.densityClass])
|
|
@@ -5568,7 +5570,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5568
5570
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5569
5571
|
createElementVNode(
|
|
5570
5572
|
"span",
|
|
5571
|
-
_hoisted_1$
|
|
5573
|
+
_hoisted_1$Q,
|
|
5572
5574
|
toDisplayString($setup.props.label),
|
|
5573
5575
|
1
|
|
5574
5576
|
/* TEXT */
|
|
@@ -5599,7 +5601,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5599
5601
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5600
5602
|
createElementVNode(
|
|
5601
5603
|
"span",
|
|
5602
|
-
_hoisted_2$
|
|
5604
|
+
_hoisted_2$F,
|
|
5603
5605
|
toDisplayString($setup.props.label),
|
|
5604
5606
|
1
|
|
5605
5607
|
/* TEXT */
|
|
@@ -5609,10 +5611,10 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5609
5611
|
/* CLASS */
|
|
5610
5612
|
));
|
|
5611
5613
|
}
|
|
5612
|
-
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5613
|
-
const __default__$
|
|
5614
|
-
const _sfc_main$
|
|
5615
|
-
...__default__$
|
|
5614
|
+
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTag/OnyxTag.vue"]]);
|
|
5615
|
+
const __default__$3 = {};
|
|
5616
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
5617
|
+
...__default__$3,
|
|
5616
5618
|
__name: "OnyxCalendar",
|
|
5617
5619
|
props: {
|
|
5618
5620
|
density: { type: null, required: false },
|
|
@@ -5726,12 +5728,12 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
5726
5728
|
return __returned__;
|
|
5727
5729
|
}
|
|
5728
5730
|
});
|
|
5729
|
-
const _hoisted_1$
|
|
5730
|
-
const _hoisted_2$
|
|
5731
|
+
const _hoisted_1$P = { class: "onyx-calendar__header" };
|
|
5732
|
+
const _hoisted_2$E = { class: "control-container time-control-container" };
|
|
5731
5733
|
const _hoisted_3$r = { class: "control-container" };
|
|
5732
5734
|
const _hoisted_4$k = { class: "onyx-calendar__body" };
|
|
5733
5735
|
const _hoisted_5$f = ["abbr"];
|
|
5734
|
-
function _sfc_render$
|
|
5736
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5735
5737
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5736
5738
|
"div",
|
|
5737
5739
|
{
|
|
@@ -5752,8 +5754,8 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5752
5754
|
class: normalizeClass(["onyx-component", "onyx-calendar", `onyx-calendar--${$setup.calendarSize}`, $setup.densityClass])
|
|
5753
5755
|
},
|
|
5754
5756
|
[
|
|
5755
|
-
createElementVNode("div", _hoisted_1$
|
|
5756
|
-
createElementVNode("div", _hoisted_2$
|
|
5757
|
+
createElementVNode("div", _hoisted_1$P, [
|
|
5758
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
5757
5759
|
createVNode($setup["OnyxSystemButton"], {
|
|
5758
5760
|
label: $setup.t("calendar.todayButton.label"),
|
|
5759
5761
|
class: "control-container__today-btn",
|
|
@@ -5892,7 +5894,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5892
5894
|
/* CLASS */
|
|
5893
5895
|
));
|
|
5894
5896
|
}
|
|
5895
|
-
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5897
|
+
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendar/OnyxCalendar.vue"]]);
|
|
5896
5898
|
const useRequired = (props, requiredMarker) => ({
|
|
5897
5899
|
/**
|
|
5898
5900
|
* Class that configures which type of required marker is used.
|
|
@@ -6108,7 +6110,7 @@ const formatMinMax = (locale, type, value) => {
|
|
|
6108
6110
|
};
|
|
6109
6111
|
return date.toLocaleString(locale, format);
|
|
6110
6112
|
};
|
|
6111
|
-
const _sfc_main
|
|
6113
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
6112
6114
|
__name: "OnyxErrorTooltip",
|
|
6113
6115
|
props: {
|
|
6114
6116
|
errorMessages: { type: Object, required: false },
|
|
@@ -6124,16 +6126,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
6124
6126
|
return __returned__;
|
|
6125
6127
|
}
|
|
6126
6128
|
});
|
|
6127
|
-
const _hoisted_1$
|
|
6128
|
-
const _hoisted_2$
|
|
6129
|
+
const _hoisted_1$O = { class: "onyx-component" };
|
|
6130
|
+
const _hoisted_2$D = {
|
|
6129
6131
|
key: 0,
|
|
6130
6132
|
ref: "targetRef"
|
|
6131
6133
|
};
|
|
6132
|
-
function _sfc_render
|
|
6133
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6134
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6135
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
6134
6136
|
!$setup.tooltipError || $setup.props.disabled ? (openBlock(), createElementBlock(
|
|
6135
6137
|
"div",
|
|
6136
|
-
_hoisted_2$
|
|
6138
|
+
_hoisted_2$D,
|
|
6137
6139
|
null,
|
|
6138
6140
|
512
|
|
6139
6141
|
/* NEED_PATCH */
|
|
@@ -6166,8 +6168,8 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6166
6168
|
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
6167
6169
|
]);
|
|
6168
6170
|
}
|
|
6169
|
-
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6170
|
-
const _sfc_main$
|
|
6171
|
+
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxErrorTooltip/OnyxErrorTooltip.vue"]]);
|
|
6172
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
6171
6173
|
...{ inheritAttrs: false },
|
|
6172
6174
|
__name: "OnyxCheckbox",
|
|
6173
6175
|
props: {
|
|
@@ -6214,10 +6216,10 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
6214
6216
|
return __returned__;
|
|
6215
6217
|
}
|
|
6216
6218
|
});
|
|
6217
|
-
const _hoisted_1$
|
|
6218
|
-
const _hoisted_2$
|
|
6219
|
+
const _hoisted_1$N = ["title"];
|
|
6220
|
+
const _hoisted_2$C = { class: "onyx-checkbox__container" };
|
|
6219
6221
|
const _hoisted_3$q = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"];
|
|
6220
|
-
function _sfc_render$
|
|
6222
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6221
6223
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
6222
6224
|
"div",
|
|
6223
6225
|
mergeProps({
|
|
@@ -6243,7 +6245,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6243
6245
|
class: normalizeClass(["onyx-component onyx-checkbox", [$setup.requiredTypeClass, $setup.densityClass]]),
|
|
6244
6246
|
title: $setup.title
|
|
6245
6247
|
}, [
|
|
6246
|
-
createElementVNode("div", _hoisted_2$
|
|
6248
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
6247
6249
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
6248
6250
|
key: 0,
|
|
6249
6251
|
class: "onyx-checkbox__loading",
|
|
@@ -6296,13 +6298,13 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6296
6298
|
64
|
|
6297
6299
|
/* STABLE_FRAGMENT */
|
|
6298
6300
|
)) : createCommentVNode("v-if", true)
|
|
6299
|
-
], 10, _hoisted_1$
|
|
6301
|
+
], 10, _hoisted_1$N)
|
|
6300
6302
|
]),
|
|
6301
6303
|
_: 1
|
|
6302
6304
|
/* STABLE */
|
|
6303
6305
|
}, 16, ["disabled", "error-messages"]));
|
|
6304
6306
|
}
|
|
6305
|
-
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6307
|
+
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckbox/OnyxCheckbox.vue"]]);
|
|
6306
6308
|
const useSelectAllCheckboxState = (enabledOptionValues, modelValue) => computed(() => {
|
|
6307
6309
|
const currentValues = modelValue.value.filter(
|
|
6308
6310
|
(value) => enabledOptionValues.value.includes(value)
|
|
@@ -6337,7 +6339,7 @@ const useCheckAll = (enabledOptionValues, modelValue, onChangeCallback) => {
|
|
|
6337
6339
|
}
|
|
6338
6340
|
};
|
|
6339
6341
|
};
|
|
6340
|
-
const _sfc_main
|
|
6342
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
6341
6343
|
__name: "OnyxInfoTooltip",
|
|
6342
6344
|
props: {
|
|
6343
6345
|
text: { type: String, required: true },
|
|
@@ -6373,9 +6375,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
6373
6375
|
return __returned__;
|
|
6374
6376
|
}
|
|
6375
6377
|
});
|
|
6376
|
-
const _hoisted_1$
|
|
6377
|
-
function _sfc_render
|
|
6378
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
6378
|
+
const _hoisted_1$M = { class: "onyx-component onyx-info-tooltip" };
|
|
6379
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6380
|
+
return openBlock(), createElementBlock("span", _hoisted_1$M, [
|
|
6379
6381
|
$setup.triggerType === "click" ? (openBlock(), createBlock($setup["OnyxTooltip"], mergeProps({ key: 0 }, $setup.tooltipProps, {
|
|
6380
6382
|
open: $setup.isVisible,
|
|
6381
6383
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isVisible = $event)
|
|
@@ -6433,8 +6435,8 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6433
6435
|
))
|
|
6434
6436
|
]);
|
|
6435
6437
|
}
|
|
6436
|
-
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6437
|
-
const _sfc_main$
|
|
6438
|
+
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoTooltip/OnyxInfoTooltip.vue"]]);
|
|
6439
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
6438
6440
|
__name: "OnyxCheckboxGroup",
|
|
6439
6441
|
props: {
|
|
6440
6442
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -6492,18 +6494,18 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
6492
6494
|
return __returned__;
|
|
6493
6495
|
}
|
|
6494
6496
|
});
|
|
6495
|
-
const _hoisted_1$
|
|
6496
|
-
const _hoisted_2$
|
|
6497
|
+
const _hoisted_1$L = ["disabled", "aria-label"];
|
|
6498
|
+
const _hoisted_2$B = {
|
|
6497
6499
|
key: 0,
|
|
6498
6500
|
class: "onyx-checkbox-group__label"
|
|
6499
6501
|
};
|
|
6500
|
-
function _sfc_render$
|
|
6502
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6501
6503
|
return openBlock(), createElementBlock("fieldset", {
|
|
6502
6504
|
class: normalizeClass(["onyx-component", "onyx-checkbox-group", $setup.densityClass]),
|
|
6503
6505
|
disabled: $setup.disabled,
|
|
6504
6506
|
"aria-label": $setup.props.label
|
|
6505
6507
|
}, [
|
|
6506
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$
|
|
6508
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$B, [
|
|
6507
6509
|
createVNode($setup["OnyxHeadline"], { is: "h3" }, {
|
|
6508
6510
|
default: withCtx(() => [
|
|
6509
6511
|
createTextVNode(
|
|
@@ -6583,76 +6585,403 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6583
6585
|
2
|
|
6584
6586
|
/* CLASS */
|
|
6585
6587
|
)
|
|
6586
|
-
], 10, _hoisted_1$
|
|
6588
|
+
], 10, _hoisted_1$L);
|
|
6587
6589
|
}
|
|
6588
|
-
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6589
|
-
const
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
6595
|
-
__name: "OnyxEmpty",
|
|
6590
|
+
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue"]]);
|
|
6591
|
+
const CODE_TABS_INJECTION_KEY = Symbol();
|
|
6592
|
+
const TABS_INJECTION_KEY = Symbol();
|
|
6593
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
6594
|
+
...{ inheritAttrs: false },
|
|
6595
|
+
__name: "OnyxTab",
|
|
6596
6596
|
props: {
|
|
6597
|
-
density: { type: null, required: false }
|
|
6597
|
+
density: { type: null, required: false },
|
|
6598
|
+
value: { type: null, required: true },
|
|
6599
|
+
label: { type: String, required: false },
|
|
6600
|
+
disabled: { type: Boolean, required: false, default: false },
|
|
6601
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
6598
6602
|
},
|
|
6599
6603
|
setup(__props, { expose: __expose }) {
|
|
6600
6604
|
__expose();
|
|
6601
6605
|
const props = __props;
|
|
6602
|
-
const slots = useSlots();
|
|
6603
6606
|
const { densityClass } = useDensity(props);
|
|
6604
|
-
const
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
+
const tabsContext = inject(TABS_INJECTION_KEY, void 0);
|
|
6608
|
+
const skeleton = useSkeletonContext(props);
|
|
6609
|
+
const sizeClass = computed(() => `onyx-tab--${tabsContext?.size.value}`);
|
|
6610
|
+
const attrs = useAttrs();
|
|
6611
|
+
const tab = computed(
|
|
6612
|
+
() => tabsContext?.headless.elements.tab.value({
|
|
6613
|
+
value: props.value,
|
|
6614
|
+
disabled: props.disabled || !!skeleton.value
|
|
6615
|
+
})
|
|
6616
|
+
);
|
|
6617
|
+
const __returned__ = { props, densityClass, tabsContext, skeleton, sizeClass, attrs, tab, get mergeVueProps() {
|
|
6618
|
+
return mergeVueProps;
|
|
6619
|
+
}, OnyxSkeleton };
|
|
6607
6620
|
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
6608
6621
|
return __returned__;
|
|
6609
6622
|
}
|
|
6610
6623
|
});
|
|
6611
|
-
const _hoisted_1$
|
|
6612
|
-
const _hoisted_2$
|
|
6613
|
-
|
|
6614
|
-
class: "onyx-empty__buttons"
|
|
6615
|
-
};
|
|
6616
|
-
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6624
|
+
const _hoisted_1$K = ["disabled"];
|
|
6625
|
+
const _hoisted_2$A = { class: "onyx-tab__label" };
|
|
6626
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6617
6627
|
return openBlock(), createElementBlock(
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
class: normalizeClass(["onyx-component", "onyx-empty", $setup.densityClass])
|
|
6621
|
-
},
|
|
6628
|
+
Fragment,
|
|
6629
|
+
null,
|
|
6622
6630
|
[
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6631
|
+
$setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], mergeProps({
|
|
6632
|
+
key: 0,
|
|
6633
|
+
class: ["onyx-tab-skeleton", $setup.densityClass, $setup.sizeClass]
|
|
6634
|
+
}, $setup.mergeVueProps($setup.tab, $setup.attrs)), null, 16, ["class"])) : (openBlock(), createElementBlock("button", mergeProps({
|
|
6635
|
+
key: 1,
|
|
6636
|
+
class: [
|
|
6637
|
+
"onyx-component",
|
|
6638
|
+
"onyx-tab",
|
|
6639
|
+
$setup.densityClass,
|
|
6640
|
+
$setup.sizeClass,
|
|
6641
|
+
{ "onyx-tab--selected": $setup.tab?.["aria-selected"] }
|
|
6642
|
+
]
|
|
6643
|
+
}, $setup.mergeVueProps($setup.tab, $setup.attrs), {
|
|
6644
|
+
type: "button",
|
|
6645
|
+
disabled: $setup.props.disabled
|
|
6646
|
+
}), [
|
|
6647
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
6648
|
+
renderSlot(_ctx.$slots, "tab", {}, () => [
|
|
6649
|
+
createTextVNode(
|
|
6650
|
+
toDisplayString($setup.props.label),
|
|
6651
|
+
1
|
|
6652
|
+
/* TEXT */
|
|
6653
|
+
)
|
|
6654
|
+
])
|
|
6655
|
+
])
|
|
6656
|
+
], 16, _hoisted_1$K)),
|
|
6657
|
+
$setup.tabsContext?.panel.value ? (openBlock(), createBlock(Teleport, {
|
|
6658
|
+
key: 2,
|
|
6659
|
+
to: $setup.tabsContext?.panel.value,
|
|
6660
|
+
defer: ""
|
|
6661
|
+
}, [
|
|
6662
|
+
$setup.tab?.["aria-selected"] ? (openBlock(), createElementBlock(
|
|
6663
|
+
"div",
|
|
6664
|
+
mergeProps(
|
|
6665
|
+
{ key: 0 },
|
|
6666
|
+
$setup.mergeVueProps($setup.tabsContext?.headless.elements.tabpanel.value({ value: $setup.props.value }), $setup.attrs),
|
|
6667
|
+
{ class: "onyx-tab__panel" }
|
|
6668
|
+
),
|
|
6669
|
+
[
|
|
6670
|
+
renderSlot(_ctx.$slots, "default")
|
|
6671
|
+
],
|
|
6672
|
+
16
|
|
6673
|
+
/* FULL_PROPS */
|
|
6674
|
+
)) : createCommentVNode("v-if", true)
|
|
6675
|
+
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
6676
|
+
],
|
|
6677
|
+
64
|
|
6678
|
+
/* STABLE_FRAGMENT */
|
|
6679
|
+
);
|
|
6680
|
+
}
|
|
6681
|
+
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTab/OnyxTab.vue"]]);
|
|
6682
|
+
const __default__$2 = {};
|
|
6683
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
6684
|
+
...__default__$2,
|
|
6685
|
+
__name: "OnyxCodeTab",
|
|
6686
|
+
props: {
|
|
6687
|
+
value: { type: null, required: true },
|
|
6688
|
+
label: { type: String, required: false },
|
|
6689
|
+
disabled: { type: Boolean, required: false, default: void 0 },
|
|
6690
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
6691
|
+
code: { type: String, required: true },
|
|
6692
|
+
icon: { type: String, required: false },
|
|
6693
|
+
language: { type: String, required: false }
|
|
6694
|
+
},
|
|
6695
|
+
setup(__props, { expose: __expose }) {
|
|
6696
|
+
__expose();
|
|
6697
|
+
const props = __props;
|
|
6698
|
+
const { t } = injectI18n();
|
|
6699
|
+
const tabProps = useForwardProps(props, OnyxTab);
|
|
6700
|
+
const tabsContext = inject(CODE_TABS_INJECTION_KEY, void 0);
|
|
6701
|
+
const label = computed(() => props.label ?? t.value("codeTabs.tabLabel"));
|
|
6702
|
+
watch(
|
|
6703
|
+
[() => props.value, () => props.code],
|
|
6704
|
+
([newValue, newCode], [oldValue]) => {
|
|
6705
|
+
if (oldValue) {
|
|
6706
|
+
tabsContext?.tabs.value.delete(oldValue);
|
|
6707
|
+
}
|
|
6708
|
+
tabsContext?.tabs.value.set(newValue, newCode);
|
|
6709
|
+
},
|
|
6710
|
+
{ immediate: true }
|
|
6711
|
+
);
|
|
6712
|
+
onUnmounted(() => {
|
|
6713
|
+
tabsContext?.tabs.value.delete(props.value);
|
|
6714
|
+
});
|
|
6715
|
+
const disabled = computed(() => {
|
|
6716
|
+
if (props.disabled != void 0) return props.disabled;
|
|
6717
|
+
return tabsContext && tabsContext.tabs.value.size <= 1;
|
|
6718
|
+
});
|
|
6719
|
+
const __returned__ = { props, t, tabProps, tabsContext, label, disabled, OnyxIcon, OnyxTab };
|
|
6720
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
6721
|
+
return __returned__;
|
|
6722
|
+
}
|
|
6723
|
+
});
|
|
6724
|
+
const _hoisted_1$J = {
|
|
6725
|
+
key: 0,
|
|
6726
|
+
class: "onyx-code-tab__language onyx-text--small"
|
|
6727
|
+
};
|
|
6728
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6729
|
+
return openBlock(), createBlock($setup["OnyxTab"], mergeProps($setup.tabProps, {
|
|
6730
|
+
label: $setup.label,
|
|
6731
|
+
class: "onyx-code-tab",
|
|
6732
|
+
disabled: $setup.disabled
|
|
6733
|
+
}), {
|
|
6734
|
+
tab: withCtx(() => [
|
|
6735
|
+
renderSlot(_ctx.$slots, "tab", {}, () => [
|
|
6736
|
+
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
6737
|
+
key: 0,
|
|
6738
|
+
icon: $setup.props.icon,
|
|
6739
|
+
size: "16px"
|
|
6740
|
+
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
6741
|
+
createTextVNode(
|
|
6742
|
+
" " + toDisplayString($setup.label),
|
|
6743
|
+
1
|
|
6744
|
+
/* TEXT */
|
|
6745
|
+
)
|
|
6746
|
+
])
|
|
6747
|
+
]),
|
|
6748
|
+
default: withCtx(() => [
|
|
6749
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6750
|
+
createElementVNode("pre", null, [
|
|
6751
|
+
createElementVNode(
|
|
6752
|
+
"code",
|
|
6753
|
+
null,
|
|
6754
|
+
toDisplayString($setup.props.code),
|
|
6755
|
+
1
|
|
6756
|
+
/* TEXT */
|
|
6757
|
+
)
|
|
6758
|
+
])
|
|
6759
|
+
]),
|
|
6760
|
+
$setup.props.language ? (openBlock(), createElementBlock(
|
|
6761
|
+
"span",
|
|
6762
|
+
_hoisted_1$J,
|
|
6763
|
+
toDisplayString($setup.props.language),
|
|
6764
|
+
1
|
|
6765
|
+
/* TEXT */
|
|
6766
|
+
)) : createCommentVNode("v-if", true)
|
|
6767
|
+
]),
|
|
6768
|
+
_: 3
|
|
6769
|
+
/* FORWARDED */
|
|
6770
|
+
}, 16, ["label", "disabled"]);
|
|
6771
|
+
}
|
|
6772
|
+
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTab/OnyxCodeTab.vue"]]);
|
|
6773
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
6774
|
+
__name: "OnyxTabs",
|
|
6775
|
+
props: {
|
|
6776
|
+
density: { type: null, required: false },
|
|
6777
|
+
skeleton: { type: Boolean, required: false },
|
|
6778
|
+
label: { type: String, required: true },
|
|
6779
|
+
modelValue: { type: null, required: true },
|
|
6780
|
+
stretched: { type: Boolean, required: false },
|
|
6781
|
+
size: { type: String, required: false, default: "h2" }
|
|
6782
|
+
},
|
|
6783
|
+
emits: ["update:modelValue"],
|
|
6784
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
6785
|
+
__expose();
|
|
6786
|
+
const props = __props;
|
|
6787
|
+
const emit = __emit;
|
|
6788
|
+
const { densityClass } = useDensity(props);
|
|
6789
|
+
const modelValue = useVModel({
|
|
6790
|
+
props,
|
|
6791
|
+
emit,
|
|
6792
|
+
key: "modelValue"
|
|
6793
|
+
});
|
|
6794
|
+
const headless = createTabs({
|
|
6795
|
+
label: toRef(props, "label"),
|
|
6796
|
+
selectedTab: toRef(() => modelValue.value),
|
|
6797
|
+
onSelect: (tab) => modelValue.value = tab
|
|
6798
|
+
});
|
|
6799
|
+
const slots = useSlots();
|
|
6800
|
+
const panel = useTemplateRef("panelRef");
|
|
6801
|
+
provideSkeletonContext(props);
|
|
6802
|
+
provide(TABS_INJECTION_KEY, {
|
|
6803
|
+
headless,
|
|
6804
|
+
panel,
|
|
6805
|
+
size: toRef(props, "size")
|
|
6806
|
+
});
|
|
6807
|
+
const __returned__ = { props, emit, densityClass, modelValue, headless, slots, panel };
|
|
6808
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
6809
|
+
return __returned__;
|
|
6810
|
+
}
|
|
6811
|
+
});
|
|
6812
|
+
const _hoisted_1$I = { class: "onyx-tabs__header" };
|
|
6813
|
+
const _hoisted_2$z = {
|
|
6814
|
+
key: 0,
|
|
6815
|
+
class: "onyx-tabs__actions"
|
|
6816
|
+
};
|
|
6817
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6818
|
+
return openBlock(), createElementBlock(
|
|
6819
|
+
"div",
|
|
6820
|
+
{
|
|
6821
|
+
ref: "panelRef",
|
|
6822
|
+
class: normalizeClass([
|
|
6823
|
+
"onyx-component",
|
|
6824
|
+
"onyx-tabs",
|
|
6825
|
+
$setup.densityClass,
|
|
6826
|
+
{ "onyx-tabs--stretched": $setup.props.stretched }
|
|
6827
|
+
])
|
|
6828
|
+
},
|
|
6829
|
+
[
|
|
6830
|
+
createElementVNode("div", _hoisted_1$I, [
|
|
6831
|
+
createElementVNode(
|
|
6832
|
+
"div",
|
|
6833
|
+
mergeProps($setup.headless.elements.tablist.value, { class: "onyx-tabs__tablist" }),
|
|
6834
|
+
[
|
|
6835
|
+
renderSlot(_ctx.$slots, "default")
|
|
6836
|
+
],
|
|
6837
|
+
16
|
|
6838
|
+
/* FULL_PROPS */
|
|
6839
|
+
),
|
|
6840
|
+
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
6841
|
+
renderSlot(_ctx.$slots, "actions")
|
|
6842
|
+
])) : createCommentVNode("v-if", true)
|
|
6843
|
+
])
|
|
6844
|
+
],
|
|
6845
|
+
2
|
|
6846
|
+
/* CLASS */
|
|
6847
|
+
);
|
|
6848
|
+
}
|
|
6849
|
+
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTabs/OnyxTabs.vue"]]);
|
|
6850
|
+
const __default__$1 = {};
|
|
6851
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
6852
|
+
...__default__$1,
|
|
6853
|
+
__name: "OnyxCodeTabs",
|
|
6854
|
+
props: {
|
|
6855
|
+
skeleton: { type: Boolean, required: false },
|
|
6856
|
+
modelValue: { type: null, required: true },
|
|
6857
|
+
label: { type: String, required: false }
|
|
6858
|
+
},
|
|
6859
|
+
emits: ["update:modelValue", "copyCode"],
|
|
6860
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
6861
|
+
__expose();
|
|
6862
|
+
const props = __props;
|
|
6863
|
+
const emit = __emit;
|
|
6864
|
+
const { t } = injectI18n();
|
|
6865
|
+
const tabsProps = useForwardProps(props, OnyxTabs);
|
|
6866
|
+
const modelValue = useVModel({
|
|
6867
|
+
props,
|
|
6868
|
+
emit,
|
|
6869
|
+
key: "modelValue"
|
|
6870
|
+
});
|
|
6871
|
+
const tabs = ref(/* @__PURE__ */ new Map());
|
|
6872
|
+
provide(CODE_TABS_INJECTION_KEY, { tabs });
|
|
6873
|
+
const activeTabCode = computed(() => tabs.value.get(modelValue.value));
|
|
6874
|
+
const isCopied = ref(false);
|
|
6875
|
+
const handleCopy = async () => {
|
|
6876
|
+
if (!activeTabCode.value) return;
|
|
6877
|
+
await navigator.clipboard.writeText(activeTabCode.value);
|
|
6878
|
+
isCopied.value = true;
|
|
6879
|
+
setTimeout(() => isCopied.value = false, 3e3);
|
|
6880
|
+
};
|
|
6881
|
+
const __returned__ = { props, emit, t, tabsProps, modelValue, tabs, activeTabCode, isCopied, handleCopy, get iconFileCopy() {
|
|
6882
|
+
return iconFileCopy;
|
|
6883
|
+
}, OnyxSystemButton, OnyxTabs, OnyxTag };
|
|
6884
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
6885
|
+
return __returned__;
|
|
6886
|
+
}
|
|
6887
|
+
});
|
|
6888
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6889
|
+
return openBlock(), createBlock($setup["OnyxTabs"], mergeProps($setup.tabsProps, {
|
|
6890
|
+
modelValue: $setup.modelValue,
|
|
6891
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.modelValue = $event),
|
|
6892
|
+
class: "onyx-code-tabs",
|
|
6893
|
+
label: $setup.props.label ?? $setup.t("codeTabs.label"),
|
|
6894
|
+
size: "h3",
|
|
6895
|
+
density: "compact"
|
|
6896
|
+
}), {
|
|
6897
|
+
actions: withCtx(() => [
|
|
6898
|
+
!$setup.isCopied ? (openBlock(), createBlock($setup["OnyxSystemButton"], {
|
|
6899
|
+
key: 0,
|
|
6900
|
+
label: $setup.t("codeTabs.copySnippet"),
|
|
6901
|
+
icon: $setup.iconFileCopy,
|
|
6902
|
+
disabled: !$setup.activeTabCode,
|
|
6903
|
+
onClick: $setup.handleCopy
|
|
6904
|
+
}, null, 8, ["label", "icon", "disabled"])) : (openBlock(), createBlock($setup["OnyxTag"], {
|
|
6905
|
+
key: 1,
|
|
6906
|
+
label: $setup.t("codeTabs.copied"),
|
|
6907
|
+
color: "success"
|
|
6908
|
+
}, null, 8, ["label"]))
|
|
6909
|
+
]),
|
|
6910
|
+
default: withCtx(() => [
|
|
6911
|
+
renderSlot(_ctx.$slots, "default")
|
|
6912
|
+
]),
|
|
6913
|
+
_: 3
|
|
6914
|
+
/* FORWARDED */
|
|
6915
|
+
}, 16, ["modelValue", "label"]);
|
|
6916
|
+
}
|
|
6917
|
+
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTabs/OnyxCodeTabs.vue"]]);
|
|
6918
|
+
const escapeCSS = (key) => {
|
|
6919
|
+
const name = typeof key === "symbol" && key.description ? key.description : String(key);
|
|
6920
|
+
if (globalThis.window && window.CSS) return CSS.escape(name);
|
|
6921
|
+
return name.replace(/\W/g, "-");
|
|
6922
|
+
};
|
|
6923
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
6924
|
+
__name: "OnyxEmpty",
|
|
6925
|
+
props: {
|
|
6926
|
+
density: { type: null, required: false }
|
|
6927
|
+
},
|
|
6928
|
+
setup(__props, { expose: __expose }) {
|
|
6929
|
+
__expose();
|
|
6930
|
+
const props = __props;
|
|
6931
|
+
const slots = useSlots();
|
|
6932
|
+
const { densityClass } = useDensity(props);
|
|
6933
|
+
const __returned__ = { props, slots, densityClass, get iconCircleX() {
|
|
6934
|
+
return iconCircleX;
|
|
6935
|
+
}, OnyxIcon };
|
|
6936
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
6937
|
+
return __returned__;
|
|
6938
|
+
}
|
|
6939
|
+
});
|
|
6940
|
+
const _hoisted_1$H = { class: "onyx-empty__label onyx-text onyx-truncation-multiline" };
|
|
6941
|
+
const _hoisted_2$y = {
|
|
6942
|
+
key: 0,
|
|
6943
|
+
class: "onyx-empty__buttons"
|
|
6944
|
+
};
|
|
6945
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6946
|
+
return openBlock(), createElementBlock(
|
|
6947
|
+
"div",
|
|
6948
|
+
{
|
|
6949
|
+
class: normalizeClass(["onyx-component", "onyx-empty", $setup.densityClass])
|
|
6950
|
+
},
|
|
6951
|
+
[
|
|
6952
|
+
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
6953
|
+
createVNode($setup["OnyxIcon"], {
|
|
6954
|
+
icon: $setup.iconCircleX,
|
|
6955
|
+
size: "48px"
|
|
6956
|
+
}, null, 8, ["icon"])
|
|
6957
|
+
]),
|
|
6958
|
+
createElementVNode("div", _hoisted_1$H, [
|
|
6959
|
+
renderSlot(_ctx.$slots, "default")
|
|
6960
|
+
]),
|
|
6961
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
6962
|
+
renderSlot(_ctx.$slots, "buttons")
|
|
6963
|
+
])) : createCommentVNode("v-if", true)
|
|
6964
|
+
],
|
|
6965
|
+
2
|
|
6966
|
+
/* CLASS */
|
|
6967
|
+
);
|
|
6968
|
+
}
|
|
6969
|
+
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxEmpty/OnyxEmpty.vue"]]);
|
|
6970
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
6971
|
+
__name: "OnyxTable",
|
|
6972
|
+
props: {
|
|
6973
|
+
density: { type: null, required: false },
|
|
6974
|
+
striped: { type: Boolean, required: false, default: false },
|
|
6975
|
+
withVerticalBorders: { type: Boolean, required: false, default: false },
|
|
6976
|
+
withPageScrolling: { type: Boolean, required: false, default: false },
|
|
6977
|
+
columnGroups: { type: Array, required: false },
|
|
6978
|
+
scrollContainerAttrs: { type: Object, required: false },
|
|
6979
|
+
truncation: { type: null, required: false, default: "multiline" }
|
|
6980
|
+
},
|
|
6981
|
+
setup(__props, { expose: __expose }) {
|
|
6982
|
+
__expose();
|
|
6983
|
+
const props = __props;
|
|
6984
|
+
const slots = useSlots();
|
|
6656
6985
|
const { t } = injectI18n();
|
|
6657
6986
|
const { densityClass } = useDensity(props);
|
|
6658
6987
|
const isEmptyMessage = computed(() => t.value("table.empty"));
|
|
@@ -6669,11 +6998,11 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
6669
6998
|
return __returned__;
|
|
6670
6999
|
}
|
|
6671
7000
|
});
|
|
6672
|
-
const _hoisted_1$
|
|
7001
|
+
const _hoisted_1$G = {
|
|
6673
7002
|
key: 0,
|
|
6674
7003
|
class: "onyx-table-wrapper__top"
|
|
6675
7004
|
};
|
|
6676
|
-
const _hoisted_2$
|
|
7005
|
+
const _hoisted_2$x = ["id"];
|
|
6677
7006
|
const _hoisted_3$p = { class: "onyx-table-wrapper__actions" };
|
|
6678
7007
|
const _hoisted_4$j = ["tabindex"];
|
|
6679
7008
|
const _hoisted_5$e = ["aria-labelledby"];
|
|
@@ -6691,7 +7020,7 @@ const _hoisted_13 = {
|
|
|
6691
7020
|
key: 1,
|
|
6692
7021
|
class: "onyx-table-wrapper__bottom"
|
|
6693
7022
|
};
|
|
6694
|
-
function _sfc_render$
|
|
7023
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6695
7024
|
return openBlock(), createElementBlock(
|
|
6696
7025
|
"div",
|
|
6697
7026
|
{
|
|
@@ -6699,10 +7028,10 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6699
7028
|
style: normalizeStyle($setup.style)
|
|
6700
7029
|
},
|
|
6701
7030
|
[
|
|
6702
|
-
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7031
|
+
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
6703
7032
|
createElementVNode("div", { id: $setup.headlineId }, [
|
|
6704
7033
|
renderSlot(_ctx.$slots, "headline")
|
|
6705
|
-
], 8, _hoisted_2$
|
|
7034
|
+
], 8, _hoisted_2$x),
|
|
6706
7035
|
createElementVNode("div", _hoisted_3$p, [
|
|
6707
7036
|
renderSlot(_ctx.$slots, "actions")
|
|
6708
7037
|
])
|
|
@@ -6795,8 +7124,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6795
7124
|
/* STYLE */
|
|
6796
7125
|
);
|
|
6797
7126
|
}
|
|
6798
|
-
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6799
|
-
const _sfc_main$
|
|
7127
|
+
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTable/OnyxTable.vue"]]);
|
|
7128
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
6800
7129
|
__name: "OnyxDataGridRenderer",
|
|
6801
7130
|
props: {
|
|
6802
7131
|
density: { type: null, required: false },
|
|
@@ -6832,7 +7161,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
6832
7161
|
return __returned__;
|
|
6833
7162
|
}
|
|
6834
7163
|
});
|
|
6835
|
-
function _sfc_render$
|
|
7164
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6836
7165
|
return openBlock(), createBlock($setup["OnyxTable"], mergeProps({ class: "onyx-data-grid" }, $setup.tableProps, {
|
|
6837
7166
|
"scroll-container-attrs": $setup.mergeVueProps($setup.props.scrollContainerAttrs, { style: $setup.columnStyle })
|
|
6838
7167
|
}), createSlots({
|
|
@@ -6939,8 +7268,8 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6939
7268
|
})
|
|
6940
7269
|
]), 1040, ["scroll-container-attrs"]);
|
|
6941
7270
|
}
|
|
6942
|
-
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6943
|
-
const _sfc_main$
|
|
7271
|
+
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGridRenderer/OnyxDataGridRenderer.vue"]]);
|
|
7272
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
6944
7273
|
...{ inheritAttrs: false },
|
|
6945
7274
|
__name: "OnyxMiniSearch",
|
|
6946
7275
|
props: {
|
|
@@ -6980,9 +7309,9 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
6980
7309
|
return __returned__;
|
|
6981
7310
|
}
|
|
6982
7311
|
});
|
|
6983
|
-
const _hoisted_1$
|
|
6984
|
-
const _hoisted_2$
|
|
6985
|
-
function _sfc_render$
|
|
7312
|
+
const _hoisted_1$F = ["autofocus", "placeholder", "aria-label"];
|
|
7313
|
+
const _hoisted_2$w = ["aria-label"];
|
|
7314
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6986
7315
|
return openBlock(), createElementBlock(
|
|
6987
7316
|
"div",
|
|
6988
7317
|
mergeProps({
|
|
@@ -7001,7 +7330,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7001
7330
|
size: "1"
|
|
7002
7331
|
}, $setup.restAttrs, {
|
|
7003
7332
|
"aria-label": $setup.props.label
|
|
7004
|
-
}), null, 16, _hoisted_1$
|
|
7333
|
+
}), null, 16, _hoisted_1$F), [
|
|
7005
7334
|
[vModelText, $setup.modelValue]
|
|
7006
7335
|
]),
|
|
7007
7336
|
createElementVNode("button", {
|
|
@@ -7014,7 +7343,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7014
7343
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.emit("clear"))
|
|
7015
7344
|
}, [
|
|
7016
7345
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
7017
|
-
], 40, _hoisted_2$
|
|
7346
|
+
], 40, _hoisted_2$w),
|
|
7018
7347
|
createVNode($setup["OnyxIcon"], {
|
|
7019
7348
|
class: "onyx-mini-search__icon",
|
|
7020
7349
|
icon: $setup.iconSearch
|
|
@@ -7024,11 +7353,11 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7024
7353
|
/* FULL_PROPS */
|
|
7025
7354
|
);
|
|
7026
7355
|
}
|
|
7027
|
-
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7356
|
+
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMiniSearch/OnyxMiniSearch.vue"]]);
|
|
7028
7357
|
const prepareMapping = (features, key) => features.flatMap((f) => f[key]).filter((f) => f?.func).sort((a, b) => (a?.order ?? 0) - (b?.order ?? 0));
|
|
7029
7358
|
const applyMapping = (mapping, input2) => mapping.reduce((output, m) => m.func(output), input2);
|
|
7030
7359
|
const DataGridRowOptionsSymbol = Symbol("RowOptions");
|
|
7031
|
-
const _sfc_main$
|
|
7360
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
7032
7361
|
__name: "HeaderCell",
|
|
7033
7362
|
props: {
|
|
7034
7363
|
label: { type: String, required: true }
|
|
@@ -7042,17 +7371,17 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
7042
7371
|
return __returned__;
|
|
7043
7372
|
}
|
|
7044
7373
|
});
|
|
7045
|
-
const _hoisted_1$
|
|
7046
|
-
const _hoisted_2$
|
|
7374
|
+
const _hoisted_1$E = { class: "onyx-component onyx-data-grid-header-cell" };
|
|
7375
|
+
const _hoisted_2$v = { class: "onyx-data-grid-header-cell__label" };
|
|
7047
7376
|
const _hoisted_3$o = {
|
|
7048
7377
|
key: 0,
|
|
7049
7378
|
class: "onyx-data-grid-header-cell__actions"
|
|
7050
7379
|
};
|
|
7051
|
-
function _sfc_render$
|
|
7052
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7380
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7381
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
7053
7382
|
createElementVNode(
|
|
7054
7383
|
"span",
|
|
7055
|
-
_hoisted_2$
|
|
7384
|
+
_hoisted_2$v,
|
|
7056
7385
|
toDisplayString($setup.props.label),
|
|
7057
7386
|
1
|
|
7058
7387
|
/* TEXT */
|
|
@@ -7062,7 +7391,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7062
7391
|
])) : createCommentVNode("v-if", true)
|
|
7063
7392
|
]);
|
|
7064
7393
|
}
|
|
7065
|
-
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7394
|
+
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/HeaderCell.vue"]]);
|
|
7066
7395
|
const FALLBACK_RENDER_VALUE = "-";
|
|
7067
7396
|
const fallback = (opts) => opts?.fallback ?? FALLBACK_RENDER_VALUE;
|
|
7068
7397
|
const createTypeRenderer = (typeRenderer) => Object.freeze(typeRenderer);
|
|
@@ -7555,7 +7884,7 @@ const formatBytesToString = (locale, bytes) => {
|
|
|
7555
7884
|
unitDisplay: "narrow"
|
|
7556
7885
|
}).format(value);
|
|
7557
7886
|
};
|
|
7558
|
-
const _sfc_main$
|
|
7887
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
7559
7888
|
__name: "OnyxInlinePagination",
|
|
7560
7889
|
props: {
|
|
7561
7890
|
density: { type: null, required: false },
|
|
@@ -7607,12 +7936,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
7607
7936
|
return __returned__;
|
|
7608
7937
|
}
|
|
7609
7938
|
});
|
|
7610
|
-
const _hoisted_1$
|
|
7611
|
-
const _hoisted_2$
|
|
7939
|
+
const _hoisted_1$D = ["aria-label"];
|
|
7940
|
+
const _hoisted_2$u = ["aria-label", "disabled"];
|
|
7612
7941
|
const _hoisted_3$n = ["aria-label", "disabled", "onClick"];
|
|
7613
7942
|
const _hoisted_4$i = ["aria-label"];
|
|
7614
7943
|
const _hoisted_5$d = ["aria-label", "disabled"];
|
|
7615
|
-
function _sfc_render$
|
|
7944
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7616
7945
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
7617
7946
|
key: 0,
|
|
7618
7947
|
class: normalizeClass([
|
|
@@ -7641,7 +7970,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7641
7970
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue - 1))
|
|
7642
7971
|
}, [
|
|
7643
7972
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronLeftSmall }, null, 8, ["icon"])
|
|
7644
|
-
], 8, _hoisted_2$
|
|
7973
|
+
], 8, _hoisted_2$u),
|
|
7645
7974
|
(openBlock(true), createElementBlock(
|
|
7646
7975
|
Fragment,
|
|
7647
7976
|
null,
|
|
@@ -7701,9 +8030,9 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7701
8030
|
}, [
|
|
7702
8031
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
7703
8032
|
], 8, _hoisted_5$d)
|
|
7704
|
-
], 10, _hoisted_1$
|
|
8033
|
+
], 10, _hoisted_1$D));
|
|
7705
8034
|
}
|
|
7706
|
-
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8035
|
+
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxInlinePagination.vue"]]);
|
|
7707
8036
|
const useErrorClass = (showError) => computed(() => {
|
|
7708
8037
|
if (showError.value === true) {
|
|
7709
8038
|
return "onyx-form-element--immediate-invalid";
|
|
@@ -7713,7 +8042,7 @@ const useErrorClass = (showError) => computed(() => {
|
|
|
7713
8042
|
}
|
|
7714
8043
|
return "onyx-form-element--touched-invalid";
|
|
7715
8044
|
});
|
|
7716
|
-
const _sfc_main$
|
|
8045
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
7717
8046
|
__name: "FormMessage",
|
|
7718
8047
|
props: {
|
|
7719
8048
|
messages: { type: Object, required: true },
|
|
@@ -7727,17 +8056,17 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
7727
8056
|
return __returned__;
|
|
7728
8057
|
}
|
|
7729
8058
|
});
|
|
7730
|
-
const _hoisted_1$
|
|
8059
|
+
const _hoisted_1$C = {
|
|
7731
8060
|
class: /* @__PURE__ */ normalizeClass(["onyx-truncation-ellipsis"])
|
|
7732
8061
|
};
|
|
7733
|
-
function _sfc_render$
|
|
8062
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7734
8063
|
return openBlock(), createBlock(resolveDynamicComponent($props.messages.hidden ? $setup.OnyxVisuallyHidden : "span"), {
|
|
7735
8064
|
class: normalizeClass(["onyx-component", "onyx-form-message", `onyx-form-message__${$setup.props.type}`])
|
|
7736
8065
|
}, {
|
|
7737
8066
|
default: withCtx(() => [
|
|
7738
8067
|
createElementVNode(
|
|
7739
8068
|
"span",
|
|
7740
|
-
_hoisted_1$
|
|
8069
|
+
_hoisted_1$C,
|
|
7741
8070
|
toDisplayString($setup.props.messages.shortMessage),
|
|
7742
8071
|
1
|
|
7743
8072
|
/* TEXT */
|
|
@@ -7755,8 +8084,8 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7755
8084
|
/* STABLE */
|
|
7756
8085
|
}, 8, ["class"]);
|
|
7757
8086
|
}
|
|
7758
|
-
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7759
|
-
const _sfc_main$
|
|
8087
|
+
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/FormMessage.vue"]]);
|
|
8088
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
7760
8089
|
__name: "OnyxFormElement",
|
|
7761
8090
|
props: {
|
|
7762
8091
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -7829,17 +8158,17 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
7829
8158
|
return __returned__;
|
|
7830
8159
|
}
|
|
7831
8160
|
});
|
|
7832
|
-
const _hoisted_1$
|
|
8161
|
+
const _hoisted_1$B = {
|
|
7833
8162
|
key: 0,
|
|
7834
8163
|
class: "onyx-form-element__label onyx-text--small"
|
|
7835
8164
|
};
|
|
7836
|
-
const _hoisted_2$
|
|
8165
|
+
const _hoisted_2$t = ["for"];
|
|
7837
8166
|
const _hoisted_3$m = {
|
|
7838
8167
|
key: 1,
|
|
7839
8168
|
class: "onyx-form-element__footer onyx-text--small"
|
|
7840
8169
|
};
|
|
7841
8170
|
const _hoisted_4$h = { class: "onyx-form-element__footer-messages" };
|
|
7842
|
-
function _sfc_render$
|
|
8171
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7843
8172
|
return openBlock(), createElementBlock(
|
|
7844
8173
|
"div",
|
|
7845
8174
|
{
|
|
@@ -7851,11 +8180,11 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7851
8180
|
])
|
|
7852
8181
|
},
|
|
7853
8182
|
[
|
|
7854
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
8183
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
7855
8184
|
createElementVNode("label", {
|
|
7856
8185
|
for: $setup.props.id,
|
|
7857
8186
|
class: "onyx-truncation-ellipsis"
|
|
7858
|
-
}, toDisplayString($setup.props.label), 9, _hoisted_2$
|
|
8187
|
+
}, toDisplayString($setup.props.label), 9, _hoisted_2$t),
|
|
7859
8188
|
$setup.props.required ? (openBlock(), createElementBlock(
|
|
7860
8189
|
"span",
|
|
7861
8190
|
{
|
|
@@ -7926,8 +8255,8 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7926
8255
|
/* CLASS */
|
|
7927
8256
|
);
|
|
7928
8257
|
}
|
|
7929
|
-
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7930
|
-
const _sfc_main$
|
|
8258
|
+
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/OnyxFormElement.vue"]]);
|
|
8259
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
7931
8260
|
...{ inheritAttrs: false },
|
|
7932
8261
|
__name: "OnyxSelectInput",
|
|
7933
8262
|
props: {
|
|
@@ -8010,9 +8339,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
8010
8339
|
return __returned__;
|
|
8011
8340
|
}
|
|
8012
8341
|
});
|
|
8013
|
-
const _hoisted_1$
|
|
8014
|
-
const _hoisted_2$
|
|
8015
|
-
function _sfc_render$
|
|
8342
|
+
const _hoisted_1$A = ["id", "readonly", "placeholder", "required", "disabled", "aria-label", "title", "value", "autofocus"];
|
|
8343
|
+
const _hoisted_2$s = ["aria-label", "title", "disabled"];
|
|
8344
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8016
8345
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
8017
8346
|
"div",
|
|
8018
8347
|
mergeProps({
|
|
@@ -8077,7 +8406,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8077
8406
|
autofocus: $setup.props.autofocus,
|
|
8078
8407
|
autocomplete: "off",
|
|
8079
8408
|
onKeydown: $setup.blockTyping
|
|
8080
|
-
}), null, 16, _hoisted_1$
|
|
8409
|
+
}), null, 16, _hoisted_1$A), [
|
|
8081
8410
|
[$setup["vCustomValidity"]]
|
|
8082
8411
|
]),
|
|
8083
8412
|
$setup.props.textMode === "preview" && $setup.selectionCount > 0 ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
@@ -8116,7 +8445,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8116
8445
|
disabled: $setup.disabled || $setup.props.readonly || $setup.props.loading
|
|
8117
8446
|
}, [
|
|
8118
8447
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronDownUp }, null, 8, ["icon"])
|
|
8119
|
-
], 8, _hoisted_2$
|
|
8448
|
+
], 8, _hoisted_2$s),
|
|
8120
8449
|
!$setup.props.hideSuccessIcon && $setup.successMessages ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
8121
8450
|
key: 2,
|
|
8122
8451
|
class: "onyx-select-input__check-icon",
|
|
@@ -8133,8 +8462,8 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8133
8462
|
/* FULL_PROPS */
|
|
8134
8463
|
));
|
|
8135
8464
|
}
|
|
8136
|
-
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8137
|
-
const _sfc_main$
|
|
8465
|
+
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectInput/OnyxSelectInput.vue"]]);
|
|
8466
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
8138
8467
|
__name: "OnyxSelectOption",
|
|
8139
8468
|
props: {
|
|
8140
8469
|
active: { type: Boolean, required: false, default: false },
|
|
@@ -8153,8 +8482,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
8153
8482
|
return __returned__;
|
|
8154
8483
|
}
|
|
8155
8484
|
});
|
|
8156
|
-
const _hoisted_1$
|
|
8157
|
-
function _sfc_render$
|
|
8485
|
+
const _hoisted_1$z = ["checked", "aria-labelledby", "disabled", "indeterminate"];
|
|
8486
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8158
8487
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({ class: "onyx-component onyx-select-option" }, $setup.listItemProps, {
|
|
8159
8488
|
checked: !!_ctx.$attrs["aria-checked"],
|
|
8160
8489
|
selected: !!_ctx.$attrs["aria-selected"],
|
|
@@ -8171,7 +8500,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8171
8500
|
tabindex: "-1",
|
|
8172
8501
|
class: "onyx-select-option__checkbox",
|
|
8173
8502
|
type: "checkbox"
|
|
8174
|
-
}, null, 8, _hoisted_1$
|
|
8503
|
+
}, null, 8, _hoisted_1$z)) : createCommentVNode("v-if", true),
|
|
8175
8504
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
8176
8505
|
key: 1,
|
|
8177
8506
|
icon: $setup.props.icon
|
|
@@ -8192,8 +8521,8 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8192
8521
|
/* FORWARDED */
|
|
8193
8522
|
}, 16, ["checked", "selected", "disabled"]);
|
|
8194
8523
|
}
|
|
8195
|
-
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8196
|
-
const _sfc_main$
|
|
8524
|
+
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectOption/OnyxSelectOption.vue"]]);
|
|
8525
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
8197
8526
|
__name: "OnyxSelect",
|
|
8198
8527
|
props: {
|
|
8199
8528
|
density: { type: null, required: false },
|
|
@@ -8463,11 +8792,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
8463
8792
|
return __returned__;
|
|
8464
8793
|
}
|
|
8465
8794
|
});
|
|
8466
|
-
const _hoisted_1$
|
|
8795
|
+
const _hoisted_1$y = {
|
|
8467
8796
|
ref: "selectRef",
|
|
8468
8797
|
class: "onyx-component onyx-select-wrapper"
|
|
8469
8798
|
};
|
|
8470
|
-
const _hoisted_2$
|
|
8799
|
+
const _hoisted_2$r = {
|
|
8471
8800
|
class: "onyx-select__wrapper",
|
|
8472
8801
|
tabindex: "-1"
|
|
8473
8802
|
};
|
|
@@ -8497,10 +8826,10 @@ const _hoisted_8$4 = {
|
|
|
8497
8826
|
key: 0,
|
|
8498
8827
|
class: "onyx-select__description onyx-text--small"
|
|
8499
8828
|
};
|
|
8500
|
-
function _sfc_render$
|
|
8829
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8501
8830
|
return openBlock(), createElementBlock(
|
|
8502
8831
|
"div",
|
|
8503
|
-
_hoisted_1$
|
|
8832
|
+
_hoisted_1$y,
|
|
8504
8833
|
[
|
|
8505
8834
|
createVNode($setup["OnyxBasicPopover"], {
|
|
8506
8835
|
class: normalizeClass($setup.densityClass),
|
|
@@ -8519,7 +8848,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8519
8848
|
}), null, 16, ["show-focus", "autofocus"])
|
|
8520
8849
|
]),
|
|
8521
8850
|
content: withCtx(() => [
|
|
8522
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$
|
|
8851
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
8523
8852
|
$setup.props.withSearch ? (openBlock(), createBlock($setup["OnyxMiniSearch"], mergeProps({
|
|
8524
8853
|
key: 0,
|
|
8525
8854
|
ref: "miniSearchRef",
|
|
@@ -8689,9 +9018,9 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8689
9018
|
/* NEED_PATCH */
|
|
8690
9019
|
);
|
|
8691
9020
|
}
|
|
8692
|
-
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9021
|
+
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelect/OnyxSelect.vue"]]);
|
|
8693
9022
|
const pageSize = 100;
|
|
8694
|
-
const _sfc_main$
|
|
9023
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
8695
9024
|
__name: "OnyxSelectPagination",
|
|
8696
9025
|
props: {
|
|
8697
9026
|
density: { type: null, required: false },
|
|
@@ -8743,11 +9072,11 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
8743
9072
|
return __returned__;
|
|
8744
9073
|
}
|
|
8745
9074
|
});
|
|
8746
|
-
const _hoisted_1$
|
|
8747
|
-
const _hoisted_2$
|
|
9075
|
+
const _hoisted_1$x = ["aria-label"];
|
|
9076
|
+
const _hoisted_2$q = { class: "onyx-pagination__count" };
|
|
8748
9077
|
const _hoisted_3$k = ["aria-label", "disabled"];
|
|
8749
9078
|
const _hoisted_4$f = ["aria-label", "disabled"];
|
|
8750
|
-
function _sfc_render$
|
|
9079
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8751
9080
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
8752
9081
|
key: 0,
|
|
8753
9082
|
class: normalizeClass(["onyx-pagination-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -8778,7 +9107,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8778
9107
|
}, null, 8, ["search-term", "label", "list-label", "options", "model-value", "value-label", "disabled"]),
|
|
8779
9108
|
createElementVNode(
|
|
8780
9109
|
"div",
|
|
8781
|
-
_hoisted_2$
|
|
9110
|
+
_hoisted_2$q,
|
|
8782
9111
|
toDisplayString($setup.t("pagination.ofPages", { n: $setup.props.pages, pages: $setup.n($setup.props.pages, "decimal") })),
|
|
8783
9112
|
1
|
|
8784
9113
|
/* TEXT */
|
|
@@ -8801,10 +9130,10 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8801
9130
|
}, [
|
|
8802
9131
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
8803
9132
|
], 8, _hoisted_4$f)
|
|
8804
|
-
], 14, _hoisted_1$
|
|
9133
|
+
], 14, _hoisted_1$x));
|
|
8805
9134
|
}
|
|
8806
|
-
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8807
|
-
const _sfc_main$
|
|
9135
|
+
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxSelectPagination.vue"]]);
|
|
9136
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
8808
9137
|
__name: "OnyxPagination",
|
|
8809
9138
|
props: {
|
|
8810
9139
|
density: { type: null, required: false },
|
|
@@ -8825,7 +9154,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
8825
9154
|
return __returned__;
|
|
8826
9155
|
}
|
|
8827
9156
|
});
|
|
8828
|
-
function _sfc_render$
|
|
9157
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8829
9158
|
return $setup.props.type === "inline" ? (openBlock(), createBlock(
|
|
8830
9159
|
$setup["OnyxInlinePagination"],
|
|
8831
9160
|
mergeProps({ key: 0 }, $setup.paginationProps, {
|
|
@@ -8844,7 +9173,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8844
9173
|
/* FULL_PROPS */
|
|
8845
9174
|
));
|
|
8846
9175
|
}
|
|
8847
|
-
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9176
|
+
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxPagination.vue"]]);
|
|
8848
9177
|
const SELECTION_FEATURE = Symbol("Selection");
|
|
8849
9178
|
const SELECTION_MUTATION_ORDER = 1e3;
|
|
8850
9179
|
const useSelection = (options) => createFeature((ctx) => {
|
|
@@ -9122,7 +9451,7 @@ const BASE_FEATURE = (options) => createFeature(({ skeleton }) => {
|
|
|
9122
9451
|
}
|
|
9123
9452
|
};
|
|
9124
9453
|
});
|
|
9125
|
-
const _sfc_main$
|
|
9454
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
9126
9455
|
...{ inheritAttrs: false },
|
|
9127
9456
|
__name: "OnyxDataGrid",
|
|
9128
9457
|
props: {
|
|
@@ -9201,7 +9530,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
9201
9530
|
return __returned__;
|
|
9202
9531
|
}
|
|
9203
9532
|
});
|
|
9204
|
-
function _sfc_render$
|
|
9533
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9205
9534
|
return openBlock(), createBlock($setup["OnyxDataGridRenderer"], mergeProps(
|
|
9206
9535
|
{
|
|
9207
9536
|
"column-groups": $setup.rendererColumnGroups,
|
|
@@ -9236,7 +9565,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9236
9565
|
} : void 0
|
|
9237
9566
|
]), 1040, ["column-groups", "columns", "rows", "scroll-container-attrs"]);
|
|
9238
9567
|
}
|
|
9239
|
-
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9568
|
+
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGrid.vue"]]);
|
|
9240
9569
|
const HIDE_COLUMNS_FEATURE = Symbol("HideColumnsFeature");
|
|
9241
9570
|
const HIDDEN_COLUMN = Symbol("HiddenColumn");
|
|
9242
9571
|
const useHideColumns = (options) => createFeature((ctx) => {
|
|
@@ -9342,7 +9671,7 @@ const useHideColumns = (options) => createFeature((ctx) => {
|
|
|
9342
9671
|
}
|
|
9343
9672
|
};
|
|
9344
9673
|
});
|
|
9345
|
-
const _sfc_main$
|
|
9674
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
9346
9675
|
__name: "OnyxResizeHandle",
|
|
9347
9676
|
props: {
|
|
9348
9677
|
element: { type: null, required: true },
|
|
@@ -9417,7 +9746,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
9417
9746
|
return __returned__;
|
|
9418
9747
|
}
|
|
9419
9748
|
});
|
|
9420
|
-
function _sfc_render$
|
|
9749
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9421
9750
|
return openBlock(), createElementBlock(
|
|
9422
9751
|
"button",
|
|
9423
9752
|
{
|
|
@@ -9451,7 +9780,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9451
9780
|
/* CLASS, NEED_HYDRATION */
|
|
9452
9781
|
);
|
|
9453
9782
|
}
|
|
9454
|
-
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9783
|
+
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxResizeHandle/OnyxResizeHandle.vue"]]);
|
|
9455
9784
|
const RESIZING_FEATURE = Symbol("Resizing");
|
|
9456
9785
|
const FILLER_COLUMN = Symbol("FILLER_COLUMN");
|
|
9457
9786
|
const useResizing = (options) => createFeature((ctx) => {
|
|
@@ -9593,7 +9922,7 @@ const DEFAULT_COMPARES = Object.freeze({
|
|
|
9593
9922
|
skeleton: () => 0,
|
|
9594
9923
|
boolean: BOOLEAN_COMPARE
|
|
9595
9924
|
});
|
|
9596
|
-
const _sfc_main$
|
|
9925
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
9597
9926
|
__name: "SortAction",
|
|
9598
9927
|
props: {
|
|
9599
9928
|
columnLabel: { type: String, required: true },
|
|
@@ -9617,14 +9946,14 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9617
9946
|
return __returned__;
|
|
9618
9947
|
}
|
|
9619
9948
|
});
|
|
9620
|
-
function _sfc_render$
|
|
9949
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9621
9950
|
return openBlock(), createBlock($setup["OnyxSystemButton"], {
|
|
9622
9951
|
label: $setup.buttonLabel,
|
|
9623
9952
|
icon: $setup.icon,
|
|
9624
9953
|
color: "medium"
|
|
9625
9954
|
}, null, 8, ["label", "icon"]);
|
|
9626
9955
|
}
|
|
9627
|
-
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9956
|
+
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/sorting/SortAction.vue"]]);
|
|
9628
9957
|
const nextSortDirection = (current, skipNone) => {
|
|
9629
9958
|
switch (current) {
|
|
9630
9959
|
case "asc":
|
|
@@ -9867,7 +10196,7 @@ const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
9867
10196
|
useSorting,
|
|
9868
10197
|
useStickyColumns
|
|
9869
10198
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9870
|
-
const _sfc_main$
|
|
10199
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
9871
10200
|
...{ inheritAttrs: false },
|
|
9872
10201
|
__name: "OnyxDatePicker",
|
|
9873
10202
|
props: {
|
|
@@ -9934,9 +10263,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
9934
10263
|
return __returned__;
|
|
9935
10264
|
}
|
|
9936
10265
|
});
|
|
9937
|
-
const _hoisted_1$
|
|
9938
|
-
const _hoisted_2$
|
|
9939
|
-
function _sfc_render$
|
|
10266
|
+
const _hoisted_1$w = { class: "onyx-datepicker__wrapper" };
|
|
10267
|
+
const _hoisted_2$p = ["id", "type", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "min", "max"];
|
|
10268
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9940
10269
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
9941
10270
|
"div",
|
|
9942
10271
|
mergeProps({
|
|
@@ -9965,7 +10294,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9965
10294
|
message: $setup.messages
|
|
9966
10295
|
}), {
|
|
9967
10296
|
default: withCtx(({ id: inputId }) => [
|
|
9968
|
-
createElementVNode("div", _hoisted_1$
|
|
10297
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
9969
10298
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
9970
10299
|
key: 0,
|
|
9971
10300
|
class: "onyx-datepicker__loading",
|
|
@@ -9987,7 +10316,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9987
10316
|
title: $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
9988
10317
|
min: $setup.getNormalizedDate($setup.props.min),
|
|
9989
10318
|
max: $setup.getNormalizedDate($setup.props.max)
|
|
9990
|
-
}, $setup.restAttrs), null, 16, _hoisted_2$
|
|
10319
|
+
}, $setup.restAttrs), null, 16, _hoisted_2$p)), [
|
|
9991
10320
|
[vModelDynamic, $setup.value],
|
|
9992
10321
|
[$setup["vCustomValidity"]]
|
|
9993
10322
|
])
|
|
@@ -10001,9 +10330,9 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10001
10330
|
/* FULL_PROPS */
|
|
10002
10331
|
));
|
|
10003
10332
|
}
|
|
10004
|
-
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10333
|
+
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDatePicker/OnyxDatePicker.vue"]]);
|
|
10005
10334
|
const DIALOG_ALIGNMENTS = ["left", "center", "right"];
|
|
10006
|
-
const _sfc_main$
|
|
10335
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
10007
10336
|
__name: "OnyxDialog",
|
|
10008
10337
|
props: {
|
|
10009
10338
|
density: { type: null, required: false },
|
|
@@ -10037,15 +10366,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
10037
10366
|
return __returned__;
|
|
10038
10367
|
}
|
|
10039
10368
|
});
|
|
10040
|
-
const _hoisted_1$
|
|
10041
|
-
const _hoisted_2$
|
|
10369
|
+
const _hoisted_1$v = { class: "onyx-dialog__header" };
|
|
10370
|
+
const _hoisted_2$o = { class: "onyx-dialog__headline" };
|
|
10042
10371
|
const _hoisted_3$j = { class: "onyx-dialog__headline-content" };
|
|
10043
10372
|
const _hoisted_4$e = { class: "onyx-dialog__body" };
|
|
10044
10373
|
const _hoisted_5$b = {
|
|
10045
10374
|
key: 0,
|
|
10046
10375
|
class: "onyx-dialog__footer"
|
|
10047
10376
|
};
|
|
10048
|
-
function _sfc_render$
|
|
10377
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10049
10378
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.basicPopoverProps, {
|
|
10050
10379
|
open: $setup.isExpanded,
|
|
10051
10380
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.isExpanded = $event),
|
|
@@ -10055,8 +10384,8 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10055
10384
|
renderSlot(_ctx.$slots, "trigger", { trigger })
|
|
10056
10385
|
]),
|
|
10057
10386
|
content: withCtx(() => [
|
|
10058
|
-
createElementVNode("div", _hoisted_1$
|
|
10059
|
-
createElementVNode("div", _hoisted_2$
|
|
10387
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
10388
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
10060
10389
|
createElementVNode("div", _hoisted_3$j, [
|
|
10061
10390
|
renderSlot(_ctx.$slots, "headline", {
|
|
10062
10391
|
label: $setup.props.label
|
|
@@ -10094,8 +10423,8 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10094
10423
|
/* FORWARDED */
|
|
10095
10424
|
}, 16, ["open", "class"]);
|
|
10096
10425
|
}
|
|
10097
|
-
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10098
|
-
const _sfc_main$
|
|
10426
|
+
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDialog/OnyxDialog.vue"]]);
|
|
10427
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
10099
10428
|
__name: "OnyxForm",
|
|
10100
10429
|
props: {
|
|
10101
10430
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -10115,7 +10444,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
10115
10444
|
return __returned__;
|
|
10116
10445
|
}
|
|
10117
10446
|
});
|
|
10118
|
-
function _sfc_render$
|
|
10447
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10119
10448
|
return openBlock(), createElementBlock(
|
|
10120
10449
|
"form",
|
|
10121
10450
|
{
|
|
@@ -10132,10 +10461,10 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10132
10461
|
/* CLASS */
|
|
10133
10462
|
);
|
|
10134
10463
|
}
|
|
10135
|
-
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10464
|
+
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxForm/OnyxForm.vue"]]);
|
|
10136
10465
|
const HEADLINE_TYPES = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
10137
10466
|
const ICON_SIZES = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"];
|
|
10138
|
-
const _sfc_main$
|
|
10467
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
10139
10468
|
...{ inheritAttrs: false },
|
|
10140
10469
|
__name: "OnyxImage",
|
|
10141
10470
|
props: {
|
|
@@ -10174,10 +10503,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
10174
10503
|
return __returned__;
|
|
10175
10504
|
}
|
|
10176
10505
|
});
|
|
10177
|
-
const _hoisted_1$
|
|
10178
|
-
const _hoisted_2$
|
|
10506
|
+
const _hoisted_1$u = ["src", "alt"];
|
|
10507
|
+
const _hoisted_2$n = ["src", "alt"];
|
|
10179
10508
|
const _hoisted_3$i = { class: "onyx-image__alt onyx-text--small" };
|
|
10180
|
-
function _sfc_render$
|
|
10509
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10181
10510
|
return openBlock(), createElementBlock(
|
|
10182
10511
|
"figure",
|
|
10183
10512
|
mergeProps($setup.rootAttrs, {
|
|
@@ -10202,7 +10531,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10202
10531
|
src: $setup.imageSrc.light,
|
|
10203
10532
|
alt: $setup.props.alt,
|
|
10204
10533
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.isError = true)
|
|
10205
|
-
}), null, 16, _hoisted_1$
|
|
10534
|
+
}), null, 16, _hoisted_1$u),
|
|
10206
10535
|
$setup.imageSrc.dark ? (openBlock(), createElementBlock("img", mergeProps({
|
|
10207
10536
|
key: 0,
|
|
10208
10537
|
class: "onyx-image__source onyx-image__source--dark"
|
|
@@ -10210,7 +10539,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10210
10539
|
src: $setup.imageSrc.dark,
|
|
10211
10540
|
alt: $setup.props.alt,
|
|
10212
10541
|
onError: _cache[1] || (_cache[1] = ($event) => $setup.isError = true)
|
|
10213
|
-
}), null, 16, _hoisted_2$
|
|
10542
|
+
}), null, 16, _hoisted_2$n)) : createCommentVNode("v-if", true),
|
|
10214
10543
|
$setup.isError ? (openBlock(), createElementBlock(
|
|
10215
10544
|
"div",
|
|
10216
10545
|
mergeProps({
|
|
@@ -10243,7 +10572,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10243
10572
|
/* FULL_PROPS */
|
|
10244
10573
|
);
|
|
10245
10574
|
}
|
|
10246
|
-
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10575
|
+
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxImage/OnyxImage.vue"]]);
|
|
10247
10576
|
const IMAGE_SHAPES = ["rounded", "circle", "clip", "clip-inverted"];
|
|
10248
10577
|
const useLenientMaxLengthValidation = (options) => {
|
|
10249
10578
|
const { t } = injectI18n();
|
|
@@ -10284,7 +10613,7 @@ const MOBILE_NAV_BAR_INJECTION_KEY = Symbol();
|
|
|
10284
10613
|
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = Symbol();
|
|
10285
10614
|
const NAV_BAR_MORE_LIST_INJECTION_KEY = Symbol();
|
|
10286
10615
|
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
10287
|
-
const _sfc_main$
|
|
10616
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
10288
10617
|
__name: "OnyxSeparator",
|
|
10289
10618
|
props: {
|
|
10290
10619
|
orientation: { type: null, required: false, default: "horizontal" }
|
|
@@ -10301,16 +10630,16 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
10301
10630
|
return __returned__;
|
|
10302
10631
|
}
|
|
10303
10632
|
});
|
|
10304
|
-
const _hoisted_1$
|
|
10305
|
-
function _sfc_render$
|
|
10633
|
+
const _hoisted_1$t = ["aria-orientation"];
|
|
10634
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10306
10635
|
return openBlock(), createElementBlock("div", {
|
|
10307
10636
|
class: normalizeClass(["onyx-component onyx-separator", { "onyx-separator--vertical": $setup.isVertical }]),
|
|
10308
10637
|
role: "separator",
|
|
10309
10638
|
"aria-orientation": $setup.props.orientation
|
|
10310
|
-
}, null, 10, _hoisted_1$
|
|
10639
|
+
}, null, 10, _hoisted_1$t);
|
|
10311
10640
|
}
|
|
10312
|
-
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10313
|
-
const _sfc_main$
|
|
10641
|
+
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSeparator/OnyxSeparator.vue"]]);
|
|
10642
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
10314
10643
|
...{ inheritAttrs: false },
|
|
10315
10644
|
__name: "OnyxInput",
|
|
10316
10645
|
props: {
|
|
@@ -10399,10 +10728,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
10399
10728
|
return __returned__;
|
|
10400
10729
|
}
|
|
10401
10730
|
});
|
|
10402
|
-
const _hoisted_1$
|
|
10403
|
-
const _hoisted_2$
|
|
10731
|
+
const _hoisted_1$s = { class: "onyx-input__wrapper" };
|
|
10732
|
+
const _hoisted_2$m = ["id", "placeholder", "type", "required", "autocapitalize", "autocomplete", "autofocus", "name", "pattern", "readonly", "disabled", "maxlength", "minlength", "aria-label", "title"];
|
|
10404
10733
|
const _hoisted_3$h = ["aria-label", "title"];
|
|
10405
|
-
function _sfc_render$
|
|
10734
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10406
10735
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10407
10736
|
"div",
|
|
10408
10737
|
mergeProps({
|
|
@@ -10431,7 +10760,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10431
10760
|
message: $setup.messages
|
|
10432
10761
|
}), {
|
|
10433
10762
|
default: withCtx(({ id: inputId }) => [
|
|
10434
|
-
createElementVNode("div", _hoisted_1$
|
|
10763
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
10435
10764
|
renderSlot(_ctx.$slots, "leading"),
|
|
10436
10765
|
$setup.slots.leading ? (openBlock(), createBlock($setup["OnyxSeparator"], {
|
|
10437
10766
|
key: 0,
|
|
@@ -10462,7 +10791,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10462
10791
|
minlength: $setup.props.minlength,
|
|
10463
10792
|
"aria-label": $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
10464
10793
|
title: $setup.props.hideLabel ? $setup.props.label : void 0
|
|
10465
|
-
}, $setup.restAttrs), null, 16, _hoisted_2$
|
|
10794
|
+
}, $setup.restAttrs), null, 16, _hoisted_2$m), [
|
|
10466
10795
|
[vModelDynamic, $setup.modelValue],
|
|
10467
10796
|
[$setup["vCustomValidity"]]
|
|
10468
10797
|
]),
|
|
@@ -10508,9 +10837,9 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10508
10837
|
/* FULL_PROPS */
|
|
10509
10838
|
));
|
|
10510
10839
|
}
|
|
10511
|
-
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10840
|
+
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue"]]);
|
|
10512
10841
|
const INPUT_TYPES = ["email", "password", "search", "tel", "text", "url"];
|
|
10513
|
-
const _sfc_main$
|
|
10842
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
10514
10843
|
__name: "OnyxLink",
|
|
10515
10844
|
props: {
|
|
10516
10845
|
href: { type: String, required: false },
|
|
@@ -10527,7 +10856,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
10527
10856
|
return __returned__;
|
|
10528
10857
|
}
|
|
10529
10858
|
});
|
|
10530
|
-
function _sfc_render$
|
|
10859
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10531
10860
|
return openBlock(), createBlock(
|
|
10532
10861
|
$setup["OnyxRouterLink"],
|
|
10533
10862
|
mergeProps({ class: "onyx-component onyx-link" }, $setup.routerLinkProps),
|
|
@@ -10549,8 +10878,8 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10549
10878
|
/* FULL_PROPS */
|
|
10550
10879
|
);
|
|
10551
10880
|
}
|
|
10552
|
-
const OnyxLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10553
|
-
const _sfc_main$
|
|
10881
|
+
const OnyxLink = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLink/OnyxLink.vue"]]);
|
|
10882
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
10554
10883
|
__name: "OnyxMobileNavButton",
|
|
10555
10884
|
props: {
|
|
10556
10885
|
label: { type: String, required: true },
|
|
@@ -10572,12 +10901,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
10572
10901
|
return __returned__;
|
|
10573
10902
|
}
|
|
10574
10903
|
});
|
|
10575
|
-
const _hoisted_1$
|
|
10576
|
-
const _hoisted_2$
|
|
10904
|
+
const _hoisted_1$r = { class: "onyx-component onyx-mobile-nav-button" };
|
|
10905
|
+
const _hoisted_2$l = ["aria-label", "disabled"];
|
|
10577
10906
|
const _hoisted_3$g = { class: "onyx-mobile-nav-button__flyout" };
|
|
10578
10907
|
const _hoisted_4$d = { class: "onyx-mobile-nav-button__menu" };
|
|
10579
|
-
function _sfc_render$
|
|
10580
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10908
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10909
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
10581
10910
|
createElementVNode("button", {
|
|
10582
10911
|
type: "button",
|
|
10583
10912
|
class: normalizeClass(["onyx-mobile-nav-button__trigger", { "onyx-mobile-nav-button__trigger--active": $setup.props.open }]),
|
|
@@ -10588,7 +10917,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10588
10917
|
createVNode($setup["OnyxIcon"], {
|
|
10589
10918
|
icon: $setup.props.open ? $setup.iconX : $setup.props.icon
|
|
10590
10919
|
}, null, 8, ["icon"])
|
|
10591
|
-
], 10, _hoisted_2$
|
|
10920
|
+
], 10, _hoisted_2$l),
|
|
10592
10921
|
withDirectives(createElementVNode(
|
|
10593
10922
|
"div",
|
|
10594
10923
|
_hoisted_3$g,
|
|
@@ -10625,8 +10954,8 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10625
10954
|
})) : createCommentVNode("v-if", true)
|
|
10626
10955
|
]);
|
|
10627
10956
|
}
|
|
10628
|
-
const OnyxMobileNavButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10629
|
-
const _sfc_main$
|
|
10957
|
+
const OnyxMobileNavButton = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMobileNavButton/OnyxMobileNavButton.vue"]]);
|
|
10958
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
10630
10959
|
__name: "OnyxModal",
|
|
10631
10960
|
props: {
|
|
10632
10961
|
density: { type: null, required: false },
|
|
@@ -10653,8 +10982,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
10653
10982
|
return __returned__;
|
|
10654
10983
|
}
|
|
10655
10984
|
});
|
|
10656
|
-
const _hoisted_1$
|
|
10657
|
-
const _hoisted_2$
|
|
10985
|
+
const _hoisted_1$q = { class: "onyx-modal__header" };
|
|
10986
|
+
const _hoisted_2$k = { class: "onyx-modal__headline" };
|
|
10658
10987
|
const _hoisted_3$f = { class: "onyx-modal__headline-content" };
|
|
10659
10988
|
const _hoisted_4$c = ["id"];
|
|
10660
10989
|
const _hoisted_5$a = { class: "onyx-modal__body" };
|
|
@@ -10662,7 +10991,7 @@ const _hoisted_6$8 = {
|
|
|
10662
10991
|
key: 0,
|
|
10663
10992
|
class: "onyx-modal__footer"
|
|
10664
10993
|
};
|
|
10665
|
-
function _sfc_render$
|
|
10994
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10666
10995
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps($setup.basicDialogProps, {
|
|
10667
10996
|
modal: "",
|
|
10668
10997
|
class: ["onyx-modal", $setup.densityClass],
|
|
@@ -10670,8 +10999,8 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10670
10999
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
10671
11000
|
}), {
|
|
10672
11001
|
default: withCtx(() => [
|
|
10673
|
-
createElementVNode("div", _hoisted_1$
|
|
10674
|
-
createElementVNode("div", _hoisted_2$
|
|
11002
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
11003
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
10675
11004
|
createElementVNode("div", _hoisted_3$f, [
|
|
10676
11005
|
renderSlot(_ctx.$slots, "headline", {
|
|
10677
11006
|
label: $setup.props.label
|
|
@@ -10716,8 +11045,8 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10716
11045
|
/* FORWARDED */
|
|
10717
11046
|
}, 16, ["class", "aria-describedby"]);
|
|
10718
11047
|
}
|
|
10719
|
-
const OnyxModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10720
|
-
const _sfc_main$
|
|
11048
|
+
const OnyxModal = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxModal/OnyxModal.vue"]]);
|
|
11049
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
10721
11050
|
__name: "OnyxNavAppArea",
|
|
10722
11051
|
props: {
|
|
10723
11052
|
link: { type: null, required: false, default: "/" },
|
|
@@ -10736,12 +11065,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10736
11065
|
return __returned__;
|
|
10737
11066
|
}
|
|
10738
11067
|
});
|
|
10739
|
-
const _hoisted_1$
|
|
10740
|
-
const _hoisted_2$
|
|
11068
|
+
const _hoisted_1$p = ["src", "alt"];
|
|
11069
|
+
const _hoisted_2$j = {
|
|
10741
11070
|
key: 1,
|
|
10742
11071
|
class: "onyx-text-small onyx-truncation-ellipsis"
|
|
10743
11072
|
};
|
|
10744
|
-
function _sfc_render$
|
|
11073
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10745
11074
|
return openBlock(), createBlock($setup["OnyxRouterLink"], mergeProps($setup.linkProps, {
|
|
10746
11075
|
class: "onyx-component onyx-nav-app-area",
|
|
10747
11076
|
"aria-label": $setup.buttonLabel
|
|
@@ -10755,10 +11084,10 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10755
11084
|
class: "onyx-nav-app-area__logo",
|
|
10756
11085
|
width: "24",
|
|
10757
11086
|
height: "24"
|
|
10758
|
-
}, null, 8, _hoisted_1$
|
|
11087
|
+
}, null, 8, _hoisted_1$p)) : createCommentVNode("v-if", true),
|
|
10759
11088
|
$setup.props.appName ? (openBlock(), createElementBlock(
|
|
10760
11089
|
"span",
|
|
10761
|
-
_hoisted_2$
|
|
11090
|
+
_hoisted_2$j,
|
|
10762
11091
|
toDisplayString($setup.props.appName),
|
|
10763
11092
|
1
|
|
10764
11093
|
/* TEXT */
|
|
@@ -10769,8 +11098,8 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10769
11098
|
/* FORWARDED */
|
|
10770
11099
|
}, 16, ["aria-label"]);
|
|
10771
11100
|
}
|
|
10772
|
-
const OnyxNavAppArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10773
|
-
const _sfc_main$
|
|
11101
|
+
const OnyxNavAppArea = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavAppArea/OnyxNavAppArea.vue"]]);
|
|
11102
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
10774
11103
|
__name: "OnyxSelectDialog",
|
|
10775
11104
|
props: {
|
|
10776
11105
|
open: { type: [Boolean, null], required: false, skipCheck: true, default: false },
|
|
@@ -10804,14 +11133,14 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
10804
11133
|
return __returned__;
|
|
10805
11134
|
}
|
|
10806
11135
|
});
|
|
10807
|
-
const _hoisted_1$
|
|
10808
|
-
const _hoisted_2$
|
|
11136
|
+
const _hoisted_1$o = ["id"];
|
|
11137
|
+
const _hoisted_2$i = ["autofocus", "value", "checked", "aria-label"];
|
|
10809
11138
|
const _hoisted_3$e = { class: "onyx-select-dialog__label" };
|
|
10810
11139
|
const _hoisted_4$b = {
|
|
10811
11140
|
key: 0,
|
|
10812
11141
|
class: "onyx-text--small"
|
|
10813
11142
|
};
|
|
10814
|
-
function _sfc_render$
|
|
11143
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10815
11144
|
return openBlock(), createBlock($setup["OnyxModal"], mergeProps($setup.modalProps, {
|
|
10816
11145
|
open: $setup.props.open,
|
|
10817
11146
|
class: "onyx-select-dialog",
|
|
@@ -10881,7 +11210,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10881
11210
|
checked: $setup.props.modelValue === option.value,
|
|
10882
11211
|
"aria-label": option.label,
|
|
10883
11212
|
required: ""
|
|
10884
|
-
}, null, 8, _hoisted_2$
|
|
11213
|
+
}, null, 8, _hoisted_2$i)
|
|
10885
11214
|
]),
|
|
10886
11215
|
_: 2
|
|
10887
11216
|
/* DYNAMIC */
|
|
@@ -10920,7 +11249,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10920
11249
|
32
|
|
10921
11250
|
/* NEED_HYDRATION */
|
|
10922
11251
|
)
|
|
10923
|
-
], 40, _hoisted_1$
|
|
11252
|
+
], 40, _hoisted_1$o)
|
|
10924
11253
|
]),
|
|
10925
11254
|
_: 2
|
|
10926
11255
|
/* DYNAMIC */
|
|
@@ -10934,11 +11263,11 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10934
11263
|
} : void 0
|
|
10935
11264
|
]), 1040, ["open", "label"]);
|
|
10936
11265
|
}
|
|
10937
|
-
const OnyxSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11266
|
+
const OnyxSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectDialog/OnyxSelectDialog.vue"]]);
|
|
10938
11267
|
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>';
|
|
10939
11268
|
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>';
|
|
10940
11269
|
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>';
|
|
10941
|
-
const _sfc_main$
|
|
11270
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
10942
11271
|
__name: "OnyxColorSchemeDialog",
|
|
10943
11272
|
props: {
|
|
10944
11273
|
open: { type: [Boolean, null], required: false, skipCheck: true, default: false },
|
|
@@ -10979,7 +11308,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
10979
11308
|
return __returned__;
|
|
10980
11309
|
}
|
|
10981
11310
|
});
|
|
10982
|
-
function _sfc_render$
|
|
11311
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10983
11312
|
return openBlock(), createBlock($setup["OnyxSelectDialog"], mergeProps({ class: "onyx-color-scheme-dialog" }, $setup.selectDialogProps, {
|
|
10984
11313
|
label: $setup.t("colorScheme.headline"),
|
|
10985
11314
|
options: $setup.options,
|
|
@@ -10998,8 +11327,8 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10998
11327
|
/* STABLE */
|
|
10999
11328
|
}, 16, ["label", "options", "open"]);
|
|
11000
11329
|
}
|
|
11001
|
-
const OnyxColorSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11002
|
-
const _sfc_main$
|
|
11330
|
+
const OnyxColorSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.vue"]]);
|
|
11331
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
11003
11332
|
__name: "OnyxColorSchemeMenuItem",
|
|
11004
11333
|
props: {
|
|
11005
11334
|
modelValue: { type: String, required: true }
|
|
@@ -11018,8 +11347,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
11018
11347
|
return __returned__;
|
|
11019
11348
|
}
|
|
11020
11349
|
});
|
|
11021
|
-
const _hoisted_1$
|
|
11022
|
-
function _sfc_render$
|
|
11350
|
+
const _hoisted_1$n = { class: "onyx-color-scheme-menu-item__value" };
|
|
11351
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11023
11352
|
return openBlock(), createBlock($setup["OnyxMenuItem"], {
|
|
11024
11353
|
class: "onyx-component onyx-color-scheme-menu-item",
|
|
11025
11354
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.isOpen = true)
|
|
@@ -11034,7 +11363,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11034
11363
|
),
|
|
11035
11364
|
createElementVNode(
|
|
11036
11365
|
"span",
|
|
11037
|
-
_hoisted_1$
|
|
11366
|
+
_hoisted_1$n,
|
|
11038
11367
|
toDisplayString($setup.t(`colorScheme.${$setup.props.modelValue}.label`)),
|
|
11039
11368
|
1
|
|
11040
11369
|
/* TEXT */
|
|
@@ -11053,8 +11382,8 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11053
11382
|
/* STABLE */
|
|
11054
11383
|
});
|
|
11055
11384
|
}
|
|
11056
|
-
const OnyxColorSchemeMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11057
|
-
const _sfc_main$
|
|
11385
|
+
const OnyxColorSchemeMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.vue"]]);
|
|
11386
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
11058
11387
|
__name: "OnyxLanguageMenuItem",
|
|
11059
11388
|
props: {
|
|
11060
11389
|
modelValue: { type: null, required: true },
|
|
@@ -11079,8 +11408,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
11079
11408
|
return __returned__;
|
|
11080
11409
|
}
|
|
11081
11410
|
});
|
|
11082
|
-
const _hoisted_1$
|
|
11083
|
-
function _sfc_render$
|
|
11411
|
+
const _hoisted_1$m = { class: "onyx-language-menu-item__value" };
|
|
11412
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11084
11413
|
return openBlock(), createBlock($setup["OnyxMenuItem"], {
|
|
11085
11414
|
class: "onyx-component onyx-language-menu-item",
|
|
11086
11415
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.isOpen = true)
|
|
@@ -11095,7 +11424,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11095
11424
|
),
|
|
11096
11425
|
createElementVNode(
|
|
11097
11426
|
"span",
|
|
11098
|
-
_hoisted_1$
|
|
11427
|
+
_hoisted_1$m,
|
|
11099
11428
|
toDisplayString($setup.currentValueLabel),
|
|
11100
11429
|
1
|
|
11101
11430
|
/* TEXT */
|
|
@@ -11126,8 +11455,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11126
11455
|
/* STABLE */
|
|
11127
11456
|
});
|
|
11128
11457
|
}
|
|
11129
|
-
const OnyxLanguageMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11130
|
-
const _sfc_main$
|
|
11458
|
+
const OnyxLanguageMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxLanguageMenuItem/OnyxLanguageMenuItem.vue"]]);
|
|
11459
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
11131
11460
|
__name: "OnyxNavItemFacade",
|
|
11132
11461
|
props: {
|
|
11133
11462
|
link: { type: null, required: false },
|
|
@@ -11149,7 +11478,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
11149
11478
|
return __returned__;
|
|
11150
11479
|
}
|
|
11151
11480
|
});
|
|
11152
|
-
function _sfc_render$
|
|
11481
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11153
11482
|
return openBlock(), createBlock($setup["OnyxMenuItem"], mergeProps($setup.menuItemProps, {
|
|
11154
11483
|
link: $setup.hasChildren && $setup.props.context !== "navbar" ? void 0 : $setup.props.link,
|
|
11155
11484
|
class: {
|
|
@@ -11175,8 +11504,8 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11175
11504
|
} : void 0
|
|
11176
11505
|
]), 1040, ["link", "class", "open"]);
|
|
11177
11506
|
}
|
|
11178
|
-
const OnyxNavItemFacade = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11179
|
-
const _sfc_main$
|
|
11507
|
+
const OnyxNavItemFacade = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxNavItemFacade/OnyxNavItemFacade.vue"]]);
|
|
11508
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
11180
11509
|
...{ inheritAttrs: false },
|
|
11181
11510
|
__name: "OnyxNavItem",
|
|
11182
11511
|
props: {
|
|
@@ -11222,12 +11551,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
11222
11551
|
return __returned__;
|
|
11223
11552
|
}
|
|
11224
11553
|
});
|
|
11225
|
-
const _hoisted_1$
|
|
11226
|
-
const _hoisted_2$
|
|
11554
|
+
const _hoisted_1$l = { class: "onyx-nav-item-wrapper__controls" };
|
|
11555
|
+
const _hoisted_2$h = {
|
|
11227
11556
|
role: "menu",
|
|
11228
11557
|
class: "onyx-nav-item-wrapper__mobile-children"
|
|
11229
11558
|
};
|
|
11230
|
-
function _sfc_render$
|
|
11559
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11231
11560
|
return openBlock(), createElementBlock(
|
|
11232
11561
|
Fragment,
|
|
11233
11562
|
null,
|
|
@@ -11243,7 +11572,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11243
11572
|
}
|
|
11244
11573
|
}, $setup.rootAttrs),
|
|
11245
11574
|
[
|
|
11246
|
-
createElementVNode("div", _hoisted_1$
|
|
11575
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
11247
11576
|
createVNode($setup["OnyxButton"], {
|
|
11248
11577
|
label: $setup.t("back"),
|
|
11249
11578
|
mode: "plain",
|
|
@@ -11271,7 +11600,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11271
11600
|
/* STABLE_FRAGMENT */
|
|
11272
11601
|
)) : createCommentVNode("v-if", true)
|
|
11273
11602
|
]),
|
|
11274
|
-
createElementVNode("ul", _hoisted_2$
|
|
11603
|
+
createElementVNode("ul", _hoisted_2$h, [
|
|
11275
11604
|
renderSlot(_ctx.$slots, "children")
|
|
11276
11605
|
])
|
|
11277
11606
|
],
|
|
@@ -11380,7 +11709,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11380
11709
|
/* STABLE_FRAGMENT */
|
|
11381
11710
|
);
|
|
11382
11711
|
}
|
|
11383
|
-
const OnyxNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11712
|
+
const OnyxNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue"]]);
|
|
11384
11713
|
const useTimer = (endTime) => {
|
|
11385
11714
|
const intervalId = ref();
|
|
11386
11715
|
const timeLeft = ref(calculateTimeLeft(new Date(endTime.value).getTime()));
|
|
@@ -11441,7 +11770,7 @@ const timeToDurationString = (timeLeft) => {
|
|
|
11441
11770
|
const { hours, minutes, seconds } = getTimeFragments(timeLeft);
|
|
11442
11771
|
return `PT${hours}H${minutes}M${seconds}S`;
|
|
11443
11772
|
};
|
|
11444
|
-
const _sfc_main$
|
|
11773
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
11445
11774
|
__name: "OnyxTimer",
|
|
11446
11775
|
props: {
|
|
11447
11776
|
endTime: { type: null, required: true },
|
|
@@ -11472,13 +11801,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
11472
11801
|
return __returned__;
|
|
11473
11802
|
}
|
|
11474
11803
|
});
|
|
11475
|
-
const _hoisted_1$
|
|
11476
|
-
const _hoisted_2$
|
|
11804
|
+
const _hoisted_1$k = ["aria-label"];
|
|
11805
|
+
const _hoisted_2$g = {
|
|
11477
11806
|
key: 0,
|
|
11478
11807
|
class: "onyx-timer__label"
|
|
11479
11808
|
};
|
|
11480
11809
|
const _hoisted_3$d = ["datetime"];
|
|
11481
|
-
function _sfc_render$
|
|
11810
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11482
11811
|
return openBlock(), createElementBlock("div", {
|
|
11483
11812
|
class: "onyx-component onyx-timer onyx-text onyx-truncation-ellipsis",
|
|
11484
11813
|
role: "timer",
|
|
@@ -11486,7 +11815,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11486
11815
|
}, [
|
|
11487
11816
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
11488
11817
|
"span",
|
|
11489
|
-
_hoisted_2$
|
|
11818
|
+
_hoisted_2$g,
|
|
11490
11819
|
toDisplayString($setup.props.label),
|
|
11491
11820
|
1
|
|
11492
11821
|
/* TEXT */
|
|
@@ -11495,10 +11824,10 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11495
11824
|
datetime: $setup.timeToDurationString($setup.timeLeft),
|
|
11496
11825
|
class: "onyx-timer__time"
|
|
11497
11826
|
}, toDisplayString($setup.formattedTime), 9, _hoisted_3$d)
|
|
11498
|
-
], 8, _hoisted_1$
|
|
11827
|
+
], 8, _hoisted_1$k);
|
|
11499
11828
|
}
|
|
11500
|
-
const OnyxTimer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11501
|
-
const _sfc_main$
|
|
11829
|
+
const OnyxTimer = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.vue"]]);
|
|
11830
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
11502
11831
|
__name: "UserMenuLayout",
|
|
11503
11832
|
props: {
|
|
11504
11833
|
isMobile: { type: Boolean, required: true },
|
|
@@ -11523,10 +11852,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
11523
11852
|
return __returned__;
|
|
11524
11853
|
}
|
|
11525
11854
|
});
|
|
11526
|
-
const _hoisted_1$
|
|
11527
|
-
const _hoisted_2$
|
|
11528
|
-
function _sfc_render$
|
|
11529
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11855
|
+
const _hoisted_1$j = { class: "onyx-component" };
|
|
11856
|
+
const _hoisted_2$f = { class: "onyx-user-menu__footer onyx-text--small" };
|
|
11857
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11858
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
11530
11859
|
$setup.props.isMobile ? (openBlock(), createElementBlock(
|
|
11531
11860
|
Fragment,
|
|
11532
11861
|
{ key: 0 },
|
|
@@ -11570,7 +11899,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11570
11899
|
!!$setup.slots.footer ? {
|
|
11571
11900
|
name: "footer",
|
|
11572
11901
|
fn: withCtx(() => [
|
|
11573
|
-
createElementVNode("div", _hoisted_2$
|
|
11902
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
11574
11903
|
renderSlot(_ctx.$slots, "footer")
|
|
11575
11904
|
])
|
|
11576
11905
|
]),
|
|
@@ -11579,8 +11908,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11579
11908
|
]), 1032, ["open", "label", "disabled"]))
|
|
11580
11909
|
]);
|
|
11581
11910
|
}
|
|
11582
|
-
const UserMenuLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11583
|
-
const _sfc_main$
|
|
11911
|
+
const UserMenuLayout = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxUserMenu/UserMenuLayout.vue"]]);
|
|
11912
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
11584
11913
|
__name: "OnyxUserMenu",
|
|
11585
11914
|
props: {
|
|
11586
11915
|
fullName: { type: String, required: true },
|
|
@@ -11614,8 +11943,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
11614
11943
|
return __returned__;
|
|
11615
11944
|
}
|
|
11616
11945
|
});
|
|
11617
|
-
const _hoisted_1$
|
|
11618
|
-
const _hoisted_2$
|
|
11946
|
+
const _hoisted_1$i = { class: "onyx-truncation-ellipsis" };
|
|
11947
|
+
const _hoisted_2$e = { class: "onyx-user-menu__header" };
|
|
11619
11948
|
const _hoisted_3$c = { class: "onyx-truncation-ellipsis" };
|
|
11620
11949
|
const _hoisted_4$a = { class: "onyx-user-menu__username onyx-text onyx-truncation-ellipsis" };
|
|
11621
11950
|
const _hoisted_5$9 = {
|
|
@@ -11623,7 +11952,7 @@ const _hoisted_5$9 = {
|
|
|
11623
11952
|
class: "onyx-user-menu__description onyx-text--small onyx-truncation-ellipsis"
|
|
11624
11953
|
};
|
|
11625
11954
|
const _hoisted_6$7 = { class: "onyx-user-menu__options" };
|
|
11626
|
-
function _sfc_render$
|
|
11955
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11627
11956
|
return openBlock(), createBlock($setup["UserMenuLayout"], {
|
|
11628
11957
|
"flyout-open": $setup.flyoutOpen,
|
|
11629
11958
|
"onUpdate:flyoutOpen": _cache[0] || (_cache[0] = ($event) => $setup.flyoutOpen = $event),
|
|
@@ -11648,7 +11977,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11648
11977
|
),
|
|
11649
11978
|
createElementVNode(
|
|
11650
11979
|
"span",
|
|
11651
|
-
_hoisted_1$
|
|
11980
|
+
_hoisted_1$i,
|
|
11652
11981
|
toDisplayString($setup.props.fullName),
|
|
11653
11982
|
1
|
|
11654
11983
|
/* TEXT */
|
|
@@ -11659,7 +11988,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11659
11988
|
)
|
|
11660
11989
|
]),
|
|
11661
11990
|
header: withCtx(() => [
|
|
11662
|
-
createElementVNode("div", _hoisted_2$
|
|
11991
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
11663
11992
|
createVNode(
|
|
11664
11993
|
$setup["OnyxAvatar"],
|
|
11665
11994
|
mergeProps($setup.avatar, { size: "48px" }),
|
|
@@ -11702,8 +12031,8 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11702
12031
|
} : void 0
|
|
11703
12032
|
]), 1032, ["flyout-open", "class", "is-mobile", "disabled"]);
|
|
11704
12033
|
}
|
|
11705
|
-
const OnyxUserMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11706
|
-
const _sfc_main$
|
|
12034
|
+
const OnyxUserMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxUserMenu/OnyxUserMenu.vue"]]);
|
|
12035
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
11707
12036
|
__name: "OnyxNavBar",
|
|
11708
12037
|
props: {
|
|
11709
12038
|
appName: { type: String, required: false },
|
|
@@ -11773,8 +12102,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
11773
12102
|
return __returned__;
|
|
11774
12103
|
}
|
|
11775
12104
|
});
|
|
11776
|
-
const _hoisted_1$
|
|
11777
|
-
const _hoisted_2$
|
|
12105
|
+
const _hoisted_1$h = { class: "onyx-nav-bar__content onyx-grid-container" };
|
|
12106
|
+
const _hoisted_2$d = {
|
|
11778
12107
|
key: 0,
|
|
11779
12108
|
class: "onyx-nav-bar__mobile-page onyx-truncation-ellipsis"
|
|
11780
12109
|
};
|
|
@@ -11793,7 +12122,7 @@ const _hoisted_8$3 = {
|
|
|
11793
12122
|
key: 1,
|
|
11794
12123
|
class: "onyx-nav-bar__context"
|
|
11795
12124
|
};
|
|
11796
|
-
function _sfc_render$
|
|
12125
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11797
12126
|
return openBlock(), createElementBlock(
|
|
11798
12127
|
"header",
|
|
11799
12128
|
{
|
|
@@ -11801,8 +12130,8 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11801
12130
|
class: normalizeClass(["onyx-component onyx-nav-bar", { "onyx-nav-bar--mobile": $setup.actualIsMobile }])
|
|
11802
12131
|
},
|
|
11803
12132
|
[
|
|
11804
|
-
createElementVNode("div", _hoisted_1$
|
|
11805
|
-
$setup.actualIsMobile && $setup.slots.mobileActivePage && !$setup.isBurgerOpen && !$setup.isContextOpen ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
12133
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
12134
|
+
$setup.actualIsMobile && $setup.slots.mobileActivePage && !$setup.isBurgerOpen && !$setup.isContextOpen ? (openBlock(), createElementBlock("span", _hoisted_2$d, [
|
|
11806
12135
|
renderSlot(_ctx.$slots, "mobileActivePage")
|
|
11807
12136
|
])) : $setup.props.appName || $setup.props.logoUrl || $setup.slots.appArea ? (openBlock(), createBlock($setup["OnyxNavAppArea"], mergeProps({
|
|
11808
12137
|
key: 1,
|
|
@@ -11952,7 +12281,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11952
12281
|
/* CLASS */
|
|
11953
12282
|
);
|
|
11954
12283
|
}
|
|
11955
|
-
const OnyxNavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12284
|
+
const OnyxNavBar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/OnyxNavBar.vue"]]);
|
|
11956
12285
|
const useRelativeTimeFormat = (options) => {
|
|
11957
12286
|
const { locale, t } = injectI18n();
|
|
11958
12287
|
const format = computed(() => new Intl.RelativeTimeFormat(locale.value, unref(options.options)));
|
|
@@ -12000,7 +12329,7 @@ const useRelativeTimeFormat = (options) => {
|
|
|
12000
12329
|
timeAgo
|
|
12001
12330
|
};
|
|
12002
12331
|
};
|
|
12003
|
-
const _sfc_main$
|
|
12332
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
12004
12333
|
__name: "OnyxNotificationCard",
|
|
12005
12334
|
props: {
|
|
12006
12335
|
density: { type: null, required: false },
|
|
@@ -12026,11 +12355,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
12026
12355
|
return __returned__;
|
|
12027
12356
|
}
|
|
12028
12357
|
});
|
|
12029
|
-
const _hoisted_1$
|
|
12358
|
+
const _hoisted_1$g = {
|
|
12030
12359
|
key: 0,
|
|
12031
12360
|
class: "onyx-notification-card-skeleton"
|
|
12032
12361
|
};
|
|
12033
|
-
const _hoisted_2$
|
|
12362
|
+
const _hoisted_2$c = {
|
|
12034
12363
|
key: 1,
|
|
12035
12364
|
class: "onyx-notification-card__content"
|
|
12036
12365
|
};
|
|
@@ -12043,14 +12372,14 @@ const _hoisted_8$2 = {
|
|
|
12043
12372
|
key: 0,
|
|
12044
12373
|
class: "onyx-notification-card__actions onyx-density-compact"
|
|
12045
12374
|
};
|
|
12046
|
-
function _sfc_render$
|
|
12375
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12047
12376
|
return openBlock(), createElementBlock(
|
|
12048
12377
|
"div",
|
|
12049
12378
|
{
|
|
12050
12379
|
class: normalizeClass(["onyx-component", "onyx-notification-card", $setup.densityClass])
|
|
12051
12380
|
},
|
|
12052
12381
|
[
|
|
12053
|
-
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
12382
|
+
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
12054
12383
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-notification-card-skeleton__header" }),
|
|
12055
12384
|
(openBlock(), createElementBlock(
|
|
12056
12385
|
Fragment,
|
|
@@ -12064,7 +12393,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12064
12393
|
64
|
|
12065
12394
|
/* STABLE_FRAGMENT */
|
|
12066
12395
|
))
|
|
12067
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
12396
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$c, [
|
|
12068
12397
|
createElementVNode("div", null, [
|
|
12069
12398
|
createElementVNode("div", _hoisted_3$a, [
|
|
12070
12399
|
createElementVNode("div", _hoisted_4$8, [
|
|
@@ -12134,8 +12463,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12134
12463
|
/* CLASS */
|
|
12135
12464
|
);
|
|
12136
12465
|
}
|
|
12137
|
-
const OnyxNotificationCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12138
|
-
const _sfc_main$
|
|
12466
|
+
const OnyxNotificationCard = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationCard/OnyxNotificationCard.vue"]]);
|
|
12467
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
12139
12468
|
__name: "OnyxNotificationDot",
|
|
12140
12469
|
props: {
|
|
12141
12470
|
hidden: { type: Boolean, required: false, default: false },
|
|
@@ -12149,9 +12478,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
12149
12478
|
return __returned__;
|
|
12150
12479
|
}
|
|
12151
12480
|
});
|
|
12152
|
-
const _hoisted_1$
|
|
12153
|
-
function _sfc_render$
|
|
12154
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12481
|
+
const _hoisted_1$f = { class: "onyx-component onyx-notification-dot" };
|
|
12482
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12483
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
12155
12484
|
renderSlot(_ctx.$slots, "default"),
|
|
12156
12485
|
!$setup.props.hidden ? (openBlock(), createBlock($setup["OnyxBadge"], {
|
|
12157
12486
|
key: 0,
|
|
@@ -12161,8 +12490,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12161
12490
|
}, null, 8, ["color"])) : createCommentVNode("v-if", true)
|
|
12162
12491
|
]);
|
|
12163
12492
|
}
|
|
12164
|
-
const OnyxNotificationDot = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12165
|
-
const _sfc_main$
|
|
12493
|
+
const OnyxNotificationDot = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationDot/OnyxNotificationDot.vue"]]);
|
|
12494
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
12166
12495
|
__name: "OnyxPageLayout",
|
|
12167
12496
|
props: {
|
|
12168
12497
|
skeleton: { type: Boolean, required: false },
|
|
@@ -12179,11 +12508,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
12179
12508
|
return __returned__;
|
|
12180
12509
|
}
|
|
12181
12510
|
});
|
|
12182
|
-
const _hoisted_1$
|
|
12511
|
+
const _hoisted_1$e = {
|
|
12183
12512
|
key: 0,
|
|
12184
12513
|
class: "onyx-page__sidebar"
|
|
12185
12514
|
};
|
|
12186
|
-
const _hoisted_2$
|
|
12515
|
+
const _hoisted_2$b = { class: "onyx-page__main" };
|
|
12187
12516
|
const _hoisted_3$9 = {
|
|
12188
12517
|
key: 1,
|
|
12189
12518
|
class: "onyx-page__sidebar onyx-page__sidebar--right"
|
|
@@ -12192,7 +12521,7 @@ const _hoisted_4$7 = {
|
|
|
12192
12521
|
key: 2,
|
|
12193
12522
|
class: "onyx-page__footer"
|
|
12194
12523
|
};
|
|
12195
|
-
function _sfc_render$
|
|
12524
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12196
12525
|
return openBlock(), createElementBlock(
|
|
12197
12526
|
"div",
|
|
12198
12527
|
{
|
|
@@ -12203,10 +12532,10 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12203
12532
|
]])
|
|
12204
12533
|
},
|
|
12205
12534
|
[
|
|
12206
|
-
$setup.slots.sidebar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
12535
|
+
$setup.slots.sidebar ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
12207
12536
|
renderSlot(_ctx.$slots, "sidebar")
|
|
12208
12537
|
])) : createCommentVNode("v-if", true),
|
|
12209
|
-
createElementVNode("main", _hoisted_2$
|
|
12538
|
+
createElementVNode("main", _hoisted_2$b, [
|
|
12210
12539
|
createElementVNode(
|
|
12211
12540
|
"div",
|
|
12212
12541
|
{
|
|
@@ -12230,8 +12559,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12230
12559
|
/* CLASS */
|
|
12231
12560
|
);
|
|
12232
12561
|
}
|
|
12233
|
-
const OnyxPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12234
|
-
const _sfc_main$
|
|
12562
|
+
const OnyxPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPageLayout/OnyxPageLayout.vue"]]);
|
|
12563
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
12235
12564
|
__name: "OnyxProgressItem",
|
|
12236
12565
|
props: {
|
|
12237
12566
|
density: { type: null, required: false },
|
|
@@ -12257,10 +12586,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
12257
12586
|
return __returned__;
|
|
12258
12587
|
}
|
|
12259
12588
|
});
|
|
12260
|
-
const _hoisted_1$
|
|
12261
|
-
const _hoisted_2$
|
|
12589
|
+
const _hoisted_1$d = ["disabled"];
|
|
12590
|
+
const _hoisted_2$a = { class: "onyx-progress-item__indicator" };
|
|
12262
12591
|
const _hoisted_3$8 = { class: "onyx-progress-item__label" };
|
|
12263
|
-
function _sfc_render$
|
|
12592
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12264
12593
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
12265
12594
|
key: 0,
|
|
12266
12595
|
class: normalizeClass(["onyx-progress-item-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -12276,7 +12605,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12276
12605
|
type: "button",
|
|
12277
12606
|
disabled: $setup.props.disabled
|
|
12278
12607
|
}, [
|
|
12279
|
-
createElementVNode("span", _hoisted_2$
|
|
12608
|
+
createElementVNode("span", _hoisted_2$a, [
|
|
12280
12609
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
12281
12610
|
key: 0,
|
|
12282
12611
|
icon: $setup.icon
|
|
@@ -12305,9 +12634,9 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12305
12634
|
)
|
|
12306
12635
|
])
|
|
12307
12636
|
])
|
|
12308
|
-
], 10, _hoisted_1$
|
|
12637
|
+
], 10, _hoisted_1$d));
|
|
12309
12638
|
}
|
|
12310
|
-
const OnyxProgressItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12639
|
+
const OnyxProgressItem = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxProgressItem/OnyxProgressItem.vue"]]);
|
|
12311
12640
|
const PROGRESS_ITEM_STATUS = [
|
|
12312
12641
|
"default",
|
|
12313
12642
|
"active",
|
|
@@ -12315,7 +12644,7 @@ const PROGRESS_ITEM_STATUS = [
|
|
|
12315
12644
|
"visited",
|
|
12316
12645
|
"invalid"
|
|
12317
12646
|
];
|
|
12318
|
-
const _sfc_main$
|
|
12647
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
12319
12648
|
__name: "OnyxProgressSteps",
|
|
12320
12649
|
props: {
|
|
12321
12650
|
density: { type: null, required: false },
|
|
@@ -12370,8 +12699,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
12370
12699
|
return __returned__;
|
|
12371
12700
|
}
|
|
12372
12701
|
});
|
|
12373
|
-
const _hoisted_1$
|
|
12374
|
-
function _sfc_render$
|
|
12702
|
+
const _hoisted_1$c = { class: "onyx-progress-steps__scroll-container" };
|
|
12703
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12375
12704
|
return openBlock(), createElementBlock(
|
|
12376
12705
|
"div",
|
|
12377
12706
|
{
|
|
@@ -12383,7 +12712,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12383
12712
|
])
|
|
12384
12713
|
},
|
|
12385
12714
|
[
|
|
12386
|
-
createElementVNode("div", _hoisted_1$
|
|
12715
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
12387
12716
|
(openBlock(true), createElementBlock(
|
|
12388
12717
|
Fragment,
|
|
12389
12718
|
null,
|
|
@@ -12423,8 +12752,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12423
12752
|
/* CLASS */
|
|
12424
12753
|
);
|
|
12425
12754
|
}
|
|
12426
|
-
const OnyxProgressSteps = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12427
|
-
const _sfc_main$
|
|
12755
|
+
const OnyxProgressSteps = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxProgressSteps/OnyxProgressSteps.vue"]]);
|
|
12756
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
12428
12757
|
...{ inheritAttrs: false },
|
|
12429
12758
|
__name: "OnyxRadioButton",
|
|
12430
12759
|
props: {
|
|
@@ -12459,8 +12788,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
12459
12788
|
return __returned__;
|
|
12460
12789
|
}
|
|
12461
12790
|
});
|
|
12462
|
-
const _hoisted_1$
|
|
12463
|
-
function _sfc_render$
|
|
12791
|
+
const _hoisted_1$b = ["required", "name", "value", "checked", "disabled", "autofocus"];
|
|
12792
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12464
12793
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
12465
12794
|
"div",
|
|
12466
12795
|
mergeProps({
|
|
@@ -12500,7 +12829,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12500
12829
|
checked: $setup.props.checked,
|
|
12501
12830
|
disabled: $setup.disabled,
|
|
12502
12831
|
autofocus: $setup.props.autofocus
|
|
12503
|
-
}, $setup.restAttrs), null, 16, _hoisted_1$
|
|
12832
|
+
}, $setup.restAttrs), null, 16, _hoisted_1$b)), [
|
|
12504
12833
|
[$setup["vCustomValidity"]]
|
|
12505
12834
|
]),
|
|
12506
12835
|
createElementVNode(
|
|
@@ -12521,8 +12850,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12521
12850
|
/* STABLE */
|
|
12522
12851
|
}, 16, ["disabled", "error-messages"]));
|
|
12523
12852
|
}
|
|
12524
|
-
const OnyxRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12525
|
-
const _sfc_main$
|
|
12853
|
+
const OnyxRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRadioButton/OnyxRadioButton.vue"]]);
|
|
12854
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
12526
12855
|
__name: "OnyxRadioGroup",
|
|
12527
12856
|
props: {
|
|
12528
12857
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -12569,19 +12898,19 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
12569
12898
|
return __returned__;
|
|
12570
12899
|
}
|
|
12571
12900
|
});
|
|
12572
|
-
const _hoisted_1$
|
|
12573
|
-
const _hoisted_2$
|
|
12901
|
+
const _hoisted_1$a = ["disabled", "aria-label"];
|
|
12902
|
+
const _hoisted_2$9 = {
|
|
12574
12903
|
key: 0,
|
|
12575
12904
|
class: "onyx-radio-group__label"
|
|
12576
12905
|
};
|
|
12577
|
-
function _sfc_render$
|
|
12906
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12578
12907
|
return openBlock(), createElementBlock("fieldset", {
|
|
12579
12908
|
class: normalizeClass(["onyx-component", "onyx-radio-group", $setup.densityClass, $setup.requiredTypeClass]),
|
|
12580
12909
|
disabled: $setup.disabled,
|
|
12581
12910
|
role: "radiogroup",
|
|
12582
12911
|
"aria-label": $setup.props.label
|
|
12583
12912
|
}, [
|
|
12584
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$
|
|
12913
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$9, [
|
|
12585
12914
|
createVNode($setup["OnyxHeadline"], {
|
|
12586
12915
|
is: "h3",
|
|
12587
12916
|
class: normalizeClass($setup.requiredMarkerClass)
|
|
@@ -12648,11 +12977,11 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12648
12977
|
2
|
|
12649
12978
|
/* CLASS */
|
|
12650
12979
|
)
|
|
12651
|
-
], 10, _hoisted_1$
|
|
12980
|
+
], 10, _hoisted_1$a);
|
|
12652
12981
|
}
|
|
12653
|
-
const OnyxRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12982
|
+
const OnyxRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRadioGroup/OnyxRadioGroup.vue"]]);
|
|
12654
12983
|
const LINK_TARGETS = ["_self", "_blank", "_parent", "_top"];
|
|
12655
|
-
const _sfc_main$
|
|
12984
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
12656
12985
|
...{ inheritAttrs: false },
|
|
12657
12986
|
__name: "OnyxSegmentedControlElement",
|
|
12658
12987
|
props: {
|
|
@@ -12679,13 +13008,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
12679
13008
|
return __returned__;
|
|
12680
13009
|
}
|
|
12681
13010
|
});
|
|
12682
|
-
const _hoisted_1$
|
|
12683
|
-
const _hoisted_2$
|
|
13011
|
+
const _hoisted_1$9 = ["id", "name", "value", "disabled", "aria-label", "autofocus", "checked"];
|
|
13012
|
+
const _hoisted_2$8 = ["for"];
|
|
12684
13013
|
const _hoisted_3$7 = {
|
|
12685
13014
|
key: 1,
|
|
12686
13015
|
class: "onyx-segmented-control-element__text"
|
|
12687
13016
|
};
|
|
12688
|
-
function _sfc_render$
|
|
13017
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12689
13018
|
return openBlock(), createElementBlock(
|
|
12690
13019
|
"div",
|
|
12691
13020
|
mergeProps($setup.rootAttrs, {
|
|
@@ -12705,7 +13034,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12705
13034
|
"aria-label": $setup.props.label,
|
|
12706
13035
|
autofocus: $setup.props.autofocus,
|
|
12707
13036
|
checked: $setup.props.checked
|
|
12708
|
-
}), null, 16, _hoisted_1$
|
|
13037
|
+
}), null, 16, _hoisted_1$9)
|
|
12709
13038
|
]),
|
|
12710
13039
|
_: 1
|
|
12711
13040
|
/* STABLE */
|
|
@@ -12726,14 +13055,14 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12726
13055
|
1
|
|
12727
13056
|
/* TEXT */
|
|
12728
13057
|
)) : createCommentVNode("v-if", true)
|
|
12729
|
-
], 8, _hoisted_2$
|
|
13058
|
+
], 8, _hoisted_2$8)
|
|
12730
13059
|
],
|
|
12731
13060
|
16
|
|
12732
13061
|
/* FULL_PROPS */
|
|
12733
13062
|
);
|
|
12734
13063
|
}
|
|
12735
|
-
const OnyxSegmentedControlElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12736
|
-
const _sfc_main$
|
|
13064
|
+
const OnyxSegmentedControlElement = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSegmentedControlElement/OnyxSegmentedControlElement.vue"]]);
|
|
13065
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
12737
13066
|
__name: "OnyxSegmentedControl",
|
|
12738
13067
|
props: {
|
|
12739
13068
|
density: { type: null, required: false },
|
|
@@ -12762,7 +13091,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
12762
13091
|
return __returned__;
|
|
12763
13092
|
}
|
|
12764
13093
|
});
|
|
12765
|
-
function _sfc_render$
|
|
13094
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12766
13095
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
12767
13096
|
key: 0,
|
|
12768
13097
|
class: normalizeClass(["onyx-segmented-control-skeleton", $setup.densityClass])
|
|
@@ -12793,10 +13122,10 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12793
13122
|
/* CLASS */
|
|
12794
13123
|
));
|
|
12795
13124
|
}
|
|
12796
|
-
const OnyxSegmentedControl = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13125
|
+
const OnyxSegmentedControl = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSegmentedControl/OnyxSegmentedControl.vue"]]);
|
|
12797
13126
|
const SELECT_ALIGNMENTS = ["full", "left", "right"];
|
|
12798
13127
|
const MULTISELECT_TEXT_MODE = ["summary", "preview"];
|
|
12799
|
-
const _sfc_main$
|
|
13128
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
12800
13129
|
__name: "OnyxSidebarItem",
|
|
12801
13130
|
props: {
|
|
12802
13131
|
density: { type: null, required: false },
|
|
@@ -12824,7 +13153,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
12824
13153
|
return __returned__;
|
|
12825
13154
|
}
|
|
12826
13155
|
});
|
|
12827
|
-
function _sfc_render$
|
|
13156
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12828
13157
|
return $setup.link ? (openBlock(), createBlock($setup["OnyxRouterLink"], mergeProps({
|
|
12829
13158
|
key: 0,
|
|
12830
13159
|
class: $setup.classes
|
|
@@ -12848,12 +13177,12 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12848
13177
|
/* CLASS */
|
|
12849
13178
|
));
|
|
12850
13179
|
}
|
|
12851
|
-
const OnyxSidebarItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13180
|
+
const OnyxSidebarItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSidebar/modules/OnyxSidebarItem/OnyxSidebarItem.vue"]]);
|
|
12852
13181
|
const arrowSmallLeft = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.618 11.626H8.936l3.094-3.094-1.064-1.056-4.899 4.898 4.9 4.9 1.063-1.064-3.094-3.086h8.682z"/></svg>';
|
|
12853
13182
|
const arrowSmallRight = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.026 7.476 11.97 8.532l3.086 3.094H6.382v1.498h8.674L11.97 16.21l1.056 1.063 4.9-4.898z"/></svg>';
|
|
12854
13183
|
const sidebarArrowLeft = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.743 3.038H5.258A2.26 2.26 0 0 0 3 5.295V18.78a2.26 2.26 0 0 0 2.258 2.258H18.75a2.25 2.25 0 0 0 2.25-2.25V5.295a2.26 2.26 0 0 0-2.258-2.257M4.5 18.78V5.295c0-.42.338-.757.758-.757H8.25v15H5.258a.755.755 0 0 1-.758-.758m15 .008c0 .412-.337.75-.75.75h-9v-15h8.993c.42 0 .757.337.757.757z"/><path d="m15.218 8.558-3.48 3.48 3.48 3.48 1.064-1.058-2.422-2.423 2.422-2.422z"/></svg>';
|
|
12855
13184
|
const sidebarArrowRight = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.743 3.038H5.258A2.26 2.26 0 0 0 3 5.295V18.78a2.26 2.26 0 0 0 2.258 2.258H18.75a2.25 2.25 0 0 0 2.25-2.25V5.295a2.26 2.26 0 0 0-2.258-2.257M4.5 18.78V5.295c0-.42.338-.757.758-.757H8.25v15H5.258a.755.755 0 0 1-.758-.758m15 .008c0 .412-.337.75-.75.75h-9v-15h8.993c.42 0 .757.337.757.757z"/><path d="m12.27 9.615 2.423 2.422-2.423 2.423 1.058 1.057 3.48-3.48-3.48-3.48z"/></svg>';
|
|
12856
|
-
const _sfc_main$
|
|
13185
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
12857
13186
|
__name: "OnyxSidebar",
|
|
12858
13187
|
props: {
|
|
12859
13188
|
density: { type: null, required: false },
|
|
@@ -12941,8 +13270,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
12941
13270
|
return __returned__;
|
|
12942
13271
|
}
|
|
12943
13272
|
});
|
|
12944
|
-
const _hoisted_1$
|
|
12945
|
-
const _hoisted_2$
|
|
13273
|
+
const _hoisted_1$8 = ["aria-label"];
|
|
13274
|
+
const _hoisted_2$7 = {
|
|
12946
13275
|
key: 0,
|
|
12947
13276
|
class: "onyx-sidebar__header"
|
|
12948
13277
|
};
|
|
@@ -12952,7 +13281,7 @@ const _hoisted_4$6 = {
|
|
|
12952
13281
|
class: "onyx-sidebar__footer"
|
|
12953
13282
|
};
|
|
12954
13283
|
const _hoisted_5$6 = { class: "onyx-sidebar__footer" };
|
|
12955
|
-
function _sfc_render$
|
|
13284
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12956
13285
|
return !$setup.props.temporary && !$setup.shouldCollapse ? (openBlock(), createElementBlock("aside", {
|
|
12957
13286
|
key: 0,
|
|
12958
13287
|
ref: "sidebarRef",
|
|
@@ -12966,7 +13295,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12966
13295
|
"aria-label": $setup.props.label,
|
|
12967
13296
|
style: normalizeStyle($setup.widthStyle)
|
|
12968
13297
|
}, [
|
|
12969
|
-
!!$setup.slots.header ? (openBlock(), createElementBlock("header", _hoisted_2$
|
|
13298
|
+
!!$setup.slots.header ? (openBlock(), createElementBlock("header", _hoisted_2$7, [
|
|
12970
13299
|
renderSlot(_ctx.$slots, "header")
|
|
12971
13300
|
])) : createCommentVNode("v-if", true),
|
|
12972
13301
|
createElementVNode("div", _hoisted_3$6, [
|
|
@@ -12979,7 +13308,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12979
13308
|
key: 2,
|
|
12980
13309
|
element: $setup.sidebarElement
|
|
12981
13310
|
}, $setup.resizeHandleProps), null, 16, ["element"])) : createCommentVNode("v-if", true)
|
|
12982
|
-
], 14, _hoisted_1$
|
|
13311
|
+
], 14, _hoisted_1$8)) : (openBlock(), createBlock($setup["OnyxModal"], mergeProps({ key: 1 }, $setup.props.temporary, {
|
|
12983
13312
|
ref: "modalRef",
|
|
12984
13313
|
open: $setup.isModalOpen,
|
|
12985
13314
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isModalOpen = $event),
|
|
@@ -13031,10 +13360,10 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13031
13360
|
} : void 0
|
|
13032
13361
|
]), 1040, ["open", "class", "label", "density", "style", "alignment"]));
|
|
13033
13362
|
}
|
|
13034
|
-
const OnyxSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13363
|
+
const OnyxSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSidebar/OnyxSidebar.vue"]]);
|
|
13035
13364
|
const SIDEBAR_ALIGNMENT = ["left", "right"];
|
|
13036
13365
|
const __default__ = {};
|
|
13037
|
-
const _sfc_main$
|
|
13366
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
13038
13367
|
...__default__,
|
|
13039
13368
|
__name: "OnyxSlider",
|
|
13040
13369
|
props: {
|
|
@@ -13126,8 +13455,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
13126
13455
|
return __returned__;
|
|
13127
13456
|
}
|
|
13128
13457
|
});
|
|
13129
|
-
const _hoisted_1$
|
|
13130
|
-
const _hoisted_2$
|
|
13458
|
+
const _hoisted_1$7 = { class: "onyx-slider__container" };
|
|
13459
|
+
const _hoisted_2$6 = {
|
|
13131
13460
|
key: 0,
|
|
13132
13461
|
class: "onyx-slider__control",
|
|
13133
13462
|
"aria-hidden": "true"
|
|
@@ -13146,7 +13475,7 @@ const _hoisted_6$4 = {
|
|
|
13146
13475
|
key: 3,
|
|
13147
13476
|
class: "onyx-slider__control"
|
|
13148
13477
|
};
|
|
13149
|
-
function _sfc_render$
|
|
13478
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13150
13479
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
13151
13480
|
"div",
|
|
13152
13481
|
{
|
|
@@ -13183,10 +13512,10 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13183
13512
|
"error-messages": $setup.errorMessages
|
|
13184
13513
|
}), {
|
|
13185
13514
|
default: withCtx(({ id: inputId }) => [
|
|
13186
|
-
createElementVNode("div", _hoisted_1$
|
|
13515
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
13187
13516
|
$setup.isValueControl ? (openBlock(), createElementBlock(
|
|
13188
13517
|
"div",
|
|
13189
|
-
_hoisted_2$
|
|
13518
|
+
_hoisted_2$6,
|
|
13190
13519
|
toDisplayString($setup.min),
|
|
13191
13520
|
1
|
|
13192
13521
|
/* TEXT */
|
|
@@ -13350,10 +13679,10 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13350
13679
|
/* CLASS */
|
|
13351
13680
|
));
|
|
13352
13681
|
}
|
|
13353
|
-
const OnyxSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13682
|
+
const OnyxSlider = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSlider/OnyxSlider.vue"]]);
|
|
13354
13683
|
const SLIDER_CONTROLS = ["icon", "value", "input"];
|
|
13355
13684
|
const SLIDER_MODES = ["single", "range"];
|
|
13356
|
-
const _sfc_main$
|
|
13685
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
13357
13686
|
...{ inheritAttrs: false },
|
|
13358
13687
|
__name: "OnyxStepper",
|
|
13359
13688
|
props: {
|
|
@@ -13471,15 +13800,15 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
13471
13800
|
return __returned__;
|
|
13472
13801
|
}
|
|
13473
13802
|
});
|
|
13474
|
-
const _hoisted_1$
|
|
13475
|
-
const _hoisted_2$
|
|
13803
|
+
const _hoisted_1$6 = { class: "onyx-stepper__wrapper" };
|
|
13804
|
+
const _hoisted_2$5 = ["disabled", "aria-label"];
|
|
13476
13805
|
const _hoisted_3$4 = ["id", "aria-label", "autofocus", "disabled", "min", "max", "name", "placeholder", "readonly", "required", "step", "title"];
|
|
13477
13806
|
const _hoisted_4$4 = {
|
|
13478
13807
|
class: "onyx-stepper__display",
|
|
13479
13808
|
"aria-hidden": "true"
|
|
13480
13809
|
};
|
|
13481
13810
|
const _hoisted_5$4 = ["disabled", "aria-label"];
|
|
13482
|
-
function _sfc_render$
|
|
13811
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13483
13812
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
13484
13813
|
"div",
|
|
13485
13814
|
mergeProps({
|
|
@@ -13508,7 +13837,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13508
13837
|
"error-messages": $setup.errorMessages
|
|
13509
13838
|
}), {
|
|
13510
13839
|
default: withCtx(({ id: inputId }) => [
|
|
13511
|
-
createElementVNode("div", _hoisted_1$
|
|
13840
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
13512
13841
|
!$setup.props.hideButtons ? (openBlock(), createElementBlock("button", {
|
|
13513
13842
|
key: 0,
|
|
13514
13843
|
type: "button",
|
|
@@ -13519,7 +13848,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13519
13848
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.handleClick("stepDown"))
|
|
13520
13849
|
}, [
|
|
13521
13850
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconMinus }, null, 8, ["icon"])
|
|
13522
|
-
], 8, _hoisted_2$
|
|
13851
|
+
], 8, _hoisted_2$5)) : createCommentVNode("v-if", true),
|
|
13523
13852
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
13524
13853
|
key: 1,
|
|
13525
13854
|
class: "onyx-stepper__loading",
|
|
@@ -13581,8 +13910,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13581
13910
|
/* FULL_PROPS */
|
|
13582
13911
|
));
|
|
13583
13912
|
}
|
|
13584
|
-
const OnyxStepper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13585
|
-
const _sfc_main$
|
|
13913
|
+
const OnyxStepper = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxStepper/OnyxStepper.vue"]]);
|
|
13914
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
13586
13915
|
...{ inheritAttrs: false },
|
|
13587
13916
|
__name: "OnyxSwitch",
|
|
13588
13917
|
props: {
|
|
@@ -13632,13 +13961,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
13632
13961
|
return __returned__;
|
|
13633
13962
|
}
|
|
13634
13963
|
});
|
|
13635
|
-
const _hoisted_1$
|
|
13636
|
-
const _hoisted_2$
|
|
13964
|
+
const _hoisted_1$5 = { class: "onyx-switch-skeleton__click-area" };
|
|
13965
|
+
const _hoisted_2$4 = ["title"];
|
|
13637
13966
|
const _hoisted_3$3 = ["aria-label", "disabled", "required", "autofocus"];
|
|
13638
13967
|
const _hoisted_4$3 = { class: "onyx-switch__click-area" };
|
|
13639
13968
|
const _hoisted_5$3 = { class: "onyx-switch__container" };
|
|
13640
13969
|
const _hoisted_6$3 = { class: "onyx-switch__icon" };
|
|
13641
|
-
function _sfc_render$
|
|
13970
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13642
13971
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
13643
13972
|
"div",
|
|
13644
13973
|
mergeProps({
|
|
@@ -13646,7 +13975,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13646
13975
|
class: ["onyx-component", "onyx-switch-skeleton", $setup.densityClass]
|
|
13647
13976
|
}, $setup.rootAttrs),
|
|
13648
13977
|
[
|
|
13649
|
-
createElementVNode("span", _hoisted_1$
|
|
13978
|
+
createElementVNode("span", _hoisted_1$5, [
|
|
13650
13979
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-switch-skeleton__input" })
|
|
13651
13980
|
]),
|
|
13652
13981
|
!$setup.props.hideLabel ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
@@ -13725,162 +14054,14 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13725
14054
|
2
|
|
13726
14055
|
/* CLASS */
|
|
13727
14056
|
)) : createCommentVNode("v-if", true)
|
|
13728
|
-
], 10, _hoisted_2$
|
|
14057
|
+
], 10, _hoisted_2$4)
|
|
13729
14058
|
]),
|
|
13730
14059
|
_: 1
|
|
13731
14060
|
/* STABLE */
|
|
13732
14061
|
}, 16, ["disabled", "error-messages"]));
|
|
13733
14062
|
}
|
|
13734
|
-
const OnyxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14063
|
+
const OnyxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSwitch/OnyxSwitch.vue"]]);
|
|
13735
14064
|
const SYSTEM_BUTTON_COLORS = ["intense", "soft", "medium"];
|
|
13736
|
-
const TABS_INJECTION_KEY = Symbol();
|
|
13737
|
-
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
13738
|
-
__name: "OnyxTab",
|
|
13739
|
-
props: {
|
|
13740
|
-
density: { type: null, required: false },
|
|
13741
|
-
value: { type: null, required: true },
|
|
13742
|
-
label: { type: String, required: false },
|
|
13743
|
-
disabled: { type: Boolean, required: false, default: false },
|
|
13744
|
-
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
13745
|
-
},
|
|
13746
|
-
setup(__props, { expose: __expose }) {
|
|
13747
|
-
__expose();
|
|
13748
|
-
const props = __props;
|
|
13749
|
-
const { densityClass } = useDensity(props);
|
|
13750
|
-
const tabsContext = inject(TABS_INJECTION_KEY, void 0);
|
|
13751
|
-
const skeleton = useSkeletonContext(props);
|
|
13752
|
-
const sizeClass = computed(() => `onyx-tab--${tabsContext?.size.value}`);
|
|
13753
|
-
const tab = computed(
|
|
13754
|
-
() => tabsContext?.headless.elements.tab.value({
|
|
13755
|
-
value: props.value,
|
|
13756
|
-
disabled: props.disabled || !!skeleton.value
|
|
13757
|
-
})
|
|
13758
|
-
);
|
|
13759
|
-
const __returned__ = { props, densityClass, tabsContext, skeleton, sizeClass, tab, OnyxSkeleton };
|
|
13760
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
13761
|
-
return __returned__;
|
|
13762
|
-
}
|
|
13763
|
-
});
|
|
13764
|
-
const _hoisted_1$5 = ["disabled"];
|
|
13765
|
-
const _hoisted_2$4 = { class: "onyx-tab__label" };
|
|
13766
|
-
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13767
|
-
return openBlock(), createElementBlock(
|
|
13768
|
-
Fragment,
|
|
13769
|
-
null,
|
|
13770
|
-
[
|
|
13771
|
-
$setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], mergeProps({
|
|
13772
|
-
key: 0,
|
|
13773
|
-
class: ["onyx-tab-skeleton", $setup.densityClass, $setup.sizeClass]
|
|
13774
|
-
}, $setup.tab), null, 16, ["class"])) : (openBlock(), createElementBlock("button", mergeProps({
|
|
13775
|
-
key: 1,
|
|
13776
|
-
class: [
|
|
13777
|
-
"onyx-component",
|
|
13778
|
-
"onyx-tab",
|
|
13779
|
-
$setup.densityClass,
|
|
13780
|
-
$setup.sizeClass,
|
|
13781
|
-
{ "onyx-tab--selected": $setup.tab?.["aria-selected"] }
|
|
13782
|
-
]
|
|
13783
|
-
}, $setup.tab, {
|
|
13784
|
-
type: "button",
|
|
13785
|
-
disabled: $setup.props.disabled
|
|
13786
|
-
}), [
|
|
13787
|
-
createElementVNode("div", _hoisted_2$4, [
|
|
13788
|
-
renderSlot(_ctx.$slots, "tab", {}, () => [
|
|
13789
|
-
createTextVNode(
|
|
13790
|
-
toDisplayString($setup.props.label),
|
|
13791
|
-
1
|
|
13792
|
-
/* TEXT */
|
|
13793
|
-
)
|
|
13794
|
-
])
|
|
13795
|
-
])
|
|
13796
|
-
], 16, _hoisted_1$5)),
|
|
13797
|
-
$setup.tabsContext?.panel.value ? (openBlock(), createBlock(Teleport, {
|
|
13798
|
-
key: 2,
|
|
13799
|
-
to: $setup.tabsContext?.panel.value,
|
|
13800
|
-
defer: ""
|
|
13801
|
-
}, [
|
|
13802
|
-
$setup.tab?.["aria-selected"] ? (openBlock(), createElementBlock(
|
|
13803
|
-
"div",
|
|
13804
|
-
mergeProps({ key: 0 }, $setup.tabsContext?.headless.elements.tabpanel.value({ value: $setup.props.value }), { class: "onyx-tab__panel" }),
|
|
13805
|
-
[
|
|
13806
|
-
renderSlot(_ctx.$slots, "default")
|
|
13807
|
-
],
|
|
13808
|
-
16
|
|
13809
|
-
/* FULL_PROPS */
|
|
13810
|
-
)) : createCommentVNode("v-if", true)
|
|
13811
|
-
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
13812
|
-
],
|
|
13813
|
-
64
|
|
13814
|
-
/* STABLE_FRAGMENT */
|
|
13815
|
-
);
|
|
13816
|
-
}
|
|
13817
|
-
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTab/OnyxTab.vue"]]);
|
|
13818
|
-
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
13819
|
-
__name: "OnyxTabs",
|
|
13820
|
-
props: {
|
|
13821
|
-
density: { type: null, required: false },
|
|
13822
|
-
skeleton: { type: Boolean, required: false },
|
|
13823
|
-
label: { type: String, required: true },
|
|
13824
|
-
modelValue: { type: null, required: true },
|
|
13825
|
-
stretched: { type: Boolean, required: false },
|
|
13826
|
-
size: { type: String, required: false, default: "h2" }
|
|
13827
|
-
},
|
|
13828
|
-
emits: ["update:modelValue"],
|
|
13829
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13830
|
-
__expose();
|
|
13831
|
-
const props = __props;
|
|
13832
|
-
const emit = __emit;
|
|
13833
|
-
const { densityClass } = useDensity(props);
|
|
13834
|
-
const modelValue = useVModel({
|
|
13835
|
-
props,
|
|
13836
|
-
emit,
|
|
13837
|
-
key: "modelValue"
|
|
13838
|
-
});
|
|
13839
|
-
const headless = createTabs({
|
|
13840
|
-
label: toRef(props, "label"),
|
|
13841
|
-
selectedTab: toRef(() => modelValue.value),
|
|
13842
|
-
onSelect: (tab) => modelValue.value = tab
|
|
13843
|
-
});
|
|
13844
|
-
const panel = useTemplateRef("panelRef");
|
|
13845
|
-
provideSkeletonContext(props);
|
|
13846
|
-
provide(TABS_INJECTION_KEY, {
|
|
13847
|
-
headless,
|
|
13848
|
-
panel,
|
|
13849
|
-
size: toRef(props, "size")
|
|
13850
|
-
});
|
|
13851
|
-
const __returned__ = { props, emit, densityClass, modelValue, headless, panel };
|
|
13852
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
13853
|
-
return __returned__;
|
|
13854
|
-
}
|
|
13855
|
-
});
|
|
13856
|
-
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13857
|
-
return openBlock(), createElementBlock(
|
|
13858
|
-
"div",
|
|
13859
|
-
{
|
|
13860
|
-
ref: "panelRef",
|
|
13861
|
-
class: normalizeClass([
|
|
13862
|
-
"onyx-component",
|
|
13863
|
-
"onyx-tabs",
|
|
13864
|
-
$setup.densityClass,
|
|
13865
|
-
{ "onyx-tabs--stretched": $setup.props.stretched }
|
|
13866
|
-
])
|
|
13867
|
-
},
|
|
13868
|
-
[
|
|
13869
|
-
createElementVNode(
|
|
13870
|
-
"div",
|
|
13871
|
-
mergeProps($setup.headless.elements.tablist.value, { class: "onyx-tabs__tablist" }),
|
|
13872
|
-
[
|
|
13873
|
-
renderSlot(_ctx.$slots, "default")
|
|
13874
|
-
],
|
|
13875
|
-
16
|
|
13876
|
-
/* FULL_PROPS */
|
|
13877
|
-
)
|
|
13878
|
-
],
|
|
13879
|
-
2
|
|
13880
|
-
/* CLASS */
|
|
13881
|
-
);
|
|
13882
|
-
}
|
|
13883
|
-
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTabs/OnyxTabs.vue"]]);
|
|
13884
14065
|
const circleAttention = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.25 16.5h1.5V18h-1.5zM12.75 6h-1.5v8.25h1.5z"/><path fill-rule="evenodd" d="M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21m6.364 16.864A9 9 0 1 1 21 12a8.94 8.94 0 0 1-2.636 6.364" clip-rule="evenodd"/></svg>';
|
|
13885
14066
|
const useFileSize = () => {
|
|
13886
14067
|
const { locale } = injectI18n();
|
|
@@ -15263,6 +15444,7 @@ export {
|
|
|
15263
15444
|
BUTTON_COLORS,
|
|
15264
15445
|
BUTTON_MODES,
|
|
15265
15446
|
BUTTON_TYPES,
|
|
15447
|
+
CODE_TABS_INJECTION_KEY,
|
|
15266
15448
|
DENSITIES,
|
|
15267
15449
|
DIALOG_ALIGNMENTS,
|
|
15268
15450
|
all as DataGridFeatures,
|
|
@@ -15374,6 +15556,8 @@ export {
|
|
|
15374
15556
|
OnyxToastMessage,
|
|
15375
15557
|
OnyxTooltip,
|
|
15376
15558
|
OnyxCalendar as OnyxUnstableCalendar,
|
|
15559
|
+
OnyxCodeTab as OnyxUnstableCodeTab,
|
|
15560
|
+
OnyxCodeTabs as OnyxUnstableCodeTabs,
|
|
15377
15561
|
OnyxSlider as OnyxUnstableSlider,
|
|
15378
15562
|
OnyxUserMenu,
|
|
15379
15563
|
OnyxVisuallyHidden,
|