sit-onyx 1.4.0-dev-20251110091137 → 1.4.0-dev-20251111093451
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/OnyxBasicDialog/OnyxBasicDialog.d.vue.ts +6 -1
- package/dist/components/OnyxGlobalSearch/OnyxGlobalSearch.d.vue.ts +106 -0
- package/dist/components/OnyxGlobalSearch/types.d.ts +24 -0
- package/dist/components/OnyxGlobalSearchGroup/OnyxGlobalSearchGroup.d.vue.ts +22 -0
- package/dist/components/OnyxGlobalSearchGroup/types.d.ts +11 -0
- package/dist/components/OnyxGlobalSearchOption/OnyxGlobalSearchOption.d.vue.ts +32 -0
- package/dist/components/OnyxGlobalSearchOption/types.d.ts +23 -0
- package/dist/i18n/locales/de-DE.json +12 -0
- package/dist/i18n/locales/en-US.json +12 -0
- package/dist/i18n/locales/en-US.json.d.ts +12 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.esm-bundler.js +967 -591
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +4427 -4129
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/src/styles/grid.scss +7 -7
|
@@ -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,
|
|
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";
|
|
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$1N = /* @__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$1N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
123
123
|
return openBlock(), createElementBlock(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
@@ -137,7 +137,7 @@ function _sfc_render$1K(_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$1N, [["render", _sfc_render$1N], ["__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$1M = /* @__PURE__ */ defineComponent({
|
|
154
154
|
__name: "OnyxIcon",
|
|
155
155
|
props: {
|
|
156
156
|
size: { type: null, required: false },
|
|
@@ -166,8 +166,8 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
return __returned__;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
const _hoisted_1$
|
|
170
|
-
function _sfc_render$
|
|
169
|
+
const _hoisted_1$1h = ["innerHTML"];
|
|
170
|
+
function _sfc_render$1M(_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$1J(_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$1h);
|
|
182
182
|
}
|
|
183
|
-
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
183
|
+
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1M], ["__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$1L = /* @__PURE__ */ defineComponent({
|
|
200
200
|
__name: "OnyxSkeleton",
|
|
201
201
|
setup(__props, { expose: __expose }) {
|
|
202
202
|
__expose();
|
|
@@ -206,15 +206,15 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return __returned__;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
const _hoisted_1$
|
|
209
|
+
const _hoisted_1$1g = {
|
|
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$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
214
|
+
return openBlock(), createElementBlock("figure", _hoisted_1$1g);
|
|
215
215
|
}
|
|
216
|
-
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
217
|
-
const _sfc_main$
|
|
216
|
+
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSkeleton/OnyxSkeleton.vue"]]);
|
|
217
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
218
218
|
__name: "OnyxAccordionItem",
|
|
219
219
|
props: {
|
|
220
220
|
density: { type: null, required: false },
|
|
@@ -251,11 +251,11 @@ const _sfc_main$1H = /* @__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$1f = ["open"];
|
|
255
|
+
const _hoisted_2$V = ["id", "tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
256
|
+
const _hoisted_3$B = { class: "onyx-accordion-item__header-content" };
|
|
257
|
+
const _hoisted_4$o = ["id", "aria-labelledby"];
|
|
258
|
+
function _sfc_render$1K(_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$1H(_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$B, [
|
|
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$V),
|
|
302
302
|
createElementVNode("div", {
|
|
303
303
|
id: $setup.panelId,
|
|
304
304
|
class: "onyx-accordion-item__panel",
|
|
@@ -306,10 +306,10 @@ function _sfc_render$1H(_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$o)
|
|
310
|
+
], 10, _hoisted_1$1f));
|
|
311
311
|
}
|
|
312
|
-
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
312
|
+
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1K], ["__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" },
|
|
@@ -358,6 +358,7 @@ const calendar = { "todayButton": { "label": "Today", "tooltip": "Jump to today"
|
|
|
358
358
|
const flyoutMenu = { "moreActions": "More actions", "toggleActions": { "click": "Click to toggle action visibility", "hover": "Hover/Focus to toggle action visibility" } };
|
|
359
359
|
const slider = { "decreaseValueBy": "Decrease value by {n}", "increaseValueBy": "Increase value by {n}", "changeValue": "Change value" };
|
|
360
360
|
const codeTabs = { "label": "Code snippets", "copySnippet": "Copy code", "copied": "Copied!", "failed": "Failed!", "tabLabel": "Code" };
|
|
361
|
+
const globalSearch = { "label": "Global search", "searchResults": "Search results", "input": { "label": "Search for content", "placeholder": "Search..." }, "shortcuts": { "move": "Navigate", "select": "Select" } };
|
|
361
362
|
const enUS = {
|
|
362
363
|
yes,
|
|
363
364
|
no,
|
|
@@ -392,7 +393,8 @@ const enUS = {
|
|
|
392
393
|
calendar,
|
|
393
394
|
flyoutMenu,
|
|
394
395
|
slider,
|
|
395
|
-
codeTabs
|
|
396
|
+
codeTabs,
|
|
397
|
+
globalSearch
|
|
396
398
|
};
|
|
397
399
|
const NUMBER_FORMATS = {
|
|
398
400
|
decimal: { style: "decimal" }
|
|
@@ -918,6 +920,10 @@ const createListbox = createBuilder(
|
|
|
918
920
|
}
|
|
919
921
|
return descendantKeyIdMap.get(value);
|
|
920
922
|
};
|
|
923
|
+
const getOptionValueById = (id) => {
|
|
924
|
+
const entries = Array.from(descendantKeyIdMap.entries());
|
|
925
|
+
return entries.find(([_value, key]) => key === id)?.[0];
|
|
926
|
+
};
|
|
921
927
|
const isFocused = ref(false);
|
|
922
928
|
watchEffect(async () => {
|
|
923
929
|
if (!isExpanded.value || options.activeOption.value == void 0 || !isFocused.value && !options.controlled) {
|
|
@@ -1011,7 +1017,8 @@ const createListbox = createBuilder(
|
|
|
1011
1017
|
isFocused
|
|
1012
1018
|
},
|
|
1013
1019
|
internals: {
|
|
1014
|
-
getOptionId
|
|
1020
|
+
getOptionId,
|
|
1021
|
+
getOptionValueById
|
|
1015
1022
|
}
|
|
1016
1023
|
};
|
|
1017
1024
|
}
|
|
@@ -1130,7 +1137,7 @@ const createComboBox = createBuilder(
|
|
|
1130
1137
|
});
|
|
1131
1138
|
const {
|
|
1132
1139
|
elements: { option, group, listbox },
|
|
1133
|
-
internals: { getOptionId }
|
|
1140
|
+
internals: { getOptionId, getOptionValueById }
|
|
1134
1141
|
} = createListbox({
|
|
1135
1142
|
label: listLabel,
|
|
1136
1143
|
description: listDescription,
|
|
@@ -1181,7 +1188,8 @@ const createComboBox = createBuilder(
|
|
|
1181
1188
|
tabindex: "-1",
|
|
1182
1189
|
onClick: () => onToggle?.()
|
|
1183
1190
|
}))
|
|
1184
|
-
}
|
|
1191
|
+
},
|
|
1192
|
+
internals: { getOptionId, getOptionValueById }
|
|
1185
1193
|
};
|
|
1186
1194
|
}
|
|
1187
1195
|
);
|
|
@@ -2134,7 +2142,7 @@ const createTooltip = createBuilder(({ debounce: debounce2, isVisible }) => {
|
|
|
2134
2142
|
}
|
|
2135
2143
|
};
|
|
2136
2144
|
});
|
|
2137
|
-
const _sfc_main$
|
|
2145
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
2138
2146
|
__name: "OnyxBasicDialog",
|
|
2139
2147
|
props: {
|
|
2140
2148
|
density: { type: null, required: false },
|
|
@@ -2147,7 +2155,6 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2147
2155
|
},
|
|
2148
2156
|
emits: ["update:open"],
|
|
2149
2157
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2150
|
-
__expose();
|
|
2151
2158
|
const props = __props;
|
|
2152
2159
|
const emit = __emit;
|
|
2153
2160
|
const dialog2 = useTemplateRef("dialogRef");
|
|
@@ -2185,17 +2192,23 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2185
2192
|
disabled: computed(() => !open.value || props.nonDismissible),
|
|
2186
2193
|
listener: (event) => wasKeyPressed(event, { key: "Escape" }) && emit("update:open", false)
|
|
2187
2194
|
});
|
|
2195
|
+
__expose({
|
|
2196
|
+
/**
|
|
2197
|
+
* Template ref to the internal `<dialog>` element.
|
|
2198
|
+
*/
|
|
2199
|
+
dialog: dialog2
|
|
2200
|
+
});
|
|
2188
2201
|
const __returned__ = { props, emit, dialog: dialog2, densityClass, open, openDialog, content };
|
|
2189
2202
|
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
2190
2203
|
return __returned__;
|
|
2191
2204
|
}
|
|
2192
2205
|
});
|
|
2193
|
-
const _hoisted_1$
|
|
2194
|
-
const _hoisted_2$
|
|
2206
|
+
const _hoisted_1$1e = ["aria-modal", "aria-label", "role"];
|
|
2207
|
+
const _hoisted_2$U = {
|
|
2195
2208
|
ref: "contentRef",
|
|
2196
2209
|
class: "onyx-basic-dialog__content"
|
|
2197
2210
|
};
|
|
2198
|
-
function _sfc_render$
|
|
2211
|
+
function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2199
2212
|
return $setup.props.open ? (openBlock(), createElementBlock("dialog", {
|
|
2200
2213
|
key: 0,
|
|
2201
2214
|
ref: "dialogRef",
|
|
@@ -2214,16 +2227,16 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2214
2227
|
}, [
|
|
2215
2228
|
createElementVNode(
|
|
2216
2229
|
"div",
|
|
2217
|
-
_hoisted_2$
|
|
2230
|
+
_hoisted_2$U,
|
|
2218
2231
|
[
|
|
2219
2232
|
renderSlot(_ctx.$slots, "default")
|
|
2220
2233
|
],
|
|
2221
2234
|
512
|
|
2222
2235
|
/* NEED_PATCH */
|
|
2223
2236
|
)
|
|
2224
|
-
], 42, _hoisted_1$
|
|
2237
|
+
], 42, _hoisted_1$1e)) : createCommentVNode("v-if", true);
|
|
2225
2238
|
}
|
|
2226
|
-
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2239
|
+
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicDialog/OnyxBasicDialog.vue"]]);
|
|
2227
2240
|
const normalizedIncludes = (haystack, needle) => {
|
|
2228
2241
|
const haystackNormalized = removeDiacritics(haystack.toLowerCase());
|
|
2229
2242
|
const needleNormalized = removeDiacritics(needle.toLowerCase());
|
|
@@ -2305,7 +2318,7 @@ const normalizeHref = (href) => {
|
|
|
2305
2318
|
return value.replace(/\/+$/, "");
|
|
2306
2319
|
};
|
|
2307
2320
|
const ROUTER_INJECTION_KEY = Symbol();
|
|
2308
|
-
const _sfc_main$
|
|
2321
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
2309
2322
|
__name: "OnyxVisuallyHidden",
|
|
2310
2323
|
props: {
|
|
2311
2324
|
is: { type: String, required: false, default: "span" }
|
|
@@ -2318,7 +2331,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2318
2331
|
return __returned__;
|
|
2319
2332
|
}
|
|
2320
2333
|
});
|
|
2321
|
-
function _sfc_render$
|
|
2334
|
+
function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2322
2335
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.is), { class: "onyx-component onyx-visually-hidden" }, {
|
|
2323
2336
|
default: withCtx(() => [
|
|
2324
2337
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -2327,8 +2340,8 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2327
2340
|
/* FORWARDED */
|
|
2328
2341
|
});
|
|
2329
2342
|
}
|
|
2330
|
-
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2331
|
-
const _sfc_main$
|
|
2343
|
+
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue"]]);
|
|
2344
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
2332
2345
|
__name: "OnyxRouterLink",
|
|
2333
2346
|
props: {
|
|
2334
2347
|
href: { type: String, required: true },
|
|
@@ -2344,8 +2357,8 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
2344
2357
|
return __returned__;
|
|
2345
2358
|
}
|
|
2346
2359
|
});
|
|
2347
|
-
const _hoisted_1$
|
|
2348
|
-
function _sfc_render$
|
|
2360
|
+
const _hoisted_1$1d = ["href", "target", "rel"];
|
|
2361
|
+
function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2349
2362
|
return openBlock(), createElementBlock("a", {
|
|
2350
2363
|
class: normalizeClass([
|
|
2351
2364
|
"onyx-component",
|
|
@@ -2369,10 +2382,10 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2369
2382
|
_: 1
|
|
2370
2383
|
/* STABLE */
|
|
2371
2384
|
})) : createCommentVNode("v-if", true)
|
|
2372
|
-
], 10, _hoisted_1$
|
|
2385
|
+
], 10, _hoisted_1$1d);
|
|
2373
2386
|
}
|
|
2374
|
-
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2375
|
-
const _sfc_main$
|
|
2387
|
+
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRouterLink/OnyxRouterLink.vue"]]);
|
|
2388
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
2376
2389
|
__name: "OnyxHeadline",
|
|
2377
2390
|
props: {
|
|
2378
2391
|
is: { type: null, required: true },
|
|
@@ -2397,7 +2410,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2397
2410
|
return __returned__;
|
|
2398
2411
|
}
|
|
2399
2412
|
});
|
|
2400
|
-
function _sfc_render$
|
|
2413
|
+
function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2401
2414
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2402
2415
|
key: 0,
|
|
2403
2416
|
class: normalizeClass(["onyx-headline-skeleton", `onyx-headline-skeleton--${$setup.showAs}`])
|
|
@@ -2437,7 +2450,7 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2437
2450
|
/* FORWARDED */
|
|
2438
2451
|
}, 8, ["id", "class"]));
|
|
2439
2452
|
}
|
|
2440
|
-
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2453
|
+
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxHeadline/OnyxHeadline.vue"]]);
|
|
2441
2454
|
const useAutofocus = (inputRef, props) => {
|
|
2442
2455
|
if (!props.autofocus) {
|
|
2443
2456
|
return;
|
|
@@ -2488,7 +2501,7 @@ const useFormContext = (props) => {
|
|
|
2488
2501
|
DEFAULT_FORM_INJECTION_CONTEXT
|
|
2489
2502
|
)(toRef(props));
|
|
2490
2503
|
};
|
|
2491
|
-
const _sfc_main$
|
|
2504
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
2492
2505
|
__name: "ButtonOrLinkLayout",
|
|
2493
2506
|
props: {
|
|
2494
2507
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -2511,8 +2524,8 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
2511
2524
|
return __returned__;
|
|
2512
2525
|
}
|
|
2513
2526
|
});
|
|
2514
|
-
const _hoisted_1$
|
|
2515
|
-
function _sfc_render$
|
|
2527
|
+
const _hoisted_1$1c = ["disabled", "type", "autofocus"];
|
|
2528
|
+
function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2516
2529
|
return $setup.linkProps ? (openBlock(), createBlock(
|
|
2517
2530
|
$setup["OnyxRouterLink"],
|
|
2518
2531
|
normalizeProps(mergeProps({ key: 0 }, $setup.linkProps)),
|
|
@@ -2533,10 +2546,10 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2533
2546
|
autofocus: $setup.props.autofocus
|
|
2534
2547
|
}, [
|
|
2535
2548
|
renderSlot(_ctx.$slots, "default")
|
|
2536
|
-
], 8, _hoisted_1$
|
|
2549
|
+
], 8, _hoisted_1$1c));
|
|
2537
2550
|
}
|
|
2538
|
-
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2539
|
-
const _sfc_main$
|
|
2551
|
+
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/ButtonOrLinkLayout.vue"]]);
|
|
2552
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
2540
2553
|
__name: "OnyxSystemButton",
|
|
2541
2554
|
props: {
|
|
2542
2555
|
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
@@ -2557,7 +2570,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2557
2570
|
return __returned__;
|
|
2558
2571
|
}
|
|
2559
2572
|
});
|
|
2560
|
-
function _sfc_render$
|
|
2573
|
+
function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2561
2574
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2562
2575
|
key: 0,
|
|
2563
2576
|
class: normalizeClass(["onyx-system-button-skeleton", $setup.props.icon ? "" : "onyx-system-button-skeleton--text"])
|
|
@@ -2589,8 +2602,8 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2589
2602
|
/* STABLE */
|
|
2590
2603
|
}, 16, ["class", "aria-label", "title"]));
|
|
2591
2604
|
}
|
|
2592
|
-
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2593
|
-
const _sfc_main$
|
|
2605
|
+
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSystemButton/OnyxSystemButton.vue"]]);
|
|
2606
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
2594
2607
|
__name: "OnyxAlertModal",
|
|
2595
2608
|
props: {
|
|
2596
2609
|
density: { type: null, required: false },
|
|
@@ -2615,11 +2628,11 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
2615
2628
|
return __returned__;
|
|
2616
2629
|
}
|
|
2617
2630
|
});
|
|
2618
|
-
const _hoisted_1$
|
|
2619
|
-
const _hoisted_2$
|
|
2620
|
-
const _hoisted_3$
|
|
2621
|
-
const _hoisted_4$
|
|
2622
|
-
function _sfc_render$
|
|
2631
|
+
const _hoisted_1$1b = { class: "onyx-alert-modal__content" };
|
|
2632
|
+
const _hoisted_2$T = { class: "onyx-alert-modal__headline" };
|
|
2633
|
+
const _hoisted_3$A = ["id"];
|
|
2634
|
+
const _hoisted_4$n = { class: "onyx-alert-modal__actions" };
|
|
2635
|
+
function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2623
2636
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps({
|
|
2624
2637
|
class: ["onyx-alert-modal", $setup.densityClass]
|
|
2625
2638
|
}, $setup.dialogProps, {
|
|
@@ -2629,7 +2642,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2629
2642
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
2630
2643
|
}), {
|
|
2631
2644
|
default: withCtx(() => [
|
|
2632
|
-
createElementVNode("div", _hoisted_1$
|
|
2645
|
+
createElementVNode("div", _hoisted_1$1b, [
|
|
2633
2646
|
$setup.props.icon ? (openBlock(), createBlock(
|
|
2634
2647
|
$setup["OnyxIcon"],
|
|
2635
2648
|
mergeProps({
|
|
@@ -2641,7 +2654,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2641
2654
|
/* FULL_PROPS */
|
|
2642
2655
|
)) : createCommentVNode("v-if", true),
|
|
2643
2656
|
createElementVNode("div", null, [
|
|
2644
|
-
createElementVNode("div", _hoisted_2$
|
|
2657
|
+
createElementVNode("div", _hoisted_2$T, [
|
|
2645
2658
|
renderSlot(_ctx.$slots, "headline", {
|
|
2646
2659
|
label: $setup.props.label
|
|
2647
2660
|
}, () => [
|
|
@@ -2669,10 +2682,10 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2669
2682
|
class: "onyx-alert-modal__body onyx-truncation"
|
|
2670
2683
|
}, [
|
|
2671
2684
|
renderSlot(_ctx.$slots, "default")
|
|
2672
|
-
], 8, _hoisted_3$
|
|
2685
|
+
], 8, _hoisted_3$A)
|
|
2673
2686
|
])
|
|
2674
2687
|
]),
|
|
2675
|
-
createElementVNode("div", _hoisted_4$
|
|
2688
|
+
createElementVNode("div", _hoisted_4$n, [
|
|
2676
2689
|
renderSlot(_ctx.$slots, "actions")
|
|
2677
2690
|
])
|
|
2678
2691
|
]),
|
|
@@ -2680,7 +2693,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2680
2693
|
/* FORWARDED */
|
|
2681
2694
|
}, 16, ["class", "aria-describedby"]);
|
|
2682
2695
|
}
|
|
2683
|
-
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2696
|
+
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAlertModal/OnyxAlertModal.vue"]]);
|
|
2684
2697
|
const useRootAttrs = () => {
|
|
2685
2698
|
const attrs = useAttrs();
|
|
2686
2699
|
const rootAttrs = computed(
|
|
@@ -2762,7 +2775,7 @@ const mergeVueProps = (...args) => args.reduce((prev, curr) => {
|
|
|
2762
2775
|
merged.ref = mergedRef;
|
|
2763
2776
|
return merged;
|
|
2764
2777
|
}, {});
|
|
2765
|
-
const _sfc_main$
|
|
2778
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
2766
2779
|
__name: "OnyxFABButton",
|
|
2767
2780
|
props: {
|
|
2768
2781
|
density: { type: null, required: false },
|
|
@@ -2782,11 +2795,11 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
2782
2795
|
return __returned__;
|
|
2783
2796
|
}
|
|
2784
2797
|
});
|
|
2785
|
-
const _hoisted_1$
|
|
2798
|
+
const _hoisted_1$1a = {
|
|
2786
2799
|
key: 1,
|
|
2787
2800
|
class: "onyx-fab-button__label"
|
|
2788
2801
|
};
|
|
2789
|
-
function _sfc_render$
|
|
2802
|
+
function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2790
2803
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2791
2804
|
key: 0,
|
|
2792
2805
|
class: normalizeClass(["onyx-fab-button-skeleton", $setup.densityClass])
|
|
@@ -2804,7 +2817,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2804
2817
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
2805
2818
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
2806
2819
|
"span",
|
|
2807
|
-
_hoisted_1$
|
|
2820
|
+
_hoisted_1$1a,
|
|
2808
2821
|
toDisplayString($setup.props.label),
|
|
2809
2822
|
1
|
|
2810
2823
|
/* TEXT */
|
|
@@ -2814,7 +2827,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2814
2827
|
/* STABLE */
|
|
2815
2828
|
}, 8, ["class", "title", "aria-label", "link"]));
|
|
2816
2829
|
}
|
|
2817
|
-
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2830
|
+
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABButton/OnyxFABButton.vue"]]);
|
|
2818
2831
|
const useResizeObserver = (target, options) => {
|
|
2819
2832
|
const box = options?.box ?? "content-box";
|
|
2820
2833
|
const width = ref(0);
|
|
@@ -3126,7 +3139,7 @@ function useSticky(options) {
|
|
|
3126
3139
|
});
|
|
3127
3140
|
return { stickyStyles, scrolledOut, isSticky, checkVisibilityOnScroll };
|
|
3128
3141
|
}
|
|
3129
|
-
const _sfc_main$
|
|
3142
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
3130
3143
|
__name: "OnyxBasicPopover",
|
|
3131
3144
|
props: {
|
|
3132
3145
|
label: { type: String, required: true },
|
|
@@ -3284,8 +3297,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
3284
3297
|
return __returned__;
|
|
3285
3298
|
}
|
|
3286
3299
|
});
|
|
3287
|
-
const _hoisted_1$
|
|
3288
|
-
function _sfc_render$
|
|
3300
|
+
const _hoisted_1$19 = ["role", "aria-label"];
|
|
3301
|
+
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3289
3302
|
return openBlock(), createElementBlock(
|
|
3290
3303
|
"div",
|
|
3291
3304
|
{
|
|
@@ -3304,14 +3317,14 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3304
3317
|
style: normalizeStyle(!$setup.isSticky ? $setup.popoverStyles : $setup.stickyStyles)
|
|
3305
3318
|
}, [
|
|
3306
3319
|
renderSlot(_ctx.$slots, "content")
|
|
3307
|
-
], 14, _hoisted_1$
|
|
3320
|
+
], 14, _hoisted_1$19)
|
|
3308
3321
|
],
|
|
3309
3322
|
4
|
|
3310
3323
|
/* STYLE */
|
|
3311
3324
|
);
|
|
3312
3325
|
}
|
|
3313
|
-
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3314
|
-
const _sfc_main$
|
|
3326
|
+
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicPopover/OnyxBasicPopover.vue"]]);
|
|
3327
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
3315
3328
|
__name: "OnyxFlyoutMenu",
|
|
3316
3329
|
props: {
|
|
3317
3330
|
alignment: { type: String, required: false, default: "auto" },
|
|
@@ -3353,9 +3366,9 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
3353
3366
|
return __returned__;
|
|
3354
3367
|
}
|
|
3355
3368
|
});
|
|
3356
|
-
const _hoisted_1$
|
|
3357
|
-
const _hoisted_2$
|
|
3358
|
-
function _sfc_render$
|
|
3369
|
+
const _hoisted_1$18 = { class: "onyx-flyout-menu__list-header" };
|
|
3370
|
+
const _hoisted_2$S = { class: "onyx-flyout-menu__list-footer" };
|
|
3371
|
+
function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3359
3372
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.mergeVueProps($setup.root, { ref: $setup.popover }), {
|
|
3360
3373
|
class: "onyx-component onyx-flyout-menu",
|
|
3361
3374
|
open: $setup.isExpanded,
|
|
@@ -3364,7 +3377,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3364
3377
|
disabled: $props.disabled
|
|
3365
3378
|
}), createSlots({
|
|
3366
3379
|
content: withCtx(() => [
|
|
3367
|
-
createElementVNode("div", _hoisted_1$
|
|
3380
|
+
createElementVNode("div", _hoisted_1$18, [
|
|
3368
3381
|
renderSlot(_ctx.$slots, "header")
|
|
3369
3382
|
]),
|
|
3370
3383
|
$setup.slots.options ? (openBlock(), createElementBlock(
|
|
@@ -3376,7 +3389,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3376
3389
|
16
|
|
3377
3390
|
/* FULL_PROPS */
|
|
3378
3391
|
)) : createCommentVNode("v-if", true),
|
|
3379
|
-
createElementVNode("div", _hoisted_2$
|
|
3392
|
+
createElementVNode("div", _hoisted_2$S, [
|
|
3380
3393
|
renderSlot(_ctx.$slots, "footer")
|
|
3381
3394
|
])
|
|
3382
3395
|
]),
|
|
@@ -3397,8 +3410,8 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3397
3410
|
} : void 0
|
|
3398
3411
|
]), 1040, ["open", "label", "alignment", "disabled"]);
|
|
3399
3412
|
}
|
|
3400
|
-
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3401
|
-
const _sfc_main$
|
|
3413
|
+
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue"]]);
|
|
3414
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
3402
3415
|
__name: "OnyxFAB",
|
|
3403
3416
|
props: {
|
|
3404
3417
|
density: { type: null, required: false },
|
|
@@ -3437,7 +3450,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
3437
3450
|
return __returned__;
|
|
3438
3451
|
}
|
|
3439
3452
|
});
|
|
3440
|
-
function _sfc_render$
|
|
3453
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3441
3454
|
return !$setup.hasOptions || $setup.skeleton ? (openBlock(), createBlock($setup["OnyxFABButton"], mergeProps({
|
|
3442
3455
|
key: 0,
|
|
3443
3456
|
class: ["onyx-fab", `onyx-fab--${$setup.props.alignment}`]
|
|
@@ -3467,8 +3480,8 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3467
3480
|
/* FORWARDED */
|
|
3468
3481
|
}, 8, ["open", "label", "class", "alignment"]));
|
|
3469
3482
|
}
|
|
3470
|
-
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3471
|
-
const _sfc_main$
|
|
3483
|
+
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFAB/OnyxFAB.vue"]]);
|
|
3484
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
3472
3485
|
__name: "OnyxFABItem",
|
|
3473
3486
|
props: {
|
|
3474
3487
|
density: { type: null, required: false },
|
|
@@ -3491,7 +3504,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
3491
3504
|
return __returned__;
|
|
3492
3505
|
}
|
|
3493
3506
|
});
|
|
3494
|
-
function _sfc_render$
|
|
3507
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3495
3508
|
return openBlock(), createElementBlock(
|
|
3496
3509
|
"li",
|
|
3497
3510
|
mergeProps({
|
|
@@ -3506,7 +3519,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3506
3519
|
/* FULL_PROPS */
|
|
3507
3520
|
);
|
|
3508
3521
|
}
|
|
3509
|
-
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3522
|
+
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABItem/OnyxFABItem.vue"]]);
|
|
3510
3523
|
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = Symbol();
|
|
3511
3524
|
const createGlobalFABProvider = () => {
|
|
3512
3525
|
const items = shallowRef([]);
|
|
@@ -3543,7 +3556,7 @@ const useGlobalFAB = () => {
|
|
|
3543
3556
|
);
|
|
3544
3557
|
return globalFABProvider;
|
|
3545
3558
|
};
|
|
3546
|
-
const _sfc_main$
|
|
3559
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
3547
3560
|
__name: "OnyxGlobalFAB",
|
|
3548
3561
|
setup(__props, { expose: __expose }) {
|
|
3549
3562
|
__expose();
|
|
@@ -3557,7 +3570,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3557
3570
|
return __returned__;
|
|
3558
3571
|
}
|
|
3559
3572
|
});
|
|
3560
|
-
function _sfc_render$
|
|
3573
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3561
3574
|
return $setup.globalFAB.items.value.length === 1 ? (openBlock(), createBlock(
|
|
3562
3575
|
$setup["OnyxFAB"],
|
|
3563
3576
|
normalizeProps(mergeProps({ key: 0 }, $setup.globalFAB.items.value[0].value)),
|
|
@@ -3592,14 +3605,14 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3592
3605
|
/* STABLE */
|
|
3593
3606
|
}, 8, ["label", "alignment"])) : createCommentVNode("v-if", true);
|
|
3594
3607
|
}
|
|
3595
|
-
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3596
|
-
const _sfc_main$
|
|
3597
|
-
const _hoisted_1$
|
|
3608
|
+
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalFAB/OnyxGlobalFAB.vue"]]);
|
|
3609
|
+
const _sfc_main$1w = {};
|
|
3610
|
+
const _hoisted_1$17 = {
|
|
3598
3611
|
class: "onyx-component onyx-circle-spinner",
|
|
3599
3612
|
viewBox: "0 0 50 50"
|
|
3600
3613
|
};
|
|
3601
|
-
function _sfc_render$
|
|
3602
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3614
|
+
function _sfc_render$1w(_ctx, _cache) {
|
|
3615
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$17, [..._cache[0] || (_cache[0] = [
|
|
3603
3616
|
createElementVNode(
|
|
3604
3617
|
"circle",
|
|
3605
3618
|
{
|
|
@@ -3614,11 +3627,11 @@ function _sfc_render$1t(_ctx, _cache) {
|
|
|
3614
3627
|
)
|
|
3615
3628
|
])]);
|
|
3616
3629
|
}
|
|
3617
|
-
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3618
|
-
const _sfc_main$
|
|
3619
|
-
const _hoisted_1$
|
|
3620
|
-
function _sfc_render$
|
|
3621
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3630
|
+
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue"]]);
|
|
3631
|
+
const _sfc_main$1v = {};
|
|
3632
|
+
const _hoisted_1$16 = { class: "onyx-component onyx-loading-dots" };
|
|
3633
|
+
function _sfc_render$1v(_ctx, _cache) {
|
|
3634
|
+
return openBlock(), createElementBlock("div", _hoisted_1$16, [..._cache[0] || (_cache[0] = [
|
|
3622
3635
|
createElementVNode(
|
|
3623
3636
|
"span",
|
|
3624
3637
|
{ class: "onyx-loading-dots__center" },
|
|
@@ -3628,8 +3641,8 @@ function _sfc_render$1s(_ctx, _cache) {
|
|
|
3628
3641
|
)
|
|
3629
3642
|
])]);
|
|
3630
3643
|
}
|
|
3631
|
-
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3632
|
-
const _sfc_main$
|
|
3644
|
+
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingDots.vue"]]);
|
|
3645
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
3633
3646
|
__name: "OnyxLoadingIndicator",
|
|
3634
3647
|
props: {
|
|
3635
3648
|
type: { type: String, required: false, default: "dots" }
|
|
@@ -3642,10 +3655,10 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
3642
3655
|
return __returned__;
|
|
3643
3656
|
}
|
|
3644
3657
|
});
|
|
3645
|
-
function _sfc_render$
|
|
3658
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3646
3659
|
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);
|
|
3647
3660
|
}
|
|
3648
|
-
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3661
|
+
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue"]]);
|
|
3649
3662
|
const useRipple = (container) => {
|
|
3650
3663
|
const isPointerDown = ref(false);
|
|
3651
3664
|
const ripples = reactive(/* @__PURE__ */ new Map());
|
|
@@ -3692,7 +3705,7 @@ const useRipple = (container) => {
|
|
|
3692
3705
|
});
|
|
3693
3706
|
return { isPointerDown, ripples, startRipple, hideRipples, hideRipple, events };
|
|
3694
3707
|
};
|
|
3695
|
-
const _sfc_main$
|
|
3708
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
3696
3709
|
__name: "OnyxRipple",
|
|
3697
3710
|
setup(__props, { expose: __expose }) {
|
|
3698
3711
|
const rippleTrigger = useTemplateRef("rippleTriggerRef");
|
|
@@ -3705,16 +3718,16 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
3705
3718
|
return __returned__;
|
|
3706
3719
|
}
|
|
3707
3720
|
});
|
|
3708
|
-
const _hoisted_1$
|
|
3721
|
+
const _hoisted_1$15 = {
|
|
3709
3722
|
ref: "rippleTriggerRef",
|
|
3710
3723
|
class: "onyx-component onyx-ripple",
|
|
3711
3724
|
"aria-hidden": "true"
|
|
3712
3725
|
};
|
|
3713
|
-
const _hoisted_2$
|
|
3714
|
-
function _sfc_render$
|
|
3726
|
+
const _hoisted_2$R = ["data-rippleid"];
|
|
3727
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3715
3728
|
return openBlock(), createElementBlock(
|
|
3716
3729
|
"span",
|
|
3717
|
-
_hoisted_1$
|
|
3730
|
+
_hoisted_1$15,
|
|
3718
3731
|
[
|
|
3719
3732
|
(openBlock(true), createElementBlock(
|
|
3720
3733
|
Fragment,
|
|
@@ -3729,7 +3742,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3729
3742
|
}),
|
|
3730
3743
|
"data-rippleid": key,
|
|
3731
3744
|
onAnimationend: _cache[0] || (_cache[0] = ($event) => $setup.hideRipple($event.target))
|
|
3732
|
-
}, null, 44, _hoisted_2$
|
|
3745
|
+
}, null, 44, _hoisted_2$R);
|
|
3733
3746
|
}),
|
|
3734
3747
|
128
|
|
3735
3748
|
/* KEYED_FRAGMENT */
|
|
@@ -3739,8 +3752,8 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3739
3752
|
/* NEED_PATCH */
|
|
3740
3753
|
);
|
|
3741
3754
|
}
|
|
3742
|
-
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3743
|
-
const _sfc_main$
|
|
3755
|
+
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRipple/OnyxRipple.vue"]]);
|
|
3756
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
3744
3757
|
__name: "OnyxButton",
|
|
3745
3758
|
props: {
|
|
3746
3759
|
density: { type: null, required: false },
|
|
@@ -3770,8 +3783,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
3770
3783
|
return __returned__;
|
|
3771
3784
|
}
|
|
3772
3785
|
});
|
|
3773
|
-
const _hoisted_1$
|
|
3774
|
-
function _sfc_render$
|
|
3786
|
+
const _hoisted_1$14 = { class: "onyx-button__label onyx-truncation-ellipsis" };
|
|
3787
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3775
3788
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
3776
3789
|
key: 0,
|
|
3777
3790
|
class: normalizeClass(["onyx-button-skeleton", $setup.densityClass])
|
|
@@ -3808,7 +3821,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3808
3821
|
})) : createCommentVNode("v-if", true),
|
|
3809
3822
|
createElementVNode(
|
|
3810
3823
|
"span",
|
|
3811
|
-
_hoisted_1$
|
|
3824
|
+
_hoisted_1$14,
|
|
3812
3825
|
toDisplayString($setup.props.label),
|
|
3813
3826
|
1
|
|
3814
3827
|
/* TEXT */
|
|
@@ -3823,8 +3836,8 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3823
3836
|
/* STABLE */
|
|
3824
3837
|
}, 16, ["class", "aria-label"]));
|
|
3825
3838
|
}
|
|
3826
|
-
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3827
|
-
const _sfc_main$
|
|
3839
|
+
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/OnyxButton.vue"]]);
|
|
3840
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
3828
3841
|
__name: "OnyxInfoCard",
|
|
3829
3842
|
props: {
|
|
3830
3843
|
density: { type: null, required: false },
|
|
@@ -3851,16 +3864,16 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
3851
3864
|
return __returned__;
|
|
3852
3865
|
}
|
|
3853
3866
|
});
|
|
3854
|
-
const _hoisted_1$
|
|
3855
|
-
const _hoisted_2$
|
|
3867
|
+
const _hoisted_1$13 = { class: "onyx-info-card__content" };
|
|
3868
|
+
const _hoisted_2$Q = {
|
|
3856
3869
|
key: 3,
|
|
3857
3870
|
class: "onyx-info-card__description onyx-text--small"
|
|
3858
3871
|
};
|
|
3859
|
-
const _hoisted_3$
|
|
3872
|
+
const _hoisted_3$z = {
|
|
3860
3873
|
key: 4,
|
|
3861
3874
|
class: "onyx-info-card__buttons onyx-density-compact"
|
|
3862
3875
|
};
|
|
3863
|
-
function _sfc_render$
|
|
3876
|
+
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3864
3877
|
return openBlock(), createElementBlock(
|
|
3865
3878
|
"div",
|
|
3866
3879
|
{
|
|
@@ -3872,7 +3885,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3872
3885
|
class: "onyx-info-card__icon",
|
|
3873
3886
|
icon: $setup.props.icon
|
|
3874
3887
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
3875
|
-
createElementVNode("div", _hoisted_1$
|
|
3888
|
+
createElementVNode("div", _hoisted_1$13, [
|
|
3876
3889
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
3877
3890
|
key: 0,
|
|
3878
3891
|
is: "h3",
|
|
@@ -3915,10 +3928,10 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3915
3928
|
color: $setup.systemButtonColor,
|
|
3916
3929
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("close"))
|
|
3917
3930
|
}, null, 8, ["icon", "label", "color"])) : createCommentVNode("v-if", true),
|
|
3918
|
-
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
3931
|
+
!!$setup.slots.default ? (openBlock(), createElementBlock("p", _hoisted_2$Q, [
|
|
3919
3932
|
renderSlot(_ctx.$slots, "default")
|
|
3920
3933
|
])) : createCommentVNode("v-if", true),
|
|
3921
|
-
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3934
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_3$z, [
|
|
3922
3935
|
renderSlot(_ctx.$slots, "buttons")
|
|
3923
3936
|
])) : createCommentVNode("v-if", true)
|
|
3924
3937
|
])
|
|
@@ -3927,8 +3940,8 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3927
3940
|
/* CLASS */
|
|
3928
3941
|
);
|
|
3929
3942
|
}
|
|
3930
|
-
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3931
|
-
const _sfc_main$
|
|
3943
|
+
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoCard/OnyxInfoCard.vue"]]);
|
|
3944
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
3932
3945
|
__name: "OnyxNotificationMessage",
|
|
3933
3946
|
props: {
|
|
3934
3947
|
headline: { type: String, required: true },
|
|
@@ -3946,7 +3959,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
3946
3959
|
return __returned__;
|
|
3947
3960
|
}
|
|
3948
3961
|
});
|
|
3949
|
-
function _sfc_render$
|
|
3962
|
+
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3950
3963
|
return openBlock(), createBlock($setup["OnyxInfoCard"], {
|
|
3951
3964
|
class: normalizeClass(["onyx-component onyx-notification-message", [
|
|
3952
3965
|
"onyx-component",
|
|
@@ -3979,7 +3992,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3979
3992
|
} : void 0
|
|
3980
3993
|
]), 1032, ["class", "headline", "icon", "style", "aria-label"]);
|
|
3981
3994
|
}
|
|
3982
|
-
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3995
|
+
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationMessage/OnyxNotificationMessage.vue"]]);
|
|
3983
3996
|
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = Symbol();
|
|
3984
3997
|
const createNotificationsProvider = () => {
|
|
3985
3998
|
let nextId = 1;
|
|
@@ -4024,7 +4037,7 @@ const useNotification = () => {
|
|
|
4024
4037
|
);
|
|
4025
4038
|
return notificationsProvider;
|
|
4026
4039
|
};
|
|
4027
|
-
const _sfc_main$
|
|
4040
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
4028
4041
|
__name: "OnyxNotifications",
|
|
4029
4042
|
setup(__props, { expose: __expose }) {
|
|
4030
4043
|
__expose();
|
|
@@ -4034,15 +4047,15 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
4034
4047
|
return __returned__;
|
|
4035
4048
|
}
|
|
4036
4049
|
});
|
|
4037
|
-
const _hoisted_1
|
|
4050
|
+
const _hoisted_1$12 = {
|
|
4038
4051
|
key: 0,
|
|
4039
4052
|
class: "onyx-component onyx-notifications",
|
|
4040
4053
|
role: "presentation",
|
|
4041
4054
|
"aria-live": "polite",
|
|
4042
4055
|
open: ""
|
|
4043
4056
|
};
|
|
4044
|
-
function _sfc_render$
|
|
4045
|
-
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1
|
|
4057
|
+
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4058
|
+
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$12, [
|
|
4046
4059
|
(openBlock(true), createElementBlock(
|
|
4047
4060
|
Fragment,
|
|
4048
4061
|
null,
|
|
@@ -4094,8 +4107,8 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4094
4107
|
))
|
|
4095
4108
|
])) : createCommentVNode("v-if", true);
|
|
4096
4109
|
}
|
|
4097
|
-
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4098
|
-
const _sfc_main$
|
|
4110
|
+
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotifications/OnyxNotifications.vue"]]);
|
|
4111
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
4099
4112
|
__name: "OnyxToastMessage",
|
|
4100
4113
|
props: {
|
|
4101
4114
|
density: { type: null, required: false },
|
|
@@ -4131,33 +4144,33 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
4131
4144
|
return __returned__;
|
|
4132
4145
|
}
|
|
4133
4146
|
});
|
|
4134
|
-
const _hoisted_1$
|
|
4135
|
-
const _hoisted_2$
|
|
4136
|
-
const _hoisted_3$
|
|
4137
|
-
const _hoisted_4$
|
|
4138
|
-
const _hoisted_5$
|
|
4139
|
-
const _hoisted_6$
|
|
4147
|
+
const _hoisted_1$11 = { class: "onyx-toast-message__wrapper" };
|
|
4148
|
+
const _hoisted_2$P = { class: "onyx-toast-message__content onyx-truncation-ellipsis" };
|
|
4149
|
+
const _hoisted_3$y = { class: "onyx-toast-message__headline onyx-text" };
|
|
4150
|
+
const _hoisted_4$m = { class: "onyx-truncation-ellipsis" };
|
|
4151
|
+
const _hoisted_5$g = ["aria-label"];
|
|
4152
|
+
const _hoisted_6$b = {
|
|
4140
4153
|
key: 0,
|
|
4141
4154
|
class: "onyx-toast-message__description onyx-text--small onyx-truncation-multiline",
|
|
4142
4155
|
tabindex: "0"
|
|
4143
4156
|
};
|
|
4144
|
-
function _sfc_render$
|
|
4157
|
+
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4145
4158
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.clickable ? "button" : "div"), {
|
|
4146
4159
|
class: normalizeClass(["onyx-component onyx-toast-message", [`onyx-toast-message--${$setup.props.color}`, $setup.densityClass]]),
|
|
4147
4160
|
role: $setup.props.color === "danger" || $setup.props.color === "warning" ? "alert" : "status",
|
|
4148
4161
|
"aria-label": $setup.props.clickable ? $setup.props.headline : void 0
|
|
4149
4162
|
}, {
|
|
4150
4163
|
default: withCtx(() => [
|
|
4151
|
-
createElementVNode("div", _hoisted_1$
|
|
4164
|
+
createElementVNode("div", _hoisted_1$11, [
|
|
4152
4165
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4153
4166
|
key: 0,
|
|
4154
4167
|
icon: $setup.icon
|
|
4155
4168
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
4156
|
-
createElementVNode("div", _hoisted_2$
|
|
4157
|
-
createElementVNode("div", _hoisted_3$
|
|
4169
|
+
createElementVNode("div", _hoisted_2$P, [
|
|
4170
|
+
createElementVNode("div", _hoisted_3$y, [
|
|
4158
4171
|
createElementVNode(
|
|
4159
4172
|
"span",
|
|
4160
|
-
_hoisted_4$
|
|
4173
|
+
_hoisted_4$m,
|
|
4161
4174
|
toDisplayString($setup.props.headline),
|
|
4162
4175
|
1
|
|
4163
4176
|
/* TEXT */
|
|
@@ -4170,11 +4183,11 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4170
4183
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("close"))
|
|
4171
4184
|
}, [
|
|
4172
4185
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
4173
|
-
], 8, _hoisted_5$
|
|
4186
|
+
], 8, _hoisted_5$g)) : createCommentVNode("v-if", true)
|
|
4174
4187
|
]),
|
|
4175
4188
|
$setup.props.description ? (openBlock(), createElementBlock(
|
|
4176
4189
|
"p",
|
|
4177
|
-
_hoisted_6$
|
|
4190
|
+
_hoisted_6$b,
|
|
4178
4191
|
toDisplayString($setup.props.description),
|
|
4179
4192
|
1
|
|
4180
4193
|
/* TEXT */
|
|
@@ -4199,7 +4212,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4199
4212
|
/* STABLE */
|
|
4200
4213
|
}, 8, ["class", "role", "aria-label"]);
|
|
4201
4214
|
}
|
|
4202
|
-
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4215
|
+
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToastMessage/OnyxToastMessage.vue"]]);
|
|
4203
4216
|
const TOAST_PROVIDER_INJECTION_KEY = Symbol();
|
|
4204
4217
|
const createToastProvider = () => {
|
|
4205
4218
|
let nextId = 1;
|
|
@@ -4242,7 +4255,7 @@ const useToast = () => {
|
|
|
4242
4255
|
);
|
|
4243
4256
|
return toastProvider;
|
|
4244
4257
|
};
|
|
4245
|
-
const _sfc_main$
|
|
4258
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
4246
4259
|
__name: "OnyxToast",
|
|
4247
4260
|
setup(__props, { expose: __expose }) {
|
|
4248
4261
|
__expose();
|
|
@@ -4252,15 +4265,15 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
4252
4265
|
return __returned__;
|
|
4253
4266
|
}
|
|
4254
4267
|
});
|
|
4255
|
-
const _hoisted_1$
|
|
4268
|
+
const _hoisted_1$10 = {
|
|
4256
4269
|
key: 0,
|
|
4257
4270
|
class: "onyx-component onyx-toast",
|
|
4258
4271
|
role: "presentation",
|
|
4259
4272
|
"aria-live": "polite",
|
|
4260
4273
|
open: ""
|
|
4261
4274
|
};
|
|
4262
|
-
function _sfc_render$
|
|
4263
|
-
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
4275
|
+
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4276
|
+
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$10, [
|
|
4264
4277
|
(openBlock(true), createElementBlock(
|
|
4265
4278
|
Fragment,
|
|
4266
4279
|
null,
|
|
@@ -4278,8 +4291,8 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4278
4291
|
))
|
|
4279
4292
|
])) : createCommentVNode("v-if", true);
|
|
4280
4293
|
}
|
|
4281
|
-
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4282
|
-
const _sfc_main$
|
|
4294
|
+
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToast/OnyxToast.vue"]]);
|
|
4295
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
4283
4296
|
__name: "OnyxAppLayout",
|
|
4284
4297
|
props: {
|
|
4285
4298
|
navBarAlignment: { type: String, required: false, default: "top" }
|
|
@@ -4293,22 +4306,22 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
4293
4306
|
return __returned__;
|
|
4294
4307
|
}
|
|
4295
4308
|
});
|
|
4296
|
-
const _hoisted_1
|
|
4309
|
+
const _hoisted_1$$ = {
|
|
4297
4310
|
key: 0,
|
|
4298
4311
|
class: "onyx-app__nav"
|
|
4299
4312
|
};
|
|
4300
|
-
const _hoisted_2$
|
|
4301
|
-
function _sfc_render$
|
|
4313
|
+
const _hoisted_2$O = { class: "onyx-app__page" };
|
|
4314
|
+
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4302
4315
|
return openBlock(), createElementBlock(
|
|
4303
4316
|
"div",
|
|
4304
4317
|
{
|
|
4305
4318
|
class: normalizeClass(["onyx-component onyx-app", { "onyx-app--horizontal": $setup.props.navBarAlignment === "left" }])
|
|
4306
4319
|
},
|
|
4307
4320
|
[
|
|
4308
|
-
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1
|
|
4321
|
+
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
4309
4322
|
renderSlot(_ctx.$slots, "navBar")
|
|
4310
4323
|
])) : createCommentVNode("v-if", true),
|
|
4311
|
-
createElementVNode("div", _hoisted_2$
|
|
4324
|
+
createElementVNode("div", _hoisted_2$O, [
|
|
4312
4325
|
renderSlot(_ctx.$slots, "default")
|
|
4313
4326
|
]),
|
|
4314
4327
|
createVNode($setup["OnyxToast"]),
|
|
@@ -4319,8 +4332,8 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4319
4332
|
/* CLASS */
|
|
4320
4333
|
);
|
|
4321
4334
|
}
|
|
4322
|
-
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4323
|
-
const _sfc_main$
|
|
4335
|
+
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAppLayout/OnyxAppLayout.vue"]]);
|
|
4336
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
4324
4337
|
__name: "OnyxAvatar",
|
|
4325
4338
|
props: {
|
|
4326
4339
|
size: { type: null, required: false, default: "48px" },
|
|
@@ -4354,13 +4367,13 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
4354
4367
|
return __returned__;
|
|
4355
4368
|
}
|
|
4356
4369
|
});
|
|
4357
|
-
const _hoisted_1$
|
|
4358
|
-
const _hoisted_2$
|
|
4359
|
-
const _hoisted_3$
|
|
4370
|
+
const _hoisted_1$_ = ["title", "aria-label"];
|
|
4371
|
+
const _hoisted_2$N = ["src", "alt"];
|
|
4372
|
+
const _hoisted_3$x = {
|
|
4360
4373
|
key: 0,
|
|
4361
4374
|
class: "onyx-avatar__initials"
|
|
4362
4375
|
};
|
|
4363
|
-
function _sfc_render$
|
|
4376
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4364
4377
|
return openBlock(), createElementBlock("figure", {
|
|
4365
4378
|
class: normalizeClass([
|
|
4366
4379
|
"onyx-component",
|
|
@@ -4377,13 +4390,13 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4377
4390
|
src: $setup.props.src,
|
|
4378
4391
|
alt: $setup.ariaLabel,
|
|
4379
4392
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.hasImageError = true)
|
|
4380
|
-
}, null, 40, _hoisted_2$
|
|
4393
|
+
}, null, 40, _hoisted_2$N)) : (openBlock(), createElementBlock(
|
|
4381
4394
|
Fragment,
|
|
4382
4395
|
{ key: 1 },
|
|
4383
4396
|
[
|
|
4384
4397
|
$setup.initials ? (openBlock(), createElementBlock(
|
|
4385
4398
|
"div",
|
|
4386
|
-
_hoisted_3$
|
|
4399
|
+
_hoisted_3$x,
|
|
4387
4400
|
toDisplayString($setup.initials),
|
|
4388
4401
|
1
|
|
4389
4402
|
/* TEXT */
|
|
@@ -4396,10 +4409,10 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4396
4409
|
64
|
|
4397
4410
|
/* STABLE_FRAGMENT */
|
|
4398
4411
|
))
|
|
4399
|
-
], 10, _hoisted_1$
|
|
4412
|
+
], 10, _hoisted_1$_);
|
|
4400
4413
|
}
|
|
4401
|
-
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4402
|
-
const _sfc_main$
|
|
4414
|
+
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatar/OnyxAvatar.vue"]]);
|
|
4415
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
4403
4416
|
__name: "OnyxAvatarStack",
|
|
4404
4417
|
setup(__props, { expose: __expose }) {
|
|
4405
4418
|
__expose();
|
|
@@ -4408,14 +4421,14 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
4408
4421
|
return __returned__;
|
|
4409
4422
|
}
|
|
4410
4423
|
});
|
|
4411
|
-
const _hoisted_1$
|
|
4412
|
-
function _sfc_render$
|
|
4413
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4424
|
+
const _hoisted_1$Z = { class: "onyx-component onyx-avatar-stack" };
|
|
4425
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4426
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
4414
4427
|
renderSlot(_ctx.$slots, "default")
|
|
4415
4428
|
]);
|
|
4416
4429
|
}
|
|
4417
|
-
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4418
|
-
const _sfc_main$
|
|
4430
|
+
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatarStack/OnyxAvatarStack.vue"]]);
|
|
4431
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
4419
4432
|
__name: "OnyxBadge",
|
|
4420
4433
|
props: {
|
|
4421
4434
|
density: { type: null, required: false },
|
|
@@ -4432,7 +4445,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
4432
4445
|
return __returned__;
|
|
4433
4446
|
}
|
|
4434
4447
|
});
|
|
4435
|
-
function _sfc_render$
|
|
4448
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4436
4449
|
return openBlock(), createElementBlock(
|
|
4437
4450
|
"div",
|
|
4438
4451
|
{
|
|
@@ -4463,8 +4476,8 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4463
4476
|
/* CLASS */
|
|
4464
4477
|
);
|
|
4465
4478
|
}
|
|
4466
|
-
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4467
|
-
const _sfc_main$
|
|
4479
|
+
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBadge/OnyxBadge.vue"]]);
|
|
4480
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
4468
4481
|
__name: "OnyxBottomBar",
|
|
4469
4482
|
props: {
|
|
4470
4483
|
density: { type: null, required: false },
|
|
@@ -4479,10 +4492,10 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
4479
4492
|
return __returned__;
|
|
4480
4493
|
}
|
|
4481
4494
|
});
|
|
4482
|
-
const _hoisted_1$
|
|
4483
|
-
const _hoisted_2$
|
|
4484
|
-
const _hoisted_3$
|
|
4485
|
-
function _sfc_render$
|
|
4495
|
+
const _hoisted_1$Y = { class: "onyx-bottom-bar__content onyx-grid-container" };
|
|
4496
|
+
const _hoisted_2$M = { class: "onyx-bottom-bar__content--left" };
|
|
4497
|
+
const _hoisted_3$w = { class: "onyx-bottom-bar__content--right" };
|
|
4498
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4486
4499
|
return openBlock(), createElementBlock(
|
|
4487
4500
|
"div",
|
|
4488
4501
|
{
|
|
@@ -4494,11 +4507,11 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4494
4507
|
])
|
|
4495
4508
|
},
|
|
4496
4509
|
[
|
|
4497
|
-
createElementVNode("div", _hoisted_1$
|
|
4498
|
-
createElementVNode("div", _hoisted_2$
|
|
4510
|
+
createElementVNode("div", _hoisted_1$Y, [
|
|
4511
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
4499
4512
|
renderSlot(_ctx.$slots, "left")
|
|
4500
4513
|
]),
|
|
4501
|
-
createElementVNode("div", _hoisted_3$
|
|
4514
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
4502
4515
|
renderSlot(_ctx.$slots, "default")
|
|
4503
4516
|
])
|
|
4504
4517
|
])
|
|
@@ -4507,7 +4520,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4507
4520
|
/* CLASS */
|
|
4508
4521
|
);
|
|
4509
4522
|
}
|
|
4510
|
-
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4523
|
+
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBottomBar/OnyxBottomBar.vue"]]);
|
|
4511
4524
|
const useMoreList = (options) => {
|
|
4512
4525
|
const visibleElements = ref();
|
|
4513
4526
|
const hiddenElements = ref();
|
|
@@ -4602,7 +4615,7 @@ const useMoreListChild = (injectionKey) => {
|
|
|
4602
4615
|
};
|
|
4603
4616
|
const BREADCRUMB_MORE_LIST_INJECTION_KEY = Symbol();
|
|
4604
4617
|
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
4605
|
-
const _sfc_main$
|
|
4618
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
4606
4619
|
__name: "OnyxExternalLinkIcon",
|
|
4607
4620
|
props: {
|
|
4608
4621
|
href: { type: String, required: false },
|
|
@@ -4623,7 +4636,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
4623
4636
|
return __returned__;
|
|
4624
4637
|
}
|
|
4625
4638
|
});
|
|
4626
|
-
function _sfc_render$
|
|
4639
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4627
4640
|
return $setup.isVisible ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4628
4641
|
key: 0,
|
|
4629
4642
|
class: "onyx-component onyx-external-link-icon",
|
|
@@ -4631,8 +4644,8 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4631
4644
|
size: "16px"
|
|
4632
4645
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true);
|
|
4633
4646
|
}
|
|
4634
|
-
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4635
|
-
const _sfc_main$
|
|
4647
|
+
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue"]]);
|
|
4648
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
4636
4649
|
__name: "OnyxListItem",
|
|
4637
4650
|
props: {
|
|
4638
4651
|
density: { type: null, required: false },
|
|
@@ -4651,7 +4664,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
4651
4664
|
return __returned__;
|
|
4652
4665
|
}
|
|
4653
4666
|
});
|
|
4654
|
-
function _sfc_render$
|
|
4667
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4655
4668
|
return openBlock(), createElementBlock(
|
|
4656
4669
|
"li",
|
|
4657
4670
|
{
|
|
@@ -4673,8 +4686,8 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4673
4686
|
/* CLASS */
|
|
4674
4687
|
);
|
|
4675
4688
|
}
|
|
4676
|
-
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4677
|
-
const _sfc_main$
|
|
4689
|
+
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxListItem/OnyxListItem.vue"]]);
|
|
4690
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
4678
4691
|
...{ inheritAttrs: false },
|
|
4679
4692
|
__name: "OnyxMenuItem",
|
|
4680
4693
|
props: {
|
|
@@ -4753,17 +4766,17 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
4753
4766
|
return __returned__;
|
|
4754
4767
|
}
|
|
4755
4768
|
});
|
|
4756
|
-
const _hoisted_1$
|
|
4757
|
-
const _hoisted_2$
|
|
4769
|
+
const _hoisted_1$X = { class: "onyx-truncation-ellipsis" };
|
|
4770
|
+
const _hoisted_2$L = {
|
|
4758
4771
|
key: 0,
|
|
4759
4772
|
class: "onyx-menu-item__chevron"
|
|
4760
4773
|
};
|
|
4761
|
-
const _hoisted_3$
|
|
4774
|
+
const _hoisted_3$v = {
|
|
4762
4775
|
key: 0,
|
|
4763
4776
|
role: "menu",
|
|
4764
4777
|
class: "onyx-menu-item__children"
|
|
4765
4778
|
};
|
|
4766
|
-
function _sfc_render$
|
|
4779
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4767
4780
|
const _component_OnyxMenuItem = resolveComponent("OnyxMenuItem", true);
|
|
4768
4781
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({
|
|
4769
4782
|
selected: $setup.isActive,
|
|
@@ -4784,7 +4797,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4784
4797
|
createElementVNode("span", null, [
|
|
4785
4798
|
createElementVNode(
|
|
4786
4799
|
"span",
|
|
4787
|
-
_hoisted_1$
|
|
4800
|
+
_hoisted_1$X,
|
|
4788
4801
|
toDisplayString($setup.props.label),
|
|
4789
4802
|
1
|
|
4790
4803
|
/* TEXT */
|
|
@@ -4798,7 +4811,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4798
4811
|
)
|
|
4799
4812
|
])
|
|
4800
4813
|
]),
|
|
4801
|
-
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4814
|
+
$setup.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$L, [
|
|
4802
4815
|
createVNode($setup["OnyxIcon"], {
|
|
4803
4816
|
icon: $setup.iconChevronRightSmall,
|
|
4804
4817
|
size: "24px"
|
|
@@ -4812,7 +4825,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4812
4825
|
]),
|
|
4813
4826
|
$setup.hasChildren ? withDirectives((openBlock(), createElementBlock(
|
|
4814
4827
|
"ul",
|
|
4815
|
-
_hoisted_3$
|
|
4828
|
+
_hoisted_3$v,
|
|
4816
4829
|
[
|
|
4817
4830
|
createVNode(
|
|
4818
4831
|
_component_OnyxMenuItem,
|
|
@@ -4849,8 +4862,8 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4849
4862
|
/* FORWARDED */
|
|
4850
4863
|
}, 16, ["selected", "active", "color", "disabled", "class"]);
|
|
4851
4864
|
}
|
|
4852
|
-
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4853
|
-
const _sfc_main$
|
|
4865
|
+
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue"]]);
|
|
4866
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
4854
4867
|
...{ inheritAttrs: false },
|
|
4855
4868
|
__name: "OnyxBreadcrumbItem",
|
|
4856
4869
|
props: {
|
|
@@ -4876,7 +4889,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
4876
4889
|
return __returned__;
|
|
4877
4890
|
}
|
|
4878
4891
|
});
|
|
4879
|
-
function _sfc_render$
|
|
4892
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4880
4893
|
return openBlock(), createElementBlock(
|
|
4881
4894
|
Fragment,
|
|
4882
4895
|
null,
|
|
@@ -4936,8 +4949,8 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4936
4949
|
/* STABLE_FRAGMENT */
|
|
4937
4950
|
);
|
|
4938
4951
|
}
|
|
4939
|
-
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4940
|
-
const _sfc_main$
|
|
4952
|
+
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.vue"]]);
|
|
4953
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
4941
4954
|
__name: "OnyxMoreList",
|
|
4942
4955
|
props: {
|
|
4943
4956
|
injectionKey: { type: [Symbol, Object], required: true },
|
|
@@ -4970,7 +4983,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
4970
4983
|
return __returned__;
|
|
4971
4984
|
}
|
|
4972
4985
|
});
|
|
4973
|
-
function _sfc_render$
|
|
4986
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4974
4987
|
return openBlock(), createBlock(
|
|
4975
4988
|
resolveDynamicComponent($setup.props.is),
|
|
4976
4989
|
{
|
|
@@ -5010,8 +5023,8 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5010
5023
|
/* NEED_PATCH */
|
|
5011
5024
|
);
|
|
5012
5025
|
}
|
|
5013
|
-
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5014
|
-
const _sfc_main$
|
|
5026
|
+
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMoreList/OnyxMoreList.vue"]]);
|
|
5027
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
5015
5028
|
__name: "OnyxBreadcrumb",
|
|
5016
5029
|
props: {
|
|
5017
5030
|
density: { type: null, required: false },
|
|
@@ -5037,13 +5050,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
5037
5050
|
return __returned__;
|
|
5038
5051
|
}
|
|
5039
5052
|
});
|
|
5040
|
-
const _hoisted_1$
|
|
5041
|
-
const _hoisted_2$
|
|
5053
|
+
const _hoisted_1$W = ["aria-label", "aria-hidden"];
|
|
5054
|
+
const _hoisted_2$K = {
|
|
5042
5055
|
class: "onyx-breadcrumb__list onyx-grid-container",
|
|
5043
5056
|
role: "menu"
|
|
5044
5057
|
};
|
|
5045
|
-
const _hoisted_3$
|
|
5046
|
-
function _sfc_render$
|
|
5058
|
+
const _hoisted_3$u = { ref: "moreListRef" };
|
|
5059
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5047
5060
|
return openBlock(), createElementBlock("nav", {
|
|
5048
5061
|
class: normalizeClass([
|
|
5049
5062
|
"onyx-component",
|
|
@@ -5054,7 +5067,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5054
5067
|
"aria-label": $setup.t("breadcrumb.label"),
|
|
5055
5068
|
"aria-hidden": $setup.props.skeleton
|
|
5056
5069
|
}, [
|
|
5057
|
-
createElementVNode("ol", _hoisted_2$
|
|
5070
|
+
createElementVNode("ol", _hoisted_2$K, [
|
|
5058
5071
|
createVNode($setup["OnyxBreadcrumbItem"], {
|
|
5059
5072
|
class: "onyx-breadcrumb__home",
|
|
5060
5073
|
href: $setup.props.home?.link ?? "/",
|
|
@@ -5122,7 +5135,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5122
5135
|
options: withCtx(() => [
|
|
5123
5136
|
createElementVNode(
|
|
5124
5137
|
"div",
|
|
5125
|
-
_hoisted_3$
|
|
5138
|
+
_hoisted_3$u,
|
|
5126
5139
|
null,
|
|
5127
5140
|
512
|
|
5128
5141
|
/* NEED_PATCH */
|
|
@@ -5136,13 +5149,13 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5136
5149
|
/* FORWARDED */
|
|
5137
5150
|
}, 8, ["injection-key"])
|
|
5138
5151
|
])
|
|
5139
|
-
], 10, _hoisted_1$
|
|
5152
|
+
], 10, _hoisted_1$W);
|
|
5140
5153
|
}
|
|
5141
|
-
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5154
|
+
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumb/OnyxBreadcrumb.vue"]]);
|
|
5142
5155
|
const BUTTON_TYPES = ["button", "submit", "reset"];
|
|
5143
5156
|
const BUTTON_COLORS = ["primary", "neutral", "danger"];
|
|
5144
5157
|
const BUTTON_MODES = ["default", "outline", "plain"];
|
|
5145
|
-
const _sfc_main$
|
|
5158
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
5146
5159
|
__name: "OnyxCard",
|
|
5147
5160
|
props: {
|
|
5148
5161
|
density: { type: null, required: false },
|
|
@@ -5161,7 +5174,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
5161
5174
|
return __returned__;
|
|
5162
5175
|
}
|
|
5163
5176
|
});
|
|
5164
|
-
function _sfc_render$
|
|
5177
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5165
5178
|
return openBlock(), createBlock(resolveDynamicComponent($setup.linkProps ? $setup.OnyxRouterLink : $setup.props.clickable ? "button" : "div"), mergeProps($setup.linkProps, {
|
|
5166
5179
|
class: ["onyx-component", "onyx-card", $setup.densityClass, "onyx-truncation-multiline", "onyx-text"]
|
|
5167
5180
|
}), {
|
|
@@ -5172,8 +5185,8 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5172
5185
|
/* FORWARDED */
|
|
5173
5186
|
}, 16, ["class"]);
|
|
5174
5187
|
}
|
|
5175
|
-
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5176
|
-
const _sfc_main$
|
|
5188
|
+
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCard/OnyxCard.vue"]]);
|
|
5189
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
5177
5190
|
__name: "OnyxTooltip",
|
|
5178
5191
|
props: {
|
|
5179
5192
|
density: { type: null, required: false },
|
|
@@ -5328,8 +5341,8 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5328
5341
|
return __returned__;
|
|
5329
5342
|
}
|
|
5330
5343
|
});
|
|
5331
|
-
const _hoisted_1$
|
|
5332
|
-
function _sfc_render$
|
|
5344
|
+
const _hoisted_1$V = { class: "onyx-tooltip--content" };
|
|
5345
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5333
5346
|
return openBlock(), createElementBlock(
|
|
5334
5347
|
"div",
|
|
5335
5348
|
{
|
|
@@ -5345,7 +5358,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5345
5358
|
style: $setup.tooltipStyles
|
|
5346
5359
|
}),
|
|
5347
5360
|
[
|
|
5348
|
-
createElementVNode("div", _hoisted_1$
|
|
5361
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
5349
5362
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
5350
5363
|
key: 0,
|
|
5351
5364
|
icon: $setup.props.icon,
|
|
@@ -5369,8 +5382,8 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5369
5382
|
/* CLASS, STYLE */
|
|
5370
5383
|
);
|
|
5371
5384
|
}
|
|
5372
|
-
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5373
|
-
const _sfc_main$
|
|
5385
|
+
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTooltip/OnyxTooltip.vue"]]);
|
|
5386
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
5374
5387
|
__name: "OnyxCalendarCell",
|
|
5375
5388
|
props: {
|
|
5376
5389
|
density: { type: null, required: false },
|
|
@@ -5400,17 +5413,17 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
5400
5413
|
return __returned__;
|
|
5401
5414
|
}
|
|
5402
5415
|
});
|
|
5403
|
-
const _hoisted_1$
|
|
5404
|
-
const _hoisted_2$
|
|
5405
|
-
const _hoisted_3$
|
|
5416
|
+
const _hoisted_1$U = { class: "onyx-calendar-cell__header" };
|
|
5417
|
+
const _hoisted_2$J = { class: "onyx-calendar-cell__date-container" };
|
|
5418
|
+
const _hoisted_3$t = {
|
|
5406
5419
|
key: 1,
|
|
5407
5420
|
class: "onyx-calendar-cell__date"
|
|
5408
5421
|
};
|
|
5409
|
-
const _hoisted_4$
|
|
5422
|
+
const _hoisted_4$l = {
|
|
5410
5423
|
key: 0,
|
|
5411
5424
|
class: "onyx-calendar-cell__main"
|
|
5412
5425
|
};
|
|
5413
|
-
function _sfc_render$
|
|
5426
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5414
5427
|
return openBlock(), createElementBlock(
|
|
5415
5428
|
"td",
|
|
5416
5429
|
{
|
|
@@ -5436,8 +5449,8 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5436
5449
|
]
|
|
5437
5450
|
}), {
|
|
5438
5451
|
default: withCtx(() => [
|
|
5439
|
-
createElementVNode("div", _hoisted_1$
|
|
5440
|
-
createElementVNode("div", _hoisted_2$
|
|
5452
|
+
createElementVNode("div", _hoisted_1$U, [
|
|
5453
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
5441
5454
|
$setup.props.tooltipText ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
5442
5455
|
key: 0,
|
|
5443
5456
|
text: $setup.props.tooltipText,
|
|
@@ -5456,14 +5469,14 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5456
5469
|
/* STABLE */
|
|
5457
5470
|
}, 8, ["text"])) : (openBlock(), createElementBlock(
|
|
5458
5471
|
"span",
|
|
5459
|
-
_hoisted_3$
|
|
5472
|
+
_hoisted_3$t,
|
|
5460
5473
|
toDisplayString($setup.props.date),
|
|
5461
5474
|
1
|
|
5462
5475
|
/* TEXT */
|
|
5463
5476
|
))
|
|
5464
5477
|
])
|
|
5465
5478
|
]),
|
|
5466
|
-
!!$setup.slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5479
|
+
!!$setup.slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
5467
5480
|
renderSlot(_ctx.$slots, "default")
|
|
5468
5481
|
])) : createCommentVNode("v-if", true)
|
|
5469
5482
|
]),
|
|
@@ -5475,8 +5488,8 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5475
5488
|
/* CLASS */
|
|
5476
5489
|
);
|
|
5477
5490
|
}
|
|
5478
|
-
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5479
|
-
const _sfc_main$
|
|
5491
|
+
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendarCell/OnyxCalendarCell.vue"]]);
|
|
5492
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
5480
5493
|
__name: "OnyxIconButton",
|
|
5481
5494
|
props: {
|
|
5482
5495
|
density: { type: null, required: false },
|
|
@@ -5501,7 +5514,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
5501
5514
|
return __returned__;
|
|
5502
5515
|
}
|
|
5503
5516
|
});
|
|
5504
|
-
function _sfc_render$
|
|
5517
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5505
5518
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5506
5519
|
key: 0,
|
|
5507
5520
|
class: normalizeClass(["onyx-icon-button-skeleton", $setup.densityClass])
|
|
@@ -5529,8 +5542,8 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5529
5542
|
/* FORWARDED */
|
|
5530
5543
|
}, 16, ["aria-label", "title", "class"]));
|
|
5531
5544
|
}
|
|
5532
|
-
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5533
|
-
const _sfc_main$
|
|
5545
|
+
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIconButton/OnyxIconButton.vue"]]);
|
|
5546
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
5534
5547
|
__name: "OnyxTag",
|
|
5535
5548
|
props: {
|
|
5536
5549
|
density: { type: null, required: false },
|
|
@@ -5557,9 +5570,9 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5557
5570
|
return __returned__;
|
|
5558
5571
|
}
|
|
5559
5572
|
});
|
|
5560
|
-
const _hoisted_1$
|
|
5561
|
-
const _hoisted_2$
|
|
5562
|
-
function _sfc_render$
|
|
5573
|
+
const _hoisted_1$T = { class: "onyx-text--small onyx-truncation-ellipsis" };
|
|
5574
|
+
const _hoisted_2$I = { class: "onyx-text--small onyx-truncation-ellipsis" };
|
|
5575
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5563
5576
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5564
5577
|
key: 0,
|
|
5565
5578
|
class: normalizeClass(["onyx-tag-skeleton", $setup.densityClass])
|
|
@@ -5582,7 +5595,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5582
5595
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5583
5596
|
createElementVNode(
|
|
5584
5597
|
"span",
|
|
5585
|
-
_hoisted_1$
|
|
5598
|
+
_hoisted_1$T,
|
|
5586
5599
|
toDisplayString($setup.props.label),
|
|
5587
5600
|
1
|
|
5588
5601
|
/* TEXT */
|
|
@@ -5613,7 +5626,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5613
5626
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5614
5627
|
createElementVNode(
|
|
5615
5628
|
"span",
|
|
5616
|
-
_hoisted_2$
|
|
5629
|
+
_hoisted_2$I,
|
|
5617
5630
|
toDisplayString($setup.props.label),
|
|
5618
5631
|
1
|
|
5619
5632
|
/* TEXT */
|
|
@@ -5623,10 +5636,10 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5623
5636
|
/* CLASS */
|
|
5624
5637
|
));
|
|
5625
5638
|
}
|
|
5626
|
-
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5627
|
-
const __default__$
|
|
5628
|
-
const _sfc_main$
|
|
5629
|
-
...__default__$
|
|
5639
|
+
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTag/OnyxTag.vue"]]);
|
|
5640
|
+
const __default__$7 = {};
|
|
5641
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
5642
|
+
...__default__$7,
|
|
5630
5643
|
__name: "OnyxCalendar",
|
|
5631
5644
|
props: {
|
|
5632
5645
|
density: { type: null, required: false },
|
|
@@ -5740,12 +5753,12 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
5740
5753
|
return __returned__;
|
|
5741
5754
|
}
|
|
5742
5755
|
});
|
|
5743
|
-
const _hoisted_1$
|
|
5744
|
-
const _hoisted_2$
|
|
5745
|
-
const _hoisted_3$
|
|
5746
|
-
const _hoisted_4$
|
|
5747
|
-
const _hoisted_5$
|
|
5748
|
-
function _sfc_render$
|
|
5756
|
+
const _hoisted_1$S = { class: "onyx-calendar__header" };
|
|
5757
|
+
const _hoisted_2$H = { class: "control-container time-control-container" };
|
|
5758
|
+
const _hoisted_3$s = { class: "control-container" };
|
|
5759
|
+
const _hoisted_4$k = { class: "onyx-calendar__body" };
|
|
5760
|
+
const _hoisted_5$f = ["abbr"];
|
|
5761
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5749
5762
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5750
5763
|
"div",
|
|
5751
5764
|
{
|
|
@@ -5766,8 +5779,8 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5766
5779
|
class: normalizeClass(["onyx-component", "onyx-calendar", `onyx-calendar--${$setup.calendarSize}`, $setup.densityClass])
|
|
5767
5780
|
},
|
|
5768
5781
|
[
|
|
5769
|
-
createElementVNode("div", _hoisted_1$
|
|
5770
|
-
createElementVNode("div", _hoisted_2$
|
|
5782
|
+
createElementVNode("div", _hoisted_1$S, [
|
|
5783
|
+
createElementVNode("div", _hoisted_2$H, [
|
|
5771
5784
|
createVNode($setup["OnyxSystemButton"], {
|
|
5772
5785
|
label: $setup.t("calendar.todayButton.label"),
|
|
5773
5786
|
class: "control-container__today-btn",
|
|
@@ -5810,11 +5823,11 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5810
5823
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.goToMonthByOffset(1))
|
|
5811
5824
|
}, null, 8, ["label", "icon", "disabled"])
|
|
5812
5825
|
]),
|
|
5813
|
-
createElementVNode("div", _hoisted_3$
|
|
5826
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
5814
5827
|
renderSlot(_ctx.$slots, "actions")
|
|
5815
5828
|
])
|
|
5816
5829
|
]),
|
|
5817
|
-
createElementVNode("div", _hoisted_4$
|
|
5830
|
+
createElementVNode("div", _hoisted_4$k, [
|
|
5818
5831
|
createElementVNode(
|
|
5819
5832
|
"table",
|
|
5820
5833
|
normalizeProps(guardReactiveProps($setup.tableProps)),
|
|
@@ -5829,7 +5842,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5829
5842
|
key: header,
|
|
5830
5843
|
scope: "col",
|
|
5831
5844
|
abbr: header
|
|
5832
|
-
}, toDisplayString(header), 9, _hoisted_5$
|
|
5845
|
+
}, toDisplayString(header), 9, _hoisted_5$f);
|
|
5833
5846
|
}),
|
|
5834
5847
|
128
|
|
5835
5848
|
/* KEYED_FRAGMENT */
|
|
@@ -5906,7 +5919,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5906
5919
|
/* CLASS */
|
|
5907
5920
|
));
|
|
5908
5921
|
}
|
|
5909
|
-
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5922
|
+
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendar/OnyxCalendar.vue"]]);
|
|
5910
5923
|
const useRequired = (props, requiredMarker) => ({
|
|
5911
5924
|
/**
|
|
5912
5925
|
* Class that configures which type of required marker is used.
|
|
@@ -6122,7 +6135,7 @@ const formatMinMax = (locale, type, value) => {
|
|
|
6122
6135
|
};
|
|
6123
6136
|
return date.toLocaleString(locale, format);
|
|
6124
6137
|
};
|
|
6125
|
-
const _sfc_main$
|
|
6138
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
6126
6139
|
__name: "OnyxErrorTooltip",
|
|
6127
6140
|
props: {
|
|
6128
6141
|
errorMessages: { type: Object, required: false },
|
|
@@ -6138,16 +6151,16 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
6138
6151
|
return __returned__;
|
|
6139
6152
|
}
|
|
6140
6153
|
});
|
|
6141
|
-
const _hoisted_1$
|
|
6142
|
-
const _hoisted_2$
|
|
6154
|
+
const _hoisted_1$R = { class: "onyx-component" };
|
|
6155
|
+
const _hoisted_2$G = {
|
|
6143
6156
|
key: 0,
|
|
6144
6157
|
ref: "targetRef"
|
|
6145
6158
|
};
|
|
6146
|
-
function _sfc_render$
|
|
6147
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6159
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6160
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
6148
6161
|
!$setup.tooltipError || $setup.props.disabled ? (openBlock(), createElementBlock(
|
|
6149
6162
|
"div",
|
|
6150
|
-
_hoisted_2$
|
|
6163
|
+
_hoisted_2$G,
|
|
6151
6164
|
null,
|
|
6152
6165
|
512
|
|
6153
6166
|
/* NEED_PATCH */
|
|
@@ -6180,8 +6193,8 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6180
6193
|
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
6181
6194
|
]);
|
|
6182
6195
|
}
|
|
6183
|
-
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6184
|
-
const _sfc_main$
|
|
6196
|
+
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxErrorTooltip/OnyxErrorTooltip.vue"]]);
|
|
6197
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
6185
6198
|
...{ inheritAttrs: false },
|
|
6186
6199
|
__name: "OnyxCheckbox",
|
|
6187
6200
|
props: {
|
|
@@ -6228,10 +6241,10 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
6228
6241
|
return __returned__;
|
|
6229
6242
|
}
|
|
6230
6243
|
});
|
|
6231
|
-
const _hoisted_1$
|
|
6232
|
-
const _hoisted_2$
|
|
6233
|
-
const _hoisted_3$
|
|
6234
|
-
function _sfc_render$
|
|
6244
|
+
const _hoisted_1$Q = ["title"];
|
|
6245
|
+
const _hoisted_2$F = { class: "onyx-checkbox__container" };
|
|
6246
|
+
const _hoisted_3$r = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"];
|
|
6247
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6235
6248
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
6236
6249
|
"div",
|
|
6237
6250
|
mergeProps({
|
|
@@ -6257,7 +6270,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6257
6270
|
class: normalizeClass(["onyx-component onyx-checkbox", [$setup.requiredTypeClass, $setup.densityClass]]),
|
|
6258
6271
|
title: $setup.title
|
|
6259
6272
|
}, [
|
|
6260
|
-
createElementVNode("div", _hoisted_2$
|
|
6273
|
+
createElementVNode("div", _hoisted_2$F, [
|
|
6261
6274
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
6262
6275
|
key: 0,
|
|
6263
6276
|
class: "onyx-checkbox__loading",
|
|
@@ -6274,7 +6287,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6274
6287
|
required: $setup.props.required,
|
|
6275
6288
|
value: $setup.props.value,
|
|
6276
6289
|
autofocus: $setup.props.autofocus
|
|
6277
|
-
}, $setup.restAttrs), null, 16, _hoisted_3$
|
|
6290
|
+
}, $setup.restAttrs), null, 16, _hoisted_3$r)), [
|
|
6278
6291
|
[vModelCheckbox, $setup.isChecked],
|
|
6279
6292
|
[$setup["vCustomValidity"]]
|
|
6280
6293
|
])
|
|
@@ -6310,13 +6323,13 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6310
6323
|
64
|
|
6311
6324
|
/* STABLE_FRAGMENT */
|
|
6312
6325
|
)) : createCommentVNode("v-if", true)
|
|
6313
|
-
], 10, _hoisted_1$
|
|
6326
|
+
], 10, _hoisted_1$Q)
|
|
6314
6327
|
]),
|
|
6315
6328
|
_: 1
|
|
6316
6329
|
/* STABLE */
|
|
6317
6330
|
}, 16, ["disabled", "error-messages"]));
|
|
6318
6331
|
}
|
|
6319
|
-
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6332
|
+
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckbox/OnyxCheckbox.vue"]]);
|
|
6320
6333
|
const useSelectAllCheckboxState = (enabledOptionValues, modelValue) => computed(() => {
|
|
6321
6334
|
const currentValues = modelValue.value.filter(
|
|
6322
6335
|
(value) => enabledOptionValues.value.includes(value)
|
|
@@ -6351,7 +6364,7 @@ const useCheckAll = (enabledOptionValues, modelValue, onChangeCallback) => {
|
|
|
6351
6364
|
}
|
|
6352
6365
|
};
|
|
6353
6366
|
};
|
|
6354
|
-
const _sfc_main$
|
|
6367
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
6355
6368
|
__name: "OnyxInfoTooltip",
|
|
6356
6369
|
props: {
|
|
6357
6370
|
text: { type: String, required: true },
|
|
@@ -6387,9 +6400,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
6387
6400
|
return __returned__;
|
|
6388
6401
|
}
|
|
6389
6402
|
});
|
|
6390
|
-
const _hoisted_1$
|
|
6391
|
-
function _sfc_render$
|
|
6392
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
6403
|
+
const _hoisted_1$P = { class: "onyx-component onyx-info-tooltip" };
|
|
6404
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6405
|
+
return openBlock(), createElementBlock("span", _hoisted_1$P, [
|
|
6393
6406
|
$setup.triggerType === "click" ? (openBlock(), createBlock($setup["OnyxTooltip"], mergeProps({ key: 0 }, $setup.tooltipProps, {
|
|
6394
6407
|
open: $setup.isVisible,
|
|
6395
6408
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isVisible = $event)
|
|
@@ -6447,8 +6460,8 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6447
6460
|
))
|
|
6448
6461
|
]);
|
|
6449
6462
|
}
|
|
6450
|
-
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6451
|
-
const _sfc_main
|
|
6463
|
+
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoTooltip/OnyxInfoTooltip.vue"]]);
|
|
6464
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
6452
6465
|
__name: "OnyxCheckboxGroup",
|
|
6453
6466
|
props: {
|
|
6454
6467
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -6506,18 +6519,18 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
6506
6519
|
return __returned__;
|
|
6507
6520
|
}
|
|
6508
6521
|
});
|
|
6509
|
-
const _hoisted_1$
|
|
6510
|
-
const _hoisted_2$
|
|
6522
|
+
const _hoisted_1$O = ["disabled", "aria-label"];
|
|
6523
|
+
const _hoisted_2$E = {
|
|
6511
6524
|
key: 0,
|
|
6512
6525
|
class: "onyx-checkbox-group__label"
|
|
6513
6526
|
};
|
|
6514
|
-
function _sfc_render
|
|
6527
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6515
6528
|
return openBlock(), createElementBlock("fieldset", {
|
|
6516
6529
|
class: normalizeClass(["onyx-component", "onyx-checkbox-group", $setup.densityClass]),
|
|
6517
6530
|
disabled: $setup.disabled,
|
|
6518
6531
|
"aria-label": $setup.props.label
|
|
6519
6532
|
}, [
|
|
6520
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$
|
|
6533
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("legend", _hoisted_2$E, [
|
|
6521
6534
|
createVNode($setup["OnyxHeadline"], { is: "h3" }, {
|
|
6522
6535
|
default: withCtx(() => [
|
|
6523
6536
|
createTextVNode(
|
|
@@ -6597,12 +6610,12 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6597
6610
|
2
|
|
6598
6611
|
/* CLASS */
|
|
6599
6612
|
)
|
|
6600
|
-
], 10, _hoisted_1$
|
|
6613
|
+
], 10, _hoisted_1$O);
|
|
6601
6614
|
}
|
|
6602
|
-
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6615
|
+
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue"]]);
|
|
6603
6616
|
const CODE_TABS_INJECTION_KEY = Symbol();
|
|
6604
6617
|
const TABS_INJECTION_KEY = Symbol();
|
|
6605
|
-
const _sfc_main$
|
|
6618
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
6606
6619
|
...{ inheritAttrs: false },
|
|
6607
6620
|
__name: "OnyxTab",
|
|
6608
6621
|
props: {
|
|
@@ -6633,9 +6646,9 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
6633
6646
|
return __returned__;
|
|
6634
6647
|
}
|
|
6635
6648
|
});
|
|
6636
|
-
const _hoisted_1$
|
|
6637
|
-
const _hoisted_2$
|
|
6638
|
-
function _sfc_render$
|
|
6649
|
+
const _hoisted_1$N = ["disabled"];
|
|
6650
|
+
const _hoisted_2$D = { class: "onyx-tab__label" };
|
|
6651
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6639
6652
|
return openBlock(), createElementBlock(
|
|
6640
6653
|
Fragment,
|
|
6641
6654
|
null,
|
|
@@ -6656,7 +6669,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6656
6669
|
type: "button",
|
|
6657
6670
|
disabled: $setup.props.disabled
|
|
6658
6671
|
}), [
|
|
6659
|
-
createElementVNode("div", _hoisted_2$
|
|
6672
|
+
createElementVNode("div", _hoisted_2$D, [
|
|
6660
6673
|
renderSlot(_ctx.$slots, "tab", {}, () => [
|
|
6661
6674
|
createTextVNode(
|
|
6662
6675
|
toDisplayString($setup.props.label),
|
|
@@ -6665,7 +6678,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6665
6678
|
)
|
|
6666
6679
|
])
|
|
6667
6680
|
])
|
|
6668
|
-
], 16, _hoisted_1$
|
|
6681
|
+
], 16, _hoisted_1$N)),
|
|
6669
6682
|
$setup.tabsContext?.panel.value ? (openBlock(), createBlock(Teleport, {
|
|
6670
6683
|
key: 2,
|
|
6671
6684
|
to: $setup.tabsContext?.panel.value,
|
|
@@ -6690,10 +6703,10 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6690
6703
|
/* STABLE_FRAGMENT */
|
|
6691
6704
|
);
|
|
6692
6705
|
}
|
|
6693
|
-
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6694
|
-
const __default__$
|
|
6695
|
-
const _sfc_main$
|
|
6696
|
-
...__default__$
|
|
6706
|
+
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTab/OnyxTab.vue"]]);
|
|
6707
|
+
const __default__$6 = {};
|
|
6708
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
6709
|
+
...__default__$6,
|
|
6697
6710
|
__name: "OnyxCodeTab",
|
|
6698
6711
|
props: {
|
|
6699
6712
|
value: { type: null, required: true },
|
|
@@ -6734,15 +6747,15 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
6734
6747
|
return __returned__;
|
|
6735
6748
|
}
|
|
6736
6749
|
});
|
|
6737
|
-
const _hoisted_1$
|
|
6750
|
+
const _hoisted_1$M = {
|
|
6738
6751
|
key: 0,
|
|
6739
6752
|
class: "onyx-code-tab__skeletons"
|
|
6740
6753
|
};
|
|
6741
|
-
const _hoisted_2$
|
|
6754
|
+
const _hoisted_2$C = {
|
|
6742
6755
|
key: 0,
|
|
6743
6756
|
class: "onyx-code-tab__language onyx-text--small"
|
|
6744
6757
|
};
|
|
6745
|
-
function _sfc_render$
|
|
6758
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6746
6759
|
return openBlock(), createBlock($setup["OnyxTab"], mergeProps($setup.tabProps, {
|
|
6747
6760
|
label: $setup.label,
|
|
6748
6761
|
class: "onyx-code-tab",
|
|
@@ -6763,7 +6776,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6763
6776
|
])
|
|
6764
6777
|
]),
|
|
6765
6778
|
default: withCtx(() => [
|
|
6766
|
-
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6779
|
+
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
6767
6780
|
(openBlock(), createElementBlock(
|
|
6768
6781
|
Fragment,
|
|
6769
6782
|
null,
|
|
@@ -6793,7 +6806,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6793
6806
|
]),
|
|
6794
6807
|
$setup.props.language ? (openBlock(), createElementBlock(
|
|
6795
6808
|
"span",
|
|
6796
|
-
_hoisted_2$
|
|
6809
|
+
_hoisted_2$C,
|
|
6797
6810
|
toDisplayString($setup.props.language),
|
|
6798
6811
|
1
|
|
6799
6812
|
/* TEXT */
|
|
@@ -6807,8 +6820,8 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6807
6820
|
/* FORWARDED */
|
|
6808
6821
|
}, 16, ["label", "disabled"]);
|
|
6809
6822
|
}
|
|
6810
|
-
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6811
|
-
const _sfc_main
|
|
6823
|
+
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTab/OnyxCodeTab.vue"]]);
|
|
6824
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
6812
6825
|
__name: "OnyxTabs",
|
|
6813
6826
|
props: {
|
|
6814
6827
|
density: { type: null, required: false },
|
|
@@ -6847,12 +6860,12 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
6847
6860
|
return __returned__;
|
|
6848
6861
|
}
|
|
6849
6862
|
});
|
|
6850
|
-
const _hoisted_1$
|
|
6851
|
-
const _hoisted_2$
|
|
6863
|
+
const _hoisted_1$L = { class: "onyx-tabs__header" };
|
|
6864
|
+
const _hoisted_2$B = {
|
|
6852
6865
|
key: 0,
|
|
6853
6866
|
class: "onyx-tabs__actions"
|
|
6854
6867
|
};
|
|
6855
|
-
function _sfc_render
|
|
6868
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6856
6869
|
return openBlock(), createElementBlock(
|
|
6857
6870
|
"div",
|
|
6858
6871
|
{
|
|
@@ -6865,7 +6878,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6865
6878
|
])
|
|
6866
6879
|
},
|
|
6867
6880
|
[
|
|
6868
|
-
createElementVNode("div", _hoisted_1$
|
|
6881
|
+
createElementVNode("div", _hoisted_1$L, [
|
|
6869
6882
|
createElementVNode(
|
|
6870
6883
|
"div",
|
|
6871
6884
|
mergeProps($setup.headless.elements.tablist.value, { class: "onyx-tabs__tablist" }),
|
|
@@ -6875,7 +6888,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6875
6888
|
16
|
|
6876
6889
|
/* FULL_PROPS */
|
|
6877
6890
|
),
|
|
6878
|
-
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6891
|
+
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
|
|
6879
6892
|
renderSlot(_ctx.$slots, "actions")
|
|
6880
6893
|
])) : createCommentVNode("v-if", true)
|
|
6881
6894
|
])
|
|
@@ -6884,10 +6897,10 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6884
6897
|
/* CLASS */
|
|
6885
6898
|
);
|
|
6886
6899
|
}
|
|
6887
|
-
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6888
|
-
const __default__$
|
|
6889
|
-
const _sfc_main$
|
|
6890
|
-
...__default__$
|
|
6900
|
+
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTabs/OnyxTabs.vue"]]);
|
|
6901
|
+
const __default__$5 = {};
|
|
6902
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
6903
|
+
...__default__$5,
|
|
6891
6904
|
__name: "OnyxCodeTabs",
|
|
6892
6905
|
props: {
|
|
6893
6906
|
skeleton: { type: Boolean, required: false },
|
|
@@ -6928,7 +6941,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
6928
6941
|
return __returned__;
|
|
6929
6942
|
}
|
|
6930
6943
|
});
|
|
6931
|
-
function _sfc_render$
|
|
6944
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6932
6945
|
return openBlock(), createBlock($setup["OnyxTabs"], mergeProps($setup.tabsProps, {
|
|
6933
6946
|
modelValue: $setup.modelValue,
|
|
6934
6947
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.modelValue = $event),
|
|
@@ -6961,13 +6974,13 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6961
6974
|
/* FORWARDED */
|
|
6962
6975
|
}, 16, ["modelValue", "label"]);
|
|
6963
6976
|
}
|
|
6964
|
-
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6977
|
+
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTabs/OnyxCodeTabs.vue"]]);
|
|
6965
6978
|
const escapeCSS = (key) => {
|
|
6966
6979
|
const name = typeof key === "symbol" && key.description ? key.description : String(key);
|
|
6967
6980
|
if (globalThis.window && window.CSS) return CSS.escape(name);
|
|
6968
6981
|
return name.replace(/\W/g, "-");
|
|
6969
6982
|
};
|
|
6970
|
-
const _sfc_main$
|
|
6983
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
6971
6984
|
__name: "OnyxEmpty",
|
|
6972
6985
|
props: {
|
|
6973
6986
|
density: { type: null, required: false }
|
|
@@ -6984,12 +6997,12 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
6984
6997
|
return __returned__;
|
|
6985
6998
|
}
|
|
6986
6999
|
});
|
|
6987
|
-
const _hoisted_1$
|
|
6988
|
-
const _hoisted_2$
|
|
7000
|
+
const _hoisted_1$K = { class: "onyx-empty__label onyx-text onyx-truncation-multiline" };
|
|
7001
|
+
const _hoisted_2$A = {
|
|
6989
7002
|
key: 0,
|
|
6990
7003
|
class: "onyx-empty__buttons"
|
|
6991
7004
|
};
|
|
6992
|
-
function _sfc_render$
|
|
7005
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6993
7006
|
return openBlock(), createElementBlock(
|
|
6994
7007
|
"div",
|
|
6995
7008
|
{
|
|
@@ -7002,10 +7015,10 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7002
7015
|
size: "48px"
|
|
7003
7016
|
}, null, 8, ["icon"])
|
|
7004
7017
|
]),
|
|
7005
|
-
createElementVNode("div", _hoisted_1$
|
|
7018
|
+
createElementVNode("div", _hoisted_1$K, [
|
|
7006
7019
|
renderSlot(_ctx.$slots, "default")
|
|
7007
7020
|
]),
|
|
7008
|
-
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
7021
|
+
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
|
|
7009
7022
|
renderSlot(_ctx.$slots, "buttons")
|
|
7010
7023
|
])) : createCommentVNode("v-if", true)
|
|
7011
7024
|
],
|
|
@@ -7013,8 +7026,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7013
7026
|
/* CLASS */
|
|
7014
7027
|
);
|
|
7015
7028
|
}
|
|
7016
|
-
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7017
|
-
const _sfc_main$
|
|
7029
|
+
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxEmpty/OnyxEmpty.vue"]]);
|
|
7030
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
7018
7031
|
__name: "OnyxTable",
|
|
7019
7032
|
props: {
|
|
7020
7033
|
density: { type: null, required: false },
|
|
@@ -7045,16 +7058,16 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
7045
7058
|
return __returned__;
|
|
7046
7059
|
}
|
|
7047
7060
|
});
|
|
7048
|
-
const _hoisted_1$
|
|
7061
|
+
const _hoisted_1$J = {
|
|
7049
7062
|
key: 0,
|
|
7050
7063
|
class: "onyx-table-wrapper__top"
|
|
7051
7064
|
};
|
|
7052
|
-
const _hoisted_2$
|
|
7053
|
-
const _hoisted_3$
|
|
7054
|
-
const _hoisted_4$
|
|
7055
|
-
const _hoisted_5$
|
|
7056
|
-
const _hoisted_6$
|
|
7057
|
-
const _hoisted_7$
|
|
7065
|
+
const _hoisted_2$z = ["id"];
|
|
7066
|
+
const _hoisted_3$q = { class: "onyx-table-wrapper__actions" };
|
|
7067
|
+
const _hoisted_4$j = ["tabindex"];
|
|
7068
|
+
const _hoisted_5$e = ["aria-labelledby"];
|
|
7069
|
+
const _hoisted_6$a = ["span"];
|
|
7070
|
+
const _hoisted_7$6 = {
|
|
7058
7071
|
key: 0,
|
|
7059
7072
|
class: "onyx-table__header"
|
|
7060
7073
|
};
|
|
@@ -7067,7 +7080,7 @@ const _hoisted_13 = {
|
|
|
7067
7080
|
key: 1,
|
|
7068
7081
|
class: "onyx-table-wrapper__bottom"
|
|
7069
7082
|
};
|
|
7070
|
-
function _sfc_render$
|
|
7083
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7071
7084
|
return openBlock(), createElementBlock(
|
|
7072
7085
|
"div",
|
|
7073
7086
|
{
|
|
@@ -7075,11 +7088,11 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7075
7088
|
style: normalizeStyle($setup.style)
|
|
7076
7089
|
},
|
|
7077
7090
|
[
|
|
7078
|
-
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7091
|
+
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
7079
7092
|
createElementVNode("div", { id: $setup.headlineId }, [
|
|
7080
7093
|
renderSlot(_ctx.$slots, "headline")
|
|
7081
|
-
], 8, _hoisted_2$
|
|
7082
|
-
createElementVNode("div", _hoisted_3$
|
|
7094
|
+
], 8, _hoisted_2$z),
|
|
7095
|
+
createElementVNode("div", _hoisted_3$q, [
|
|
7083
7096
|
renderSlot(_ctx.$slots, "actions")
|
|
7084
7097
|
])
|
|
7085
7098
|
])) : createCommentVNode("v-if", true),
|
|
@@ -7109,12 +7122,12 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7109
7122
|
return openBlock(), createElementBlock("colgroup", {
|
|
7110
7123
|
key: group.key,
|
|
7111
7124
|
span: group.span
|
|
7112
|
-
}, null, 8, _hoisted_6$
|
|
7125
|
+
}, null, 8, _hoisted_6$a);
|
|
7113
7126
|
}),
|
|
7114
7127
|
128
|
|
7115
7128
|
/* KEYED_FRAGMENT */
|
|
7116
7129
|
)),
|
|
7117
|
-
$setup.slots.head ? (openBlock(), createElementBlock("thead", _hoisted_7$
|
|
7130
|
+
$setup.slots.head ? (openBlock(), createElementBlock("thead", _hoisted_7$6, [
|
|
7118
7131
|
$setup.props.columnGroups?.length ? (openBlock(), createElementBlock("tr", _hoisted_8$5, [
|
|
7119
7132
|
(openBlock(true), createElementBlock(
|
|
7120
7133
|
Fragment,
|
|
@@ -7156,8 +7169,8 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7156
7169
|
])
|
|
7157
7170
|
])
|
|
7158
7171
|
])
|
|
7159
|
-
], 10, _hoisted_5$
|
|
7160
|
-
], 16, _hoisted_4$
|
|
7172
|
+
], 10, _hoisted_5$e)
|
|
7173
|
+
], 16, _hoisted_4$j),
|
|
7161
7174
|
!!$setup.slots.bottomLeft || !!$setup.slots.pagination ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
7162
7175
|
createElementVNode("div", null, [
|
|
7163
7176
|
renderSlot(_ctx.$slots, "bottomLeft")
|
|
@@ -7171,8 +7184,8 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7171
7184
|
/* STYLE */
|
|
7172
7185
|
);
|
|
7173
7186
|
}
|
|
7174
|
-
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7175
|
-
const _sfc_main$
|
|
7187
|
+
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTable/OnyxTable.vue"]]);
|
|
7188
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
7176
7189
|
__name: "OnyxDataGridRenderer",
|
|
7177
7190
|
props: {
|
|
7178
7191
|
density: { type: null, required: false },
|
|
@@ -7208,7 +7221,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
7208
7221
|
return __returned__;
|
|
7209
7222
|
}
|
|
7210
7223
|
});
|
|
7211
|
-
function _sfc_render$
|
|
7224
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7212
7225
|
return openBlock(), createBlock($setup["OnyxTable"], mergeProps({ class: "onyx-data-grid" }, $setup.tableProps, {
|
|
7213
7226
|
"scroll-container-attrs": $setup.mergeVueProps($setup.props.scrollContainerAttrs, { style: $setup.columnStyle })
|
|
7214
7227
|
}), createSlots({
|
|
@@ -7315,8 +7328,8 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7315
7328
|
})
|
|
7316
7329
|
]), 1040, ["scroll-container-attrs"]);
|
|
7317
7330
|
}
|
|
7318
|
-
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7319
|
-
const _sfc_main$
|
|
7331
|
+
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGridRenderer/OnyxDataGridRenderer.vue"]]);
|
|
7332
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
7320
7333
|
...{ inheritAttrs: false },
|
|
7321
7334
|
__name: "OnyxMiniSearch",
|
|
7322
7335
|
props: {
|
|
@@ -7356,9 +7369,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
7356
7369
|
return __returned__;
|
|
7357
7370
|
}
|
|
7358
7371
|
});
|
|
7359
|
-
const _hoisted_1$
|
|
7360
|
-
const _hoisted_2$
|
|
7361
|
-
function _sfc_render$
|
|
7372
|
+
const _hoisted_1$I = ["autofocus", "placeholder", "aria-label"];
|
|
7373
|
+
const _hoisted_2$y = ["aria-label"];
|
|
7374
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7362
7375
|
return openBlock(), createElementBlock(
|
|
7363
7376
|
"div",
|
|
7364
7377
|
mergeProps({
|
|
@@ -7377,7 +7390,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7377
7390
|
size: "1"
|
|
7378
7391
|
}, $setup.restAttrs, {
|
|
7379
7392
|
"aria-label": $setup.props.label
|
|
7380
|
-
}), null, 16, _hoisted_1$
|
|
7393
|
+
}), null, 16, _hoisted_1$I), [
|
|
7381
7394
|
[vModelText, $setup.modelValue]
|
|
7382
7395
|
]),
|
|
7383
7396
|
createElementVNode("button", {
|
|
@@ -7390,7 +7403,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7390
7403
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.emit("clear"))
|
|
7391
7404
|
}, [
|
|
7392
7405
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
7393
|
-
], 40, _hoisted_2$
|
|
7406
|
+
], 40, _hoisted_2$y),
|
|
7394
7407
|
createVNode($setup["OnyxIcon"], {
|
|
7395
7408
|
class: "onyx-mini-search__icon",
|
|
7396
7409
|
icon: $setup.iconSearch
|
|
@@ -7400,11 +7413,11 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7400
7413
|
/* FULL_PROPS */
|
|
7401
7414
|
);
|
|
7402
7415
|
}
|
|
7403
|
-
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7416
|
+
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMiniSearch/OnyxMiniSearch.vue"]]);
|
|
7404
7417
|
const prepareMapping = (features, key) => features.flatMap((f) => f[key]).filter((f) => f?.func).sort((a, b) => (a?.order ?? 0) - (b?.order ?? 0));
|
|
7405
7418
|
const applyMapping = (mapping, input2) => mapping.reduce((output, m) => m.func(output), input2);
|
|
7406
7419
|
const DataGridRowOptionsSymbol = Symbol("RowOptions");
|
|
7407
|
-
const _sfc_main$
|
|
7420
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
7408
7421
|
__name: "HeaderCell",
|
|
7409
7422
|
props: {
|
|
7410
7423
|
label: { type: String, required: true }
|
|
@@ -7418,27 +7431,27 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
7418
7431
|
return __returned__;
|
|
7419
7432
|
}
|
|
7420
7433
|
});
|
|
7421
|
-
const _hoisted_1$
|
|
7422
|
-
const _hoisted_2$
|
|
7423
|
-
const _hoisted_3$
|
|
7434
|
+
const _hoisted_1$H = { class: "onyx-component onyx-data-grid-header-cell" };
|
|
7435
|
+
const _hoisted_2$x = { class: "onyx-data-grid-header-cell__label" };
|
|
7436
|
+
const _hoisted_3$p = {
|
|
7424
7437
|
key: 0,
|
|
7425
7438
|
class: "onyx-data-grid-header-cell__actions"
|
|
7426
7439
|
};
|
|
7427
|
-
function _sfc_render$
|
|
7428
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7440
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7441
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
7429
7442
|
createElementVNode(
|
|
7430
7443
|
"span",
|
|
7431
|
-
_hoisted_2$
|
|
7444
|
+
_hoisted_2$x,
|
|
7432
7445
|
toDisplayString($setup.props.label),
|
|
7433
7446
|
1
|
|
7434
7447
|
/* TEXT */
|
|
7435
7448
|
),
|
|
7436
|
-
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7449
|
+
$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$p, [
|
|
7437
7450
|
renderSlot(_ctx.$slots, "actions")
|
|
7438
7451
|
])) : createCommentVNode("v-if", true)
|
|
7439
7452
|
]);
|
|
7440
7453
|
}
|
|
7441
|
-
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7454
|
+
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/HeaderCell.vue"]]);
|
|
7442
7455
|
const FALLBACK_RENDER_VALUE = "-";
|
|
7443
7456
|
const fallback = (opts) => opts?.fallback ?? FALLBACK_RENDER_VALUE;
|
|
7444
7457
|
const createTypeRenderer = (typeRenderer) => Object.freeze(typeRenderer);
|
|
@@ -7931,7 +7944,7 @@ const formatBytesToString = (locale, bytes) => {
|
|
|
7931
7944
|
unitDisplay: "narrow"
|
|
7932
7945
|
}).format(value);
|
|
7933
7946
|
};
|
|
7934
|
-
const _sfc_main$
|
|
7947
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
7935
7948
|
__name: "OnyxInlinePagination",
|
|
7936
7949
|
props: {
|
|
7937
7950
|
density: { type: null, required: false },
|
|
@@ -7983,12 +7996,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
7983
7996
|
return __returned__;
|
|
7984
7997
|
}
|
|
7985
7998
|
});
|
|
7986
|
-
const _hoisted_1$
|
|
7987
|
-
const _hoisted_2$
|
|
7988
|
-
const _hoisted_3$
|
|
7989
|
-
const _hoisted_4$
|
|
7990
|
-
const _hoisted_5$
|
|
7991
|
-
function _sfc_render$
|
|
7999
|
+
const _hoisted_1$G = ["aria-label"];
|
|
8000
|
+
const _hoisted_2$w = ["aria-label", "disabled"];
|
|
8001
|
+
const _hoisted_3$o = ["aria-label", "disabled", "onClick"];
|
|
8002
|
+
const _hoisted_4$i = ["aria-label"];
|
|
8003
|
+
const _hoisted_5$d = ["aria-label", "disabled"];
|
|
8004
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7992
8005
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
7993
8006
|
key: 0,
|
|
7994
8007
|
class: normalizeClass([
|
|
@@ -8017,7 +8030,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8017
8030
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue - 1))
|
|
8018
8031
|
}, [
|
|
8019
8032
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronLeftSmall }, null, 8, ["icon"])
|
|
8020
|
-
], 8, _hoisted_2$
|
|
8033
|
+
], 8, _hoisted_2$w),
|
|
8021
8034
|
(openBlock(true), createElementBlock(
|
|
8022
8035
|
Fragment,
|
|
8023
8036
|
null,
|
|
@@ -8036,7 +8049,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8036
8049
|
type: "button",
|
|
8037
8050
|
disabled: $setup.props.disabled,
|
|
8038
8051
|
onClick: ($event) => $setup.emit("update:modelValue", pageNumber)
|
|
8039
|
-
}, toDisplayString(pageNumber), 11, _hoisted_3$
|
|
8052
|
+
}, toDisplayString(pageNumber), 11, _hoisted_3$o)) : (openBlock(), createElementBlock("div", {
|
|
8040
8053
|
key: 1,
|
|
8041
8054
|
class: normalizeClass(["onyx-pagination__more-pages"]),
|
|
8042
8055
|
"aria-label": $setup.t("pagination.morePages")
|
|
@@ -8059,7 +8072,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8059
8072
|
_: 1
|
|
8060
8073
|
/* STABLE */
|
|
8061
8074
|
})
|
|
8062
|
-
], 8, _hoisted_4$
|
|
8075
|
+
], 8, _hoisted_4$i))
|
|
8063
8076
|
],
|
|
8064
8077
|
64
|
|
8065
8078
|
/* STABLE_FRAGMENT */
|
|
@@ -8076,10 +8089,10 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8076
8089
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue + 1))
|
|
8077
8090
|
}, [
|
|
8078
8091
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
8079
|
-
], 8, _hoisted_5$
|
|
8080
|
-
], 10, _hoisted_1$
|
|
8092
|
+
], 8, _hoisted_5$d)
|
|
8093
|
+
], 10, _hoisted_1$G));
|
|
8081
8094
|
}
|
|
8082
|
-
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8095
|
+
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxInlinePagination.vue"]]);
|
|
8083
8096
|
const useErrorClass = (showError) => computed(() => {
|
|
8084
8097
|
if (showError.value === true) {
|
|
8085
8098
|
return "onyx-form-element--immediate-invalid";
|
|
@@ -8089,7 +8102,7 @@ const useErrorClass = (showError) => computed(() => {
|
|
|
8089
8102
|
}
|
|
8090
8103
|
return "onyx-form-element--touched-invalid";
|
|
8091
8104
|
});
|
|
8092
|
-
const _sfc_main$
|
|
8105
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
8093
8106
|
__name: "FormMessage",
|
|
8094
8107
|
props: {
|
|
8095
8108
|
messages: { type: Object, required: true },
|
|
@@ -8103,17 +8116,17 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8103
8116
|
return __returned__;
|
|
8104
8117
|
}
|
|
8105
8118
|
});
|
|
8106
|
-
const _hoisted_1$
|
|
8119
|
+
const _hoisted_1$F = {
|
|
8107
8120
|
class: /* @__PURE__ */ normalizeClass(["onyx-truncation-ellipsis"])
|
|
8108
8121
|
};
|
|
8109
|
-
function _sfc_render$
|
|
8122
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8110
8123
|
return openBlock(), createBlock(resolveDynamicComponent($props.messages.hidden ? $setup.OnyxVisuallyHidden : "span"), {
|
|
8111
8124
|
class: normalizeClass(["onyx-component", "onyx-form-message", `onyx-form-message__${$setup.props.type}`])
|
|
8112
8125
|
}, {
|
|
8113
8126
|
default: withCtx(() => [
|
|
8114
8127
|
createElementVNode(
|
|
8115
8128
|
"span",
|
|
8116
|
-
_hoisted_1$
|
|
8129
|
+
_hoisted_1$F,
|
|
8117
8130
|
toDisplayString($setup.props.messages.shortMessage),
|
|
8118
8131
|
1
|
|
8119
8132
|
/* TEXT */
|
|
@@ -8131,8 +8144,8 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8131
8144
|
/* STABLE */
|
|
8132
8145
|
}, 8, ["class"]);
|
|
8133
8146
|
}
|
|
8134
|
-
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8135
|
-
const _sfc_main$
|
|
8147
|
+
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/FormMessage.vue"]]);
|
|
8148
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
8136
8149
|
__name: "OnyxFormElement",
|
|
8137
8150
|
props: {
|
|
8138
8151
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -8205,17 +8218,17 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
8205
8218
|
return __returned__;
|
|
8206
8219
|
}
|
|
8207
8220
|
});
|
|
8208
|
-
const _hoisted_1$
|
|
8221
|
+
const _hoisted_1$E = {
|
|
8209
8222
|
key: 0,
|
|
8210
8223
|
class: "onyx-form-element__label onyx-text--small"
|
|
8211
8224
|
};
|
|
8212
|
-
const _hoisted_2$
|
|
8213
|
-
const _hoisted_3$
|
|
8225
|
+
const _hoisted_2$v = ["for"];
|
|
8226
|
+
const _hoisted_3$n = {
|
|
8214
8227
|
key: 1,
|
|
8215
8228
|
class: "onyx-form-element__footer onyx-text--small"
|
|
8216
8229
|
};
|
|
8217
|
-
const _hoisted_4$
|
|
8218
|
-
function _sfc_render$
|
|
8230
|
+
const _hoisted_4$h = { class: "onyx-form-element__footer-messages" };
|
|
8231
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8219
8232
|
return openBlock(), createElementBlock(
|
|
8220
8233
|
"div",
|
|
8221
8234
|
{
|
|
@@ -8227,11 +8240,11 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8227
8240
|
])
|
|
8228
8241
|
},
|
|
8229
8242
|
[
|
|
8230
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
8243
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
8231
8244
|
createElementVNode("label", {
|
|
8232
8245
|
for: $setup.props.id,
|
|
8233
8246
|
class: "onyx-truncation-ellipsis"
|
|
8234
|
-
}, toDisplayString($setup.props.label), 9, _hoisted_2$
|
|
8247
|
+
}, toDisplayString($setup.props.label), 9, _hoisted_2$v),
|
|
8235
8248
|
$setup.props.required ? (openBlock(), createElementBlock(
|
|
8236
8249
|
"span",
|
|
8237
8250
|
{
|
|
@@ -8262,8 +8275,8 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8262
8275
|
renderSlot(_ctx.$slots, "default", {
|
|
8263
8276
|
id: $setup.props.id
|
|
8264
8277
|
}),
|
|
8265
|
-
$setup.footer ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8266
|
-
createElementVNode("span", _hoisted_4$
|
|
8278
|
+
$setup.footer ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
|
|
8279
|
+
createElementVNode("span", _hoisted_4$h, [
|
|
8267
8280
|
$setup.footer.errorMessages ? (openBlock(), createBlock($setup["FormMessage"], {
|
|
8268
8281
|
key: 0,
|
|
8269
8282
|
class: "onyx-form-element__error-message",
|
|
@@ -8302,8 +8315,8 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8302
8315
|
/* CLASS */
|
|
8303
8316
|
);
|
|
8304
8317
|
}
|
|
8305
|
-
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8306
|
-
const _sfc_main$
|
|
8318
|
+
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/OnyxFormElement.vue"]]);
|
|
8319
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
8307
8320
|
...{ inheritAttrs: false },
|
|
8308
8321
|
__name: "OnyxSelectInput",
|
|
8309
8322
|
props: {
|
|
@@ -8386,9 +8399,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
8386
8399
|
return __returned__;
|
|
8387
8400
|
}
|
|
8388
8401
|
});
|
|
8389
|
-
const _hoisted_1$
|
|
8390
|
-
const _hoisted_2$
|
|
8391
|
-
function _sfc_render$
|
|
8402
|
+
const _hoisted_1$D = ["id", "readonly", "placeholder", "required", "disabled", "aria-label", "title", "value", "autofocus"];
|
|
8403
|
+
const _hoisted_2$u = ["aria-label", "title", "disabled"];
|
|
8404
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8392
8405
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
8393
8406
|
"div",
|
|
8394
8407
|
mergeProps({
|
|
@@ -8453,7 +8466,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8453
8466
|
autofocus: $setup.props.autofocus,
|
|
8454
8467
|
autocomplete: "off",
|
|
8455
8468
|
onKeydown: $setup.blockTyping
|
|
8456
|
-
}), null, 16, _hoisted_1$
|
|
8469
|
+
}), null, 16, _hoisted_1$D), [
|
|
8457
8470
|
[$setup["vCustomValidity"]]
|
|
8458
8471
|
]),
|
|
8459
8472
|
$setup.props.textMode === "preview" && $setup.selectionCount > 0 ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
@@ -8492,7 +8505,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8492
8505
|
disabled: $setup.disabled || $setup.props.readonly || $setup.props.loading
|
|
8493
8506
|
}, [
|
|
8494
8507
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronDownUp }, null, 8, ["icon"])
|
|
8495
|
-
], 8, _hoisted_2$
|
|
8508
|
+
], 8, _hoisted_2$u),
|
|
8496
8509
|
!$setup.props.hideSuccessIcon && $setup.successMessages ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
8497
8510
|
key: 2,
|
|
8498
8511
|
class: "onyx-select-input__check-icon",
|
|
@@ -8509,8 +8522,8 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8509
8522
|
/* FULL_PROPS */
|
|
8510
8523
|
));
|
|
8511
8524
|
}
|
|
8512
|
-
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8513
|
-
const _sfc_main$
|
|
8525
|
+
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectInput/OnyxSelectInput.vue"]]);
|
|
8526
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
8514
8527
|
__name: "OnyxSelectOption",
|
|
8515
8528
|
props: {
|
|
8516
8529
|
active: { type: Boolean, required: false, default: false },
|
|
@@ -8529,8 +8542,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
8529
8542
|
return __returned__;
|
|
8530
8543
|
}
|
|
8531
8544
|
});
|
|
8532
|
-
const _hoisted_1$
|
|
8533
|
-
function _sfc_render$
|
|
8545
|
+
const _hoisted_1$C = ["checked", "aria-labelledby", "disabled", "indeterminate"];
|
|
8546
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8534
8547
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({ class: "onyx-component onyx-select-option" }, $setup.listItemProps, {
|
|
8535
8548
|
checked: !!_ctx.$attrs["aria-checked"],
|
|
8536
8549
|
selected: !!_ctx.$attrs["aria-selected"],
|
|
@@ -8547,7 +8560,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8547
8560
|
tabindex: "-1",
|
|
8548
8561
|
class: "onyx-select-option__checkbox",
|
|
8549
8562
|
type: "checkbox"
|
|
8550
|
-
}, null, 8, _hoisted_1$
|
|
8563
|
+
}, null, 8, _hoisted_1$C)) : createCommentVNode("v-if", true),
|
|
8551
8564
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
8552
8565
|
key: 1,
|
|
8553
8566
|
icon: $setup.props.icon
|
|
@@ -8568,8 +8581,8 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8568
8581
|
/* FORWARDED */
|
|
8569
8582
|
}, 16, ["checked", "selected", "disabled"]);
|
|
8570
8583
|
}
|
|
8571
|
-
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8572
|
-
const _sfc_main$
|
|
8584
|
+
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectOption/OnyxSelectOption.vue"]]);
|
|
8585
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
8573
8586
|
__name: "OnyxSelect",
|
|
8574
8587
|
props: {
|
|
8575
8588
|
density: { type: null, required: false },
|
|
@@ -8839,33 +8852,33 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
8839
8852
|
return __returned__;
|
|
8840
8853
|
}
|
|
8841
8854
|
});
|
|
8842
|
-
const _hoisted_1$
|
|
8855
|
+
const _hoisted_1$B = {
|
|
8843
8856
|
ref: "selectRef",
|
|
8844
8857
|
class: "onyx-component onyx-select-wrapper"
|
|
8845
8858
|
};
|
|
8846
|
-
const _hoisted_2$
|
|
8859
|
+
const _hoisted_2$t = {
|
|
8847
8860
|
class: "onyx-select__wrapper",
|
|
8848
8861
|
tabindex: "-1"
|
|
8849
8862
|
};
|
|
8850
|
-
const _hoisted_3$
|
|
8863
|
+
const _hoisted_3$m = {
|
|
8851
8864
|
key: 0,
|
|
8852
8865
|
role: "group",
|
|
8853
8866
|
class: "onyx-select__group"
|
|
8854
8867
|
};
|
|
8855
|
-
const _hoisted_4$
|
|
8868
|
+
const _hoisted_4$g = {
|
|
8856
8869
|
role: "option",
|
|
8857
8870
|
"aria-selected": "false"
|
|
8858
8871
|
};
|
|
8859
|
-
const _hoisted_5$
|
|
8872
|
+
const _hoisted_5$c = {
|
|
8860
8873
|
key: 0,
|
|
8861
8874
|
role: "presentation",
|
|
8862
8875
|
class: "onyx-select__group-name onyx-text--small"
|
|
8863
8876
|
};
|
|
8864
|
-
const _hoisted_6$
|
|
8877
|
+
const _hoisted_6$9 = {
|
|
8865
8878
|
key: 1,
|
|
8866
8879
|
class: "onyx-select__slot"
|
|
8867
8880
|
};
|
|
8868
|
-
const _hoisted_7$
|
|
8881
|
+
const _hoisted_7$5 = {
|
|
8869
8882
|
key: 2,
|
|
8870
8883
|
class: "onyx-select__slot"
|
|
8871
8884
|
};
|
|
@@ -8873,10 +8886,10 @@ const _hoisted_8$4 = {
|
|
|
8873
8886
|
key: 0,
|
|
8874
8887
|
class: "onyx-select__description onyx-text--small"
|
|
8875
8888
|
};
|
|
8876
|
-
function _sfc_render$
|
|
8889
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8877
8890
|
return openBlock(), createElementBlock(
|
|
8878
8891
|
"div",
|
|
8879
|
-
_hoisted_1$
|
|
8892
|
+
_hoisted_1$B,
|
|
8880
8893
|
[
|
|
8881
8894
|
createVNode($setup["OnyxBasicPopover"], {
|
|
8882
8895
|
class: normalizeClass($setup.densityClass),
|
|
@@ -8895,7 +8908,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8895
8908
|
}), null, 16, ["show-focus", "autofocus"])
|
|
8896
8909
|
]),
|
|
8897
8910
|
content: withCtx(() => [
|
|
8898
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$
|
|
8911
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$t, [
|
|
8899
8912
|
$setup.props.withSearch ? (openBlock(), createBlock($setup["OnyxMiniSearch"], mergeProps({
|
|
8900
8913
|
key: 0,
|
|
8901
8914
|
ref: "miniSearchRef",
|
|
@@ -8910,8 +8923,8 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8910
8923
|
"div",
|
|
8911
8924
|
normalizeProps(guardReactiveProps($setup.listbox)),
|
|
8912
8925
|
[
|
|
8913
|
-
$setup.isEmptyMessage ? (openBlock(), createElementBlock("ul", _hoisted_3$
|
|
8914
|
-
createElementVNode("li", _hoisted_4$
|
|
8926
|
+
$setup.isEmptyMessage ? (openBlock(), createElementBlock("ul", _hoisted_3$m, [
|
|
8927
|
+
createElementVNode("li", _hoisted_4$g, [
|
|
8915
8928
|
renderSlot(_ctx.$slots, "empty", { defaultMessage: $setup.isEmptyMessage }, () => [
|
|
8916
8929
|
createVNode($setup["OnyxEmpty"], {
|
|
8917
8930
|
density: $setup.props.density
|
|
@@ -8980,7 +8993,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8980
8993
|
[
|
|
8981
8994
|
group.name !== "" ? (openBlock(), createElementBlock(
|
|
8982
8995
|
"li",
|
|
8983
|
-
_hoisted_5$
|
|
8996
|
+
_hoisted_5$c,
|
|
8984
8997
|
toDisplayString(group.name),
|
|
8985
8998
|
1
|
|
8986
8999
|
/* TEXT */
|
|
@@ -9040,10 +9053,10 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9040
9053
|
16
|
|
9041
9054
|
/* FULL_PROPS */
|
|
9042
9055
|
),
|
|
9043
|
-
$setup.props.lazyLoading?.loading ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
9056
|
+
$setup.props.lazyLoading?.loading ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
9044
9057
|
createVNode($setup["OnyxLoadingIndicator"], { class: "onyx-select__loading" })
|
|
9045
9058
|
])) : createCommentVNode("v-if", true),
|
|
9046
|
-
$setup.slots.optionsEnd ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
9059
|
+
$setup.slots.optionsEnd ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
9047
9060
|
renderSlot(_ctx.$slots, "optionsEnd")
|
|
9048
9061
|
])) : createCommentVNode("v-if", true)
|
|
9049
9062
|
])), [
|
|
@@ -9065,9 +9078,9 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9065
9078
|
/* NEED_PATCH */
|
|
9066
9079
|
);
|
|
9067
9080
|
}
|
|
9068
|
-
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9081
|
+
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelect/OnyxSelect.vue"]]);
|
|
9069
9082
|
const pageSize = 100;
|
|
9070
|
-
const _sfc_main$
|
|
9083
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
9071
9084
|
__name: "OnyxSelectPagination",
|
|
9072
9085
|
props: {
|
|
9073
9086
|
density: { type: null, required: false },
|
|
@@ -9119,11 +9132,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
9119
9132
|
return __returned__;
|
|
9120
9133
|
}
|
|
9121
9134
|
});
|
|
9122
|
-
const _hoisted_1$
|
|
9123
|
-
const _hoisted_2$
|
|
9124
|
-
const _hoisted_3$
|
|
9125
|
-
const _hoisted_4$
|
|
9126
|
-
function _sfc_render$
|
|
9135
|
+
const _hoisted_1$A = ["aria-label"];
|
|
9136
|
+
const _hoisted_2$s = { class: "onyx-pagination__count" };
|
|
9137
|
+
const _hoisted_3$l = ["aria-label", "disabled"];
|
|
9138
|
+
const _hoisted_4$f = ["aria-label", "disabled"];
|
|
9139
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9127
9140
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
9128
9141
|
key: 0,
|
|
9129
9142
|
class: normalizeClass(["onyx-pagination-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -9154,7 +9167,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9154
9167
|
}, null, 8, ["search-term", "label", "list-label", "options", "model-value", "value-label", "disabled"]),
|
|
9155
9168
|
createElementVNode(
|
|
9156
9169
|
"div",
|
|
9157
|
-
_hoisted_2$
|
|
9170
|
+
_hoisted_2$s,
|
|
9158
9171
|
toDisplayString($setup.t("pagination.ofPages", { n: $setup.props.pages, pages: $setup.n($setup.props.pages, "decimal") })),
|
|
9159
9172
|
1
|
|
9160
9173
|
/* TEXT */
|
|
@@ -9167,7 +9180,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9167
9180
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue - 1))
|
|
9168
9181
|
}, [
|
|
9169
9182
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronLeftSmall }, null, 8, ["icon"])
|
|
9170
|
-
], 8, _hoisted_3$
|
|
9183
|
+
], 8, _hoisted_3$l),
|
|
9171
9184
|
createElementVNode("button", {
|
|
9172
9185
|
class: "onyx-pagination__button",
|
|
9173
9186
|
"aria-label": $setup.t("pagination.next"),
|
|
@@ -9176,11 +9189,11 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9176
9189
|
onClick: _cache[3] || (_cache[3] = ($event) => $setup.emit("update:modelValue", $setup.props.modelValue + 1))
|
|
9177
9190
|
}, [
|
|
9178
9191
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
9179
|
-
], 8, _hoisted_4$
|
|
9180
|
-
], 14, _hoisted_1$
|
|
9192
|
+
], 8, _hoisted_4$f)
|
|
9193
|
+
], 14, _hoisted_1$A));
|
|
9181
9194
|
}
|
|
9182
|
-
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9183
|
-
const _sfc_main$
|
|
9195
|
+
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxSelectPagination.vue"]]);
|
|
9196
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
9184
9197
|
__name: "OnyxPagination",
|
|
9185
9198
|
props: {
|
|
9186
9199
|
density: { type: null, required: false },
|
|
@@ -9201,7 +9214,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
9201
9214
|
return __returned__;
|
|
9202
9215
|
}
|
|
9203
9216
|
});
|
|
9204
|
-
function _sfc_render$
|
|
9217
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9205
9218
|
return $setup.props.type === "inline" ? (openBlock(), createBlock(
|
|
9206
9219
|
$setup["OnyxInlinePagination"],
|
|
9207
9220
|
mergeProps({ key: 0 }, $setup.paginationProps, {
|
|
@@ -9220,7 +9233,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9220
9233
|
/* FULL_PROPS */
|
|
9221
9234
|
));
|
|
9222
9235
|
}
|
|
9223
|
-
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9236
|
+
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxPagination.vue"]]);
|
|
9224
9237
|
const SELECTION_FEATURE = Symbol("Selection");
|
|
9225
9238
|
const SELECTION_MUTATION_ORDER = 1e3;
|
|
9226
9239
|
const useSelection = (options) => createFeature((ctx) => {
|
|
@@ -9498,7 +9511,7 @@ const BASE_FEATURE = (options) => createFeature(({ skeleton }) => {
|
|
|
9498
9511
|
}
|
|
9499
9512
|
};
|
|
9500
9513
|
});
|
|
9501
|
-
const _sfc_main$
|
|
9514
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
9502
9515
|
...{ inheritAttrs: false },
|
|
9503
9516
|
__name: "OnyxDataGrid",
|
|
9504
9517
|
props: {
|
|
@@ -9577,7 +9590,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
9577
9590
|
return __returned__;
|
|
9578
9591
|
}
|
|
9579
9592
|
});
|
|
9580
|
-
function _sfc_render$
|
|
9593
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9581
9594
|
return openBlock(), createBlock($setup["OnyxDataGridRenderer"], mergeProps(
|
|
9582
9595
|
{
|
|
9583
9596
|
"column-groups": $setup.rendererColumnGroups,
|
|
@@ -9612,7 +9625,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9612
9625
|
} : void 0
|
|
9613
9626
|
]), 1040, ["column-groups", "columns", "rows", "scroll-container-attrs"]);
|
|
9614
9627
|
}
|
|
9615
|
-
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9628
|
+
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGrid.vue"]]);
|
|
9616
9629
|
const HIDE_COLUMNS_FEATURE = Symbol("HideColumnsFeature");
|
|
9617
9630
|
const HIDDEN_COLUMN = Symbol("HiddenColumn");
|
|
9618
9631
|
const useHideColumns = (options) => createFeature((ctx) => {
|
|
@@ -9718,7 +9731,7 @@ const useHideColumns = (options) => createFeature((ctx) => {
|
|
|
9718
9731
|
}
|
|
9719
9732
|
};
|
|
9720
9733
|
});
|
|
9721
|
-
const _sfc_main$
|
|
9734
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
9722
9735
|
__name: "OnyxResizeHandle",
|
|
9723
9736
|
props: {
|
|
9724
9737
|
element: { type: null, required: true },
|
|
@@ -9793,7 +9806,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9793
9806
|
return __returned__;
|
|
9794
9807
|
}
|
|
9795
9808
|
});
|
|
9796
|
-
function _sfc_render$
|
|
9809
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9797
9810
|
return openBlock(), createElementBlock(
|
|
9798
9811
|
"button",
|
|
9799
9812
|
{
|
|
@@ -9827,7 +9840,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9827
9840
|
/* CLASS, NEED_HYDRATION */
|
|
9828
9841
|
);
|
|
9829
9842
|
}
|
|
9830
|
-
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9843
|
+
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxResizeHandle/OnyxResizeHandle.vue"]]);
|
|
9831
9844
|
const RESIZING_FEATURE = Symbol("Resizing");
|
|
9832
9845
|
const FILLER_COLUMN = Symbol("FILLER_COLUMN");
|
|
9833
9846
|
const useResizing = (options) => createFeature((ctx) => {
|
|
@@ -9969,7 +9982,7 @@ const DEFAULT_COMPARES = Object.freeze({
|
|
|
9969
9982
|
skeleton: () => 0,
|
|
9970
9983
|
boolean: BOOLEAN_COMPARE
|
|
9971
9984
|
});
|
|
9972
|
-
const _sfc_main$
|
|
9985
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
9973
9986
|
__name: "SortAction",
|
|
9974
9987
|
props: {
|
|
9975
9988
|
columnLabel: { type: String, required: true },
|
|
@@ -9993,14 +10006,14 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
9993
10006
|
return __returned__;
|
|
9994
10007
|
}
|
|
9995
10008
|
});
|
|
9996
|
-
function _sfc_render$
|
|
10009
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9997
10010
|
return openBlock(), createBlock($setup["OnyxSystemButton"], {
|
|
9998
10011
|
label: $setup.buttonLabel,
|
|
9999
10012
|
icon: $setup.icon,
|
|
10000
10013
|
color: "medium"
|
|
10001
10014
|
}, null, 8, ["label", "icon"]);
|
|
10002
10015
|
}
|
|
10003
|
-
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10016
|
+
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/sorting/SortAction.vue"]]);
|
|
10004
10017
|
const nextSortDirection = (current, skipNone) => {
|
|
10005
10018
|
switch (current) {
|
|
10006
10019
|
case "asc":
|
|
@@ -10243,7 +10256,7 @@ const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
10243
10256
|
useSorting,
|
|
10244
10257
|
useStickyColumns
|
|
10245
10258
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10246
|
-
const _sfc_main$
|
|
10259
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
10247
10260
|
...{ inheritAttrs: false },
|
|
10248
10261
|
__name: "OnyxDatePicker",
|
|
10249
10262
|
props: {
|
|
@@ -10310,9 +10323,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
10310
10323
|
return __returned__;
|
|
10311
10324
|
}
|
|
10312
10325
|
});
|
|
10313
|
-
const _hoisted_1$
|
|
10314
|
-
const _hoisted_2$
|
|
10315
|
-
function _sfc_render$
|
|
10326
|
+
const _hoisted_1$z = { class: "onyx-datepicker__wrapper" };
|
|
10327
|
+
const _hoisted_2$r = ["id", "type", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "min", "max"];
|
|
10328
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10316
10329
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10317
10330
|
"div",
|
|
10318
10331
|
mergeProps({
|
|
@@ -10341,7 +10354,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10341
10354
|
message: $setup.messages
|
|
10342
10355
|
}), {
|
|
10343
10356
|
default: withCtx(({ id: inputId }) => [
|
|
10344
|
-
createElementVNode("div", _hoisted_1$
|
|
10357
|
+
createElementVNode("div", _hoisted_1$z, [
|
|
10345
10358
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
10346
10359
|
key: 0,
|
|
10347
10360
|
class: "onyx-datepicker__loading",
|
|
@@ -10363,7 +10376,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10363
10376
|
title: $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
10364
10377
|
min: $setup.getNormalizedDate($setup.props.min),
|
|
10365
10378
|
max: $setup.getNormalizedDate($setup.props.max)
|
|
10366
|
-
}, $setup.restAttrs), null, 16, _hoisted_2$
|
|
10379
|
+
}, $setup.restAttrs), null, 16, _hoisted_2$r)), [
|
|
10367
10380
|
[vModelDynamic, $setup.value],
|
|
10368
10381
|
[$setup["vCustomValidity"]]
|
|
10369
10382
|
])
|
|
@@ -10377,9 +10390,9 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10377
10390
|
/* FULL_PROPS */
|
|
10378
10391
|
));
|
|
10379
10392
|
}
|
|
10380
|
-
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10393
|
+
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDatePicker/OnyxDatePicker.vue"]]);
|
|
10381
10394
|
const DIALOG_ALIGNMENTS = ["left", "center", "right"];
|
|
10382
|
-
const _sfc_main$
|
|
10395
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
10383
10396
|
__name: "OnyxDialog",
|
|
10384
10397
|
props: {
|
|
10385
10398
|
density: { type: null, required: false },
|
|
@@ -10413,15 +10426,15 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
10413
10426
|
return __returned__;
|
|
10414
10427
|
}
|
|
10415
10428
|
});
|
|
10416
|
-
const _hoisted_1$
|
|
10417
|
-
const _hoisted_2$
|
|
10418
|
-
const _hoisted_3$
|
|
10419
|
-
const _hoisted_4$
|
|
10420
|
-
const _hoisted_5$
|
|
10429
|
+
const _hoisted_1$y = { class: "onyx-dialog__header" };
|
|
10430
|
+
const _hoisted_2$q = { class: "onyx-dialog__headline" };
|
|
10431
|
+
const _hoisted_3$k = { class: "onyx-dialog__headline-content" };
|
|
10432
|
+
const _hoisted_4$e = { class: "onyx-dialog__body" };
|
|
10433
|
+
const _hoisted_5$b = {
|
|
10421
10434
|
key: 0,
|
|
10422
10435
|
class: "onyx-dialog__footer"
|
|
10423
10436
|
};
|
|
10424
|
-
function _sfc_render$
|
|
10437
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10425
10438
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.basicPopoverProps, {
|
|
10426
10439
|
open: $setup.isExpanded,
|
|
10427
10440
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.isExpanded = $event),
|
|
@@ -10431,9 +10444,9 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10431
10444
|
renderSlot(_ctx.$slots, "trigger", { trigger })
|
|
10432
10445
|
]),
|
|
10433
10446
|
content: withCtx(() => [
|
|
10434
|
-
createElementVNode("div", _hoisted_1$
|
|
10435
|
-
createElementVNode("div", _hoisted_2$
|
|
10436
|
-
createElementVNode("div", _hoisted_3$
|
|
10447
|
+
createElementVNode("div", _hoisted_1$y, [
|
|
10448
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
10449
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
10437
10450
|
renderSlot(_ctx.$slots, "headline", {
|
|
10438
10451
|
label: $setup.props.label
|
|
10439
10452
|
}, () => [
|
|
@@ -10459,10 +10472,10 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10459
10472
|
}, null, 8, ["label", "icon"])) : createCommentVNode("v-if", true)
|
|
10460
10473
|
])
|
|
10461
10474
|
]),
|
|
10462
|
-
createElementVNode("div", _hoisted_4$
|
|
10475
|
+
createElementVNode("div", _hoisted_4$e, [
|
|
10463
10476
|
renderSlot(_ctx.$slots, "default")
|
|
10464
10477
|
]),
|
|
10465
|
-
!!$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
10478
|
+
!!$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
|
|
10466
10479
|
renderSlot(_ctx.$slots, "footer")
|
|
10467
10480
|
])) : createCommentVNode("v-if", true)
|
|
10468
10481
|
]),
|
|
@@ -10470,8 +10483,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10470
10483
|
/* FORWARDED */
|
|
10471
10484
|
}, 16, ["open", "class"]);
|
|
10472
10485
|
}
|
|
10473
|
-
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10474
|
-
const _sfc_main$
|
|
10486
|
+
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDialog/OnyxDialog.vue"]]);
|
|
10487
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
10475
10488
|
__name: "OnyxForm",
|
|
10476
10489
|
props: {
|
|
10477
10490
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -10491,7 +10504,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
10491
10504
|
return __returned__;
|
|
10492
10505
|
}
|
|
10493
10506
|
});
|
|
10494
|
-
function _sfc_render$
|
|
10507
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10495
10508
|
return openBlock(), createElementBlock(
|
|
10496
10509
|
"form",
|
|
10497
10510
|
{
|
|
@@ -10508,119 +10521,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10508
10521
|
/* CLASS */
|
|
10509
10522
|
);
|
|
10510
10523
|
}
|
|
10511
|
-
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10512
|
-
const HEADLINE_TYPES = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
10513
|
-
const ICON_SIZES = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"];
|
|
10514
|
-
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
10515
|
-
...{ inheritAttrs: false },
|
|
10516
|
-
__name: "OnyxImage",
|
|
10517
|
-
props: {
|
|
10518
|
-
src: { type: [String, Object], required: true },
|
|
10519
|
-
alt: { type: String, required: true },
|
|
10520
|
-
width: { type: Number, required: true },
|
|
10521
|
-
height: { type: Number, required: true },
|
|
10522
|
-
loading: { type: String, required: false, default: "lazy" },
|
|
10523
|
-
shape: { type: null, required: false },
|
|
10524
|
-
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
10525
|
-
},
|
|
10526
|
-
setup(__props, { expose: __expose }) {
|
|
10527
|
-
__expose();
|
|
10528
|
-
const props = __props;
|
|
10529
|
-
const skeleton = useSkeletonContext(props);
|
|
10530
|
-
const isError = ref(false);
|
|
10531
|
-
watch(
|
|
10532
|
-
() => props.src,
|
|
10533
|
-
() => isError.value = false,
|
|
10534
|
-
{ deep: true }
|
|
10535
|
-
);
|
|
10536
|
-
const imageSrc = computed(() => {
|
|
10537
|
-
if (typeof props.src === "string") return { light: props.src, dark: void 0 };
|
|
10538
|
-
return props.src;
|
|
10539
|
-
});
|
|
10540
|
-
const size = computed(() => {
|
|
10541
|
-
const width = props.shape === "circle" ? Math.min(props.width, props.height) : props.width;
|
|
10542
|
-
const height = props.shape === "circle" ? Math.min(props.width, props.height) : props.height;
|
|
10543
|
-
return { width: `${width}px`, height: `${height}px` };
|
|
10544
|
-
});
|
|
10545
|
-
const { restAttrs, rootAttrs } = useRootAttrs();
|
|
10546
|
-
const __returned__ = { props, skeleton, isError, imageSrc, size, restAttrs, rootAttrs, get iconFileDisabled() {
|
|
10547
|
-
return iconFileDisabled;
|
|
10548
|
-
}, OnyxIcon, OnyxSkeleton };
|
|
10549
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
10550
|
-
return __returned__;
|
|
10551
|
-
}
|
|
10552
|
-
});
|
|
10553
|
-
const _hoisted_1$u = ["src", "alt"];
|
|
10554
|
-
const _hoisted_2$n = ["src", "alt"];
|
|
10555
|
-
const _hoisted_3$h = { class: "onyx-image__alt onyx-text--small" };
|
|
10556
|
-
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10557
|
-
return openBlock(), createElementBlock(
|
|
10558
|
-
"figure",
|
|
10559
|
-
mergeProps($setup.rootAttrs, {
|
|
10560
|
-
class: [
|
|
10561
|
-
"onyx-component",
|
|
10562
|
-
"onyx-image",
|
|
10563
|
-
{ "onyx-image--error": $setup.isError, [`onyx-image--${$setup.props.shape}`]: $setup.props.shape }
|
|
10564
|
-
]
|
|
10565
|
-
}),
|
|
10566
|
-
[
|
|
10567
|
-
$setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], mergeProps({
|
|
10568
|
-
key: 0,
|
|
10569
|
-
class: "onyx-image__source",
|
|
10570
|
-
style: $setup.size
|
|
10571
|
-
}, $setup.restAttrs), null, 16, ["style"])) : (openBlock(), createElementBlock(
|
|
10572
|
-
Fragment,
|
|
10573
|
-
{ key: 1 },
|
|
10574
|
-
[
|
|
10575
|
-
createElementVNode("img", mergeProps({
|
|
10576
|
-
class: ["onyx-image__source", { "onyx-image__source--light": $setup.imageSrc.dark }]
|
|
10577
|
-
}, { ...$setup.restAttrs, ...$setup.props }, {
|
|
10578
|
-
src: $setup.imageSrc.light,
|
|
10579
|
-
alt: $setup.props.alt,
|
|
10580
|
-
onError: _cache[0] || (_cache[0] = ($event) => $setup.isError = true)
|
|
10581
|
-
}), null, 16, _hoisted_1$u),
|
|
10582
|
-
$setup.imageSrc.dark ? (openBlock(), createElementBlock("img", mergeProps({
|
|
10583
|
-
key: 0,
|
|
10584
|
-
class: "onyx-image__source onyx-image__source--dark"
|
|
10585
|
-
}, { ...$setup.restAttrs, ...$setup.props }, {
|
|
10586
|
-
src: $setup.imageSrc.dark,
|
|
10587
|
-
alt: $setup.props.alt,
|
|
10588
|
-
onError: _cache[1] || (_cache[1] = ($event) => $setup.isError = true)
|
|
10589
|
-
}), null, 16, _hoisted_2$n)) : createCommentVNode("v-if", true),
|
|
10590
|
-
$setup.isError ? (openBlock(), createElementBlock(
|
|
10591
|
-
"div",
|
|
10592
|
-
mergeProps({
|
|
10593
|
-
key: 1,
|
|
10594
|
-
class: "onyx-image__error",
|
|
10595
|
-
style: $setup.size
|
|
10596
|
-
}, $setup.restAttrs),
|
|
10597
|
-
[
|
|
10598
|
-
createVNode($setup["OnyxIcon"], {
|
|
10599
|
-
icon: $setup.iconFileDisabled,
|
|
10600
|
-
size: "32px"
|
|
10601
|
-
}, null, 8, ["icon"]),
|
|
10602
|
-
createElementVNode(
|
|
10603
|
-
"div",
|
|
10604
|
-
_hoisted_3$h,
|
|
10605
|
-
toDisplayString($setup.props.alt),
|
|
10606
|
-
1
|
|
10607
|
-
/* TEXT */
|
|
10608
|
-
)
|
|
10609
|
-
],
|
|
10610
|
-
16
|
|
10611
|
-
/* FULL_PROPS */
|
|
10612
|
-
)) : createCommentVNode("v-if", true)
|
|
10613
|
-
],
|
|
10614
|
-
64
|
|
10615
|
-
/* STABLE_FRAGMENT */
|
|
10616
|
-
))
|
|
10617
|
-
],
|
|
10618
|
-
16
|
|
10619
|
-
/* FULL_PROPS */
|
|
10620
|
-
);
|
|
10621
|
-
}
|
|
10622
|
-
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"]]);
|
|
10623
|
-
const IMAGE_SHAPES = ["rounded", "circle", "clip", "clip-inverted"];
|
|
10524
|
+
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxForm/OnyxForm.vue"]]);
|
|
10624
10525
|
const useLenientMaxLengthValidation = (options) => {
|
|
10625
10526
|
const { t } = injectI18n();
|
|
10626
10527
|
const normalized = computed(() => {
|
|
@@ -10660,7 +10561,7 @@ const MOBILE_NAV_BAR_INJECTION_KEY = Symbol();
|
|
|
10660
10561
|
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = Symbol();
|
|
10661
10562
|
const NAV_BAR_MORE_LIST_INJECTION_KEY = Symbol();
|
|
10662
10563
|
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
10663
|
-
const _sfc_main$
|
|
10564
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
10664
10565
|
__name: "OnyxSeparator",
|
|
10665
10566
|
props: {
|
|
10666
10567
|
orientation: { type: null, required: false, default: "horizontal" }
|
|
@@ -10677,16 +10578,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
10677
10578
|
return __returned__;
|
|
10678
10579
|
}
|
|
10679
10580
|
});
|
|
10680
|
-
const _hoisted_1$
|
|
10681
|
-
function _sfc_render$
|
|
10581
|
+
const _hoisted_1$x = ["aria-orientation"];
|
|
10582
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10682
10583
|
return openBlock(), createElementBlock("div", {
|
|
10683
10584
|
class: normalizeClass(["onyx-component onyx-separator", { "onyx-separator--vertical": $setup.isVertical }]),
|
|
10684
10585
|
role: "separator",
|
|
10685
10586
|
"aria-orientation": $setup.props.orientation
|
|
10686
|
-
}, null, 10, _hoisted_1$
|
|
10587
|
+
}, null, 10, _hoisted_1$x);
|
|
10687
10588
|
}
|
|
10688
|
-
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10689
|
-
const _sfc_main$
|
|
10589
|
+
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSeparator/OnyxSeparator.vue"]]);
|
|
10590
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
10690
10591
|
...{ inheritAttrs: false },
|
|
10691
10592
|
__name: "OnyxInput",
|
|
10692
10593
|
props: {
|
|
@@ -10775,10 +10676,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
10775
10676
|
return __returned__;
|
|
10776
10677
|
}
|
|
10777
10678
|
});
|
|
10778
|
-
const _hoisted_1$
|
|
10779
|
-
const _hoisted_2$
|
|
10780
|
-
const _hoisted_3$
|
|
10781
|
-
function _sfc_render$
|
|
10679
|
+
const _hoisted_1$w = { class: "onyx-input__wrapper" };
|
|
10680
|
+
const _hoisted_2$p = ["id", "placeholder", "type", "required", "autocapitalize", "autocomplete", "autofocus", "name", "pattern", "readonly", "disabled", "maxlength", "minlength", "aria-label", "title"];
|
|
10681
|
+
const _hoisted_3$j = ["aria-label", "title"];
|
|
10682
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10782
10683
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10783
10684
|
"div",
|
|
10784
10685
|
mergeProps({
|
|
@@ -10807,7 +10708,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10807
10708
|
message: $setup.messages
|
|
10808
10709
|
}), {
|
|
10809
10710
|
default: withCtx(({ id: inputId }) => [
|
|
10810
|
-
createElementVNode("div", _hoisted_1$
|
|
10711
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
10811
10712
|
renderSlot(_ctx.$slots, "leading"),
|
|
10812
10713
|
$setup.slots.leading ? (openBlock(), createBlock($setup["OnyxSeparator"], {
|
|
10813
10714
|
key: 0,
|
|
@@ -10838,7 +10739,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10838
10739
|
minlength: $setup.props.minlength,
|
|
10839
10740
|
"aria-label": $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
10840
10741
|
title: $setup.props.hideLabel ? $setup.props.label : void 0
|
|
10841
|
-
}, $setup.restAttrs), null, 16, _hoisted_2$
|
|
10742
|
+
}, $setup.restAttrs), null, 16, _hoisted_2$p), [
|
|
10842
10743
|
[vModelDynamic, $setup.modelValue],
|
|
10843
10744
|
[$setup["vCustomValidity"]]
|
|
10844
10745
|
]),
|
|
@@ -10852,7 +10753,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10852
10753
|
onClick: _cache[1] || (_cache[1] = () => $setup.modelValue = "")
|
|
10853
10754
|
}, [
|
|
10854
10755
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconXSmall }, null, 8, ["icon"])
|
|
10855
|
-
], 8, _hoisted_3$
|
|
10756
|
+
], 8, _hoisted_3$j)) : createCommentVNode("v-if", true),
|
|
10856
10757
|
!$setup.props.hideSuccessIcon && $setup.successMessages ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
10857
10758
|
key: 3,
|
|
10858
10759
|
class: "onyx-input__check-icon",
|
|
@@ -10884,7 +10785,478 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10884
10785
|
/* FULL_PROPS */
|
|
10885
10786
|
));
|
|
10886
10787
|
}
|
|
10887
|
-
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10788
|
+
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue"]]);
|
|
10789
|
+
const GLOBAL_SEARCH_INJECTION_KEY = Symbol();
|
|
10790
|
+
const __default__$4 = {};
|
|
10791
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
10792
|
+
...__default__$4,
|
|
10793
|
+
__name: "OnyxGlobalSearch",
|
|
10794
|
+
props: {
|
|
10795
|
+
density: { type: null, required: false },
|
|
10796
|
+
open: { type: [Boolean, null], required: false, skipCheck: true },
|
|
10797
|
+
nonDismissible: { type: Boolean, required: false },
|
|
10798
|
+
alert: { type: Boolean, required: false },
|
|
10799
|
+
modelValue: { type: null, required: false },
|
|
10800
|
+
loading: { type: Boolean, required: false }
|
|
10801
|
+
},
|
|
10802
|
+
emits: ["update:modelValue", "update:open"],
|
|
10803
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
10804
|
+
__expose();
|
|
10805
|
+
const props = __props;
|
|
10806
|
+
const emit = __emit;
|
|
10807
|
+
const slots = useSlots();
|
|
10808
|
+
const { t } = injectI18n();
|
|
10809
|
+
const basicDialogProps = useForwardProps(props, OnyxBasicDialog);
|
|
10810
|
+
const searchTerm = useVModel({
|
|
10811
|
+
props,
|
|
10812
|
+
emit,
|
|
10813
|
+
key: "modelValue",
|
|
10814
|
+
default: ""
|
|
10815
|
+
});
|
|
10816
|
+
const dialog2 = useTemplateRef("dialogRef");
|
|
10817
|
+
const dialogElement = computed(() => dialog2.value?.dialog);
|
|
10818
|
+
const activeValue = ref();
|
|
10819
|
+
const getAllOptions = () => {
|
|
10820
|
+
const options = Array.from(dialogElement.value?.querySelectorAll('[role="option"]') ?? []);
|
|
10821
|
+
const activeIndex = activeValue.value ? options.findIndex(
|
|
10822
|
+
(element) => element.id === headless.internals.getOptionId(activeValue.value)
|
|
10823
|
+
) : -1;
|
|
10824
|
+
return { options, activeIndex };
|
|
10825
|
+
};
|
|
10826
|
+
const activateOption = (type) => {
|
|
10827
|
+
const { options, activeIndex } = getAllOptions();
|
|
10828
|
+
let index = 0;
|
|
10829
|
+
if (type === "last") index = options.length - 1;
|
|
10830
|
+
else if (type === "previous") index = activeIndex - 1;
|
|
10831
|
+
else if (type === "next") index = activeIndex + 1;
|
|
10832
|
+
const normalizedIndex = index < 0 ? -1 : index > options.length - 1 ? 0 : index;
|
|
10833
|
+
const id = options.at(normalizedIndex)?.id;
|
|
10834
|
+
activeValue.value = id ? headless.internals.getOptionValueById(id) : void 0;
|
|
10835
|
+
};
|
|
10836
|
+
const onAutocomplete = (input2) => searchTerm.value = input2;
|
|
10837
|
+
const onSelect = (value) => {
|
|
10838
|
+
const id = headless.internals.getOptionId(value);
|
|
10839
|
+
const option = dialogElement.value?.querySelector(`#${id}`);
|
|
10840
|
+
if (!option) return;
|
|
10841
|
+
if ("click" in option && typeof option.click === "function") option.click();
|
|
10842
|
+
};
|
|
10843
|
+
const headless = createComboBox({
|
|
10844
|
+
autocomplete: "list",
|
|
10845
|
+
label: computed(() => t.value("globalSearch.input.label")),
|
|
10846
|
+
listLabel: computed(() => t.value("globalSearch.searchResults")),
|
|
10847
|
+
activeOption: activeValue,
|
|
10848
|
+
isExpanded: true,
|
|
10849
|
+
templateRef: dialogElement,
|
|
10850
|
+
onAutocomplete,
|
|
10851
|
+
onActivateFirst: () => activateOption("first"),
|
|
10852
|
+
onActivateLast: () => activateOption("last"),
|
|
10853
|
+
onActivateNext: () => activateOption("next"),
|
|
10854
|
+
onActivatePrevious: () => activateOption("previous"),
|
|
10855
|
+
onSelect
|
|
10856
|
+
});
|
|
10857
|
+
provide(GLOBAL_SEARCH_INJECTION_KEY, { headless, activeValue });
|
|
10858
|
+
const __returned__ = { props, emit, slots, t, basicDialogProps, searchTerm, dialog: dialog2, dialogElement, activeValue, getAllOptions, activateOption, onAutocomplete, onSelect, headless, get iconSearch() {
|
|
10859
|
+
return iconSearch;
|
|
10860
|
+
}, OnyxBasicDialog, OnyxIcon, OnyxInput, OnyxLoadingIndicator };
|
|
10861
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
10862
|
+
return __returned__;
|
|
10863
|
+
}
|
|
10864
|
+
});
|
|
10865
|
+
const _hoisted_1$v = { class: "onyx-global-search__footer onyx-text--small" };
|
|
10866
|
+
const _hoisted_2$o = { class: "onyx-global-search__shortcut" };
|
|
10867
|
+
const _hoisted_3$i = { class: "onyx-global-search__shortcut-label" };
|
|
10868
|
+
const _hoisted_4$d = { class: "onyx-global-search__shortcut" };
|
|
10869
|
+
const _hoisted_5$a = { class: "onyx-global-search__shortcut-label" };
|
|
10870
|
+
const _hoisted_6$8 = { class: "onyx-global-search__shortcut" };
|
|
10871
|
+
const _hoisted_7$4 = { class: "onyx-global-search__shortcut-label" };
|
|
10872
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10873
|
+
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps($setup.basicDialogProps, {
|
|
10874
|
+
ref: "dialogRef",
|
|
10875
|
+
label: $setup.t("globalSearch.label"),
|
|
10876
|
+
modal: "",
|
|
10877
|
+
class: "onyx-global-search",
|
|
10878
|
+
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
10879
|
+
}), {
|
|
10880
|
+
default: withCtx(() => [
|
|
10881
|
+
createVNode($setup["OnyxInput"], mergeProps($setup.headless.elements.input.value, {
|
|
10882
|
+
modelValue: $setup.searchTerm,
|
|
10883
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.searchTerm = $event),
|
|
10884
|
+
label: $setup.t("globalSearch.input.label"),
|
|
10885
|
+
placeholder: $setup.t("globalSearch.input.placeholder"),
|
|
10886
|
+
type: "search",
|
|
10887
|
+
"hide-label": "",
|
|
10888
|
+
autofocus: ""
|
|
10889
|
+
}), {
|
|
10890
|
+
leading: withCtx(() => [
|
|
10891
|
+
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
10892
|
+
key: 0,
|
|
10893
|
+
type: "circle"
|
|
10894
|
+
})) : (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
10895
|
+
key: 1,
|
|
10896
|
+
icon: $setup.iconSearch
|
|
10897
|
+
}, null, 8, ["icon"]))
|
|
10898
|
+
]),
|
|
10899
|
+
_: 1
|
|
10900
|
+
/* STABLE */
|
|
10901
|
+
}, 16, ["modelValue", "label", "placeholder"]),
|
|
10902
|
+
withDirectives(createElementVNode(
|
|
10903
|
+
"div",
|
|
10904
|
+
mergeProps({ class: "onyx-global-search__body" }, $setup.headless.elements.listbox.value),
|
|
10905
|
+
[
|
|
10906
|
+
renderSlot(_ctx.$slots, "default")
|
|
10907
|
+
],
|
|
10908
|
+
16
|
|
10909
|
+
/* FULL_PROPS */
|
|
10910
|
+
), [
|
|
10911
|
+
[vShow, !!$setup.slots.default]
|
|
10912
|
+
]),
|
|
10913
|
+
withDirectives(createElementVNode(
|
|
10914
|
+
"div",
|
|
10915
|
+
_hoisted_1$v,
|
|
10916
|
+
[
|
|
10917
|
+
createElementVNode("span", _hoisted_2$o, [
|
|
10918
|
+
_cache[2] || (_cache[2] = createElementVNode(
|
|
10919
|
+
"kbd",
|
|
10920
|
+
null,
|
|
10921
|
+
"↑",
|
|
10922
|
+
-1
|
|
10923
|
+
/* CACHED */
|
|
10924
|
+
)),
|
|
10925
|
+
_cache[3] || (_cache[3] = createElementVNode(
|
|
10926
|
+
"kbd",
|
|
10927
|
+
null,
|
|
10928
|
+
"↓",
|
|
10929
|
+
-1
|
|
10930
|
+
/* CACHED */
|
|
10931
|
+
)),
|
|
10932
|
+
createElementVNode(
|
|
10933
|
+
"span",
|
|
10934
|
+
_hoisted_3$i,
|
|
10935
|
+
toDisplayString($setup.t("globalSearch.shortcuts.move")),
|
|
10936
|
+
1
|
|
10937
|
+
/* TEXT */
|
|
10938
|
+
)
|
|
10939
|
+
]),
|
|
10940
|
+
createElementVNode("span", _hoisted_4$d, [
|
|
10941
|
+
_cache[4] || (_cache[4] = createElementVNode(
|
|
10942
|
+
"kbd",
|
|
10943
|
+
null,
|
|
10944
|
+
"↵",
|
|
10945
|
+
-1
|
|
10946
|
+
/* CACHED */
|
|
10947
|
+
)),
|
|
10948
|
+
createElementVNode(
|
|
10949
|
+
"span",
|
|
10950
|
+
_hoisted_5$a,
|
|
10951
|
+
toDisplayString($setup.t("globalSearch.shortcuts.select")),
|
|
10952
|
+
1
|
|
10953
|
+
/* TEXT */
|
|
10954
|
+
)
|
|
10955
|
+
]),
|
|
10956
|
+
createElementVNode("span", _hoisted_6$8, [
|
|
10957
|
+
_cache[5] || (_cache[5] = createElementVNode(
|
|
10958
|
+
"kbd",
|
|
10959
|
+
null,
|
|
10960
|
+
"ESC",
|
|
10961
|
+
-1
|
|
10962
|
+
/* CACHED */
|
|
10963
|
+
)),
|
|
10964
|
+
createElementVNode(
|
|
10965
|
+
"span",
|
|
10966
|
+
_hoisted_7$4,
|
|
10967
|
+
toDisplayString($setup.t("cancel")),
|
|
10968
|
+
1
|
|
10969
|
+
/* TEXT */
|
|
10970
|
+
)
|
|
10971
|
+
])
|
|
10972
|
+
],
|
|
10973
|
+
512
|
|
10974
|
+
/* NEED_PATCH */
|
|
10975
|
+
), [
|
|
10976
|
+
[vShow, !!$setup.slots.default]
|
|
10977
|
+
])
|
|
10978
|
+
]),
|
|
10979
|
+
_: 3
|
|
10980
|
+
/* FORWARDED */
|
|
10981
|
+
}, 16, ["label"]);
|
|
10982
|
+
}
|
|
10983
|
+
const OnyxGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearch/OnyxGlobalSearch.vue"]]);
|
|
10984
|
+
const __default__$3 = {};
|
|
10985
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
10986
|
+
...__default__$3,
|
|
10987
|
+
__name: "OnyxGlobalSearchOption",
|
|
10988
|
+
props: {
|
|
10989
|
+
density: { type: null, required: false },
|
|
10990
|
+
link: { type: null, required: false },
|
|
10991
|
+
autofocus: { type: Boolean, required: false },
|
|
10992
|
+
label: { type: String, required: true },
|
|
10993
|
+
value: { type: String, required: true },
|
|
10994
|
+
icon: { type: String, required: false },
|
|
10995
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
10996
|
+
},
|
|
10997
|
+
setup(__props, { expose: __expose }) {
|
|
10998
|
+
__expose();
|
|
10999
|
+
const props = __props;
|
|
11000
|
+
const slots = useSlots();
|
|
11001
|
+
const { densityClass } = useDensity(props);
|
|
11002
|
+
const context = inject(GLOBAL_SEARCH_INJECTION_KEY, void 0);
|
|
11003
|
+
const skeleton = useSkeletonContext(props);
|
|
11004
|
+
const __returned__ = { props, slots, densityClass, context, skeleton, ButtonOrLinkLayout, OnyxIcon, OnyxSkeleton };
|
|
11005
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
11006
|
+
return __returned__;
|
|
11007
|
+
}
|
|
11008
|
+
});
|
|
11009
|
+
const _hoisted_1$u = { class: "onyx-global-search-option__content" };
|
|
11010
|
+
const _hoisted_2$n = { class: "onyx-truncation-ellipsis" };
|
|
11011
|
+
const _hoisted_3$h = {
|
|
11012
|
+
key: 0,
|
|
11013
|
+
class: "onyx-global-search-option__trailing"
|
|
11014
|
+
};
|
|
11015
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11016
|
+
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
11017
|
+
"li",
|
|
11018
|
+
{
|
|
11019
|
+
key: 0,
|
|
11020
|
+
role: "none",
|
|
11021
|
+
class: normalizeClass(["onyx-component", "onyx-global-search-option-skeleton", "onyx-text", $setup.densityClass])
|
|
11022
|
+
},
|
|
11023
|
+
[
|
|
11024
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
11025
|
+
createVNode($setup["OnyxSkeleton"], { class: "onyx-global-search-option-skeleton__icon" }),
|
|
11026
|
+
createVNode($setup["OnyxSkeleton"], { class: "onyx-global-search-option-skeleton__label" })
|
|
11027
|
+
])
|
|
11028
|
+
],
|
|
11029
|
+
2
|
|
11030
|
+
/* CLASS */
|
|
11031
|
+
)) : (openBlock(), createElementBlock(
|
|
11032
|
+
"li",
|
|
11033
|
+
{
|
|
11034
|
+
key: 1,
|
|
11035
|
+
class: normalizeClass(["onyx-component", "onyx-global-search-option", "onyx-text", $setup.densityClass]),
|
|
11036
|
+
role: "none"
|
|
11037
|
+
},
|
|
11038
|
+
[
|
|
11039
|
+
createVNode($setup["ButtonOrLinkLayout"], mergeProps(
|
|
11040
|
+
{
|
|
11041
|
+
class: "onyx-global-search-option__content onyx-truncation-ellipsis",
|
|
11042
|
+
link: $setup.props.link,
|
|
11043
|
+
autofocus: $setup.props.autofocus,
|
|
11044
|
+
tabindex: "-1"
|
|
11045
|
+
},
|
|
11046
|
+
$setup.context?.headless.elements.option.value({
|
|
11047
|
+
label: $setup.props.label,
|
|
11048
|
+
value: $setup.props.value,
|
|
11049
|
+
selected: $setup.context.activeValue.value === $setup.props.value
|
|
11050
|
+
})
|
|
11051
|
+
), {
|
|
11052
|
+
default: withCtx(() => [
|
|
11053
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
11054
|
+
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
11055
|
+
key: 0,
|
|
11056
|
+
class: "onyx-global-search-option__icon",
|
|
11057
|
+
icon: $setup.props.icon,
|
|
11058
|
+
size: "16px"
|
|
11059
|
+
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
11060
|
+
createElementVNode(
|
|
11061
|
+
"span",
|
|
11062
|
+
_hoisted_2$n,
|
|
11063
|
+
toDisplayString($setup.props.label),
|
|
11064
|
+
1
|
|
11065
|
+
/* TEXT */
|
|
11066
|
+
)
|
|
11067
|
+
])
|
|
11068
|
+
]),
|
|
11069
|
+
_: 3
|
|
11070
|
+
/* FORWARDED */
|
|
11071
|
+
}, 16, ["link", "autofocus"]),
|
|
11072
|
+
$setup.slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
|
|
11073
|
+
renderSlot(_ctx.$slots, "trailing")
|
|
11074
|
+
])) : createCommentVNode("v-if", true)
|
|
11075
|
+
],
|
|
11076
|
+
2
|
|
11077
|
+
/* CLASS */
|
|
11078
|
+
));
|
|
11079
|
+
}
|
|
11080
|
+
const OnyxGlobalSearchOption = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearchOption/OnyxGlobalSearchOption.vue"]]);
|
|
11081
|
+
const __default__$2 = {};
|
|
11082
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
11083
|
+
...__default__$2,
|
|
11084
|
+
__name: "OnyxGlobalSearchGroup",
|
|
11085
|
+
props: {
|
|
11086
|
+
density: { type: null, required: false },
|
|
11087
|
+
label: { type: String, required: true },
|
|
11088
|
+
skeleton: { type: [Boolean, Number], required: false }
|
|
11089
|
+
},
|
|
11090
|
+
setup(__props, { expose: __expose }) {
|
|
11091
|
+
__expose();
|
|
11092
|
+
const props = __props;
|
|
11093
|
+
const { densityClass } = useDensity(props);
|
|
11094
|
+
const context = inject(GLOBAL_SEARCH_INJECTION_KEY, void 0);
|
|
11095
|
+
const skeletonCount = computed(() => {
|
|
11096
|
+
if (!props.skeleton) return 0;
|
|
11097
|
+
return typeof props.skeleton === "number" ? props.skeleton : 3;
|
|
11098
|
+
});
|
|
11099
|
+
const __returned__ = { props, densityClass, context, skeletonCount, OnyxGlobalSearchOption, OnyxHeadline };
|
|
11100
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
11101
|
+
return __returned__;
|
|
11102
|
+
}
|
|
11103
|
+
});
|
|
11104
|
+
const _hoisted_1$t = { "aria-hidden": "true" };
|
|
11105
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11106
|
+
return openBlock(), createElementBlock(
|
|
11107
|
+
"ul",
|
|
11108
|
+
mergeProps({
|
|
11109
|
+
class: ["onyx-component", "onyx-global-search-group", $setup.densityClass]
|
|
11110
|
+
}, $setup.context?.headless.elements.group.value({ label: $setup.props.label })),
|
|
11111
|
+
[
|
|
11112
|
+
createElementVNode("li", _hoisted_1$t, [
|
|
11113
|
+
createVNode($setup["OnyxHeadline"], {
|
|
11114
|
+
is: "h4",
|
|
11115
|
+
class: "onyx-global-search-group__headline"
|
|
11116
|
+
}, {
|
|
11117
|
+
default: withCtx(() => [
|
|
11118
|
+
createTextVNode(
|
|
11119
|
+
toDisplayString($setup.props.label),
|
|
11120
|
+
1
|
|
11121
|
+
/* TEXT */
|
|
11122
|
+
)
|
|
11123
|
+
]),
|
|
11124
|
+
_: 1
|
|
11125
|
+
/* STABLE */
|
|
11126
|
+
})
|
|
11127
|
+
]),
|
|
11128
|
+
$setup.skeletonCount <= 0 ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(true), createElementBlock(
|
|
11129
|
+
Fragment,
|
|
11130
|
+
{ key: 1 },
|
|
11131
|
+
renderList($setup.skeletonCount, (i) => {
|
|
11132
|
+
return openBlock(), createBlock($setup["OnyxGlobalSearchOption"], {
|
|
11133
|
+
key: `skeleton-${i}`,
|
|
11134
|
+
label: `Skeleton ${i}`,
|
|
11135
|
+
value: `skeleton-${i}`,
|
|
11136
|
+
skeleton: ""
|
|
11137
|
+
}, null, 8, ["label", "value"]);
|
|
11138
|
+
}),
|
|
11139
|
+
128
|
|
11140
|
+
/* KEYED_FRAGMENT */
|
|
11141
|
+
))
|
|
11142
|
+
],
|
|
11143
|
+
16
|
|
11144
|
+
/* FULL_PROPS */
|
|
11145
|
+
);
|
|
11146
|
+
}
|
|
11147
|
+
const OnyxGlobalSearchGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearchGroup/OnyxGlobalSearchGroup.vue"]]);
|
|
11148
|
+
const HEADLINE_TYPES = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
11149
|
+
const ICON_SIZES = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"];
|
|
11150
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
11151
|
+
...{ inheritAttrs: false },
|
|
11152
|
+
__name: "OnyxImage",
|
|
11153
|
+
props: {
|
|
11154
|
+
src: { type: [String, Object], required: true },
|
|
11155
|
+
alt: { type: String, required: true },
|
|
11156
|
+
width: { type: Number, required: true },
|
|
11157
|
+
height: { type: Number, required: true },
|
|
11158
|
+
loading: { type: String, required: false, default: "lazy" },
|
|
11159
|
+
shape: { type: null, required: false },
|
|
11160
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
11161
|
+
},
|
|
11162
|
+
setup(__props, { expose: __expose }) {
|
|
11163
|
+
__expose();
|
|
11164
|
+
const props = __props;
|
|
11165
|
+
const skeleton = useSkeletonContext(props);
|
|
11166
|
+
const isError = ref(false);
|
|
11167
|
+
watch(
|
|
11168
|
+
() => props.src,
|
|
11169
|
+
() => isError.value = false,
|
|
11170
|
+
{ deep: true }
|
|
11171
|
+
);
|
|
11172
|
+
const imageSrc = computed(() => {
|
|
11173
|
+
if (typeof props.src === "string") return { light: props.src, dark: void 0 };
|
|
11174
|
+
return props.src;
|
|
11175
|
+
});
|
|
11176
|
+
const size = computed(() => {
|
|
11177
|
+
const width = props.shape === "circle" ? Math.min(props.width, props.height) : props.width;
|
|
11178
|
+
const height = props.shape === "circle" ? Math.min(props.width, props.height) : props.height;
|
|
11179
|
+
return { width: `${width}px`, height: `${height}px` };
|
|
11180
|
+
});
|
|
11181
|
+
const { restAttrs, rootAttrs } = useRootAttrs();
|
|
11182
|
+
const __returned__ = { props, skeleton, isError, imageSrc, size, restAttrs, rootAttrs, get iconFileDisabled() {
|
|
11183
|
+
return iconFileDisabled;
|
|
11184
|
+
}, OnyxIcon, OnyxSkeleton };
|
|
11185
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
11186
|
+
return __returned__;
|
|
11187
|
+
}
|
|
11188
|
+
});
|
|
11189
|
+
const _hoisted_1$s = ["src", "alt"];
|
|
11190
|
+
const _hoisted_2$m = ["src", "alt"];
|
|
11191
|
+
const _hoisted_3$g = { class: "onyx-image__alt onyx-text--small" };
|
|
11192
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11193
|
+
return openBlock(), createElementBlock(
|
|
11194
|
+
"figure",
|
|
11195
|
+
mergeProps($setup.rootAttrs, {
|
|
11196
|
+
class: [
|
|
11197
|
+
"onyx-component",
|
|
11198
|
+
"onyx-image",
|
|
11199
|
+
{ "onyx-image--error": $setup.isError, [`onyx-image--${$setup.props.shape}`]: $setup.props.shape }
|
|
11200
|
+
]
|
|
11201
|
+
}),
|
|
11202
|
+
[
|
|
11203
|
+
$setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], mergeProps({
|
|
11204
|
+
key: 0,
|
|
11205
|
+
class: "onyx-image__source",
|
|
11206
|
+
style: $setup.size
|
|
11207
|
+
}, $setup.restAttrs), null, 16, ["style"])) : (openBlock(), createElementBlock(
|
|
11208
|
+
Fragment,
|
|
11209
|
+
{ key: 1 },
|
|
11210
|
+
[
|
|
11211
|
+
createElementVNode("img", mergeProps({
|
|
11212
|
+
class: ["onyx-image__source", { "onyx-image__source--light": $setup.imageSrc.dark }]
|
|
11213
|
+
}, { ...$setup.restAttrs, ...$setup.props }, {
|
|
11214
|
+
src: $setup.imageSrc.light,
|
|
11215
|
+
alt: $setup.props.alt,
|
|
11216
|
+
onError: _cache[0] || (_cache[0] = ($event) => $setup.isError = true)
|
|
11217
|
+
}), null, 16, _hoisted_1$s),
|
|
11218
|
+
$setup.imageSrc.dark ? (openBlock(), createElementBlock("img", mergeProps({
|
|
11219
|
+
key: 0,
|
|
11220
|
+
class: "onyx-image__source onyx-image__source--dark"
|
|
11221
|
+
}, { ...$setup.restAttrs, ...$setup.props }, {
|
|
11222
|
+
src: $setup.imageSrc.dark,
|
|
11223
|
+
alt: $setup.props.alt,
|
|
11224
|
+
onError: _cache[1] || (_cache[1] = ($event) => $setup.isError = true)
|
|
11225
|
+
}), null, 16, _hoisted_2$m)) : createCommentVNode("v-if", true),
|
|
11226
|
+
$setup.isError ? (openBlock(), createElementBlock(
|
|
11227
|
+
"div",
|
|
11228
|
+
mergeProps({
|
|
11229
|
+
key: 1,
|
|
11230
|
+
class: "onyx-image__error",
|
|
11231
|
+
style: $setup.size
|
|
11232
|
+
}, $setup.restAttrs),
|
|
11233
|
+
[
|
|
11234
|
+
createVNode($setup["OnyxIcon"], {
|
|
11235
|
+
icon: $setup.iconFileDisabled,
|
|
11236
|
+
size: "32px"
|
|
11237
|
+
}, null, 8, ["icon"]),
|
|
11238
|
+
createElementVNode(
|
|
11239
|
+
"div",
|
|
11240
|
+
_hoisted_3$g,
|
|
11241
|
+
toDisplayString($setup.props.alt),
|
|
11242
|
+
1
|
|
11243
|
+
/* TEXT */
|
|
11244
|
+
)
|
|
11245
|
+
],
|
|
11246
|
+
16
|
|
11247
|
+
/* FULL_PROPS */
|
|
11248
|
+
)) : createCommentVNode("v-if", true)
|
|
11249
|
+
],
|
|
11250
|
+
64
|
|
11251
|
+
/* STABLE_FRAGMENT */
|
|
11252
|
+
))
|
|
11253
|
+
],
|
|
11254
|
+
16
|
|
11255
|
+
/* FULL_PROPS */
|
|
11256
|
+
);
|
|
11257
|
+
}
|
|
11258
|
+
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxImage/OnyxImage.vue"]]);
|
|
11259
|
+
const IMAGE_SHAPES = ["rounded", "circle", "clip", "clip-inverted"];
|
|
10888
11260
|
const INPUT_TYPES = ["email", "password", "search", "tel", "text", "url"];
|
|
10889
11261
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
10890
11262
|
__name: "OnyxLink",
|
|
@@ -15592,6 +15964,7 @@ export {
|
|
|
15592
15964
|
all as DataGridFeatures,
|
|
15593
15965
|
DataGridRowOptionsSymbol,
|
|
15594
15966
|
GLOBAL_FAB_PROVIDER_INJECTION_KEY,
|
|
15967
|
+
GLOBAL_SEARCH_INJECTION_KEY,
|
|
15595
15968
|
HEADLINE_TYPES,
|
|
15596
15969
|
ICON_SIZES,
|
|
15597
15970
|
IMAGE_SHAPES,
|
|
@@ -15700,6 +16073,9 @@ export {
|
|
|
15700
16073
|
OnyxCalendar as OnyxUnstableCalendar,
|
|
15701
16074
|
OnyxCodeTab as OnyxUnstableCodeTab,
|
|
15702
16075
|
OnyxCodeTabs as OnyxUnstableCodeTabs,
|
|
16076
|
+
OnyxGlobalSearch as OnyxUnstableGlobalSearch,
|
|
16077
|
+
OnyxGlobalSearchGroup as OnyxUnstableGlobalSearchGroup,
|
|
16078
|
+
OnyxGlobalSearchOption as OnyxUnstableGlobalSearchOption,
|
|
15703
16079
|
OnyxSlider as OnyxUnstableSlider,
|
|
15704
16080
|
OnyxSliderControl as OnyxUnstableSliderControl,
|
|
15705
16081
|
OnyxUserMenu,
|