@birdycom/omniaui-vue 0.11.2 → 0.12.1
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/omniaui-vue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vt from "vue";
|
|
2
|
-
import { defineComponent as f, provide as pe, openBlock as t, createElementBlock as a, renderSlot as m, normalizeClass as g, useModel as
|
|
2
|
+
import { defineComponent as f, provide as pe, openBlock as t, createElementBlock as a, renderSlot as m, normalizeClass as g, useModel as A, inject as xe, unref as y, createElementVNode as s, createTextVNode as k, toDisplayString as i, mergeModels as x, useAttrs as we, computed as T, mergeProps as I, createCommentVNode as d, withDirectives as H, vModelDynamic as Ae, watch as ne, onMounted as ze, ref as U, Fragment as $, renderList as _, normalizeStyle as K, createBlock as j, resolveDynamicComponent as W, withCtx as N, createVNode as Q, withModifiers as Oe, vModelText as le, normalizeProps as _e, guardReactiveProps as Be, vModelRadio as ie, onBeforeUnmount as qe, useTemplateRef as $t, createStaticVNode as je, vModelCheckbox as Ce, vModelSelect as Ke, nextTick as Ue, useSlots as yt, readonly as gt, reactive as kt, resolveComponent as pt, createSlots as He } from "vue";
|
|
3
3
|
let wt = 0;
|
|
4
4
|
function z(e = "oc") {
|
|
5
5
|
const o = vt.useId;
|
|
@@ -32,7 +32,7 @@ const Ot = { class: "oc-accordion" }, _t = /* @__PURE__ */ f({
|
|
|
32
32
|
}
|
|
33
33
|
}), Ct = ["name", "open"], St = { class: "oc-accordion-trigger" }, Lt = { class: "oc-accordion-content" }, Mt = /* @__PURE__ */ f({
|
|
34
34
|
__name: "OcAccordionItem",
|
|
35
|
-
props: /* @__PURE__ */
|
|
35
|
+
props: /* @__PURE__ */ x({
|
|
36
36
|
title: {}
|
|
37
37
|
}, {
|
|
38
38
|
open: { type: Boolean, default: !1 },
|
|
@@ -40,7 +40,7 @@ const Ot = { class: "oc-accordion" }, _t = /* @__PURE__ */ f({
|
|
|
40
40
|
}),
|
|
41
41
|
emits: ["update:open"],
|
|
42
42
|
setup(e) {
|
|
43
|
-
const o =
|
|
43
|
+
const o = A(e, "open"), l = xe("oc-accordion-name", void 0);
|
|
44
44
|
function c(n) {
|
|
45
45
|
o.value = n.target.open;
|
|
46
46
|
}
|
|
@@ -62,7 +62,7 @@ const Ot = { class: "oc-accordion" }, _t = /* @__PURE__ */ f({
|
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
function Y() {
|
|
65
|
-
const e = we(), o =
|
|
65
|
+
const e = we(), o = T(() => ({ class: e.class, style: e.style })), l = T(() => {
|
|
66
66
|
const { class: c, style: n, ...r } = e;
|
|
67
67
|
return r;
|
|
68
68
|
});
|
|
@@ -79,7 +79,7 @@ const Tt = {
|
|
|
79
79
|
}, At = /* @__PURE__ */ f({
|
|
80
80
|
inheritAttrs: !1,
|
|
81
81
|
__name: "OcAffixInput",
|
|
82
|
-
props: /* @__PURE__ */
|
|
82
|
+
props: /* @__PURE__ */ x({
|
|
83
83
|
variant: {},
|
|
84
84
|
prefix: {},
|
|
85
85
|
suffix: {},
|
|
@@ -91,11 +91,11 @@ const Tt = {
|
|
|
91
91
|
}),
|
|
92
92
|
emits: ["update:modelValue"],
|
|
93
93
|
setup(e) {
|
|
94
|
-
const o = e, l =
|
|
94
|
+
const o = e, l = A(e, "modelValue"), { root: c, control: n } = Y(), r = {
|
|
95
95
|
currency: { prefix: "€", suffix: void 0, end: !1, input: { type: "text", inputmode: "decimal" } },
|
|
96
96
|
percent: { prefix: "%", suffix: void 0, end: !1, input: { type: "text", inputmode: "decimal" } },
|
|
97
97
|
email: { prefix: "@", suffix: void 0, end: !1, input: { type: "email", autocomplete: "email" } }
|
|
98
|
-
}, u =
|
|
98
|
+
}, u = T(() => o.variant ? r[o.variant] : void 0), h = T(() => o.prefix ?? u.value?.prefix), b = T(() => o.suffix ?? u.value?.suffix), B = T(() => o.alignEnd ?? u.value?.end ?? !1);
|
|
99
99
|
return (v, O) => (t(), a("div", I(y(c), {
|
|
100
100
|
class: ["oc-input-group", "oc-input-group--affix", B.value && "oc-input-group--end", e.error && "oc-input-group--error"]
|
|
101
101
|
}), [
|
|
@@ -162,7 +162,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
162
162
|
"aria-hidden": "true"
|
|
163
163
|
}, Ft = ["id"], Et = { class: "oc-modal-footer" }, jt = /* @__PURE__ */ f({
|
|
164
164
|
__name: "OcAlertDialog",
|
|
165
|
-
props: /* @__PURE__ */
|
|
165
|
+
props: /* @__PURE__ */ x({
|
|
166
166
|
type: { default: "warning" },
|
|
167
167
|
title: {},
|
|
168
168
|
message: {},
|
|
@@ -173,16 +173,16 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
173
173
|
open: { type: Boolean, default: !1 },
|
|
174
174
|
openModifiers: {}
|
|
175
175
|
}),
|
|
176
|
-
emits: /* @__PURE__ */
|
|
176
|
+
emits: /* @__PURE__ */ x(["confirm", "cancel"], ["update:open"]),
|
|
177
177
|
setup(e, { emit: o }) {
|
|
178
|
-
const l = e, c = o, n =
|
|
178
|
+
const l = e, c = o, n = A(e, "open"), r = U(null), { onClose: u } = re(n, r), h = z("oc-alert-dialog-title"), b = `${h}-text`, B = { success: "✓", error: "×", warning: "!", info: "i", question: "?" }, v = T(() => l.confirmVariant ?? (l.type === "warning" || l.type === "error" ? "destructive" : "default")), O = () => n.value = !1;
|
|
179
179
|
function w() {
|
|
180
180
|
c("confirm"), O();
|
|
181
181
|
}
|
|
182
182
|
function p() {
|
|
183
183
|
c("cancel"), O();
|
|
184
184
|
}
|
|
185
|
-
return (
|
|
185
|
+
return (L, V) => (t(), a("dialog", {
|
|
186
186
|
ref_key: "el",
|
|
187
187
|
ref: r,
|
|
188
188
|
class: "oc-modal",
|
|
@@ -190,14 +190,14 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
190
190
|
role: "alertdialog",
|
|
191
191
|
"aria-labelledby": y(h),
|
|
192
192
|
"aria-describedby": b,
|
|
193
|
-
onClose:
|
|
194
|
-
(...
|
|
193
|
+
onClose: V[0] || (V[0] = //@ts-ignore
|
|
194
|
+
(...D) => y(u) && y(u)(...D))
|
|
195
195
|
}, [
|
|
196
196
|
s("div", {
|
|
197
197
|
class: g(["oc-modal-content", "oc-modal-content--sm", "oc-alert-dialog", `oc-alert-dialog--${e.type}`])
|
|
198
198
|
}, [
|
|
199
199
|
s("span", Pt, [
|
|
200
|
-
m(
|
|
200
|
+
m(L.$slots, "icon", {}, () => [
|
|
201
201
|
k(i(B[e.type]), 1)
|
|
202
202
|
])
|
|
203
203
|
]),
|
|
@@ -205,7 +205,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
205
205
|
id: y(h),
|
|
206
206
|
class: "oc-modal-title"
|
|
207
207
|
}, [
|
|
208
|
-
m(
|
|
208
|
+
m(L.$slots, "title", {}, () => [
|
|
209
209
|
k(i(e.title), 1)
|
|
210
210
|
])
|
|
211
211
|
], 8, Ft),
|
|
@@ -213,12 +213,12 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
213
213
|
id: b,
|
|
214
214
|
class: "oc-modal-body"
|
|
215
215
|
}, [
|
|
216
|
-
m(
|
|
216
|
+
m(L.$slots, "default", {}, () => [
|
|
217
217
|
k(i(e.message), 1)
|
|
218
218
|
])
|
|
219
219
|
]),
|
|
220
220
|
s("div", Et, [
|
|
221
|
-
m(
|
|
221
|
+
m(L.$slots, "footer", {
|
|
222
222
|
close: O,
|
|
223
223
|
confirm: w,
|
|
224
224
|
cancel: p
|
|
@@ -240,7 +240,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
240
240
|
}
|
|
241
241
|
}), Ht = ["href", "aria-current", "aria-disabled"], Rt = ["aria-current", "disabled", "onClick"], Nt = /* @__PURE__ */ f({
|
|
242
242
|
__name: "OcAlphaTabs",
|
|
243
|
-
props: /* @__PURE__ */
|
|
243
|
+
props: /* @__PURE__ */ x({
|
|
244
244
|
letters: { default: () => "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("") },
|
|
245
245
|
available: {},
|
|
246
246
|
href: {},
|
|
@@ -254,7 +254,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
254
254
|
}),
|
|
255
255
|
emits: ["update:modelValue"],
|
|
256
256
|
setup(e) {
|
|
257
|
-
const o = e, l =
|
|
257
|
+
const o = e, l = A(e, "modelValue"), c = T(() => [
|
|
258
258
|
{ key: "all", label: o.allLabel, all: !0 },
|
|
259
259
|
...o.letters.map((u) => ({ key: u, label: u, all: !1 }))
|
|
260
260
|
]), n = (u) => u !== "all" && o.available !== void 0 && !o.available.includes(u), r = (u) => o.href?.replace("{letter}", u);
|
|
@@ -289,7 +289,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
289
289
|
center: { type: Boolean }
|
|
290
290
|
},
|
|
291
291
|
setup(e) {
|
|
292
|
-
const o = ["square", "photo", "portrait", "wide"], l = e, c =
|
|
292
|
+
const o = ["square", "photo", "portrait", "wide"], l = e, c = T(() => typeof l.ratio == "string" && o.includes(l.ratio) ? l.ratio : void 0), n = T(() => l.ratio !== void 0 && !c.value ? String(l.ratio) : void 0);
|
|
293
293
|
return (r, u) => (t(), a("div", {
|
|
294
294
|
class: g(["oc-aspect", c.value && `oc-aspect--${c.value}`, e.center && "oc-aspect--center"]),
|
|
295
295
|
style: K(n.value ? { "--oc-aspect": n.value } : void 0)
|
|
@@ -348,7 +348,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
348
348
|
},
|
|
349
349
|
emits: ["remove"],
|
|
350
350
|
setup(e, { emit: o }) {
|
|
351
|
-
const l = e, c = o, n =
|
|
351
|
+
const l = e, c = o, n = T(() => ea(l)), r = T(() => l.state === "uploading"), u = T(() => !!l.href && !l.removable);
|
|
352
352
|
return (h, b) => (t(), j(W(u.value ? "a" : "div"), {
|
|
353
353
|
class: g(["oc-attachment", n.value.type && `oc-attachment--${n.value.type}`, e.state && `oc-attachment--${e.state}`]),
|
|
354
354
|
href: u.value ? e.href : void 0,
|
|
@@ -537,7 +537,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
537
537
|
}), $a = ["for"], ya = { class: "oc-input-group oc-input-group--affix" }, ga = ["id", "aria-invalid", "value"], ka = { class: "oc-barcode-preview-code" }, pa = /* @__PURE__ */ f({
|
|
538
538
|
inheritAttrs: !1,
|
|
539
539
|
__name: "OcBarcodeInput",
|
|
540
|
-
props: /* @__PURE__ */
|
|
540
|
+
props: /* @__PURE__ */ x({
|
|
541
541
|
label: {},
|
|
542
542
|
id: {},
|
|
543
543
|
emptyText: { default: "No code yet" },
|
|
@@ -548,7 +548,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
548
548
|
}),
|
|
549
549
|
emits: ["update:modelValue"],
|
|
550
550
|
setup(e) {
|
|
551
|
-
const o = e, l =
|
|
551
|
+
const o = e, l = A(e, "modelValue"), { root: c, control: n } = Y(), r = z("oc-barcode"), u = T(() => o.id ?? r);
|
|
552
552
|
function h(b) {
|
|
553
553
|
const B = b.target;
|
|
554
554
|
l.value = B.value;
|
|
@@ -691,7 +691,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
691
691
|
label: {}
|
|
692
692
|
},
|
|
693
693
|
setup(e) {
|
|
694
|
-
const o = e, l =
|
|
694
|
+
const o = e, l = T(() => Math.min(100, Math.max(0, Math.round(o.value / o.max * 100))));
|
|
695
695
|
return (c, n) => (t(), a("div", {
|
|
696
696
|
class: "oc-progress",
|
|
697
697
|
role: "progressbar",
|
|
@@ -708,7 +708,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
708
708
|
}
|
|
709
709
|
}), qa = ["id", "aria-labelledby", "aria-describedby"], Ia = ["aria-label"], Da = ["id"], Pa = ["id"], Fa = /* @__PURE__ */ f({
|
|
710
710
|
__name: "OcBusyOverlay",
|
|
711
|
-
props: /* @__PURE__ */
|
|
711
|
+
props: /* @__PURE__ */ x({
|
|
712
712
|
title: { default: "Saving…" },
|
|
713
713
|
text: { default: "The photos are being processed. This can take a minute; please keep this page open." },
|
|
714
714
|
progress: {},
|
|
@@ -720,7 +720,7 @@ const Dt = ["aria-labelledby"], Pt = {
|
|
|
720
720
|
}),
|
|
721
721
|
emits: ["update:open"],
|
|
722
722
|
setup(e) {
|
|
723
|
-
const o = e, l =
|
|
723
|
+
const o = e, l = A(e, "open"), c = U(null), { onClose: n } = re(l, c), r = z("oc-busy-overlay"), u = o.id ?? r;
|
|
724
724
|
return (h, b) => (t(), a("dialog", {
|
|
725
725
|
id: y(u),
|
|
726
726
|
ref_key: "el",
|
|
@@ -917,7 +917,7 @@ const to = {
|
|
|
917
917
|
label: { default: "Visitors per month" }
|
|
918
918
|
},
|
|
919
919
|
setup(e) {
|
|
920
|
-
const o = e, l = ["January", "February", "March", "April", "May", "June"], c =
|
|
920
|
+
const o = e, l = ["January", "February", "March", "April", "May", "June"], c = T(() => o.labels ?? l), n = T(() => o.xLabels ?? o.labels ?? l.map((v) => v.slice(0, 3))), r = T(() => o.max ?? Ya(Math.max(0, ...o.series.flatMap((v) => v.values)), o.rows)), u = T(() => Math.max(0, ...o.series.map((v) => v.values.length))), h = T(() => o.series.map((v) => eo(v.values, r.value))), b = T(() => Array.from({ length: o.rows + 1 }, (v, O) => r.value - r.value / o.rows * O)), B = (v) => `${c.value[v] ?? v + 1}: ${o.series.map((O) => `${O.name} ${O.values[v]}`).join(", ")}`;
|
|
921
921
|
return (v, O) => (t(), a("figure", {
|
|
922
922
|
class: g(["oc-chart-line", e.variant !== "line" && `oc-chart-line--${e.variant}`, e.dots && "oc-chart-line--dots"])
|
|
923
923
|
}, [
|
|
@@ -961,15 +961,15 @@ const to = {
|
|
|
961
961
|
tabindex: "0",
|
|
962
962
|
"aria-label": B(w - 1)
|
|
963
963
|
}, [
|
|
964
|
-
(t(!0), a($, null, _(e.series, (p,
|
|
965
|
-
key:
|
|
964
|
+
(t(!0), a($, null, _(e.series, (p, L) => (t(), a("i", {
|
|
965
|
+
key: L,
|
|
966
966
|
class: "oc-chart-line__dot",
|
|
967
967
|
style: K(`--y:${y(se)(p.values[w - 1] / r.value * 100)}%`)
|
|
968
968
|
}, null, 4))), 128)),
|
|
969
969
|
s("span", ho, [
|
|
970
970
|
s("strong", null, i(c.value[w - 1] ?? w), 1),
|
|
971
|
-
(t(!0), a($, null, _(e.series, (p,
|
|
972
|
-
key:
|
|
971
|
+
(t(!0), a($, null, _(e.series, (p, L) => (t(), a("span", {
|
|
972
|
+
key: L,
|
|
973
973
|
class: "oc-chart-line__row"
|
|
974
974
|
}, [
|
|
975
975
|
k(i(p.name), 1),
|
|
@@ -999,7 +999,7 @@ const to = {
|
|
|
999
999
|
class: "oc-chat-composer__hint"
|
|
1000
1000
|
}, wo = ["disabled"], Oo = /* @__PURE__ */ f({
|
|
1001
1001
|
__name: "OcChatComposer",
|
|
1002
|
-
props: /* @__PURE__ */
|
|
1002
|
+
props: /* @__PURE__ */ x({
|
|
1003
1003
|
placeholder: { default: "Write a message…" },
|
|
1004
1004
|
label: { default: "Message" },
|
|
1005
1005
|
hint: {},
|
|
@@ -1010,9 +1010,9 @@ const to = {
|
|
|
1010
1010
|
modelValue: { default: "" },
|
|
1011
1011
|
modelModifiers: {}
|
|
1012
1012
|
}),
|
|
1013
|
-
emits: /* @__PURE__ */
|
|
1013
|
+
emits: /* @__PURE__ */ x(["send"], ["update:modelValue"]),
|
|
1014
1014
|
setup(e, { emit: o }) {
|
|
1015
|
-
const l = e, c =
|
|
1015
|
+
const l = e, c = A(e, "modelValue"), n = o, r = z("oc-chat");
|
|
1016
1016
|
function u() {
|
|
1017
1017
|
!c.value.trim() || l.disabled || (n("send", c.value.trim()), c.value = "");
|
|
1018
1018
|
}
|
|
@@ -1056,7 +1056,7 @@ const to = {
|
|
|
1056
1056
|
}), _o = ["type", "value"], Bo = /* @__PURE__ */ f({
|
|
1057
1057
|
inheritAttrs: !1,
|
|
1058
1058
|
__name: "OcCheckbox",
|
|
1059
|
-
props: /* @__PURE__ */
|
|
1059
|
+
props: /* @__PURE__ */ x({
|
|
1060
1060
|
type: { default: "checkbox" },
|
|
1061
1061
|
value: {},
|
|
1062
1062
|
label: {}
|
|
@@ -1066,7 +1066,7 @@ const to = {
|
|
|
1066
1066
|
}),
|
|
1067
1067
|
emits: ["update:modelValue"],
|
|
1068
1068
|
setup(e) {
|
|
1069
|
-
const o =
|
|
1069
|
+
const o = A(e, "modelValue"), { root: l, control: c } = Y();
|
|
1070
1070
|
return (n, r) => (t(), a("label", _e(Be(y(l))), [
|
|
1071
1071
|
H(s("input", I(y(c), {
|
|
1072
1072
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => o.value = u),
|
|
@@ -1122,7 +1122,7 @@ const to = {
|
|
|
1122
1122
|
class: "oc-chip-filter-count"
|
|
1123
1123
|
}, zo = /* @__PURE__ */ f({
|
|
1124
1124
|
__name: "OcChipFilter",
|
|
1125
|
-
props: /* @__PURE__ */
|
|
1125
|
+
props: /* @__PURE__ */ x({
|
|
1126
1126
|
options: {},
|
|
1127
1127
|
multiple: { type: Boolean },
|
|
1128
1128
|
label: {},
|
|
@@ -1135,7 +1135,7 @@ const to = {
|
|
|
1135
1135
|
}),
|
|
1136
1136
|
emits: ["update:modelValue"],
|
|
1137
1137
|
setup(e) {
|
|
1138
|
-
const o = e, l =
|
|
1138
|
+
const o = e, l = A(e, "modelValue"), c = z("oc-chip"), n = (u) => Array.isArray(l.value) ? l.value.includes(u) : l.value === u;
|
|
1139
1139
|
function r(u) {
|
|
1140
1140
|
if (!o.multiple) {
|
|
1141
1141
|
l.value = u;
|
|
@@ -1168,7 +1168,7 @@ const to = {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
}), qo = ["open"], Io = { class: "oc-collapsible-title" }, Do = { class: "oc-collapsible-content" }, Po = /* @__PURE__ */ f({
|
|
1170
1170
|
__name: "OcCollapsible",
|
|
1171
|
-
props: /* @__PURE__ */
|
|
1171
|
+
props: /* @__PURE__ */ x({
|
|
1172
1172
|
title: {},
|
|
1173
1173
|
dense: { type: Boolean }
|
|
1174
1174
|
}, {
|
|
@@ -1177,7 +1177,7 @@ const to = {
|
|
|
1177
1177
|
}),
|
|
1178
1178
|
emits: ["update:open"],
|
|
1179
1179
|
setup(e) {
|
|
1180
|
-
const o =
|
|
1180
|
+
const o = A(e, "open");
|
|
1181
1181
|
function l(c) {
|
|
1182
1182
|
o.value = c.target.open;
|
|
1183
1183
|
}
|
|
@@ -1201,7 +1201,7 @@ const to = {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
}), Fo = { class: "oc-color-field" }, Eo = ["aria-label"], jo = ["aria-label"], Ho = /* @__PURE__ */ f({
|
|
1203
1203
|
__name: "OcColorField",
|
|
1204
|
-
props: /* @__PURE__ */
|
|
1204
|
+
props: /* @__PURE__ */ x({
|
|
1205
1205
|
pickerLabel: { default: "Pick a color" },
|
|
1206
1206
|
valueLabel: { default: "Color value" }
|
|
1207
1207
|
}, {
|
|
@@ -1210,7 +1210,7 @@ const to = {
|
|
|
1210
1210
|
}),
|
|
1211
1211
|
emits: ["update:modelValue"],
|
|
1212
1212
|
setup(e) {
|
|
1213
|
-
const o =
|
|
1213
|
+
const o = A(e, "modelValue");
|
|
1214
1214
|
return (l, c) => (t(), a("div", Fo, [
|
|
1215
1215
|
H(s("input", {
|
|
1216
1216
|
"onUpdate:modelValue": c[0] || (c[0] = (n) => o.value = n),
|
|
@@ -1231,7 +1231,7 @@ const to = {
|
|
|
1231
1231
|
}
|
|
1232
1232
|
}), Ro = ["aria-label"], No = ["name", "value", "disabled"], Go = { class: "oc-color-select-name" }, Ko = /* @__PURE__ */ f({
|
|
1233
1233
|
__name: "OcColorSelect",
|
|
1234
|
-
props: /* @__PURE__ */
|
|
1234
|
+
props: /* @__PURE__ */ x({
|
|
1235
1235
|
options: {},
|
|
1236
1236
|
label: {},
|
|
1237
1237
|
list: { type: Boolean },
|
|
@@ -1243,7 +1243,7 @@ const to = {
|
|
|
1243
1243
|
}),
|
|
1244
1244
|
emits: ["update:modelValue"],
|
|
1245
1245
|
setup(e) {
|
|
1246
|
-
const o =
|
|
1246
|
+
const o = A(e, "modelValue"), l = z("oc-color");
|
|
1247
1247
|
return (c, n) => (t(), a("fieldset", {
|
|
1248
1248
|
class: g(["oc-color-select", e.list && "oc-color-select--list", e.size === "sm" && "oc-color-select--sm"]),
|
|
1249
1249
|
role: "radiogroup",
|
|
@@ -1340,7 +1340,7 @@ const to = {
|
|
|
1340
1340
|
class: "oc-command-shortcut"
|
|
1341
1341
|
}, ds = ["hidden"], us = /* @__PURE__ */ f({
|
|
1342
1342
|
__name: "OcCommand",
|
|
1343
|
-
props: /* @__PURE__ */
|
|
1343
|
+
props: /* @__PURE__ */ x({
|
|
1344
1344
|
items: {},
|
|
1345
1345
|
placeholder: { default: "Type a command or search..." },
|
|
1346
1346
|
label: { default: "Search commands" },
|
|
@@ -1349,30 +1349,30 @@ const to = {
|
|
|
1349
1349
|
query: { default: "" },
|
|
1350
1350
|
queryModifiers: {}
|
|
1351
1351
|
}),
|
|
1352
|
-
emits: /* @__PURE__ */
|
|
1352
|
+
emits: /* @__PURE__ */ x(["select"], ["update:query"]),
|
|
1353
1353
|
setup(e, { emit: o }) {
|
|
1354
|
-
const l = e, c = o, n =
|
|
1354
|
+
const l = e, c = o, n = A(e, "query"), r = T(() => {
|
|
1355
1355
|
const p = n.value.trim().toLowerCase();
|
|
1356
|
-
return p ? l.items.filter((
|
|
1357
|
-
}), u =
|
|
1358
|
-
const p = [],
|
|
1359
|
-
for (const
|
|
1360
|
-
const
|
|
1361
|
-
|
|
1356
|
+
return p ? l.items.filter((L) => L.label.toLowerCase().includes(p)) : l.items;
|
|
1357
|
+
}), u = T(() => {
|
|
1358
|
+
const p = [], L = /* @__PURE__ */ new Map();
|
|
1359
|
+
for (const V of r.value) {
|
|
1360
|
+
const D = V.group ?? "";
|
|
1361
|
+
L.has(D) || (L.set(D, []), p.push(D)), L.get(D).push(V);
|
|
1362
1362
|
}
|
|
1363
|
-
return p.map((
|
|
1364
|
-
}), h =
|
|
1365
|
-
function B(p = 0,
|
|
1366
|
-
const
|
|
1367
|
-
for (let
|
|
1363
|
+
return p.map((V) => ({ label: V, items: L.get(V) }));
|
|
1364
|
+
}), h = T(() => u.value.flatMap((p) => p.items)), b = U(0);
|
|
1365
|
+
function B(p = 0, L = 1) {
|
|
1366
|
+
const V = h.value;
|
|
1367
|
+
for (let D = p; D >= 0 && D < V.length; D += L) if (!V[D].disabled) return D;
|
|
1368
1368
|
return -1;
|
|
1369
1369
|
}
|
|
1370
1370
|
ne(h, () => {
|
|
1371
1371
|
b.value = Math.max(B(), 0);
|
|
1372
1372
|
});
|
|
1373
1373
|
function v(p) {
|
|
1374
|
-
const
|
|
1375
|
-
|
|
1374
|
+
const L = B(b.value + p, p);
|
|
1375
|
+
L !== -1 && (b.value = L);
|
|
1376
1376
|
}
|
|
1377
1377
|
function O(p) {
|
|
1378
1378
|
p.disabled || c("select", p);
|
|
@@ -1383,13 +1383,13 @@ const to = {
|
|
|
1383
1383
|
else if (p.key === "ArrowUp")
|
|
1384
1384
|
p.preventDefault(), v(-1);
|
|
1385
1385
|
else if (p.key === "Enter") {
|
|
1386
|
-
const
|
|
1387
|
-
|
|
1386
|
+
const L = h.value[b.value];
|
|
1387
|
+
L && (p.preventDefault(), O(L));
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
|
-
return (p,
|
|
1390
|
+
return (p, L) => (t(), a("div", os, [
|
|
1391
1391
|
H(s("input", {
|
|
1392
|
-
"onUpdate:modelValue":
|
|
1392
|
+
"onUpdate:modelValue": L[0] || (L[0] = (V) => n.value = V),
|
|
1393
1393
|
class: "oc-command-input",
|
|
1394
1394
|
type: "search",
|
|
1395
1395
|
placeholder: e.placeholder,
|
|
@@ -1399,12 +1399,12 @@ const to = {
|
|
|
1399
1399
|
[le, n.value]
|
|
1400
1400
|
]),
|
|
1401
1401
|
s("ul", ls, [
|
|
1402
|
-
(t(!0), a($, null, _(u.value, (
|
|
1403
|
-
key:
|
|
1402
|
+
(t(!0), a($, null, _(u.value, (V, D) => (t(), a($, {
|
|
1403
|
+
key: V.label + D
|
|
1404
1404
|
}, [
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
(t(!0), a($, null, _(
|
|
1405
|
+
D > 0 ? (t(), a("li", cs)) : d("", !0),
|
|
1406
|
+
V.label ? (t(), a("li", ns, i(V.label), 1)) : d("", !0),
|
|
1407
|
+
(t(!0), a($, null, _(V.items, (X) => (t(), a("li", {
|
|
1408
1408
|
key: X.value ?? X.label,
|
|
1409
1409
|
class: "oc-command-item",
|
|
1410
1410
|
role: "option",
|
|
@@ -1432,7 +1432,7 @@ const to = {
|
|
|
1432
1432
|
class: "oc-alert-dialog-typed"
|
|
1433
1433
|
}, $s = ["pattern"], ys = { class: "oc-modal-footer" }, gs = /* @__PURE__ */ f({
|
|
1434
1434
|
__name: "OcConfirmDialog",
|
|
1435
|
-
props: /* @__PURE__ */
|
|
1435
|
+
props: /* @__PURE__ */ x({
|
|
1436
1436
|
type: { default: "error" },
|
|
1437
1437
|
title: {},
|
|
1438
1438
|
message: {},
|
|
@@ -1445,9 +1445,9 @@ const to = {
|
|
|
1445
1445
|
open: { type: Boolean, default: !1 },
|
|
1446
1446
|
openModifiers: {}
|
|
1447
1447
|
}),
|
|
1448
|
-
emits: /* @__PURE__ */
|
|
1448
|
+
emits: /* @__PURE__ */ x(["confirm", "cancel", "discard"], ["update:open"]),
|
|
1449
1449
|
setup(e, { emit: o }) {
|
|
1450
|
-
const l = e, c = o, n =
|
|
1450
|
+
const l = e, c = o, n = A(e, "open"), r = U(null), { onClose: u } = re(n, r), h = z("oc-confirm-dialog-title"), b = `${h}-text`, B = { success: "✓", error: "×", warning: "!", info: "i", question: "?" };
|
|
1451
1451
|
function v(w) {
|
|
1452
1452
|
c(w === "confirm" ? "confirm" : w === "cancel" ? "cancel" : "discard"), n.value = !1;
|
|
1453
1453
|
}
|
|
@@ -1460,7 +1460,7 @@ const to = {
|
|
|
1460
1460
|
"aria-labelledby": y(h),
|
|
1461
1461
|
"aria-describedby": b,
|
|
1462
1462
|
onClose: p[4] || (p[4] = //@ts-ignore
|
|
1463
|
-
(...
|
|
1463
|
+
(...L) => y(u) && y(u)(...L))
|
|
1464
1464
|
}, [
|
|
1465
1465
|
s("div", {
|
|
1466
1466
|
class: g(["oc-modal-content", "oc-alert-dialog", `oc-alert-dialog--${e.type}`, "oc-alert-dialog--confirm"])
|
|
@@ -1469,7 +1469,7 @@ const to = {
|
|
|
1469
1469
|
class: "oc-alert-dialog-close",
|
|
1470
1470
|
type: "button",
|
|
1471
1471
|
"aria-label": e.closeLabel,
|
|
1472
|
-
onClick: p[0] || (p[0] = (
|
|
1472
|
+
onClick: p[0] || (p[0] = (L) => v("cancel"))
|
|
1473
1473
|
}, "×", 8, hs),
|
|
1474
1474
|
s("span", bs, [
|
|
1475
1475
|
m(w.$slots, "icon", {}, () => [
|
|
@@ -1486,7 +1486,7 @@ const to = {
|
|
|
1486
1486
|
], 8, fs),
|
|
1487
1487
|
s("form", {
|
|
1488
1488
|
class: "oc-alert-dialog-form",
|
|
1489
|
-
onSubmit: p[3] || (p[3] = Oe((
|
|
1489
|
+
onSubmit: p[3] || (p[3] = Oe((L) => v("confirm"), ["prevent"]))
|
|
1490
1490
|
}, [
|
|
1491
1491
|
s("div", {
|
|
1492
1492
|
id: b,
|
|
@@ -1515,12 +1515,12 @@ const to = {
|
|
|
1515
1515
|
key: 0,
|
|
1516
1516
|
class: "oc-btn oc-btn--ghost oc-alert-dialog-discard",
|
|
1517
1517
|
type: "button",
|
|
1518
|
-
onClick: p[1] || (p[1] = (
|
|
1518
|
+
onClick: p[1] || (p[1] = (L) => v("discard"))
|
|
1519
1519
|
}, i(e.discardLabel), 1)) : d("", !0),
|
|
1520
1520
|
s("button", {
|
|
1521
1521
|
class: "oc-btn oc-btn--outline",
|
|
1522
1522
|
type: "button",
|
|
1523
|
-
onClick: p[2] || (p[2] = (
|
|
1523
|
+
onClick: p[2] || (p[2] = (L) => v("cancel"))
|
|
1524
1524
|
}, i(e.cancelLabel), 1),
|
|
1525
1525
|
s("button", {
|
|
1526
1526
|
class: g(["oc-btn", O() && "oc-btn--destructive", "oc-alert-dialog-confirm"]),
|
|
@@ -1698,7 +1698,7 @@ const to = {
|
|
|
1698
1698
|
onView: { type: Boolean, default: !0 }
|
|
1699
1699
|
},
|
|
1700
1700
|
setup(e) {
|
|
1701
|
-
const o = e, l =
|
|
1701
|
+
const o = e, l = T(() => {
|
|
1702
1702
|
const c = { "--oc-counter-to": String(o.to) };
|
|
1703
1703
|
return o.suffix && (c["--oc-counter-suffix"] = `'${o.suffix}'`), c;
|
|
1704
1704
|
});
|
|
@@ -1764,8 +1764,8 @@ function Xe(e) {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
const l = e.querySelector("table"), c = l?.tBodies[0];
|
|
1766
1766
|
if (!l || !c) return;
|
|
1767
|
-
const n = e.id || "data-table", r = e.querySelector(".oc-data-table-search"), u = e.querySelector("[data-oc-summary]"), h = e.querySelector("[data-oc-pager]"), b = e.querySelector("[data-oc-page-size]"), B = e.querySelector("[data-oc-select-all]"), v = e.querySelector(".oc-data-table-bulk"), O = e.querySelector("[data-oc-selected-count]"), w = e.querySelector(".oc-data-table-empty"), p = e.querySelector("[data-oc-sort-summary]"),
|
|
1768
|
-
let
|
|
1767
|
+
const n = e.id || "data-table", r = e.querySelector(".oc-data-table-search"), u = e.querySelector("[data-oc-summary]"), h = e.querySelector("[data-oc-pager]"), b = e.querySelector("[data-oc-page-size]"), B = e.querySelector("[data-oc-select-all]"), v = e.querySelector(".oc-data-table-bulk"), O = e.querySelector("[data-oc-selected-count]"), w = e.querySelector(".oc-data-table-empty"), p = e.querySelector("[data-oc-sort-summary]"), L = e.querySelector(".oc-data-table-frame") || l.parentElement, V = e.dataset.ocLive === "true";
|
|
1768
|
+
let D = "", X = e.querySelector("[data-oc-filter][aria-current='true']")?.dataset.ocFilter || (e.querySelector("[data-oc-filter]") ? "active" : "all"), ee = "", de = "asc", te = 0, ae = Number(b?.value || e.dataset.pageSize || 15);
|
|
1769
1769
|
const Z = /* @__PURE__ */ new Set(), fe = he(n, "pageSize");
|
|
1770
1770
|
fe && b?.querySelector(`option[value="${fe}"]`) && (b.value = String(fe), ae = Number(fe)), he(n, "density") === "compact" && e.classList.add("oc-data-table--compact"), he(n, "view") === "grid" && e.classList.add("oc-data-table--grid");
|
|
1771
1771
|
const Pe = he(n, "widths") || {};
|
|
@@ -1776,108 +1776,108 @@ function Xe(e) {
|
|
|
1776
1776
|
!C.disabled && Fe[C.dataset.col] != null && (C.checked = Fe[C.dataset.col]);
|
|
1777
1777
|
});
|
|
1778
1778
|
const ce = () => [...c.querySelectorAll("[data-oc-row]")], ut = (C) => [...C.cells].filter((S) => S.dataset.ocCol && !Me.has(S.dataset.ocCol)).map((S) => S.dataset.ocValue || S.textContent).join(" "), Le = (C, S) => {
|
|
1779
|
-
const
|
|
1780
|
-
return
|
|
1781
|
-
}, ve = () => ce().filter((C) => js(C.dataset.ocStatus, X, ut(C),
|
|
1779
|
+
const M = [...C.cells].find((q) => q.dataset.ocCol === S);
|
|
1780
|
+
return M ? M.dataset.ocValue || M.textContent.trim() : "";
|
|
1781
|
+
}, ve = () => ce().filter((C) => js(C.dataset.ocStatus, X, ut(C), D));
|
|
1782
1782
|
function $e() {
|
|
1783
|
-
for (const
|
|
1784
|
-
const q = Z.has(
|
|
1785
|
-
|
|
1786
|
-
const E =
|
|
1783
|
+
for (const M of ce()) {
|
|
1784
|
+
const q = Z.has(M.dataset.ocKey);
|
|
1785
|
+
M.setAttribute("aria-selected", q ? "true" : "false");
|
|
1786
|
+
const E = M.querySelector("[data-oc-select]");
|
|
1787
1787
|
E && (E.checked = q);
|
|
1788
1788
|
}
|
|
1789
|
-
const C = ve().map((
|
|
1789
|
+
const C = ve().map((M) => M.dataset.ocKey), S = C.filter((M) => Z.has(M)).length;
|
|
1790
1790
|
B && (B.checked = C.length > 0 && S === C.length, B.indeterminate = S > 0 && S < C.length), O && (O.textContent = Z.size === 1 ? "1 selected" : `${Z.size} selected`), v && (v.hidden = Z.size === 0);
|
|
1791
1791
|
}
|
|
1792
1792
|
function mt(C, S) {
|
|
1793
1793
|
if (!h || (h.replaceChildren(), S <= 1)) return;
|
|
1794
|
-
const
|
|
1794
|
+
const M = (q, E, P) => {
|
|
1795
1795
|
const R = document.createElement("button");
|
|
1796
|
-
R.type = "button", R.className = "oc-data-table-page", R.textContent = q, R.dataset.ocPage = String(E),
|
|
1796
|
+
R.type = "button", R.className = "oc-data-table-page", R.textContent = q, R.dataset.ocPage = String(E), P?.current && R.setAttribute("aria-current", "page"), P?.disabled && (R.disabled = !0), P?.label && R.setAttribute("aria-label", P.label), h.append(R);
|
|
1797
1797
|
};
|
|
1798
|
-
|
|
1798
|
+
M("«", 1, { disabled: C === 1, label: "First page" }), M("‹", C - 1, { disabled: C === 1, label: "Previous page" });
|
|
1799
1799
|
for (const q of Ds(C, S))
|
|
1800
1800
|
if (q === "…") {
|
|
1801
1801
|
const E = document.createElement("span");
|
|
1802
1802
|
E.className = "oc-data-table-ellipsis", E.textContent = "…", h.append(E);
|
|
1803
|
-
} else
|
|
1804
|
-
|
|
1803
|
+
} else M(String(q), q, { current: q === C });
|
|
1804
|
+
M("›", C + 1, { disabled: C === S, label: "Next page" }), M("»", S, { disabled: C === S, label: "Last page" });
|
|
1805
1805
|
}
|
|
1806
1806
|
function ht(C) {
|
|
1807
1807
|
let S = e.querySelector(".oc-data-table-grid");
|
|
1808
|
-
if (!S &&
|
|
1809
|
-
const
|
|
1808
|
+
if (!S && L && (S = document.createElement("div"), S.className = "oc-data-table-grid", L.append(S)), !S) return;
|
|
1809
|
+
const M = new Set(C.map((q) => q.dataset.ocKey));
|
|
1810
1810
|
S.replaceChildren();
|
|
1811
1811
|
for (const q of ce()) {
|
|
1812
|
-
if (!
|
|
1812
|
+
if (!M.has(q.dataset.ocKey)) continue;
|
|
1813
1813
|
const E = document.createElement("article");
|
|
1814
1814
|
E.className = "oc-data-table-card", E.dataset.ocKey = q.dataset.ocKey;
|
|
1815
|
-
const
|
|
1816
|
-
|
|
1815
|
+
const P = document.createElement("h3");
|
|
1816
|
+
P.className = "oc-data-table-card-title";
|
|
1817
1817
|
const R = [...q.cells].find((J) => J.dataset.ocCol === "name") || [...q.cells].find((J) => J.dataset.ocCol && !Me.has(J.dataset.ocCol));
|
|
1818
|
-
|
|
1818
|
+
P.textContent = R ? R.textContent.trim() : q.dataset.ocKey, E.append(P), S.append(E);
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
1821
|
function oe() {
|
|
1822
1822
|
const C = ce(), S = ve();
|
|
1823
1823
|
if (ee) {
|
|
1824
|
-
const
|
|
1824
|
+
const P = [...l.tHead.rows[0].cells].find((G) => G.dataset.ocCol === ee), R = P?.dataset.ocSort === "numeric" || P?.hasAttribute("data-numeric"), J = de === "desc" ? -1 : 1;
|
|
1825
1825
|
S.sort((G, ft) => J * Ps(Le(G, ee), Le(ft, ee), R));
|
|
1826
1826
|
const F = C.filter((G) => !S.includes(G));
|
|
1827
1827
|
for (const G of [...S, ...F]) c.append(G);
|
|
1828
1828
|
}
|
|
1829
|
-
const
|
|
1830
|
-
te >
|
|
1829
|
+
const M = ae > 0 ? Math.max(1, Math.ceil(S.length / ae)) : 1;
|
|
1830
|
+
te > M - 1 && (te = Math.max(0, M - 1));
|
|
1831
1831
|
const q = ae > 0 ? te * ae : 0, E = new Set(ae > 0 ? S.slice(q, q + ae) : S);
|
|
1832
|
-
for (const
|
|
1832
|
+
for (const P of C) P.hidden = !E.has(P);
|
|
1833
1833
|
if (w && (w.hidden = S.length !== 0), u && (u.textContent = S.length === 0 ? "Showing 0 of 0" : `Showing ${q + 1}–${q + E.size} of ${S.length}`), p) {
|
|
1834
|
-
const
|
|
1835
|
-
p.textContent =
|
|
1834
|
+
const P = ee ? l.querySelector(`th[data-oc-col="${ee}"] .oc-table-sort`)?.textContent?.trim() : "";
|
|
1835
|
+
p.textContent = P ? `Sorted by ${P}, ${de === "asc" ? "ascending" : "descending"}` : "";
|
|
1836
1836
|
}
|
|
1837
|
-
mt(te + 1, S.length === 0 ? 1 :
|
|
1837
|
+
mt(te + 1, S.length === 0 ? 1 : M), ht([...E]), $e();
|
|
1838
1838
|
}
|
|
1839
1839
|
function Ee(C) {
|
|
1840
|
-
const S = new Set([...e.querySelectorAll("[data-col]:not(:checked)")].map((
|
|
1841
|
-
Hs(`${n}.csv`, Es(
|
|
1840
|
+
const S = new Set([...e.querySelectorAll("[data-col]:not(:checked)")].map((P) => P.dataset.col)), M = [...l.tHead.rows[0].cells].filter((P, R) => P.dataset.ocCol && !Me.has(P.dataset.ocCol) && !S.has(String(R + 1))), E = (C ? ce().filter((P) => C.has(P.dataset.ocKey)) : ve()).map((P) => M.map((R) => Le(P, R.dataset.ocCol)));
|
|
1841
|
+
Hs(`${n}.csv`, Es(M.map((P) => P.textContent.trim()), E));
|
|
1842
1842
|
}
|
|
1843
1843
|
function ye(C, S) {
|
|
1844
1844
|
e.dispatchEvent(new CustomEvent(C, { bubbles: !0, detail: S }));
|
|
1845
1845
|
}
|
|
1846
1846
|
function bt(C) {
|
|
1847
|
-
if (!
|
|
1847
|
+
if (!V) return !1;
|
|
1848
1848
|
for (const S of Z) {
|
|
1849
|
-
const
|
|
1850
|
-
if (
|
|
1851
|
-
const q =
|
|
1852
|
-
q.dataset.ocKey = `${S}-copy`, c.insertBefore(q,
|
|
1849
|
+
const M = c.querySelector(`[data-oc-key="${CSS.escape(S)}"]`);
|
|
1850
|
+
if (M && (C === "archive" && (M.dataset.ocStatus || "active") === "active" && (M.dataset.ocStatus = "deleted"), C === "restore" && M.dataset.ocStatus === "deleted" && (M.dataset.ocStatus = "active"), C === "delete" && M.remove(), C === "duplicate" && (M.dataset.ocStatus || "active") === "active")) {
|
|
1851
|
+
const q = M.cloneNode(!0);
|
|
1852
|
+
q.dataset.ocKey = `${S}-copy`, c.insertBefore(q, M.nextSibling);
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
1855
|
return Z.clear(), oe(), !0;
|
|
1856
1856
|
}
|
|
1857
1857
|
e.addEventListener("input", (C) => {
|
|
1858
1858
|
const S = C.target;
|
|
1859
|
-
S === r && (
|
|
1859
|
+
S === r && (D = S.value.trim().toLowerCase(), te = 0, oe());
|
|
1860
1860
|
}), e.addEventListener("change", (C) => {
|
|
1861
1861
|
const S = C.target;
|
|
1862
1862
|
if (S === b && (ae = Number(S.value) || 0, te = 0, me(n, "pageSize", ae), oe()), S.matches?.("[data-col]")) {
|
|
1863
|
-
const
|
|
1863
|
+
const M = {};
|
|
1864
1864
|
e.querySelectorAll("[data-col]").forEach((q) => {
|
|
1865
|
-
|
|
1866
|
-
}), me(n, "cols",
|
|
1865
|
+
M[q.dataset.col] = q.checked;
|
|
1866
|
+
}), me(n, "cols", M);
|
|
1867
1867
|
}
|
|
1868
1868
|
if (S.matches?.("[data-oc-select]")) {
|
|
1869
|
-
const
|
|
1870
|
-
if (!
|
|
1871
|
-
S.checked ? Z.add(
|
|
1869
|
+
const M = S.closest("[data-oc-row]");
|
|
1870
|
+
if (!M || M.dataset.ocSelectable === "false") return;
|
|
1871
|
+
S.checked ? Z.add(M.dataset.ocKey) : Z.delete(M.dataset.ocKey), $e();
|
|
1872
1872
|
}
|
|
1873
1873
|
if (S === B) {
|
|
1874
|
-
for (const
|
|
1875
|
-
|
|
1874
|
+
for (const M of ve())
|
|
1875
|
+
M.dataset.ocSelectable !== "false" && (S.checked ? Z.add(M.dataset.ocKey) : Z.delete(M.dataset.ocKey));
|
|
1876
1876
|
$e();
|
|
1877
1877
|
}
|
|
1878
1878
|
if (S.matches?.("[data-oc-file]")) {
|
|
1879
|
-
const
|
|
1880
|
-
|
|
1879
|
+
const M = S.files?.[0];
|
|
1880
|
+
M && ye("oc-datatable-import", { file: M }), S.value = "";
|
|
1881
1881
|
}
|
|
1882
1882
|
}), e.addEventListener("keydown", (C) => {
|
|
1883
1883
|
C.key === "Enter" && C.target === r && ye("oc-datatable-search", { query: r.value });
|
|
@@ -1891,10 +1891,10 @@ function Xe(e) {
|
|
|
1891
1891
|
F.setAttribute("aria-sort", de === "asc" ? "ascending" : "descending"), te = 0, oe();
|
|
1892
1892
|
return;
|
|
1893
1893
|
}
|
|
1894
|
-
const
|
|
1895
|
-
if (
|
|
1896
|
-
X =
|
|
1897
|
-
F ===
|
|
1894
|
+
const M = C.target.closest("[data-oc-filter]");
|
|
1895
|
+
if (M && e.contains(M)) {
|
|
1896
|
+
X = M.dataset.ocFilter, te = 0, e.querySelectorAll("[data-oc-filter]").forEach((F) => {
|
|
1897
|
+
F === M ? F.setAttribute("aria-current", "true") : F.removeAttribute("aria-current");
|
|
1898
1898
|
}), oe();
|
|
1899
1899
|
return;
|
|
1900
1900
|
}
|
|
@@ -1912,9 +1912,9 @@ function Xe(e) {
|
|
|
1912
1912
|
e.classList.toggle("oc-data-table--compact", F), me(n, "density", F ? "compact" : "comfortable");
|
|
1913
1913
|
return;
|
|
1914
1914
|
}
|
|
1915
|
-
const
|
|
1916
|
-
if (
|
|
1917
|
-
te = Number(
|
|
1915
|
+
const P = C.target.closest("[data-oc-page]");
|
|
1916
|
+
if (P && e.contains(P) && !P.disabled) {
|
|
1917
|
+
te = Number(P.dataset.ocPage) - 1, oe();
|
|
1918
1918
|
return;
|
|
1919
1919
|
}
|
|
1920
1920
|
if (C.target.closest("[data-oc-export]")) {
|
|
@@ -1950,14 +1950,14 @@ function Xe(e) {
|
|
|
1950
1950
|
}), e.addEventListener("pointerdown", (C) => {
|
|
1951
1951
|
const S = C.target.closest(".oc-data-table-resize");
|
|
1952
1952
|
if (!S || !e.contains(S)) return;
|
|
1953
|
-
const
|
|
1954
|
-
if (!
|
|
1953
|
+
const M = S.closest("th");
|
|
1954
|
+
if (!M) return;
|
|
1955
1955
|
C.preventDefault();
|
|
1956
|
-
const q = C.clientX, E =
|
|
1956
|
+
const q = C.clientX, E = M.getBoundingClientRect().width, P = Number(M.dataset.ocMin || 64);
|
|
1957
1957
|
e.classList.add("is-resizing"), l.classList.add("oc-data-table-table--sized");
|
|
1958
1958
|
const R = (F) => {
|
|
1959
|
-
const G = Math.max(
|
|
1960
|
-
|
|
1959
|
+
const G = Math.max(P, Math.round(E + F.clientX - q));
|
|
1960
|
+
M.style.width = `${G}px`;
|
|
1961
1961
|
}, J = () => {
|
|
1962
1962
|
e.classList.remove("is-resizing"), window.removeEventListener("pointermove", R), window.removeEventListener("pointerup", J);
|
|
1963
1963
|
const F = {};
|
|
@@ -1968,8 +1968,8 @@ function Xe(e) {
|
|
|
1968
1968
|
});
|
|
1969
1969
|
let ue = "";
|
|
1970
1970
|
e.addEventListener("pointerdown", (C) => {
|
|
1971
|
-
const
|
|
1972
|
-
|
|
1971
|
+
const M = C.target.closest(".oc-sortable-row-grip")?.closest("[data-oc-row]");
|
|
1972
|
+
M && e.contains(M) && (M.draggable = !0);
|
|
1973
1973
|
}), e.addEventListener("dragstart", (C) => {
|
|
1974
1974
|
const S = C.target.closest?.("[data-oc-row]");
|
|
1975
1975
|
S?.draggable && (ue = S.dataset.ocKey, S.classList.add("is-dragging", "oc-sortable-row"), C.dataTransfer.effectAllowed = "move");
|
|
@@ -1977,11 +1977,11 @@ function Xe(e) {
|
|
|
1977
1977
|
const S = C.target.closest?.("[data-oc-row]");
|
|
1978
1978
|
if (!S || !ue || S.dataset.ocKey === ue) return;
|
|
1979
1979
|
C.preventDefault();
|
|
1980
|
-
const
|
|
1980
|
+
const M = S.getBoundingClientRect(), q = C.clientY > M.top + M.height / 2;
|
|
1981
1981
|
c.querySelectorAll(".is-drop-before, .is-drop-after").forEach((E) => E.classList.remove("is-drop-before", "is-drop-after")), S.classList.add("oc-sortable-row", q ? "is-drop-after" : "is-drop-before");
|
|
1982
1982
|
}), e.addEventListener("drop", (C) => {
|
|
1983
|
-
const S = C.target.closest?.("[data-oc-row]"),
|
|
1984
|
-
!S || !
|
|
1983
|
+
const S = C.target.closest?.("[data-oc-row]"), M = ue ? c.querySelector(`[data-oc-key="${CSS.escape(ue)}"]`) : null;
|
|
1984
|
+
!S || !M || S === M || (C.preventDefault(), c.insertBefore(M, S.classList.contains("is-drop-after") ? S.nextSibling : S), ye("oc-datatable-reorder", { keys: ce().map((q) => q.dataset.ocKey) }), oe());
|
|
1985
1985
|
}), e.addEventListener("dragend", () => {
|
|
1986
1986
|
ue = "";
|
|
1987
1987
|
for (const C of ce())
|
|
@@ -2267,7 +2267,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2267
2267
|
}, Bl = ["aria-invalid", "value"], Cl = { class: "oc-decimal-field-unit" }, Sl = ["aria-invalid", "value"], Ll = /* @__PURE__ */ f({
|
|
2268
2268
|
inheritAttrs: !1,
|
|
2269
2269
|
__name: "OcDecimalInput",
|
|
2270
|
-
props: /* @__PURE__ */
|
|
2270
|
+
props: /* @__PURE__ */ x({
|
|
2271
2271
|
locale: { default: "nl-BE" },
|
|
2272
2272
|
decimals: { default: 2 },
|
|
2273
2273
|
unit: {},
|
|
@@ -2279,14 +2279,14 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2279
2279
|
}),
|
|
2280
2280
|
emits: ["update:modelValue"],
|
|
2281
2281
|
setup(e) {
|
|
2282
|
-
const o = e, l =
|
|
2282
|
+
const o = e, l = A(e, "modelValue");
|
|
2283
2283
|
function c() {
|
|
2284
2284
|
const v = new Intl.NumberFormat(o.locale).formatToParts(1234.5);
|
|
2285
2285
|
return { group: v.find((O) => O.type === "group")?.value ?? ",", decimal: v.find((O) => O.type === "decimal")?.value ?? "." };
|
|
2286
2286
|
}
|
|
2287
2287
|
function n(v) {
|
|
2288
|
-
const { group: O, decimal: w } = c(), p = v.trim().split(O).join("").replace(w, ".").replace(/\s/g, ""),
|
|
2289
|
-
return p && Number.isFinite(
|
|
2288
|
+
const { group: O, decimal: w } = c(), p = v.trim().split(O).join("").replace(w, ".").replace(/\s/g, ""), L = Number(p);
|
|
2289
|
+
return p && Number.isFinite(L) ? L : null;
|
|
2290
2290
|
}
|
|
2291
2291
|
function r(v) {
|
|
2292
2292
|
return v == null ? "" : new Intl.NumberFormat(o.locale, { minimumFractionDigits: o.decimals, maximumFractionDigits: o.decimals }).format(v);
|
|
@@ -2574,7 +2574,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2574
2574
|
}, gc = /* @__PURE__ */ f({
|
|
2575
2575
|
inheritAttrs: !1,
|
|
2576
2576
|
__name: "OcDropzone",
|
|
2577
|
-
props: /* @__PURE__ */
|
|
2577
|
+
props: /* @__PURE__ */ x({
|
|
2578
2578
|
accept: {},
|
|
2579
2579
|
multiple: { type: Boolean },
|
|
2580
2580
|
disabled: { type: Boolean },
|
|
@@ -2585,7 +2585,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2585
2585
|
}),
|
|
2586
2586
|
emits: ["update:modelValue"],
|
|
2587
2587
|
setup(e) {
|
|
2588
|
-
const o =
|
|
2588
|
+
const o = A(e, "modelValue"), { root: l, control: c } = Y(), n = U(!1);
|
|
2589
2589
|
function r(h) {
|
|
2590
2590
|
o.value = Array.from(h.target.files ?? []);
|
|
2591
2591
|
}
|
|
@@ -2810,7 +2810,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2810
2810
|
class: "oc-filter-counts-hint"
|
|
2811
2811
|
}, Wc = /* @__PURE__ */ f({
|
|
2812
2812
|
__name: "OcFilterCounts",
|
|
2813
|
-
props: /* @__PURE__ */
|
|
2813
|
+
props: /* @__PURE__ */ x({
|
|
2814
2814
|
options: {},
|
|
2815
2815
|
label: {},
|
|
2816
2816
|
compact: { type: Boolean },
|
|
@@ -2821,7 +2821,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2821
2821
|
}),
|
|
2822
2822
|
emits: ["update:modelValue"],
|
|
2823
2823
|
setup(e) {
|
|
2824
|
-
const o =
|
|
2824
|
+
const o = A(e, "modelValue"), l = z("oc-filter");
|
|
2825
2825
|
return (c, n) => (t(), a("fieldset", {
|
|
2826
2826
|
class: g(["oc-filter-counts", e.compact && "oc-filter-counts--compact"]),
|
|
2827
2827
|
role: "radiogroup",
|
|
@@ -2848,7 +2848,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2848
2848
|
}
|
|
2849
2849
|
}), Jc = ["tabindex"], Zc = ["id"], Qc = { class: "oc-flip-card__inner" }, Xc = { class: "oc-flip-card__face oc-flip-card__face--front" }, Yc = ["for"], en = { class: "oc-flip-card__face oc-flip-card__face--back" }, tn = ["for"], an = /* @__PURE__ */ f({
|
|
2850
2850
|
__name: "OcFlipCard",
|
|
2851
|
-
props: /* @__PURE__ */
|
|
2851
|
+
props: /* @__PURE__ */ x({
|
|
2852
2852
|
trigger: { default: "toggle" },
|
|
2853
2853
|
vertical: { type: Boolean },
|
|
2854
2854
|
frontLabel: { default: "Show answer" },
|
|
@@ -2859,7 +2859,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2859
2859
|
}),
|
|
2860
2860
|
emits: ["update:flipped"],
|
|
2861
2861
|
setup(e) {
|
|
2862
|
-
const o =
|
|
2862
|
+
const o = A(e, "flipped"), l = z("oc-flip");
|
|
2863
2863
|
return (c, n) => (t(), a("div", {
|
|
2864
2864
|
class: g(["oc-flip-card", e.trigger === "hover" && "oc-flip-card--hover", e.vertical && "oc-flip-card--vertical", e.trigger !== "toggle" && o.value && "is-flipped"]),
|
|
2865
2865
|
tabindex: e.trigger === "hover" ? 0 : void 0
|
|
@@ -2903,7 +2903,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2903
2903
|
horizontal: { type: Boolean }
|
|
2904
2904
|
},
|
|
2905
2905
|
setup(e) {
|
|
2906
|
-
const o = e, l = z("oc-field"), c =
|
|
2906
|
+
const o = e, l = z("oc-field"), c = T(() => o.for ?? l), n = T(() => `${c.value}-help`), r = T(() => `${c.value}-error`), u = T(() => {
|
|
2907
2907
|
const h = [o.description && n.value, o.error && r.value].filter(Boolean);
|
|
2908
2908
|
return h.length ? h.join(" ") : void 0;
|
|
2909
2909
|
});
|
|
@@ -2960,13 +2960,13 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
2960
2960
|
size: {}
|
|
2961
2961
|
},
|
|
2962
2962
|
setup(e) {
|
|
2963
|
-
const o = e, l = { morning: "Good morning", afternoon: "Good afternoon", evening: "Good evening" }, c =
|
|
2963
|
+
const o = e, l = { morning: "Good morning", afternoon: "Good afternoon", evening: "Good evening" }, c = T(() => o.date ?? /* @__PURE__ */ new Date()), n = T(() => {
|
|
2964
2964
|
if (o.timeOfDay) return o.timeOfDay;
|
|
2965
2965
|
const b = c.value.getHours();
|
|
2966
2966
|
return b >= 5 && b < 12 ? "morning" : b >= 12 && b < 18 ? "afternoon" : "evening";
|
|
2967
|
-
}), r =
|
|
2967
|
+
}), r = T(() => o.words?.[n.value] ?? l[n.value]), u = T(
|
|
2968
2968
|
() => new Intl.DateTimeFormat(o.locale, { weekday: "long", day: "numeric", month: "long", year: "numeric" }).format(c.value)
|
|
2969
|
-
), h =
|
|
2969
|
+
), h = T(() => {
|
|
2970
2970
|
const b = c.value;
|
|
2971
2971
|
return `${b.getFullYear()}-${String(b.getMonth() + 1).padStart(2, "0")}-${String(b.getDate()).padStart(2, "0")}`;
|
|
2972
2972
|
});
|
|
@@ -3063,7 +3063,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3063
3063
|
"aria-label": "Zoom level"
|
|
3064
3064
|
}, wn = ["name", "value"], On = ["aria-label"], _n = { class: "oc-image-zoom__canvas" }, Bn = ["src", "alt"], Cn = ["aria-label"], Sn = /* @__PURE__ */ f({
|
|
3065
3065
|
__name: "OcImageZoom",
|
|
3066
|
-
props: /* @__PURE__ */
|
|
3066
|
+
props: /* @__PURE__ */ x({
|
|
3067
3067
|
src: {},
|
|
3068
3068
|
alt: { default: "" },
|
|
3069
3069
|
levels: { default: () => [1, 1.5, 2, 3] },
|
|
@@ -3074,7 +3074,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3074
3074
|
}),
|
|
3075
3075
|
emits: ["update:zoom"],
|
|
3076
3076
|
setup(e) {
|
|
3077
|
-
const o = e, l =
|
|
3077
|
+
const o = e, l = A(e, "zoom"), c = z("oc-zoom"), n = T(() => o.ratio === "square" || o.ratio === "photo" ? o.ratio : void 0), r = T(() => ({ "--oc-zoom": String(l.value), ...o.ratio && !n.value ? { "--oc-image-zoom-ratio": o.ratio } : {} }));
|
|
3078
3078
|
return (u, h) => (t(), a("div", {
|
|
3079
3079
|
class: g(["oc-image-zoom", n.value && `oc-image-zoom--${n.value}`]),
|
|
3080
3080
|
style: K(r.value)
|
|
@@ -3121,7 +3121,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3121
3121
|
}
|
|
3122
3122
|
}), Ln = ["aria-invalid"], Mn = /* @__PURE__ */ f({
|
|
3123
3123
|
__name: "OcInput",
|
|
3124
|
-
props: /* @__PURE__ */
|
|
3124
|
+
props: /* @__PURE__ */ x({
|
|
3125
3125
|
error: { type: Boolean }
|
|
3126
3126
|
}, {
|
|
3127
3127
|
modelValue: {},
|
|
@@ -3129,7 +3129,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3129
3129
|
}),
|
|
3130
3130
|
emits: ["update:modelValue"],
|
|
3131
3131
|
setup(e) {
|
|
3132
|
-
const o =
|
|
3132
|
+
const o = A(e, "modelValue");
|
|
3133
3133
|
return (l, c) => H((t(), a("input", {
|
|
3134
3134
|
"onUpdate:modelValue": c[0] || (c[0] = (n) => o.value = n),
|
|
3135
3135
|
class: g(["oc-input", e.error && "oc-input--error"]),
|
|
@@ -3291,7 +3291,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3291
3291
|
}, ti = ["aria-label"], ai = ["value"], oi = /* @__PURE__ */ f({
|
|
3292
3292
|
inheritAttrs: !1,
|
|
3293
3293
|
__name: "OcLanguageSelect",
|
|
3294
|
-
props: /* @__PURE__ */
|
|
3294
|
+
props: /* @__PURE__ */ x({
|
|
3295
3295
|
options: {},
|
|
3296
3296
|
label: {},
|
|
3297
3297
|
currency: { type: Boolean },
|
|
@@ -3303,7 +3303,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3303
3303
|
}),
|
|
3304
3304
|
emits: ["update:modelValue"],
|
|
3305
3305
|
setup(e) {
|
|
3306
|
-
const o =
|
|
3306
|
+
const o = A(e, "modelValue"), { root: l, control: c } = Y();
|
|
3307
3307
|
return (n, r) => (t(), a("label", I(y(l), {
|
|
3308
3308
|
class: ["oc-language-select", e.ghost && "oc-language-select--ghost", e.currency && "oc-language-select--currency"]
|
|
3309
3309
|
}), [
|
|
@@ -3356,7 +3356,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3356
3356
|
disabled: { type: Boolean }
|
|
3357
3357
|
},
|
|
3358
3358
|
setup(e) {
|
|
3359
|
-
const o = e, l =
|
|
3359
|
+
const o = e, l = T(() => o.disabled ? "span" : o.href ? "a" : "button");
|
|
3360
3360
|
return (c, n) => (t(), j(W(l.value), {
|
|
3361
3361
|
class: "oc-launcher",
|
|
3362
3362
|
href: l.value === "a" ? e.href : void 0,
|
|
@@ -3400,12 +3400,12 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3400
3400
|
class: "oc-lightbox__track",
|
|
3401
3401
|
tabindex: "0",
|
|
3402
3402
|
"aria-label": "Photos, use the arrow keys"
|
|
3403
|
-
}, yi = ["id"], gi = { class: "oc-lightbox__media" }, ki = ["src", "alt"], pi = ["aria-label"], wi = ["href"], Oi = ["href"], _i = { class: "oc-lightbox__caption" }, Bi = {
|
|
3403
|
+
}, yi = ["id"], gi = { class: "oc-lightbox__media" }, ki = ["src", "alt"], pi = ["aria-label"], wi = ["href", "onClick"], Oi = ["href", "onClick"], _i = { class: "oc-lightbox__caption" }, Bi = {
|
|
3404
3404
|
key: 0,
|
|
3405
3405
|
class: "oc-lightbox__counter"
|
|
3406
3406
|
}, Ci = /* @__PURE__ */ f({
|
|
3407
3407
|
__name: "OcLightbox",
|
|
3408
|
-
props: /* @__PURE__ */
|
|
3408
|
+
props: /* @__PURE__ */ x({
|
|
3409
3409
|
images: {},
|
|
3410
3410
|
title: {},
|
|
3411
3411
|
label: { default: "Photo viewer" },
|
|
@@ -3416,23 +3416,31 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3416
3416
|
}),
|
|
3417
3417
|
emits: ["update:open"],
|
|
3418
3418
|
setup(e, { expose: o }) {
|
|
3419
|
-
const l = e, c =
|
|
3420
|
-
|
|
3421
|
-
|
|
3419
|
+
const l = e, c = A(e, "open"), n = U(null), { onClose: r } = re(c, n), u = () => {
|
|
3420
|
+
const w = location.hash && document.getElementById(decodeURIComponent(location.hash.slice(1)));
|
|
3421
|
+
w && n.value?.contains(w) && history.replaceState(history.state, "", location.pathname + location.search), r();
|
|
3422
|
+
};
|
|
3423
|
+
function h(w, p) {
|
|
3424
|
+
const L = document.getElementById(v(p));
|
|
3425
|
+
L && (w.preventDefault(), L.scrollIntoView?.({ behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth", block: "nearest", inline: "center" }));
|
|
3426
|
+
}
|
|
3427
|
+
const b = z("oc-lightbox"), B = () => l.images.length, v = (w) => `${b}-${(w % B() + B()) % B() + 1}`;
|
|
3428
|
+
async function O(w) {
|
|
3429
|
+
c.value = !0, await Ue(), document.getElementById(v(w))?.scrollIntoView?.({ behavior: "instant", block: "nearest", inline: "center" });
|
|
3422
3430
|
}
|
|
3423
|
-
return o({ show:
|
|
3431
|
+
return o({ show: O, close: () => c.value = !1 }), (w, p) => (t(), a($, null, [
|
|
3424
3432
|
e.thumbnails ? (t(), a("div", ri, [
|
|
3425
|
-
(t(!0), a($, null, _(e.images, (
|
|
3426
|
-
key:
|
|
3433
|
+
(t(!0), a($, null, _(e.images, (L, V) => (t(), a("button", {
|
|
3434
|
+
key: V,
|
|
3427
3435
|
type: "button",
|
|
3428
3436
|
class: "oc-lightbox-thumb",
|
|
3429
|
-
"aria-label": `Open photo ${
|
|
3430
|
-
onClick: (
|
|
3437
|
+
"aria-label": `Open photo ${V + 1}: ${L.alt}`,
|
|
3438
|
+
onClick: (D) => O(V)
|
|
3431
3439
|
}, [
|
|
3432
|
-
|
|
3440
|
+
L.thumb || L.src ? (t(), a("img", {
|
|
3433
3441
|
key: 0,
|
|
3434
|
-
src:
|
|
3435
|
-
alt:
|
|
3442
|
+
src: L.thumb || L.src,
|
|
3443
|
+
alt: L.alt
|
|
3436
3444
|
}, null, 8, ui)) : (t(), a("span", mi))
|
|
3437
3445
|
], 8, di))), 128))
|
|
3438
3446
|
])) : d("", !0),
|
|
@@ -3442,8 +3450,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3442
3450
|
class: g(["oc-lightbox", e.images.length === 1 && "oc-lightbox--single"]),
|
|
3443
3451
|
closedby: "any",
|
|
3444
3452
|
"aria-label": e.label,
|
|
3445
|
-
onClose:
|
|
3446
|
-
(...w) => y(r) && y(r)(...w))
|
|
3453
|
+
onClose: u
|
|
3447
3454
|
}, [
|
|
3448
3455
|
s("div", bi, [
|
|
3449
3456
|
e.title ? (t(), a("h2", fi, i(e.title), 1)) : (t(), a("span", vi)),
|
|
@@ -3451,46 +3458,48 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3451
3458
|
type: "button",
|
|
3452
3459
|
class: "oc-lightbox__close",
|
|
3453
3460
|
"aria-label": "Close",
|
|
3454
|
-
onClick:
|
|
3461
|
+
onClick: p[0] || (p[0] = (L) => c.value = !1)
|
|
3455
3462
|
}, "✕")
|
|
3456
3463
|
]),
|
|
3457
3464
|
s("div", $i, [
|
|
3458
|
-
(t(!0), a($, null, _(e.images, (
|
|
3459
|
-
id:
|
|
3460
|
-
key:
|
|
3465
|
+
(t(!0), a($, null, _(e.images, (L, V) => (t(), a("figure", {
|
|
3466
|
+
id: v(V),
|
|
3467
|
+
key: V,
|
|
3461
3468
|
class: "oc-lightbox__slide"
|
|
3462
3469
|
}, [
|
|
3463
3470
|
s("div", gi, [
|
|
3464
|
-
|
|
3471
|
+
L.src ? (t(), a("img", {
|
|
3465
3472
|
key: 0,
|
|
3466
|
-
src:
|
|
3467
|
-
alt:
|
|
3473
|
+
src: L.src,
|
|
3474
|
+
alt: L.alt
|
|
3468
3475
|
}, null, 8, ki)) : (t(), a("span", {
|
|
3469
3476
|
key: 1,
|
|
3470
3477
|
class: "oc-media-art",
|
|
3471
3478
|
role: "img",
|
|
3472
|
-
"aria-label":
|
|
3479
|
+
"aria-label": L.alt
|
|
3473
3480
|
}, null, 8, pi))
|
|
3474
3481
|
]),
|
|
3475
3482
|
e.images.length > 1 ? (t(), a($, { key: 0 }, [
|
|
3476
3483
|
s("a", {
|
|
3477
3484
|
class: "oc-lightbox__nav oc-lightbox__nav--prev",
|
|
3478
|
-
href: `#${
|
|
3479
|
-
"aria-label": "Previous photo"
|
|
3485
|
+
href: `#${v(V - 1)}`,
|
|
3486
|
+
"aria-label": "Previous photo",
|
|
3487
|
+
onClick: (D) => h(D, V - 1)
|
|
3480
3488
|
}, "←", 8, wi),
|
|
3481
3489
|
s("a", {
|
|
3482
3490
|
class: "oc-lightbox__nav oc-lightbox__nav--next",
|
|
3483
|
-
href: `#${
|
|
3484
|
-
"aria-label": "Next photo"
|
|
3491
|
+
href: `#${v(V + 1)}`,
|
|
3492
|
+
"aria-label": "Next photo",
|
|
3493
|
+
onClick: (D) => h(D, V + 1)
|
|
3485
3494
|
}, "→", 8, Oi)
|
|
3486
3495
|
], 64)) : d("", !0),
|
|
3487
3496
|
s("figcaption", _i, [
|
|
3488
|
-
e.images.length > 1 ? (t(), a("span", Bi, i(
|
|
3489
|
-
m(
|
|
3490
|
-
image:
|
|
3491
|
-
index:
|
|
3497
|
+
e.images.length > 1 ? (t(), a("span", Bi, i(V + 1) + " / " + i(e.images.length), 1)) : d("", !0),
|
|
3498
|
+
m(w.$slots, "caption", {
|
|
3499
|
+
image: L,
|
|
3500
|
+
index: V
|
|
3492
3501
|
}, () => [
|
|
3493
|
-
k(i(
|
|
3502
|
+
k(i(L.caption ?? L.alt), 1)
|
|
3494
3503
|
])
|
|
3495
3504
|
])
|
|
3496
3505
|
], 8, yi))), 128))
|
|
@@ -3544,7 +3553,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3544
3553
|
class: "oc-list-toolbar-actions"
|
|
3545
3554
|
}, Pi = /* @__PURE__ */ f({
|
|
3546
3555
|
__name: "OcListToolbar",
|
|
3547
|
-
props: /* @__PURE__ */
|
|
3556
|
+
props: /* @__PURE__ */ x({
|
|
3548
3557
|
count: {},
|
|
3549
3558
|
views: { default: () => [] },
|
|
3550
3559
|
viewsLabel: { default: "View" },
|
|
@@ -3556,7 +3565,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3556
3565
|
}),
|
|
3557
3566
|
emits: ["update:view"],
|
|
3558
3567
|
setup(e) {
|
|
3559
|
-
const o =
|
|
3568
|
+
const o = A(e, "view"), l = z("oc-list-view");
|
|
3560
3569
|
return (c, n) => (t(), a("div", {
|
|
3561
3570
|
class: g(["oc-list-toolbar", e.sticky && "oc-list-toolbar--sticky", e.bordered && "oc-list-toolbar--bordered"]),
|
|
3562
3571
|
role: "toolbar"
|
|
@@ -3872,7 +3881,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
3872
3881
|
},
|
|
3873
3882
|
emits: ["action"],
|
|
3874
3883
|
setup(e, { emit: o }) {
|
|
3875
|
-
const l = e, c = o, n = { sent: "Sent", read: "Read", failed: "Failed" }, r =
|
|
3884
|
+
const l = e, c = o, n = { sent: "Sent", read: "Read", failed: "Failed" }, r = T(() => !!l.attachments?.length && l.attachments.every((v) => v.kind === "thumb")), u = (v) => {
|
|
3876
3885
|
const { kind: O, ...w } = v;
|
|
3877
3886
|
return w;
|
|
3878
3887
|
}, h = (v) => u(v), b = (v) => u(v), B = (v) => u(v);
|
|
@@ -4094,18 +4103,18 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4094
4103
|
ne(() => l.messages, (O) => u.value = [...O]);
|
|
4095
4104
|
const b = (O) => !!O && !("divider" in O) && O.direction === "out";
|
|
4096
4105
|
async function B(O) {
|
|
4097
|
-
const p = O.target.elements.namedItem("message"),
|
|
4098
|
-
if (
|
|
4106
|
+
const p = O.target.elements.namedItem("message"), L = p.value.trim();
|
|
4107
|
+
if (L) {
|
|
4099
4108
|
h.value = !0;
|
|
4100
4109
|
try {
|
|
4101
|
-
await l.onSend?.(
|
|
4110
|
+
await l.onSend?.(L);
|
|
4102
4111
|
} catch {
|
|
4103
4112
|
h.value = !1;
|
|
4104
4113
|
return;
|
|
4105
4114
|
}
|
|
4106
4115
|
if (!l.manual) {
|
|
4107
|
-
const
|
|
4108
|
-
u.value = [...
|
|
4116
|
+
const V = u.value, D = l.me ?? [...V].reverse().find(b)?.avatar ?? "Me";
|
|
4117
|
+
u.value = [...V, { direction: "out", avatar: D, continued: b(V[V.length - 1]), text: L, time: (/* @__PURE__ */ new Date()).toTimeString().slice(0, 5), status: "sent" }];
|
|
4109
4118
|
}
|
|
4110
4119
|
p.value = "", h.value = !1, p.focus();
|
|
4111
4120
|
}
|
|
@@ -4138,8 +4147,8 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4138
4147
|
class: "oc-avatar-group oc-message-thread__people",
|
|
4139
4148
|
"aria-label": `${e.participants.length} participants`
|
|
4140
4149
|
}, [
|
|
4141
|
-
(t(!0), a($, null, _(e.participants, (p,
|
|
4142
|
-
key:
|
|
4150
|
+
(t(!0), a($, null, _(e.participants, (p, L) => (t(), a("span", {
|
|
4151
|
+
key: L,
|
|
4143
4152
|
class: "oc-avatar",
|
|
4144
4153
|
title: p.name
|
|
4145
4154
|
}, i(p.initials), 9, zr))), 128))
|
|
@@ -4184,13 +4193,13 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4184
4193
|
popover: "",
|
|
4185
4194
|
role: "menu"
|
|
4186
4195
|
}, [
|
|
4187
|
-
(t(!0), a($, null, _(e.menu, (p,
|
|
4196
|
+
(t(!0), a($, null, _(e.menu, (p, L) => (t(), a($, { key: L }, [
|
|
4188
4197
|
"separator" in p ? (t(), a("div", Pr)) : (t(), a("button", {
|
|
4189
4198
|
key: 1,
|
|
4190
4199
|
type: "button",
|
|
4191
4200
|
class: g(["oc-dropdown-item", p.destructive && "oc-dropdown-item--destructive"]),
|
|
4192
4201
|
role: "menuitem",
|
|
4193
|
-
onClick: (
|
|
4202
|
+
onClick: (V) => c("menu", p.name)
|
|
4194
4203
|
}, i(p.label), 11, Fr))
|
|
4195
4204
|
], 64))), 128))
|
|
4196
4205
|
], 8, Dr)
|
|
@@ -4281,7 +4290,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4281
4290
|
class: "oc-modal-footer"
|
|
4282
4291
|
}, sd = /* @__PURE__ */ f({
|
|
4283
4292
|
__name: "OcModal",
|
|
4284
|
-
props: /* @__PURE__ */
|
|
4293
|
+
props: /* @__PURE__ */ x({
|
|
4285
4294
|
title: {},
|
|
4286
4295
|
description: {},
|
|
4287
4296
|
size: { default: "md" },
|
|
@@ -4292,7 +4301,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4292
4301
|
}),
|
|
4293
4302
|
emits: ["update:open"],
|
|
4294
4303
|
setup(e, { expose: o }) {
|
|
4295
|
-
const l =
|
|
4304
|
+
const l = A(e, "open"), c = U(null), { onClose: n } = re(l, c), r = z("oc-modal-title"), u = () => l.value = !1;
|
|
4296
4305
|
return o({ close: u }), (h, b) => (t(), a("dialog", {
|
|
4297
4306
|
ref_key: "el",
|
|
4298
4307
|
ref: c,
|
|
@@ -4418,7 +4427,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4418
4427
|
}), yd = ["aria-label", "disabled"], gd = ["min", "max", "step", "disabled", "aria-invalid", "value"], kd = ["aria-label", "disabled"], pd = /* @__PURE__ */ f({
|
|
4419
4428
|
inheritAttrs: !1,
|
|
4420
4429
|
__name: "OcNumberInput",
|
|
4421
|
-
props: /* @__PURE__ */
|
|
4430
|
+
props: /* @__PURE__ */ x({
|
|
4422
4431
|
min: {},
|
|
4423
4432
|
max: {},
|
|
4424
4433
|
step: { default: 1 },
|
|
@@ -4434,7 +4443,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4434
4443
|
}),
|
|
4435
4444
|
emits: ["update:modelValue"],
|
|
4436
4445
|
setup(e) {
|
|
4437
|
-
const o = e, l =
|
|
4446
|
+
const o = e, l = A(e, "modelValue"), { root: c, control: n } = Y();
|
|
4438
4447
|
function r(h) {
|
|
4439
4448
|
const b = Math.round(((l.value ?? o.min ?? 0) + h * o.step) * 1e6) / 1e6;
|
|
4440
4449
|
l.value = Math.min(o.max ?? 1 / 0, Math.max(o.min ?? -1 / 0, b));
|
|
@@ -4475,7 +4484,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4475
4484
|
}
|
|
4476
4485
|
}), wd = ["inputmode", "maxlength", "pattern", "aria-invalid"], tt = /* @__PURE__ */ f({
|
|
4477
4486
|
__name: "OcOtpInput",
|
|
4478
|
-
props: /* @__PURE__ */
|
|
4487
|
+
props: /* @__PURE__ */ x({
|
|
4479
4488
|
length: { default: 6 },
|
|
4480
4489
|
invalid: { type: Boolean },
|
|
4481
4490
|
numeric: { type: Boolean, default: !0 }
|
|
@@ -4483,9 +4492,9 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4483
4492
|
modelValue: { default: "" },
|
|
4484
4493
|
modelModifiers: {}
|
|
4485
4494
|
}),
|
|
4486
|
-
emits: /* @__PURE__ */
|
|
4495
|
+
emits: /* @__PURE__ */ x(["complete"], ["update:modelValue"]),
|
|
4487
4496
|
setup(e, { emit: o }) {
|
|
4488
|
-
const l = e, c = o, n =
|
|
4497
|
+
const l = e, c = o, n = A(e, "modelValue"), r = T(() => ({ "--oc-otp-length": String(l.length) }));
|
|
4489
4498
|
return ne(n, (u) => {
|
|
4490
4499
|
u.length === l.length && c("complete", u);
|
|
4491
4500
|
}), (u, h) => H((t(), a("input", {
|
|
@@ -4558,7 +4567,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4558
4567
|
}
|
|
4559
4568
|
}), Td = ["aria-label"], Vd = ["href", "aria-current", "onClick"], xd = /* @__PURE__ */ f({
|
|
4560
4569
|
__name: "OcPagination",
|
|
4561
|
-
props: /* @__PURE__ */
|
|
4570
|
+
props: /* @__PURE__ */ x({
|
|
4562
4571
|
pages: {},
|
|
4563
4572
|
hrefFor: {},
|
|
4564
4573
|
label: { default: "Pagination" }
|
|
@@ -4568,7 +4577,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4568
4577
|
}),
|
|
4569
4578
|
emits: ["update:modelValue"],
|
|
4570
4579
|
setup(e) {
|
|
4571
|
-
const o = e, l =
|
|
4580
|
+
const o = e, l = A(e, "modelValue");
|
|
4572
4581
|
function c(n, r) {
|
|
4573
4582
|
o.hrefFor || n.preventDefault(), l.value = r;
|
|
4574
4583
|
}
|
|
@@ -4588,7 +4597,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4588
4597
|
}), Ad = ["type"], zd = ["aria-pressed", "aria-label"], qd = /* @__PURE__ */ f({
|
|
4589
4598
|
inheritAttrs: !1,
|
|
4590
4599
|
__name: "OcPasswordInput",
|
|
4591
|
-
props: /* @__PURE__ */
|
|
4600
|
+
props: /* @__PURE__ */ x({
|
|
4592
4601
|
showLabel: { default: "Show" },
|
|
4593
4602
|
hideLabel: { default: "Hide" },
|
|
4594
4603
|
toggleLabel: { default: "Toggle password visibility" }
|
|
@@ -4598,7 +4607,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4598
4607
|
}),
|
|
4599
4608
|
emits: ["update:modelValue"],
|
|
4600
4609
|
setup(e) {
|
|
4601
|
-
const o =
|
|
4610
|
+
const o = A(e, "modelValue"), { root: l, control: c } = Y(), n = U(!1);
|
|
4602
4611
|
return (r, u) => (t(), a("div", I(y(l), { class: "oc-input-reveal" }), [
|
|
4603
4612
|
H(s("input", I(y(c), {
|
|
4604
4613
|
"onUpdate:modelValue": u[0] || (u[0] = (h) => o.value = h),
|
|
@@ -4644,7 +4653,7 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4644
4653
|
}), Dd = ["aria-label", "value", "disabled"], Pd = ["value"], Fd = ["aria-invalid", "disabled", "value"], Ed = /* @__PURE__ */ f({
|
|
4645
4654
|
inheritAttrs: !1,
|
|
4646
4655
|
__name: "OcPhoneInput",
|
|
4647
|
-
props: /* @__PURE__ */
|
|
4656
|
+
props: /* @__PURE__ */ x({
|
|
4648
4657
|
countries: { default: () => [
|
|
4649
4658
|
{ dial: "+32", label: "BE +32" },
|
|
4650
4659
|
{ dial: "+31", label: "NL +31" },
|
|
@@ -4662,10 +4671,10 @@ const Ns = ["id", "data-page-size", "data-oc-live"], Gs = { class: "oc-data-tabl
|
|
|
4662
4671
|
}),
|
|
4663
4672
|
emits: ["update:modelValue"],
|
|
4664
4673
|
setup(e) {
|
|
4665
|
-
const o = e, l =
|
|
4674
|
+
const o = e, l = A(e, "modelValue"), { root: c, control: n } = Y(), r = T(() => {
|
|
4666
4675
|
const v = [...o.countries].sort((O, w) => w.dial.length - O.dial.length).find((O) => l.value.startsWith(O.dial));
|
|
4667
4676
|
return v ? { dial: v.dial, national: l.value.slice(v.dial.length) } : { dial: "", national: l.value.replace(/^\+/, "") };
|
|
4668
|
-
}), u = U(r.value.dial || o.defaultDial || o.countries[0]?.dial || ""), h =
|
|
4677
|
+
}), u = U(r.value.dial || o.defaultDial || o.countries[0]?.dial || ""), h = T(() => r.value.dial || u.value), b = T(() => {
|
|
4669
4678
|
const v = r.value.national.replace(/\D/g, "");
|
|
4670
4679
|
return [v.slice(0, 3), ...v.slice(3).match(/.{1,2}/g) ?? []].filter(Boolean).join(" ");
|
|
4671
4680
|
});
|
|
@@ -5055,7 +5064,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5055
5064
|
}), ot = /* @__PURE__ */ Symbol("oc-radio-group"), st = /* @__PURE__ */ Symbol("oc-toggle-group"), _u = ["name", "value", "checked", "disabled"], Bu = { key: 0 }, lt = /* @__PURE__ */ f({
|
|
5056
5065
|
inheritAttrs: !1,
|
|
5057
5066
|
__name: "OcRadio",
|
|
5058
|
-
props: /* @__PURE__ */
|
|
5067
|
+
props: /* @__PURE__ */ x({
|
|
5059
5068
|
value: {},
|
|
5060
5069
|
description: {},
|
|
5061
5070
|
card: { type: Boolean },
|
|
@@ -5066,7 +5075,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5066
5075
|
}),
|
|
5067
5076
|
emits: ["update:modelValue"],
|
|
5068
5077
|
setup(e) {
|
|
5069
|
-
const o = e, l =
|
|
5078
|
+
const o = e, l = A(e, "modelValue"), c = xe(ot, null), { root: n, control: r } = Y(), u = T(() => (c ? c.model.value : l.value) === o.value), h = T(() => o.card || !!c?.card.value || !!o.description);
|
|
5070
5079
|
function b() {
|
|
5071
5080
|
c ? c.model.value = o.value : l.value = o.value;
|
|
5072
5081
|
}
|
|
@@ -5093,7 +5102,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5093
5102
|
class: "oc-label"
|
|
5094
5103
|
}, Su = /* @__PURE__ */ f({
|
|
5095
5104
|
__name: "OcRadioGroup",
|
|
5096
|
-
props: /* @__PURE__ */
|
|
5105
|
+
props: /* @__PURE__ */ x({
|
|
5097
5106
|
legend: {},
|
|
5098
5107
|
options: {},
|
|
5099
5108
|
name: {},
|
|
@@ -5105,8 +5114,8 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5105
5114
|
}),
|
|
5106
5115
|
emits: ["update:modelValue"],
|
|
5107
5116
|
setup(e) {
|
|
5108
|
-
const o = e, l =
|
|
5109
|
-
return pe(ot, { model: l, name:
|
|
5117
|
+
const o = e, l = A(e, "modelValue"), c = z("oc-radio");
|
|
5118
|
+
return pe(ot, { model: l, name: T(() => o.name ?? c), card: T(() => !!o.card) }), (n, r) => (t(), a("fieldset", {
|
|
5110
5119
|
class: g(["oc-radio-group", e.row && "oc-radio-group--row"])
|
|
5111
5120
|
}, [
|
|
5112
5121
|
e.legend ? (t(), a("legend", Cu, i(e.legend), 1)) : d("", !0),
|
|
@@ -5189,7 +5198,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5189
5198
|
}
|
|
5190
5199
|
}), qu = ["aria-label"], Iu = ["name", "value"], Du = /* @__PURE__ */ f({
|
|
5191
5200
|
__name: "OcSegmented",
|
|
5192
|
-
props: /* @__PURE__ */
|
|
5201
|
+
props: /* @__PURE__ */ x({
|
|
5193
5202
|
options: {},
|
|
5194
5203
|
label: {},
|
|
5195
5204
|
block: { type: Boolean },
|
|
@@ -5201,7 +5210,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5201
5210
|
}),
|
|
5202
5211
|
emits: ["update:modelValue"],
|
|
5203
5212
|
setup(e) {
|
|
5204
|
-
const o =
|
|
5213
|
+
const o = A(e, "modelValue"), l = z("oc-segmented");
|
|
5205
5214
|
return (c, n) => (t(), a("div", {
|
|
5206
5215
|
class: g(["oc-segmented", e.block && "oc-segmented--block", e.size === "sm" && "oc-segmented--sm"]),
|
|
5207
5216
|
role: "radiogroup",
|
|
@@ -5225,7 +5234,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5225
5234
|
}
|
|
5226
5235
|
}), Pu = ["value"], Fu = ["value", "disabled"], Eu = /* @__PURE__ */ f({
|
|
5227
5236
|
__name: "OcSelect",
|
|
5228
|
-
props: /* @__PURE__ */
|
|
5237
|
+
props: /* @__PURE__ */ x({
|
|
5229
5238
|
options: {}
|
|
5230
5239
|
}, {
|
|
5231
5240
|
modelValue: {},
|
|
@@ -5233,7 +5242,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5233
5242
|
}),
|
|
5234
5243
|
emits: ["update:modelValue"],
|
|
5235
5244
|
setup(e) {
|
|
5236
|
-
const o =
|
|
5245
|
+
const o = A(e, "modelValue");
|
|
5237
5246
|
return (l, c) => H((t(), a("select", {
|
|
5238
5247
|
"onUpdate:modelValue": c[0] || (c[0] = (n) => o.value = n),
|
|
5239
5248
|
class: "oc-select"
|
|
@@ -5296,7 +5305,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5296
5305
|
class: "oc-severity-card-actions"
|
|
5297
5306
|
}, Xu = /* @__PURE__ */ f({
|
|
5298
5307
|
__name: "OcSeverityCard",
|
|
5299
|
-
props: /* @__PURE__ */
|
|
5308
|
+
props: /* @__PURE__ */ x({
|
|
5300
5309
|
level: {},
|
|
5301
5310
|
title: {},
|
|
5302
5311
|
tags: {},
|
|
@@ -5309,7 +5318,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5309
5318
|
}),
|
|
5310
5319
|
emits: ["update:open"],
|
|
5311
5320
|
setup(e) {
|
|
5312
|
-
const o = e, l =
|
|
5321
|
+
const o = e, l = A(e, "open"), c = { low: "Low", medium: "Medium", high: "High", critical: "Critical" };
|
|
5313
5322
|
function n(r) {
|
|
5314
5323
|
l.value = r.target.open;
|
|
5315
5324
|
}
|
|
@@ -5356,7 +5365,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5356
5365
|
class: "oc-sheet-footer"
|
|
5357
5366
|
}, cm = /* @__PURE__ */ f({
|
|
5358
5367
|
__name: "OcSheet",
|
|
5359
|
-
props: /* @__PURE__ */
|
|
5368
|
+
props: /* @__PURE__ */ x({
|
|
5360
5369
|
side: { default: "right" },
|
|
5361
5370
|
wide: { type: Boolean },
|
|
5362
5371
|
title: {},
|
|
@@ -5368,7 +5377,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5368
5377
|
}),
|
|
5369
5378
|
emits: ["update:open"],
|
|
5370
5379
|
setup(e, { expose: o }) {
|
|
5371
|
-
const l =
|
|
5380
|
+
const l = A(e, "open"), c = U(null), { onClose: n } = re(l, c), r = z("oc-sheet-title"), u = () => l.value = !1;
|
|
5372
5381
|
return o({ close: u }), (h, b) => (t(), a("dialog", {
|
|
5373
5382
|
ref_key: "el",
|
|
5374
5383
|
ref: c,
|
|
@@ -5439,7 +5448,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5439
5448
|
}
|
|
5440
5449
|
}), mm = ["open"], hm = { class: "oc-sidebar-menu-button" }, bm = { class: "oc-sidebar-menu-label" }, fm = { class: "oc-sidebar-menu-sub" }, vm = /* @__PURE__ */ f({
|
|
5441
5450
|
__name: "OcSidebarCollapsible",
|
|
5442
|
-
props: /* @__PURE__ */
|
|
5451
|
+
props: /* @__PURE__ */ x({
|
|
5443
5452
|
label: {}
|
|
5444
5453
|
}, {
|
|
5445
5454
|
open: { type: Boolean, default: !1 },
|
|
@@ -5447,7 +5456,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5447
5456
|
}),
|
|
5448
5457
|
emits: ["update:open"],
|
|
5449
5458
|
setup(e) {
|
|
5450
|
-
const o =
|
|
5459
|
+
const o = A(e, "open");
|
|
5451
5460
|
function l(c) {
|
|
5452
5461
|
o.value = c.target.open;
|
|
5453
5462
|
}
|
|
@@ -5503,7 +5512,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5503
5512
|
badge: {}
|
|
5504
5513
|
},
|
|
5505
5514
|
setup(e) {
|
|
5506
|
-
const o = e, l =
|
|
5515
|
+
const o = e, l = T(() => o.href ? "a" : "button");
|
|
5507
5516
|
return (c, n) => (t(), j(W(l.value), {
|
|
5508
5517
|
class: g(["oc-sidebar-menu-button", e.large && "oc-sidebar-menu-button--lg"]),
|
|
5509
5518
|
href: e.href,
|
|
@@ -5538,7 +5547,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5538
5547
|
}
|
|
5539
5548
|
}), Lm = ["min", "max", "step"], Mm = /* @__PURE__ */ f({
|
|
5540
5549
|
__name: "OcSlider",
|
|
5541
|
-
props: /* @__PURE__ */
|
|
5550
|
+
props: /* @__PURE__ */ x({
|
|
5542
5551
|
min: { default: 0 },
|
|
5543
5552
|
max: { default: 100 },
|
|
5544
5553
|
step: {},
|
|
@@ -5549,7 +5558,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5549
5558
|
}),
|
|
5550
5559
|
emits: ["update:modelValue"],
|
|
5551
5560
|
setup(e) {
|
|
5552
|
-
const o = e, l =
|
|
5561
|
+
const o = e, l = A(e, "modelValue"), c = T(() => {
|
|
5553
5562
|
const n = o.max - o.min, r = n > 0 ? (l.value - o.min) / n * 100 : 0;
|
|
5554
5563
|
return `${Math.min(100, Math.max(0, r))}%`;
|
|
5555
5564
|
});
|
|
@@ -5698,7 +5707,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5698
5707
|
button: { type: Boolean }
|
|
5699
5708
|
},
|
|
5700
5709
|
setup(e) {
|
|
5701
|
-
const o = e, l =
|
|
5710
|
+
const o = e, l = T(() => o.href ? "a" : o.button ? "button" : "div");
|
|
5702
5711
|
return (c, n) => (t(), j(W(l.value), {
|
|
5703
5712
|
class: g(["oc-stat-card", e.tone !== "default" && `oc-stat-card--${e.tone}`, e.stripe && "oc-stat-card--stripe"]),
|
|
5704
5713
|
href: e.href,
|
|
@@ -5727,7 +5736,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5727
5736
|
class: "oc-stepper-label"
|
|
5728
5737
|
}, nt = /* @__PURE__ */ f({
|
|
5729
5738
|
__name: "OcStepper",
|
|
5730
|
-
props: /* @__PURE__ */
|
|
5739
|
+
props: /* @__PURE__ */ x({
|
|
5731
5740
|
steps: {},
|
|
5732
5741
|
horizontal: { type: Boolean },
|
|
5733
5742
|
label: {}
|
|
@@ -5737,7 +5746,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5737
5746
|
}),
|
|
5738
5747
|
emits: ["update:modelValue"],
|
|
5739
5748
|
setup(e) {
|
|
5740
|
-
const o =
|
|
5749
|
+
const o = A(e, "modelValue");
|
|
5741
5750
|
return (l, c) => (t(), a("ol", {
|
|
5742
5751
|
class: g(["oc-stepper", e.horizontal && "oc-stepper--horizontal"]),
|
|
5743
5752
|
"aria-label": e.label
|
|
@@ -5767,7 +5776,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5767
5776
|
},
|
|
5768
5777
|
emits: ["update:modelValue"],
|
|
5769
5778
|
setup(e) {
|
|
5770
|
-
const o =
|
|
5779
|
+
const o = A(e, "modelValue"), { root: l, control: c } = Y();
|
|
5771
5780
|
return (n, r) => (t(), a("label", I(y(l), { class: "oc-switch" }), [
|
|
5772
5781
|
H(s("input", I(y(c), {
|
|
5773
5782
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => o.value = u),
|
|
@@ -5790,7 +5799,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5790
5799
|
class: "oc-table-empty"
|
|
5791
5800
|
}, vh = ["colspan"], $h = /* @__PURE__ */ f({
|
|
5792
5801
|
__name: "OcTable",
|
|
5793
|
-
props: /* @__PURE__ */
|
|
5802
|
+
props: /* @__PURE__ */ x({
|
|
5794
5803
|
columns: {},
|
|
5795
5804
|
rows: {},
|
|
5796
5805
|
rowKey: { default: "id" },
|
|
@@ -5810,25 +5819,25 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5810
5819
|
}),
|
|
5811
5820
|
emits: ["update:selected", "update:sort"],
|
|
5812
5821
|
setup(e) {
|
|
5813
|
-
const o = e, l =
|
|
5822
|
+
const o = e, l = A(e, "selected"), c = A(e, "sort"), n = yt(), r = T(() => !!n.actions), u = T(() => o.columns.length + (o.selectable ? 1 : 0) + (r.value ? 1 : 0)), h = T(() => o.rows.length > 0 && o.rows.every((p) => l.value.includes(p[o.rowKey])));
|
|
5814
5823
|
function b(p) {
|
|
5815
|
-
l.value = p.target.checked ? o.rows.map((
|
|
5824
|
+
l.value = p.target.checked ? o.rows.map((L) => L[o.rowKey]) : [];
|
|
5816
5825
|
}
|
|
5817
|
-
function B(p,
|
|
5818
|
-
l.value =
|
|
5826
|
+
function B(p, L) {
|
|
5827
|
+
l.value = L ? [...l.value, p] : l.value.filter((V) => V !== p);
|
|
5819
5828
|
}
|
|
5820
5829
|
function v(p) {
|
|
5821
5830
|
return c.value?.key === p ? c.value.direction : void 0;
|
|
5822
5831
|
}
|
|
5823
|
-
function O(p,
|
|
5832
|
+
function O(p, L) {
|
|
5824
5833
|
p.preventDefault();
|
|
5825
|
-
const
|
|
5826
|
-
c.value = { key:
|
|
5834
|
+
const V = c.value?.key === L && c.value.direction === "ascending" ? "descending" : "ascending";
|
|
5835
|
+
c.value = { key: L, direction: V };
|
|
5827
5836
|
}
|
|
5828
5837
|
function w(p) {
|
|
5829
5838
|
return `Select ${String(p[o.columns[0]?.key] ?? "")}`.trim();
|
|
5830
5839
|
}
|
|
5831
|
-
return (p,
|
|
5840
|
+
return (p, L) => (t(), a("div", ah, [
|
|
5832
5841
|
s("table", {
|
|
5833
5842
|
class: g(["oc-table", e.striped && "oc-table--striped", e.compact && "oc-table--compact", e.borderless && "oc-table--borderless", e.sticky && "oc-table--sticky"])
|
|
5834
5843
|
}, [
|
|
@@ -5844,19 +5853,19 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5844
5853
|
onChange: b
|
|
5845
5854
|
}, null, 40, lh)
|
|
5846
5855
|
])) : d("", !0),
|
|
5847
|
-
(t(!0), a($, null, _(e.columns, (
|
|
5848
|
-
key:
|
|
5849
|
-
"aria-sort": v(
|
|
5850
|
-
"data-numeric":
|
|
5851
|
-
style: K(
|
|
5856
|
+
(t(!0), a($, null, _(e.columns, (V) => (t(), a("th", {
|
|
5857
|
+
key: V.key,
|
|
5858
|
+
"aria-sort": v(V.key),
|
|
5859
|
+
"data-numeric": V.numeric ? "" : void 0,
|
|
5860
|
+
style: K(V.width ? { width: V.width } : void 0)
|
|
5852
5861
|
}, [
|
|
5853
|
-
|
|
5862
|
+
V.sortable ? (t(), a("a", {
|
|
5854
5863
|
key: 0,
|
|
5855
5864
|
class: "oc-table-sort",
|
|
5856
|
-
href: `?sort=${
|
|
5857
|
-
onClick: (
|
|
5858
|
-
}, i(
|
|
5859
|
-
k(i(
|
|
5865
|
+
href: `?sort=${V.key}`,
|
|
5866
|
+
onClick: (D) => O(D, V.key)
|
|
5867
|
+
}, i(V.label), 9, nh)) : (t(), a($, { key: 1 }, [
|
|
5868
|
+
k(i(V.label), 1)
|
|
5860
5869
|
], 64))
|
|
5861
5870
|
], 12, ch))), 128)),
|
|
5862
5871
|
r.value ? (t(), a("th", ih, [
|
|
@@ -5865,32 +5874,32 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5865
5874
|
])
|
|
5866
5875
|
]),
|
|
5867
5876
|
s("tbody", null, [
|
|
5868
|
-
(t(!0), a($, null, _(e.rows, (
|
|
5869
|
-
key:
|
|
5870
|
-
"aria-selected": l.value.includes(
|
|
5877
|
+
(t(!0), a($, null, _(e.rows, (V) => (t(), a("tr", {
|
|
5878
|
+
key: V[e.rowKey],
|
|
5879
|
+
"aria-selected": l.value.includes(V[e.rowKey]) ? "true" : void 0
|
|
5871
5880
|
}, [
|
|
5872
5881
|
e.selectable ? (t(), a("td", uh, [
|
|
5873
5882
|
s("input", {
|
|
5874
5883
|
class: "oc-checkbox",
|
|
5875
5884
|
type: "checkbox",
|
|
5876
|
-
checked: l.value.includes(
|
|
5877
|
-
"aria-label": w(
|
|
5878
|
-
onChange: (
|
|
5885
|
+
checked: l.value.includes(V[e.rowKey]),
|
|
5886
|
+
"aria-label": w(V),
|
|
5887
|
+
onChange: (D) => B(V[e.rowKey], D.target.checked)
|
|
5879
5888
|
}, null, 40, mh)
|
|
5880
5889
|
])) : d("", !0),
|
|
5881
|
-
(t(!0), a($, null, _(e.columns, (
|
|
5882
|
-
key:
|
|
5883
|
-
"data-numeric":
|
|
5890
|
+
(t(!0), a($, null, _(e.columns, (D) => (t(), a("td", {
|
|
5891
|
+
key: D.key,
|
|
5892
|
+
"data-numeric": D.numeric ? "" : void 0
|
|
5884
5893
|
}, [
|
|
5885
|
-
m(p.$slots, `cell-${
|
|
5886
|
-
row:
|
|
5887
|
-
value:
|
|
5894
|
+
m(p.$slots, `cell-${D.key}`, {
|
|
5895
|
+
row: V,
|
|
5896
|
+
value: V[D.key]
|
|
5888
5897
|
}, () => [
|
|
5889
|
-
k(i(
|
|
5898
|
+
k(i(V[D.key]), 1)
|
|
5890
5899
|
])
|
|
5891
5900
|
], 8, hh))), 128)),
|
|
5892
5901
|
r.value ? (t(), a("td", bh, [
|
|
5893
|
-
m(p.$slots, "actions", { row:
|
|
5902
|
+
m(p.$slots, "actions", { row: V })
|
|
5894
5903
|
])) : d("", !0)
|
|
5895
5904
|
], 8, dh))), 128)),
|
|
5896
5905
|
e.rows.length === 0 && p.$slots.empty ? (t(), a("tr", fh, [
|
|
@@ -5983,7 +5992,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5983
5992
|
role: "tablist"
|
|
5984
5993
|
}, Ch = ["name", "value", "checked"], Sh = /* @__PURE__ */ f({
|
|
5985
5994
|
__name: "OcTabs",
|
|
5986
|
-
props: /* @__PURE__ */
|
|
5995
|
+
props: /* @__PURE__ */ x({
|
|
5987
5996
|
tabs: {},
|
|
5988
5997
|
name: {}
|
|
5989
5998
|
}, {
|
|
@@ -5992,7 +6001,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
5992
6001
|
}),
|
|
5993
6002
|
emits: ["update:modelValue"],
|
|
5994
6003
|
setup(e) {
|
|
5995
|
-
const o =
|
|
6004
|
+
const o = A(e, "modelValue"), l = z("oc-tabs");
|
|
5996
6005
|
return (c, n) => (t(), a("div", _h, [
|
|
5997
6006
|
s("div", Bh, [
|
|
5998
6007
|
(t(!0), a($, null, _(e.tabs, (r, u) => (t(), a("label", {
|
|
@@ -6024,7 +6033,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
6024
6033
|
class: "oc-tag-suggestions"
|
|
6025
6034
|
}, xh = ["onClick"], Ah = /* @__PURE__ */ f({
|
|
6026
6035
|
__name: "OcTagInput",
|
|
6027
|
-
props: /* @__PURE__ */
|
|
6036
|
+
props: /* @__PURE__ */ x({
|
|
6028
6037
|
suggestions: { default: () => [] },
|
|
6029
6038
|
placeholder: { default: "Add tag..." },
|
|
6030
6039
|
label: { default: "Add tag" }
|
|
@@ -6034,7 +6043,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
6034
6043
|
}),
|
|
6035
6044
|
emits: ["update:modelValue"],
|
|
6036
6045
|
setup(e) {
|
|
6037
|
-
const o = e, l =
|
|
6046
|
+
const o = e, l = A(e, "modelValue"), c = U(""), n = T(() => o.suggestions.filter((b) => !l.value.includes(b)));
|
|
6038
6047
|
function r(b) {
|
|
6039
6048
|
const B = b.trim();
|
|
6040
6049
|
B && !l.value.includes(B) && (l.value = [...l.value, B]), c.value = "";
|
|
@@ -6142,7 +6151,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
6142
6151
|
}
|
|
6143
6152
|
}), Rh = ["aria-invalid"], Nh = /* @__PURE__ */ f({
|
|
6144
6153
|
__name: "OcTextarea",
|
|
6145
|
-
props: /* @__PURE__ */
|
|
6154
|
+
props: /* @__PURE__ */ x({
|
|
6146
6155
|
error: { type: Boolean }
|
|
6147
6156
|
}, {
|
|
6148
6157
|
modelValue: {},
|
|
@@ -6150,7 +6159,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
6150
6159
|
}),
|
|
6151
6160
|
emits: ["update:modelValue"],
|
|
6152
6161
|
setup(e) {
|
|
6153
|
-
const o =
|
|
6162
|
+
const o = A(e, "modelValue");
|
|
6154
6163
|
return (l, c) => H((t(), a("textarea", {
|
|
6155
6164
|
"onUpdate:modelValue": c[0] || (c[0] = (n) => o.value = n),
|
|
6156
6165
|
class: g(["oc-input", e.error && "oc-input--error"]),
|
|
@@ -6161,7 +6170,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
6161
6170
|
}
|
|
6162
6171
|
}), Gh = ["name", "value"], Kh = /* @__PURE__ */ f({
|
|
6163
6172
|
__name: "OcThemeSwitch",
|
|
6164
|
-
props: /* @__PURE__ */
|
|
6173
|
+
props: /* @__PURE__ */ x({
|
|
6165
6174
|
options: { default: () => ["system", "light", "dark"] },
|
|
6166
6175
|
as: { default: "fieldset" },
|
|
6167
6176
|
label: { default: "Color theme" },
|
|
@@ -6172,7 +6181,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
6172
6181
|
}),
|
|
6173
6182
|
emits: ["update:modelValue"],
|
|
6174
6183
|
setup(e) {
|
|
6175
|
-
const o = { system: "System", light: "Light", dark: "Dark" }, l =
|
|
6184
|
+
const o = { system: "System", light: "Light", dark: "Dark" }, l = A(e, "modelValue"), c = z("oc-theme");
|
|
6176
6185
|
return (n, r) => (t(), j(W(e.as), {
|
|
6177
6186
|
class: "oc-theme-switch",
|
|
6178
6187
|
role: e.as === "div" ? "radiogroup" : void 0,
|
|
@@ -6197,7 +6206,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
6197
6206
|
}), Uh = ["placeholder", "list", "aria-invalid", "value"], Wh = ["id"], Jh = ["value"], Zh = /* @__PURE__ */ f({
|
|
6198
6207
|
inheritAttrs: !1,
|
|
6199
6208
|
__name: "OcTimeInput",
|
|
6200
|
-
props: /* @__PURE__ */
|
|
6209
|
+
props: /* @__PURE__ */ x({
|
|
6201
6210
|
slots: {},
|
|
6202
6211
|
error: { type: Boolean },
|
|
6203
6212
|
placeholder: {}
|
|
@@ -6207,7 +6216,7 @@ Wall B: 298 cm (door at the left)`))
|
|
|
6207
6216
|
}),
|
|
6208
6217
|
emits: ["update:modelValue"],
|
|
6209
6218
|
setup(e) {
|
|
6210
|
-
const o =
|
|
6219
|
+
const o = A(e, "modelValue"), l = z("oc-time");
|
|
6211
6220
|
function c(r) {
|
|
6212
6221
|
const u = r.target, h = u.value, b = h.replace(/\D/g, "").slice(0, 4);
|
|
6213
6222
|
o.value = /^\d{2}:\d{2}$/.test(h) ? h : b.length <= 2 ? b : `${b.slice(0, 2)}:${b.slice(2)}`, u.value = o.value;
|
|
@@ -6382,7 +6391,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6382
6391
|
}), ub = ["aria-pressed", "disabled"], mb = ["type", "name", "value", "checked", "disabled"], hb = /* @__PURE__ */ f({
|
|
6383
6392
|
inheritAttrs: !1,
|
|
6384
6393
|
__name: "OcToggle",
|
|
6385
|
-
props: /* @__PURE__ */
|
|
6394
|
+
props: /* @__PURE__ */ x({
|
|
6386
6395
|
value: {},
|
|
6387
6396
|
variant: {},
|
|
6388
6397
|
size: {},
|
|
@@ -6395,12 +6404,12 @@ const db = /* @__PURE__ */ f({
|
|
|
6395
6404
|
}),
|
|
6396
6405
|
emits: ["update:modelValue"],
|
|
6397
6406
|
setup(e) {
|
|
6398
|
-
const o = e, l =
|
|
6407
|
+
const o = e, l = A(e, "modelValue"), c = xe(st, null), { root: n, control: r } = Y(), u = T(() => [
|
|
6399
6408
|
"oc-toggle",
|
|
6400
6409
|
o.variant === "outline" && "oc-toggle--outline",
|
|
6401
6410
|
o.size && o.size !== "md" && `oc-toggle--${o.size}`,
|
|
6402
6411
|
o.icon && "oc-toggle--icon"
|
|
6403
|
-
]), h =
|
|
6412
|
+
]), h = T(() => !!c && o.value !== void 0), b = T(() => h.value ? c.values.value.includes(o.value) : l.value);
|
|
6404
6413
|
function B() {
|
|
6405
6414
|
h.value ? c.toggle(o.value) : l.value = !l.value;
|
|
6406
6415
|
}
|
|
@@ -6427,7 +6436,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6427
6436
|
}), bb = { class: "oc-toggle-field-text" }, fb = { class: "oc-toggle-field-label" }, vb = ["id"], $b = { class: "oc-switch" }, yb = ["aria-describedby"], gb = /* @__PURE__ */ f({
|
|
6428
6437
|
inheritAttrs: !1,
|
|
6429
6438
|
__name: "OcToggleField",
|
|
6430
|
-
props: /* @__PURE__ */
|
|
6439
|
+
props: /* @__PURE__ */ x({
|
|
6431
6440
|
label: {},
|
|
6432
6441
|
description: {},
|
|
6433
6442
|
card: { type: Boolean },
|
|
@@ -6438,7 +6447,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6438
6447
|
}),
|
|
6439
6448
|
emits: ["update:modelValue"],
|
|
6440
6449
|
setup(e) {
|
|
6441
|
-
const o =
|
|
6450
|
+
const o = A(e, "modelValue"), { root: l, control: c } = Y(), n = z("oc-toggle-field");
|
|
6442
6451
|
return (r, u) => (t(), a("label", I(y(l), {
|
|
6443
6452
|
class: ["oc-toggle-field", e.card && "oc-toggle-field--card", e.reverse && "oc-toggle-field--reverse"]
|
|
6444
6453
|
}), [
|
|
@@ -6473,7 +6482,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6473
6482
|
}
|
|
6474
6483
|
}), kb = ["role", "aria-label"], pb = /* @__PURE__ */ f({
|
|
6475
6484
|
__name: "OcToggleGroup",
|
|
6476
|
-
props: /* @__PURE__ */
|
|
6485
|
+
props: /* @__PURE__ */ x({
|
|
6477
6486
|
type: { default: "multiple" },
|
|
6478
6487
|
spaced: { type: Boolean },
|
|
6479
6488
|
label: {},
|
|
@@ -6484,7 +6493,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6484
6493
|
}),
|
|
6485
6494
|
emits: ["update:modelValue"],
|
|
6486
6495
|
setup(e) {
|
|
6487
|
-
const o = e, l =
|
|
6496
|
+
const o = e, l = A(e, "modelValue"), c = z("oc-toggle"), n = T(() => Array.isArray(l.value) ? l.value : l.value ? [l.value] : []);
|
|
6488
6497
|
function r(u) {
|
|
6489
6498
|
if (o.type === "single")
|
|
6490
6499
|
l.value = u;
|
|
@@ -6495,8 +6504,8 @@ const db = /* @__PURE__ */ f({
|
|
|
6495
6504
|
}
|
|
6496
6505
|
return pe(st, {
|
|
6497
6506
|
values: n,
|
|
6498
|
-
type:
|
|
6499
|
-
name:
|
|
6507
|
+
type: T(() => o.type),
|
|
6508
|
+
name: T(() => o.name ?? c),
|
|
6500
6509
|
toggle: r
|
|
6501
6510
|
}), (u, h) => (t(), a("div", {
|
|
6502
6511
|
class: g(["oc-toggle-group", e.spaced && "oc-toggle-group--spaced"]),
|
|
@@ -6506,20 +6515,31 @@ const db = /* @__PURE__ */ f({
|
|
|
6506
6515
|
m(u.$slots, "default")
|
|
6507
6516
|
], 10, kb));
|
|
6508
6517
|
}
|
|
6509
|
-
}), wb = ["data-tooltip"], Ob =
|
|
6518
|
+
}), wb = ["data-tooltip"], Ob = {
|
|
6519
|
+
key: 0,
|
|
6520
|
+
class: "oc-tooltip__content",
|
|
6521
|
+
role: "tooltip"
|
|
6522
|
+
}, _b = { class: "oc-tooltip__title" }, Bb = /* @__PURE__ */ f({
|
|
6510
6523
|
__name: "OcTooltip",
|
|
6511
6524
|
props: {
|
|
6512
|
-
text: {}
|
|
6525
|
+
text: {},
|
|
6526
|
+
multiline: { type: Boolean },
|
|
6527
|
+
heading: {},
|
|
6528
|
+
side: {}
|
|
6513
6529
|
},
|
|
6514
6530
|
setup(e) {
|
|
6515
6531
|
return (o, l) => (t(), a("span", {
|
|
6516
|
-
class: "oc-tooltip",
|
|
6517
|
-
"data-tooltip": e.text
|
|
6532
|
+
class: g(["oc-tooltip", { "oc-tooltip--multiline": e.multiline && !e.heading, [`oc-tooltip--${e.side}`]: e.side && e.side !== "top" }]),
|
|
6533
|
+
"data-tooltip": e.heading ? void 0 : e.text
|
|
6518
6534
|
}, [
|
|
6519
|
-
m(o.$slots, "default")
|
|
6520
|
-
|
|
6535
|
+
m(o.$slots, "default"),
|
|
6536
|
+
e.heading ? (t(), a("span", Ob, [
|
|
6537
|
+
s("span", _b, i(e.heading), 1),
|
|
6538
|
+
k(i(e.text), 1)
|
|
6539
|
+
])) : d("", !0)
|
|
6540
|
+
], 10, wb));
|
|
6521
6541
|
}
|
|
6522
|
-
}),
|
|
6542
|
+
}), Cb = ["value", "max", "hidden"], Sb = /* @__PURE__ */ f({
|
|
6523
6543
|
__name: "OcTopProgress",
|
|
6524
6544
|
props: {
|
|
6525
6545
|
active: { type: Boolean, default: !0 },
|
|
@@ -6543,7 +6563,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6543
6563
|
l.value !== "hidden" && (l.value = "done", c = setTimeout(() => l.value = "hidden", o.fadeMs));
|
|
6544
6564
|
}
|
|
6545
6565
|
), qe(() => clearTimeout(c));
|
|
6546
|
-
const n =
|
|
6566
|
+
const n = T(() => [
|
|
6547
6567
|
"oc-top-progress",
|
|
6548
6568
|
o.tone !== "default" && `oc-top-progress--${o.tone}`,
|
|
6549
6569
|
o.large && "oc-top-progress--lg",
|
|
@@ -6555,41 +6575,41 @@ const db = /* @__PURE__ */ f({
|
|
|
6555
6575
|
value: e.value,
|
|
6556
6576
|
max: e.max,
|
|
6557
6577
|
hidden: l.value === "hidden"
|
|
6558
|
-
}, null, 10,
|
|
6578
|
+
}, null, 10, Cb));
|
|
6559
6579
|
}
|
|
6560
|
-
}),
|
|
6580
|
+
}), Lb = {
|
|
6561
6581
|
key: 0,
|
|
6562
6582
|
class: "oc-tree-list"
|
|
6563
|
-
},
|
|
6583
|
+
}, Mb = ["open"], Tb = ["aria-current"], Vb = {
|
|
6564
6584
|
key: 0,
|
|
6565
6585
|
class: "oc-tree-icon",
|
|
6566
6586
|
"aria-hidden": "true"
|
|
6567
|
-
},
|
|
6587
|
+
}, xb = { class: "oc-tree-label" }, Ab = {
|
|
6568
6588
|
key: 1,
|
|
6569
6589
|
class: "oc-tree-count"
|
|
6570
|
-
},
|
|
6590
|
+
}, zb = {
|
|
6571
6591
|
key: 2,
|
|
6572
6592
|
class: "oc-tree-actions"
|
|
6573
|
-
},
|
|
6593
|
+
}, qb = ["aria-current"], Ib = {
|
|
6574
6594
|
key: 0,
|
|
6575
6595
|
class: "oc-tree-icon",
|
|
6576
6596
|
"aria-hidden": "true"
|
|
6577
|
-
},
|
|
6597
|
+
}, Db = ["href", "aria-current"], Pb = {
|
|
6578
6598
|
key: 2,
|
|
6579
6599
|
class: "oc-tree-label"
|
|
6580
|
-
},
|
|
6600
|
+
}, Fb = {
|
|
6581
6601
|
key: 3,
|
|
6582
6602
|
class: "oc-tree-count"
|
|
6583
|
-
},
|
|
6603
|
+
}, Eb = {
|
|
6584
6604
|
key: 4,
|
|
6585
6605
|
class: "oc-tree-actions"
|
|
6586
|
-
},
|
|
6606
|
+
}, jb = {
|
|
6587
6607
|
key: 0,
|
|
6588
6608
|
class: "oc-tree-row oc-tree-head"
|
|
6589
|
-
},
|
|
6609
|
+
}, Hb = { class: "oc-tree-label" }, Rb = {
|
|
6590
6610
|
key: 0,
|
|
6591
6611
|
class: "oc-tree-actions"
|
|
6592
|
-
},
|
|
6612
|
+
}, Nb = /* @__PURE__ */ f({
|
|
6593
6613
|
name: "OcTree",
|
|
6594
6614
|
__name: "OcTree",
|
|
6595
6615
|
props: {
|
|
@@ -6602,7 +6622,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6602
6622
|
setup(e) {
|
|
6603
6623
|
return (o, l) => {
|
|
6604
6624
|
const c = pt("OcTree", !0);
|
|
6605
|
-
return e.nested ? (t(), a("ul",
|
|
6625
|
+
return e.nested ? (t(), a("ul", Lb, [
|
|
6606
6626
|
(t(!0), a($, null, _(e.items, (n, r) => (t(), a("li", { key: r }, [
|
|
6607
6627
|
n.children?.length ? (t(), a("details", {
|
|
6608
6628
|
key: 0,
|
|
@@ -6613,15 +6633,15 @@ const db = /* @__PURE__ */ f({
|
|
|
6613
6633
|
class: g(["oc-tree-row", n.muted && "is-muted"]),
|
|
6614
6634
|
"aria-current": n.current && !n.href ? "true" : void 0
|
|
6615
6635
|
}, [
|
|
6616
|
-
o.$slots.icon ? (t(), a("span",
|
|
6636
|
+
o.$slots.icon ? (t(), a("span", Vb, [
|
|
6617
6637
|
m(o.$slots, "icon", { item: n })
|
|
6618
6638
|
])) : d("", !0),
|
|
6619
|
-
s("span",
|
|
6620
|
-
n.count != null ? (t(), a("span",
|
|
6621
|
-
o.$slots.actions ? (t(), a("span",
|
|
6639
|
+
s("span", xb, i(n.label), 1),
|
|
6640
|
+
n.count != null ? (t(), a("span", Ab, i(n.count), 1)) : d("", !0),
|
|
6641
|
+
o.$slots.actions ? (t(), a("span", zb, [
|
|
6622
6642
|
m(o.$slots, "actions", { item: n })
|
|
6623
6643
|
])) : d("", !0)
|
|
6624
|
-
], 10,
|
|
6644
|
+
], 10, Tb),
|
|
6625
6645
|
Q(c, {
|
|
6626
6646
|
items: n.children,
|
|
6627
6647
|
nested: ""
|
|
@@ -6641,12 +6661,12 @@ const db = /* @__PURE__ */ f({
|
|
|
6641
6661
|
key: "1"
|
|
6642
6662
|
} : void 0
|
|
6643
6663
|
]), 1032, ["items"])
|
|
6644
|
-
], 8,
|
|
6664
|
+
], 8, Mb)) : (t(), a("div", {
|
|
6645
6665
|
key: 1,
|
|
6646
6666
|
class: g(["oc-tree-row", n.muted && "is-muted"]),
|
|
6647
6667
|
"aria-current": n.current && !n.href ? "true" : void 0
|
|
6648
6668
|
}, [
|
|
6649
|
-
o.$slots.icon ? (t(), a("span",
|
|
6669
|
+
o.$slots.icon ? (t(), a("span", Ib, [
|
|
6650
6670
|
m(o.$slots, "icon", { item: n })
|
|
6651
6671
|
])) : d("", !0),
|
|
6652
6672
|
n.href ? (t(), a("a", {
|
|
@@ -6654,20 +6674,20 @@ const db = /* @__PURE__ */ f({
|
|
|
6654
6674
|
class: "oc-tree-label",
|
|
6655
6675
|
href: n.href,
|
|
6656
6676
|
"aria-current": n.current ? "true" : void 0
|
|
6657
|
-
}, i(n.label), 9,
|
|
6658
|
-
n.count != null ? (t(), a("span",
|
|
6659
|
-
o.$slots.actions ? (t(), a("span",
|
|
6677
|
+
}, i(n.label), 9, Db)) : (t(), a("span", Pb, i(n.label), 1)),
|
|
6678
|
+
n.count != null ? (t(), a("span", Fb, i(n.count), 1)) : d("", !0),
|
|
6679
|
+
o.$slots.actions ? (t(), a("span", Eb, [
|
|
6660
6680
|
m(o.$slots, "actions", { item: n })
|
|
6661
6681
|
])) : d("", !0)
|
|
6662
|
-
], 10,
|
|
6682
|
+
], 10, qb))
|
|
6663
6683
|
]))), 128))
|
|
6664
6684
|
])) : (t(), a("div", {
|
|
6665
6685
|
key: 1,
|
|
6666
6686
|
class: g(["oc-tree", e.quiet && "oc-tree--quiet", e.flush && "oc-tree--flush"])
|
|
6667
6687
|
}, [
|
|
6668
|
-
e.head ? (t(), a("div",
|
|
6669
|
-
s("span",
|
|
6670
|
-
o.$slots["head-actions"] ? (t(), a("span",
|
|
6688
|
+
e.head ? (t(), a("div", jb, [
|
|
6689
|
+
s("span", Hb, i(e.head), 1),
|
|
6690
|
+
o.$slots["head-actions"] ? (t(), a("span", Rb, [
|
|
6671
6691
|
m(o.$slots, "head-actions")
|
|
6672
6692
|
])) : d("", !0)
|
|
6673
6693
|
])) : d("", !0),
|
|
@@ -6693,23 +6713,23 @@ const db = /* @__PURE__ */ f({
|
|
|
6693
6713
|
], 2));
|
|
6694
6714
|
};
|
|
6695
6715
|
}
|
|
6696
|
-
}),
|
|
6716
|
+
}), Gb = {
|
|
6697
6717
|
key: 0,
|
|
6698
6718
|
class: "oc-upgrade-banner-icon",
|
|
6699
6719
|
"aria-hidden": "true"
|
|
6700
|
-
},
|
|
6720
|
+
}, Kb = { class: "oc-upgrade-banner-body" }, Ub = { class: "oc-upgrade-banner-title" }, Wb = {
|
|
6701
6721
|
key: 0,
|
|
6702
6722
|
class: "oc-upgrade-banner-plan"
|
|
6703
|
-
},
|
|
6723
|
+
}, Jb = {
|
|
6704
6724
|
key: 0,
|
|
6705
6725
|
class: "oc-upgrade-banner-text"
|
|
6706
|
-
},
|
|
6726
|
+
}, Zb = {
|
|
6707
6727
|
key: 1,
|
|
6708
6728
|
class: "oc-upgrade-banner-usage"
|
|
6709
|
-
},
|
|
6729
|
+
}, Qb = ["max", "low", "high", "value"], Xb = {
|
|
6710
6730
|
key: 1,
|
|
6711
6731
|
class: "oc-upgrade-banner-actions"
|
|
6712
|
-
},
|
|
6732
|
+
}, Yb = ["aria-label"], ef = /* @__PURE__ */ f({
|
|
6713
6733
|
__name: "OcUpgradeBanner",
|
|
6714
6734
|
props: {
|
|
6715
6735
|
title: {},
|
|
@@ -6727,20 +6747,20 @@ const db = /* @__PURE__ */ f({
|
|
|
6727
6747
|
return (c, n) => (t(), a("aside", {
|
|
6728
6748
|
class: g(["oc-upgrade-banner", e.premium && "oc-upgrade-banner--premium", e.compact && "oc-upgrade-banner--compact"])
|
|
6729
6749
|
}, [
|
|
6730
|
-
c.$slots.icon ? (t(), a("span",
|
|
6750
|
+
c.$slots.icon ? (t(), a("span", Gb, [
|
|
6731
6751
|
m(c.$slots, "icon")
|
|
6732
6752
|
])) : d("", !0),
|
|
6733
|
-
s("div",
|
|
6734
|
-
s("p",
|
|
6753
|
+
s("div", Kb, [
|
|
6754
|
+
s("p", Ub, [
|
|
6735
6755
|
k(i(e.title) + " ", 1),
|
|
6736
|
-
e.plan ? (t(), a("span",
|
|
6756
|
+
e.plan ? (t(), a("span", Wb, i(e.plan), 1)) : d("", !0)
|
|
6737
6757
|
]),
|
|
6738
|
-
c.$slots.default || e.text ? (t(), a("p",
|
|
6758
|
+
c.$slots.default || e.text ? (t(), a("p", Jb, [
|
|
6739
6759
|
m(c.$slots, "default", {}, () => [
|
|
6740
6760
|
k(i(e.text), 1)
|
|
6741
6761
|
])
|
|
6742
6762
|
])) : d("", !0),
|
|
6743
|
-
e.usage ? (t(), a("div",
|
|
6763
|
+
e.usage ? (t(), a("div", Zb, [
|
|
6744
6764
|
s("span", null, i(e.usage.label), 1),
|
|
6745
6765
|
s("meter", {
|
|
6746
6766
|
class: "oc-upgrade-banner-meter",
|
|
@@ -6750,11 +6770,11 @@ const db = /* @__PURE__ */ f({
|
|
|
6750
6770
|
high: e.usage.max * 0.8,
|
|
6751
6771
|
optimum: "0",
|
|
6752
6772
|
value: e.usage.value
|
|
6753
|
-
}, i(e.usage.value) + " of " + i(e.usage.max), 9,
|
|
6773
|
+
}, i(e.usage.value) + " of " + i(e.usage.max), 9, Qb),
|
|
6754
6774
|
s("span", null, i(e.usage.value) + " / " + i(e.usage.max), 1)
|
|
6755
6775
|
])) : d("", !0)
|
|
6756
6776
|
]),
|
|
6757
|
-
c.$slots.actions ? (t(), a("div",
|
|
6777
|
+
c.$slots.actions ? (t(), a("div", Xb, [
|
|
6758
6778
|
m(c.$slots, "actions")
|
|
6759
6779
|
])) : d("", !0),
|
|
6760
6780
|
e.dismissible ? (t(), a("button", {
|
|
@@ -6763,13 +6783,13 @@ const db = /* @__PURE__ */ f({
|
|
|
6763
6783
|
type: "button",
|
|
6764
6784
|
"aria-label": e.dismissLabel,
|
|
6765
6785
|
onClick: n[0] || (n[0] = (r) => l("dismiss"))
|
|
6766
|
-
}, "×", 8,
|
|
6786
|
+
}, "×", 8, Yb)) : d("", !0)
|
|
6767
6787
|
], 2));
|
|
6768
6788
|
}
|
|
6769
|
-
}),
|
|
6789
|
+
}), tf = { class: "oc-user" }, af = ["src"], of = { class: "oc-user-text" }, sf = { class: "oc-user-name" }, lf = {
|
|
6770
6790
|
key: 0,
|
|
6771
6791
|
class: "oc-user-email"
|
|
6772
|
-
},
|
|
6792
|
+
}, cf = /* @__PURE__ */ f({
|
|
6773
6793
|
__name: "OcUser",
|
|
6774
6794
|
props: {
|
|
6775
6795
|
name: {},
|
|
@@ -6779,7 +6799,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6779
6799
|
avatarSize: {}
|
|
6780
6800
|
},
|
|
6781
6801
|
setup(e) {
|
|
6782
|
-
return (o, l) => (t(), a("div",
|
|
6802
|
+
return (o, l) => (t(), a("div", tf, [
|
|
6783
6803
|
m(o.$slots, "avatar", {}, () => [
|
|
6784
6804
|
s("span", {
|
|
6785
6805
|
class: g(["oc-avatar", e.avatarSize && e.avatarSize !== "md" && `oc-avatar--${e.avatarSize}`])
|
|
@@ -6788,22 +6808,22 @@ const db = /* @__PURE__ */ f({
|
|
|
6788
6808
|
key: 0,
|
|
6789
6809
|
src: e.src,
|
|
6790
6810
|
alt: ""
|
|
6791
|
-
}, null, 8,
|
|
6811
|
+
}, null, 8, af)) : (t(), a($, { key: 1 }, [
|
|
6792
6812
|
k(i(e.initials), 1)
|
|
6793
6813
|
], 64))
|
|
6794
6814
|
], 2)
|
|
6795
6815
|
]),
|
|
6796
|
-
s("span",
|
|
6797
|
-
s("span",
|
|
6798
|
-
e.email ? (t(), a("span",
|
|
6816
|
+
s("span", of, [
|
|
6817
|
+
s("span", sf, i(e.name), 1),
|
|
6818
|
+
e.email ? (t(), a("span", lf, i(e.email), 1)) : d("", !0)
|
|
6799
6819
|
])
|
|
6800
6820
|
]));
|
|
6801
6821
|
}
|
|
6802
|
-
}),
|
|
6822
|
+
}), nf = { class: "oc-version-banner-text" }, rf = { class: "oc-version-banner-short" }, df = {
|
|
6803
6823
|
key: 1,
|
|
6804
6824
|
class: "oc-version-banner-action",
|
|
6805
6825
|
href: ""
|
|
6806
|
-
},
|
|
6826
|
+
}, uf = /* @__PURE__ */ f({
|
|
6807
6827
|
__name: "OcVersionBanner",
|
|
6808
6828
|
props: {
|
|
6809
6829
|
version: { default: null },
|
|
@@ -6824,30 +6844,30 @@ const db = /* @__PURE__ */ f({
|
|
|
6824
6844
|
class: "oc-version-banner-dot",
|
|
6825
6845
|
"aria-hidden": "true"
|
|
6826
6846
|
}, null, -1)),
|
|
6827
|
-
s("span",
|
|
6847
|
+
s("span", nf, [
|
|
6828
6848
|
m(l.$slots, "default", {}, () => [
|
|
6829
6849
|
k("New version (" + i(e.version) + ") available - reload the page", 1)
|
|
6830
6850
|
])
|
|
6831
6851
|
]),
|
|
6832
|
-
s("span",
|
|
6852
|
+
s("span", rf, i(e.short), 1),
|
|
6833
6853
|
o.onReload ? (t(), a("button", {
|
|
6834
6854
|
key: 0,
|
|
6835
6855
|
class: "oc-version-banner-action",
|
|
6836
6856
|
type: "button",
|
|
6837
6857
|
onClick: c[0] || (c[0] = (n) => o.onReload())
|
|
6838
|
-
}, i(e.actionLabel), 1)) : (t(), a("a",
|
|
6858
|
+
}, i(e.actionLabel), 1)) : (t(), a("a", df, i(e.actionLabel), 1))
|
|
6839
6859
|
], 2)) : d("", !0);
|
|
6840
6860
|
}
|
|
6841
|
-
}),
|
|
6861
|
+
}), mf = ["aria-labelledby"], hf = { class: "oc-block-about-inner" }, bf = ["aria-hidden"], ff = ["src", "alt"], vf = {
|
|
6842
6862
|
key: 1,
|
|
6843
6863
|
class: "oc-block-about-badge"
|
|
6844
|
-
},
|
|
6864
|
+
}, $f = { class: "oc-block-about-copy" }, yf = {
|
|
6845
6865
|
key: 0,
|
|
6846
6866
|
class: "oc-eyebrow"
|
|
6847
|
-
},
|
|
6867
|
+
}, gf = ["id"], kf = {
|
|
6848
6868
|
key: 0,
|
|
6849
6869
|
class: "oc-text-gradient"
|
|
6850
|
-
},
|
|
6870
|
+
}, pf = /* @__PURE__ */ f({
|
|
6851
6871
|
__name: "OcBlockAboutTimeline",
|
|
6852
6872
|
props: {
|
|
6853
6873
|
eyebrow: {},
|
|
@@ -6864,7 +6884,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6864
6884
|
class: g(["oc-block-about", e.reverse && "oc-block-about--reverse"]),
|
|
6865
6885
|
"aria-labelledby": y(o)
|
|
6866
6886
|
}, [
|
|
6867
|
-
s("div",
|
|
6887
|
+
s("div", hf, [
|
|
6868
6888
|
s("figure", {
|
|
6869
6889
|
class: "oc-block-about-media",
|
|
6870
6890
|
"aria-hidden": e.image ? void 0 : "true"
|
|
@@ -6874,22 +6894,22 @@ const db = /* @__PURE__ */ f({
|
|
|
6874
6894
|
src: e.image,
|
|
6875
6895
|
alt: e.imageAlt,
|
|
6876
6896
|
loading: "lazy"
|
|
6877
|
-
}, null, 8,
|
|
6878
|
-
l.$slots.badge ? (t(), a("span",
|
|
6897
|
+
}, null, 8, ff)) : d("", !0),
|
|
6898
|
+
l.$slots.badge ? (t(), a("span", vf, [
|
|
6879
6899
|
m(l.$slots, "badge")
|
|
6880
6900
|
])) : d("", !0)
|
|
6881
|
-
], 8,
|
|
6882
|
-
s("div",
|
|
6883
|
-
e.eyebrow ? (t(), a("p",
|
|
6901
|
+
], 8, bf),
|
|
6902
|
+
s("div", $f, [
|
|
6903
|
+
e.eyebrow ? (t(), a("p", yf, i(e.eyebrow), 1)) : d("", !0),
|
|
6884
6904
|
s("h2", {
|
|
6885
6905
|
id: y(o),
|
|
6886
6906
|
class: "oc-block-about-title"
|
|
6887
6907
|
}, [
|
|
6888
6908
|
m(l.$slots, "title", {}, () => [
|
|
6889
6909
|
k(i(e.title) + " ", 1),
|
|
6890
|
-
e.highlight ? (t(), a("span",
|
|
6910
|
+
e.highlight ? (t(), a("span", kf, i(e.highlight), 1)) : d("", !0)
|
|
6891
6911
|
])
|
|
6892
|
-
], 8,
|
|
6912
|
+
], 8, gf),
|
|
6893
6913
|
m(l.$slots, "default"),
|
|
6894
6914
|
e.timeline.length ? (t(), j(it, {
|
|
6895
6915
|
key: 1,
|
|
@@ -6897,15 +6917,15 @@ const db = /* @__PURE__ */ f({
|
|
|
6897
6917
|
}, null, 8, ["items"])) : d("", !0)
|
|
6898
6918
|
])
|
|
6899
6919
|
])
|
|
6900
|
-
], 10,
|
|
6920
|
+
], 10, mf));
|
|
6901
6921
|
}
|
|
6902
|
-
}),
|
|
6922
|
+
}), wf = { class: "oc-block-appbar" }, Of = ["for", "title"], _f = { class: "oc-visually-hidden" }, Bf = {
|
|
6903
6923
|
key: 0,
|
|
6904
6924
|
class: "oc-block-appbar-title"
|
|
6905
|
-
},
|
|
6925
|
+
}, Cf = ["aria-label"], Sf = {
|
|
6906
6926
|
key: 2,
|
|
6907
6927
|
class: "oc-block-appbar-actions"
|
|
6908
|
-
},
|
|
6928
|
+
}, Lf = /* @__PURE__ */ f({
|
|
6909
6929
|
__name: "OcBlockAppHeader",
|
|
6910
6930
|
props: {
|
|
6911
6931
|
toggleFor: {},
|
|
@@ -6915,7 +6935,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6915
6935
|
title: {}
|
|
6916
6936
|
},
|
|
6917
6937
|
setup(e) {
|
|
6918
|
-
return (o, l) => (t(), a("header",
|
|
6938
|
+
return (o, l) => (t(), a("header", wf, [
|
|
6919
6939
|
m(o.$slots, "toggle", {}, () => [
|
|
6920
6940
|
e.toggleFor ? (t(), a("label", {
|
|
6921
6941
|
key: 0,
|
|
@@ -6934,10 +6954,10 @@ const db = /* @__PURE__ */ f({
|
|
|
6934
6954
|
}, [
|
|
6935
6955
|
s("path", { d: "M4 6h16M4 12h16M4 18h16" })
|
|
6936
6956
|
], -1)),
|
|
6937
|
-
s("span",
|
|
6938
|
-
], 8,
|
|
6957
|
+
s("span", _f, i(e.toggleLabel), 1)
|
|
6958
|
+
], 8, Of)) : d("", !0)
|
|
6939
6959
|
]),
|
|
6940
|
-
e.title ? (t(), a("span",
|
|
6960
|
+
e.title ? (t(), a("span", Bf, i(e.title), 1)) : d("", !0),
|
|
6941
6961
|
e.navItems?.length || o.$slots.nav ? (t(), a("nav", {
|
|
6942
6962
|
key: 1,
|
|
6943
6963
|
class: "oc-block-appbar-nav",
|
|
@@ -6946,18 +6966,18 @@ const db = /* @__PURE__ */ f({
|
|
|
6946
6966
|
m(o.$slots, "nav", {}, () => [
|
|
6947
6967
|
Q(Ie, { items: e.navItems }, null, 8, ["items"])
|
|
6948
6968
|
])
|
|
6949
|
-
], 8,
|
|
6950
|
-
o.$slots.actions ? (t(), a("div",
|
|
6969
|
+
], 8, Cf)) : d("", !0),
|
|
6970
|
+
o.$slots.actions ? (t(), a("div", Sf, [
|
|
6951
6971
|
m(o.$slots, "actions")
|
|
6952
6972
|
])) : d("", !0)
|
|
6953
6973
|
]));
|
|
6954
6974
|
}
|
|
6955
|
-
}),
|
|
6975
|
+
}), Mf = ["id", "aria-label"], Tf = { class: "oc-block-shell-main" }, Vf = {
|
|
6956
6976
|
key: 0,
|
|
6957
6977
|
class: "oc-block-shell-breadcrumbs"
|
|
6958
|
-
},
|
|
6978
|
+
}, xf = { class: "oc-block-shell-content" }, Af = /* @__PURE__ */ f({
|
|
6959
6979
|
__name: "OcBlockAppShell",
|
|
6960
|
-
props: /* @__PURE__ */
|
|
6980
|
+
props: /* @__PURE__ */ x({
|
|
6961
6981
|
toggleId: { default: "oc-shell-toggle" },
|
|
6962
6982
|
height: {},
|
|
6963
6983
|
toggleLabel: { default: "Collapse sidebar" }
|
|
@@ -6967,7 +6987,7 @@ const db = /* @__PURE__ */ f({
|
|
|
6967
6987
|
}),
|
|
6968
6988
|
emits: ["update:collapsed"],
|
|
6969
6989
|
setup(e) {
|
|
6970
|
-
const o = e, l =
|
|
6990
|
+
const o = e, l = A(e, "collapsed"), c = T(() => o.height ? { "--oc-block-shell-height": o.height } : void 0);
|
|
6971
6991
|
return (n, r) => (t(), a("div", {
|
|
6972
6992
|
class: "oc-block-shell",
|
|
6973
6993
|
style: K(c.value)
|
|
@@ -6978,31 +6998,31 @@ const db = /* @__PURE__ */ f({
|
|
|
6978
6998
|
class: "oc-block-shell-toggle",
|
|
6979
6999
|
type: "checkbox",
|
|
6980
7000
|
"aria-label": e.toggleLabel
|
|
6981
|
-
}, null, 8,
|
|
7001
|
+
}, null, 8, Mf), [
|
|
6982
7002
|
[Ce, l.value]
|
|
6983
7003
|
]),
|
|
6984
7004
|
m(n.$slots, "sidebar"),
|
|
6985
|
-
s("div",
|
|
7005
|
+
s("div", Tf, [
|
|
6986
7006
|
m(n.$slots, "header"),
|
|
6987
|
-
n.$slots.breadcrumbs ? (t(), a("div",
|
|
7007
|
+
n.$slots.breadcrumbs ? (t(), a("div", Vf, [
|
|
6988
7008
|
m(n.$slots, "breadcrumbs")
|
|
6989
7009
|
])) : d("", !0),
|
|
6990
|
-
s("main",
|
|
7010
|
+
s("main", xf, [
|
|
6991
7011
|
m(n.$slots, "default")
|
|
6992
7012
|
])
|
|
6993
7013
|
])
|
|
6994
7014
|
], 4));
|
|
6995
7015
|
}
|
|
6996
|
-
}),
|
|
7016
|
+
}), zf = { class: "oc-block-auth" }, qf = { class: "oc-block-auth-card" }, If = { key: 0 }, Df = {
|
|
6997
7017
|
key: 1,
|
|
6998
7018
|
class: "oc-block-subtitle"
|
|
6999
|
-
},
|
|
7019
|
+
}, Pf = {
|
|
7000
7020
|
key: 0,
|
|
7001
7021
|
class: "oc-block-auth-divider"
|
|
7002
|
-
},
|
|
7022
|
+
}, Ff = {
|
|
7003
7023
|
key: 0,
|
|
7004
7024
|
class: "oc-block-auth-footer"
|
|
7005
|
-
},
|
|
7025
|
+
}, Ef = /* @__PURE__ */ f({
|
|
7006
7026
|
__name: "OcBlockAuth",
|
|
7007
7027
|
props: {
|
|
7008
7028
|
title: {},
|
|
@@ -7010,43 +7030,43 @@ const db = /* @__PURE__ */ f({
|
|
|
7010
7030
|
divider: {}
|
|
7011
7031
|
},
|
|
7012
7032
|
setup(e) {
|
|
7013
|
-
return (o, l) => (t(), a("div",
|
|
7014
|
-
s("div",
|
|
7015
|
-
e.title ? (t(), a("h2",
|
|
7016
|
-
e.subtitle ? (t(), a("p",
|
|
7033
|
+
return (o, l) => (t(), a("div", zf, [
|
|
7034
|
+
s("div", qf, [
|
|
7035
|
+
e.title ? (t(), a("h2", If, i(e.title), 1)) : d("", !0),
|
|
7036
|
+
e.subtitle ? (t(), a("p", Df, i(e.subtitle), 1)) : d("", !0),
|
|
7017
7037
|
m(o.$slots, "default"),
|
|
7018
7038
|
m(o.$slots, "actions"),
|
|
7019
7039
|
o.$slots.social ? (t(), a($, { key: 2 }, [
|
|
7020
|
-
e.divider ? (t(), a("div",
|
|
7040
|
+
e.divider ? (t(), a("div", Pf, i(e.divider), 1)) : d("", !0),
|
|
7021
7041
|
m(o.$slots, "social")
|
|
7022
7042
|
], 64)) : d("", !0)
|
|
7023
7043
|
]),
|
|
7024
|
-
o.$slots.footer ? (t(), a("div",
|
|
7044
|
+
o.$slots.footer ? (t(), a("div", Ff, [
|
|
7025
7045
|
m(o.$slots, "footer")
|
|
7026
7046
|
])) : d("", !0)
|
|
7027
7047
|
]));
|
|
7028
7048
|
}
|
|
7029
|
-
}),
|
|
7049
|
+
}), jf = { class: "oc-block-authsplit" }, Hf = { class: "oc-block-authsplit-brand" }, Rf = {
|
|
7030
7050
|
key: 0,
|
|
7031
7051
|
class: "oc-block-authsplit-logo",
|
|
7032
7052
|
href: "/"
|
|
7033
|
-
},
|
|
7053
|
+
}, Nf = {
|
|
7034
7054
|
key: 1,
|
|
7035
7055
|
class: "oc-block-authsplit-quote"
|
|
7036
|
-
},
|
|
7056
|
+
}, Gf = { key: 0 }, Kf = { class: "oc-block-authsplit-form" }, Uf = ["action", "method"], Wf = {
|
|
7037
7057
|
key: 0,
|
|
7038
7058
|
class: "oc-block-authsplit-title"
|
|
7039
|
-
},
|
|
7059
|
+
}, Jf = {
|
|
7040
7060
|
key: 1,
|
|
7041
7061
|
class: "oc-block-authsplit-subtitle"
|
|
7042
|
-
},
|
|
7062
|
+
}, Zf = { class: "oc-block-authsplit-fields" }, Qf = {
|
|
7043
7063
|
key: 0,
|
|
7044
7064
|
class: "oc-block-authsplit-row"
|
|
7045
|
-
},
|
|
7065
|
+
}, Xf = {
|
|
7046
7066
|
class: "oc-btn",
|
|
7047
7067
|
type: "submit",
|
|
7048
7068
|
style: { width: "100%" }
|
|
7049
|
-
},
|
|
7069
|
+
}, Yf = /* @__PURE__ */ f({
|
|
7050
7070
|
__name: "OcBlockAuthSplit",
|
|
7051
7071
|
props: {
|
|
7052
7072
|
title: {},
|
|
@@ -7059,51 +7079,51 @@ const db = /* @__PURE__ */ f({
|
|
|
7059
7079
|
},
|
|
7060
7080
|
emits: ["submit"],
|
|
7061
7081
|
setup(e) {
|
|
7062
|
-
return (o, l) => (t(), a("div",
|
|
7063
|
-
s("aside",
|
|
7064
|
-
o.$slots.logo ? (t(), a("a",
|
|
7082
|
+
return (o, l) => (t(), a("div", jf, [
|
|
7083
|
+
s("aside", Hf, [
|
|
7084
|
+
o.$slots.logo ? (t(), a("a", Rf, [
|
|
7065
7085
|
m(o.$slots, "logo")
|
|
7066
7086
|
])) : d("", !0),
|
|
7067
|
-
e.quote || o.$slots.quote ? (t(), a("blockquote",
|
|
7087
|
+
e.quote || o.$slots.quote ? (t(), a("blockquote", Nf, [
|
|
7068
7088
|
m(o.$slots, "quote", {}, () => [
|
|
7069
7089
|
s("p", null, i(e.quote), 1),
|
|
7070
|
-
e.quoteAuthor ? (t(), a("footer",
|
|
7090
|
+
e.quoteAuthor ? (t(), a("footer", Gf, i(e.quoteAuthor), 1)) : d("", !0)
|
|
7071
7091
|
])
|
|
7072
7092
|
])) : d("", !0)
|
|
7073
7093
|
]),
|
|
7074
|
-
s("div",
|
|
7094
|
+
s("div", Kf, [
|
|
7075
7095
|
s("form", {
|
|
7076
7096
|
class: "oc-block-authsplit-card",
|
|
7077
7097
|
action: e.action,
|
|
7078
7098
|
method: e.method,
|
|
7079
7099
|
onSubmit: l[0] || (l[0] = (c) => o.$emit("submit", c))
|
|
7080
7100
|
}, [
|
|
7081
|
-
e.title ? (t(), a("h1",
|
|
7082
|
-
e.subtitle ? (t(), a("p",
|
|
7083
|
-
s("div",
|
|
7101
|
+
e.title ? (t(), a("h1", Wf, i(e.title), 1)) : d("", !0),
|
|
7102
|
+
e.subtitle ? (t(), a("p", Jf, i(e.subtitle), 1)) : d("", !0),
|
|
7103
|
+
s("div", Zf, [
|
|
7084
7104
|
m(o.$slots, "default"),
|
|
7085
|
-
o.$slots.row ? (t(), a("div",
|
|
7105
|
+
o.$slots.row ? (t(), a("div", Qf, [
|
|
7086
7106
|
m(o.$slots, "row")
|
|
7087
7107
|
])) : d("", !0),
|
|
7088
7108
|
m(o.$slots, "submit", {}, () => [
|
|
7089
|
-
s("button",
|
|
7109
|
+
s("button", Xf, i(e.submitLabel), 1)
|
|
7090
7110
|
])
|
|
7091
7111
|
]),
|
|
7092
7112
|
m(o.$slots, "footer")
|
|
7093
|
-
], 40,
|
|
7113
|
+
], 40, Uf)
|
|
7094
7114
|
])
|
|
7095
7115
|
]));
|
|
7096
7116
|
}
|
|
7097
|
-
}),
|
|
7117
|
+
}), e1 = ["aria-labelledby"], t1 = {
|
|
7098
7118
|
key: 0,
|
|
7099
7119
|
class: "oc-block-contact-head"
|
|
7100
|
-
},
|
|
7120
|
+
}, a1 = {
|
|
7101
7121
|
key: 0,
|
|
7102
7122
|
class: "oc-eyebrow"
|
|
7103
|
-
},
|
|
7123
|
+
}, o1 = ["id"], s1 = {
|
|
7104
7124
|
key: 2,
|
|
7105
7125
|
class: "oc-block-contact-lead"
|
|
7106
|
-
},
|
|
7126
|
+
}, l1 = { class: "oc-block-contact-grid" }, c1 = ["href"], n1 = /* @__PURE__ */ f({
|
|
7107
7127
|
__name: "OcBlockContactGrid",
|
|
7108
7128
|
props: {
|
|
7109
7129
|
eyebrow: {},
|
|
@@ -7118,16 +7138,16 @@ const db = /* @__PURE__ */ f({
|
|
|
7118
7138
|
class: g(["oc-block-contact", e.plain && "oc-block-contact--plain"]),
|
|
7119
7139
|
"aria-labelledby": e.title ? y(o) : void 0
|
|
7120
7140
|
}, [
|
|
7121
|
-
e.eyebrow || e.title || e.lead ? (t(), a("div",
|
|
7122
|
-
e.eyebrow ? (t(), a("p",
|
|
7141
|
+
e.eyebrow || e.title || e.lead ? (t(), a("div", t1, [
|
|
7142
|
+
e.eyebrow ? (t(), a("p", a1, i(e.eyebrow), 1)) : d("", !0),
|
|
7123
7143
|
e.title ? (t(), a("h2", {
|
|
7124
7144
|
key: 1,
|
|
7125
7145
|
id: y(o),
|
|
7126
7146
|
class: "oc-block-contact-heading"
|
|
7127
|
-
}, i(e.title), 9,
|
|
7128
|
-
e.lead ? (t(), a("p",
|
|
7147
|
+
}, i(e.title), 9, o1)) : d("", !0),
|
|
7148
|
+
e.lead ? (t(), a("p", s1, i(e.lead), 1)) : d("", !0)
|
|
7129
7149
|
])) : d("", !0),
|
|
7130
|
-
s("div",
|
|
7150
|
+
s("div", l1, [
|
|
7131
7151
|
m(l.$slots, "default", {}, () => [
|
|
7132
7152
|
(t(!0), a($, null, _(e.cards, (n, r) => (t(), j(W(n.address ? "address" : "article"), {
|
|
7133
7153
|
key: r,
|
|
@@ -7150,7 +7170,7 @@ const db = /* @__PURE__ */ f({
|
|
|
7150
7170
|
key: 0,
|
|
7151
7171
|
class: "oc-block-contact-line",
|
|
7152
7172
|
href: u.href
|
|
7153
|
-
}, i(u.text), 9,
|
|
7173
|
+
}, i(u.text), 9, c1)) : (t(), j(W(n.address ? "span" : "p"), {
|
|
7154
7174
|
key: 1,
|
|
7155
7175
|
class: "oc-block-contact-line"
|
|
7156
7176
|
}, {
|
|
@@ -7165,45 +7185,45 @@ const db = /* @__PURE__ */ f({
|
|
|
7165
7185
|
}, 1024))), 128))
|
|
7166
7186
|
])
|
|
7167
7187
|
])
|
|
7168
|
-
], 10,
|
|
7188
|
+
], 10, e1));
|
|
7169
7189
|
}
|
|
7170
|
-
}),
|
|
7190
|
+
}), i1 = { class: "oc-block-cta" }, r1 = { key: 0 }, d1 = { key: 1 }, u1 = {
|
|
7171
7191
|
key: 2,
|
|
7172
7192
|
class: "oc-block-hero-actions"
|
|
7173
|
-
},
|
|
7193
|
+
}, m1 = /* @__PURE__ */ f({
|
|
7174
7194
|
__name: "OcBlockCta",
|
|
7175
7195
|
props: {
|
|
7176
7196
|
title: {},
|
|
7177
7197
|
text: {}
|
|
7178
7198
|
},
|
|
7179
7199
|
setup(e) {
|
|
7180
|
-
return (o, l) => (t(), a("div",
|
|
7181
|
-
e.title ? (t(), a("h2",
|
|
7182
|
-
e.text ? (t(), a("p",
|
|
7183
|
-
o.$slots.actions ? (t(), a("div",
|
|
7200
|
+
return (o, l) => (t(), a("div", i1, [
|
|
7201
|
+
e.title ? (t(), a("h2", r1, i(e.title), 1)) : d("", !0),
|
|
7202
|
+
e.text ? (t(), a("p", d1, i(e.text), 1)) : d("", !0),
|
|
7203
|
+
o.$slots.actions ? (t(), a("div", u1, [
|
|
7184
7204
|
m(o.$slots, "actions")
|
|
7185
7205
|
])) : d("", !0)
|
|
7186
7206
|
]));
|
|
7187
7207
|
}
|
|
7188
|
-
}),
|
|
7208
|
+
}), h1 = { class: "oc-card oc-block-datatable" }, b1 = {
|
|
7189
7209
|
key: 0,
|
|
7190
7210
|
class: "oc-block-datatable-head"
|
|
7191
|
-
},
|
|
7211
|
+
}, f1 = {
|
|
7192
7212
|
key: 0,
|
|
7193
7213
|
class: "oc-block-datatable-title"
|
|
7194
|
-
},
|
|
7214
|
+
}, v1 = {
|
|
7195
7215
|
key: 1,
|
|
7196
7216
|
class: "oc-block-datatable-description"
|
|
7197
|
-
},
|
|
7217
|
+
}, $1 = { key: 0 }, y1 = { class: "oc-block-datatable-body" }, g1 = {
|
|
7198
7218
|
key: 0,
|
|
7199
7219
|
class: "oc-table-toolbar"
|
|
7200
|
-
},
|
|
7220
|
+
}, k1 = {
|
|
7201
7221
|
key: 1,
|
|
7202
7222
|
class: "oc-block-datatable-bulk"
|
|
7203
|
-
},
|
|
7223
|
+
}, p1 = {
|
|
7204
7224
|
key: 2,
|
|
7205
7225
|
class: "oc-table-footer"
|
|
7206
|
-
},
|
|
7226
|
+
}, w1 = /* @__PURE__ */ f({
|
|
7207
7227
|
__name: "OcBlockDataTable",
|
|
7208
7228
|
props: {
|
|
7209
7229
|
title: {},
|
|
@@ -7211,40 +7231,40 @@ const db = /* @__PURE__ */ f({
|
|
|
7211
7231
|
selectedCount: {}
|
|
7212
7232
|
},
|
|
7213
7233
|
setup(e) {
|
|
7214
|
-
return (o, l) => (t(), a("section",
|
|
7215
|
-
e.title || e.description || o.$slots.actions ? (t(), a("header",
|
|
7234
|
+
return (o, l) => (t(), a("section", h1, [
|
|
7235
|
+
e.title || e.description || o.$slots.actions ? (t(), a("header", b1, [
|
|
7216
7236
|
s("div", null, [
|
|
7217
|
-
e.title ? (t(), a("h2",
|
|
7218
|
-
e.description ? (t(), a("p",
|
|
7237
|
+
e.title ? (t(), a("h2", f1, i(e.title), 1)) : d("", !0),
|
|
7238
|
+
e.description ? (t(), a("p", v1, i(e.description), 1)) : d("", !0)
|
|
7219
7239
|
]),
|
|
7220
|
-
o.$slots.actions ? (t(), a("div",
|
|
7240
|
+
o.$slots.actions ? (t(), a("div", $1, [
|
|
7221
7241
|
m(o.$slots, "actions")
|
|
7222
7242
|
])) : d("", !0)
|
|
7223
7243
|
])) : d("", !0),
|
|
7224
|
-
s("div",
|
|
7225
|
-
o.$slots.toolbar ? (t(), a("div",
|
|
7244
|
+
s("div", y1, [
|
|
7245
|
+
o.$slots.toolbar ? (t(), a("div", g1, [
|
|
7226
7246
|
m(o.$slots, "toolbar")
|
|
7227
7247
|
])) : d("", !0),
|
|
7228
|
-
o.$slots.bulk && e.selectedCount ? (t(), a("div",
|
|
7248
|
+
o.$slots.bulk && e.selectedCount ? (t(), a("div", k1, [
|
|
7229
7249
|
m(o.$slots, "bulk", { count: e.selectedCount })
|
|
7230
7250
|
])) : d("", !0),
|
|
7231
7251
|
m(o.$slots, "default"),
|
|
7232
|
-
o.$slots.footer ? (t(), a("div",
|
|
7252
|
+
o.$slots.footer ? (t(), a("div", p1, [
|
|
7233
7253
|
m(o.$slots, "footer")
|
|
7234
7254
|
])) : d("", !0)
|
|
7235
7255
|
])
|
|
7236
7256
|
]));
|
|
7237
7257
|
}
|
|
7238
|
-
}),
|
|
7258
|
+
}), O1 = ["aria-labelledby"], _1 = { class: "oc-block-faq-inner" }, B1 = { class: "oc-block-faq-head" }, C1 = {
|
|
7239
7259
|
key: 0,
|
|
7240
7260
|
class: "oc-eyebrow"
|
|
7241
|
-
},
|
|
7261
|
+
}, S1 = ["id"], L1 = {
|
|
7242
7262
|
key: 1,
|
|
7243
7263
|
class: "oc-block-faq-lead"
|
|
7244
|
-
},
|
|
7264
|
+
}, M1 = { class: "oc-accordion oc-block-faq-list" }, T1 = ["name", "open"], V1 = { class: "oc-accordion-trigger" }, x1 = { class: "oc-accordion-content" }, A1 = {
|
|
7245
7265
|
key: 0,
|
|
7246
7266
|
class: "oc-block-faq-more"
|
|
7247
|
-
},
|
|
7267
|
+
}, z1 = /* @__PURE__ */ f({
|
|
7248
7268
|
__name: "OcBlockFaq",
|
|
7249
7269
|
props: {
|
|
7250
7270
|
eyebrow: {},
|
|
@@ -7261,20 +7281,20 @@ const db = /* @__PURE__ */ f({
|
|
|
7261
7281
|
class: g(["oc-block-faq", e.split && "oc-block-faq--split"]),
|
|
7262
7282
|
"aria-labelledby": y(l)
|
|
7263
7283
|
}, [
|
|
7264
|
-
s("div",
|
|
7265
|
-
s("div",
|
|
7266
|
-
e.eyebrow ? (t(), a("p",
|
|
7284
|
+
s("div", _1, [
|
|
7285
|
+
s("div", B1, [
|
|
7286
|
+
e.eyebrow ? (t(), a("p", C1, i(e.eyebrow), 1)) : d("", !0),
|
|
7267
7287
|
s("h2", {
|
|
7268
7288
|
id: y(l),
|
|
7269
7289
|
class: "oc-block-faq-title"
|
|
7270
|
-
}, i(e.title), 9,
|
|
7271
|
-
e.lead || r.$slots.lead ? (t(), a("p",
|
|
7290
|
+
}, i(e.title), 9, S1),
|
|
7291
|
+
e.lead || r.$slots.lead ? (t(), a("p", L1, [
|
|
7272
7292
|
m(r.$slots, "lead", {}, () => [
|
|
7273
7293
|
k(i(e.lead), 1)
|
|
7274
7294
|
])
|
|
7275
7295
|
])) : d("", !0)
|
|
7276
7296
|
]),
|
|
7277
|
-
s("div",
|
|
7297
|
+
s("div", M1, [
|
|
7278
7298
|
m(r.$slots, "default", {}, () => [
|
|
7279
7299
|
(t(!0), a($, null, _(e.items, (h, b) => (t(), a("details", {
|
|
7280
7300
|
key: b,
|
|
@@ -7282,18 +7302,18 @@ const db = /* @__PURE__ */ f({
|
|
|
7282
7302
|
name: y(n),
|
|
7283
7303
|
open: b === e.openIndex
|
|
7284
7304
|
}, [
|
|
7285
|
-
s("summary",
|
|
7286
|
-
s("div",
|
|
7287
|
-
], 8,
|
|
7305
|
+
s("summary", V1, i(h.question), 1),
|
|
7306
|
+
s("div", x1, i(h.answer), 1)
|
|
7307
|
+
], 8, T1))), 128))
|
|
7288
7308
|
])
|
|
7289
7309
|
]),
|
|
7290
|
-
r.$slots.more ? (t(), a("p",
|
|
7310
|
+
r.$slots.more ? (t(), a("p", A1, [
|
|
7291
7311
|
m(r.$slots, "more")
|
|
7292
7312
|
])) : d("", !0)
|
|
7293
7313
|
])
|
|
7294
|
-
], 10,
|
|
7314
|
+
], 10, O1));
|
|
7295
7315
|
}
|
|
7296
|
-
}),
|
|
7316
|
+
}), q1 = { class: "oc-block-features" }, I1 = { key: 0 }, D1 = { key: 1 }, P1 = { class: "oc-block-features-grid" }, F1 = { class: "oc-block-feature-icon" }, E1 = /* @__PURE__ */ f({
|
|
7297
7317
|
__name: "OcBlockFeatures",
|
|
7298
7318
|
props: {
|
|
7299
7319
|
title: {},
|
|
@@ -7301,15 +7321,15 @@ const db = /* @__PURE__ */ f({
|
|
|
7301
7321
|
items: {}
|
|
7302
7322
|
},
|
|
7303
7323
|
setup(e) {
|
|
7304
|
-
return (o, l) => (t(), a("div",
|
|
7305
|
-
e.title ? (t(), a("h2",
|
|
7306
|
-
e.description ? (t(), a("p",
|
|
7307
|
-
s("div",
|
|
7324
|
+
return (o, l) => (t(), a("div", q1, [
|
|
7325
|
+
e.title ? (t(), a("h2", I1, i(e.title), 1)) : d("", !0),
|
|
7326
|
+
e.description ? (t(), a("p", D1, i(e.description), 1)) : d("", !0),
|
|
7327
|
+
s("div", P1, [
|
|
7308
7328
|
(t(!0), a($, null, _(e.items, (c, n) => (t(), a("div", {
|
|
7309
7329
|
key: n,
|
|
7310
7330
|
class: "oc-block-feature-card"
|
|
7311
7331
|
}, [
|
|
7312
|
-
s("div",
|
|
7332
|
+
s("div", F1, [
|
|
7313
7333
|
m(o.$slots, "icon", { item: c }, () => [
|
|
7314
7334
|
k(i(c.icon), 1)
|
|
7315
7335
|
])
|
|
@@ -7320,10 +7340,10 @@ const db = /* @__PURE__ */ f({
|
|
|
7320
7340
|
])
|
|
7321
7341
|
]));
|
|
7322
7342
|
}
|
|
7323
|
-
}),
|
|
7343
|
+
}), j1 = { class: "oc-block-footer" }, H1 = { class: "oc-block-footer-grid" }, R1 = ["href"], N1 = {
|
|
7324
7344
|
key: 0,
|
|
7325
7345
|
class: "oc-block-footer-bottom"
|
|
7326
|
-
},
|
|
7346
|
+
}, G1 = /* @__PURE__ */ f({
|
|
7327
7347
|
__name: "OcBlockFooter",
|
|
7328
7348
|
props: {
|
|
7329
7349
|
columns: {},
|
|
@@ -7331,8 +7351,8 @@ const db = /* @__PURE__ */ f({
|
|
|
7331
7351
|
credit: {}
|
|
7332
7352
|
},
|
|
7333
7353
|
setup(e) {
|
|
7334
|
-
return (o, l) => (t(), a("div",
|
|
7335
|
-
s("div",
|
|
7354
|
+
return (o, l) => (t(), a("div", j1, [
|
|
7355
|
+
s("div", H1, [
|
|
7336
7356
|
(t(!0), a($, null, _(e.columns, (c) => (t(), a("div", {
|
|
7337
7357
|
key: c.title,
|
|
7338
7358
|
class: "oc-block-footer-col"
|
|
@@ -7344,12 +7364,12 @@ const db = /* @__PURE__ */ f({
|
|
|
7344
7364
|
}, [
|
|
7345
7365
|
s("a", {
|
|
7346
7366
|
href: n.href
|
|
7347
|
-
}, i(n.label), 9,
|
|
7367
|
+
}, i(n.label), 9, R1)
|
|
7348
7368
|
]))), 128))
|
|
7349
7369
|
])
|
|
7350
7370
|
]))), 128))
|
|
7351
7371
|
]),
|
|
7352
|
-
e.copyright || e.credit || o.$slots["bottom-start"] || o.$slots["bottom-end"] ? (t(), a("div",
|
|
7372
|
+
e.copyright || e.credit || o.$slots["bottom-start"] || o.$slots["bottom-end"] ? (t(), a("div", N1, [
|
|
7353
7373
|
s("span", null, [
|
|
7354
7374
|
m(o.$slots, "bottom-start", {}, () => [
|
|
7355
7375
|
k(i(e.copyright), 1)
|
|
@@ -7363,10 +7383,10 @@ const db = /* @__PURE__ */ f({
|
|
|
7363
7383
|
])) : d("", !0)
|
|
7364
7384
|
]));
|
|
7365
7385
|
}
|
|
7366
|
-
}),
|
|
7386
|
+
}), K1 = ["action", "method"], U1 = { class: "oc-block-formpage-actions" }, W1 = {
|
|
7367
7387
|
class: "oc-btn",
|
|
7368
7388
|
type: "submit"
|
|
7369
|
-
},
|
|
7389
|
+
}, J1 = /* @__PURE__ */ f({
|
|
7370
7390
|
__name: "OcBlockFormPage",
|
|
7371
7391
|
props: {
|
|
7372
7392
|
cancelLabel: { default: "Cancel" },
|
|
@@ -7383,25 +7403,25 @@ const db = /* @__PURE__ */ f({
|
|
|
7383
7403
|
onSubmit: l[1] || (l[1] = (c) => o.$emit("submit", c))
|
|
7384
7404
|
}, [
|
|
7385
7405
|
m(o.$slots, "default"),
|
|
7386
|
-
s("div",
|
|
7406
|
+
s("div", U1, [
|
|
7387
7407
|
m(o.$slots, "actions", {}, () => [
|
|
7388
7408
|
s("button", {
|
|
7389
7409
|
class: "oc-btn oc-btn--outline",
|
|
7390
7410
|
type: "button",
|
|
7391
7411
|
onClick: l[0] || (l[0] = (c) => o.$emit("cancel"))
|
|
7392
7412
|
}, i(e.cancelLabel), 1),
|
|
7393
|
-
s("button",
|
|
7413
|
+
s("button", W1, i(e.submitLabel), 1)
|
|
7394
7414
|
])
|
|
7395
7415
|
])
|
|
7396
|
-
], 40,
|
|
7416
|
+
], 40, K1));
|
|
7397
7417
|
}
|
|
7398
|
-
}),
|
|
7418
|
+
}), Z1 = { class: "oc-block-hero" }, Q1 = {
|
|
7399
7419
|
key: 0,
|
|
7400
7420
|
class: "oc-block-hero-badge"
|
|
7401
|
-
},
|
|
7421
|
+
}, X1 = { key: 1 }, Y1 = { key: 2 }, ev = {
|
|
7402
7422
|
key: 3,
|
|
7403
7423
|
class: "oc-block-hero-actions"
|
|
7404
|
-
},
|
|
7424
|
+
}, tv = /* @__PURE__ */ f({
|
|
7405
7425
|
__name: "OcBlockHero",
|
|
7406
7426
|
props: {
|
|
7407
7427
|
badge: {},
|
|
@@ -7409,31 +7429,31 @@ const db = /* @__PURE__ */ f({
|
|
|
7409
7429
|
text: {}
|
|
7410
7430
|
},
|
|
7411
7431
|
setup(e) {
|
|
7412
|
-
return (o, l) => (t(), a("div",
|
|
7413
|
-
e.badge ? (t(), a("span",
|
|
7414
|
-
e.title ? (t(), a("h1",
|
|
7415
|
-
e.text ? (t(), a("p",
|
|
7416
|
-
o.$slots.actions ? (t(), a("div",
|
|
7432
|
+
return (o, l) => (t(), a("div", Z1, [
|
|
7433
|
+
e.badge ? (t(), a("span", Q1, i(e.badge), 1)) : d("", !0),
|
|
7434
|
+
e.title ? (t(), a("h1", X1, i(e.title), 1)) : d("", !0),
|
|
7435
|
+
e.text ? (t(), a("p", Y1, i(e.text), 1)) : d("", !0),
|
|
7436
|
+
o.$slots.actions ? (t(), a("div", ev, [
|
|
7417
7437
|
m(o.$slots, "actions")
|
|
7418
7438
|
])) : d("", !0)
|
|
7419
7439
|
]));
|
|
7420
7440
|
}
|
|
7421
|
-
}),
|
|
7441
|
+
}), av = { class: "oc-section-pad" }, ov = { class: "oc-container oc-split" }, sv = {
|
|
7422
7442
|
key: 0,
|
|
7423
7443
|
class: "oc-eyebrow"
|
|
7424
|
-
},
|
|
7444
|
+
}, lv = { class: "oc-display" }, cv = {
|
|
7425
7445
|
key: 0,
|
|
7426
7446
|
class: "oc-text-gradient"
|
|
7427
|
-
},
|
|
7447
|
+
}, nv = {
|
|
7428
7448
|
key: 1,
|
|
7429
7449
|
class: "oc-lead"
|
|
7430
|
-
},
|
|
7450
|
+
}, iv = {
|
|
7431
7451
|
key: 2,
|
|
7432
7452
|
class: "flex flex-wrap gap-1 mt-2"
|
|
7433
|
-
},
|
|
7453
|
+
}, rv = { class: "relative p-2" }, dv = { class: "oc-code-window" }, uv = { class: "oc-code-window__bar" }, mv = {
|
|
7434
7454
|
key: 0,
|
|
7435
7455
|
class: "oc-code-window__title"
|
|
7436
|
-
},
|
|
7456
|
+
}, hv = { class: "oc-code-window__body" }, bv = /* @__PURE__ */ f({
|
|
7437
7457
|
__name: "OcBlockHeroCode",
|
|
7438
7458
|
props: {
|
|
7439
7459
|
eyebrow: {},
|
|
@@ -7445,27 +7465,27 @@ const db = /* @__PURE__ */ f({
|
|
|
7445
7465
|
codeTitle: {}
|
|
7446
7466
|
},
|
|
7447
7467
|
setup(e) {
|
|
7448
|
-
return (o, l) => (t(), a("section",
|
|
7449
|
-
s("div",
|
|
7468
|
+
return (o, l) => (t(), a("section", av, [
|
|
7469
|
+
s("div", ov, [
|
|
7450
7470
|
s("div", null, [
|
|
7451
|
-
e.eyebrow ? (t(), a("p",
|
|
7452
|
-
s("h1",
|
|
7471
|
+
e.eyebrow ? (t(), a("p", sv, i(e.eyebrow), 1)) : d("", !0),
|
|
7472
|
+
s("h1", lv, [
|
|
7453
7473
|
m(o.$slots, "title", {}, () => [
|
|
7454
7474
|
k(i(e.title) + " ", 1),
|
|
7455
|
-
e.highlight ? (t(), a("span",
|
|
7475
|
+
e.highlight ? (t(), a("span", cv, i(e.highlight), 1)) : d("", !0),
|
|
7456
7476
|
k(i(e.titleEnd), 1)
|
|
7457
7477
|
])
|
|
7458
7478
|
]),
|
|
7459
|
-
e.lead || o.$slots.lead ? (t(), a("p",
|
|
7479
|
+
e.lead || o.$slots.lead ? (t(), a("p", nv, [
|
|
7460
7480
|
m(o.$slots, "lead", {}, () => [
|
|
7461
7481
|
k(i(e.lead), 1)
|
|
7462
7482
|
])
|
|
7463
7483
|
])) : d("", !0),
|
|
7464
|
-
o.$slots.actions ? (t(), a("div",
|
|
7484
|
+
o.$slots.actions ? (t(), a("div", iv, [
|
|
7465
7485
|
m(o.$slots, "actions")
|
|
7466
7486
|
])) : d("", !0)
|
|
7467
7487
|
]),
|
|
7468
|
-
s("div",
|
|
7488
|
+
s("div", rv, [
|
|
7469
7489
|
m(o.$slots, "visual", {}, () => [
|
|
7470
7490
|
l[3] || (l[3] = s("span", {
|
|
7471
7491
|
class: "oc-icon-tile oc-icon-tile--float oc-accent--green absolute",
|
|
@@ -7482,39 +7502,39 @@ const db = /* @__PURE__ */ f({
|
|
|
7482
7502
|
style: { inset: "auto 10% -0.5rem auto", "animation-delay": "-4s" },
|
|
7483
7503
|
"aria-hidden": "true"
|
|
7484
7504
|
}, "▲", -1)),
|
|
7485
|
-
s("div",
|
|
7486
|
-
s("div",
|
|
7505
|
+
s("div", dv, [
|
|
7506
|
+
s("div", uv, [
|
|
7487
7507
|
l[0] || (l[0] = s("i", null, null, -1)),
|
|
7488
7508
|
l[1] || (l[1] = s("i", null, null, -1)),
|
|
7489
7509
|
l[2] || (l[2] = s("i", null, null, -1)),
|
|
7490
|
-
e.codeTitle ? (t(), a("span",
|
|
7510
|
+
e.codeTitle ? (t(), a("span", mv, i(e.codeTitle), 1)) : d("", !0)
|
|
7491
7511
|
]),
|
|
7492
|
-
s("pre",
|
|
7512
|
+
s("pre", hv, i(e.code), 1)
|
|
7493
7513
|
])
|
|
7494
7514
|
])
|
|
7495
7515
|
])
|
|
7496
7516
|
])
|
|
7497
7517
|
]));
|
|
7498
7518
|
}
|
|
7499
|
-
}),
|
|
7519
|
+
}), fv = { class: "oc-block-orbit oc-section-pad" }, vv = { class: "oc-container oc-split" }, $v = {
|
|
7500
7520
|
key: 0,
|
|
7501
7521
|
class: "oc-eyebrow"
|
|
7502
|
-
},
|
|
7522
|
+
}, yv = { class: "oc-display" }, gv = {
|
|
7503
7523
|
key: 0,
|
|
7504
7524
|
class: "oc-text-gradient"
|
|
7505
|
-
},
|
|
7525
|
+
}, kv = {
|
|
7506
7526
|
key: 1,
|
|
7507
7527
|
class: "oc-lead"
|
|
7508
|
-
},
|
|
7528
|
+
}, pv = {
|
|
7509
7529
|
key: 2,
|
|
7510
7530
|
class: "flex flex-wrap gap-1 mt-2"
|
|
7511
|
-
},
|
|
7531
|
+
}, wv = {
|
|
7512
7532
|
class: "oc-block-orbit-ring",
|
|
7513
7533
|
"aria-hidden": "true"
|
|
7514
|
-
},
|
|
7534
|
+
}, Ov = { class: "oc-code-window oc-block-orbit-center" }, _v = { class: "oc-code-window__bar" }, Bv = {
|
|
7515
7535
|
key: 0,
|
|
7516
7536
|
class: "oc-code-window__title"
|
|
7517
|
-
},
|
|
7537
|
+
}, Cv = { class: "oc-code-window__body" }, Sv = /* @__PURE__ */ f({
|
|
7518
7538
|
__name: "OcBlockHeroOrbit",
|
|
7519
7539
|
props: {
|
|
7520
7540
|
eyebrow: {},
|
|
@@ -7535,24 +7555,24 @@ const db = /* @__PURE__ */ f({
|
|
|
7535
7555
|
duration: {}
|
|
7536
7556
|
},
|
|
7537
7557
|
setup(e) {
|
|
7538
|
-
const o = e, l = (n) => `--oc-orbit-angle: ${360 / o.marks.length * n}deg`, c =
|
|
7539
|
-
return (n, r) => (t(), a("section",
|
|
7540
|
-
s("div",
|
|
7558
|
+
const o = e, l = (n) => `--oc-orbit-angle: ${360 / o.marks.length * n}deg`, c = T(() => o.duration ? `--oc-orbit-duration: ${o.duration}` : void 0);
|
|
7559
|
+
return (n, r) => (t(), a("section", fv, [
|
|
7560
|
+
s("div", vv, [
|
|
7541
7561
|
s("div", null, [
|
|
7542
|
-
e.eyebrow ? (t(), a("p",
|
|
7543
|
-
s("h1",
|
|
7562
|
+
e.eyebrow ? (t(), a("p", $v, i(e.eyebrow), 1)) : d("", !0),
|
|
7563
|
+
s("h1", yv, [
|
|
7544
7564
|
m(n.$slots, "title", {}, () => [
|
|
7545
7565
|
k(i(e.title) + " ", 1),
|
|
7546
|
-
e.highlight ? (t(), a("span",
|
|
7566
|
+
e.highlight ? (t(), a("span", gv, i(e.highlight), 1)) : d("", !0),
|
|
7547
7567
|
k(i(e.titleEnd), 1)
|
|
7548
7568
|
])
|
|
7549
7569
|
]),
|
|
7550
|
-
e.lead || n.$slots.lead ? (t(), a("p",
|
|
7570
|
+
e.lead || n.$slots.lead ? (t(), a("p", kv, [
|
|
7551
7571
|
m(n.$slots, "lead", {}, () => [
|
|
7552
7572
|
k(i(e.lead), 1)
|
|
7553
7573
|
])
|
|
7554
7574
|
])) : d("", !0),
|
|
7555
|
-
n.$slots.actions ? (t(), a("div",
|
|
7575
|
+
n.$slots.actions ? (t(), a("div", pv, [
|
|
7556
7576
|
m(n.$slots, "actions")
|
|
7557
7577
|
])) : d("", !0)
|
|
7558
7578
|
]),
|
|
@@ -7560,7 +7580,7 @@ const db = /* @__PURE__ */ f({
|
|
|
7560
7580
|
class: "oc-block-orbit-visual",
|
|
7561
7581
|
style: K(c.value)
|
|
7562
7582
|
}, [
|
|
7563
|
-
s("div",
|
|
7583
|
+
s("div", wv, [
|
|
7564
7584
|
(t(!0), a($, null, _(e.marks, (u, h) => (t(), a("span", {
|
|
7565
7585
|
key: h,
|
|
7566
7586
|
class: "oc-block-orbit-mark",
|
|
@@ -7572,91 +7592,91 @@ const db = /* @__PURE__ */ f({
|
|
|
7572
7592
|
], 4))), 128))
|
|
7573
7593
|
]),
|
|
7574
7594
|
m(n.$slots, "center", {}, () => [
|
|
7575
|
-
s("div",
|
|
7576
|
-
s("div",
|
|
7595
|
+
s("div", Ov, [
|
|
7596
|
+
s("div", _v, [
|
|
7577
7597
|
r[0] || (r[0] = s("i", null, null, -1)),
|
|
7578
7598
|
r[1] || (r[1] = s("i", null, null, -1)),
|
|
7579
7599
|
r[2] || (r[2] = s("i", null, null, -1)),
|
|
7580
|
-
e.codeTitle ? (t(), a("span",
|
|
7600
|
+
e.codeTitle ? (t(), a("span", Bv, i(e.codeTitle), 1)) : d("", !0)
|
|
7581
7601
|
]),
|
|
7582
|
-
s("pre",
|
|
7602
|
+
s("pre", Cv, i(e.code), 1)
|
|
7583
7603
|
])
|
|
7584
7604
|
])
|
|
7585
7605
|
], 4)
|
|
7586
7606
|
])
|
|
7587
7607
|
]));
|
|
7588
7608
|
}
|
|
7589
|
-
}),
|
|
7609
|
+
}), Lv = { class: "oc-block-hero-split" }, Mv = { key: 0 }, Tv = { key: 1 }, Vv = {
|
|
7590
7610
|
key: 2,
|
|
7591
7611
|
class: "oc-block-hero-actions justify-start"
|
|
7592
|
-
},
|
|
7612
|
+
}, xv = { class: "oc-block-hero-visual" }, Av = /* @__PURE__ */ f({
|
|
7593
7613
|
__name: "OcBlockHeroSplit",
|
|
7594
7614
|
props: {
|
|
7595
7615
|
title: {},
|
|
7596
7616
|
text: {}
|
|
7597
7617
|
},
|
|
7598
7618
|
setup(e) {
|
|
7599
|
-
return (o, l) => (t(), a("div",
|
|
7619
|
+
return (o, l) => (t(), a("div", Lv, [
|
|
7600
7620
|
s("div", null, [
|
|
7601
|
-
e.title ? (t(), a("h1",
|
|
7602
|
-
e.text ? (t(), a("p",
|
|
7603
|
-
o.$slots.actions ? (t(), a("div",
|
|
7621
|
+
e.title ? (t(), a("h1", Mv, i(e.title), 1)) : d("", !0),
|
|
7622
|
+
e.text ? (t(), a("p", Tv, i(e.text), 1)) : d("", !0),
|
|
7623
|
+
o.$slots.actions ? (t(), a("div", Vv, [
|
|
7604
7624
|
m(o.$slots, "actions")
|
|
7605
7625
|
])) : d("", !0)
|
|
7606
7626
|
]),
|
|
7607
|
-
s("div",
|
|
7627
|
+
s("div", xv, [
|
|
7608
7628
|
m(o.$slots, "visual")
|
|
7609
7629
|
])
|
|
7610
7630
|
]));
|
|
7611
7631
|
}
|
|
7612
|
-
}),
|
|
7632
|
+
}), zv = { class: "oc-block-modulehead" }, qv = { class: "oc-block-modulehead-band" }, Iv = {
|
|
7613
7633
|
key: 0,
|
|
7614
7634
|
class: "oc-block-modulehead-icon",
|
|
7615
7635
|
"aria-hidden": "true"
|
|
7616
|
-
},
|
|
7636
|
+
}, Dv = { class: "oc-block-modulehead-body" }, Pv = { class: "oc-block-modulehead-title" }, Fv = {
|
|
7617
7637
|
key: 0,
|
|
7618
7638
|
class: "oc-block-modulehead-intro"
|
|
7619
|
-
},
|
|
7639
|
+
}, Ev = {
|
|
7620
7640
|
key: 1,
|
|
7621
7641
|
class: "oc-block-modulehead-meta"
|
|
7622
|
-
},
|
|
7642
|
+
}, jv = {
|
|
7623
7643
|
key: 0,
|
|
7624
7644
|
class: "oc-block-modulehead-actions"
|
|
7625
|
-
},
|
|
7645
|
+
}, Hv = /* @__PURE__ */ f({
|
|
7626
7646
|
__name: "OcBlockModuleHeader",
|
|
7627
7647
|
props: {
|
|
7628
7648
|
title: {},
|
|
7629
7649
|
intro: {}
|
|
7630
7650
|
},
|
|
7631
7651
|
setup(e) {
|
|
7632
|
-
return (o, l) => (t(), a("header",
|
|
7633
|
-
s("div",
|
|
7634
|
-
o.$slots.icon ? (t(), a("span",
|
|
7652
|
+
return (o, l) => (t(), a("header", zv, [
|
|
7653
|
+
s("div", qv, [
|
|
7654
|
+
o.$slots.icon ? (t(), a("span", Iv, [
|
|
7635
7655
|
m(o.$slots, "icon")
|
|
7636
7656
|
])) : d("", !0),
|
|
7637
|
-
s("div",
|
|
7638
|
-
s("h1",
|
|
7639
|
-
e.intro ? (t(), a("p",
|
|
7640
|
-
o.$slots.meta ? (t(), a("div",
|
|
7657
|
+
s("div", Dv, [
|
|
7658
|
+
s("h1", Pv, i(e.title), 1),
|
|
7659
|
+
e.intro ? (t(), a("p", Fv, i(e.intro), 1)) : d("", !0),
|
|
7660
|
+
o.$slots.meta ? (t(), a("div", Ev, [
|
|
7641
7661
|
m(o.$slots, "meta")
|
|
7642
7662
|
])) : d("", !0)
|
|
7643
7663
|
])
|
|
7644
7664
|
]),
|
|
7645
|
-
o.$slots.actions ? (t(), a("div",
|
|
7665
|
+
o.$slots.actions ? (t(), a("div", jv, [
|
|
7646
7666
|
m(o.$slots, "actions")
|
|
7647
7667
|
])) : d("", !0)
|
|
7648
7668
|
]));
|
|
7649
7669
|
}
|
|
7650
|
-
}),
|
|
7670
|
+
}), Rv = { class: "oc-hero" }, Nv = {
|
|
7651
7671
|
key: 0,
|
|
7652
7672
|
class: "oc-hero-eyebrow"
|
|
7653
|
-
},
|
|
7673
|
+
}, Gv = { class: "oc-hero-title" }, Kv = {
|
|
7654
7674
|
key: 1,
|
|
7655
7675
|
class: "oc-hero-text"
|
|
7656
|
-
},
|
|
7676
|
+
}, Uv = {
|
|
7657
7677
|
key: 2,
|
|
7658
7678
|
class: "oc-hero-actions"
|
|
7659
|
-
},
|
|
7679
|
+
}, Wv = /* @__PURE__ */ f({
|
|
7660
7680
|
__name: "OcBlockPageHero",
|
|
7661
7681
|
props: {
|
|
7662
7682
|
eyebrow: {},
|
|
@@ -7664,25 +7684,25 @@ const db = /* @__PURE__ */ f({
|
|
|
7664
7684
|
text: {}
|
|
7665
7685
|
},
|
|
7666
7686
|
setup(e) {
|
|
7667
|
-
return (o, l) => (t(), a("section",
|
|
7668
|
-
e.eyebrow ? (t(), a("span",
|
|
7669
|
-
s("h1",
|
|
7670
|
-
e.text ? (t(), a("p",
|
|
7671
|
-
o.$slots.actions ? (t(), a("div",
|
|
7687
|
+
return (o, l) => (t(), a("section", Rv, [
|
|
7688
|
+
e.eyebrow ? (t(), a("span", Nv, i(e.eyebrow), 1)) : d("", !0),
|
|
7689
|
+
s("h1", Gv, i(e.title), 1),
|
|
7690
|
+
e.text ? (t(), a("p", Kv, i(e.text), 1)) : d("", !0),
|
|
7691
|
+
o.$slots.actions ? (t(), a("div", Uv, [
|
|
7672
7692
|
m(o.$slots, "actions")
|
|
7673
7693
|
])) : d("", !0)
|
|
7674
7694
|
]));
|
|
7675
7695
|
}
|
|
7676
|
-
}),
|
|
7696
|
+
}), Jv = ["aria-labelledby"], Zv = { class: "oc-container" }, Qv = { class: "oc-block-portfolio-head" }, Xv = {
|
|
7677
7697
|
key: 0,
|
|
7678
7698
|
class: "oc-eyebrow"
|
|
7679
|
-
},
|
|
7699
|
+
}, Yv = ["id"], e$ = {
|
|
7680
7700
|
key: 0,
|
|
7681
7701
|
class: "oc-text-gradient"
|
|
7682
|
-
},
|
|
7702
|
+
}, t$ = {
|
|
7683
7703
|
key: 1,
|
|
7684
7704
|
class: "oc-block-portfolio-lead"
|
|
7685
|
-
},
|
|
7705
|
+
}, a$ = { class: "oc-block-portfolio-grid" }, o$ = /* @__PURE__ */ f({
|
|
7686
7706
|
__name: "OcBlockPortfolioGrid",
|
|
7687
7707
|
props: {
|
|
7688
7708
|
eyebrow: {},
|
|
@@ -7698,22 +7718,22 @@ const db = /* @__PURE__ */ f({
|
|
|
7698
7718
|
class: g(["oc-block-portfolio oc-section-pad", e.two && "oc-block-portfolio--two"]),
|
|
7699
7719
|
"aria-labelledby": y(o)
|
|
7700
7720
|
}, [
|
|
7701
|
-
s("div",
|
|
7702
|
-
s("div",
|
|
7721
|
+
s("div", Zv, [
|
|
7722
|
+
s("div", Qv, [
|
|
7703
7723
|
s("div", null, [
|
|
7704
|
-
e.eyebrow ? (t(), a("p",
|
|
7724
|
+
e.eyebrow ? (t(), a("p", Xv, i(e.eyebrow), 1)) : d("", !0),
|
|
7705
7725
|
s("h2", {
|
|
7706
7726
|
id: y(o),
|
|
7707
7727
|
class: "oc-display oc-display--md"
|
|
7708
7728
|
}, [
|
|
7709
7729
|
k(i(e.title) + " ", 1),
|
|
7710
|
-
e.highlight ? (t(), a("span",
|
|
7711
|
-
], 8,
|
|
7712
|
-
e.lead ? (t(), a("p",
|
|
7730
|
+
e.highlight ? (t(), a("span", e$, i(e.highlight), 1)) : d("", !0)
|
|
7731
|
+
], 8, Yv),
|
|
7732
|
+
e.lead ? (t(), a("p", t$, i(e.lead), 1)) : d("", !0)
|
|
7713
7733
|
]),
|
|
7714
7734
|
m(l.$slots, "link")
|
|
7715
7735
|
]),
|
|
7716
|
-
s("div",
|
|
7736
|
+
s("div", a$, [
|
|
7717
7737
|
m(l.$slots, "default", {}, () => [
|
|
7718
7738
|
(t(!0), a($, null, _(e.projects, (n, r) => (t(), j(at, {
|
|
7719
7739
|
key: r,
|
|
@@ -7729,12 +7749,12 @@ const db = /* @__PURE__ */ f({
|
|
|
7729
7749
|
])
|
|
7730
7750
|
])
|
|
7731
7751
|
])
|
|
7732
|
-
], 10,
|
|
7752
|
+
], 10, Jv));
|
|
7733
7753
|
}
|
|
7734
|
-
}),
|
|
7754
|
+
}), s$ = { class: "oc-block-pricing" }, l$ = { key: 0 }, c$ = { key: 1 }, n$ = { class: "oc-block-pricing-grid" }, i$ = { class: "oc-block-pricing-name" }, r$ = {
|
|
7735
7755
|
key: 0,
|
|
7736
7756
|
class: "oc-block-pricing-desc"
|
|
7737
|
-
},
|
|
7757
|
+
}, d$ = { class: "oc-block-pricing-price" }, u$ = { key: 0 }, m$ = { class: "oc-block-pricing-features" }, h$ = ["onClick"], b$ = /* @__PURE__ */ f({
|
|
7738
7758
|
__name: "OcBlockPricing",
|
|
7739
7759
|
props: {
|
|
7740
7760
|
title: {},
|
|
@@ -7743,21 +7763,21 @@ const db = /* @__PURE__ */ f({
|
|
|
7743
7763
|
},
|
|
7744
7764
|
emits: ["select"],
|
|
7745
7765
|
setup(e) {
|
|
7746
|
-
return (o, l) => (t(), a("div",
|
|
7747
|
-
e.title ? (t(), a("h2",
|
|
7748
|
-
e.description ? (t(), a("p",
|
|
7749
|
-
s("div",
|
|
7766
|
+
return (o, l) => (t(), a("div", s$, [
|
|
7767
|
+
e.title ? (t(), a("h2", l$, i(e.title), 1)) : d("", !0),
|
|
7768
|
+
e.description ? (t(), a("p", c$, i(e.description), 1)) : d("", !0),
|
|
7769
|
+
s("div", n$, [
|
|
7750
7770
|
(t(!0), a($, null, _(e.plans, (c) => (t(), a("div", {
|
|
7751
7771
|
key: c.name,
|
|
7752
7772
|
class: g(["oc-block-pricing-card", c.featured && "oc-block-pricing-card--featured"])
|
|
7753
7773
|
}, [
|
|
7754
|
-
s("p",
|
|
7755
|
-
c.description ? (t(), a("p",
|
|
7756
|
-
s("p",
|
|
7774
|
+
s("p", i$, i(c.name), 1),
|
|
7775
|
+
c.description ? (t(), a("p", r$, i(c.description), 1)) : d("", !0),
|
|
7776
|
+
s("p", d$, [
|
|
7757
7777
|
k(i(c.price) + " ", 1),
|
|
7758
|
-
c.period ? (t(), a("span",
|
|
7778
|
+
c.period ? (t(), a("span", u$, i(c.period), 1)) : d("", !0)
|
|
7759
7779
|
]),
|
|
7760
|
-
s("ul",
|
|
7780
|
+
s("ul", m$, [
|
|
7761
7781
|
(t(!0), a($, null, _(c.features, (n) => (t(), a("li", { key: n }, i(n), 1))), 128))
|
|
7762
7782
|
]),
|
|
7763
7783
|
m(o.$slots, "action", { plan: c }, () => [
|
|
@@ -7766,19 +7786,19 @@ const db = /* @__PURE__ */ f({
|
|
|
7766
7786
|
type: "button",
|
|
7767
7787
|
style: { width: "100%" },
|
|
7768
7788
|
onClick: (n) => o.$emit("select", c)
|
|
7769
|
-
}, i(c.cta), 11,
|
|
7789
|
+
}, i(c.cta), 11, h$)
|
|
7770
7790
|
])
|
|
7771
7791
|
], 2))), 128))
|
|
7772
7792
|
])
|
|
7773
7793
|
]));
|
|
7774
7794
|
}
|
|
7775
|
-
}),
|
|
7795
|
+
}), f$ = { class: "oc-section-pad" }, v$ = { class: "oc-container" }, $$ = {
|
|
7776
7796
|
key: 0,
|
|
7777
7797
|
class: "oc-eyebrow"
|
|
7778
|
-
},
|
|
7798
|
+
}, y$ = { class: "oc-display oc-display--md" }, g$ = {
|
|
7779
7799
|
key: 0,
|
|
7780
7800
|
class: "oc-text-gradient"
|
|
7781
|
-
},
|
|
7801
|
+
}, k$ = { class: "oc-steps" }, p$ = ["aria-label"], w$ = { class: "oc-marquee__track" }, O$ = /* @__PURE__ */ f({
|
|
7782
7802
|
__name: "OcBlockProcess",
|
|
7783
7803
|
props: {
|
|
7784
7804
|
eyebrow: {},
|
|
@@ -7789,14 +7809,14 @@ const db = /* @__PURE__ */ f({
|
|
|
7789
7809
|
marqueeLabel: {}
|
|
7790
7810
|
},
|
|
7791
7811
|
setup(e) {
|
|
7792
|
-
return (o, l) => (t(), a("section",
|
|
7793
|
-
s("div",
|
|
7794
|
-
e.eyebrow ? (t(), a("p",
|
|
7795
|
-
s("h2",
|
|
7812
|
+
return (o, l) => (t(), a("section", f$, [
|
|
7813
|
+
s("div", v$, [
|
|
7814
|
+
e.eyebrow ? (t(), a("p", $$, i(e.eyebrow), 1)) : d("", !0),
|
|
7815
|
+
s("h2", y$, [
|
|
7796
7816
|
k(i(e.title) + " ", 1),
|
|
7797
|
-
e.highlight ? (t(), a("span",
|
|
7817
|
+
e.highlight ? (t(), a("span", g$, i(e.highlight), 1)) : d("", !0)
|
|
7798
7818
|
]),
|
|
7799
|
-
s("ol",
|
|
7819
|
+
s("ol", k$, [
|
|
7800
7820
|
(t(!0), a($, null, _(e.steps, (c) => (t(), a("li", {
|
|
7801
7821
|
key: c.title
|
|
7802
7822
|
}, [
|
|
@@ -7809,7 +7829,7 @@ const db = /* @__PURE__ */ f({
|
|
|
7809
7829
|
class: "oc-marquee mt-4",
|
|
7810
7830
|
"aria-label": e.marqueeLabel
|
|
7811
7831
|
}, [
|
|
7812
|
-
s("div",
|
|
7832
|
+
s("div", w$, [
|
|
7813
7833
|
(t(!0), a($, null, _(e.marquee, (c) => (t(), a("span", {
|
|
7814
7834
|
key: c,
|
|
7815
7835
|
class: "oc-marquee__item"
|
|
@@ -7820,32 +7840,32 @@ const db = /* @__PURE__ */ f({
|
|
|
7820
7840
|
"aria-hidden": "true"
|
|
7821
7841
|
}, i(c), 1))), 128))
|
|
7822
7842
|
])
|
|
7823
|
-
], 8,
|
|
7843
|
+
], 8, p$)) : d("", !0)
|
|
7824
7844
|
])
|
|
7825
7845
|
]));
|
|
7826
7846
|
}
|
|
7827
|
-
}),
|
|
7847
|
+
}), _$ = { class: "oc-section-pad" }, B$ = { class: "oc-container" }, C$ = {
|
|
7828
7848
|
key: 0,
|
|
7829
7849
|
class: "oc-eyebrow"
|
|
7830
|
-
},
|
|
7850
|
+
}, S$ = { class: "oc-display oc-display--md" }, L$ = {
|
|
7831
7851
|
key: 0,
|
|
7832
7852
|
class: "oc-text-gradient"
|
|
7833
|
-
},
|
|
7853
|
+
}, M$ = { class: "oc-card-grid" }, T$ = ["href"], V$ = { class: "oc-product-card__top" }, x$ = {
|
|
7834
7854
|
class: "oc-icon-tile",
|
|
7835
7855
|
"aria-hidden": "true"
|
|
7836
|
-
},
|
|
7856
|
+
}, A$ = {
|
|
7837
7857
|
key: 0,
|
|
7838
7858
|
class: "oc-pill"
|
|
7839
|
-
},
|
|
7859
|
+
}, z$ = { class: "oc-product-card__name" }, q$ = {
|
|
7840
7860
|
key: 0,
|
|
7841
7861
|
class: "oc-product-card__tagline"
|
|
7842
|
-
},
|
|
7862
|
+
}, I$ = {
|
|
7843
7863
|
key: 1,
|
|
7844
7864
|
class: "oc-product-card__summary"
|
|
7845
|
-
},
|
|
7865
|
+
}, D$ = {
|
|
7846
7866
|
key: 2,
|
|
7847
7867
|
class: "oc-product-card__more"
|
|
7848
|
-
},
|
|
7868
|
+
}, P$ = /* @__PURE__ */ f({
|
|
7849
7869
|
__name: "OcBlockProductGrid",
|
|
7850
7870
|
props: {
|
|
7851
7871
|
eyebrow: {},
|
|
@@ -7854,45 +7874,45 @@ const db = /* @__PURE__ */ f({
|
|
|
7854
7874
|
products: {}
|
|
7855
7875
|
},
|
|
7856
7876
|
setup(e) {
|
|
7857
|
-
return (o, l) => (t(), a("section",
|
|
7858
|
-
s("div",
|
|
7859
|
-
e.eyebrow ? (t(), a("p",
|
|
7860
|
-
s("h2",
|
|
7877
|
+
return (o, l) => (t(), a("section", _$, [
|
|
7878
|
+
s("div", B$, [
|
|
7879
|
+
e.eyebrow ? (t(), a("p", C$, i(e.eyebrow), 1)) : d("", !0),
|
|
7880
|
+
s("h2", S$, [
|
|
7861
7881
|
k(i(e.title) + " ", 1),
|
|
7862
|
-
e.highlight ? (t(), a("span",
|
|
7882
|
+
e.highlight ? (t(), a("span", L$, i(e.highlight), 1)) : d("", !0)
|
|
7863
7883
|
]),
|
|
7864
|
-
s("div",
|
|
7884
|
+
s("div", M$, [
|
|
7865
7885
|
(t(!0), a($, null, _(e.products, (c) => (t(), a("a", {
|
|
7866
7886
|
key: c.name,
|
|
7867
7887
|
class: g(["oc-product-card", c.accent && `oc-accent--${c.accent}`]),
|
|
7868
7888
|
href: c.href ?? "#"
|
|
7869
7889
|
}, [
|
|
7870
|
-
s("div",
|
|
7871
|
-
s("span",
|
|
7872
|
-
c.tag ? (t(), a("span",
|
|
7890
|
+
s("div", V$, [
|
|
7891
|
+
s("span", x$, i(c.icon), 1),
|
|
7892
|
+
c.tag ? (t(), a("span", A$, i(c.tag), 1)) : d("", !0)
|
|
7873
7893
|
]),
|
|
7874
|
-
s("h3",
|
|
7875
|
-
c.tagline ? (t(), a("p",
|
|
7876
|
-
c.summary ? (t(), a("p",
|
|
7877
|
-
c.more ? (t(), a("span",
|
|
7878
|
-
], 10,
|
|
7894
|
+
s("h3", z$, i(c.name), 1),
|
|
7895
|
+
c.tagline ? (t(), a("p", q$, i(c.tagline), 1)) : d("", !0),
|
|
7896
|
+
c.summary ? (t(), a("p", I$, i(c.summary), 1)) : d("", !0),
|
|
7897
|
+
c.more ? (t(), a("span", D$, i(c.more), 1)) : d("", !0)
|
|
7898
|
+
], 10, T$))), 128))
|
|
7879
7899
|
])
|
|
7880
7900
|
])
|
|
7881
7901
|
]));
|
|
7882
7902
|
}
|
|
7883
|
-
}),
|
|
7903
|
+
}), F$ = ["aria-labelledby"], E$ = { class: "oc-block-profile-bar" }, j$ = {
|
|
7884
7904
|
class: "oc-avatar oc-block-profile-avatar",
|
|
7885
7905
|
"aria-hidden": "true"
|
|
7886
|
-
},
|
|
7906
|
+
}, H$ = { class: "oc-block-profile-info" }, R$ = {
|
|
7887
7907
|
key: 0,
|
|
7888
7908
|
class: "oc-block-profile-meta"
|
|
7889
|
-
},
|
|
7909
|
+
}, N$ = {
|
|
7890
7910
|
key: 1,
|
|
7891
7911
|
class: "oc-block-profile-bio"
|
|
7892
|
-
},
|
|
7912
|
+
}, G$ = {
|
|
7893
7913
|
key: 0,
|
|
7894
7914
|
class: "oc-block-profile-actions"
|
|
7895
|
-
},
|
|
7915
|
+
}, K$ = ["aria-label"], U$ = ["href", "aria-current"], W$ = /* @__PURE__ */ f({
|
|
7896
7916
|
__name: "OcBlockProfileHeader",
|
|
7897
7917
|
props: {
|
|
7898
7918
|
name: {},
|
|
@@ -7906,7 +7926,7 @@ const db = /* @__PURE__ */ f({
|
|
|
7906
7926
|
headingLevel: { default: 1 }
|
|
7907
7927
|
},
|
|
7908
7928
|
setup(e) {
|
|
7909
|
-
const o = e, l = z("oc-profile-name"), c =
|
|
7929
|
+
const o = e, l = z("oc-profile-name"), c = T(() => o.banner ? `--oc-profile-banner: url("${o.banner}")` : void 0);
|
|
7910
7930
|
return (n, r) => (t(), a("section", {
|
|
7911
7931
|
class: g(["oc-block-profile", e.compact && "oc-block-profile--compact"]),
|
|
7912
7932
|
"aria-labelledby": y(l)
|
|
@@ -7916,13 +7936,13 @@ const db = /* @__PURE__ */ f({
|
|
|
7916
7936
|
style: K(c.value),
|
|
7917
7937
|
"aria-hidden": "true"
|
|
7918
7938
|
}, null, 4),
|
|
7919
|
-
s("div",
|
|
7920
|
-
s("span",
|
|
7939
|
+
s("div", E$, [
|
|
7940
|
+
s("span", j$, [
|
|
7921
7941
|
m(n.$slots, "avatar", {}, () => [
|
|
7922
7942
|
k(i(e.initials), 1)
|
|
7923
7943
|
])
|
|
7924
7944
|
]),
|
|
7925
|
-
s("div",
|
|
7945
|
+
s("div", H$, [
|
|
7926
7946
|
(t(), j(W(e.headingLevel === 1 ? "h1" : "h2"), {
|
|
7927
7947
|
id: y(l),
|
|
7928
7948
|
class: "oc-block-profile-name"
|
|
@@ -7932,14 +7952,14 @@ const db = /* @__PURE__ */ f({
|
|
|
7932
7952
|
]),
|
|
7933
7953
|
_: 1
|
|
7934
7954
|
}, 8, ["id"])),
|
|
7935
|
-
e.meta ? (t(), a("p",
|
|
7936
|
-
e.bio || n.$slots.bio ? (t(), a("p",
|
|
7955
|
+
e.meta ? (t(), a("p", R$, i(e.meta), 1)) : d("", !0),
|
|
7956
|
+
e.bio || n.$slots.bio ? (t(), a("p", N$, [
|
|
7937
7957
|
m(n.$slots, "bio", {}, () => [
|
|
7938
7958
|
k(i(e.bio), 1)
|
|
7939
7959
|
])
|
|
7940
7960
|
])) : d("", !0)
|
|
7941
7961
|
]),
|
|
7942
|
-
n.$slots.actions ? (t(), a("div",
|
|
7962
|
+
n.$slots.actions ? (t(), a("div", G$, [
|
|
7943
7963
|
m(n.$slots, "actions")
|
|
7944
7964
|
])) : d("", !0)
|
|
7945
7965
|
]),
|
|
@@ -7953,29 +7973,29 @@ const db = /* @__PURE__ */ f({
|
|
|
7953
7973
|
class: "oc-block-profile-tab",
|
|
7954
7974
|
href: u.href,
|
|
7955
7975
|
"aria-current": u.current ? "page" : void 0
|
|
7956
|
-
}, i(u.label), 9,
|
|
7957
|
-
], 8,
|
|
7958
|
-
], 10,
|
|
7976
|
+
}, i(u.label), 9, U$))), 128))
|
|
7977
|
+
], 8, K$)) : d("", !0)
|
|
7978
|
+
], 10, F$));
|
|
7959
7979
|
}
|
|
7960
|
-
}),
|
|
7980
|
+
}), J$ = { class: "oc-section-pad" }, Z$ = { class: "oc-container" }, Q$ = {
|
|
7961
7981
|
key: 0,
|
|
7962
7982
|
class: "oc-eyebrow"
|
|
7963
|
-
},
|
|
7983
|
+
}, X$ = { class: "oc-display oc-display--md" }, Y$ = {
|
|
7964
7984
|
key: 0,
|
|
7965
7985
|
class: "oc-text-gradient"
|
|
7966
|
-
},
|
|
7986
|
+
}, ey = {
|
|
7967
7987
|
class: "oc-card-grid",
|
|
7968
7988
|
style: { "--oc-card-min": "26rem" }
|
|
7969
|
-
},
|
|
7989
|
+
}, ty = ["href"], ay = { class: "oc-browser-frame m-1" }, oy = ["src"], sy = { class: "grid gap-0.5 p-1.5 pt-0" }, ly = {
|
|
7970
7990
|
key: 0,
|
|
7971
7991
|
class: "oc-pill oc-pill--accent"
|
|
7972
|
-
},
|
|
7992
|
+
}, cy = { class: "oc-product-card__name" }, ny = {
|
|
7973
7993
|
key: 1,
|
|
7974
7994
|
class: "oc-product-card__summary"
|
|
7975
|
-
},
|
|
7995
|
+
}, iy = {
|
|
7976
7996
|
key: 2,
|
|
7977
7997
|
class: "oc-product-card__more"
|
|
7978
|
-
},
|
|
7998
|
+
}, ry = /* @__PURE__ */ f({
|
|
7979
7999
|
__name: "OcBlockShowcase",
|
|
7980
8000
|
props: {
|
|
7981
8001
|
eyebrow: {},
|
|
@@ -7984,20 +8004,20 @@ const db = /* @__PURE__ */ f({
|
|
|
7984
8004
|
projects: {}
|
|
7985
8005
|
},
|
|
7986
8006
|
setup(e) {
|
|
7987
|
-
return (o, l) => (t(), a("section",
|
|
7988
|
-
s("div",
|
|
7989
|
-
e.eyebrow ? (t(), a("p",
|
|
7990
|
-
s("h2",
|
|
8007
|
+
return (o, l) => (t(), a("section", J$, [
|
|
8008
|
+
s("div", Z$, [
|
|
8009
|
+
e.eyebrow ? (t(), a("p", Q$, i(e.eyebrow), 1)) : d("", !0),
|
|
8010
|
+
s("h2", X$, [
|
|
7991
8011
|
k(i(e.title) + " ", 1),
|
|
7992
|
-
e.highlight ? (t(), a("span",
|
|
8012
|
+
e.highlight ? (t(), a("span", Y$, i(e.highlight), 1)) : d("", !0)
|
|
7993
8013
|
]),
|
|
7994
|
-
s("div",
|
|
8014
|
+
s("div", ey, [
|
|
7995
8015
|
(t(!0), a($, null, _(e.projects, (c) => (t(), a("a", {
|
|
7996
8016
|
key: c.name,
|
|
7997
8017
|
class: g(["oc-product-card", c.accent && `oc-accent--${c.accent}`, "p-0 overflow-hidden"]),
|
|
7998
8018
|
href: c.href ?? "#"
|
|
7999
8019
|
}, [
|
|
8000
|
-
s("span",
|
|
8020
|
+
s("span", ay, [
|
|
8001
8021
|
l[0] || (l[0] = s("span", { class: "oc-browser-frame__bar" }, [
|
|
8002
8022
|
s("i"),
|
|
8003
8023
|
s("i"),
|
|
@@ -8011,24 +8031,24 @@ const db = /* @__PURE__ */ f({
|
|
|
8011
8031
|
key: 0,
|
|
8012
8032
|
src: c.image,
|
|
8013
8033
|
alt: ""
|
|
8014
|
-
}, null, 8,
|
|
8034
|
+
}, null, 8, oy)) : d("", !0)
|
|
8015
8035
|
], 4)
|
|
8016
8036
|
]),
|
|
8017
|
-
s("span",
|
|
8018
|
-
c.tag ? (t(), a("span",
|
|
8019
|
-
s("span",
|
|
8020
|
-
c.summary ? (t(), a("span",
|
|
8021
|
-
c.more ? (t(), a("span",
|
|
8037
|
+
s("span", sy, [
|
|
8038
|
+
c.tag ? (t(), a("span", ly, i(c.tag), 1)) : d("", !0),
|
|
8039
|
+
s("span", cy, i(c.name), 1),
|
|
8040
|
+
c.summary ? (t(), a("span", ny, i(c.summary), 1)) : d("", !0),
|
|
8041
|
+
c.more ? (t(), a("span", iy, i(c.more), 1)) : d("", !0)
|
|
8022
8042
|
])
|
|
8023
|
-
], 10,
|
|
8043
|
+
], 10, ty))), 128))
|
|
8024
8044
|
])
|
|
8025
8045
|
])
|
|
8026
8046
|
]));
|
|
8027
8047
|
}
|
|
8028
|
-
}),
|
|
8048
|
+
}), dy = { class: "oc-site-footer" }, uy = { class: "oc-container" }, my = { class: "oc-site-footer__grid" }, hy = { class: "oc-site-footer__about" }, by = { key: 0 }, fy = { class: "oc-site-footer__title" }, vy = { class: "oc-site-footer__list" }, $y = ["href"], yy = { key: 0 }, gy = { class: "oc-site-footer__title" }, ky = { class: "oc-site-footer__list" }, py = ["href"], wy = { key: 1 }, Oy = {
|
|
8029
8049
|
key: 0,
|
|
8030
8050
|
class: "oc-site-footer__bottom"
|
|
8031
|
-
},
|
|
8051
|
+
}, _y = /* @__PURE__ */ f({
|
|
8032
8052
|
__name: "OcBlockSiteFooter",
|
|
8033
8053
|
props: {
|
|
8034
8054
|
about: {},
|
|
@@ -8038,42 +8058,42 @@ const db = /* @__PURE__ */ f({
|
|
|
8038
8058
|
credit: {}
|
|
8039
8059
|
},
|
|
8040
8060
|
setup(e) {
|
|
8041
|
-
return (o, l) => (t(), a("footer",
|
|
8042
|
-
s("div",
|
|
8043
|
-
s("div",
|
|
8044
|
-
s("div",
|
|
8061
|
+
return (o, l) => (t(), a("footer", dy, [
|
|
8062
|
+
s("div", uy, [
|
|
8063
|
+
s("div", my, [
|
|
8064
|
+
s("div", hy, [
|
|
8045
8065
|
m(o.$slots, "brand"),
|
|
8046
|
-
e.about ? (t(), a("p",
|
|
8066
|
+
e.about ? (t(), a("p", by, i(e.about), 1)) : d("", !0)
|
|
8047
8067
|
]),
|
|
8048
8068
|
(t(!0), a($, null, _(e.columns, (c) => (t(), a("div", {
|
|
8049
8069
|
key: c.title
|
|
8050
8070
|
}, [
|
|
8051
|
-
s("h2",
|
|
8052
|
-
s("ul",
|
|
8071
|
+
s("h2", fy, i(c.title), 1),
|
|
8072
|
+
s("ul", vy, [
|
|
8053
8073
|
(t(!0), a($, null, _(c.links, (n) => (t(), a("li", {
|
|
8054
8074
|
key: n.href + n.label
|
|
8055
8075
|
}, [
|
|
8056
8076
|
s("a", {
|
|
8057
8077
|
href: n.href
|
|
8058
|
-
}, i(n.label), 9,
|
|
8078
|
+
}, i(n.label), 9, $y)
|
|
8059
8079
|
]))), 128))
|
|
8060
8080
|
])
|
|
8061
8081
|
]))), 128)),
|
|
8062
|
-
e.contact ? (t(), a("div",
|
|
8063
|
-
s("h2",
|
|
8064
|
-
s("address",
|
|
8082
|
+
e.contact ? (t(), a("div", yy, [
|
|
8083
|
+
s("h2", gy, i(e.contact.title), 1),
|
|
8084
|
+
s("address", ky, [
|
|
8065
8085
|
(t(!0), a($, null, _(e.contact.lines, (c) => (t(), a($, {
|
|
8066
8086
|
key: c.label
|
|
8067
8087
|
}, [
|
|
8068
8088
|
c.href ? (t(), a("a", {
|
|
8069
8089
|
key: 0,
|
|
8070
8090
|
href: c.href
|
|
8071
|
-
}, i(c.label), 9,
|
|
8091
|
+
}, i(c.label), 9, py)) : (t(), a("span", wy, i(c.label), 1))
|
|
8072
8092
|
], 64))), 128))
|
|
8073
8093
|
])
|
|
8074
8094
|
])) : d("", !0)
|
|
8075
8095
|
]),
|
|
8076
|
-
e.copyright || e.credit || o.$slots["bottom-start"] || o.$slots["bottom-end"] ? (t(), a("div",
|
|
8096
|
+
e.copyright || e.credit || o.$slots["bottom-start"] || o.$slots["bottom-end"] ? (t(), a("div", Oy, [
|
|
8077
8097
|
s("span", null, [
|
|
8078
8098
|
m(o.$slots, "bottom-start", {}, () => [
|
|
8079
8099
|
k(i(e.copyright), 1)
|
|
@@ -8088,7 +8108,7 @@ const db = /* @__PURE__ */ f({
|
|
|
8088
8108
|
])
|
|
8089
8109
|
]));
|
|
8090
8110
|
}
|
|
8091
|
-
}),
|
|
8111
|
+
}), By = { class: "oc-site-header" }, Cy = { class: "oc-container oc-site-header__inner" }, Sy = ["href"], Ly = ["popovertarget", "aria-label"], My = ["id", "aria-label"], Ty = ["href", "aria-current"], Vy = /* @__PURE__ */ f({
|
|
8092
8112
|
__name: "OcBlockSiteHeader",
|
|
8093
8113
|
props: {
|
|
8094
8114
|
items: { default: () => [] },
|
|
@@ -8098,20 +8118,20 @@ const db = /* @__PURE__ */ f({
|
|
|
8098
8118
|
},
|
|
8099
8119
|
setup(e) {
|
|
8100
8120
|
const o = z("oc-site-nav");
|
|
8101
|
-
return (l, c) => (t(), a("header",
|
|
8102
|
-
s("div",
|
|
8121
|
+
return (l, c) => (t(), a("header", By, [
|
|
8122
|
+
s("div", Cy, [
|
|
8103
8123
|
s("a", {
|
|
8104
8124
|
class: "oc-site-header__brand",
|
|
8105
8125
|
href: e.homeHref
|
|
8106
8126
|
}, [
|
|
8107
8127
|
m(l.$slots, "brand")
|
|
8108
|
-
], 8,
|
|
8128
|
+
], 8, Sy),
|
|
8109
8129
|
s("button", {
|
|
8110
8130
|
class: "oc-site-header__toggle",
|
|
8111
8131
|
type: "button",
|
|
8112
8132
|
popovertarget: y(o),
|
|
8113
8133
|
"aria-label": e.menuLabel
|
|
8114
|
-
}, "☰", 8,
|
|
8134
|
+
}, "☰", 8, Ly),
|
|
8115
8135
|
s("nav", {
|
|
8116
8136
|
id: y(o),
|
|
8117
8137
|
class: "oc-site-header__nav",
|
|
@@ -8123,33 +8143,33 @@ const db = /* @__PURE__ */ f({
|
|
|
8123
8143
|
key: n.href + n.label,
|
|
8124
8144
|
href: n.href,
|
|
8125
8145
|
"aria-current": n.current ? "page" : void 0
|
|
8126
|
-
}, i(n.label), 9,
|
|
8146
|
+
}, i(n.label), 9, Ty))), 128))
|
|
8127
8147
|
]),
|
|
8128
8148
|
m(l.$slots, "cta")
|
|
8129
|
-
], 8,
|
|
8149
|
+
], 8, My)
|
|
8130
8150
|
])
|
|
8131
8151
|
]));
|
|
8132
8152
|
}
|
|
8133
|
-
}),
|
|
8153
|
+
}), xy = { class: "oc-section-pad" }, Ay = { class: "oc-container" }, zy = {
|
|
8134
8154
|
key: 0,
|
|
8135
8155
|
class: "oc-pill oc-pill--accent"
|
|
8136
|
-
},
|
|
8156
|
+
}, qy = { class: "oc-spotlight__title" }, Iy = {
|
|
8137
8157
|
key: 0,
|
|
8138
8158
|
class: "oc-icon-tile oc-icon-tile--lg",
|
|
8139
8159
|
"aria-hidden": "true"
|
|
8140
|
-
},
|
|
8160
|
+
}, Dy = {
|
|
8141
8161
|
key: 1,
|
|
8142
8162
|
class: "oc-spotlight__tagline"
|
|
8143
|
-
},
|
|
8163
|
+
}, Py = {
|
|
8144
8164
|
key: 2,
|
|
8145
8165
|
class: "oc-lead"
|
|
8146
|
-
},
|
|
8166
|
+
}, Fy = ["href"], Ey = {
|
|
8147
8167
|
key: 0,
|
|
8148
8168
|
class: "oc-spotlight__modules"
|
|
8149
|
-
},
|
|
8169
|
+
}, jy = {
|
|
8150
8170
|
class: "oc-icon-tile oc-icon-tile--sm",
|
|
8151
8171
|
"aria-hidden": "true"
|
|
8152
|
-
},
|
|
8172
|
+
}, Hy = /* @__PURE__ */ f({
|
|
8153
8173
|
__name: "OcBlockSpotlight",
|
|
8154
8174
|
props: {
|
|
8155
8175
|
accent: {},
|
|
@@ -8163,35 +8183,35 @@ const db = /* @__PURE__ */ f({
|
|
|
8163
8183
|
modules: {}
|
|
8164
8184
|
},
|
|
8165
8185
|
setup(e) {
|
|
8166
|
-
return (o, l) => (t(), a("section",
|
|
8167
|
-
s("div",
|
|
8186
|
+
return (o, l) => (t(), a("section", xy, [
|
|
8187
|
+
s("div", Ay, [
|
|
8168
8188
|
s("div", {
|
|
8169
8189
|
class: g(["oc-spotlight", e.accent && `oc-accent--${e.accent}`])
|
|
8170
8190
|
}, [
|
|
8171
8191
|
s("div", null, [
|
|
8172
|
-
e.badge ? (t(), a("span",
|
|
8192
|
+
e.badge ? (t(), a("span", zy, [
|
|
8173
8193
|
l[0] || (l[0] = s("span", { class: "oc-status-dot" }, null, -1)),
|
|
8174
8194
|
k(i(e.badge), 1)
|
|
8175
8195
|
])) : d("", !0),
|
|
8176
|
-
s("h2",
|
|
8177
|
-
e.icon ? (t(), a("span",
|
|
8196
|
+
s("h2", qy, [
|
|
8197
|
+
e.icon ? (t(), a("span", Iy, i(e.icon), 1)) : d("", !0),
|
|
8178
8198
|
k(i(e.title), 1)
|
|
8179
8199
|
]),
|
|
8180
|
-
e.tagline ? (t(), a("p",
|
|
8181
|
-
e.lead ? (t(), a("p",
|
|
8200
|
+
e.tagline ? (t(), a("p", Dy, i(e.tagline), 1)) : d("", !0),
|
|
8201
|
+
e.lead ? (t(), a("p", Py, i(e.lead), 1)) : d("", !0),
|
|
8182
8202
|
m(o.$slots, "cta", {}, () => [
|
|
8183
8203
|
e.ctaLabel ? (t(), a("a", {
|
|
8184
8204
|
key: 0,
|
|
8185
8205
|
class: "oc-btn oc-btn--gradient oc-btn--lg",
|
|
8186
8206
|
href: e.ctaHref ?? "#"
|
|
8187
|
-
}, i(e.ctaLabel), 9,
|
|
8207
|
+
}, i(e.ctaLabel), 9, Fy)) : d("", !0)
|
|
8188
8208
|
])
|
|
8189
8209
|
]),
|
|
8190
|
-
e.modules?.length ? (t(), a("ul",
|
|
8210
|
+
e.modules?.length ? (t(), a("ul", Ey, [
|
|
8191
8211
|
(t(!0), a($, null, _(e.modules, (c) => (t(), a("li", {
|
|
8192
8212
|
key: c.label
|
|
8193
8213
|
}, [
|
|
8194
|
-
s("span",
|
|
8214
|
+
s("span", jy, i(c.icon), 1),
|
|
8195
8215
|
k(i(c.label), 1)
|
|
8196
8216
|
]))), 128))
|
|
8197
8217
|
])) : d("", !0)
|
|
@@ -8199,29 +8219,29 @@ const db = /* @__PURE__ */ f({
|
|
|
8199
8219
|
])
|
|
8200
8220
|
]));
|
|
8201
8221
|
}
|
|
8202
|
-
}),
|
|
8222
|
+
}), Ry = { class: "oc-block-stats" }, Ny = { class: "oc-block-stat-value" }, Gy = { class: "oc-block-stat-label" }, Ky = /* @__PURE__ */ f({
|
|
8203
8223
|
__name: "OcBlockStats",
|
|
8204
8224
|
props: {
|
|
8205
8225
|
items: {}
|
|
8206
8226
|
},
|
|
8207
8227
|
setup(e) {
|
|
8208
|
-
return (o, l) => (t(), a("div",
|
|
8228
|
+
return (o, l) => (t(), a("div", Ry, [
|
|
8209
8229
|
(t(!0), a($, null, _(e.items, (c) => (t(), a("div", {
|
|
8210
8230
|
key: c.label,
|
|
8211
8231
|
class: "oc-block-stat"
|
|
8212
8232
|
}, [
|
|
8213
|
-
s("div",
|
|
8214
|
-
s("div",
|
|
8233
|
+
s("div", Ny, i(c.value), 1),
|
|
8234
|
+
s("div", Gy, i(c.label), 1)
|
|
8215
8235
|
]))), 128))
|
|
8216
8236
|
]));
|
|
8217
8237
|
}
|
|
8218
|
-
}),
|
|
8238
|
+
}), Uy = { class: "oc-block-stats" }, Wy = { class: "oc-block-stat-label" }, Jy = /* @__PURE__ */ f({
|
|
8219
8239
|
__name: "OcBlockStatsCounter",
|
|
8220
8240
|
props: {
|
|
8221
8241
|
items: {}
|
|
8222
8242
|
},
|
|
8223
8243
|
setup(e) {
|
|
8224
|
-
return (o, l) => (t(), a("div",
|
|
8244
|
+
return (o, l) => (t(), a("div", Uy, [
|
|
8225
8245
|
(t(!0), a($, null, _(e.items, (c) => (t(), a("div", {
|
|
8226
8246
|
key: c.label,
|
|
8227
8247
|
class: "oc-block-stat"
|
|
@@ -8231,17 +8251,17 @@ const db = /* @__PURE__ */ f({
|
|
|
8231
8251
|
to: c.to,
|
|
8232
8252
|
suffix: c.suffix
|
|
8233
8253
|
}, null, 8, ["to", "suffix"]),
|
|
8234
|
-
s("span",
|
|
8254
|
+
s("span", Wy, i(c.label), 1)
|
|
8235
8255
|
]))), 128))
|
|
8236
8256
|
]));
|
|
8237
8257
|
}
|
|
8238
|
-
}),
|
|
8258
|
+
}), Zy = { class: "oc-block-team" }, Qy = { class: "oc-user" }, Xy = { class: "oc-avatar" }, Yy = { class: "oc-user-text" }, eg = { class: "oc-user-name" }, tg = {
|
|
8239
8259
|
key: 0,
|
|
8240
8260
|
class: "oc-user-email"
|
|
8241
|
-
},
|
|
8261
|
+
}, ag = { class: "oc-block-team-meta" }, og = ["popovertarget", "aria-label"], sg = ["id"], lg = {
|
|
8242
8262
|
key: 0,
|
|
8243
8263
|
class: "oc-dropdown-separator"
|
|
8244
|
-
},
|
|
8264
|
+
}, cg = ["href", "onClick"], ng = ["onClick"], ig = /* @__PURE__ */ f({
|
|
8245
8265
|
__name: "OcBlockTeamList",
|
|
8246
8266
|
props: {
|
|
8247
8267
|
members: {},
|
|
@@ -8250,19 +8270,19 @@ const db = /* @__PURE__ */ f({
|
|
|
8250
8270
|
emits: ["action"],
|
|
8251
8271
|
setup(e) {
|
|
8252
8272
|
const o = z("oc-team-menu");
|
|
8253
|
-
return (l, c) => (t(), a("div",
|
|
8273
|
+
return (l, c) => (t(), a("div", Zy, [
|
|
8254
8274
|
(t(!0), a($, null, _(e.members, (n, r) => (t(), a("div", {
|
|
8255
8275
|
key: n.email ?? n.name,
|
|
8256
8276
|
class: "oc-block-team-row"
|
|
8257
8277
|
}, [
|
|
8258
|
-
s("div",
|
|
8259
|
-
s("span",
|
|
8260
|
-
s("span",
|
|
8261
|
-
s("span",
|
|
8262
|
-
n.email ? (t(), a("span",
|
|
8278
|
+
s("div", Qy, [
|
|
8279
|
+
s("span", Xy, i(n.initials), 1),
|
|
8280
|
+
s("span", Yy, [
|
|
8281
|
+
s("span", eg, i(n.name), 1),
|
|
8282
|
+
n.email ? (t(), a("span", tg, i(n.email), 1)) : d("", !0)
|
|
8263
8283
|
])
|
|
8264
8284
|
]),
|
|
8265
|
-
s("div",
|
|
8285
|
+
s("div", ag, [
|
|
8266
8286
|
n.role ? (t(), a("span", {
|
|
8267
8287
|
key: 0,
|
|
8268
8288
|
class: g(["oc-badge", n.roleVariant && n.roleVariant !== "default" && `oc-badge--${n.roleVariant}`])
|
|
@@ -8274,7 +8294,7 @@ const db = /* @__PURE__ */ f({
|
|
|
8274
8294
|
type: "button",
|
|
8275
8295
|
popovertarget: `${y(o)}-${r}`,
|
|
8276
8296
|
"aria-label": e.actionsLabel ?? "Member actions"
|
|
8277
|
-
}, "…", 8,
|
|
8297
|
+
}, "…", 8, og),
|
|
8278
8298
|
s("div", {
|
|
8279
8299
|
id: `${y(o)}-${r}`,
|
|
8280
8300
|
class: "oc-dropdown-menu",
|
|
@@ -8283,34 +8303,34 @@ const db = /* @__PURE__ */ f({
|
|
|
8283
8303
|
(t(!0), a($, null, _(n.actions, (u) => (t(), a($, {
|
|
8284
8304
|
key: u.label
|
|
8285
8305
|
}, [
|
|
8286
|
-
u.separator ? (t(), a("div",
|
|
8306
|
+
u.separator ? (t(), a("div", lg)) : d("", !0),
|
|
8287
8307
|
u.href ? (t(), a("a", {
|
|
8288
8308
|
key: 1,
|
|
8289
8309
|
class: "oc-dropdown-item",
|
|
8290
8310
|
href: u.href,
|
|
8291
8311
|
onClick: (h) => l.$emit("action", { member: n, action: u })
|
|
8292
|
-
}, i(u.label), 9,
|
|
8312
|
+
}, i(u.label), 9, cg)) : (t(), a("button", {
|
|
8293
8313
|
key: 2,
|
|
8294
8314
|
class: "oc-dropdown-item",
|
|
8295
8315
|
type: "button",
|
|
8296
8316
|
onClick: (h) => l.$emit("action", { member: n, action: u })
|
|
8297
|
-
}, i(u.label), 9,
|
|
8317
|
+
}, i(u.label), 9, ng))
|
|
8298
8318
|
], 64))), 128))
|
|
8299
|
-
], 8,
|
|
8319
|
+
], 8, sg)
|
|
8300
8320
|
], 64)) : d("", !0)
|
|
8301
8321
|
])
|
|
8302
8322
|
]))), 128))
|
|
8303
8323
|
]));
|
|
8304
8324
|
}
|
|
8305
|
-
}),
|
|
8325
|
+
}), rg = { class: "oc-block-twofactor" }, dg = { class: "oc-block-twofactor-step" }, ug = { class: "oc-heading oc-heading--sm" }, mg = { class: "oc-heading-title" }, hg = {
|
|
8306
8326
|
key: 0,
|
|
8307
8327
|
class: "oc-heading-description"
|
|
8308
|
-
},
|
|
8328
|
+
}, bg = { class: "oc-block-twofactor-center" }, fg = { class: "oc-block-twofactor-step" }, vg = { class: "oc-heading oc-heading--sm" }, $g = { class: "oc-heading-title" }, yg = { class: "oc-field" }, gg = ["for"], kg = {
|
|
8309
8329
|
key: 0,
|
|
8310
8330
|
class: "oc-block-twofactor-step"
|
|
8311
|
-
},
|
|
8331
|
+
}, pg = /* @__PURE__ */ f({
|
|
8312
8332
|
__name: "OcBlockTwoFactor",
|
|
8313
|
-
props: /* @__PURE__ */
|
|
8333
|
+
props: /* @__PURE__ */ x({
|
|
8314
8334
|
setupKey: {},
|
|
8315
8335
|
recoveryCodes: {},
|
|
8316
8336
|
length: { default: 6 },
|
|
@@ -8323,16 +8343,16 @@ const db = /* @__PURE__ */ f({
|
|
|
8323
8343
|
modelValue: { default: "" },
|
|
8324
8344
|
modelModifiers: {}
|
|
8325
8345
|
}),
|
|
8326
|
-
emits: /* @__PURE__ */
|
|
8327
|
-
setup(e) {
|
|
8328
|
-
const o =
|
|
8329
|
-
return (c, n) => (t(), a("div",
|
|
8330
|
-
s("section",
|
|
8331
|
-
s("div",
|
|
8332
|
-
s("h2",
|
|
8333
|
-
e.scanText ? (t(), a("p",
|
|
8346
|
+
emits: /* @__PURE__ */ x(["submit"], ["update:modelValue"]),
|
|
8347
|
+
setup(e) {
|
|
8348
|
+
const o = A(e, "modelValue"), l = z("oc-twofactor-code");
|
|
8349
|
+
return (c, n) => (t(), a("div", rg, [
|
|
8350
|
+
s("section", dg, [
|
|
8351
|
+
s("div", ug, [
|
|
8352
|
+
s("h2", mg, i(e.scanTitle), 1),
|
|
8353
|
+
e.scanText ? (t(), a("p", hg, i(e.scanText), 1)) : d("", !0)
|
|
8334
8354
|
]),
|
|
8335
|
-
s("div",
|
|
8355
|
+
s("div", bg, [
|
|
8336
8356
|
m(c.$slots, "qr", {}, () => [
|
|
8337
8357
|
n[2] || (n[2] = s("div", {
|
|
8338
8358
|
class: "oc-block-twofactor-qr",
|
|
@@ -8346,15 +8366,15 @@ const db = /* @__PURE__ */ f({
|
|
|
8346
8366
|
}, null, 8, ["value"])
|
|
8347
8367
|
])
|
|
8348
8368
|
]),
|
|
8349
|
-
s("section",
|
|
8350
|
-
s("div", bg, [
|
|
8351
|
-
s("h2", fg, i(e.confirmTitle), 1)
|
|
8352
|
-
]),
|
|
8369
|
+
s("section", fg, [
|
|
8353
8370
|
s("div", vg, [
|
|
8371
|
+
s("h2", $g, i(e.confirmTitle), 1)
|
|
8372
|
+
]),
|
|
8373
|
+
s("div", yg, [
|
|
8354
8374
|
s("label", {
|
|
8355
8375
|
class: "oc-field-label",
|
|
8356
8376
|
for: y(l)
|
|
8357
|
-
}, i(e.codeLabel), 9,
|
|
8377
|
+
}, i(e.codeLabel), 9, gg),
|
|
8358
8378
|
Q(tt, {
|
|
8359
8379
|
id: y(l),
|
|
8360
8380
|
modelValue: o.value,
|
|
@@ -8369,14 +8389,14 @@ const db = /* @__PURE__ */ f({
|
|
|
8369
8389
|
onClick: n[1] || (n[1] = (r) => c.$emit("submit", o.value))
|
|
8370
8390
|
}, i(e.submitLabel), 1)
|
|
8371
8391
|
]),
|
|
8372
|
-
e.recoveryCodes?.length ? (t(), a("section",
|
|
8392
|
+
e.recoveryCodes?.length ? (t(), a("section", kg, [
|
|
8373
8393
|
Q(ct, { codes: e.recoveryCodes }, null, 8, ["codes"])
|
|
8374
8394
|
])) : d("", !0)
|
|
8375
8395
|
]));
|
|
8376
8396
|
}
|
|
8377
|
-
}),
|
|
8397
|
+
}), wg = ["aria-labelledby"], Og = { class: "oc-modal-content oc-modal-content--xl" }, _g = { class: "oc-block-wizard" }, Bg = { class: "oc-block-wizard-rail" }, Cg = { class: "oc-block-wizard-main" }, Sg = { class: "oc-modal-header" }, Lg = ["id"], Mg = { class: "oc-modal-description" }, Tg = { class: "oc-block-wizard-step" }, Vg = { class: "oc-modal-footer" }, xg = ["disabled"], Ag = /* @__PURE__ */ f({
|
|
8378
8398
|
__name: "OcBlockWizardDialog",
|
|
8379
|
-
props: /* @__PURE__ */
|
|
8399
|
+
props: /* @__PURE__ */ x({
|
|
8380
8400
|
steps: {},
|
|
8381
8401
|
backLabel: { default: "Back" },
|
|
8382
8402
|
nextLabel: { default: "Next" },
|
|
@@ -8389,9 +8409,9 @@ const db = /* @__PURE__ */ f({
|
|
|
8389
8409
|
step: { default: 0 },
|
|
8390
8410
|
stepModifiers: {}
|
|
8391
8411
|
}),
|
|
8392
|
-
emits: /* @__PURE__ */
|
|
8412
|
+
emits: /* @__PURE__ */ x(["finish"], ["update:open", "update:step"]),
|
|
8393
8413
|
setup(e, { emit: o }) {
|
|
8394
|
-
const l = e, c = o, n =
|
|
8414
|
+
const l = e, c = o, n = A(e, "open"), r = A(e, "step"), u = U(null), { onClose: h } = re(n, u), b = z("oc-wizard-title"), B = T(() => r.value >= l.steps.length - 1), v = T(() => (l.stepText ?? ((w, p) => `Step ${w} of ${p}`))(r.value + 1, l.steps.length));
|
|
8395
8415
|
function O() {
|
|
8396
8416
|
B.value ? (c("finish"), n.value = !1) : r.value++;
|
|
8397
8417
|
}
|
|
@@ -8402,27 +8422,27 @@ const db = /* @__PURE__ */ f({
|
|
|
8402
8422
|
closedby: "closerequest",
|
|
8403
8423
|
"aria-labelledby": y(b),
|
|
8404
8424
|
onClose: p[2] || (p[2] = //@ts-ignore
|
|
8405
|
-
(...
|
|
8425
|
+
(...L) => y(h) && y(h)(...L))
|
|
8406
8426
|
}, [
|
|
8407
|
-
s("div",
|
|
8408
|
-
s("div",
|
|
8409
|
-
s("div",
|
|
8427
|
+
s("div", Og, [
|
|
8428
|
+
s("div", _g, [
|
|
8429
|
+
s("div", Bg, [
|
|
8410
8430
|
Q(nt, {
|
|
8411
8431
|
modelValue: r.value,
|
|
8412
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
8432
|
+
"onUpdate:modelValue": p[0] || (p[0] = (L) => r.value = L),
|
|
8413
8433
|
steps: e.steps,
|
|
8414
8434
|
label: e.stepsLabel
|
|
8415
8435
|
}, null, 8, ["modelValue", "steps", "label"])
|
|
8416
8436
|
]),
|
|
8417
|
-
s("div",
|
|
8418
|
-
s("div",
|
|
8437
|
+
s("div", Cg, [
|
|
8438
|
+
s("div", Sg, [
|
|
8419
8439
|
s("h2", {
|
|
8420
8440
|
id: y(b),
|
|
8421
8441
|
class: "oc-modal-title"
|
|
8422
|
-
}, i(e.steps[r.value]?.label), 9,
|
|
8423
|
-
s("p",
|
|
8442
|
+
}, i(e.steps[r.value]?.label), 9, Lg),
|
|
8443
|
+
s("p", Mg, i(v.value), 1)
|
|
8424
8444
|
]),
|
|
8425
|
-
s("div",
|
|
8445
|
+
s("div", Tg, [
|
|
8426
8446
|
m(w.$slots, `step-${r.value}`, {
|
|
8427
8447
|
step: e.steps[r.value],
|
|
8428
8448
|
index: r.value
|
|
@@ -8433,13 +8453,13 @@ const db = /* @__PURE__ */ f({
|
|
|
8433
8453
|
})
|
|
8434
8454
|
])
|
|
8435
8455
|
]),
|
|
8436
|
-
s("div",
|
|
8456
|
+
s("div", Vg, [
|
|
8437
8457
|
s("button", {
|
|
8438
8458
|
class: "oc-btn oc-btn--outline",
|
|
8439
8459
|
type: "button",
|
|
8440
8460
|
disabled: r.value === 0,
|
|
8441
|
-
onClick: p[1] || (p[1] = (
|
|
8442
|
-
}, i(e.backLabel), 9,
|
|
8461
|
+
onClick: p[1] || (p[1] = (L) => r.value--)
|
|
8462
|
+
}, i(e.backLabel), 9, xg),
|
|
8443
8463
|
s("button", {
|
|
8444
8464
|
class: "oc-btn",
|
|
8445
8465
|
type: "button",
|
|
@@ -8449,9 +8469,9 @@ const db = /* @__PURE__ */ f({
|
|
|
8449
8469
|
])
|
|
8450
8470
|
])
|
|
8451
8471
|
])
|
|
8452
|
-
], 40,
|
|
8472
|
+
], 40, wg));
|
|
8453
8473
|
}
|
|
8454
|
-
}),
|
|
8474
|
+
}), zg = {
|
|
8455
8475
|
OcAccordion: _t,
|
|
8456
8476
|
OcAccordionAccent: Bt,
|
|
8457
8477
|
OcAccordionItem: Mt,
|
|
@@ -8586,47 +8606,47 @@ const db = /* @__PURE__ */ f({
|
|
|
8586
8606
|
OcToggle: hb,
|
|
8587
8607
|
OcToggleField: gb,
|
|
8588
8608
|
OcToggleGroup: pb,
|
|
8589
|
-
OcTooltip:
|
|
8590
|
-
OcTopProgress:
|
|
8591
|
-
OcTree:
|
|
8592
|
-
OcUpgradeBanner:
|
|
8593
|
-
OcUser:
|
|
8594
|
-
OcVersionBanner:
|
|
8595
|
-
OcBlockAboutTimeline:
|
|
8596
|
-
OcBlockAppHeader:
|
|
8597
|
-
OcBlockAppShell:
|
|
8598
|
-
OcBlockAuth:
|
|
8599
|
-
OcBlockAuthSplit:
|
|
8600
|
-
OcBlockContactGrid:
|
|
8601
|
-
OcBlockCta:
|
|
8602
|
-
OcBlockDataTable:
|
|
8603
|
-
OcBlockFaq:
|
|
8604
|
-
OcBlockFeatures:
|
|
8605
|
-
OcBlockFooter:
|
|
8606
|
-
OcBlockFormPage:
|
|
8607
|
-
OcBlockHero:
|
|
8608
|
-
OcBlockHeroCode:
|
|
8609
|
-
OcBlockHeroOrbit:
|
|
8610
|
-
OcBlockHeroSplit:
|
|
8611
|
-
OcBlockModuleHeader:
|
|
8612
|
-
OcBlockPageHero:
|
|
8613
|
-
OcBlockPortfolioGrid:
|
|
8614
|
-
OcBlockPricing:
|
|
8615
|
-
OcBlockProcess:
|
|
8616
|
-
OcBlockProductGrid:
|
|
8617
|
-
OcBlockProfileHeader:
|
|
8618
|
-
OcBlockShowcase:
|
|
8619
|
-
OcBlockSiteFooter:
|
|
8620
|
-
OcBlockSiteHeader:
|
|
8621
|
-
OcBlockSpotlight:
|
|
8622
|
-
OcBlockStats:
|
|
8623
|
-
OcBlockStatsCounter:
|
|
8624
|
-
OcBlockTeamList:
|
|
8625
|
-
OcBlockTwoFactor:
|
|
8626
|
-
OcBlockWizardDialog:
|
|
8627
|
-
},
|
|
8609
|
+
OcTooltip: Bb,
|
|
8610
|
+
OcTopProgress: Sb,
|
|
8611
|
+
OcTree: Nb,
|
|
8612
|
+
OcUpgradeBanner: ef,
|
|
8613
|
+
OcUser: cf,
|
|
8614
|
+
OcVersionBanner: uf,
|
|
8615
|
+
OcBlockAboutTimeline: pf,
|
|
8616
|
+
OcBlockAppHeader: Lf,
|
|
8617
|
+
OcBlockAppShell: Af,
|
|
8618
|
+
OcBlockAuth: Ef,
|
|
8619
|
+
OcBlockAuthSplit: Yf,
|
|
8620
|
+
OcBlockContactGrid: n1,
|
|
8621
|
+
OcBlockCta: m1,
|
|
8622
|
+
OcBlockDataTable: w1,
|
|
8623
|
+
OcBlockFaq: z1,
|
|
8624
|
+
OcBlockFeatures: E1,
|
|
8625
|
+
OcBlockFooter: G1,
|
|
8626
|
+
OcBlockFormPage: J1,
|
|
8627
|
+
OcBlockHero: tv,
|
|
8628
|
+
OcBlockHeroCode: bv,
|
|
8629
|
+
OcBlockHeroOrbit: Sv,
|
|
8630
|
+
OcBlockHeroSplit: Av,
|
|
8631
|
+
OcBlockModuleHeader: Hv,
|
|
8632
|
+
OcBlockPageHero: Wv,
|
|
8633
|
+
OcBlockPortfolioGrid: o$,
|
|
8634
|
+
OcBlockPricing: b$,
|
|
8635
|
+
OcBlockProcess: O$,
|
|
8636
|
+
OcBlockProductGrid: P$,
|
|
8637
|
+
OcBlockProfileHeader: W$,
|
|
8638
|
+
OcBlockShowcase: ry,
|
|
8639
|
+
OcBlockSiteFooter: _y,
|
|
8640
|
+
OcBlockSiteHeader: Vy,
|
|
8641
|
+
OcBlockSpotlight: Hy,
|
|
8642
|
+
OcBlockStats: Ky,
|
|
8643
|
+
OcBlockStatsCounter: Jy,
|
|
8644
|
+
OcBlockTeamList: ig,
|
|
8645
|
+
OcBlockTwoFactor: pg,
|
|
8646
|
+
OcBlockWizardDialog: Ag
|
|
8647
|
+
}, Ig = {
|
|
8628
8648
|
install(e) {
|
|
8629
|
-
for (const [o, l] of Object.entries(
|
|
8649
|
+
for (const [o, l] of Object.entries(zg)) e.component(o, l);
|
|
8630
8650
|
}
|
|
8631
8651
|
};
|
|
8632
8652
|
export {
|
|
@@ -8647,38 +8667,38 @@ export {
|
|
|
8647
8667
|
fa as OcBackLink,
|
|
8648
8668
|
va as OcBadge,
|
|
8649
8669
|
pa as OcBarcodeInput,
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8670
|
+
pf as OcBlockAboutTimeline,
|
|
8671
|
+
Lf as OcBlockAppHeader,
|
|
8672
|
+
Af as OcBlockAppShell,
|
|
8673
|
+
Ef as OcBlockAuth,
|
|
8674
|
+
Yf as OcBlockAuthSplit,
|
|
8675
|
+
n1 as OcBlockContactGrid,
|
|
8676
|
+
m1 as OcBlockCta,
|
|
8677
|
+
w1 as OcBlockDataTable,
|
|
8678
|
+
z1 as OcBlockFaq,
|
|
8679
|
+
E1 as OcBlockFeatures,
|
|
8680
|
+
G1 as OcBlockFooter,
|
|
8681
|
+
J1 as OcBlockFormPage,
|
|
8682
|
+
tv as OcBlockHero,
|
|
8683
|
+
bv as OcBlockHeroCode,
|
|
8684
|
+
Sv as OcBlockHeroOrbit,
|
|
8685
|
+
Av as OcBlockHeroSplit,
|
|
8686
|
+
Hv as OcBlockModuleHeader,
|
|
8687
|
+
Wv as OcBlockPageHero,
|
|
8688
|
+
o$ as OcBlockPortfolioGrid,
|
|
8689
|
+
b$ as OcBlockPricing,
|
|
8690
|
+
O$ as OcBlockProcess,
|
|
8691
|
+
P$ as OcBlockProductGrid,
|
|
8692
|
+
W$ as OcBlockProfileHeader,
|
|
8693
|
+
ry as OcBlockShowcase,
|
|
8694
|
+
_y as OcBlockSiteFooter,
|
|
8695
|
+
Vy as OcBlockSiteHeader,
|
|
8696
|
+
Hy as OcBlockSpotlight,
|
|
8697
|
+
Ky as OcBlockStats,
|
|
8698
|
+
Jy as OcBlockStatsCounter,
|
|
8699
|
+
ig as OcBlockTeamList,
|
|
8700
|
+
pg as OcBlockTwoFactor,
|
|
8701
|
+
Ag as OcBlockWizardDialog,
|
|
8682
8702
|
Ba as OcBreadcrumb,
|
|
8683
8703
|
Aa as OcBrowserFrame,
|
|
8684
8704
|
Fa as OcBusyOverlay,
|
|
@@ -8796,15 +8816,15 @@ export {
|
|
|
8796
8816
|
hb as OcToggle,
|
|
8797
8817
|
gb as OcToggleField,
|
|
8798
8818
|
pb as OcToggleGroup,
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8819
|
+
Bb as OcTooltip,
|
|
8820
|
+
Sb as OcTopProgress,
|
|
8821
|
+
Nb as OcTree,
|
|
8822
|
+
ef as OcUpgradeBanner,
|
|
8823
|
+
cf as OcUser,
|
|
8824
|
+
uf as OcVersionBanner,
|
|
8825
|
+
Ig as OmniaVue,
|
|
8826
|
+
zg as components,
|
|
8827
|
+
Ig as default,
|
|
8808
8828
|
rb as useToast,
|
|
8809
8829
|
z as useUid
|
|
8810
8830
|
};
|