@wssto2/vue-core 0.4.26 → 0.4.28
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/CHANGELOG.md +29 -0
- package/dist/{Activity-B6R8Jghz.js → Activity-BWkVX1Nx.js} +2 -2
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-CxU9aNRQ.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-GUTIXuNd.js} +58 -53
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js → AsyncSection.vue_vue_type_script_setup_true_lang-B0NfvG3B.js} +45 -40
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-BPj_fkJR.js +50 -0
- package/dist/{Changes-BQG7IV49.js → Changes-MG77TDwz.js} +3 -3
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-BrbQ0Y5d.js → CollectionPage.vue_vue_type_script_setup_true_lang-Bnpv9TEj.js} +2 -2
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-DPuH84I7.js → DataTable.vue_vue_type_script_setup_true_lang-BEvz5zqo.js} +1 -1
- package/dist/{DeadLetters-CJZSWjsn.js → DeadLetters-CkDE71B3.js} +2 -2
- package/dist/{General-tsRC866T.js → General-UTBVEXbN.js} +1 -1
- package/dist/{NewRolePage-L57Zg1Mg.js → NewRolePage-B7DwFWPk.js} +4 -4
- package/dist/{ProfilePage-B9WUrImn.js → ProfilePage-C8VhiKIh.js} +4 -4
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-szzWzdDu.js → RecordHeader.vue_vue_type_script_setup_true_lang-fmx0f8xi.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-BFaaFQSm.js → ResourcePage.vue_vue_type_script_setup_true_lang-BFBGvevP.js} +2 -2
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-Hr0WgL1K.js → RoleEditor.vue_vue_type_script_setup_true_lang-DRHmjA9w.js} +1 -1
- package/dist/{RolePage-uezn-Og1.js → RolePage-ODFu68Ce.js} +5 -5
- package/dist/{RolesPage-DkMAJZR6.js → RolesPage-B5RwSZ89.js} +3 -3
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-BJnz2ROc.js → SectionList.vue_vue_type_script_setup_true_lang-wyW7n3Uq.js} +1 -1
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-BYRc0-qh.js → SectionNavigator.vue_vue_type_script_setup_true_lang-Dmv6TpCi.js} +2 -2
- package/dist/{Sessions-BDu3nMmz.js → Sessions-DWj2OGo0.js} +2 -2
- package/dist/{SettingsPage-CA7YCy6K.js → SettingsPage-C3fPSmi7.js} +3 -3
- package/dist/{SignIn-DQzS20kM.js → SignIn-COThB9XN.js} +1 -1
- package/dist/{SignInPage-ft3unWwX.js → SignInPage-CdzgSvRm.js} +1 -1
- package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-ByEAVfjv.js → SignInTable.vue_vue_type_script_setup_true_lang-Bs0yTi2E.js} +1 -1
- package/dist/{SignIns-C3h_YIkc.js → SignIns-cztICmqt.js} +3 -3
- package/dist/Timestamp.vue_vue_type_script_setup_true_lang-CutyQkJb.js +52 -0
- package/dist/{UserRecord-BO5-wsYt.js → UserRecord-BWMnXz4q.js} +5 -5
- package/dist/{UsersList-D3b3DGN5.js → UsersList-Chq8yM5C.js} +4 -4
- package/dist/access/index.js +1 -1
- package/dist/collection/index.js +3 -3
- package/dist/content/Avatar.vue.d.ts +6 -0
- package/dist/content/Timestamp.vue.d.ts +15 -0
- package/dist/content/index.js +2 -2
- package/dist/form/index.js +2 -2
- package/dist/identity/index.js +1 -1
- package/dist/{index-BVU76sBO.js → index-BhtJR4c_.js} +10 -10
- package/dist/{index-CvJSAsfk.js → index-C3E6DcO0.js} +4 -4
- package/dist/{index-C3CzOub7.js → index-sTBBHqNG.js} +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/overlay/MenuButton.vue.d.ts +24 -0
- package/dist/overlay/index.d.ts +1 -0
- package/dist/overlay/index.js +59 -35
- package/dist/page/index.js +5 -5
- package/dist/resource/index.js +1 -1
- package/dist/{rowLayout-D1vrdy0s.js → rowLayout-BBFyLbOl.js} +1 -1
- package/dist/shell/index.js +3 -1
- package/dist/state/async.d.ts +16 -0
- package/dist/state/index.d.ts +1 -1
- package/dist/state/index.js +38 -37
- package/dist/{status-8KH7PITT.js → status-dGvfh1TP.js} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js +0 -35
- package/dist/Timestamp.vue_vue_type_script_setup_true_lang-CU2Y5oYl.js +0 -34
package/dist/overlay/index.js
CHANGED
|
@@ -1,15 +1,38 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { _ as P } from "../AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
2
|
+
import { _ as y } from "../Menu.vue_vue_type_script_setup_true_lang-DsFOeCVe.js";
|
|
3
|
+
import { defineComponent as i, openBlock as n, createElementBlock as a, mergeProps as l, createVNode as c, unref as u, normalizeClass as f, toDisplayString as p } from "vue";
|
|
4
|
+
import { _ as d } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
5
|
+
import { _ as k } from "../Popover.vue_vue_type_script_setup_true_lang-C70GrCP7.js";
|
|
6
|
+
import { _ as D } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
|
|
7
|
+
import { _ as E } from "../Tooltip.vue_vue_type_script_setup_true_lang-mErNPt8e.js";
|
|
8
|
+
import { t as S } from "../toast-CqSDTWRX.js";
|
|
9
|
+
import { I as $, u as N } from "../dialogStack-DZZg55w0.js";
|
|
10
|
+
import { I as j, u as z } from "../useDialog-CXR3hN0G.js";
|
|
11
|
+
import { C as L, u as U } from "../mediaQuery-CygcXmFW.js";
|
|
12
|
+
import { _ as Q } from "../PhotoViewer.vue_vue_type_script_setup_true_lang-CY5EZiyK.js";
|
|
13
|
+
const m = ["aria-label", "data-pressed"], v = /* @__PURE__ */ i({
|
|
14
|
+
__name: "MenuButton",
|
|
15
|
+
props: {
|
|
16
|
+
label: {},
|
|
17
|
+
icon: { default: "moreLine" },
|
|
18
|
+
presented: { type: Boolean },
|
|
19
|
+
toggle: {},
|
|
20
|
+
attrs: {}
|
|
21
|
+
},
|
|
22
|
+
setup(s) {
|
|
23
|
+
const e = s;
|
|
24
|
+
return (t, o) => (n(), a("button", l({ type: "button" }, e.attrs, {
|
|
25
|
+
"aria-label": e.label,
|
|
26
|
+
class: "hit-target flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-full text-content-muted transition-colors duration-motion-fast hover:bg-fill hover:text-content-strong focus-visible:bg-fill focus-visible:text-content-strong data-pressed:bg-fill-strong data-pressed:text-content-strong focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
|
|
27
|
+
"data-pressed": e.presented || void 0,
|
|
28
|
+
onClick: o[0] || (o[0] = (r) => e.toggle())
|
|
29
|
+
}), [
|
|
30
|
+
c(u(d), {
|
|
31
|
+
name: e.icon
|
|
32
|
+
}, null, 8, ["name"])
|
|
33
|
+
], 16, m));
|
|
34
|
+
}
|
|
35
|
+
}), b = ["aria-disabled"], C = /* @__PURE__ */ i({
|
|
13
36
|
__name: "PhotoViewerAction",
|
|
14
37
|
props: {
|
|
15
38
|
label: {},
|
|
@@ -17,33 +40,34 @@ const p = ["aria-disabled"], m = /* @__PURE__ */ s({
|
|
|
17
40
|
disabled: { type: Boolean }
|
|
18
41
|
},
|
|
19
42
|
emits: ["select"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
|
|
43
|
+
setup(s, { emit: e }) {
|
|
44
|
+
const t = s, o = e;
|
|
45
|
+
function r() {
|
|
46
|
+
t.disabled || o("select");
|
|
24
47
|
}
|
|
25
|
-
return (
|
|
48
|
+
return (_, x) => (n(), a("button", {
|
|
26
49
|
type: "button",
|
|
27
|
-
"aria-disabled":
|
|
50
|
+
"aria-disabled": t.disabled || void 0,
|
|
28
51
|
"data-part": "photo-viewer-action",
|
|
29
|
-
class:
|
|
30
|
-
onClick:
|
|
31
|
-
},
|
|
52
|
+
class: f(["flex min-h-11 shrink-0 cursor-pointer items-center justify-center rounded-full bg-white/8 px-4 text-subheadline font-medium whitespace-nowrap transition-colors duration-motion-fast hover:bg-white/16 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#6ee7b7] aria-disabled:cursor-default aria-disabled:opacity-40 aria-disabled:hover:bg-white/8", t.tone === "critical" ? "text-[#ff8a80]" : "text-[#f1f5f3]"]),
|
|
53
|
+
onClick: r
|
|
54
|
+
}, p(t.label), 11, b));
|
|
32
55
|
}
|
|
33
56
|
});
|
|
34
57
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
58
|
+
P as AlertDialog,
|
|
59
|
+
L as COMPACT_MEDIA_QUERY,
|
|
60
|
+
$ as INERT_SKIP_ATTR,
|
|
61
|
+
j as INITIAL_FOCUS_SKIP_ATTR,
|
|
62
|
+
y as Menu,
|
|
63
|
+
v as MenuButton,
|
|
64
|
+
Q as PhotoViewer,
|
|
65
|
+
C as PhotoViewerAction,
|
|
66
|
+
k as Popover,
|
|
67
|
+
D as Toaster,
|
|
68
|
+
E as Tooltip,
|
|
69
|
+
S as toast,
|
|
70
|
+
U as useCompactPresentation,
|
|
71
|
+
z as useDialog,
|
|
72
|
+
N as useOpenDialogCount
|
|
49
73
|
};
|
package/dist/page/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as x } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { a as W, b as X, c as Y, d as Z, p as ee, u as te, e as ae } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as x } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-GUTIXuNd.js";
|
|
2
|
+
import { a as W, b as X, c as Y, d as Z, p as ee, u as te, e as ae } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-GUTIXuNd.js";
|
|
3
3
|
import { _ as se } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js";
|
|
4
4
|
import { b as ne, i as re, u as ie } from "../bottomDock-BZEiOPYZ.js";
|
|
5
5
|
import { defineComponent as v, openBlock as a, createBlock as b, withCtx as c, createElementVNode as s, normalizeStyle as k, createElementBlock as l, Fragment as y, renderList as B, normalizeClass as d, unref as h, createCommentVNode as p, toDisplayString as f, useModel as S, useId as C, useTemplateRef as P, computed as $, mergeProps as w, createSlots as T, renderSlot as m, mergeModels as D } from "vue";
|
|
6
6
|
import { _ as L } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
7
|
-
import { _ as ue } from "../RecordHeader.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as ue } from "../RecordHeader.vue_vue_type_script_setup_true_lang-fmx0f8xi.js";
|
|
8
8
|
import { c as pe, i as fe, p as me, a as be, u as ge, b as ve } from "../chrome-nUcmVu8G.js";
|
|
9
9
|
import { s as z, u as I } from "../sectionIndex-BS0ic5W7.js";
|
|
10
10
|
import { p as _e, a as xe } from "../sectionIndex-BS0ic5W7.js";
|
|
11
|
-
import { _ as ye } from "../SectionNavigator.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { a as Se, _ as Ce } from "../SectionList.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as ye } from "../SectionNavigator.vue_vue_type_script_setup_true_lang-Dmv6TpCi.js";
|
|
12
|
+
import { a as Se, _ as Ce } from "../SectionList.vue_vue_type_script_setup_true_lang-wyW7n3Uq.js";
|
|
13
13
|
import { _ as A } from "../Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js";
|
|
14
14
|
const K = ["aria-label"], M = ["aria-label"], N = ["aria-selected", "tabindex", "onClick"], R = { class: "relative" }, E = {
|
|
15
15
|
key: 2,
|
package/dist/resource/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as o, u as r, a, b as u } from "../routeResource-DlTsGTg_.js";
|
|
2
|
-
import { _ as R, a as c } from "../ResourcePage.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as R, a as c } from "../ResourcePage.vue_vue_type_script_setup_true_lang-BFBGvevP.js";
|
|
3
3
|
export {
|
|
4
4
|
R as RecordPager,
|
|
5
5
|
c as ResourcePage,
|
|
@@ -8,7 +8,7 @@ import { _ as ze } from "./Tooltip.vue_vue_type_script_setup_true_lang-mErNPt8e.
|
|
|
8
8
|
import { _ as he } from "./EmptyState.vue_vue_type_script_setup_true_lang-50p-Mp8I.js";
|
|
9
9
|
import { u as Fe } from "./format-D8X4zsx6.js";
|
|
10
10
|
import { _ as Ve } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
11
|
-
import { _ as Oe } from "./Timestamp.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as Oe } from "./Timestamp.vue_vue_type_script_setup_true_lang-CutyQkJb.js";
|
|
12
12
|
import { a as je } from "./mediaQuery-CygcXmFW.js";
|
|
13
13
|
function Ue(y, n) {
|
|
14
14
|
const d = (n ?? "").split(/\s+/).filter((v) => v !== "");
|
package/dist/shell/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as z, provide as Q, computed as C, ref as N, useId as re, openBlock as d, createElementBlock as b, normalizeClass as $, unref as t, createVNode as h, createCommentVNode as S, createElementVNode as f, toDisplayString as D, createBlock as R, withDirectives as Be, Fragment as F, renderList as ne, vShow as je, withCtx as A, mergeProps as G, useTemplateRef as ae, renderSlot as I, createSlots as K, normalizeProps as W, guardReactiveProps as Y, inject as ge, onMounted as Ve, onBeforeUnmount as ye, normalizeStyle as oe, nextTick as ie, watch as q, onScopeDispose as ce, Teleport as Fe, shallowRef as Ke, h as ee } from "vue";
|
|
2
2
|
import { useI18n as B } from "vue-i18n";
|
|
3
|
-
import { _ as we } from "../Avatar.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as we } from "../Avatar.vue_vue_type_script_setup_true_lang-BPj_fkJR.js";
|
|
4
4
|
import { _ as P, u as Xe, c as Ue } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
5
5
|
import { _ as We } from "../Popover.vue_vue_type_script_setup_true_lang-C70GrCP7.js";
|
|
6
6
|
import { u as xe, S as X } from "../contributions-BVBZP5Jb.js";
|
|
@@ -775,6 +775,7 @@ const Zt = ["id", "aria-label"], en = ["data-drawer", "inert"], tn = /* @__PURE_
|
|
|
775
775
|
key: 1,
|
|
776
776
|
type: "button",
|
|
777
777
|
"data-shell-bar-back": "",
|
|
778
|
+
"data-page-back": "",
|
|
778
779
|
class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control pr-2 text-body text-content-link active:opacity-60",
|
|
779
780
|
onClick: E
|
|
780
781
|
}, [
|
|
@@ -858,6 +859,7 @@ const Zt = ["id", "aria-label"], en = ["data-drawer", "inert"], tn = /* @__PURE_
|
|
|
858
859
|
f("button", G({ type: "button" }, T, {
|
|
859
860
|
"aria-label": t(a)("core.page.more_actions"),
|
|
860
861
|
"data-shell-bar-more": "",
|
|
862
|
+
"data-page-overflow": "",
|
|
861
863
|
class: "hit-target flex size-9 cursor-pointer items-center justify-center rounded-full text-content-link",
|
|
862
864
|
onClick: u
|
|
863
865
|
}), [
|
package/dist/state/async.d.ts
CHANGED
|
@@ -29,3 +29,19 @@ export type AsyncState<Value> = {
|
|
|
29
29
|
export declare function valueOf<Value>(state: AsyncState<Value>): Value | undefined;
|
|
30
30
|
/** Nothing to list: null or undefined, an empty array, an empty string. */
|
|
31
31
|
export declare function isEmptyValue(value: unknown): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The `AsyncState` of a region that tracks its load with plain flags (a store's `loading` and
|
|
34
|
+
* `error`, a `ref` that is `undefined` until the answer comes), for `AsyncSection`'s one `state`.
|
|
35
|
+
*
|
|
36
|
+
* <AsyncSection :state="asyncState({ loading, error, value: documents })" @retry="reload">
|
|
37
|
+
*
|
|
38
|
+
* `value` is `undefined` while there is nothing yet; `null` is an answer (nothing there), which
|
|
39
|
+
* `AsyncSection` shows as empty. A loading flag over a value is `refreshing`, an error over a value
|
|
40
|
+
* is `stale`; loading wins over an error, since a retry is running. An empty `error` is no error.
|
|
41
|
+
* Not yet loaded, not loading, no error: `loading`, never a blank region.
|
|
42
|
+
*/
|
|
43
|
+
export declare function asyncState<Value>(flags: {
|
|
44
|
+
loading?: boolean;
|
|
45
|
+
error?: string | null;
|
|
46
|
+
value?: Value;
|
|
47
|
+
}): AsyncState<Value>;
|
package/dist/state/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as AsyncSection } from "./AsyncSection.vue";
|
|
2
|
-
export { isEmptyValue, valueOf, type AsyncState } from "./async";
|
|
2
|
+
export { asyncState, isEmptyValue, valueOf, type AsyncState } from "./async";
|
|
3
3
|
export { default as Badge } from "./Badge.vue";
|
|
4
4
|
export { HUES, type Hue } from "./hue";
|
|
5
5
|
export { default as Banner } from "./Banner.vue";
|
package/dist/state/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { _ as D, a as I,
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
1
|
+
import { _ as D, a as I, b as W, i as F, v as O } from "../AsyncSection.vue_vue_type_script_setup_true_lang-B0NfvG3B.js";
|
|
2
|
+
import { _ as H } from "../Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
3
|
+
import { _ as R } from "../Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js";
|
|
4
4
|
import { _ } from "../ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js";
|
|
5
|
-
import { a as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { defineComponent as m, computed as k, openBlock as e, createElementBlock as
|
|
5
|
+
import { a as j } from "../ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js";
|
|
6
|
+
import { _ as G } from "../EmptyState.vue_vue_type_script_setup_true_lang-50p-Mp8I.js";
|
|
7
|
+
import { defineComponent as m, computed as k, openBlock as e, createElementBlock as a, normalizeClass as p, createVNode as d, unref as i, createElementVNode as u, renderSlot as f, createBlock as S, toDisplayString as l, createCommentVNode as c } from "vue";
|
|
8
8
|
import { _ as x } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
9
9
|
import { useI18n as g } from "vue-i18n";
|
|
10
|
-
import { u as
|
|
11
|
-
import { D as
|
|
12
|
-
const
|
|
10
|
+
import { u as K } from "../useLoad-M7V-AVwR.js";
|
|
11
|
+
import { D as X, W as Y, u as Z } from "../useWaitStatus-fsacMl4W.js";
|
|
12
|
+
const $ = ["amber", "lime", "teal", "cyan", "blue", "indigo", "violet", "fuchsia", "pink"], V = /* @__PURE__ */ m({
|
|
13
13
|
__name: "FieldNote",
|
|
14
14
|
props: {
|
|
15
15
|
tone: { default: "info" },
|
|
16
16
|
icon: { default: void 0 }
|
|
17
17
|
},
|
|
18
|
-
setup(
|
|
19
|
-
const t =
|
|
18
|
+
setup(s) {
|
|
19
|
+
const t = s, o = {
|
|
20
20
|
info: { text: "text-content-muted", icon: "informationLine" },
|
|
21
21
|
warning: { text: "text-status-warning-content", icon: "alertTriangle" },
|
|
22
22
|
critical: { text: "text-status-danger-content", icon: "errorWarningLine" }
|
|
23
|
-
},
|
|
24
|
-
return (r, B) => (e(),
|
|
25
|
-
class: p(["mt-1 flex items-start gap-1.5 text-xs",
|
|
23
|
+
}, n = k(() => o[t.tone]);
|
|
24
|
+
return (r, B) => (e(), a("p", {
|
|
25
|
+
class: p(["mt-1 flex items-start gap-1.5 text-xs", n.value.text])
|
|
26
26
|
}, [
|
|
27
27
|
d(i(x), {
|
|
28
|
-
name: t.icon ??
|
|
28
|
+
name: t.icon ?? n.value.icon,
|
|
29
29
|
size: 14,
|
|
30
30
|
class: "mt-px"
|
|
31
31
|
}, null, 8, ["name"]),
|
|
@@ -34,11 +34,11 @@ const b = ["amber", "lime", "teal", "cyan", "blue", "indigo", "violet", "fuchsia
|
|
|
34
34
|
])
|
|
35
35
|
], 2));
|
|
36
36
|
}
|
|
37
|
-
}), h = ["data-done"],
|
|
37
|
+
}), h = ["data-done"], y = {
|
|
38
38
|
class: "flex min-w-0 items-center gap-2.5 text-subheadline",
|
|
39
39
|
role: "status",
|
|
40
40
|
"aria-live": "polite"
|
|
41
|
-
},
|
|
41
|
+
}, v = {
|
|
42
42
|
key: 0,
|
|
43
43
|
class: "text-content-link"
|
|
44
44
|
}, E = {
|
|
@@ -55,14 +55,14 @@ const b = ["amber", "lime", "teal", "cyan", "blue", "indigo", "violet", "fuchsia
|
|
|
55
55
|
done: { type: Boolean },
|
|
56
56
|
elapsed: {}
|
|
57
57
|
},
|
|
58
|
-
setup(
|
|
59
|
-
const t =
|
|
60
|
-
return (
|
|
58
|
+
setup(s) {
|
|
59
|
+
const t = s, { t: o } = g();
|
|
60
|
+
return (n, r) => (e(), a("div", {
|
|
61
61
|
class: "flex min-w-0 flex-col gap-1",
|
|
62
62
|
"data-done": t.done || void 0
|
|
63
63
|
}, [
|
|
64
|
-
u("div",
|
|
65
|
-
t.done ? (e(),
|
|
64
|
+
u("div", y, [
|
|
65
|
+
t.done ? (e(), a("span", v, [
|
|
66
66
|
d(_, { size: 16 })
|
|
67
67
|
])) : (e(), S(i(x), {
|
|
68
68
|
key: 1,
|
|
@@ -70,34 +70,35 @@ const b = ["amber", "lime", "teal", "cyan", "blue", "indigo", "violet", "fuchsia
|
|
|
70
70
|
size: 16,
|
|
71
71
|
class: "animate-spin text-content-link"
|
|
72
72
|
})),
|
|
73
|
-
(e(),
|
|
73
|
+
(e(), a("span", {
|
|
74
74
|
key: t.text,
|
|
75
75
|
class: p(["min-w-0 animate-text-swap", t.done ? "font-semibold text-content-link" : "text-shimmer"]),
|
|
76
76
|
"data-status-text": ""
|
|
77
77
|
}, l(t.text), 3)),
|
|
78
|
-
t.elapsed != null ? (e(),
|
|
78
|
+
t.elapsed != null ? (e(), a("span", E, l(i(o)("core.wait.seconds", { count: t.elapsed })), 1)) : c("", !0)
|
|
79
79
|
]),
|
|
80
|
-
|
|
81
|
-
f(
|
|
80
|
+
n.$slots.default ? (e(), a("div", w, [
|
|
81
|
+
f(n.$slots, "default")
|
|
82
82
|
])) : c("", !0)
|
|
83
83
|
], 8, h));
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
export {
|
|
87
87
|
D as AsyncSection,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
H as Badge,
|
|
89
|
+
R as Banner,
|
|
90
|
+
X as DONE_BEAT_MS,
|
|
91
91
|
_ as DrawnCheck,
|
|
92
|
-
|
|
92
|
+
G as EmptyState,
|
|
93
93
|
V as FieldNote,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
$ as HUES,
|
|
95
|
+
j as ProgressTrack,
|
|
96
96
|
I as Skeleton,
|
|
97
97
|
z as StatusLine,
|
|
98
|
-
|
|
99
|
-
W as
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
Y as WAIT_VISIBLE_AFTER_MS,
|
|
99
|
+
W as asyncState,
|
|
100
|
+
F as isEmptyValue,
|
|
101
|
+
K as useLoad,
|
|
102
|
+
Z as useWaitStatus,
|
|
103
|
+
O as valueOf
|
|
103
104
|
};
|