@wssto2/vue-core 0.4.16 → 0.4.18
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/{Activity-CVO3sJwy.js → Activity-DB9ABAMb.js} +3 -3
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-B7qSUiee.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-Bm0sxqNz.js} +64 -63
- package/dist/{Changes-Bzvl3cEx.js → Changes-IIczcs6O.js} +2 -2
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-CD5zZ29o.js → CollectionPage.vue_vue_type_script_setup_true_lang-CUoyYpaW.js} +6 -6
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-ChS9ULwk.js → DataTable.vue_vue_type_script_setup_true_lang-Wuvo-l_z.js} +1 -1
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-BufoFwVQ.js → DateField.vue_vue_type_script_setup_true_lang-8mvjzRA-.js} +3 -3
- package/dist/{DeadLetters-DmwUtgf9.js → DeadLetters-Bq5YpnvT.js} +3 -3
- package/dist/{General-CUEjJBD4.js → General-DQruOZs2.js} +5 -5
- package/dist/{NewRolePage-Cyn-oV6r.js → NewRolePage-BcA8jBBQ.js} +3 -3
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-a8kN3A7k.js → NumberField.vue_vue_type_script_setup_true_lang-CC8bKyR_.js} +1 -1
- package/dist/{Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js → Popover.vue_vue_type_script_setup_true_lang-BTOzgIQF.js} +12 -12
- package/dist/{ProfilePage-I74SQBFO.js → ProfilePage-BqdCzyax.js} +7 -7
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-D87Hs75d.js → RecordHeader.vue_vue_type_script_setup_true_lang-DijFQnU6.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-Da0M-hen.js → ResourcePage.vue_vue_type_script_setup_true_lang-BpLnmA6n.js} +1 -1
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-Ce6wjptT.js → RoleEditor.vue_vue_type_script_setup_true_lang-DPpCuJWk.js} +2 -2
- package/dist/{RolePage-DWQP3qQl.js → RolePage-IES_ADt5.js} +6 -6
- package/dist/{RolesPage-BeEsHIQ2.js → RolesPage-D0K7tEL-.js} +3 -3
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-B0p_8xQG.js → SectionList.vue_vue_type_script_setup_true_lang-D5QWy-c1.js} +1 -1
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-D5Cnb4_O.js → SectionNavigator.vue_vue_type_script_setup_true_lang-CW81A_bn.js} +2 -2
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-DkbBJpYX.js +489 -0
- package/dist/{SessionList.vue_vue_type_script_setup_true_lang-DoUo68xE.js → SessionList.vue_vue_type_script_setup_true_lang-C0XvavBw.js} +1 -1
- package/dist/{Sessions-D8IXcb5M.js → Sessions-BfpiOhGs.js} +2 -2
- package/dist/{SettingsPage-DRQP2nrH.js → SettingsPage-BnEpURcU.js} +5 -5
- package/dist/{SignIn-CAZkovhb.js → SignIn-DrLE0gNr.js} +2 -2
- package/dist/{SignInPage-D-49oLY3.js → SignInPage-CRynZCU2.js} +2 -2
- package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-CIv34nRn.js → SignInTable.vue_vue_type_script_setup_true_lang-7Z9EmLs-.js} +1 -1
- package/dist/{SignIns-BtNfgMLc.js → SignIns-BQ8tISWn.js} +2 -2
- package/dist/{TextField.vue_vue_type_script_setup_true_lang-D3-R5XXG.js → TextField.vue_vue_type_script_setup_true_lang-CWgn-vGl.js} +97 -90
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-pAdLPYXA.js → TimeField.vue_vue_type_script_setup_true_lang-BebAIPeL.js} +3 -3
- package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-FVRUr-9y.js → Timestamp.vue_vue_type_script_setup_true_lang-CU2Y5oYl.js} +1 -1
- package/dist/{UserRecord-BSbNuRFi.js → UserRecord-CqmPm4Fv.js} +7 -7
- package/dist/{UsersList-DPHxcaDm.js → UsersList-CHAray61.js} +8 -8
- package/dist/access/index.js +1 -1
- package/dist/app/index.js +1 -1
- package/dist/collection/index.js +3 -3
- package/dist/content/index.js +1 -1
- package/dist/{fieldMessages-DV6sESpn.js → fieldMessages-6HVzSDqG.js} +1 -1
- package/dist/form/ComboField.vue.d.ts +11 -8
- package/dist/form/CommandDialog.vue.d.ts +3 -0
- package/dist/form/MultiSelectField.vue.d.ts +8 -5
- package/dist/form/OptionList.vue.d.ts +7 -4
- package/dist/form/SelectField.vue.d.ts +11 -8
- package/dist/form/SuggestionList.vue.d.ts +11 -6
- package/dist/form/index.d.ts +2 -0
- package/dist/form/index.js +981 -928
- package/dist/form/options.d.ts +18 -5
- package/dist/form/suggestions.d.ts +12 -12
- package/dist/form/useOptions.d.ts +12 -12
- package/dist/form/useRecordDialog.d.ts +47 -0
- package/dist/format/index.js +1 -1
- package/dist/format-D8X4zsx6.js +78 -0
- package/dist/identity/index.js +1 -1
- package/dist/{index-CWeNiBX6.js → index-91Lo0hJy.js} +4 -4
- package/dist/{index-Bq96L43f.js → index-sYamgVg7.js} +12 -12
- package/dist/{index-yKIOaisE.js → index-wlRejl73.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/intlLocale.d.ts +2 -0
- package/dist/intlLocale-CeRU44qJ.js +4 -0
- package/dist/notifications/index.js +1 -1
- package/dist/overlay/index.js +1 -1
- package/dist/page/index.js +5 -5
- package/dist/phone/index.js +112 -111
- package/dist/resource/index.js +1 -1
- package/dist/{rowLayout-D1cYQghV.js → rowLayout-BFz4Kdoy.js} +2 -2
- package/dist/shell/index.js +1 -1
- package/dist/{status-DzmySsWw.js → status-B_IMA25a.js} +1 -1
- package/dist/{suggestions-BxMm6MQA.js → suggestions-DHJFKB26.js} +50 -50
- package/dist/testing/index.js +1 -1
- package/dist/{useCommand-B-N6HJOz.js → useCommand-YN9EMb7s.js} +41 -38
- package/dist/{useTypedEntry-aTfPBAhw.js → useTypedEntry-C7k7Dyl-.js} +237 -236
- package/package.json +1 -1
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-C1Flb1hA.js +0 -465
- package/dist/format-B8mJm946.js +0 -77
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type FieldProps, type FieldSlots } from "./field";
|
|
2
|
-
import type { SelectOption } from "./options";
|
|
3
|
-
import { type OptionsSource } from "./useOptions";
|
|
4
|
-
declare const _default: <Value extends string | number, Clearable extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
import type { OptionSlotScope, SelectOption } from "./options";
|
|
3
|
+
import { type AsyncOptions, type OptionsSource } from "./useOptions";
|
|
4
|
+
declare const _default: <Value extends string | number, Clearable extends boolean = false, Meta = undefined, Source extends OptionsSource<Value, Meta> = OptionsSource<Value, Meta>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
-
readonly "onUpdate:modelValue"?: ((value: Clearable extends true ? Value | null : Value) => any) | undefined;
|
|
6
|
+
readonly "onUpdate:modelValue"?: ((value: Clearable extends true ? Value | null : Source extends AsyncOptions<Value, Meta> ? Value | null : Value) => any) | undefined;
|
|
7
7
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & (FieldProps & {
|
|
8
|
-
options: OptionsSource<Value>;
|
|
8
|
+
options: Source & OptionsSource<Value, Meta>;
|
|
9
9
|
/** The option of the current value when the caller already has it (a saved record's model): its label shows before the options arrive, or when they do not contain it. */
|
|
10
|
-
selected?: SelectOption<Value> | null;
|
|
10
|
+
selected?: SelectOption<Value, Meta> | null;
|
|
11
11
|
placeholder?: string;
|
|
12
12
|
clearable?: Clearable;
|
|
13
13
|
modelValue?: Value | null;
|
|
@@ -16,8 +16,11 @@ declare const _default: <Value extends string | number, Clearable extends boolea
|
|
|
16
16
|
}) & Partial<{}>> & import("vue").PublicProps;
|
|
17
17
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
18
18
|
attrs: any;
|
|
19
|
-
slots: FieldSlots
|
|
20
|
-
|
|
19
|
+
slots: FieldSlots & {
|
|
20
|
+
/** Replaces what an option row says (an icon, a badge); the row, its check, keys and roles stay. */
|
|
21
|
+
option?: (scope: OptionSlotScope<Value, Meta>) => unknown;
|
|
22
|
+
};
|
|
23
|
+
emit: (evt: "update:modelValue", value: Clearable extends true ? Value | null : Source extends AsyncOptions<Value, Meta> ? Value | null : Value) => void;
|
|
21
24
|
}>) => import("vue").VNode & {
|
|
22
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
26
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { SelectOption } from "./options";
|
|
1
|
+
import type { OptionSlotScope, SelectOption } from "./options";
|
|
2
2
|
import { type SuggestionStatus } from "./suggestions";
|
|
3
|
-
declare const _default: <Value extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
declare const _default: <Value extends string | number, Meta = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly onPick?: ((option: SelectOption<Value>) => any) | undefined;
|
|
5
|
+
readonly onPick?: ((option: SelectOption<Value, Meta>) => any) | undefined;
|
|
6
6
|
readonly onHover?: ((index: number) => any) | undefined;
|
|
7
7
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onPick" | "onHover"> & {
|
|
8
8
|
/** The input's id: the list and its rows are named from it (`aria-controls`, `aria-activedescendant`). */
|
|
9
9
|
id: string;
|
|
10
10
|
anchor: HTMLElement | null;
|
|
11
11
|
open: boolean;
|
|
12
|
-
items: readonly SelectOption<Value>[];
|
|
12
|
+
items: readonly SelectOption<Value, Meta>[];
|
|
13
13
|
highlighted: number;
|
|
14
14
|
query: string;
|
|
15
15
|
status: SuggestionStatus;
|
|
@@ -19,11 +19,16 @@ declare const _default: <Value extends string | number>(__VLS_props: NonNullable
|
|
|
19
19
|
emptyMessage: boolean;
|
|
20
20
|
/** The line of keys under the list (hidden on touch screens). */
|
|
21
21
|
hint?: string;
|
|
22
|
+
/** The chosen value, for the `#option` slot's `selected`. */
|
|
23
|
+
selected?: Value | null;
|
|
22
24
|
} & Partial<{}>> & import("vue").PublicProps;
|
|
23
25
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
24
26
|
attrs: any;
|
|
25
|
-
slots: {
|
|
26
|
-
|
|
27
|
+
slots: {
|
|
28
|
+
/** Replaces what a row says (label with the match marked, and detail). The row, its keys and roles stay. */
|
|
29
|
+
option?: (scope: OptionSlotScope<Value, Meta>) => unknown;
|
|
30
|
+
};
|
|
31
|
+
emit: ((evt: "pick", option: SelectOption<Value, Meta>) => void) & ((evt: "hover", index: number) => void);
|
|
27
32
|
}>) => import("vue").VNode & {
|
|
28
33
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
34
|
};
|
package/dist/form/index.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ export type { SaveChromeOptions } from "./useSaveChrome";
|
|
|
68
68
|
export { default as CommandDialog } from "./CommandDialog.vue";
|
|
69
69
|
export { useCommand } from "./useCommand";
|
|
70
70
|
export type { Command, CommandOptions } from "./useCommand";
|
|
71
|
+
export { useRecordDialog } from "./useRecordDialog";
|
|
72
|
+
export type { RecordDialog, RecordDialogOptions } from "./useRecordDialog";
|
|
71
73
|
export { default as NumberCell } from "./NumberCell.vue";
|
|
72
74
|
export { useStepForm } from "./steps";
|
|
73
75
|
export type { StepDefinition, StepDialogBinding, StepDraftOptions, StepFlow, StepFormOptions, StepState } from "./steps";
|