sit-onyx 1.5.0-dev-20251205074353 → 1.5.0-dev-20251209074642
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/OnyxTimepicker/OnyxTimepicker.d.vue.ts +134 -0
- package/dist/components/OnyxTimepicker/OnyxTimepickerInput.d.vue.ts +50 -0
- package/dist/components/OnyxTimepicker/types.d.ts +21 -0
- package/dist/i18n/locales/de-DE.json +14 -0
- package/dist/i18n/locales/en-US.json +14 -0
- package/dist/i18n/locales/en-US.json.d.ts +14 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm-bundler.js +1165 -724
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +3123 -2786
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -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, iconFileCopy, iconSearch, iconCheck, iconSearchX, iconChevronDownUp, iconCheckSmall, iconPlusSmall, iconEyeDisabled, iconListArrowUp, iconListArrowDown, iconArrowsSort, iconCircleBlock, iconEyeClosed, iconEye, iconFileDisabled, iconCircleContrast, iconTranslate, iconMenu, iconNotificationFlag, iconPlus, iconMinus, iconMinusSmall, 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, iconEyeClosed, iconEye, iconFileDisabled, iconCircleContrast, iconTranslate, iconMenu, iconNotificationFlag, iconPlus, iconMinus, iconMinusSmall, iconClock, 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$1P = /* @__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$1P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
123
123
|
return openBlock(), createElementBlock(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
@@ -137,7 +137,7 @@ function _sfc_render$1N(_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$1P, [["render", _sfc_render$1P], ["__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$1O = /* @__PURE__ */ defineComponent({
|
|
154
154
|
__name: "OnyxIcon",
|
|
155
155
|
props: {
|
|
156
156
|
size: { type: null, required: false },
|
|
@@ -166,8 +166,8 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
return __returned__;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
const _hoisted_1$
|
|
170
|
-
function _sfc_render$
|
|
169
|
+
const _hoisted_1$1k = ["innerHTML"];
|
|
170
|
+
function _sfc_render$1O(_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$1M(_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$1k);
|
|
182
182
|
}
|
|
183
|
-
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
183
|
+
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1O], ["__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$1N = /* @__PURE__ */ defineComponent({
|
|
200
200
|
__name: "OnyxSkeleton",
|
|
201
201
|
setup(__props, { expose: __expose }) {
|
|
202
202
|
__expose();
|
|
@@ -206,15 +206,15 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return __returned__;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
const _hoisted_1$
|
|
209
|
+
const _hoisted_1$1j = {
|
|
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$1N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
214
|
+
return openBlock(), createElementBlock("figure", _hoisted_1$1j);
|
|
215
215
|
}
|
|
216
|
-
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
217
|
-
const _sfc_main$
|
|
216
|
+
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _sfc_render$1N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSkeleton/OnyxSkeleton.vue"]]);
|
|
217
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
218
218
|
__name: "OnyxAccordionItem",
|
|
219
219
|
props: {
|
|
220
220
|
density: { type: null, required: false },
|
|
@@ -251,11 +251,11 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
return __returned__;
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
const _hoisted_1$
|
|
255
|
-
const _hoisted_2$
|
|
256
|
-
const _hoisted_3$
|
|
257
|
-
const _hoisted_4$
|
|
258
|
-
function _sfc_render$
|
|
254
|
+
const _hoisted_1$1i = ["open"];
|
|
255
|
+
const _hoisted_2$Y = ["id", "tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
256
|
+
const _hoisted_3$C = { class: "onyx-accordion-item__header-content" };
|
|
257
|
+
const _hoisted_4$p = ["id", "aria-labelledby"];
|
|
258
|
+
function _sfc_render$1M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
259
259
|
return $setup.showSkeleton ? (openBlock(), createBlock(resolveDynamicComponent($setup.type === "card" ? $setup.OnyxSkeleton : "div"), {
|
|
260
260
|
key: 0,
|
|
261
261
|
class: normalizeClass([
|
|
@@ -291,14 +291,14 @@ function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
291
|
"aria-disabled": $setup.isDisabled,
|
|
292
292
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $setup.isOpen = !$setup.isOpen, ["prevent"]))
|
|
293
293
|
}, [
|
|
294
|
-
createElementVNode("div", _hoisted_3$
|
|
294
|
+
createElementVNode("div", _hoisted_3$C, [
|
|
295
295
|
renderSlot(_ctx.$slots, "header")
|
|
296
296
|
]),
|
|
297
297
|
createVNode($setup["OnyxIcon"], {
|
|
298
298
|
icon: $setup.iconChevronDownSmall,
|
|
299
299
|
class: "onyx-accordion-item__header-icon"
|
|
300
300
|
}, null, 8, ["icon"])
|
|
301
|
-
], 8, _hoisted_2$
|
|
301
|
+
], 8, _hoisted_2$Y),
|
|
302
302
|
createElementVNode("div", {
|
|
303
303
|
id: $setup.panelId,
|
|
304
304
|
class: "onyx-accordion-item__panel",
|
|
@@ -306,10 +306,10 @@ function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
306
306
|
"aria-labelledby": $setup.headerId
|
|
307
307
|
}, [
|
|
308
308
|
renderSlot(_ctx.$slots, "default")
|
|
309
|
-
], 8, _hoisted_4$
|
|
310
|
-
], 10, _hoisted_1$
|
|
309
|
+
], 8, _hoisted_4$p)
|
|
310
|
+
], 10, _hoisted_1$1i));
|
|
311
311
|
}
|
|
312
|
-
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
312
|
+
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1M], ["__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" },
|
|
@@ -359,6 +359,7 @@ const flyoutMenu = { "moreActions": "More actions", "toggleActions": { "click":
|
|
|
359
359
|
const slider = { "decreaseValueBy": "Decrease value by {n}", "increaseValueBy": "Increase value by {n}", "changeValue": "Change value", "changeStartValue": "Change start value", "changeEndValue": "Change end value" };
|
|
360
360
|
const codeTabs = { "label": "Code snippets", "copySnippet": "Copy code", "copied": "Copied!", "failed": "Failed!", "tabLabel": "Code" };
|
|
361
361
|
const globalSearch = { "label": "Global search", "searchResults": "Search results", "input": { "label": "Search for content", "placeholder": "Search..." }, "shortcuts": { "move": "Navigate", "select": "Select" }, "system": "System" };
|
|
362
|
+
const timepicker = { "placeholder": { "hour": "HH", "minute": "MM", "second": "SS" }, "labels": { "iconButton": "Open Timepicker", "popover": "Timepicker Popover", "hour": "Hour", "minute": "Minute", "second": "Second" } };
|
|
362
363
|
const enUS = {
|
|
363
364
|
yes,
|
|
364
365
|
no,
|
|
@@ -394,7 +395,8 @@ const enUS = {
|
|
|
394
395
|
flyoutMenu,
|
|
395
396
|
slider,
|
|
396
397
|
codeTabs,
|
|
397
|
-
globalSearch
|
|
398
|
+
globalSearch,
|
|
399
|
+
timepicker
|
|
398
400
|
};
|
|
399
401
|
const NUMBER_FORMATS = {
|
|
400
402
|
decimal: { style: "decimal" }
|
|
@@ -1874,7 +1876,7 @@ const createTooltip = createBuilder(({ debounce: debounce2, isVisible }) => {
|
|
|
1874
1876
|
}
|
|
1875
1877
|
};
|
|
1876
1878
|
});
|
|
1877
|
-
const _sfc_main$
|
|
1879
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
1878
1880
|
__name: "OnyxBasicDialog",
|
|
1879
1881
|
props: {
|
|
1880
1882
|
density: { type: null, required: false },
|
|
@@ -1935,12 +1937,12 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
1935
1937
|
return __returned__;
|
|
1936
1938
|
}
|
|
1937
1939
|
});
|
|
1938
|
-
const _hoisted_1$
|
|
1939
|
-
const _hoisted_2$
|
|
1940
|
+
const _hoisted_1$1h = ["aria-modal", "aria-label", "role"];
|
|
1941
|
+
const _hoisted_2$X = {
|
|
1940
1942
|
ref: "contentRef",
|
|
1941
1943
|
class: "onyx-basic-dialog__content"
|
|
1942
1944
|
};
|
|
1943
|
-
function _sfc_render$
|
|
1945
|
+
function _sfc_render$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1944
1946
|
return $setup.props.open ? (openBlock(), createElementBlock("dialog", {
|
|
1945
1947
|
key: 0,
|
|
1946
1948
|
ref: "dialogRef",
|
|
@@ -1959,16 +1961,16 @@ function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1959
1961
|
}, [
|
|
1960
1962
|
createElementVNode(
|
|
1961
1963
|
"div",
|
|
1962
|
-
_hoisted_2$
|
|
1964
|
+
_hoisted_2$X,
|
|
1963
1965
|
[
|
|
1964
1966
|
renderSlot(_ctx.$slots, "default")
|
|
1965
1967
|
],
|
|
1966
1968
|
512
|
|
1967
1969
|
/* NEED_PATCH */
|
|
1968
1970
|
)
|
|
1969
|
-
], 42, _hoisted_1$
|
|
1971
|
+
], 42, _hoisted_1$1h)) : createCommentVNode("v-if", true);
|
|
1970
1972
|
}
|
|
1971
|
-
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1973
|
+
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicDialog/OnyxBasicDialog.vue"]]);
|
|
1972
1974
|
const normalizedIncludes = (haystack, needle) => {
|
|
1973
1975
|
const haystackNormalized = removeDiacritics(haystack.toLowerCase());
|
|
1974
1976
|
const needleNormalized = removeDiacritics(needle.toLowerCase());
|
|
@@ -2050,7 +2052,7 @@ const normalizeHref = (href) => {
|
|
|
2050
2052
|
return value.replace(/\/+$/, "");
|
|
2051
2053
|
};
|
|
2052
2054
|
const ROUTER_INJECTION_KEY = Symbol();
|
|
2053
|
-
const _sfc_main$
|
|
2055
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
2054
2056
|
__name: "OnyxVisuallyHidden",
|
|
2055
2057
|
props: {
|
|
2056
2058
|
is: { type: String, required: false, default: "span" }
|
|
@@ -2063,7 +2065,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2063
2065
|
return __returned__;
|
|
2064
2066
|
}
|
|
2065
2067
|
});
|
|
2066
|
-
function _sfc_render$
|
|
2068
|
+
function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2067
2069
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.is), { class: "onyx-component onyx-visually-hidden" }, {
|
|
2068
2070
|
default: withCtx(() => [
|
|
2069
2071
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -2072,8 +2074,8 @@ function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2072
2074
|
/* FORWARDED */
|
|
2073
2075
|
});
|
|
2074
2076
|
}
|
|
2075
|
-
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2076
|
-
const _sfc_main$
|
|
2077
|
+
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue"]]);
|
|
2078
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
2077
2079
|
__name: "OnyxRouterLink",
|
|
2078
2080
|
props: {
|
|
2079
2081
|
href: { type: String, required: true },
|
|
@@ -2089,8 +2091,8 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
2089
2091
|
return __returned__;
|
|
2090
2092
|
}
|
|
2091
2093
|
});
|
|
2092
|
-
const _hoisted_1$
|
|
2093
|
-
function _sfc_render$
|
|
2094
|
+
const _hoisted_1$1g = ["href", "target", "rel"];
|
|
2095
|
+
function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2094
2096
|
return openBlock(), createElementBlock("a", {
|
|
2095
2097
|
class: normalizeClass([
|
|
2096
2098
|
"onyx-component",
|
|
@@ -2114,10 +2116,10 @@ function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2114
2116
|
_: 1
|
|
2115
2117
|
/* STABLE */
|
|
2116
2118
|
})) : createCommentVNode("v-if", true)
|
|
2117
|
-
], 10, _hoisted_1$
|
|
2119
|
+
], 10, _hoisted_1$1g);
|
|
2118
2120
|
}
|
|
2119
|
-
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2120
|
-
const _sfc_main$
|
|
2121
|
+
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRouterLink/OnyxRouterLink.vue"]]);
|
|
2122
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
2121
2123
|
__name: "OnyxHeadline",
|
|
2122
2124
|
props: {
|
|
2123
2125
|
is: { type: null, required: true },
|
|
@@ -2142,7 +2144,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2142
2144
|
return __returned__;
|
|
2143
2145
|
}
|
|
2144
2146
|
});
|
|
2145
|
-
function _sfc_render$
|
|
2147
|
+
function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2146
2148
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2147
2149
|
key: 0,
|
|
2148
2150
|
class: normalizeClass(["onyx-headline-skeleton", `onyx-headline-skeleton--${$setup.showAs}`])
|
|
@@ -2182,7 +2184,7 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2182
2184
|
/* FORWARDED */
|
|
2183
2185
|
}, 8, ["id", "class"]));
|
|
2184
2186
|
}
|
|
2185
|
-
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2187
|
+
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxHeadline/OnyxHeadline.vue"]]);
|
|
2186
2188
|
const useAutofocus = (inputRef, props) => {
|
|
2187
2189
|
if (!props.autofocus) {
|
|
2188
2190
|
return;
|
|
@@ -2233,7 +2235,7 @@ const useFormContext = (props) => {
|
|
|
2233
2235
|
DEFAULT_FORM_INJECTION_CONTEXT
|
|
2234
2236
|
)(toRef(props));
|
|
2235
2237
|
};
|
|
2236
|
-
const _sfc_main$
|
|
2238
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
2237
2239
|
__name: "ButtonOrLinkLayout",
|
|
2238
2240
|
props: {
|
|
2239
2241
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -2256,8 +2258,8 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2256
2258
|
return __returned__;
|
|
2257
2259
|
}
|
|
2258
2260
|
});
|
|
2259
|
-
const _hoisted_1$
|
|
2260
|
-
function _sfc_render$
|
|
2261
|
+
const _hoisted_1$1f = ["disabled", "type", "autofocus"];
|
|
2262
|
+
function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2261
2263
|
return $setup.linkProps ? (openBlock(), createBlock(
|
|
2262
2264
|
$setup["OnyxRouterLink"],
|
|
2263
2265
|
normalizeProps(mergeProps({ key: 0 }, $setup.linkProps)),
|
|
@@ -2278,10 +2280,10 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2278
2280
|
autofocus: $setup.props.autofocus
|
|
2279
2281
|
}, [
|
|
2280
2282
|
renderSlot(_ctx.$slots, "default")
|
|
2281
|
-
], 8, _hoisted_1$
|
|
2283
|
+
], 8, _hoisted_1$1f));
|
|
2282
2284
|
}
|
|
2283
|
-
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2284
|
-
const _sfc_main$
|
|
2285
|
+
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/ButtonOrLinkLayout.vue"]]);
|
|
2286
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
2285
2287
|
__name: "OnyxSystemButton",
|
|
2286
2288
|
props: {
|
|
2287
2289
|
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
@@ -2302,7 +2304,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
2302
2304
|
return __returned__;
|
|
2303
2305
|
}
|
|
2304
2306
|
});
|
|
2305
|
-
function _sfc_render$
|
|
2307
|
+
function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2306
2308
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2307
2309
|
key: 0,
|
|
2308
2310
|
class: normalizeClass(["onyx-system-button-skeleton", $setup.props.icon ? "" : "onyx-system-button-skeleton--text"])
|
|
@@ -2334,8 +2336,8 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2334
2336
|
/* STABLE */
|
|
2335
2337
|
}, 16, ["class", "aria-label", "title"]));
|
|
2336
2338
|
}
|
|
2337
|
-
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2338
|
-
const _sfc_main$
|
|
2339
|
+
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSystemButton/OnyxSystemButton.vue"]]);
|
|
2340
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
2339
2341
|
__name: "OnyxAlertModal",
|
|
2340
2342
|
props: {
|
|
2341
2343
|
density: { type: null, required: false },
|
|
@@ -2360,11 +2362,11 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2360
2362
|
return __returned__;
|
|
2361
2363
|
}
|
|
2362
2364
|
});
|
|
2363
|
-
const _hoisted_1$
|
|
2364
|
-
const _hoisted_2$
|
|
2365
|
-
const _hoisted_3$
|
|
2366
|
-
const _hoisted_4$
|
|
2367
|
-
function _sfc_render$
|
|
2365
|
+
const _hoisted_1$1e = { class: "onyx-alert-modal__content" };
|
|
2366
|
+
const _hoisted_2$W = { class: "onyx-alert-modal__headline" };
|
|
2367
|
+
const _hoisted_3$B = ["id"];
|
|
2368
|
+
const _hoisted_4$o = { class: "onyx-alert-modal__actions" };
|
|
2369
|
+
function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2368
2370
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps({
|
|
2369
2371
|
class: ["onyx-alert-modal", $setup.densityClass]
|
|
2370
2372
|
}, $setup.dialogProps, {
|
|
@@ -2374,7 +2376,7 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2374
2376
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
2375
2377
|
}), {
|
|
2376
2378
|
default: withCtx(() => [
|
|
2377
|
-
createElementVNode("div", _hoisted_1$
|
|
2379
|
+
createElementVNode("div", _hoisted_1$1e, [
|
|
2378
2380
|
$setup.props.icon ? (openBlock(), createBlock(
|
|
2379
2381
|
$setup["OnyxIcon"],
|
|
2380
2382
|
mergeProps({
|
|
@@ -2386,7 +2388,7 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2386
2388
|
/* FULL_PROPS */
|
|
2387
2389
|
)) : createCommentVNode("v-if", true),
|
|
2388
2390
|
createElementVNode("div", null, [
|
|
2389
|
-
createElementVNode("div", _hoisted_2$
|
|
2391
|
+
createElementVNode("div", _hoisted_2$W, [
|
|
2390
2392
|
renderSlot(_ctx.$slots, "headline", {
|
|
2391
2393
|
label: $setup.props.label
|
|
2392
2394
|
}, () => [
|
|
@@ -2414,10 +2416,10 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2414
2416
|
class: "onyx-alert-modal__body onyx-truncation"
|
|
2415
2417
|
}, [
|
|
2416
2418
|
renderSlot(_ctx.$slots, "default")
|
|
2417
|
-
], 8, _hoisted_3$
|
|
2419
|
+
], 8, _hoisted_3$B)
|
|
2418
2420
|
])
|
|
2419
2421
|
]),
|
|
2420
|
-
createElementVNode("div", _hoisted_4$
|
|
2422
|
+
createElementVNode("div", _hoisted_4$o, [
|
|
2421
2423
|
renderSlot(_ctx.$slots, "actions")
|
|
2422
2424
|
])
|
|
2423
2425
|
]),
|
|
@@ -2425,7 +2427,7 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2425
2427
|
/* FORWARDED */
|
|
2426
2428
|
}, 16, ["class", "aria-describedby"]);
|
|
2427
2429
|
}
|
|
2428
|
-
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2430
|
+
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAlertModal/OnyxAlertModal.vue"]]);
|
|
2429
2431
|
const useRootAttrs = () => {
|
|
2430
2432
|
const attrs = useAttrs();
|
|
2431
2433
|
const rootAttrs = computed(
|
|
@@ -2507,7 +2509,7 @@ const mergeVueProps = (...args) => args.reduce((prev, curr) => {
|
|
|
2507
2509
|
merged.ref = mergedRef;
|
|
2508
2510
|
return merged;
|
|
2509
2511
|
}, {});
|
|
2510
|
-
const _sfc_main$
|
|
2512
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
2511
2513
|
__name: "OnyxFABButton",
|
|
2512
2514
|
props: {
|
|
2513
2515
|
density: { type: null, required: false },
|
|
@@ -2527,11 +2529,11 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
2527
2529
|
return __returned__;
|
|
2528
2530
|
}
|
|
2529
2531
|
});
|
|
2530
|
-
const _hoisted_1$
|
|
2532
|
+
const _hoisted_1$1d = {
|
|
2531
2533
|
key: 1,
|
|
2532
2534
|
class: "onyx-fab-button__label"
|
|
2533
2535
|
};
|
|
2534
|
-
function _sfc_render$
|
|
2536
|
+
function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2535
2537
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2536
2538
|
key: 0,
|
|
2537
2539
|
class: normalizeClass(["onyx-fab-button-skeleton", $setup.densityClass])
|
|
@@ -2549,7 +2551,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2549
2551
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
2550
2552
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
2551
2553
|
"span",
|
|
2552
|
-
_hoisted_1$
|
|
2554
|
+
_hoisted_1$1d,
|
|
2553
2555
|
toDisplayString($setup.props.label),
|
|
2554
2556
|
1
|
|
2555
2557
|
/* TEXT */
|
|
@@ -2559,7 +2561,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2559
2561
|
/* STABLE */
|
|
2560
2562
|
}, 8, ["class", "title", "aria-label", "link"]));
|
|
2561
2563
|
}
|
|
2562
|
-
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2564
|
+
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABButton/OnyxFABButton.vue"]]);
|
|
2563
2565
|
const useResizeObserver = (target, options) => {
|
|
2564
2566
|
const box = options?.box ?? "content-box";
|
|
2565
2567
|
const width = ref(0);
|
|
@@ -2871,7 +2873,7 @@ function useSticky(options) {
|
|
|
2871
2873
|
});
|
|
2872
2874
|
return { stickyStyles, scrolledOut, isSticky, checkVisibilityOnScroll };
|
|
2873
2875
|
}
|
|
2874
|
-
const _sfc_main$
|
|
2876
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
2875
2877
|
__name: "OnyxBasicPopover",
|
|
2876
2878
|
props: {
|
|
2877
2879
|
label: { type: String, required: true },
|
|
@@ -3029,8 +3031,8 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
3029
3031
|
return __returned__;
|
|
3030
3032
|
}
|
|
3031
3033
|
});
|
|
3032
|
-
const _hoisted_1$
|
|
3033
|
-
function _sfc_render$
|
|
3034
|
+
const _hoisted_1$1c = ["role", "aria-label"];
|
|
3035
|
+
function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3034
3036
|
return openBlock(), createElementBlock(
|
|
3035
3037
|
"div",
|
|
3036
3038
|
{
|
|
@@ -3049,14 +3051,14 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3049
3051
|
style: normalizeStyle(!$setup.isSticky ? $setup.popoverStyles : $setup.stickyStyles)
|
|
3050
3052
|
}, [
|
|
3051
3053
|
renderSlot(_ctx.$slots, "content")
|
|
3052
|
-
], 14, _hoisted_1$
|
|
3054
|
+
], 14, _hoisted_1$1c)
|
|
3053
3055
|
],
|
|
3054
3056
|
4
|
|
3055
3057
|
/* STYLE */
|
|
3056
3058
|
);
|
|
3057
3059
|
}
|
|
3058
|
-
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3059
|
-
const _sfc_main$
|
|
3060
|
+
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicPopover/OnyxBasicPopover.vue"]]);
|
|
3061
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
3060
3062
|
__name: "OnyxFlyoutMenu",
|
|
3061
3063
|
props: {
|
|
3062
3064
|
alignment: { type: String, required: false, default: "auto" },
|
|
@@ -3098,9 +3100,9 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
3098
3100
|
return __returned__;
|
|
3099
3101
|
}
|
|
3100
3102
|
});
|
|
3101
|
-
const _hoisted_1$
|
|
3102
|
-
const _hoisted_2$
|
|
3103
|
-
function _sfc_render$
|
|
3103
|
+
const _hoisted_1$1b = { class: "onyx-flyout-menu__list-header" };
|
|
3104
|
+
const _hoisted_2$V = { class: "onyx-flyout-menu__list-footer" };
|
|
3105
|
+
function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3104
3106
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.mergeVueProps($setup.root, { ref: $setup.popover }), {
|
|
3105
3107
|
class: "onyx-component onyx-flyout-menu",
|
|
3106
3108
|
open: $setup.isExpanded,
|
|
@@ -3109,7 +3111,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3109
3111
|
disabled: $props.disabled
|
|
3110
3112
|
}), createSlots({
|
|
3111
3113
|
content: withCtx(() => [
|
|
3112
|
-
createElementVNode("div", _hoisted_1$
|
|
3114
|
+
createElementVNode("div", _hoisted_1$1b, [
|
|
3113
3115
|
renderSlot(_ctx.$slots, "header")
|
|
3114
3116
|
]),
|
|
3115
3117
|
$setup.slots.options ? (openBlock(), createElementBlock(
|
|
@@ -3121,7 +3123,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3121
3123
|
16
|
|
3122
3124
|
/* FULL_PROPS */
|
|
3123
3125
|
)) : createCommentVNode("v-if", true),
|
|
3124
|
-
createElementVNode("div", _hoisted_2$
|
|
3126
|
+
createElementVNode("div", _hoisted_2$V, [
|
|
3125
3127
|
renderSlot(_ctx.$slots, "footer")
|
|
3126
3128
|
])
|
|
3127
3129
|
]),
|
|
@@ -3142,8 +3144,8 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3142
3144
|
} : void 0
|
|
3143
3145
|
]), 1040, ["open", "label", "alignment", "disabled"]);
|
|
3144
3146
|
}
|
|
3145
|
-
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3146
|
-
const _sfc_main$
|
|
3147
|
+
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue"]]);
|
|
3148
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
3147
3149
|
__name: "OnyxFAB",
|
|
3148
3150
|
props: {
|
|
3149
3151
|
density: { type: null, required: false },
|
|
@@ -3182,7 +3184,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
3182
3184
|
return __returned__;
|
|
3183
3185
|
}
|
|
3184
3186
|
});
|
|
3185
|
-
function _sfc_render$
|
|
3187
|
+
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3186
3188
|
return !$setup.hasOptions || $setup.skeleton ? (openBlock(), createBlock($setup["OnyxFABButton"], mergeProps({
|
|
3187
3189
|
key: 0,
|
|
3188
3190
|
class: ["onyx-fab", `onyx-fab--${$setup.props.alignment}`]
|
|
@@ -3212,8 +3214,8 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3212
3214
|
/* FORWARDED */
|
|
3213
3215
|
}, 8, ["open", "label", "class", "alignment"]));
|
|
3214
3216
|
}
|
|
3215
|
-
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3216
|
-
const _sfc_main$
|
|
3217
|
+
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFAB/OnyxFAB.vue"]]);
|
|
3218
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
3217
3219
|
__name: "OnyxFABItem",
|
|
3218
3220
|
props: {
|
|
3219
3221
|
density: { type: null, required: false },
|
|
@@ -3236,7 +3238,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
3236
3238
|
return __returned__;
|
|
3237
3239
|
}
|
|
3238
3240
|
});
|
|
3239
|
-
function _sfc_render$
|
|
3241
|
+
function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3240
3242
|
return openBlock(), createElementBlock(
|
|
3241
3243
|
"li",
|
|
3242
3244
|
mergeProps({
|
|
@@ -3251,7 +3253,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3251
3253
|
/* FULL_PROPS */
|
|
3252
3254
|
);
|
|
3253
3255
|
}
|
|
3254
|
-
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3256
|
+
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABItem/OnyxFABItem.vue"]]);
|
|
3255
3257
|
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = Symbol();
|
|
3256
3258
|
const createGlobalFABProvider = () => {
|
|
3257
3259
|
const items = shallowRef([]);
|
|
@@ -3288,7 +3290,7 @@ const useGlobalFAB = () => {
|
|
|
3288
3290
|
);
|
|
3289
3291
|
return globalFABProvider;
|
|
3290
3292
|
};
|
|
3291
|
-
const _sfc_main$
|
|
3293
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
3292
3294
|
__name: "OnyxGlobalFAB",
|
|
3293
3295
|
setup(__props, { expose: __expose }) {
|
|
3294
3296
|
__expose();
|
|
@@ -3302,7 +3304,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
3302
3304
|
return __returned__;
|
|
3303
3305
|
}
|
|
3304
3306
|
});
|
|
3305
|
-
function _sfc_render$
|
|
3307
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3306
3308
|
return $setup.globalFAB.items.value.length === 1 ? (openBlock(), createBlock(
|
|
3307
3309
|
$setup["OnyxFAB"],
|
|
3308
3310
|
normalizeProps(mergeProps({ key: 0 }, $setup.globalFAB.items.value[0].value)),
|
|
@@ -3337,14 +3339,14 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3337
3339
|
/* STABLE */
|
|
3338
3340
|
}, 8, ["label", "alignment"])) : createCommentVNode("v-if", true);
|
|
3339
3341
|
}
|
|
3340
|
-
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3341
|
-
const _sfc_main$
|
|
3342
|
-
const _hoisted_1$
|
|
3342
|
+
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalFAB/OnyxGlobalFAB.vue"]]);
|
|
3343
|
+
const _sfc_main$1y = {};
|
|
3344
|
+
const _hoisted_1$1a = {
|
|
3343
3345
|
class: "onyx-component onyx-circle-spinner",
|
|
3344
3346
|
viewBox: "0 0 50 50"
|
|
3345
3347
|
};
|
|
3346
|
-
function _sfc_render$
|
|
3347
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3348
|
+
function _sfc_render$1y(_ctx, _cache) {
|
|
3349
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$1a, [..._cache[0] || (_cache[0] = [
|
|
3348
3350
|
createElementVNode(
|
|
3349
3351
|
"circle",
|
|
3350
3352
|
{
|
|
@@ -3359,11 +3361,11 @@ function _sfc_render$1w(_ctx, _cache) {
|
|
|
3359
3361
|
)
|
|
3360
3362
|
])]);
|
|
3361
3363
|
}
|
|
3362
|
-
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3363
|
-
const _sfc_main$
|
|
3364
|
-
const _hoisted_1$
|
|
3365
|
-
function _sfc_render$
|
|
3366
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3364
|
+
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue"]]);
|
|
3365
|
+
const _sfc_main$1x = {};
|
|
3366
|
+
const _hoisted_1$19 = { class: "onyx-component onyx-loading-dots" };
|
|
3367
|
+
function _sfc_render$1x(_ctx, _cache) {
|
|
3368
|
+
return openBlock(), createElementBlock("div", _hoisted_1$19, [..._cache[0] || (_cache[0] = [
|
|
3367
3369
|
createElementVNode(
|
|
3368
3370
|
"span",
|
|
3369
3371
|
{ class: "onyx-loading-dots__center" },
|
|
@@ -3373,8 +3375,8 @@ function _sfc_render$1v(_ctx, _cache) {
|
|
|
3373
3375
|
)
|
|
3374
3376
|
])]);
|
|
3375
3377
|
}
|
|
3376
|
-
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3377
|
-
const _sfc_main$
|
|
3378
|
+
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingDots.vue"]]);
|
|
3379
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
3378
3380
|
__name: "OnyxLoadingIndicator",
|
|
3379
3381
|
props: {
|
|
3380
3382
|
type: { type: String, required: false, default: "dots" }
|
|
@@ -3387,10 +3389,10 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3387
3389
|
return __returned__;
|
|
3388
3390
|
}
|
|
3389
3391
|
});
|
|
3390
|
-
function _sfc_render$
|
|
3392
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3391
3393
|
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);
|
|
3392
3394
|
}
|
|
3393
|
-
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3395
|
+
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue"]]);
|
|
3394
3396
|
const useRipple = (container) => {
|
|
3395
3397
|
const isPointerDown = ref(false);
|
|
3396
3398
|
const ripples = reactive(/* @__PURE__ */ new Map());
|
|
@@ -3437,7 +3439,7 @@ const useRipple = (container) => {
|
|
|
3437
3439
|
});
|
|
3438
3440
|
return { isPointerDown, ripples, startRipple, hideRipples, hideRipple, events };
|
|
3439
3441
|
};
|
|
3440
|
-
const _sfc_main$
|
|
3442
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
3441
3443
|
__name: "OnyxRipple",
|
|
3442
3444
|
setup(__props, { expose: __expose }) {
|
|
3443
3445
|
const rippleTrigger = useTemplateRef("rippleTriggerRef");
|
|
@@ -3450,16 +3452,16 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3450
3452
|
return __returned__;
|
|
3451
3453
|
}
|
|
3452
3454
|
});
|
|
3453
|
-
const _hoisted_1$
|
|
3455
|
+
const _hoisted_1$18 = {
|
|
3454
3456
|
ref: "rippleTriggerRef",
|
|
3455
3457
|
class: "onyx-component onyx-ripple",
|
|
3456
3458
|
"aria-hidden": "true"
|
|
3457
3459
|
};
|
|
3458
|
-
const _hoisted_2$
|
|
3459
|
-
function _sfc_render$
|
|
3460
|
+
const _hoisted_2$U = ["data-rippleid"];
|
|
3461
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3460
3462
|
return openBlock(), createElementBlock(
|
|
3461
3463
|
"span",
|
|
3462
|
-
_hoisted_1$
|
|
3464
|
+
_hoisted_1$18,
|
|
3463
3465
|
[
|
|
3464
3466
|
(openBlock(true), createElementBlock(
|
|
3465
3467
|
Fragment,
|
|
@@ -3474,7 +3476,7 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3474
3476
|
}),
|
|
3475
3477
|
"data-rippleid": key,
|
|
3476
3478
|
onAnimationend: _cache[0] || (_cache[0] = ($event) => $setup.hideRipple($event.target))
|
|
3477
|
-
}, null, 44, _hoisted_2$
|
|
3479
|
+
}, null, 44, _hoisted_2$U);
|
|
3478
3480
|
}),
|
|
3479
3481
|
128
|
|
3480
3482
|
/* KEYED_FRAGMENT */
|
|
@@ -3484,8 +3486,8 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3484
3486
|
/* NEED_PATCH */
|
|
3485
3487
|
);
|
|
3486
3488
|
}
|
|
3487
|
-
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3488
|
-
const _sfc_main$
|
|
3489
|
+
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRipple/OnyxRipple.vue"]]);
|
|
3490
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
3489
3491
|
__name: "OnyxButton",
|
|
3490
3492
|
props: {
|
|
3491
3493
|
density: { type: null, required: false },
|
|
@@ -3515,8 +3517,8 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3515
3517
|
return __returned__;
|
|
3516
3518
|
}
|
|
3517
3519
|
});
|
|
3518
|
-
const _hoisted_1$
|
|
3519
|
-
function _sfc_render$
|
|
3520
|
+
const _hoisted_1$17 = { class: "onyx-button__label onyx-truncation-ellipsis" };
|
|
3521
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3520
3522
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
3521
3523
|
key: 0,
|
|
3522
3524
|
class: normalizeClass(["onyx-button-skeleton", $setup.densityClass])
|
|
@@ -3553,7 +3555,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3553
3555
|
})) : createCommentVNode("v-if", true),
|
|
3554
3556
|
createElementVNode(
|
|
3555
3557
|
"span",
|
|
3556
|
-
_hoisted_1$
|
|
3558
|
+
_hoisted_1$17,
|
|
3557
3559
|
toDisplayString($setup.props.label),
|
|
3558
3560
|
1
|
|
3559
3561
|
/* TEXT */
|
|
@@ -3568,8 +3570,8 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3568
3570
|
/* STABLE */
|
|
3569
3571
|
}, 16, ["class", "aria-label"]));
|
|
3570
3572
|
}
|
|
3571
|
-
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3572
|
-
const _sfc_main$
|
|
3573
|
+
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/OnyxButton.vue"]]);
|
|
3574
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
3573
3575
|
__name: "OnyxInfoCard",
|
|
3574
3576
|
props: {
|
|
3575
3577
|
density: { type: null, required: false },
|
|
@@ -3596,16 +3598,16 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
3596
3598
|
return __returned__;
|
|
3597
3599
|
}
|
|
3598
3600
|
});
|
|
3599
|
-
const _hoisted_1$
|
|
3600
|
-
const _hoisted_2$
|
|
3601
|
+
const _hoisted_1$16 = { class: "onyx-info-card__content" };
|
|
3602
|
+
const _hoisted_2$T = {
|
|
3601
3603
|
key: 3,
|
|
3602
3604
|
class: "onyx-info-card__description onyx-text--small"
|
|
3603
3605
|
};
|
|
3604
|
-
const _hoisted_3$
|
|
3606
|
+
const _hoisted_3$A = {
|
|
3605
3607
|
key: 4,
|
|
3606
3608
|
class: "onyx-info-card__buttons onyx-density-compact"
|
|
3607
3609
|
};
|
|
3608
|
-
function _sfc_render$
|
|
3610
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3609
3611
|
return openBlock(), createElementBlock(
|
|
3610
3612
|
"div",
|
|
3611
3613
|
{
|
|
@@ -3617,7 +3619,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3617
3619
|
class: "onyx-info-card__icon",
|
|
3618
3620
|
icon: $setup.props.icon
|
|
3619
3621
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
3620
|
-
createElementVNode("div", _hoisted_1$
|
|
3622
|
+
createElementVNode("div", _hoisted_1$16, [
|
|
3621
3623
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
3622
3624
|
key: 0,
|
|
3623
3625
|
is: "h3",
|
|
@@ -3660,10 +3662,10 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3660
3662
|
color: $setup.systemButtonColor,
|
|
3661
3663
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("close"))
|
|
3662
3664
|
}, null, 8, ["icon", "label", "color"])) : createCommentVNode("v-if", true),
|
|
3663
|
-
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
3665
|
+
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$T, [
|
|
3664
3666
|
renderSlot(_ctx.$slots, "default")
|
|
3665
3667
|
])) : createCommentVNode("v-if", true),
|
|
3666
|
-
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3668
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
3667
3669
|
renderSlot(_ctx.$slots, "buttons")
|
|
3668
3670
|
])) : createCommentVNode("v-if", true)
|
|
3669
3671
|
])
|
|
@@ -3672,8 +3674,8 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3672
3674
|
/* CLASS */
|
|
3673
3675
|
);
|
|
3674
3676
|
}
|
|
3675
|
-
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3676
|
-
const _sfc_main$
|
|
3677
|
+
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoCard/OnyxInfoCard.vue"]]);
|
|
3678
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
3677
3679
|
__name: "OnyxNotificationMessage",
|
|
3678
3680
|
props: {
|
|
3679
3681
|
headline: { type: String, required: true },
|
|
@@ -3691,7 +3693,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
3691
3693
|
return __returned__;
|
|
3692
3694
|
}
|
|
3693
3695
|
});
|
|
3694
|
-
function _sfc_render$
|
|
3696
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3695
3697
|
return openBlock(), createBlock($setup["OnyxInfoCard"], {
|
|
3696
3698
|
class: normalizeClass(["onyx-component onyx-notification-message", [
|
|
3697
3699
|
"onyx-component",
|
|
@@ -3724,7 +3726,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3724
3726
|
} : void 0
|
|
3725
3727
|
]), 1032, ["class", "headline", "icon", "style", "aria-label"]);
|
|
3726
3728
|
}
|
|
3727
|
-
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3729
|
+
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationMessage/OnyxNotificationMessage.vue"]]);
|
|
3728
3730
|
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = Symbol();
|
|
3729
3731
|
const createNotificationsProvider = () => {
|
|
3730
3732
|
let nextId = 1;
|
|
@@ -3769,7 +3771,7 @@ const useNotification = () => {
|
|
|
3769
3771
|
);
|
|
3770
3772
|
return notificationsProvider;
|
|
3771
3773
|
};
|
|
3772
|
-
const _sfc_main$
|
|
3774
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
3773
3775
|
__name: "OnyxNotifications",
|
|
3774
3776
|
setup(__props, { expose: __expose }) {
|
|
3775
3777
|
__expose();
|
|
@@ -3779,15 +3781,15 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
3779
3781
|
return __returned__;
|
|
3780
3782
|
}
|
|
3781
3783
|
});
|
|
3782
|
-
const _hoisted_1$
|
|
3784
|
+
const _hoisted_1$15 = {
|
|
3783
3785
|
key: 0,
|
|
3784
3786
|
class: "onyx-component onyx-notifications",
|
|
3785
3787
|
role: "presentation",
|
|
3786
3788
|
"aria-live": "polite",
|
|
3787
3789
|
open: ""
|
|
3788
3790
|
};
|
|
3789
|
-
function _sfc_render$
|
|
3790
|
-
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
3791
|
+
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3792
|
+
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$15, [
|
|
3791
3793
|
(openBlock(true), createElementBlock(
|
|
3792
3794
|
Fragment,
|
|
3793
3795
|
null,
|
|
@@ -3839,8 +3841,8 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3839
3841
|
))
|
|
3840
3842
|
])) : createCommentVNode("v-if", true);
|
|
3841
3843
|
}
|
|
3842
|
-
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3843
|
-
const _sfc_main$
|
|
3844
|
+
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotifications/OnyxNotifications.vue"]]);
|
|
3845
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
3844
3846
|
__name: "OnyxToastMessage",
|
|
3845
3847
|
props: {
|
|
3846
3848
|
density: { type: null, required: false },
|
|
@@ -3876,33 +3878,33 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
3876
3878
|
return __returned__;
|
|
3877
3879
|
}
|
|
3878
3880
|
});
|
|
3879
|
-
const _hoisted_1$
|
|
3880
|
-
const _hoisted_2$
|
|
3881
|
-
const _hoisted_3$
|
|
3882
|
-
const _hoisted_4$
|
|
3883
|
-
const _hoisted_5$
|
|
3881
|
+
const _hoisted_1$14 = { class: "onyx-toast-message__wrapper" };
|
|
3882
|
+
const _hoisted_2$S = { class: "onyx-toast-message__content onyx-truncation-ellipsis" };
|
|
3883
|
+
const _hoisted_3$z = { class: "onyx-toast-message__headline onyx-text" };
|
|
3884
|
+
const _hoisted_4$n = { class: "onyx-truncation-ellipsis" };
|
|
3885
|
+
const _hoisted_5$h = ["aria-label"];
|
|
3884
3886
|
const _hoisted_6$b = {
|
|
3885
3887
|
key: 0,
|
|
3886
3888
|
class: "onyx-toast-message__description onyx-text--small onyx-truncation-multiline",
|
|
3887
3889
|
tabindex: "0"
|
|
3888
3890
|
};
|
|
3889
|
-
function _sfc_render$
|
|
3891
|
+
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3890
3892
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.clickable ? "button" : "div"), {
|
|
3891
3893
|
class: normalizeClass(["onyx-component onyx-toast-message", [`onyx-toast-message--${$setup.props.color}`, $setup.densityClass]]),
|
|
3892
3894
|
role: $setup.props.color === "danger" || $setup.props.color === "warning" ? "alert" : "status",
|
|
3893
3895
|
"aria-label": $setup.props.clickable ? $setup.props.headline : void 0
|
|
3894
3896
|
}, {
|
|
3895
3897
|
default: withCtx(() => [
|
|
3896
|
-
createElementVNode("div", _hoisted_1$
|
|
3898
|
+
createElementVNode("div", _hoisted_1$14, [
|
|
3897
3899
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
3898
3900
|
key: 0,
|
|
3899
3901
|
icon: $setup.icon
|
|
3900
3902
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
3901
|
-
createElementVNode("div", _hoisted_2$
|
|
3902
|
-
createElementVNode("div", _hoisted_3$
|
|
3903
|
+
createElementVNode("div", _hoisted_2$S, [
|
|
3904
|
+
createElementVNode("div", _hoisted_3$z, [
|
|
3903
3905
|
createElementVNode(
|
|
3904
3906
|
"span",
|
|
3905
|
-
_hoisted_4$
|
|
3907
|
+
_hoisted_4$n,
|
|
3906
3908
|
toDisplayString($setup.props.headline),
|
|
3907
3909
|
1
|
|
3908
3910
|
/* TEXT */
|
|
@@ -3915,7 +3917,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3915
3917
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("close"))
|
|
3916
3918
|
}, [
|
|
3917
3919
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
3918
|
-
], 8, _hoisted_5$
|
|
3920
|
+
], 8, _hoisted_5$h)) : createCommentVNode("v-if", true)
|
|
3919
3921
|
]),
|
|
3920
3922
|
$setup.props.description ? (openBlock(), createElementBlock(
|
|
3921
3923
|
"p",
|
|
@@ -3944,7 +3946,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3944
3946
|
/* STABLE */
|
|
3945
3947
|
}, 8, ["class", "role", "aria-label"]);
|
|
3946
3948
|
}
|
|
3947
|
-
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3949
|
+
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToastMessage/OnyxToastMessage.vue"]]);
|
|
3948
3950
|
const TOAST_PROVIDER_INJECTION_KEY = Symbol();
|
|
3949
3951
|
const createToastProvider = () => {
|
|
3950
3952
|
let nextId = 1;
|
|
@@ -3987,7 +3989,7 @@ const useToast = () => {
|
|
|
3987
3989
|
);
|
|
3988
3990
|
return toastProvider;
|
|
3989
3991
|
};
|
|
3990
|
-
const _sfc_main$
|
|
3992
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
3991
3993
|
__name: "OnyxToast",
|
|
3992
3994
|
setup(__props, { expose: __expose }) {
|
|
3993
3995
|
__expose();
|
|
@@ -3997,15 +3999,15 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
3997
3999
|
return __returned__;
|
|
3998
4000
|
}
|
|
3999
4001
|
});
|
|
4000
|
-
const _hoisted_1$
|
|
4002
|
+
const _hoisted_1$13 = {
|
|
4001
4003
|
key: 0,
|
|
4002
4004
|
class: "onyx-component onyx-toast",
|
|
4003
4005
|
role: "presentation",
|
|
4004
4006
|
"aria-live": "polite",
|
|
4005
4007
|
open: ""
|
|
4006
4008
|
};
|
|
4007
|
-
function _sfc_render$
|
|
4008
|
-
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
4009
|
+
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4010
|
+
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$13, [
|
|
4009
4011
|
(openBlock(true), createElementBlock(
|
|
4010
4012
|
Fragment,
|
|
4011
4013
|
null,
|
|
@@ -4023,8 +4025,8 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4023
4025
|
))
|
|
4024
4026
|
])) : createCommentVNode("v-if", true);
|
|
4025
4027
|
}
|
|
4026
|
-
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4027
|
-
const _sfc_main$
|
|
4028
|
+
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToast/OnyxToast.vue"]]);
|
|
4029
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
4028
4030
|
__name: "OnyxAppLayout",
|
|
4029
4031
|
props: {
|
|
4030
4032
|
navBarAlignment: { type: String, required: false, default: "top" }
|
|
@@ -4038,22 +4040,22 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
4038
4040
|
return __returned__;
|
|
4039
4041
|
}
|
|
4040
4042
|
});
|
|
4041
|
-
const _hoisted_1$
|
|
4043
|
+
const _hoisted_1$12 = {
|
|
4042
4044
|
key: 0,
|
|
4043
4045
|
class: "onyx-app__nav"
|
|
4044
4046
|
};
|
|
4045
|
-
const _hoisted_2$
|
|
4046
|
-
function _sfc_render$
|
|
4047
|
+
const _hoisted_2$R = { class: "onyx-app__page" };
|
|
4048
|
+
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4047
4049
|
return openBlock(), createElementBlock(
|
|
4048
4050
|
"div",
|
|
4049
4051
|
{
|
|
4050
4052
|
class: normalizeClass(["onyx-component onyx-app", { "onyx-app--horizontal": $setup.props.navBarAlignment === "left" }])
|
|
4051
4053
|
},
|
|
4052
4054
|
[
|
|
4053
|
-
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4055
|
+
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
4054
4056
|
renderSlot(_ctx.$slots, "navBar")
|
|
4055
4057
|
])) : createCommentVNode("v-if", true),
|
|
4056
|
-
createElementVNode("div", _hoisted_2$
|
|
4058
|
+
createElementVNode("div", _hoisted_2$R, [
|
|
4057
4059
|
renderSlot(_ctx.$slots, "default")
|
|
4058
4060
|
]),
|
|
4059
4061
|
createVNode($setup["OnyxToast"]),
|
|
@@ -4064,8 +4066,8 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4064
4066
|
/* CLASS */
|
|
4065
4067
|
);
|
|
4066
4068
|
}
|
|
4067
|
-
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4068
|
-
const _sfc_main$
|
|
4069
|
+
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAppLayout/OnyxAppLayout.vue"]]);
|
|
4070
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
4069
4071
|
__name: "OnyxAvatar",
|
|
4070
4072
|
props: {
|
|
4071
4073
|
size: { type: null, required: false, default: "48px" },
|
|
@@ -4099,13 +4101,13 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
4099
4101
|
return __returned__;
|
|
4100
4102
|
}
|
|
4101
4103
|
});
|
|
4102
|
-
const _hoisted_1
|
|
4103
|
-
const _hoisted_2$
|
|
4104
|
-
const _hoisted_3$
|
|
4104
|
+
const _hoisted_1$11 = ["title", "aria-label"];
|
|
4105
|
+
const _hoisted_2$Q = ["src", "alt"];
|
|
4106
|
+
const _hoisted_3$y = {
|
|
4105
4107
|
key: 0,
|
|
4106
4108
|
class: "onyx-avatar__initials"
|
|
4107
4109
|
};
|
|
4108
|
-
function _sfc_render$
|
|
4110
|
+
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4109
4111
|
return openBlock(), createElementBlock("figure", {
|
|
4110
4112
|
class: normalizeClass([
|
|
4111
4113
|
"onyx-component",
|
|
@@ -4122,13 +4124,13 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4122
4124
|
src: $setup.props.src,
|
|
4123
4125
|
alt: $setup.ariaLabel,
|
|
4124
4126
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.hasImageError = true)
|
|
4125
|
-
}, null, 40, _hoisted_2$
|
|
4127
|
+
}, null, 40, _hoisted_2$Q)) : (openBlock(), createElementBlock(
|
|
4126
4128
|
Fragment,
|
|
4127
4129
|
{ key: 1 },
|
|
4128
4130
|
[
|
|
4129
4131
|
$setup.initials ? (openBlock(), createElementBlock(
|
|
4130
4132
|
"div",
|
|
4131
|
-
_hoisted_3$
|
|
4133
|
+
_hoisted_3$y,
|
|
4132
4134
|
toDisplayString($setup.initials),
|
|
4133
4135
|
1
|
|
4134
4136
|
/* TEXT */
|
|
@@ -4141,10 +4143,10 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4141
4143
|
64
|
|
4142
4144
|
/* STABLE_FRAGMENT */
|
|
4143
4145
|
))
|
|
4144
|
-
], 10, _hoisted_1
|
|
4146
|
+
], 10, _hoisted_1$11);
|
|
4145
4147
|
}
|
|
4146
|
-
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4147
|
-
const _sfc_main$
|
|
4148
|
+
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatar/OnyxAvatar.vue"]]);
|
|
4149
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
4148
4150
|
__name: "OnyxAvatarStack",
|
|
4149
4151
|
setup(__props, { expose: __expose }) {
|
|
4150
4152
|
__expose();
|
|
@@ -4153,14 +4155,14 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
4153
4155
|
return __returned__;
|
|
4154
4156
|
}
|
|
4155
4157
|
});
|
|
4156
|
-
const _hoisted_1$
|
|
4157
|
-
function _sfc_render$
|
|
4158
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4158
|
+
const _hoisted_1$10 = { class: "onyx-component onyx-avatar-stack" };
|
|
4159
|
+
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4160
|
+
return openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
4159
4161
|
renderSlot(_ctx.$slots, "default")
|
|
4160
4162
|
]);
|
|
4161
4163
|
}
|
|
4162
|
-
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4163
|
-
const _sfc_main$
|
|
4164
|
+
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatarStack/OnyxAvatarStack.vue"]]);
|
|
4165
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
4164
4166
|
__name: "OnyxBadge",
|
|
4165
4167
|
props: {
|
|
4166
4168
|
density: { type: null, required: false },
|
|
@@ -4177,7 +4179,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
4177
4179
|
return __returned__;
|
|
4178
4180
|
}
|
|
4179
4181
|
});
|
|
4180
|
-
function _sfc_render$
|
|
4182
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4181
4183
|
return openBlock(), createElementBlock(
|
|
4182
4184
|
"div",
|
|
4183
4185
|
{
|
|
@@ -4208,8 +4210,8 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4208
4210
|
/* CLASS */
|
|
4209
4211
|
);
|
|
4210
4212
|
}
|
|
4211
|
-
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4212
|
-
const _sfc_main$
|
|
4213
|
+
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBadge/OnyxBadge.vue"]]);
|
|
4214
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
4213
4215
|
__name: "OnyxBottomBar",
|
|
4214
4216
|
props: {
|
|
4215
4217
|
density: { type: null, required: false },
|
|
@@ -4224,10 +4226,10 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
4224
4226
|
return __returned__;
|
|
4225
4227
|
}
|
|
4226
4228
|
});
|
|
4227
|
-
const _hoisted_1
|
|
4228
|
-
const _hoisted_2$
|
|
4229
|
-
const _hoisted_3$
|
|
4230
|
-
function _sfc_render$
|
|
4229
|
+
const _hoisted_1$$ = { class: "onyx-bottom-bar__content onyx-grid-container" };
|
|
4230
|
+
const _hoisted_2$P = { class: "onyx-bottom-bar__content--left" };
|
|
4231
|
+
const _hoisted_3$x = { class: "onyx-bottom-bar__content--right" };
|
|
4232
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4231
4233
|
return openBlock(), createElementBlock(
|
|
4232
4234
|
"div",
|
|
4233
4235
|
{
|
|
@@ -4239,11 +4241,11 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4239
4241
|
])
|
|
4240
4242
|
},
|
|
4241
4243
|
[
|
|
4242
|
-
createElementVNode("div", _hoisted_1
|
|
4243
|
-
createElementVNode("div", _hoisted_2$
|
|
4244
|
+
createElementVNode("div", _hoisted_1$$, [
|
|
4245
|
+
createElementVNode("div", _hoisted_2$P, [
|
|
4244
4246
|
renderSlot(_ctx.$slots, "left")
|
|
4245
4247
|
]),
|
|
4246
|
-
createElementVNode("div", _hoisted_3$
|
|
4248
|
+
createElementVNode("div", _hoisted_3$x, [
|
|
4247
4249
|
renderSlot(_ctx.$slots, "default")
|
|
4248
4250
|
])
|
|
4249
4251
|
])
|
|
@@ -4252,7 +4254,7 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4252
4254
|
/* CLASS */
|
|
4253
4255
|
);
|
|
4254
4256
|
}
|
|
4255
|
-
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4257
|
+
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBottomBar/OnyxBottomBar.vue"]]);
|
|
4256
4258
|
const useMoreList = (options) => {
|
|
4257
4259
|
const visibleElements = ref();
|
|
4258
4260
|
const hiddenElements = ref();
|
|
@@ -4347,7 +4349,7 @@ const useMoreListChild = (injectionKey) => {
|
|
|
4347
4349
|
};
|
|
4348
4350
|
const BREADCRUMB_MORE_LIST_INJECTION_KEY = Symbol();
|
|
4349
4351
|
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
4350
|
-
const _sfc_main$
|
|
4352
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
4351
4353
|
__name: "OnyxExternalLinkIcon",
|
|
4352
4354
|
props: {
|
|
4353
4355
|
href: { type: String, required: false },
|
|
@@ -4368,7 +4370,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
4368
4370
|
return __returned__;
|
|
4369
4371
|
}
|
|
4370
4372
|
});
|
|
4371
|
-
function _sfc_render$
|
|
4373
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4372
4374
|
return $setup.isVisible ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4373
4375
|
key: 0,
|
|
4374
4376
|
class: "onyx-component onyx-external-link-icon",
|
|
@@ -4376,8 +4378,8 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4376
4378
|
size: "16px"
|
|
4377
4379
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true);
|
|
4378
4380
|
}
|
|
4379
|
-
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4380
|
-
const _sfc_main$
|
|
4381
|
+
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue"]]);
|
|
4382
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
4381
4383
|
__name: "OnyxListItem",
|
|
4382
4384
|
props: {
|
|
4383
4385
|
density: { type: null, required: false },
|
|
@@ -4396,7 +4398,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
4396
4398
|
return __returned__;
|
|
4397
4399
|
}
|
|
4398
4400
|
});
|
|
4399
|
-
function _sfc_render$
|
|
4401
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4400
4402
|
return openBlock(), createElementBlock(
|
|
4401
4403
|
"li",
|
|
4402
4404
|
{
|
|
@@ -4418,8 +4420,8 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4418
4420
|
/* CLASS */
|
|
4419
4421
|
);
|
|
4420
4422
|
}
|
|
4421
|
-
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4422
|
-
const _sfc_main$
|
|
4423
|
+
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxListItem/OnyxListItem.vue"]]);
|
|
4424
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
4423
4425
|
...{ inheritAttrs: false },
|
|
4424
4426
|
__name: "OnyxMenuItem",
|
|
4425
4427
|
props: {
|
|
@@ -4498,17 +4500,17 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
4498
4500
|
return __returned__;
|
|
4499
4501
|
}
|
|
4500
4502
|
});
|
|
4501
|
-
const _hoisted_1$
|
|
4502
|
-
const _hoisted_2$
|
|
4503
|
+
const _hoisted_1$_ = { class: "onyx-truncation-ellipsis" };
|
|
4504
|
+
const _hoisted_2$O = {
|
|
4503
4505
|
key: 0,
|
|
4504
4506
|
class: "onyx-menu-item__chevron"
|
|
4505
4507
|
};
|
|
4506
|
-
const _hoisted_3$
|
|
4508
|
+
const _hoisted_3$w = {
|
|
4507
4509
|
key: 0,
|
|
4508
4510
|
role: "menu",
|
|
4509
4511
|
class: "onyx-menu-item__children"
|
|
4510
4512
|
};
|
|
4511
|
-
function _sfc_render$
|
|
4513
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4512
4514
|
const _component_OnyxMenuItem = resolveComponent("OnyxMenuItem", true);
|
|
4513
4515
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({
|
|
4514
4516
|
selected: $setup.isActive,
|
|
@@ -4529,7 +4531,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4529
4531
|
createElementVNode("span", null, [
|
|
4530
4532
|
createElementVNode(
|
|
4531
4533
|
"span",
|
|
4532
|
-
_hoisted_1$
|
|
4534
|
+
_hoisted_1$_,
|
|
4533
4535
|
toDisplayString($setup.props.label),
|
|
4534
4536
|
1
|
|
4535
4537
|
/* TEXT */
|
|
@@ -4543,7 +4545,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4543
4545
|
)
|
|
4544
4546
|
])
|
|
4545
4547
|
]),
|
|
4546
|
-
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4548
|
+
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$O, [
|
|
4547
4549
|
createVNode($setup["OnyxIcon"], {
|
|
4548
4550
|
icon: $setup.iconChevronRightSmall,
|
|
4549
4551
|
size: "24px"
|
|
@@ -4557,7 +4559,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4557
4559
|
]),
|
|
4558
4560
|
$setup.hasChildren ? withDirectives((openBlock(), createElementBlock(
|
|
4559
4561
|
"ul",
|
|
4560
|
-
_hoisted_3$
|
|
4562
|
+
_hoisted_3$w,
|
|
4561
4563
|
[
|
|
4562
4564
|
createVNode(
|
|
4563
4565
|
_component_OnyxMenuItem,
|
|
@@ -4594,8 +4596,8 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4594
4596
|
/* FORWARDED */
|
|
4595
4597
|
}, 16, ["selected", "active", "color", "disabled", "class"]);
|
|
4596
4598
|
}
|
|
4597
|
-
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4598
|
-
const _sfc_main$
|
|
4599
|
+
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue"]]);
|
|
4600
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
4599
4601
|
...{ inheritAttrs: false },
|
|
4600
4602
|
__name: "OnyxBreadcrumbItem",
|
|
4601
4603
|
props: {
|
|
@@ -4621,7 +4623,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
4621
4623
|
return __returned__;
|
|
4622
4624
|
}
|
|
4623
4625
|
});
|
|
4624
|
-
function _sfc_render$
|
|
4626
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4625
4627
|
return openBlock(), createElementBlock(
|
|
4626
4628
|
Fragment,
|
|
4627
4629
|
null,
|
|
@@ -4681,8 +4683,8 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4681
4683
|
/* STABLE_FRAGMENT */
|
|
4682
4684
|
);
|
|
4683
4685
|
}
|
|
4684
|
-
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4685
|
-
const _sfc_main$
|
|
4686
|
+
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.vue"]]);
|
|
4687
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
4686
4688
|
__name: "OnyxMoreList",
|
|
4687
4689
|
props: {
|
|
4688
4690
|
injectionKey: { type: [Symbol, Object], required: true },
|
|
@@ -4715,7 +4717,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
4715
4717
|
return __returned__;
|
|
4716
4718
|
}
|
|
4717
4719
|
});
|
|
4718
|
-
function _sfc_render$
|
|
4720
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4719
4721
|
return openBlock(), createBlock(
|
|
4720
4722
|
resolveDynamicComponent($setup.props.is),
|
|
4721
4723
|
{
|
|
@@ -4755,8 +4757,8 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4755
4757
|
/* NEED_PATCH */
|
|
4756
4758
|
);
|
|
4757
4759
|
}
|
|
4758
|
-
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4759
|
-
const _sfc_main$
|
|
4760
|
+
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMoreList/OnyxMoreList.vue"]]);
|
|
4761
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
4760
4762
|
__name: "OnyxBreadcrumb",
|
|
4761
4763
|
props: {
|
|
4762
4764
|
density: { type: null, required: false },
|
|
@@ -4782,13 +4784,13 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
4782
4784
|
return __returned__;
|
|
4783
4785
|
}
|
|
4784
4786
|
});
|
|
4785
|
-
const _hoisted_1$
|
|
4786
|
-
const _hoisted_2$
|
|
4787
|
+
const _hoisted_1$Z = ["aria-label", "aria-hidden"];
|
|
4788
|
+
const _hoisted_2$N = {
|
|
4787
4789
|
class: "onyx-breadcrumb__list onyx-grid-container",
|
|
4788
4790
|
role: "menu"
|
|
4789
4791
|
};
|
|
4790
|
-
const _hoisted_3$
|
|
4791
|
-
function _sfc_render$
|
|
4792
|
+
const _hoisted_3$v = { ref: "moreListRef" };
|
|
4793
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4792
4794
|
return openBlock(), createElementBlock("nav", {
|
|
4793
4795
|
class: normalizeClass([
|
|
4794
4796
|
"onyx-component",
|
|
@@ -4799,7 +4801,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4799
4801
|
"aria-label": $setup.t("breadcrumb.label"),
|
|
4800
4802
|
"aria-hidden": $setup.props.skeleton
|
|
4801
4803
|
}, [
|
|
4802
|
-
createElementVNode("ol", _hoisted_2$
|
|
4804
|
+
createElementVNode("ol", _hoisted_2$N, [
|
|
4803
4805
|
createVNode($setup["OnyxBreadcrumbItem"], {
|
|
4804
4806
|
class: "onyx-breadcrumb__home",
|
|
4805
4807
|
href: $setup.props.home?.link ?? "/",
|
|
@@ -4867,7 +4869,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4867
4869
|
options: withCtx(() => [
|
|
4868
4870
|
createElementVNode(
|
|
4869
4871
|
"div",
|
|
4870
|
-
_hoisted_3$
|
|
4872
|
+
_hoisted_3$v,
|
|
4871
4873
|
null,
|
|
4872
4874
|
512
|
|
4873
4875
|
/* NEED_PATCH */
|
|
@@ -4881,13 +4883,13 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4881
4883
|
/* FORWARDED */
|
|
4882
4884
|
}, 8, ["injection-key"])
|
|
4883
4885
|
])
|
|
4884
|
-
], 10, _hoisted_1$
|
|
4886
|
+
], 10, _hoisted_1$Z);
|
|
4885
4887
|
}
|
|
4886
|
-
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4888
|
+
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumb/OnyxBreadcrumb.vue"]]);
|
|
4887
4889
|
const BUTTON_TYPES = ["button", "submit", "reset"];
|
|
4888
4890
|
const BUTTON_COLORS = ["primary", "neutral", "danger"];
|
|
4889
4891
|
const BUTTON_MODES = ["default", "outline", "plain"];
|
|
4890
|
-
const _sfc_main$
|
|
4892
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
4891
4893
|
__name: "OnyxCard",
|
|
4892
4894
|
props: {
|
|
4893
4895
|
density: { type: null, required: false },
|
|
@@ -4906,7 +4908,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
4906
4908
|
return __returned__;
|
|
4907
4909
|
}
|
|
4908
4910
|
});
|
|
4909
|
-
function _sfc_render$
|
|
4911
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4910
4912
|
return openBlock(), createBlock(resolveDynamicComponent($setup.linkProps ? $setup.OnyxRouterLink : $setup.props.clickable ? "button" : "div"), mergeProps($setup.linkProps, {
|
|
4911
4913
|
class: ["onyx-component", "onyx-card", $setup.densityClass, "onyx-truncation-multiline", "onyx-text"]
|
|
4912
4914
|
}), {
|
|
@@ -4917,8 +4919,8 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4917
4919
|
/* FORWARDED */
|
|
4918
4920
|
}, 16, ["class"]);
|
|
4919
4921
|
}
|
|
4920
|
-
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4921
|
-
const _sfc_main$
|
|
4922
|
+
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCard/OnyxCard.vue"]]);
|
|
4923
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
4922
4924
|
__name: "OnyxTooltip",
|
|
4923
4925
|
props: {
|
|
4924
4926
|
density: { type: null, required: false },
|
|
@@ -5073,8 +5075,8 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
5073
5075
|
return __returned__;
|
|
5074
5076
|
}
|
|
5075
5077
|
});
|
|
5076
|
-
const _hoisted_1$
|
|
5077
|
-
function _sfc_render$
|
|
5078
|
+
const _hoisted_1$Y = { class: "onyx-tooltip--content" };
|
|
5079
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5078
5080
|
return openBlock(), createElementBlock(
|
|
5079
5081
|
"div",
|
|
5080
5082
|
{
|
|
@@ -5090,7 +5092,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5090
5092
|
style: $setup.tooltipStyles
|
|
5091
5093
|
}),
|
|
5092
5094
|
[
|
|
5093
|
-
createElementVNode("div", _hoisted_1$
|
|
5095
|
+
createElementVNode("div", _hoisted_1$Y, [
|
|
5094
5096
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
5095
5097
|
key: 0,
|
|
5096
5098
|
icon: $setup.props.icon,
|
|
@@ -5114,8 +5116,8 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5114
5116
|
/* CLASS, STYLE */
|
|
5115
5117
|
);
|
|
5116
5118
|
}
|
|
5117
|
-
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5118
|
-
const _sfc_main$
|
|
5119
|
+
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTooltip/OnyxTooltip.vue"]]);
|
|
5120
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
5119
5121
|
__name: "OnyxCalendarCell",
|
|
5120
5122
|
props: {
|
|
5121
5123
|
density: { type: null, required: false },
|
|
@@ -5145,17 +5147,17 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
5145
5147
|
return __returned__;
|
|
5146
5148
|
}
|
|
5147
5149
|
});
|
|
5148
|
-
const _hoisted_1$
|
|
5149
|
-
const _hoisted_2$
|
|
5150
|
-
const _hoisted_3$
|
|
5150
|
+
const _hoisted_1$X = { class: "onyx-calendar-cell__header" };
|
|
5151
|
+
const _hoisted_2$M = { class: "onyx-calendar-cell__date-container" };
|
|
5152
|
+
const _hoisted_3$u = {
|
|
5151
5153
|
key: 1,
|
|
5152
5154
|
class: "onyx-calendar-cell__date"
|
|
5153
5155
|
};
|
|
5154
|
-
const _hoisted_4$
|
|
5156
|
+
const _hoisted_4$m = {
|
|
5155
5157
|
key: 0,
|
|
5156
5158
|
class: "onyx-calendar-cell__main"
|
|
5157
5159
|
};
|
|
5158
|
-
function _sfc_render$
|
|
5160
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5159
5161
|
return openBlock(), createElementBlock(
|
|
5160
5162
|
"td",
|
|
5161
5163
|
{
|
|
@@ -5181,8 +5183,8 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5181
5183
|
]
|
|
5182
5184
|
}), {
|
|
5183
5185
|
default: withCtx(() => [
|
|
5184
|
-
createElementVNode("div", _hoisted_1$
|
|
5185
|
-
createElementVNode("div", _hoisted_2$
|
|
5186
|
+
createElementVNode("div", _hoisted_1$X, [
|
|
5187
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
5186
5188
|
$setup.props.tooltipText ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
5187
5189
|
key: 0,
|
|
5188
5190
|
text: $setup.props.tooltipText,
|
|
@@ -5201,14 +5203,14 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5201
5203
|
/* STABLE */
|
|
5202
5204
|
}, 8, ["text"])) : (openBlock(), createElementBlock(
|
|
5203
5205
|
"span",
|
|
5204
|
-
_hoisted_3$
|
|
5206
|
+
_hoisted_3$u,
|
|
5205
5207
|
toDisplayString($setup.props.date),
|
|
5206
5208
|
1
|
|
5207
5209
|
/* TEXT */
|
|
5208
5210
|
))
|
|
5209
5211
|
])
|
|
5210
5212
|
]),
|
|
5211
|
-
!!$setup.slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5213
|
+
!!$setup.slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
5212
5214
|
renderSlot(_ctx.$slots, "default")
|
|
5213
5215
|
])) : createCommentVNode("v-if", true)
|
|
5214
5216
|
]),
|
|
@@ -5220,8 +5222,8 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5220
5222
|
/* CLASS */
|
|
5221
5223
|
);
|
|
5222
5224
|
}
|
|
5223
|
-
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5224
|
-
const _sfc_main$
|
|
5225
|
+
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendarCell/OnyxCalendarCell.vue"]]);
|
|
5226
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
5225
5227
|
__name: "OnyxIconButton",
|
|
5226
5228
|
props: {
|
|
5227
5229
|
density: { type: null, required: false },
|
|
@@ -5246,7 +5248,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
5246
5248
|
return __returned__;
|
|
5247
5249
|
}
|
|
5248
5250
|
});
|
|
5249
|
-
function _sfc_render$
|
|
5251
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5250
5252
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5251
5253
|
key: 0,
|
|
5252
5254
|
class: normalizeClass(["onyx-icon-button-skeleton", $setup.densityClass])
|
|
@@ -5274,8 +5276,8 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5274
5276
|
/* FORWARDED */
|
|
5275
5277
|
}, 16, ["aria-label", "title", "class"]));
|
|
5276
5278
|
}
|
|
5277
|
-
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5278
|
-
const _sfc_main$
|
|
5279
|
+
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIconButton/OnyxIconButton.vue"]]);
|
|
5280
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
5279
5281
|
__name: "OnyxTag",
|
|
5280
5282
|
props: {
|
|
5281
5283
|
density: { type: null, required: false },
|
|
@@ -5302,9 +5304,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5302
5304
|
return __returned__;
|
|
5303
5305
|
}
|
|
5304
5306
|
});
|
|
5305
|
-
const _hoisted_1$
|
|
5306
|
-
const _hoisted_2$
|
|
5307
|
-
function _sfc_render$
|
|
5307
|
+
const _hoisted_1$W = { class: "onyx-text--small onyx-truncation-ellipsis" };
|
|
5308
|
+
const _hoisted_2$L = { class: "onyx-text--small onyx-truncation-ellipsis" };
|
|
5309
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5308
5310
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5309
5311
|
key: 0,
|
|
5310
5312
|
class: normalizeClass(["onyx-tag-skeleton", $setup.densityClass])
|
|
@@ -5327,7 +5329,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5327
5329
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5328
5330
|
createElementVNode(
|
|
5329
5331
|
"span",
|
|
5330
|
-
_hoisted_1$
|
|
5332
|
+
_hoisted_1$W,
|
|
5331
5333
|
toDisplayString($setup.props.label),
|
|
5332
5334
|
1
|
|
5333
5335
|
/* TEXT */
|
|
@@ -5358,7 +5360,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5358
5360
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5359
5361
|
createElementVNode(
|
|
5360
5362
|
"span",
|
|
5361
|
-
_hoisted_2$
|
|
5363
|
+
_hoisted_2$L,
|
|
5362
5364
|
toDisplayString($setup.props.label),
|
|
5363
5365
|
1
|
|
5364
5366
|
/* TEXT */
|
|
@@ -5368,9 +5370,9 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5368
5370
|
/* CLASS */
|
|
5369
5371
|
));
|
|
5370
5372
|
}
|
|
5371
|
-
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5373
|
+
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTag/OnyxTag.vue"]]);
|
|
5372
5374
|
const __default__$7 = {};
|
|
5373
|
-
const _sfc_main$
|
|
5375
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
5374
5376
|
...__default__$7,
|
|
5375
5377
|
__name: "OnyxCalendar",
|
|
5376
5378
|
props: {
|
|
@@ -5485,12 +5487,12 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
5485
5487
|
return __returned__;
|
|
5486
5488
|
}
|
|
5487
5489
|
});
|
|
5488
|
-
const _hoisted_1$
|
|
5489
|
-
const _hoisted_2$
|
|
5490
|
-
const _hoisted_3$
|
|
5491
|
-
const _hoisted_4$
|
|
5492
|
-
const _hoisted_5$
|
|
5493
|
-
function _sfc_render$
|
|
5490
|
+
const _hoisted_1$V = { class: "onyx-calendar__header" };
|
|
5491
|
+
const _hoisted_2$K = { class: "control-container time-control-container" };
|
|
5492
|
+
const _hoisted_3$t = { class: "control-container" };
|
|
5493
|
+
const _hoisted_4$l = { class: "onyx-calendar__body" };
|
|
5494
|
+
const _hoisted_5$g = ["abbr"];
|
|
5495
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5494
5496
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5495
5497
|
"div",
|
|
5496
5498
|
{
|
|
@@ -5511,8 +5513,8 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5511
5513
|
class: normalizeClass(["onyx-component", "onyx-calendar", `onyx-calendar--${$setup.calendarSize}`, $setup.densityClass])
|
|
5512
5514
|
},
|
|
5513
5515
|
[
|
|
5514
|
-
createElementVNode("div", _hoisted_1$
|
|
5515
|
-
createElementVNode("div", _hoisted_2$
|
|
5516
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
5517
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
5516
5518
|
createVNode($setup["OnyxSystemButton"], {
|
|
5517
5519
|
label: $setup.t("calendar.todayButton.label"),
|
|
5518
5520
|
class: "control-container__today-btn",
|
|
@@ -5555,11 +5557,11 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5555
5557
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.goToMonthByOffset(1))
|
|
5556
5558
|
}, null, 8, ["label", "icon", "disabled"])
|
|
5557
5559
|
]),
|
|
5558
|
-
createElementVNode("div", _hoisted_3$
|
|
5560
|
+
createElementVNode("div", _hoisted_3$t, [
|
|
5559
5561
|
renderSlot(_ctx.$slots, "actions")
|
|
5560
5562
|
])
|
|
5561
5563
|
]),
|
|
5562
|
-
createElementVNode("div", _hoisted_4$
|
|
5564
|
+
createElementVNode("div", _hoisted_4$l, [
|
|
5563
5565
|
createElementVNode(
|
|
5564
5566
|
"table",
|
|
5565
5567
|
normalizeProps(guardReactiveProps($setup.tableProps)),
|
|
@@ -5574,7 +5576,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5574
5576
|
key: header,
|
|
5575
5577
|
scope: "col",
|
|
5576
5578
|
abbr: header
|
|
5577
|
-
}, toDisplayString(header), 9, _hoisted_5$
|
|
5579
|
+
}, toDisplayString(header), 9, _hoisted_5$g);
|
|
5578
5580
|
}),
|
|
5579
5581
|
128
|
|
5580
5582
|
/* KEYED_FRAGMENT */
|
|
@@ -5651,7 +5653,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5651
5653
|
/* CLASS */
|
|
5652
5654
|
));
|
|
5653
5655
|
}
|
|
5654
|
-
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5656
|
+
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendar/OnyxCalendar.vue"]]);
|
|
5655
5657
|
const useRequired = (props, requiredMarker) => ({
|
|
5656
5658
|
/**
|
|
5657
5659
|
* Class that configures which type of required marker is used.
|
|
@@ -5867,7 +5869,7 @@ const formatMinMax = (locale, type, value) => {
|
|
|
5867
5869
|
};
|
|
5868
5870
|
return date.toLocaleString(locale, format);
|
|
5869
5871
|
};
|
|
5870
|
-
const _sfc_main$
|
|
5872
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
5871
5873
|
__name: "OnyxErrorTooltip",
|
|
5872
5874
|
props: {
|
|
5873
5875
|
errorMessages: { type: Object, required: false },
|
|
@@ -5883,16 +5885,16 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
5883
5885
|
return __returned__;
|
|
5884
5886
|
}
|
|
5885
5887
|
});
|
|
5886
|
-
const _hoisted_1$
|
|
5887
|
-
const _hoisted_2$
|
|
5888
|
+
const _hoisted_1$U = { class: "onyx-component" };
|
|
5889
|
+
const _hoisted_2$J = {
|
|
5888
5890
|
key: 0,
|
|
5889
5891
|
ref: "targetRef"
|
|
5890
5892
|
};
|
|
5891
|
-
function _sfc_render$
|
|
5892
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5893
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5894
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
5893
5895
|
!$setup.tooltipError || $setup.props.disabled ? (openBlock(), createElementBlock(
|
|
5894
5896
|
"div",
|
|
5895
|
-
_hoisted_2$
|
|
5897
|
+
_hoisted_2$J,
|
|
5896
5898
|
null,
|
|
5897
5899
|
512
|
|
5898
5900
|
/* NEED_PATCH */
|
|
@@ -5925,8 +5927,8 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5925
5927
|
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
5926
5928
|
]);
|
|
5927
5929
|
}
|
|
5928
|
-
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5929
|
-
const _sfc_main$
|
|
5930
|
+
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxErrorTooltip/OnyxErrorTooltip.vue"]]);
|
|
5931
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
5930
5932
|
...{ inheritAttrs: false },
|
|
5931
5933
|
__name: "OnyxCheckbox",
|
|
5932
5934
|
props: {
|
|
@@ -5973,10 +5975,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5973
5975
|
return __returned__;
|
|
5974
5976
|
}
|
|
5975
5977
|
});
|
|
5976
|
-
const _hoisted_1$
|
|
5977
|
-
const _hoisted_2$
|
|
5978
|
-
const _hoisted_3$
|
|
5979
|
-
function _sfc_render$
|
|
5978
|
+
const _hoisted_1$T = ["title"];
|
|
5979
|
+
const _hoisted_2$I = { class: "onyx-checkbox__container" };
|
|
5980
|
+
const _hoisted_3$s = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"];
|
|
5981
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5980
5982
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5981
5983
|
"div",
|
|
5982
5984
|
mergeProps({
|
|
@@ -6002,7 +6004,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6002
6004
|
class: normalizeClass(["onyx-component onyx-checkbox", [$setup.requiredTypeClass, $setup.densityClass]]),
|
|
6003
6005
|
title: $setup.title
|
|
6004
6006
|
}, [
|
|
6005
|
-
createElementVNode("div", _hoisted_2$
|
|
6007
|
+
createElementVNode("div", _hoisted_2$I, [
|
|
6006
6008
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
6007
6009
|
key: 0,
|
|
6008
6010
|
class: "onyx-checkbox__loading",
|
|
@@ -6019,7 +6021,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6019
6021
|
required: $setup.props.required,
|
|
6020
6022
|
value: $setup.props.value,
|
|
6021
6023
|
autofocus: $setup.props.autofocus
|
|
6022
|
-
}, $setup.restAttrs), null, 16, _hoisted_3$
|
|
6024
|
+
}, $setup.restAttrs), null, 16, _hoisted_3$s)), [
|
|
6023
6025
|
[vModelCheckbox, $setup.isChecked],
|
|
6024
6026
|
[$setup["vCustomValidity"]]
|
|
6025
6027
|
])
|
|
@@ -6055,13 +6057,13 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6055
6057
|
64
|
|
6056
6058
|
/* STABLE_FRAGMENT */
|
|
6057
6059
|
)) : createCommentVNode("v-if", true)
|
|
6058
|
-
], 10, _hoisted_1$
|
|
6060
|
+
], 10, _hoisted_1$T)
|
|
6059
6061
|
]),
|
|
6060
6062
|
_: 1
|
|
6061
6063
|
/* STABLE */
|
|
6062
6064
|
}, 16, ["disabled", "error-messages"]));
|
|
6063
6065
|
}
|
|
6064
|
-
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6066
|
+
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckbox/OnyxCheckbox.vue"]]);
|
|
6065
6067
|
const useSelectAllCheckboxState = (enabledOptionValues, modelValue) => computed(() => {
|
|
6066
6068
|
const currentValues = modelValue.value.filter(
|
|
6067
6069
|
(value) => enabledOptionValues.value.includes(value)
|
|
@@ -6096,7 +6098,7 @@ const useCheckAll = (enabledOptionValues, modelValue, onChangeCallback) => {
|
|
|
6096
6098
|
}
|
|
6097
6099
|
};
|
|
6098
6100
|
};
|
|
6099
|
-
const _sfc_main$
|
|
6101
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
6100
6102
|
__name: "OnyxInfoTooltip",
|
|
6101
6103
|
props: {
|
|
6102
6104
|
text: { type: String, required: true },
|
|
@@ -6132,9 +6134,9 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
6132
6134
|
return __returned__;
|
|
6133
6135
|
}
|
|
6134
6136
|
});
|
|
6135
|
-
const _hoisted_1$
|
|
6136
|
-
function _sfc_render$
|
|
6137
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
6137
|
+
const _hoisted_1$S = { class: "onyx-component onyx-info-tooltip" };
|
|
6138
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6139
|
+
return openBlock(), createElementBlock("span", _hoisted_1$S, [
|
|
6138
6140
|
$setup.triggerType === "click" ? (openBlock(), createBlock($setup["OnyxTooltip"], mergeProps({ key: 0 }, $setup.tooltipProps, {
|
|
6139
6141
|
open: $setup.isVisible,
|
|
6140
6142
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isVisible = $event)
|
|
@@ -6192,8 +6194,8 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6192
6194
|
))
|
|
6193
6195
|
]);
|
|
6194
6196
|
}
|
|
6195
|
-
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6196
|
-
const _sfc_main$
|
|
6197
|
+
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoTooltip/OnyxInfoTooltip.vue"]]);
|
|
6198
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
6197
6199
|
__name: "OnyxCheckboxGroup",
|
|
6198
6200
|
props: {
|
|
6199
6201
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -6251,18 +6253,18 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
6251
6253
|
return __returned__;
|
|
6252
6254
|
}
|
|
6253
6255
|
});
|
|
6254
|
-
const _hoisted_1$
|
|
6255
|
-
const _hoisted_2$
|
|
6256
|
+
const _hoisted_1$R = ["disabled", "aria-label"];
|
|
6257
|
+
const _hoisted_2$H = {
|
|
6256
6258
|
key: 0,
|
|
6257
6259
|
class: "onyx-checkbox-group__label"
|
|
6258
6260
|
};
|
|
6259
|
-
function _sfc_render$
|
|
6261
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6260
6262
|
return openBlock(), createElementBlock("fieldset", {
|
|
6261
6263
|
class: normalizeClass(["onyx-component", "onyx-checkbox-group", $setup.densityClass]),
|
|
6262
6264
|
disabled: $setup.disabled,
|
|
6263
6265
|
"aria-label": $setup.props.label
|
|
6264
6266
|
}, [
|
|
6265
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$
|
|
6267
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$H, [
|
|
6266
6268
|
createVNode($setup["OnyxHeadline"], { is: "h3" }, {
|
|
6267
6269
|
default: withCtx(() => [
|
|
6268
6270
|
createTextVNode(
|
|
@@ -6342,12 +6344,12 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6342
6344
|
2
|
|
6343
6345
|
/* CLASS */
|
|
6344
6346
|
)
|
|
6345
|
-
], 10, _hoisted_1$
|
|
6347
|
+
], 10, _hoisted_1$R);
|
|
6346
6348
|
}
|
|
6347
|
-
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6349
|
+
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue"]]);
|
|
6348
6350
|
const CODE_TABS_INJECTION_KEY = Symbol();
|
|
6349
6351
|
const TABS_INJECTION_KEY = Symbol();
|
|
6350
|
-
const _sfc_main$
|
|
6352
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
6351
6353
|
...{ inheritAttrs: false },
|
|
6352
6354
|
__name: "OnyxTab",
|
|
6353
6355
|
props: {
|
|
@@ -6378,9 +6380,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
6378
6380
|
return __returned__;
|
|
6379
6381
|
}
|
|
6380
6382
|
});
|
|
6381
|
-
const _hoisted_1$
|
|
6382
|
-
const _hoisted_2$
|
|
6383
|
-
function _sfc_render$
|
|
6383
|
+
const _hoisted_1$Q = ["disabled"];
|
|
6384
|
+
const _hoisted_2$G = { class: "onyx-tab__label" };
|
|
6385
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6384
6386
|
return openBlock(), createElementBlock(
|
|
6385
6387
|
Fragment,
|
|
6386
6388
|
null,
|
|
@@ -6401,7 +6403,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6401
6403
|
type: "button",
|
|
6402
6404
|
disabled: $setup.props.disabled
|
|
6403
6405
|
}), [
|
|
6404
|
-
createElementVNode("div", _hoisted_2$
|
|
6406
|
+
createElementVNode("div", _hoisted_2$G, [
|
|
6405
6407
|
renderSlot(_ctx.$slots, "tab", {}, () => [
|
|
6406
6408
|
createTextVNode(
|
|
6407
6409
|
toDisplayString($setup.props.label),
|
|
@@ -6410,7 +6412,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6410
6412
|
)
|
|
6411
6413
|
])
|
|
6412
6414
|
])
|
|
6413
|
-
], 16, _hoisted_1$
|
|
6415
|
+
], 16, _hoisted_1$Q)),
|
|
6414
6416
|
$setup.tabsContext?.panel.value ? (openBlock(), createBlock(Teleport, {
|
|
6415
6417
|
key: 2,
|
|
6416
6418
|
to: $setup.tabsContext?.panel.value,
|
|
@@ -6435,9 +6437,9 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6435
6437
|
/* STABLE_FRAGMENT */
|
|
6436
6438
|
);
|
|
6437
6439
|
}
|
|
6438
|
-
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6440
|
+
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTab/OnyxTab.vue"]]);
|
|
6439
6441
|
const __default__$6 = {};
|
|
6440
|
-
const _sfc_main$
|
|
6442
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
6441
6443
|
...__default__$6,
|
|
6442
6444
|
__name: "OnyxCodeTab",
|
|
6443
6445
|
props: {
|
|
@@ -6479,15 +6481,15 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
6479
6481
|
return __returned__;
|
|
6480
6482
|
}
|
|
6481
6483
|
});
|
|
6482
|
-
const _hoisted_1$
|
|
6484
|
+
const _hoisted_1$P = {
|
|
6483
6485
|
key: 0,
|
|
6484
6486
|
class: "onyx-code-tab__skeletons"
|
|
6485
6487
|
};
|
|
6486
|
-
const _hoisted_2$
|
|
6488
|
+
const _hoisted_2$F = {
|
|
6487
6489
|
key: 0,
|
|
6488
6490
|
class: "onyx-code-tab__language onyx-text--small"
|
|
6489
6491
|
};
|
|
6490
|
-
function _sfc_render$
|
|
6492
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6491
6493
|
return openBlock(), createBlock($setup["OnyxTab"], mergeProps($setup.tabProps, {
|
|
6492
6494
|
label: $setup.label,
|
|
6493
6495
|
class: "onyx-code-tab",
|
|
@@ -6508,7 +6510,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6508
6510
|
])
|
|
6509
6511
|
]),
|
|
6510
6512
|
default: withCtx(() => [
|
|
6511
|
-
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6513
|
+
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
6512
6514
|
(openBlock(), createElementBlock(
|
|
6513
6515
|
Fragment,
|
|
6514
6516
|
null,
|
|
@@ -6538,7 +6540,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6538
6540
|
]),
|
|
6539
6541
|
$setup.props.language ? (openBlock(), createElementBlock(
|
|
6540
6542
|
"span",
|
|
6541
|
-
_hoisted_2$
|
|
6543
|
+
_hoisted_2$F,
|
|
6542
6544
|
toDisplayString($setup.props.language),
|
|
6543
6545
|
1
|
|
6544
6546
|
/* TEXT */
|
|
@@ -6552,8 +6554,8 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6552
6554
|
/* FORWARDED */
|
|
6553
6555
|
}, 16, ["label", "disabled"]);
|
|
6554
6556
|
}
|
|
6555
|
-
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6556
|
-
const _sfc_main
|
|
6557
|
+
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTab/OnyxCodeTab.vue"]]);
|
|
6558
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
6557
6559
|
__name: "OnyxTabs",
|
|
6558
6560
|
props: {
|
|
6559
6561
|
density: { type: null, required: false },
|
|
@@ -6592,12 +6594,12 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
6592
6594
|
return __returned__;
|
|
6593
6595
|
}
|
|
6594
6596
|
});
|
|
6595
|
-
const _hoisted_1$
|
|
6596
|
-
const _hoisted_2$
|
|
6597
|
+
const _hoisted_1$O = { class: "onyx-tabs__header" };
|
|
6598
|
+
const _hoisted_2$E = {
|
|
6597
6599
|
key: 0,
|
|
6598
6600
|
class: "onyx-tabs__actions"
|
|
6599
6601
|
};
|
|
6600
|
-
function _sfc_render
|
|
6602
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6601
6603
|
return openBlock(), createElementBlock(
|
|
6602
6604
|
"div",
|
|
6603
6605
|
{
|
|
@@ -6610,7 +6612,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6610
6612
|
])
|
|
6611
6613
|
},
|
|
6612
6614
|
[
|
|
6613
|
-
createElementVNode("div", _hoisted_1$
|
|
6615
|
+
createElementVNode("div", _hoisted_1$O, [
|
|
6614
6616
|
createElementVNode(
|
|
6615
6617
|
"div",
|
|
6616
6618
|
mergeProps($setup.headless.elements.tablist.value, { class: "onyx-tabs__tablist" }),
|
|
@@ -6620,7 +6622,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6620
6622
|
16
|
|
6621
6623
|
/* FULL_PROPS */
|
|
6622
6624
|
),
|
|
6623
|
-
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6625
|
+
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_2$E, [
|
|
6624
6626
|
renderSlot(_ctx.$slots, "actions")
|
|
6625
6627
|
])) : createCommentVNode("v-if", true)
|
|
6626
6628
|
])
|
|
@@ -6629,9 +6631,9 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6629
6631
|
/* CLASS */
|
|
6630
6632
|
);
|
|
6631
6633
|
}
|
|
6632
|
-
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6634
|
+
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTabs/OnyxTabs.vue"]]);
|
|
6633
6635
|
const __default__$5 = {};
|
|
6634
|
-
const _sfc_main$
|
|
6636
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
6635
6637
|
...__default__$5,
|
|
6636
6638
|
__name: "OnyxCodeTabs",
|
|
6637
6639
|
props: {
|
|
@@ -6673,7 +6675,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
6673
6675
|
return __returned__;
|
|
6674
6676
|
}
|
|
6675
6677
|
});
|
|
6676
|
-
function _sfc_render$
|
|
6678
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6677
6679
|
return openBlock(), createBlock($setup["OnyxTabs"], mergeProps($setup.tabsProps, {
|
|
6678
6680
|
modelValue: $setup.modelValue,
|
|
6679
6681
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.modelValue = $event),
|
|
@@ -6706,13 +6708,13 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6706
6708
|
/* FORWARDED */
|
|
6707
6709
|
}, 16, ["modelValue", "label"]);
|
|
6708
6710
|
}
|
|
6709
|
-
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6711
|
+
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTabs/OnyxCodeTabs.vue"]]);
|
|
6710
6712
|
const escapeCSS = (key) => {
|
|
6711
6713
|
const name = typeof key === "symbol" && key.description ? key.description : String(key);
|
|
6712
6714
|
if (globalThis.window && window.CSS) return CSS.escape(name);
|
|
6713
6715
|
return name.replace(/\W/g, "-");
|
|
6714
6716
|
};
|
|
6715
|
-
const _sfc_main
|
|
6717
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
6716
6718
|
__name: "OnyxEmpty",
|
|
6717
6719
|
props: {
|
|
6718
6720
|
density: { type: null, required: false }
|
|
@@ -6729,12 +6731,12 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
6729
6731
|
return __returned__;
|
|
6730
6732
|
}
|
|
6731
6733
|
});
|
|
6732
|
-
const _hoisted_1$
|
|
6733
|
-
const _hoisted_2$
|
|
6734
|
+
const _hoisted_1$N = { class: "onyx-empty__label onyx-text onyx-truncation-multiline" };
|
|
6735
|
+
const _hoisted_2$D = {
|
|
6734
6736
|
key: 0,
|
|
6735
6737
|
class: "onyx-empty__buttons"
|
|
6736
6738
|
};
|
|
6737
|
-
function _sfc_render
|
|
6739
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6738
6740
|
return openBlock(), createElementBlock(
|
|
6739
6741
|
"div",
|
|
6740
6742
|
{
|
|
@@ -6747,10 +6749,10 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6747
6749
|
size: "48px"
|
|
6748
6750
|
}, null, 8, ["icon"])
|
|
6749
6751
|
]),
|
|
6750
|
-
createElementVNode("div", _hoisted_1$
|
|
6752
|
+
createElementVNode("div", _hoisted_1$N, [
|
|
6751
6753
|
renderSlot(_ctx.$slots, "default")
|
|
6752
6754
|
]),
|
|
6753
|
-
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6755
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
|
|
6754
6756
|
renderSlot(_ctx.$slots, "buttons")
|
|
6755
6757
|
])) : createCommentVNode("v-if", true)
|
|
6756
6758
|
],
|
|
@@ -6758,8 +6760,8 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6758
6760
|
/* CLASS */
|
|
6759
6761
|
);
|
|
6760
6762
|
}
|
|
6761
|
-
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6762
|
-
const _sfc_main$
|
|
6763
|
+
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxEmpty/OnyxEmpty.vue"]]);
|
|
6764
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
6763
6765
|
__name: "OnyxTable",
|
|
6764
6766
|
props: {
|
|
6765
6767
|
density: { type: null, required: false },
|
|
@@ -6790,14 +6792,14 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
6790
6792
|
return __returned__;
|
|
6791
6793
|
}
|
|
6792
6794
|
});
|
|
6793
|
-
const _hoisted_1$
|
|
6795
|
+
const _hoisted_1$M = {
|
|
6794
6796
|
key: 0,
|
|
6795
6797
|
class: "onyx-table-wrapper__top"
|
|
6796
6798
|
};
|
|
6797
|
-
const _hoisted_2$
|
|
6798
|
-
const _hoisted_3$
|
|
6799
|
-
const _hoisted_4$
|
|
6800
|
-
const _hoisted_5$
|
|
6799
|
+
const _hoisted_2$C = ["id"];
|
|
6800
|
+
const _hoisted_3$r = { class: "onyx-table-wrapper__actions" };
|
|
6801
|
+
const _hoisted_4$k = ["tabindex"];
|
|
6802
|
+
const _hoisted_5$f = ["aria-labelledby"];
|
|
6801
6803
|
const _hoisted_6$a = ["span"];
|
|
6802
6804
|
const _hoisted_7$6 = {
|
|
6803
6805
|
key: 0,
|
|
@@ -6812,7 +6814,7 @@ const _hoisted_13 = {
|
|
|
6812
6814
|
key: 1,
|
|
6813
6815
|
class: "onyx-table-wrapper__bottom"
|
|
6814
6816
|
};
|
|
6815
|
-
function _sfc_render$
|
|
6817
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6816
6818
|
return openBlock(), createElementBlock(
|
|
6817
6819
|
"div",
|
|
6818
6820
|
{
|
|
@@ -6820,11 +6822,11 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6820
6822
|
style: normalizeStyle($setup.style)
|
|
6821
6823
|
},
|
|
6822
6824
|
[
|
|
6823
|
-
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6825
|
+
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
6824
6826
|
createElementVNode("div", { id: $setup.headlineId }, [
|
|
6825
6827
|
renderSlot(_ctx.$slots, "headline")
|
|
6826
|
-
], 8, _hoisted_2$
|
|
6827
|
-
createElementVNode("div", _hoisted_3$
|
|
6828
|
+
], 8, _hoisted_2$C),
|
|
6829
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
6828
6830
|
renderSlot(_ctx.$slots, "actions")
|
|
6829
6831
|
])
|
|
6830
6832
|
])) : createCommentVNode("v-if", true),
|
|
@@ -6902,8 +6904,8 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6902
6904
|
])
|
|
6903
6905
|
])
|
|
6904
6906
|
])
|
|
6905
|
-
], 10, _hoisted_5$
|
|
6906
|
-
], 16, _hoisted_4$
|
|
6907
|
+
], 10, _hoisted_5$f)
|
|
6908
|
+
], 16, _hoisted_4$k),
|
|
6907
6909
|
!!$setup.slots.bottomLeft || !!$setup.slots.pagination ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
6908
6910
|
createElementVNode("div", null, [
|
|
6909
6911
|
renderSlot(_ctx.$slots, "bottomLeft")
|
|
@@ -6917,8 +6919,8 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6917
6919
|
/* CLASS, STYLE */
|
|
6918
6920
|
);
|
|
6919
6921
|
}
|
|
6920
|
-
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6921
|
-
const _sfc_main$
|
|
6922
|
+
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTable/OnyxTable.vue"]]);
|
|
6923
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
6922
6924
|
__name: "OnyxDataGridRenderer",
|
|
6923
6925
|
props: {
|
|
6924
6926
|
density: { type: null, required: false },
|
|
@@ -6955,7 +6957,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
6955
6957
|
return __returned__;
|
|
6956
6958
|
}
|
|
6957
6959
|
});
|
|
6958
|
-
function _sfc_render$
|
|
6960
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6959
6961
|
return openBlock(), createBlock($setup["OnyxTable"], mergeProps({ class: "onyx-data-grid" }, $setup.tableProps, {
|
|
6960
6962
|
"scroll-container-attrs": $setup.mergeVueProps($setup.props.scrollContainerAttrs, { style: $setup.columnStyle })
|
|
6961
6963
|
}), createSlots({
|
|
@@ -7062,8 +7064,8 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7062
7064
|
})
|
|
7063
7065
|
]), 1040, ["scroll-container-attrs"]);
|
|
7064
7066
|
}
|
|
7065
|
-
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7066
|
-
const _sfc_main$
|
|
7067
|
+
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGridRenderer/OnyxDataGridRenderer.vue"]]);
|
|
7068
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
7067
7069
|
...{ inheritAttrs: false },
|
|
7068
7070
|
__name: "OnyxMiniSearch",
|
|
7069
7071
|
props: {
|
|
@@ -7103,9 +7105,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
7103
7105
|
return __returned__;
|
|
7104
7106
|
}
|
|
7105
7107
|
});
|
|
7106
|
-
const _hoisted_1$
|
|
7107
|
-
const _hoisted_2$
|
|
7108
|
-
function _sfc_render$
|
|
7108
|
+
const _hoisted_1$L = ["autofocus", "placeholder", "aria-label"];
|
|
7109
|
+
const _hoisted_2$B = ["aria-label"];
|
|
7110
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7109
7111
|
return openBlock(), createElementBlock(
|
|
7110
7112
|
"div",
|
|
7111
7113
|
mergeProps({
|
|
@@ -7124,7 +7126,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7124
7126
|
size: "1"
|
|
7125
7127
|
}, $setup.restAttrs, {
|
|
7126
7128
|
"aria-label": $setup.props.label
|
|
7127
|
-
}), null, 16, _hoisted_1$
|
|
7129
|
+
}), null, 16, _hoisted_1$L), [
|
|
7128
7130
|
[vModelText, $setup.modelValue]
|
|
7129
7131
|
]),
|
|
7130
7132
|
createElementVNode("button", {
|
|
@@ -7137,7 +7139,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7137
7139
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.emit("clear"))
|
|
7138
7140
|
}, [
|
|
7139
7141
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
7140
|
-
], 40, _hoisted_2$
|
|
7142
|
+
], 40, _hoisted_2$B),
|
|
7141
7143
|
createVNode($setup["OnyxIcon"], {
|
|
7142
7144
|
class: "onyx-mini-search__icon",
|
|
7143
7145
|
icon: $setup.iconSearch
|
|
@@ -7147,11 +7149,11 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7147
7149
|
/* FULL_PROPS */
|
|
7148
7150
|
);
|
|
7149
7151
|
}
|
|
7150
|
-
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7152
|
+
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMiniSearch/OnyxMiniSearch.vue"]]);
|
|
7151
7153
|
const prepareMapping = (features, key) => features.flatMap((f) => f[key]).filter((f) => f?.func).sort((a, b) => (a?.order ?? 0) - (b?.order ?? 0));
|
|
7152
7154
|
const applyMapping = (mapping, input2) => mapping.reduce((output, m) => m.func(output), input2);
|
|
7153
7155
|
const DataGridRowOptionsSymbol = Symbol("RowOptions");
|
|
7154
|
-
const _sfc_main$
|
|
7156
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
7155
7157
|
__name: "HeaderCell",
|
|
7156
7158
|
props: {
|
|
7157
7159
|
label: { type: String, required: true }
|
|
@@ -7165,27 +7167,27 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
7165
7167
|
return __returned__;
|
|
7166
7168
|
}
|
|
7167
7169
|
});
|
|
7168
|
-
const _hoisted_1$
|
|
7169
|
-
const _hoisted_2$
|
|
7170
|
-
const _hoisted_3$
|
|
7170
|
+
const _hoisted_1$K = { class: "onyx-component onyx-data-grid-header-cell" };
|
|
7171
|
+
const _hoisted_2$A = { class: "onyx-data-grid-header-cell__label" };
|
|
7172
|
+
const _hoisted_3$q = {
|
|
7171
7173
|
key: 0,
|
|
7172
7174
|
class: "onyx-data-grid-header-cell__actions"
|
|
7173
7175
|
};
|
|
7174
|
-
function _sfc_render$
|
|
7175
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7176
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7177
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
7176
7178
|
createElementVNode(
|
|
7177
7179
|
"span",
|
|
7178
|
-
_hoisted_2$
|
|
7180
|
+
_hoisted_2$A,
|
|
7179
7181
|
toDisplayString($setup.props.label),
|
|
7180
7182
|
1
|
|
7181
7183
|
/* TEXT */
|
|
7182
7184
|
),
|
|
7183
|
-
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7185
|
+
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
|
|
7184
7186
|
renderSlot(_ctx.$slots, "actions")
|
|
7185
7187
|
])) : createCommentVNode("v-if", true)
|
|
7186
7188
|
]);
|
|
7187
7189
|
}
|
|
7188
|
-
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7190
|
+
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/HeaderCell.vue"]]);
|
|
7189
7191
|
const FALLBACK_RENDER_VALUE = "-";
|
|
7190
7192
|
const fallback = (opts) => opts?.fallback ?? FALLBACK_RENDER_VALUE;
|
|
7191
7193
|
const createTypeRenderer = (typeRenderer) => Object.freeze(typeRenderer);
|
|
@@ -7678,7 +7680,7 @@ const formatBytesToString = (locale, bytes) => {
|
|
|
7678
7680
|
unitDisplay: "narrow"
|
|
7679
7681
|
}).format(value);
|
|
7680
7682
|
};
|
|
7681
|
-
const _sfc_main$
|
|
7683
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
7682
7684
|
__name: "OnyxInlinePagination",
|
|
7683
7685
|
props: {
|
|
7684
7686
|
density: { type: null, required: false },
|
|
@@ -7730,12 +7732,12 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
7730
7732
|
return __returned__;
|
|
7731
7733
|
}
|
|
7732
7734
|
});
|
|
7733
|
-
const _hoisted_1$
|
|
7734
|
-
const _hoisted_2$
|
|
7735
|
-
const _hoisted_3$
|
|
7736
|
-
const _hoisted_4$
|
|
7737
|
-
const _hoisted_5$
|
|
7738
|
-
function _sfc_render$
|
|
7735
|
+
const _hoisted_1$J = ["aria-label"];
|
|
7736
|
+
const _hoisted_2$z = ["aria-label", "disabled"];
|
|
7737
|
+
const _hoisted_3$p = ["aria-label", "disabled", "onClick"];
|
|
7738
|
+
const _hoisted_4$j = ["aria-label"];
|
|
7739
|
+
const _hoisted_5$e = ["aria-label", "disabled"];
|
|
7740
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7739
7741
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
7740
7742
|
key: 0,
|
|
7741
7743
|
class: normalizeClass([
|
|
@@ -7764,7 +7766,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7764
7766
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue - 1))
|
|
7765
7767
|
}, [
|
|
7766
7768
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronLeftSmall }, null, 8, ["icon"])
|
|
7767
|
-
], 8, _hoisted_2$
|
|
7769
|
+
], 8, _hoisted_2$z),
|
|
7768
7770
|
(openBlock(true), createElementBlock(
|
|
7769
7771
|
Fragment,
|
|
7770
7772
|
null,
|
|
@@ -7783,7 +7785,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7783
7785
|
type: "button",
|
|
7784
7786
|
disabled: $setup.props.disabled,
|
|
7785
7787
|
onClick: ($event) => $setup.emit("update:modelValue", pageNumber)
|
|
7786
|
-
}, toDisplayString(pageNumber), 11, _hoisted_3$
|
|
7788
|
+
}, toDisplayString(pageNumber), 11, _hoisted_3$p)) : (openBlock(), createElementBlock("div", {
|
|
7787
7789
|
key: 1,
|
|
7788
7790
|
class: normalizeClass(["onyx-pagination__more-pages"]),
|
|
7789
7791
|
"aria-label": $setup.t("pagination.morePages")
|
|
@@ -7806,7 +7808,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7806
7808
|
_: 1
|
|
7807
7809
|
/* STABLE */
|
|
7808
7810
|
})
|
|
7809
|
-
], 8, _hoisted_4$
|
|
7811
|
+
], 8, _hoisted_4$j))
|
|
7810
7812
|
],
|
|
7811
7813
|
64
|
|
7812
7814
|
/* STABLE_FRAGMENT */
|
|
@@ -7823,10 +7825,10 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7823
7825
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue + 1))
|
|
7824
7826
|
}, [
|
|
7825
7827
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
7826
|
-
], 8, _hoisted_5$
|
|
7827
|
-
], 10, _hoisted_1$
|
|
7828
|
+
], 8, _hoisted_5$e)
|
|
7829
|
+
], 10, _hoisted_1$J));
|
|
7828
7830
|
}
|
|
7829
|
-
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7831
|
+
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxInlinePagination.vue"]]);
|
|
7830
7832
|
const useErrorClass = (showError) => computed(() => {
|
|
7831
7833
|
if (showError.value === true) {
|
|
7832
7834
|
return "onyx-form-element--immediate-invalid";
|
|
@@ -7836,7 +7838,7 @@ const useErrorClass = (showError) => computed(() => {
|
|
|
7836
7838
|
}
|
|
7837
7839
|
return "onyx-form-element--touched-invalid";
|
|
7838
7840
|
});
|
|
7839
|
-
const _sfc_main$
|
|
7841
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
7840
7842
|
__name: "FormMessage",
|
|
7841
7843
|
props: {
|
|
7842
7844
|
messages: { type: Object, required: true },
|
|
@@ -7850,17 +7852,17 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
7850
7852
|
return __returned__;
|
|
7851
7853
|
}
|
|
7852
7854
|
});
|
|
7853
|
-
const _hoisted_1$
|
|
7855
|
+
const _hoisted_1$I = {
|
|
7854
7856
|
class: /* @__PURE__ */ normalizeClass(["onyx-truncation-ellipsis"])
|
|
7855
7857
|
};
|
|
7856
|
-
function _sfc_render$
|
|
7858
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7857
7859
|
return openBlock(), createBlock(resolveDynamicComponent($props.messages.hidden ? $setup.OnyxVisuallyHidden : "span"), {
|
|
7858
7860
|
class: normalizeClass(["onyx-component", "onyx-form-message", `onyx-form-message__${$setup.props.type}`])
|
|
7859
7861
|
}, {
|
|
7860
7862
|
default: withCtx(() => [
|
|
7861
7863
|
createElementVNode(
|
|
7862
7864
|
"span",
|
|
7863
|
-
_hoisted_1$
|
|
7865
|
+
_hoisted_1$I,
|
|
7864
7866
|
toDisplayString($setup.props.messages.shortMessage),
|
|
7865
7867
|
1
|
|
7866
7868
|
/* TEXT */
|
|
@@ -7878,8 +7880,8 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7878
7880
|
/* STABLE */
|
|
7879
7881
|
}, 8, ["class"]);
|
|
7880
7882
|
}
|
|
7881
|
-
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7882
|
-
const _sfc_main$
|
|
7883
|
+
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/FormMessage.vue"]]);
|
|
7884
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
7883
7885
|
__name: "OnyxFormElement",
|
|
7884
7886
|
props: {
|
|
7885
7887
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -7952,17 +7954,17 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
7952
7954
|
return __returned__;
|
|
7953
7955
|
}
|
|
7954
7956
|
});
|
|
7955
|
-
const _hoisted_1$
|
|
7957
|
+
const _hoisted_1$H = {
|
|
7956
7958
|
key: 0,
|
|
7957
7959
|
class: "onyx-form-element__label onyx-text--small"
|
|
7958
7960
|
};
|
|
7959
|
-
const _hoisted_2$
|
|
7960
|
-
const _hoisted_3$
|
|
7961
|
+
const _hoisted_2$y = ["for"];
|
|
7962
|
+
const _hoisted_3$o = {
|
|
7961
7963
|
key: 1,
|
|
7962
7964
|
class: "onyx-form-element__footer onyx-text--small"
|
|
7963
7965
|
};
|
|
7964
|
-
const _hoisted_4$
|
|
7965
|
-
function _sfc_render$
|
|
7966
|
+
const _hoisted_4$i = { class: "onyx-form-element__footer-messages" };
|
|
7967
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7966
7968
|
return openBlock(), createElementBlock(
|
|
7967
7969
|
"div",
|
|
7968
7970
|
{
|
|
@@ -7974,11 +7976,11 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7974
7976
|
])
|
|
7975
7977
|
},
|
|
7976
7978
|
[
|
|
7977
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7979
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
7978
7980
|
createElementVNode("label", {
|
|
7979
7981
|
for: $setup.props.id,
|
|
7980
7982
|
class: "onyx-truncation-ellipsis"
|
|
7981
|
-
}, toDisplayString($setup.props.label), 9, _hoisted_2$
|
|
7983
|
+
}, toDisplayString($setup.props.label), 9, _hoisted_2$y),
|
|
7982
7984
|
$setup.props.required ? (openBlock(), createElementBlock(
|
|
7983
7985
|
"span",
|
|
7984
7986
|
{
|
|
@@ -8009,8 +8011,8 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8009
8011
|
renderSlot(_ctx.$slots, "default", {
|
|
8010
8012
|
id: $setup.props.id
|
|
8011
8013
|
}),
|
|
8012
|
-
$setup.footer ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8013
|
-
createElementVNode("span", _hoisted_4$
|
|
8014
|
+
$setup.footer ? (openBlock(), createElementBlock("div", _hoisted_3$o, [
|
|
8015
|
+
createElementVNode("span", _hoisted_4$i, [
|
|
8014
8016
|
$setup.footer.errorMessages ? (openBlock(), createBlock($setup["FormMessage"], {
|
|
8015
8017
|
key: 0,
|
|
8016
8018
|
class: "onyx-form-element__error-message",
|
|
@@ -8049,8 +8051,8 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8049
8051
|
/* CLASS */
|
|
8050
8052
|
);
|
|
8051
8053
|
}
|
|
8052
|
-
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8053
|
-
const _sfc_main$
|
|
8054
|
+
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/OnyxFormElement.vue"]]);
|
|
8055
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
8054
8056
|
...{ inheritAttrs: false },
|
|
8055
8057
|
__name: "OnyxSelectInput",
|
|
8056
8058
|
props: {
|
|
@@ -8133,9 +8135,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
8133
8135
|
return __returned__;
|
|
8134
8136
|
}
|
|
8135
8137
|
});
|
|
8136
|
-
const _hoisted_1$
|
|
8137
|
-
const _hoisted_2$
|
|
8138
|
-
function _sfc_render$
|
|
8138
|
+
const _hoisted_1$G = ["id", "readonly", "placeholder", "required", "disabled", "aria-label", "title", "value", "autofocus"];
|
|
8139
|
+
const _hoisted_2$x = ["aria-label", "title", "disabled"];
|
|
8140
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8139
8141
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
8140
8142
|
"div",
|
|
8141
8143
|
mergeProps({
|
|
@@ -8200,7 +8202,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8200
8202
|
autofocus: $setup.props.autofocus,
|
|
8201
8203
|
autocomplete: "off",
|
|
8202
8204
|
onKeydown: $setup.blockTyping
|
|
8203
|
-
}), null, 16, _hoisted_1$
|
|
8205
|
+
}), null, 16, _hoisted_1$G), [
|
|
8204
8206
|
[$setup["vCustomValidity"]]
|
|
8205
8207
|
]),
|
|
8206
8208
|
$setup.props.textMode === "preview" && $setup.selectionCount > 0 ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
@@ -8239,7 +8241,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8239
8241
|
disabled: $setup.disabled || $setup.props.readonly || $setup.props.loading
|
|
8240
8242
|
}, [
|
|
8241
8243
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronDownUp }, null, 8, ["icon"])
|
|
8242
|
-
], 8, _hoisted_2$
|
|
8244
|
+
], 8, _hoisted_2$x),
|
|
8243
8245
|
!$setup.props.hideSuccessIcon && $setup.successMessages ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
8244
8246
|
key: 2,
|
|
8245
8247
|
class: "onyx-select-input__check-icon",
|
|
@@ -8256,8 +8258,8 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8256
8258
|
/* FULL_PROPS */
|
|
8257
8259
|
));
|
|
8258
8260
|
}
|
|
8259
|
-
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8260
|
-
const _sfc_main$
|
|
8261
|
+
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectInput/OnyxSelectInput.vue"]]);
|
|
8262
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
8261
8263
|
__name: "OnyxSelectOption",
|
|
8262
8264
|
props: {
|
|
8263
8265
|
active: { type: Boolean, required: false, default: false },
|
|
@@ -8276,8 +8278,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8276
8278
|
return __returned__;
|
|
8277
8279
|
}
|
|
8278
8280
|
});
|
|
8279
|
-
const _hoisted_1$
|
|
8280
|
-
function _sfc_render$
|
|
8281
|
+
const _hoisted_1$F = ["checked", "aria-labelledby", "disabled", "indeterminate"];
|
|
8282
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8281
8283
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({ class: "onyx-component onyx-select-option" }, $setup.listItemProps, {
|
|
8282
8284
|
checked: !!_ctx.$attrs["aria-checked"],
|
|
8283
8285
|
selected: !!_ctx.$attrs["aria-selected"],
|
|
@@ -8294,7 +8296,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8294
8296
|
tabindex: "-1",
|
|
8295
8297
|
class: "onyx-select-option__checkbox",
|
|
8296
8298
|
type: "checkbox"
|
|
8297
|
-
}, null, 8, _hoisted_1$
|
|
8299
|
+
}, null, 8, _hoisted_1$F)) : createCommentVNode("v-if", true),
|
|
8298
8300
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
8299
8301
|
key: 1,
|
|
8300
8302
|
icon: $setup.props.icon
|
|
@@ -8315,8 +8317,8 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8315
8317
|
/* FORWARDED */
|
|
8316
8318
|
}, 16, ["checked", "selected", "disabled"]);
|
|
8317
8319
|
}
|
|
8318
|
-
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8319
|
-
const _sfc_main$
|
|
8320
|
+
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectOption/OnyxSelectOption.vue"]]);
|
|
8321
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
8320
8322
|
__name: "OnyxSelect",
|
|
8321
8323
|
props: {
|
|
8322
8324
|
density: { type: null, required: false },
|
|
@@ -8586,24 +8588,24 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
8586
8588
|
return __returned__;
|
|
8587
8589
|
}
|
|
8588
8590
|
});
|
|
8589
|
-
const _hoisted_1$
|
|
8591
|
+
const _hoisted_1$E = {
|
|
8590
8592
|
ref: "selectRef",
|
|
8591
8593
|
class: "onyx-component onyx-select-wrapper"
|
|
8592
8594
|
};
|
|
8593
|
-
const _hoisted_2$
|
|
8595
|
+
const _hoisted_2$w = {
|
|
8594
8596
|
class: "onyx-select__wrapper",
|
|
8595
8597
|
tabindex: "-1"
|
|
8596
8598
|
};
|
|
8597
|
-
const _hoisted_3$
|
|
8599
|
+
const _hoisted_3$n = {
|
|
8598
8600
|
key: 0,
|
|
8599
8601
|
role: "group",
|
|
8600
8602
|
class: "onyx-select__group"
|
|
8601
8603
|
};
|
|
8602
|
-
const _hoisted_4$
|
|
8604
|
+
const _hoisted_4$h = {
|
|
8603
8605
|
role: "option",
|
|
8604
8606
|
"aria-selected": "false"
|
|
8605
8607
|
};
|
|
8606
|
-
const _hoisted_5$
|
|
8608
|
+
const _hoisted_5$d = {
|
|
8607
8609
|
key: 0,
|
|
8608
8610
|
role: "presentation",
|
|
8609
8611
|
class: "onyx-select__group-name onyx-text--small"
|
|
@@ -8620,10 +8622,10 @@ const _hoisted_8$4 = {
|
|
|
8620
8622
|
key: 0,
|
|
8621
8623
|
class: "onyx-select__description onyx-text--small"
|
|
8622
8624
|
};
|
|
8623
|
-
function _sfc_render$
|
|
8625
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8624
8626
|
return openBlock(), createElementBlock(
|
|
8625
8627
|
"div",
|
|
8626
|
-
_hoisted_1$
|
|
8628
|
+
_hoisted_1$E,
|
|
8627
8629
|
[
|
|
8628
8630
|
createVNode($setup["OnyxBasicPopover"], {
|
|
8629
8631
|
class: normalizeClass($setup.densityClass),
|
|
@@ -8642,7 +8644,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8642
8644
|
}), null, 16, ["show-focus", "autofocus"])
|
|
8643
8645
|
]),
|
|
8644
8646
|
content: withCtx(() => [
|
|
8645
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$
|
|
8647
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$w, [
|
|
8646
8648
|
$setup.props.withSearch ? (openBlock(), createBlock($setup["OnyxMiniSearch"], mergeProps({
|
|
8647
8649
|
key: 0,
|
|
8648
8650
|
ref: "miniSearchRef",
|
|
@@ -8657,8 +8659,8 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8657
8659
|
"div",
|
|
8658
8660
|
normalizeProps(guardReactiveProps($setup.listbox)),
|
|
8659
8661
|
[
|
|
8660
|
-
$setup.isEmptyMessage ? (openBlock(), createElementBlock("ul", _hoisted_3$
|
|
8661
|
-
createElementVNode("li", _hoisted_4$
|
|
8662
|
+
$setup.isEmptyMessage ? (openBlock(), createElementBlock("ul", _hoisted_3$n, [
|
|
8663
|
+
createElementVNode("li", _hoisted_4$h, [
|
|
8662
8664
|
renderSlot(_ctx.$slots, "empty", { defaultMessage: $setup.isEmptyMessage }, () => [
|
|
8663
8665
|
createVNode($setup["OnyxEmpty"], {
|
|
8664
8666
|
density: $setup.props.density
|
|
@@ -8727,7 +8729,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8727
8729
|
[
|
|
8728
8730
|
group.name !== "" ? (openBlock(), createElementBlock(
|
|
8729
8731
|
"li",
|
|
8730
|
-
_hoisted_5$
|
|
8732
|
+
_hoisted_5$d,
|
|
8731
8733
|
toDisplayString(group.name),
|
|
8732
8734
|
1
|
|
8733
8735
|
/* TEXT */
|
|
@@ -8812,9 +8814,9 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8812
8814
|
/* NEED_PATCH */
|
|
8813
8815
|
);
|
|
8814
8816
|
}
|
|
8815
|
-
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8817
|
+
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelect/OnyxSelect.vue"]]);
|
|
8816
8818
|
const pageSize = 100;
|
|
8817
|
-
const _sfc_main$
|
|
8819
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
8818
8820
|
__name: "OnyxSelectPagination",
|
|
8819
8821
|
props: {
|
|
8820
8822
|
density: { type: null, required: false },
|
|
@@ -8866,11 +8868,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
8866
8868
|
return __returned__;
|
|
8867
8869
|
}
|
|
8868
8870
|
});
|
|
8869
|
-
const _hoisted_1$
|
|
8870
|
-
const _hoisted_2$
|
|
8871
|
-
const _hoisted_3$
|
|
8872
|
-
const _hoisted_4$
|
|
8873
|
-
function _sfc_render$
|
|
8871
|
+
const _hoisted_1$D = ["aria-label"];
|
|
8872
|
+
const _hoisted_2$v = { class: "onyx-pagination__count" };
|
|
8873
|
+
const _hoisted_3$m = ["aria-label", "disabled"];
|
|
8874
|
+
const _hoisted_4$g = ["aria-label", "disabled"];
|
|
8875
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8874
8876
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
8875
8877
|
key: 0,
|
|
8876
8878
|
class: normalizeClass(["onyx-pagination-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -8901,7 +8903,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8901
8903
|
}, null, 8, ["search-term", "label", "list-label", "options", "model-value", "value-label", "disabled"]),
|
|
8902
8904
|
createElementVNode(
|
|
8903
8905
|
"div",
|
|
8904
|
-
_hoisted_2$
|
|
8906
|
+
_hoisted_2$v,
|
|
8905
8907
|
toDisplayString($setup.t("pagination.ofPages", { n: $setup.props.pages, pages: $setup.n($setup.props.pages, "decimal") })),
|
|
8906
8908
|
1
|
|
8907
8909
|
/* TEXT */
|
|
@@ -8914,7 +8916,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8914
8916
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue - 1))
|
|
8915
8917
|
}, [
|
|
8916
8918
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronLeftSmall }, null, 8, ["icon"])
|
|
8917
|
-
], 8, _hoisted_3$
|
|
8919
|
+
], 8, _hoisted_3$m),
|
|
8918
8920
|
createElementVNode("button", {
|
|
8919
8921
|
class: "onyx-pagination__button",
|
|
8920
8922
|
"aria-label": $setup.t("pagination.next"),
|
|
@@ -8923,11 +8925,11 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8923
8925
|
onClick: _cache[3] || (_cache[3] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue + 1))
|
|
8924
8926
|
}, [
|
|
8925
8927
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
8926
|
-
], 8, _hoisted_4$
|
|
8927
|
-
], 14, _hoisted_1$
|
|
8928
|
+
], 8, _hoisted_4$g)
|
|
8929
|
+
], 14, _hoisted_1$D));
|
|
8928
8930
|
}
|
|
8929
|
-
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8930
|
-
const _sfc_main$
|
|
8931
|
+
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxSelectPagination.vue"]]);
|
|
8932
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
8931
8933
|
__name: "OnyxPagination",
|
|
8932
8934
|
props: {
|
|
8933
8935
|
density: { type: null, required: false },
|
|
@@ -8948,7 +8950,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
8948
8950
|
return __returned__;
|
|
8949
8951
|
}
|
|
8950
8952
|
});
|
|
8951
|
-
function _sfc_render$
|
|
8953
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8952
8954
|
return $setup.props.type === "inline" ? (openBlock(), createBlock(
|
|
8953
8955
|
$setup["OnyxInlinePagination"],
|
|
8954
8956
|
mergeProps({ key: 0 }, $setup.paginationProps, {
|
|
@@ -8967,7 +8969,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8967
8969
|
/* FULL_PROPS */
|
|
8968
8970
|
));
|
|
8969
8971
|
}
|
|
8970
|
-
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8972
|
+
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxPagination.vue"]]);
|
|
8971
8973
|
const SELECTION_FEATURE = Symbol("Selection");
|
|
8972
8974
|
const SELECTION_MUTATION_ORDER = 1e3;
|
|
8973
8975
|
const useSelection = (options) => createFeature((ctx) => {
|
|
@@ -9245,7 +9247,7 @@ const BASE_FEATURE = (options) => createFeature(({ skeleton }) => {
|
|
|
9245
9247
|
}
|
|
9246
9248
|
};
|
|
9247
9249
|
});
|
|
9248
|
-
const _sfc_main$
|
|
9250
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
9249
9251
|
...{ inheritAttrs: false },
|
|
9250
9252
|
__name: "OnyxDataGrid",
|
|
9251
9253
|
props: {
|
|
@@ -9325,7 +9327,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
9325
9327
|
return __returned__;
|
|
9326
9328
|
}
|
|
9327
9329
|
});
|
|
9328
|
-
function _sfc_render$
|
|
9330
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9329
9331
|
return openBlock(), createBlock($setup["OnyxDataGridRenderer"], mergeProps($setup.mergeVueProps(_ctx.$attrs, $setup.rendererProps), {
|
|
9330
9332
|
"column-groups": $setup.rendererColumnGroups,
|
|
9331
9333
|
columns: $setup.renderColumns,
|
|
@@ -9352,7 +9354,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9352
9354
|
} : void 0
|
|
9353
9355
|
]), 1040, ["column-groups", "columns", "rows", "scroll-container-attrs"]);
|
|
9354
9356
|
}
|
|
9355
|
-
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9357
|
+
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGrid.vue"]]);
|
|
9356
9358
|
const HIDE_COLUMNS_FEATURE = Symbol("HideColumnsFeature");
|
|
9357
9359
|
const HIDDEN_COLUMN = Symbol("HiddenColumn");
|
|
9358
9360
|
const useHideColumns = (options) => createFeature((ctx) => {
|
|
@@ -9458,7 +9460,7 @@ const useHideColumns = (options) => createFeature((ctx) => {
|
|
|
9458
9460
|
}
|
|
9459
9461
|
};
|
|
9460
9462
|
});
|
|
9461
|
-
const _sfc_main$
|
|
9463
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
9462
9464
|
__name: "OnyxResizeHandle",
|
|
9463
9465
|
props: {
|
|
9464
9466
|
element: { type: null, required: true },
|
|
@@ -9533,7 +9535,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
9533
9535
|
return __returned__;
|
|
9534
9536
|
}
|
|
9535
9537
|
});
|
|
9536
|
-
function _sfc_render$
|
|
9538
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9537
9539
|
return openBlock(), createElementBlock(
|
|
9538
9540
|
"button",
|
|
9539
9541
|
{
|
|
@@ -9567,7 +9569,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9567
9569
|
/* CLASS, NEED_HYDRATION */
|
|
9568
9570
|
);
|
|
9569
9571
|
}
|
|
9570
|
-
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9572
|
+
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxResizeHandle/OnyxResizeHandle.vue"]]);
|
|
9571
9573
|
const RESIZING_FEATURE = Symbol("Resizing");
|
|
9572
9574
|
const FILLER_COLUMN = Symbol("FILLER_COLUMN");
|
|
9573
9575
|
const useResizing = (options) => createFeature((ctx) => {
|
|
@@ -9709,7 +9711,7 @@ const DEFAULT_COMPARES = Object.freeze({
|
|
|
9709
9711
|
skeleton: () => 0,
|
|
9710
9712
|
boolean: BOOLEAN_COMPARE
|
|
9711
9713
|
});
|
|
9712
|
-
const _sfc_main$
|
|
9714
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
9713
9715
|
__name: "SortAction",
|
|
9714
9716
|
props: {
|
|
9715
9717
|
columnLabel: { type: String, required: true },
|
|
@@ -9733,14 +9735,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
9733
9735
|
return __returned__;
|
|
9734
9736
|
}
|
|
9735
9737
|
});
|
|
9736
|
-
function _sfc_render$
|
|
9738
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9737
9739
|
return openBlock(), createBlock($setup["OnyxSystemButton"], {
|
|
9738
9740
|
label: $setup.buttonLabel,
|
|
9739
9741
|
icon: $setup.icon,
|
|
9740
9742
|
color: "medium"
|
|
9741
9743
|
}, null, 8, ["label", "icon"]);
|
|
9742
9744
|
}
|
|
9743
|
-
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9745
|
+
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/sorting/SortAction.vue"]]);
|
|
9744
9746
|
const nextSortDirection = (current, skipNone) => {
|
|
9745
9747
|
switch (current) {
|
|
9746
9748
|
case "asc":
|
|
@@ -9983,7 +9985,7 @@ const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
9983
9985
|
useSorting,
|
|
9984
9986
|
useStickyColumns
|
|
9985
9987
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9986
|
-
const _sfc_main$
|
|
9988
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
9987
9989
|
...{ inheritAttrs: false },
|
|
9988
9990
|
__name: "OnyxDatePicker",
|
|
9989
9991
|
props: {
|
|
@@ -10050,9 +10052,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10050
10052
|
return __returned__;
|
|
10051
10053
|
}
|
|
10052
10054
|
});
|
|
10053
|
-
const _hoisted_1$
|
|
10054
|
-
const _hoisted_2$
|
|
10055
|
-
function _sfc_render$
|
|
10055
|
+
const _hoisted_1$C = { class: "onyx-datepicker__wrapper" };
|
|
10056
|
+
const _hoisted_2$u = ["id", "type", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "min", "max"];
|
|
10057
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10056
10058
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10057
10059
|
"div",
|
|
10058
10060
|
mergeProps({
|
|
@@ -10081,7 +10083,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10081
10083
|
message: $setup.messages
|
|
10082
10084
|
}), {
|
|
10083
10085
|
default: withCtx(({ id: inputId }) => [
|
|
10084
|
-
createElementVNode("div", _hoisted_1$
|
|
10086
|
+
createElementVNode("div", _hoisted_1$C, [
|
|
10085
10087
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
10086
10088
|
key: 0,
|
|
10087
10089
|
class: "onyx-datepicker__loading",
|
|
@@ -10103,7 +10105,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10103
10105
|
title: $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
10104
10106
|
min: $setup.getNormalizedDate($setup.props.min),
|
|
10105
10107
|
max: $setup.getNormalizedDate($setup.props.max)
|
|
10106
|
-
}, $setup.restAttrs), null, 16, _hoisted_2$
|
|
10108
|
+
}, $setup.restAttrs), null, 16, _hoisted_2$u)), [
|
|
10107
10109
|
[vModelDynamic, $setup.value],
|
|
10108
10110
|
[$setup["vCustomValidity"]]
|
|
10109
10111
|
])
|
|
@@ -10117,9 +10119,9 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10117
10119
|
/* FULL_PROPS */
|
|
10118
10120
|
));
|
|
10119
10121
|
}
|
|
10120
|
-
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10122
|
+
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDatePicker/OnyxDatePicker.vue"]]);
|
|
10121
10123
|
const DIALOG_ALIGNMENTS = ["left", "center", "right"];
|
|
10122
|
-
const _sfc_main$
|
|
10124
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
10123
10125
|
__name: "OnyxDialog",
|
|
10124
10126
|
props: {
|
|
10125
10127
|
density: { type: null, required: false },
|
|
@@ -10153,15 +10155,15 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10153
10155
|
return __returned__;
|
|
10154
10156
|
}
|
|
10155
10157
|
});
|
|
10156
|
-
const _hoisted_1$
|
|
10157
|
-
const _hoisted_2$
|
|
10158
|
-
const _hoisted_3$
|
|
10159
|
-
const _hoisted_4$
|
|
10160
|
-
const _hoisted_5$
|
|
10158
|
+
const _hoisted_1$B = { class: "onyx-dialog__header" };
|
|
10159
|
+
const _hoisted_2$t = { class: "onyx-dialog__headline" };
|
|
10160
|
+
const _hoisted_3$l = { class: "onyx-dialog__headline-content" };
|
|
10161
|
+
const _hoisted_4$f = { class: "onyx-dialog__body" };
|
|
10162
|
+
const _hoisted_5$c = {
|
|
10161
10163
|
key: 0,
|
|
10162
10164
|
class: "onyx-dialog__footer"
|
|
10163
10165
|
};
|
|
10164
|
-
function _sfc_render$
|
|
10166
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10165
10167
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.basicPopoverProps, {
|
|
10166
10168
|
open: $setup.isExpanded,
|
|
10167
10169
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.isExpanded = $event),
|
|
@@ -10171,9 +10173,9 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10171
10173
|
renderSlot(_ctx.$slots, "trigger", { trigger })
|
|
10172
10174
|
]),
|
|
10173
10175
|
content: withCtx(() => [
|
|
10174
|
-
createElementVNode("div", _hoisted_1$
|
|
10175
|
-
createElementVNode("div", _hoisted_2$
|
|
10176
|
-
createElementVNode("div", _hoisted_3$
|
|
10176
|
+
createElementVNode("div", _hoisted_1$B, [
|
|
10177
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
10178
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
10177
10179
|
renderSlot(_ctx.$slots, "headline", {
|
|
10178
10180
|
label: $setup.props.label
|
|
10179
10181
|
}, () => [
|
|
@@ -10199,10 +10201,10 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10199
10201
|
}, null, 8, ["label", "icon"])) : createCommentVNode("v-if", true)
|
|
10200
10202
|
])
|
|
10201
10203
|
]),
|
|
10202
|
-
createElementVNode("div", _hoisted_4$
|
|
10204
|
+
createElementVNode("div", _hoisted_4$f, [
|
|
10203
10205
|
renderSlot(_ctx.$slots, "default")
|
|
10204
10206
|
]),
|
|
10205
|
-
!!$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
10207
|
+
!!$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
|
|
10206
10208
|
renderSlot(_ctx.$slots, "footer")
|
|
10207
10209
|
])) : createCommentVNode("v-if", true)
|
|
10208
10210
|
]),
|
|
@@ -10210,8 +10212,8 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10210
10212
|
/* FORWARDED */
|
|
10211
10213
|
}, 16, ["open", "class"]);
|
|
10212
10214
|
}
|
|
10213
|
-
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10214
|
-
const _sfc_main$
|
|
10215
|
+
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDialog/OnyxDialog.vue"]]);
|
|
10216
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
10215
10217
|
__name: "OnyxForm",
|
|
10216
10218
|
props: {
|
|
10217
10219
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -10231,7 +10233,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
10231
10233
|
return __returned__;
|
|
10232
10234
|
}
|
|
10233
10235
|
});
|
|
10234
|
-
function _sfc_render$
|
|
10236
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10235
10237
|
return openBlock(), createElementBlock(
|
|
10236
10238
|
"form",
|
|
10237
10239
|
{
|
|
@@ -10248,7 +10250,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10248
10250
|
/* CLASS */
|
|
10249
10251
|
);
|
|
10250
10252
|
}
|
|
10251
|
-
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10253
|
+
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxForm/OnyxForm.vue"]]);
|
|
10252
10254
|
const useLenientMaxLengthValidation = (options) => {
|
|
10253
10255
|
const { t } = injectI18n();
|
|
10254
10256
|
const normalized = computed(() => {
|
|
@@ -10288,7 +10290,7 @@ const MOBILE_NAV_BAR_INJECTION_KEY = Symbol();
|
|
|
10288
10290
|
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = Symbol();
|
|
10289
10291
|
const NAV_BAR_MORE_LIST_INJECTION_KEY = Symbol();
|
|
10290
10292
|
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
10291
|
-
const _sfc_main$
|
|
10293
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
10292
10294
|
__name: "OnyxSeparator",
|
|
10293
10295
|
props: {
|
|
10294
10296
|
orientation: { type: null, required: false, default: "horizontal" }
|
|
@@ -10305,16 +10307,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
10305
10307
|
return __returned__;
|
|
10306
10308
|
}
|
|
10307
10309
|
});
|
|
10308
|
-
const _hoisted_1$
|
|
10309
|
-
function _sfc_render$
|
|
10310
|
+
const _hoisted_1$A = ["aria-orientation"];
|
|
10311
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10310
10312
|
return openBlock(), createElementBlock("div", {
|
|
10311
10313
|
class: normalizeClass(["onyx-component onyx-separator", { "onyx-separator--vertical": $setup.isVertical }]),
|
|
10312
10314
|
role: "separator",
|
|
10313
10315
|
"aria-orientation": $setup.props.orientation
|
|
10314
|
-
}, null, 10, _hoisted_1$
|
|
10316
|
+
}, null, 10, _hoisted_1$A);
|
|
10315
10317
|
}
|
|
10316
|
-
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10317
|
-
const _sfc_main$
|
|
10318
|
+
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSeparator/OnyxSeparator.vue"]]);
|
|
10319
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
10318
10320
|
...{ inheritAttrs: false },
|
|
10319
10321
|
__name: "OnyxInput",
|
|
10320
10322
|
props: {
|
|
@@ -10403,10 +10405,10 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
10403
10405
|
return __returned__;
|
|
10404
10406
|
}
|
|
10405
10407
|
});
|
|
10406
|
-
const _hoisted_1$
|
|
10407
|
-
const _hoisted_2$
|
|
10408
|
-
const _hoisted_3$
|
|
10409
|
-
function _sfc_render$
|
|
10408
|
+
const _hoisted_1$z = { class: "onyx-input__wrapper" };
|
|
10409
|
+
const _hoisted_2$s = ["id", "placeholder", "type", "required", "autocapitalize", "autocomplete", "autofocus", "name", "pattern", "readonly", "disabled", "maxlength", "minlength", "aria-label", "title"];
|
|
10410
|
+
const _hoisted_3$k = ["aria-label", "title"];
|
|
10411
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10410
10412
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10411
10413
|
"div",
|
|
10412
10414
|
mergeProps({
|
|
@@ -10435,7 +10437,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10435
10437
|
message: $setup.messages
|
|
10436
10438
|
}), {
|
|
10437
10439
|
default: withCtx(({ id: inputId }) => [
|
|
10438
|
-
createElementVNode("div", _hoisted_1$
|
|
10440
|
+
createElementVNode("div", _hoisted_1$z, [
|
|
10439
10441
|
renderSlot(_ctx.$slots, "leading"),
|
|
10440
10442
|
$setup.slots.leading ? (openBlock(), createBlock($setup["OnyxSeparator"], {
|
|
10441
10443
|
key: 0,
|
|
@@ -10466,7 +10468,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10466
10468
|
minlength: $setup.props.minlength,
|
|
10467
10469
|
"aria-label": $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
10468
10470
|
title: $setup.props.hideLabel ? $setup.props.label : void 0
|
|
10469
|
-
}, $setup.restAttrs), null, 16, _hoisted_2$
|
|
10471
|
+
}, $setup.restAttrs), null, 16, _hoisted_2$s), [
|
|
10470
10472
|
[vModelDynamic, $setup.modelValue],
|
|
10471
10473
|
[$setup["vCustomValidity"]]
|
|
10472
10474
|
]),
|
|
@@ -10480,7 +10482,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10480
10482
|
onClick: _cache[1] || (_cache[1] = () => $setup.modelValue = "")
|
|
10481
10483
|
}, [
|
|
10482
10484
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
10483
|
-
], 8, _hoisted_3$
|
|
10485
|
+
], 8, _hoisted_3$k)) : createCommentVNode("v-if", true),
|
|
10484
10486
|
!$setup.props.hideSuccessIcon && $setup.successMessages ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
10485
10487
|
key: 3,
|
|
10486
10488
|
class: "onyx-input__check-icon",
|
|
@@ -10512,10 +10514,10 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10512
10514
|
/* FULL_PROPS */
|
|
10513
10515
|
));
|
|
10514
10516
|
}
|
|
10515
|
-
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10517
|
+
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue"]]);
|
|
10516
10518
|
const GLOBAL_SEARCH_INJECTION_KEY = Symbol();
|
|
10517
10519
|
const __default__$4 = {};
|
|
10518
|
-
const _sfc_main$
|
|
10520
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
10519
10521
|
...__default__$4,
|
|
10520
10522
|
__name: "OnyxGlobalSearch",
|
|
10521
10523
|
props: {
|
|
@@ -10589,14 +10591,14 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
10589
10591
|
return __returned__;
|
|
10590
10592
|
}
|
|
10591
10593
|
});
|
|
10592
|
-
const _hoisted_1$
|
|
10593
|
-
const _hoisted_2$
|
|
10594
|
-
const _hoisted_3$
|
|
10595
|
-
const _hoisted_4$
|
|
10596
|
-
const _hoisted_5$
|
|
10594
|
+
const _hoisted_1$y = { class: "onyx-global-search__footer onyx-text--small" };
|
|
10595
|
+
const _hoisted_2$r = { class: "onyx-global-search__shortcut" };
|
|
10596
|
+
const _hoisted_3$j = { class: "onyx-global-search__shortcut-label" };
|
|
10597
|
+
const _hoisted_4$e = { class: "onyx-global-search__shortcut" };
|
|
10598
|
+
const _hoisted_5$b = { class: "onyx-global-search__shortcut-label" };
|
|
10597
10599
|
const _hoisted_6$8 = { class: "onyx-global-search__shortcut" };
|
|
10598
10600
|
const _hoisted_7$4 = { class: "onyx-global-search__shortcut-label" };
|
|
10599
|
-
function _sfc_render$
|
|
10601
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10600
10602
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps($setup.basicDialogProps, {
|
|
10601
10603
|
ref: "dialogRef",
|
|
10602
10604
|
label: $setup.t("globalSearch.label"),
|
|
@@ -10639,9 +10641,9 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10639
10641
|
]),
|
|
10640
10642
|
withDirectives(createElementVNode(
|
|
10641
10643
|
"div",
|
|
10642
|
-
_hoisted_1$
|
|
10644
|
+
_hoisted_1$y,
|
|
10643
10645
|
[
|
|
10644
|
-
createElementVNode("span", _hoisted_2$
|
|
10646
|
+
createElementVNode("span", _hoisted_2$r, [
|
|
10645
10647
|
_cache[2] || (_cache[2] = createElementVNode(
|
|
10646
10648
|
"kbd",
|
|
10647
10649
|
null,
|
|
@@ -10658,13 +10660,13 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10658
10660
|
)),
|
|
10659
10661
|
createElementVNode(
|
|
10660
10662
|
"span",
|
|
10661
|
-
_hoisted_3$
|
|
10663
|
+
_hoisted_3$j,
|
|
10662
10664
|
toDisplayString($setup.t("globalSearch.shortcuts.move")),
|
|
10663
10665
|
1
|
|
10664
10666
|
/* TEXT */
|
|
10665
10667
|
)
|
|
10666
10668
|
]),
|
|
10667
|
-
createElementVNode("span", _hoisted_4$
|
|
10669
|
+
createElementVNode("span", _hoisted_4$e, [
|
|
10668
10670
|
_cache[4] || (_cache[4] = createElementVNode(
|
|
10669
10671
|
"kbd",
|
|
10670
10672
|
null,
|
|
@@ -10674,7 +10676,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10674
10676
|
)),
|
|
10675
10677
|
createElementVNode(
|
|
10676
10678
|
"span",
|
|
10677
|
-
_hoisted_5$
|
|
10679
|
+
_hoisted_5$b,
|
|
10678
10680
|
toDisplayString($setup.t("globalSearch.shortcuts.select")),
|
|
10679
10681
|
1
|
|
10680
10682
|
/* TEXT */
|
|
@@ -10707,9 +10709,9 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10707
10709
|
/* FORWARDED */
|
|
10708
10710
|
}, 16, ["label"]);
|
|
10709
10711
|
}
|
|
10710
|
-
const OnyxGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10712
|
+
const OnyxGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearch/OnyxGlobalSearch.vue"]]);
|
|
10711
10713
|
const __default__$3 = {};
|
|
10712
|
-
const _sfc_main$
|
|
10714
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
10713
10715
|
...__default__$3,
|
|
10714
10716
|
__name: "OnyxGlobalSearchOption",
|
|
10715
10717
|
props: {
|
|
@@ -10733,13 +10735,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
10733
10735
|
return __returned__;
|
|
10734
10736
|
}
|
|
10735
10737
|
});
|
|
10736
|
-
const _hoisted_1$
|
|
10737
|
-
const _hoisted_2$
|
|
10738
|
-
const _hoisted_3$
|
|
10738
|
+
const _hoisted_1$x = { class: "onyx-global-search-option__content" };
|
|
10739
|
+
const _hoisted_2$q = { class: "onyx-truncation-ellipsis" };
|
|
10740
|
+
const _hoisted_3$i = {
|
|
10739
10741
|
key: 0,
|
|
10740
10742
|
class: "onyx-global-search-option__trailing"
|
|
10741
10743
|
};
|
|
10742
|
-
function _sfc_render$
|
|
10744
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10743
10745
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10744
10746
|
"li",
|
|
10745
10747
|
{
|
|
@@ -10748,7 +10750,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10748
10750
|
class: normalizeClass(["onyx-component", "onyx-global-search-option-skeleton", "onyx-text", $setup.densityClass])
|
|
10749
10751
|
},
|
|
10750
10752
|
[
|
|
10751
|
-
createElementVNode("div", _hoisted_1$
|
|
10753
|
+
createElementVNode("div", _hoisted_1$x, [
|
|
10752
10754
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-global-search-option-skeleton__icon" }),
|
|
10753
10755
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-global-search-option-skeleton__label" })
|
|
10754
10756
|
])
|
|
@@ -10786,7 +10788,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10786
10788
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
10787
10789
|
createElementVNode(
|
|
10788
10790
|
"span",
|
|
10789
|
-
_hoisted_2$
|
|
10791
|
+
_hoisted_2$q,
|
|
10790
10792
|
toDisplayString($setup.props.label),
|
|
10791
10793
|
1
|
|
10792
10794
|
/* TEXT */
|
|
@@ -10796,7 +10798,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10796
10798
|
_: 3
|
|
10797
10799
|
/* FORWARDED */
|
|
10798
10800
|
}, 16, ["link", "autofocus"]),
|
|
10799
|
-
$setup.slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
10801
|
+
$setup.slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
10800
10802
|
renderSlot(_ctx.$slots, "trailing")
|
|
10801
10803
|
])) : createCommentVNode("v-if", true)
|
|
10802
10804
|
],
|
|
@@ -10804,9 +10806,9 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10804
10806
|
/* CLASS */
|
|
10805
10807
|
));
|
|
10806
10808
|
}
|
|
10807
|
-
const OnyxGlobalSearchOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10809
|
+
const OnyxGlobalSearchOption = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearchOption/OnyxGlobalSearchOption.vue"]]);
|
|
10808
10810
|
const __default__$2 = {};
|
|
10809
|
-
const _sfc_main$
|
|
10811
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
10810
10812
|
...__default__$2,
|
|
10811
10813
|
__name: "OnyxGlobalSearchGroup",
|
|
10812
10814
|
props: {
|
|
@@ -10828,15 +10830,15 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
10828
10830
|
return __returned__;
|
|
10829
10831
|
}
|
|
10830
10832
|
});
|
|
10831
|
-
const _hoisted_1$
|
|
10832
|
-
function _sfc_render$
|
|
10833
|
+
const _hoisted_1$w = { "aria-hidden": "true" };
|
|
10834
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10833
10835
|
return openBlock(), createElementBlock(
|
|
10834
10836
|
"ul",
|
|
10835
10837
|
mergeProps({
|
|
10836
10838
|
class: ["onyx-component", "onyx-global-search-group", $setup.densityClass]
|
|
10837
10839
|
}, $setup.context?.headless.elements.group.value({ label: $setup.props.label })),
|
|
10838
10840
|
[
|
|
10839
|
-
createElementVNode("li", _hoisted_1$
|
|
10841
|
+
createElementVNode("li", _hoisted_1$w, [
|
|
10840
10842
|
createVNode($setup["OnyxHeadline"], {
|
|
10841
10843
|
is: "h4",
|
|
10842
10844
|
class: "onyx-global-search-group__headline"
|
|
@@ -10871,10 +10873,10 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10871
10873
|
/* FULL_PROPS */
|
|
10872
10874
|
);
|
|
10873
10875
|
}
|
|
10874
|
-
const OnyxGlobalSearchGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10876
|
+
const OnyxGlobalSearchGroup = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearchGroup/OnyxGlobalSearchGroup.vue"]]);
|
|
10875
10877
|
const HEADLINE_TYPES = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
10876
10878
|
const ICON_SIZES = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"];
|
|
10877
|
-
const _sfc_main$
|
|
10879
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
10878
10880
|
...{ inheritAttrs: false },
|
|
10879
10881
|
__name: "OnyxImage",
|
|
10880
10882
|
props: {
|
|
@@ -10913,10 +10915,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
10913
10915
|
return __returned__;
|
|
10914
10916
|
}
|
|
10915
10917
|
});
|
|
10916
|
-
const _hoisted_1$
|
|
10917
|
-
const _hoisted_2$
|
|
10918
|
-
const _hoisted_3$
|
|
10919
|
-
function _sfc_render$
|
|
10918
|
+
const _hoisted_1$v = ["src", "alt"];
|
|
10919
|
+
const _hoisted_2$p = ["src", "alt"];
|
|
10920
|
+
const _hoisted_3$h = { class: "onyx-image__alt onyx-text--small" };
|
|
10921
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10920
10922
|
return openBlock(), createElementBlock(
|
|
10921
10923
|
"figure",
|
|
10922
10924
|
mergeProps($setup.rootAttrs, {
|
|
@@ -10941,7 +10943,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10941
10943
|
src: $setup.imageSrc.light,
|
|
10942
10944
|
alt: $setup.props.alt,
|
|
10943
10945
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.isError = true)
|
|
10944
|
-
}), null, 16, _hoisted_1$
|
|
10946
|
+
}), null, 16, _hoisted_1$v),
|
|
10945
10947
|
$setup.imageSrc.dark ? (openBlock(), createElementBlock("img", mergeProps({
|
|
10946
10948
|
key: 0,
|
|
10947
10949
|
class: "onyx-image__source onyx-image__source--dark"
|
|
@@ -10949,7 +10951,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10949
10951
|
src: $setup.imageSrc.dark,
|
|
10950
10952
|
alt: $setup.props.alt,
|
|
10951
10953
|
onError: _cache[1] || (_cache[1] = ($event) => $setup.isError = true)
|
|
10952
|
-
}), null, 16, _hoisted_2$
|
|
10954
|
+
}), null, 16, _hoisted_2$p)) : createCommentVNode("v-if", true),
|
|
10953
10955
|
$setup.isError ? (openBlock(), createElementBlock(
|
|
10954
10956
|
"div",
|
|
10955
10957
|
mergeProps({
|
|
@@ -10964,7 +10966,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10964
10966
|
}, null, 8, ["icon"]),
|
|
10965
10967
|
createElementVNode(
|
|
10966
10968
|
"div",
|
|
10967
|
-
_hoisted_3$
|
|
10969
|
+
_hoisted_3$h,
|
|
10968
10970
|
toDisplayString($setup.props.alt),
|
|
10969
10971
|
1
|
|
10970
10972
|
/* TEXT */
|
|
@@ -10982,10 +10984,10 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10982
10984
|
/* FULL_PROPS */
|
|
10983
10985
|
);
|
|
10984
10986
|
}
|
|
10985
|
-
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10987
|
+
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxImage/OnyxImage.vue"]]);
|
|
10986
10988
|
const IMAGE_SHAPES = ["rounded", "circle", "clip", "clip-inverted"];
|
|
10987
10989
|
const INPUT_TYPES = ["email", "password", "search", "tel", "text", "url"];
|
|
10988
|
-
const _sfc_main$
|
|
10990
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
10989
10991
|
__name: "OnyxLink",
|
|
10990
10992
|
props: {
|
|
10991
10993
|
href: { type: String, required: false },
|
|
@@ -11002,7 +11004,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
11002
11004
|
return __returned__;
|
|
11003
11005
|
}
|
|
11004
11006
|
});
|
|
11005
|
-
function _sfc_render$
|
|
11007
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11006
11008
|
return openBlock(), createBlock(
|
|
11007
11009
|
$setup["OnyxRouterLink"],
|
|
11008
11010
|
mergeProps({ class: "onyx-component onyx-link" }, $setup.routerLinkProps),
|
|
@@ -11024,8 +11026,8 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11024
11026
|
/* FULL_PROPS */
|
|
11025
11027
|
);
|
|
11026
11028
|
}
|
|
11027
|
-
const OnyxLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11028
|
-
const _sfc_main$
|
|
11029
|
+
const OnyxLink = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLink/OnyxLink.vue"]]);
|
|
11030
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
11029
11031
|
__name: "OnyxMobileNavButton",
|
|
11030
11032
|
props: {
|
|
11031
11033
|
label: { type: String, required: true },
|
|
@@ -11047,12 +11049,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
11047
11049
|
return __returned__;
|
|
11048
11050
|
}
|
|
11049
11051
|
});
|
|
11050
|
-
const _hoisted_1$
|
|
11051
|
-
const _hoisted_2$
|
|
11052
|
-
const _hoisted_3$
|
|
11053
|
-
const _hoisted_4$
|
|
11054
|
-
function _sfc_render$
|
|
11055
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11052
|
+
const _hoisted_1$u = { class: "onyx-component onyx-mobile-nav-button" };
|
|
11053
|
+
const _hoisted_2$o = ["aria-label", "disabled"];
|
|
11054
|
+
const _hoisted_3$g = { class: "onyx-mobile-nav-button__flyout" };
|
|
11055
|
+
const _hoisted_4$d = { class: "onyx-mobile-nav-button__menu" };
|
|
11056
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11057
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
11056
11058
|
createElementVNode("button", {
|
|
11057
11059
|
type: "button",
|
|
11058
11060
|
class: normalizeClass(["onyx-mobile-nav-button__trigger", { "onyx-mobile-nav-button__trigger--active": $setup.props.open }]),
|
|
@@ -11063,12 +11065,12 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11063
11065
|
createVNode($setup["OnyxIcon"], {
|
|
11064
11066
|
icon: $setup.props.open ? $setup.iconX : $setup.props.icon
|
|
11065
11067
|
}, null, 8, ["icon"])
|
|
11066
|
-
], 10, _hoisted_2$
|
|
11068
|
+
], 10, _hoisted_2$o),
|
|
11067
11069
|
withDirectives(createElementVNode(
|
|
11068
11070
|
"div",
|
|
11069
|
-
_hoisted_3$
|
|
11071
|
+
_hoisted_3$g,
|
|
11070
11072
|
[
|
|
11071
|
-
createElementVNode("div", _hoisted_4$
|
|
11073
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
11072
11074
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
11073
11075
|
key: 0,
|
|
11074
11076
|
is: "h2",
|
|
@@ -11100,8 +11102,8 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11100
11102
|
})) : createCommentVNode("v-if", true)
|
|
11101
11103
|
]);
|
|
11102
11104
|
}
|
|
11103
|
-
const OnyxMobileNavButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11104
|
-
const _sfc_main$
|
|
11105
|
+
const OnyxMobileNavButton = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMobileNavButton/OnyxMobileNavButton.vue"]]);
|
|
11106
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
11105
11107
|
__name: "OnyxModal",
|
|
11106
11108
|
props: {
|
|
11107
11109
|
density: { type: null, required: false },
|
|
@@ -11128,16 +11130,16 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11128
11130
|
return __returned__;
|
|
11129
11131
|
}
|
|
11130
11132
|
});
|
|
11131
|
-
const _hoisted_1$
|
|
11132
|
-
const _hoisted_2$
|
|
11133
|
-
const _hoisted_3$
|
|
11134
|
-
const _hoisted_4$
|
|
11135
|
-
const _hoisted_5$
|
|
11133
|
+
const _hoisted_1$t = { class: "onyx-modal__header" };
|
|
11134
|
+
const _hoisted_2$n = { class: "onyx-modal__headline" };
|
|
11135
|
+
const _hoisted_3$f = { class: "onyx-modal__headline-content" };
|
|
11136
|
+
const _hoisted_4$c = ["id"];
|
|
11137
|
+
const _hoisted_5$a = { class: "onyx-modal__body" };
|
|
11136
11138
|
const _hoisted_6$7 = {
|
|
11137
11139
|
key: 0,
|
|
11138
11140
|
class: "onyx-modal__footer"
|
|
11139
11141
|
};
|
|
11140
|
-
function _sfc_render$
|
|
11142
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11141
11143
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps($setup.basicDialogProps, {
|
|
11142
11144
|
modal: "",
|
|
11143
11145
|
class: ["onyx-modal", $setup.densityClass],
|
|
@@ -11145,9 +11147,9 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11145
11147
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
11146
11148
|
}), {
|
|
11147
11149
|
default: withCtx(() => [
|
|
11148
|
-
createElementVNode("div", _hoisted_1$
|
|
11149
|
-
createElementVNode("div", _hoisted_2$
|
|
11150
|
-
createElementVNode("div", _hoisted_3$
|
|
11150
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
11151
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
11152
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
11151
11153
|
renderSlot(_ctx.$slots, "headline", {
|
|
11152
11154
|
label: $setup.props.label
|
|
11153
11155
|
}, () => [
|
|
@@ -11178,9 +11180,9 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11178
11180
|
class: "onyx-modal__description onyx-text--small"
|
|
11179
11181
|
}, [
|
|
11180
11182
|
renderSlot(_ctx.$slots, "description")
|
|
11181
|
-
], 8, _hoisted_4$
|
|
11183
|
+
], 8, _hoisted_4$c)) : createCommentVNode("v-if", true)
|
|
11182
11184
|
]),
|
|
11183
|
-
createElementVNode("div", _hoisted_5$
|
|
11185
|
+
createElementVNode("div", _hoisted_5$a, [
|
|
11184
11186
|
renderSlot(_ctx.$slots, "default")
|
|
11185
11187
|
]),
|
|
11186
11188
|
!!$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
@@ -11191,8 +11193,8 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11191
11193
|
/* FORWARDED */
|
|
11192
11194
|
}, 16, ["class", "aria-describedby"]);
|
|
11193
11195
|
}
|
|
11194
|
-
const OnyxModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11195
|
-
const _sfc_main$
|
|
11196
|
+
const OnyxModal = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxModal/OnyxModal.vue"]]);
|
|
11197
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
11196
11198
|
__name: "OnyxNavAppArea",
|
|
11197
11199
|
props: {
|
|
11198
11200
|
link: { type: null, required: false, default: "/" },
|
|
@@ -11211,12 +11213,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
11211
11213
|
return __returned__;
|
|
11212
11214
|
}
|
|
11213
11215
|
});
|
|
11214
|
-
const _hoisted_1$
|
|
11215
|
-
const _hoisted_2$
|
|
11216
|
+
const _hoisted_1$s = ["src", "alt"];
|
|
11217
|
+
const _hoisted_2$m = {
|
|
11216
11218
|
key: 1,
|
|
11217
11219
|
class: "onyx-text-small onyx-truncation-ellipsis"
|
|
11218
11220
|
};
|
|
11219
|
-
function _sfc_render$
|
|
11221
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11220
11222
|
return openBlock(), createBlock($setup["OnyxRouterLink"], mergeProps($setup.linkProps, {
|
|
11221
11223
|
class: "onyx-component onyx-nav-app-area",
|
|
11222
11224
|
"aria-label": $setup.buttonLabel
|
|
@@ -11230,10 +11232,10 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11230
11232
|
class: "onyx-nav-app-area__logo",
|
|
11231
11233
|
width: "24",
|
|
11232
11234
|
height: "24"
|
|
11233
|
-
}, null, 8, _hoisted_1$
|
|
11235
|
+
}, null, 8, _hoisted_1$s)) : createCommentVNode("v-if", true),
|
|
11234
11236
|
$setup.props.appName ? (openBlock(), createElementBlock(
|
|
11235
11237
|
"span",
|
|
11236
|
-
_hoisted_2$
|
|
11238
|
+
_hoisted_2$m,
|
|
11237
11239
|
toDisplayString($setup.props.appName),
|
|
11238
11240
|
1
|
|
11239
11241
|
/* TEXT */
|
|
@@ -11244,8 +11246,8 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11244
11246
|
/* FORWARDED */
|
|
11245
11247
|
}, 16, ["aria-label"]);
|
|
11246
11248
|
}
|
|
11247
|
-
const OnyxNavAppArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11248
|
-
const _sfc_main$
|
|
11249
|
+
const OnyxNavAppArea = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavAppArea/OnyxNavAppArea.vue"]]);
|
|
11250
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
11249
11251
|
__name: "OnyxSelectDialog",
|
|
11250
11252
|
props: {
|
|
11251
11253
|
open: { type: [Boolean, null], required: false, skipCheck: true, default: false },
|
|
@@ -11279,14 +11281,14 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
11279
11281
|
return __returned__;
|
|
11280
11282
|
}
|
|
11281
11283
|
});
|
|
11282
|
-
const _hoisted_1$
|
|
11283
|
-
const _hoisted_2$
|
|
11284
|
-
const _hoisted_3$
|
|
11285
|
-
const _hoisted_4$
|
|
11284
|
+
const _hoisted_1$r = ["id"];
|
|
11285
|
+
const _hoisted_2$l = ["autofocus", "value", "checked", "aria-label"];
|
|
11286
|
+
const _hoisted_3$e = { class: "onyx-select-dialog__label" };
|
|
11287
|
+
const _hoisted_4$b = {
|
|
11286
11288
|
key: 0,
|
|
11287
11289
|
class: "onyx-text--small"
|
|
11288
11290
|
};
|
|
11289
|
-
function _sfc_render$
|
|
11291
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11290
11292
|
return openBlock(), createBlock($setup["OnyxModal"], mergeProps($setup.modalProps, {
|
|
11291
11293
|
open: $setup.props.open,
|
|
11292
11294
|
class: "onyx-select-dialog",
|
|
@@ -11356,7 +11358,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11356
11358
|
checked: $setup.props.modelValue === option.value,
|
|
11357
11359
|
"aria-label": option.label,
|
|
11358
11360
|
required: ""
|
|
11359
|
-
}, null, 8, _hoisted_2$
|
|
11361
|
+
}, null, 8, _hoisted_2$l)
|
|
11360
11362
|
]),
|
|
11361
11363
|
_: 2
|
|
11362
11364
|
/* DYNAMIC */
|
|
@@ -11366,14 +11368,14 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11366
11368
|
),
|
|
11367
11369
|
createElementVNode(
|
|
11368
11370
|
"span",
|
|
11369
|
-
_hoisted_3$
|
|
11371
|
+
_hoisted_3$e,
|
|
11370
11372
|
toDisplayString(option.label),
|
|
11371
11373
|
1
|
|
11372
11374
|
/* TEXT */
|
|
11373
11375
|
),
|
|
11374
11376
|
option.description ? (openBlock(), createElementBlock(
|
|
11375
11377
|
"p",
|
|
11376
|
-
_hoisted_4$
|
|
11378
|
+
_hoisted_4$b,
|
|
11377
11379
|
toDisplayString(option.description),
|
|
11378
11380
|
1
|
|
11379
11381
|
/* TEXT */
|
|
@@ -11395,7 +11397,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11395
11397
|
32
|
|
11396
11398
|
/* NEED_HYDRATION */
|
|
11397
11399
|
)
|
|
11398
|
-
], 40, _hoisted_1$
|
|
11400
|
+
], 40, _hoisted_1$r)
|
|
11399
11401
|
]),
|
|
11400
11402
|
_: 2
|
|
11401
11403
|
/* DYNAMIC */
|
|
@@ -11409,11 +11411,11 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11409
11411
|
} : void 0
|
|
11410
11412
|
]), 1040, ["open", "label"]);
|
|
11411
11413
|
}
|
|
11412
|
-
const OnyxSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11414
|
+
const OnyxSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectDialog/OnyxSelectDialog.vue"]]);
|
|
11413
11415
|
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>';
|
|
11414
11416
|
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>';
|
|
11415
11417
|
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>';
|
|
11416
|
-
const _sfc_main$
|
|
11418
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
11417
11419
|
__name: "OnyxColorSchemeDialog",
|
|
11418
11420
|
props: {
|
|
11419
11421
|
open: { type: [Boolean, null], required: false, skipCheck: true, default: false },
|
|
@@ -11454,7 +11456,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
11454
11456
|
return __returned__;
|
|
11455
11457
|
}
|
|
11456
11458
|
});
|
|
11457
|
-
function _sfc_render$
|
|
11459
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11458
11460
|
return openBlock(), createBlock($setup["OnyxSelectDialog"], mergeProps({ class: "onyx-color-scheme-dialog" }, $setup.selectDialogProps, {
|
|
11459
11461
|
label: $setup.t("colorScheme.headline"),
|
|
11460
11462
|
options: $setup.options,
|
|
@@ -11473,8 +11475,8 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11473
11475
|
/* STABLE */
|
|
11474
11476
|
}, 16, ["label", "options", "open"]);
|
|
11475
11477
|
}
|
|
11476
|
-
const OnyxColorSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11477
|
-
const _sfc_main$
|
|
11478
|
+
const OnyxColorSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.vue"]]);
|
|
11479
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
11478
11480
|
__name: "OnyxColorSchemeMenuItem",
|
|
11479
11481
|
props: {
|
|
11480
11482
|
modelValue: { type: String, required: true }
|
|
@@ -11493,8 +11495,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
11493
11495
|
return __returned__;
|
|
11494
11496
|
}
|
|
11495
11497
|
});
|
|
11496
|
-
const _hoisted_1$
|
|
11497
|
-
function _sfc_render$
|
|
11498
|
+
const _hoisted_1$q = { class: "onyx-color-scheme-menu-item__value" };
|
|
11499
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11498
11500
|
return openBlock(), createBlock($setup["OnyxMenuItem"], {
|
|
11499
11501
|
class: "onyx-component onyx-color-scheme-menu-item",
|
|
11500
11502
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.isOpen = true)
|
|
@@ -11509,7 +11511,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11509
11511
|
),
|
|
11510
11512
|
createElementVNode(
|
|
11511
11513
|
"span",
|
|
11512
|
-
_hoisted_1$
|
|
11514
|
+
_hoisted_1$q,
|
|
11513
11515
|
toDisplayString($setup.t(`colorScheme.${$setup.props.modelValue}.label`)),
|
|
11514
11516
|
1
|
|
11515
11517
|
/* TEXT */
|
|
@@ -11528,8 +11530,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11528
11530
|
/* STABLE */
|
|
11529
11531
|
});
|
|
11530
11532
|
}
|
|
11531
|
-
const OnyxColorSchemeMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11532
|
-
const _sfc_main$
|
|
11533
|
+
const OnyxColorSchemeMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.vue"]]);
|
|
11534
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
11533
11535
|
__name: "OnyxLanguageMenuItem",
|
|
11534
11536
|
props: {
|
|
11535
11537
|
modelValue: { type: null, required: true },
|
|
@@ -11552,8 +11554,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
11552
11554
|
return __returned__;
|
|
11553
11555
|
}
|
|
11554
11556
|
});
|
|
11555
|
-
const _hoisted_1$
|
|
11556
|
-
function _sfc_render$
|
|
11557
|
+
const _hoisted_1$p = { class: "onyx-language-menu-item__value" };
|
|
11558
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11557
11559
|
return openBlock(), createBlock($setup["OnyxMenuItem"], {
|
|
11558
11560
|
class: "onyx-component onyx-language-menu-item",
|
|
11559
11561
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.isOpen = true)
|
|
@@ -11568,7 +11570,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11568
11570
|
),
|
|
11569
11571
|
createElementVNode(
|
|
11570
11572
|
"span",
|
|
11571
|
-
_hoisted_1$
|
|
11573
|
+
_hoisted_1$p,
|
|
11572
11574
|
toDisplayString($setup.currentValueLabel),
|
|
11573
11575
|
1
|
|
11574
11576
|
/* TEXT */
|
|
@@ -11599,8 +11601,8 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11599
11601
|
/* STABLE */
|
|
11600
11602
|
});
|
|
11601
11603
|
}
|
|
11602
|
-
const OnyxLanguageMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11603
|
-
const _sfc_main$
|
|
11604
|
+
const OnyxLanguageMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxLanguageMenuItem/OnyxLanguageMenuItem.vue"]]);
|
|
11605
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
11604
11606
|
__name: "OnyxNavItemFacade",
|
|
11605
11607
|
props: {
|
|
11606
11608
|
link: { type: null, required: false },
|
|
@@ -11622,7 +11624,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
11622
11624
|
return __returned__;
|
|
11623
11625
|
}
|
|
11624
11626
|
});
|
|
11625
|
-
function _sfc_render$
|
|
11627
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11626
11628
|
return openBlock(), createBlock($setup["OnyxMenuItem"], mergeProps($setup.menuItemProps, {
|
|
11627
11629
|
link: $setup.hasChildren && $setup.props.context !== "navbar" ? void 0 : $setup.props.link,
|
|
11628
11630
|
class: {
|
|
@@ -11648,8 +11650,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11648
11650
|
} : void 0
|
|
11649
11651
|
]), 1040, ["link", "class", "open"]);
|
|
11650
11652
|
}
|
|
11651
|
-
const OnyxNavItemFacade = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11652
|
-
const _sfc_main$
|
|
11653
|
+
const OnyxNavItemFacade = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxNavItemFacade/OnyxNavItemFacade.vue"]]);
|
|
11654
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
11653
11655
|
...{ inheritAttrs: false },
|
|
11654
11656
|
__name: "OnyxNavItem",
|
|
11655
11657
|
props: {
|
|
@@ -11695,12 +11697,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
11695
11697
|
return __returned__;
|
|
11696
11698
|
}
|
|
11697
11699
|
});
|
|
11698
|
-
const _hoisted_1$
|
|
11699
|
-
const _hoisted_2$
|
|
11700
|
+
const _hoisted_1$o = { class: "onyx-nav-item-wrapper__controls" };
|
|
11701
|
+
const _hoisted_2$k = {
|
|
11700
11702
|
role: "menu",
|
|
11701
11703
|
class: "onyx-nav-item-wrapper__mobile-children"
|
|
11702
11704
|
};
|
|
11703
|
-
function _sfc_render$
|
|
11705
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11704
11706
|
return openBlock(), createElementBlock(
|
|
11705
11707
|
Fragment,
|
|
11706
11708
|
null,
|
|
@@ -11716,7 +11718,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11716
11718
|
}
|
|
11717
11719
|
}, $setup.rootAttrs),
|
|
11718
11720
|
[
|
|
11719
|
-
createElementVNode("div", _hoisted_1$
|
|
11721
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
11720
11722
|
createVNode($setup["OnyxButton"], {
|
|
11721
11723
|
label: $setup.t("back"),
|
|
11722
11724
|
mode: "plain",
|
|
@@ -11744,7 +11746,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11744
11746
|
/* STABLE_FRAGMENT */
|
|
11745
11747
|
)) : createCommentVNode("v-if", true)
|
|
11746
11748
|
]),
|
|
11747
|
-
createElementVNode("ul", _hoisted_2$
|
|
11749
|
+
createElementVNode("ul", _hoisted_2$k, [
|
|
11748
11750
|
renderSlot(_ctx.$slots, "children")
|
|
11749
11751
|
])
|
|
11750
11752
|
],
|
|
@@ -11853,7 +11855,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11853
11855
|
/* STABLE_FRAGMENT */
|
|
11854
11856
|
);
|
|
11855
11857
|
}
|
|
11856
|
-
const OnyxNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11858
|
+
const OnyxNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue"]]);
|
|
11857
11859
|
const useTimer = (endTime) => {
|
|
11858
11860
|
const intervalId = ref();
|
|
11859
11861
|
const timeLeft = ref(calculateTimeLeft(new Date(endTime.value).getTime()));
|
|
@@ -11914,7 +11916,7 @@ const timeToDurationString = (timeLeft) => {
|
|
|
11914
11916
|
const { hours, minutes, seconds } = getTimeFragments(timeLeft);
|
|
11915
11917
|
return `PT${hours}H${minutes}M${seconds}S`;
|
|
11916
11918
|
};
|
|
11917
|
-
const _sfc_main$
|
|
11919
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
11918
11920
|
__name: "OnyxTimer",
|
|
11919
11921
|
props: {
|
|
11920
11922
|
endTime: { type: null, required: true },
|
|
@@ -11945,13 +11947,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
11945
11947
|
return __returned__;
|
|
11946
11948
|
}
|
|
11947
11949
|
});
|
|
11948
|
-
const _hoisted_1$
|
|
11949
|
-
const _hoisted_2$
|
|
11950
|
+
const _hoisted_1$n = ["aria-label"];
|
|
11951
|
+
const _hoisted_2$j = {
|
|
11950
11952
|
key: 0,
|
|
11951
11953
|
class: "onyx-timer__label"
|
|
11952
11954
|
};
|
|
11953
|
-
const _hoisted_3$
|
|
11954
|
-
function _sfc_render$
|
|
11955
|
+
const _hoisted_3$d = ["datetime"];
|
|
11956
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11955
11957
|
return openBlock(), createElementBlock("div", {
|
|
11956
11958
|
class: "onyx-component onyx-timer onyx-text onyx-truncation-ellipsis",
|
|
11957
11959
|
role: "timer",
|
|
@@ -11959,7 +11961,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11959
11961
|
}, [
|
|
11960
11962
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
11961
11963
|
"span",
|
|
11962
|
-
_hoisted_2$
|
|
11964
|
+
_hoisted_2$j,
|
|
11963
11965
|
toDisplayString($setup.props.label),
|
|
11964
11966
|
1
|
|
11965
11967
|
/* TEXT */
|
|
@@ -11967,11 +11969,11 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11967
11969
|
createElementVNode("time", {
|
|
11968
11970
|
datetime: $setup.timeToDurationString($setup.timeLeft),
|
|
11969
11971
|
class: "onyx-timer__time"
|
|
11970
|
-
}, toDisplayString($setup.formattedTime), 9, _hoisted_3$
|
|
11971
|
-
], 8, _hoisted_1$
|
|
11972
|
+
}, toDisplayString($setup.formattedTime), 9, _hoisted_3$d)
|
|
11973
|
+
], 8, _hoisted_1$n);
|
|
11972
11974
|
}
|
|
11973
|
-
const OnyxTimer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11974
|
-
const _sfc_main$
|
|
11975
|
+
const OnyxTimer = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.vue"]]);
|
|
11976
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
11975
11977
|
__name: "UserMenuLayout",
|
|
11976
11978
|
props: {
|
|
11977
11979
|
isMobile: { type: Boolean, required: true },
|
|
@@ -11996,10 +11998,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
11996
11998
|
return __returned__;
|
|
11997
11999
|
}
|
|
11998
12000
|
});
|
|
11999
|
-
const _hoisted_1$
|
|
12000
|
-
const _hoisted_2$
|
|
12001
|
-
function _sfc_render$
|
|
12002
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12001
|
+
const _hoisted_1$m = { class: "onyx-component" };
|
|
12002
|
+
const _hoisted_2$i = { class: "onyx-user-menu__footer onyx-text--small" };
|
|
12003
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12004
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
12003
12005
|
$setup.props.isMobile ? (openBlock(), createElementBlock(
|
|
12004
12006
|
Fragment,
|
|
12005
12007
|
{ key: 0 },
|
|
@@ -12043,7 +12045,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12043
12045
|
!!$setup.slots.footer ? {
|
|
12044
12046
|
name: "footer",
|
|
12045
12047
|
fn: withCtx(() => [
|
|
12046
|
-
createElementVNode("div", _hoisted_2$
|
|
12048
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
12047
12049
|
renderSlot(_ctx.$slots, "footer")
|
|
12048
12050
|
])
|
|
12049
12051
|
]),
|
|
@@ -12052,8 +12054,8 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12052
12054
|
]), 1032, ["open", "label", "disabled"]))
|
|
12053
12055
|
]);
|
|
12054
12056
|
}
|
|
12055
|
-
const UserMenuLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12056
|
-
const _sfc_main$
|
|
12057
|
+
const UserMenuLayout = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxUserMenu/UserMenuLayout.vue"]]);
|
|
12058
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
12057
12059
|
__name: "OnyxUserMenu",
|
|
12058
12060
|
props: {
|
|
12059
12061
|
fullName: { type: String, required: true },
|
|
@@ -12087,16 +12089,16 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
12087
12089
|
return __returned__;
|
|
12088
12090
|
}
|
|
12089
12091
|
});
|
|
12090
|
-
const _hoisted_1$
|
|
12091
|
-
const _hoisted_2$
|
|
12092
|
-
const _hoisted_3$
|
|
12093
|
-
const _hoisted_4$
|
|
12094
|
-
const _hoisted_5$
|
|
12092
|
+
const _hoisted_1$l = { class: "onyx-truncation-ellipsis" };
|
|
12093
|
+
const _hoisted_2$h = { class: "onyx-user-menu__header" };
|
|
12094
|
+
const _hoisted_3$c = { class: "onyx-truncation-ellipsis" };
|
|
12095
|
+
const _hoisted_4$a = { class: "onyx-user-menu__username onyx-text onyx-truncation-ellipsis" };
|
|
12096
|
+
const _hoisted_5$9 = {
|
|
12095
12097
|
key: 0,
|
|
12096
12098
|
class: "onyx-user-menu__description onyx-text--small onyx-truncation-ellipsis"
|
|
12097
12099
|
};
|
|
12098
12100
|
const _hoisted_6$6 = { class: "onyx-user-menu__options" };
|
|
12099
|
-
function _sfc_render$
|
|
12101
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12100
12102
|
return openBlock(), createBlock($setup["UserMenuLayout"], {
|
|
12101
12103
|
"flyout-open": $setup.flyoutOpen,
|
|
12102
12104
|
"onUpdate:flyoutOpen": _cache[0] || (_cache[0] = ($event) => $setup.flyoutOpen = $event),
|
|
@@ -12121,7 +12123,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12121
12123
|
),
|
|
12122
12124
|
createElementVNode(
|
|
12123
12125
|
"span",
|
|
12124
|
-
_hoisted_1$
|
|
12126
|
+
_hoisted_1$l,
|
|
12125
12127
|
toDisplayString($setup.props.fullName),
|
|
12126
12128
|
1
|
|
12127
12129
|
/* TEXT */
|
|
@@ -12132,7 +12134,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12132
12134
|
)
|
|
12133
12135
|
]),
|
|
12134
12136
|
header: withCtx(() => [
|
|
12135
|
-
createElementVNode("div", _hoisted_2$
|
|
12137
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
12136
12138
|
createVNode(
|
|
12137
12139
|
$setup["OnyxAvatar"],
|
|
12138
12140
|
mergeProps($setup.avatar, { size: "48px" }),
|
|
@@ -12140,17 +12142,17 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12140
12142
|
16
|
|
12141
12143
|
/* FULL_PROPS */
|
|
12142
12144
|
),
|
|
12143
|
-
createElementVNode("div", _hoisted_3$
|
|
12145
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
12144
12146
|
createElementVNode(
|
|
12145
12147
|
"div",
|
|
12146
|
-
_hoisted_4$
|
|
12148
|
+
_hoisted_4$a,
|
|
12147
12149
|
toDisplayString($setup.props.fullName),
|
|
12148
12150
|
1
|
|
12149
12151
|
/* TEXT */
|
|
12150
12152
|
),
|
|
12151
12153
|
$setup.props.description ? (openBlock(), createElementBlock(
|
|
12152
12154
|
"div",
|
|
12153
|
-
_hoisted_5$
|
|
12155
|
+
_hoisted_5$9,
|
|
12154
12156
|
toDisplayString($setup.props.description),
|
|
12155
12157
|
1
|
|
12156
12158
|
/* TEXT */
|
|
@@ -12175,8 +12177,8 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12175
12177
|
} : void 0
|
|
12176
12178
|
]), 1032, ["flyout-open", "class", "is-mobile", "disabled"]);
|
|
12177
12179
|
}
|
|
12178
|
-
const OnyxUserMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12179
|
-
const _sfc_main$
|
|
12180
|
+
const OnyxUserMenu = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxUserMenu/OnyxUserMenu.vue"]]);
|
|
12181
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
12180
12182
|
__name: "OnyxNavBar",
|
|
12181
12183
|
props: {
|
|
12182
12184
|
appName: { type: String, required: false },
|
|
@@ -12246,14 +12248,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
12246
12248
|
return __returned__;
|
|
12247
12249
|
}
|
|
12248
12250
|
});
|
|
12249
|
-
const _hoisted_1$
|
|
12250
|
-
const _hoisted_2$
|
|
12251
|
+
const _hoisted_1$k = { class: "onyx-nav-bar__content onyx-grid-container" };
|
|
12252
|
+
const _hoisted_2$g = {
|
|
12251
12253
|
key: 0,
|
|
12252
12254
|
class: "onyx-nav-bar__mobile-page onyx-truncation-ellipsis"
|
|
12253
12255
|
};
|
|
12254
|
-
const _hoisted_3$
|
|
12255
|
-
const _hoisted_4$
|
|
12256
|
-
const _hoisted_5$
|
|
12256
|
+
const _hoisted_3$b = { role: "menubar" };
|
|
12257
|
+
const _hoisted_4$9 = { ref: "moreListRef" };
|
|
12258
|
+
const _hoisted_5$8 = {
|
|
12257
12259
|
key: 0,
|
|
12258
12260
|
class: "onyx-nav-bar__mobile-context"
|
|
12259
12261
|
};
|
|
@@ -12266,7 +12268,7 @@ const _hoisted_8$3 = {
|
|
|
12266
12268
|
key: 1,
|
|
12267
12269
|
class: "onyx-nav-bar__context"
|
|
12268
12270
|
};
|
|
12269
|
-
function _sfc_render$
|
|
12271
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12270
12272
|
return openBlock(), createElementBlock(
|
|
12271
12273
|
"header",
|
|
12272
12274
|
{
|
|
@@ -12274,8 +12276,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12274
12276
|
class: normalizeClass(["onyx-component onyx-nav-bar", { "onyx-nav-bar--mobile": $setup.actualIsMobile }])
|
|
12275
12277
|
},
|
|
12276
12278
|
[
|
|
12277
|
-
createElementVNode("div", _hoisted_1$
|
|
12278
|
-
$setup.actualIsMobile && $setup.slots.mobileActivePage && !$setup.isBurgerOpen && !$setup.isContextOpen ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
12279
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
12280
|
+
$setup.actualIsMobile && $setup.slots.mobileActivePage && !$setup.isBurgerOpen && !$setup.isContextOpen ? (openBlock(), createElementBlock("span", _hoisted_2$g, [
|
|
12279
12281
|
renderSlot(_ctx.$slots, "mobileActivePage")
|
|
12280
12282
|
])) : $setup.props.appName || $setup.props.logoUrl || $setup.slots.appArea ? (openBlock(), createBlock($setup["OnyxNavAppArea"], mergeProps({
|
|
12281
12283
|
key: 1,
|
|
@@ -12318,7 +12320,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12318
12320
|
"nav",
|
|
12319
12321
|
mergeProps({ class: "onyx-nav-bar__nav--mobile" }, $setup.nav),
|
|
12320
12322
|
[
|
|
12321
|
-
createElementVNode("ul", _hoisted_3$
|
|
12323
|
+
createElementVNode("ul", _hoisted_3$b, [
|
|
12322
12324
|
renderSlot(_ctx.$slots, "default")
|
|
12323
12325
|
])
|
|
12324
12326
|
],
|
|
@@ -12364,7 +12366,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12364
12366
|
options: withCtx(() => [
|
|
12365
12367
|
createElementVNode(
|
|
12366
12368
|
"div",
|
|
12367
|
-
_hoisted_4$
|
|
12369
|
+
_hoisted_4$9,
|
|
12368
12370
|
null,
|
|
12369
12371
|
512
|
|
12370
12372
|
/* NEED_PATCH */
|
|
@@ -12389,7 +12391,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12389
12391
|
Fragment,
|
|
12390
12392
|
{ key: 4 },
|
|
12391
12393
|
[
|
|
12392
|
-
$setup.actualIsMobile ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
12394
|
+
$setup.actualIsMobile ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
|
|
12393
12395
|
$setup.slots.globalContextArea ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
12394
12396
|
renderSlot(_ctx.$slots, "globalContextArea")
|
|
12395
12397
|
])) : createCommentVNode("v-if", true),
|
|
@@ -12425,7 +12427,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12425
12427
|
/* CLASS */
|
|
12426
12428
|
);
|
|
12427
12429
|
}
|
|
12428
|
-
const OnyxNavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12430
|
+
const OnyxNavBar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/OnyxNavBar.vue"]]);
|
|
12429
12431
|
const useRelativeTimeFormat = (options) => {
|
|
12430
12432
|
const { locale, t } = injectI18n();
|
|
12431
12433
|
const format = computed(() => new Intl.RelativeTimeFormat(locale.value, unref(options.options)));
|
|
@@ -12473,7 +12475,7 @@ const useRelativeTimeFormat = (options) => {
|
|
|
12473
12475
|
timeAgo
|
|
12474
12476
|
};
|
|
12475
12477
|
};
|
|
12476
|
-
const _sfc_main$
|
|
12478
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
12477
12479
|
__name: "OnyxNotificationCard",
|
|
12478
12480
|
props: {
|
|
12479
12481
|
density: { type: null, required: false },
|
|
@@ -12499,31 +12501,31 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
12499
12501
|
return __returned__;
|
|
12500
12502
|
}
|
|
12501
12503
|
});
|
|
12502
|
-
const _hoisted_1$
|
|
12504
|
+
const _hoisted_1$j = {
|
|
12503
12505
|
key: 0,
|
|
12504
12506
|
class: "onyx-notification-card-skeleton"
|
|
12505
12507
|
};
|
|
12506
|
-
const _hoisted_2$
|
|
12508
|
+
const _hoisted_2$f = {
|
|
12507
12509
|
key: 1,
|
|
12508
12510
|
class: "onyx-notification-card__content"
|
|
12509
12511
|
};
|
|
12510
|
-
const _hoisted_3$
|
|
12511
|
-
const _hoisted_4$
|
|
12512
|
-
const _hoisted_5$
|
|
12512
|
+
const _hoisted_3$a = { class: "onyx-notification-card__header" };
|
|
12513
|
+
const _hoisted_4$8 = { class: "onyx-notification-card__header-container" };
|
|
12514
|
+
const _hoisted_5$7 = { class: "onyx-notification-card__header-container" };
|
|
12513
12515
|
const _hoisted_6$4 = { class: "onyx-notification-card__created-at onyx-text--small" };
|
|
12514
12516
|
const _hoisted_7$2 = { class: "onyx-notification-card__description onyx-text onyx-truncation-multiline" };
|
|
12515
12517
|
const _hoisted_8$2 = {
|
|
12516
12518
|
key: 0,
|
|
12517
12519
|
class: "onyx-notification-card__actions onyx-density-compact"
|
|
12518
12520
|
};
|
|
12519
|
-
function _sfc_render$
|
|
12521
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12520
12522
|
return openBlock(), createElementBlock(
|
|
12521
12523
|
"div",
|
|
12522
12524
|
{
|
|
12523
12525
|
class: normalizeClass(["onyx-component", "onyx-notification-card", $setup.densityClass])
|
|
12524
12526
|
},
|
|
12525
12527
|
[
|
|
12526
|
-
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
12528
|
+
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
12527
12529
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-notification-card-skeleton__header" }),
|
|
12528
12530
|
(openBlock(), createElementBlock(
|
|
12529
12531
|
Fragment,
|
|
@@ -12537,10 +12539,10 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12537
12539
|
64
|
|
12538
12540
|
/* STABLE_FRAGMENT */
|
|
12539
12541
|
))
|
|
12540
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
12542
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
12541
12543
|
createElementVNode("div", null, [
|
|
12542
|
-
createElementVNode("div", _hoisted_3$
|
|
12543
|
-
createElementVNode("div", _hoisted_4$
|
|
12544
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
12545
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
12544
12546
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
12545
12547
|
key: 0,
|
|
12546
12548
|
class: "onyx-notification-card__icon",
|
|
@@ -12558,7 +12560,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12558
12560
|
/* STABLE */
|
|
12559
12561
|
})
|
|
12560
12562
|
]),
|
|
12561
|
-
createElementVNode("div", _hoisted_5$
|
|
12563
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
12562
12564
|
$setup.props.unread ? (openBlock(), createBlock($setup["OnyxBadge"], {
|
|
12563
12565
|
key: 0,
|
|
12564
12566
|
dot: ""
|
|
@@ -12607,8 +12609,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12607
12609
|
/* CLASS */
|
|
12608
12610
|
);
|
|
12609
12611
|
}
|
|
12610
|
-
const OnyxNotificationCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12611
|
-
const _sfc_main$
|
|
12612
|
+
const OnyxNotificationCard = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationCard/OnyxNotificationCard.vue"]]);
|
|
12613
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
12612
12614
|
__name: "OnyxNotificationDot",
|
|
12613
12615
|
props: {
|
|
12614
12616
|
hidden: { type: Boolean, required: false, default: false },
|
|
@@ -12622,9 +12624,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
12622
12624
|
return __returned__;
|
|
12623
12625
|
}
|
|
12624
12626
|
});
|
|
12625
|
-
const _hoisted_1$
|
|
12626
|
-
function _sfc_render$
|
|
12627
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12627
|
+
const _hoisted_1$i = { class: "onyx-component onyx-notification-dot" };
|
|
12628
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12629
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
12628
12630
|
renderSlot(_ctx.$slots, "default"),
|
|
12629
12631
|
!$setup.props.hidden ? (openBlock(), createBlock($setup["OnyxBadge"], {
|
|
12630
12632
|
key: 0,
|
|
@@ -12634,8 +12636,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12634
12636
|
}, null, 8, ["color"])) : createCommentVNode("v-if", true)
|
|
12635
12637
|
]);
|
|
12636
12638
|
}
|
|
12637
|
-
const OnyxNotificationDot = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12638
|
-
const _sfc_main$
|
|
12639
|
+
const OnyxNotificationDot = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationDot/OnyxNotificationDot.vue"]]);
|
|
12640
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
12639
12641
|
__name: "OnyxPageLayout",
|
|
12640
12642
|
props: {
|
|
12641
12643
|
skeleton: { type: Boolean, required: false },
|
|
@@ -12652,20 +12654,20 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
12652
12654
|
return __returned__;
|
|
12653
12655
|
}
|
|
12654
12656
|
});
|
|
12655
|
-
const _hoisted_1$
|
|
12657
|
+
const _hoisted_1$h = {
|
|
12656
12658
|
key: 0,
|
|
12657
12659
|
class: "onyx-page__sidebar"
|
|
12658
12660
|
};
|
|
12659
|
-
const _hoisted_2$
|
|
12660
|
-
const _hoisted_3$
|
|
12661
|
+
const _hoisted_2$e = { class: "onyx-page__main" };
|
|
12662
|
+
const _hoisted_3$9 = {
|
|
12661
12663
|
key: 1,
|
|
12662
12664
|
class: "onyx-page__sidebar onyx-page__sidebar--right"
|
|
12663
12665
|
};
|
|
12664
|
-
const _hoisted_4$
|
|
12666
|
+
const _hoisted_4$7 = {
|
|
12665
12667
|
key: 2,
|
|
12666
12668
|
class: "onyx-page__footer"
|
|
12667
12669
|
};
|
|
12668
|
-
function _sfc_render$
|
|
12670
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12669
12671
|
return openBlock(), createElementBlock(
|
|
12670
12672
|
"div",
|
|
12671
12673
|
{
|
|
@@ -12676,10 +12678,10 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12676
12678
|
]])
|
|
12677
12679
|
},
|
|
12678
12680
|
[
|
|
12679
|
-
$setup.slots.sidebar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
12681
|
+
$setup.slots.sidebar ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
12680
12682
|
renderSlot(_ctx.$slots, "sidebar")
|
|
12681
12683
|
])) : createCommentVNode("v-if", true),
|
|
12682
|
-
createElementVNode("main", _hoisted_2$
|
|
12684
|
+
createElementVNode("main", _hoisted_2$e, [
|
|
12683
12685
|
createElementVNode(
|
|
12684
12686
|
"div",
|
|
12685
12687
|
{
|
|
@@ -12692,10 +12694,10 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12692
12694
|
/* CLASS */
|
|
12693
12695
|
)
|
|
12694
12696
|
]),
|
|
12695
|
-
$setup.slots.sidebarRight ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12697
|
+
$setup.slots.sidebarRight ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
|
|
12696
12698
|
renderSlot(_ctx.$slots, "sidebarRight")
|
|
12697
12699
|
])) : createCommentVNode("v-if", true),
|
|
12698
|
-
$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
12700
|
+
$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
|
|
12699
12701
|
renderSlot(_ctx.$slots, "footer")
|
|
12700
12702
|
])) : createCommentVNode("v-if", true)
|
|
12701
12703
|
],
|
|
@@ -12703,8 +12705,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12703
12705
|
/* CLASS */
|
|
12704
12706
|
);
|
|
12705
12707
|
}
|
|
12706
|
-
const OnyxPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12707
|
-
const _sfc_main$
|
|
12708
|
+
const OnyxPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPageLayout/OnyxPageLayout.vue"]]);
|
|
12709
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
12708
12710
|
__name: "OnyxProgressItem",
|
|
12709
12711
|
props: {
|
|
12710
12712
|
density: { type: null, required: false },
|
|
@@ -12730,10 +12732,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
12730
12732
|
return __returned__;
|
|
12731
12733
|
}
|
|
12732
12734
|
});
|
|
12733
|
-
const _hoisted_1$
|
|
12734
|
-
const _hoisted_2$
|
|
12735
|
-
const _hoisted_3$
|
|
12736
|
-
function _sfc_render$
|
|
12735
|
+
const _hoisted_1$g = ["disabled"];
|
|
12736
|
+
const _hoisted_2$d = { class: "onyx-progress-item__indicator" };
|
|
12737
|
+
const _hoisted_3$8 = { class: "onyx-progress-item__label" };
|
|
12738
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12737
12739
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
12738
12740
|
key: 0,
|
|
12739
12741
|
class: normalizeClass(["onyx-progress-item-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -12749,7 +12751,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12749
12751
|
type: "button",
|
|
12750
12752
|
disabled: $setup.props.disabled
|
|
12751
12753
|
}, [
|
|
12752
|
-
createElementVNode("span", _hoisted_2$
|
|
12754
|
+
createElementVNode("span", _hoisted_2$d, [
|
|
12753
12755
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
12754
12756
|
key: 0,
|
|
12755
12757
|
icon: $setup.icon
|
|
@@ -12767,7 +12769,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12767
12769
|
/* STABLE_FRAGMENT */
|
|
12768
12770
|
))
|
|
12769
12771
|
]),
|
|
12770
|
-
createElementVNode("div", _hoisted_3$
|
|
12772
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
12771
12773
|
renderSlot(_ctx.$slots, "default", {
|
|
12772
12774
|
label: $setup.props.label
|
|
12773
12775
|
}, () => [
|
|
@@ -12778,9 +12780,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12778
12780
|
)
|
|
12779
12781
|
])
|
|
12780
12782
|
])
|
|
12781
|
-
], 10, _hoisted_1$
|
|
12783
|
+
], 10, _hoisted_1$g));
|
|
12782
12784
|
}
|
|
12783
|
-
const OnyxProgressItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12785
|
+
const OnyxProgressItem = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxProgressItem/OnyxProgressItem.vue"]]);
|
|
12784
12786
|
const PROGRESS_ITEM_STATUS = [
|
|
12785
12787
|
"default",
|
|
12786
12788
|
"active",
|
|
@@ -12788,7 +12790,7 @@ const PROGRESS_ITEM_STATUS = [
|
|
|
12788
12790
|
"visited",
|
|
12789
12791
|
"invalid"
|
|
12790
12792
|
];
|
|
12791
|
-
const _sfc_main$
|
|
12793
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
12792
12794
|
__name: "OnyxProgressSteps",
|
|
12793
12795
|
props: {
|
|
12794
12796
|
density: { type: null, required: false },
|
|
@@ -12843,8 +12845,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
12843
12845
|
return __returned__;
|
|
12844
12846
|
}
|
|
12845
12847
|
});
|
|
12846
|
-
const _hoisted_1$
|
|
12847
|
-
function _sfc_render$
|
|
12848
|
+
const _hoisted_1$f = { class: "onyx-progress-steps__scroll-container" };
|
|
12849
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12848
12850
|
return openBlock(), createElementBlock(
|
|
12849
12851
|
"div",
|
|
12850
12852
|
{
|
|
@@ -12856,7 +12858,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12856
12858
|
])
|
|
12857
12859
|
},
|
|
12858
12860
|
[
|
|
12859
|
-
createElementVNode("div", _hoisted_1$
|
|
12861
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
12860
12862
|
(openBlock(true), createElementBlock(
|
|
12861
12863
|
Fragment,
|
|
12862
12864
|
null,
|
|
@@ -12896,8 +12898,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12896
12898
|
/* CLASS */
|
|
12897
12899
|
);
|
|
12898
12900
|
}
|
|
12899
|
-
const OnyxProgressSteps = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12900
|
-
const _sfc_main$
|
|
12901
|
+
const OnyxProgressSteps = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxProgressSteps/OnyxProgressSteps.vue"]]);
|
|
12902
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
12901
12903
|
...{ inheritAttrs: false },
|
|
12902
12904
|
__name: "OnyxRadioButton",
|
|
12903
12905
|
props: {
|
|
@@ -12932,8 +12934,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
12932
12934
|
return __returned__;
|
|
12933
12935
|
}
|
|
12934
12936
|
});
|
|
12935
|
-
const _hoisted_1$
|
|
12936
|
-
function _sfc_render$
|
|
12937
|
+
const _hoisted_1$e = ["required", "name", "value", "checked", "disabled", "autofocus"];
|
|
12938
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12937
12939
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
12938
12940
|
"div",
|
|
12939
12941
|
mergeProps({
|
|
@@ -12973,7 +12975,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12973
12975
|
checked: $setup.props.checked,
|
|
12974
12976
|
disabled: $setup.disabled,
|
|
12975
12977
|
autofocus: $setup.props.autofocus
|
|
12976
|
-
}, $setup.restAttrs), null, 16, _hoisted_1$
|
|
12978
|
+
}, $setup.restAttrs), null, 16, _hoisted_1$e)), [
|
|
12977
12979
|
[$setup["vCustomValidity"]]
|
|
12978
12980
|
]),
|
|
12979
12981
|
createElementVNode(
|
|
@@ -12994,8 +12996,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12994
12996
|
/* STABLE */
|
|
12995
12997
|
}, 16, ["disabled", "error-messages"]));
|
|
12996
12998
|
}
|
|
12997
|
-
const OnyxRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12998
|
-
const _sfc_main$
|
|
12999
|
+
const OnyxRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRadioButton/OnyxRadioButton.vue"]]);
|
|
13000
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
12999
13001
|
__name: "OnyxRadioGroup",
|
|
13000
13002
|
props: {
|
|
13001
13003
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -13042,19 +13044,19 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
13042
13044
|
return __returned__;
|
|
13043
13045
|
}
|
|
13044
13046
|
});
|
|
13045
|
-
const _hoisted_1$
|
|
13046
|
-
const _hoisted_2$
|
|
13047
|
+
const _hoisted_1$d = ["disabled", "aria-label"];
|
|
13048
|
+
const _hoisted_2$c = {
|
|
13047
13049
|
key: 0,
|
|
13048
13050
|
class: "onyx-radio-group__label"
|
|
13049
13051
|
};
|
|
13050
|
-
function _sfc_render$
|
|
13052
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13051
13053
|
return openBlock(), createElementBlock("fieldset", {
|
|
13052
13054
|
class: normalizeClass(["onyx-component", "onyx-radio-group", $setup.densityClass, $setup.requiredTypeClass]),
|
|
13053
13055
|
disabled: $setup.disabled,
|
|
13054
13056
|
role: "radiogroup",
|
|
13055
13057
|
"aria-label": $setup.props.label
|
|
13056
13058
|
}, [
|
|
13057
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$
|
|
13059
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$c, [
|
|
13058
13060
|
createVNode($setup["OnyxHeadline"], {
|
|
13059
13061
|
is: "h3",
|
|
13060
13062
|
class: normalizeClass($setup.requiredMarkerClass)
|
|
@@ -13121,11 +13123,11 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13121
13123
|
2
|
|
13122
13124
|
/* CLASS */
|
|
13123
13125
|
)
|
|
13124
|
-
], 10, _hoisted_1$
|
|
13126
|
+
], 10, _hoisted_1$d);
|
|
13125
13127
|
}
|
|
13126
|
-
const OnyxRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13128
|
+
const OnyxRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRadioGroup/OnyxRadioGroup.vue"]]);
|
|
13127
13129
|
const LINK_TARGETS = ["_self", "_blank", "_parent", "_top"];
|
|
13128
|
-
const _sfc_main$
|
|
13130
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
13129
13131
|
...{ inheritAttrs: false },
|
|
13130
13132
|
__name: "OnyxSegmentedControlElement",
|
|
13131
13133
|
props: {
|
|
@@ -13152,13 +13154,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
13152
13154
|
return __returned__;
|
|
13153
13155
|
}
|
|
13154
13156
|
});
|
|
13155
|
-
const _hoisted_1$
|
|
13156
|
-
const _hoisted_2$
|
|
13157
|
-
const _hoisted_3$
|
|
13157
|
+
const _hoisted_1$c = ["id", "name", "value", "disabled", "aria-label", "autofocus", "checked"];
|
|
13158
|
+
const _hoisted_2$b = ["for"];
|
|
13159
|
+
const _hoisted_3$7 = {
|
|
13158
13160
|
key: 1,
|
|
13159
13161
|
class: "onyx-segmented-control-element__text"
|
|
13160
13162
|
};
|
|
13161
|
-
function _sfc_render$
|
|
13163
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13162
13164
|
return openBlock(), createElementBlock(
|
|
13163
13165
|
"div",
|
|
13164
13166
|
mergeProps($setup.rootAttrs, {
|
|
@@ -13178,7 +13180,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13178
13180
|
"aria-label": $setup.props.label,
|
|
13179
13181
|
autofocus: $setup.props.autofocus,
|
|
13180
13182
|
checked: $setup.props.checked
|
|
13181
|
-
}), null, 16, _hoisted_1$
|
|
13183
|
+
}), null, 16, _hoisted_1$c)
|
|
13182
13184
|
]),
|
|
13183
13185
|
_: 1
|
|
13184
13186
|
/* STABLE */
|
|
@@ -13194,19 +13196,19 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13194
13196
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
13195
13197
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
13196
13198
|
"p",
|
|
13197
|
-
_hoisted_3$
|
|
13199
|
+
_hoisted_3$7,
|
|
13198
13200
|
toDisplayString($setup.props.label),
|
|
13199
13201
|
1
|
|
13200
13202
|
/* TEXT */
|
|
13201
13203
|
)) : createCommentVNode("v-if", true)
|
|
13202
|
-
], 8, _hoisted_2$
|
|
13204
|
+
], 8, _hoisted_2$b)
|
|
13203
13205
|
],
|
|
13204
13206
|
16
|
|
13205
13207
|
/* FULL_PROPS */
|
|
13206
13208
|
);
|
|
13207
13209
|
}
|
|
13208
|
-
const OnyxSegmentedControlElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13209
|
-
const _sfc_main$
|
|
13210
|
+
const OnyxSegmentedControlElement = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSegmentedControlElement/OnyxSegmentedControlElement.vue"]]);
|
|
13211
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
13210
13212
|
__name: "OnyxSegmentedControl",
|
|
13211
13213
|
props: {
|
|
13212
13214
|
density: { type: null, required: false },
|
|
@@ -13235,7 +13237,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
13235
13237
|
return __returned__;
|
|
13236
13238
|
}
|
|
13237
13239
|
});
|
|
13238
|
-
function _sfc_render$
|
|
13240
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13239
13241
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
13240
13242
|
key: 0,
|
|
13241
13243
|
class: normalizeClass(["onyx-segmented-control-skeleton", $setup.densityClass])
|
|
@@ -13266,10 +13268,10 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13266
13268
|
/* CLASS */
|
|
13267
13269
|
));
|
|
13268
13270
|
}
|
|
13269
|
-
const OnyxSegmentedControl = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13271
|
+
const OnyxSegmentedControl = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSegmentedControl/OnyxSegmentedControl.vue"]]);
|
|
13270
13272
|
const SELECT_ALIGNMENTS = ["full", "left", "right"];
|
|
13271
13273
|
const MULTISELECT_TEXT_MODE = ["summary", "preview"];
|
|
13272
|
-
const _sfc_main$
|
|
13274
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
13273
13275
|
__name: "OnyxSidebarItem",
|
|
13274
13276
|
props: {
|
|
13275
13277
|
density: { type: null, required: false },
|
|
@@ -13297,7 +13299,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
13297
13299
|
return __returned__;
|
|
13298
13300
|
}
|
|
13299
13301
|
});
|
|
13300
|
-
function _sfc_render$
|
|
13302
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13301
13303
|
return $setup.link ? (openBlock(), createBlock($setup["OnyxRouterLink"], mergeProps({
|
|
13302
13304
|
key: 0,
|
|
13303
13305
|
class: $setup.classes
|
|
@@ -13321,12 +13323,12 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13321
13323
|
/* CLASS */
|
|
13322
13324
|
));
|
|
13323
13325
|
}
|
|
13324
|
-
const OnyxSidebarItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13326
|
+
const OnyxSidebarItem = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSidebar/modules/OnyxSidebarItem/OnyxSidebarItem.vue"]]);
|
|
13325
13327
|
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>';
|
|
13326
13328
|
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>';
|
|
13327
13329
|
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>';
|
|
13328
13330
|
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>';
|
|
13329
|
-
const _sfc_main$
|
|
13331
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
13330
13332
|
__name: "OnyxSidebar",
|
|
13331
13333
|
props: {
|
|
13332
13334
|
density: { type: null, required: false },
|
|
@@ -13414,18 +13416,18 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
13414
13416
|
return __returned__;
|
|
13415
13417
|
}
|
|
13416
13418
|
});
|
|
13417
|
-
const _hoisted_1$
|
|
13418
|
-
const _hoisted_2$
|
|
13419
|
+
const _hoisted_1$b = ["aria-label"];
|
|
13420
|
+
const _hoisted_2$a = {
|
|
13419
13421
|
key: 0,
|
|
13420
13422
|
class: "onyx-sidebar__header"
|
|
13421
13423
|
};
|
|
13422
|
-
const _hoisted_3$
|
|
13423
|
-
const _hoisted_4$
|
|
13424
|
+
const _hoisted_3$6 = { class: "onyx-sidebar__body" };
|
|
13425
|
+
const _hoisted_4$6 = {
|
|
13424
13426
|
key: 1,
|
|
13425
13427
|
class: "onyx-sidebar__footer"
|
|
13426
13428
|
};
|
|
13427
|
-
const _hoisted_5$
|
|
13428
|
-
function _sfc_render$
|
|
13429
|
+
const _hoisted_5$6 = { class: "onyx-sidebar__footer" };
|
|
13430
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13429
13431
|
return !$setup.props.temporary && !$setup.shouldCollapse ? (openBlock(), createElementBlock("aside", {
|
|
13430
13432
|
key: 0,
|
|
13431
13433
|
ref: "sidebarRef",
|
|
@@ -13439,20 +13441,20 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13439
13441
|
"aria-label": $setup.props.label,
|
|
13440
13442
|
style: normalizeStyle($setup.widthStyle)
|
|
13441
13443
|
}, [
|
|
13442
|
-
!!$setup.slots.header ? (openBlock(), createElementBlock("header", _hoisted_2$
|
|
13444
|
+
!!$setup.slots.header ? (openBlock(), createElementBlock("header", _hoisted_2$a, [
|
|
13443
13445
|
renderSlot(_ctx.$slots, "header")
|
|
13444
13446
|
])) : createCommentVNode("v-if", true),
|
|
13445
|
-
createElementVNode("div", _hoisted_3$
|
|
13447
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
13446
13448
|
renderSlot(_ctx.$slots, "default")
|
|
13447
13449
|
]),
|
|
13448
|
-
!!$setup.slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$
|
|
13450
|
+
!!$setup.slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$6, [
|
|
13449
13451
|
renderSlot(_ctx.$slots, "footer")
|
|
13450
13452
|
])) : createCommentVNode("v-if", true),
|
|
13451
13453
|
$setup.props.resizable ? (openBlock(), createBlock($setup["OnyxResizeHandle"], mergeProps({
|
|
13452
13454
|
key: 2,
|
|
13453
13455
|
element: $setup.sidebarElement
|
|
13454
13456
|
}, $setup.resizeHandleProps), null, 16, ["element"])) : createCommentVNode("v-if", true)
|
|
13455
|
-
], 14, _hoisted_1$
|
|
13457
|
+
], 14, _hoisted_1$b)) : (openBlock(), createBlock($setup["OnyxModal"], mergeProps({ key: 1 }, $setup.props.temporary, {
|
|
13456
13458
|
ref: "modalRef",
|
|
13457
13459
|
open: $setup.isModalOpen,
|
|
13458
13460
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isModalOpen = $event),
|
|
@@ -13496,7 +13498,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13496
13498
|
!!$setup.slots.footer ? {
|
|
13497
13499
|
name: "footer",
|
|
13498
13500
|
fn: withCtx(() => [
|
|
13499
|
-
createElementVNode("div", _hoisted_5$
|
|
13501
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
13500
13502
|
renderSlot(_ctx.$slots, "footer")
|
|
13501
13503
|
])
|
|
13502
13504
|
]),
|
|
@@ -13504,9 +13506,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13504
13506
|
} : void 0
|
|
13505
13507
|
]), 1040, ["open", "class", "label", "density", "style", "alignment"]));
|
|
13506
13508
|
}
|
|
13507
|
-
const OnyxSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13509
|
+
const OnyxSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSidebar/OnyxSidebar.vue"]]);
|
|
13508
13510
|
const SIDEBAR_ALIGNMENT = ["left", "right"];
|
|
13509
|
-
const _sfc_main$
|
|
13511
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
13510
13512
|
...{ inheritAttrs: false },
|
|
13511
13513
|
__name: "OnyxStepper",
|
|
13512
13514
|
props: {
|
|
@@ -13629,15 +13631,15 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
13629
13631
|
return __returned__;
|
|
13630
13632
|
}
|
|
13631
13633
|
});
|
|
13632
|
-
const _hoisted_1$
|
|
13633
|
-
const _hoisted_2$
|
|
13634
|
-
const _hoisted_3$
|
|
13635
|
-
const _hoisted_4$
|
|
13634
|
+
const _hoisted_1$a = { class: "onyx-stepper__wrapper" };
|
|
13635
|
+
const _hoisted_2$9 = ["disabled", "aria-label"];
|
|
13636
|
+
const _hoisted_3$5 = ["id", "aria-label", "autofocus", "disabled", "min", "max", "name", "placeholder", "readonly", "required", "step", "title"];
|
|
13637
|
+
const _hoisted_4$5 = {
|
|
13636
13638
|
class: "onyx-stepper__display",
|
|
13637
13639
|
"aria-hidden": "true"
|
|
13638
13640
|
};
|
|
13639
|
-
const _hoisted_5$
|
|
13640
|
-
function _sfc_render$
|
|
13641
|
+
const _hoisted_5$5 = ["disabled", "aria-label"];
|
|
13642
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13641
13643
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
13642
13644
|
"div",
|
|
13643
13645
|
mergeProps({
|
|
@@ -13666,7 +13668,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13666
13668
|
"error-messages": $setup.errorMessages
|
|
13667
13669
|
}), {
|
|
13668
13670
|
default: withCtx(({ id: inputId }) => [
|
|
13669
|
-
createElementVNode("div", _hoisted_1$
|
|
13671
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
13670
13672
|
!$setup.props.hideButtons ? (openBlock(), createElementBlock("button", {
|
|
13671
13673
|
key: 0,
|
|
13672
13674
|
type: "button",
|
|
@@ -13677,7 +13679,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13677
13679
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.handleClick("stepDown"))
|
|
13678
13680
|
}, [
|
|
13679
13681
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconMinus }, null, 8, ["icon"])
|
|
13680
|
-
], 8, _hoisted_2$
|
|
13682
|
+
], 8, _hoisted_2$9)) : createCommentVNode("v-if", true),
|
|
13681
13683
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
13682
13684
|
key: 1,
|
|
13683
13685
|
class: "onyx-stepper__loading",
|
|
@@ -13708,13 +13710,13 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13708
13710
|
_cache[3] || (_cache[3] = withKeys(withModifiers(($event) => $setup.handleClick("stepUp"), ["prevent"]), ["up"])),
|
|
13709
13711
|
_cache[4] || (_cache[4] = withKeys(withModifiers(($event) => $setup.handleClick("stepDown"), ["prevent"]), ["down"]))
|
|
13710
13712
|
]
|
|
13711
|
-
}), null, 16, _hoisted_3$
|
|
13713
|
+
}), null, 16, _hoisted_3$5)), [
|
|
13712
13714
|
[vModelText, $setup.inputValue],
|
|
13713
13715
|
[$setup["vCustomValidity"]]
|
|
13714
13716
|
]),
|
|
13715
13717
|
createElementVNode(
|
|
13716
13718
|
"p",
|
|
13717
|
-
_hoisted_4$
|
|
13719
|
+
_hoisted_4$5,
|
|
13718
13720
|
toDisplayString($setup.displayValue),
|
|
13719
13721
|
1
|
|
13720
13722
|
/* TEXT */
|
|
@@ -13729,7 +13731,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13729
13731
|
onClick: _cache[5] || (_cache[5] = ($event) => $setup.handleClick("stepUp"))
|
|
13730
13732
|
}, [
|
|
13731
13733
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconPlus }, null, 8, ["icon"])
|
|
13732
|
-
], 8, _hoisted_5$
|
|
13734
|
+
], 8, _hoisted_5$5)) : createCommentVNode("v-if", true)
|
|
13733
13735
|
])
|
|
13734
13736
|
]),
|
|
13735
13737
|
_: 1
|
|
@@ -13740,9 +13742,9 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13740
13742
|
/* FULL_PROPS */
|
|
13741
13743
|
));
|
|
13742
13744
|
}
|
|
13743
|
-
const OnyxStepper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13745
|
+
const OnyxStepper = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxStepper/OnyxStepper.vue"]]);
|
|
13744
13746
|
const __default__$1 = {};
|
|
13745
|
-
const _sfc_main$
|
|
13747
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
13746
13748
|
...__default__$1,
|
|
13747
13749
|
__name: "OnyxSliderControl",
|
|
13748
13750
|
props: {
|
|
@@ -13791,7 +13793,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
13791
13793
|
return __returned__;
|
|
13792
13794
|
}
|
|
13793
13795
|
});
|
|
13794
|
-
function _sfc_render$
|
|
13796
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13795
13797
|
return openBlock(), createElementBlock(
|
|
13796
13798
|
"div",
|
|
13797
13799
|
{
|
|
@@ -13850,9 +13852,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13850
13852
|
/* CLASS */
|
|
13851
13853
|
);
|
|
13852
13854
|
}
|
|
13853
|
-
const OnyxSliderControl = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13855
|
+
const OnyxSliderControl = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSliderControl/OnyxSliderControl.vue"]]);
|
|
13854
13856
|
const __default__ = {};
|
|
13855
|
-
const _sfc_main$
|
|
13857
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
13856
13858
|
...__default__,
|
|
13857
13859
|
__name: "OnyxSlider",
|
|
13858
13860
|
props: {
|
|
@@ -13918,9 +13920,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13918
13920
|
return __returned__;
|
|
13919
13921
|
}
|
|
13920
13922
|
});
|
|
13921
|
-
const _hoisted_1$
|
|
13922
|
-
const _hoisted_2$
|
|
13923
|
-
function _sfc_render$
|
|
13923
|
+
const _hoisted_1$9 = { class: "onyx-slider__container" };
|
|
13924
|
+
const _hoisted_2$8 = ["id", "tabindex", "disabled", "aria-label", "autofocus"];
|
|
13925
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13924
13926
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
13925
13927
|
"div",
|
|
13926
13928
|
{
|
|
@@ -13951,7 +13953,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13951
13953
|
"error-messages": $setup.errorMessages
|
|
13952
13954
|
}), {
|
|
13953
13955
|
default: withCtx(({ id: inputId }) => [
|
|
13954
|
-
createElementVNode("div", _hoisted_1$
|
|
13956
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
13955
13957
|
$setup.props.control === "value" ? (openBlock(), createBlock($setup["OnyxSliderControl"], {
|
|
13956
13958
|
key: 0,
|
|
13957
13959
|
control: "value",
|
|
@@ -14064,7 +14066,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14064
14066
|
disabled: $setup.disabled,
|
|
14065
14067
|
"aria-label": $setup.props.label,
|
|
14066
14068
|
autofocus: $setup.props.autofocus && index === 0
|
|
14067
|
-
}), null, 16, _hoisted_2$
|
|
14069
|
+
}), null, 16, _hoisted_2$8), [
|
|
14068
14070
|
[$setup["vCustomValidity"]]
|
|
14069
14071
|
])
|
|
14070
14072
|
]),
|
|
@@ -14127,10 +14129,10 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14127
14129
|
/* CLASS */
|
|
14128
14130
|
));
|
|
14129
14131
|
}
|
|
14130
|
-
const OnyxSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14132
|
+
const OnyxSlider = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSlider/OnyxSlider.vue"]]);
|
|
14131
14133
|
const SLIDER_MODES = ["single", "range"];
|
|
14132
14134
|
const SLIDER_CONTROLS = ["icon", "value", "input"];
|
|
14133
|
-
const _sfc_main$
|
|
14135
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
14134
14136
|
...{ inheritAttrs: false },
|
|
14135
14137
|
__name: "OnyxSwitch",
|
|
14136
14138
|
props: {
|
|
@@ -14180,13 +14182,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14180
14182
|
return __returned__;
|
|
14181
14183
|
}
|
|
14182
14184
|
});
|
|
14183
|
-
const _hoisted_1$
|
|
14184
|
-
const _hoisted_2$
|
|
14185
|
-
const _hoisted_3$
|
|
14186
|
-
const _hoisted_4$
|
|
14187
|
-
const _hoisted_5$
|
|
14185
|
+
const _hoisted_1$8 = { class: "onyx-switch-skeleton__click-area" };
|
|
14186
|
+
const _hoisted_2$7 = ["title"];
|
|
14187
|
+
const _hoisted_3$4 = ["aria-label", "disabled", "required", "autofocus"];
|
|
14188
|
+
const _hoisted_4$4 = { class: "onyx-switch__click-area" };
|
|
14189
|
+
const _hoisted_5$4 = { class: "onyx-switch__container" };
|
|
14188
14190
|
const _hoisted_6$3 = { class: "onyx-switch__icon" };
|
|
14189
|
-
function _sfc_render$
|
|
14191
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14190
14192
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
14191
14193
|
"div",
|
|
14192
14194
|
mergeProps({
|
|
@@ -14194,7 +14196,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14194
14196
|
class: ["onyx-component", "onyx-switch-skeleton", $setup.densityClass]
|
|
14195
14197
|
}, $setup.rootAttrs),
|
|
14196
14198
|
[
|
|
14197
|
-
createElementVNode("span", _hoisted_1$
|
|
14199
|
+
createElementVNode("span", _hoisted_1$8, [
|
|
14198
14200
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-switch-skeleton__input" })
|
|
14199
14201
|
]),
|
|
14200
14202
|
!$setup.props.hideLabel ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
@@ -14224,12 +14226,12 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14224
14226
|
disabled: $setup.disabled || $setup.props.loading,
|
|
14225
14227
|
required: $setup.props.required,
|
|
14226
14228
|
autofocus: $setup.props.autofocus
|
|
14227
|
-
}, $setup.restAttrs), null, 16, _hoisted_3$
|
|
14229
|
+
}, $setup.restAttrs), null, 16, _hoisted_3$4), [
|
|
14228
14230
|
[vModelCheckbox, $setup.isChecked],
|
|
14229
14231
|
[$setup["vCustomValidity"]]
|
|
14230
14232
|
]),
|
|
14231
|
-
createElementVNode("span", _hoisted_4$
|
|
14232
|
-
createElementVNode("span", _hoisted_5$
|
|
14233
|
+
createElementVNode("span", _hoisted_4$4, [
|
|
14234
|
+
createElementVNode("span", _hoisted_5$4, [
|
|
14233
14235
|
createElementVNode("span", _hoisted_6$3, [
|
|
14234
14236
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
14235
14237
|
key: 0,
|
|
@@ -14273,14 +14275,452 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14273
14275
|
2
|
|
14274
14276
|
/* CLASS */
|
|
14275
14277
|
)) : createCommentVNode("v-if", true)
|
|
14276
|
-
], 10, _hoisted_2$
|
|
14278
|
+
], 10, _hoisted_2$7)
|
|
14277
14279
|
]),
|
|
14278
14280
|
_: 1
|
|
14279
14281
|
/* STABLE */
|
|
14280
14282
|
}, 16, ["disabled", "error-messages"]));
|
|
14281
14283
|
}
|
|
14282
|
-
const OnyxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14284
|
+
const OnyxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSwitch/OnyxSwitch.vue"]]);
|
|
14283
14285
|
const SYSTEM_BUTTON_COLORS = ["intense", "soft", "medium"];
|
|
14286
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
14287
|
+
...{ inheritAttrs: false },
|
|
14288
|
+
__name: "OnyxTimepickerInput",
|
|
14289
|
+
props: {
|
|
14290
|
+
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
14291
|
+
showError: { type: null, required: false, default: FORM_INJECTED_SYMBOL },
|
|
14292
|
+
requiredMarker: { type: null, required: false },
|
|
14293
|
+
required: { type: Boolean, required: false, default: false },
|
|
14294
|
+
density: { type: null, required: false },
|
|
14295
|
+
error: { type: [String, Object], required: false },
|
|
14296
|
+
autofocus: { type: Boolean, required: false },
|
|
14297
|
+
id: { type: String, required: false },
|
|
14298
|
+
name: { type: String, required: false },
|
|
14299
|
+
label: { type: String, required: true },
|
|
14300
|
+
labelTooltip: { type: String, required: false },
|
|
14301
|
+
hideLabel: { type: Boolean, required: false },
|
|
14302
|
+
readonly: { type: Boolean, required: false, default: false },
|
|
14303
|
+
loading: { type: Boolean, required: false, default: false },
|
|
14304
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
14305
|
+
message: { type: [String, Object], required: false },
|
|
14306
|
+
success: { type: [String, Object], required: false },
|
|
14307
|
+
showSeconds: { type: Boolean, required: false },
|
|
14308
|
+
infoLabel: { type: String, required: false },
|
|
14309
|
+
hideInfoLabelIcon: { type: Boolean, required: false },
|
|
14310
|
+
modelValue: { type: String, required: false },
|
|
14311
|
+
step: { type: Number, required: false, default: 0 }
|
|
14312
|
+
},
|
|
14313
|
+
emits: ["update:modelValue", "validityChange"],
|
|
14314
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14315
|
+
__expose();
|
|
14316
|
+
const props = __props;
|
|
14317
|
+
const emit = __emit;
|
|
14318
|
+
const { rootAttrs, restAttrs } = useRootAttrs();
|
|
14319
|
+
const { vCustomValidity, errorMessages } = useFormElementError({ props, emit });
|
|
14320
|
+
const successMessages = computed(() => getFormMessages(props.success));
|
|
14321
|
+
const messages = computed(() => getFormMessages(props.message));
|
|
14322
|
+
const { densityClass } = useDensity(props);
|
|
14323
|
+
const { disabled, showError } = useFormContext(props);
|
|
14324
|
+
const skeleton = useSkeletonContext(props);
|
|
14325
|
+
const errorClass = useErrorClass(showError);
|
|
14326
|
+
const formElementProps = useForwardProps(props, OnyxFormElement);
|
|
14327
|
+
const modelValue = useVModel({
|
|
14328
|
+
props,
|
|
14329
|
+
emit,
|
|
14330
|
+
key: "modelValue"
|
|
14331
|
+
});
|
|
14332
|
+
const value = computed({
|
|
14333
|
+
get: () => {
|
|
14334
|
+
return modelValue.value;
|
|
14335
|
+
},
|
|
14336
|
+
set: (value2) => {
|
|
14337
|
+
modelValue.value = String(value2);
|
|
14338
|
+
}
|
|
14339
|
+
});
|
|
14340
|
+
useAutofocus(useTemplateRef("inputRef"), props);
|
|
14341
|
+
const __returned__ = { props, emit, rootAttrs, restAttrs, vCustomValidity, errorMessages, successMessages, messages, densityClass, disabled, showError, skeleton, errorClass, formElementProps, modelValue, value, OnyxFormElement, OnyxLoadingIndicator, OnyxSkeleton };
|
|
14342
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
14343
|
+
return __returned__;
|
|
14344
|
+
}
|
|
14345
|
+
});
|
|
14346
|
+
const _hoisted_1$7 = { class: "onyx-datepicker__wrapper" };
|
|
14347
|
+
const _hoisted_2$6 = ["id", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "step"];
|
|
14348
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14349
|
+
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
14350
|
+
"div",
|
|
14351
|
+
mergeProps({
|
|
14352
|
+
key: 0,
|
|
14353
|
+
class: ["onyx-component", "onyx-datepicker-skeleton", $setup.densityClass]
|
|
14354
|
+
}, $setup.rootAttrs),
|
|
14355
|
+
[
|
|
14356
|
+
!$setup.props.hideLabel ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
14357
|
+
key: 0,
|
|
14358
|
+
class: "onyx-datepicker-skeleton__label"
|
|
14359
|
+
})) : createCommentVNode("v-if", true),
|
|
14360
|
+
createVNode($setup["OnyxSkeleton"], { class: "onyx-datepicker-skeleton__input" })
|
|
14361
|
+
],
|
|
14362
|
+
16
|
|
14363
|
+
/* FULL_PROPS */
|
|
14364
|
+
)) : (openBlock(), createElementBlock(
|
|
14365
|
+
"div",
|
|
14366
|
+
mergeProps({
|
|
14367
|
+
key: 1,
|
|
14368
|
+
class: ["onyx-component", "onyx-datepicker", $setup.densityClass, $setup.errorClass]
|
|
14369
|
+
}, $setup.rootAttrs),
|
|
14370
|
+
[
|
|
14371
|
+
createVNode($setup["OnyxFormElement"], mergeProps($setup.formElementProps, {
|
|
14372
|
+
label: $setup.props.label,
|
|
14373
|
+
"error-messages": $setup.errorMessages,
|
|
14374
|
+
"success-messages": $setup.successMessages,
|
|
14375
|
+
message: $setup.messages
|
|
14376
|
+
}), {
|
|
14377
|
+
default: withCtx(({ id: inputId }) => [
|
|
14378
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
14379
|
+
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
14380
|
+
key: 0,
|
|
14381
|
+
class: "onyx-datepicker__loading",
|
|
14382
|
+
type: "circle"
|
|
14383
|
+
})) : createCommentVNode("v-if", true),
|
|
14384
|
+
withDirectives(createElementVNode("input", mergeProps({
|
|
14385
|
+
id: inputId,
|
|
14386
|
+
key: "time",
|
|
14387
|
+
ref: "inputRef",
|
|
14388
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.value = $event),
|
|
14389
|
+
class: ["onyx-datepicker__native", { "onyx-datepicker__native--success": $setup.successMessages }],
|
|
14390
|
+
type: "time",
|
|
14391
|
+
required: $setup.props.required,
|
|
14392
|
+
autofocus: $setup.props.autofocus,
|
|
14393
|
+
name: $setup.props.name,
|
|
14394
|
+
readonly: $setup.props.readonly,
|
|
14395
|
+
disabled: $setup.disabled || $setup.props.loading,
|
|
14396
|
+
"aria-label": $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
14397
|
+
title: $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
14398
|
+
step: $setup.props.step
|
|
14399
|
+
}, $setup.restAttrs), null, 16, _hoisted_2$6), [
|
|
14400
|
+
[vModelText, $setup.value],
|
|
14401
|
+
[$setup["vCustomValidity"]]
|
|
14402
|
+
]),
|
|
14403
|
+
renderSlot(_ctx.$slots, "icon")
|
|
14404
|
+
])
|
|
14405
|
+
]),
|
|
14406
|
+
_: 3
|
|
14407
|
+
/* FORWARDED */
|
|
14408
|
+
}, 16, ["label", "error-messages", "success-messages", "message"])
|
|
14409
|
+
],
|
|
14410
|
+
16
|
|
14411
|
+
/* FULL_PROPS */
|
|
14412
|
+
));
|
|
14413
|
+
}
|
|
14414
|
+
const OnyxTimepickerInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTimepicker/OnyxTimepickerInput.vue"]]);
|
|
14415
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
14416
|
+
__name: "OnyxTimepicker",
|
|
14417
|
+
props: {
|
|
14418
|
+
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
14419
|
+
showError: { type: null, required: false, default: FORM_INJECTED_SYMBOL },
|
|
14420
|
+
requiredMarker: { type: null, required: false, default: FORM_INJECTED_SYMBOL },
|
|
14421
|
+
required: { type: Boolean, required: false, default: false },
|
|
14422
|
+
density: { type: null, required: false },
|
|
14423
|
+
error: { type: [String, Object], required: false },
|
|
14424
|
+
autofocus: { type: Boolean, required: false },
|
|
14425
|
+
id: { type: String, required: false },
|
|
14426
|
+
name: { type: String, required: false },
|
|
14427
|
+
label: { type: String, required: true },
|
|
14428
|
+
labelTooltip: { type: String, required: false },
|
|
14429
|
+
hideLabel: { type: Boolean, required: false },
|
|
14430
|
+
readonly: { type: Boolean, required: false, default: false },
|
|
14431
|
+
loading: { type: Boolean, required: false },
|
|
14432
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
14433
|
+
message: { type: [String, Object], required: false },
|
|
14434
|
+
success: { type: [String, Object], required: false },
|
|
14435
|
+
showSeconds: { type: Boolean, required: false, default: false },
|
|
14436
|
+
infoLabel: { type: String, required: false },
|
|
14437
|
+
hideInfoLabelIcon: { type: Boolean, required: false },
|
|
14438
|
+
modelValue: { type: String, required: false }
|
|
14439
|
+
},
|
|
14440
|
+
emits: ["update:modelValue"],
|
|
14441
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14442
|
+
__expose();
|
|
14443
|
+
const props = __props;
|
|
14444
|
+
const emit = __emit;
|
|
14445
|
+
const { t } = injectI18n();
|
|
14446
|
+
const modelValue = useVModel({ props, emit, key: "modelValue" });
|
|
14447
|
+
const open = ref(false);
|
|
14448
|
+
const hourInputRef = useTemplateRef("hourInputTemplateRef");
|
|
14449
|
+
const minuteInputRef = useTemplateRef("minuteInputTemplateRef");
|
|
14450
|
+
const secondInputRef = useTemplateRef("secondInputTemplateRef");
|
|
14451
|
+
const rootRef = useTemplateRef("rootTemplateRef");
|
|
14452
|
+
const isSegmentVisible = (segmentName) => {
|
|
14453
|
+
if (segmentName === "second") return props.showSeconds;
|
|
14454
|
+
return true;
|
|
14455
|
+
};
|
|
14456
|
+
const availableSegments = computed(() => {
|
|
14457
|
+
const segments = ["hour", "minute"];
|
|
14458
|
+
if (props.showSeconds) segments.push("second");
|
|
14459
|
+
return segments;
|
|
14460
|
+
});
|
|
14461
|
+
const timeParts = computed(() => {
|
|
14462
|
+
const parts = modelValue.value?.split(":") ?? [];
|
|
14463
|
+
return [parts[0] ?? "00", parts[1] ?? "00", parts[2] ?? "00"];
|
|
14464
|
+
});
|
|
14465
|
+
const updateModelValue = (newParts) => {
|
|
14466
|
+
const partsToKeep = [];
|
|
14467
|
+
partsToKeep.push(newParts[0] ?? "00");
|
|
14468
|
+
partsToKeep.push(newParts[1] ?? "00");
|
|
14469
|
+
if (props.showSeconds) {
|
|
14470
|
+
partsToKeep.push(newParts[2] ?? "00");
|
|
14471
|
+
}
|
|
14472
|
+
modelValue.value = partsToKeep.join(":");
|
|
14473
|
+
};
|
|
14474
|
+
const clampValue = (value, max) => {
|
|
14475
|
+
if (value > max) return max;
|
|
14476
|
+
if (value < 0) return 0;
|
|
14477
|
+
return value;
|
|
14478
|
+
};
|
|
14479
|
+
const createSegmentComputed = (index, segmentName) => computed({
|
|
14480
|
+
get: () => {
|
|
14481
|
+
if (!isSegmentVisible(segmentName) || !modelValue.value) return null;
|
|
14482
|
+
return parseInt(timeParts.value[index] ?? "00");
|
|
14483
|
+
},
|
|
14484
|
+
set: (newValue) => {
|
|
14485
|
+
if (!isSegmentVisible(segmentName) || newValue === null) return;
|
|
14486
|
+
const max = segmentName === "hour" ? 23 : 59;
|
|
14487
|
+
const clampedValue = clampValue(newValue, max);
|
|
14488
|
+
const parts = [...timeParts.value];
|
|
14489
|
+
parts[index] = String(clampedValue).padStart(2, "0");
|
|
14490
|
+
updateModelValue(parts);
|
|
14491
|
+
}
|
|
14492
|
+
});
|
|
14493
|
+
const hour = createSegmentComputed(0, "hour");
|
|
14494
|
+
const minute = createSegmentComputed(1, "minute");
|
|
14495
|
+
const second = createSegmentComputed(2, "second");
|
|
14496
|
+
const getSegmentRef = (segment) => {
|
|
14497
|
+
switch (segment) {
|
|
14498
|
+
case "hour":
|
|
14499
|
+
return hourInputRef;
|
|
14500
|
+
case "minute":
|
|
14501
|
+
return minuteInputRef;
|
|
14502
|
+
case "second":
|
|
14503
|
+
return secondInputRef;
|
|
14504
|
+
}
|
|
14505
|
+
};
|
|
14506
|
+
const handleSegmentFocus = (refElement) => {
|
|
14507
|
+
if (!refElement) return;
|
|
14508
|
+
const nativeInput = refElement.input;
|
|
14509
|
+
if (nativeInput) {
|
|
14510
|
+
nativeInput.focus();
|
|
14511
|
+
nativeInput.select();
|
|
14512
|
+
}
|
|
14513
|
+
};
|
|
14514
|
+
const jumpSegment = (currentSegment, direction) => {
|
|
14515
|
+
const segments = availableSegments.value;
|
|
14516
|
+
const currentIndex = segments.indexOf(currentSegment);
|
|
14517
|
+
const nextIndex = currentIndex + direction;
|
|
14518
|
+
if (nextIndex >= 0 && nextIndex < segments.length) {
|
|
14519
|
+
const nextSegment = segments[nextIndex];
|
|
14520
|
+
handleSegmentFocus(getSegmentRef(nextSegment).value);
|
|
14521
|
+
} else if (direction === 1) {
|
|
14522
|
+
open.value = false;
|
|
14523
|
+
}
|
|
14524
|
+
};
|
|
14525
|
+
const handleInputChange = (currentSegment, e) => {
|
|
14526
|
+
e.stopPropagation();
|
|
14527
|
+
const ref2 = getSegmentRef(currentSegment).value;
|
|
14528
|
+
const nativeInput = ref2?.input;
|
|
14529
|
+
if (e.key === "ArrowLeft") {
|
|
14530
|
+
e.preventDefault();
|
|
14531
|
+
jumpSegment(currentSegment, -1);
|
|
14532
|
+
return;
|
|
14533
|
+
}
|
|
14534
|
+
if (e.key === "ArrowRight" || e.key === "Enter") {
|
|
14535
|
+
e.preventDefault();
|
|
14536
|
+
jumpSegment(currentSegment, 1);
|
|
14537
|
+
return;
|
|
14538
|
+
}
|
|
14539
|
+
if (e.key === "Tab") {
|
|
14540
|
+
if (currentSegment !== availableSegments.value[availableSegments.value.length - 1]) {
|
|
14541
|
+
e.preventDefault();
|
|
14542
|
+
jumpSegment(currentSegment, 1);
|
|
14543
|
+
}
|
|
14544
|
+
return;
|
|
14545
|
+
}
|
|
14546
|
+
if (nativeInput && e.key >= "0" && e.key <= "9") {
|
|
14547
|
+
setTimeout(() => {
|
|
14548
|
+
const valueString = nativeInput.value;
|
|
14549
|
+
if (valueString.length >= 2) {
|
|
14550
|
+
jumpSegment(currentSegment, 1);
|
|
14551
|
+
}
|
|
14552
|
+
}, 0);
|
|
14553
|
+
}
|
|
14554
|
+
};
|
|
14555
|
+
const handleOpen = () => {
|
|
14556
|
+
if (!open.value) {
|
|
14557
|
+
open.value = true;
|
|
14558
|
+
const firstSegment = availableSegments.value[0];
|
|
14559
|
+
if (firstSegment) {
|
|
14560
|
+
setTimeout(() => {
|
|
14561
|
+
handleSegmentFocus(getSegmentRef(firstSegment).value);
|
|
14562
|
+
}, 0);
|
|
14563
|
+
}
|
|
14564
|
+
}
|
|
14565
|
+
};
|
|
14566
|
+
useOutsideClick({
|
|
14567
|
+
inside: rootRef,
|
|
14568
|
+
onOutsideClick: () => open.value = false,
|
|
14569
|
+
checkOnTab: true
|
|
14570
|
+
});
|
|
14571
|
+
const inputProps = computed(() => {
|
|
14572
|
+
const {
|
|
14573
|
+
modelValue: _,
|
|
14574
|
+
showSeconds: __,
|
|
14575
|
+
infoLabel: ___,
|
|
14576
|
+
hideInfoLabelIcon: ____,
|
|
14577
|
+
...others
|
|
14578
|
+
} = props;
|
|
14579
|
+
return others;
|
|
14580
|
+
});
|
|
14581
|
+
const __returned__ = { props, emit, t, modelValue, open, hourInputRef, minuteInputRef, secondInputRef, rootRef, isSegmentVisible, availableSegments, timeParts, updateModelValue, clampValue, createSegmentComputed, hour, minute, second, getSegmentRef, handleSegmentFocus, jumpSegment, handleInputChange, handleOpen, inputProps, get iconCircleInformation() {
|
|
14582
|
+
return iconCircleInformation;
|
|
14583
|
+
}, get iconClock() {
|
|
14584
|
+
return iconClock;
|
|
14585
|
+
}, OnyxBasicPopover, OnyxIcon, OnyxIconButton, OnyxStepper, OnyxTimepickerInput };
|
|
14586
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
14587
|
+
return __returned__;
|
|
14588
|
+
}
|
|
14589
|
+
});
|
|
14590
|
+
const _hoisted_1$6 = {
|
|
14591
|
+
ref: "rootTemplateRef",
|
|
14592
|
+
class: "onyx-component onyx-timepicker"
|
|
14593
|
+
};
|
|
14594
|
+
const _hoisted_2$5 = {
|
|
14595
|
+
class: "onyx-timepicker__wrapper",
|
|
14596
|
+
tabindex: "-1"
|
|
14597
|
+
};
|
|
14598
|
+
const _hoisted_3$3 = { class: "onyx-timepicker__group" };
|
|
14599
|
+
const _hoisted_4$3 = {
|
|
14600
|
+
key: 0,
|
|
14601
|
+
class: "onyx-timepicker__divider"
|
|
14602
|
+
};
|
|
14603
|
+
const _hoisted_5$3 = {
|
|
14604
|
+
key: 0,
|
|
14605
|
+
class: "onyx-timepicker__info-label"
|
|
14606
|
+
};
|
|
14607
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14608
|
+
return openBlock(), createElementBlock(
|
|
14609
|
+
"div",
|
|
14610
|
+
_hoisted_1$6,
|
|
14611
|
+
[
|
|
14612
|
+
createVNode($setup["OnyxBasicPopover"], {
|
|
14613
|
+
class: "onyx-timepicker__popover",
|
|
14614
|
+
label: $setup.t("timepicker.labels.popover"),
|
|
14615
|
+
position: "bottom",
|
|
14616
|
+
alignment: "center",
|
|
14617
|
+
open: $setup.open,
|
|
14618
|
+
"fit-parent": ""
|
|
14619
|
+
}, {
|
|
14620
|
+
default: withCtx(() => [
|
|
14621
|
+
createVNode($setup["OnyxTimepickerInput"], mergeProps({
|
|
14622
|
+
"model-value": $setup.modelValue,
|
|
14623
|
+
class: "onyx-timepicker__input"
|
|
14624
|
+
}, $setup.inputProps, {
|
|
14625
|
+
step: $setup.props.showSeconds ? 1 : 0,
|
|
14626
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.modelValue = $event),
|
|
14627
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $setup.open = false)
|
|
14628
|
+
}), {
|
|
14629
|
+
icon: withCtx(() => [
|
|
14630
|
+
createVNode($setup["OnyxIconButton"], {
|
|
14631
|
+
label: $setup.t("timepicker.labels.iconButton"),
|
|
14632
|
+
icon: $setup.iconClock,
|
|
14633
|
+
color: $setup.open ? "primary" : "neutral",
|
|
14634
|
+
onClick: withModifiers($setup.handleOpen, ["stop"])
|
|
14635
|
+
}, null, 8, ["label", "icon", "color"])
|
|
14636
|
+
]),
|
|
14637
|
+
_: 1
|
|
14638
|
+
/* STABLE */
|
|
14639
|
+
}, 16, ["model-value", "step"])
|
|
14640
|
+
]),
|
|
14641
|
+
content: withCtx(() => [
|
|
14642
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
14643
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
14644
|
+
createVNode($setup["OnyxStepper"], {
|
|
14645
|
+
ref: "hourInputTemplateRef",
|
|
14646
|
+
modelValue: $setup.hour,
|
|
14647
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $setup.hour = $event),
|
|
14648
|
+
label: $setup.t("timepicker.labels.hour"),
|
|
14649
|
+
placeholder: $setup.t("timepicker.placeholder.hour"),
|
|
14650
|
+
disabled: $setup.props.disabled,
|
|
14651
|
+
loading: $setup.props.loading,
|
|
14652
|
+
"hide-label": "",
|
|
14653
|
+
"hide-clear-icon": "",
|
|
14654
|
+
"hide-success-icon": "",
|
|
14655
|
+
"hide-buttons": "",
|
|
14656
|
+
onClick: _cache[3] || (_cache[3] = ($event) => $setup.handleSegmentFocus($setup.hourInputRef)),
|
|
14657
|
+
onKeydown: _cache[4] || (_cache[4] = (e) => $setup.handleInputChange("hour", e))
|
|
14658
|
+
}, null, 8, ["modelValue", "label", "placeholder", "disabled", "loading"]),
|
|
14659
|
+
_cache[11] || (_cache[11] = createElementVNode(
|
|
14660
|
+
"span",
|
|
14661
|
+
{ class: "onyx-timepicker__divider" },
|
|
14662
|
+
":",
|
|
14663
|
+
-1
|
|
14664
|
+
/* CACHED */
|
|
14665
|
+
)),
|
|
14666
|
+
createVNode($setup["OnyxStepper"], {
|
|
14667
|
+
ref: "minuteInputTemplateRef",
|
|
14668
|
+
modelValue: $setup.minute,
|
|
14669
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $setup.minute = $event),
|
|
14670
|
+
label: $setup.t("timepicker.labels.minute"),
|
|
14671
|
+
placeholder: $setup.t("timepicker.placeholder.minute"),
|
|
14672
|
+
disabled: $setup.props.disabled,
|
|
14673
|
+
loading: $setup.props.loading,
|
|
14674
|
+
"hide-label": "",
|
|
14675
|
+
"hide-clear-icon": "",
|
|
14676
|
+
"hide-success-icon": "",
|
|
14677
|
+
"hide-buttons": "",
|
|
14678
|
+
onClick: _cache[6] || (_cache[6] = ($event) => $setup.handleSegmentFocus($setup.minuteInputRef)),
|
|
14679
|
+
onKeydown: _cache[7] || (_cache[7] = (e) => $setup.handleInputChange("minute", e))
|
|
14680
|
+
}, null, 8, ["modelValue", "label", "placeholder", "disabled", "loading"]),
|
|
14681
|
+
$setup.props.showSeconds ? (openBlock(), createElementBlock("span", _hoisted_4$3, ":")) : createCommentVNode("v-if", true),
|
|
14682
|
+
$setup.props.showSeconds ? (openBlock(), createBlock($setup["OnyxStepper"], {
|
|
14683
|
+
key: 1,
|
|
14684
|
+
ref: "secondInputTemplateRef",
|
|
14685
|
+
modelValue: $setup.second,
|
|
14686
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $setup.second = $event),
|
|
14687
|
+
label: $setup.t("timepicker.labels.second"),
|
|
14688
|
+
placeholder: $setup.t("timepicker.placeholder.second"),
|
|
14689
|
+
disabled: $setup.props.disabled,
|
|
14690
|
+
loading: $setup.props.loading,
|
|
14691
|
+
"hide-label": "",
|
|
14692
|
+
"hide-clear-icon": "",
|
|
14693
|
+
"hide-success-icon": "",
|
|
14694
|
+
"hide-buttons": "",
|
|
14695
|
+
onClick: _cache[9] || (_cache[9] = ($event) => $setup.handleSegmentFocus($setup.secondInputRef)),
|
|
14696
|
+
onKeydown: _cache[10] || (_cache[10] = (e) => $setup.handleInputChange("second", e))
|
|
14697
|
+
}, null, 8, ["modelValue", "label", "placeholder", "disabled", "loading"])) : createCommentVNode("v-if", true)
|
|
14698
|
+
]),
|
|
14699
|
+
$setup.props.infoLabel ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
14700
|
+
!$setup.props.hideInfoLabelIcon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
14701
|
+
key: 0,
|
|
14702
|
+
icon: $setup.iconCircleInformation,
|
|
14703
|
+
color: "neutral"
|
|
14704
|
+
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
14705
|
+
createElementVNode(
|
|
14706
|
+
"p",
|
|
14707
|
+
null,
|
|
14708
|
+
toDisplayString($setup.props.infoLabel),
|
|
14709
|
+
1
|
|
14710
|
+
/* TEXT */
|
|
14711
|
+
)
|
|
14712
|
+
])) : createCommentVNode("v-if", true)
|
|
14713
|
+
])
|
|
14714
|
+
]),
|
|
14715
|
+
_: 1
|
|
14716
|
+
/* STABLE */
|
|
14717
|
+
}, 8, ["label", "open"])
|
|
14718
|
+
],
|
|
14719
|
+
512
|
|
14720
|
+
/* NEED_PATCH */
|
|
14721
|
+
);
|
|
14722
|
+
}
|
|
14723
|
+
const OnyxTimepicker = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTimepicker/OnyxTimepicker.vue"]]);
|
|
14284
14724
|
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>';
|
|
14285
14725
|
const useFileSize = () => {
|
|
14286
14726
|
const { locale } = injectI18n();
|
|
@@ -15844,6 +16284,7 @@ export {
|
|
|
15844
16284
|
OnyxGlobalSearchOption as OnyxUnstableGlobalSearchOption,
|
|
15845
16285
|
OnyxSlider as OnyxUnstableSlider,
|
|
15846
16286
|
OnyxSliderControl as OnyxUnstableSliderControl,
|
|
16287
|
+
OnyxTimepicker as OnyxUnstableTimepicker,
|
|
15847
16288
|
OnyxUserMenu,
|
|
15848
16289
|
OnyxVisuallyHidden,
|
|
15849
16290
|
PROGRESS_ITEM_STATUS,
|