sit-onyx 1.6.0-dev-20251216104923 → 1.6.0-dev-20251217080736
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/OnyxSelect/OnyxSelect.d.vue.ts +8 -0
- package/dist/components/OnyxSelectInput/OnyxSelectInput.d.vue.ts +11 -1
- package/dist/components/OnyxTimepicker/OnyxTimeInput.d.vue.ts +129 -0
- package/dist/components/OnyxTimepicker/OnyxTimeSelect.d.vue.ts +10 -0
- package/dist/components/OnyxTimepicker/OnyxTimepicker.d.vue.ts +6 -123
- package/dist/components/OnyxTimepicker/OnyxTimepickerInput.d.vue.ts +2 -2
- package/dist/components/OnyxTimepicker/types.d.ts +42 -5
- 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 +857 -618
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +3288 -3119
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -6,8 +6,8 @@ const useDensity = (props) => ({
|
|
|
6
6
|
});
|
|
7
7
|
const USER_DEV = process.env.NODE_ENV === "development";
|
|
8
8
|
const userConsole = USER_DEV === true ? globalThis.console : void 0;
|
|
9
|
-
const SKELETON_INJECTION_KEY = Symbol();
|
|
10
|
-
const SKELETON_INJECTED_SYMBOL = Symbol("SKELETON_INJECTED_SYMBOL");
|
|
9
|
+
const SKELETON_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10
|
+
const SKELETON_INJECTED_SYMBOL = /* @__PURE__ */ Symbol("SKELETON_INJECTED_SYMBOL");
|
|
11
11
|
const createSkeletonInjectionContext = (parentElementProps) => (props) => computed(() => {
|
|
12
12
|
if (typeof props.skeleton !== "symbol") {
|
|
13
13
|
return props.skeleton;
|
|
@@ -47,9 +47,9 @@ const useVModel = (options) => {
|
|
|
47
47
|
});
|
|
48
48
|
return value;
|
|
49
49
|
};
|
|
50
|
-
const ACCORDION_INJECTION_KEY = Symbol();
|
|
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$1S = /* @__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$1S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
123
123
|
return openBlock(), createElementBlock(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
@@ -137,7 +137,7 @@ function _sfc_render$1Q(_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$1S, [["render", _sfc_render$1S], ["__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$1R = /* @__PURE__ */ defineComponent({
|
|
154
154
|
__name: "OnyxIcon",
|
|
155
155
|
props: {
|
|
156
156
|
size: { type: null, required: false },
|
|
@@ -166,8 +166,8 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
return __returned__;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
const _hoisted_1$
|
|
170
|
-
function _sfc_render$
|
|
169
|
+
const _hoisted_1$1n = ["innerHTML"];
|
|
170
|
+
function _sfc_render$1R(_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$1P(_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$1n);
|
|
182
182
|
}
|
|
183
|
-
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
183
|
+
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$1R], ["__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$1Q = /* @__PURE__ */ defineComponent({
|
|
200
200
|
__name: "OnyxSkeleton",
|
|
201
201
|
setup(__props, { expose: __expose }) {
|
|
202
202
|
__expose();
|
|
@@ -206,15 +206,15 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return __returned__;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
const _hoisted_1$
|
|
209
|
+
const _hoisted_1$1m = {
|
|
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$1Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
214
|
+
return openBlock(), createElementBlock("figure", _hoisted_1$1m);
|
|
215
215
|
}
|
|
216
|
-
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
217
|
-
const _sfc_main$
|
|
216
|
+
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["render", _sfc_render$1Q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSkeleton/OnyxSkeleton.vue"]]);
|
|
217
|
+
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
218
218
|
__name: "OnyxAccordionItem",
|
|
219
219
|
props: {
|
|
220
220
|
density: { type: null, required: false },
|
|
@@ -251,11 +251,11 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
return __returned__;
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
const _hoisted_1$
|
|
254
|
+
const _hoisted_1$1l = ["open"];
|
|
255
255
|
const _hoisted_2$Y = ["id", "tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
256
256
|
const _hoisted_3$C = { class: "onyx-accordion-item__header-content" };
|
|
257
257
|
const _hoisted_4$p = ["id", "aria-labelledby"];
|
|
258
|
-
function _sfc_render$
|
|
258
|
+
function _sfc_render$1P(_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$1N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
307
307
|
}, [
|
|
308
308
|
renderSlot(_ctx.$slots, "default")
|
|
309
309
|
], 8, _hoisted_4$p)
|
|
310
|
-
], 10, _hoisted_1$
|
|
310
|
+
], 10, _hoisted_1$1l));
|
|
311
311
|
}
|
|
312
|
-
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
312
|
+
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc_render$1P], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAccordionItem/OnyxAccordionItem.vue"]]);
|
|
313
313
|
const DATETIME_FORMATS = {
|
|
314
314
|
date: { dateStyle: "medium" },
|
|
315
315
|
"datetime-local": { dateStyle: "medium", timeStyle: "short" },
|
|
@@ -359,7 +359,7 @@ const flyoutMenu = { "moreActions": "More actions", "toggleActions": { "click":
|
|
|
359
359
|
const slider = { "decreaseValueBy": "Decrease value by {n}", "increaseValueBy": "Increase value by {n}", "changeValue": "Change value", "changeStartValue": "Change start value", "changeEndValue": "Change end value" };
|
|
360
360
|
const codeTabs = { "label": "Code snippets", "copySnippet": "Copy code", "copied": "Copied!", "failed": "Failed!", "tabLabel": "Code" };
|
|
361
361
|
const globalSearch = { "label": "Global search", "searchResults": "Search results", "input": { "label": "Search for content", "placeholder": "Search..." }, "shortcuts": { "move": "Navigate", "select": "Select" }, "system": "System" };
|
|
362
|
-
const timepicker = { "placeholder": { "hour": "HH", "minute": "MM", "second": "SS" }, "labels": { "iconButton": "Open Timepicker", "popover": "Timepicker Popover", "hour": "Hour", "minute": "Minute", "second": "Second" } };
|
|
362
|
+
const timepicker = { "placeholder": { "hour": "HH", "minute": "MM", "second": "SS" }, "labels": { "iconButton": "Open Timepicker", "popover": "Timepicker Popover", "hour": "Hour", "minute": "Minute", "second": "Second", "listLabel": "Time options" } };
|
|
363
363
|
const itemsPerPage = { "label": "Items per page", "select": { "listLabel": "Select number of items per page" } };
|
|
364
364
|
const enUS = {
|
|
365
365
|
yes,
|
|
@@ -403,7 +403,7 @@ const enUS = {
|
|
|
403
403
|
const NUMBER_FORMATS = {
|
|
404
404
|
decimal: { style: "decimal" }
|
|
405
405
|
};
|
|
406
|
-
const I18N_INJECTION_KEY = Symbol();
|
|
406
|
+
const I18N_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
407
407
|
const createI18n = (options = {}) => {
|
|
408
408
|
const locale = readonly(toRef(options?.locale ?? "en-US"));
|
|
409
409
|
const messages = computed(() => {
|
|
@@ -1878,7 +1878,7 @@ const createTooltip = createBuilder(({ debounce: debounce2, isVisible }) => {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
};
|
|
1880
1880
|
});
|
|
1881
|
-
const _sfc_main$
|
|
1881
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
1882
1882
|
__name: "OnyxBasicDialog",
|
|
1883
1883
|
props: {
|
|
1884
1884
|
density: { type: null, required: false },
|
|
@@ -1939,12 +1939,12 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
1939
1939
|
return __returned__;
|
|
1940
1940
|
}
|
|
1941
1941
|
});
|
|
1942
|
-
const _hoisted_1$
|
|
1942
|
+
const _hoisted_1$1k = ["aria-modal", "aria-label", "role"];
|
|
1943
1943
|
const _hoisted_2$X = {
|
|
1944
1944
|
ref: "contentRef",
|
|
1945
1945
|
class: "onyx-basic-dialog__content"
|
|
1946
1946
|
};
|
|
1947
|
-
function _sfc_render$
|
|
1947
|
+
function _sfc_render$1O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1948
1948
|
return $setup.props.open ? (openBlock(), createElementBlock("dialog", {
|
|
1949
1949
|
key: 0,
|
|
1950
1950
|
ref: "dialogRef",
|
|
@@ -1970,9 +1970,9 @@ function _sfc_render$1M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1970
1970
|
512
|
|
1971
1971
|
/* NEED_PATCH */
|
|
1972
1972
|
)
|
|
1973
|
-
], 42, _hoisted_1$
|
|
1973
|
+
], 42, _hoisted_1$1k)) : createCommentVNode("v-if", true);
|
|
1974
1974
|
}
|
|
1975
|
-
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1975
|
+
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicDialog/OnyxBasicDialog.vue"]]);
|
|
1976
1976
|
const normalizedIncludes = (haystack, needle) => {
|
|
1977
1977
|
const haystackNormalized = removeDiacritics(haystack.toLowerCase());
|
|
1978
1978
|
const needleNormalized = removeDiacritics(needle.toLowerCase());
|
|
@@ -2053,8 +2053,8 @@ const normalizeHref = (href) => {
|
|
|
2053
2053
|
if (value === "/") return value;
|
|
2054
2054
|
return value.replace(/\/+$/, "");
|
|
2055
2055
|
};
|
|
2056
|
-
const ROUTER_INJECTION_KEY = Symbol();
|
|
2057
|
-
const _sfc_main$
|
|
2056
|
+
const ROUTER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
2057
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
2058
2058
|
__name: "OnyxVisuallyHidden",
|
|
2059
2059
|
props: {
|
|
2060
2060
|
is: { type: String, required: false, default: "span" }
|
|
@@ -2067,7 +2067,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
2067
2067
|
return __returned__;
|
|
2068
2068
|
}
|
|
2069
2069
|
});
|
|
2070
|
-
function _sfc_render$
|
|
2070
|
+
function _sfc_render$1N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2071
2071
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.is), { class: "onyx-component onyx-visually-hidden" }, {
|
|
2072
2072
|
default: withCtx(() => [
|
|
2073
2073
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -2076,8 +2076,8 @@ function _sfc_render$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2076
2076
|
/* FORWARDED */
|
|
2077
2077
|
});
|
|
2078
2078
|
}
|
|
2079
|
-
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2080
|
-
const _sfc_main$
|
|
2079
|
+
const OnyxVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _sfc_render$1N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue"]]);
|
|
2080
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
2081
2081
|
__name: "OnyxRouterLink",
|
|
2082
2082
|
props: {
|
|
2083
2083
|
href: { type: String, required: true },
|
|
@@ -2093,8 +2093,8 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2093
2093
|
return __returned__;
|
|
2094
2094
|
}
|
|
2095
2095
|
});
|
|
2096
|
-
const _hoisted_1$
|
|
2097
|
-
function _sfc_render$
|
|
2096
|
+
const _hoisted_1$1j = ["href", "target", "rel"];
|
|
2097
|
+
function _sfc_render$1M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2098
2098
|
return openBlock(), createElementBlock("a", {
|
|
2099
2099
|
class: normalizeClass([
|
|
2100
2100
|
"onyx-component",
|
|
@@ -2118,10 +2118,10 @@ function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2118
2118
|
_: 1
|
|
2119
2119
|
/* STABLE */
|
|
2120
2120
|
})) : createCommentVNode("v-if", true)
|
|
2121
|
-
], 10, _hoisted_1$
|
|
2121
|
+
], 10, _hoisted_1$1j);
|
|
2122
2122
|
}
|
|
2123
|
-
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2124
|
-
const _sfc_main$
|
|
2123
|
+
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1M], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRouterLink/OnyxRouterLink.vue"]]);
|
|
2124
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
2125
2125
|
__name: "OnyxHeadline",
|
|
2126
2126
|
props: {
|
|
2127
2127
|
is: { type: null, required: true },
|
|
@@ -2146,7 +2146,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2146
2146
|
return __returned__;
|
|
2147
2147
|
}
|
|
2148
2148
|
});
|
|
2149
|
-
function _sfc_render$
|
|
2149
|
+
function _sfc_render$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2150
2150
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2151
2151
|
key: 0,
|
|
2152
2152
|
class: normalizeClass(["onyx-headline-skeleton", `onyx-headline-skeleton--${$setup.showAs}`])
|
|
@@ -2186,7 +2186,7 @@ function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2186
2186
|
/* FORWARDED */
|
|
2187
2187
|
}, 8, ["id", "class"]));
|
|
2188
2188
|
}
|
|
2189
|
-
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2189
|
+
const OnyxHeadline = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxHeadline/OnyxHeadline.vue"]]);
|
|
2190
2190
|
const useAutofocus = (inputRef, props) => {
|
|
2191
2191
|
if (!props.autofocus) {
|
|
2192
2192
|
return;
|
|
@@ -2203,8 +2203,8 @@ const useAutofocus = (inputRef, props) => {
|
|
|
2203
2203
|
);
|
|
2204
2204
|
});
|
|
2205
2205
|
};
|
|
2206
|
-
const FORM_INJECTION_KEY = Symbol();
|
|
2207
|
-
const FORM_INJECTED_SYMBOL = Symbol("FORM_INJECTED_SYMBOL");
|
|
2206
|
+
const FORM_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
2207
|
+
const FORM_INJECTED_SYMBOL = /* @__PURE__ */ Symbol("FORM_INJECTED_SYMBOL");
|
|
2208
2208
|
const createCompute = (formProps, props, key, defaultValue) => computed(() => {
|
|
2209
2209
|
const prop = props.value[key];
|
|
2210
2210
|
if (prop != void 0 && typeof prop !== "symbol") {
|
|
@@ -2237,7 +2237,7 @@ const useFormContext = (props) => {
|
|
|
2237
2237
|
DEFAULT_FORM_INJECTION_CONTEXT
|
|
2238
2238
|
)(toRef(props));
|
|
2239
2239
|
};
|
|
2240
|
-
const _sfc_main$
|
|
2240
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
2241
2241
|
__name: "ButtonOrLinkLayout",
|
|
2242
2242
|
props: {
|
|
2243
2243
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -2260,8 +2260,8 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2260
2260
|
return __returned__;
|
|
2261
2261
|
}
|
|
2262
2262
|
});
|
|
2263
|
-
const _hoisted_1$
|
|
2264
|
-
function _sfc_render$
|
|
2263
|
+
const _hoisted_1$1i = ["disabled", "type", "autofocus"];
|
|
2264
|
+
function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2265
2265
|
return $setup.linkProps ? (openBlock(), createBlock(
|
|
2266
2266
|
$setup["OnyxRouterLink"],
|
|
2267
2267
|
normalizeProps(mergeProps({ key: 0 }, $setup.linkProps)),
|
|
@@ -2282,10 +2282,10 @@ function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2282
2282
|
autofocus: $setup.props.autofocus
|
|
2283
2283
|
}, [
|
|
2284
2284
|
renderSlot(_ctx.$slots, "default")
|
|
2285
|
-
], 8, _hoisted_1$
|
|
2285
|
+
], 8, _hoisted_1$1i));
|
|
2286
2286
|
}
|
|
2287
|
-
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2288
|
-
const _sfc_main$
|
|
2287
|
+
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1K], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/ButtonOrLinkLayout.vue"]]);
|
|
2288
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
2289
2289
|
__name: "OnyxSystemButton",
|
|
2290
2290
|
props: {
|
|
2291
2291
|
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
@@ -2306,11 +2306,11 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
2306
2306
|
return __returned__;
|
|
2307
2307
|
}
|
|
2308
2308
|
});
|
|
2309
|
-
const _hoisted_1$
|
|
2309
|
+
const _hoisted_1$1h = {
|
|
2310
2310
|
key: 1,
|
|
2311
2311
|
class: "onyx-truncation-ellipsis"
|
|
2312
2312
|
};
|
|
2313
|
-
function _sfc_render$
|
|
2313
|
+
function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2314
2314
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2315
2315
|
key: 0,
|
|
2316
2316
|
class: normalizeClass(["onyx-system-button-skeleton", $setup.props.icon ? "" : "onyx-system-button-skeleton--text"])
|
|
@@ -2326,7 +2326,7 @@ function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2326
2326
|
icon: $setup.props.icon
|
|
2327
2327
|
}, null, 8, ["icon"])) : (openBlock(), createElementBlock(
|
|
2328
2328
|
"span",
|
|
2329
|
-
_hoisted_1$
|
|
2329
|
+
_hoisted_1$1h,
|
|
2330
2330
|
toDisplayString($setup.props.label),
|
|
2331
2331
|
1
|
|
2332
2332
|
/* TEXT */
|
|
@@ -2336,8 +2336,8 @@ function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2336
2336
|
/* STABLE */
|
|
2337
2337
|
}, 16, ["class", "aria-label", "title"]));
|
|
2338
2338
|
}
|
|
2339
|
-
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2340
|
-
const _sfc_main$
|
|
2339
|
+
const OnyxSystemButton = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSystemButton/OnyxSystemButton.vue"]]);
|
|
2340
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
2341
2341
|
__name: "OnyxAlertModal",
|
|
2342
2342
|
props: {
|
|
2343
2343
|
density: { type: null, required: false },
|
|
@@ -2362,11 +2362,11 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2362
2362
|
return __returned__;
|
|
2363
2363
|
}
|
|
2364
2364
|
});
|
|
2365
|
-
const _hoisted_1$
|
|
2365
|
+
const _hoisted_1$1g = { class: "onyx-alert-modal__content" };
|
|
2366
2366
|
const _hoisted_2$W = { class: "onyx-alert-modal__headline" };
|
|
2367
2367
|
const _hoisted_3$B = ["id"];
|
|
2368
2368
|
const _hoisted_4$o = { class: "onyx-alert-modal__actions" };
|
|
2369
|
-
function _sfc_render$
|
|
2369
|
+
function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2370
2370
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps({
|
|
2371
2371
|
class: ["onyx-alert-modal", $setup.densityClass]
|
|
2372
2372
|
}, $setup.dialogProps, {
|
|
@@ -2376,7 +2376,7 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2376
2376
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
2377
2377
|
}), {
|
|
2378
2378
|
default: withCtx(() => [
|
|
2379
|
-
createElementVNode("div", _hoisted_1$
|
|
2379
|
+
createElementVNode("div", _hoisted_1$1g, [
|
|
2380
2380
|
$setup.props.icon ? (openBlock(), createBlock(
|
|
2381
2381
|
$setup["OnyxIcon"],
|
|
2382
2382
|
mergeProps({
|
|
@@ -2427,7 +2427,7 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2427
2427
|
/* FORWARDED */
|
|
2428
2428
|
}, 16, ["class", "aria-describedby"]);
|
|
2429
2429
|
}
|
|
2430
|
-
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2430
|
+
const OnyxAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1I], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAlertModal/OnyxAlertModal.vue"]]);
|
|
2431
2431
|
const useRootAttrs = () => {
|
|
2432
2432
|
const attrs = useAttrs();
|
|
2433
2433
|
const rootAttrs = computed(
|
|
@@ -2450,7 +2450,7 @@ const useRootAttrs = () => {
|
|
|
2450
2450
|
restAttrs
|
|
2451
2451
|
};
|
|
2452
2452
|
};
|
|
2453
|
-
const MERGED_REFS_SYMBOL = Symbol("MERGED_REFS");
|
|
2453
|
+
const MERGED_REFS_SYMBOL = /* @__PURE__ */ Symbol("MERGED_REFS");
|
|
2454
2454
|
const createMergedRef = (...toMerge) => {
|
|
2455
2455
|
let value;
|
|
2456
2456
|
const _ref = customRef((track, trigger) => {
|
|
@@ -2509,7 +2509,7 @@ const mergeVueProps = (...args) => args.reduce((prev, curr) => {
|
|
|
2509
2509
|
merged.ref = mergedRef;
|
|
2510
2510
|
return merged;
|
|
2511
2511
|
}, {});
|
|
2512
|
-
const _sfc_main$
|
|
2512
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
2513
2513
|
__name: "OnyxFABButton",
|
|
2514
2514
|
props: {
|
|
2515
2515
|
density: { type: null, required: false },
|
|
@@ -2529,11 +2529,11 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2529
2529
|
return __returned__;
|
|
2530
2530
|
}
|
|
2531
2531
|
});
|
|
2532
|
-
const _hoisted_1$
|
|
2532
|
+
const _hoisted_1$1f = {
|
|
2533
2533
|
key: 1,
|
|
2534
2534
|
class: "onyx-fab-button__label"
|
|
2535
2535
|
};
|
|
2536
|
-
function _sfc_render$
|
|
2536
|
+
function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2537
2537
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2538
2538
|
key: 0,
|
|
2539
2539
|
class: normalizeClass(["onyx-fab-button-skeleton", $setup.densityClass])
|
|
@@ -2551,7 +2551,7 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2551
2551
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
2552
2552
|
!$setup.props.hideLabel ? (openBlock(), createElementBlock(
|
|
2553
2553
|
"span",
|
|
2554
|
-
_hoisted_1$
|
|
2554
|
+
_hoisted_1$1f,
|
|
2555
2555
|
toDisplayString($setup.props.label),
|
|
2556
2556
|
1
|
|
2557
2557
|
/* TEXT */
|
|
@@ -2561,7 +2561,7 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2561
2561
|
/* STABLE */
|
|
2562
2562
|
}, 8, ["class", "title", "aria-label", "link"]));
|
|
2563
2563
|
}
|
|
2564
|
-
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2564
|
+
const OnyxFABButton = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABButton/OnyxFABButton.vue"]]);
|
|
2565
2565
|
const useResizeObserver = (target, options) => {
|
|
2566
2566
|
const box = options?.box ?? "content-box";
|
|
2567
2567
|
const width = ref(0);
|
|
@@ -2873,7 +2873,7 @@ function useSticky(options) {
|
|
|
2873
2873
|
});
|
|
2874
2874
|
return { stickyStyles, scrolledOut, isSticky, checkVisibilityOnScroll };
|
|
2875
2875
|
}
|
|
2876
|
-
const _sfc_main$
|
|
2876
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
2877
2877
|
__name: "OnyxBasicPopover",
|
|
2878
2878
|
props: {
|
|
2879
2879
|
label: { type: String, required: true },
|
|
@@ -3031,8 +3031,8 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
3031
3031
|
return __returned__;
|
|
3032
3032
|
}
|
|
3033
3033
|
});
|
|
3034
|
-
const _hoisted_1$
|
|
3035
|
-
function _sfc_render$
|
|
3034
|
+
const _hoisted_1$1e = ["role", "aria-label"];
|
|
3035
|
+
function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3036
3036
|
return openBlock(), createElementBlock(
|
|
3037
3037
|
"div",
|
|
3038
3038
|
{
|
|
@@ -3051,14 +3051,14 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3051
3051
|
style: normalizeStyle(!$setup.isSticky ? $setup.popoverStyles : $setup.stickyStyles)
|
|
3052
3052
|
}, [
|
|
3053
3053
|
renderSlot(_ctx.$slots, "content")
|
|
3054
|
-
], 14, _hoisted_1$
|
|
3054
|
+
], 14, _hoisted_1$1e)
|
|
3055
3055
|
],
|
|
3056
3056
|
4
|
|
3057
3057
|
/* STYLE */
|
|
3058
3058
|
);
|
|
3059
3059
|
}
|
|
3060
|
-
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3061
|
-
const _sfc_main$
|
|
3060
|
+
const OnyxBasicPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1G], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicPopover/OnyxBasicPopover.vue"]]);
|
|
3061
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
3062
3062
|
__name: "OnyxFlyoutMenu",
|
|
3063
3063
|
props: {
|
|
3064
3064
|
alignment: { type: String, required: false, default: "auto" },
|
|
@@ -3100,9 +3100,9 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
3100
3100
|
return __returned__;
|
|
3101
3101
|
}
|
|
3102
3102
|
});
|
|
3103
|
-
const _hoisted_1$
|
|
3103
|
+
const _hoisted_1$1d = { class: "onyx-flyout-menu__list-header" };
|
|
3104
3104
|
const _hoisted_2$V = { class: "onyx-flyout-menu__list-footer" };
|
|
3105
|
-
function _sfc_render$
|
|
3105
|
+
function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3106
3106
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.mergeVueProps($setup.root, { ref: $setup.popover }), {
|
|
3107
3107
|
class: "onyx-component onyx-flyout-menu",
|
|
3108
3108
|
open: $setup.isExpanded,
|
|
@@ -3111,7 +3111,7 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3111
3111
|
disabled: $props.disabled
|
|
3112
3112
|
}), createSlots({
|
|
3113
3113
|
content: withCtx(() => [
|
|
3114
|
-
createElementVNode("div", _hoisted_1$
|
|
3114
|
+
createElementVNode("div", _hoisted_1$1d, [
|
|
3115
3115
|
renderSlot(_ctx.$slots, "header")
|
|
3116
3116
|
]),
|
|
3117
3117
|
$setup.slots.options ? (openBlock(), createElementBlock(
|
|
@@ -3144,8 +3144,8 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3144
3144
|
} : void 0
|
|
3145
3145
|
]), 1040, ["open", "label", "alignment", "disabled"]);
|
|
3146
3146
|
}
|
|
3147
|
-
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3148
|
-
const _sfc_main$
|
|
3147
|
+
const OnyxFlyoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue"]]);
|
|
3148
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
3149
3149
|
__name: "OnyxFAB",
|
|
3150
3150
|
props: {
|
|
3151
3151
|
density: { type: null, required: false },
|
|
@@ -3184,7 +3184,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
3184
3184
|
return __returned__;
|
|
3185
3185
|
}
|
|
3186
3186
|
});
|
|
3187
|
-
function _sfc_render$
|
|
3187
|
+
function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3188
3188
|
return !$setup.hasOptions || $setup.skeleton ? (openBlock(), createBlock($setup["OnyxFABButton"], mergeProps({
|
|
3189
3189
|
key: 0,
|
|
3190
3190
|
class: ["onyx-fab", `onyx-fab--${$setup.props.alignment}`]
|
|
@@ -3214,8 +3214,8 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3214
3214
|
/* FORWARDED */
|
|
3215
3215
|
}, 8, ["open", "label", "class", "alignment"]));
|
|
3216
3216
|
}
|
|
3217
|
-
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3218
|
-
const _sfc_main$
|
|
3217
|
+
const OnyxFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFAB/OnyxFAB.vue"]]);
|
|
3218
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
3219
3219
|
__name: "OnyxFABItem",
|
|
3220
3220
|
props: {
|
|
3221
3221
|
density: { type: null, required: false },
|
|
@@ -3238,7 +3238,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
3238
3238
|
return __returned__;
|
|
3239
3239
|
}
|
|
3240
3240
|
});
|
|
3241
|
-
function _sfc_render$
|
|
3241
|
+
function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3242
3242
|
return openBlock(), createElementBlock(
|
|
3243
3243
|
"li",
|
|
3244
3244
|
mergeProps({
|
|
@@ -3253,8 +3253,8 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3253
3253
|
/* FULL_PROPS */
|
|
3254
3254
|
);
|
|
3255
3255
|
}
|
|
3256
|
-
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3257
|
-
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = Symbol();
|
|
3256
|
+
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABItem/OnyxFABItem.vue"]]);
|
|
3257
|
+
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3258
3258
|
const createGlobalFABProvider = () => {
|
|
3259
3259
|
const items = shallowRef([]);
|
|
3260
3260
|
const add = (item) => {
|
|
@@ -3290,7 +3290,7 @@ const useGlobalFAB = () => {
|
|
|
3290
3290
|
);
|
|
3291
3291
|
return globalFABProvider;
|
|
3292
3292
|
};
|
|
3293
|
-
const _sfc_main$
|
|
3293
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
3294
3294
|
__name: "OnyxGlobalFAB",
|
|
3295
3295
|
setup(__props, { expose: __expose }) {
|
|
3296
3296
|
__expose();
|
|
@@ -3304,7 +3304,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
3304
3304
|
return __returned__;
|
|
3305
3305
|
}
|
|
3306
3306
|
});
|
|
3307
|
-
function _sfc_render$
|
|
3307
|
+
function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3308
3308
|
return $setup.globalFAB.items.value.length === 1 ? (openBlock(), createBlock(
|
|
3309
3309
|
$setup["OnyxFAB"],
|
|
3310
3310
|
normalizeProps(mergeProps({ key: 0 }, $setup.globalFAB.items.value[0].value)),
|
|
@@ -3339,14 +3339,14 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3339
3339
|
/* STABLE */
|
|
3340
3340
|
}, 8, ["label", "alignment"])) : createCommentVNode("v-if", true);
|
|
3341
3341
|
}
|
|
3342
|
-
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3343
|
-
const _sfc_main$
|
|
3344
|
-
const _hoisted_1$
|
|
3342
|
+
const OnyxGlobalFAB = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxGlobalFAB/OnyxGlobalFAB.vue"]]);
|
|
3343
|
+
const _sfc_main$1B = {};
|
|
3344
|
+
const _hoisted_1$1c = {
|
|
3345
3345
|
class: "onyx-component onyx-circle-spinner",
|
|
3346
3346
|
viewBox: "0 0 50 50"
|
|
3347
3347
|
};
|
|
3348
|
-
function _sfc_render$
|
|
3349
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3348
|
+
function _sfc_render$1B(_ctx, _cache) {
|
|
3349
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$1c, [..._cache[0] || (_cache[0] = [
|
|
3350
3350
|
createElementVNode(
|
|
3351
3351
|
"circle",
|
|
3352
3352
|
{
|
|
@@ -3361,11 +3361,11 @@ function _sfc_render$1z(_ctx, _cache) {
|
|
|
3361
3361
|
)
|
|
3362
3362
|
])]);
|
|
3363
3363
|
}
|
|
3364
|
-
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3365
|
-
const _sfc_main$
|
|
3366
|
-
const _hoisted_1$
|
|
3367
|
-
function _sfc_render$
|
|
3368
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3364
|
+
const OnyxCircleSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue"]]);
|
|
3365
|
+
const _sfc_main$1A = {};
|
|
3366
|
+
const _hoisted_1$1b = { class: "onyx-component onyx-loading-dots" };
|
|
3367
|
+
function _sfc_render$1A(_ctx, _cache) {
|
|
3368
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1b, [..._cache[0] || (_cache[0] = [
|
|
3369
3369
|
createElementVNode(
|
|
3370
3370
|
"span",
|
|
3371
3371
|
{ class: "onyx-loading-dots__center" },
|
|
@@ -3375,8 +3375,8 @@ function _sfc_render$1y(_ctx, _cache) {
|
|
|
3375
3375
|
)
|
|
3376
3376
|
])]);
|
|
3377
3377
|
}
|
|
3378
|
-
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3379
|
-
const _sfc_main$
|
|
3378
|
+
const OnyxLoadingDots = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingDots.vue"]]);
|
|
3379
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
3380
3380
|
__name: "OnyxLoadingIndicator",
|
|
3381
3381
|
props: {
|
|
3382
3382
|
type: { type: String, required: false, default: "dots" }
|
|
@@ -3389,10 +3389,10 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
3389
3389
|
return __returned__;
|
|
3390
3390
|
}
|
|
3391
3391
|
});
|
|
3392
|
-
function _sfc_render$
|
|
3392
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3393
3393
|
return $setup.props.type === "circle" ? (openBlock(), createBlock($setup["OnyxCircleSpinner"], { key: 0 })) : $setup.props.type === "dots" ? (openBlock(), createBlock($setup["OnyxLoadingDots"], { key: 1 })) : createCommentVNode("v-if", true);
|
|
3394
3394
|
}
|
|
3395
|
-
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3395
|
+
const OnyxLoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue"]]);
|
|
3396
3396
|
const useRipple = (container) => {
|
|
3397
3397
|
const isPointerDown = ref(false);
|
|
3398
3398
|
const ripples = reactive(/* @__PURE__ */ new Map());
|
|
@@ -3439,7 +3439,7 @@ const useRipple = (container) => {
|
|
|
3439
3439
|
});
|
|
3440
3440
|
return { isPointerDown, ripples, startRipple, hideRipples, hideRipple, events };
|
|
3441
3441
|
};
|
|
3442
|
-
const _sfc_main$
|
|
3442
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
3443
3443
|
__name: "OnyxRipple",
|
|
3444
3444
|
setup(__props, { expose: __expose }) {
|
|
3445
3445
|
const rippleTrigger = useTemplateRef("rippleTriggerRef");
|
|
@@ -3452,16 +3452,16 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
3452
3452
|
return __returned__;
|
|
3453
3453
|
}
|
|
3454
3454
|
});
|
|
3455
|
-
const _hoisted_1$
|
|
3455
|
+
const _hoisted_1$1a = {
|
|
3456
3456
|
ref: "rippleTriggerRef",
|
|
3457
3457
|
class: "onyx-component onyx-ripple",
|
|
3458
3458
|
"aria-hidden": "true"
|
|
3459
3459
|
};
|
|
3460
3460
|
const _hoisted_2$U = ["data-rippleid"];
|
|
3461
|
-
function _sfc_render$
|
|
3461
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3462
3462
|
return openBlock(), createElementBlock(
|
|
3463
3463
|
"span",
|
|
3464
|
-
_hoisted_1$
|
|
3464
|
+
_hoisted_1$1a,
|
|
3465
3465
|
[
|
|
3466
3466
|
(openBlock(true), createElementBlock(
|
|
3467
3467
|
Fragment,
|
|
@@ -3486,8 +3486,8 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3486
3486
|
/* NEED_PATCH */
|
|
3487
3487
|
);
|
|
3488
3488
|
}
|
|
3489
|
-
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3490
|
-
const _sfc_main$
|
|
3489
|
+
const OnyxRipple = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRipple/OnyxRipple.vue"]]);
|
|
3490
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
3491
3491
|
__name: "OnyxButton",
|
|
3492
3492
|
props: {
|
|
3493
3493
|
density: { type: null, required: false },
|
|
@@ -3517,8 +3517,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
3517
3517
|
return __returned__;
|
|
3518
3518
|
}
|
|
3519
3519
|
});
|
|
3520
|
-
const _hoisted_1$
|
|
3521
|
-
function _sfc_render$
|
|
3520
|
+
const _hoisted_1$19 = { class: "onyx-button__label onyx-truncation-ellipsis" };
|
|
3521
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3522
3522
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
3523
3523
|
key: 0,
|
|
3524
3524
|
class: normalizeClass(["onyx-button-skeleton", $setup.densityClass])
|
|
@@ -3555,7 +3555,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3555
3555
|
})) : createCommentVNode("v-if", true),
|
|
3556
3556
|
createElementVNode(
|
|
3557
3557
|
"span",
|
|
3558
|
-
_hoisted_1$
|
|
3558
|
+
_hoisted_1$19,
|
|
3559
3559
|
toDisplayString($setup.props.label),
|
|
3560
3560
|
1
|
|
3561
3561
|
/* TEXT */
|
|
@@ -3570,8 +3570,8 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3570
3570
|
/* STABLE */
|
|
3571
3571
|
}, 16, ["class", "aria-label"]));
|
|
3572
3572
|
}
|
|
3573
|
-
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3574
|
-
const _sfc_main$
|
|
3573
|
+
const OnyxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/OnyxButton.vue"]]);
|
|
3574
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
3575
3575
|
__name: "OnyxInfoCard",
|
|
3576
3576
|
props: {
|
|
3577
3577
|
density: { type: null, required: false },
|
|
@@ -3598,7 +3598,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3598
3598
|
return __returned__;
|
|
3599
3599
|
}
|
|
3600
3600
|
});
|
|
3601
|
-
const _hoisted_1$
|
|
3601
|
+
const _hoisted_1$18 = { class: "onyx-info-card__content" };
|
|
3602
3602
|
const _hoisted_2$T = {
|
|
3603
3603
|
key: 3,
|
|
3604
3604
|
class: "onyx-info-card__description onyx-text--small"
|
|
@@ -3607,7 +3607,7 @@ const _hoisted_3$A = {
|
|
|
3607
3607
|
key: 4,
|
|
3608
3608
|
class: "onyx-info-card__buttons onyx-density-compact"
|
|
3609
3609
|
};
|
|
3610
|
-
function _sfc_render$
|
|
3610
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3611
3611
|
return openBlock(), createElementBlock(
|
|
3612
3612
|
"div",
|
|
3613
3613
|
{
|
|
@@ -3619,7 +3619,7 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3619
3619
|
class: "onyx-info-card__icon",
|
|
3620
3620
|
icon: $setup.props.icon
|
|
3621
3621
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
3622
|
-
createElementVNode("div", _hoisted_1$
|
|
3622
|
+
createElementVNode("div", _hoisted_1$18, [
|
|
3623
3623
|
$setup.props.headline ? (openBlock(), createBlock($setup["OnyxHeadline"], {
|
|
3624
3624
|
key: 0,
|
|
3625
3625
|
is: "h3",
|
|
@@ -3674,8 +3674,8 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3674
3674
|
/* CLASS */
|
|
3675
3675
|
);
|
|
3676
3676
|
}
|
|
3677
|
-
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3678
|
-
const _sfc_main$
|
|
3677
|
+
const OnyxInfoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoCard/OnyxInfoCard.vue"]]);
|
|
3678
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
3679
3679
|
__name: "OnyxNotificationMessage",
|
|
3680
3680
|
props: {
|
|
3681
3681
|
headline: { type: String, required: true },
|
|
@@ -3693,7 +3693,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3693
3693
|
return __returned__;
|
|
3694
3694
|
}
|
|
3695
3695
|
});
|
|
3696
|
-
function _sfc_render$
|
|
3696
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3697
3697
|
return openBlock(), createBlock($setup["OnyxInfoCard"], {
|
|
3698
3698
|
class: normalizeClass(["onyx-component onyx-notification-message", [
|
|
3699
3699
|
"onyx-component",
|
|
@@ -3726,8 +3726,8 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3726
3726
|
} : void 0
|
|
3727
3727
|
]), 1032, ["class", "headline", "icon", "style", "aria-label"]);
|
|
3728
3728
|
}
|
|
3729
|
-
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3730
|
-
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = Symbol();
|
|
3729
|
+
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationMessage/OnyxNotificationMessage.vue"]]);
|
|
3730
|
+
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3731
3731
|
const createNotificationsProvider = () => {
|
|
3732
3732
|
let nextId = 1;
|
|
3733
3733
|
const notifications = ref([]);
|
|
@@ -3771,7 +3771,7 @@ const useNotification = () => {
|
|
|
3771
3771
|
);
|
|
3772
3772
|
return notificationsProvider;
|
|
3773
3773
|
};
|
|
3774
|
-
const _sfc_main$
|
|
3774
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
3775
3775
|
__name: "OnyxNotifications",
|
|
3776
3776
|
setup(__props, { expose: __expose }) {
|
|
3777
3777
|
__expose();
|
|
@@ -3781,15 +3781,15 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3781
3781
|
return __returned__;
|
|
3782
3782
|
}
|
|
3783
3783
|
});
|
|
3784
|
-
const _hoisted_1$
|
|
3784
|
+
const _hoisted_1$17 = {
|
|
3785
3785
|
key: 0,
|
|
3786
3786
|
class: "onyx-component onyx-notifications",
|
|
3787
3787
|
role: "presentation",
|
|
3788
3788
|
"aria-live": "polite",
|
|
3789
3789
|
open: ""
|
|
3790
3790
|
};
|
|
3791
|
-
function _sfc_render$
|
|
3792
|
-
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
3791
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3792
|
+
return $setup.notificationProvider.notifications.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$17, [
|
|
3793
3793
|
(openBlock(true), createElementBlock(
|
|
3794
3794
|
Fragment,
|
|
3795
3795
|
null,
|
|
@@ -3841,8 +3841,8 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3841
3841
|
))
|
|
3842
3842
|
])) : createCommentVNode("v-if", true);
|
|
3843
3843
|
}
|
|
3844
|
-
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3845
|
-
const _sfc_main$
|
|
3844
|
+
const OnyxNotifications = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotifications/OnyxNotifications.vue"]]);
|
|
3845
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
3846
3846
|
__name: "OnyxToastMessage",
|
|
3847
3847
|
props: {
|
|
3848
3848
|
density: { type: null, required: false },
|
|
@@ -3878,24 +3878,24 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
3878
3878
|
return __returned__;
|
|
3879
3879
|
}
|
|
3880
3880
|
});
|
|
3881
|
-
const _hoisted_1$
|
|
3881
|
+
const _hoisted_1$16 = { class: "onyx-toast-message__wrapper" };
|
|
3882
3882
|
const _hoisted_2$S = { class: "onyx-toast-message__content onyx-truncation-ellipsis" };
|
|
3883
3883
|
const _hoisted_3$z = { class: "onyx-toast-message__headline onyx-text" };
|
|
3884
3884
|
const _hoisted_4$n = { class: "onyx-truncation-ellipsis" };
|
|
3885
3885
|
const _hoisted_5$h = ["aria-label"];
|
|
3886
|
-
const _hoisted_6$
|
|
3886
|
+
const _hoisted_6$c = {
|
|
3887
3887
|
key: 0,
|
|
3888
3888
|
class: "onyx-toast-message__description onyx-text--small onyx-truncation-multiline",
|
|
3889
3889
|
tabindex: "0"
|
|
3890
3890
|
};
|
|
3891
|
-
function _sfc_render$
|
|
3891
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3892
3892
|
return openBlock(), createBlock(resolveDynamicComponent($setup.props.clickable ? "button" : "div"), {
|
|
3893
3893
|
class: normalizeClass(["onyx-component onyx-toast-message", [`onyx-toast-message--${$setup.props.color}`, $setup.densityClass]]),
|
|
3894
3894
|
role: $setup.props.color === "danger" || $setup.props.color === "warning" ? "alert" : "status",
|
|
3895
3895
|
"aria-label": $setup.props.clickable ? $setup.props.headline : void 0
|
|
3896
3896
|
}, {
|
|
3897
3897
|
default: withCtx(() => [
|
|
3898
|
-
createElementVNode("div", _hoisted_1$
|
|
3898
|
+
createElementVNode("div", _hoisted_1$16, [
|
|
3899
3899
|
$setup.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
3900
3900
|
key: 0,
|
|
3901
3901
|
icon: $setup.icon
|
|
@@ -3921,7 +3921,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3921
3921
|
]),
|
|
3922
3922
|
$setup.props.description ? (openBlock(), createElementBlock(
|
|
3923
3923
|
"p",
|
|
3924
|
-
_hoisted_6$
|
|
3924
|
+
_hoisted_6$c,
|
|
3925
3925
|
toDisplayString($setup.props.description),
|
|
3926
3926
|
1
|
|
3927
3927
|
/* TEXT */
|
|
@@ -3946,8 +3946,8 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3946
3946
|
/* STABLE */
|
|
3947
3947
|
}, 8, ["class", "role", "aria-label"]);
|
|
3948
3948
|
}
|
|
3949
|
-
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3950
|
-
const TOAST_PROVIDER_INJECTION_KEY = Symbol();
|
|
3949
|
+
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToastMessage/OnyxToastMessage.vue"]]);
|
|
3950
|
+
const TOAST_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3951
3951
|
const createToastProvider = () => {
|
|
3952
3952
|
let nextId = 1;
|
|
3953
3953
|
const toasts = ref([]);
|
|
@@ -3989,7 +3989,7 @@ const useToast = () => {
|
|
|
3989
3989
|
);
|
|
3990
3990
|
return toastProvider;
|
|
3991
3991
|
};
|
|
3992
|
-
const _sfc_main$
|
|
3992
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
3993
3993
|
__name: "OnyxToast",
|
|
3994
3994
|
setup(__props, { expose: __expose }) {
|
|
3995
3995
|
__expose();
|
|
@@ -3999,15 +3999,15 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
3999
3999
|
return __returned__;
|
|
4000
4000
|
}
|
|
4001
4001
|
});
|
|
4002
|
-
const _hoisted_1$
|
|
4002
|
+
const _hoisted_1$15 = {
|
|
4003
4003
|
key: 0,
|
|
4004
4004
|
class: "onyx-component onyx-toast",
|
|
4005
4005
|
role: "presentation",
|
|
4006
4006
|
"aria-live": "polite",
|
|
4007
4007
|
open: ""
|
|
4008
4008
|
};
|
|
4009
|
-
function _sfc_render$
|
|
4010
|
-
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$
|
|
4009
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4010
|
+
return $setup.toastProvider.toasts.value.length ? (openBlock(), createElementBlock("dialog", _hoisted_1$15, [
|
|
4011
4011
|
(openBlock(true), createElementBlock(
|
|
4012
4012
|
Fragment,
|
|
4013
4013
|
null,
|
|
@@ -4025,8 +4025,8 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4025
4025
|
))
|
|
4026
4026
|
])) : createCommentVNode("v-if", true);
|
|
4027
4027
|
}
|
|
4028
|
-
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4029
|
-
const _sfc_main$
|
|
4028
|
+
const OnyxToast = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToast/OnyxToast.vue"]]);
|
|
4029
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
4030
4030
|
__name: "OnyxAppLayout",
|
|
4031
4031
|
props: {
|
|
4032
4032
|
navBarAlignment: { type: String, required: false, default: "top" }
|
|
@@ -4040,19 +4040,19 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
4040
4040
|
return __returned__;
|
|
4041
4041
|
}
|
|
4042
4042
|
});
|
|
4043
|
-
const _hoisted_1$
|
|
4043
|
+
const _hoisted_1$14 = {
|
|
4044
4044
|
key: 0,
|
|
4045
4045
|
class: "onyx-app__nav"
|
|
4046
4046
|
};
|
|
4047
4047
|
const _hoisted_2$R = { class: "onyx-app__page" };
|
|
4048
|
-
function _sfc_render$
|
|
4048
|
+
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4049
4049
|
return openBlock(), createElementBlock(
|
|
4050
4050
|
"div",
|
|
4051
4051
|
{
|
|
4052
4052
|
class: normalizeClass(["onyx-component onyx-app", { "onyx-app--horizontal": $setup.props.navBarAlignment === "left" }])
|
|
4053
4053
|
},
|
|
4054
4054
|
[
|
|
4055
|
-
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4055
|
+
$setup.slots.navBar ? (openBlock(), createElementBlock("div", _hoisted_1$14, [
|
|
4056
4056
|
renderSlot(_ctx.$slots, "navBar")
|
|
4057
4057
|
])) : createCommentVNode("v-if", true),
|
|
4058
4058
|
createElementVNode("div", _hoisted_2$R, [
|
|
@@ -4066,8 +4066,8 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4066
4066
|
/* CLASS */
|
|
4067
4067
|
);
|
|
4068
4068
|
}
|
|
4069
|
-
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4070
|
-
const _sfc_main$
|
|
4069
|
+
const OnyxAppLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAppLayout/OnyxAppLayout.vue"]]);
|
|
4070
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
4071
4071
|
__name: "OnyxAvatar",
|
|
4072
4072
|
props: {
|
|
4073
4073
|
size: { type: null, required: false, default: "48px" },
|
|
@@ -4101,13 +4101,13 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
4101
4101
|
return __returned__;
|
|
4102
4102
|
}
|
|
4103
4103
|
});
|
|
4104
|
-
const _hoisted_1$
|
|
4104
|
+
const _hoisted_1$13 = ["title", "aria-label"];
|
|
4105
4105
|
const _hoisted_2$Q = ["src", "alt"];
|
|
4106
4106
|
const _hoisted_3$y = {
|
|
4107
4107
|
key: 0,
|
|
4108
4108
|
class: "onyx-avatar__initials"
|
|
4109
4109
|
};
|
|
4110
|
-
function _sfc_render$
|
|
4110
|
+
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4111
4111
|
return openBlock(), createElementBlock("figure", {
|
|
4112
4112
|
class: normalizeClass([
|
|
4113
4113
|
"onyx-component",
|
|
@@ -4143,10 +4143,10 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4143
4143
|
64
|
|
4144
4144
|
/* STABLE_FRAGMENT */
|
|
4145
4145
|
))
|
|
4146
|
-
], 10, _hoisted_1$
|
|
4146
|
+
], 10, _hoisted_1$13);
|
|
4147
4147
|
}
|
|
4148
|
-
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4149
|
-
const _sfc_main$
|
|
4148
|
+
const OnyxAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatar/OnyxAvatar.vue"]]);
|
|
4149
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
4150
4150
|
__name: "OnyxAvatarStack",
|
|
4151
4151
|
setup(__props, { expose: __expose }) {
|
|
4152
4152
|
__expose();
|
|
@@ -4155,14 +4155,14 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
4155
4155
|
return __returned__;
|
|
4156
4156
|
}
|
|
4157
4157
|
});
|
|
4158
|
-
const _hoisted_1$
|
|
4159
|
-
function _sfc_render$
|
|
4160
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4158
|
+
const _hoisted_1$12 = { class: "onyx-component onyx-avatar-stack" };
|
|
4159
|
+
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4160
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
4161
4161
|
renderSlot(_ctx.$slots, "default")
|
|
4162
4162
|
]);
|
|
4163
4163
|
}
|
|
4164
|
-
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4165
|
-
const _sfc_main$
|
|
4164
|
+
const OnyxAvatarStack = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAvatarStack/OnyxAvatarStack.vue"]]);
|
|
4165
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
4166
4166
|
__name: "OnyxBadge",
|
|
4167
4167
|
props: {
|
|
4168
4168
|
density: { type: null, required: false },
|
|
@@ -4179,7 +4179,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
4179
4179
|
return __returned__;
|
|
4180
4180
|
}
|
|
4181
4181
|
});
|
|
4182
|
-
function _sfc_render$
|
|
4182
|
+
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4183
4183
|
return openBlock(), createElementBlock(
|
|
4184
4184
|
"div",
|
|
4185
4185
|
{
|
|
@@ -4210,8 +4210,8 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4210
4210
|
/* CLASS */
|
|
4211
4211
|
);
|
|
4212
4212
|
}
|
|
4213
|
-
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4214
|
-
const _sfc_main$
|
|
4213
|
+
const OnyxBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBadge/OnyxBadge.vue"]]);
|
|
4214
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
4215
4215
|
__name: "OnyxBottomBar",
|
|
4216
4216
|
props: {
|
|
4217
4217
|
density: { type: null, required: false },
|
|
@@ -4226,10 +4226,10 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
4226
4226
|
return __returned__;
|
|
4227
4227
|
}
|
|
4228
4228
|
});
|
|
4229
|
-
const _hoisted_1$
|
|
4229
|
+
const _hoisted_1$11 = { class: "onyx-bottom-bar__content onyx-grid-container" };
|
|
4230
4230
|
const _hoisted_2$P = { class: "onyx-bottom-bar__content--left" };
|
|
4231
4231
|
const _hoisted_3$x = { class: "onyx-bottom-bar__content--right" };
|
|
4232
|
-
function _sfc_render$
|
|
4232
|
+
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4233
4233
|
return openBlock(), createElementBlock(
|
|
4234
4234
|
"div",
|
|
4235
4235
|
{
|
|
@@ -4241,7 +4241,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4241
4241
|
])
|
|
4242
4242
|
},
|
|
4243
4243
|
[
|
|
4244
|
-
createElementVNode("div", _hoisted_1$
|
|
4244
|
+
createElementVNode("div", _hoisted_1$11, [
|
|
4245
4245
|
createElementVNode("div", _hoisted_2$P, [
|
|
4246
4246
|
renderSlot(_ctx.$slots, "left")
|
|
4247
4247
|
]),
|
|
@@ -4254,7 +4254,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4254
4254
|
/* CLASS */
|
|
4255
4255
|
);
|
|
4256
4256
|
}
|
|
4257
|
-
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4257
|
+
const OnyxBottomBar = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBottomBar/OnyxBottomBar.vue"]]);
|
|
4258
4258
|
const useMoreList = (options) => {
|
|
4259
4259
|
const visibleElements = ref();
|
|
4260
4260
|
const hiddenElements = ref();
|
|
@@ -4347,9 +4347,9 @@ const useMoreListChild = (injectionKey) => {
|
|
|
4347
4347
|
isVisible
|
|
4348
4348
|
};
|
|
4349
4349
|
};
|
|
4350
|
-
const BREADCRUMB_MORE_LIST_INJECTION_KEY = Symbol();
|
|
4351
|
-
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
4352
|
-
const _sfc_main$
|
|
4350
|
+
const BREADCRUMB_MORE_LIST_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
4351
|
+
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
4352
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
4353
4353
|
__name: "OnyxExternalLinkIcon",
|
|
4354
4354
|
props: {
|
|
4355
4355
|
href: { type: String, required: false },
|
|
@@ -4370,7 +4370,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
4370
4370
|
return __returned__;
|
|
4371
4371
|
}
|
|
4372
4372
|
});
|
|
4373
|
-
function _sfc_render$
|
|
4373
|
+
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4374
4374
|
return $setup.isVisible ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
4375
4375
|
key: 0,
|
|
4376
4376
|
class: "onyx-component onyx-external-link-icon",
|
|
@@ -4378,8 +4378,8 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4378
4378
|
size: "16px"
|
|
4379
4379
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true);
|
|
4380
4380
|
}
|
|
4381
|
-
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4382
|
-
const _sfc_main$
|
|
4381
|
+
const OnyxExternalLinkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue"]]);
|
|
4382
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
4383
4383
|
__name: "OnyxListItem",
|
|
4384
4384
|
props: {
|
|
4385
4385
|
density: { type: null, required: false },
|
|
@@ -4398,7 +4398,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
4398
4398
|
return __returned__;
|
|
4399
4399
|
}
|
|
4400
4400
|
});
|
|
4401
|
-
function _sfc_render$
|
|
4401
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4402
4402
|
return openBlock(), createElementBlock(
|
|
4403
4403
|
"li",
|
|
4404
4404
|
{
|
|
@@ -4420,8 +4420,8 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4420
4420
|
/* CLASS */
|
|
4421
4421
|
);
|
|
4422
4422
|
}
|
|
4423
|
-
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4424
|
-
const _sfc_main$
|
|
4423
|
+
const OnyxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxListItem/OnyxListItem.vue"]]);
|
|
4424
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
4425
4425
|
...{ inheritAttrs: false },
|
|
4426
4426
|
__name: "OnyxMenuItem",
|
|
4427
4427
|
props: {
|
|
@@ -4500,7 +4500,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
4500
4500
|
return __returned__;
|
|
4501
4501
|
}
|
|
4502
4502
|
});
|
|
4503
|
-
const _hoisted_1
|
|
4503
|
+
const _hoisted_1$10 = { class: "onyx-truncation-ellipsis" };
|
|
4504
4504
|
const _hoisted_2$O = {
|
|
4505
4505
|
key: 0,
|
|
4506
4506
|
class: "onyx-menu-item__chevron"
|
|
@@ -4510,7 +4510,7 @@ const _hoisted_3$w = {
|
|
|
4510
4510
|
role: "menu",
|
|
4511
4511
|
class: "onyx-menu-item__children"
|
|
4512
4512
|
};
|
|
4513
|
-
function _sfc_render$
|
|
4513
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4514
4514
|
const _component_OnyxMenuItem = resolveComponent("OnyxMenuItem", true);
|
|
4515
4515
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({
|
|
4516
4516
|
selected: $setup.isActive,
|
|
@@ -4531,7 +4531,7 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4531
4531
|
createElementVNode("span", null, [
|
|
4532
4532
|
createElementVNode(
|
|
4533
4533
|
"span",
|
|
4534
|
-
_hoisted_1
|
|
4534
|
+
_hoisted_1$10,
|
|
4535
4535
|
toDisplayString($setup.props.label),
|
|
4536
4536
|
1
|
|
4537
4537
|
/* TEXT */
|
|
@@ -4596,8 +4596,8 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4596
4596
|
/* FORWARDED */
|
|
4597
4597
|
}, 16, ["selected", "active", "color", "disabled", "class"]);
|
|
4598
4598
|
}
|
|
4599
|
-
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4600
|
-
const _sfc_main$
|
|
4599
|
+
const OnyxMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue"]]);
|
|
4600
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
4601
4601
|
...{ inheritAttrs: false },
|
|
4602
4602
|
__name: "OnyxBreadcrumbItem",
|
|
4603
4603
|
props: {
|
|
@@ -4623,7 +4623,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
4623
4623
|
return __returned__;
|
|
4624
4624
|
}
|
|
4625
4625
|
});
|
|
4626
|
-
function _sfc_render$
|
|
4626
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4627
4627
|
return openBlock(), createElementBlock(
|
|
4628
4628
|
Fragment,
|
|
4629
4629
|
null,
|
|
@@ -4683,8 +4683,8 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4683
4683
|
/* STABLE_FRAGMENT */
|
|
4684
4684
|
);
|
|
4685
4685
|
}
|
|
4686
|
-
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4687
|
-
const _sfc_main$
|
|
4686
|
+
const OnyxBreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.vue"]]);
|
|
4687
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
4688
4688
|
__name: "OnyxMoreList",
|
|
4689
4689
|
props: {
|
|
4690
4690
|
injectionKey: { type: [Symbol, Object], required: true },
|
|
@@ -4717,7 +4717,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
4717
4717
|
return __returned__;
|
|
4718
4718
|
}
|
|
4719
4719
|
});
|
|
4720
|
-
function _sfc_render$
|
|
4720
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4721
4721
|
return openBlock(), createBlock(
|
|
4722
4722
|
resolveDynamicComponent($setup.props.is),
|
|
4723
4723
|
{
|
|
@@ -4757,8 +4757,8 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4757
4757
|
/* NEED_PATCH */
|
|
4758
4758
|
);
|
|
4759
4759
|
}
|
|
4760
|
-
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4761
|
-
const _sfc_main$
|
|
4760
|
+
const OnyxMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMoreList/OnyxMoreList.vue"]]);
|
|
4761
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
4762
4762
|
__name: "OnyxBreadcrumb",
|
|
4763
4763
|
props: {
|
|
4764
4764
|
density: { type: null, required: false },
|
|
@@ -4784,13 +4784,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
4784
4784
|
return __returned__;
|
|
4785
4785
|
}
|
|
4786
4786
|
});
|
|
4787
|
-
const _hoisted_1
|
|
4787
|
+
const _hoisted_1$$ = ["aria-label", "aria-hidden"];
|
|
4788
4788
|
const _hoisted_2$N = {
|
|
4789
4789
|
class: "onyx-breadcrumb__list onyx-grid-container",
|
|
4790
4790
|
role: "menu"
|
|
4791
4791
|
};
|
|
4792
4792
|
const _hoisted_3$v = { ref: "moreListRef" };
|
|
4793
|
-
function _sfc_render$
|
|
4793
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4794
4794
|
return openBlock(), createElementBlock("nav", {
|
|
4795
4795
|
class: normalizeClass([
|
|
4796
4796
|
"onyx-component",
|
|
@@ -4883,13 +4883,13 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4883
4883
|
/* FORWARDED */
|
|
4884
4884
|
}, 8, ["injection-key"])
|
|
4885
4885
|
])
|
|
4886
|
-
], 10, _hoisted_1
|
|
4886
|
+
], 10, _hoisted_1$$);
|
|
4887
4887
|
}
|
|
4888
|
-
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4888
|
+
const OnyxBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBreadcrumb/OnyxBreadcrumb.vue"]]);
|
|
4889
4889
|
const BUTTON_TYPES = ["button", "submit", "reset"];
|
|
4890
4890
|
const BUTTON_COLORS = ["primary", "neutral", "danger"];
|
|
4891
4891
|
const BUTTON_MODES = ["default", "outline", "plain"];
|
|
4892
|
-
const _sfc_main$
|
|
4892
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
4893
4893
|
__name: "OnyxCard",
|
|
4894
4894
|
props: {
|
|
4895
4895
|
density: { type: null, required: false },
|
|
@@ -4908,7 +4908,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
4908
4908
|
return __returned__;
|
|
4909
4909
|
}
|
|
4910
4910
|
});
|
|
4911
|
-
function _sfc_render$
|
|
4911
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4912
4912
|
return openBlock(), createBlock(resolveDynamicComponent($setup.linkProps ? $setup.OnyxRouterLink : $setup.props.clickable ? "button" : "div"), mergeProps($setup.linkProps, {
|
|
4913
4913
|
class: ["onyx-component", "onyx-card", $setup.densityClass, "onyx-truncation-multiline", "onyx-text"]
|
|
4914
4914
|
}), {
|
|
@@ -4919,8 +4919,8 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4919
4919
|
/* FORWARDED */
|
|
4920
4920
|
}, 16, ["class"]);
|
|
4921
4921
|
}
|
|
4922
|
-
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4923
|
-
const _sfc_main$
|
|
4922
|
+
const OnyxCard = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCard/OnyxCard.vue"]]);
|
|
4923
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
4924
4924
|
__name: "OnyxTooltip",
|
|
4925
4925
|
props: {
|
|
4926
4926
|
density: { type: null, required: false },
|
|
@@ -5075,8 +5075,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
5075
5075
|
return __returned__;
|
|
5076
5076
|
}
|
|
5077
5077
|
});
|
|
5078
|
-
const _hoisted_1$
|
|
5079
|
-
function _sfc_render$
|
|
5078
|
+
const _hoisted_1$_ = { class: "onyx-tooltip--content" };
|
|
5079
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5080
5080
|
return openBlock(), createElementBlock(
|
|
5081
5081
|
"div",
|
|
5082
5082
|
{
|
|
@@ -5092,7 +5092,7 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5092
5092
|
style: $setup.tooltipStyles
|
|
5093
5093
|
}),
|
|
5094
5094
|
[
|
|
5095
|
-
createElementVNode("div", _hoisted_1$
|
|
5095
|
+
createElementVNode("div", _hoisted_1$_, [
|
|
5096
5096
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
5097
5097
|
key: 0,
|
|
5098
5098
|
icon: $setup.props.icon,
|
|
@@ -5116,8 +5116,8 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5116
5116
|
/* CLASS, STYLE */
|
|
5117
5117
|
);
|
|
5118
5118
|
}
|
|
5119
|
-
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5120
|
-
const _sfc_main$
|
|
5119
|
+
const OnyxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTooltip/OnyxTooltip.vue"]]);
|
|
5120
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
5121
5121
|
__name: "OnyxCalendarCell",
|
|
5122
5122
|
props: {
|
|
5123
5123
|
density: { type: null, required: false },
|
|
@@ -5147,7 +5147,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
5147
5147
|
return __returned__;
|
|
5148
5148
|
}
|
|
5149
5149
|
});
|
|
5150
|
-
const _hoisted_1$
|
|
5150
|
+
const _hoisted_1$Z = { class: "onyx-calendar-cell__header" };
|
|
5151
5151
|
const _hoisted_2$M = { class: "onyx-calendar-cell__date-container" };
|
|
5152
5152
|
const _hoisted_3$u = {
|
|
5153
5153
|
key: 1,
|
|
@@ -5157,7 +5157,7 @@ const _hoisted_4$m = {
|
|
|
5157
5157
|
key: 0,
|
|
5158
5158
|
class: "onyx-calendar-cell__main"
|
|
5159
5159
|
};
|
|
5160
|
-
function _sfc_render$
|
|
5160
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5161
5161
|
return openBlock(), createElementBlock(
|
|
5162
5162
|
"td",
|
|
5163
5163
|
{
|
|
@@ -5183,7 +5183,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5183
5183
|
]
|
|
5184
5184
|
}), {
|
|
5185
5185
|
default: withCtx(() => [
|
|
5186
|
-
createElementVNode("div", _hoisted_1$
|
|
5186
|
+
createElementVNode("div", _hoisted_1$Z, [
|
|
5187
5187
|
createElementVNode("div", _hoisted_2$M, [
|
|
5188
5188
|
$setup.props.tooltipText ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
5189
5189
|
key: 0,
|
|
@@ -5222,8 +5222,8 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5222
5222
|
/* CLASS */
|
|
5223
5223
|
);
|
|
5224
5224
|
}
|
|
5225
|
-
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5226
|
-
const _sfc_main$
|
|
5225
|
+
const OnyxCalendarCell = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendarCell/OnyxCalendarCell.vue"]]);
|
|
5226
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
5227
5227
|
__name: "OnyxIconButton",
|
|
5228
5228
|
props: {
|
|
5229
5229
|
density: { type: null, required: false },
|
|
@@ -5248,7 +5248,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
5248
5248
|
return __returned__;
|
|
5249
5249
|
}
|
|
5250
5250
|
});
|
|
5251
|
-
function _sfc_render$
|
|
5251
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5252
5252
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5253
5253
|
key: 0,
|
|
5254
5254
|
class: normalizeClass(["onyx-icon-button-skeleton", $setup.densityClass])
|
|
@@ -5276,8 +5276,8 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5276
5276
|
/* FORWARDED */
|
|
5277
5277
|
}, 16, ["aria-label", "title", "class"]));
|
|
5278
5278
|
}
|
|
5279
|
-
const OnyxIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5280
|
-
const _sfc_main$
|
|
5279
|
+
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"]]);
|
|
5280
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
5281
5281
|
__name: "OnyxTag",
|
|
5282
5282
|
props: {
|
|
5283
5283
|
density: { type: null, required: false },
|
|
@@ -5304,9 +5304,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
5304
5304
|
return __returned__;
|
|
5305
5305
|
}
|
|
5306
5306
|
});
|
|
5307
|
-
const _hoisted_1$
|
|
5307
|
+
const _hoisted_1$Y = { class: "onyx-text--small onyx-truncation-ellipsis" };
|
|
5308
5308
|
const _hoisted_2$L = { class: "onyx-text--small onyx-truncation-ellipsis" };
|
|
5309
|
-
function _sfc_render$
|
|
5309
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5310
5310
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
5311
5311
|
key: 0,
|
|
5312
5312
|
class: normalizeClass(["onyx-tag-skeleton", $setup.densityClass])
|
|
@@ -5329,7 +5329,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5329
5329
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
5330
5330
|
createElementVNode(
|
|
5331
5331
|
"span",
|
|
5332
|
-
_hoisted_1$
|
|
5332
|
+
_hoisted_1$Y,
|
|
5333
5333
|
toDisplayString($setup.props.label),
|
|
5334
5334
|
1
|
|
5335
5335
|
/* TEXT */
|
|
@@ -5370,9 +5370,9 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5370
5370
|
/* CLASS */
|
|
5371
5371
|
));
|
|
5372
5372
|
}
|
|
5373
|
-
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5373
|
+
const OnyxTag = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTag/OnyxTag.vue"]]);
|
|
5374
5374
|
const __default__$8 = {};
|
|
5375
|
-
const _sfc_main$
|
|
5375
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
5376
5376
|
...__default__$8,
|
|
5377
5377
|
__name: "OnyxCalendar",
|
|
5378
5378
|
props: {
|
|
@@ -5487,12 +5487,12 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
5487
5487
|
return __returned__;
|
|
5488
5488
|
}
|
|
5489
5489
|
});
|
|
5490
|
-
const _hoisted_1$
|
|
5490
|
+
const _hoisted_1$X = { class: "onyx-calendar__header" };
|
|
5491
5491
|
const _hoisted_2$K = { class: "control-container time-control-container" };
|
|
5492
5492
|
const _hoisted_3$t = { class: "control-container" };
|
|
5493
5493
|
const _hoisted_4$l = { class: "onyx-calendar__body" };
|
|
5494
5494
|
const _hoisted_5$g = ["abbr"];
|
|
5495
|
-
function _sfc_render$
|
|
5495
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5496
5496
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5497
5497
|
"div",
|
|
5498
5498
|
{
|
|
@@ -5513,7 +5513,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5513
5513
|
class: normalizeClass(["onyx-component", "onyx-calendar", `onyx-calendar--${$setup.calendarSize}`, $setup.densityClass])
|
|
5514
5514
|
},
|
|
5515
5515
|
[
|
|
5516
|
-
createElementVNode("div", _hoisted_1$
|
|
5516
|
+
createElementVNode("div", _hoisted_1$X, [
|
|
5517
5517
|
createElementVNode("div", _hoisted_2$K, [
|
|
5518
5518
|
createVNode($setup["OnyxSystemButton"], {
|
|
5519
5519
|
label: $setup.t("calendar.todayButton.label"),
|
|
@@ -5653,7 +5653,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5653
5653
|
/* CLASS */
|
|
5654
5654
|
));
|
|
5655
5655
|
}
|
|
5656
|
-
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5656
|
+
const OnyxCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCalendar/OnyxCalendar.vue"]]);
|
|
5657
5657
|
const useRequired = (props, requiredMarker) => ({
|
|
5658
5658
|
/**
|
|
5659
5659
|
* Class that configures which type of required marker is used.
|
|
@@ -5869,7 +5869,7 @@ const formatMinMax = (locale, type, value) => {
|
|
|
5869
5869
|
};
|
|
5870
5870
|
return date.toLocaleString(locale, format);
|
|
5871
5871
|
};
|
|
5872
|
-
const _sfc_main$
|
|
5872
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
5873
5873
|
__name: "OnyxErrorTooltip",
|
|
5874
5874
|
props: {
|
|
5875
5875
|
errorMessages: { type: Object, required: false },
|
|
@@ -5885,13 +5885,13 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
5885
5885
|
return __returned__;
|
|
5886
5886
|
}
|
|
5887
5887
|
});
|
|
5888
|
-
const _hoisted_1$
|
|
5888
|
+
const _hoisted_1$W = { class: "onyx-component" };
|
|
5889
5889
|
const _hoisted_2$J = {
|
|
5890
5890
|
key: 0,
|
|
5891
5891
|
ref: "targetRef"
|
|
5892
5892
|
};
|
|
5893
|
-
function _sfc_render$
|
|
5894
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5893
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5894
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
5895
5895
|
!$setup.tooltipError || $setup.props.disabled ? (openBlock(), createElementBlock(
|
|
5896
5896
|
"div",
|
|
5897
5897
|
_hoisted_2$J,
|
|
@@ -5927,8 +5927,8 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5927
5927
|
], 8, ["to"])) : createCommentVNode("v-if", true)
|
|
5928
5928
|
]);
|
|
5929
5929
|
}
|
|
5930
|
-
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5931
|
-
const _sfc_main$
|
|
5930
|
+
const OnyxErrorTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxErrorTooltip/OnyxErrorTooltip.vue"]]);
|
|
5931
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
5932
5932
|
...{ inheritAttrs: false },
|
|
5933
5933
|
__name: "OnyxCheckbox",
|
|
5934
5934
|
props: {
|
|
@@ -5975,10 +5975,10 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5975
5975
|
return __returned__;
|
|
5976
5976
|
}
|
|
5977
5977
|
});
|
|
5978
|
-
const _hoisted_1$
|
|
5978
|
+
const _hoisted_1$V = ["title"];
|
|
5979
5979
|
const _hoisted_2$I = { class: "onyx-checkbox__container" };
|
|
5980
5980
|
const _hoisted_3$s = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"];
|
|
5981
|
-
function _sfc_render$
|
|
5981
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5982
5982
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
5983
5983
|
"div",
|
|
5984
5984
|
mergeProps({
|
|
@@ -6057,13 +6057,13 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6057
6057
|
64
|
|
6058
6058
|
/* STABLE_FRAGMENT */
|
|
6059
6059
|
)) : createCommentVNode("v-if", true)
|
|
6060
|
-
], 10, _hoisted_1$
|
|
6060
|
+
], 10, _hoisted_1$V)
|
|
6061
6061
|
]),
|
|
6062
6062
|
_: 1
|
|
6063
6063
|
/* STABLE */
|
|
6064
6064
|
}, 16, ["disabled", "error-messages"]));
|
|
6065
6065
|
}
|
|
6066
|
-
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6066
|
+
const OnyxCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckbox/OnyxCheckbox.vue"]]);
|
|
6067
6067
|
const useSelectAllCheckboxState = (enabledOptionValues, modelValue) => computed(() => {
|
|
6068
6068
|
const currentValues = modelValue.value.filter(
|
|
6069
6069
|
(value) => enabledOptionValues.value.includes(value)
|
|
@@ -6098,7 +6098,7 @@ const useCheckAll = (enabledOptionValues, modelValue, onChangeCallback) => {
|
|
|
6098
6098
|
}
|
|
6099
6099
|
};
|
|
6100
6100
|
};
|
|
6101
|
-
const _sfc_main$
|
|
6101
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
6102
6102
|
__name: "OnyxInfoTooltip",
|
|
6103
6103
|
props: {
|
|
6104
6104
|
text: { type: String, required: true },
|
|
@@ -6134,9 +6134,9 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
6134
6134
|
return __returned__;
|
|
6135
6135
|
}
|
|
6136
6136
|
});
|
|
6137
|
-
const _hoisted_1$
|
|
6138
|
-
function _sfc_render$
|
|
6139
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
6137
|
+
const _hoisted_1$U = { class: "onyx-component onyx-info-tooltip" };
|
|
6138
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6139
|
+
return openBlock(), createElementBlock("span", _hoisted_1$U, [
|
|
6140
6140
|
$setup.triggerType === "click" ? (openBlock(), createBlock($setup["OnyxTooltip"], mergeProps({ key: 0 }, $setup.tooltipProps, {
|
|
6141
6141
|
open: $setup.isVisible,
|
|
6142
6142
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isVisible = $event)
|
|
@@ -6194,8 +6194,8 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6194
6194
|
))
|
|
6195
6195
|
]);
|
|
6196
6196
|
}
|
|
6197
|
-
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6198
|
-
const _sfc_main$
|
|
6197
|
+
const OnyxInfoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInfoTooltip/OnyxInfoTooltip.vue"]]);
|
|
6198
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
6199
6199
|
__name: "OnyxCheckboxGroup",
|
|
6200
6200
|
props: {
|
|
6201
6201
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -6253,12 +6253,12 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
6253
6253
|
return __returned__;
|
|
6254
6254
|
}
|
|
6255
6255
|
});
|
|
6256
|
-
const _hoisted_1$
|
|
6256
|
+
const _hoisted_1$T = ["disabled", "aria-label"];
|
|
6257
6257
|
const _hoisted_2$H = {
|
|
6258
6258
|
key: 0,
|
|
6259
6259
|
class: "onyx-checkbox-group__label"
|
|
6260
6260
|
};
|
|
6261
|
-
function _sfc_render$
|
|
6261
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6262
6262
|
return openBlock(), createElementBlock("fieldset", {
|
|
6263
6263
|
class: normalizeClass(["onyx-component", "onyx-checkbox-group", $setup.densityClass]),
|
|
6264
6264
|
disabled: $setup.disabled,
|
|
@@ -6344,12 +6344,12 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6344
6344
|
2
|
|
6345
6345
|
/* CLASS */
|
|
6346
6346
|
)
|
|
6347
|
-
], 10, _hoisted_1$
|
|
6347
|
+
], 10, _hoisted_1$T);
|
|
6348
6348
|
}
|
|
6349
|
-
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6350
|
-
const CODE_TABS_INJECTION_KEY = Symbol();
|
|
6351
|
-
const TABS_INJECTION_KEY = Symbol();
|
|
6352
|
-
const _sfc_main$
|
|
6349
|
+
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue"]]);
|
|
6350
|
+
const CODE_TABS_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
6351
|
+
const TABS_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
6352
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
6353
6353
|
...{ inheritAttrs: false },
|
|
6354
6354
|
__name: "OnyxTab",
|
|
6355
6355
|
props: {
|
|
@@ -6380,9 +6380,9 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
6380
6380
|
return __returned__;
|
|
6381
6381
|
}
|
|
6382
6382
|
});
|
|
6383
|
-
const _hoisted_1$
|
|
6383
|
+
const _hoisted_1$S = ["disabled"];
|
|
6384
6384
|
const _hoisted_2$G = { class: "onyx-tab__label" };
|
|
6385
|
-
function _sfc_render$
|
|
6385
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6386
6386
|
return openBlock(), createElementBlock(
|
|
6387
6387
|
Fragment,
|
|
6388
6388
|
null,
|
|
@@ -6412,7 +6412,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6412
6412
|
)
|
|
6413
6413
|
])
|
|
6414
6414
|
])
|
|
6415
|
-
], 16, _hoisted_1$
|
|
6415
|
+
], 16, _hoisted_1$S)),
|
|
6416
6416
|
$setup.tabsContext?.panel.value ? (openBlock(), createBlock(Teleport, {
|
|
6417
6417
|
key: 2,
|
|
6418
6418
|
to: $setup.tabsContext?.panel.value,
|
|
@@ -6437,9 +6437,9 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6437
6437
|
/* STABLE_FRAGMENT */
|
|
6438
6438
|
);
|
|
6439
6439
|
}
|
|
6440
|
-
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6440
|
+
const OnyxTab = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTab/OnyxTab.vue"]]);
|
|
6441
6441
|
const __default__$7 = {};
|
|
6442
|
-
const _sfc_main$
|
|
6442
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
6443
6443
|
...__default__$7,
|
|
6444
6444
|
__name: "OnyxCodeTab",
|
|
6445
6445
|
props: {
|
|
@@ -6481,7 +6481,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
6481
6481
|
return __returned__;
|
|
6482
6482
|
}
|
|
6483
6483
|
});
|
|
6484
|
-
const _hoisted_1$
|
|
6484
|
+
const _hoisted_1$R = {
|
|
6485
6485
|
key: 0,
|
|
6486
6486
|
class: "onyx-code-tab__skeletons"
|
|
6487
6487
|
};
|
|
@@ -6489,7 +6489,7 @@ const _hoisted_2$F = {
|
|
|
6489
6489
|
key: 0,
|
|
6490
6490
|
class: "onyx-code-tab__language onyx-text--small"
|
|
6491
6491
|
};
|
|
6492
|
-
function _sfc_render$
|
|
6492
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6493
6493
|
return openBlock(), createBlock($setup["OnyxTab"], mergeProps($setup.tabProps, {
|
|
6494
6494
|
label: $setup.label,
|
|
6495
6495
|
class: "onyx-code-tab",
|
|
@@ -6510,7 +6510,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6510
6510
|
])
|
|
6511
6511
|
]),
|
|
6512
6512
|
default: withCtx(() => [
|
|
6513
|
-
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6513
|
+
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
6514
6514
|
(openBlock(), createElementBlock(
|
|
6515
6515
|
Fragment,
|
|
6516
6516
|
null,
|
|
@@ -6554,8 +6554,8 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6554
6554
|
/* FORWARDED */
|
|
6555
6555
|
}, 16, ["label", "disabled"]);
|
|
6556
6556
|
}
|
|
6557
|
-
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6558
|
-
const _sfc_main$
|
|
6557
|
+
const OnyxCodeTab = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTab/OnyxCodeTab.vue"]]);
|
|
6558
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
6559
6559
|
__name: "OnyxTabs",
|
|
6560
6560
|
props: {
|
|
6561
6561
|
density: { type: null, required: false },
|
|
@@ -6594,12 +6594,12 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
6594
6594
|
return __returned__;
|
|
6595
6595
|
}
|
|
6596
6596
|
});
|
|
6597
|
-
const _hoisted_1$
|
|
6597
|
+
const _hoisted_1$Q = { class: "onyx-tabs__header" };
|
|
6598
6598
|
const _hoisted_2$E = {
|
|
6599
6599
|
key: 0,
|
|
6600
6600
|
class: "onyx-tabs__actions"
|
|
6601
6601
|
};
|
|
6602
|
-
function _sfc_render$
|
|
6602
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6603
6603
|
return openBlock(), createElementBlock(
|
|
6604
6604
|
"div",
|
|
6605
6605
|
{
|
|
@@ -6612,7 +6612,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6612
6612
|
])
|
|
6613
6613
|
},
|
|
6614
6614
|
[
|
|
6615
|
-
createElementVNode("div", _hoisted_1$
|
|
6615
|
+
createElementVNode("div", _hoisted_1$Q, [
|
|
6616
6616
|
createElementVNode(
|
|
6617
6617
|
"div",
|
|
6618
6618
|
mergeProps($setup.headless.elements.tablist.value, { class: "onyx-tabs__tablist" }),
|
|
@@ -6631,9 +6631,9 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6631
6631
|
/* CLASS */
|
|
6632
6632
|
);
|
|
6633
6633
|
}
|
|
6634
|
-
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6634
|
+
const OnyxTabs = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTabs/OnyxTabs.vue"]]);
|
|
6635
6635
|
const __default__$6 = {};
|
|
6636
|
-
const _sfc_main$
|
|
6636
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
6637
6637
|
...__default__$6,
|
|
6638
6638
|
__name: "OnyxCodeTabs",
|
|
6639
6639
|
props: {
|
|
@@ -6675,7 +6675,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
6675
6675
|
return __returned__;
|
|
6676
6676
|
}
|
|
6677
6677
|
});
|
|
6678
|
-
function _sfc_render$
|
|
6678
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6679
6679
|
return openBlock(), createBlock($setup["OnyxTabs"], mergeProps($setup.tabsProps, {
|
|
6680
6680
|
modelValue: $setup.modelValue,
|
|
6681
6681
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.modelValue = $event),
|
|
@@ -6708,13 +6708,13 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6708
6708
|
/* FORWARDED */
|
|
6709
6709
|
}, 16, ["modelValue", "label"]);
|
|
6710
6710
|
}
|
|
6711
|
-
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6711
|
+
const OnyxCodeTabs = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCodeTabs/OnyxCodeTabs.vue"]]);
|
|
6712
6712
|
const escapeCSS = (key) => {
|
|
6713
6713
|
const name = typeof key === "symbol" && key.description ? key.description : String(key);
|
|
6714
6714
|
if (globalThis.window && window.CSS) return CSS.escape(name);
|
|
6715
6715
|
return name.replace(/\W/g, "-");
|
|
6716
6716
|
};
|
|
6717
|
-
const _sfc_main$
|
|
6717
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
6718
6718
|
__name: "OnyxEmpty",
|
|
6719
6719
|
props: {
|
|
6720
6720
|
density: { type: null, required: false }
|
|
@@ -6731,12 +6731,12 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
6731
6731
|
return __returned__;
|
|
6732
6732
|
}
|
|
6733
6733
|
});
|
|
6734
|
-
const _hoisted_1$
|
|
6734
|
+
const _hoisted_1$P = { class: "onyx-empty__label onyx-text onyx-truncation-multiline" };
|
|
6735
6735
|
const _hoisted_2$D = {
|
|
6736
6736
|
key: 0,
|
|
6737
6737
|
class: "onyx-empty__buttons"
|
|
6738
6738
|
};
|
|
6739
|
-
function _sfc_render$
|
|
6739
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6740
6740
|
return openBlock(), createElementBlock(
|
|
6741
6741
|
"div",
|
|
6742
6742
|
{
|
|
@@ -6749,7 +6749,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6749
6749
|
size: "48px"
|
|
6750
6750
|
}, null, 8, ["icon"])
|
|
6751
6751
|
]),
|
|
6752
|
-
createElementVNode("div", _hoisted_1$
|
|
6752
|
+
createElementVNode("div", _hoisted_1$P, [
|
|
6753
6753
|
renderSlot(_ctx.$slots, "default")
|
|
6754
6754
|
]),
|
|
6755
6755
|
!!$setup.slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
|
|
@@ -6760,8 +6760,8 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6760
6760
|
/* CLASS */
|
|
6761
6761
|
);
|
|
6762
6762
|
}
|
|
6763
|
-
const OnyxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6764
|
-
const _sfc_main
|
|
6763
|
+
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"]]);
|
|
6764
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
6765
6765
|
__name: "OnyxTable",
|
|
6766
6766
|
props: {
|
|
6767
6767
|
density: { type: null, required: false },
|
|
@@ -6792,7 +6792,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
6792
6792
|
return __returned__;
|
|
6793
6793
|
}
|
|
6794
6794
|
});
|
|
6795
|
-
const _hoisted_1$
|
|
6795
|
+
const _hoisted_1$O = {
|
|
6796
6796
|
key: 0,
|
|
6797
6797
|
class: "onyx-table-wrapper__top"
|
|
6798
6798
|
};
|
|
@@ -6800,7 +6800,7 @@ const _hoisted_2$C = ["id"];
|
|
|
6800
6800
|
const _hoisted_3$r = { class: "onyx-table-wrapper__actions" };
|
|
6801
6801
|
const _hoisted_4$k = ["tabindex"];
|
|
6802
6802
|
const _hoisted_5$f = ["aria-labelledby"];
|
|
6803
|
-
const _hoisted_6$
|
|
6803
|
+
const _hoisted_6$b = ["span"];
|
|
6804
6804
|
const _hoisted_7$6 = {
|
|
6805
6805
|
key: 0,
|
|
6806
6806
|
class: "onyx-table__header"
|
|
@@ -6814,7 +6814,7 @@ const _hoisted_13 = {
|
|
|
6814
6814
|
key: 1,
|
|
6815
6815
|
class: "onyx-table-wrapper__bottom"
|
|
6816
6816
|
};
|
|
6817
|
-
function _sfc_render
|
|
6817
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6818
6818
|
return openBlock(), createElementBlock(
|
|
6819
6819
|
"div",
|
|
6820
6820
|
{
|
|
@@ -6822,7 +6822,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6822
6822
|
style: normalizeStyle($setup.style)
|
|
6823
6823
|
},
|
|
6824
6824
|
[
|
|
6825
|
-
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6825
|
+
!!$setup.slots.headline || !!$setup.slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
6826
6826
|
createElementVNode("div", { id: $setup.headlineId }, [
|
|
6827
6827
|
renderSlot(_ctx.$slots, "headline")
|
|
6828
6828
|
], 8, _hoisted_2$C),
|
|
@@ -6857,7 +6857,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6857
6857
|
return openBlock(), createElementBlock("colgroup", {
|
|
6858
6858
|
key: group.key,
|
|
6859
6859
|
span: group.span
|
|
6860
|
-
}, null, 8, _hoisted_6$
|
|
6860
|
+
}, null, 8, _hoisted_6$b);
|
|
6861
6861
|
}),
|
|
6862
6862
|
128
|
|
6863
6863
|
/* KEYED_FRAGMENT */
|
|
@@ -6919,8 +6919,8 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6919
6919
|
/* CLASS, STYLE */
|
|
6920
6920
|
);
|
|
6921
6921
|
}
|
|
6922
|
-
const OnyxTable = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6923
|
-
const _sfc_main$
|
|
6922
|
+
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"]]);
|
|
6923
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
6924
6924
|
__name: "OnyxDataGridRenderer",
|
|
6925
6925
|
props: {
|
|
6926
6926
|
density: { type: null, required: false },
|
|
@@ -6957,7 +6957,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
6957
6957
|
return __returned__;
|
|
6958
6958
|
}
|
|
6959
6959
|
});
|
|
6960
|
-
function _sfc_render$
|
|
6960
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6961
6961
|
return openBlock(), createBlock($setup["OnyxTable"], mergeProps({ class: "onyx-data-grid" }, $setup.tableProps, {
|
|
6962
6962
|
"scroll-container-attrs": $setup.mergeVueProps($setup.props.scrollContainerAttrs, { style: $setup.columnStyle })
|
|
6963
6963
|
}), createSlots({
|
|
@@ -7064,8 +7064,8 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7064
7064
|
})
|
|
7065
7065
|
]), 1040, ["scroll-container-attrs"]);
|
|
7066
7066
|
}
|
|
7067
|
-
const OnyxDataGridRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7068
|
-
const _sfc_main
|
|
7067
|
+
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"]]);
|
|
7068
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
7069
7069
|
...{ inheritAttrs: false },
|
|
7070
7070
|
__name: "OnyxMiniSearch",
|
|
7071
7071
|
props: {
|
|
@@ -7105,9 +7105,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
7105
7105
|
return __returned__;
|
|
7106
7106
|
}
|
|
7107
7107
|
});
|
|
7108
|
-
const _hoisted_1$
|
|
7108
|
+
const _hoisted_1$N = ["autofocus", "placeholder", "aria-label"];
|
|
7109
7109
|
const _hoisted_2$B = ["aria-label"];
|
|
7110
|
-
function _sfc_render
|
|
7110
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7111
7111
|
return openBlock(), createElementBlock(
|
|
7112
7112
|
"div",
|
|
7113
7113
|
mergeProps({
|
|
@@ -7126,7 +7126,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7126
7126
|
size: "1"
|
|
7127
7127
|
}, $setup.restAttrs, {
|
|
7128
7128
|
"aria-label": $setup.props.label
|
|
7129
|
-
}), null, 16, _hoisted_1$
|
|
7129
|
+
}), null, 16, _hoisted_1$N), [
|
|
7130
7130
|
[vModelText, $setup.modelValue]
|
|
7131
7131
|
]),
|
|
7132
7132
|
createElementVNode("button", {
|
|
@@ -7149,11 +7149,11 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7149
7149
|
/* FULL_PROPS */
|
|
7150
7150
|
);
|
|
7151
7151
|
}
|
|
7152
|
-
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
7152
|
+
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMiniSearch/OnyxMiniSearch.vue"]]);
|
|
7153
7153
|
const prepareMapping = (features, key) => features.flatMap((f) => f[key]).filter((f) => f?.func).sort((a, b) => (a?.order ?? 0) - (b?.order ?? 0));
|
|
7154
7154
|
const applyMapping = (mapping, input2) => mapping.reduce((output, m) => m.func(output), input2);
|
|
7155
|
-
const DataGridRowOptionsSymbol = Symbol("RowOptions");
|
|
7156
|
-
const _sfc_main$
|
|
7155
|
+
const DataGridRowOptionsSymbol = /* @__PURE__ */ Symbol("RowOptions");
|
|
7156
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
7157
7157
|
__name: "HeaderCell",
|
|
7158
7158
|
props: {
|
|
7159
7159
|
label: { type: String, required: true }
|
|
@@ -7167,14 +7167,14 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
7167
7167
|
return __returned__;
|
|
7168
7168
|
}
|
|
7169
7169
|
});
|
|
7170
|
-
const _hoisted_1$
|
|
7170
|
+
const _hoisted_1$M = { class: "onyx-component onyx-data-grid-header-cell" };
|
|
7171
7171
|
const _hoisted_2$A = { class: "onyx-data-grid-header-cell__label" };
|
|
7172
7172
|
const _hoisted_3$q = {
|
|
7173
7173
|
key: 0,
|
|
7174
7174
|
class: "onyx-data-grid-header-cell__actions"
|
|
7175
7175
|
};
|
|
7176
|
-
function _sfc_render$
|
|
7177
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7176
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7177
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
7178
7178
|
createElementVNode(
|
|
7179
7179
|
"span",
|
|
7180
7180
|
_hoisted_2$A,
|
|
@@ -7187,7 +7187,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7187
7187
|
])) : createCommentVNode("v-if", true)
|
|
7188
7188
|
]);
|
|
7189
7189
|
}
|
|
7190
|
-
const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7190
|
+
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"]]);
|
|
7191
7191
|
const FALLBACK_RENDER_VALUE = "-";
|
|
7192
7192
|
const fallback = (opts) => opts?.fallback ?? FALLBACK_RENDER_VALUE;
|
|
7193
7193
|
const createTypeRenderer = (typeRenderer) => Object.freeze(typeRenderer);
|
|
@@ -7506,7 +7506,7 @@ const useFeatureContext = (ctx, options) => {
|
|
|
7506
7506
|
isAsync
|
|
7507
7507
|
};
|
|
7508
7508
|
};
|
|
7509
|
-
const FILTERING_FEATURE = Symbol("Filtering");
|
|
7509
|
+
const FILTERING_FEATURE = /* @__PURE__ */ Symbol("Filtering");
|
|
7510
7510
|
const FILTERING_MUTATION_ORDER = 0;
|
|
7511
7511
|
const useFiltering = (options) => createFeature((ctx) => {
|
|
7512
7512
|
const { i18n } = ctx;
|
|
@@ -7689,7 +7689,7 @@ const useErrorClass = (showError) => computed(() => {
|
|
|
7689
7689
|
}
|
|
7690
7690
|
return "onyx-form-element--touched-invalid";
|
|
7691
7691
|
});
|
|
7692
|
-
const _sfc_main$
|
|
7692
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
7693
7693
|
__name: "FormMessage",
|
|
7694
7694
|
props: {
|
|
7695
7695
|
messages: { type: Object, required: true },
|
|
@@ -7703,17 +7703,17 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
7703
7703
|
return __returned__;
|
|
7704
7704
|
}
|
|
7705
7705
|
});
|
|
7706
|
-
const _hoisted_1$
|
|
7706
|
+
const _hoisted_1$L = {
|
|
7707
7707
|
class: /* @__PURE__ */ normalizeClass(["onyx-truncation-ellipsis"])
|
|
7708
7708
|
};
|
|
7709
|
-
function _sfc_render$
|
|
7709
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7710
7710
|
return openBlock(), createBlock(resolveDynamicComponent($props.messages.hidden ? $setup.OnyxVisuallyHidden : "span"), {
|
|
7711
7711
|
class: normalizeClass(["onyx-component", "onyx-form-message", `onyx-form-message__${$setup.props.type}`])
|
|
7712
7712
|
}, {
|
|
7713
7713
|
default: withCtx(() => [
|
|
7714
7714
|
createElementVNode(
|
|
7715
7715
|
"span",
|
|
7716
|
-
_hoisted_1$
|
|
7716
|
+
_hoisted_1$L,
|
|
7717
7717
|
toDisplayString($setup.props.messages.shortMessage),
|
|
7718
7718
|
1
|
|
7719
7719
|
/* TEXT */
|
|
@@ -7731,8 +7731,8 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7731
7731
|
/* STABLE */
|
|
7732
7732
|
}, 8, ["class"]);
|
|
7733
7733
|
}
|
|
7734
|
-
const FormMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7735
|
-
const _sfc_main$
|
|
7734
|
+
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"]]);
|
|
7735
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
7736
7736
|
__name: "OnyxFormElement",
|
|
7737
7737
|
props: {
|
|
7738
7738
|
disabled: { type: [Boolean, Symbol], required: false },
|
|
@@ -7805,7 +7805,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
7805
7805
|
return __returned__;
|
|
7806
7806
|
}
|
|
7807
7807
|
});
|
|
7808
|
-
const _hoisted_1$
|
|
7808
|
+
const _hoisted_1$K = {
|
|
7809
7809
|
key: 0,
|
|
7810
7810
|
class: "onyx-form-element__label onyx-text--small"
|
|
7811
7811
|
};
|
|
@@ -7815,7 +7815,7 @@ const _hoisted_3$p = {
|
|
|
7815
7815
|
class: "onyx-form-element__footer onyx-text--small"
|
|
7816
7816
|
};
|
|
7817
7817
|
const _hoisted_4$j = { class: "onyx-form-element__footer-messages" };
|
|
7818
|
-
function _sfc_render$
|
|
7818
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7819
7819
|
return openBlock(), createElementBlock(
|
|
7820
7820
|
"div",
|
|
7821
7821
|
{
|
|
@@ -7827,7 +7827,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7827
7827
|
])
|
|
7828
7828
|
},
|
|
7829
7829
|
[
|
|
7830
|
-
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7830
|
+
!$setup.props.hideLabel ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
7831
7831
|
createElementVNode("label", {
|
|
7832
7832
|
for: $setup.props.id,
|
|
7833
7833
|
class: "onyx-truncation-ellipsis"
|
|
@@ -7902,8 +7902,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7902
7902
|
/* CLASS */
|
|
7903
7903
|
);
|
|
7904
7904
|
}
|
|
7905
|
-
const OnyxFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7906
|
-
const _sfc_main$
|
|
7905
|
+
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"]]);
|
|
7906
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
7907
7907
|
...{ inheritAttrs: false },
|
|
7908
7908
|
__name: "OnyxSelectInput",
|
|
7909
7909
|
props: {
|
|
@@ -7986,9 +7986,9 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
7986
7986
|
return __returned__;
|
|
7987
7987
|
}
|
|
7988
7988
|
});
|
|
7989
|
-
const _hoisted_1$
|
|
7989
|
+
const _hoisted_1$J = ["id", "readonly", "placeholder", "required", "disabled", "aria-label", "title", "value", "autofocus"];
|
|
7990
7990
|
const _hoisted_2$y = ["aria-label", "title", "disabled"];
|
|
7991
|
-
function _sfc_render$
|
|
7991
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7992
7992
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
7993
7993
|
"div",
|
|
7994
7994
|
mergeProps({
|
|
@@ -8053,7 +8053,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8053
8053
|
autofocus: $setup.props.autofocus,
|
|
8054
8054
|
autocomplete: "off",
|
|
8055
8055
|
onKeydown: $setup.blockTyping
|
|
8056
|
-
}), null, 16, _hoisted_1$
|
|
8056
|
+
}), null, 16, _hoisted_1$J), [
|
|
8057
8057
|
[$setup["vCustomValidity"]]
|
|
8058
8058
|
]),
|
|
8059
8059
|
$setup.props.textMode === "preview" && $setup.selectionCount > 0 ? (openBlock(), createBlock($setup["OnyxTooltip"], {
|
|
@@ -8091,7 +8091,9 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8091
8091
|
tabindex: "-1",
|
|
8092
8092
|
disabled: $setup.disabled || $setup.props.readonly || $setup.props.loading
|
|
8093
8093
|
}, [
|
|
8094
|
-
|
|
8094
|
+
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
8095
|
+
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronDownUp }, null, 8, ["icon"])
|
|
8096
|
+
])
|
|
8095
8097
|
], 8, _hoisted_2$y),
|
|
8096
8098
|
!$setup.props.hideSuccessIcon && $setup.successMessages ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
8097
8099
|
key: 2,
|
|
@@ -8101,16 +8103,16 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8101
8103
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true)
|
|
8102
8104
|
])
|
|
8103
8105
|
]),
|
|
8104
|
-
_:
|
|
8105
|
-
/*
|
|
8106
|
+
_: 3
|
|
8107
|
+
/* FORWARDED */
|
|
8106
8108
|
}, 16, ["message", "success-messages", "error-messages"])
|
|
8107
8109
|
],
|
|
8108
8110
|
16
|
|
8109
8111
|
/* FULL_PROPS */
|
|
8110
8112
|
));
|
|
8111
8113
|
}
|
|
8112
|
-
const OnyxSelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8113
|
-
const _sfc_main$
|
|
8114
|
+
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"]]);
|
|
8115
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
8114
8116
|
__name: "OnyxSelectOption",
|
|
8115
8117
|
props: {
|
|
8116
8118
|
active: { type: Boolean, required: false, default: false },
|
|
@@ -8129,8 +8131,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
8129
8131
|
return __returned__;
|
|
8130
8132
|
}
|
|
8131
8133
|
});
|
|
8132
|
-
const _hoisted_1$
|
|
8133
|
-
function _sfc_render$
|
|
8134
|
+
const _hoisted_1$I = ["checked", "aria-labelledby", "disabled", "indeterminate"];
|
|
8135
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8134
8136
|
return openBlock(), createBlock($setup["OnyxListItem"], mergeProps({ class: "onyx-component onyx-select-option" }, $setup.listItemProps, {
|
|
8135
8137
|
checked: !!_ctx.$attrs["aria-checked"],
|
|
8136
8138
|
selected: !!_ctx.$attrs["aria-selected"],
|
|
@@ -8147,7 +8149,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8147
8149
|
tabindex: "-1",
|
|
8148
8150
|
class: "onyx-select-option__checkbox",
|
|
8149
8151
|
type: "checkbox"
|
|
8150
|
-
}, null, 8, _hoisted_1$
|
|
8152
|
+
}, null, 8, _hoisted_1$I)) : createCommentVNode("v-if", true),
|
|
8151
8153
|
$setup.props.icon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
8152
8154
|
key: 1,
|
|
8153
8155
|
icon: $setup.props.icon
|
|
@@ -8168,8 +8170,8 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8168
8170
|
/* FORWARDED */
|
|
8169
8171
|
}, 16, ["checked", "selected", "disabled"]);
|
|
8170
8172
|
}
|
|
8171
|
-
const OnyxSelectOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8172
|
-
const _sfc_main$
|
|
8173
|
+
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"]]);
|
|
8174
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
8173
8175
|
__name: "OnyxSelect",
|
|
8174
8176
|
props: {
|
|
8175
8177
|
density: { type: null, required: false },
|
|
@@ -8439,7 +8441,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
8439
8441
|
return __returned__;
|
|
8440
8442
|
}
|
|
8441
8443
|
});
|
|
8442
|
-
const _hoisted_1$
|
|
8444
|
+
const _hoisted_1$H = {
|
|
8443
8445
|
ref: "selectRef",
|
|
8444
8446
|
class: "onyx-component onyx-select-wrapper"
|
|
8445
8447
|
};
|
|
@@ -8461,7 +8463,7 @@ const _hoisted_5$e = {
|
|
|
8461
8463
|
role: "presentation",
|
|
8462
8464
|
class: "onyx-select__group-name onyx-text--small"
|
|
8463
8465
|
};
|
|
8464
|
-
const _hoisted_6$
|
|
8466
|
+
const _hoisted_6$a = {
|
|
8465
8467
|
key: 1,
|
|
8466
8468
|
class: "onyx-select__slot"
|
|
8467
8469
|
};
|
|
@@ -8473,10 +8475,10 @@ const _hoisted_8$4 = {
|
|
|
8473
8475
|
key: 0,
|
|
8474
8476
|
class: "onyx-select__description onyx-text--small"
|
|
8475
8477
|
};
|
|
8476
|
-
function _sfc_render$
|
|
8478
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8477
8479
|
return openBlock(), createElementBlock(
|
|
8478
8480
|
"div",
|
|
8479
|
-
_hoisted_1$
|
|
8481
|
+
_hoisted_1$H,
|
|
8480
8482
|
[
|
|
8481
8483
|
createVNode($setup["OnyxBasicPopover"], {
|
|
8482
8484
|
class: normalizeClass($setup.densityClass),
|
|
@@ -8492,7 +8494,18 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8492
8494
|
autofocus: $setup.props.autofocus,
|
|
8493
8495
|
onInputClick: $setup.onToggle,
|
|
8494
8496
|
onValidityChange: _cache[0] || (_cache[0] = ($event) => $setup.emit("validityChange", $event))
|
|
8495
|
-
}),
|
|
8497
|
+
}), createSlots({
|
|
8498
|
+
_: 2
|
|
8499
|
+
/* DYNAMIC */
|
|
8500
|
+
}, [
|
|
8501
|
+
$setup.slots.toggleIcon ? {
|
|
8502
|
+
name: "icon",
|
|
8503
|
+
fn: withCtx(() => [
|
|
8504
|
+
renderSlot(_ctx.$slots, "toggleIcon")
|
|
8505
|
+
]),
|
|
8506
|
+
key: "0"
|
|
8507
|
+
} : void 0
|
|
8508
|
+
]), 1040, ["show-focus", "autofocus"])
|
|
8496
8509
|
]),
|
|
8497
8510
|
content: withCtx(() => [
|
|
8498
8511
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_2$x, [
|
|
@@ -8640,7 +8653,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8640
8653
|
16
|
|
8641
8654
|
/* FULL_PROPS */
|
|
8642
8655
|
),
|
|
8643
|
-
$setup.props.lazyLoading?.loading ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
8656
|
+
$setup.props.lazyLoading?.loading ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
8644
8657
|
createVNode($setup["OnyxLoadingIndicator"], { class: "onyx-select__loading" })
|
|
8645
8658
|
])) : createCommentVNode("v-if", true),
|
|
8646
8659
|
$setup.slots.optionsEnd ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
@@ -8665,9 +8678,9 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8665
8678
|
/* NEED_PATCH */
|
|
8666
8679
|
);
|
|
8667
8680
|
}
|
|
8668
|
-
const OnyxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8681
|
+
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"]]);
|
|
8669
8682
|
const __default__$5 = {};
|
|
8670
|
-
const _sfc_main$
|
|
8683
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
8671
8684
|
...__default__$5,
|
|
8672
8685
|
__name: "OnyxItemsPerPage",
|
|
8673
8686
|
props: {
|
|
@@ -8701,8 +8714,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
8701
8714
|
return __returned__;
|
|
8702
8715
|
}
|
|
8703
8716
|
});
|
|
8704
|
-
const _hoisted_1$
|
|
8705
|
-
function _sfc_render$
|
|
8717
|
+
const _hoisted_1$G = ["for"];
|
|
8718
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8706
8719
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
8707
8720
|
key: 0,
|
|
8708
8721
|
class: normalizeClass(["onyx-items-per-page-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -8736,14 +8749,14 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8736
8749
|
key: 0,
|
|
8737
8750
|
for: $setup.id,
|
|
8738
8751
|
class: normalizeClass(["onyx-items-per-page__label", "onyx-truncation-ellipsis"])
|
|
8739
|
-
}, toDisplayString($setup.t("itemsPerPage.label")), 9, _hoisted_1$
|
|
8752
|
+
}, toDisplayString($setup.t("itemsPerPage.label")), 9, _hoisted_1$G)) : createCommentVNode("v-if", true)
|
|
8740
8753
|
],
|
|
8741
8754
|
6
|
|
8742
8755
|
/* CLASS, STYLE */
|
|
8743
8756
|
));
|
|
8744
8757
|
}
|
|
8745
|
-
const OnyxItemsPerPage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8746
|
-
const _sfc_main$
|
|
8758
|
+
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"]]);
|
|
8759
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
8747
8760
|
__name: "OnyxInlinePagination",
|
|
8748
8761
|
props: {
|
|
8749
8762
|
density: { type: null, required: false },
|
|
@@ -8795,12 +8808,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
8795
8808
|
return __returned__;
|
|
8796
8809
|
}
|
|
8797
8810
|
});
|
|
8798
|
-
const _hoisted_1$
|
|
8811
|
+
const _hoisted_1$F = ["aria-label"];
|
|
8799
8812
|
const _hoisted_2$w = ["aria-label", "disabled"];
|
|
8800
8813
|
const _hoisted_3$n = ["aria-label", "disabled", "onClick"];
|
|
8801
8814
|
const _hoisted_4$h = ["aria-label"];
|
|
8802
8815
|
const _hoisted_5$d = ["aria-label", "disabled"];
|
|
8803
|
-
function _sfc_render$
|
|
8816
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8804
8817
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
8805
8818
|
key: 0,
|
|
8806
8819
|
class: normalizeClass([
|
|
@@ -8889,11 +8902,11 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8889
8902
|
}, [
|
|
8890
8903
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
8891
8904
|
], 8, _hoisted_5$d)
|
|
8892
|
-
], 10, _hoisted_1$
|
|
8905
|
+
], 10, _hoisted_1$F));
|
|
8893
8906
|
}
|
|
8894
|
-
const OnyxInlinePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8907
|
+
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"]]);
|
|
8895
8908
|
const pageSize = 100;
|
|
8896
|
-
const _sfc_main$
|
|
8909
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
8897
8910
|
__name: "OnyxSelectPagination",
|
|
8898
8911
|
props: {
|
|
8899
8912
|
density: { type: null, required: false },
|
|
@@ -8945,11 +8958,11 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8945
8958
|
return __returned__;
|
|
8946
8959
|
}
|
|
8947
8960
|
});
|
|
8948
|
-
const _hoisted_1$
|
|
8961
|
+
const _hoisted_1$E = ["aria-label"];
|
|
8949
8962
|
const _hoisted_2$v = { class: "onyx-pagination__count" };
|
|
8950
8963
|
const _hoisted_3$m = ["aria-label", "disabled"];
|
|
8951
8964
|
const _hoisted_4$g = ["aria-label", "disabled"];
|
|
8952
|
-
function _sfc_render$
|
|
8965
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8953
8966
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
8954
8967
|
key: 0,
|
|
8955
8968
|
class: normalizeClass(["onyx-pagination-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -9003,10 +9016,10 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9003
9016
|
}, [
|
|
9004
9017
|
createVNode($setup["OnyxIcon"], { icon: $setup.iconChevronRightSmall }, null, 8, ["icon"])
|
|
9005
9018
|
], 8, _hoisted_4$g)
|
|
9006
|
-
], 14, _hoisted_1$
|
|
9019
|
+
], 14, _hoisted_1$E));
|
|
9007
9020
|
}
|
|
9008
|
-
const OnyxSelectPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9009
|
-
const _sfc_main$
|
|
9021
|
+
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"]]);
|
|
9022
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
9010
9023
|
__name: "OnyxPagination",
|
|
9011
9024
|
props: {
|
|
9012
9025
|
density: { type: null, required: false },
|
|
@@ -9027,7 +9040,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9027
9040
|
return __returned__;
|
|
9028
9041
|
}
|
|
9029
9042
|
});
|
|
9030
|
-
function _sfc_render$
|
|
9043
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9031
9044
|
return $setup.props.type === "inline" ? (openBlock(), createBlock(
|
|
9032
9045
|
$setup["OnyxInlinePagination"],
|
|
9033
9046
|
mergeProps({ key: 0 }, $setup.paginationProps, {
|
|
@@ -9046,8 +9059,8 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9046
9059
|
/* FULL_PROPS */
|
|
9047
9060
|
));
|
|
9048
9061
|
}
|
|
9049
|
-
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9050
|
-
const SELECTION_FEATURE = Symbol("Selection");
|
|
9062
|
+
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"]]);
|
|
9063
|
+
const SELECTION_FEATURE = /* @__PURE__ */ Symbol("Selection");
|
|
9051
9064
|
const SELECTION_MUTATION_ORDER = 1e3;
|
|
9052
9065
|
const useSelection = (options) => createFeature((ctx) => {
|
|
9053
9066
|
const SELECTION_COLUMN = `selection-column-${useId()}`;
|
|
@@ -9145,11 +9158,11 @@ const useSelection = (options) => createFeature((ctx) => {
|
|
|
9145
9158
|
}
|
|
9146
9159
|
};
|
|
9147
9160
|
});
|
|
9148
|
-
const PAGINATION_FEATURE = Symbol("Pagination");
|
|
9149
|
-
const LAZY_LOADING_ROW_ID = Symbol("LazyLoadingRow");
|
|
9150
|
-
const LAZY_LOADING_TYPE_RENDERER = Symbol("LazyLoadingRenderer");
|
|
9151
|
-
const BUTTON_LOADING_ROW_ID = Symbol("ButtonLoadingRow");
|
|
9152
|
-
const BUTTON_LOADING_TYPE_RENDERER = Symbol("ButtonLoadingRenderer");
|
|
9161
|
+
const PAGINATION_FEATURE = /* @__PURE__ */ Symbol("Pagination");
|
|
9162
|
+
const LAZY_LOADING_ROW_ID = /* @__PURE__ */ Symbol("LazyLoadingRow");
|
|
9163
|
+
const LAZY_LOADING_TYPE_RENDERER = /* @__PURE__ */ Symbol("LazyLoadingRenderer");
|
|
9164
|
+
const BUTTON_LOADING_ROW_ID = /* @__PURE__ */ Symbol("ButtonLoadingRow");
|
|
9165
|
+
const BUTTON_LOADING_TYPE_RENDERER = /* @__PURE__ */ Symbol("ButtonLoadingRenderer");
|
|
9153
9166
|
const PAGINATION_MUTATION_ORDER = Math.min(FILTERING_MUTATION_ORDER, SELECTION_MUTATION_ORDER) - 1;
|
|
9154
9167
|
const usePagination = (options = {}) => createFeature((ctx) => {
|
|
9155
9168
|
const state = toRef(
|
|
@@ -9278,7 +9291,7 @@ const usePagination = (options = {}) => createFeature((ctx) => {
|
|
|
9278
9291
|
})
|
|
9279
9292
|
};
|
|
9280
9293
|
});
|
|
9281
|
-
const BASE_FEATURE_SYMBOL = Symbol("Base");
|
|
9294
|
+
const BASE_FEATURE_SYMBOL = /* @__PURE__ */ Symbol("Base");
|
|
9282
9295
|
const BASE_MUTATION_ORDER = Math.max(FILTERING_MUTATION_ORDER, PAGINATION_MUTATION_ORDER) + 1;
|
|
9283
9296
|
const BASE_FEATURE = (options) => createFeature(({ skeleton }) => {
|
|
9284
9297
|
const rowCount = ref(0);
|
|
@@ -9340,7 +9353,7 @@ const BASE_FEATURE = (options) => createFeature(({ skeleton }) => {
|
|
|
9340
9353
|
}
|
|
9341
9354
|
};
|
|
9342
9355
|
});
|
|
9343
|
-
const _sfc_main$
|
|
9356
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
9344
9357
|
...{ inheritAttrs: false },
|
|
9345
9358
|
__name: "OnyxDataGrid",
|
|
9346
9359
|
props: {
|
|
@@ -9420,7 +9433,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9420
9433
|
return __returned__;
|
|
9421
9434
|
}
|
|
9422
9435
|
});
|
|
9423
|
-
function _sfc_render$
|
|
9436
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9424
9437
|
return openBlock(), createBlock($setup["OnyxDataGridRenderer"], mergeProps($setup.mergeVueProps(_ctx.$attrs, $setup.rendererProps), {
|
|
9425
9438
|
"column-groups": $setup.rendererColumnGroups,
|
|
9426
9439
|
columns: $setup.renderColumns,
|
|
@@ -9447,9 +9460,9 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9447
9460
|
} : void 0
|
|
9448
9461
|
]), 1040, ["column-groups", "columns", "rows", "scroll-container-attrs"]);
|
|
9449
9462
|
}
|
|
9450
|
-
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9451
|
-
const HIDE_COLUMNS_FEATURE = Symbol("HideColumnsFeature");
|
|
9452
|
-
const HIDDEN_COLUMN = Symbol("HiddenColumn");
|
|
9463
|
+
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"]]);
|
|
9464
|
+
const HIDE_COLUMNS_FEATURE = /* @__PURE__ */ Symbol("HideColumnsFeature");
|
|
9465
|
+
const HIDDEN_COLUMN = /* @__PURE__ */ Symbol("HiddenColumn");
|
|
9453
9466
|
const useHideColumns = (options) => createFeature((ctx) => {
|
|
9454
9467
|
const { i18n } = ctx;
|
|
9455
9468
|
const { isEnabled } = useFeatureContext(ctx, options);
|
|
@@ -9553,7 +9566,7 @@ const useHideColumns = (options) => createFeature((ctx) => {
|
|
|
9553
9566
|
}
|
|
9554
9567
|
};
|
|
9555
9568
|
});
|
|
9556
|
-
const _sfc_main$
|
|
9569
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
9557
9570
|
__name: "OnyxResizeHandle",
|
|
9558
9571
|
props: {
|
|
9559
9572
|
element: { type: null, required: true },
|
|
@@ -9628,7 +9641,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
9628
9641
|
return __returned__;
|
|
9629
9642
|
}
|
|
9630
9643
|
});
|
|
9631
|
-
function _sfc_render$
|
|
9644
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9632
9645
|
return openBlock(), createElementBlock(
|
|
9633
9646
|
"button",
|
|
9634
9647
|
{
|
|
@@ -9662,9 +9675,9 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9662
9675
|
/* CLASS, NEED_HYDRATION */
|
|
9663
9676
|
);
|
|
9664
9677
|
}
|
|
9665
|
-
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9666
|
-
const RESIZING_FEATURE = Symbol("Resizing");
|
|
9667
|
-
const FILLER_COLUMN = Symbol("FILLER_COLUMN");
|
|
9678
|
+
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"]]);
|
|
9679
|
+
const RESIZING_FEATURE = /* @__PURE__ */ Symbol("Resizing");
|
|
9680
|
+
const FILLER_COLUMN = /* @__PURE__ */ Symbol("FILLER_COLUMN");
|
|
9668
9681
|
const useResizing = (options) => createFeature((ctx) => {
|
|
9669
9682
|
const resizingCol = ref();
|
|
9670
9683
|
const MIN_COLUMN_WIDTH = 3 * 16;
|
|
@@ -9804,7 +9817,7 @@ const DEFAULT_COMPARES = Object.freeze({
|
|
|
9804
9817
|
skeleton: () => 0,
|
|
9805
9818
|
boolean: BOOLEAN_COMPARE
|
|
9806
9819
|
});
|
|
9807
|
-
const _sfc_main$
|
|
9820
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
9808
9821
|
__name: "SortAction",
|
|
9809
9822
|
props: {
|
|
9810
9823
|
columnLabel: { type: String, required: true },
|
|
@@ -9828,14 +9841,14 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
9828
9841
|
return __returned__;
|
|
9829
9842
|
}
|
|
9830
9843
|
});
|
|
9831
|
-
function _sfc_render$
|
|
9844
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9832
9845
|
return openBlock(), createBlock($setup["OnyxSystemButton"], {
|
|
9833
9846
|
label: $setup.buttonLabel,
|
|
9834
9847
|
icon: $setup.icon,
|
|
9835
9848
|
color: "medium"
|
|
9836
9849
|
}, null, 8, ["label", "icon"]);
|
|
9837
9850
|
}
|
|
9838
|
-
const SortAction = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9851
|
+
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"]]);
|
|
9839
9852
|
const nextSortDirection = (current, skipNone) => {
|
|
9840
9853
|
switch (current) {
|
|
9841
9854
|
case "asc":
|
|
@@ -9847,7 +9860,7 @@ const nextSortDirection = (current, skipNone) => {
|
|
|
9847
9860
|
return "asc";
|
|
9848
9861
|
}
|
|
9849
9862
|
};
|
|
9850
|
-
const SORTING_FEATURE = Symbol("Sorting");
|
|
9863
|
+
const SORTING_FEATURE = /* @__PURE__ */ Symbol("Sorting");
|
|
9851
9864
|
const useSorting = (options) => createFeature((ctx) => {
|
|
9852
9865
|
const sortState = toRef(
|
|
9853
9866
|
options?.sortState ?? {
|
|
@@ -9955,7 +9968,7 @@ const useSorting = (options) => createFeature((ctx) => {
|
|
|
9955
9968
|
}
|
|
9956
9969
|
};
|
|
9957
9970
|
});
|
|
9958
|
-
const STICKY_COLUMNS_FEATURE = Symbol("StickyColumns");
|
|
9971
|
+
const STICKY_COLUMNS_FEATURE = /* @__PURE__ */ Symbol("StickyColumns");
|
|
9959
9972
|
const useStickyColumns = (options) => createFeature(() => {
|
|
9960
9973
|
const stickyColumns = computed(() => toValue(options?.columns) ?? []);
|
|
9961
9974
|
const position = computed(() => toValue(options?.position) ?? "left");
|
|
@@ -10078,7 +10091,7 @@ const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
10078
10091
|
useSorting,
|
|
10079
10092
|
useStickyColumns
|
|
10080
10093
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10081
|
-
const _sfc_main$
|
|
10094
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
10082
10095
|
...{ inheritAttrs: false },
|
|
10083
10096
|
__name: "OnyxDatePicker",
|
|
10084
10097
|
props: {
|
|
@@ -10145,9 +10158,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10145
10158
|
return __returned__;
|
|
10146
10159
|
}
|
|
10147
10160
|
});
|
|
10148
|
-
const _hoisted_1$
|
|
10161
|
+
const _hoisted_1$D = { class: "onyx-datepicker__wrapper" };
|
|
10149
10162
|
const _hoisted_2$u = ["id", "type", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "min", "max"];
|
|
10150
|
-
function _sfc_render$
|
|
10163
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10151
10164
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10152
10165
|
"div",
|
|
10153
10166
|
mergeProps({
|
|
@@ -10176,7 +10189,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10176
10189
|
message: $setup.messages
|
|
10177
10190
|
}), {
|
|
10178
10191
|
default: withCtx(({ id: inputId }) => [
|
|
10179
|
-
createElementVNode("div", _hoisted_1$
|
|
10192
|
+
createElementVNode("div", _hoisted_1$D, [
|
|
10180
10193
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
10181
10194
|
key: 0,
|
|
10182
10195
|
class: "onyx-datepicker__loading",
|
|
@@ -10212,9 +10225,9 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10212
10225
|
/* FULL_PROPS */
|
|
10213
10226
|
));
|
|
10214
10227
|
}
|
|
10215
|
-
const OnyxDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10228
|
+
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"]]);
|
|
10216
10229
|
const DIALOG_ALIGNMENTS = ["left", "center", "right"];
|
|
10217
|
-
const _sfc_main$
|
|
10230
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
10218
10231
|
__name: "OnyxDialog",
|
|
10219
10232
|
props: {
|
|
10220
10233
|
density: { type: null, required: false },
|
|
@@ -10248,7 +10261,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
10248
10261
|
return __returned__;
|
|
10249
10262
|
}
|
|
10250
10263
|
});
|
|
10251
|
-
const _hoisted_1$
|
|
10264
|
+
const _hoisted_1$C = { class: "onyx-dialog__header" };
|
|
10252
10265
|
const _hoisted_2$t = { class: "onyx-dialog__headline" };
|
|
10253
10266
|
const _hoisted_3$l = { class: "onyx-dialog__headline-content" };
|
|
10254
10267
|
const _hoisted_4$f = { class: "onyx-dialog__body" };
|
|
@@ -10256,7 +10269,7 @@ const _hoisted_5$c = {
|
|
|
10256
10269
|
key: 0,
|
|
10257
10270
|
class: "onyx-dialog__footer"
|
|
10258
10271
|
};
|
|
10259
|
-
function _sfc_render$
|
|
10272
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10260
10273
|
return openBlock(), createBlock($setup["OnyxBasicPopover"], mergeProps($setup.basicPopoverProps, {
|
|
10261
10274
|
open: $setup.isExpanded,
|
|
10262
10275
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.isExpanded = $event),
|
|
@@ -10266,7 +10279,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10266
10279
|
renderSlot(_ctx.$slots, "trigger", { trigger })
|
|
10267
10280
|
]),
|
|
10268
10281
|
content: withCtx(() => [
|
|
10269
|
-
createElementVNode("div", _hoisted_1$
|
|
10282
|
+
createElementVNode("div", _hoisted_1$C, [
|
|
10270
10283
|
createElementVNode("div", _hoisted_2$t, [
|
|
10271
10284
|
createElementVNode("div", _hoisted_3$l, [
|
|
10272
10285
|
renderSlot(_ctx.$slots, "headline", {
|
|
@@ -10305,8 +10318,8 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10305
10318
|
/* FORWARDED */
|
|
10306
10319
|
}, 16, ["open", "class"]);
|
|
10307
10320
|
}
|
|
10308
|
-
const OnyxDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10309
|
-
const _sfc_main$
|
|
10321
|
+
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"]]);
|
|
10322
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
10310
10323
|
__name: "OnyxForm",
|
|
10311
10324
|
props: {
|
|
10312
10325
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -10326,7 +10339,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10326
10339
|
return __returned__;
|
|
10327
10340
|
}
|
|
10328
10341
|
});
|
|
10329
|
-
function _sfc_render$
|
|
10342
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10330
10343
|
return openBlock(), createElementBlock(
|
|
10331
10344
|
"form",
|
|
10332
10345
|
{
|
|
@@ -10343,7 +10356,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10343
10356
|
/* CLASS */
|
|
10344
10357
|
);
|
|
10345
10358
|
}
|
|
10346
|
-
const OnyxForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10359
|
+
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"]]);
|
|
10347
10360
|
const useLenientMaxLengthValidation = (options) => {
|
|
10348
10361
|
const { t } = injectI18n();
|
|
10349
10362
|
const normalized = computed(() => {
|
|
@@ -10379,11 +10392,11 @@ const useLenientMaxLengthValidation = (options) => {
|
|
|
10379
10392
|
maxLength
|
|
10380
10393
|
};
|
|
10381
10394
|
};
|
|
10382
|
-
const MOBILE_NAV_BAR_INJECTION_KEY = Symbol();
|
|
10383
|
-
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = Symbol();
|
|
10384
|
-
const NAV_BAR_MORE_LIST_INJECTION_KEY = Symbol();
|
|
10385
|
-
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
10386
|
-
const _sfc_main$
|
|
10395
|
+
const MOBILE_NAV_BAR_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10396
|
+
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10397
|
+
const NAV_BAR_MORE_LIST_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10398
|
+
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10399
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
10387
10400
|
__name: "OnyxSeparator",
|
|
10388
10401
|
props: {
|
|
10389
10402
|
orientation: { type: null, required: false, default: "horizontal" }
|
|
@@ -10400,16 +10413,16 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10400
10413
|
return __returned__;
|
|
10401
10414
|
}
|
|
10402
10415
|
});
|
|
10403
|
-
const _hoisted_1$
|
|
10404
|
-
function _sfc_render$
|
|
10416
|
+
const _hoisted_1$B = ["aria-orientation"];
|
|
10417
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10405
10418
|
return openBlock(), createElementBlock("div", {
|
|
10406
10419
|
class: normalizeClass(["onyx-component onyx-separator", { "onyx-separator--vertical": $setup.isVertical }]),
|
|
10407
10420
|
role: "separator",
|
|
10408
10421
|
"aria-orientation": $setup.props.orientation
|
|
10409
|
-
}, null, 10, _hoisted_1$
|
|
10422
|
+
}, null, 10, _hoisted_1$B);
|
|
10410
10423
|
}
|
|
10411
|
-
const OnyxSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10412
|
-
const _sfc_main$
|
|
10424
|
+
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"]]);
|
|
10425
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
10413
10426
|
...{ inheritAttrs: false },
|
|
10414
10427
|
__name: "OnyxInput",
|
|
10415
10428
|
props: {
|
|
@@ -10498,10 +10511,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
10498
10511
|
return __returned__;
|
|
10499
10512
|
}
|
|
10500
10513
|
});
|
|
10501
|
-
const _hoisted_1$
|
|
10514
|
+
const _hoisted_1$A = { class: "onyx-input__wrapper" };
|
|
10502
10515
|
const _hoisted_2$s = ["id", "placeholder", "type", "required", "autocapitalize", "autocomplete", "autofocus", "name", "pattern", "readonly", "disabled", "maxlength", "minlength", "aria-label", "title"];
|
|
10503
10516
|
const _hoisted_3$k = ["aria-label", "title"];
|
|
10504
|
-
function _sfc_render$
|
|
10517
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10505
10518
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10506
10519
|
"div",
|
|
10507
10520
|
mergeProps({
|
|
@@ -10530,7 +10543,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10530
10543
|
message: $setup.messages
|
|
10531
10544
|
}), {
|
|
10532
10545
|
default: withCtx(({ id: inputId }) => [
|
|
10533
|
-
createElementVNode("div", _hoisted_1$
|
|
10546
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
10534
10547
|
renderSlot(_ctx.$slots, "leading"),
|
|
10535
10548
|
$setup.slots.leading ? (openBlock(), createBlock($setup["OnyxSeparator"], {
|
|
10536
10549
|
key: 0,
|
|
@@ -10607,10 +10620,10 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10607
10620
|
/* FULL_PROPS */
|
|
10608
10621
|
));
|
|
10609
10622
|
}
|
|
10610
|
-
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10611
|
-
const GLOBAL_SEARCH_INJECTION_KEY = Symbol();
|
|
10623
|
+
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"]]);
|
|
10624
|
+
const GLOBAL_SEARCH_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10612
10625
|
const __default__$4 = {};
|
|
10613
|
-
const _sfc_main$
|
|
10626
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
10614
10627
|
...__default__$4,
|
|
10615
10628
|
__name: "OnyxGlobalSearch",
|
|
10616
10629
|
props: {
|
|
@@ -10684,14 +10697,14 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
10684
10697
|
return __returned__;
|
|
10685
10698
|
}
|
|
10686
10699
|
});
|
|
10687
|
-
const _hoisted_1$
|
|
10700
|
+
const _hoisted_1$z = { class: "onyx-global-search__footer onyx-text--small" };
|
|
10688
10701
|
const _hoisted_2$r = { class: "onyx-global-search__shortcut" };
|
|
10689
10702
|
const _hoisted_3$j = { class: "onyx-global-search__shortcut-label" };
|
|
10690
10703
|
const _hoisted_4$e = { class: "onyx-global-search__shortcut" };
|
|
10691
10704
|
const _hoisted_5$b = { class: "onyx-global-search__shortcut-label" };
|
|
10692
|
-
const _hoisted_6$
|
|
10705
|
+
const _hoisted_6$9 = { class: "onyx-global-search__shortcut" };
|
|
10693
10706
|
const _hoisted_7$4 = { class: "onyx-global-search__shortcut-label" };
|
|
10694
|
-
function _sfc_render$
|
|
10707
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10695
10708
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps($setup.basicDialogProps, {
|
|
10696
10709
|
ref: "dialogRef",
|
|
10697
10710
|
label: $setup.t("globalSearch.label"),
|
|
@@ -10734,7 +10747,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10734
10747
|
]),
|
|
10735
10748
|
withDirectives(createElementVNode(
|
|
10736
10749
|
"div",
|
|
10737
|
-
_hoisted_1$
|
|
10750
|
+
_hoisted_1$z,
|
|
10738
10751
|
[
|
|
10739
10752
|
createElementVNode("span", _hoisted_2$r, [
|
|
10740
10753
|
_cache[2] || (_cache[2] = createElementVNode(
|
|
@@ -10775,7 +10788,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10775
10788
|
/* TEXT */
|
|
10776
10789
|
)
|
|
10777
10790
|
]),
|
|
10778
|
-
createElementVNode("span", _hoisted_6$
|
|
10791
|
+
createElementVNode("span", _hoisted_6$9, [
|
|
10779
10792
|
_cache[5] || (_cache[5] = createElementVNode(
|
|
10780
10793
|
"kbd",
|
|
10781
10794
|
null,
|
|
@@ -10802,9 +10815,9 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10802
10815
|
/* FORWARDED */
|
|
10803
10816
|
}, 16, ["label"]);
|
|
10804
10817
|
}
|
|
10805
|
-
const OnyxGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10818
|
+
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"]]);
|
|
10806
10819
|
const __default__$3 = {};
|
|
10807
|
-
const _sfc_main$
|
|
10820
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
10808
10821
|
...__default__$3,
|
|
10809
10822
|
__name: "OnyxGlobalSearchOption",
|
|
10810
10823
|
props: {
|
|
@@ -10828,13 +10841,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
10828
10841
|
return __returned__;
|
|
10829
10842
|
}
|
|
10830
10843
|
});
|
|
10831
|
-
const _hoisted_1$
|
|
10844
|
+
const _hoisted_1$y = { class: "onyx-global-search-option__content" };
|
|
10832
10845
|
const _hoisted_2$q = { class: "onyx-truncation-ellipsis" };
|
|
10833
10846
|
const _hoisted_3$i = {
|
|
10834
10847
|
key: 0,
|
|
10835
10848
|
class: "onyx-global-search-option__trailing"
|
|
10836
10849
|
};
|
|
10837
|
-
function _sfc_render$
|
|
10850
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10838
10851
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
10839
10852
|
"li",
|
|
10840
10853
|
{
|
|
@@ -10843,7 +10856,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10843
10856
|
class: normalizeClass(["onyx-component", "onyx-global-search-option-skeleton", "onyx-text", $setup.densityClass])
|
|
10844
10857
|
},
|
|
10845
10858
|
[
|
|
10846
|
-
createElementVNode("div", _hoisted_1$
|
|
10859
|
+
createElementVNode("div", _hoisted_1$y, [
|
|
10847
10860
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-global-search-option-skeleton__icon" }),
|
|
10848
10861
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-global-search-option-skeleton__label" })
|
|
10849
10862
|
])
|
|
@@ -10899,9 +10912,9 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10899
10912
|
/* CLASS */
|
|
10900
10913
|
));
|
|
10901
10914
|
}
|
|
10902
|
-
const OnyxGlobalSearchOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10915
|
+
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"]]);
|
|
10903
10916
|
const __default__$2 = {};
|
|
10904
|
-
const _sfc_main$
|
|
10917
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
10905
10918
|
...__default__$2,
|
|
10906
10919
|
__name: "OnyxGlobalSearchGroup",
|
|
10907
10920
|
props: {
|
|
@@ -10923,15 +10936,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
10923
10936
|
return __returned__;
|
|
10924
10937
|
}
|
|
10925
10938
|
});
|
|
10926
|
-
const _hoisted_1$
|
|
10927
|
-
function _sfc_render$
|
|
10939
|
+
const _hoisted_1$x = { "aria-hidden": "true" };
|
|
10940
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10928
10941
|
return openBlock(), createElementBlock(
|
|
10929
10942
|
"ul",
|
|
10930
10943
|
mergeProps({
|
|
10931
10944
|
class: ["onyx-component", "onyx-global-search-group", $setup.densityClass]
|
|
10932
10945
|
}, $setup.context?.headless.elements.group.value({ label: $setup.props.label })),
|
|
10933
10946
|
[
|
|
10934
|
-
createElementVNode("li", _hoisted_1$
|
|
10947
|
+
createElementVNode("li", _hoisted_1$x, [
|
|
10935
10948
|
createVNode($setup["OnyxHeadline"], {
|
|
10936
10949
|
is: "h4",
|
|
10937
10950
|
class: "onyx-global-search-group__headline"
|
|
@@ -10966,10 +10979,10 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10966
10979
|
/* FULL_PROPS */
|
|
10967
10980
|
);
|
|
10968
10981
|
}
|
|
10969
|
-
const OnyxGlobalSearchGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10982
|
+
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"]]);
|
|
10970
10983
|
const HEADLINE_TYPES = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
10971
10984
|
const ICON_SIZES = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"];
|
|
10972
|
-
const _sfc_main$
|
|
10985
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
10973
10986
|
...{ inheritAttrs: false },
|
|
10974
10987
|
__name: "OnyxImage",
|
|
10975
10988
|
props: {
|
|
@@ -11008,10 +11021,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11008
11021
|
return __returned__;
|
|
11009
11022
|
}
|
|
11010
11023
|
});
|
|
11011
|
-
const _hoisted_1$
|
|
11024
|
+
const _hoisted_1$w = ["src", "alt"];
|
|
11012
11025
|
const _hoisted_2$p = ["src", "alt"];
|
|
11013
11026
|
const _hoisted_3$h = { class: "onyx-image__alt onyx-text--small" };
|
|
11014
|
-
function _sfc_render$
|
|
11027
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11015
11028
|
return openBlock(), createElementBlock(
|
|
11016
11029
|
"figure",
|
|
11017
11030
|
mergeProps($setup.rootAttrs, {
|
|
@@ -11036,7 +11049,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11036
11049
|
src: $setup.imageSrc.light,
|
|
11037
11050
|
alt: $setup.props.alt,
|
|
11038
11051
|
onError: _cache[0] || (_cache[0] = ($event) => $setup.isError = true)
|
|
11039
|
-
}), null, 16, _hoisted_1$
|
|
11052
|
+
}), null, 16, _hoisted_1$w),
|
|
11040
11053
|
$setup.imageSrc.dark ? (openBlock(), createElementBlock("img", mergeProps({
|
|
11041
11054
|
key: 0,
|
|
11042
11055
|
class: "onyx-image__source onyx-image__source--dark"
|
|
@@ -11077,10 +11090,10 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11077
11090
|
/* FULL_PROPS */
|
|
11078
11091
|
);
|
|
11079
11092
|
}
|
|
11080
|
-
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11093
|
+
const OnyxImage = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxImage/OnyxImage.vue"]]);
|
|
11081
11094
|
const IMAGE_SHAPES = ["rounded", "circle", "clip", "clip-inverted"];
|
|
11082
11095
|
const INPUT_TYPES = ["email", "password", "search", "tel", "text", "url"];
|
|
11083
|
-
const _sfc_main$
|
|
11096
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
11084
11097
|
__name: "OnyxLink",
|
|
11085
11098
|
props: {
|
|
11086
11099
|
href: { type: String, required: false },
|
|
@@ -11097,7 +11110,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11097
11110
|
return __returned__;
|
|
11098
11111
|
}
|
|
11099
11112
|
});
|
|
11100
|
-
function _sfc_render$
|
|
11113
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11101
11114
|
return openBlock(), createBlock(
|
|
11102
11115
|
$setup["OnyxRouterLink"],
|
|
11103
11116
|
mergeProps({ class: "onyx-component onyx-link" }, $setup.routerLinkProps),
|
|
@@ -11119,8 +11132,8 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11119
11132
|
/* FULL_PROPS */
|
|
11120
11133
|
);
|
|
11121
11134
|
}
|
|
11122
|
-
const OnyxLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11123
|
-
const _sfc_main$
|
|
11135
|
+
const OnyxLink = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxLink/OnyxLink.vue"]]);
|
|
11136
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
11124
11137
|
__name: "OnyxMobileNavButton",
|
|
11125
11138
|
props: {
|
|
11126
11139
|
label: { type: String, required: true },
|
|
@@ -11142,12 +11155,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11142
11155
|
return __returned__;
|
|
11143
11156
|
}
|
|
11144
11157
|
});
|
|
11145
|
-
const _hoisted_1$
|
|
11158
|
+
const _hoisted_1$v = { class: "onyx-component onyx-mobile-nav-button" };
|
|
11146
11159
|
const _hoisted_2$o = ["aria-label", "disabled"];
|
|
11147
11160
|
const _hoisted_3$g = { class: "onyx-mobile-nav-button__flyout" };
|
|
11148
11161
|
const _hoisted_4$d = { class: "onyx-mobile-nav-button__menu" };
|
|
11149
|
-
function _sfc_render$
|
|
11150
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11162
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11163
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
11151
11164
|
createElementVNode("button", {
|
|
11152
11165
|
type: "button",
|
|
11153
11166
|
class: normalizeClass(["onyx-mobile-nav-button__trigger", { "onyx-mobile-nav-button__trigger--active": $setup.props.open }]),
|
|
@@ -11195,8 +11208,8 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11195
11208
|
})) : createCommentVNode("v-if", true)
|
|
11196
11209
|
]);
|
|
11197
11210
|
}
|
|
11198
|
-
const OnyxMobileNavButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11199
|
-
const _sfc_main$
|
|
11211
|
+
const OnyxMobileNavButton = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMobileNavButton/OnyxMobileNavButton.vue"]]);
|
|
11212
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
11200
11213
|
__name: "OnyxModal",
|
|
11201
11214
|
props: {
|
|
11202
11215
|
density: { type: null, required: false },
|
|
@@ -11223,16 +11236,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
11223
11236
|
return __returned__;
|
|
11224
11237
|
}
|
|
11225
11238
|
});
|
|
11226
|
-
const _hoisted_1$
|
|
11239
|
+
const _hoisted_1$u = { class: "onyx-modal__header" };
|
|
11227
11240
|
const _hoisted_2$n = { class: "onyx-modal__headline" };
|
|
11228
11241
|
const _hoisted_3$f = { class: "onyx-modal__headline-content" };
|
|
11229
11242
|
const _hoisted_4$c = ["id"];
|
|
11230
11243
|
const _hoisted_5$a = { class: "onyx-modal__body" };
|
|
11231
|
-
const _hoisted_6$
|
|
11244
|
+
const _hoisted_6$8 = {
|
|
11232
11245
|
key: 0,
|
|
11233
11246
|
class: "onyx-modal__footer"
|
|
11234
11247
|
};
|
|
11235
|
-
function _sfc_render$
|
|
11248
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11236
11249
|
return openBlock(), createBlock($setup["OnyxBasicDialog"], mergeProps($setup.basicDialogProps, {
|
|
11237
11250
|
modal: "",
|
|
11238
11251
|
class: ["onyx-modal", $setup.densityClass],
|
|
@@ -11240,7 +11253,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11240
11253
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => $setup.emit("update:open", $event))
|
|
11241
11254
|
}), {
|
|
11242
11255
|
default: withCtx(() => [
|
|
11243
|
-
createElementVNode("div", _hoisted_1$
|
|
11256
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
11244
11257
|
createElementVNode("div", _hoisted_2$n, [
|
|
11245
11258
|
createElementVNode("div", _hoisted_3$f, [
|
|
11246
11259
|
renderSlot(_ctx.$slots, "headline", {
|
|
@@ -11278,7 +11291,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11278
11291
|
createElementVNode("div", _hoisted_5$a, [
|
|
11279
11292
|
renderSlot(_ctx.$slots, "default")
|
|
11280
11293
|
]),
|
|
11281
|
-
!!$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
11294
|
+
!!$setup.slots.footer ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
11282
11295
|
renderSlot(_ctx.$slots, "footer")
|
|
11283
11296
|
])) : createCommentVNode("v-if", true)
|
|
11284
11297
|
]),
|
|
@@ -11286,8 +11299,8 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11286
11299
|
/* FORWARDED */
|
|
11287
11300
|
}, 16, ["class", "aria-describedby"]);
|
|
11288
11301
|
}
|
|
11289
|
-
const OnyxModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11290
|
-
const _sfc_main$
|
|
11302
|
+
const OnyxModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxModal/OnyxModal.vue"]]);
|
|
11303
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
11291
11304
|
__name: "OnyxNavAppArea",
|
|
11292
11305
|
props: {
|
|
11293
11306
|
link: { type: null, required: false, default: "/" },
|
|
@@ -11306,12 +11319,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
11306
11319
|
return __returned__;
|
|
11307
11320
|
}
|
|
11308
11321
|
});
|
|
11309
|
-
const _hoisted_1$
|
|
11322
|
+
const _hoisted_1$t = ["src", "alt"];
|
|
11310
11323
|
const _hoisted_2$m = {
|
|
11311
11324
|
key: 1,
|
|
11312
11325
|
class: "onyx-text-small onyx-truncation-ellipsis"
|
|
11313
11326
|
};
|
|
11314
|
-
function _sfc_render$
|
|
11327
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11315
11328
|
return openBlock(), createBlock($setup["OnyxRouterLink"], mergeProps($setup.linkProps, {
|
|
11316
11329
|
class: "onyx-component onyx-nav-app-area",
|
|
11317
11330
|
"aria-label": $setup.buttonLabel
|
|
@@ -11325,7 +11338,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11325
11338
|
class: "onyx-nav-app-area__logo",
|
|
11326
11339
|
width: "24",
|
|
11327
11340
|
height: "24"
|
|
11328
|
-
}, null, 8, _hoisted_1$
|
|
11341
|
+
}, null, 8, _hoisted_1$t)) : createCommentVNode("v-if", true),
|
|
11329
11342
|
$setup.props.appName ? (openBlock(), createElementBlock(
|
|
11330
11343
|
"span",
|
|
11331
11344
|
_hoisted_2$m,
|
|
@@ -11339,8 +11352,8 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11339
11352
|
/* FORWARDED */
|
|
11340
11353
|
}, 16, ["aria-label"]);
|
|
11341
11354
|
}
|
|
11342
|
-
const OnyxNavAppArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11343
|
-
const _sfc_main$
|
|
11355
|
+
const OnyxNavAppArea = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavAppArea/OnyxNavAppArea.vue"]]);
|
|
11356
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
11344
11357
|
__name: "OnyxSelectDialog",
|
|
11345
11358
|
props: {
|
|
11346
11359
|
open: { type: [Boolean, null], required: false, skipCheck: true, default: false },
|
|
@@ -11374,14 +11387,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11374
11387
|
return __returned__;
|
|
11375
11388
|
}
|
|
11376
11389
|
});
|
|
11377
|
-
const _hoisted_1$
|
|
11390
|
+
const _hoisted_1$s = ["id"];
|
|
11378
11391
|
const _hoisted_2$l = ["autofocus", "value", "checked", "aria-label"];
|
|
11379
11392
|
const _hoisted_3$e = { class: "onyx-select-dialog__label" };
|
|
11380
11393
|
const _hoisted_4$b = {
|
|
11381
11394
|
key: 0,
|
|
11382
11395
|
class: "onyx-text--small"
|
|
11383
11396
|
};
|
|
11384
|
-
function _sfc_render$
|
|
11397
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11385
11398
|
return openBlock(), createBlock($setup["OnyxModal"], mergeProps($setup.modalProps, {
|
|
11386
11399
|
open: $setup.props.open,
|
|
11387
11400
|
class: "onyx-select-dialog",
|
|
@@ -11490,7 +11503,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11490
11503
|
32
|
|
11491
11504
|
/* NEED_HYDRATION */
|
|
11492
11505
|
)
|
|
11493
|
-
], 40, _hoisted_1$
|
|
11506
|
+
], 40, _hoisted_1$s)
|
|
11494
11507
|
]),
|
|
11495
11508
|
_: 2
|
|
11496
11509
|
/* DYNAMIC */
|
|
@@ -11504,11 +11517,11 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11504
11517
|
} : void 0
|
|
11505
11518
|
]), 1040, ["open", "label"]);
|
|
11506
11519
|
}
|
|
11507
|
-
const OnyxSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11520
|
+
const OnyxSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSelectDialog/OnyxSelectDialog.vue"]]);
|
|
11508
11521
|
const autoImage = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 206 110"><g clip-path="url(#auto-a)"><mask id="auto-d" fill="var(--onyx-color-neutral-grayscale-white)"><path d="M0 4a4 4 0 0 1 4-4h99v110H4a4 4 0 0 1-4-4z"/></mask><path fill="var(--onyx-color-neutral-steel-1200)" d="M0 4a4 4 0 0 1 4-4h99v110H4a4 4 0 0 1-4-4z"/><g filter="url(#auto-b)"><mask id="auto-c" fill="var(--onyx-color-neutral-grayscale-white)"><path d="M0 26h46v84H0z"/></mask><path fill="var(--onyx-color-neutral-steel-1100)" d="M0 26h46v84H0z"/><path fill="var(--onyx-color-neutral-steel-900)" d="M46 26h-1v84h2V26z" mask="url(#auto-c)"/></g><path fill="var(--onyx-color-neutral-steel-1100)" stroke="var(--onyx-color-neutral-steel-900)" d="M.5.5h281v25H.5z"/><path fill="var(--onyx-color-onyx-500)" d="M10 12.5a2.5 2.5 0 0 1 2.5-2.5h35a2.5 2.5 0 0 1 0 5h-35a2.5 2.5 0 0 1-2.5-2.5"/><path fill="var(--onyx-color-neutral-steel-900)" d="M68 12.5a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5M59 43a7 7 0 0 1 7-7h54a7 7 0 1 1 0 14H66a7 7 0 0 1-7-7m0 19a2 2 0 0 1 2-2h85a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h120a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h95a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2"/></g><path fill="var(--onyx-color-neutral-steel-900)" d="M-1 4a5 5 0 0 1 5-5h99v2H4a3 3 0 0 0-3 3zm104 107H4a5 5 0 0 1-5-5h2a3 3 0 0 0 3 3h99zm-99 0a5 5 0 0 1-5-5V4a5 5 0 0 1 5-5v2a3 3 0 0 0-3 3v102a3 3 0 0 0 3 3zM103 0v110z" mask="url(#auto-d)"/><g clip-path="url(#auto-e)"><mask id="auto-f" fill="var(--onyx-color-neutral-grayscale-white)"><path d="M103 0h99a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4h-99z"/></mask><path fill="var(--onyx-color-neutral-steel-100)" d="M103 0h99a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4h-99z"/><path fill="var(--onyx-color-neutral-grayscale-white)" stroke="var(--onyx-color-neutral-steel-300)" d="M.5.5h281v25H.5z"/><path fill="var(--onyx-color-neutral-steel-300)" d="M68 12.5a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5m48 0a2.5 2.5 0 0 1 2.5-2.5h33a2.5 2.5 0 1 1 0 5h-33a2.5 2.5 0 0 1-2.5-2.5m47 0a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5M59 43a7 7 0 0 1 7-7h54a7 7 0 1 1 0 14H66a7 7 0 0 1-7-7m0 19a2 2 0 0 1 2-2h85a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h120a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h95a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2"/></g><path fill="var(--onyx-color-neutral-steel-300)" d="M103-1h99a5 5 0 0 1 5 5h-2a3 3 0 0 0-3-3h-99zm104 107a5 5 0 0 1-5 5h-99v-2h99a3 3 0 0 0 3-3zm-104 4V0zM202-1a5 5 0 0 1 5 5v102a5 5 0 0 1-5 5v-2a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3z" mask="url(#auto-f)"/><defs><clipPath id="auto-a"><path fill="var(--onyx-color-neutral-grayscale-white)" d="M0 4a4 4 0 0 1 4-4h99v110H4a4 4 0 0 1-4-4z"/></clipPath><clipPath id="auto-e"><path fill="var(--onyx-color-neutral-grayscale-white)" d="M103 0h99a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4h-99z"/></clipPath><filter id="auto-b" width="62" height="100" x="-6" y="18" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="2"/><feGaussianBlur stdDeviation="4"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_16217_22720"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_16217_22720" result="shape"/></filter></defs></svg>';
|
|
11509
11522
|
const darkImage = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 206 110"><g clip-path="url(#dark-a)"><path fill="var(--onyx-color-neutral-steel-1200)" d="M0 4a4 4 0 0 1 4-4h198a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z"/><g filter="url(#dark-b)"><mask id="dark-c" fill="#fff"><path d="M0 26h46v84H0z"/></mask><path fill="var(--onyx-color-neutral-steel-1100)" d="M0 26h46v84H0z"/><path fill="var(--onyx-color-neutral-steel-900)" d="M46 26h-1v84h2V26z" mask="url(#dark-c)"/></g><path fill="var(--onyx-color-neutral-steel-1100)" stroke="var(--onyx-color-neutral-steel-900)" d="M.5.5h281v25H.5z"/><path fill="var(--onyx-color-onyx-500)" d="M10 12.5a2.5 2.5 0 0 1 2.5-2.5h35a2.5 2.5 0 0 1 0 5h-35a2.5 2.5 0 0 1-2.5-2.5"/><path fill="var(--onyx-color-neutral-steel-900)" d="M68 12.5a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5m48 0a2.5 2.5 0 0 1 2.5-2.5h33a2.5 2.5 0 1 1 0 5h-33a2.5 2.5 0 0 1-2.5-2.5m47 0a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5M59 43a7 7 0 0 1 7-7h54a7 7 0 1 1 0 14H66a7 7 0 0 1-7-7m0 19a2 2 0 0 1 2-2h85a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h120a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h95a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2"/></g><path stroke="var(--onyx-color-neutral-steel-900)" d="M4 .5h198a3.5 3.5 0 0 1 3.5 3.5v102a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 106V4A3.5 3.5 0 0 1 4 .5Z"/><defs><clipPath id="dark-a"><path fill="#fff" d="M0 4a4 4 0 0 1 4-4h198a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z"/></clipPath><filter id="dark-b" width="62" height="100" x="-6" y="18" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="2"/><feGaussianBlur stdDeviation="4"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_16217_22757"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_16217_22757" result="shape"/></filter></defs></svg>';
|
|
11510
11523
|
const lightImage = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 206 110"><g clip-path="url(#light-a)"><path fill="var(--onyx-color-neutral-steel-100)" d="M0 4a4 4 0 0 1 4-4h198a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z"/><g filter="url(#light-b)"><mask id="light-c" fill="var(--onyx-color-neutral-grayscale-white)"><path d="M0 26h46v84H0z"/></mask><path fill="var(--onyx-color-neutral-grayscale-white)" d="M0 26h46v84H0z"/><path fill="var(--onyx-color-neutral-steel-300)" d="M46 26h-1v84h2V26z" mask="url(#light-c)"/></g><path fill="var(--onyx-color-neutral-grayscale-white)" stroke="var(--onyx-color-neutral-steel-300)" d="M.5.5h281v25H.5z"/><path fill="var(--onyx-color-onyx-500)" d="M10 12.5a2.5 2.5 0 0 1 2.5-2.5h35a2.5 2.5 0 0 1 0 5h-35a2.5 2.5 0 0 1-2.5-2.5"/><path fill="var(--onyx-color-neutral-steel-300)" d="M68 12.5a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5m48 0a2.5 2.5 0 0 1 2.5-2.5h33a2.5 2.5 0 1 1 0 5h-33a2.5 2.5 0 0 1-2.5-2.5m47 0a2.5 2.5 0 0 1 2.5-2.5h34a2.5 2.5 0 1 1 0 5h-34a2.5 2.5 0 0 1-2.5-2.5M59 43a7 7 0 0 1 7-7h54a7 7 0 1 1 0 14H66a7 7 0 0 1-7-7m0 19a2 2 0 0 1 2-2h85a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h120a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2m0 10a2 2 0 0 1 2-2h95a2 2 0 1 1 0 4H61a2 2 0 0 1-2-2"/></g><path stroke="var(--onyx-color-neutral-steel-300)" d="M4 .5h198a3.5 3.5 0 0 1 3.5 3.5v102a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 106V4A3.5 3.5 0 0 1 4 .5Z"/><defs><clipPath id="light-a"><path fill="var(--onyx-color-neutral-grayscale-white)" d="M0 4a4 4 0 0 1 4-4h198a4 4 0 0 1 4 4v102a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z"/></clipPath><filter id="light-b" width="62" height="100" x="-6" y="18" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="2"/><feGaussianBlur stdDeviation="4"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_16217_22745"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_16217_22745" result="shape"/></filter></defs></svg>';
|
|
11511
|
-
const _sfc_main$
|
|
11524
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
11512
11525
|
__name: "OnyxColorSchemeDialog",
|
|
11513
11526
|
props: {
|
|
11514
11527
|
open: { type: [Boolean, null], required: false, skipCheck: true, default: false },
|
|
@@ -11549,7 +11562,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
11549
11562
|
return __returned__;
|
|
11550
11563
|
}
|
|
11551
11564
|
});
|
|
11552
|
-
function _sfc_render$
|
|
11565
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11553
11566
|
return openBlock(), createBlock($setup["OnyxSelectDialog"], mergeProps({ class: "onyx-color-scheme-dialog" }, $setup.selectDialogProps, {
|
|
11554
11567
|
label: $setup.t("colorScheme.headline"),
|
|
11555
11568
|
options: $setup.options,
|
|
@@ -11568,8 +11581,8 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11568
11581
|
/* STABLE */
|
|
11569
11582
|
}, 16, ["label", "options", "open"]);
|
|
11570
11583
|
}
|
|
11571
|
-
const OnyxColorSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11572
|
-
const _sfc_main$
|
|
11584
|
+
const OnyxColorSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.vue"]]);
|
|
11585
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
11573
11586
|
__name: "OnyxColorSchemeMenuItem",
|
|
11574
11587
|
props: {
|
|
11575
11588
|
modelValue: { type: String, required: true }
|
|
@@ -11588,8 +11601,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
11588
11601
|
return __returned__;
|
|
11589
11602
|
}
|
|
11590
11603
|
});
|
|
11591
|
-
const _hoisted_1$
|
|
11592
|
-
function _sfc_render$
|
|
11604
|
+
const _hoisted_1$r = { class: "onyx-color-scheme-menu-item__value" };
|
|
11605
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11593
11606
|
return openBlock(), createBlock($setup["OnyxMenuItem"], {
|
|
11594
11607
|
class: "onyx-component onyx-color-scheme-menu-item",
|
|
11595
11608
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.isOpen = true)
|
|
@@ -11604,7 +11617,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11604
11617
|
),
|
|
11605
11618
|
createElementVNode(
|
|
11606
11619
|
"span",
|
|
11607
|
-
_hoisted_1$
|
|
11620
|
+
_hoisted_1$r,
|
|
11608
11621
|
toDisplayString($setup.t(`colorScheme.${$setup.props.modelValue}.label`)),
|
|
11609
11622
|
1
|
|
11610
11623
|
/* TEXT */
|
|
@@ -11623,8 +11636,8 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11623
11636
|
/* STABLE */
|
|
11624
11637
|
});
|
|
11625
11638
|
}
|
|
11626
|
-
const OnyxColorSchemeMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11627
|
-
const _sfc_main$
|
|
11639
|
+
const OnyxColorSchemeMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.vue"]]);
|
|
11640
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
11628
11641
|
__name: "OnyxLanguageMenuItem",
|
|
11629
11642
|
props: {
|
|
11630
11643
|
modelValue: { type: null, required: true },
|
|
@@ -11647,8 +11660,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
11647
11660
|
return __returned__;
|
|
11648
11661
|
}
|
|
11649
11662
|
});
|
|
11650
|
-
const _hoisted_1$
|
|
11651
|
-
function _sfc_render$
|
|
11663
|
+
const _hoisted_1$q = { class: "onyx-language-menu-item__value" };
|
|
11664
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11652
11665
|
return openBlock(), createBlock($setup["OnyxMenuItem"], {
|
|
11653
11666
|
class: "onyx-component onyx-language-menu-item",
|
|
11654
11667
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.isOpen = true)
|
|
@@ -11663,7 +11676,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11663
11676
|
),
|
|
11664
11677
|
createElementVNode(
|
|
11665
11678
|
"span",
|
|
11666
|
-
_hoisted_1$
|
|
11679
|
+
_hoisted_1$q,
|
|
11667
11680
|
toDisplayString($setup.currentValueLabel),
|
|
11668
11681
|
1
|
|
11669
11682
|
/* TEXT */
|
|
@@ -11694,8 +11707,8 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11694
11707
|
/* STABLE */
|
|
11695
11708
|
});
|
|
11696
11709
|
}
|
|
11697
|
-
const OnyxLanguageMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11698
|
-
const _sfc_main$
|
|
11710
|
+
const OnyxLanguageMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxLanguageMenuItem/OnyxLanguageMenuItem.vue"]]);
|
|
11711
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
11699
11712
|
__name: "OnyxNavItemFacade",
|
|
11700
11713
|
props: {
|
|
11701
11714
|
link: { type: null, required: false },
|
|
@@ -11717,7 +11730,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
11717
11730
|
return __returned__;
|
|
11718
11731
|
}
|
|
11719
11732
|
});
|
|
11720
|
-
function _sfc_render$
|
|
11733
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11721
11734
|
return openBlock(), createBlock($setup["OnyxMenuItem"], mergeProps($setup.menuItemProps, {
|
|
11722
11735
|
link: $setup.hasChildren && $setup.props.context !== "navbar" ? void 0 : $setup.props.link,
|
|
11723
11736
|
class: {
|
|
@@ -11743,8 +11756,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11743
11756
|
} : void 0
|
|
11744
11757
|
]), 1040, ["link", "class", "open"]);
|
|
11745
11758
|
}
|
|
11746
|
-
const OnyxNavItemFacade = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11747
|
-
const _sfc_main$
|
|
11759
|
+
const OnyxNavItemFacade = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxNavItemFacade/OnyxNavItemFacade.vue"]]);
|
|
11760
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
11748
11761
|
...{ inheritAttrs: false },
|
|
11749
11762
|
__name: "OnyxNavItem",
|
|
11750
11763
|
props: {
|
|
@@ -11790,12 +11803,12 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
11790
11803
|
return __returned__;
|
|
11791
11804
|
}
|
|
11792
11805
|
});
|
|
11793
|
-
const _hoisted_1$
|
|
11806
|
+
const _hoisted_1$p = { class: "onyx-nav-item-wrapper__controls" };
|
|
11794
11807
|
const _hoisted_2$k = {
|
|
11795
11808
|
role: "menu",
|
|
11796
11809
|
class: "onyx-nav-item-wrapper__mobile-children"
|
|
11797
11810
|
};
|
|
11798
|
-
function _sfc_render$
|
|
11811
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11799
11812
|
return openBlock(), createElementBlock(
|
|
11800
11813
|
Fragment,
|
|
11801
11814
|
null,
|
|
@@ -11811,7 +11824,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11811
11824
|
}
|
|
11812
11825
|
}, $setup.rootAttrs),
|
|
11813
11826
|
[
|
|
11814
|
-
createElementVNode("div", _hoisted_1$
|
|
11827
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
11815
11828
|
createVNode($setup["OnyxButton"], {
|
|
11816
11829
|
label: $setup.t("back"),
|
|
11817
11830
|
mode: "plain",
|
|
@@ -11948,7 +11961,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11948
11961
|
/* STABLE_FRAGMENT */
|
|
11949
11962
|
);
|
|
11950
11963
|
}
|
|
11951
|
-
const OnyxNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11964
|
+
const OnyxNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue"]]);
|
|
11952
11965
|
const useTimer = (endTime) => {
|
|
11953
11966
|
const intervalId = ref();
|
|
11954
11967
|
const timeLeft = ref(calculateTimeLeft(new Date(endTime.value).getTime()));
|
|
@@ -12009,7 +12022,7 @@ const timeToDurationString = (timeLeft) => {
|
|
|
12009
12022
|
const { hours, minutes, seconds } = getTimeFragments(timeLeft);
|
|
12010
12023
|
return `PT${hours}H${minutes}M${seconds}S`;
|
|
12011
12024
|
};
|
|
12012
|
-
const _sfc_main$
|
|
12025
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
12013
12026
|
__name: "OnyxTimer",
|
|
12014
12027
|
props: {
|
|
12015
12028
|
endTime: { type: null, required: true },
|
|
@@ -12040,13 +12053,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
12040
12053
|
return __returned__;
|
|
12041
12054
|
}
|
|
12042
12055
|
});
|
|
12043
|
-
const _hoisted_1$
|
|
12056
|
+
const _hoisted_1$o = ["aria-label"];
|
|
12044
12057
|
const _hoisted_2$j = {
|
|
12045
12058
|
key: 0,
|
|
12046
12059
|
class: "onyx-timer__label"
|
|
12047
12060
|
};
|
|
12048
12061
|
const _hoisted_3$d = ["datetime"];
|
|
12049
|
-
function _sfc_render$
|
|
12062
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12050
12063
|
return openBlock(), createElementBlock("div", {
|
|
12051
12064
|
class: "onyx-component onyx-timer onyx-text onyx-truncation-ellipsis",
|
|
12052
12065
|
role: "timer",
|
|
@@ -12063,10 +12076,10 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12063
12076
|
datetime: $setup.timeToDurationString($setup.timeLeft),
|
|
12064
12077
|
class: "onyx-timer__time"
|
|
12065
12078
|
}, toDisplayString($setup.formattedTime), 9, _hoisted_3$d)
|
|
12066
|
-
], 8, _hoisted_1$
|
|
12079
|
+
], 8, _hoisted_1$o);
|
|
12067
12080
|
}
|
|
12068
|
-
const OnyxTimer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12069
|
-
const _sfc_main$
|
|
12081
|
+
const OnyxTimer = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.vue"]]);
|
|
12082
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
12070
12083
|
__name: "UserMenuLayout",
|
|
12071
12084
|
props: {
|
|
12072
12085
|
isMobile: { type: Boolean, required: true },
|
|
@@ -12091,10 +12104,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
12091
12104
|
return __returned__;
|
|
12092
12105
|
}
|
|
12093
12106
|
});
|
|
12094
|
-
const _hoisted_1$
|
|
12107
|
+
const _hoisted_1$n = { class: "onyx-component" };
|
|
12095
12108
|
const _hoisted_2$i = { class: "onyx-user-menu__footer onyx-text--small" };
|
|
12096
|
-
function _sfc_render$
|
|
12097
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12109
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12110
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
12098
12111
|
$setup.props.isMobile ? (openBlock(), createElementBlock(
|
|
12099
12112
|
Fragment,
|
|
12100
12113
|
{ key: 0 },
|
|
@@ -12147,8 +12160,8 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12147
12160
|
]), 1032, ["open", "label", "disabled"]))
|
|
12148
12161
|
]);
|
|
12149
12162
|
}
|
|
12150
|
-
const UserMenuLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12151
|
-
const _sfc_main$
|
|
12163
|
+
const UserMenuLayout = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxUserMenu/UserMenuLayout.vue"]]);
|
|
12164
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
12152
12165
|
__name: "OnyxUserMenu",
|
|
12153
12166
|
props: {
|
|
12154
12167
|
fullName: { type: String, required: true },
|
|
@@ -12182,7 +12195,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
12182
12195
|
return __returned__;
|
|
12183
12196
|
}
|
|
12184
12197
|
});
|
|
12185
|
-
const _hoisted_1$
|
|
12198
|
+
const _hoisted_1$m = { class: "onyx-truncation-ellipsis" };
|
|
12186
12199
|
const _hoisted_2$h = { class: "onyx-user-menu__header" };
|
|
12187
12200
|
const _hoisted_3$c = { class: "onyx-truncation-ellipsis" };
|
|
12188
12201
|
const _hoisted_4$a = { class: "onyx-user-menu__username onyx-text onyx-truncation-ellipsis" };
|
|
@@ -12190,8 +12203,8 @@ const _hoisted_5$9 = {
|
|
|
12190
12203
|
key: 0,
|
|
12191
12204
|
class: "onyx-user-menu__description onyx-text--small onyx-truncation-ellipsis"
|
|
12192
12205
|
};
|
|
12193
|
-
const _hoisted_6$
|
|
12194
|
-
function _sfc_render$
|
|
12206
|
+
const _hoisted_6$7 = { class: "onyx-user-menu__options" };
|
|
12207
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12195
12208
|
return openBlock(), createBlock($setup["UserMenuLayout"], {
|
|
12196
12209
|
"flyout-open": $setup.flyoutOpen,
|
|
12197
12210
|
"onUpdate:flyoutOpen": _cache[0] || (_cache[0] = ($event) => $setup.flyoutOpen = $event),
|
|
@@ -12216,7 +12229,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12216
12229
|
),
|
|
12217
12230
|
createElementVNode(
|
|
12218
12231
|
"span",
|
|
12219
|
-
_hoisted_1$
|
|
12232
|
+
_hoisted_1$m,
|
|
12220
12233
|
toDisplayString($setup.props.fullName),
|
|
12221
12234
|
1
|
|
12222
12235
|
/* TEXT */
|
|
@@ -12254,7 +12267,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12254
12267
|
])
|
|
12255
12268
|
]),
|
|
12256
12269
|
options: withCtx(() => [
|
|
12257
|
-
createElementVNode("div", _hoisted_6$
|
|
12270
|
+
createElementVNode("div", _hoisted_6$7, [
|
|
12258
12271
|
renderSlot(_ctx.$slots, "default")
|
|
12259
12272
|
])
|
|
12260
12273
|
]),
|
|
@@ -12270,8 +12283,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12270
12283
|
} : void 0
|
|
12271
12284
|
]), 1032, ["flyout-open", "class", "is-mobile", "disabled"]);
|
|
12272
12285
|
}
|
|
12273
|
-
const OnyxUserMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12274
|
-
const _sfc_main$
|
|
12286
|
+
const OnyxUserMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/modules/OnyxUserMenu/OnyxUserMenu.vue"]]);
|
|
12287
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
12275
12288
|
__name: "OnyxNavBar",
|
|
12276
12289
|
props: {
|
|
12277
12290
|
appName: { type: String, required: false },
|
|
@@ -12341,7 +12354,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
12341
12354
|
return __returned__;
|
|
12342
12355
|
}
|
|
12343
12356
|
});
|
|
12344
|
-
const _hoisted_1$
|
|
12357
|
+
const _hoisted_1$l = { class: "onyx-nav-bar__content onyx-grid-container" };
|
|
12345
12358
|
const _hoisted_2$g = {
|
|
12346
12359
|
key: 0,
|
|
12347
12360
|
class: "onyx-nav-bar__mobile-page onyx-truncation-ellipsis"
|
|
@@ -12352,7 +12365,7 @@ const _hoisted_5$8 = {
|
|
|
12352
12365
|
key: 0,
|
|
12353
12366
|
class: "onyx-nav-bar__mobile-context"
|
|
12354
12367
|
};
|
|
12355
|
-
const _hoisted_6$
|
|
12368
|
+
const _hoisted_6$6 = {
|
|
12356
12369
|
key: 0,
|
|
12357
12370
|
class: "onyx-nav-bar__mobile-global-context"
|
|
12358
12371
|
};
|
|
@@ -12361,7 +12374,7 @@ const _hoisted_8$3 = {
|
|
|
12361
12374
|
key: 1,
|
|
12362
12375
|
class: "onyx-nav-bar__context"
|
|
12363
12376
|
};
|
|
12364
|
-
function _sfc_render$
|
|
12377
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12365
12378
|
return openBlock(), createElementBlock(
|
|
12366
12379
|
"header",
|
|
12367
12380
|
{
|
|
@@ -12369,7 +12382,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12369
12382
|
class: normalizeClass(["onyx-component onyx-nav-bar", { "onyx-nav-bar--mobile": $setup.actualIsMobile }])
|
|
12370
12383
|
},
|
|
12371
12384
|
[
|
|
12372
|
-
createElementVNode("div", _hoisted_1$
|
|
12385
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
12373
12386
|
$setup.actualIsMobile && $setup.slots.mobileActivePage && !$setup.isBurgerOpen && !$setup.isContextOpen ? (openBlock(), createElementBlock("span", _hoisted_2$g, [
|
|
12374
12387
|
renderSlot(_ctx.$slots, "mobileActivePage")
|
|
12375
12388
|
])) : $setup.props.appName || $setup.props.logoUrl || $setup.slots.appArea ? (openBlock(), createBlock($setup["OnyxNavAppArea"], mergeProps({
|
|
@@ -12485,7 +12498,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12485
12498
|
{ key: 4 },
|
|
12486
12499
|
[
|
|
12487
12500
|
$setup.actualIsMobile ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
|
|
12488
|
-
$setup.slots.globalContextArea ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
12501
|
+
$setup.slots.globalContextArea ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
|
|
12489
12502
|
renderSlot(_ctx.$slots, "globalContextArea")
|
|
12490
12503
|
])) : createCommentVNode("v-if", true),
|
|
12491
12504
|
$setup.slots.contextArea ? (openBlock(), createBlock($setup["OnyxMobileNavButton"], {
|
|
@@ -12520,7 +12533,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12520
12533
|
/* CLASS */
|
|
12521
12534
|
);
|
|
12522
12535
|
}
|
|
12523
|
-
const OnyxNavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12536
|
+
const OnyxNavBar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNavBar/OnyxNavBar.vue"]]);
|
|
12524
12537
|
const useRelativeTimeFormat = (options) => {
|
|
12525
12538
|
const { locale, t } = injectI18n();
|
|
12526
12539
|
const format = computed(() => new Intl.RelativeTimeFormat(locale.value, unref(options.options)));
|
|
@@ -12568,7 +12581,7 @@ const useRelativeTimeFormat = (options) => {
|
|
|
12568
12581
|
timeAgo
|
|
12569
12582
|
};
|
|
12570
12583
|
};
|
|
12571
|
-
const _sfc_main$
|
|
12584
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
12572
12585
|
__name: "OnyxNotificationCard",
|
|
12573
12586
|
props: {
|
|
12574
12587
|
density: { type: null, required: false },
|
|
@@ -12594,7 +12607,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
12594
12607
|
return __returned__;
|
|
12595
12608
|
}
|
|
12596
12609
|
});
|
|
12597
|
-
const _hoisted_1$
|
|
12610
|
+
const _hoisted_1$k = {
|
|
12598
12611
|
key: 0,
|
|
12599
12612
|
class: "onyx-notification-card-skeleton"
|
|
12600
12613
|
};
|
|
@@ -12605,20 +12618,20 @@ const _hoisted_2$f = {
|
|
|
12605
12618
|
const _hoisted_3$a = { class: "onyx-notification-card__header" };
|
|
12606
12619
|
const _hoisted_4$8 = { class: "onyx-notification-card__header-container" };
|
|
12607
12620
|
const _hoisted_5$7 = { class: "onyx-notification-card__header-container" };
|
|
12608
|
-
const _hoisted_6$
|
|
12621
|
+
const _hoisted_6$5 = { class: "onyx-notification-card__created-at onyx-text--small" };
|
|
12609
12622
|
const _hoisted_7$2 = { class: "onyx-notification-card__description onyx-text onyx-truncation-multiline" };
|
|
12610
12623
|
const _hoisted_8$2 = {
|
|
12611
12624
|
key: 0,
|
|
12612
12625
|
class: "onyx-notification-card__actions onyx-density-compact"
|
|
12613
12626
|
};
|
|
12614
|
-
function _sfc_render$
|
|
12627
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12615
12628
|
return openBlock(), createElementBlock(
|
|
12616
12629
|
"div",
|
|
12617
12630
|
{
|
|
12618
12631
|
class: normalizeClass(["onyx-component", "onyx-notification-card", $setup.densityClass])
|
|
12619
12632
|
},
|
|
12620
12633
|
[
|
|
12621
|
-
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
12634
|
+
$setup.skeleton ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
12622
12635
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-notification-card-skeleton__header" }),
|
|
12623
12636
|
(openBlock(), createElementBlock(
|
|
12624
12637
|
Fragment,
|
|
@@ -12673,7 +12686,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12673
12686
|
}, 8, ["label"])) : createCommentVNode("v-if", true)
|
|
12674
12687
|
])
|
|
12675
12688
|
]),
|
|
12676
|
-
createElementVNode("div", _hoisted_6$
|
|
12689
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
12677
12690
|
createElementVNode(
|
|
12678
12691
|
"span",
|
|
12679
12692
|
null,
|
|
@@ -12702,8 +12715,8 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12702
12715
|
/* CLASS */
|
|
12703
12716
|
);
|
|
12704
12717
|
}
|
|
12705
|
-
const OnyxNotificationCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12706
|
-
const _sfc_main$
|
|
12718
|
+
const OnyxNotificationCard = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationCard/OnyxNotificationCard.vue"]]);
|
|
12719
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
12707
12720
|
__name: "OnyxNotificationDot",
|
|
12708
12721
|
props: {
|
|
12709
12722
|
hidden: { type: Boolean, required: false, default: false },
|
|
@@ -12717,9 +12730,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
12717
12730
|
return __returned__;
|
|
12718
12731
|
}
|
|
12719
12732
|
});
|
|
12720
|
-
const _hoisted_1$
|
|
12721
|
-
function _sfc_render$
|
|
12722
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12733
|
+
const _hoisted_1$j = { class: "onyx-component onyx-notification-dot" };
|
|
12734
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12735
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
12723
12736
|
renderSlot(_ctx.$slots, "default"),
|
|
12724
12737
|
!$setup.props.hidden ? (openBlock(), createBlock($setup["OnyxBadge"], {
|
|
12725
12738
|
key: 0,
|
|
@@ -12729,8 +12742,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12729
12742
|
}, null, 8, ["color"])) : createCommentVNode("v-if", true)
|
|
12730
12743
|
]);
|
|
12731
12744
|
}
|
|
12732
|
-
const OnyxNotificationDot = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12733
|
-
const _sfc_main$
|
|
12745
|
+
const OnyxNotificationDot = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationDot/OnyxNotificationDot.vue"]]);
|
|
12746
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
12734
12747
|
__name: "OnyxPageLayout",
|
|
12735
12748
|
props: {
|
|
12736
12749
|
skeleton: { type: Boolean, required: false },
|
|
@@ -12747,7 +12760,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
12747
12760
|
return __returned__;
|
|
12748
12761
|
}
|
|
12749
12762
|
});
|
|
12750
|
-
const _hoisted_1$
|
|
12763
|
+
const _hoisted_1$i = {
|
|
12751
12764
|
key: 0,
|
|
12752
12765
|
class: "onyx-page__sidebar"
|
|
12753
12766
|
};
|
|
@@ -12760,7 +12773,7 @@ const _hoisted_4$7 = {
|
|
|
12760
12773
|
key: 2,
|
|
12761
12774
|
class: "onyx-page__footer"
|
|
12762
12775
|
};
|
|
12763
|
-
function _sfc_render$
|
|
12776
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12764
12777
|
return openBlock(), createElementBlock(
|
|
12765
12778
|
"div",
|
|
12766
12779
|
{
|
|
@@ -12771,7 +12784,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12771
12784
|
]])
|
|
12772
12785
|
},
|
|
12773
12786
|
[
|
|
12774
|
-
$setup.slots.sidebar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
12787
|
+
$setup.slots.sidebar ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
12775
12788
|
renderSlot(_ctx.$slots, "sidebar")
|
|
12776
12789
|
])) : createCommentVNode("v-if", true),
|
|
12777
12790
|
createElementVNode("main", _hoisted_2$e, [
|
|
@@ -12798,8 +12811,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12798
12811
|
/* CLASS */
|
|
12799
12812
|
);
|
|
12800
12813
|
}
|
|
12801
|
-
const OnyxPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12802
|
-
const _sfc_main$
|
|
12814
|
+
const OnyxPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPageLayout/OnyxPageLayout.vue"]]);
|
|
12815
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
12803
12816
|
__name: "OnyxProgressItem",
|
|
12804
12817
|
props: {
|
|
12805
12818
|
density: { type: null, required: false },
|
|
@@ -12825,10 +12838,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
12825
12838
|
return __returned__;
|
|
12826
12839
|
}
|
|
12827
12840
|
});
|
|
12828
|
-
const _hoisted_1$
|
|
12841
|
+
const _hoisted_1$h = ["disabled"];
|
|
12829
12842
|
const _hoisted_2$d = { class: "onyx-progress-item__indicator" };
|
|
12830
12843
|
const _hoisted_3$8 = { class: "onyx-progress-item__label" };
|
|
12831
|
-
function _sfc_render$
|
|
12844
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12832
12845
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
12833
12846
|
key: 0,
|
|
12834
12847
|
class: normalizeClass(["onyx-progress-item-skeleton", "onyx-text", $setup.densityClass])
|
|
@@ -12873,9 +12886,9 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12873
12886
|
)
|
|
12874
12887
|
])
|
|
12875
12888
|
])
|
|
12876
|
-
], 10, _hoisted_1$
|
|
12889
|
+
], 10, _hoisted_1$h));
|
|
12877
12890
|
}
|
|
12878
|
-
const OnyxProgressItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12891
|
+
const OnyxProgressItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxProgressItem/OnyxProgressItem.vue"]]);
|
|
12879
12892
|
const PROGRESS_ITEM_STATUS = [
|
|
12880
12893
|
"default",
|
|
12881
12894
|
"active",
|
|
@@ -12883,7 +12896,7 @@ const PROGRESS_ITEM_STATUS = [
|
|
|
12883
12896
|
"visited",
|
|
12884
12897
|
"invalid"
|
|
12885
12898
|
];
|
|
12886
|
-
const _sfc_main$
|
|
12899
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
12887
12900
|
__name: "OnyxProgressSteps",
|
|
12888
12901
|
props: {
|
|
12889
12902
|
density: { type: null, required: false },
|
|
@@ -12938,8 +12951,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
12938
12951
|
return __returned__;
|
|
12939
12952
|
}
|
|
12940
12953
|
});
|
|
12941
|
-
const _hoisted_1$
|
|
12942
|
-
function _sfc_render$
|
|
12954
|
+
const _hoisted_1$g = { class: "onyx-progress-steps__scroll-container" };
|
|
12955
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12943
12956
|
return openBlock(), createElementBlock(
|
|
12944
12957
|
"div",
|
|
12945
12958
|
{
|
|
@@ -12951,7 +12964,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12951
12964
|
])
|
|
12952
12965
|
},
|
|
12953
12966
|
[
|
|
12954
|
-
createElementVNode("div", _hoisted_1$
|
|
12967
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
12955
12968
|
(openBlock(true), createElementBlock(
|
|
12956
12969
|
Fragment,
|
|
12957
12970
|
null,
|
|
@@ -12991,8 +13004,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12991
13004
|
/* CLASS */
|
|
12992
13005
|
);
|
|
12993
13006
|
}
|
|
12994
|
-
const OnyxProgressSteps = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12995
|
-
const _sfc_main$
|
|
13007
|
+
const OnyxProgressSteps = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxProgressSteps/OnyxProgressSteps.vue"]]);
|
|
13008
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
12996
13009
|
...{ inheritAttrs: false },
|
|
12997
13010
|
__name: "OnyxRadioButton",
|
|
12998
13011
|
props: {
|
|
@@ -13027,8 +13040,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13027
13040
|
return __returned__;
|
|
13028
13041
|
}
|
|
13029
13042
|
});
|
|
13030
|
-
const _hoisted_1$
|
|
13031
|
-
function _sfc_render$
|
|
13043
|
+
const _hoisted_1$f = ["required", "name", "value", "checked", "disabled", "autofocus"];
|
|
13044
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13032
13045
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
13033
13046
|
"div",
|
|
13034
13047
|
mergeProps({
|
|
@@ -13068,7 +13081,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13068
13081
|
checked: $setup.props.checked,
|
|
13069
13082
|
disabled: $setup.disabled,
|
|
13070
13083
|
autofocus: $setup.props.autofocus
|
|
13071
|
-
}, $setup.restAttrs), null, 16, _hoisted_1$
|
|
13084
|
+
}, $setup.restAttrs), null, 16, _hoisted_1$f)), [
|
|
13072
13085
|
[$setup["vCustomValidity"]]
|
|
13073
13086
|
]),
|
|
13074
13087
|
createElementVNode(
|
|
@@ -13089,8 +13102,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13089
13102
|
/* STABLE */
|
|
13090
13103
|
}, 16, ["disabled", "error-messages"]));
|
|
13091
13104
|
}
|
|
13092
|
-
const OnyxRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13093
|
-
const _sfc_main$
|
|
13105
|
+
const OnyxRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRadioButton/OnyxRadioButton.vue"]]);
|
|
13106
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
13094
13107
|
__name: "OnyxRadioGroup",
|
|
13095
13108
|
props: {
|
|
13096
13109
|
truncation: { type: null, required: false, default: "ellipsis" },
|
|
@@ -13137,12 +13150,12 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
13137
13150
|
return __returned__;
|
|
13138
13151
|
}
|
|
13139
13152
|
});
|
|
13140
|
-
const _hoisted_1$
|
|
13153
|
+
const _hoisted_1$e = ["disabled", "aria-label"];
|
|
13141
13154
|
const _hoisted_2$c = {
|
|
13142
13155
|
key: 0,
|
|
13143
13156
|
class: "onyx-radio-group__label"
|
|
13144
13157
|
};
|
|
13145
|
-
function _sfc_render$
|
|
13158
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13146
13159
|
return openBlock(), createElementBlock("fieldset", {
|
|
13147
13160
|
class: normalizeClass(["onyx-component", "onyx-radio-group", $setup.densityClass, $setup.requiredTypeClass]),
|
|
13148
13161
|
disabled: $setup.disabled,
|
|
@@ -13216,11 +13229,11 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13216
13229
|
2
|
|
13217
13230
|
/* CLASS */
|
|
13218
13231
|
)
|
|
13219
|
-
], 10, _hoisted_1$
|
|
13232
|
+
], 10, _hoisted_1$e);
|
|
13220
13233
|
}
|
|
13221
|
-
const OnyxRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13234
|
+
const OnyxRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRadioGroup/OnyxRadioGroup.vue"]]);
|
|
13222
13235
|
const LINK_TARGETS = ["_self", "_blank", "_parent", "_top"];
|
|
13223
|
-
const _sfc_main$
|
|
13236
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
13224
13237
|
...{ inheritAttrs: false },
|
|
13225
13238
|
__name: "OnyxSegmentedControlElement",
|
|
13226
13239
|
props: {
|
|
@@ -13247,13 +13260,13 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
13247
13260
|
return __returned__;
|
|
13248
13261
|
}
|
|
13249
13262
|
});
|
|
13250
|
-
const _hoisted_1$
|
|
13263
|
+
const _hoisted_1$d = ["id", "name", "value", "disabled", "aria-label", "autofocus", "checked"];
|
|
13251
13264
|
const _hoisted_2$b = ["for"];
|
|
13252
13265
|
const _hoisted_3$7 = {
|
|
13253
13266
|
key: 1,
|
|
13254
13267
|
class: "onyx-segmented-control-element__text"
|
|
13255
13268
|
};
|
|
13256
|
-
function _sfc_render$
|
|
13269
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13257
13270
|
return openBlock(), createElementBlock(
|
|
13258
13271
|
"div",
|
|
13259
13272
|
mergeProps($setup.rootAttrs, {
|
|
@@ -13273,7 +13286,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13273
13286
|
"aria-label": $setup.props.label,
|
|
13274
13287
|
autofocus: $setup.props.autofocus,
|
|
13275
13288
|
checked: $setup.props.checked
|
|
13276
|
-
}), null, 16, _hoisted_1$
|
|
13289
|
+
}), null, 16, _hoisted_1$d)
|
|
13277
13290
|
]),
|
|
13278
13291
|
_: 1
|
|
13279
13292
|
/* STABLE */
|
|
@@ -13300,8 +13313,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13300
13313
|
/* FULL_PROPS */
|
|
13301
13314
|
);
|
|
13302
13315
|
}
|
|
13303
|
-
const OnyxSegmentedControlElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13304
|
-
const _sfc_main$
|
|
13316
|
+
const OnyxSegmentedControlElement = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSegmentedControlElement/OnyxSegmentedControlElement.vue"]]);
|
|
13317
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
13305
13318
|
__name: "OnyxSegmentedControl",
|
|
13306
13319
|
props: {
|
|
13307
13320
|
density: { type: null, required: false },
|
|
@@ -13330,7 +13343,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
13330
13343
|
return __returned__;
|
|
13331
13344
|
}
|
|
13332
13345
|
});
|
|
13333
|
-
function _sfc_render$
|
|
13346
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13334
13347
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
13335
13348
|
key: 0,
|
|
13336
13349
|
class: normalizeClass(["onyx-segmented-control-skeleton", $setup.densityClass])
|
|
@@ -13361,10 +13374,10 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13361
13374
|
/* CLASS */
|
|
13362
13375
|
));
|
|
13363
13376
|
}
|
|
13364
|
-
const OnyxSegmentedControl = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13377
|
+
const OnyxSegmentedControl = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSegmentedControl/OnyxSegmentedControl.vue"]]);
|
|
13365
13378
|
const SELECT_ALIGNMENTS = ["full", "left", "right"];
|
|
13366
13379
|
const MULTISELECT_TEXT_MODE = ["summary", "preview"];
|
|
13367
|
-
const _sfc_main$
|
|
13380
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
13368
13381
|
__name: "OnyxSidebarItem",
|
|
13369
13382
|
props: {
|
|
13370
13383
|
density: { type: null, required: false },
|
|
@@ -13392,7 +13405,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
13392
13405
|
return __returned__;
|
|
13393
13406
|
}
|
|
13394
13407
|
});
|
|
13395
|
-
function _sfc_render$
|
|
13408
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13396
13409
|
return $setup.link ? (openBlock(), createBlock($setup["OnyxRouterLink"], mergeProps({
|
|
13397
13410
|
key: 0,
|
|
13398
13411
|
class: $setup.classes
|
|
@@ -13416,12 +13429,12 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13416
13429
|
/* CLASS */
|
|
13417
13430
|
));
|
|
13418
13431
|
}
|
|
13419
|
-
const OnyxSidebarItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13432
|
+
const OnyxSidebarItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSidebar/modules/OnyxSidebarItem/OnyxSidebarItem.vue"]]);
|
|
13420
13433
|
const arrowSmallLeft = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.618 11.626H8.936l3.094-3.094-1.064-1.056-4.899 4.898 4.9 4.9 1.063-1.064-3.094-3.086h8.682z"/></svg>';
|
|
13421
13434
|
const arrowSmallRight = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.026 7.476 11.97 8.532l3.086 3.094H6.382v1.498h8.674L11.97 16.21l1.056 1.063 4.9-4.898z"/></svg>';
|
|
13422
13435
|
const sidebarArrowLeft = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.743 3.038H5.258A2.26 2.26 0 0 0 3 5.295V18.78a2.26 2.26 0 0 0 2.258 2.258H18.75a2.25 2.25 0 0 0 2.25-2.25V5.295a2.26 2.26 0 0 0-2.258-2.257M4.5 18.78V5.295c0-.42.338-.757.758-.757H8.25v15H5.258a.755.755 0 0 1-.758-.758m15 .008c0 .412-.337.75-.75.75h-9v-15h8.993c.42 0 .757.337.757.757z"/><path d="m15.218 8.558-3.48 3.48 3.48 3.48 1.064-1.058-2.422-2.423 2.422-2.422z"/></svg>';
|
|
13423
13436
|
const sidebarArrowRight = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.743 3.038H5.258A2.26 2.26 0 0 0 3 5.295V18.78a2.26 2.26 0 0 0 2.258 2.258H18.75a2.25 2.25 0 0 0 2.25-2.25V5.295a2.26 2.26 0 0 0-2.258-2.257M4.5 18.78V5.295c0-.42.338-.757.758-.757H8.25v15H5.258a.755.755 0 0 1-.758-.758m15 .008c0 .412-.337.75-.75.75h-9v-15h8.993c.42 0 .757.337.757.757z"/><path d="m12.27 9.615 2.423 2.422-2.423 2.423 1.058 1.057 3.48-3.48-3.48-3.48z"/></svg>';
|
|
13424
|
-
const _sfc_main$
|
|
13437
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
13425
13438
|
__name: "OnyxSidebar",
|
|
13426
13439
|
props: {
|
|
13427
13440
|
density: { type: null, required: false },
|
|
@@ -13509,7 +13522,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
13509
13522
|
return __returned__;
|
|
13510
13523
|
}
|
|
13511
13524
|
});
|
|
13512
|
-
const _hoisted_1$
|
|
13525
|
+
const _hoisted_1$c = ["aria-label"];
|
|
13513
13526
|
const _hoisted_2$a = {
|
|
13514
13527
|
key: 0,
|
|
13515
13528
|
class: "onyx-sidebar__header"
|
|
@@ -13520,7 +13533,7 @@ const _hoisted_4$6 = {
|
|
|
13520
13533
|
class: "onyx-sidebar__footer"
|
|
13521
13534
|
};
|
|
13522
13535
|
const _hoisted_5$6 = { class: "onyx-sidebar__footer" };
|
|
13523
|
-
function _sfc_render$
|
|
13536
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13524
13537
|
return !$setup.props.temporary && !$setup.shouldCollapse ? (openBlock(), createElementBlock("aside", {
|
|
13525
13538
|
key: 0,
|
|
13526
13539
|
ref: "sidebarRef",
|
|
@@ -13547,7 +13560,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13547
13560
|
key: 2,
|
|
13548
13561
|
element: $setup.sidebarElement
|
|
13549
13562
|
}, $setup.resizeHandleProps), null, 16, ["element"])) : createCommentVNode("v-if", true)
|
|
13550
|
-
], 14, _hoisted_1$
|
|
13563
|
+
], 14, _hoisted_1$c)) : (openBlock(), createBlock($setup["OnyxModal"], mergeProps({ key: 1 }, $setup.props.temporary, {
|
|
13551
13564
|
ref: "modalRef",
|
|
13552
13565
|
open: $setup.isModalOpen,
|
|
13553
13566
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.isModalOpen = $event),
|
|
@@ -13599,9 +13612,9 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13599
13612
|
} : void 0
|
|
13600
13613
|
]), 1040, ["open", "class", "label", "density", "style", "alignment"]));
|
|
13601
13614
|
}
|
|
13602
|
-
const OnyxSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13615
|
+
const OnyxSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSidebar/OnyxSidebar.vue"]]);
|
|
13603
13616
|
const SIDEBAR_ALIGNMENT = ["left", "right"];
|
|
13604
|
-
const _sfc_main$
|
|
13617
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
13605
13618
|
...{ inheritAttrs: false },
|
|
13606
13619
|
__name: "OnyxStepper",
|
|
13607
13620
|
props: {
|
|
@@ -13724,7 +13737,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
13724
13737
|
return __returned__;
|
|
13725
13738
|
}
|
|
13726
13739
|
});
|
|
13727
|
-
const _hoisted_1$
|
|
13740
|
+
const _hoisted_1$b = { class: "onyx-stepper__wrapper" };
|
|
13728
13741
|
const _hoisted_2$9 = ["disabled", "aria-label"];
|
|
13729
13742
|
const _hoisted_3$5 = ["id", "aria-label", "autofocus", "disabled", "min", "max", "name", "placeholder", "readonly", "required", "step", "title"];
|
|
13730
13743
|
const _hoisted_4$5 = {
|
|
@@ -13732,7 +13745,7 @@ const _hoisted_4$5 = {
|
|
|
13732
13745
|
"aria-hidden": "true"
|
|
13733
13746
|
};
|
|
13734
13747
|
const _hoisted_5$5 = ["disabled", "aria-label"];
|
|
13735
|
-
function _sfc_render$
|
|
13748
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13736
13749
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
13737
13750
|
"div",
|
|
13738
13751
|
mergeProps({
|
|
@@ -13761,7 +13774,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13761
13774
|
"error-messages": $setup.errorMessages
|
|
13762
13775
|
}), {
|
|
13763
13776
|
default: withCtx(({ id: inputId }) => [
|
|
13764
|
-
createElementVNode("div", _hoisted_1$
|
|
13777
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
13765
13778
|
!$setup.props.hideButtons ? (openBlock(), createElementBlock("button", {
|
|
13766
13779
|
key: 0,
|
|
13767
13780
|
type: "button",
|
|
@@ -13835,9 +13848,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13835
13848
|
/* FULL_PROPS */
|
|
13836
13849
|
));
|
|
13837
13850
|
}
|
|
13838
|
-
const OnyxStepper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13851
|
+
const OnyxStepper = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxStepper/OnyxStepper.vue"]]);
|
|
13839
13852
|
const __default__$1 = {};
|
|
13840
|
-
const _sfc_main$
|
|
13853
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
13841
13854
|
...__default__$1,
|
|
13842
13855
|
__name: "OnyxSliderControl",
|
|
13843
13856
|
props: {
|
|
@@ -13886,7 +13899,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
13886
13899
|
return __returned__;
|
|
13887
13900
|
}
|
|
13888
13901
|
});
|
|
13889
|
-
function _sfc_render$
|
|
13902
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13890
13903
|
return openBlock(), createElementBlock(
|
|
13891
13904
|
"div",
|
|
13892
13905
|
{
|
|
@@ -13945,9 +13958,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13945
13958
|
/* CLASS */
|
|
13946
13959
|
);
|
|
13947
13960
|
}
|
|
13948
|
-
const OnyxSliderControl = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13961
|
+
const OnyxSliderControl = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSliderControl/OnyxSliderControl.vue"]]);
|
|
13949
13962
|
const __default__ = {};
|
|
13950
|
-
const _sfc_main$
|
|
13963
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
13951
13964
|
...__default__,
|
|
13952
13965
|
__name: "OnyxSlider",
|
|
13953
13966
|
props: {
|
|
@@ -14013,9 +14026,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
14013
14026
|
return __returned__;
|
|
14014
14027
|
}
|
|
14015
14028
|
});
|
|
14016
|
-
const _hoisted_1$
|
|
14029
|
+
const _hoisted_1$a = { class: "onyx-slider__container" };
|
|
14017
14030
|
const _hoisted_2$8 = ["id", "tabindex", "disabled", "aria-label", "autofocus"];
|
|
14018
|
-
function _sfc_render$
|
|
14031
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14019
14032
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
14020
14033
|
"div",
|
|
14021
14034
|
{
|
|
@@ -14046,7 +14059,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14046
14059
|
"error-messages": $setup.errorMessages
|
|
14047
14060
|
}), {
|
|
14048
14061
|
default: withCtx(({ id: inputId }) => [
|
|
14049
|
-
createElementVNode("div", _hoisted_1$
|
|
14062
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
14050
14063
|
$setup.props.control === "value" ? (openBlock(), createBlock($setup["OnyxSliderControl"], {
|
|
14051
14064
|
key: 0,
|
|
14052
14065
|
control: "value",
|
|
@@ -14222,10 +14235,10 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14222
14235
|
/* CLASS */
|
|
14223
14236
|
));
|
|
14224
14237
|
}
|
|
14225
|
-
const OnyxSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14238
|
+
const OnyxSlider = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSlider/OnyxSlider.vue"]]);
|
|
14226
14239
|
const SLIDER_MODES = ["single", "range"];
|
|
14227
14240
|
const SLIDER_CONTROLS = ["icon", "value", "input"];
|
|
14228
|
-
const _sfc_main$
|
|
14241
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
14229
14242
|
...{ inheritAttrs: false },
|
|
14230
14243
|
__name: "OnyxSwitch",
|
|
14231
14244
|
props: {
|
|
@@ -14275,13 +14288,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
14275
14288
|
return __returned__;
|
|
14276
14289
|
}
|
|
14277
14290
|
});
|
|
14278
|
-
const _hoisted_1$
|
|
14291
|
+
const _hoisted_1$9 = { class: "onyx-switch-skeleton__click-area" };
|
|
14279
14292
|
const _hoisted_2$7 = ["title"];
|
|
14280
14293
|
const _hoisted_3$4 = ["aria-label", "disabled", "required", "autofocus"];
|
|
14281
14294
|
const _hoisted_4$4 = { class: "onyx-switch__click-area" };
|
|
14282
14295
|
const _hoisted_5$4 = { class: "onyx-switch__container" };
|
|
14283
|
-
const _hoisted_6$
|
|
14284
|
-
function _sfc_render$
|
|
14296
|
+
const _hoisted_6$4 = { class: "onyx-switch__icon" };
|
|
14297
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14285
14298
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
14286
14299
|
"div",
|
|
14287
14300
|
mergeProps({
|
|
@@ -14289,7 +14302,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14289
14302
|
class: ["onyx-component", "onyx-switch-skeleton", $setup.densityClass]
|
|
14290
14303
|
}, $setup.rootAttrs),
|
|
14291
14304
|
[
|
|
14292
|
-
createElementVNode("span", _hoisted_1$
|
|
14305
|
+
createElementVNode("span", _hoisted_1$9, [
|
|
14293
14306
|
createVNode($setup["OnyxSkeleton"], { class: "onyx-switch-skeleton__input" })
|
|
14294
14307
|
]),
|
|
14295
14308
|
!$setup.props.hideLabel ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
@@ -14325,7 +14338,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14325
14338
|
]),
|
|
14326
14339
|
createElementVNode("span", _hoisted_4$4, [
|
|
14327
14340
|
createElementVNode("span", _hoisted_5$4, [
|
|
14328
|
-
createElementVNode("span", _hoisted_6$
|
|
14341
|
+
createElementVNode("span", _hoisted_6$4, [
|
|
14329
14342
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
14330
14343
|
key: 0,
|
|
14331
14344
|
class: "onyx-switch__spinner",
|
|
@@ -14374,9 +14387,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14374
14387
|
/* STABLE */
|
|
14375
14388
|
}, 16, ["disabled", "error-messages"]));
|
|
14376
14389
|
}
|
|
14377
|
-
const OnyxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14390
|
+
const OnyxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSwitch/OnyxSwitch.vue"]]);
|
|
14378
14391
|
const SYSTEM_BUTTON_COLORS = ["intense", "soft", "medium"];
|
|
14379
|
-
const _sfc_main$
|
|
14392
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
14380
14393
|
...{ inheritAttrs: false },
|
|
14381
14394
|
__name: "OnyxTimepickerInput",
|
|
14382
14395
|
props: {
|
|
@@ -14397,10 +14410,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
14397
14410
|
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
14398
14411
|
message: { type: [String, Object], required: false },
|
|
14399
14412
|
success: { type: [String, Object], required: false },
|
|
14413
|
+
hideClearIcon: { type: Boolean, required: false },
|
|
14414
|
+
options: { type: null, required: false },
|
|
14415
|
+
modelValue: { type: String, required: false },
|
|
14416
|
+
min: { type: null, required: false },
|
|
14417
|
+
max: { type: null, required: false },
|
|
14400
14418
|
showSeconds: { type: Boolean, required: false },
|
|
14401
14419
|
infoLabel: { type: String, required: false },
|
|
14402
14420
|
hideInfoLabelIcon: { type: Boolean, required: false },
|
|
14403
|
-
modelValue: { type: String, required: false },
|
|
14404
14421
|
step: { type: Number, required: false, default: 0 }
|
|
14405
14422
|
},
|
|
14406
14423
|
emits: ["update:modelValue", "validityChange"],
|
|
@@ -14436,21 +14453,21 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
14436
14453
|
return __returned__;
|
|
14437
14454
|
}
|
|
14438
14455
|
});
|
|
14439
|
-
const _hoisted_1$
|
|
14440
|
-
const _hoisted_2$6 = ["id", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "step"];
|
|
14441
|
-
function _sfc_render$
|
|
14456
|
+
const _hoisted_1$8 = { class: "onyx-timepicker-input__wrapper" };
|
|
14457
|
+
const _hoisted_2$6 = ["id", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "step", "max", "min"];
|
|
14458
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14442
14459
|
return $setup.skeleton ? (openBlock(), createElementBlock(
|
|
14443
14460
|
"div",
|
|
14444
14461
|
mergeProps({
|
|
14445
14462
|
key: 0,
|
|
14446
|
-
class: ["onyx-component", "onyx-
|
|
14463
|
+
class: ["onyx-component", "onyx-timepicker-input-skeleton", $setup.densityClass]
|
|
14447
14464
|
}, $setup.rootAttrs),
|
|
14448
14465
|
[
|
|
14449
14466
|
!$setup.props.hideLabel ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
14450
14467
|
key: 0,
|
|
14451
|
-
class: "onyx-
|
|
14468
|
+
class: "onyx-timepicker-input-skeleton__label"
|
|
14452
14469
|
})) : createCommentVNode("v-if", true),
|
|
14453
|
-
createVNode($setup["OnyxSkeleton"], { class: "onyx-
|
|
14470
|
+
createVNode($setup["OnyxSkeleton"], { class: "onyx-timepicker-input-skeleton__input" })
|
|
14454
14471
|
],
|
|
14455
14472
|
16
|
|
14456
14473
|
/* FULL_PROPS */
|
|
@@ -14458,7 +14475,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14458
14475
|
"div",
|
|
14459
14476
|
mergeProps({
|
|
14460
14477
|
key: 1,
|
|
14461
|
-
class: ["onyx-component", "onyx-
|
|
14478
|
+
class: ["onyx-component", "onyx-timepicker-input", $setup.densityClass, $setup.errorClass]
|
|
14462
14479
|
}, $setup.rootAttrs),
|
|
14463
14480
|
[
|
|
14464
14481
|
createVNode($setup["OnyxFormElement"], mergeProps($setup.formElementProps, {
|
|
@@ -14468,19 +14485,20 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14468
14485
|
message: $setup.messages
|
|
14469
14486
|
}), {
|
|
14470
14487
|
default: withCtx(({ id: inputId }) => [
|
|
14471
|
-
createElementVNode("div", _hoisted_1$
|
|
14488
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
14472
14489
|
$setup.props.loading ? (openBlock(), createBlock($setup["OnyxLoadingIndicator"], {
|
|
14473
14490
|
key: 0,
|
|
14474
|
-
class: "onyx-
|
|
14491
|
+
class: "onyx-timepicker-input__loading",
|
|
14475
14492
|
type: "circle"
|
|
14476
14493
|
})) : createCommentVNode("v-if", true),
|
|
14477
14494
|
withDirectives(createElementVNode("input", mergeProps({
|
|
14478
14495
|
id: inputId,
|
|
14479
|
-
key: "time",
|
|
14480
14496
|
ref: "inputRef",
|
|
14481
14497
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.value = $event),
|
|
14482
|
-
class: ["onyx-datepicker__native", { "onyx-datepicker__native--success": $setup.successMessages }],
|
|
14483
14498
|
type: "time",
|
|
14499
|
+
class: ["onyx-timepicker-input__native", {
|
|
14500
|
+
"onyx-timepicker-input__native--success": $setup.successMessages
|
|
14501
|
+
}],
|
|
14484
14502
|
required: $setup.props.required,
|
|
14485
14503
|
autofocus: $setup.props.autofocus,
|
|
14486
14504
|
name: $setup.props.name,
|
|
@@ -14489,7 +14507,10 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14489
14507
|
"aria-label": $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
14490
14508
|
title: $setup.props.hideLabel ? $setup.props.label : void 0,
|
|
14491
14509
|
step: $setup.props.step
|
|
14492
|
-
}, $setup.restAttrs
|
|
14510
|
+
}, $setup.restAttrs, {
|
|
14511
|
+
max: $setup.props.max,
|
|
14512
|
+
min: $setup.props.min
|
|
14513
|
+
}), null, 16, _hoisted_2$6), [
|
|
14493
14514
|
[vModelText, $setup.value],
|
|
14494
14515
|
[$setup["vCustomValidity"]]
|
|
14495
14516
|
]),
|
|
@@ -14504,14 +14525,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14504
14525
|
/* FULL_PROPS */
|
|
14505
14526
|
));
|
|
14506
14527
|
}
|
|
14507
|
-
const OnyxTimepickerInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14508
|
-
const _sfc_main$
|
|
14509
|
-
__name: "
|
|
14528
|
+
const OnyxTimepickerInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTimepicker/OnyxTimepickerInput.vue"]]);
|
|
14529
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
14530
|
+
__name: "OnyxTimeInput",
|
|
14510
14531
|
props: {
|
|
14511
|
-
disabled: { type: [Boolean, Symbol], required: false
|
|
14512
|
-
showError: { type: null, required: false
|
|
14513
|
-
requiredMarker: { type: null, required: false
|
|
14514
|
-
required: { type: Boolean, required: false
|
|
14532
|
+
disabled: { type: [Boolean, Symbol], required: false },
|
|
14533
|
+
showError: { type: null, required: false },
|
|
14534
|
+
requiredMarker: { type: null, required: false },
|
|
14535
|
+
required: { type: Boolean, required: false },
|
|
14515
14536
|
density: { type: null, required: false },
|
|
14516
14537
|
error: { type: [String, Object], required: false },
|
|
14517
14538
|
autofocus: { type: Boolean, required: false },
|
|
@@ -14520,28 +14541,60 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14520
14541
|
label: { type: String, required: true },
|
|
14521
14542
|
labelTooltip: { type: String, required: false },
|
|
14522
14543
|
hideLabel: { type: Boolean, required: false },
|
|
14523
|
-
readonly: { type: Boolean, required: false
|
|
14544
|
+
readonly: { type: Boolean, required: false },
|
|
14524
14545
|
loading: { type: Boolean, required: false },
|
|
14525
|
-
skeleton: { type: [Symbol, Boolean, Number], required: false
|
|
14546
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false },
|
|
14526
14547
|
message: { type: [String, Object], required: false },
|
|
14527
14548
|
success: { type: [String, Object], required: false },
|
|
14528
|
-
|
|
14549
|
+
hideClearIcon: { type: Boolean, required: false },
|
|
14550
|
+
type: { type: null, required: false, default: "default" },
|
|
14551
|
+
options: { type: null, required: false },
|
|
14552
|
+
modelValue: { type: String, required: false },
|
|
14553
|
+
min: { type: null, required: false },
|
|
14554
|
+
max: { type: null, required: false },
|
|
14555
|
+
showSeconds: { type: Boolean, required: false },
|
|
14529
14556
|
infoLabel: { type: String, required: false },
|
|
14530
|
-
hideInfoLabelIcon: { type: Boolean, required: false }
|
|
14531
|
-
modelValue: { type: String, required: false }
|
|
14557
|
+
hideInfoLabelIcon: { type: Boolean, required: false }
|
|
14532
14558
|
},
|
|
14533
14559
|
emits: ["update:modelValue"],
|
|
14534
14560
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14535
14561
|
__expose();
|
|
14536
14562
|
const props = __props;
|
|
14537
14563
|
const emit = __emit;
|
|
14538
|
-
const { t } = injectI18n();
|
|
14539
14564
|
const modelValue = useVModel({ props, emit, key: "modelValue" });
|
|
14565
|
+
const { t } = injectI18n();
|
|
14540
14566
|
const open = ref(false);
|
|
14541
14567
|
const hourInputRef = useTemplateRef("hourInputTemplateRef");
|
|
14542
14568
|
const minuteInputRef = useTemplateRef("minuteInputTemplateRef");
|
|
14543
14569
|
const secondInputRef = useTemplateRef("secondInputTemplateRef");
|
|
14544
14570
|
const rootRef = useTemplateRef("rootTemplateRef");
|
|
14571
|
+
const partsToTotalSeconds = (parts) => {
|
|
14572
|
+
const h2 = parseInt(parts[0] || "0", 10);
|
|
14573
|
+
const m = parseInt(parts[1] || "0", 10);
|
|
14574
|
+
const s = parseInt(parts[2] || "0", 10);
|
|
14575
|
+
return h2 * 3600 + m * 60 + s;
|
|
14576
|
+
};
|
|
14577
|
+
const totalSecondsToParts = (totalSeconds) => {
|
|
14578
|
+
const h2 = Math.floor(totalSeconds / 3600);
|
|
14579
|
+
const m = Math.floor(totalSeconds % 3600 / 60);
|
|
14580
|
+
const s = totalSeconds % 60;
|
|
14581
|
+
return [String(h2).padStart(2, "0"), String(m).padStart(2, "0"), String(s).padStart(2, "0")];
|
|
14582
|
+
};
|
|
14583
|
+
const parseTimeSeconds = (timeString) => {
|
|
14584
|
+
if (!timeString) return null;
|
|
14585
|
+
const parts = timeString.split(":").map((p) => parseInt(p, 10));
|
|
14586
|
+
if (parts.length < 2) return null;
|
|
14587
|
+
return parts[0] * 3600 + parts[1] * 60 + (parts[2] || 0);
|
|
14588
|
+
};
|
|
14589
|
+
const minTimeSeconds = computed(() => parseTimeSeconds(props.min));
|
|
14590
|
+
const maxTimeSeconds = computed(() => parseTimeSeconds(props.max));
|
|
14591
|
+
const clampTime = (newParts) => {
|
|
14592
|
+
const currentTotalSeconds = partsToTotalSeconds(newParts);
|
|
14593
|
+
const min = minTimeSeconds.value ?? 0;
|
|
14594
|
+
const max = maxTimeSeconds.value ?? partsToTotalSeconds(["23", "59", "59"]);
|
|
14595
|
+
const clampedTotalSeconds = Math.min(Math.max(currentTotalSeconds, min), max);
|
|
14596
|
+
return totalSecondsToParts(clampedTotalSeconds);
|
|
14597
|
+
};
|
|
14545
14598
|
const isSegmentVisible = (segmentName) => {
|
|
14546
14599
|
if (segmentName === "second") return props.showSeconds;
|
|
14547
14600
|
return true;
|
|
@@ -14556,18 +14609,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14556
14609
|
return [parts[0] ?? "00", parts[1] ?? "00", parts[2] ?? "00"];
|
|
14557
14610
|
});
|
|
14558
14611
|
const updateModelValue = (newParts) => {
|
|
14559
|
-
const
|
|
14560
|
-
|
|
14561
|
-
|
|
14612
|
+
const clampedParts = clampTime(newParts);
|
|
14613
|
+
const finalParts = [];
|
|
14614
|
+
finalParts.push(clampedParts[0]);
|
|
14615
|
+
finalParts.push(clampedParts[1]);
|
|
14562
14616
|
if (props.showSeconds) {
|
|
14563
|
-
|
|
14617
|
+
finalParts.push(clampedParts[2]);
|
|
14564
14618
|
}
|
|
14565
|
-
modelValue.value =
|
|
14566
|
-
};
|
|
14567
|
-
const clampValue = (value, max) => {
|
|
14568
|
-
if (value > max) return max;
|
|
14569
|
-
if (value < 0) return 0;
|
|
14570
|
-
return value;
|
|
14619
|
+
modelValue.value = finalParts.join(":");
|
|
14571
14620
|
};
|
|
14572
14621
|
const createSegmentComputed = (index, segmentName) => computed({
|
|
14573
14622
|
get: () => {
|
|
@@ -14576,9 +14625,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14576
14625
|
},
|
|
14577
14626
|
set: (newValue) => {
|
|
14578
14627
|
if (!isSegmentVisible(segmentName) || newValue === null) return;
|
|
14579
|
-
const max = segmentName === "hour" ? 23 : 59;
|
|
14580
|
-
const clampedValue = clampValue(newValue, max);
|
|
14581
14628
|
const parts = [...timeParts.value];
|
|
14629
|
+
const segmentMax = segmentName === "hour" ? 23 : 59;
|
|
14630
|
+
const clampedValue = Math.min(Math.max(newValue, 0), segmentMax);
|
|
14582
14631
|
parts[index] = String(clampedValue).padStart(2, "0");
|
|
14583
14632
|
updateModelValue(parts);
|
|
14584
14633
|
}
|
|
@@ -14661,46 +14710,40 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14661
14710
|
onOutsideClick: () => open.value = false,
|
|
14662
14711
|
checkOnTab: true
|
|
14663
14712
|
});
|
|
14664
|
-
const inputProps =
|
|
14665
|
-
|
|
14666
|
-
modelValue: _,
|
|
14667
|
-
showSeconds: __,
|
|
14668
|
-
infoLabel: ___,
|
|
14669
|
-
hideInfoLabelIcon: ____,
|
|
14670
|
-
...others
|
|
14671
|
-
} = props;
|
|
14672
|
-
return others;
|
|
14673
|
-
});
|
|
14674
|
-
const __returned__ = { props, emit, t, modelValue, open, hourInputRef, minuteInputRef, secondInputRef, rootRef, isSegmentVisible, availableSegments, timeParts, updateModelValue, clampValue, createSegmentComputed, hour, minute, second, getSegmentRef, handleSegmentFocus, jumpSegment, handleInputChange, handleOpen, inputProps, get iconCircleInformation() {
|
|
14713
|
+
const inputProps = useForwardProps(props, OnyxTimepickerInput);
|
|
14714
|
+
const __returned__ = { props, emit, modelValue, t, open, hourInputRef, minuteInputRef, secondInputRef, rootRef, partsToTotalSeconds, totalSecondsToParts, parseTimeSeconds, minTimeSeconds, maxTimeSeconds, clampTime, isSegmentVisible, availableSegments, timeParts, updateModelValue, createSegmentComputed, hour, minute, second, getSegmentRef, handleSegmentFocus, jumpSegment, handleInputChange, handleOpen, inputProps, get iconCircleInformation() {
|
|
14675
14715
|
return iconCircleInformation;
|
|
14676
14716
|
}, get iconClock() {
|
|
14677
14717
|
return iconClock;
|
|
14718
|
+
}, get iconXSmall() {
|
|
14719
|
+
return iconXSmall;
|
|
14678
14720
|
}, OnyxBasicPopover, OnyxIcon, OnyxIconButton, OnyxStepper, OnyxTimepickerInput };
|
|
14679
14721
|
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
14680
14722
|
return __returned__;
|
|
14681
14723
|
}
|
|
14682
14724
|
});
|
|
14683
|
-
const _hoisted_1$
|
|
14725
|
+
const _hoisted_1$7 = {
|
|
14684
14726
|
ref: "rootTemplateRef",
|
|
14685
14727
|
class: "onyx-component onyx-timepicker"
|
|
14686
14728
|
};
|
|
14687
|
-
const _hoisted_2$5 =
|
|
14729
|
+
const _hoisted_2$5 = ["aria-label", "title"];
|
|
14730
|
+
const _hoisted_3$3 = {
|
|
14688
14731
|
class: "onyx-timepicker__wrapper",
|
|
14689
14732
|
tabindex: "-1"
|
|
14690
14733
|
};
|
|
14691
|
-
const
|
|
14692
|
-
const
|
|
14734
|
+
const _hoisted_4$3 = { class: "onyx-timepicker__group" };
|
|
14735
|
+
const _hoisted_5$3 = {
|
|
14693
14736
|
key: 0,
|
|
14694
14737
|
class: "onyx-timepicker__divider"
|
|
14695
14738
|
};
|
|
14696
|
-
const
|
|
14739
|
+
const _hoisted_6$3 = {
|
|
14697
14740
|
key: 0,
|
|
14698
14741
|
class: "onyx-timepicker__info-label"
|
|
14699
14742
|
};
|
|
14700
|
-
function _sfc_render$
|
|
14743
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14701
14744
|
return openBlock(), createElementBlock(
|
|
14702
14745
|
"div",
|
|
14703
|
-
_hoisted_1$
|
|
14746
|
+
_hoisted_1$7,
|
|
14704
14747
|
[
|
|
14705
14748
|
createVNode($setup["OnyxBasicPopover"], {
|
|
14706
14749
|
class: "onyx-timepicker__popover",
|
|
@@ -14711,33 +14754,47 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14711
14754
|
"fit-parent": ""
|
|
14712
14755
|
}, {
|
|
14713
14756
|
default: withCtx(() => [
|
|
14714
|
-
createVNode($setup["OnyxTimepickerInput"], mergeProps({
|
|
14715
|
-
"model-value": $setup.modelValue,
|
|
14716
|
-
class: "onyx-timepicker__input"
|
|
14717
|
-
}, $setup.inputProps, {
|
|
14757
|
+
createVNode($setup["OnyxTimepickerInput"], mergeProps({ class: "onyx-timepicker__input" }, $setup.inputProps, {
|
|
14718
14758
|
step: $setup.props.showSeconds ? 1 : 0,
|
|
14719
|
-
"onUpdate:modelValue": _cache[
|
|
14720
|
-
onClick: _cache[
|
|
14759
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $setup.modelValue = $event),
|
|
14760
|
+
onClick: _cache[3] || (_cache[3] = ($event) => $setup.open = false)
|
|
14721
14761
|
}), {
|
|
14722
14762
|
icon: withCtx(() => [
|
|
14723
|
-
|
|
14763
|
+
!$setup.open || !$setup.modelValue || $setup.props.hideClearIcon ? (openBlock(), createBlock($setup["OnyxIconButton"], {
|
|
14764
|
+
key: 0,
|
|
14724
14765
|
label: $setup.t("timepicker.labels.iconButton"),
|
|
14725
14766
|
icon: $setup.iconClock,
|
|
14726
14767
|
color: $setup.open ? "primary" : "neutral",
|
|
14768
|
+
class: "onyx-timepicker__time-icon",
|
|
14727
14769
|
onClick: withModifiers($setup.handleOpen, ["stop"])
|
|
14728
|
-
}, null, 8, ["label", "icon", "color"])
|
|
14770
|
+
}, null, 8, ["label", "icon", "color"])) : (openBlock(), createElementBlock("button", {
|
|
14771
|
+
key: 1,
|
|
14772
|
+
class: "onyx-timepicker__clear-button",
|
|
14773
|
+
type: "button",
|
|
14774
|
+
"aria-label": $setup.t("input.clear"),
|
|
14775
|
+
title: $setup.t("input.clear"),
|
|
14776
|
+
tabindex: "-1",
|
|
14777
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
14778
|
+
}, ["prevent"])),
|
|
14779
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $setup.modelValue = void 0)
|
|
14780
|
+
}, [
|
|
14781
|
+
createVNode($setup["OnyxIcon"], {
|
|
14782
|
+
icon: $setup.iconXSmall,
|
|
14783
|
+
color: "neutral"
|
|
14784
|
+
}, null, 8, ["icon"])
|
|
14785
|
+
], 40, _hoisted_2$5))
|
|
14729
14786
|
]),
|
|
14730
14787
|
_: 1
|
|
14731
14788
|
/* STABLE */
|
|
14732
|
-
}, 16, ["
|
|
14789
|
+
}, 16, ["step"])
|
|
14733
14790
|
]),
|
|
14734
14791
|
content: withCtx(() => [
|
|
14735
|
-
createElementVNode("div",
|
|
14736
|
-
createElementVNode("div",
|
|
14792
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
14793
|
+
createElementVNode("div", _hoisted_4$3, [
|
|
14737
14794
|
createVNode($setup["OnyxStepper"], {
|
|
14738
14795
|
ref: "hourInputTemplateRef",
|
|
14739
14796
|
modelValue: $setup.hour,
|
|
14740
|
-
"onUpdate:modelValue": _cache[
|
|
14797
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $setup.hour = $event),
|
|
14741
14798
|
label: $setup.t("timepicker.labels.hour"),
|
|
14742
14799
|
placeholder: $setup.t("timepicker.placeholder.hour"),
|
|
14743
14800
|
disabled: $setup.props.disabled,
|
|
@@ -14746,10 +14803,10 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14746
14803
|
"hide-clear-icon": "",
|
|
14747
14804
|
"hide-success-icon": "",
|
|
14748
14805
|
"hide-buttons": "",
|
|
14749
|
-
onClick: _cache[
|
|
14750
|
-
onKeydown: _cache[
|
|
14806
|
+
onClick: _cache[5] || (_cache[5] = ($event) => $setup.handleSegmentFocus($setup.hourInputRef)),
|
|
14807
|
+
onKeydown: _cache[6] || (_cache[6] = (e) => $setup.handleInputChange("hour", e))
|
|
14751
14808
|
}, null, 8, ["modelValue", "label", "placeholder", "disabled", "loading"]),
|
|
14752
|
-
_cache[
|
|
14809
|
+
_cache[13] || (_cache[13] = createElementVNode(
|
|
14753
14810
|
"span",
|
|
14754
14811
|
{ class: "onyx-timepicker__divider" },
|
|
14755
14812
|
":",
|
|
@@ -14759,7 +14816,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14759
14816
|
createVNode($setup["OnyxStepper"], {
|
|
14760
14817
|
ref: "minuteInputTemplateRef",
|
|
14761
14818
|
modelValue: $setup.minute,
|
|
14762
|
-
"onUpdate:modelValue": _cache[
|
|
14819
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $setup.minute = $event),
|
|
14763
14820
|
label: $setup.t("timepicker.labels.minute"),
|
|
14764
14821
|
placeholder: $setup.t("timepicker.placeholder.minute"),
|
|
14765
14822
|
disabled: $setup.props.disabled,
|
|
@@ -14768,15 +14825,15 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14768
14825
|
"hide-clear-icon": "",
|
|
14769
14826
|
"hide-success-icon": "",
|
|
14770
14827
|
"hide-buttons": "",
|
|
14771
|
-
onClick: _cache[
|
|
14772
|
-
onKeydown: _cache[
|
|
14828
|
+
onClick: _cache[8] || (_cache[8] = ($event) => $setup.handleSegmentFocus($setup.minuteInputRef)),
|
|
14829
|
+
onKeydown: _cache[9] || (_cache[9] = (e) => $setup.handleInputChange("minute", e))
|
|
14773
14830
|
}, null, 8, ["modelValue", "label", "placeholder", "disabled", "loading"]),
|
|
14774
|
-
$setup.props.showSeconds ? (openBlock(), createElementBlock("span",
|
|
14831
|
+
$setup.props.showSeconds ? (openBlock(), createElementBlock("span", _hoisted_5$3, ":")) : createCommentVNode("v-if", true),
|
|
14775
14832
|
$setup.props.showSeconds ? (openBlock(), createBlock($setup["OnyxStepper"], {
|
|
14776
14833
|
key: 1,
|
|
14777
14834
|
ref: "secondInputTemplateRef",
|
|
14778
14835
|
modelValue: $setup.second,
|
|
14779
|
-
"onUpdate:modelValue": _cache[
|
|
14836
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $setup.second = $event),
|
|
14780
14837
|
label: $setup.t("timepicker.labels.second"),
|
|
14781
14838
|
placeholder: $setup.t("timepicker.placeholder.second"),
|
|
14782
14839
|
disabled: $setup.props.disabled,
|
|
@@ -14785,15 +14842,17 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14785
14842
|
"hide-clear-icon": "",
|
|
14786
14843
|
"hide-success-icon": "",
|
|
14787
14844
|
"hide-buttons": "",
|
|
14788
|
-
onClick: _cache[
|
|
14789
|
-
onKeydown: _cache[
|
|
14845
|
+
onClick: _cache[11] || (_cache[11] = ($event) => $setup.handleSegmentFocus($setup.secondInputRef)),
|
|
14846
|
+
onKeydown: _cache[12] || (_cache[12] = (e) => $setup.handleInputChange("second", e))
|
|
14790
14847
|
}, null, 8, ["modelValue", "label", "placeholder", "disabled", "loading"])) : createCommentVNode("v-if", true)
|
|
14791
14848
|
]),
|
|
14792
|
-
$setup.props.infoLabel ? (openBlock(), createElementBlock("div",
|
|
14849
|
+
$setup.props.infoLabel ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
|
|
14793
14850
|
!$setup.props.hideInfoLabelIcon ? (openBlock(), createBlock($setup["OnyxIcon"], {
|
|
14794
14851
|
key: 0,
|
|
14852
|
+
class: "onyx-timepicker__info-icon",
|
|
14795
14853
|
icon: $setup.iconCircleInformation,
|
|
14796
|
-
color: "neutral"
|
|
14854
|
+
color: "neutral",
|
|
14855
|
+
size: "16px"
|
|
14797
14856
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
14798
14857
|
createElementVNode(
|
|
14799
14858
|
"p",
|
|
@@ -14813,7 +14872,186 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14813
14872
|
/* NEED_PATCH */
|
|
14814
14873
|
);
|
|
14815
14874
|
}
|
|
14875
|
+
const OnyxTimeInput = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTimepicker/OnyxTimeInput.vue"]]);
|
|
14876
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
14877
|
+
__name: "OnyxTimeSelect",
|
|
14878
|
+
props: {
|
|
14879
|
+
disabled: { type: [Boolean, Symbol], required: false },
|
|
14880
|
+
showError: { type: null, required: false },
|
|
14881
|
+
requiredMarker: { type: null, required: false },
|
|
14882
|
+
required: { type: Boolean, required: false },
|
|
14883
|
+
density: { type: null, required: false },
|
|
14884
|
+
error: { type: [String, Object], required: false },
|
|
14885
|
+
autofocus: { type: Boolean, required: false },
|
|
14886
|
+
id: { type: String, required: false },
|
|
14887
|
+
name: { type: String, required: false },
|
|
14888
|
+
label: { type: String, required: true },
|
|
14889
|
+
labelTooltip: { type: String, required: false },
|
|
14890
|
+
hideLabel: { type: Boolean, required: false },
|
|
14891
|
+
readonly: { type: Boolean, required: false },
|
|
14892
|
+
loading: { type: Boolean, required: false },
|
|
14893
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false },
|
|
14894
|
+
message: { type: [String, Object], required: false },
|
|
14895
|
+
success: { type: [String, Object], required: false },
|
|
14896
|
+
hideClearIcon: { type: Boolean, required: false },
|
|
14897
|
+
type: { type: null, required: false, default: "select" },
|
|
14898
|
+
options: { type: null, required: false },
|
|
14899
|
+
modelValue: { type: String, required: false },
|
|
14900
|
+
min: { type: null, required: false },
|
|
14901
|
+
max: { type: null, required: false },
|
|
14902
|
+
showSeconds: { type: Boolean, required: false },
|
|
14903
|
+
infoLabel: { type: String, required: false },
|
|
14904
|
+
hideInfoLabelIcon: { type: Boolean, required: false }
|
|
14905
|
+
},
|
|
14906
|
+
emits: ["update:modelValue"],
|
|
14907
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14908
|
+
__expose();
|
|
14909
|
+
const props = __props;
|
|
14910
|
+
const emit = __emit;
|
|
14911
|
+
const modelValue = useVModel({ props, emit, key: "modelValue" });
|
|
14912
|
+
const { t } = injectI18n();
|
|
14913
|
+
const placeholderText = computed(() => {
|
|
14914
|
+
const parts = [];
|
|
14915
|
+
parts.push(t.value("timepicker.placeholder.hour"));
|
|
14916
|
+
parts.push(t.value("timepicker.placeholder.minute"));
|
|
14917
|
+
if (props.showSeconds) {
|
|
14918
|
+
parts.push(t.value("timepicker.placeholder.second"));
|
|
14919
|
+
}
|
|
14920
|
+
return parts.join(":");
|
|
14921
|
+
});
|
|
14922
|
+
const timeOptions = computed(() => {
|
|
14923
|
+
if (props.type !== "select") {
|
|
14924
|
+
return [];
|
|
14925
|
+
}
|
|
14926
|
+
if (props.options?.customTimes) {
|
|
14927
|
+
return props.options.customTimes;
|
|
14928
|
+
}
|
|
14929
|
+
const config = props.options || {};
|
|
14930
|
+
const stepSizeInSeconds = config.stepSize ?? 1800;
|
|
14931
|
+
const defaultTime = props.showSeconds ? "00:00:00" : "00:00";
|
|
14932
|
+
const defaultEndTime = props.showSeconds ? "23:59:59" : "23:59";
|
|
14933
|
+
const startTime = props.min ?? defaultTime;
|
|
14934
|
+
const endTime = props.max ?? defaultEndTime;
|
|
14935
|
+
const startParts = startTime.split(":").map(Number);
|
|
14936
|
+
const endParts = endTime.split(":").map(Number);
|
|
14937
|
+
if (startParts.some(isNaN) || endParts.some(isNaN)) {
|
|
14938
|
+
return [];
|
|
14939
|
+
}
|
|
14940
|
+
const startHour = startParts[0] ?? 0;
|
|
14941
|
+
const startMinute = startParts[1] ?? 0;
|
|
14942
|
+
const startSecond = startParts[2] ?? 0;
|
|
14943
|
+
const endHour = endParts[0] ?? 0;
|
|
14944
|
+
const endMinute = endParts[1] ?? 0;
|
|
14945
|
+
const endSecond = endParts[2] ?? 0;
|
|
14946
|
+
let currentTimeInSeconds = startHour * 3600 + startMinute * 60 + startSecond;
|
|
14947
|
+
const endTimeInSeconds = endHour * 3600 + endMinute * 60 + endSecond;
|
|
14948
|
+
const options = [];
|
|
14949
|
+
while (currentTimeInSeconds <= endTimeInSeconds) {
|
|
14950
|
+
const hours = Math.floor(currentTimeInSeconds / 3600) % 24;
|
|
14951
|
+
const remainingSecondsFromHour = currentTimeInSeconds % 3600;
|
|
14952
|
+
const minutes = Math.floor(remainingSecondsFromHour / 60);
|
|
14953
|
+
const seconds = remainingSecondsFromHour % 60;
|
|
14954
|
+
const formattedHours = String(hours).padStart(2, "0");
|
|
14955
|
+
const formattedMinutes = String(minutes).padStart(2, "0");
|
|
14956
|
+
let timeString = `${formattedHours}:${formattedMinutes}`;
|
|
14957
|
+
if (props.showSeconds) {
|
|
14958
|
+
const formattedSeconds = String(seconds).padStart(2, "0");
|
|
14959
|
+
timeString += `:${formattedSeconds}`;
|
|
14960
|
+
}
|
|
14961
|
+
options.push({
|
|
14962
|
+
value: timeString,
|
|
14963
|
+
label: timeString
|
|
14964
|
+
});
|
|
14965
|
+
currentTimeInSeconds += stepSizeInSeconds;
|
|
14966
|
+
}
|
|
14967
|
+
return options;
|
|
14968
|
+
});
|
|
14969
|
+
const inputProps = useForwardProps(props, OnyxSelect);
|
|
14970
|
+
const __returned__ = { props, emit, modelValue, t, placeholderText, timeOptions, inputProps, get iconClock() {
|
|
14971
|
+
return iconClock;
|
|
14972
|
+
}, OnyxIcon, OnyxSelect };
|
|
14973
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
14974
|
+
return __returned__;
|
|
14975
|
+
}
|
|
14976
|
+
});
|
|
14977
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14978
|
+
return openBlock(), createBlock($setup["OnyxSelect"], mergeProps($setup.inputProps, {
|
|
14979
|
+
modelValue: $setup.modelValue,
|
|
14980
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.modelValue = $event),
|
|
14981
|
+
label: $setup.props.label,
|
|
14982
|
+
class: "onyx-timepicker",
|
|
14983
|
+
"list-label": $setup.t("timepicker.labels.listLabel"),
|
|
14984
|
+
options: $setup.timeOptions,
|
|
14985
|
+
placeholder: $setup.placeholderText
|
|
14986
|
+
}), {
|
|
14987
|
+
toggleIcon: withCtx(() => [
|
|
14988
|
+
createVNode($setup["OnyxIcon"], {
|
|
14989
|
+
class: normalizeClass(["onyx-timepicker__icon", { filled: $setup.modelValue }]),
|
|
14990
|
+
icon: $setup.iconClock
|
|
14991
|
+
}, null, 8, ["class", "icon"])
|
|
14992
|
+
]),
|
|
14993
|
+
_: 1
|
|
14994
|
+
/* STABLE */
|
|
14995
|
+
}, 16, ["modelValue", "label", "list-label", "options", "placeholder"]);
|
|
14996
|
+
}
|
|
14997
|
+
const OnyxTimeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTimepicker/OnyxTimeSelect.vue"]]);
|
|
14998
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
14999
|
+
__name: "OnyxTimepicker",
|
|
15000
|
+
props: {
|
|
15001
|
+
disabled: { type: [Boolean, Symbol], required: false, default: FORM_INJECTED_SYMBOL },
|
|
15002
|
+
showError: { type: null, required: false, default: FORM_INJECTED_SYMBOL },
|
|
15003
|
+
requiredMarker: { type: null, required: false, default: FORM_INJECTED_SYMBOL },
|
|
15004
|
+
required: { type: Boolean, required: false, default: false },
|
|
15005
|
+
density: { type: null, required: false },
|
|
15006
|
+
error: { type: [String, Object], required: false },
|
|
15007
|
+
autofocus: { type: Boolean, required: false },
|
|
15008
|
+
id: { type: String, required: false },
|
|
15009
|
+
name: { type: String, required: false },
|
|
15010
|
+
label: { type: String, required: true },
|
|
15011
|
+
labelTooltip: { type: String, required: false },
|
|
15012
|
+
hideLabel: { type: Boolean, required: false },
|
|
15013
|
+
readonly: { type: Boolean, required: false, default: false },
|
|
15014
|
+
loading: { type: Boolean, required: false },
|
|
15015
|
+
skeleton: { type: [Symbol, Boolean, Number], required: false, default: SKELETON_INJECTED_SYMBOL },
|
|
15016
|
+
message: { type: [String, Object], required: false },
|
|
15017
|
+
success: { type: [String, Object], required: false },
|
|
15018
|
+
hideClearIcon: { type: Boolean, required: false },
|
|
15019
|
+
type: { type: null, required: false, default: "default" },
|
|
15020
|
+
options: { type: null, required: false },
|
|
15021
|
+
modelValue: { type: String, required: false },
|
|
15022
|
+
min: { type: null, required: false },
|
|
15023
|
+
max: { type: null, required: false },
|
|
15024
|
+
showSeconds: { type: Boolean, required: false, default: false },
|
|
15025
|
+
infoLabel: { type: String, required: false },
|
|
15026
|
+
hideInfoLabelIcon: { type: Boolean, required: false }
|
|
15027
|
+
},
|
|
15028
|
+
emits: ["update:modelValue"],
|
|
15029
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15030
|
+
__expose();
|
|
15031
|
+
const props = __props;
|
|
15032
|
+
const emit = __emit;
|
|
15033
|
+
const modelValue = useVModel({ props, emit, key: "modelValue" });
|
|
15034
|
+
const input2 = useForwardProps(props, OnyxTimeInput);
|
|
15035
|
+
const select2 = useForwardProps(props, OnyxTimeInput);
|
|
15036
|
+
const __returned__ = { props, emit, modelValue, input: input2, select: select2, OnyxTimeInput, OnyxTimeSelect };
|
|
15037
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
15038
|
+
return __returned__;
|
|
15039
|
+
}
|
|
15040
|
+
});
|
|
15041
|
+
const _hoisted_1$6 = { class: "onyx-component" };
|
|
15042
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15043
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
15044
|
+
$setup.props.type === "default" ? (openBlock(), createBlock($setup["OnyxTimeInput"], mergeProps({ key: 0 }, $setup.input, {
|
|
15045
|
+
modelValue: $setup.modelValue,
|
|
15046
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.modelValue = $event)
|
|
15047
|
+
}), null, 16, ["modelValue"])) : (openBlock(), createBlock($setup["OnyxTimeSelect"], mergeProps({ key: 1 }, $setup.select, {
|
|
15048
|
+
modelValue: $setup.modelValue,
|
|
15049
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $setup.modelValue = $event)
|
|
15050
|
+
}), null, 16, ["modelValue"]))
|
|
15051
|
+
]);
|
|
15052
|
+
}
|
|
14816
15053
|
const OnyxTimepicker = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxTimepicker/OnyxTimepicker.vue"]]);
|
|
15054
|
+
const TIMEPICKER_TYPES = ["default", "select"];
|
|
14817
15055
|
const circleAttention = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.25 16.5h1.5V18h-1.5zM12.75 6h-1.5v8.25h1.5z"/><path fill-rule="evenodd" d="M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21m6.364 16.864A9 9 0 1 1 21 12a8.94 8.94 0 0 1-2.636 6.364" clip-rule="evenodd"/></svg>';
|
|
14818
15056
|
const useFileSize = () => {
|
|
14819
15057
|
const { locale } = injectI18n();
|
|
@@ -16392,6 +16630,7 @@ export {
|
|
|
16392
16630
|
SYSTEM_BUTTON_COLORS,
|
|
16393
16631
|
TABS_INJECTION_KEY,
|
|
16394
16632
|
TEXT_SIZES,
|
|
16633
|
+
TIMEPICKER_TYPES,
|
|
16395
16634
|
TOAST_PROVIDER_INJECTION_KEY,
|
|
16396
16635
|
TRUNCATION_TYPES,
|
|
16397
16636
|
createFeature,
|