@bigbinary/neeto-form-frontend 1.0.50 → 1.0.52

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.js CHANGED
@@ -23472,12 +23472,7 @@ var common = {
23472
23472
  fieldReq: "{{field}} is required",
23473
23473
  thisFieldIsRequired: "This Field is required",
23474
23474
  somethingWentWrong: "Something went wrong!",
23475
- unsavedChangesAlert: {
23476
- title: "You have unsaved changes!",
23477
- message: "Are you sure you want to continue? All of your unsaved changes will be lost."
23478
- },
23479
23475
  "delete": "Delete",
23480
- remove: "Remove",
23481
23476
  agreeTermsAndConditions: "I agree to terms & conditions mentioned below",
23482
23477
  agreeCondition: "I agree",
23483
23478
  mustAcceptTermsAndConditions: "You must accept the terms and conditions",
@@ -23486,26 +23481,17 @@ var common = {
23486
23481
  phNo: "Phone number",
23487
23482
  name: "Name",
23488
23483
  text: "Text",
23489
- results: "Results",
23490
23484
  rate: "Rate",
23491
23485
  reset: "Reset",
23492
- submit: "Submit",
23493
- formName: "Form Name",
23494
23486
  singleChoice: "Single choice",
23495
23487
  company: "Company",
23496
23488
  select: "Select",
23497
23489
  selectOne: "Select one",
23498
23490
  required: "Required",
23499
- description: "Description",
23500
- cantBeEmpty: "{{field}} can't be empty",
23501
23491
  invalidURL: "Invalid URL",
23502
23492
  paragraphCantBeEmpty: "Paragraph can't be empty",
23503
23493
  fillTheFormToChat: "Please fill in the form to start chatting.",
23504
23494
  phoneNumberValidation: "phone number starting with country code",
23505
- phoneNo: {
23506
- defaultPlaceholder: "Phone number starting with country code. Eg: +1543213321"
23507
- },
23508
- content: "Content",
23509
23495
  yes: "Yes",
23510
23496
  count: "Count",
23511
23497
  icon: "Icon",
@@ -23528,7 +23514,6 @@ var fields = {
23528
23514
  tcf: "Terms and conditions",
23529
23515
  date: "Date",
23530
23516
  fbf: "Feedback",
23531
- meif: "Multiple email",
23532
23517
  agif: "Additional guests",
23533
23518
  rtf: "Rich text field",
23534
23519
  cf: "Condition"
@@ -23553,15 +23538,11 @@ var questions = {
23553
23538
  },
23554
23539
  common: {
23555
23540
  notFound: "No questions found",
23556
- switchLabel: "{{label}} questions",
23557
23541
  primaryPanel: {
23558
- resetMsg: "The changes are canceled.",
23559
23542
  addNewQuestion: "Add new question"
23560
23543
  },
23561
23544
  duplicateBtn: "Duplicate",
23562
- minOneQuestion: "At least 1 question is required",
23563
23545
  questionFields: {
23564
- descr: "Enter your description",
23565
23546
  field: {
23566
23547
  question: "Question",
23567
23548
  placeholder: "Placeholder",
@@ -23569,19 +23550,7 @@ var questions = {
23569
23550
  addOption: "Add new option",
23570
23551
  option: "Option",
23571
23552
  options: "Options",
23572
- ratings: "Ratings",
23573
- ty: "Enter your thank you message here",
23574
- yes: "Yes",
23575
- no: "No",
23576
23553
  labelExample: "Eg: {{what}}",
23577
- placeholderExample: "Eg: Please enter your {{what}}",
23578
- placeholderExampleSelect: "Eg: Please select {{what}}",
23579
- termsLink: "Terms and conditions link",
23580
- termsLinkPlaceholder: "Eg: https://www.example.com/terms",
23581
- policyLink: "Privacy policy link",
23582
- policyLinkPlaceholder: "Eg: https://www.example.com/policy",
23583
- showEnableButton: "Show enable button",
23584
- enableButtonLabel: "Enable button label",
23585
23554
  label: "Label"
23586
23555
  }
23587
23556
  }
@@ -28097,10 +28066,10 @@ var Terms$3 = function Terms(_ref) {
28097
28066
  var editorRef = (cov_12g0frjp3f().s[1]++, useRef(null));
28098
28067
  cov_12g0frjp3f().s[2]++;
28099
28068
  var validateContent = function validateContent() {
28100
- var _editorRef$current$ed;
28069
+ var _editorRef$current, _editorRef$current$ed;
28101
28070
  cov_12g0frjp3f().f[1]++;
28102
28071
  cov_12g0frjp3f().s[3]++;
28103
- if ((_editorRef$current$ed = editorRef.current.editor) !== null && _editorRef$current$ed !== void 0 && _editorRef$current$ed.isEmpty) {
28072
+ if ((_editorRef$current = editorRef.current) !== null && _editorRef$current !== void 0 && (_editorRef$current$ed = _editorRef$current.editor) !== null && _editorRef$current$ed !== void 0 && _editorRef$current$ed.isEmpty) {
28104
28073
  cov_12g0frjp3f().b[0][0]++;
28105
28074
  cov_12g0frjp3f().s[4]++;
28106
28075
  return "This field is required";
@@ -28487,10 +28456,10 @@ var Editor = function Editor(_ref) {
28487
28456
  t = _ref3.t;
28488
28457
  cov_2gcfk56wsh().s[4]++;
28489
28458
  var validateContent = function validateContent() {
28490
- var _editorRef$current$ed;
28459
+ var _editorRef$current, _editorRef$current$ed;
28491
28460
  cov_2gcfk56wsh().f[1]++;
28492
28461
  cov_2gcfk56wsh().s[5]++;
28493
- if ((_editorRef$current$ed = editorRef.current.editor) !== null && _editorRef$current$ed !== void 0 && _editorRef$current$ed.isEmpty) {
28462
+ if ((_editorRef$current = editorRef.current) !== null && _editorRef$current !== void 0 && (_editorRef$current$ed = _editorRef$current.editor) !== null && _editorRef$current$ed !== void 0 && _editorRef$current$ed.isEmpty) {
28494
28463
  cov_2gcfk56wsh().b[0][0]++;
28495
28464
  cov_2gcfk56wsh().s[6]++;
28496
28465
  return t("common.thisFieldIsRequired");