@m3ui-vue/m3ui-vue 1.6.2 → 1.7.0
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/API.md +649 -28
- package/dist/{MButton-OQ4wIERQ.js → MButton-CN3wYwIG.js} +2 -2
- package/dist/{MButton-OQ4wIERQ.js.map → MButton-CN3wYwIG.js.map} +1 -1
- package/dist/{MColorPickerModal-NtkihoK6.js → MColorPickerModal-BKM1CHxr.js} +4 -4
- package/dist/{MColorPickerModal-NtkihoK6.js.map → MColorPickerModal-BKM1CHxr.js.map} +1 -1
- package/dist/{MDialog-DYMnaBlt.js → MDialog-1LAk9WAO.js} +2 -2
- package/dist/{MDialog-DYMnaBlt.js.map → MDialog-1LAk9WAO.js.map} +1 -1
- package/dist/{MListItem-D2cNUyzP.js → MListItem-BU5KDRCB.js} +376 -270
- package/dist/MListItem-BU5KDRCB.js.map +1 -0
- package/dist/{MLoadingIndicator-DWUj0BAB.js → MLoadingIndicator-RykOo5tf.js} +2 -2
- package/dist/{MLoadingIndicator-DWUj0BAB.js.map → MLoadingIndicator-RykOo5tf.js.map} +1 -1
- package/dist/{MSeekBar-C4cn9RIF.js → MSeekBar-B_Y3MpVz.js} +2 -2
- package/dist/{MSeekBar-C4cn9RIF.js.map → MSeekBar-B_Y3MpVz.js.map} +1 -1
- package/dist/MSegmentedButton-CiOOY1-N.js +105 -0
- package/dist/MSegmentedButton-CiOOY1-N.js.map +1 -0
- package/dist/MSlider-BCeVIxcq.js +739 -0
- package/dist/MSlider-BCeVIxcq.js.map +1 -0
- package/dist/{MSpinner-DZkXZJpc.js → MSpinner-Cs03qoqE.js} +2 -2
- package/dist/{MSpinner-DZkXZJpc.js.map → MSpinner-Cs03qoqE.js.map} +1 -1
- package/dist/{MTextField-CNH-byir.js → MTextField-NaFbMkjv.js} +162 -115
- package/dist/MTextField-NaFbMkjv.js.map +1 -0
- package/dist/_useFieldValidation-Bz34IAQY.js +191 -0
- package/dist/_useFieldValidation-Bz34IAQY.js.map +1 -0
- package/dist/api.json +1 -1
- package/dist/code-editor.js +184 -103
- package/dist/code-editor.js.map +1 -1
- package/dist/components/MAddressField.vue.d.ts +18 -3
- package/dist/components/MAppBarWithSearch.vue.d.ts +1 -1
- package/dist/components/MAudioRecorder.vue.d.ts +2 -2
- package/dist/components/MAutocomplete.vue.d.ts +22 -3
- package/dist/components/MCheckbox.vue.d.ts +23 -1
- package/dist/components/MCodeEditor.vue.d.ts +23 -1
- package/dist/components/MColorPicker.vue.d.ts +24 -3
- package/dist/components/MConfirmDialog.vue.d.ts +2 -2
- package/dist/components/MCountrySelect.vue.d.ts +13 -2
- package/dist/components/MCreditCardInput.vue.d.ts +33 -0
- package/dist/components/MCronField.vue.d.ts +23 -1
- package/dist/components/MDataTable.vue.d.ts +1 -1
- package/dist/components/MDatePicker.vue.d.ts +24 -3
- package/dist/components/MDateRangePicker.vue.d.ts +24 -3
- package/dist/components/MFileUpload.vue.d.ts +23 -2
- package/dist/components/MForm.vue.d.ts +61 -0
- package/dist/components/MJsonEditor.vue.d.ts +23 -1
- package/dist/components/MMapRoute.vue.d.ts +168 -0
- package/dist/components/MMaskField.vue.d.ts +20 -2
- package/dist/components/MMentionField.vue.d.ts +13 -2
- package/dist/components/MMultiAutocomplete.vue.d.ts +22 -3
- package/dist/components/MMultiSelect.vue.d.ts +22 -3
- package/dist/components/MNavigationRail.vue.d.ts +1 -1
- package/dist/components/MNotificationCenter.vue.d.ts +2 -2
- package/dist/components/MNumberField.vue.d.ts +20 -2
- package/dist/components/MPhoneInput.vue.d.ts +19 -4
- package/dist/components/MPinInput.vue.d.ts +24 -3
- package/dist/components/MPosKeypad.vue.d.ts +2 -2
- package/dist/components/MRadioGroup.vue.d.ts +23 -1
- package/dist/components/MRating.vue.d.ts +23 -1
- package/dist/components/MRichTextEditor.vue.d.ts +23 -1
- package/dist/components/MSearchBar.vue.d.ts +1 -1
- package/dist/components/MSegmentedButton.vue.d.ts +23 -2
- package/dist/components/MSelect.vue.d.ts +22 -3
- package/dist/components/MSignaturePad.vue.d.ts +19 -0
- package/dist/components/MSlider.vue.d.ts +23 -1
- package/dist/components/MSwitch.vue.d.ts +23 -1
- package/dist/components/MTable.vue.d.ts +1 -1
- package/dist/components/MTagInput.vue.d.ts +20 -2
- package/dist/components/MText.vue.d.ts +1 -1
- package/dist/components/MTextField.vue.d.ts +26 -3
- package/dist/components/MTimePicker.vue.d.ts +24 -3
- package/dist/components/MTimezoneSelect.vue.d.ts +13 -2
- package/dist/components/MTour.vue.d.ts +2 -2
- package/dist/components/MTrackingTimeline.vue.d.ts +75 -0
- package/dist/components/MWindow.vue.d.ts +2 -2
- package/dist/composables/_routeGeometry.d.ts +26 -0
- package/dist/composables/_useFieldValidation.d.ts +91 -0
- package/dist/composables/mapRouting.d.ts +35 -0
- package/dist/composables/useLocale.d.ts +23 -0
- package/dist/composables/validation.d.ts +82 -0
- package/dist/draw.js +2 -2
- package/dist/flow.js +1 -1
- package/dist/gantt.js +2 -2
- package/dist/index.d.ts +5 -0
- package/dist/locales/index.js +154 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +6768 -5602
- package/dist/m3ui.js.map +1 -1
- package/dist/map.d.ts +4 -0
- package/dist/map.js +1230 -784
- package/dist/map.js.map +1 -1
- package/dist/media.js +4 -4
- package/dist/pdf.js +4 -4
- package/dist/rich-text-editor.js +189 -146
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/{useLocale-DaVSTdm0.js → useLocale-Dh1xZZ8i.js} +22 -1
- package/dist/useLocale-Dh1xZZ8i.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/MForm.test.ts +325 -0
- package/src/__tests__/MMapRoute.test.ts +384 -0
- package/src/__tests__/MPhoneInput.test.ts +5 -2
- package/src/__tests__/MRichTextEditor.test.ts +2 -1
- package/src/__tests__/MTrackingTimeline.test.ts +66 -0
- package/src/__tests__/_fakeMaplibre.ts +4 -1
- package/src/__tests__/_osrmRoutes.ts +10 -0
- package/src/__tests__/attrsFallthrough.test.ts +11 -0
- package/src/__tests__/fieldsValidation.test.ts +229 -0
- package/src/__tests__/ssr.test.ts +1 -0
- package/src/__tests__/validation.test.ts +77 -0
- package/src/components/MAddressField.vue +45 -8
- package/src/components/MAutocomplete.vue +69 -23
- package/src/components/MCheckbox.vue +80 -17
- package/src/components/MCodeEditor.vue +59 -2
- package/src/components/MColorPicker.vue +65 -16
- package/src/components/MCountrySelect.vue +17 -3
- package/src/components/MCreditCardInput.vue +76 -7
- package/src/components/MCronField.vue +60 -10
- package/src/components/MDatePicker.vue +65 -16
- package/src/components/MDateRangePicker.vue +66 -16
- package/src/components/MFileUpload.vue +71 -8
- package/src/components/MForm.vue +208 -0
- package/src/components/MJsonEditor.vue +57 -3
- package/src/components/MMapRoute.vue +470 -0
- package/src/components/MMaskField.vue +55 -13
- package/src/components/MMentionField.vue +17 -2
- package/src/components/MMultiAutocomplete.vue +70 -23
- package/src/components/MMultiSelect.vue +70 -23
- package/src/components/MNumberField.vue +58 -16
- package/src/components/MPhoneInput.vue +60 -18
- package/src/components/MPinInput.vue +58 -10
- package/src/components/MRadioGroup.vue +65 -4
- package/src/components/MRating.vue +62 -6
- package/src/components/MRichTextEditor.vue +64 -4
- package/src/components/MSegmentedButton.vue +59 -2
- package/src/components/MSelect.vue +72 -26
- package/src/components/MSignaturePad.vue +71 -6
- package/src/components/MSlider.vue +61 -10
- package/src/components/MSwitch.vue +63 -8
- package/src/components/MTagInput.vue +67 -25
- package/src/components/MTextField.vue +68 -14
- package/src/components/MTimePicker.vue +65 -16
- package/src/components/MTimezoneSelect.vue +17 -3
- package/src/components/MTrackingTimeline.vue +257 -0
- package/src/composables/_routeGeometry.ts +140 -0
- package/src/composables/_useFieldValidation.ts +287 -0
- package/src/composables/mapRouting.ts +55 -0
- package/src/composables/useLocale.ts +46 -0
- package/src/composables/validation.ts +178 -0
- package/src/index.ts +5 -0
- package/src/locales/de.ts +21 -0
- package/src/locales/es.ts +28 -7
- package/src/locales/fr.ts +21 -0
- package/src/locales/ja.ts +21 -0
- package/src/locales/ko.ts +21 -0
- package/src/locales/pt.ts +21 -0
- package/src/locales/zh.ts +21 -0
- package/src/map.ts +4 -0
- package/dist/MListItem-D2cNUyzP.js.map +0 -1
- package/dist/MSegmentedButton-BEB4gXLA.js +0 -64
- package/dist/MSegmentedButton-BEB4gXLA.js.map +0 -1
- package/dist/MSlider-BIkA6DiE.js +0 -690
- package/dist/MSlider-BIkA6DiE.js.map +0 -1
- package/dist/MTextField-CNH-byir.js.map +0 -1
- package/dist/useLocale-DaVSTdm0.js.map +0 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { type InjectionKey } from 'vue';
|
|
2
|
+
import { type ValidateOn, type ValidationRule } from './validation';
|
|
3
|
+
/** @internal What a field registers with its `MForm` */
|
|
4
|
+
export interface FormField {
|
|
5
|
+
name: () => string | undefined;
|
|
6
|
+
value: () => unknown;
|
|
7
|
+
/** Checks the rules, shows the result, resolves to whether its own rules pass */
|
|
8
|
+
validate: () => Promise<boolean>;
|
|
9
|
+
resetValidation: () => void;
|
|
10
|
+
reset: () => Promise<void>;
|
|
11
|
+
focus: () => void;
|
|
12
|
+
el: () => Element | null | undefined;
|
|
13
|
+
/** The message on display, if any */
|
|
14
|
+
error: () => string | null;
|
|
15
|
+
/** Whether its rules pass right now (checked silently, whether or not it's shown yet) */
|
|
16
|
+
valid: () => boolean;
|
|
17
|
+
pending: () => boolean;
|
|
18
|
+
}
|
|
19
|
+
/** @internal Provided by `MForm` */
|
|
20
|
+
export interface FormContext {
|
|
21
|
+
register: (field: FormField) => () => void;
|
|
22
|
+
/** Every named field's value, by name */
|
|
23
|
+
values: () => Record<string, unknown>;
|
|
24
|
+
/** An error given from outside (`MForm`'s `errors` prop) */
|
|
25
|
+
externalError: (name: string) => string | null;
|
|
26
|
+
hasSchema: () => boolean;
|
|
27
|
+
/** The form schema's first issue for this field */
|
|
28
|
+
schemaError: (name: string) => Promise<string | null>;
|
|
29
|
+
validateOn: () => ValidateOn | undefined;
|
|
30
|
+
/** Default debounce (ms) for re-checks while the value changes */
|
|
31
|
+
validateDebounce: () => number | undefined;
|
|
32
|
+
/** The `errors` object itself: a new one (a new server response) shows its errors again */
|
|
33
|
+
externalErrorsKey: () => unknown;
|
|
34
|
+
/** Keep an outside error after its field changes, instead of hiding it */
|
|
35
|
+
keepErrors: () => boolean;
|
|
36
|
+
disabled: () => boolean;
|
|
37
|
+
}
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const FORM_KEY: InjectionKey<FormContext>;
|
|
40
|
+
/**
|
|
41
|
+
* @internal "Blur" for a field made of several focusable parts (stepper buttons, chips, a popup panel): calls
|
|
42
|
+
* `onLeave` once focus has left `root` for good, not while it moves between its parts or while `open` (its
|
|
43
|
+
* teleported panel, which sits outside `root` in the DOM) is showing. Closing the panel with focus outside
|
|
44
|
+
* counts as leaving. Bind the returned handler to the root's `@focusout`.
|
|
45
|
+
*/
|
|
46
|
+
export declare function useFocusLeave(root: () => Element | null | undefined, onLeave: () => void, open?: () => boolean): () => void;
|
|
47
|
+
export interface FieldValidationOptions {
|
|
48
|
+
value: () => unknown;
|
|
49
|
+
rules: () => ValidationRule | ValidationRule[] | undefined;
|
|
50
|
+
required: () => boolean | undefined;
|
|
51
|
+
error: () => boolean | string | undefined;
|
|
52
|
+
errorLabel: () => string | undefined;
|
|
53
|
+
name: () => string | undefined;
|
|
54
|
+
validateOn: () => ValidateOn | undefined;
|
|
55
|
+
/** Wait this long (ms) after the value stops changing before re-checking (async rules: one request, not one per key) */
|
|
56
|
+
validateDebounce?: () => number | undefined;
|
|
57
|
+
disabled: () => boolean | undefined;
|
|
58
|
+
focus: () => void;
|
|
59
|
+
el: () => Element | null | undefined;
|
|
60
|
+
/** Writes a value back through v-model (used by `MForm`'s `reset()`) */
|
|
61
|
+
setValue?: (value: unknown) => void;
|
|
62
|
+
/** What "not filled in" means for `required`, when `isEmpty` isn't it (a date range needs both ends) */
|
|
63
|
+
isEmpty?: (value: unknown) => boolean;
|
|
64
|
+
/** Called when the field is validated on demand (`validate()`, an `MForm` submit), to reveal sub-parts' own errors */
|
|
65
|
+
onValidate?: () => void;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @internal The validation every form field shares: its own `rules` (plus `required` inside an `MForm` or
|
|
69
|
+
* next to other rules), errors from outside (the `error` prop, `MForm`'s `errors`, its `schema`), when to show
|
|
70
|
+
* them (`validateOn`), and registration with the surrounding `MForm`.
|
|
71
|
+
*
|
|
72
|
+
* Priority of what's shown: a string `error` → `error: true` with `errorLabel` → `MForm`'s `errors[name]`
|
|
73
|
+
* → the field's own rules.
|
|
74
|
+
*/
|
|
75
|
+
export declare function useFieldValidation(opts: FieldValidationOptions): {
|
|
76
|
+
/** Error state (red border/label) */
|
|
77
|
+
hasError: import("vue").ComputedRef<boolean>;
|
|
78
|
+
/** Message under the field, or null */
|
|
79
|
+
message: import("vue").ComputedRef<string | null>;
|
|
80
|
+
/** id for the message element, to point `aria-describedby` at */
|
|
81
|
+
messageId: string;
|
|
82
|
+
/** Whether async rules are still running */
|
|
83
|
+
pending: import("vue").Ref<boolean, boolean>;
|
|
84
|
+
/** The field's own disabled state merged with its `MForm`'s */
|
|
85
|
+
disabled: import("vue").ComputedRef<boolean>;
|
|
86
|
+
/** Call from the field's blur */
|
|
87
|
+
onBlur: () => void;
|
|
88
|
+
validate: () => Promise<boolean>;
|
|
89
|
+
resetValidation: () => void;
|
|
90
|
+
reset: () => Promise<void>;
|
|
91
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { LngLat } from './_mapGeometry';
|
|
2
|
+
/** A route between waypoints, as a routing service returns it. */
|
|
3
|
+
export interface MapRouteResult {
|
|
4
|
+
/** The road to follow, `[lng, lat][]`: the streets' real shape (curves, roundabouts), one-way streets respected */
|
|
5
|
+
path: LngLat[];
|
|
6
|
+
/** Length in meters */
|
|
7
|
+
distance: number;
|
|
8
|
+
/** Expected travel time in seconds */
|
|
9
|
+
duration: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Where `MMapRoute` gets its road from when you give it `stops` but no `path`: any function from waypoints to a route.
|
|
13
|
+
* `osrmRouteProvider()` ships; GraphHopper, Valhalla, OpenRouteService, Mapbox Directions or your own backend fit
|
|
14
|
+
* the same shape. Gets an `AbortSignal`: a newer request cancels the older one.
|
|
15
|
+
*/
|
|
16
|
+
export type MapRouteProvider = (waypoints: LngLat[], options: {
|
|
17
|
+
signal?: AbortSignal;
|
|
18
|
+
}) => Promise<MapRouteResult>;
|
|
19
|
+
export interface OsrmRouteOptions {
|
|
20
|
+
/**
|
|
21
|
+
* The OSRM server. Defaults to the project's public demo server, which is meant for light use only (see its usage
|
|
22
|
+
* policy): run your own (`osrm-backend` in Docker) or use a hosted one in production
|
|
23
|
+
*/
|
|
24
|
+
url?: string;
|
|
25
|
+
/** The routing profile in the URL: `driving` (the demo server has only this one), `cycling`, `walking`, or your server's own */
|
|
26
|
+
profile?: string;
|
|
27
|
+
/** More query parameters for OSRM (`exclude=toll`, `alternatives`…) */
|
|
28
|
+
params?: Record<string, string>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Routes through an OSRM server (Open Source Routing Machine, on OpenStreetMap data): the path follows the streets
|
|
32
|
+
* as they are, and the car profile respects one-way streets and turn restrictions. Available from the `/map` entry
|
|
33
|
+
* point.
|
|
34
|
+
*/
|
|
35
|
+
export declare function osrmRouteProvider(options?: OsrmRouteOptions): MapRouteProvider;
|
|
@@ -221,6 +221,17 @@ export interface M3Locale {
|
|
|
221
221
|
mapPressEnterToSearch: string;
|
|
222
222
|
mapSearching: string;
|
|
223
223
|
mapNoPlaces: string;
|
|
224
|
+
/** MMapRoute: a stop's name when it has no label (followed by its number) */
|
|
225
|
+
mapRouteStop: string;
|
|
226
|
+
/** MMapRoute: the vehicle marker's accessible name */
|
|
227
|
+
mapRouteVehicle: string;
|
|
228
|
+
trackingArrives: string;
|
|
229
|
+
trackingArrivingNow: string;
|
|
230
|
+
trackingDelivered: string;
|
|
231
|
+
trackingDelayed: string;
|
|
232
|
+
trackingCanceled: string;
|
|
233
|
+
trackingShowDetails: string;
|
|
234
|
+
trackingHideDetails: string;
|
|
224
235
|
filterMatchAll: string;
|
|
225
236
|
filterMatchAny: string;
|
|
226
237
|
filterAddCondition: string;
|
|
@@ -548,6 +559,18 @@ export interface M3Locale {
|
|
|
548
559
|
cardInvalidNumber: string;
|
|
549
560
|
cardInvalidExpiry: string;
|
|
550
561
|
cardInvalidCvc: string;
|
|
562
|
+
validationRequired: string;
|
|
563
|
+
validationInvalid: string;
|
|
564
|
+
validationEmail: string;
|
|
565
|
+
validationUrl: string;
|
|
566
|
+
validationMinLength: string;
|
|
567
|
+
validationMaxLength: string;
|
|
568
|
+
validationMinItems: string;
|
|
569
|
+
validationMaxItems: string;
|
|
570
|
+
validationMin: string;
|
|
571
|
+
validationMax: string;
|
|
572
|
+
validationPattern: string;
|
|
573
|
+
validationSameAs: string;
|
|
551
574
|
keypadDelete: string;
|
|
552
575
|
keypadClear: string;
|
|
553
576
|
keypadChange: string;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { M3Locale } from './useLocale';
|
|
2
|
+
/**
|
|
3
|
+
* The Standard Schema interface (https://standardschema.dev), implemented by zod (3.24+), valibot (1.0+),
|
|
4
|
+
* arktype, yup (1.7+) and others. A copy of the spec's types, so the lib doesn't depend on any of them:
|
|
5
|
+
* pass a schema straight to a field's `rules` or to `MForm`'s `schema`.
|
|
6
|
+
*/
|
|
7
|
+
export interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
8
|
+
readonly '~standard': {
|
|
9
|
+
readonly version: 1;
|
|
10
|
+
readonly vendor: string;
|
|
11
|
+
readonly validate: (value: unknown) => StandardSchemaResult<Output> | Promise<StandardSchemaResult<Output>>;
|
|
12
|
+
readonly types?: {
|
|
13
|
+
readonly input: Input;
|
|
14
|
+
readonly output: Output;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface StandardSchemaIssue {
|
|
19
|
+
readonly message: string;
|
|
20
|
+
readonly path?: ReadonlyArray<PropertyKey | {
|
|
21
|
+
readonly key: PropertyKey;
|
|
22
|
+
}>;
|
|
23
|
+
}
|
|
24
|
+
export type StandardSchemaResult<Output> = {
|
|
25
|
+
readonly value: Output;
|
|
26
|
+
readonly issues?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
readonly issues: ReadonlyArray<StandardSchemaIssue>;
|
|
29
|
+
};
|
|
30
|
+
/** What a rule receives besides the value */
|
|
31
|
+
export interface ValidationContext {
|
|
32
|
+
/** The active locale, for messages */
|
|
33
|
+
locale: M3Locale;
|
|
34
|
+
/** The values of every named field of the surrounding `MForm` (empty outside one) */
|
|
35
|
+
values: Record<string, unknown>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* `true`, `undefined` or `null` = valid; a string = invalid with that message; `false` = invalid with the
|
|
39
|
+
* locale's generic `validationInvalid` message
|
|
40
|
+
*/
|
|
41
|
+
export type ValidationResult = boolean | string | null | undefined;
|
|
42
|
+
/** A function `(value, ctx) => true | 'message'` (may be async), or a Standard Schema (zod, valibot…) */
|
|
43
|
+
export type ValidationRule<T = any> = ((value: T, ctx: ValidationContext) => ValidationResult | Promise<ValidationResult>) | StandardSchemaV1;
|
|
44
|
+
/** When a field checks its rules and shows the result */
|
|
45
|
+
export type ValidateOn = 'blur' | 'input' | 'submit';
|
|
46
|
+
export declare function isStandardSchema(rule: unknown): rule is StandardSchemaV1;
|
|
47
|
+
/** The key of a Standard Schema issue path segment */
|
|
48
|
+
export declare function issueKey(segment: PropertyKey | {
|
|
49
|
+
readonly key: PropertyKey;
|
|
50
|
+
}): PropertyKey;
|
|
51
|
+
/** Runs one rule: the error message, or null when it passes */
|
|
52
|
+
export declare function runRule(rule: ValidationRule, value: unknown, ctx: ValidationContext): Promise<string | null>;
|
|
53
|
+
/** Runs rules in order and stops at the first that fails */
|
|
54
|
+
export declare function runRules(rules: ValidationRule[], value: unknown, ctx: ValidationContext): Promise<string | null>;
|
|
55
|
+
/** Whether a value counts as "not filled in": null/undefined, blank string, empty array, `false` (an unticked checkbox) */
|
|
56
|
+
export declare function isEmpty(value: unknown): boolean;
|
|
57
|
+
/** Marks the rules `required()` makes, so a field's `required` prop doesn't add a second one in front */
|
|
58
|
+
export declare const REQUIRED_RULE: unique symbol;
|
|
59
|
+
/**
|
|
60
|
+
* The value must be filled in (see `isEmpty`; a field may define its own "empty", e.g. a date range needs both
|
|
61
|
+
* ends). Given in `rules`, it replaces the check the field's `required` prop adds, so its message is the one shown
|
|
62
|
+
*/
|
|
63
|
+
export declare function required(message?: string): ValidationRule;
|
|
64
|
+
/** An email address (the browser's own rule, plus a dot in the domain) */
|
|
65
|
+
export declare function email(message?: string): ValidationRule;
|
|
66
|
+
/** An absolute http(s) URL */
|
|
67
|
+
export declare function url(message?: string): ValidationRule;
|
|
68
|
+
/** At least `min` characters (strings) or items (arrays) */
|
|
69
|
+
export declare function minLength(min: number, message?: string): ValidationRule;
|
|
70
|
+
/** At most `max` characters (strings) or items (arrays) */
|
|
71
|
+
export declare function maxLength(max: number, message?: string): ValidationRule;
|
|
72
|
+
/** A number (or numeric string) of at least `min` */
|
|
73
|
+
export declare function min(min: number, message?: string): ValidationRule;
|
|
74
|
+
/** A number (or numeric string) of at most `max` */
|
|
75
|
+
export declare function max(max: number, message?: string): ValidationRule;
|
|
76
|
+
/** Matches a regular expression */
|
|
77
|
+
export declare function pattern(re: RegExp, message?: string): ValidationRule;
|
|
78
|
+
/**
|
|
79
|
+
* Equals another value: the name of a field in the same `MForm` (e.g. 'password' for a confirmation field),
|
|
80
|
+
* or a getter
|
|
81
|
+
*/
|
|
82
|
+
export declare function sameAs(other: string | (() => unknown), message?: string): ValidationRule;
|
package/dist/draw.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as e } from "./useLocale-
|
|
1
|
+
import { i as e } from "./useLocale-Dh1xZZ8i.js";
|
|
2
2
|
import { t } from "./MIconButton-BBggVwBV.js";
|
|
3
3
|
import { n, t as r } from "./MMenuItem-BuxYoASE.js";
|
|
4
4
|
import { t as i } from "./MTooltip-CK39Zon4.js";
|
|
5
|
-
import { t as a } from "./MColorPickerModal-
|
|
5
|
+
import { t as a } from "./MColorPickerModal-BKM1CHxr.js";
|
|
6
6
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, inject as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, openBlock as C, provide as ee, ref as w, renderList as T, renderSlot as E, shallowRef as D, toDisplayString as te, unref as O, useId as ne, useModel as k, vModelText as re, watch as ie, withCtx as A, withDirectives as j, withKeys as ae, withModifiers as M } from "vue";
|
|
7
7
|
// src/composables/drawGeometry.ts
|
|
8
8
|
var N = 0, oe = () => `d${Date.now().toString(36)}${(N++).toString(36)}`, se = {
|
package/dist/flow.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./flowPaths-BaH7yaUM.js";
|
|
2
2
|
import { r as d, t as f, u as p } from "./MIconButton-BBggVwBV.js";
|
|
3
|
-
import { i as m } from "./useLocale-
|
|
3
|
+
import { i as m } from "./useLocale-Dh1xZZ8i.js";
|
|
4
4
|
import { Fragment as h, Transition as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as S, createVNode as C, defineComponent as w, inject as T, mergeProps as ee, nextTick as E, normalizeClass as D, normalizeStyle as O, onBeforeUnmount as te, onMounted as ne, openBlock as k, provide as re, reactive as ie, ref as A, renderList as ae, renderSlot as oe, shallowReactive as se, shallowRef as ce, toDisplayString as le, toRaw as ue, unref as j, useSlots as de, vShow as fe, watch as pe, withCtx as me, withDirectives as M, withModifiers as he } from "vue";
|
|
5
5
|
// src/composables/useFlow.ts
|
|
6
6
|
var ge = Symbol("m3-flow"), _e = Symbol("m3-flow-node");
|
package/dist/gantt.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./flowPaths-BaH7yaUM.js";
|
|
2
2
|
import { f as t, l as n, t as r, u as i } from "./MIconButton-BBggVwBV.js";
|
|
3
|
-
import { i as a } from "./useLocale-
|
|
4
|
-
import { t as o } from "./MSegmentedButton-
|
|
3
|
+
import { i as a } from "./useLocale-Dh1xZZ8i.js";
|
|
4
|
+
import { t as o } from "./MSegmentedButton-CiOOY1-N.js";
|
|
5
5
|
import { Fragment as s, Teleport as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, inject as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as ee, onBeforeUpdate as te, onMounted as ne, onUpdated as re, openBlock as x, provide as ie, ref as S, renderList as C, renderSlot as ae, shallowRef as oe, toDisplayString as w, toRaw as se, unref as T, useSlots as ce, vModelText as le, watch as E, withDirectives as ue, withKeys as de, withModifiers as fe } from "vue";
|
|
6
6
|
// src/composables/useGantt.ts
|
|
7
7
|
var pe = Symbol("m3-gantt"), me = Symbol("m3-timeline-controls");
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export type { WidthSizeClass, HeightSizeClass, WindowSizeClassInfo } from './com
|
|
|
37
37
|
export { useNotification } from './composables/useNotification';
|
|
38
38
|
export type { Notification, NotificationVariant, NotificationPosition, NotificationOptions } from './composables/useNotification';
|
|
39
39
|
export { useDebounce } from './composables/useDebounce';
|
|
40
|
+
export { required, email, url, minLength, maxLength, min, max, pattern, sameAs, isEmpty } from './composables/validation';
|
|
41
|
+
export type { ValidationRule, ValidationResult, ValidationContext, ValidateOn, StandardSchemaV1, StandardSchemaIssue, StandardSchemaResult } from './composables/validation';
|
|
40
42
|
export { usePageProgress } from './composables/usePageProgress';
|
|
41
43
|
export { useSpring } from './composables/_useSpring';
|
|
42
44
|
export { motionSprings, motionEasings, motionDurations, cubicBezier } from './composables/motion';
|
|
@@ -125,6 +127,7 @@ export { default as MExportButton } from './components/MExportButton.vue';
|
|
|
125
127
|
export { default as MFab } from './components/MFab.vue';
|
|
126
128
|
export { default as MFabMenu } from './components/MFabMenu.vue';
|
|
127
129
|
export { default as MFileUpload } from './components/MFileUpload.vue';
|
|
130
|
+
export { default as MForm } from './components/MForm.vue';
|
|
128
131
|
export { default as MFloorPlan } from './components/MFloorPlan.vue';
|
|
129
132
|
export { default as MFloorPlanToolbar } from './components/MFloorPlanToolbar.vue';
|
|
130
133
|
export type { FloorTablePreset } from './components/MFloorPlanToolbar.vue';
|
|
@@ -290,6 +293,7 @@ export { default as MTabs } from './components/MTabs.vue';
|
|
|
290
293
|
export { default as MText } from './components/MText.vue';
|
|
291
294
|
export { default as MTextField } from './components/MTextField.vue';
|
|
292
295
|
export { default as MTimeline } from './components/MTimeline.vue';
|
|
296
|
+
export { default as MTrackingTimeline } from './components/MTrackingTimeline.vue';
|
|
293
297
|
export { default as MTimePicker } from './components/MTimePicker.vue';
|
|
294
298
|
export { default as MTimePickerModal } from './components/MTimePickerModal.vue';
|
|
295
299
|
export { default as MTimeScroll } from './components/MTimeScroll.vue';
|
|
@@ -333,6 +337,7 @@ export type { StepItem } from './components/MStepper.vue';
|
|
|
333
337
|
export type { CommandItem } from './components/MCommandPalette.vue';
|
|
334
338
|
export type { TableFetchParams } from './components/MTable.vue';
|
|
335
339
|
export type { TimelineItem, TimelineStatus } from './components/MTimeline.vue';
|
|
340
|
+
export type { TrackingStep, TrackingStatus } from './components/MTrackingTimeline.vue';
|
|
336
341
|
export type { TourStep } from './components/MTour.vue';
|
|
337
342
|
export type { TransferItem } from './components/MTransferList.vue';
|
|
338
343
|
export type { TreeNode } from './components/MTree.vue';
|
package/dist/locales/index.js
CHANGED
|
@@ -206,6 +206,15 @@ var e = {
|
|
|
206
206
|
mapPressEnterToSearch: "Pulsa Enter para buscar",
|
|
207
207
|
mapSearching: "Buscando…",
|
|
208
208
|
mapNoPlaces: "No se encontraron lugares",
|
|
209
|
+
mapRouteStop: "Parada",
|
|
210
|
+
mapRouteVehicle: "Vehículo",
|
|
211
|
+
trackingArrives: "Llega {time}",
|
|
212
|
+
trackingArrivingNow: "Llegando",
|
|
213
|
+
trackingDelivered: "Entregado",
|
|
214
|
+
trackingDelayed: "Demorado",
|
|
215
|
+
trackingCanceled: "Cancelado",
|
|
216
|
+
trackingShowDetails: "Ver detalles",
|
|
217
|
+
trackingHideDetails: "Ocultar detalles",
|
|
209
218
|
filterMatchAll: "Todas",
|
|
210
219
|
filterMatchAny: "Alguna",
|
|
211
220
|
filterAddCondition: "Agregar condición",
|
|
@@ -488,7 +497,7 @@ var e = {
|
|
|
488
497
|
floorHeight: "Alto",
|
|
489
498
|
floorMerge: "Unir mesas",
|
|
490
499
|
floorSplit: "Separar",
|
|
491
|
-
floorNothingPicked: "
|
|
500
|
+
floorNothingPicked: "Elige una mesa, zona, pared o decoración para editarla",
|
|
492
501
|
floorTablesPicked: "{n} mesas elegidas",
|
|
493
502
|
floorTableN: "Mesa {label}",
|
|
494
503
|
floorZone: "Zona",
|
|
@@ -531,6 +540,18 @@ var e = {
|
|
|
531
540
|
cardInvalidNumber: "Número de tarjeta inválido",
|
|
532
541
|
cardInvalidExpiry: "Fecha inválida o vencida",
|
|
533
542
|
cardInvalidCvc: "Código de seguridad inválido",
|
|
543
|
+
validationRequired: "Este campo es obligatorio",
|
|
544
|
+
validationInvalid: "Valor inválido",
|
|
545
|
+
validationEmail: "Ingresa un correo electrónico válido",
|
|
546
|
+
validationUrl: "Ingresa una URL válida",
|
|
547
|
+
validationMinLength: "Ingresa al menos {min} caracteres",
|
|
548
|
+
validationMaxLength: "Ingresa como máximo {max} caracteres",
|
|
549
|
+
validationMinItems: "Elige al menos {min}",
|
|
550
|
+
validationMaxItems: "Elige como máximo {max}",
|
|
551
|
+
validationMin: "Debe ser al menos {min}",
|
|
552
|
+
validationMax: "Debe ser como máximo {max}",
|
|
553
|
+
validationPattern: "Formato inválido",
|
|
554
|
+
validationSameAs: "Los valores no coinciden",
|
|
534
555
|
keypadDelete: "Borrar",
|
|
535
556
|
keypadClear: "Limpiar",
|
|
536
557
|
keypadChange: "Vuelto",
|
|
@@ -546,9 +567,9 @@ var e = {
|
|
|
546
567
|
receiptChange: "Vuelto",
|
|
547
568
|
configRequired: "Obligatorio",
|
|
548
569
|
configOptional: "Opcional",
|
|
549
|
-
configChooseUpTo: "
|
|
550
|
-
configChooseAtLeast: "
|
|
551
|
-
configChooseExactly: "
|
|
570
|
+
configChooseUpTo: "Elige hasta {n}",
|
|
571
|
+
configChooseAtLeast: "Elige al menos {n}",
|
|
572
|
+
configChooseExactly: "Elige {n}",
|
|
552
573
|
configUnavailable: "No disponible",
|
|
553
574
|
configQuantity: "Cantidad",
|
|
554
575
|
configIncrease: "Sumar uno",
|
|
@@ -558,8 +579,8 @@ var e = {
|
|
|
558
579
|
availMinNights: "Estadía mínima: {n} noches",
|
|
559
580
|
availCheckIn: "Llegada",
|
|
560
581
|
availCheckOut: "Salida",
|
|
561
|
-
availSelectCheckIn: "
|
|
562
|
-
availSelectCheckOut: "
|
|
582
|
+
availSelectCheckIn: "Elige la fecha de llegada",
|
|
583
|
+
availSelectCheckOut: "Elige la fecha de salida",
|
|
563
584
|
availUnavailable: "No disponible",
|
|
564
585
|
chartOpen: "Apertura",
|
|
565
586
|
chartHigh: "Máximo",
|
|
@@ -641,7 +662,7 @@ var e = {
|
|
|
641
662
|
quizRetry: "Volver a intentar",
|
|
642
663
|
quizTrue: "Verdadero",
|
|
643
664
|
quizFalse: "Falso",
|
|
644
|
-
quizSelectAll: "
|
|
665
|
+
quizSelectAll: "Elige todas las que correspondan",
|
|
645
666
|
quizOrderHint: "Ordená los elementos",
|
|
646
667
|
quizMoveUp: "Subir",
|
|
647
668
|
quizMoveDown: "Bajar",
|
|
@@ -859,6 +880,15 @@ var e = {
|
|
|
859
880
|
mapPressEnterToSearch: "Appuyez sur Entrée pour rechercher",
|
|
860
881
|
mapSearching: "Recherche…",
|
|
861
882
|
mapNoPlaces: "Aucun lieu trouvé",
|
|
883
|
+
mapRouteStop: "Arrêt",
|
|
884
|
+
mapRouteVehicle: "Véhicule",
|
|
885
|
+
trackingArrives: "Arrivée {time}",
|
|
886
|
+
trackingArrivingNow: "Arrive maintenant",
|
|
887
|
+
trackingDelivered: "Livré",
|
|
888
|
+
trackingDelayed: "Retardé",
|
|
889
|
+
trackingCanceled: "Annulé",
|
|
890
|
+
trackingShowDetails: "Voir les détails",
|
|
891
|
+
trackingHideDetails: "Masquer les détails",
|
|
862
892
|
filterMatchAll: "Toutes",
|
|
863
893
|
filterMatchAny: "Au moins une",
|
|
864
894
|
filterAddCondition: "Ajouter une condition",
|
|
@@ -1184,6 +1214,18 @@ var e = {
|
|
|
1184
1214
|
cardInvalidNumber: "Numéro de carte invalide",
|
|
1185
1215
|
cardInvalidExpiry: "Date invalide ou expirée",
|
|
1186
1216
|
cardInvalidCvc: "Code de sécurité invalide",
|
|
1217
|
+
validationRequired: "Ce champ est obligatoire",
|
|
1218
|
+
validationInvalid: "Valeur invalide",
|
|
1219
|
+
validationEmail: "Saisissez une adresse e-mail valide",
|
|
1220
|
+
validationUrl: "Saisissez une URL valide",
|
|
1221
|
+
validationMinLength: "Saisissez au moins {min} caractères",
|
|
1222
|
+
validationMaxLength: "Saisissez au plus {max} caractères",
|
|
1223
|
+
validationMinItems: "Choisissez-en au moins {min}",
|
|
1224
|
+
validationMaxItems: "Choisissez-en au plus {max}",
|
|
1225
|
+
validationMin: "Doit être au moins {min}",
|
|
1226
|
+
validationMax: "Doit être au plus {max}",
|
|
1227
|
+
validationPattern: "Format invalide",
|
|
1228
|
+
validationSameAs: "Les valeurs ne correspondent pas",
|
|
1187
1229
|
keypadDelete: "Effacer",
|
|
1188
1230
|
keypadClear: "Vider",
|
|
1189
1231
|
keypadChange: "Monnaie",
|
|
@@ -1512,6 +1554,15 @@ var e = {
|
|
|
1512
1554
|
mapPressEnterToSearch: "Pressione Enter para pesquisar",
|
|
1513
1555
|
mapSearching: "Pesquisando…",
|
|
1514
1556
|
mapNoPlaces: "Nenhum lugar encontrado",
|
|
1557
|
+
mapRouteStop: "Parada",
|
|
1558
|
+
mapRouteVehicle: "Veículo",
|
|
1559
|
+
trackingArrives: "Chega {time}",
|
|
1560
|
+
trackingArrivingNow: "Chegando",
|
|
1561
|
+
trackingDelivered: "Entregue",
|
|
1562
|
+
trackingDelayed: "Atrasado",
|
|
1563
|
+
trackingCanceled: "Cancelado",
|
|
1564
|
+
trackingShowDetails: "Ver detalhes",
|
|
1565
|
+
trackingHideDetails: "Ocultar detalhes",
|
|
1515
1566
|
filterMatchAll: "Todas",
|
|
1516
1567
|
filterMatchAny: "Alguma",
|
|
1517
1568
|
filterAddCondition: "Adicionar condição",
|
|
@@ -1837,6 +1888,18 @@ var e = {
|
|
|
1837
1888
|
cardInvalidNumber: "Número do cartão inválido",
|
|
1838
1889
|
cardInvalidExpiry: "Data inválida ou vencida",
|
|
1839
1890
|
cardInvalidCvc: "Código de segurança inválido",
|
|
1891
|
+
validationRequired: "Este campo é obrigatório",
|
|
1892
|
+
validationInvalid: "Valor inválido",
|
|
1893
|
+
validationEmail: "Informe um e-mail válido",
|
|
1894
|
+
validationUrl: "Informe uma URL válida",
|
|
1895
|
+
validationMinLength: "Informe pelo menos {min} caracteres",
|
|
1896
|
+
validationMaxLength: "Informe no máximo {max} caracteres",
|
|
1897
|
+
validationMinItems: "Escolha pelo menos {min}",
|
|
1898
|
+
validationMaxItems: "Escolha no máximo {max}",
|
|
1899
|
+
validationMin: "Deve ser pelo menos {min}",
|
|
1900
|
+
validationMax: "Deve ser no máximo {max}",
|
|
1901
|
+
validationPattern: "Formato inválido",
|
|
1902
|
+
validationSameAs: "Os valores não coincidem",
|
|
1840
1903
|
keypadDelete: "Apagar",
|
|
1841
1904
|
keypadClear: "Limpar",
|
|
1842
1905
|
keypadChange: "Troco",
|
|
@@ -2165,6 +2228,15 @@ var e = {
|
|
|
2165
2228
|
mapPressEnterToSearch: "Zum Suchen Enter drücken",
|
|
2166
2229
|
mapSearching: "Suche läuft…",
|
|
2167
2230
|
mapNoPlaces: "Keine Orte gefunden",
|
|
2231
|
+
mapRouteStop: "Halt",
|
|
2232
|
+
mapRouteVehicle: "Fahrzeug",
|
|
2233
|
+
trackingArrives: "Ankunft {time}",
|
|
2234
|
+
trackingArrivingNow: "Kommt gleich",
|
|
2235
|
+
trackingDelivered: "Zugestellt",
|
|
2236
|
+
trackingDelayed: "Verspätet",
|
|
2237
|
+
trackingCanceled: "Storniert",
|
|
2238
|
+
trackingShowDetails: "Details anzeigen",
|
|
2239
|
+
trackingHideDetails: "Details ausblenden",
|
|
2168
2240
|
filterMatchAll: "Alle",
|
|
2169
2241
|
filterMatchAny: "Eine",
|
|
2170
2242
|
filterAddCondition: "Bedingung hinzufügen",
|
|
@@ -2490,6 +2562,18 @@ var e = {
|
|
|
2490
2562
|
cardInvalidNumber: "Ungültige Kartennummer",
|
|
2491
2563
|
cardInvalidExpiry: "Ungültiges oder abgelaufenes Datum",
|
|
2492
2564
|
cardInvalidCvc: "Ungültiger Sicherheitscode",
|
|
2565
|
+
validationRequired: "Dieses Feld ist erforderlich",
|
|
2566
|
+
validationInvalid: "Ungültiger Wert",
|
|
2567
|
+
validationEmail: "Gib eine gültige E-Mail-Adresse ein",
|
|
2568
|
+
validationUrl: "Gib eine gültige URL ein",
|
|
2569
|
+
validationMinLength: "Gib mindestens {min} Zeichen ein",
|
|
2570
|
+
validationMaxLength: "Gib höchstens {max} Zeichen ein",
|
|
2571
|
+
validationMinItems: "Wähle mindestens {min}",
|
|
2572
|
+
validationMaxItems: "Wähle höchstens {max}",
|
|
2573
|
+
validationMin: "Muss mindestens {min} sein",
|
|
2574
|
+
validationMax: "Darf höchstens {max} sein",
|
|
2575
|
+
validationPattern: "Ungültiges Format",
|
|
2576
|
+
validationSameAs: "Die Werte stimmen nicht überein",
|
|
2493
2577
|
keypadDelete: "Löschen",
|
|
2494
2578
|
keypadClear: "Leeren",
|
|
2495
2579
|
keypadChange: "Rückgeld",
|
|
@@ -2818,6 +2902,15 @@ var e = {
|
|
|
2818
2902
|
mapPressEnterToSearch: "Enter キーで検索",
|
|
2819
2903
|
mapSearching: "検索中…",
|
|
2820
2904
|
mapNoPlaces: "場所が見つかりません",
|
|
2905
|
+
mapRouteStop: "停留地",
|
|
2906
|
+
mapRouteVehicle: "車両",
|
|
2907
|
+
trackingArrives: "{time} 到着予定",
|
|
2908
|
+
trackingArrivingNow: "まもなく到着",
|
|
2909
|
+
trackingDelivered: "配達済み",
|
|
2910
|
+
trackingDelayed: "遅延",
|
|
2911
|
+
trackingCanceled: "キャンセル済み",
|
|
2912
|
+
trackingShowDetails: "詳細を表示",
|
|
2913
|
+
trackingHideDetails: "詳細を隠す",
|
|
2821
2914
|
filterMatchAll: "すべて",
|
|
2822
2915
|
filterMatchAny: "いずれか",
|
|
2823
2916
|
filterAddCondition: "条件を追加",
|
|
@@ -3143,6 +3236,18 @@ var e = {
|
|
|
3143
3236
|
cardInvalidNumber: "カード番号が無効です",
|
|
3144
3237
|
cardInvalidExpiry: "日付が無効か期限切れです",
|
|
3145
3238
|
cardInvalidCvc: "セキュリティコードが無効です",
|
|
3239
|
+
validationRequired: "この項目は必須です",
|
|
3240
|
+
validationInvalid: "無効な値です",
|
|
3241
|
+
validationEmail: "有効なメールアドレスを入力してください",
|
|
3242
|
+
validationUrl: "有効な URL を入力してください",
|
|
3243
|
+
validationMinLength: "{min} 文字以上で入力してください",
|
|
3244
|
+
validationMaxLength: "{max} 文字以内で入力してください",
|
|
3245
|
+
validationMinItems: "{min} 個以上選択してください",
|
|
3246
|
+
validationMaxItems: "{max} 個以内で選択してください",
|
|
3247
|
+
validationMin: "{min} 以上にしてください",
|
|
3248
|
+
validationMax: "{max} 以下にしてください",
|
|
3249
|
+
validationPattern: "形式が正しくありません",
|
|
3250
|
+
validationSameAs: "値が一致しません",
|
|
3146
3251
|
keypadDelete: "削除",
|
|
3147
3252
|
keypadClear: "クリア",
|
|
3148
3253
|
keypadChange: "お釣り",
|
|
@@ -3471,6 +3576,15 @@ var e = {
|
|
|
3471
3576
|
mapPressEnterToSearch: "按 Enter 键搜索",
|
|
3472
3577
|
mapSearching: "正在搜索…",
|
|
3473
3578
|
mapNoPlaces: "未找到地点",
|
|
3579
|
+
mapRouteStop: "站点",
|
|
3580
|
+
mapRouteVehicle: "车辆",
|
|
3581
|
+
trackingArrives: "预计 {time} 送达",
|
|
3582
|
+
trackingArrivingNow: "即将送达",
|
|
3583
|
+
trackingDelivered: "已送达",
|
|
3584
|
+
trackingDelayed: "已延迟",
|
|
3585
|
+
trackingCanceled: "已取消",
|
|
3586
|
+
trackingShowDetails: "查看详情",
|
|
3587
|
+
trackingHideDetails: "收起详情",
|
|
3474
3588
|
filterMatchAll: "全部",
|
|
3475
3589
|
filterMatchAny: "任一",
|
|
3476
3590
|
filterAddCondition: "添加条件",
|
|
@@ -3796,6 +3910,18 @@ var e = {
|
|
|
3796
3910
|
cardInvalidNumber: "卡号无效",
|
|
3797
3911
|
cardInvalidExpiry: "日期无效或已过期",
|
|
3798
3912
|
cardInvalidCvc: "安全码无效",
|
|
3913
|
+
validationRequired: "此字段为必填项",
|
|
3914
|
+
validationInvalid: "值无效",
|
|
3915
|
+
validationEmail: "请输入有效的电子邮件地址",
|
|
3916
|
+
validationUrl: "请输入有效的网址",
|
|
3917
|
+
validationMinLength: "请至少输入 {min} 个字符",
|
|
3918
|
+
validationMaxLength: "最多输入 {max} 个字符",
|
|
3919
|
+
validationMinItems: "请至少选择 {min} 项",
|
|
3920
|
+
validationMaxItems: "最多选择 {max} 项",
|
|
3921
|
+
validationMin: "不能小于 {min}",
|
|
3922
|
+
validationMax: "不能大于 {max}",
|
|
3923
|
+
validationPattern: "格式无效",
|
|
3924
|
+
validationSameAs: "两次输入的值不一致",
|
|
3799
3925
|
keypadDelete: "删除",
|
|
3800
3926
|
keypadClear: "清除",
|
|
3801
3927
|
keypadChange: "找零",
|
|
@@ -4124,6 +4250,15 @@ var e = {
|
|
|
4124
4250
|
mapPressEnterToSearch: "Enter 키를 눌러 검색",
|
|
4125
4251
|
mapSearching: "검색 중…",
|
|
4126
4252
|
mapNoPlaces: "장소를 찾을 수 없습니다",
|
|
4253
|
+
mapRouteStop: "경유지",
|
|
4254
|
+
mapRouteVehicle: "차량",
|
|
4255
|
+
trackingArrives: "{time} 도착 예정",
|
|
4256
|
+
trackingArrivingNow: "곧 도착",
|
|
4257
|
+
trackingDelivered: "배달 완료",
|
|
4258
|
+
trackingDelayed: "지연",
|
|
4259
|
+
trackingCanceled: "취소됨",
|
|
4260
|
+
trackingShowDetails: "자세히 보기",
|
|
4261
|
+
trackingHideDetails: "간단히 보기",
|
|
4127
4262
|
filterMatchAll: "모두",
|
|
4128
4263
|
filterMatchAny: "하나 이상",
|
|
4129
4264
|
filterAddCondition: "조건 추가",
|
|
@@ -4449,6 +4584,18 @@ var e = {
|
|
|
4449
4584
|
cardInvalidNumber: "유효하지 않은 카드 번호",
|
|
4450
4585
|
cardInvalidExpiry: "유효하지 않거나 만료된 날짜",
|
|
4451
4586
|
cardInvalidCvc: "유효하지 않은 보안 코드",
|
|
4587
|
+
validationRequired: "필수 입력 항목입니다",
|
|
4588
|
+
validationInvalid: "유효하지 않은 값입니다",
|
|
4589
|
+
validationEmail: "올바른 이메일 주소를 입력하세요",
|
|
4590
|
+
validationUrl: "올바른 URL을 입력하세요",
|
|
4591
|
+
validationMinLength: "{min}자 이상 입력하세요",
|
|
4592
|
+
validationMaxLength: "{max}자 이하로 입력하세요",
|
|
4593
|
+
validationMinItems: "{min}개 이상 선택하세요",
|
|
4594
|
+
validationMaxItems: "{max}개 이하로 선택하세요",
|
|
4595
|
+
validationMin: "{min} 이상이어야 합니다",
|
|
4596
|
+
validationMax: "{max} 이하여야 합니다",
|
|
4597
|
+
validationPattern: "형식이 올바르지 않습니다",
|
|
4598
|
+
validationSameAs: "값이 일치하지 않습니다",
|
|
4452
4599
|
keypadDelete: "삭제",
|
|
4453
4600
|
keypadClear: "지우기",
|
|
4454
4601
|
keypadChange: "거스름돈",
|