@wix/form-public 0.136.0 → 0.138.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/index.cjs +4 -97
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -98
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import React45__default, { createContext, useMemo, useRef, useCallback, useState
|
|
|
5
5
|
import camelCase from 'lodash.camelcase';
|
|
6
6
|
import mapKeys from 'lodash.mapkeys';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
|
-
import { Checkbox as Checkbox$1, TextField, Input as Input$1, ListBoxItem, Popover, ListBox, Tag as Tag$1, RadioGroup as RadioGroup$1, Button, Radio, CheckboxGroup as CheckboxGroup$1, DatePicker as DatePicker$1, Select,
|
|
8
|
+
import { Checkbox as Checkbox$1, TextField, Input as Input$1, ListBoxItem, Popover, ListBox, Tag as Tag$1, RadioGroup as RadioGroup$1, Button, Radio, CheckboxGroup as CheckboxGroup$1, DatePicker as DatePicker$1, Select, NumberField, TagGroup, TimeField, SelectValue, CalendarCell, Dialog, Calendar as Calendar$1, Heading, CalendarGrid, Group, DateInput as DateInput$1, DateSegment, DropZone as DropZone$1, Text, FileTrigger, ComboBox, TagList, TextArea as TextArea$1, ProgressBar } from 'react-aria-components';
|
|
9
9
|
|
|
10
10
|
var __create = Object.create;
|
|
11
11
|
var __defProp = Object.defineProperty;
|
|
@@ -22413,7 +22413,6 @@ var require_messages_en = __commonJS({
|
|
|
22413
22413
|
module.exports = {
|
|
22414
22414
|
"contacts-url-input.input.error.message.format-error": "Enter a web URL like https://www.example.com.",
|
|
22415
22415
|
"field-context-menu.cut": "Cut",
|
|
22416
|
-
"search.keyword.basic.full-name": "full name, name, first and last",
|
|
22417
22416
|
"input.error.message.incomplete-date-error.day-time": "Enter a day and time.",
|
|
22418
22417
|
"field.signature.a11y.action-description.type": "Use the keyboard to type.",
|
|
22419
22418
|
"input.error.message.required-error-forced": "This field is required.",
|
|
@@ -22424,36 +22423,27 @@ var require_messages_en = __commonJS({
|
|
|
22424
22423
|
"form.file-upload.uploading": "Uploading {count, plural, =0 {...} other {#%...}}",
|
|
22425
22424
|
"rating-input.a11y.reaction-label": "{count} {count, plural, =1 {star} other {stars}}",
|
|
22426
22425
|
"contacts-company.input.error.message.required-error": "Enter a company name.",
|
|
22427
|
-
"search.keyword.events.rsvp": "rsvp, attendance, reply",
|
|
22428
22426
|
"dext-phone.input.error.message.required-error": "Enter a phone number.",
|
|
22429
|
-
"search.keyword.quiz.short-text": "quiz short text, short answer",
|
|
22430
22427
|
"field.signature.clear-button.label": "Clear",
|
|
22431
22428
|
"input.error.message.type-error": "Choose a {type}.",
|
|
22432
22429
|
"payment-input.input.error.message.required-error": "Enter a payment amount.",
|
|
22433
22430
|
"form.login-bar.action.logout": "Log out",
|
|
22434
22431
|
"date-picker.a11y.arrow-left": "Go to previous month",
|
|
22435
|
-
"search.keyword.address.address-line": "address line, street address, line 1",
|
|
22436
22432
|
"mla-subdivision.input.error.message.required-error.tr": "Choose a city.",
|
|
22437
|
-
"search.keyword.dext.radio-group": "radio group, radio buttons, single select",
|
|
22438
|
-
"search.keyword.quiz.image-choice": "image choice, picture options",
|
|
22439
22433
|
"settings.scheduling.sync-external-calendars.modal.tooltip.kb-link": "https://support.wix.com/en/article/wix-meetings-syncing-personal-calendars-with-wix-meetings",
|
|
22440
22434
|
"input.error.message.value-range-error": "Enter a number from {minLimit} to {maxLimit}.",
|
|
22441
22435
|
"input.error.message.incomplete-date-error.year-month": "Enter a month and year.",
|
|
22442
|
-
"search.keyword.ecom.company-name": "company name, business name",
|
|
22443
22436
|
"mla-address-line.input.error.message.required-error": "Enter an address.",
|
|
22444
|
-
"search.keyword.ecom.email": "email, contact email",
|
|
22445
|
-
"search.keyword.scheduling.services-dropdown": "services dropdown, service list, select service",
|
|
22446
22437
|
"contacts-position.input.error.message.required-error": "Enter a position or job title.",
|
|
22447
22438
|
"bookings-phone.input.error.message.format-error": "Enter a valid phone number.",
|
|
22448
22439
|
"input.error.message.incomplete-date-error.year-month-time": "Enter a month, time and year.",
|
|
22449
|
-
"search.keyword.transaction.donation": "donation, contribute, give, contribution",
|
|
22450
22440
|
"field.number.aria-role-description": "Number",
|
|
22451
22441
|
"signature.input.error.message.required-error": "Sign in the box above.",
|
|
22452
22442
|
"field.date.label.month": "Month",
|
|
22453
22443
|
"field.rich-text.read-more-button.label": "Read more",
|
|
22454
22444
|
"field.time.label.period": "AM/PM setting",
|
|
22455
|
-
"search.keyword.dext.text-input": "text input, single line, field",
|
|
22456
22445
|
"submit.failed.message": "We could not submit your form. Try again later.",
|
|
22446
|
+
"image-choice.input.error.message.required-error": "Choose an option.",
|
|
22457
22447
|
"dext-email.input.error.message.required-error": "Enter an email address like example@mysite.com.",
|
|
22458
22448
|
"mla-city.input.error.message.required-error.tr": "Enter a district.",
|
|
22459
22449
|
"date-picker.a11y.calendar-button.role-description": "Calendar dialog pop up collapsed",
|
|
@@ -22462,23 +22452,17 @@ var require_messages_en = __commonJS({
|
|
|
22462
22452
|
"form.login-bar.title.logged-out-state": "Have an account? ",
|
|
22463
22453
|
"form.appointment.slots-not-found.text": "There\u2019s no availability for this date. Try selecting another date.",
|
|
22464
22454
|
"input.error.message.format-error": 'Use the format "{format}."',
|
|
22465
|
-
"search.keyword.basic.date-picker": "date picker, calendar, pick date",
|
|
22466
|
-
"search.keyword.address.street-number": "street number, house number",
|
|
22467
22455
|
"contacts-address.input.error.message.required-error": "Enter an address.",
|
|
22468
22456
|
"field-context-menu.copy": "Copy to clipboard",
|
|
22469
|
-
"search.keyword.ecom.subscriptions": "subscriptions, subscribe, membership",
|
|
22470
22457
|
"field.signature.a11y.state.empty": "Signature field is empty.",
|
|
22471
22458
|
"dext-date-picker.input.error.message.min-value-error": "Enter a valid date after today\u2019s date.",
|
|
22472
22459
|
"payment-input.input.error.message.min-value-error": "Enter a payment amount greater than {currency}{limit}.",
|
|
22473
|
-
"search.keyword.multi-elements.radio-buttons": "radio buttons, single choice, option",
|
|
22474
22460
|
"input.error.message.incomplete-date-error.year-time": "Enter a 4 digit year and time.",
|
|
22475
22461
|
"field.signature.a11y.state.signed": "Signed.",
|
|
22476
22462
|
"field.quiz-answer-feedback.wrong": "Incorrect",
|
|
22477
|
-
"search.keyword.scheduling.services-multi-choice": "services multi choice, multiple services",
|
|
22478
22463
|
"mla-city.input.error.message.required-error": "Enter a city.",
|
|
22479
22464
|
"field.rich-text.read-less-button.label": "Read less",
|
|
22480
22465
|
"form.appointment.accessibility.calendar.previous-week.aria-label": "Show previous week",
|
|
22481
|
-
"search.keyword.dext.email": "email, e-mail address, mail",
|
|
22482
22466
|
"field.signature.mode.upload.description": "Upload mode selected. Upload an image of your signature.",
|
|
22483
22467
|
"field.quiz-file-upload.skipped": "This question was skipped. ",
|
|
22484
22468
|
"ecom.email.label": "Email",
|
|
@@ -22492,12 +22476,10 @@ var require_messages_en = __commonJS({
|
|
|
22492
22476
|
"field-context-menu.delete": "Delete",
|
|
22493
22477
|
"field.date.label.year": "Year",
|
|
22494
22478
|
"mla-address-line-2.input.error.message.required-error": "Enter a second address line (e.g., apartment, suite, floor).",
|
|
22495
|
-
"search.keyword.basic.signature": "signature, sign, e-sign, autograph",
|
|
22496
22479
|
"form.login-bar.title.logged-in-state": "Logged in as {user}",
|
|
22497
22480
|
"payment-input.input.error.message.max-value-error": "Enter a payment amount less than {currency}{limit}.",
|
|
22498
22481
|
"ecom-phone.input.error.message.required-error": "Enter a phone number.",
|
|
22499
22482
|
"payment-input.input.error.message.value-range-error": "Enter a payment amount between {currency}{minLimit} and {currency}{maxLimit}.",
|
|
22500
|
-
"search.keyword.dext.date-picker": "date picker, calendar",
|
|
22501
22483
|
"input.error.message.incomplete-date-error.year-day": "Enter a day and year.",
|
|
22502
22484
|
"submission-table.signature.not-signed": "Not signed",
|
|
22503
22485
|
"dext-url-input.input.error.message.format-error": "Enter a web URL like https://www.example.com.",
|
|
@@ -22507,41 +22489,28 @@ var require_messages_en = __commonJS({
|
|
|
22507
22489
|
"input.error.message.incomplete-date-error.day": "Enter a day.",
|
|
22508
22490
|
"date-input.input.error.message.min-value-error": "Enter a valid date after today\u2019s date.",
|
|
22509
22491
|
"input.error.message.invalid-location-id-error": "Location is invalid",
|
|
22510
|
-
"search.keyword.basic.rating-input": "rating, stars, score, review",
|
|
22511
22492
|
"input.error.message.max-length-error": "Enter less than {limit, plural, one {# character} other {# characters}}.",
|
|
22512
22493
|
"field.date.placeholder.day": "Day",
|
|
22513
|
-
"search.keyword.dext.tags": "tags, chips, labels",
|
|
22514
22494
|
"services-dropdown.input.error.message.required-error": "Select a Service",
|
|
22515
22495
|
"ecom-email.input.error.message.required-error": "Enter an email address like example@mysite.com.",
|
|
22516
22496
|
"dext-phone.input.error.message.not-allowed-value": "Phone numbers with this country code aren\u2019t accepted.",
|
|
22517
22497
|
"dext-url-input.input.error.message.required-error": "Enter a web URL like https://www.example.com.",
|
|
22518
22498
|
"contacts-date-input.input.error.message.format-error": "Enter a month, day and year.",
|
|
22519
|
-
"search.keyword.multi-elements.dropdown": "dropdown, select, chooser, menu",
|
|
22520
22499
|
"signature.input.error.message.required-error.with-upload": "Sign in the box above or upload your signature.",
|
|
22521
22500
|
"contacts-phone.input.error.message.required-error": "Enter a phone number.",
|
|
22522
|
-
"search.keyword.quiz.file-upload": "quiz file upload, attachment",
|
|
22523
|
-
"search.keyword.dext.checkbox-group": "checkbox group, multiple checkboxes",
|
|
22524
22501
|
"field.phone.country-selector-button.aria-label": "Select a country code",
|
|
22525
|
-
"search.keyword.identity.password": "password, passcode, secret",
|
|
22526
22502
|
"field-context-menu.move-up": "Move up",
|
|
22527
|
-
"search.keyword.basic.time": "time, clock, hour, minute",
|
|
22528
22503
|
"dext-text-input.input.error.message.required-error": "Enter an answer.",
|
|
22529
22504
|
"settings.required-indicator-text": "(Required)",
|
|
22530
22505
|
"file-upload.dropzone.overlay.button": " Drop your files here",
|
|
22531
|
-
"search.keyword.address.apartment": "apartment, unit, suite, floor",
|
|
22532
22506
|
"field.time.perdiod.PM": "PM",
|
|
22533
22507
|
"contacts-birthdate.input.error.message.format-error": "Enter a month, day and year.",
|
|
22534
22508
|
"field.quiz-answer-feedback.correct": "Correct",
|
|
22535
|
-
"search.keyword.basic.long-answer": "long answer, paragraph, multiline, textarea",
|
|
22536
22509
|
"vat-id.input.error.message.required-error": "Enter a CPF/CNPJ number.",
|
|
22537
|
-
"search.keyword.events.repeater": "repeater, list, repeating group",
|
|
22538
22510
|
"bookings-email.input.error.message.format-error": "Enter an email address like example@mysite.com.",
|
|
22539
|
-
"search.keyword.contacts.email": "email, e-mail, mail, address",
|
|
22540
22511
|
"input.error.message.character-length-range-error": "Enter between {minLimit} and {maxLimit} characters.",
|
|
22541
22512
|
"bookings-phone.input.error.message.not-allowed-value": "Phone numbers with this country code aren\u2019t accepted.",
|
|
22542
|
-
"search.keyword.transaction.fixed-payment": "fixed payment, set amount, one-time",
|
|
22543
22513
|
"contacts-email.input.error.message.format-error": "Enter an email address like example@mysite.com.",
|
|
22544
|
-
"search.keyword.dext.checkbox": "checkbox, tick, boolean",
|
|
22545
22514
|
"dropdown.input.error.message.required-error": "Choose an option.",
|
|
22546
22515
|
"dext-text-area.input.error.message.required-error": "Enter an answer.",
|
|
22547
22516
|
"field.signature.settings.upload-button.label": "Upload Image",
|
|
@@ -22551,32 +22520,25 @@ var require_messages_en = __commonJS({
|
|
|
22551
22520
|
"contacts-number-input.input.error.message.required-error": "Enter a number.",
|
|
22552
22521
|
"date-picker.a11y.aria-label": "Show date picker",
|
|
22553
22522
|
"field.phone.country-search-input.aria-label": "Search",
|
|
22554
|
-
"search.keyword.basic.submit": "submit, send, save, continue",
|
|
22555
22523
|
"field.signature.a11y.state.drawing": "Writing signature...",
|
|
22556
22524
|
"input.error.message.unknown-value-error": "Must have additional properties.",
|
|
22557
22525
|
"dext-date-picker.input.error.message.max-value-error": "Enter a valid date from January 1, 1000 to today.",
|
|
22558
|
-
"search.keyword.bookings.header": "header, title, section heading",
|
|
22559
|
-
"search.keyword.basic.date": "date, calendar, day, pick a date",
|
|
22560
22526
|
"form.appointment.empty-state.notification.text": "Currently, there\u2019s no available time slots to schedule. Contact us to complete your request.",
|
|
22561
22527
|
"mla-country.input.error.message.required-error": "Choose a country/region.",
|
|
22562
22528
|
"field.time.label.hours": "Hours",
|
|
22563
|
-
"search.keyword.basic.nested-form": "nested form, subform, repeater group, group",
|
|
22564
22529
|
"file-upload.delete-file.aria-label": "Delete file",
|
|
22565
22530
|
"field.vat-id.label-br": "CPF/CNPJ",
|
|
22566
22531
|
"ecom-header.contact-details": "Customer details",
|
|
22567
22532
|
"input.error.message.invalid-staff-id-error": "This field is invalid.",
|
|
22568
|
-
"search.keyword.contacts.subscribe": "subscribe, subscription, opt in, newsletter, marketing, subscriber",
|
|
22569
22533
|
"date-input.input.error.message.format-error": "Enter a month, day and year.",
|
|
22570
22534
|
"contacts-first-name.input.error.message.required-error": "Enter a first name.",
|
|
22571
22535
|
"file-upload.dropzone.title": "Upload your file",
|
|
22572
|
-
"search.keyword.scheduling.appointment": "appointment, booking, schedule",
|
|
22573
22536
|
"form.a11y.step.index.title": "Step {index} out of {total}",
|
|
22574
22537
|
"field-context-menu.move-down": "Move down",
|
|
22575
22538
|
"contacts-url-input.input.error.message.required-error": "Enter a web URL like https://www.example.com.",
|
|
22576
22539
|
"field.time.label.minutes": "Minutes",
|
|
22577
22540
|
"dext-phone.input.error.message.format-error": "Enter a valid phone number.",
|
|
22578
22541
|
"bookings-phone.input.error.message.required-error": "Enter a phone number.",
|
|
22579
|
-
"search.keyword.multi-elements.tags": "tags, chips, labels, keywords",
|
|
22580
22542
|
"form.file-upload.explanation-text": "{count, plural, =1 {# file} other {# files}} uploaded",
|
|
22581
22543
|
"contacts-last-name.input.error.message.required-error": "Enter a last name.",
|
|
22582
22544
|
"field.signature.mode.selector.aria-label": "Signature input mode",
|
|
@@ -22585,33 +22547,25 @@ var require_messages_en = __commonJS({
|
|
|
22585
22547
|
"date-picker.a11y.dropdown-year": "Select year",
|
|
22586
22548
|
"time-input.input.error.message.format-error": "Enter hours and minutes.",
|
|
22587
22549
|
"field-context-menu.hide-field": "Hide field",
|
|
22588
|
-
"search.keyword.basic.number": "number, numeric, quantity, digits",
|
|
22589
22550
|
"input.error.message.not-allowed-value": "The chosen value is not allowed.",
|
|
22590
22551
|
"input.error.message.min-value-error": "Enter a number that is {limit} or more.",
|
|
22591
|
-
"search.keyword.dext.number-input": "number input, numeric field",
|
|
22592
22552
|
"input.error.message.incomplete-date-error.month-day": "Enter a month and day.",
|
|
22593
22553
|
"field.date.placeholder.time": "HH:MM",
|
|
22594
22554
|
"submit.checkout.message": "Redirecting to checkout...",
|
|
22595
22555
|
"input.error.message.invalid-phone-country-code-error": "Enter a valid country code.",
|
|
22596
22556
|
"mla-street-name.input.error.message.required-error": "Enter a street name.",
|
|
22597
|
-
"search.keyword.bookings.first-name": "first name, given name",
|
|
22598
22557
|
"bookings-first-name.input.error.message.required-error": "Enter a first name.",
|
|
22599
22558
|
"vat-id.input.error.message.format-error": "Enter a valid CPF/CNPJ number.",
|
|
22600
|
-
"search.keyword.contacts.first-name": "first name, given name, forename",
|
|
22601
22559
|
"form.appointment.accessibility.calendar.next-week.aria-label": "Show next week",
|
|
22602
22560
|
"donation.input.error.message.required-error": "Choose a donation amount.",
|
|
22603
22561
|
"input.error.message.incomplete-date-error.month": "Enter a month.",
|
|
22604
22562
|
"input.error.message.incomplete-date-error.year": "Enter a 4 digit year.",
|
|
22605
22563
|
"vat-id.input.error.message.format-error.il": "Enter a valid 9 digit ID (\u201Cteudat zehut\u201D) or Company number (\u201Chet pey\u201D).",
|
|
22606
|
-
"search.keyword.quiz.single-choice": "quiz single choice, one answer",
|
|
22607
22564
|
"field.phone.aria-label": "Phone",
|
|
22608
22565
|
"field.signature.canvas.aria-label.empty": "Signature drawing area (empty)",
|
|
22609
22566
|
"file-upload.dropzone.limit-reached.title": "You\u2019ve reached the file upload limit.",
|
|
22610
|
-
"search.keyword.transaction.payment-input": "payment input, amount, pay",
|
|
22611
|
-
"search.keyword.contacts.tax-id": "tax id, vat, tin, ein, tax number",
|
|
22612
22567
|
"form.appointment.accessibility.calendar.has-availability.aria-label": "This day has available time slots.",
|
|
22613
22568
|
"bookings-phone.input.error.message.pattern-error": "Enter a valid phone number.",
|
|
22614
|
-
"search.keyword.bookings.last-name": "last name, surname",
|
|
22615
22569
|
"input.error.message.incomplete-date-error.month-time": "Enter a month and time.",
|
|
22616
22570
|
"product-list.input.error.message.required-error": "Choose an option.",
|
|
22617
22571
|
"field-context-menu.move-to-next-page": "Move to next page",
|
|
@@ -22620,9 +22574,6 @@ var require_messages_en = __commonJS({
|
|
|
22620
22574
|
"vat-id.input.error.message.format-error.br": "Enter a valid CPF/CNPJ number.",
|
|
22621
22575
|
"input.error.message.exact-character-length-error": "Enter exactly {limit, plural, one {# character} other {# characters}}.",
|
|
22622
22576
|
"submission-table.signature.signed": "Signed",
|
|
22623
|
-
"search.keyword.contacts.last-name": "last name, surname, family name",
|
|
22624
|
-
"search.keyword.quiz.number": "quiz number, numeric question",
|
|
22625
|
-
"search.keyword.dext.text-area": "text area, multiline, paragraph",
|
|
22626
22577
|
"input.error.message.incomplete-date-error": "Enter a month, day and year.",
|
|
22627
22578
|
"ecom-email.input.error.message.format-error": "Enter an email address like example@mysite.com.",
|
|
22628
22579
|
"field.vat-id.label-il": "ID/Company number",
|
|
@@ -22636,43 +22587,28 @@ var require_messages_en = __commonJS({
|
|
|
22636
22587
|
"field.signature.mode.upload.label": "Upload",
|
|
22637
22588
|
"input.error.message.unknown-error": "Unknown error, please contact Support.",
|
|
22638
22589
|
"input.error.message.max-items-error": "Choose up to {limit, plural, one {# option} other {# options}}.",
|
|
22639
|
-
"search.keyword.basic.multiline-address": "multiline address, full address, address block",
|
|
22640
22590
|
"file-upload.popover.aria-label": "List of uploaded files",
|
|
22641
|
-
"search.keyword.address.street-name": "street name, road, avenue",
|
|
22642
|
-
"search.keyword.layout-elements.login-bar": "login bar, member bar, account",
|
|
22643
22591
|
"input.error.message.multiple-of-value-error": "Choose a multiple of {multipleOf}.",
|
|
22644
22592
|
"full-name-last-name.input.error.message.required-error": "Enter a last name.",
|
|
22645
|
-
"search.keyword.ecom.shipping-details": "shipping details, delivery, shipping address",
|
|
22646
22593
|
"field-context-menu.paste": "Paste",
|
|
22647
|
-
"search.keyword.basic.full-name-last-name": "last name, surname",
|
|
22648
22594
|
"input.error.message.pattern-error": 'Match the pattern "{pattern}".',
|
|
22649
22595
|
"dext-number-input.input.error.message.required-error": "Enter a number.",
|
|
22650
22596
|
"field-context-menu.ai-assistant": "Ask AI",
|
|
22651
22597
|
"field-context-menu.move-to-previous-page": "Move to previous page",
|
|
22652
22598
|
"dext-date-picker.input.error.message.required-error": "Choose a date.",
|
|
22653
|
-
"search.keyword.address.city": "city, town",
|
|
22654
22599
|
"date-input.input.error.message.max-value-error": "Enter a valid date from January 1, 1000 to today.",
|
|
22655
22600
|
"dext-checkbox-group.input.error.message.required-error": "Choose an option.",
|
|
22656
22601
|
"file-upload.dropzone.subtitle": "Choose a file or drag and drop one here.",
|
|
22657
22602
|
"dext-radio-group.input.error.message.required-error": "Choose an option.",
|
|
22658
|
-
"search.keyword.multi-elements.multi-checkbox": "multi checkbox, checkboxes, multiple selection",
|
|
22659
|
-
"search.keyword.basic.short-answer": "short answer, text, single line, input",
|
|
22660
22603
|
"checkbox.input.error.message.not-allowed-value": "Check the box to continue.",
|
|
22661
22604
|
"contacts-birthdate.input.error.message.max-value-error": "Enter a date from January 1, 1900 to today.",
|
|
22662
|
-
"search.keyword.dext.rating-input": "rating input, stars, score, review",
|
|
22663
|
-
"search.keyword.dext.url-input": "url input, link, website, web address",
|
|
22664
22605
|
"input.error.message.incomplete-date-error.month-day-time": "Enter a month, day and time.",
|
|
22665
22606
|
"file-upload.aria-roledescription": "File upload",
|
|
22666
|
-
"search.keyword.basic.vat-id": "vat id, vat number, tax id",
|
|
22667
22607
|
"contacts-phone.input.error.message.pattern-error": "Enter a valid phone number.",
|
|
22668
22608
|
"mla-street-number.input.error.message.required-error": "Enter a house number.",
|
|
22669
|
-
"search.keyword.ecom.contact-details": "contact details, customer info",
|
|
22670
22609
|
"date-picker.a11y.dropdown-month": "Select month",
|
|
22671
22610
|
"field.signature.mode.type.label": "Type",
|
|
22672
22611
|
"settings.default-value-conflict.min-value-error": "Min characters must be at least the default text length. Update the character limit or shorten the text.",
|
|
22673
|
-
"search.keyword.contacts.address": "address, location, street, city, country, postal code, area",
|
|
22674
|
-
"search.keyword.bookings.phone": "phone, contact number, telephone, mobile",
|
|
22675
|
-
"search.keyword.address.subdivision": "state, province, region, subdivision",
|
|
22676
22612
|
"date-picker.input.error.message.min-value-error": "Enter a valid date after today\u2019s date.",
|
|
22677
22613
|
"date-time-input.input.error.message.min-value-error": "Enter a valid date after today\u2019s date.",
|
|
22678
22614
|
"dext-checkbox.input.error.message.required-error": "Check the box to continue.",
|
|
@@ -22683,7 +22619,6 @@ var require_messages_en = __commonJS({
|
|
|
22683
22619
|
"dext-checkbox.input.error.message.not-allowed-value": "Check the box to continue.",
|
|
22684
22620
|
"field.date.placeholder.year": "Year",
|
|
22685
22621
|
"date-picker.input.error.message.max-value-error": "Enter a valid date from January 1, 1000 to today.",
|
|
22686
|
-
"search.keyword.bookings.rich-text": "rich text, formatted text, description",
|
|
22687
22622
|
"field.signature.text.placeholder": "Type your signature",
|
|
22688
22623
|
"dext-date-picker.input.error.message.format-error": "Choose a date.",
|
|
22689
22624
|
"form.file-upload.error.upload-limit": "There is an upload limit of {limit, plural, one {# file} other {# files}}.",
|
|
@@ -22693,69 +22628,46 @@ var require_messages_en = __commonJS({
|
|
|
22693
22628
|
"text-area.input.error.message.required-error": "Enter an answer.",
|
|
22694
22629
|
"field.phone.country-search-input.placeholder": "Search",
|
|
22695
22630
|
"submission-table.appointment.meeting-tool-tip": "Go to Scheduled Meetings",
|
|
22696
|
-
"search.keyword.layout-elements.header": "header, page header, top bar",
|
|
22697
|
-
"search.keyword.ecom.additional-info": "additional info, notes, instructions",
|
|
22698
22631
|
"donation.other-option.placeholder": "Enter an amount",
|
|
22699
22632
|
"dext-rating-input.input.error.message.required-error": "Choose a star rating.",
|
|
22700
22633
|
"field.signature.a11y.action-description.draw": "Sign in the box.",
|
|
22701
|
-
"search.keyword.ecom.full-name": "full name, recipient name, first and last",
|
|
22702
22634
|
"contacts-birthdate.input.error.message.min-value-error": "Enter a date from January 1, 1900 to today.",
|
|
22703
22635
|
"mla-subdivision.input.error.message.required-error": "Choose an option.",
|
|
22704
22636
|
"dext-dropdown.input.error.message.required-error": "Choose an option.",
|
|
22705
22637
|
"contacts-text-input.input.error.message.required-error": "Enter an answer.",
|
|
22706
|
-
"search.keyword.dext.phone": "phone, telephone, mobile",
|
|
22707
22638
|
"field.date.label.day": "Day",
|
|
22708
|
-
"search.keyword.basic.url": "url, website, link, web address",
|
|
22709
22639
|
"vat-id.input.error.message.required-error.br": "Enter a CPF/CNPJ number.",
|
|
22710
|
-
"search.keyword.bookings.email": "email, contact email, mail",
|
|
22711
22640
|
"date-picker.calendar.close-button": "Close",
|
|
22712
|
-
"search.keyword.contacts.phone": "phone, telephone, mobile, cell, number",
|
|
22713
22641
|
"input.error.message.invalid-value-for-pattern": "Enter a valid answer.",
|
|
22714
22642
|
"radio-group.input.error.message.required-error": "Choose an option.",
|
|
22715
22643
|
"input.error.message.min-items-error": "Choose at least {limit, plural, one {# option} other {# options}}.",
|
|
22716
22644
|
"ecom.form.field-type.ecom-subscriptions.label": "I agree to receive news to the email address and/or phone numbers added",
|
|
22717
|
-
"search.keyword.ecom.phone": "phone, contact number, telephone, mobile",
|
|
22718
22645
|
"input.error.message.decimal_point_error": "Add {number} number(s) after the decimal point.",
|
|
22719
22646
|
"bookings-email.input.error.message.required-error": "Enter an email address like example@mysite.com.",
|
|
22720
|
-
"search.keyword.layout-elements.rich-text": "rich text, formatted content, paragraph",
|
|
22721
22647
|
"contacts-subscribe.input.error.message.required-error": "Check the box to continue.",
|
|
22722
|
-
"search.keyword.dext.dropdown": "dropdown, select, menu",
|
|
22723
|
-
"search.keyword.address.postal-code": "postal code, zip, postcode",
|
|
22724
22648
|
"form.appointment.show-more-slots.text": "Show more slots",
|
|
22725
22649
|
"form.file-upload.error.upload-failed": "File upload failed.",
|
|
22726
22650
|
"dext-email.input.error.message.format-error": "Enter an email address like example@mysite.com.",
|
|
22727
22651
|
"full-name-first-name.input.error.message.required-error": "Enter a first name.",
|
|
22728
22652
|
"field-context-menu.settings": "Settings",
|
|
22729
|
-
"search.keyword.quiz.multi-choice": "quiz multiple choice, multi select",
|
|
22730
22653
|
"settings.default-value-conflict.max-value-error": "Max characters must be at least the default text length. Update the character limit or shorten the text.",
|
|
22731
|
-
"search.keyword.address.address-line-2": "address line 2, apt, suite, unit",
|
|
22732
22654
|
"bookings-last-name.input.error.message.required-error": "Enter a last name.",
|
|
22733
|
-
"search.keyword.transaction.product": "product, item, sku, purchase",
|
|
22734
22655
|
"appointment.input.error.message.required-error": "This field is required.",
|
|
22735
22656
|
"field-context-menu.make-required": "Make required",
|
|
22736
|
-
"search.keyword.contacts.position": "position, job title, role, occupation",
|
|
22737
|
-
"search.keyword.bookings.address": "address, location",
|
|
22738
|
-
"search.keyword.multi-elements.checkbox": "checkbox, tick box, check",
|
|
22739
22657
|
"date-time-input.input.error.message.format-error": "Enter a month, day and year.",
|
|
22740
22658
|
"field.date.label.time": "Time",
|
|
22741
|
-
"search.keyword.basic.full-name-first-name": "first name, given name",
|
|
22742
22659
|
"input.error.message.required-error": "This field is required.",
|
|
22743
22660
|
"field.phone.country-selector-dropdown.no-result": "No results found...",
|
|
22744
22661
|
"input.error.message.exact-items-number-error": "Choose {limit, plural, one {# option} other {# options}}.",
|
|
22745
22662
|
"form.appointment.timezone.label": "Time zone",
|
|
22746
|
-
"
|
|
22747
|
-
"search.keyword.basic.file-upload": "file upload, attachment, upload, file",
|
|
22748
|
-
"dext-date-time-input.input.error.message.required-error": "Choose a date and time.",
|
|
22663
|
+
"dext-date-time-input.input.error.message.required-error": "Enter a month, day and year.",
|
|
22749
22664
|
"date-time-input.input.error.message.max-value-error": "Enter a valid date from January 1, 1000 to today.",
|
|
22750
22665
|
"date-picker.a11y.arrow-right": "Go to next month",
|
|
22751
|
-
"search.keyword.quiz.long-text": "quiz long text, paragraph",
|
|
22752
22666
|
"input.error.message.incomplete-date-error.time": "Enter a time.",
|
|
22753
22667
|
"field.signature.canvas.aria-label.signed": "Signature drawing area (signed)",
|
|
22754
22668
|
"settings.default-value-conflict.regex-error": "The regex must be viable for the entered default value. Update the regex or change the text.",
|
|
22755
22669
|
"contacts-phone.input.error.message.format-error": "Enter a valid phone number.",
|
|
22756
22670
|
"tags.input.error.message.required-error": "Choose an option.",
|
|
22757
|
-
"search.keyword.contacts.birthdate": "birthdate, birthday, date of birth, dob",
|
|
22758
|
-
"search.keyword.basic.date-time": "date time, datetime, timestamp, schedule",
|
|
22759
22671
|
"file-upload.dropzone.limit-reached.subtitle": "Delete a file to add a different one.",
|
|
22760
22672
|
"input.error.message.max-value-error": "Enter a number that is {limit} or less.",
|
|
22761
22673
|
"input.error.message.min-length-error": "Enter at least {limit, plural, one {# character} other {# characters}}.",
|
|
@@ -39127,9 +39039,6 @@ var NumberInput = (_ref) => {
|
|
|
39127
39039
|
hasError,
|
|
39128
39040
|
validation
|
|
39129
39041
|
} = useFieldPropsV2();
|
|
39130
|
-
const {
|
|
39131
|
-
locale
|
|
39132
|
-
} = useConfig();
|
|
39133
39042
|
const multipleOf = (validation == null || (_validation$number = validation.number) == null ? void 0 : _validation$number.multipleOf) || 1;
|
|
39134
39043
|
const maximum = validation == null || (_validation$number2 = validation.number) == null ? void 0 : _validation$number2.maximum;
|
|
39135
39044
|
const minimum = validation == null || (_validation$number3 = validation.number) == null ? void 0 : _validation$number3.minimum;
|
|
@@ -39163,9 +39072,7 @@ var NumberInput = (_ref) => {
|
|
|
39163
39072
|
return /* @__PURE__ */ React45__default.createElement(FieldLayout, {
|
|
39164
39073
|
fieldId: id,
|
|
39165
39074
|
renderLabel: () => labelElement,
|
|
39166
|
-
renderInput: () => /* @__PURE__ */ React45__default.createElement(
|
|
39167
|
-
locale
|
|
39168
|
-
}, /* @__PURE__ */ React45__default.createElement(NumberField, {
|
|
39075
|
+
renderInput: () => /* @__PURE__ */ React45__default.createElement(NumberField, {
|
|
39169
39076
|
value: internalValue,
|
|
39170
39077
|
onChange: handleChange,
|
|
39171
39078
|
isDisabled: disabled,
|
|
@@ -39176,7 +39083,7 @@ var NumberInput = (_ref) => {
|
|
|
39176
39083
|
onFocus,
|
|
39177
39084
|
minValue: minimum ?? void 0,
|
|
39178
39085
|
maxValue: maximum ?? void 0
|
|
39179
|
-
}, inputElement)
|
|
39086
|
+
}, inputElement),
|
|
39180
39087
|
renderDescription: () => /* @__PURE__ */ React45__default.createElement(React45__default.Fragment, null, descriptionElement, errorElement)
|
|
39181
39088
|
});
|
|
39182
39089
|
};
|