@glimstone/vue 4.9.0 → 4.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NotifyCard.vue.d.ts +34 -0
- package/dist/NotifyCardForm.vue.d.ts +11 -0
- package/dist/NotifyCardWindow.vue.d.ts +19 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1637 -1103
- package/package.json +2 -2
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type Catalog, type NotifyApi, type NotifyCardLabelKeys, type NotifyCardText, type NotifyChoice, type NotifyKind, type ToastSeverity } from "@glimstone/core";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Loads, saves and tests the channels in the kit's notify format. */
|
|
4
|
+
api: NotifyApi;
|
|
5
|
+
/** The card's words, `notifyCardText(lang)` or the app's own. */
|
|
6
|
+
text: NotifyCardText;
|
|
7
|
+
/** The app's name, for the sentences that say it. */
|
|
8
|
+
app: string;
|
|
9
|
+
/** The interface language, which sorts the picker. */
|
|
10
|
+
lang: string;
|
|
11
|
+
/** The notification catalog, `NOTIFY_PROVIDERS`. */
|
|
12
|
+
providers: Catalog;
|
|
13
|
+
/** The kinds the app sends to, every kind of the kit by default. */
|
|
14
|
+
kinds?: readonly NotifyKind[];
|
|
15
|
+
/** The event kinds the app sends, which each channel can choose among. */
|
|
16
|
+
events?: readonly NotifyChoice[];
|
|
17
|
+
/** The keys a Healthchecks channel can give a check of their own, such as a job. */
|
|
18
|
+
checks?: readonly NotifyChoice[];
|
|
19
|
+
/** Kinds that send nothing where the app runs, with the sentence that says why. */
|
|
20
|
+
unavailable?: Partial<Record<NotifyKind, string>>;
|
|
21
|
+
/** Puts what a change did, or why it failed, into the app's toasts. */
|
|
22
|
+
notify?: (message: string, severity: ToastSeverity) => void;
|
|
23
|
+
/** The card's rainbow position. */
|
|
24
|
+
hueIndex?: number;
|
|
25
|
+
labelKeys?: Partial<NotifyCardLabelKeys>;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
|
+
checks: readonly NotifyChoice[];
|
|
29
|
+
events: readonly NotifyChoice[];
|
|
30
|
+
kinds: readonly NotifyKind[];
|
|
31
|
+
unavailable: Partial<Record<NotifyKind, string>>;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type NotifyCardFlow, type NotifyCardLabelKeys, type NotifyCardState, type NotifyCardText, type NotifyForm } from "@glimstone/core";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
form: NotifyForm;
|
|
4
|
+
state: NotifyCardState;
|
|
5
|
+
flow: NotifyCardFlow;
|
|
6
|
+
text: NotifyCardText;
|
|
7
|
+
keys: NotifyCardLabelKeys;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: 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>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Component } from "vue";
|
|
2
|
+
import { type Catalog, type NotifyCardFlow, type NotifyCardLabelKeys, type NotifyCardState, type NotifyCardText, type NotifyChoice, type NotifyKind } from "@glimstone/core";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
state: NotifyCardState;
|
|
5
|
+
flow: NotifyCardFlow;
|
|
6
|
+
text: NotifyCardText;
|
|
7
|
+
app: string;
|
|
8
|
+
lang: string;
|
|
9
|
+
providers: Catalog;
|
|
10
|
+
kinds: readonly NotifyKind[];
|
|
11
|
+
events: readonly NotifyChoice[];
|
|
12
|
+
checks: readonly NotifyChoice[];
|
|
13
|
+
unavailable: Partial<Record<NotifyKind, string>>;
|
|
14
|
+
keys: NotifyCardLabelKeys;
|
|
15
|
+
mark: (kind: NotifyKind) => Component;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: 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>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export { default as Sheet } from "./Sheet.vue";
|
|
|
56
56
|
export { default as SignInCard } from "./SignInCard.vue";
|
|
57
57
|
export { default as SignInReauthWindow } from "./SignInReauthWindow.vue";
|
|
58
58
|
export { default as SignInTile } from "./SignInTile.vue";
|
|
59
|
+
export { default as NotifyCard } from "./NotifyCard.vue";
|
|
59
60
|
export { default as SkeletonRow } from "./SkeletonRow.vue";
|
|
60
61
|
export { default as SignInField } from "./SignInField.vue";
|
|
61
62
|
export { default as SubCard } from "./SubCard.vue";
|
|
@@ -81,7 +82,7 @@ export type { InfoAboutCardProps, InfoComponentsCardProps, InfoHelpCardProps, In
|
|
|
81
82
|
export type { SelectEntry, SelectGroup, SelectOption, SelectSubmenu } from "./selectParts";
|
|
82
83
|
export type { SelectorItem } from "./selectorItem";
|
|
83
84
|
export type { ConnectionAction, MenuBarMenu, MenuEntry, MenuHead, MenuItem, PickerItem, TreeNode, WindowAction } from "./windowParts";
|
|
84
|
-
export type { ConnectionRowLabelKeys, ConnectionRowText, ConnectionTest, PickBadge, PickGroup, PickerText, ResetAnswer, SignInAnswer, SignInCardService, SignInReauthText, SignInText, SignInTileCard, SignInTileLabelKeys, SignInTileText, TileMark } from "@glimstone/core";
|
|
85
|
+
export type { ConnectionRowLabelKeys, ConnectionRowText, ConnectionTest, NotifyCardLabelKeys, NotifyCardText, PickBadge, PickGroup, PickerText, ResetAnswer, SignInAnswer, SignInCardService, SignInReauthText, SignInText, SignInTileCard, SignInTileLabelKeys, SignInTileText, TileMark } from "@glimstone/core";
|
|
85
86
|
export type { ChangeAnswer, FortressAnswer, FortressApp, FortressInstance, FortressLogLine, FortressPermission, FortressStatusReport, FortressText, PhraseAnswer } from "@glimstone/core";
|
|
86
87
|
export type { BadgeShape, BadgeSize, BadgeTone, ButtonTone, ButtonVariant, CryptoCoin, CryptoNetwork, FortressLabelKeys, InstanceFigure, MenuBarHandle, NotchInset, ReadmeBrand, ReadmePart } from "@glimstone/core";
|
|
87
88
|
export type { SelectMode, SelectSize, SelectWidth, SelectorActivation, SelectorOrientation, SelectorSize, SelectorVariant, SidebarCount, SignInLabelKeys, ToastViewportEntry, UpdateCheck, VersionRow } from "@glimstone/core";
|