@wirecore/wirelayer-vue 0.12.2 → 0.14.0
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/{Button-BpMOPs8b.js → Button-WA6BonwF.js} +1 -1
- package/dist/{Checkbox-DS2qfQK1.js → Checkbox-DILwucBG.js} +1 -1
- package/dist/{CopyButton-Cv9QfFfS.js → CopyButton-BVRwSCRj.js} +2 -2
- package/dist/{Field-Cqe2BG_x.js → Field-DuZfFNFT.js} +3 -3
- package/dist/{Highlight-uwptdaUw.js → Highlight-BM-J3Jj0.js} +1 -1
- package/dist/{Input-C5dyvZfJ.js → Input-CH-ntEjv.js} +10 -10
- package/dist/RecipesProvider-DzlYvZ-I.js +2606 -0
- package/dist/{Select-q8FUIWLi.js → Select-B5c6Y3mf.js} +4 -4
- package/dist/{Slider-Cpv7Vj3B.js → Slider-Z-rsNeI1.js} +2 -2
- package/dist/Tree-C8vsEA6K.js +852 -0
- package/dist/chart.js +31 -31
- package/dist/code.js +7 -7
- package/dist/components/Confirm/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/Confirm/confirm.d.ts +5 -0
- package/dist/components/Confirm/confirm.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts +3 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePickerBase.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerBase.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePickerTimes.vue.d.ts +24 -0
- package/dist/components/DatePicker/DatePickerTimes.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/dates.d.ts +2 -0
- package/dist/components/DatePicker/dates.d.ts.map +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +6 -1
- package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts.map +1 -1
- package/dist/components/Dialog/DialogContent.vue.d.ts +16 -3
- package/dist/components/Dialog/DialogContent.vue.d.ts.map +1 -1
- package/dist/components/DialogService/DialogHost.vue.d.ts.map +1 -1
- package/dist/components/DialogService/dialogs.d.ts +5 -0
- package/dist/components/DialogService/dialogs.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerContent.vue.d.ts +10 -1
- package/dist/components/Drawer/DrawerContent.vue.d.ts.map +1 -1
- package/dist/components/LocaleProvider/LocaleProvider.vue.d.ts +3 -0
- package/dist/components/LocaleProvider/LocaleProvider.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter/NotificationCenter.vue.d.ts +8 -1
- package/dist/components/NotificationCenter/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/data-table/DataTable.vue.d.ts +26 -6
- package/dist/data-table/DataTable.vue.d.ts.map +1 -1
- package/dist/data-table/FilterMenu.vue.d.ts.map +1 -1
- package/dist/data-table/ValueInput.vue.d.ts +4 -0
- package/dist/data-table/ValueInput.vue.d.ts.map +1 -1
- package/dist/data-table/features.d.ts +10 -0
- package/dist/data-table/features.d.ts.map +1 -1
- package/dist/data-table/index.d.ts +1 -1
- package/dist/data-table/index.d.ts.map +1 -1
- package/dist/data-table/inputs.d.ts +5 -0
- package/dist/data-table/inputs.d.ts.map +1 -1
- package/dist/data-table/types.d.ts +2 -0
- package/dist/data-table/types.d.ts.map +1 -1
- package/dist/data-table.js +1713 -1575
- package/dist/editor.js +4 -4
- package/dist/form.js +35 -35
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4204 -4275
- package/dist/pdf.js +6 -6
- package/dist/{recipes-BlM9aKyt.js → recipes-CD2Ibsv9.js} +8 -1
- package/dist/recipes.d.ts +6 -0
- package/dist/recipes.d.ts.map +1 -1
- package/dist/sources/dateRangeInput.css +3 -0
- package/dist/{useTree-UhG1TMeM.js → useTree-DjkjHeoy.js} +114 -114
- package/dist/virtual.js +6 -6
- package/llms-full.txt +99 -18
- package/llms.txt +1 -0
- package/package.json +3 -3
- package/dist/ContextMenu-DC--vmIf.js +0 -2321
- package/dist/Tree-3o3OJASC.js +0 -840
package/dist/chart.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e,
|
|
2
|
-
import { t as r } from "./Slider-
|
|
1
|
+
import { a as e, n as t, o as n } from "./recipes-CD2Ibsv9.js";
|
|
2
|
+
import { t as r } from "./Slider-Z-rsNeI1.js";
|
|
3
3
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, toRaw as C, unref as w, useAttrs as T, useId as E, useTemplateRef as D, watch as O } from "vue";
|
|
4
4
|
import { chart as k, chartTable as A, clampRange as j, mergeOptions as M, pieConfig as N, pieLegend as P, readChartTheme as F, referencePlugin as I, referenceSummary as L, seriesChart as R, seriesChartConfig as z, seriesTable as B, sparkline as V, sparklineSummary as H, themeChartData as U, themeChartOptions as W, waterfallBars as G, waterfallConfig as K } from "@wirecore/wirelayer-recipes";
|
|
5
5
|
import { Chart as q } from "chart.js/auto";
|
|
@@ -26,7 +26,7 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
26
26
|
classes: {}
|
|
27
27
|
},
|
|
28
28
|
setup(r) {
|
|
29
|
-
let o =
|
|
29
|
+
let o = e(), u = n(), d = r, p = T(), b = t("chart", k, () => d.classes)(), j = E(), M = D("canvas"), N = a(() => d.formatValue ?? ((e) => e.toLocaleString(o.value.locale))), P = a(() => A(d.data, N.value, u.chart)), I, L, R, z;
|
|
30
30
|
function B() {
|
|
31
31
|
let e = F(M.value);
|
|
32
32
|
return {
|
|
@@ -110,7 +110,7 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
110
110
|
classes: {}
|
|
111
111
|
},
|
|
112
112
|
setup(r) {
|
|
113
|
-
let i = r, o =
|
|
113
|
+
let i = r, o = t("sparkline", V, () => i.classes), s = T(), u = e(), d = n(), p = D("canvas"), g = a(() => i.formatValue ?? ((e) => e.toLocaleString(u.value.locale))), b = a(() => H(i.label, i.data, g.value, d.chart)), x, S, C;
|
|
114
114
|
function E() {
|
|
115
115
|
let e = F(p.value), t = e.palette[0], n = matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
116
116
|
return {
|
|
@@ -233,8 +233,8 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
233
233
|
classes: {}
|
|
234
234
|
},
|
|
235
235
|
emits: ["update:range"],
|
|
236
|
-
setup(
|
|
237
|
-
let d =
|
|
236
|
+
setup(n, { emit: o }) {
|
|
237
|
+
let d = n, p = o, _ = T(), v = e(), C = a(() => v.value.translations.chart), D = t("chart", k, () => d.classes)(), O = t("seriesChart", R)(), A = E(), N = a(() => d.formatValue ?? ((e) => e.toLocaleString(v.value.locale))), P = b(d.defaultRange), F = a(() => d.brush ? j(d.range ?? P.value, d.data.length) : void 0), V = a(() => d.area ? d.series.map((e) => ({
|
|
238
238
|
...e,
|
|
239
239
|
area: e.area ?? !0
|
|
240
240
|
})) : d.series), H = a(() => (e, t) => {
|
|
@@ -282,17 +282,17 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
282
282
|
P.value = t, p("update:range", t);
|
|
283
283
|
}
|
|
284
284
|
let K = a(() => B(d.data, d.categoryKey, V.value, N.value, F.value)), q = a(() => d.references?.length ? L(d.references, N.value) : "");
|
|
285
|
-
return (
|
|
285
|
+
return (e, t) => (y(), c("figure", h(f({
|
|
286
286
|
...w(_),
|
|
287
287
|
class: w(D).base({ class: m(w(_).class) })
|
|
288
288
|
})), [
|
|
289
289
|
l("figcaption", {
|
|
290
290
|
id: `${w(A)}title`,
|
|
291
|
-
class: m(
|
|
292
|
-
}, S(
|
|
291
|
+
class: m(n.hideTitle ? w(D).caption() : w(D).title())
|
|
292
|
+
}, S(n.title), 11, ne),
|
|
293
293
|
l("div", {
|
|
294
294
|
class: m(w(D).canvasBox()),
|
|
295
|
-
style: g({ height:
|
|
295
|
+
style: g({ height: n.height })
|
|
296
296
|
}, [u(Q, {
|
|
297
297
|
build: H.value,
|
|
298
298
|
labelledby: `${w(A)}title`
|
|
@@ -301,13 +301,13 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
301
301
|
key: 0,
|
|
302
302
|
class: m(w(O).references())
|
|
303
303
|
}, S(C.value.references) + ": " + S(q.value), 3)) : s("", !0),
|
|
304
|
-
|
|
304
|
+
n.brush && n.data.length > 1 ? (y(), c("div", {
|
|
305
305
|
key: 1,
|
|
306
306
|
class: m(w(O).brush())
|
|
307
307
|
}, [l("div", { class: m(w(O).brushCanvas()) }, [u(Q, { build: U.value }, null, 8, ["build"])], 2), u(r, {
|
|
308
308
|
"model-value": F.value,
|
|
309
309
|
min: 0,
|
|
310
|
-
max:
|
|
310
|
+
max: n.data.length - 1,
|
|
311
311
|
step: 1,
|
|
312
312
|
"min-range": 1,
|
|
313
313
|
label: C.value.brush,
|
|
@@ -322,11 +322,11 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
322
322
|
"thumb-labels",
|
|
323
323
|
"format-value"
|
|
324
324
|
])], 2)) : s("", !0),
|
|
325
|
-
|
|
325
|
+
n.table ? (y(), c("details", {
|
|
326
326
|
key: 2,
|
|
327
327
|
class: m(w(D).details())
|
|
328
328
|
}, [l("summary", { class: m(w(D).summary()) }, S(C.value.showTable), 3), l("div", { class: m(w(D).scroll()) }, [l("table", { class: m(w(D).table()) }, [
|
|
329
|
-
l("caption", { class: m(w(D).caption()) }, S(
|
|
329
|
+
l("caption", { class: m(w(D).caption()) }, S(n.title), 3),
|
|
330
330
|
l("thead", null, [l("tr", null, [l("th", {
|
|
331
331
|
scope: "col",
|
|
332
332
|
class: m(w(D).th())
|
|
@@ -525,34 +525,34 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
525
525
|
options: {},
|
|
526
526
|
classes: {}
|
|
527
527
|
},
|
|
528
|
-
setup(
|
|
529
|
-
let r =
|
|
528
|
+
setup(n) {
|
|
529
|
+
let r = n, o = T(), d = e(), p = a(() => d.value.translations.chart), _ = t("chart", k, () => r.classes)(), v = E(), b = a(() => r.formatValue ?? ((e) => e.toLocaleString(d.value.locale))), C = a(() => (e, t) => {
|
|
530
530
|
let n = K(r.steps, e, b.value, p.value, r.tones, t, d.value.locale);
|
|
531
531
|
return {
|
|
532
532
|
...n,
|
|
533
533
|
options: M(n.options, r.options)
|
|
534
534
|
};
|
|
535
535
|
}), D = a(() => G(r.steps));
|
|
536
|
-
return (
|
|
536
|
+
return (e, t) => (y(), c("figure", h(f({
|
|
537
537
|
...w(o),
|
|
538
538
|
class: w(_).base({ class: m(w(o).class) })
|
|
539
539
|
})), [
|
|
540
540
|
l("figcaption", {
|
|
541
541
|
id: `${w(v)}title`,
|
|
542
|
-
class: m(
|
|
543
|
-
}, S(
|
|
542
|
+
class: m(n.hideTitle ? w(_).caption() : w(_).title())
|
|
543
|
+
}, S(n.title), 11, oe),
|
|
544
544
|
l("div", {
|
|
545
545
|
class: m(w(_).canvasBox()),
|
|
546
|
-
style: g({ height:
|
|
546
|
+
style: g({ height: n.height })
|
|
547
547
|
}, [u(Q, {
|
|
548
548
|
build: C.value,
|
|
549
549
|
labelledby: `${w(v)}title`
|
|
550
550
|
}, null, 8, ["build", "labelledby"])], 6),
|
|
551
|
-
|
|
551
|
+
n.table ? (y(), c("details", {
|
|
552
552
|
key: 0,
|
|
553
553
|
class: m(w(_).details())
|
|
554
554
|
}, [l("summary", { class: m(w(_).summary()) }, S(p.value.showTable), 3), l("div", { class: m(w(_).scroll()) }, [l("table", { class: m(w(_).table()) }, [
|
|
555
|
-
l("caption", { class: m(w(_).caption()) }, S(
|
|
555
|
+
l("caption", { class: m(w(_).caption()) }, S(n.title), 3),
|
|
556
556
|
l("thead", null, [l("tr", null, [
|
|
557
557
|
l("th", {
|
|
558
558
|
scope: "col",
|
|
@@ -605,29 +605,29 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
605
605
|
options: {},
|
|
606
606
|
classes: {}
|
|
607
607
|
},
|
|
608
|
-
setup(
|
|
609
|
-
let r =
|
|
608
|
+
setup(n) {
|
|
609
|
+
let r = n, o = T(), d = e(), p = a(() => d.value.translations.chart), _ = t("chart", k, () => r.classes)(), v = t("seriesChart", R), b = v(), C = E(), D = a(() => r.formatValue ?? ((e) => e.toLocaleString(d.value.locale))), O = a(() => (e, t) => {
|
|
610
610
|
let n = N(r.slices, r.donut, e, D.value, r.title, t, d.value.locale);
|
|
611
611
|
return {
|
|
612
612
|
...n,
|
|
613
613
|
options: M(n.options, r.options)
|
|
614
614
|
};
|
|
615
615
|
}), A = a(() => P(r.slices, D.value, d.value.locale));
|
|
616
|
-
return (
|
|
616
|
+
return (e, t) => (y(), c("figure", h(f({
|
|
617
617
|
...w(o),
|
|
618
618
|
class: w(_).base({ class: m(w(o).class) })
|
|
619
619
|
})), [
|
|
620
620
|
l("figcaption", {
|
|
621
621
|
id: `${w(C)}title`,
|
|
622
|
-
class: m(
|
|
623
|
-
}, S(
|
|
622
|
+
class: m(n.hideTitle ? w(_).caption() : w(_).title())
|
|
623
|
+
}, S(n.title), 11, ce),
|
|
624
624
|
l("div", { class: m(w(b).pieLayout()) }, [l("div", {
|
|
625
625
|
class: m(w(b).pieBox()),
|
|
626
|
-
style: g({ height:
|
|
626
|
+
style: g({ height: n.height })
|
|
627
627
|
}, [u(Q, {
|
|
628
628
|
build: O.value,
|
|
629
629
|
labelledby: `${w(C)}title`
|
|
630
|
-
}, null, 8, ["build", "labelledby"])], 6),
|
|
630
|
+
}, null, 8, ["build", "labelledby"])], 6), n.legend ? (y(), c("ul", {
|
|
631
631
|
key: 0,
|
|
632
632
|
role: "list",
|
|
633
633
|
"aria-label": p.value.legend,
|
|
@@ -643,11 +643,11 @@ var ee = ["id"], J = ["aria-labelledby"], Y = /* @__PURE__ */ d({
|
|
|
643
643
|
l("span", { class: m(w(b).legendLabel()) }, S(e.label), 3),
|
|
644
644
|
l("span", { class: m(w(b).legendValue()) }, S(e.value) + " · " + S(e.share), 3)
|
|
645
645
|
], 2))), 128))], 10, le)) : s("", !0)], 2),
|
|
646
|
-
|
|
646
|
+
n.table ? (y(), c("details", {
|
|
647
647
|
key: 0,
|
|
648
648
|
class: m(w(_).details())
|
|
649
649
|
}, [l("summary", { class: m(w(_).summary()) }, S(p.value.showTable), 3), l("div", { class: m(w(_).scroll()) }, [l("table", { class: m(w(_).table()) }, [
|
|
650
|
-
l("caption", { class: m(w(_).caption()) }, S(
|
|
650
|
+
l("caption", { class: m(w(_).caption()) }, S(n.title), 3),
|
|
651
651
|
l("thead", null, [l("tr", null, [
|
|
652
652
|
l("th", {
|
|
653
653
|
scope: "col",
|
package/dist/code.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as n } from "./Button-
|
|
3
|
-
import { t as r } from "./CopyButton-
|
|
1
|
+
import { n as e, o as t } from "./recipes-CD2Ibsv9.js";
|
|
2
|
+
import { t as n } from "./Button-WA6BonwF.js";
|
|
3
|
+
import { t as r } from "./CopyButton-BVRwSCRj.js";
|
|
4
4
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, nextTick as m, normalizeClass as h, normalizeProps as g, normalizeStyle as _, openBlock as v, ref as y, renderList as b, resolveDynamicComponent as x, toDisplayString as S, unref as C, useAttrs as w, useId as T, useTemplateRef as E, watch as D, withCtx as ee } from "vue";
|
|
5
5
|
import { FileBraces as O, FileCode as k, FileCodeCorner as A, FileImage as j, FileSpreadsheet as M, FileTerminal as N, FileText as P, FileType as F, WrapText as I } from "@lucide/vue";
|
|
6
6
|
import { codeDiffLine as L, codeFileKind as R, codeHighlight as z, codeLanguages as B, codeTabs as V, diffLines as te, inlineCode as H, languageFromFileName as ne, resolveCodeLanguage as U, toolbarIndexForKey as W } from "@wirecore/wirelayer-recipes";
|
|
@@ -118,7 +118,7 @@ var Q = (e) => e.split("\n").map((e) => [{ content: e }]), ie = (e) => ({
|
|
|
118
118
|
},
|
|
119
119
|
emits: ["update:wrap"],
|
|
120
120
|
setup(f, { emit: m }) {
|
|
121
|
-
let E = f, O = m, k =
|
|
121
|
+
let E = f, O = m, k = e("codeHighlight", z, () => E.classes), A = w(), j = t().codeHighlight, M = T(), N = a(() => E.language ?? (E.fileName ? ne(E.fileName) : "text")), P = y(!1), F = a(() => E.wrap ?? P.value), B = y(!1), V = a(() => !!E.expandable && !!E.maxHeight && !B.value), H = a(() => k({
|
|
122
122
|
wrap: F.value,
|
|
123
123
|
collapsed: V.value
|
|
124
124
|
})), U = a(() => E.title ?? E.fileName), W = a(() => E.fileName ? G[R(E.fileName)] : void 0), K = y(Q(E.code)), q = 0;
|
|
@@ -260,7 +260,7 @@ var Q = (e) => e.split("\n").map((e) => [{ content: e }]), ie = (e) => ({
|
|
|
260
260
|
},
|
|
261
261
|
emits: ["update:modelValue"],
|
|
262
262
|
setup(n, { emit: f }) {
|
|
263
|
-
let _ = n, D = f, ee =
|
|
263
|
+
let _ = n, D = f, ee = e("codeTabs", V, () => _.classes), O = w(), k = t().codeHighlight, A = T(), j = a(() => ee()), M = E("list"), N = y(_.defaultValue), P = a(() => _.modelValue ?? N.value ?? _.files[0]?.name), F = a(() => _.files.find((e) => e.name === P.value) ?? _.files[0]), I = (e) => `${A}tab${e}`;
|
|
264
264
|
function L(e) {
|
|
265
265
|
N.value = e, D("update:modelValue", e);
|
|
266
266
|
}
|
|
@@ -338,8 +338,8 @@ var Q = (e) => e.split("\n").map((e) => [{ content: e }]), ie = (e) => ({
|
|
|
338
338
|
languages: { default: () => [] },
|
|
339
339
|
classes: {}
|
|
340
340
|
},
|
|
341
|
-
setup(
|
|
342
|
-
let n =
|
|
341
|
+
setup(t) {
|
|
342
|
+
let n = t, r = e("inlineCode", H, () => n.classes), a = w(), o = y(Q(n.code).flat());
|
|
343
343
|
return D(() => [
|
|
344
344
|
n.code,
|
|
345
345
|
n.language,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/ConfirmDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/ConfirmDialog.vue"],"names":[],"mappings":"AAsJA,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAKzF,OAAO,EAAkB,KAAK,oBAAoB,EAAuB,MAAM,cAAc,CAAC;AAO9F,MAAM,WAAW,kBAAkB;IAC/B,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4GAA4G;IAC5G,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,YAAY,CAAC,CAAC;CAChD;AAyWD,QAAA,MAAM,YAAY,gTAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -20,6 +20,11 @@ export interface ConfirmOptions {
|
|
|
20
20
|
typeToConfirm?: string;
|
|
21
21
|
/** Where the dialog sits: centred (default), top, bottom, start or end */
|
|
22
22
|
position?: DialogPosition;
|
|
23
|
+
/**
|
|
24
|
+
* `body` (default): the title below the header row; `header`: in the row of the close button. App-wide default:
|
|
25
|
+
* `titleInHeader` in the `defaultVariants` of the `dialog` recipe
|
|
26
|
+
*/
|
|
27
|
+
titlePosition?: 'body' | 'header';
|
|
23
28
|
/** Look of the confirm button – wins over ConfirmDialog `confirmButton`, e.g. `{ size: 'md' }` */
|
|
24
29
|
confirmButton?: ConfirmButtonOptions;
|
|
25
30
|
/** Look of the cancel button – wins over ConfirmDialog `cancelButton` */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/confirm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,2FAA2F;AAC3F,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAE7F,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,kGAAkG;IAClG,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,yEAAyE;IACzE,YAAY,CAAC,EAAE,oBAAoB,CAAC;CACvC;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,EAAE,eAAe,CAAC;IACxE,8BAA8B;IAC9B,KAAK,EAA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tE;;;GAGG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAEjE;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAErE"}
|
|
@@ -12,8 +12,10 @@ export interface DatePickerProps<T extends DatePickerValue = string | null> {
|
|
|
12
12
|
selectionMode?: 'single' | 'multiple';
|
|
13
13
|
/** What v-model gets: ISO strings (default) or Date objects */
|
|
14
14
|
valueType?: DateValueType;
|
|
15
|
-
/** Adds hour and minute to the field */
|
|
15
|
+
/** Adds hour and minute to the field and below the calendar (picking a day keeps it open, Escape discards) */
|
|
16
16
|
withTime?: boolean;
|
|
17
|
+
/** withTime: the time below the calendar as well (default true); false: in the field only */
|
|
18
|
+
timeInPopup?: boolean;
|
|
17
19
|
/** Earliest selectable date (ISO or Date) */
|
|
18
20
|
min?: DateLike;
|
|
19
21
|
/** Latest selectable date (ISO or Date) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.vue"],"names":[],"mappings":"AAwKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AASxH,uFAAuF;AACvF,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;AAE3D,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,eAAe,GAAG,MAAM,GAAG,IAAI;IACtE;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,kFAAkF;IAClF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AO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -34,6 +34,8 @@ type __VLS_Props = {
|
|
|
34
34
|
timeZone?: string;
|
|
35
35
|
showTimeZone?: boolean;
|
|
36
36
|
responsive?: boolean;
|
|
37
|
+
/** withTime: hour and minute below the calendar as well; false: in the field only */
|
|
38
|
+
timeInPopup?: boolean;
|
|
37
39
|
} & CalendarViewOptions;
|
|
38
40
|
type __VLS_Slots = {
|
|
39
41
|
day?(props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerBase.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerBase.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePickerBase.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerBase.vue"],"names":[],"mappings":"AA6WA,OAAO,EAAE,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGrE,OAAO,EACH,UAAU,IAAI,gBAAgB,EAQ9B,KAAK,gBAAgB,EACrB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAKrC,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAWjF,KAAK,WAAW,GAAG;IACX,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;IACtC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,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O,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -8,6 +8,8 @@ type __VLS_Slots = {
|
|
|
8
8
|
day?(props: {
|
|
9
9
|
date: string;
|
|
10
10
|
} & CalendarDayState): unknown;
|
|
11
|
+
/** Below the calendar (the time with withTime) */
|
|
12
|
+
default?(): unknown;
|
|
11
13
|
};
|
|
12
14
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerCalendar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerCalendar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePickerCalendar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerCalendar.vue"],"names":[],"mappings":"AAuEA,OAAO,EAAkC,KAAK,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpG,OAAwB,EAAE,KAAK,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAIvG,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,mBAAmB,CAAC;AAEvG,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,gBAAgB,GAAG,OAAO,CAAC;IAC1D,kDAAkD;IAClD,OAAO,CAAC,IAAI,OAAO,CAAC;CACvB,CAAC;AAqLF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type DateValue } from '@ark-ui/vue/date-picker';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** One time per date: 1, or 2 for start and end of a range */
|
|
4
|
+
count: number;
|
|
5
|
+
/** The time of a date ("HH:mm") */
|
|
6
|
+
timeOf: (index: number) => string;
|
|
7
|
+
dates: DateValue[];
|
|
8
|
+
min?: DateValue;
|
|
9
|
+
max?: DateValue;
|
|
10
|
+
locale: string;
|
|
11
|
+
/** Short zone name after the times and the id of its long name */
|
|
12
|
+
zone?: {
|
|
13
|
+
short: string;
|
|
14
|
+
describedby: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
time: (index: number, time: string) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onTime?: ((index: number, time: string) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=DatePickerTimes.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePickerTimes.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerTimes.vue"],"names":[],"mappings":"AAwGA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAYrE,KAAK,WAAW,GAAG;IACf,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAClC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,kEAAkE;IAClE,IAAI,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;CACjD,CAAC;AAwLF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -17,6 +17,8 @@ export declare const wallKey: (value: DateLike | null | undefined, withTime: boo
|
|
|
17
17
|
export declare function unavailableDates(isDateUnavailable?: (date: string) => boolean, excludeDates?: readonly DateLike[]): ((date: DateValue) => boolean) | undefined;
|
|
18
18
|
/** A day picked in the calendar keeps the time already entered (or 00:00) */
|
|
19
19
|
export declare function withTimeOf(day: DateValue, previous: DateValue | undefined): DateValue;
|
|
20
|
+
/** The day at a time of day ("HH:mm") – the time in the calendar popup, or the one a side of a range had before */
|
|
21
|
+
export declare function atTime(day: DateValue, time: string): DateValue;
|
|
20
22
|
/** "14:30" (or "14:30:15") → date-time on the fixed day */
|
|
21
23
|
export declare function fromTime(time: string): CalendarDateTime;
|
|
22
24
|
/** Date-time → "14:30" (with seconds "14:30:15") */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dates.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/dates.ts"],"names":[],"m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,CAO5C;AAED,6EAA6E;AAC7E,wBAAgB,UAAU,CAAC,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAIrF;AAED,mHAAmH;AACnH,wBAAgB,MAAM,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAG9D;AAKD,2DAA2D;AAC3D,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAGvD;AAGD,oDAAoD;AACpD,eAAO,MAAM,MAAM,GAAI,OAAO,SAAS,GAAG,SAAS,EAAE,qBAAmB,kBAG1D,CAAC;AAEf,kFAAkF;AAClF,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,qBAAmB,KAAG,MAAM,EAChD,CAAC"}
|
|
@@ -6,8 +6,13 @@ export interface DateRangePickerProps<T extends DateRangeLike = DateRange> {
|
|
|
6
6
|
defaultValue?: T | null;
|
|
7
7
|
/** What v-model gets: ISO strings (default) or Date objects */
|
|
8
8
|
valueType?: DateValueType;
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Adds hour and minute to both dates, in the field and below the calendar ("Start", "End"); a new range keeps the
|
|
11
|
+
* times, without them start 00:00 and end 23:59
|
|
12
|
+
*/
|
|
10
13
|
withTime?: boolean;
|
|
14
|
+
/** withTime: the times below the calendar as well (default true); false: in the field only */
|
|
15
|
+
timeInPopup?: boolean;
|
|
11
16
|
/** Earliest selectable date (ISO or Date) */
|
|
12
17
|
min?: DateLike;
|
|
13
18
|
/** Latest selectable date (ISO or Date) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DateRangePicker/DateRangePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DateRangePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DateRangePicker/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AE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;QArJP,6DAA6D;oBACjD;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,GAAG,gBAAgB,GAAG,OAAO;;;EAwJzD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -2,11 +2,15 @@ import { dialog as dialogRecipe, type DialogPosition, type DialogStatus, type Ov
|
|
|
2
2
|
import { type Component } from 'vue';
|
|
3
3
|
export interface DialogContentProps {
|
|
4
4
|
title: string;
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* The title only for screen readers – it still names the dialog (e.g. a video in a dialog). With the `#header`
|
|
7
|
+
* slot this is the default; `false` shows the title where `titlePosition` puts it
|
|
8
|
+
*/
|
|
6
9
|
hideTitle?: boolean;
|
|
7
10
|
/**
|
|
8
11
|
* `body` (default): the title below the header row; `header`: in the row of the close button, after a smaller
|
|
9
|
-
* icon, the header separated by a line (as on the Drawer)
|
|
12
|
+
* icon, the header separated by a line (as on the Drawer). App-wide default: `titleInHeader` in the
|
|
13
|
+
* `defaultVariants` of the `dialog` recipe (RecipesProvider/ConfigProvider)
|
|
10
14
|
*/
|
|
11
15
|
titlePosition?: 'body' | 'header';
|
|
12
16
|
description?: string;
|
|
@@ -32,7 +36,10 @@ export interface DialogContentProps {
|
|
|
32
36
|
draggable?: boolean;
|
|
33
37
|
/** Shows the close button in the header */
|
|
34
38
|
closable?: boolean;
|
|
35
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* `inside`: only the body scrolls, header and footer stay in place (long forms keep title and buttons in view);
|
|
41
|
+
* `outside` (default): the whole dialog scrolls – taller than the window, it starts at the top
|
|
42
|
+
*/
|
|
36
43
|
scrollBehavior?: 'inside' | 'outside';
|
|
37
44
|
/** Full width on small screens (below 640px) */
|
|
38
45
|
responsive?: boolean;
|
|
@@ -47,6 +54,11 @@ export interface DialogContentProps {
|
|
|
47
54
|
classes?: RecipeClasses<typeof dialogRecipe>;
|
|
48
55
|
}
|
|
49
56
|
type __VLS_Slots = {
|
|
57
|
+
/**
|
|
58
|
+
* Own content in the header row, after the icon and before the close button – e.g. a logo or a badge; the title
|
|
59
|
+
* then only names the dialog for screen readers (unless `hide-title` is `false`)
|
|
60
|
+
*/
|
|
61
|
+
header?(): unknown;
|
|
50
62
|
/** The content below the title */
|
|
51
63
|
default?(): unknown;
|
|
52
64
|
/** Buttons at the bottom, e.g. Cancel and Save (right-aligned) */
|
|
@@ -65,6 +77,7 @@ declare const __VLS_base: import("vue").DefineComponent<DialogContentProps, {
|
|
|
65
77
|
}>, {
|
|
66
78
|
responsive: boolean;
|
|
67
79
|
closable: boolean;
|
|
80
|
+
hideTitle: boolean;
|
|
68
81
|
maximized: boolean;
|
|
69
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
70
83
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogContent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DialogContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogContent.vue"],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,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,YAAY,CAAC,CAAC;CAChD;AAYD,KAAK,WAAW,GAAG;IACf;;;OAGG;IACH,MAAM,CAAC,IAAI,OAAO,CAAC;IACnB,kCAAkC;IAClC,OAAO,CAAC,IAAI,OAAO,CAAC;IACpB,kEAAkE;IAClE,MAAM,CAAC,IAAI,OAAO,CAAC;CACtB,CAAC;AA0TF,QAAA,MAAM,UAAU;IAtSZ;;;OAGG;;;;;;;;;;;6EAwSL,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogHost.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DialogService/DialogHost.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DialogHost.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DialogService/DialogHost.vue"],"names":[],"mappings":"AAsFA,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AASzF,MAAM,WAAW,eAAe;IAC5B,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,YAAY,CAAC,CAAC;CAChD;AA8ND,QAAA,MAAM,YAAY,0SAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -12,6 +12,11 @@ export interface DialogOptions {
|
|
|
12
12
|
size?: OverlaySize;
|
|
13
13
|
/** Where the dialog sits: centred (default), top, bottom, start or end */
|
|
14
14
|
position?: DialogPosition;
|
|
15
|
+
/**
|
|
16
|
+
* `body` (default): the title below the header row; `header`: in the row of the close button. App-wide default:
|
|
17
|
+
* `titleInHeader` in the `defaultVariants` of the `dialog` recipe
|
|
18
|
+
*/
|
|
19
|
+
titlePosition?: 'body' | 'header';
|
|
15
20
|
/** Covers the whole screen */
|
|
16
21
|
fullscreen?: boolean;
|
|
17
22
|
/** `inside`: only the body scrolls */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogs.d.ts","sourceRoot":"","sources":["../../../src/components/DialogService/dialogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mFAAmF;IACnF,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,yDAAyD;IACzD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mDAAmD;IACnD,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,8BAA8B;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,cAAc,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACtC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uDAAuD;IACvD,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IACd,6DAA6D;IAC7D,WAAW,EAA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,wBAAgB,mBAAmB,SAElC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { drawer as drawerRecipe, type DrawerPlacement, type OverlaySize, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
2
|
export interface DrawerContentProps {
|
|
3
3
|
title: string;
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* The title only for screen readers – it still names the drawer (e.g. a video in a dialog). With the `#header`
|
|
6
|
+
* slot this is the default; `false` shows the title next to the slot content
|
|
7
|
+
*/
|
|
5
8
|
hideTitle?: boolean;
|
|
6
9
|
description?: string;
|
|
7
10
|
placement?: DrawerPlacement;
|
|
@@ -20,6 +23,11 @@ export interface DrawerContentProps {
|
|
|
20
23
|
classes?: RecipeClasses<typeof drawerRecipe>;
|
|
21
24
|
}
|
|
22
25
|
type __VLS_Slots = {
|
|
26
|
+
/**
|
|
27
|
+
* Own content in the header row, before the close button – e.g. the logo of the app; the title then only names
|
|
28
|
+
* the drawer for screen readers (unless `hide-title` is `false`)
|
|
29
|
+
*/
|
|
30
|
+
header?(): unknown;
|
|
23
31
|
/** The content below the title (scrolls) */
|
|
24
32
|
default?(): unknown;
|
|
25
33
|
/** Buttons at the bottom, e.g. Cancel and Save */
|
|
@@ -27,6 +35,7 @@ type __VLS_Slots = {
|
|
|
27
35
|
};
|
|
28
36
|
declare const __VLS_base: import("vue").DefineComponent<DrawerContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DrawerContentProps> & Readonly<{}>, {
|
|
29
37
|
closable: boolean;
|
|
38
|
+
hideTitle: boolean;
|
|
30
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
41
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerContent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawerContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerContent.vue"],"names":[],"mappings":"AA2GA,OAAO,EACH,MAAM,IAAI,YAAY,EACtB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AASrC,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,YAAY,CAAC,CAAC;CAChD;AAKD,KAAK,WAAW,GAAG;IACf;;;OAGG;IACH,MAAM,CAAC,IAAI,OAAO,CAAC;IACnB,4CAA4C;IAC5C,OAAO,CAAC,IAAI,OAAO,CAAC;IACpB,kDAAkD;IAClD,MAAM,CAAC,IAAI,OAAO,CAAC;CACtB,CAAC;AA2MF,QAAA,MAAM,UAAU;;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -121,6 +121,8 @@ declare const __VLS_base: import("vue").DefineComponent<LocaleProviderProps, {},
|
|
|
121
121
|
noDates: string;
|
|
122
122
|
datesSelected: import("@wirecore/wirelayer-recipes").PluralForms;
|
|
123
123
|
timeZone: (name: string) => string;
|
|
124
|
+
time: string;
|
|
125
|
+
done: string;
|
|
124
126
|
};
|
|
125
127
|
quarterPicker: {
|
|
126
128
|
quarter: (quarter: number, year: number) => string;
|
|
@@ -530,6 +532,7 @@ declare const __VLS_base: import("vue").DefineComponent<LocaleProviderProps, {},
|
|
|
530
532
|
searchPlaceholder: string;
|
|
531
533
|
filter: (header: string) => string;
|
|
532
534
|
filterAll: string;
|
|
535
|
+
filterText: string;
|
|
533
536
|
columns: string;
|
|
534
537
|
export: string;
|
|
535
538
|
resize: (header: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocaleProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/LocaleProvider/LocaleProvider.vue"],"names":[],"mappings":"AA6BA,OAAO,EAAyC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAIvG,MAAM,WAAW,mBAAmB;IAChC,yFAAyF;IACzF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6GAA6G;IAC7G,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B;AAyCD,QAAA,IAAI,OAAO,IAAW,CAAC;AACvB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG/C,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"LocaleProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/LocaleProvider/LocaleProvider.vue"],"names":[],"mappings":"AA6BA,OAAO,EAAyC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAIvG,MAAM,WAAW,mBAAmB;IAChC,yFAAyF;IACzF,MAAM,CAAC,EAAE,MAAM,CAAC;IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAsvX,CAAC;wCAAyD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAnBxn7B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { notificationCenter as notificationCenterRecipe, type DataSource, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
1
|
+
import { notificationCenter as notificationCenterRecipe, type ButtonColor, type ButtonSize, type DataSource, type IconButtonVariant, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
2
|
import type { NotificationItem } from './types.js';
|
|
3
3
|
export interface NotificationCenterProps {
|
|
4
4
|
/** The notifications (with `dataSource`: new ones pushed by the app, before the loaded pages) */
|
|
@@ -22,6 +22,12 @@ export interface NotificationCenterProps {
|
|
|
22
22
|
open?: boolean;
|
|
23
23
|
/** Name of the bell and title of the panel (default "Notifications") */
|
|
24
24
|
label?: string;
|
|
25
|
+
/** Look of the bell (IconButton `variant`), e.g. `outline` next to other outlined buttons in a header (default `text`) */
|
|
26
|
+
variant?: IconButtonVariant;
|
|
27
|
+
/** Colour of the bell, combined with the variant (IconButton `color`) */
|
|
28
|
+
color?: ButtonColor;
|
|
29
|
+
/** Size of the bell (IconButton `size`), e.g. `sm` in a compact header */
|
|
30
|
+
size?: ButtonSize;
|
|
25
31
|
/** Reference time for "Today"/"Yesterday" (default: now) */
|
|
26
32
|
now?: Date | string;
|
|
27
33
|
/** Text without notifications (default "No notifications") */
|
|
@@ -48,6 +54,7 @@ declare const __VLS_base: import("vue").DefineComponent<NotificationCenterProps,
|
|
|
48
54
|
onMarkAllRead?: ((ids: string[]) => any) | undefined;
|
|
49
55
|
}>, {
|
|
50
56
|
dataSource: DataSource<NotificationItem>;
|
|
57
|
+
variant: IconButtonVariant;
|
|
51
58
|
display: "drawer" | "popover";
|
|
52
59
|
open: boolean;
|
|
53
60
|
items: readonly NotificationItem[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationCenter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationCenter/NotificationCenter.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NotificationCenter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationCenter/NotificationCenter.vue"],"names":[],"mappings":"AA8NA,OAAO,EAGH,kBAAkB,IAAI,wBAAwB,EAC9C,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAWnD,MAAM,WAAW,uBAAuB;IACpC,iGAAiG;IACjG,KAAK,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACpC;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAC1C,6DAA6D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