@meddleware/ui 0.1.45 → 0.1.47
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/README.md +69 -8
- package/dist/base.css +47 -46
- package/dist/brand/mark.d.ts +2 -0
- package/dist/components/AppFooter.css +1 -1
- package/dist/components/AppFooter.js +1 -1
- package/dist/components/AppHeader.css +1 -1
- package/dist/components/AppHeader.js +1 -1
- package/dist/components/AppSidebar.css +1 -1
- package/dist/components/AppSidebar.js +1 -1
- package/dist/components/AppSidebar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/AppTabNav.css +1 -1
- package/dist/components/AppTabNav.js +1 -1
- package/dist/components/AppTabNav.vue.d.ts +7 -0
- package/dist/components/BrandMark.css +1 -1
- package/dist/components/BrandMark.js +1 -1
- package/dist/components/ColorModeControl.css +1 -1
- package/dist/components/ColorModeControl.js +1 -1
- package/dist/components/CopyableAddress.css +1 -1
- package/dist/components/CopyableAddress.js +1 -1
- package/dist/components/CopyrightLine.css +1 -1
- package/dist/components/CopyrightLine.js +1 -1
- package/dist/components/CopyrightLine.vue.d.ts +6 -0
- package/dist/components/ExplorerLink.css +1 -1
- package/dist/components/ExplorerLink.js +1 -1
- package/dist/components/SidebarItem.css +1 -1
- package/dist/components/SidebarItem.js +1 -1
- package/dist/components/SidebarItem.vue.d.ts +3 -0
- package/dist/components/StatusWidget.css +1 -1
- package/dist/components/StatusWidget.js +1 -1
- package/dist/components/UiActivityFeed.css +1 -1
- package/dist/components/UiActivityFeed.js +1 -1
- package/dist/components/UiActivityItem.css +1 -1
- package/dist/components/UiActivityItem.js +1 -1
- package/dist/components/UiActivityItem.vue.d.ts +3 -0
- package/dist/components/UiAmount.css +1 -1
- package/dist/components/UiAmount.js +1 -1
- package/dist/components/UiAmount.vue.d.ts +2 -0
- package/dist/components/UiAppShell.css +1 -1
- package/dist/components/UiAppShell.js +1 -1
- package/dist/components/UiAppShell.vue.d.ts +2 -0
- package/dist/components/UiBadge.css +1 -1
- package/dist/components/UiBadge.js +1 -1
- package/dist/components/UiBadge.vue.d.ts +1 -0
- package/dist/components/UiButton.css +1 -1
- package/dist/components/UiButton.js +1 -1
- package/dist/components/UiCard.css +1 -1
- package/dist/components/UiCard.js +1 -1
- package/dist/components/UiCheckField.css +1 -1
- package/dist/components/UiCheckField.js +1 -1
- package/dist/components/UiCheckField.vue.d.ts +4 -0
- package/dist/components/UiCodeBlock.css +1 -1
- package/dist/components/UiCodeBlock.js +1 -1
- package/dist/components/UiCodeBlock.vue.d.ts +3 -0
- package/dist/components/UiCopyButton.css +1 -1
- package/dist/components/UiCopyButton.js +1 -1
- package/dist/components/UiDataTable.css +1 -1
- package/dist/components/UiDataTable.js +1 -1
- package/dist/components/UiDataTable.vue.d.ts +4 -0
- package/dist/components/UiDateTimeField.vue.d.ts +6 -0
- package/dist/components/UiDialog.css +1 -1
- package/dist/components/UiDialog.js +1 -1
- package/dist/components/UiDialog.vue.d.ts +5 -0
- package/dist/components/UiDialog.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/UiEmptyState.css +1 -1
- package/dist/components/UiEmptyState.js +1 -1
- package/dist/components/UiFieldHint.css +1 -1
- package/dist/components/UiFieldHint.js +1 -1
- package/dist/components/UiFieldHint.vue.d.ts +1 -0
- package/dist/components/UiFileField.css +1 -1
- package/dist/components/UiFileField.js +1 -1
- package/dist/components/UiFileField.vue.d.ts +6 -0
- package/dist/components/UiFormField.css +1 -1
- package/dist/components/UiFormField.js +1 -1
- package/dist/components/UiFormField.vue.d.ts +4 -0
- package/dist/components/UiInput.css +1 -1
- package/dist/components/UiInput.js +1 -1
- package/dist/components/UiInput.vue.d.ts +1 -0
- package/dist/components/UiLiveStatus.css +1 -1
- package/dist/components/UiLiveStatus.js +1 -1
- package/dist/components/UiLiveStatus.vue.d.ts +3 -1
- package/dist/components/UiMeter.css +1 -1
- package/dist/components/UiMeter.js +1 -1
- package/dist/components/UiMeter.vue.d.ts +4 -0
- package/dist/components/UiNotice.css +1 -1
- package/dist/components/UiNotice.js +1 -1
- package/dist/components/UiPager.css +1 -1
- package/dist/components/UiPager.js +1 -1
- package/dist/components/UiPager.vue.d.ts +4 -0
- package/dist/components/UiPanel.css +1 -1
- package/dist/components/UiPanel.js +1 -1
- package/dist/components/UiPanel.vue.d.ts +2 -0
- package/dist/components/UiRoleGuide.css +1 -0
- package/dist/components/UiRoleGuide.js +7 -0
- package/dist/components/UiRoleGuide.vue.d.ts +36 -0
- package/dist/components/UiRoleGuide.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/components/UiSegmentedControl.css +1 -1
- package/dist/components/UiSegmentedControl.js +1 -1
- package/dist/components/UiSegmentedControl.vue.d.ts +7 -0
- package/dist/components/UiSelect.css +1 -1
- package/dist/components/UiSelect.js +1 -1
- package/dist/components/UiSelect.vue.d.ts +1 -4
- package/dist/components/UiSelectField.vue.d.ts +7 -0
- package/dist/components/UiSkipLink.css +1 -1
- package/dist/components/UiSkipLink.js +1 -1
- package/dist/components/UiSkipLink.vue.d.ts +1 -0
- package/dist/components/UiStatGrid.css +1 -1
- package/dist/components/UiStatGrid.js +1 -1
- package/dist/components/UiStatRow.css +1 -1
- package/dist/components/UiStatRow.js +1 -1
- package/dist/components/UiStatRow.vue.d.ts +2 -0
- package/dist/components/UiStatusBar.css +1 -1
- package/dist/components/UiStatusBar.js +1 -1
- package/dist/components/UiStatusBar.vue.d.ts +4 -0
- package/dist/components/UiStatusDot.css +1 -1
- package/dist/components/UiStatusDot.js +1 -1
- package/dist/components/UiStatusDot.vue.d.ts +3 -0
- package/dist/components/UiStepper.css +1 -1
- package/dist/components/UiStepper.js +1 -1
- package/dist/components/UiStepper.vue.d.ts +6 -0
- package/dist/components/UiTabPanel.css +1 -1
- package/dist/components/UiTabPanel.js +1 -1
- package/dist/components/UiTabPanel.vue.d.ts +2 -0
- package/dist/components/UiTextField.vue.d.ts +6 -0
- package/dist/components/UiTextarea.css +1 -1
- package/dist/components/UiTextarea.js +1 -1
- package/dist/components/UiTextarea.vue.d.ts +1 -0
- package/dist/components/UiToolIntro.css +1 -1
- package/dist/components/UiToolIntro.js +1 -1
- package/dist/components/UiToolbar.css +1 -1
- package/dist/components/UiToolbar.js +1 -1
- package/dist/components/UiToolbar.vue.d.ts +7 -1
- package/dist/components/UiToolbarButton.css +1 -1
- package/dist/components/UiToolbarButton.js +1 -1
- package/dist/composables/usePager.d.ts +9 -0
- package/dist/composables/useSeason.d.ts +5 -1
- package/dist/composables/useStatusSnapshot.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +49 -48
- package/dist/internal/panel.d.ts +13 -0
- package/dist/internal/placeTip.d.ts +3 -0
- package/dist/runtime-config.d.ts +12 -1
- package/dist/tabs.d.ts +1 -0
- package/package.json +5 -5
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiMeter.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiMeter.css";
|
|
4
4
|
//#region src/components/UiMeter.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-19a96bed"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** What is measured (the meter's label). */
|
|
2
3
|
label: string;
|
|
4
|
+
/** How much has been used. */
|
|
3
5
|
used: number;
|
|
6
|
+
/** The limit; `null` means there is none, and then no bar is drawn. */
|
|
4
7
|
limit: number | null;
|
|
8
|
+
/** A unit written after the numbers (`GiB`, `requests`). */
|
|
5
9
|
unit?: string;
|
|
6
10
|
/** Format the numbers (default: as integers). */
|
|
7
11
|
format?: (n: number) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-notice[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-notice[data-v-7a47e3a7]{padding:var(--space-2xs) var(--space-xs);border:1px solid var(--border);border-left-width:var(--space-4xs);border-radius:var(--radius);background:var(--lift);color:var(--text);font-size:var(--font-size-sm);margin:0}.mw-notice--error[data-v-7a47e3a7]{border-left-color:var(--danger);background:color-mix(in srgb, var(--danger) 8%, var(--lift))}.mw-notice--ok[data-v-7a47e3a7]{border-left-color:var(--ok);background:color-mix(in srgb, var(--ok) 8%, var(--lift))}.mw-notice--warning[data-v-7a47e3a7]{border-left-color:var(--warning);background:color-mix(in srgb, var(--warning) 12%, var(--lift))}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiNotice.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiNotice.css";
|
|
4
4
|
//#region src/components/UiNotice.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-7a47e3a7"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-pager[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-pager[data-v-f32100a6]{gap:var(--space-sm);margin-top:var(--space-xs);flex-wrap:wrap;justify-content:flex-end;align-items:center;display:flex}.mw-pager__page[data-v-f32100a6]{color:var(--muted);font-size:var(--font-size-sm)}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiPager.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiPager.css";
|
|
4
4
|
//#region src/components/UiPager.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-f32100a6"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
/** Zero-based index of the page shown. */
|
|
3
3
|
index: number;
|
|
4
|
+
/** Whether a next page exists (a keyset list knows this only by fetching one more row). */
|
|
4
5
|
hasNext: boolean;
|
|
6
|
+
/** A page is being fetched: both buttons are disabled and the label says so. */
|
|
5
7
|
loading?: boolean;
|
|
6
8
|
/** Names the navigation landmark. */
|
|
7
9
|
label?: string;
|
|
10
|
+
/** The previous button's text. */
|
|
8
11
|
prevLabel?: string;
|
|
12
|
+
/** The next button's text. */
|
|
9
13
|
nextLabel?: string;
|
|
10
14
|
};
|
|
11
15
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-panel[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-panel[data-v-6a7adbcd]{padding:var(--space-xs);border:1px solid var(--border);border-radius:var(--radius-xs);background:var(--surface);overflow:hidden}.mw-panel__title[data-v-6a7adbcd]{margin:calc(-1 * var(--space-xs)) calc(-1 * var(--space-xs)) var(--space-xs);padding:var(--space-3xs) var(--space-xs);font-size:var(--font-size-2xs);font-weight:var(--font-weight-semibold);letter-spacing:var(--tracking-wide);line-height:inherit;text-transform:uppercase;color:var(--muted);background:var(--lift);border-bottom:1px solid var(--border)}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiPanel.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiPanel.css";
|
|
4
4
|
//#region src/components/UiPanel.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-6a7adbcd"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** The heading text; the `title` slot takes rich content instead. Without either, no heading is drawn. */
|
|
2
3
|
title?: string;
|
|
4
|
+
/** The heading rank (default 2), chosen to fit the host page's outline. */
|
|
3
5
|
level?: 2 | 3 | 4 | 5 | 6;
|
|
4
6
|
};
|
|
5
7
|
declare const __VLS_template: () => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-role-guide[data-v-2a6a73de]{gap:var(--space-md);grid-template-columns:minmax(0,1fr);display:grid}.mw-role-guide__choices[data-v-2a6a73de]{gap:var(--space-xs);border:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));inline-size:100%;min-inline-size:0;margin:0;padding:0;display:grid}.mw-role-guide__legend[data-v-2a6a73de]{margin-bottom:var(--space-2xs);font-weight:var(--font-weight-semibold);grid-column:1/-1;padding:0}.mw-role-guide__choice[data-v-2a6a73de]{gap:var(--space-4xs) var(--space-2xs);padding:var(--space-sm);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer;transition:border-color var(--transition-base), box-shadow var(--transition-base);grid-template-columns:auto 1fr;align-items:start;display:grid}.mw-role-guide__choice input[data-v-2a6a73de]{block-size:1.25rem;inline-size:1.25rem;accent-color:var(--accent);grid-row:1/span 2;margin:.25em 0 0}.mw-role-guide__choice-title[data-v-2a6a73de]{font-weight:var(--font-weight-semibold)}.mw-role-guide__choice-summary[data-v-2a6a73de]{color:var(--muted);font-size:var(--font-size-sm)}.mw-role-guide__choice[data-v-2a6a73de]:has(input:checked){border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.mw-role-guide__choice[data-v-2a6a73de]:has(input:focus-visible){outline:2px solid var(--focus-ring);outline-offset:2px}.mw-role-guide__panels[data-v-2a6a73de]{gap:var(--space-md);grid-template-columns:minmax(0,1fr);display:grid}@supports selector(:has(*)){.mw-role-guide__panel[data-v-2a6a73de]{display:none}:is(.mw-role-guide:has(.mw-role-guide__choice:first-of-type input:checked) .mw-role-guide__panel[data-v-2a6a73de]:first-of-type,.mw-role-guide:has(.mw-role-guide__choice:nth-of-type(2) input:checked) .mw-role-guide__panel[data-v-2a6a73de]:nth-of-type(2),.mw-role-guide:has(.mw-role-guide__choice:nth-of-type(3) input:checked) .mw-role-guide__panel[data-v-2a6a73de]:nth-of-type(3),.mw-role-guide:has(.mw-role-guide__choice:nth-of-type(4) input:checked) .mw-role-guide__panel[data-v-2a6a73de]:nth-of-type(4),.mw-role-guide:has(.mw-role-guide__choice:nth-of-type(5) input:checked) .mw-role-guide__panel[data-v-2a6a73de]:nth-of-type(5),.mw-role-guide:has(.mw-role-guide__choice:nth-of-type(6) input:checked) .mw-role-guide__panel[data-v-2a6a73de]:nth-of-type(6)){display:block}}.mw-role-guide__panel[data-v-2a6a73de]{overflow-wrap:anywhere;min-inline-size:0;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);scroll-margin-block-start:var(--space-2xl)}.mw-role-guide__title[data-v-2a6a73de]{margin:0 0 var(--space-sm);font-size:var(--font-size-lg)}.mw-role-guide__steps[data-v-2a6a73de]{margin:0 0 var(--space-sm);padding:0;list-style:none}.mw-role-guide__steps li[data-v-2a6a73de]{min-block-size:2rem;padding-block-end:var(--space-sm);padding-inline-start:2.75rem;position:relative}.mw-role-guide__steps li[data-v-2a6a73de]:not(:last-child){background:linear-gradient(var(--border), var(--border)) no-repeat calc(1rem - 1px) 2rem / 2px calc(100% - 2rem)}.mw-role-guide__num[data-v-2a6a73de]{border:2px solid var(--accent);background:var(--surface);block-size:2rem;inline-size:2rem;font-weight:var(--font-weight-semibold);border-radius:50%;place-items:center;display:grid;position:absolute;inset-block-start:0;inset-inline-start:0}.mw-role-guide__facts[data-v-2a6a73de]{gap:var(--space-3xs) var(--space-sm);margin:0 0 var(--space-sm);grid-template-columns:max-content minmax(0,1fr);display:grid}.mw-role-guide__facts dt[data-v-2a6a73de]{font-weight:var(--font-weight-semibold)}.mw-role-guide__facts dd[data-v-2a6a73de]{color:var(--muted);margin:0}.mw-role-guide__links[data-v-2a6a73de]{gap:var(--space-xs);flex-wrap:wrap;margin:0;display:flex}@media (forced-colors:active){.mw-role-guide__choice[data-v-2a6a73de]:has(input:checked){outline:2px solid highlight}}@media (prefers-reduced-motion:reduce){.mw-role-guide__choice[data-v-2a6a73de]{transition:none}}}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./UiRoleGuide.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
import "./UiRoleGuide.css";
|
|
4
|
+
//#region src/components/UiRoleGuide.vue
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-2a6a73de"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** One path through the guide. */
|
|
2
|
+
export interface RoleGuideRole {
|
|
3
|
+
/** Stable id, used in the address (`#for-<id>`) and the radio value: lowercase letters, digits and hyphens. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** The choice's label and the panel's heading ("Use the tools"). */
|
|
6
|
+
title: string;
|
|
7
|
+
/** One line under the choice ("Get things done without being kept"). */
|
|
8
|
+
summary: string;
|
|
9
|
+
/** The numbered steps, in order (plain text). */
|
|
10
|
+
steps: string[];
|
|
11
|
+
/** "You'll need" (optional). */
|
|
12
|
+
need?: string;
|
|
13
|
+
/** "You get" (optional). */
|
|
14
|
+
get?: string;
|
|
15
|
+
/** Links onward; the first is drawn as the main action. External links name it in their text (e.g. "Developer guide ↗"). */
|
|
16
|
+
links?: {
|
|
17
|
+
text: string;
|
|
18
|
+
href: string;
|
|
19
|
+
}[];
|
|
20
|
+
}
|
|
21
|
+
type __VLS_Props = {
|
|
22
|
+
/** The paths, in order (two to six). */
|
|
23
|
+
roles: RoleGuideRole[];
|
|
24
|
+
/** The radio group's name: unique on the page. */
|
|
25
|
+
name: string;
|
|
26
|
+
/** The question the choices answer. */
|
|
27
|
+
legend?: string;
|
|
28
|
+
/** Heading rank of each panel's title, to fit the page's outline. */
|
|
29
|
+
level?: 2 | 3 | 4;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
32
|
+
legend: string;
|
|
33
|
+
level: 2 | 3 | 4;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import e from "./UiButton.js";
|
|
2
|
+
import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, onMounted as c, openBlock as l, ref as u, renderList as d, resolveDynamicComponent as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
|
|
3
|
+
import { safeHref as g } from "@meddleware/web-utils";
|
|
4
|
+
//#region src/components/UiRoleGuide.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _ = { class: "mw-role-guide" }, v = { class: "mw-role-guide__choices" }, y = { class: "mw-role-guide__legend" }, b = [
|
|
6
|
+
"name",
|
|
7
|
+
"value",
|
|
8
|
+
"checked",
|
|
9
|
+
"onChange"
|
|
10
|
+
], x = { class: "mw-role-guide__choice-title" }, S = { class: "mw-role-guide__choice-summary" }, C = { class: "mw-role-guide__panels" }, w = ["id", "aria-labelledby"], T = { class: "mw-role-guide__steps" }, E = {
|
|
11
|
+
class: "mw-role-guide__num",
|
|
12
|
+
"aria-hidden": "true"
|
|
13
|
+
}, D = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "mw-role-guide__facts"
|
|
16
|
+
}, O = {
|
|
17
|
+
key: 1,
|
|
18
|
+
class: "mw-role-guide__links"
|
|
19
|
+
}, k = /*@__PURE__*/ s({
|
|
20
|
+
__name: "UiRoleGuide",
|
|
21
|
+
props: {
|
|
22
|
+
roles: {},
|
|
23
|
+
name: {},
|
|
24
|
+
legend: { default: "I'm here to…" },
|
|
25
|
+
level: { default: 3 }
|
|
26
|
+
},
|
|
27
|
+
setup(s) {
|
|
28
|
+
let k = s, A = u(k.roles[0]?.id ?? ""), j = (e) => `for-${e}`;
|
|
29
|
+
function M(e) {
|
|
30
|
+
A.value = e, typeof window < "u" && typeof history < "u" && history.replaceState(history.state, "", `#${j(e)}`);
|
|
31
|
+
}
|
|
32
|
+
return c(() => {
|
|
33
|
+
let e = window.location.hash.replace(/^#for-/, "");
|
|
34
|
+
k.roles.some((t) => t.id === e) && (A.value = e);
|
|
35
|
+
}), (c, u) => (l(), i("div", _, [a("fieldset", v, [a("legend", y, p(s.legend), 1), (l(!0), i(t, null, d(s.roles, (e) => (l(), i("label", {
|
|
36
|
+
key: e.id,
|
|
37
|
+
class: "mw-role-guide__choice"
|
|
38
|
+
}, [
|
|
39
|
+
a("input", {
|
|
40
|
+
type: "radio",
|
|
41
|
+
name: s.name,
|
|
42
|
+
value: e.id,
|
|
43
|
+
checked: A.value === e.id,
|
|
44
|
+
onChange: (t) => M(e.id)
|
|
45
|
+
}, null, 40, b),
|
|
46
|
+
a("span", x, p(e.title), 1),
|
|
47
|
+
a("span", S, p(e.summary), 1)
|
|
48
|
+
]))), 128))]), a("div", C, [(l(!0), i(t, null, d(s.roles, (c) => (l(), i("section", {
|
|
49
|
+
id: j(c.id),
|
|
50
|
+
key: c.id,
|
|
51
|
+
class: "mw-role-guide__panel",
|
|
52
|
+
"aria-labelledby": `${j(c.id)}-title`
|
|
53
|
+
}, [
|
|
54
|
+
(l(), n(f(`h${s.level}`), {
|
|
55
|
+
id: `${j(c.id)}-title`,
|
|
56
|
+
class: "mw-role-guide__title"
|
|
57
|
+
}, {
|
|
58
|
+
default: h(() => [o(p(c.title), 1)]),
|
|
59
|
+
_: 2
|
|
60
|
+
}, 1032, ["id"])),
|
|
61
|
+
a("ol", T, [(l(!0), i(t, null, d(c.steps, (e, t) => (l(), i("li", { key: t }, [a("span", E, p(t + 1), 1), o(p(e), 1)]))), 128))]),
|
|
62
|
+
c.need || c.get ? (l(), i("dl", D, [c.need ? (l(), i(t, { key: 0 }, [u[0] ||= a("dt", null, "You'll need", -1), a("dd", null, p(c.need), 1)], 64)) : r("", !0), c.get ? (l(), i(t, { key: 1 }, [u[1] ||= a("dt", null, "You get", -1), a("dd", null, p(c.get), 1)], 64)) : r("", !0)])) : r("", !0),
|
|
63
|
+
c.links?.length ? (l(), i("p", O, [(l(!0), i(t, null, d(c.links, (t, r) => (l(), n(e, {
|
|
64
|
+
key: t.href,
|
|
65
|
+
href: m(g)(t.href),
|
|
66
|
+
variant: r === 0 ? "primary" : "secondary"
|
|
67
|
+
}, {
|
|
68
|
+
default: h(() => [o(p(t.text), 1)]),
|
|
69
|
+
_: 2
|
|
70
|
+
}, 1032, ["href", "variant"]))), 128))])) : r("", !0)
|
|
71
|
+
], 8, w))), 128))])]));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
//#endregion
|
|
75
|
+
export { k as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-seg[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-seg[data-v-ffae5408]{border:1px solid var(--border);border-radius:var(--radius);min-inline-size:0;margin:0;padding:0;display:inline-flex;overflow:hidden}.mw-seg__legend[data-v-ffae5408]{float:inline-start;width:100%;padding:var(--space-3xs) var(--space-xs);font-size:var(--font-size-sm)}.mw-seg--wrap[data-v-ffae5408]{flex-wrap:wrap}@media (width<36em){.mw-seg--grid[data-v-ffae5408]{grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr));display:grid}.mw-seg--grid .mw-seg__item[data-v-ffae5408]{white-space:normal;padding-block:var(--space-4xs);text-align:center}}.mw-seg__item[data-v-ffae5408]{justify-content:center;align-items:center;gap:var(--space-3xs);min-height:var(--space-md);padding:0 var(--space-sm);border-right:1px solid var(--border);cursor:pointer;font-size:var(--font-size-sm);color:var(--text);transition:background var(--transition-base), color var(--transition-base);-webkit-user-select:none;user-select:none;white-space:nowrap;background:0 0;margin:0;display:flex}.mw-seg__item[data-v-ffae5408]:last-child{border-right:none}.mw-seg__item[data-v-ffae5408]:hover:not(.mw-seg__item--active){background:var(--lift)}.mw-seg__item--active[data-v-ffae5408]{background:var(--accent);color:var(--accent-contrast)}.mw-seg__item[data-v-ffae5408]:has(input:focus-visible){outline:2px solid var(--focus-ring);outline-offset:-2px}.mw-seg__item--disabled[data-v-ffae5408]{filter:grayscale(.6);pointer-events:none;cursor:not-allowed}.mw-seg__item input[type=radio][data-v-ffae5408]{opacity:0;pointer-events:none;width:0;height:0;position:absolute}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiSegmentedControl.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiSegmentedControl.css";
|
|
4
4
|
//#region src/components/UiSegmentedControl.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-ffae5408"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
/** One choice in a segmented control. */
|
|
1
2
|
export interface SegmentedOption {
|
|
3
|
+
/** The value `v-model` takes when this option is chosen. */
|
|
2
4
|
id: string;
|
|
5
|
+
/** The option's visible text. */
|
|
3
6
|
label: string;
|
|
7
|
+
/** A disabled option cannot be chosen. */
|
|
4
8
|
disabled?: boolean;
|
|
9
|
+
/** A tooltip for the option. */
|
|
5
10
|
title?: string;
|
|
6
11
|
}
|
|
7
12
|
type __VLS_Props = {
|
|
13
|
+
/** The choices, in order. */
|
|
8
14
|
options: SegmentedOption[];
|
|
15
|
+
/** The `id` of the chosen option (`v-model`). */
|
|
9
16
|
modelValue: string;
|
|
10
17
|
/** Names the group (its `<legend>`). Required for a usable control: say what is being chosen. */
|
|
11
18
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-select[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-select[data-v-10199f84]{--_chevron-stroke:var(--muted);--_chevron-arm:var(--space-2xs);appearance:none;width:100%;padding:var(--space-2xs) calc(var(--space-md) + var(--space-2xs)) var(--space-2xs) var(--space-xs);background-color:var(--surface);background-image:linear-gradient(45deg, transparent calc(50% - var(--space-4xs) / 2), var(--_chevron-stroke) calc(50% - var(--space-4xs) / 2), var(--_chevron-stroke) calc(50% + var(--space-4xs) / 2), transparent calc(50% + var(--space-4xs) / 2)), linear-gradient(-45deg, transparent calc(50% - var(--space-4xs) / 2), var(--_chevron-stroke) calc(50% - var(--space-4xs) / 2), var(--_chevron-stroke) calc(50% + var(--space-4xs) / 2), transparent calc(50% + var(--space-4xs) / 2));background-position:right calc(var(--space-xs) + var(--_chevron-arm)) center, right var(--space-xs) center;background-size:var(--_chevron-arm) var(--_chevron-arm);color:var(--text);border:1px solid var(--control-border);border-radius:var(--radius);font:inherit;background-repeat:no-repeat}.mw-select[data-v-10199f84]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiSelect.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiSelect.css";
|
|
4
4
|
//#region src/components/UiSelect.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-10199f84"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
type __VLS_ModelProps = {
|
|
2
|
-
/**
|
|
3
|
-
* A single root element: attributes (id, aria-*, disabled…) fall
|
|
4
|
-
* through to the select itself, and the chevron is painted in its background with two
|
|
5
|
-
* token-coloured gradient strokes (so it follows the theme without an overlay element). */
|
|
2
|
+
/** The chosen option's value. */
|
|
6
3
|
modelValue?: string;
|
|
7
4
|
};
|
|
8
5
|
declare const __VLS_template: () => {
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** The select's id (the label points at it). */
|
|
2
3
|
id: string;
|
|
4
|
+
/** The label text. */
|
|
3
5
|
label: string;
|
|
6
|
+
/** The choices as `[value, label]` pairs. */
|
|
4
7
|
options: ReadonlyArray<readonly [string, string]>;
|
|
8
|
+
/** When given, an empty-valued first option with this text (the "any" or "none" choice). */
|
|
5
9
|
placeholder?: string;
|
|
10
|
+
/** Help text under the field. */
|
|
6
11
|
hint?: string;
|
|
12
|
+
/** An error message; also marks the select invalid. */
|
|
7
13
|
error?: string | null;
|
|
8
14
|
};
|
|
9
15
|
type __VLS_ModelProps = {
|
|
16
|
+
/** The chosen option's value (an empty string for the placeholder). */
|
|
10
17
|
modelValue?: string;
|
|
11
18
|
};
|
|
12
19
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-skip[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-skip[data-v-53cf9e41]{z-index:var(--z-skip);padding:var(--space-2xs) var(--space-xs);background:var(--accent);color:var(--accent-contrast);border-radius:var(--radius-sm);font-weight:var(--font-weight-semibold);position:absolute;inset-block-start:var(--space-2xs);inset-inline-start:var(--space-2xs);transform:translateY(-200%)}.mw-skip[data-v-53cf9e41]:focus{transform:none}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiSkipLink.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiSkipLink.css";
|
|
4
4
|
//#region src/components/UiSkipLink.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-53cf9e41"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** The link text (default `Skip to content`). */
|
|
2
3
|
label?: string;
|
|
3
4
|
};
|
|
4
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-stat-grid[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-stat-grid[data-v-ab3bd557]{gap:var(--space-4xs) var(--space-xs);font-size:var(--font-size-sm);grid-template-columns:fit-content(40%) minmax(0,1fr);margin:0;display:grid}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiStatGrid.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiStatGrid.css";
|
|
4
4
|
//#region src/components/UiStatGrid.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-ab3bd557"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-stat-grid__label[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-stat-grid__label[data-v-cf353098]{color:var(--muted);overflow-wrap:anywhere}.mw-stat-grid__value[data-v-cf353098]{font-family:var(--mw-font-mono);color:var(--text);text-align:right;overflow-wrap:anywhere;margin:0}.mw-stat-grid__value--left[data-v-cf353098]{text-align:left}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiStatRow.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiStatRow.css";
|
|
4
4
|
//#region src/components/UiStatRow.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-cf353098"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-statusbar[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-statusbar[data-v-42e07383]{align-items:center;gap:var(--space-4xs) var(--space-sm);padding:var(--space-4xs) var(--space-xs);font-size:var(--font-size-2xs);color:var(--muted);background:var(--surface);border-top:1px solid var(--border);max-inline-size:100%;font-family:var(--mw-font-mono);z-index:var(--z-raised);flex-wrap:wrap;flex-shrink:0;margin:0;list-style:none;display:flex;position:sticky;bottom:0}.mw-statusbar[data-v-42e07383]>li{align-items:center;gap:var(--space-3xs);display:flex}.mw-statusbar[data-v-42e07383]>li+li:before{content:"│" / "";color:var(--border);margin-inline-end:var(--space-xs)}.mw-statusbar__pending[data-v-42e07383]{font-style:italic}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiStatusBar.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiStatusBar.css";
|
|
4
4
|
//#region src/components/UiStatusBar.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-42e07383"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** The network's name (capitalised for display); omit to show no network item. */
|
|
2
3
|
network?: string;
|
|
4
|
+
/** Whether the network is healthy: the dot is ok (default) or error. */
|
|
3
5
|
healthy?: boolean;
|
|
6
|
+
/** The epoch number; `null` shows a placeholder while it loads; omit to show no epoch item. */
|
|
4
7
|
epoch?: number | null;
|
|
8
|
+
/** When the data was last refreshed; `null` shows "Loading…"; omit to show no refresh item. The text ticks on its own. */
|
|
5
9
|
lastRefresh?: Date | null;
|
|
6
10
|
};
|
|
7
11
|
declare const __VLS_template: () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-status-dot[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-status-dot[data-v-8ad8809d]{border-radius:50%;flex-shrink:0;display:inline-block}.mw-status-dot--sm[data-v-8ad8809d]{width:var(--space-2xs);height:var(--space-2xs)}.mw-status-dot--md[data-v-8ad8809d]{width:var(--space-xs);height:var(--space-xs)}.mw-status-dot--ok[data-v-8ad8809d]{background:var(--ok)}.mw-status-dot--warn[data-v-8ad8809d]{background:var(--warning)}.mw-status-dot--error[data-v-8ad8809d]{background:var(--danger)}.mw-status-dot--unknown[data-v-8ad8809d]{background:var(--muted)}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiStatusDot.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiStatusDot.css";
|
|
4
4
|
//#region src/components/UiStatusDot.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-8ad8809d"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { StatusLevel } from '@meddleware/web-utils';
|
|
2
|
+
/** What a dot can show: a platform status level, or the short aliases the status bar used (`ok`, `warn`, `error`). */
|
|
2
3
|
export type StatusDotStatus = StatusLevel | 'ok' | 'warn' | 'error';
|
|
3
4
|
type __VLS_Props = {
|
|
5
|
+
/** The state to colour the dot for (default `ok`). */
|
|
4
6
|
status?: StatusDotStatus;
|
|
7
|
+
/** The dot's size: small (default) or medium. */
|
|
5
8
|
size?: 'sm' | 'md';
|
|
6
9
|
};
|
|
7
10
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.ui-stepper[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.ui-stepper[data-v-384d01b6]{margin:0 0 var(--space-md);padding:0;list-style:none;display:flex}.ui-stepper--vertical[data-v-384d01b6]{gap:var(--space-xs);flex-direction:column;margin:0}.ui-stepper__step[data-v-384d01b6]{align-items:center;gap:var(--space-2xs);flex-direction:column;flex:1 1 0;min-width:0;display:flex;position:relative}.ui-stepper--vertical .ui-stepper__step[data-v-384d01b6]{align-items:center;gap:var(--space-xs);flex-direction:row}.ui-stepper--horizontal .ui-stepper__step[data-v-384d01b6]:not(:first-child):before{content:"";top:var(--space-xs);height:var(--space-4xs);background:var(--border);z-index:0;position:absolute;left:-50%;right:50%}.ui-stepper--horizontal .ui-stepper__step.is-done[data-v-384d01b6]:before,.ui-stepper--horizontal .ui-stepper__step.is-active[data-v-384d01b6]:before{background:var(--accent)}.ui-stepper__badge[data-v-384d01b6]{z-index:var(--z-raised);width:var(--space-md);height:var(--space-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);border:var(--space-4xs) solid var(--border);background:var(--surface);color:var(--muted);cursor:default;transition:background-color var(--transition-base), border-color var(--transition-base);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-family:inherit;line-height:1;display:flex;position:relative}button.ui-stepper__badge[data-v-384d01b6]{cursor:pointer}button.ui-stepper__badge[data-v-384d01b6]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.is-done .ui-stepper__badge[data-v-384d01b6]{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.is-active .ui-stepper__badge[data-v-384d01b6],.is-busy .ui-stepper__badge[data-v-384d01b6]{background:color-mix(in srgb, var(--accent) 12%, var(--surface));border-color:var(--accent);color:var(--accent)}.is-error .ui-stepper__badge[data-v-384d01b6]{background:color-mix(in srgb, var(--danger) 12%, var(--surface));border-color:var(--danger);color:var(--danger)}.ui-stepper__label[data-v-384d01b6]{font-size:var(--font-size-sm);text-align:center;color:var(--muted);max-width:100%;line-height:var(--leading-tight)}.ui-stepper--horizontal .ui-stepper__label[data-v-384d01b6]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ui-stepper--vertical .ui-stepper__label[data-v-384d01b6]{text-align:start}.is-done .ui-stepper__label[data-v-384d01b6],.is-active .ui-stepper__label[data-v-384d01b6],.is-busy .ui-stepper__label[data-v-384d01b6],.is-error .ui-stepper__label[data-v-384d01b6]{color:var(--text)}.is-active .ui-stepper__label[data-v-384d01b6],.is-busy .ui-stepper__label[data-v-384d01b6]{font-weight:var(--font-weight-semibold)}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiStepper.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiStepper.css";
|
|
4
4
|
//#region src/components/UiStepper.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-384d01b6"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
+
/** A step's explicit state in a progress list. */
|
|
1
2
|
export type StepStatus = 'done' | 'busy' | 'error' | 'pending';
|
|
3
|
+
/** One step. */
|
|
2
4
|
export interface StepperStep {
|
|
5
|
+
/** A stable key for the step. */
|
|
3
6
|
id: string;
|
|
7
|
+
/** The step's visible name. */
|
|
4
8
|
label: string;
|
|
5
9
|
/** Explicit state, overriding the one derived from `modelValue`. */
|
|
6
10
|
status?: StepStatus;
|
|
7
11
|
}
|
|
8
12
|
type __VLS_Props = {
|
|
13
|
+
/** The steps, in order. */
|
|
9
14
|
steps: StepperStep[];
|
|
10
15
|
/** Index of the current step in a wizard (ignored for steps that have a `status`). */
|
|
11
16
|
modelValue?: number;
|
|
17
|
+
/** A row (default) for a wizard, or a column for a running list. */
|
|
12
18
|
orientation?: 'horizontal' | 'vertical';
|
|
13
19
|
};
|
|
14
20
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-tab-panel[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-tab-panel[data-v-91f564c6]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiTabPanel.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiTabPanel.css";
|
|
4
4
|
//#region src/components/UiTabPanel.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-91f564c6"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** The control's id (the label points at it). */
|
|
2
3
|
id: string;
|
|
4
|
+
/** The label text. */
|
|
3
5
|
label: string;
|
|
6
|
+
/** The input type (ignored for a textarea). */
|
|
4
7
|
type?: 'text' | 'url' | 'number' | 'search' | 'email' | 'password';
|
|
5
8
|
/** Render a textarea of this many rows. */
|
|
6
9
|
rows?: number;
|
|
10
|
+
/** Help text under the field. */
|
|
7
11
|
hint?: string;
|
|
12
|
+
/** An error message; also marks the control invalid. */
|
|
8
13
|
error?: string | null;
|
|
9
14
|
};
|
|
10
15
|
type __VLS_ModelProps = {
|
|
16
|
+
/** The text in the control. */
|
|
11
17
|
modelValue?: string;
|
|
12
18
|
};
|
|
13
19
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-textarea[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-textarea[data-v-e0ae5468]{width:100%;padding:var(--space-2xs) var(--space-xs);background:var(--surface);color:var(--text);border:1px solid var(--control-border);border-radius:var(--radius);font:inherit;resize:vertical}.mw-textarea[data-v-e0ae5468]::placeholder{color:var(--muted)}.mw-textarea[data-v-e0ae5468]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}.mw-textarea[aria-invalid=true][data-v-e0ae5468]{border-color:var(--danger)}.mw-textarea[data-v-e0ae5468]:disabled{filter:grayscale(.6);cursor:not-allowed}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiTextarea.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiTextarea.css";
|
|
4
4
|
//#region src/components/UiTextarea.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-e0ae5468"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-tool-intro[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-tool-intro[data-v-2d429247]{margin:var(--space-3xs) 0 var(--space-sm);color:var(--muted)}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiToolIntro.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiToolIntro.css";
|
|
4
4
|
//#region src/components/UiToolIntro.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-2d429247"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-toolbar[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-toolbar[data-v-667e2215]{align-items:center;gap:var(--space-3xs);padding:var(--space-3xs) var(--space-2xs);border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;margin:0;display:flex}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiToolbar.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiToolbar.css";
|
|
4
4
|
//#region src/components/UiToolbar.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-667e2215"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
/** One button in the toolbar. */
|
|
1
2
|
export interface ToolbarAction {
|
|
3
|
+
/** What `action` is emitted with when the button is pressed. */
|
|
2
4
|
id: string;
|
|
5
|
+
/** The button's text. */
|
|
3
6
|
label: string;
|
|
7
|
+
/** A disabled button cannot be pressed or focused, and is skipped by the arrow keys. */
|
|
4
8
|
disabled?: boolean;
|
|
5
9
|
}
|
|
6
10
|
type __VLS_Props = {
|
|
7
|
-
|
|
11
|
+
/** The buttons, in order. */
|
|
12
|
+
actions: ToolbarAction[];
|
|
13
|
+
/** Names the toolbar for assistive technology. */
|
|
8
14
|
label?: string;
|
|
9
15
|
};
|
|
10
16
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-toolbar-btn[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-toolbar-btn[data-v-b800877f]{align-items:center;gap:var(--space-3xs);padding:var(--space-3xs) var(--space-2xs);min-height:var(--space-md);font-size:var(--font-size-sm);background:var(--lift);border:1px solid var(--border);border-radius:var(--radius-xs);color:var(--text);cursor:pointer;white-space:nowrap;transition:background var(--duration-fast), border-color var(--duration-fast);display:inline-flex}.mw-toolbar-btn[data-v-b800877f]:hover:not(:disabled){background:var(--surface);border-color:var(--accent)}.mw-toolbar-btn[data-v-b800877f]:disabled{filter:grayscale(.6);cursor:not-allowed}.mw-toolbar-btn[data-v-b800877f]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiToolbarButton.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiToolbarButton.css";
|
|
4
4
|
//#region src/components/UiToolbarButton.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-b800877f"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|