sit-onyx 1.6.0-dev-20260113131929 → 1.6.0-dev-20260114073557
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/OnyxCalendar/OnyxMonthYearPickerGrid.d.vue.ts +62 -0
- package/dist/i18n/locales/de-DE.json +2 -1
- package/dist/i18n/locales/en-US.json +2 -1
- package/dist/i18n/locales/en-US.json.d.ts +2 -1
- package/dist/index.esm-bundler.js +550 -392
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +3456 -3348
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -49,7 +49,7 @@ const useVModel = (options) => {
|
|
|
49
49
|
};
|
|
50
50
|
const ACCORDION_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
51
51
|
const ACCORDION_TYPES = ["default", "nested-large", "nested-small", "card"];
|
|
52
|
-
const _sfc_main$
|
|
52
|
+
const _sfc_main$1T = /* @__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$1T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
123
123
|
return openBlock(), createElementBlock(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
@@ -137,7 +137,7 @@ function _sfc_render$1S(_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$1T, [["render", _sfc_render$1T], ["__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$1S = /* @__PURE__ */ defineComponent({
|
|
154
154
|
__name: "OnyxIcon",
|
|
155
155
|
props: {
|
|
156
156
|
size: { type: null, required: false },
|
|
@@ -166,8 +166,8 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
return __returned__;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
const _hoisted_1$
|
|
170
|
-
function _sfc_render$
|
|
169
|
+
const _hoisted_1$1p = ["innerHTML"];
|
|
170
|
+
function _sfc_render$1S(_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$1R(_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$1p);
|
|
182
182
|
}
|
|
183
|
-
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
183
|
+
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["render", _sfc_render$1S], ["__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$1R = /* @__PURE__ */ defineComponent({
|
|
200
200
|
__name: "OnyxSkeleton",
|
|
201
201
|
setup(__props, { expose: __expose }) {
|
|
202
202
|
__expose();
|
|
@@ -206,15 +206,15 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return __returned__;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
const _hoisted_1$
|
|
209
|
+
const _hoisted_1$1o = {
|
|
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$1R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
214
|
+
return openBlock(), createElementBlock("figure", _hoisted_1$1o);
|
|
215
215
|
}
|
|
216
|
-
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
217
|
-
const _sfc_main$
|
|
216
|
+
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$1R], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSkeleton/OnyxSkeleton.vue"]]);
|
|
217
|
+
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
218
218
|
__name: "OnyxAccordionItem",
|
|
219
219
|
props: {
|
|
220
220
|
density: { type: null, required: false },
|
|
@@ -251,11 +251,11 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
return __returned__;
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
const _hoisted_1$
|
|
254
|
+
const _hoisted_1$1n = ["open"];
|
|
255
255
|
const _hoisted_2$Y = ["id", "tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
256
256
|
const _hoisted_3$D = { class: "onyx-accordion-item__header-content" };
|
|
257
257
|
const _hoisted_4$q = ["id", "aria-labelledby"];
|
|
258
|
-
function _sfc_render$
|
|
258
|
+
function _sfc_render$1Q(_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([
|
|
@@ -307,9 +307,9 @@ function _sfc_render$1P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
307
307
|
}, [
|
|
308
308
|
renderSlot(_ctx.$slots, "default")
|
|
309
309
|
], 8, _hoisted_4$q)
|
|
310
|
-
], 10, _hoisted_1$
|
|
310
|
+
], 10, _hoisted_1$1n));
|
|
311
311
|
}
|
|
312
|
-
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
312
|
+
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["render", _sfc_render$1Q], ["__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" },
|
|
@@ -354,7 +354,7 @@ const languageSelect = { "label": "Language", "headline": "Change language", "su
|
|
|
354
354
|
const resizeHandle = { "label": "Drag to change width" };
|
|
355
355
|
const fileUpload = { "select": "Select", "clickToUpload": "Click to select", "orDragAndDrop": "or drag and drop file", "maxFileSize": "Maximum file size", "inTotal": "in total", "maxFileCount": "Maximum {n} files to select in total", "allowedFileTypes": "Allowed file types: {types}", "hideFilesButton": "Hide all files", "revealFilesButton": "Show all files", "removeFile": "Remove file", "requiredError": "You need to upload at least one file", "status": { "fileTypeError": "File with extension '.{extension}' is invalid", "fileSizeError": "File exceeds maximum allowed size of {size}", "maxFileSizeError": "Total size of all files exceeds maximum allowed of {size}", "maxCountError": "Number of files exceeds maximum allowed of {count}" } };
|
|
356
356
|
const globalFAB = { "label": "Global actions" };
|
|
357
|
-
const calendar = { "todayButton": { "label": "Today", "tooltip": "Jump to today" }, "calendarWeek": "CW", "calendarWeekButtonLabel": "Select calendar week {weekNumber}", "previousMonthButton": "Previous month", "nextMonthButton": "Next month" };
|
|
357
|
+
const calendar = { "todayButton": { "label": "Today", "tooltip": "Jump to today" }, "calendarWeek": "CW", "calendarWeekButtonLabel": "Select calendar week {weekNumber}", "previousMonthButton": "Previous month", "nextMonthButton": "Next month", "monthYearPicker": "Month and year picker" };
|
|
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", "changeStartValue": "Change start value", "changeEndValue": "Change end value" };
|
|
360
360
|
const codeTabs = { "label": "Code snippets", "copySnippet": "Copy code", "copied": "Copied!", "failed": "Failed!", "tabLabel": "Code" };
|
|
@@ -494,16 +494,18 @@ function createElRef() {
|
|
|
494
494
|
const elementRef = shallowRef(null);
|
|
495
495
|
return computed({
|
|
496
496
|
set: (ref2) => {
|
|
497
|
-
const element = Array.isArray(ref2) ? ref2
|
|
498
|
-
|
|
499
|
-
elementRef.value = element.$el;
|
|
500
|
-
} else {
|
|
501
|
-
elementRef.value = element ?? null;
|
|
502
|
-
}
|
|
497
|
+
const element = Array.isArray(ref2) ? ref2[0] : ref2;
|
|
498
|
+
elementRef.value = getNativeElement(element);
|
|
503
499
|
},
|
|
504
500
|
get: () => elementRef.value
|
|
505
501
|
});
|
|
506
502
|
}
|
|
503
|
+
const getNativeElement = (element) => {
|
|
504
|
+
if (element && typeof element === "object" && "$el" in element) {
|
|
505
|
+
return element.$el;
|
|
506
|
+
}
|
|
507
|
+
return element ?? null;
|
|
508
|
+
};
|
|
507
509
|
function getISOWeekNumber(date) {
|
|
508
510
|
const d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
|
|
509
511
|
const dayNum = d.getUTCDay() || 7;
|
|
@@ -880,7 +882,10 @@ const useOutsideClick = ({
|
|
|
880
882
|
if (!target) return true;
|
|
881
883
|
const raw = toValue(inside);
|
|
882
884
|
const elements = Array.isArray(raw) ? raw : [raw];
|
|
883
|
-
return !elements.some((element) =>
|
|
885
|
+
return !elements.some((element) => {
|
|
886
|
+
const nativeEl = getNativeElement(element);
|
|
887
|
+
return nativeEl?.contains(target);
|
|
888
|
+
});
|
|
884
889
|
};
|
|
885
890
|
const clickListener = (event) => {
|
|
886
891
|
if (isOutsideClick(event.target)) onOutsideClick(event);
|
|
@@ -1898,7 +1903,7 @@ const createTooltip = createBuilder(({ debounce: debounce2, isVisible }) => {
|
|
|
1898
1903
|
}
|
|
1899
1904
|
};
|
|
1900
1905
|
});
|
|
1901
|
-
const _sfc_main$
|
|
1906
|
+
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
1902
1907
|
__name: "OnyxBasicDialog",
|
|
1903
1908
|
props: {
|
|
1904
1909
|
density: { type: null, required: false },
|
|
@@ -1960,12 +1965,12 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
1960
1965
|
return __returned__;
|
|
1961
1966
|
}
|
|
1962
1967
|
});
|
|
1963
|
-
const _hoisted_1$
|
|
1968
|
+
const _hoisted_1$1m = ["aria-modal", "aria-label", "role"];
|
|
1964
1969
|
const _hoisted_2$X = {
|
|
1965
1970
|
ref: "contentRef",
|
|
1966
1971
|
class: "onyx-basic-dialog__content"
|
|
1967
1972
|
};
|
|
1968
|
-
function _sfc_render$
|
|
1973
|
+
function _sfc_render$1P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1969
1974
|
return $setup.props.open ? (openBlock(), createElementBlock("dialog", {
|
|
1970
1975
|
key: 0,
|
|
1971
1976
|
ref: "dialogRef",
|
|
@@ -1992,9 +1997,9 @@ function _sfc_render$1O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1992
1997
|
512
|
|
1993
1998
|
/* NEED_PATCH */
|
|
1994
1999
|
)
|
|
1995
|
-
], 42, _hoisted_1$
|
|
2000
|
+
], 42, _hoisted_1$1m)) : createCommentVNode("v-if", true);
|
|
1996
2001
|
}
|
|
1997
|
-
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2002
|
+
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc_render$1P], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicDialog/OnyxBasicDialog.vue"]]);
|
|
1998
2003
|
const normalizedIncludes = (haystack, needle) => {
|
|
1999
2004
|
const haystackNormalized = removeDiacritics(haystack.toLowerCase());
|
|
2000
2005
|
const needleNormalized = removeDiacritics(needle.toLowerCase());
|
|
@@ -2076,7 +2081,7 @@ const normalizeHref = (href) => {
|
|
|
2076
2081
|
return value.replace(/\/+$/, "");
|
|
2077
2082
|
};
|
|
2078
2083
|
const ROUTER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
2079
|
-
const _sfc_main$
|
|
2084
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
2080
2085
|
__name: "OnyxVisuallyHidden",
|
|
2081
2086
|
props: {
|
|
2082
2087
|
is: { type: String, required: false, default: "span" }
|
|
@@ -2089,7 +2094,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
2089
2094
|
return __returned__;
|
|
2090
2095
|
}
|
|
2091
2096
|
});
|
|
2092
|
-
function _sfc_render$
|
|
2097
|
+
function _sfc_render$1O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2093
2098
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.is), { class: "onyx-component onyx-visually-hidden" }, {
|
|
2094
2099
|
default: withCtx(() => [
|
|
2095
2100
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -2098,8 +2103,8 @@ function _sfc_render$1N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2098
2103
|
/* FORWARDED */
|
|
2099
2104
|
});
|
|
2100
2105
|
}
|
|
2101
|
-
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2102
|
-
const _sfc_main$
|
|
2106
|
+
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue"]]);
|
|
2107
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
2103
2108
|
__name: "OnyxRouterLink",
|
|
2104
2109
|
props: {
|
|
2105
2110
|
href: { type: String, required: true },
|
|
@@ -2115,8 +2120,8 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
2115
2120
|
return __returned__;
|
|
2116
2121
|
}
|
|
2117
2122
|
});
|
|
2118
|
-
const _hoisted_1$
|
|
2119
|
-
function _sfc_render$
|
|
2123
|
+
const _hoisted_1$1l = ["href", "target", "rel"];
|
|
2124
|
+
function _sfc_render$1N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2120
2125
|
return openBlock(), createElementBlock("a", {
|
|
2121
2126
|
class: normalizeClass([
|
|
2122
2127
|
"onyx-component",
|
|
@@ -2140,10 +2145,10 @@ function _sfc_render$1M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2140
2145
|
_: 1
|
|
2141
2146
|
/* STABLE */
|
|
2142
2147
|
})) : createCommentVNode("v-if", true)
|
|
2143
|
-
], 10, _hoisted_1$
|
|
2148
|
+
], 10, _hoisted_1$1l);
|
|
2144
2149
|
}
|
|
2145
|
-
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2146
|
-
const _sfc_main$
|
|
2150
|
+
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _sfc_render$1N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRouterLink/OnyxRouterLink.vue"]]);
|
|
2151
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
2147
2152
|
__name: "OnyxHeadline",
|
|
2148
2153
|
props: {
|
|
2149
2154
|
is: { type: null, required: true },
|
|
@@ -2168,7 +2173,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
2168
2173
|
return __returned__;
|
|
2169
2174
|
}
|
|
2170
2175
|
});
|
|
2171
|
-
function _sfc_render$
|
|
2176
|
+
function _sfc_render$1M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2172
2177
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2173
2178
|
key: 0,
|
|
2174
2179
|
class: normalizeClass(["onyx-headline-skeleton", `onyx-headline-skeleton--${$setup.showAs}`])
|
|
@@ -2208,7 +2213,7 @@ function _sfc_render$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2208
2213
|
/* FORWARDED */
|
|
2209
2214
|
}, 8, ["id", "class"]));
|
|
2210
2215
|
}
|
|
2211
|
-
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2216
|
+
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1M], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxHeadline/OnyxHeadline.vue"]]);
|
|
2212
2217
|
const useAutofocus = (inputRef, props) => {
|
|
2213
2218
|
if (!props.autofocus) {
|
|
2214
2219
|
return;
|
|
@@ -2259,7 +2264,7 @@ const useFormContext = (props) => {
|
|
|
2259
2264
|
DEFAULT_FORM_INJECTION_CONTEXT
|
|
2260
2265
|
)(toRef(props));
|
|
2261
2266
|
};
|
|
2262
|
-
const _sfc_main$
|
|
2267
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
2263
2268
|
__name: "ButtonOrLinkLayout",
|
|
2264
2269
|
props: {
|
|
2265
2270
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -2282,8 +2287,8 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2282
2287
|
return __returned__;
|
|
2283
2288
|
}
|
|
2284
2289
|
});
|
|
2285
|
-
const _hoisted_1$
|
|
2286
|
-
function _sfc_render$
|
|
2290
|
+
const _hoisted_1$1k = ["disabled", "type", "autofocus"];
|
|
2291
|
+
function _sfc_render$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2287
2292
|
return $setup.linkProps ? (openBlock(), createBlock(
|
|
2288
2293
|
$setup["OnyxRouterLink"],
|
|
2289
2294
|
normalizeProps(mergeProps({ key: 0 }, $setup.linkProps)),
|
|
@@ -2304,10 +2309,10 @@ function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2304
2309
|
autofocus: $setup.props.autofocus
|
|
2305
2310
|
}, [
|
|
2306
2311
|
renderSlot(_ctx.$slots, "default")
|
|
2307
|
-
], 8, _hoisted_1$
|
|
2312
|
+
], 8, _hoisted_1$1k));
|
|
2308
2313
|
}
|
|
2309
|
-
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2310
|
-
const _sfc_main$
|
|
2314
|
+
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/ButtonOrLinkLayout.vue"]]);
|
|
2315
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
2311
2316
|
__name: "OnyxSystemButton",
|
|
2312
2317
|
props: {
|
|
2313
2318
|
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
@@ -2328,11 +2333,11 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2328
2333
|
return __returned__;
|
|
2329
2334
|
}
|
|
2330
2335
|
});
|
|
2331
|
-
const _hoisted_1$
|
|
2336
|
+
const _hoisted_1$1j = {
|
|
2332
2337
|
key: 1,
|
|
2333
2338
|
class: "onyx-truncation-ellipsis"
|
|
2334
2339
|
};
|
|
2335
|
-
function _sfc_render$
|
|
2340
|
+
function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2336
2341
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2337
2342
|
key: 0,
|
|
2338
2343
|
class: normalizeClass(["onyx-system-button-skeleton", $setup.props.icon ? "" : "onyx-system-button-skeleton--text"])
|
|
@@ -2348,7 +2353,7 @@ function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2348
2353
|
icon: $setup.props.icon
|
|
2349
2354
|
}, null, 8, ["icon"])) : (openBlock(), createElementBlock(
|
|
2350
2355
|
"span",
|
|
2351
|
-
_hoisted_1$
|
|
2356
|
+
_hoisted_1$1j,
|
|
2352
2357
|
toDisplayString($setup.props.label),
|
|
2353
2358
|
1
|
|
2354
2359
|
/* TEXT */
|
|
@@ -2358,8 +2363,8 @@ function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2358
2363
|
/* STABLE */
|
|
2359
2364
|
}, 16, ["class", "aria-label", "title"]));
|
|
2360
2365
|
}
|
|
2361
|
-
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2362
|
-
const _sfc_main$
|
|
2366
|
+
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSystemButton/OnyxSystemButton.vue"]]);
|
|
2367
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
2363
2368
|
__name: "OnyxAlertModal",
|
|
2364
2369
|
props: {
|
|
2365
2370
|
density: { type: null, required: false },
|
|
@@ -2384,11 +2389,11 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2384
2389
|
return __returned__;
|
|
2385
2390
|
}
|
|
2386
2391
|
});
|
|
2387
|
-
const _hoisted_1$
|
|
2392
|
+
const _hoisted_1$1i = { class: "onyx-alert-modal__content" };
|
|
2388
2393
|
const _hoisted_2$W = { class: "onyx-alert-modal__headline" };
|
|
2389
2394
|
const _hoisted_3$C = ["id"];
|
|
2390
2395
|
const _hoisted_4$p = { class: "onyx-alert-modal__actions" };
|
|
2391
|
-
function _sfc_render$
|
|
2396
|
+
function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2392
2397
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps({
|
|
2393
2398
|
class: ["onyx-alert-modal", $setup.densityClass]
|
|
2394
2399
|
}, $setup.dialogProps, {
|
|
@@ -2398,7 +2403,7 @@ function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2398
2403
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
2399
2404
|
}), {
|
|
2400
2405
|
default: withCtx(() => [
|
|
2401
|
-
createElementVNode("div", _hoisted_1$
|
|
2406
|
+
createElementVNode("div", _hoisted_1$1i, [
|
|
2402
2407
|
$setup.props.icon ? (openBlock(), createBlock(
|
|
2403
2408
|
$setup["OnyxIcon"],
|
|
2404
2409
|
mergeProps({
|
|
@@ -2449,7 +2454,7 @@ function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2449
2454
|
/* FORWARDED */
|
|
2450
2455
|
}, 16, ["class", "aria-describedby"]);
|
|
2451
2456
|
}
|
|
2452
|
-
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2457
|
+
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAlertModal/OnyxAlertModal.vue"]]);
|
|
2453
2458
|
const useRootAttrs = () => {
|
|
2454
2459
|
const attrs = useAttrs();
|
|
2455
2460
|
const rootAttrs = computed(
|
|
@@ -2531,7 +2536,7 @@ const mergeVueProps = (...args) => args.reduce((prev, curr) => {
|
|
|
2531
2536
|
merged.ref = mergedRef;
|
|
2532
2537
|
return merged;
|
|
2533
2538
|
}, {});
|
|
2534
|
-
const _sfc_main$
|
|
2539
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
2535
2540
|
__name: "OnyxFABButton",
|
|
2536
2541
|
props: {
|
|
2537
2542
|
density: { type: null, required: false },
|
|
@@ -2551,11 +2556,11 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
2551
2556
|
return __returned__;
|
|
2552
2557
|
}
|
|
2553
2558
|
});
|
|
2554
|
-
const _hoisted_1$
|
|
2559
|
+
const _hoisted_1$1h = {
|
|
2555
2560
|
key: 1,
|
|
2556
2561
|
class: "onyx-fab-button__label"
|
|
2557
2562
|
};
|
|
2558
|
-
function _sfc_render$
|
|
2563
|
+
function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2559
2564
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2560
2565
|
key: 0,
|
|
2561
2566
|
class: normalizeClass(["onyx-fab-button-skeleton", $setup.densityClass])
|
|
@@ -2573,7 +2578,7 @@ function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2573
2578
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
2574
2579
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
2575
2580
|
"span",
|
|
2576
|
-
_hoisted_1$
|
|
2581
|
+
_hoisted_1$1h,
|
|
2577
2582
|
toDisplayString($setup.props.label),
|
|
2578
2583
|
1
|
|
2579
2584
|
/* TEXT */
|
|
@@ -2583,7 +2588,7 @@ function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2583
2588
|
/* STABLE */
|
|
2584
2589
|
}, 8, ["class", "title", "aria-label", "link"]));
|
|
2585
2590
|
}
|
|
2586
|
-
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2591
|
+
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABButton/OnyxFABButton.vue"]]);
|
|
2587
2592
|
const useResizeObserver = (target, options) => {
|
|
2588
2593
|
const box = options?.box ?? "content-box";
|
|
2589
2594
|
const width = ref(0);
|
|
@@ -2895,7 +2900,7 @@ function useSticky(options) {
|
|
|
2895
2900
|
});
|
|
2896
2901
|
return { stickyStyles, scrolledOut, isSticky, checkVisibilityOnScroll };
|
|
2897
2902
|
}
|
|
2898
|
-
const _sfc_main$
|
|
2903
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
2899
2904
|
__name: "OnyxBasicPopover",
|
|
2900
2905
|
props: {
|
|
2901
2906
|
label: { type: String, required: true },
|
|
@@ -3053,8 +3058,8 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
3053
3058
|
return __returned__;
|
|
3054
3059
|
}
|
|
3055
3060
|
});
|
|
3056
|
-
const _hoisted_1$
|
|
3057
|
-
function _sfc_render$
|
|
3061
|
+
const _hoisted_1$1g = ["role", "aria-label"];
|
|
3062
|
+
function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3058
3063
|
return openBlock(), createElementBlock(
|
|
3059
3064
|
"div",
|
|
3060
3065
|
{
|
|
@@ -3073,14 +3078,14 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3073
3078
|
style: normalizeStyle(!$setup.isSticky ? $setup.popoverStyles : $setup.stickyStyles)
|
|
3074
3079
|
}, [
|
|
3075
3080
|
renderSlot(_ctx.$slots, "content")
|
|
3076
|
-
], 14, _hoisted_1$
|
|
3081
|
+
], 14, _hoisted_1$1g)
|
|
3077
3082
|
],
|
|
3078
3083
|
4
|
|
3079
3084
|
/* STYLE */
|
|
3080
3085
|
);
|
|
3081
3086
|
}
|
|
3082
|
-
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3083
|
-
const _sfc_main$
|
|
3087
|
+
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicPopover/OnyxBasicPopover.vue"]]);
|
|
3088
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
3084
3089
|
__name: "OnyxFlyoutMenu",
|
|
3085
3090
|
props: {
|
|
3086
3091
|
alignment: { type: String, required: false, default: "auto" },
|
|
@@ -3122,9 +3127,9 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
3122
3127
|
return __returned__;
|
|
3123
3128
|
}
|
|
3124
3129
|
});
|
|
3125
|
-
const _hoisted_1$
|
|
3130
|
+
const _hoisted_1$1f = { class: "onyx-flyout-menu__list-header" };
|
|
3126
3131
|
const _hoisted_2$V = { class: "onyx-flyout-menu__list-footer" };
|
|
3127
|
-
function _sfc_render$
|
|
3132
|
+
function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3128
3133
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.mergeVueProps($setup.root, { ref: $setup.popover }), {
|
|
3129
3134
|
class: "onyx-component onyx-flyout-menu",
|
|
3130
3135
|
open: $setup.isExpanded,
|
|
@@ -3133,7 +3138,7 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3133
3138
|
disabled: $props.disabled
|
|
3134
3139
|
}), createSlots({
|
|
3135
3140
|
content: withCtx(() => [
|
|
3136
|
-
createElementVNode("div", _hoisted_1$
|
|
3141
|
+
createElementVNode("div", _hoisted_1$1f, [
|
|
3137
3142
|
renderSlot(_ctx.$slots, "header")
|
|
3138
3143
|
]),
|
|
3139
3144
|
$setup.slots.options ? (openBlock(), createElementBlock(
|
|
@@ -3166,8 +3171,8 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3166
3171
|
} : void 0
|
|
3167
3172
|
]), 1040, ["open", "label", "alignment", "disabled"]);
|
|
3168
3173
|
}
|
|
3169
|
-
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3170
|
-
const _sfc_main$
|
|
3174
|
+
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue"]]);
|
|
3175
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
3171
3176
|
__name: "OnyxFAB",
|
|
3172
3177
|
props: {
|
|
3173
3178
|
density: { type: null, required: false },
|
|
@@ -3206,7 +3211,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
3206
3211
|
return __returned__;
|
|
3207
3212
|
}
|
|
3208
3213
|
});
|
|
3209
|
-
function _sfc_render$
|
|
3214
|
+
function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3210
3215
|
return !$setup.hasOptions || $setup.skeleton ? (openBlock(), createBlock($setup["OnyxFABButton"], mergeProps({
|
|
3211
3216
|
key: 0,
|
|
3212
3217
|
class: ["onyx-fab", `onyx-fab--${$setup.props.alignment}`]
|
|
@@ -3236,8 +3241,8 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3236
3241
|
/* FORWARDED */
|
|
3237
3242
|
}, 8, ["open", "label", "class", "alignment"]));
|
|
3238
3243
|
}
|
|
3239
|
-
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3240
|
-
const _sfc_main$
|
|
3244
|
+
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFAB/OnyxFAB.vue"]]);
|
|
3245
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
3241
3246
|
__name: "OnyxFABItem",
|
|
3242
3247
|
props: {
|
|
3243
3248
|
density: { type: null, required: false },
|
|
@@ -3260,7 +3265,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
3260
3265
|
return __returned__;
|
|
3261
3266
|
}
|
|
3262
3267
|
});
|
|
3263
|
-
function _sfc_render$
|
|
3268
|
+
function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3264
3269
|
return openBlock(), createElementBlock(
|
|
3265
3270
|
"li",
|
|
3266
3271
|
mergeProps({
|
|
@@ -3275,7 +3280,7 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3275
3280
|
/* FULL_PROPS */
|
|
3276
3281
|
);
|
|
3277
3282
|
}
|
|
3278
|
-
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3283
|
+
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABItem/OnyxFABItem.vue"]]);
|
|
3279
3284
|
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3280
3285
|
const createGlobalFABProvider = () => {
|
|
3281
3286
|
const items = shallowRef([]);
|
|
@@ -3312,7 +3317,7 @@ const useGlobalFAB = () => {
|
|
|
3312
3317
|
);
|
|
3313
3318
|
return globalFABProvider;
|
|
3314
3319
|
};
|
|
3315
|
-
const _sfc_main$
|
|
3320
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
3316
3321
|
__name: "OnyxGlobalFAB",
|
|
3317
3322
|
setup(__props, { expose: __expose }) {
|
|
3318
3323
|
__expose();
|
|
@@ -3326,7 +3331,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
3326
3331
|
return __returned__;
|
|
3327
3332
|
}
|
|
3328
3333
|
});
|
|
3329
|
-
function _sfc_render$
|
|
3334
|
+
function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3330
3335
|
return $setup.globalFAB.items.value.length === 1 ? (openBlock(), createBlock(
|
|
3331
3336
|
$setup["OnyxFAB"],
|
|
3332
3337
|
normalizeProps(mergeProps({ key: 0 }, $setup.globalFAB.items.value[0].value)),
|
|
@@ -3361,14 +3366,14 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3361
3366
|
/* STABLE */
|
|
3362
3367
|
}, 8, ["label", "alignment"])) : createCommentVNode("v-if", true);
|
|
3363
3368
|
}
|
|
3364
|
-
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3365
|
-
const _sfc_main$
|
|
3366
|
-
const _hoisted_1$
|
|
3369
|
+
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalFAB/OnyxGlobalFAB.vue"]]);
|
|
3370
|
+
const _sfc_main$1C = {};
|
|
3371
|
+
const _hoisted_1$1e = {
|
|
3367
3372
|
class: "onyx-component onyx-circle-spinner",
|
|
3368
3373
|
viewBox: "0 0 50 50"
|
|
3369
3374
|
};
|
|
3370
|
-
function _sfc_render$
|
|
3371
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3375
|
+
function _sfc_render$1C(_ctx, _cache) {
|
|
3376
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$1e, [..._cache[0] || (_cache[0] = [
|
|
3372
3377
|
createElementVNode(
|
|
3373
3378
|
"circle",
|
|
3374
3379
|
{
|
|
@@ -3383,11 +3388,11 @@ function _sfc_render$1B(_ctx, _cache) {
|
|
|
3383
3388
|
)
|
|
3384
3389
|
])]);
|
|
3385
3390
|
}
|
|
3386
|
-
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3387
|
-
const _sfc_main$
|
|
3388
|
-
const _hoisted_1$
|
|
3389
|
-
function _sfc_render$
|
|
3390
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3391
|
+
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue"]]);
|
|
3392
|
+
const _sfc_main$1B = {};
|
|
3393
|
+
const _hoisted_1$1d = { class: "onyx-component onyx-loading-dots" };
|
|
3394
|
+
function _sfc_render$1B(_ctx, _cache) {
|
|
3395
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1d, [..._cache[0] || (_cache[0] = [
|
|
3391
3396
|
createElementVNode(
|
|
3392
3397
|
"span",
|
|
3393
3398
|
{ class: "onyx-loading-dots__center" },
|
|
@@ -3397,8 +3402,8 @@ function _sfc_render$1A(_ctx, _cache) {
|
|
|
3397
3402
|
)
|
|
3398
3403
|
])]);
|
|
3399
3404
|
}
|
|
3400
|
-
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3401
|
-
const _sfc_main$
|
|
3405
|
+
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingDots.vue"]]);
|
|
3406
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
3402
3407
|
__name: "OnyxLoadingIndicator",
|
|
3403
3408
|
props: {
|
|
3404
3409
|
type: { type: String, required: false, default: "dots" }
|
|
@@ -3411,10 +3416,10 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
3411
3416
|
return __returned__;
|
|
3412
3417
|
}
|
|
3413
3418
|
});
|
|
3414
|
-
function _sfc_render$
|
|
3419
|
+
function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3415
3420
|
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);
|
|
3416
3421
|
}
|
|
3417
|
-
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3422
|
+
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue"]]);
|
|
3418
3423
|
const useRipple = (container) => {
|
|
3419
3424
|
const isPointerDown = ref(false);
|
|
3420
3425
|
const ripples = reactive(/* @__PURE__ */ new Map());
|
|
@@ -3461,7 +3466,7 @@ const useRipple = (container) => {
|
|
|
3461
3466
|
});
|
|
3462
3467
|
return { isPointerDown, ripples, startRipple, hideRipples, hideRipple, events };
|
|
3463
3468
|
};
|
|
3464
|
-
const _sfc_main$
|
|
3469
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
3465
3470
|
__name: "OnyxRipple",
|
|
3466
3471
|
setup(__props, { expose: __expose }) {
|
|
3467
3472
|
const rippleTrigger = useTemplateRef("rippleTriggerRef");
|
|
@@ -3474,16 +3479,16 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
3474
3479
|
return __returned__;
|
|
3475
3480
|
}
|
|
3476
3481
|
});
|
|
3477
|
-
const _hoisted_1$
|
|
3482
|
+
const _hoisted_1$1c = {
|
|
3478
3483
|
ref: "rippleTriggerRef",
|
|
3479
3484
|
class: "onyx-component onyx-ripple",
|
|
3480
3485
|
"aria-hidden": "true"
|
|
3481
3486
|
};
|
|
3482
3487
|
const _hoisted_2$U = ["data-rippleid"];
|
|
3483
|
-
function _sfc_render$
|
|
3488
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3484
3489
|
return openBlock(), createElementBlock(
|
|
3485
3490
|
"span",
|
|
3486
|
-
_hoisted_1$
|
|
3491
|
+
_hoisted_1$1c,
|
|
3487
3492
|
[
|
|
3488
3493
|
(openBlock(true), createElementBlock(
|
|
3489
3494
|
Fragment,
|
|
@@ -3508,8 +3513,8 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3508
3513
|
/* NEED_PATCH */
|
|
3509
3514
|
);
|
|
3510
3515
|
}
|
|
3511
|
-
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3512
|
-
const _sfc_main$
|
|
3516
|
+
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRipple/OnyxRipple.vue"]]);
|
|
3517
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
3513
3518
|
__name: "OnyxButton",
|
|
3514
3519
|
props: {
|
|
3515
3520
|
density: { type: null, required: false },
|
|
@@ -3539,8 +3544,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
3539
3544
|
return __returned__;
|
|
3540
3545
|
}
|
|
3541
3546
|
});
|
|
3542
|
-
const _hoisted_1$
|
|
3543
|
-
function _sfc_render$
|
|
3547
|
+
const _hoisted_1$1b = { class: "onyx-button__label onyx-truncation-ellipsis" };
|
|
3548
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3544
3549
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
3545
3550
|
key: 0,
|
|
3546
3551
|
class: normalizeClass(["onyx-button-skeleton", $setup.densityClass])
|
|
@@ -3577,7 +3582,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3577
3582
|
})) : createCommentVNode("v-if", true),
|
|
3578
3583
|
createElementVNode(
|
|
3579
3584
|
"span",
|
|
3580
|
-
_hoisted_1$
|
|
3585
|
+
_hoisted_1$1b,
|
|
3581
3586
|
toDisplayString($setup.props.label),
|
|
3582
3587
|
1
|
|
3583
3588
|
/* TEXT */
|
|
@@ -3592,8 +3597,8 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3592
3597
|
/* STABLE */
|
|
3593
3598
|
}, 16, ["class", "aria-label"]));
|
|
3594
3599
|
}
|
|
3595
|
-
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3596
|
-
const _sfc_main$
|
|
3600
|
+
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/OnyxButton.vue"]]);
|
|
3601
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
3597
3602
|
__name: "OnyxInfoCard",
|
|
3598
3603
|
props: {
|
|
3599
3604
|
density: { type: null, required: false },
|
|
@@ -3620,7 +3625,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
3620
3625
|
return __returned__;
|
|
3621
3626
|
}
|
|
3622
3627
|
});
|
|
3623
|
-
const _hoisted_1$
|
|
3628
|
+
const _hoisted_1$1a = { class: "onyx-info-card__content" };
|
|
3624
3629
|
const _hoisted_2$T = {
|
|
3625
3630
|
key: 3,
|
|
3626
3631
|
class: "onyx-info-card__description onyx-text--small"
|
|
@@ -3629,7 +3634,7 @@ const _hoisted_3$B = {
|
|
|
3629
3634
|
key: 4,
|
|
3630
3635
|
class: "onyx-info-card__buttons onyx-density-compact"
|
|
3631
3636
|
};
|
|
3632
|
-
function _sfc_render$
|
|
3637
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3633
3638
|
return openBlock(), createElementBlock(
|
|
3634
3639
|
"div",
|
|
3635
3640
|
{
|
|
@@ -3641,7 +3646,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3641
3646
|
class: "onyx-info-card__icon",
|
|
3642
3647
|
icon: $setup.props.icon
|
|
3643
3648
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
3644
|
-
createElementVNode("div", _hoisted_1$
|
|
3649
|
+
createElementVNode("div", _hoisted_1$1a, [
|
|
3645
3650
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
3646
3651
|
key: 0,
|
|
3647
3652
|
is: "h3",
|
|
@@ -3696,8 +3701,8 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3696
3701
|
/* CLASS */
|
|
3697
3702
|
);
|
|
3698
3703
|
}
|
|
3699
|
-
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3700
|
-
const _sfc_main$
|
|
3704
|
+
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoCard/OnyxInfoCard.vue"]]);
|
|
3705
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
3701
3706
|
__name: "OnyxNotificationMessage",
|
|
3702
3707
|
props: {
|
|
3703
3708
|
headline: { type: String, required: true },
|
|
@@ -3715,7 +3720,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
3715
3720
|
return __returned__;
|
|
3716
3721
|
}
|
|
3717
3722
|
});
|
|
3718
|
-
function _sfc_render$
|
|
3723
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3719
3724
|
return openBlock(), createBlock($setup["OnyxInfoCard"], {
|
|
3720
3725
|
class: normalizeClass(["onyx-component onyx-notification-message", [
|
|
3721
3726
|
"onyx-component",
|
|
@@ -3748,7 +3753,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3748
3753
|
} : void 0
|
|
3749
3754
|
]), 1032, ["class", "headline", "icon", "style", "aria-label"]);
|
|
3750
3755
|
}
|
|
3751
|
-
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3756
|
+
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationMessage/OnyxNotificationMessage.vue"]]);
|
|
3752
3757
|
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3753
3758
|
const createNotificationsProvider = () => {
|
|
3754
3759
|
let nextId = 1;
|
|
@@ -3793,7 +3798,7 @@ const useNotification = () => {
|
|
|
3793
3798
|
);
|
|
3794
3799
|
return notificationsProvider;
|
|
3795
3800
|
};
|
|
3796
|
-
const _sfc_main$
|
|
3801
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
3797
3802
|
__name: "OnyxNotifications",
|
|
3798
3803
|
setup(__props, { expose: __expose }) {
|
|
3799
3804
|
__expose();
|
|
@@ -3803,15 +3808,15 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3803
3808
|
return __returned__;
|
|
3804
3809
|
}
|
|
3805
3810
|
});
|
|
3806
|
-
const _hoisted_1$
|
|
3811
|
+
const _hoisted_1$19 = {
|
|
3807
3812
|
key: 0,
|
|
3808
3813
|
class: "onyx-component onyx-notifications",
|
|
3809
3814
|
role: "presentation",
|
|
3810
3815
|
"aria-live": "polite",
|
|
3811
3816
|
open: ""
|
|
3812
3817
|
};
|
|
3813
|
-
function _sfc_render$
|
|
3814
|
-
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
3818
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3819
|
+
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$19, [
|
|
3815
3820
|
(openBlock(true), createElementBlock(
|
|
3816
3821
|
Fragment,
|
|
3817
3822
|
null,
|
|
@@ -3863,8 +3868,8 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3863
3868
|
))
|
|
3864
3869
|
])) : createCommentVNode("v-if", true);
|
|
3865
3870
|
}
|
|
3866
|
-
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3867
|
-
const _sfc_main$
|
|
3871
|
+
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotifications/OnyxNotifications.vue"]]);
|
|
3872
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
3868
3873
|
__name: "OnyxToastMessage",
|
|
3869
3874
|
props: {
|
|
3870
3875
|
density: { type: null, required: false },
|
|
@@ -3900,24 +3905,24 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3900
3905
|
return __returned__;
|
|
3901
3906
|
}
|
|
3902
3907
|
});
|
|
3903
|
-
const _hoisted_1$
|
|
3908
|
+
const _hoisted_1$18 = { class: "onyx-toast-message__wrapper" };
|
|
3904
3909
|
const _hoisted_2$S = { class: "onyx-toast-message__content onyx-truncation-ellipsis" };
|
|
3905
3910
|
const _hoisted_3$A = { class: "onyx-toast-message__headline onyx-text" };
|
|
3906
3911
|
const _hoisted_4$o = { class: "onyx-truncation-ellipsis" };
|
|
3907
3912
|
const _hoisted_5$h = ["aria-label"];
|
|
3908
|
-
const _hoisted_6$
|
|
3913
|
+
const _hoisted_6$d = {
|
|
3909
3914
|
key: 0,
|
|
3910
3915
|
class: "onyx-toast-message__description onyx-text--small onyx-truncation-multiline",
|
|
3911
3916
|
tabindex: "0"
|
|
3912
3917
|
};
|
|
3913
|
-
function _sfc_render$
|
|
3918
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3914
3919
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.clickable ? "button" : "div"), {
|
|
3915
3920
|
class: normalizeClass(["onyx-component onyx-toast-message", [`onyx-toast-message--${$setup.props.color}`, $setup.densityClass]]),
|
|
3916
3921
|
role: $setup.props.color === "danger" || $setup.props.color === "warning" ? "alert" : "status",
|
|
3917
3922
|
"aria-label": $setup.props.clickable ? $setup.props.headline : void 0
|
|
3918
3923
|
}, {
|
|
3919
3924
|
default: withCtx(() => [
|
|
3920
|
-
createElementVNode("div", _hoisted_1$
|
|
3925
|
+
createElementVNode("div", _hoisted_1$18, [
|
|
3921
3926
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
3922
3927
|
key: 0,
|
|
3923
3928
|
icon: $setup.icon
|
|
@@ -3943,7 +3948,7 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3943
3948
|
]),
|
|
3944
3949
|
$setup.props.description ? (openBlock(), createElementBlock(
|
|
3945
3950
|
"p",
|
|
3946
|
-
_hoisted_6$
|
|
3951
|
+
_hoisted_6$d,
|
|
3947
3952
|
toDisplayString($setup.props.description),
|
|
3948
3953
|
1
|
|
3949
3954
|
/* TEXT */
|
|
@@ -3968,7 +3973,7 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3968
3973
|
/* STABLE */
|
|
3969
3974
|
}, 8, ["class", "role", "aria-label"]);
|
|
3970
3975
|
}
|
|
3971
|
-
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3976
|
+
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToastMessage/OnyxToastMessage.vue"]]);
|
|
3972
3977
|
const TOAST_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3973
3978
|
const createToastProvider = () => {
|
|
3974
3979
|
let nextId = 1;
|
|
@@ -4011,7 +4016,7 @@ const useToast = () => {
|
|
|
4011
4016
|
);
|
|
4012
4017
|
return toastProvider;
|
|
4013
4018
|
};
|
|
4014
|
-
const _sfc_main$
|
|
4019
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
4015
4020
|
__name: "OnyxToast",
|
|
4016
4021
|
setup(__props, { expose: __expose }) {
|
|
4017
4022
|
__expose();
|
|
@@ -4021,15 +4026,15 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
4021
4026
|
return __returned__;
|
|
4022
4027
|
}
|
|
4023
4028
|
});
|
|
4024
|
-
const _hoisted_1$
|
|
4029
|
+
const _hoisted_1$17 = {
|
|
4025
4030
|
key: 0,
|
|
4026
4031
|
class: "onyx-component onyx-toast",
|
|
4027
4032
|
role: "presentation",
|
|
4028
4033
|
"aria-live": "polite",
|
|
4029
4034
|
open: ""
|
|
4030
4035
|
};
|
|
4031
|
-
function _sfc_render$
|
|
4032
|
-
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
4036
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4037
|
+
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$17, [
|
|
4033
4038
|
(openBlock(true), createElementBlock(
|
|
4034
4039
|
Fragment,
|
|
4035
4040
|
null,
|
|
@@ -4047,8 +4052,8 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4047
4052
|
))
|
|
4048
4053
|
])) : createCommentVNode("v-if", true);
|
|
4049
4054
|
}
|
|
4050
|
-
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4051
|
-
const _sfc_main$
|
|
4055
|
+
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToast/OnyxToast.vue"]]);
|
|
4056
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
4052
4057
|
__name: "OnyxAppLayout",
|
|
4053
4058
|
props: {
|
|
4054
4059
|
navBarAlignment: { type: String, required: false, default: "top" }
|
|
@@ -4062,19 +4067,19 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
4062
4067
|
return __returned__;
|
|
4063
4068
|
}
|
|
4064
4069
|
});
|
|
4065
|
-
const _hoisted_1$
|
|
4070
|
+
const _hoisted_1$16 = {
|
|
4066
4071
|
key: 0,
|
|
4067
4072
|
class: "onyx-app__nav"
|
|
4068
4073
|
};
|
|
4069
4074
|
const _hoisted_2$R = { class: "onyx-app__page" };
|
|
4070
|
-
function _sfc_render$
|
|
4075
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4071
4076
|
return openBlock(), createElementBlock(
|
|
4072
4077
|
"div",
|
|
4073
4078
|
{
|
|
4074
4079
|
class: normalizeClass(["onyx-component onyx-app", { "onyx-app--horizontal": $setup.props.navBarAlignment === "left" }])
|
|
4075
4080
|
},
|
|
4076
4081
|
[
|
|
4077
|
-
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4082
|
+
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$16, [
|
|
4078
4083
|
renderSlot(_ctx.$slots, "navBar")
|
|
4079
4084
|
])) : createCommentVNode("v-if", true),
|
|
4080
4085
|
createElementVNode("div", _hoisted_2$R, [
|
|
@@ -4088,8 +4093,8 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4088
4093
|
/* CLASS */
|
|
4089
4094
|
);
|
|
4090
4095
|
}
|
|
4091
|
-
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4092
|
-
const _sfc_main$
|
|
4096
|
+
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAppLayout/OnyxAppLayout.vue"]]);
|
|
4097
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
4093
4098
|
__name: "OnyxAvatar",
|
|
4094
4099
|
props: {
|
|
4095
4100
|
size: { type: null, required: false, default: "48px" },
|
|
@@ -4123,13 +4128,13 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
4123
4128
|
return __returned__;
|
|
4124
4129
|
}
|
|
4125
4130
|
});
|
|
4126
|
-
const _hoisted_1$
|
|
4131
|
+
const _hoisted_1$15 = ["title", "aria-label"];
|
|
4127
4132
|
const _hoisted_2$Q = ["src", "alt"];
|
|
4128
4133
|
const _hoisted_3$z = {
|
|
4129
4134
|
key: 0,
|
|
4130
4135
|
class: "onyx-avatar__initials"
|
|
4131
4136
|
};
|
|
4132
|
-
function _sfc_render$
|
|
4137
|
+
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4133
4138
|
return openBlock(), createElementBlock("figure", {
|
|
4134
4139
|
class: normalizeClass([
|
|
4135
4140
|
"onyx-component",
|
|
@@ -4165,10 +4170,10 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4165
4170
|
64
|
|
4166
4171
|
/* STABLE_FRAGMENT */
|
|
4167
4172
|
))
|
|
4168
|
-
], 10, _hoisted_1$
|
|
4173
|
+
], 10, _hoisted_1$15);
|
|
4169
4174
|
}
|
|
4170
|
-
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4171
|
-
const _sfc_main$
|
|
4175
|
+
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatar/OnyxAvatar.vue"]]);
|
|
4176
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
4172
4177
|
__name: "OnyxAvatarStack",
|
|
4173
4178
|
setup(__props, { expose: __expose }) {
|
|
4174
4179
|
__expose();
|
|
@@ -4177,14 +4182,14 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
4177
4182
|
return __returned__;
|
|
4178
4183
|
}
|
|
4179
4184
|
});
|
|
4180
|
-
const _hoisted_1$
|
|
4181
|
-
function _sfc_render$
|
|
4182
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4185
|
+
const _hoisted_1$14 = { class: "onyx-component onyx-avatar-stack" };
|
|
4186
|
+
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4187
|
+
return openBlock(), createElementBlock("div", _hoisted_1$14, [
|
|
4183
4188
|
renderSlot(_ctx.$slots, "default")
|
|
4184
4189
|
]);
|
|
4185
4190
|
}
|
|
4186
|
-
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4187
|
-
const _sfc_main$
|
|
4191
|
+
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatarStack/OnyxAvatarStack.vue"]]);
|
|
4192
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
4188
4193
|
__name: "OnyxBadge",
|
|
4189
4194
|
props: {
|
|
4190
4195
|
density: { type: null, required: false },
|
|
@@ -4201,7 +4206,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
4201
4206
|
return __returned__;
|
|
4202
4207
|
}
|
|
4203
4208
|
});
|
|
4204
|
-
function _sfc_render$
|
|
4209
|
+
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4205
4210
|
return openBlock(), createElementBlock(
|
|
4206
4211
|
"div",
|
|
4207
4212
|
{
|
|
@@ -4232,8 +4237,8 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4232
4237
|
/* CLASS */
|
|
4233
4238
|
);
|
|
4234
4239
|
}
|
|
4235
|
-
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4236
|
-
const _sfc_main$
|
|
4240
|
+
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBadge/OnyxBadge.vue"]]);
|
|
4241
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
4237
4242
|
__name: "OnyxBottomBar",
|
|
4238
4243
|
props: {
|
|
4239
4244
|
density: { type: null, required: false },
|
|
@@ -4248,10 +4253,10 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
4248
4253
|
return __returned__;
|
|
4249
4254
|
}
|
|
4250
4255
|
});
|
|
4251
|
-
const _hoisted_1$
|
|
4256
|
+
const _hoisted_1$13 = { class: "onyx-bottom-bar__content onyx-grid-container" };
|
|
4252
4257
|
const _hoisted_2$P = { class: "onyx-bottom-bar__content--left" };
|
|
4253
4258
|
const _hoisted_3$y = { class: "onyx-bottom-bar__content--right" };
|
|
4254
|
-
function _sfc_render$
|
|
4259
|
+
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4255
4260
|
return openBlock(), createElementBlock(
|
|
4256
4261
|
"div",
|
|
4257
4262
|
{
|
|
@@ -4263,7 +4268,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4263
4268
|
])
|
|
4264
4269
|
},
|
|
4265
4270
|
[
|
|
4266
|
-
createElementVNode("div", _hoisted_1$
|
|
4271
|
+
createElementVNode("div", _hoisted_1$13, [
|
|
4267
4272
|
createElementVNode("div", _hoisted_2$P, [
|
|
4268
4273
|
renderSlot(_ctx.$slots, "left")
|
|
4269
4274
|
]),
|
|
@@ -4276,7 +4281,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4276
4281
|
/* CLASS */
|
|
4277
4282
|
);
|
|
4278
4283
|
}
|
|
4279
|
-
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4284
|
+
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBottomBar/OnyxBottomBar.vue"]]);
|
|
4280
4285
|
const useMoreList = (options) => {
|
|
4281
4286
|
const visibleElements = ref();
|
|
4282
4287
|
const hiddenElements = ref();
|
|
@@ -4371,7 +4376,7 @@ const useMoreListChild = (injectionKey) => {
|
|
|
4371
4376
|
};
|
|
4372
4377
|
const BREADCRUMB_MORE_LIST_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
4373
4378
|
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
4374
|
-
const _sfc_main$
|
|
4379
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
4375
4380
|
__name: "OnyxExternalLinkIcon",
|
|
4376
4381
|
props: {
|
|
4377
4382
|
href: { type: String, required: false },
|
|
@@ -4392,7 +4397,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
4392
4397
|
return __returned__;
|
|
4393
4398
|
}
|
|
4394
4399
|
});
|
|
4395
|
-
function _sfc_render$
|
|
4400
|
+
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4396
4401
|
return $setup.isVisible ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4397
4402
|
key: 0,
|
|
4398
4403
|
class: "onyx-component onyx-external-link-icon",
|
|
@@ -4400,8 +4405,8 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4400
4405
|
size: "16px"
|
|
4401
4406
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true);
|
|
4402
4407
|
}
|
|
4403
|
-
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4404
|
-
const _sfc_main$
|
|
4408
|
+
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue"]]);
|
|
4409
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
4405
4410
|
__name: "OnyxListItem",
|
|
4406
4411
|
props: {
|
|
4407
4412
|
density: { type: null, required: false },
|
|
@@ -4420,7 +4425,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
4420
4425
|
return __returned__;
|
|
4421
4426
|
}
|
|
4422
4427
|
});
|
|
4423
|
-
function _sfc_render$
|
|
4428
|
+
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4424
4429
|
return openBlock(), createElementBlock(
|
|
4425
4430
|
"li",
|
|
4426
4431
|
{
|
|
@@ -4442,8 +4447,8 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4442
4447
|
/* CLASS */
|
|
4443
4448
|
);
|
|
4444
4449
|
}
|
|
4445
|
-
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4446
|
-
const _sfc_main$
|
|
4450
|
+
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxListItem/OnyxListItem.vue"]]);
|
|
4451
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
4447
4452
|
...{ inheritAttrs: false },
|
|
4448
4453
|
__name: "OnyxMenuItem",
|
|
4449
4454
|
props: {
|
|
@@ -4522,7 +4527,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
4522
4527
|
return __returned__;
|
|
4523
4528
|
}
|
|
4524
4529
|
});
|
|
4525
|
-
const _hoisted_1$
|
|
4530
|
+
const _hoisted_1$12 = { class: "onyx-truncation-ellipsis" };
|
|
4526
4531
|
const _hoisted_2$O = {
|
|
4527
4532
|
key: 0,
|
|
4528
4533
|
class: "onyx-menu-item__chevron"
|
|
@@ -4532,7 +4537,7 @@ const _hoisted_3$x = {
|
|
|
4532
4537
|
role: "menu",
|
|
4533
4538
|
class: "onyx-menu-item__children"
|
|
4534
4539
|
};
|
|
4535
|
-
function _sfc_render$
|
|
4540
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4536
4541
|
const _component_OnyxMenuItem = resolveComponent("OnyxMenuItem", true);
|
|
4537
4542
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({
|
|
4538
4543
|
selected: $setup.isActive,
|
|
@@ -4553,7 +4558,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4553
4558
|
createElementVNode("span", null, [
|
|
4554
4559
|
createElementVNode(
|
|
4555
4560
|
"span",
|
|
4556
|
-
_hoisted_1$
|
|
4561
|
+
_hoisted_1$12,
|
|
4557
4562
|
toDisplayString($setup.props.label),
|
|
4558
4563
|
1
|
|
4559
4564
|
/* TEXT */
|
|
@@ -4618,8 +4623,8 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4618
4623
|
/* FORWARDED */
|
|
4619
4624
|
}, 16, ["selected", "active", "color", "disabled", "class"]);
|
|
4620
4625
|
}
|
|
4621
|
-
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4622
|
-
const _sfc_main$
|
|
4626
|
+
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue"]]);
|
|
4627
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
4623
4628
|
...{ inheritAttrs: false },
|
|
4624
4629
|
__name: "OnyxBreadcrumbItem",
|
|
4625
4630
|
props: {
|
|
@@ -4645,7 +4650,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
4645
4650
|
return __returned__;
|
|
4646
4651
|
}
|
|
4647
4652
|
});
|
|
4648
|
-
function _sfc_render$
|
|
4653
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4649
4654
|
return openBlock(), createElementBlock(
|
|
4650
4655
|
Fragment,
|
|
4651
4656
|
null,
|
|
@@ -4705,8 +4710,8 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4705
4710
|
/* STABLE_FRAGMENT */
|
|
4706
4711
|
);
|
|
4707
4712
|
}
|
|
4708
|
-
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4709
|
-
const _sfc_main$
|
|
4713
|
+
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.vue"]]);
|
|
4714
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
4710
4715
|
__name: "OnyxMoreList",
|
|
4711
4716
|
props: {
|
|
4712
4717
|
injectionKey: { type: [Symbol, Object], required: true },
|
|
@@ -4739,7 +4744,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
4739
4744
|
return __returned__;
|
|
4740
4745
|
}
|
|
4741
4746
|
});
|
|
4742
|
-
function _sfc_render$
|
|
4747
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4743
4748
|
return openBlock(), createBlock(
|
|
4744
4749
|
resolveDynamicComponent($setup.props.is),
|
|
4745
4750
|
{
|
|
@@ -4779,8 +4784,8 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4779
4784
|
/* NEED_PATCH */
|
|
4780
4785
|
);
|
|
4781
4786
|
}
|
|
4782
|
-
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4783
|
-
const _sfc_main$
|
|
4787
|
+
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMoreList/OnyxMoreList.vue"]]);
|
|
4788
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
4784
4789
|
__name: "OnyxBreadcrumb",
|
|
4785
4790
|
props: {
|
|
4786
4791
|
density: { type: null, required: false },
|
|
@@ -4806,13 +4811,13 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
4806
4811
|
return __returned__;
|
|
4807
4812
|
}
|
|
4808
4813
|
});
|
|
4809
|
-
const _hoisted_1$
|
|
4814
|
+
const _hoisted_1$11 = ["aria-label", "aria-hidden"];
|
|
4810
4815
|
const _hoisted_2$N = {
|
|
4811
4816
|
class: "onyx-breadcrumb__list onyx-grid-container",
|
|
4812
4817
|
role: "menu"
|
|
4813
4818
|
};
|
|
4814
4819
|
const _hoisted_3$w = { ref: "moreListRef" };
|
|
4815
|
-
function _sfc_render$
|
|
4820
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4816
4821
|
return openBlock(), createElementBlock("nav", {
|
|
4817
4822
|
class: normalizeClass([
|
|
4818
4823
|
"onyx-component",
|
|
@@ -4905,13 +4910,13 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4905
4910
|
/* FORWARDED */
|
|
4906
4911
|
}, 8, ["injection-key"])
|
|
4907
4912
|
])
|
|
4908
|
-
], 10, _hoisted_1$
|
|
4913
|
+
], 10, _hoisted_1$11);
|
|
4909
4914
|
}
|
|
4910
|
-
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4915
|
+
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumb/OnyxBreadcrumb.vue"]]);
|
|
4911
4916
|
const BUTTON_TYPES = ["button", "submit", "reset"];
|
|
4912
4917
|
const BUTTON_COLORS = ["primary", "neutral", "danger"];
|
|
4913
4918
|
const BUTTON_MODES = ["default", "outline", "plain"];
|
|
4914
|
-
const _sfc_main$
|
|
4919
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
4915
4920
|
__name: "OnyxCard",
|
|
4916
4921
|
props: {
|
|
4917
4922
|
density: { type: null, required: false },
|
|
@@ -4930,7 +4935,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
4930
4935
|
return __returned__;
|
|
4931
4936
|
}
|
|
4932
4937
|
});
|
|
4933
|
-
function _sfc_render$
|
|
4938
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4934
4939
|
return openBlock(), createBlock(resolveDynamicComponent($setup.linkProps ? $setup.OnyxRouterLink : $setup.props.clickable ? "button" : "div"), mergeProps($setup.linkProps, {
|
|
4935
4940
|
class: ["onyx-component", "onyx-card", $setup.densityClass, "onyx-truncation-multiline", "onyx-text"]
|
|
4936
4941
|
}), {
|
|
@@ -4941,8 +4946,8 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4941
4946
|
/* FORWARDED */
|
|
4942
4947
|
}, 16, ["class"]);
|
|
4943
4948
|
}
|
|
4944
|
-
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4945
|
-
const _sfc_main$
|
|
4949
|
+
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCard/OnyxCard.vue"]]);
|
|
4950
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
4946
4951
|
__name: "OnyxTooltip",
|
|
4947
4952
|
props: {
|
|
4948
4953
|
density: { type: null, required: false },
|
|
@@ -5097,8 +5102,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
5097
5102
|
return __returned__;
|
|
5098
5103
|
}
|
|
5099
5104
|
});
|
|
5100
|
-
const _hoisted_1
|
|
5101
|
-
function _sfc_render$
|
|
5105
|
+
const _hoisted_1$10 = { class: "onyx-tooltip--content" };
|
|
5106
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5102
5107
|
return openBlock(), createElementBlock(
|
|
5103
5108
|
"div",
|
|
5104
5109
|
{
|
|
@@ -5114,7 +5119,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5114
5119
|
style: $setup.tooltipStyles
|
|
5115
5120
|
}),
|
|
5116
5121
|
[
|
|
5117
|
-
createElementVNode("div", _hoisted_1
|
|
5122
|
+
createElementVNode("div", _hoisted_1$10, [
|
|
5118
5123
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
5119
5124
|
key: 0,
|
|
5120
5125
|
icon: $setup.props.icon,
|
|
@@ -5138,8 +5143,8 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5138
5143
|
/* CLASS, STYLE */
|
|
5139
5144
|
);
|
|
5140
5145
|
}
|
|
5141
|
-
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5142
|
-
const _sfc_main$
|
|
5146
|
+
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTooltip/OnyxTooltip.vue"]]);
|
|
5147
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
5143
5148
|
__name: "OnyxCalendarCell",
|
|
5144
5149
|
props: {
|
|
5145
5150
|
density: { type: null, required: false },
|
|
@@ -5169,7 +5174,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
5169
5174
|
return __returned__;
|
|
5170
5175
|
}
|
|
5171
5176
|
});
|
|
5172
|
-
const _hoisted_1
|
|
5177
|
+
const _hoisted_1$$ = { class: "onyx-calendar-cell__header" };
|
|
5173
5178
|
const _hoisted_2$M = { class: "onyx-calendar-cell__date-container" };
|
|
5174
5179
|
const _hoisted_3$v = {
|
|
5175
5180
|
key: 1,
|
|
@@ -5179,7 +5184,7 @@ const _hoisted_4$n = {
|
|
|
5179
5184
|
key: 0,
|
|
5180
5185
|
class: "onyx-calendar-cell__main"
|
|
5181
5186
|
};
|
|
5182
|
-
function _sfc_render$
|
|
5187
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5183
5188
|
return openBlock(), createElementBlock(
|
|
5184
5189
|
"td",
|
|
5185
5190
|
{
|
|
@@ -5205,7 +5210,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5205
5210
|
]
|
|
5206
5211
|
}), {
|
|
5207
5212
|
default: withCtx(() => [
|
|
5208
|
-
createElementVNode("div", _hoisted_1
|
|
5213
|
+
createElementVNode("div", _hoisted_1$$, [
|
|
5209
5214
|
createElementVNode("div", _hoisted_2$M, [
|
|
5210
5215
|
$setup.props.tooltipText ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
5211
5216
|
key: 0,
|
|
@@ -5244,62 +5249,8 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5244
5249
|
/* CLASS */
|
|
5245
5250
|
);
|
|
5246
5251
|
}
|
|
5247
|
-
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5248
|
-
const _sfc_main$
|
|
5249
|
-
__name: "OnyxIconButton",
|
|
5250
|
-
props: {
|
|
5251
|
-
density: { type: null, required: false },
|
|
5252
|
-
autofocus: { type: Boolean, required: false },
|
|
5253
|
-
link: { type: null, required: false },
|
|
5254
|
-
label: { type: String, required: true },
|
|
5255
|
-
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
5256
|
-
type: { type: null, required: false, default: "button" },
|
|
5257
|
-
color: { type: null, required: false, default: "primary" },
|
|
5258
|
-
loading: { type: Boolean, required: false },
|
|
5259
|
-
icon: { type: String, required: false },
|
|
5260
|
-
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
5261
|
-
},
|
|
5262
|
-
setup(__props, { expose: __expose }) {
|
|
5263
|
-
__expose();
|
|
5264
|
-
const props = __props;
|
|
5265
|
-
const { densityClass } = useDensity(props);
|
|
5266
|
-
const skeleton = useSkeletonContext(props);
|
|
5267
|
-
const forwardProps = useForwardProps(props, ButtonOrLinkLayout);
|
|
5268
|
-
const __returned__ = { props, densityClass, skeleton, forwardProps, ButtonOrLinkLayout, OnyxIcon, OnyxLoadingIndicator, OnyxSkeleton };
|
|
5269
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
5270
|
-
return __returned__;
|
|
5271
|
-
}
|
|
5272
|
-
});
|
|
5273
|
-
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5274
|
-
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5275
|
-
key: 0,
|
|
5276
|
-
class: normalizeClass(["onyx-icon-button-skeleton", $setup.densityClass])
|
|
5277
|
-
}, null, 8, ["class"])) : (openBlock(), createBlock($setup["ButtonOrLinkLayout"], mergeProps({ key: 1 }, $setup.forwardProps, {
|
|
5278
|
-
"aria-label": $setup.props.label,
|
|
5279
|
-
title: $setup.props.label,
|
|
5280
|
-
class: [
|
|
5281
|
-
"onyx-component",
|
|
5282
|
-
"onyx-icon-button",
|
|
5283
|
-
`onyx-icon-button--${$setup.props.color}`,
|
|
5284
|
-
{ "onyx-icon-button--loading": $setup.props.loading },
|
|
5285
|
-
$setup.densityClass
|
|
5286
|
-
]
|
|
5287
|
-
}), {
|
|
5288
|
-
default: withCtx(() => [
|
|
5289
|
-
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
5290
|
-
key: 0,
|
|
5291
|
-
type: "circle"
|
|
5292
|
-
})) : $setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
5293
|
-
key: 1,
|
|
5294
|
-
icon: $setup.props.icon
|
|
5295
|
-
}, null, 8, ["icon"])) : renderSlot(_ctx.$slots, "default", { key: 2 })
|
|
5296
|
-
]),
|
|
5297
|
-
_: 3
|
|
5298
|
-
/* FORWARDED */
|
|
5299
|
-
}, 16, ["aria-label", "title", "class"]));
|
|
5300
|
-
}
|
|
5301
|
-
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIconButton/OnyxIconButton.vue"]]);
|
|
5302
|
-
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
5252
|
+
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendarCell/OnyxCalendarCell.vue"]]);
|
|
5253
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
5303
5254
|
__name: "OnyxTag",
|
|
5304
5255
|
props: {
|
|
5305
5256
|
density: { type: null, required: false },
|
|
@@ -5326,9 +5277,9 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
5326
5277
|
return __returned__;
|
|
5327
5278
|
}
|
|
5328
5279
|
});
|
|
5329
|
-
const _hoisted_1$
|
|
5280
|
+
const _hoisted_1$_ = { class: "onyx-text--small onyx-truncation-ellipsis" };
|
|
5330
5281
|
const _hoisted_2$L = { class: "onyx-text--small onyx-truncation-ellipsis" };
|
|
5331
|
-
function _sfc_render$
|
|
5282
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5332
5283
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5333
5284
|
key: 0,
|
|
5334
5285
|
class: normalizeClass(["onyx-tag-skeleton", $setup.densityClass])
|
|
@@ -5351,7 +5302,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5351
5302
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5352
5303
|
createElementVNode(
|
|
5353
5304
|
"span",
|
|
5354
|
-
_hoisted_1$
|
|
5305
|
+
_hoisted_1$_,
|
|
5355
5306
|
toDisplayString($setup.props.label),
|
|
5356
5307
|
1
|
|
5357
5308
|
/* TEXT */
|
|
@@ -5392,9 +5343,98 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5392
5343
|
/* CLASS */
|
|
5393
5344
|
));
|
|
5394
5345
|
}
|
|
5395
|
-
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5346
|
+
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTag/OnyxTag.vue"]]);
|
|
5347
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
5348
|
+
__name: "OnyxMonthYearPickerGrid",
|
|
5349
|
+
props: {
|
|
5350
|
+
mode: { type: String, required: true },
|
|
5351
|
+
viewMonth: { type: Date, required: true },
|
|
5352
|
+
open: { type: Boolean, required: true }
|
|
5353
|
+
},
|
|
5354
|
+
emits: ["selectYear", "selectMonth"],
|
|
5355
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
5356
|
+
__expose();
|
|
5357
|
+
const props = __props;
|
|
5358
|
+
const emit = __emit;
|
|
5359
|
+
const { d } = injectI18n();
|
|
5360
|
+
const currentViewYear = computed(() => props.viewMonth.getFullYear());
|
|
5361
|
+
const currentViewMonthIndex = computed(() => props.viewMonth.getMonth());
|
|
5362
|
+
const years = computed(() => {
|
|
5363
|
+
const count = 100;
|
|
5364
|
+
const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
|
|
5365
|
+
const start = currentYear - count;
|
|
5366
|
+
const end = currentYear + count;
|
|
5367
|
+
return Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
5368
|
+
});
|
|
5369
|
+
const monthNames = computed(() => {
|
|
5370
|
+
return Array.from({ length: 12 }, (_, i) => ({
|
|
5371
|
+
label: d.value(new Date(2e3, i, 1), { month: "short" }),
|
|
5372
|
+
value: i
|
|
5373
|
+
}));
|
|
5374
|
+
});
|
|
5375
|
+
const buttonRefs = useTemplateRef("buttons");
|
|
5376
|
+
const scrollToActiveYear = async () => {
|
|
5377
|
+
if (props.mode !== "year") return;
|
|
5378
|
+
await nextTick();
|
|
5379
|
+
const activeIndex = years.value.indexOf(currentViewYear.value);
|
|
5380
|
+
const selectedYearButton = buttonRefs.value?.[activeIndex]?.$el;
|
|
5381
|
+
if (!selectedYearButton) return;
|
|
5382
|
+
selectedYearButton.scrollIntoView({ block: "center" });
|
|
5383
|
+
};
|
|
5384
|
+
watch(
|
|
5385
|
+
() => props.open,
|
|
5386
|
+
(open) => {
|
|
5387
|
+
if (open) {
|
|
5388
|
+
scrollToActiveYear();
|
|
5389
|
+
}
|
|
5390
|
+
}
|
|
5391
|
+
);
|
|
5392
|
+
const __returned__ = { props, emit, d, currentViewYear, currentViewMonthIndex, years, monthNames, buttonRefs, scrollToActiveYear, OnyxButton };
|
|
5393
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
5394
|
+
return __returned__;
|
|
5395
|
+
}
|
|
5396
|
+
});
|
|
5397
|
+
const _hoisted_1$Z = { class: "onyx-component onyx-calendar__picker-grid" };
|
|
5398
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5399
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
5400
|
+
$setup.props.mode === "year" ? (openBlock(true), createElementBlock(
|
|
5401
|
+
Fragment,
|
|
5402
|
+
{ key: 0 },
|
|
5403
|
+
renderList($setup.years, (year) => {
|
|
5404
|
+
return openBlock(), createBlock($setup["OnyxButton"], {
|
|
5405
|
+
ref_for: true,
|
|
5406
|
+
ref: "buttons",
|
|
5407
|
+
key: year,
|
|
5408
|
+
label: year.toString(),
|
|
5409
|
+
color: year === $setup.currentViewYear ? "primary" : "neutral",
|
|
5410
|
+
mode: "plain",
|
|
5411
|
+
size: "small",
|
|
5412
|
+
onClick: ($event) => $setup.emit("selectYear", year)
|
|
5413
|
+
}, null, 8, ["label", "color", "onClick"]);
|
|
5414
|
+
}),
|
|
5415
|
+
128
|
|
5416
|
+
/* KEYED_FRAGMENT */
|
|
5417
|
+
)) : (openBlock(true), createElementBlock(
|
|
5418
|
+
Fragment,
|
|
5419
|
+
{ key: 1 },
|
|
5420
|
+
renderList($setup.monthNames, (month) => {
|
|
5421
|
+
return openBlock(), createBlock($setup["OnyxButton"], {
|
|
5422
|
+
key: month.value,
|
|
5423
|
+
label: month.label,
|
|
5424
|
+
color: month.value === $setup.currentViewMonthIndex ? "primary" : "neutral",
|
|
5425
|
+
mode: "plain",
|
|
5426
|
+
size: "small",
|
|
5427
|
+
onClick: ($event) => $setup.emit("selectMonth", month.value)
|
|
5428
|
+
}, null, 8, ["label", "color", "onClick"]);
|
|
5429
|
+
}),
|
|
5430
|
+
128
|
|
5431
|
+
/* KEYED_FRAGMENT */
|
|
5432
|
+
))
|
|
5433
|
+
]);
|
|
5434
|
+
}
|
|
5435
|
+
const OnyxMonthYearPickerGrid = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendar/OnyxMonthYearPickerGrid.vue"]]);
|
|
5396
5436
|
const __default__$6 = {};
|
|
5397
|
-
const _sfc_main$
|
|
5437
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
5398
5438
|
...__default__$6,
|
|
5399
5439
|
__name: "OnyxCalendar",
|
|
5400
5440
|
props: {
|
|
@@ -5439,7 +5479,15 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
5439
5479
|
const {
|
|
5440
5480
|
state: { weeksToRender, weekdayNames },
|
|
5441
5481
|
elements: { table: tableProps, cell: cellProps, button: buttonProps },
|
|
5442
|
-
internals: {
|
|
5482
|
+
internals: {
|
|
5483
|
+
goToMonthByOffset,
|
|
5484
|
+
goToToday,
|
|
5485
|
+
isSelected,
|
|
5486
|
+
isToday,
|
|
5487
|
+
getRangeType,
|
|
5488
|
+
isDisabled,
|
|
5489
|
+
goToDate
|
|
5490
|
+
}
|
|
5443
5491
|
} = _unstableCreateCalendar({
|
|
5444
5492
|
disabled,
|
|
5445
5493
|
min,
|
|
@@ -5454,6 +5502,23 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
5454
5502
|
onUpdateViewMonth: (newDate) => viewMonth.value = newDate,
|
|
5455
5503
|
onUpdateModelValue: (newValue) => modelValue.value = newValue
|
|
5456
5504
|
});
|
|
5505
|
+
const isPickerOpen = ref(false);
|
|
5506
|
+
const pickerMode = ref("year");
|
|
5507
|
+
const handlePickerUpdate = (isOpen) => {
|
|
5508
|
+
if (isOpen) pickerMode.value = "year";
|
|
5509
|
+
};
|
|
5510
|
+
const handleYearSelect = (year) => {
|
|
5511
|
+
const newDate = new Date(viewMonth.value);
|
|
5512
|
+
newDate.setFullYear(year);
|
|
5513
|
+
goToDate(newDate, true);
|
|
5514
|
+
pickerMode.value = "month";
|
|
5515
|
+
};
|
|
5516
|
+
const handleMonthSelect = (month) => {
|
|
5517
|
+
const newDate = new Date(viewMonth.value);
|
|
5518
|
+
newDate.setMonth(month);
|
|
5519
|
+
goToDate(newDate, true);
|
|
5520
|
+
isPickerOpen.value = false;
|
|
5521
|
+
};
|
|
5457
5522
|
const hoveredDate = ref();
|
|
5458
5523
|
const hoverHandlers = (day) => {
|
|
5459
5524
|
if (selectionMode.value !== "range" || isDisabled.value(day.date)) return {};
|
|
@@ -5500,21 +5565,29 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
5500
5565
|
const calendarWeeksDisplay = computed(
|
|
5501
5566
|
() => `${t.value("calendar.calendarWeek")} ${weeksToRender.value[0]?.weekNumber} - ${weeksToRender.value[weeksToRender.value.length - 1]?.weekNumber} `
|
|
5502
5567
|
);
|
|
5503
|
-
const
|
|
5568
|
+
const picker = useTemplateRef("pickerRef");
|
|
5569
|
+
const pickerSmall = useTemplateRef("pickerSmallRef");
|
|
5570
|
+
const pickerSmallButton = useTemplateRef("pickerSmallButtonRef");
|
|
5571
|
+
useOutsideClick({
|
|
5572
|
+
inside: () => [picker.value, pickerSmall.value, pickerSmallButton.value],
|
|
5573
|
+
onOutsideClick: () => isPickerOpen.value = false
|
|
5574
|
+
});
|
|
5575
|
+
const __returned__ = { props, emit, slots, modelValue, viewMonth, densityClass, skeleton, t, locale, d, calendarRef, width, calendarSize, disabled, min, max, weekStartDay, showCalendarWeeks, selectionMode, weeksToRender, weekdayNames, tableProps, cellProps, buttonProps, goToMonthByOffset, goToToday, isSelected, isToday, getRangeType, isDisabled, goToDate, isPickerOpen, pickerMode, handlePickerUpdate, handleYearSelect, handleMonthSelect, hoveredDate, hoverHandlers, tableHeaders, getDayRangeType, selectWeek, getWeekNumberProps, calendarWeeksDisplay, picker, pickerSmall, pickerSmallButton, get iconChevronLeftSmall() {
|
|
5504
5576
|
return iconChevronLeftSmall;
|
|
5505
5577
|
}, get iconChevronRightSmall() {
|
|
5506
5578
|
return iconChevronRightSmall;
|
|
5507
|
-
},
|
|
5579
|
+
}, OnyxBasicPopover, OnyxButton, OnyxCalendarCell, OnyxSkeleton, OnyxSystemButton, OnyxTag, OnyxMonthYearPickerGrid };
|
|
5508
5580
|
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
5509
5581
|
return __returned__;
|
|
5510
5582
|
}
|
|
5511
5583
|
});
|
|
5512
5584
|
const _hoisted_1$Y = { class: "onyx-calendar__header" };
|
|
5513
5585
|
const _hoisted_2$K = { class: "control-container time-control-container" };
|
|
5514
|
-
const _hoisted_3$u = { class: "control-
|
|
5515
|
-
const _hoisted_4$m = { class: "
|
|
5516
|
-
const _hoisted_5$g =
|
|
5517
|
-
|
|
5586
|
+
const _hoisted_3$u = { class: "control-container__month-buttons" };
|
|
5587
|
+
const _hoisted_4$m = { class: "control-container" };
|
|
5588
|
+
const _hoisted_5$g = { class: "onyx-calendar__body" };
|
|
5589
|
+
const _hoisted_6$c = ["abbr"];
|
|
5590
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5518
5591
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5519
5592
|
"div",
|
|
5520
5593
|
{
|
|
@@ -5540,53 +5613,84 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5540
5613
|
createVNode($setup["OnyxSystemButton"], {
|
|
5541
5614
|
label: $setup.t("calendar.todayButton.label"),
|
|
5542
5615
|
class: "control-container__today-btn",
|
|
5543
|
-
disabled: $setup.disabled === true,
|
|
5616
|
+
disabled: $setup.disabled === true || $setup.isPickerOpen && $setup.calendarSize === "small",
|
|
5544
5617
|
onClick: $setup.goToToday
|
|
5545
5618
|
}, null, 8, ["label", "disabled", "onClick"]),
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5619
|
+
createElementVNode("div", _hoisted_3$u, [
|
|
5620
|
+
createVNode($setup["OnyxSystemButton"], {
|
|
5621
|
+
label: $setup.t("calendar.previousMonthButton"),
|
|
5622
|
+
icon: $setup.iconChevronLeftSmall,
|
|
5623
|
+
disabled: $setup.disabled === true || $setup.isPickerOpen && $setup.calendarSize === "small",
|
|
5624
|
+
onClick: _cache[0] || (_cache[0] = ($event) => $setup.goToMonthByOffset(-1))
|
|
5625
|
+
}, null, 8, ["label", "icon", "disabled"]),
|
|
5626
|
+
createVNode($setup["OnyxSystemButton"], {
|
|
5627
|
+
label: $setup.t("calendar.nextMonthButton"),
|
|
5628
|
+
icon: $setup.iconChevronRightSmall,
|
|
5629
|
+
disabled: $setup.disabled === true || $setup.isPickerOpen && $setup.calendarSize === "small",
|
|
5630
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $setup.goToMonthByOffset(1))
|
|
5631
|
+
}, null, 8, ["label", "icon", "disabled"])
|
|
5632
|
+
]),
|
|
5633
|
+
$setup.calendarSize === "small" ? (openBlock(), createBlock($setup["OnyxButton"], {
|
|
5634
|
+
key: 0,
|
|
5635
|
+
ref: "pickerSmallButtonRef",
|
|
5636
|
+
color: "neutral",
|
|
5637
|
+
label: $setup.d($setup.viewMonth, { month: "long", year: "numeric" }),
|
|
5638
|
+
mode: "plain",
|
|
5639
|
+
onClick: _cache[2] || (_cache[2] = () => {
|
|
5640
|
+
$setup.isPickerOpen = !$setup.isPickerOpen;
|
|
5641
|
+
$setup.handlePickerUpdate($setup.isPickerOpen);
|
|
5642
|
+
})
|
|
5643
|
+
}, null, 8, ["label"])) : (openBlock(), createBlock($setup["OnyxBasicPopover"], {
|
|
5644
|
+
key: 1,
|
|
5645
|
+
ref: "pickerRef",
|
|
5646
|
+
open: $setup.isPickerOpen,
|
|
5647
|
+
"onUpdate:open": [
|
|
5648
|
+
_cache[3] || (_cache[3] = ($event) => $setup.isPickerOpen = $event),
|
|
5649
|
+
$setup.handlePickerUpdate
|
|
5650
|
+
],
|
|
5651
|
+
label: $setup.t("calendar.monthYearPicker")
|
|
5549
5652
|
}, {
|
|
5550
|
-
default: withCtx(() => [
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
)
|
|
5653
|
+
default: withCtx(({ trigger }) => [
|
|
5654
|
+
createVNode($setup["OnyxButton"], mergeProps({
|
|
5655
|
+
color: "neutral",
|
|
5656
|
+
label: $setup.d($setup.viewMonth, { month: "long", year: "numeric" }),
|
|
5657
|
+
mode: "plain"
|
|
5658
|
+
}, trigger), null, 16, ["label"])
|
|
5659
|
+
]),
|
|
5660
|
+
content: withCtx(() => [
|
|
5661
|
+
createVNode($setup["OnyxMonthYearPickerGrid"], {
|
|
5662
|
+
open: $setup.isPickerOpen,
|
|
5663
|
+
mode: $setup.pickerMode,
|
|
5664
|
+
"view-month": $setup.viewMonth,
|
|
5665
|
+
onSelectYear: $setup.handleYearSelect,
|
|
5666
|
+
onSelectMonth: $setup.handleMonthSelect
|
|
5667
|
+
}, null, 8, ["open", "mode", "view-month"])
|
|
5556
5668
|
]),
|
|
5557
5669
|
_: 1
|
|
5558
5670
|
/* STABLE */
|
|
5559
|
-
}),
|
|
5671
|
+
}, 8, ["open", "label"])),
|
|
5560
5672
|
$setup.showCalendarWeeks && $setup.calendarSize === "big" ? (openBlock(), createBlock($setup["OnyxTag"], {
|
|
5561
|
-
key:
|
|
5673
|
+
key: 2,
|
|
5562
5674
|
color: "primary",
|
|
5563
5675
|
label: $setup.calendarWeeksDisplay
|
|
5564
|
-
}, null, 8, ["label"])) : createCommentVNode("v-if", true)
|
|
5565
|
-
createVNode($setup["OnyxIconButton"], {
|
|
5566
|
-
class: "control-container__prev-month-button",
|
|
5567
|
-
label: $setup.t("calendar.previousMonthButton"),
|
|
5568
|
-
color: "neutral",
|
|
5569
|
-
icon: $setup.iconChevronLeftSmall,
|
|
5570
|
-
disabled: $setup.disabled === true,
|
|
5571
|
-
onClick: _cache[0] || (_cache[0] = ($event) => $setup.goToMonthByOffset(-1))
|
|
5572
|
-
}, null, 8, ["label", "icon", "disabled"]),
|
|
5573
|
-
createVNode($setup["OnyxIconButton"], {
|
|
5574
|
-
class: "control-container__next-month-button",
|
|
5575
|
-
label: $setup.t("calendar.nextMonthButton"),
|
|
5576
|
-
color: "neutral",
|
|
5577
|
-
icon: $setup.iconChevronRightSmall,
|
|
5578
|
-
disabled: $setup.disabled === true,
|
|
5579
|
-
onClick: _cache[1] || (_cache[1] = ($event) => $setup.goToMonthByOffset(1))
|
|
5580
|
-
}, null, 8, ["label", "icon", "disabled"])
|
|
5676
|
+
}, null, 8, ["label"])) : createCommentVNode("v-if", true)
|
|
5581
5677
|
]),
|
|
5582
|
-
createElementVNode("div",
|
|
5678
|
+
createElementVNode("div", _hoisted_4$m, [
|
|
5583
5679
|
renderSlot(_ctx.$slots, "actions")
|
|
5584
5680
|
])
|
|
5585
5681
|
]),
|
|
5586
|
-
createElementVNode("div",
|
|
5587
|
-
|
|
5682
|
+
createElementVNode("div", _hoisted_5$g, [
|
|
5683
|
+
$setup.calendarSize === "small" && $setup.isPickerOpen ? (openBlock(), createBlock($setup["OnyxMonthYearPickerGrid"], {
|
|
5684
|
+
key: 0,
|
|
5685
|
+
ref: "pickerSmallRef",
|
|
5686
|
+
open: $setup.isPickerOpen,
|
|
5687
|
+
mode: $setup.pickerMode,
|
|
5688
|
+
"view-month": $setup.viewMonth,
|
|
5689
|
+
onSelectYear: $setup.handleYearSelect,
|
|
5690
|
+
onSelectMonth: $setup.handleMonthSelect
|
|
5691
|
+
}, null, 8, ["open", "mode", "view-month"])) : (openBlock(), createElementBlock(
|
|
5588
5692
|
"table",
|
|
5589
|
-
normalizeProps(
|
|
5693
|
+
normalizeProps(mergeProps({ key: 1 }, $setup.tableProps)),
|
|
5590
5694
|
[
|
|
5591
5695
|
createElementVNode("thead", null, [
|
|
5592
5696
|
createElementVNode("tr", null, [
|
|
@@ -5598,7 +5702,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5598
5702
|
key: header,
|
|
5599
5703
|
scope: "col",
|
|
5600
5704
|
abbr: header
|
|
5601
|
-
}, toDisplayString(header), 9,
|
|
5705
|
+
}, toDisplayString(header), 9, _hoisted_6$c);
|
|
5602
5706
|
}),
|
|
5603
5707
|
128
|
|
5604
5708
|
/* KEYED_FRAGMENT */
|
|
@@ -5668,14 +5772,14 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5668
5772
|
],
|
|
5669
5773
|
16
|
|
5670
5774
|
/* FULL_PROPS */
|
|
5671
|
-
)
|
|
5775
|
+
))
|
|
5672
5776
|
])
|
|
5673
5777
|
],
|
|
5674
5778
|
2
|
|
5675
5779
|
/* CLASS */
|
|
5676
5780
|
));
|
|
5677
5781
|
}
|
|
5678
|
-
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5782
|
+
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendar/OnyxCalendar.vue"]]);
|
|
5679
5783
|
const useRequired = (props, requiredMarker) => ({
|
|
5680
5784
|
/**
|
|
5681
5785
|
* Class that configures which type of required marker is used.
|
|
@@ -5891,7 +5995,7 @@ const formatMinMax = (locale, type, value) => {
|
|
|
5891
5995
|
};
|
|
5892
5996
|
return date.toLocaleString(locale, format);
|
|
5893
5997
|
};
|
|
5894
|
-
const _sfc_main$
|
|
5998
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
5895
5999
|
__name: "OnyxErrorTooltip",
|
|
5896
6000
|
props: {
|
|
5897
6001
|
errorMessages: { type: Object, required: false },
|
|
@@ -5912,7 +6016,7 @@ const _hoisted_2$J = {
|
|
|
5912
6016
|
key: 0,
|
|
5913
6017
|
ref: "targetRef"
|
|
5914
6018
|
};
|
|
5915
|
-
function _sfc_render$
|
|
6019
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5916
6020
|
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
5917
6021
|
!$setup.tooltipError || $setup.props.disabled ? (openBlock(), createElementBlock(
|
|
5918
6022
|
"div",
|
|
@@ -5949,8 +6053,8 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5949
6053
|
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
5950
6054
|
]);
|
|
5951
6055
|
}
|
|
5952
|
-
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5953
|
-
const _sfc_main$
|
|
6056
|
+
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxErrorTooltip/OnyxErrorTooltip.vue"]]);
|
|
6057
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
5954
6058
|
...{ inheritAttrs: false },
|
|
5955
6059
|
__name: "OnyxCheckbox",
|
|
5956
6060
|
props: {
|
|
@@ -6000,7 +6104,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
6000
6104
|
const _hoisted_1$W = ["title"];
|
|
6001
6105
|
const _hoisted_2$I = { class: "onyx-checkbox__container" };
|
|
6002
6106
|
const _hoisted_3$t = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"];
|
|
6003
|
-
function _sfc_render$
|
|
6107
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6004
6108
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
6005
6109
|
"div",
|
|
6006
6110
|
mergeProps({
|
|
@@ -6085,7 +6189,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6085
6189
|
/* STABLE */
|
|
6086
6190
|
}, 16, ["disabled", "error-messages"]));
|
|
6087
6191
|
}
|
|
6088
|
-
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6192
|
+
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckbox/OnyxCheckbox.vue"]]);
|
|
6089
6193
|
const useSelectAllCheckboxState = (enabledOptionValues, modelValue) => computed(() => {
|
|
6090
6194
|
const currentValues = modelValue.value.filter(
|
|
6091
6195
|
(value) => enabledOptionValues.value.includes(value)
|
|
@@ -6120,7 +6224,7 @@ const useCheckAll = (enabledOptionValues, modelValue, onChangeCallback) => {
|
|
|
6120
6224
|
}
|
|
6121
6225
|
};
|
|
6122
6226
|
};
|
|
6123
|
-
const _sfc_main$
|
|
6227
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
6124
6228
|
__name: "OnyxInfoTooltip",
|
|
6125
6229
|
props: {
|
|
6126
6230
|
text: { type: String, required: true },
|
|
@@ -6157,7 +6261,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
6157
6261
|
}
|
|
6158
6262
|
});
|
|
6159
6263
|
const _hoisted_1$V = { class: "onyx-component onyx-info-tooltip" };
|
|
6160
|
-
function _sfc_render$
|
|
6264
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6161
6265
|
return openBlock(), createElementBlock("span", _hoisted_1$V, [
|
|
6162
6266
|
$setup.triggerType === "click" ? (openBlock(), createBlock($setup["OnyxTooltip"], mergeProps({ key: 0 }, $setup.tooltipProps, {
|
|
6163
6267
|
open: $setup.isVisible,
|
|
@@ -6216,8 +6320,8 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6216
6320
|
))
|
|
6217
6321
|
]);
|
|
6218
6322
|
}
|
|
6219
|
-
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6220
|
-
const _sfc_main$
|
|
6323
|
+
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoTooltip/OnyxInfoTooltip.vue"]]);
|
|
6324
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
6221
6325
|
__name: "OnyxCheckboxGroup",
|
|
6222
6326
|
props: {
|
|
6223
6327
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -6280,7 +6384,7 @@ const _hoisted_2$H = {
|
|
|
6280
6384
|
key: 0,
|
|
6281
6385
|
class: "onyx-checkbox-group__label"
|
|
6282
6386
|
};
|
|
6283
|
-
function _sfc_render$
|
|
6387
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6284
6388
|
return openBlock(), createElementBlock("fieldset", {
|
|
6285
6389
|
class: normalizeClass(["onyx-component", "onyx-checkbox-group", $setup.densityClass]),
|
|
6286
6390
|
disabled: $setup.disabled,
|
|
@@ -6368,10 +6472,10 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6368
6472
|
)
|
|
6369
6473
|
], 10, _hoisted_1$U);
|
|
6370
6474
|
}
|
|
6371
|
-
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6475
|
+
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue"]]);
|
|
6372
6476
|
const CODE_TABS_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
6373
6477
|
const TABS_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
6374
|
-
const _sfc_main$
|
|
6478
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
6375
6479
|
...{ inheritAttrs: false },
|
|
6376
6480
|
__name: "OnyxTab",
|
|
6377
6481
|
props: {
|
|
@@ -6404,7 +6508,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
6404
6508
|
});
|
|
6405
6509
|
const _hoisted_1$T = ["disabled"];
|
|
6406
6510
|
const _hoisted_2$G = { class: "onyx-tab__label" };
|
|
6407
|
-
function _sfc_render$
|
|
6511
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6408
6512
|
return openBlock(), createElementBlock(
|
|
6409
6513
|
Fragment,
|
|
6410
6514
|
null,
|
|
@@ -6459,9 +6563,9 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6459
6563
|
/* STABLE_FRAGMENT */
|
|
6460
6564
|
);
|
|
6461
6565
|
}
|
|
6462
|
-
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6566
|
+
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTab/OnyxTab.vue"]]);
|
|
6463
6567
|
const __default__$5 = {};
|
|
6464
|
-
const _sfc_main$
|
|
6568
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
6465
6569
|
...__default__$5,
|
|
6466
6570
|
__name: "OnyxCodeTab",
|
|
6467
6571
|
props: {
|
|
@@ -6511,7 +6615,7 @@ const _hoisted_2$F = {
|
|
|
6511
6615
|
key: 0,
|
|
6512
6616
|
class: "onyx-code-tab__language onyx-text--small"
|
|
6513
6617
|
};
|
|
6514
|
-
function _sfc_render$
|
|
6618
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6515
6619
|
return openBlock(), createBlock($setup["OnyxTab"], mergeProps($setup.tabProps, {
|
|
6516
6620
|
label: $setup.label,
|
|
6517
6621
|
class: "onyx-code-tab",
|
|
@@ -6576,8 +6680,8 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6576
6680
|
/* FORWARDED */
|
|
6577
6681
|
}, 16, ["label", "disabled"]);
|
|
6578
6682
|
}
|
|
6579
|
-
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6580
|
-
const _sfc_main$
|
|
6683
|
+
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTab/OnyxCodeTab.vue"]]);
|
|
6684
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
6581
6685
|
__name: "OnyxTabs",
|
|
6582
6686
|
props: {
|
|
6583
6687
|
density: { type: null, required: false },
|
|
@@ -6621,7 +6725,7 @@ const _hoisted_2$E = {
|
|
|
6621
6725
|
key: 0,
|
|
6622
6726
|
class: "onyx-tabs__actions"
|
|
6623
6727
|
};
|
|
6624
|
-
function _sfc_render$
|
|
6728
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6625
6729
|
return openBlock(), createElementBlock(
|
|
6626
6730
|
"div",
|
|
6627
6731
|
{
|
|
@@ -6653,9 +6757,9 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6653
6757
|
/* CLASS */
|
|
6654
6758
|
);
|
|
6655
6759
|
}
|
|
6656
|
-
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6760
|
+
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTabs/OnyxTabs.vue"]]);
|
|
6657
6761
|
const __default__$4 = {};
|
|
6658
|
-
const _sfc_main$
|
|
6762
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
6659
6763
|
...__default__$4,
|
|
6660
6764
|
__name: "OnyxCodeTabs",
|
|
6661
6765
|
props: {
|
|
@@ -6697,7 +6801,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
6697
6801
|
return __returned__;
|
|
6698
6802
|
}
|
|
6699
6803
|
});
|
|
6700
|
-
function _sfc_render$
|
|
6804
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6701
6805
|
return openBlock(), createBlock($setup["OnyxTabs"], mergeProps($setup.tabsProps, {
|
|
6702
6806
|
modelValue: $setup.modelValue,
|
|
6703
6807
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.modelValue = $event),
|
|
@@ -6730,13 +6834,13 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6730
6834
|
/* FORWARDED */
|
|
6731
6835
|
}, 16, ["modelValue", "label"]);
|
|
6732
6836
|
}
|
|
6733
|
-
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6837
|
+
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTabs/OnyxCodeTabs.vue"]]);
|
|
6734
6838
|
const escapeCSS = (key) => {
|
|
6735
6839
|
const name = typeof key === "symbol" && key.description ? key.description : String(key);
|
|
6736
6840
|
if (globalThis.window && window.CSS) return CSS.escape(name);
|
|
6737
6841
|
return name.replace(/\W/g, "-");
|
|
6738
6842
|
};
|
|
6739
|
-
const _sfc_main$
|
|
6843
|
+
const _sfc_main$13 = {};
|
|
6740
6844
|
const _hoisted_1$Q = {
|
|
6741
6845
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6742
6846
|
class: "onyx-component onyx-empty-svg",
|
|
@@ -6746,13 +6850,13 @@ const _hoisted_1$Q = {
|
|
|
6746
6850
|
fill: "none",
|
|
6747
6851
|
"aria-hidden": "true"
|
|
6748
6852
|
};
|
|
6749
|
-
function _sfc_render$
|
|
6853
|
+
function _sfc_render$13(_ctx, _cache) {
|
|
6750
6854
|
return openBlock(), createElementBlock("svg", _hoisted_1$Q, [..._cache[0] || (_cache[0] = [
|
|
6751
6855
|
createStaticVNode('<g clip-path="url(#clip0_19774_64940)"><path d="M41.0399 39.4974L13.073 46.6992C12.1243 46.9423 11.118 46.7992 10.2747 46.3013C9.43136 45.8034 8.82 44.9913 8.5747 44.0432L0.11726 11.1984C-0.12588 10.2497 0.0172077 9.24332 0.515132 8.40001C1.01306 7.55671 1.82515 6.94535 2.77327 6.70005L28.7919 0L35.4509 2.98115L43.6959 34.999C43.9391 35.9477 43.796 36.9541 43.2981 37.7974C42.8002 38.6408 41.988 39.2522 41.0399 39.4974Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M3.03786 7.7294C2.36269 7.90408 1.78436 8.33943 1.42977 8.93996C1.07518 9.54049 0.973281 10.2571 1.14642 10.9327L9.60439 43.7776C9.77906 44.4528 10.2144 45.0311 10.8149 45.3857C11.4155 45.7403 12.1321 45.8422 12.8077 45.6691L40.7746 38.4675C41.4498 38.2928 42.0281 37.8574 42.3827 37.2569C42.7373 36.6564 42.8392 35.9397 42.666 35.2641L34.5488 3.74208L28.6963 1.12207L3.03786 7.7294Z" fill="var(--onyx-empty-svg-color-background)"></path><path d="M35.3801 3.15071L31.0518 4.2653C30.7358 4.34666 30.4005 4.29916 30.1195 4.13326C29.8386 3.96736 29.635 3.69665 29.5536 3.38068L28.7304 0.183878C28.7269 0.16989 28.7273 0.155176 28.7317 0.141419C28.7361 0.127663 28.7442 0.115419 28.7553 0.106091C28.7663 0.0967629 28.7797 0.0907273 28.794 0.0886731C28.8083 0.0866188 28.8229 0.0886288 28.8361 0.0944753L35.3921 3.00598C35.4067 3.01247 35.4189 3.02333 35.427 3.03707C35.4352 3.0508 35.4388 3.06673 35.4375 3.08263C35.4362 3.09854 35.4299 3.11363 35.4196 3.12583C35.4094 3.13803 35.3955 3.14673 35.3801 3.15071Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M33.1031 31.199L20.3701 34.4782C20.2125 34.5178 20.0456 34.4934 19.9059 34.4104C19.7661 34.3274 19.6649 34.1924 19.6244 34.035C19.5839 33.8776 19.6073 33.7105 19.6896 33.5703C19.7718 33.4301 19.9062 33.3282 20.0634 33.2868L32.7963 30.0076C32.8747 29.987 32.9564 29.982 33.0367 29.993C33.1171 30.0041 33.1944 30.0308 33.2643 30.0719C33.3343 30.1129 33.3954 30.1673 33.4442 30.2321C33.493 30.2968 33.5285 30.3705 33.5488 30.4491C33.569 30.5276 33.5735 30.6093 33.562 30.6896C33.5505 30.7698 33.5233 30.847 33.4819 30.9167C33.4404 30.9864 33.3857 31.0472 33.3206 31.0957C33.2556 31.1441 33.1817 31.1792 33.1031 31.199Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M36.0778 32.5772L20.8876 36.4889C20.8092 36.5095 20.7275 36.5145 20.6472 36.5034C20.5669 36.4924 20.4895 36.4656 20.4196 36.4246C20.3497 36.3836 20.2885 36.3291 20.2397 36.2644C20.1909 36.1997 20.1554 36.1259 20.1352 36.0474C20.1149 35.9689 20.1104 35.8872 20.1219 35.8069C20.1334 35.7267 20.1606 35.6495 20.2021 35.5798C20.2435 35.5101 20.2983 35.4493 20.3633 35.4008C20.4283 35.3524 20.5022 35.3172 20.5808 35.2975L35.771 31.3858C35.9286 31.3461 36.0956 31.3705 36.2353 31.4535C36.375 31.5366 36.4762 31.6715 36.5167 31.8289C36.5573 31.9863 36.5338 32.1534 36.4516 32.2936C36.3693 32.4338 36.2349 32.5357 36.0778 32.5772Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M15.1732 38.4265C16.374 38.4265 17.3474 37.4531 17.3474 36.2523C17.3474 35.0515 16.374 34.0781 15.1732 34.0781C13.9724 34.0781 12.999 35.0515 12.999 36.2523C12.999 37.4531 13.9724 38.4265 15.1732 38.4265Z" fill="var(--onyx-empty-svg-color-primary)"></path><path d="M31.7486 25.5099L14.8379 29.863C14.3492 29.9882 13.8308 29.9144 13.3963 29.6579C12.9619 29.4013 12.647 28.9829 12.5207 28.4945L8.977 14.7275C8.8519 14.2388 8.92572 13.7205 9.18226 13.2862C9.43881 12.8519 9.85713 12.537 10.3455 12.4107L27.2561 8.05767C27.7448 7.93244 28.2633 8.0062 28.6977 8.26275C29.1321 8.5193 29.447 8.93771 29.5733 9.42615L33.1171 23.1931C33.2422 23.6818 33.1684 24.2001 32.9119 24.6345C32.6553 25.0688 32.237 25.3836 31.7486 25.5099Z" fill="var(--onyx-empty-svg-color-background)"></path><path d="M31.7486 25.5099L14.8379 29.863C14.3492 29.9882 13.8308 29.9144 13.3963 29.6579C12.9619 29.4013 12.647 28.9829 12.5207 28.4945L8.977 14.7275C8.8519 14.2388 8.92572 13.7205 9.18226 13.2862C9.43881 12.8519 9.85713 12.537 10.3455 12.4107L27.2561 8.05767C27.7448 7.93244 28.2633 8.0062 28.6977 8.26275C29.1321 8.5193 29.447 8.93771 29.5733 9.42615L33.1171 23.1931C33.2422 23.6818 33.1684 24.2001 32.9119 24.6345C32.6553 25.0688 32.237 25.3836 31.7486 25.5099ZM10.4012 12.6271C9.97035 12.7387 9.60129 13.0166 9.37502 13.3999C9.14875 13.7832 9.08374 14.2406 9.19426 14.6717L12.7381 28.4387C12.8496 28.8696 13.1276 29.2387 13.5108 29.4649C13.8941 29.6912 14.3515 29.7562 14.7827 29.6457L31.693 25.2931C32.1239 25.1815 32.4929 24.9036 32.7192 24.5203C32.9455 24.137 33.0105 23.6796 32.9 23.2485L29.3565 9.48148C29.2449 9.05059 28.967 8.68153 28.5837 8.45526C28.2004 8.22899 27.743 8.16399 27.3118 8.2745L10.4012 12.6271Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M26.3983 12.6856L17.864 14.8825C17.7894 14.9034 17.7096 14.8951 17.6409 14.8594C17.5722 14.8237 17.5195 14.7633 17.4936 14.6903C17.4816 14.6521 17.4775 14.6119 17.4815 14.5721C17.4855 14.5323 17.4975 14.4937 17.517 14.4587C17.5364 14.4237 17.5627 14.3931 17.5944 14.3686C17.626 14.3442 17.6623 14.3264 17.7011 14.3164L26.3887 12.0801C26.7397 12.2579 26.6473 12.6216 26.3984 12.6857L26.3983 12.6856Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M26.7836 14.1817L18.2492 16.3786C18.1746 16.3994 18.0949 16.3912 18.0262 16.3555C17.9574 16.3198 17.9048 16.2594 17.8789 16.1864C17.8669 16.1482 17.8627 16.108 17.8667 16.0682C17.8707 16.0284 17.8828 15.9898 17.9022 15.9548C17.9216 15.9198 17.948 15.8892 17.9796 15.8647C18.0113 15.8402 18.0476 15.8225 18.0863 15.8125L26.7739 13.5762C27.1249 13.754 27.0325 14.1177 26.7837 14.1818L26.7836 14.1817Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M16.6237 17.7065L14.019 18.3768C13.9769 18.3876 13.9331 18.3901 13.89 18.384C13.8469 18.3779 13.8055 18.3634 13.768 18.3413C13.7306 18.3191 13.6978 18.2899 13.6717 18.2551C13.6456 18.2203 13.6265 18.1807 13.6157 18.1386L12.8244 15.0656C12.8136 15.0235 12.8111 14.9796 12.8172 14.9366C12.8233 14.8935 12.8379 14.852 12.86 14.8146C12.8821 14.7771 12.9114 14.7444 12.9462 14.7183C12.9809 14.6921 13.0205 14.6731 13.0626 14.6623L15.6673 13.9918C15.7523 13.97 15.8426 13.9829 15.9182 14.0275C15.9938 14.0722 16.0486 14.145 16.0706 14.23L16.8619 17.3038C16.8727 17.3459 16.8752 17.3897 16.8691 17.4328C16.863 17.4759 16.8484 17.5173 16.8263 17.5548C16.8042 17.5922 16.7749 17.6249 16.7401 17.6511C16.7054 17.6772 16.6658 17.6962 16.6237 17.7071V17.7065Z" fill="var(--onyx-empty-svg-color-primary)"></path><path d="M27.5479 17.2541L14.5227 20.6069C14.4481 20.6277 14.3683 20.6195 14.2996 20.5838C14.2309 20.5481 14.1782 20.4877 14.1523 20.4147C14.1403 20.3765 14.1361 20.3363 14.1402 20.2965C14.1442 20.2567 14.1562 20.2181 14.1757 20.1831C14.1951 20.1481 14.2214 20.1175 14.2531 20.093C14.2847 20.0685 14.321 20.0508 14.3598 20.0408L27.5383 16.6484C27.8893 16.8263 27.7968 17.19 27.5479 17.2541Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M27.9334 18.752L14.9079 22.105C14.8333 22.1258 14.7536 22.1175 14.6848 22.0818C14.6161 22.0462 14.5635 21.9857 14.5376 21.9127C14.5255 21.8745 14.5214 21.8343 14.5254 21.7945C14.5294 21.7547 14.5415 21.7162 14.5609 21.6812C14.5803 21.6462 14.6067 21.6155 14.6383 21.5911C14.67 21.5666 14.7063 21.5488 14.745 21.5389L27.9236 18.1465C28.2746 18.3243 28.1822 18.688 27.9333 18.7521L27.9334 18.752Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M28.3189 20.2482L15.2936 23.6011C15.2191 23.6219 15.1393 23.6136 15.0706 23.5779C15.0018 23.5422 14.9492 23.4818 14.9233 23.4088C14.9113 23.3706 14.9071 23.3304 14.9112 23.2906C14.9152 23.2508 14.9272 23.2123 14.9466 23.1773C14.9661 23.1423 14.9924 23.1116 15.0241 23.0872C15.0557 23.0627 15.092 23.0449 15.1308 23.035L28.3092 19.6426C28.6602 19.8204 28.5678 20.1841 28.3189 20.2482Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M28.7043 21.7453L15.6789 25.0981C15.6043 25.119 15.5246 25.1107 15.4558 25.075C15.3871 25.0393 15.3345 24.9789 15.3086 24.9059C15.2965 24.8677 15.2924 24.8275 15.2964 24.7877C15.3004 24.7479 15.3125 24.7093 15.3319 24.6743C15.3513 24.6394 15.3777 24.6087 15.4093 24.5842C15.441 24.5598 15.4773 24.542 15.516 24.532L28.6946 21.1396C29.0455 21.3175 28.9532 21.6812 28.7043 21.7453Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M29.0894 23.2423L16.0642 26.5952C15.9896 26.616 15.9098 26.6078 15.8411 26.5721C15.7724 26.5364 15.7197 26.4759 15.6938 26.4029C15.6818 26.3648 15.6776 26.3246 15.6817 26.2848C15.6857 26.245 15.6977 26.2064 15.7172 26.1714C15.7366 26.1364 15.7629 26.1058 15.7946 26.0813C15.8262 26.0568 15.8625 26.0391 15.9013 26.0291L29.0798 22.6367C29.4307 22.8146 29.3383 23.1783 29.0894 23.2423Z" fill="var(--onyx-empty-svg-color-border-light)"></path><path d="M15.3334 37.0148C15.2861 37.0271 15.236 37.0237 15.1908 37.005L15.188 37.0038L14.5957 36.7527C14.5683 36.741 14.5434 36.7241 14.5225 36.7028C14.5016 36.6815 14.4852 36.6563 14.474 36.6287C14.4628 36.601 14.4572 36.5714 14.4575 36.5416C14.4578 36.5118 14.464 36.4823 14.4756 36.4549C14.4873 36.4274 14.5043 36.4026 14.5255 36.3817C14.5468 36.3608 14.572 36.3443 14.5997 36.3331C14.6273 36.322 14.6569 36.3164 14.6867 36.3167C14.7166 36.3169 14.746 36.3231 14.7735 36.3348L15.1573 36.498L15.6601 35.3149C15.6837 35.2595 15.7283 35.2157 15.7841 35.1932C15.8399 35.1707 15.9024 35.1713 15.9578 35.1949L15.9548 35.2025L15.9579 35.1947C16.0133 35.2184 16.0571 35.263 16.0796 35.3188C16.1021 35.3746 16.1015 35.4371 16.078 35.4925L15.4863 36.8836C15.4726 36.9156 15.4517 36.9441 15.4252 36.9668C15.3987 36.9895 15.3673 37.0057 15.3335 37.0143L15.3334 37.0148Z" fill="var(--onyx-empty-svg-color-background)"></path><path d="M68.4929 48.1388L40.1442 42.6284C39.183 42.4404 38.3356 41.8788 37.788 41.0669C37.2403 40.2549 37.0372 39.2588 37.223 38.2972L43.6946 5.00397C43.8825 4.04283 44.4441 3.19548 45.256 2.64784C46.0679 2.1002 47.0639 1.89697 48.0255 2.08276L74.3993 7.20932L79.1324 12.7622L72.8238 45.2173C72.6359 46.1785 72.0744 47.0259 71.2625 47.5736C70.4505 48.1214 69.4545 48.3246 68.4929 48.1388Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M47.8229 3.12594C47.1381 2.99365 46.4289 3.13837 45.8507 3.52835C45.2725 3.91833 44.8727 4.52173 44.7388 5.20617L38.2673 38.4994C38.135 39.1841 38.2797 39.8934 38.6697 40.4716C39.0596 41.0497 39.663 41.4496 40.3475 41.5835L68.6962 47.0939C69.3809 47.2262 70.0902 47.0815 70.6684 46.6915C71.2465 46.3015 71.6464 45.6981 71.7803 45.0137L77.9911 13.0616L73.8316 8.18153L47.8229 3.12594Z" fill="var(--onyx-empty-svg-color-background)"></path><path d="M68.7754 17.246L55.8686 14.7371C55.7085 14.706 55.5672 14.6125 55.476 14.4773C55.3848 14.342 55.351 14.1761 55.3821 14.0159C55.4133 13.8558 55.5067 13.7146 55.642 13.6233C55.7772 13.5321 55.9432 13.4984 56.1033 13.5295L69.0104 16.0384C69.1706 16.0695 69.3118 16.163 69.403 16.2982C69.4942 16.4335 69.528 16.5994 69.4969 16.7596C69.4658 16.9197 69.3723 17.0609 69.237 17.1522C69.1018 17.2434 68.9358 17.2772 68.7757 17.246L68.7754 17.246Z" fill="var(--onyx-empty-svg-color-primary)"></path><path d="M70.8707 19.7682L55.4731 16.7752C55.3129 16.7441 55.1717 16.6506 55.0805 16.5154C54.9893 16.3801 54.9555 16.2142 54.9866 16.054C55.0178 15.8939 55.1112 15.7527 55.2465 15.6614C55.3817 15.5702 55.5477 15.5364 55.7078 15.5676L71.1054 18.5606C71.2656 18.5917 71.4068 18.6852 71.498 18.8204C71.5892 18.9557 71.623 19.1216 71.5919 19.2818C71.5608 19.4419 71.4673 19.5831 71.332 19.6744C71.1968 19.7656 71.0308 19.7994 70.8707 19.7682Z" fill="var(--onyx-empty-svg-color-primary)"></path><path d="M67.2353 25.1701L54.3289 22.6613C54.1687 22.6302 54.0028 22.6639 53.8676 22.7552C53.7323 22.8464 53.6389 22.9876 53.6077 23.1477C53.5766 23.3079 53.6104 23.4738 53.7016 23.609C53.7928 23.7443 53.934 23.8377 54.0942 23.8689L67.0006 26.3776C67.1598 26.4064 67.3238 26.3713 67.4573 26.28C67.5908 26.1887 67.683 26.0484 67.7138 25.8897C67.7447 25.7309 67.7118 25.5664 67.6222 25.4317C67.5327 25.297 67.3937 25.203 67.2353 25.1701Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M69.33 27.693L53.9326 24.7C53.8528 24.6834 53.7706 24.6828 53.6906 24.6983C53.6106 24.7137 53.5345 24.7449 53.4666 24.79C53.3988 24.8351 53.3406 24.8933 53.2954 24.9611C53.2502 25.0288 53.219 25.1049 53.2034 25.1849C53.1879 25.2649 53.1884 25.3471 53.2049 25.4269C53.2214 25.5067 53.2536 25.5824 53.2996 25.6496C53.3456 25.7168 53.4045 25.7743 53.4728 25.8185C53.5412 25.8628 53.6177 25.8931 53.6979 25.9076L69.0951 28.9005C69.1749 28.9171 69.2571 28.9177 69.3371 28.9022C69.4171 28.8868 69.4932 28.8556 69.5611 28.8105C69.6289 28.7654 69.6871 28.7073 69.7323 28.6395C69.7775 28.5717 69.8087 28.4956 69.8243 28.4157C69.8398 28.3357 69.8393 28.2534 69.8228 28.1737C69.8063 28.0939 69.7741 28.0182 69.7281 27.9509C69.6821 27.8837 69.6232 27.8263 69.5549 27.782C69.4865 27.7377 69.4101 27.7075 69.33 27.693Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M65.2251 35.5116L52.3183 33.0028C52.1582 32.9716 52.0169 32.8782 51.9257 32.7429C51.8345 32.6077 51.8007 32.4417 51.8318 32.2816C51.863 32.1214 51.9564 31.9802 52.0917 31.889C52.227 31.7977 52.3929 31.764 52.5531 31.7951L65.4601 34.304C65.6203 34.3351 65.7615 34.4286 65.8527 34.5638C65.944 34.6991 65.9777 34.865 65.9466 35.0252C65.9155 35.1853 65.822 35.3266 65.6867 35.4178C65.5515 35.509 65.3855 35.5428 65.2254 35.5117L65.2251 35.5116Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M67.3199 38.0338L51.9223 35.0409C51.7622 35.0097 51.6209 34.9163 51.5297 34.781C51.4385 34.6458 51.4047 34.4798 51.4358 34.3197C51.467 34.1595 51.5605 34.0183 51.6957 33.9271C51.831 33.8358 51.9969 33.8021 52.1571 33.8332L67.5546 36.8262C67.7148 36.8573 67.856 36.9508 67.9472 37.086C68.0385 37.2213 68.0722 37.3872 68.0411 37.5474C68.01 37.7075 67.9165 37.8488 67.7812 37.94C67.646 38.0312 67.48 38.065 67.3199 38.0338Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M49.9984 16.2409C51.1771 16.47 52.3183 15.7003 52.5475 14.5215C52.7766 13.3428 52.0068 12.2016 50.8281 11.9725C49.6494 11.7434 48.5081 12.5131 48.279 13.6918C48.0499 14.8705 48.8197 16.0118 49.9984 16.2409Z" fill="var(--onyx-empty-svg-color-primary)"></path><path d="M50.0439 14.8798C49.9958 14.8705 49.9521 14.8459 49.9193 14.8097L49.9172 14.8074L49.4902 14.3261C49.4512 14.2809 49.4316 14.2222 49.4356 14.1626C49.4396 14.103 49.4669 14.0474 49.5116 14.0078C49.5564 13.9682 49.6149 13.9479 49.6745 13.9511C49.7341 13.9543 49.7901 13.9809 49.8302 14.0251L50.1068 14.3374L51.069 13.4851C51.0913 13.4653 51.1173 13.4501 51.1455 13.4404C51.1737 13.4307 51.2035 13.4266 51.2333 13.4284C51.2631 13.4303 51.2922 13.4379 51.319 13.451C51.3458 13.4641 51.3697 13.4823 51.3895 13.5046L51.3835 13.5101L51.3897 13.5044C51.4296 13.5495 51.4499 13.6086 51.4463 13.6687C51.4426 13.7288 51.4153 13.785 51.3702 13.8249L50.2381 14.827C50.2119 14.8501 50.1808 14.8668 50.1471 14.8759C50.1135 14.885 50.0781 14.8862 50.0439 14.8795L50.0439 14.8798Z" fill="var(--onyx-empty-svg-color-background)"></path><path d="M50.9918 23.6976C50.9374 23.9779 50.8284 24.2448 50.6708 24.483C50.5133 24.7211 50.3104 24.9259 50.0737 25.0857C49.837 25.2454 49.5712 25.3569 49.2914 25.4139C49.0116 25.4709 48.7233 25.4722 48.443 25.4178C48.4246 25.4146 48.4064 25.4103 48.3885 25.4049C47.9709 25.3126 47.5899 25.0992 47.2931 24.7914C46.9962 24.4836 46.7967 24.0951 46.7196 23.6744C46.6424 23.2538 46.691 22.8198 46.8593 22.4267C47.0276 22.0336 47.3081 21.6988 47.6657 21.4643C48.0232 21.2298 48.442 21.106 48.8697 21.1083C49.2973 21.1106 49.7147 21.239 50.0697 21.4774C50.4247 21.7157 50.7016 22.0535 50.8656 22.4484C51.0296 22.8433 51.0735 23.2779 50.9918 23.6976Z" fill="var(--onyx-empty-svg-color-primary)"></path><path d="M46.4481 34.5075C47.6268 34.7366 48.768 33.9669 48.9972 32.7882C49.2263 31.6094 48.4565 30.4682 47.2778 30.2391C46.0991 30.01 44.9578 30.7797 44.7287 31.9584C44.4996 33.1371 45.2694 34.2784 46.4481 34.5075Z" fill="var(--onyx-empty-svg-color-primary)"></path><path d="M78.9955 12.8845L74.6082 12.0317C74.2879 11.9694 74.0054 11.7825 73.823 11.512C73.6405 11.2415 73.573 10.9096 73.6353 10.5893L74.2651 7.34888C74.2679 7.3347 74.2746 7.32158 74.2845 7.31104C74.2943 7.30049 74.307 7.29294 74.321 7.28925C74.3349 7.28556 74.3497 7.28588 74.3635 7.29017C74.3773 7.29447 74.3896 7.30256 74.399 7.31353L79.0686 12.7587C79.079 12.7708 79.0854 12.7859 79.0868 12.8017C79.0882 12.8176 79.0847 12.8336 79.0767 12.8474C79.0686 12.8612 79.0565 12.8721 79.042 12.8787C79.0275 12.8853 79.0113 12.8872 78.9956 12.8842L78.9955 12.8845Z" fill="var(--onyx-empty-svg-color-border)"></path><path d="M52.9892 45.2832C52.8542 45.5047 52.6366 45.6634 52.3845 45.7245C52.1323 45.7856 51.8663 45.744 51.6448 45.6089L40.2315 38.6473C40.01 38.5122 39.8513 38.2947 39.7902 38.0425C39.7291 37.7904 39.7707 37.5243 39.9058 37.3028C40.0409 37.0813 40.2584 36.9226 40.5106 36.8615C40.7627 36.8004 41.0288 36.842 41.2503 36.9771L52.6635 43.9387C52.8849 44.0738 53.0437 44.2914 53.1047 44.5435C53.1658 44.7956 53.1243 45.0617 52.9892 45.2832Z" fill="var( --onyx-empty-svg-color-accent)"></path><path d="M41.576 38.3225C40.77 39.6438 39.5903 40.6965 38.1861 41.3474C36.7819 41.9984 35.2162 42.2183 33.687 41.9794C32.1578 41.7404 30.7338 41.0534 29.595 40.0052C28.4562 38.957 27.6539 37.5946 27.2894 36.0904C26.9249 34.5861 27.0147 33.0076 27.5473 31.5544C28.08 30.1012 29.0316 28.8385 30.2818 27.9262C31.5321 27.0138 33.0248 26.4926 34.5712 26.4286C36.1176 26.3645 37.6483 26.7605 38.9697 27.5664C39.8471 28.1015 40.6105 28.8042 41.2163 29.6344C41.8222 30.4645 42.2585 31.4059 42.5005 32.4047C42.7425 33.4035 42.7855 34.4401 42.6268 35.4555C42.4682 36.4709 42.1111 37.4451 41.576 38.3225ZM29.8844 31.1906C29.28 32.1816 28.983 33.3296 29.031 34.4895C29.079 35.6493 29.4699 36.7689 30.1542 37.7066C30.8385 38.6443 31.7855 39.358 32.8754 39.7575C33.9653 40.157 35.1492 40.2243 36.2774 39.9509C37.4056 39.6775 38.4274 39.0758 39.2135 38.2217C39.9997 37.3676 40.515 36.2996 40.6942 35.1527C40.8733 34.0057 40.7084 32.8314 40.2202 31.7783C39.732 30.7251 38.9424 29.8403 37.9514 29.2359C36.6224 28.4254 35.0259 28.176 33.5131 28.5425C32.0002 28.9091 30.695 29.8616 29.8844 31.1906Z" fill="var( --onyx-empty-svg-color-accent)"></path><path d="M32.8257 39.9229C36.0054 41.0177 39.4706 39.3276 40.5655 36.1479C41.6603 32.9682 39.9702 29.503 36.7905 28.4082C33.6108 27.3133 30.1456 29.0034 29.0508 32.1831C27.9559 35.3628 29.646 38.828 32.8257 39.9229Z" fill="var(--onyx-empty-svg-color-primary)"></path></g><defs><clipPath id="clip0_19774_64940"><rect width="80" height="48.8428" fill="white"></rect></clipPath></defs>', 2)
|
|
6752
6856
|
])]);
|
|
6753
6857
|
}
|
|
6754
|
-
const OnyxEmptySVG = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6755
|
-
const _sfc_main$
|
|
6858
|
+
const OnyxEmptySVG = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/illustrations/OnyxEmptySVG/OnyxEmptySVG.vue"]]);
|
|
6859
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
6756
6860
|
__name: "OnyxEmpty",
|
|
6757
6861
|
props: {
|
|
6758
6862
|
density: { type: null, required: false }
|
|
@@ -6776,7 +6880,7 @@ const _hoisted_3$s = {
|
|
|
6776
6880
|
key: 0,
|
|
6777
6881
|
class: "onyx-empty__buttons"
|
|
6778
6882
|
};
|
|
6779
|
-
function _sfc_render$
|
|
6883
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6780
6884
|
return openBlock(), createElementBlock(
|
|
6781
6885
|
"div",
|
|
6782
6886
|
{
|
|
@@ -6809,8 +6913,8 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6809
6913
|
/* CLASS */
|
|
6810
6914
|
);
|
|
6811
6915
|
}
|
|
6812
|
-
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6813
|
-
const _sfc_main$
|
|
6916
|
+
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxEmpty/OnyxEmpty.vue"]]);
|
|
6917
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
6814
6918
|
__name: "OnyxTable",
|
|
6815
6919
|
props: {
|
|
6816
6920
|
density: { type: null, required: false },
|
|
@@ -6863,7 +6967,7 @@ const _hoisted_13 = {
|
|
|
6863
6967
|
key: 1,
|
|
6864
6968
|
class: "onyx-table-wrapper__bottom"
|
|
6865
6969
|
};
|
|
6866
|
-
function _sfc_render$
|
|
6970
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6867
6971
|
return openBlock(), createElementBlock(
|
|
6868
6972
|
"div",
|
|
6869
6973
|
{
|
|
@@ -6968,8 +7072,8 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6968
7072
|
/* CLASS, STYLE */
|
|
6969
7073
|
);
|
|
6970
7074
|
}
|
|
6971
|
-
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6972
|
-
const _sfc_main
|
|
7075
|
+
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTable/OnyxTable.vue"]]);
|
|
7076
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
6973
7077
|
__name: "OnyxDataGridRenderer",
|
|
6974
7078
|
props: {
|
|
6975
7079
|
density: { type: null, required: false },
|
|
@@ -7006,7 +7110,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
7006
7110
|
return __returned__;
|
|
7007
7111
|
}
|
|
7008
7112
|
});
|
|
7009
|
-
function _sfc_render
|
|
7113
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7010
7114
|
return openBlock(), createBlock($setup["OnyxTable"], mergeProps({ class: "onyx-data-grid" }, $setup.tableProps, {
|
|
7011
7115
|
"scroll-container-attrs": $setup.mergeVueProps($setup.props.scrollContainerAttrs, { style: $setup.columnStyle })
|
|
7012
7116
|
}), createSlots({
|
|
@@ -7113,8 +7217,8 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7113
7217
|
})
|
|
7114
7218
|
]), 1040, ["scroll-container-attrs"]);
|
|
7115
7219
|
}
|
|
7116
|
-
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
7117
|
-
const _sfc_main
|
|
7220
|
+
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGridRenderer/OnyxDataGridRenderer.vue"]]);
|
|
7221
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
7118
7222
|
...{ inheritAttrs: false },
|
|
7119
7223
|
__name: "OnyxMiniSearch",
|
|
7120
7224
|
props: {
|
|
@@ -7156,7 +7260,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
7156
7260
|
});
|
|
7157
7261
|
const _hoisted_1$N = ["autofocus", "placeholder", "aria-label"];
|
|
7158
7262
|
const _hoisted_2$B = ["aria-label"];
|
|
7159
|
-
function _sfc_render
|
|
7263
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7160
7264
|
return openBlock(), createElementBlock(
|
|
7161
7265
|
"div",
|
|
7162
7266
|
mergeProps({
|
|
@@ -7198,11 +7302,11 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7198
7302
|
/* FULL_PROPS */
|
|
7199
7303
|
);
|
|
7200
7304
|
}
|
|
7201
|
-
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
7305
|
+
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMiniSearch/OnyxMiniSearch.vue"]]);
|
|
7202
7306
|
const prepareMapping = (features, key) => features.flatMap((f) => f[key]).filter((f) => f?.func).sort((a, b) => (a?.order ?? 0) - (b?.order ?? 0));
|
|
7203
7307
|
const applyMapping = (mapping, input2) => mapping.reduce((output, m) => m.func(output), input2);
|
|
7204
7308
|
const DataGridRowOptionsSymbol = /* @__PURE__ */ Symbol("RowOptions");
|
|
7205
|
-
const _sfc_main$
|
|
7309
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
7206
7310
|
__name: "HeaderCell",
|
|
7207
7311
|
props: {
|
|
7208
7312
|
label: { type: String, required: true }
|
|
@@ -7222,7 +7326,7 @@ const _hoisted_3$q = {
|
|
|
7222
7326
|
key: 0,
|
|
7223
7327
|
class: "onyx-data-grid-header-cell__actions"
|
|
7224
7328
|
};
|
|
7225
|
-
function _sfc_render$
|
|
7329
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7226
7330
|
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
7227
7331
|
createElementVNode(
|
|
7228
7332
|
"span",
|
|
@@ -7236,7 +7340,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7236
7340
|
])) : createCommentVNode("v-if", true)
|
|
7237
7341
|
]);
|
|
7238
7342
|
}
|
|
7239
|
-
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7343
|
+
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/HeaderCell.vue"]]);
|
|
7240
7344
|
const FALLBACK_RENDER_VALUE = "-";
|
|
7241
7345
|
const fallback = (opts) => opts?.fallback ?? FALLBACK_RENDER_VALUE;
|
|
7242
7346
|
const createTypeRenderer = (typeRenderer) => Object.freeze(typeRenderer);
|
|
@@ -7738,7 +7842,7 @@ const useErrorClass = (showError) => computed(() => {
|
|
|
7738
7842
|
}
|
|
7739
7843
|
return "onyx-form-element--touched-invalid";
|
|
7740
7844
|
});
|
|
7741
|
-
const _sfc_main$
|
|
7845
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
7742
7846
|
__name: "FormMessage",
|
|
7743
7847
|
props: {
|
|
7744
7848
|
messages: { type: Object, required: true },
|
|
@@ -7755,7 +7859,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
7755
7859
|
const _hoisted_1$L = {
|
|
7756
7860
|
class: /* @__PURE__ */ normalizeClass(["onyx-truncation-ellipsis"])
|
|
7757
7861
|
};
|
|
7758
|
-
function _sfc_render$
|
|
7862
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7759
7863
|
return openBlock(), createBlock(resolveDynamicComponent($props.messages.hidden ? $setup.OnyxVisuallyHidden : "span"), {
|
|
7760
7864
|
class: normalizeClass(["onyx-component", "onyx-form-message", `onyx-form-message__${$setup.props.type}`])
|
|
7761
7865
|
}, {
|
|
@@ -7780,8 +7884,8 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7780
7884
|
/* STABLE */
|
|
7781
7885
|
}, 8, ["class"]);
|
|
7782
7886
|
}
|
|
7783
|
-
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7784
|
-
const _sfc_main$
|
|
7887
|
+
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/FormMessage.vue"]]);
|
|
7888
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
7785
7889
|
__name: "OnyxFormElement",
|
|
7786
7890
|
props: {
|
|
7787
7891
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -7864,7 +7968,7 @@ const _hoisted_3$p = {
|
|
|
7864
7968
|
class: "onyx-form-element__footer onyx-text--small"
|
|
7865
7969
|
};
|
|
7866
7970
|
const _hoisted_4$k = { class: "onyx-form-element__footer-messages" };
|
|
7867
|
-
function _sfc_render$
|
|
7971
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7868
7972
|
return openBlock(), createElementBlock(
|
|
7869
7973
|
"div",
|
|
7870
7974
|
{
|
|
@@ -7951,8 +8055,8 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7951
8055
|
/* CLASS */
|
|
7952
8056
|
);
|
|
7953
8057
|
}
|
|
7954
|
-
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7955
|
-
const _sfc_main$
|
|
8058
|
+
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFormElement/OnyxFormElement.vue"]]);
|
|
8059
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
7956
8060
|
...{ inheritAttrs: false },
|
|
7957
8061
|
__name: "OnyxSelectInput",
|
|
7958
8062
|
props: {
|
|
@@ -8037,7 +8141,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
8037
8141
|
});
|
|
8038
8142
|
const _hoisted_1$J = ["id", "readonly", "placeholder", "required", "disabled", "aria-label", "title", "value", "autofocus"];
|
|
8039
8143
|
const _hoisted_2$y = ["aria-label", "title", "disabled"];
|
|
8040
|
-
function _sfc_render$
|
|
8144
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8041
8145
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
8042
8146
|
"div",
|
|
8043
8147
|
mergeProps({
|
|
@@ -8160,8 +8264,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8160
8264
|
/* FULL_PROPS */
|
|
8161
8265
|
));
|
|
8162
8266
|
}
|
|
8163
|
-
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8164
|
-
const _sfc_main$
|
|
8267
|
+
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectInput/OnyxSelectInput.vue"]]);
|
|
8268
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
8165
8269
|
__name: "OnyxSelectOption",
|
|
8166
8270
|
props: {
|
|
8167
8271
|
active: { type: Boolean, required: false, default: false },
|
|
@@ -8181,7 +8285,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
8181
8285
|
}
|
|
8182
8286
|
});
|
|
8183
8287
|
const _hoisted_1$I = ["checked", "aria-labelledby", "disabled", "indeterminate"];
|
|
8184
|
-
function _sfc_render$
|
|
8288
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8185
8289
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({ class: "onyx-component onyx-select-option" }, $setup.listItemProps, {
|
|
8186
8290
|
checked: !!_ctx.$attrs["aria-checked"],
|
|
8187
8291
|
selected: !!_ctx.$attrs["aria-selected"],
|
|
@@ -8219,8 +8323,8 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8219
8323
|
/* FORWARDED */
|
|
8220
8324
|
}, 16, ["checked", "selected", "disabled"]);
|
|
8221
8325
|
}
|
|
8222
|
-
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8223
|
-
const _sfc_main$
|
|
8326
|
+
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectOption/OnyxSelectOption.vue"]]);
|
|
8327
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
8224
8328
|
__name: "OnyxSelect",
|
|
8225
8329
|
props: {
|
|
8226
8330
|
density: { type: null, required: false },
|
|
@@ -8524,7 +8628,7 @@ const _hoisted_8$5 = {
|
|
|
8524
8628
|
key: 0,
|
|
8525
8629
|
class: "onyx-select__description onyx-text--small"
|
|
8526
8630
|
};
|
|
8527
|
-
function _sfc_render$
|
|
8631
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8528
8632
|
return openBlock(), createElementBlock(
|
|
8529
8633
|
"div",
|
|
8530
8634
|
_hoisted_1$H,
|
|
@@ -8727,9 +8831,9 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8727
8831
|
/* NEED_PATCH */
|
|
8728
8832
|
);
|
|
8729
8833
|
}
|
|
8730
|
-
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8834
|
+
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelect/OnyxSelect.vue"]]);
|
|
8731
8835
|
const __default__$3 = {};
|
|
8732
|
-
const _sfc_main$
|
|
8836
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
8733
8837
|
...__default__$3,
|
|
8734
8838
|
__name: "OnyxItemsPerPage",
|
|
8735
8839
|
props: {
|
|
@@ -8764,7 +8868,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
8764
8868
|
}
|
|
8765
8869
|
});
|
|
8766
8870
|
const _hoisted_1$G = ["for"];
|
|
8767
|
-
function _sfc_render$
|
|
8871
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8768
8872
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
8769
8873
|
key: 0,
|
|
8770
8874
|
class: normalizeClass(["onyx-items-per-page-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -8803,8 +8907,8 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8803
8907
|
/* CLASS, STYLE */
|
|
8804
8908
|
));
|
|
8805
8909
|
}
|
|
8806
|
-
const OnyxItemsPerPage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8807
|
-
const _sfc_main$
|
|
8910
|
+
const OnyxItemsPerPage = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxItemsPerPage/OnyxItemsPerPage.vue"]]);
|
|
8911
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
8808
8912
|
__name: "OnyxInlinePagination",
|
|
8809
8913
|
props: {
|
|
8810
8914
|
density: { type: null, required: false },
|
|
@@ -8861,7 +8965,7 @@ const _hoisted_2$w = ["aria-label", "disabled"];
|
|
|
8861
8965
|
const _hoisted_3$n = ["aria-label", "disabled", "onClick"];
|
|
8862
8966
|
const _hoisted_4$i = ["aria-label"];
|
|
8863
8967
|
const _hoisted_5$d = ["aria-label", "disabled"];
|
|
8864
|
-
function _sfc_render$
|
|
8968
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8865
8969
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
8866
8970
|
key: 0,
|
|
8867
8971
|
class: normalizeClass([
|
|
@@ -8952,9 +9056,9 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8952
9056
|
], 8, _hoisted_5$d)
|
|
8953
9057
|
], 10, _hoisted_1$F));
|
|
8954
9058
|
}
|
|
8955
|
-
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9059
|
+
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxInlinePagination.vue"]]);
|
|
8956
9060
|
const pageSize = 100;
|
|
8957
|
-
const _sfc_main$
|
|
9061
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
8958
9062
|
__name: "OnyxSelectPagination",
|
|
8959
9063
|
props: {
|
|
8960
9064
|
density: { type: null, required: false },
|
|
@@ -9010,7 +9114,7 @@ const _hoisted_1$E = ["aria-label"];
|
|
|
9010
9114
|
const _hoisted_2$v = { class: "onyx-pagination__count" };
|
|
9011
9115
|
const _hoisted_3$m = ["aria-label", "disabled"];
|
|
9012
9116
|
const _hoisted_4$h = ["aria-label", "disabled"];
|
|
9013
|
-
function _sfc_render$
|
|
9117
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9014
9118
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
9015
9119
|
key: 0,
|
|
9016
9120
|
class: normalizeClass(["onyx-pagination-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -9066,8 +9170,8 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9066
9170
|
], 8, _hoisted_4$h)
|
|
9067
9171
|
], 14, _hoisted_1$E));
|
|
9068
9172
|
}
|
|
9069
|
-
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9070
|
-
const _sfc_main$
|
|
9173
|
+
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxSelectPagination.vue"]]);
|
|
9174
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
9071
9175
|
__name: "OnyxPagination",
|
|
9072
9176
|
props: {
|
|
9073
9177
|
density: { type: null, required: false },
|
|
@@ -9088,7 +9192,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
9088
9192
|
return __returned__;
|
|
9089
9193
|
}
|
|
9090
9194
|
});
|
|
9091
|
-
function _sfc_render$
|
|
9195
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9092
9196
|
return $setup.props.type === "inline" ? (openBlock(), createBlock(
|
|
9093
9197
|
$setup["OnyxInlinePagination"],
|
|
9094
9198
|
mergeProps({ key: 0 }, $setup.paginationProps, {
|
|
@@ -9107,7 +9211,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9107
9211
|
/* FULL_PROPS */
|
|
9108
9212
|
));
|
|
9109
9213
|
}
|
|
9110
|
-
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9214
|
+
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxPagination.vue"]]);
|
|
9111
9215
|
const SELECTION_FEATURE = /* @__PURE__ */ Symbol("Selection");
|
|
9112
9216
|
const SELECTION_MUTATION_ORDER = 1e3;
|
|
9113
9217
|
const useSelection = (options) => createFeature((ctx) => {
|
|
@@ -9402,7 +9506,7 @@ const BASE_FEATURE = (options) => createFeature(({ skeleton }) => {
|
|
|
9402
9506
|
}
|
|
9403
9507
|
};
|
|
9404
9508
|
});
|
|
9405
|
-
const _sfc_main$
|
|
9509
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
9406
9510
|
...{ inheritAttrs: false },
|
|
9407
9511
|
__name: "OnyxDataGrid",
|
|
9408
9512
|
props: {
|
|
@@ -9482,7 +9586,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9482
9586
|
return __returned__;
|
|
9483
9587
|
}
|
|
9484
9588
|
});
|
|
9485
|
-
function _sfc_render$
|
|
9589
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9486
9590
|
return openBlock(), createBlock($setup["OnyxDataGridRenderer"], mergeProps($setup.mergeVueProps(_ctx.$attrs, $setup.rendererProps), {
|
|
9487
9591
|
"column-groups": $setup.rendererColumnGroups,
|
|
9488
9592
|
columns: $setup.renderColumns,
|
|
@@ -9509,7 +9613,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9509
9613
|
} : void 0
|
|
9510
9614
|
]), 1040, ["column-groups", "columns", "rows", "scroll-container-attrs"]);
|
|
9511
9615
|
}
|
|
9512
|
-
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9616
|
+
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGrid.vue"]]);
|
|
9513
9617
|
const HIDE_COLUMNS_FEATURE = /* @__PURE__ */ Symbol("HideColumnsFeature");
|
|
9514
9618
|
const HIDDEN_COLUMN = /* @__PURE__ */ Symbol("HiddenColumn");
|
|
9515
9619
|
const useHideColumns = (options) => createFeature((ctx) => {
|
|
@@ -9615,7 +9719,7 @@ const useHideColumns = (options) => createFeature((ctx) => {
|
|
|
9615
9719
|
}
|
|
9616
9720
|
};
|
|
9617
9721
|
});
|
|
9618
|
-
const _sfc_main$
|
|
9722
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
9619
9723
|
__name: "OnyxResizeHandle",
|
|
9620
9724
|
props: {
|
|
9621
9725
|
element: { type: null, required: true },
|
|
@@ -9690,7 +9794,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9690
9794
|
return __returned__;
|
|
9691
9795
|
}
|
|
9692
9796
|
});
|
|
9693
|
-
function _sfc_render$
|
|
9797
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9694
9798
|
return openBlock(), createElementBlock(
|
|
9695
9799
|
"button",
|
|
9696
9800
|
{
|
|
@@ -9724,7 +9828,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9724
9828
|
/* CLASS, NEED_HYDRATION */
|
|
9725
9829
|
);
|
|
9726
9830
|
}
|
|
9727
|
-
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9831
|
+
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxResizeHandle/OnyxResizeHandle.vue"]]);
|
|
9728
9832
|
const RESIZING_FEATURE = /* @__PURE__ */ Symbol("Resizing");
|
|
9729
9833
|
const FILLER_COLUMN = /* @__PURE__ */ Symbol("FILLER_COLUMN");
|
|
9730
9834
|
const useResizing = (options) => createFeature((ctx) => {
|
|
@@ -9866,7 +9970,7 @@ const DEFAULT_COMPARES = Object.freeze({
|
|
|
9866
9970
|
skeleton: () => 0,
|
|
9867
9971
|
boolean: BOOLEAN_COMPARE
|
|
9868
9972
|
});
|
|
9869
|
-
const _sfc_main$
|
|
9973
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
9870
9974
|
__name: "SortAction",
|
|
9871
9975
|
props: {
|
|
9872
9976
|
columnLabel: { type: String, required: true },
|
|
@@ -9890,14 +9994,14 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
9890
9994
|
return __returned__;
|
|
9891
9995
|
}
|
|
9892
9996
|
});
|
|
9893
|
-
function _sfc_render$
|
|
9997
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9894
9998
|
return openBlock(), createBlock($setup["OnyxSystemButton"], {
|
|
9895
9999
|
label: $setup.buttonLabel,
|
|
9896
10000
|
icon: $setup.icon,
|
|
9897
10001
|
color: "medium"
|
|
9898
10002
|
}, null, 8, ["label", "icon"]);
|
|
9899
10003
|
}
|
|
9900
|
-
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10004
|
+
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/features/sorting/SortAction.vue"]]);
|
|
9901
10005
|
const nextSortDirection = (current, skipNone) => {
|
|
9902
10006
|
switch (current) {
|
|
9903
10007
|
case "asc":
|
|
@@ -10140,7 +10244,7 @@ const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
10140
10244
|
useSorting,
|
|
10141
10245
|
useStickyColumns
|
|
10142
10246
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10143
|
-
const _sfc_main$
|
|
10247
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
10144
10248
|
...{ inheritAttrs: false },
|
|
10145
10249
|
__name: "OnyxDatePicker",
|
|
10146
10250
|
props: {
|
|
@@ -10209,7 +10313,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10209
10313
|
});
|
|
10210
10314
|
const _hoisted_1$D = { class: "onyx-datepicker__wrapper" };
|
|
10211
10315
|
const _hoisted_2$u = ["id", "type", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "min", "max"];
|
|
10212
|
-
function _sfc_render$
|
|
10316
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10213
10317
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10214
10318
|
"div",
|
|
10215
10319
|
mergeProps({
|
|
@@ -10274,9 +10378,9 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10274
10378
|
/* FULL_PROPS */
|
|
10275
10379
|
));
|
|
10276
10380
|
}
|
|
10277
|
-
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10381
|
+
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDatePicker/OnyxDatePicker.vue"]]);
|
|
10278
10382
|
const DIALOG_ALIGNMENTS = ["left", "center", "right"];
|
|
10279
|
-
const _sfc_main$
|
|
10383
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
10280
10384
|
__name: "OnyxDialog",
|
|
10281
10385
|
props: {
|
|
10282
10386
|
density: { type: null, required: false },
|
|
@@ -10318,7 +10422,7 @@ const _hoisted_5$c = {
|
|
|
10318
10422
|
key: 0,
|
|
10319
10423
|
class: "onyx-dialog__footer"
|
|
10320
10424
|
};
|
|
10321
|
-
function _sfc_render$
|
|
10425
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10322
10426
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.basicPopoverProps, {
|
|
10323
10427
|
open: $setup.isExpanded,
|
|
10324
10428
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.isExpanded = $event),
|
|
@@ -10367,8 +10471,8 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10367
10471
|
/* FORWARDED */
|
|
10368
10472
|
}, 16, ["open", "class"]);
|
|
10369
10473
|
}
|
|
10370
|
-
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10371
|
-
const _sfc_main$
|
|
10474
|
+
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDialog/OnyxDialog.vue"]]);
|
|
10475
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
10372
10476
|
__name: "OnyxForm",
|
|
10373
10477
|
props: {
|
|
10374
10478
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -10388,7 +10492,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
10388
10492
|
return __returned__;
|
|
10389
10493
|
}
|
|
10390
10494
|
});
|
|
10391
|
-
function _sfc_render$
|
|
10495
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10392
10496
|
return openBlock(), createElementBlock(
|
|
10393
10497
|
"form",
|
|
10394
10498
|
{
|
|
@@ -10405,7 +10509,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10405
10509
|
/* CLASS */
|
|
10406
10510
|
);
|
|
10407
10511
|
}
|
|
10408
|
-
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10512
|
+
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxForm/OnyxForm.vue"]]);
|
|
10409
10513
|
const useLenientMaxLengthValidation = (options) => {
|
|
10410
10514
|
const { t } = injectI18n();
|
|
10411
10515
|
const normalized = computed(() => {
|
|
@@ -10445,7 +10549,7 @@ const MOBILE_NAV_BAR_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
|
10445
10549
|
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10446
10550
|
const NAV_BAR_MORE_LIST_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10447
10551
|
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10448
|
-
const _sfc_main$
|
|
10552
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
10449
10553
|
__name: "OnyxSeparator",
|
|
10450
10554
|
props: {
|
|
10451
10555
|
orientation: { type: null, required: false, default: "horizontal" }
|
|
@@ -10463,15 +10567,15 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10463
10567
|
}
|
|
10464
10568
|
});
|
|
10465
10569
|
const _hoisted_1$B = ["aria-orientation"];
|
|
10466
|
-
function _sfc_render$
|
|
10570
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10467
10571
|
return openBlock(), createElementBlock("div", {
|
|
10468
10572
|
class: normalizeClass(["onyx-component onyx-separator", { "onyx-separator--vertical": $setup.isVertical }]),
|
|
10469
10573
|
role: "separator",
|
|
10470
10574
|
"aria-orientation": $setup.props.orientation
|
|
10471
10575
|
}, null, 10, _hoisted_1$B);
|
|
10472
10576
|
}
|
|
10473
|
-
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10474
|
-
const _sfc_main$
|
|
10577
|
+
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSeparator/OnyxSeparator.vue"]]);
|
|
10578
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
10475
10579
|
...{ inheritAttrs: false },
|
|
10476
10580
|
__name: "OnyxInput",
|
|
10477
10581
|
props: {
|
|
@@ -10563,7 +10667,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10563
10667
|
const _hoisted_1$A = { class: "onyx-input__wrapper" };
|
|
10564
10668
|
const _hoisted_2$s = ["id", "placeholder", "type", "required", "autocapitalize", "autocomplete", "autofocus", "name", "pattern", "readonly", "disabled", "maxlength", "minlength", "aria-label", "title"];
|
|
10565
10669
|
const _hoisted_3$k = ["aria-label", "title"];
|
|
10566
|
-
function _sfc_render$
|
|
10670
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10567
10671
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10568
10672
|
"div",
|
|
10569
10673
|
mergeProps({
|
|
@@ -10669,10 +10773,10 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10669
10773
|
/* FULL_PROPS */
|
|
10670
10774
|
));
|
|
10671
10775
|
}
|
|
10672
|
-
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10776
|
+
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue"]]);
|
|
10673
10777
|
const GLOBAL_SEARCH_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10674
10778
|
const __default__$2 = {};
|
|
10675
|
-
const _sfc_main$
|
|
10779
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
10676
10780
|
...__default__$2,
|
|
10677
10781
|
__name: "OnyxGlobalSearch",
|
|
10678
10782
|
props: {
|
|
@@ -10766,7 +10870,7 @@ const _hoisted_5$b = { class: "onyx-global-search__shortcut" };
|
|
|
10766
10870
|
const _hoisted_6$9 = { class: "onyx-global-search__shortcut-label" };
|
|
10767
10871
|
const _hoisted_7$4 = { class: "onyx-global-search__shortcut" };
|
|
10768
10872
|
const _hoisted_8$4 = { class: "onyx-global-search__shortcut-label" };
|
|
10769
|
-
function _sfc_render$
|
|
10873
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10770
10874
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps($setup.basicDialogProps, {
|
|
10771
10875
|
ref: "dialogRef",
|
|
10772
10876
|
label: $setup.t("globalSearch.label"),
|
|
@@ -10883,9 +10987,9 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10883
10987
|
/* FORWARDED */
|
|
10884
10988
|
}, 16, ["label"]);
|
|
10885
10989
|
}
|
|
10886
|
-
const OnyxGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10990
|
+
const OnyxGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearch/OnyxGlobalSearch.vue"]]);
|
|
10887
10991
|
const __default__$1 = {};
|
|
10888
|
-
const _sfc_main$
|
|
10992
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
10889
10993
|
...__default__$1,
|
|
10890
10994
|
__name: "OnyxGlobalSearchOption",
|
|
10891
10995
|
props: {
|
|
@@ -10915,7 +11019,7 @@ const _hoisted_3$i = {
|
|
|
10915
11019
|
key: 0,
|
|
10916
11020
|
class: "onyx-global-search-option__trailing"
|
|
10917
11021
|
};
|
|
10918
|
-
function _sfc_render$
|
|
11022
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10919
11023
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10920
11024
|
"li",
|
|
10921
11025
|
{
|
|
@@ -10980,9 +11084,9 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10980
11084
|
/* CLASS */
|
|
10981
11085
|
));
|
|
10982
11086
|
}
|
|
10983
|
-
const OnyxGlobalSearchOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11087
|
+
const OnyxGlobalSearchOption = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearchOption/OnyxGlobalSearchOption.vue"]]);
|
|
10984
11088
|
const __default__ = {};
|
|
10985
|
-
const _sfc_main$
|
|
11089
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
10986
11090
|
...__default__,
|
|
10987
11091
|
__name: "OnyxGlobalSearchGroup",
|
|
10988
11092
|
props: {
|
|
@@ -11005,7 +11109,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
11005
11109
|
}
|
|
11006
11110
|
});
|
|
11007
11111
|
const _hoisted_1$x = { "aria-hidden": "true" };
|
|
11008
|
-
function _sfc_render$
|
|
11112
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11009
11113
|
return openBlock(), createElementBlock(
|
|
11010
11114
|
"ul",
|
|
11011
11115
|
mergeProps({
|
|
@@ -11047,9 +11151,63 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11047
11151
|
/* FULL_PROPS */
|
|
11048
11152
|
);
|
|
11049
11153
|
}
|
|
11050
|
-
const OnyxGlobalSearchGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11154
|
+
const OnyxGlobalSearchGroup = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalSearchGroup/OnyxGlobalSearchGroup.vue"]]);
|
|
11051
11155
|
const HEADLINE_TYPES = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
11052
11156
|
const ICON_SIZES = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"];
|
|
11157
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
11158
|
+
__name: "OnyxIconButton",
|
|
11159
|
+
props: {
|
|
11160
|
+
density: { type: null, required: false },
|
|
11161
|
+
autofocus: { type: Boolean, required: false },
|
|
11162
|
+
link: { type: null, required: false },
|
|
11163
|
+
label: { type: String, required: true },
|
|
11164
|
+
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
11165
|
+
type: { type: null, required: false, default: "button" },
|
|
11166
|
+
color: { type: null, required: false, default: "primary" },
|
|
11167
|
+
loading: { type: Boolean, required: false },
|
|
11168
|
+
icon: { type: String, required: false },
|
|
11169
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL }
|
|
11170
|
+
},
|
|
11171
|
+
setup(__props, { expose: __expose }) {
|
|
11172
|
+
__expose();
|
|
11173
|
+
const props = __props;
|
|
11174
|
+
const { densityClass } = useDensity(props);
|
|
11175
|
+
const skeleton = useSkeletonContext(props);
|
|
11176
|
+
const forwardProps = useForwardProps(props, ButtonOrLinkLayout);
|
|
11177
|
+
const __returned__ = { props, densityClass, skeleton, forwardProps, ButtonOrLinkLayout, OnyxIcon, OnyxLoadingIndicator, OnyxSkeleton };
|
|
11178
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
11179
|
+
return __returned__;
|
|
11180
|
+
}
|
|
11181
|
+
});
|
|
11182
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11183
|
+
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
11184
|
+
key: 0,
|
|
11185
|
+
class: normalizeClass(["onyx-icon-button-skeleton", $setup.densityClass])
|
|
11186
|
+
}, null, 8, ["class"])) : (openBlock(), createBlock($setup["ButtonOrLinkLayout"], mergeProps({ key: 1 }, $setup.forwardProps, {
|
|
11187
|
+
"aria-label": $setup.props.label,
|
|
11188
|
+
title: $setup.props.label,
|
|
11189
|
+
class: [
|
|
11190
|
+
"onyx-component",
|
|
11191
|
+
"onyx-icon-button",
|
|
11192
|
+
`onyx-icon-button--${$setup.props.color}`,
|
|
11193
|
+
{ "onyx-icon-button--loading": $setup.props.loading },
|
|
11194
|
+
$setup.densityClass
|
|
11195
|
+
]
|
|
11196
|
+
}), {
|
|
11197
|
+
default: withCtx(() => [
|
|
11198
|
+
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
11199
|
+
key: 0,
|
|
11200
|
+
type: "circle"
|
|
11201
|
+
})) : $setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
11202
|
+
key: 1,
|
|
11203
|
+
icon: $setup.props.icon
|
|
11204
|
+
}, null, 8, ["icon"])) : renderSlot(_ctx.$slots, "default", { key: 2 })
|
|
11205
|
+
]),
|
|
11206
|
+
_: 3
|
|
11207
|
+
/* FORWARDED */
|
|
11208
|
+
}, 16, ["aria-label", "title", "class"]));
|
|
11209
|
+
}
|
|
11210
|
+
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIconButton/OnyxIconButton.vue"]]);
|
|
11053
11211
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
11054
11212
|
...{ inheritAttrs: false },
|
|
11055
11213
|
__name: "OnyxImage",
|