@glimstone/vue 4.0.0 → 4.1.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/Button.vue.d.ts +23 -2
- package/dist/Card.vue.d.ts +2 -0
- package/dist/Checkbox.vue.d.ts +24 -0
- package/dist/ColorPicker.vue.d.ts +30 -0
- package/dist/Combobox.js +32 -31
- package/dist/Combobox.vue.d.ts +1 -1
- package/dist/ContextMenu.vue.d.ts +29 -0
- package/dist/CopyField.vue.d.ts +24 -0
- package/dist/FieldRow.vue.d.ts +32 -0
- package/dist/FieldRowGroup.vue.d.ts +19 -0
- package/dist/GlyphField.vue.d.ts +35 -0
- package/dist/GlyphTile.vue.d.ts +13 -0
- package/dist/IconButton.vue.d.ts +18 -0
- package/dist/IconTipButton.vue.d.ts +2 -0
- package/dist/Kbd.vue.d.ts +15 -0
- package/dist/ListRow.vue.d.ts +26 -0
- package/dist/ListSelect.vue.d.ts +4 -1
- package/dist/MenuBar.vue.d.ts +13 -0
- package/dist/MenuChoice.vue.d.ts +2 -1
- package/dist/MenuRows.vue.d.ts +12 -0
- package/dist/MenuSelect.vue.d.ts +4 -1
- package/dist/MenuSubmenu.vue.d.ts +2 -1
- package/dist/Meter.vue.d.ts +23 -0
- package/dist/PasswordField.vue.d.ts +31 -0
- package/dist/PathField.vue.d.ts +40 -0
- package/dist/Pill.vue.d.ts +23 -0
- package/dist/ProgressBar.vue.d.ts +19 -0
- package/dist/RowMark.vue.d.ts +6 -0
- package/dist/Select.js +241 -218
- package/dist/Select.vue.d.ts +10 -4
- package/dist/Selector.vue.d.ts +48 -50
- package/dist/SelectorSegment.vue.d.ts +1 -1
- package/dist/SidebarRow.vue.d.ts +19 -2
- package/dist/SidebarRowLink.vue.d.ts +17 -0
- package/dist/Slider.js +19 -18
- package/dist/Slider.vue.d.ts +1 -1
- package/dist/SubCard.vue.d.ts +1 -1
- package/dist/Table.vue.d.ts +32 -0
- package/dist/TextArea.vue.d.ts +21 -0
- package/dist/TextField.vue.d.ts +21 -0
- package/dist/ToastViewport.vue.d.ts +2 -1
- package/dist/Toggle.vue.d.ts +2 -1
- package/dist/Tree.vue.d.ts +23 -0
- package/dist/Window.vue.d.ts +46 -0
- package/dist/fieldName-DBygJJfe.js +8 -0
- package/dist/fieldName.d.ts +5 -0
- package/dist/{glyphs-CvCRgBMU.js → glyphs-CYhs4mrY.js} +2 -2
- package/dist/glyphs.d.ts +5 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +1734 -459
- package/dist/selectorItem.d.ts +5 -3
- package/dist/windowParts.d.ts +27 -0
- package/package.json +2 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type Component } from "vue";
|
|
2
|
+
import { type FieldWidth } from "@glimstone/core";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Handed the path in the field. Answers with a path, or with nothing when the person left. */
|
|
5
|
+
pick: (current: string) => string | null | undefined | Promise<string | null | undefined>;
|
|
6
|
+
/** The accessible name. Inside a FieldRow the row gives it. */
|
|
7
|
+
label?: string;
|
|
8
|
+
width?: FieldWidth;
|
|
9
|
+
/** The button's words. */
|
|
10
|
+
text?: {
|
|
11
|
+
pick: string;
|
|
12
|
+
};
|
|
13
|
+
/** The button's glyph, an open folder unless set, such as a file for a picker of files. */
|
|
14
|
+
glyph?: Component;
|
|
15
|
+
/** Shows the button's glyph alone, as it does by itself with less than 20rem of room. */
|
|
16
|
+
compact?: boolean;
|
|
17
|
+
/** Attributes for the button, such as a data hook. */
|
|
18
|
+
buttonAttrs?: Record<string, string>;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_ModelProps = {
|
|
22
|
+
modelValue?: string;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
25
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
26
|
+
input: import("vue").ShallowRef<HTMLInputElement | null, HTMLInputElement | null>;
|
|
27
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: string) => any;
|
|
29
|
+
picked: (path: string) => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
|
+
onPicked?: ((path: string) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
text: {
|
|
36
|
+
pick: string;
|
|
37
|
+
};
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type PillTone } from "@glimstone/core";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** `state` lifts a word that says what the row is doing; the other three
|
|
4
|
+
* wash the pill in their state colour. */
|
|
5
|
+
tone?: PillTone;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_template: () => {
|
|
8
|
+
__VLS_Slots: {
|
|
9
|
+
default?: (props: {}) => any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
tone: PillTone;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** From 0 to 1. Without it the bar runs indeterminate, while the work has no measure yet. */
|
|
3
|
+
value?: number | null;
|
|
4
|
+
/** The accessible name, such as what is being copied. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** The work waits: the fill takes the waiting tone and the sheen stops. */
|
|
7
|
+
paused?: boolean;
|
|
8
|
+
/** The work stopped on an error: the fill takes the fault colour. */
|
|
9
|
+
failed?: boolean;
|
|
10
|
+
/** The progress in words, such as "1.2 GB of 4 GB", read out instead of the percentage. */
|
|
11
|
+
valueText?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
value: number | null;
|
|
15
|
+
failed: boolean;
|
|
16
|
+
paused: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
on?: boolean;
|
|
3
|
+
};
|
|
4
|
+
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>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|