@wssto2/vue-core 0.4.17 → 0.4.19
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/{ActionRow.vue_vue_type_script_setup_true_lang-DOjn7fqy.js → ActionRow.vue_vue_type_script_setup_true_lang-QPvYudWc.js} +1 -1
- package/dist/{Activity-DnFB6WXf.js → Activity-CLyG5Y9o.js} +4 -4
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-Bm0sxqNz.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-CxU9aNRQ.js} +1 -1
- package/dist/{Changes-DMrQYv2e.js → Changes-xF1VMbqD.js} +3 -3
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-CVnZzaBm.js → CollectionPage.vue_vue_type_script_setup_true_lang-nojILoAf.js} +6 -6
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-Wuvo-l_z.js → DataTable.vue_vue_type_script_setup_true_lang-DPuH84I7.js} +1 -1
- package/dist/{DateButton.vue_vue_type_script_setup_true_lang-EcqrfWKz.js → DateButton.vue_vue_type_script_setup_true_lang-CovKG5lN.js} +5 -5
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-BIXzNzYo.js → DateField.vue_vue_type_script_setup_true_lang-CfPwcEM2.js} +3 -3
- package/dist/{DeadLetters-BF9PS4mA.js → DeadLetters-AbbNs69D.js} +2 -2
- package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js → FormGroup.vue_vue_type_script_setup_true_lang-C7nq7MJB.js} +1 -1
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-Dz5TZt92.js → FormView.vue_vue_type_script_setup_true_lang-Dbfg_jGh.js} +1 -1
- package/dist/{General-yInbmj6I.js → General-De4Q6Wfn.js} +6 -6
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-uPmxWvds.js → Menu.vue_vue_type_script_setup_true_lang-DsFOeCVe.js} +1 -1
- package/dist/{NewRolePage-09C3P6fE.js → NewRolePage-QAv_XsT0.js} +3 -3
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-CC8bKyR_.js → NumberField.vue_vue_type_script_setup_true_lang-djJvP6Og.js} +1 -1
- package/dist/{Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js → Popover.vue_vue_type_script_setup_true_lang-C70GrCP7.js} +20 -20
- package/dist/{ProfilePage-CvV44C0m.js → ProfilePage-CjjKhkHX.js} +6 -6
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-DijFQnU6.js → RecordHeader.vue_vue_type_script_setup_true_lang-szzWzdDu.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-BpLnmA6n.js → ResourcePage.vue_vue_type_script_setup_true_lang-BFaaFQSm.js} +2 -2
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-BqWoby16.js → RoleEditor.vue_vue_type_script_setup_true_lang-FLJk6Kb2.js} +7 -7
- package/dist/{RolePage-DuIFjSKH.js → RolePage-De7s2sYr.js} +7 -7
- package/dist/{RolesPage-BzqBqils.js → RolesPage-TXQKtK_J.js} +5 -5
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-D5QWy-c1.js → SectionList.vue_vue_type_script_setup_true_lang-BJnz2ROc.js} +2 -2
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-CW81A_bn.js → SectionNavigator.vue_vue_type_script_setup_true_lang-BltrQnrQ.js} +2 -2
- package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-BMBkEmxr.js → SegmentedField.vue_vue_type_script_setup_true_lang-Dg-_ZjgR.js} +1 -1
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-ByDo_32P.js +493 -0
- package/dist/{SessionList.vue_vue_type_script_setup_true_lang-C0XvavBw.js → SessionList.vue_vue_type_script_setup_true_lang-CuxVe7rm.js} +2 -2
- package/dist/{Sessions-_qmODKw2.js → Sessions-BDLI0o-z.js} +2 -2
- package/dist/{SettingsPage-Bz48sO08.js → SettingsPage-Kzcqv91E.js} +7 -7
- package/dist/{SignIn-DJsTGQ79.js → SignIn-DKo46hNK.js} +4 -4
- package/dist/{SignInPage-Bb78MIDk.js → SignInPage-B2v3is80.js} +3 -3
- package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-7Z9EmLs-.js → SignInTable.vue_vue_type_script_setup_true_lang-ByEAVfjv.js} +1 -1
- package/dist/{SignIns-yRjJrf47.js → SignIns-D-_a_S6O.js} +2 -2
- package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-0weBvsJf.js → SwitchField.vue_vue_type_script_setup_true_lang-ALvJisiP.js} +1 -1
- package/dist/TextField.vue_vue_type_script_setup_true_lang-BslHroDP.js +314 -0
- package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-4wC3c0BM.js → TextareaField.vue_vue_type_script_setup_true_lang-XZRHwx-n.js} +1 -1
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-DrLtIexs.js → TimeField.vue_vue_type_script_setup_true_lang-BB7ZGpvP.js} +3 -3
- package/dist/{Tooltip.vue_vue_type_script_setup_true_lang-OOD_XNWx.js → Tooltip.vue_vue_type_script_setup_true_lang-mErNPt8e.js} +1 -1
- package/dist/{UserRecord-4L0FrCty.js → UserRecord-BR70ai9q.js} +7 -7
- package/dist/{UsersList-ww_-FoAq.js → UsersList-BC9S6omH.js} +6 -6
- package/dist/access/index.js +1 -1
- package/dist/{anchored-Cj4--8dT.js → anchored-DpuUwf-9.js} +17 -15
- package/dist/collection/index.js +4 -4
- package/dist/{control-B_Nwtmag.js → control-B4SdblL6.js} +134 -118
- package/dist/controls/index.js +1 -1
- package/dist/form/ComboField.vue.d.ts +13 -8
- package/dist/form/Field.vue.d.ts +2 -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 +13 -8
- package/dist/form/SuggestionList.vue.d.ts +11 -6
- package/dist/form/TextField.vue.d.ts +6 -2
- package/dist/form/index.d.ts +3 -1
- package/dist/form/index.js +1196 -1137
- 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/identity/index.js +1 -1
- package/dist/{index-C6vCe149.js → index-B9KqrN-F.js} +3 -3
- package/dist/{index-DW9gyWL1.js → index-BrqxylSS.js} +7 -7
- package/dist/{index-JjALCpwi.js → index-D8akxuKo.js} +12 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/overlay/anchored.d.ts +2 -0
- package/dist/overlay/index.js +3 -3
- package/dist/page/index.js +5 -5
- package/dist/phone/index.js +2 -2
- package/dist/resource/index.js +1 -1
- package/dist/{rowLayout-BFz4Kdoy.js → rowLayout-D1vrdy0s.js} +2 -2
- package/dist/shell/index.js +2 -2
- package/dist/{status-Cz54-7z7.js → status-vMwum3Y9.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{suggestions-BxMm6MQA.js → suggestions-DHJFKB26.js} +50 -50
- package/package.json +1 -1
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-C1Flb1hA.js +0 -465
- package/dist/TextField.vue_vue_type_script_setup_true_lang-D3-R5XXG.js +0 -292
|
@@ -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
|
};
|
|
@@ -9,7 +9,8 @@ import { type TextSuggestion } from "./suggestions";
|
|
|
9
9
|
* <TextField v-bind="form.bind('vin')" mono suffix="VIN" :label="t('vin')" />
|
|
10
10
|
*
|
|
11
11
|
* `mono` is for codes read character by character (0 and O, 1 and l); `prefix` and `suffix` are plain text
|
|
12
|
-
* (a unit, an @) inside the control; `width` is the filled control's width in a row on wide screens.
|
|
12
|
+
* (a unit, an @) inside the control; `width` is the filled control's width in a row on wide screens. The `#prefix` slot
|
|
13
|
+
* puts an icon or image before the value, editing and reading (a flag before a translation).
|
|
13
14
|
*
|
|
14
15
|
* `suggestions` offers texts while typing, from a list or from the server (`api.ts` does the request); the value stays a
|
|
15
16
|
* string whatever is picked. The best match shows grey after the typed text and Tab accepts it; the list marks the matched
|
|
@@ -40,7 +41,10 @@ type __VLS_Props = FieldProps & {
|
|
|
40
41
|
/** The id the last picks are kept under (see `recentChoicesKey`); setting it shows them under "Recent" before typing. */
|
|
41
42
|
recents?: string;
|
|
42
43
|
};
|
|
43
|
-
type __VLS_Slots = FieldSlots
|
|
44
|
+
type __VLS_Slots = FieldSlots & {
|
|
45
|
+
/** An icon or image before the value, in the control and in the read-mode row (a country's flag before its translation). Give an image `alt=""` when the label already says what it shows. */
|
|
46
|
+
prefix?: () => unknown;
|
|
47
|
+
};
|
|
44
48
|
type __VLS_PublicProps = __VLS_Props & {
|
|
45
49
|
modelValue?: string;
|
|
46
50
|
};
|
package/dist/form/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export { default as OptionList } from "./OptionList.vue";
|
|
|
41
41
|
export { groupOptions, matchOptions } from "./options";
|
|
42
42
|
export { recentChoicesKey } from "./suggestions";
|
|
43
43
|
export type { RecentChoices, SuggestionSource, TextSuggestion } from "./suggestions";
|
|
44
|
-
export type { OptionGroup, SelectOption } from "./options";
|
|
44
|
+
export type { OptionGroup, OptionSlotScope, OptionWithMeta, SelectOption } from "./options";
|
|
45
45
|
export { useOptions } from "./useOptions";
|
|
46
46
|
export type { AsyncOptions, OptionsContext, OptionsSource } from "./useOptions";
|
|
47
47
|
export { default as OtpInput } from "./OtpInput.vue";
|
|
@@ -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";
|