@sparrowengg/integrations-templates-frontend 1.9.67 → 1.9.69

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.
Files changed (24) hide show
  1. package/dist/cjs/_virtual/index10.js +2 -2
  2. package/dist/cjs/_virtual/index9.js +2 -2
  3. package/dist/cjs/integration-template/components/dashboard.js +305 -175
  4. package/dist/cjs/integration-template/components/dashboard.js.map +1 -1
  5. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  6. package/dist/cjs/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
  7. package/dist/cjs/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
  8. package/dist/cjs/single-mapping/components/mapping.js +14 -8
  9. package/dist/cjs/single-mapping/components/mapping.js.map +1 -1
  10. package/dist/cjs/single-mapping/index.js +204 -73
  11. package/dist/cjs/single-mapping/index.js.map +1 -1
  12. package/dist/es/_virtual/index10.js +2 -2
  13. package/dist/es/_virtual/index9.js +2 -2
  14. package/dist/es/integration-template/components/dashboard.js +305 -175
  15. package/dist/es/integration-template/components/dashboard.js.map +1 -1
  16. package/dist/es/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  17. package/dist/es/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
  18. package/dist/es/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
  19. package/dist/es/single-mapping/components/mapping.js +14 -8
  20. package/dist/es/single-mapping/components/mapping.js.map +1 -1
  21. package/dist/es/single-mapping/index.js +204 -73
  22. package/dist/es/single-mapping/index.js.map +1 -1
  23. package/dist/index.d.ts +3 -2
  24. package/package.json +1 -1
@@ -14,10 +14,10 @@ var arrowLeft = require('../node_modules/@sparrowengg/twigs-react-icons/dist/es/
14
14
  var heading = require('../node_modules/@sparrowengg/twigs-react/dist/es/heading/heading.js');
15
15
  var button = require('../node_modules/@sparrowengg/twigs-react/dist/es/button/button.js');
16
16
  var text = require('../node_modules/@sparrowengg/twigs-react/dist/es/text/text.js');
17
+ var tooltip = require('../node_modules/@sparrowengg/twigs-react/dist/es/tooltip/tooltip.js');
17
18
  var dropdown = require('../node_modules/@sparrowengg/twigs-react/dist/es/dropdown/dropdown.js');
18
19
  var input = require('../node_modules/@sparrowengg/twigs-react/dist/es/input/input.js');
19
20
  var chevronDown = require('../node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-down.js');
20
- var tooltip = require('../node_modules/@sparrowengg/twigs-react/dist/es/tooltip/tooltip.js');
21
21
  var calendar = require('../node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar.js');
22
22
  var radio = require('../node_modules/@sparrowengg/twigs-react/dist/es/radio/radio.js');
23
23
  var formLabel = require('../node_modules/@sparrowengg/twigs-react/dist/es/form-label/form-label.js');
@@ -57,7 +57,7 @@ const SingleMapping = ({
57
57
  apiURL = index.surveySparrowURL,
58
58
  surveyDetails,
59
59
  importResponse,
60
- hasPreviousMapping,
60
+ hasExistingMapping,
61
61
  onSaveHandler,
62
62
  editField,
63
63
  previousMappingHandler
@@ -69,13 +69,9 @@ const SingleMapping = ({
69
69
  expressions: [],
70
70
  property: []
71
71
  });
72
- const [previousMapping, setPreviousMapping] = React.useState(
73
- hasPreviousMapping != null ? hasPreviousMapping : false
74
- );
75
72
  React.useEffect(() => {
76
73
  if (!!(editField == null ? void 0 : editField.id)) {
77
74
  navigateMappingPage(true);
78
- setPreviousMapping(true);
79
75
  }
80
76
  }, []);
81
77
  return /* @__PURE__ */ React.createElement(
@@ -99,7 +95,7 @@ const SingleMapping = ({
99
95
  configuration.onSaveHandler();
100
96
  },
101
97
  isMappingPage,
102
- hasPreviousMapping: previousMapping,
98
+ hasExistingMapping,
103
99
  navigateConfigPage: () => navigateMappingPage(false),
104
100
  previousMappingHandler,
105
101
  onSaveHandler: () => {
@@ -146,7 +142,7 @@ const SingleMapping = ({
146
142
  const MappingHeader = ({
147
143
  editField,
148
144
  importResponse,
149
- hasPreviousMapping,
145
+ hasExistingMapping,
150
146
  ssMappingData,
151
147
  isMappingPage,
152
148
  navigateConfigPage,
@@ -197,7 +193,7 @@ const MappingHeader = ({
197
193
  {
198
194
  gap: "$6",
199
195
  alignItems: "center",
200
- css: { visibility: hasPreviousMapping ? "visible" : "hidden" }
196
+ css: { visibility: hasExistingMapping ? "visible" : "hidden" }
201
197
  },
202
198
  /* @__PURE__ */ React.createElement(
203
199
  iconButton.IconButton,
@@ -250,7 +246,9 @@ const MappingHeader = ({
250
246
  "Mapping"
251
247
  )
252
248
  ),
253
- /* @__PURE__ */ React.createElement(
249
+ /* @__PURE__ */ React.createElement(flex.Flex, { justifyContent: "center", css: {
250
+ width: "180px"
251
+ } }, /* @__PURE__ */ React.createElement(
254
252
  button.Button,
255
253
  {
256
254
  size: "lg",
@@ -264,15 +262,27 @@ const MappingHeader = ({
264
262
  }
265
263
  },
266
264
  isMappingPage ? (editField == null ? void 0 : editField.id) ? "Update Mapping" : "Save Mapping" : "Continue, Mapping"
267
- )
265
+ ))
268
266
  );
269
267
  };
270
268
  const ConfigurationSetup = ({
271
269
  configuration,
272
270
  surveyName
273
271
  }) => {
274
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
275
- return /* @__PURE__ */ React.createElement(box.Box, { css: { maxWidth: 488, width: "100%" } }, /* @__PURE__ */ React.createElement(heading.Heading, { size: "h5" }, "Event Details"), /* @__PURE__ */ React.createElement(flex.Flex, { gap: "$2", css: { marginTop: "$4" } }, /* @__PURE__ */ React.createElement(text.Text, { size: "sm", css: { color: "$neutral500" } }, "Survey Name:"), /* @__PURE__ */ React.createElement(text.Text, { size: "sm", weight: "medium", truncate: true, css: { color: "$neutral800", maxWidth: "270px" } }, surveyName)), /* @__PURE__ */ React.createElement(
272
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
273
+ return /* @__PURE__ */ React.createElement(box.Box, { css: { maxWidth: 488, width: "100%" } }, /* @__PURE__ */ React.createElement(heading.Heading, { size: "h5" }, "Event Details"), /* @__PURE__ */ React.createElement(flex.Flex, { gap: "$2", css: { marginTop: "$4" } }, /* @__PURE__ */ React.createElement(text.Text, { size: "sm", css: { color: "$neutral500" } }, "Survey Name:"), /* @__PURE__ */ React.createElement(tooltip.Tooltip, { content: (surveyName == null ? void 0 : surveyName.length) > 30 ? surveyName : "", css: {
274
+ zIndex: "9999999 !important",
275
+ fontFamily: "DM Sans !important"
276
+ } }, /* @__PURE__ */ React.createElement(box.Box, null, /* @__PURE__ */ React.createElement(
277
+ text.Text,
278
+ {
279
+ size: "sm",
280
+ weight: "medium",
281
+ truncate: true,
282
+ css: { color: "$neutral800", maxWidth: "270px" }
283
+ },
284
+ surveyName
285
+ )))), /* @__PURE__ */ React.createElement(
276
286
  flex.Flex,
277
287
  {
278
288
  flexDirection: "column",
@@ -285,11 +295,49 @@ const ConfigurationSetup = ({
285
295
  }
286
296
  },
287
297
  (_a = configuration.configurationFields) == null ? void 0 : _a.map((field) => {
288
- return /* @__PURE__ */ React.createElement(Configuration, { field, configuredFields: configuration.configuredFields });
298
+ return /* @__PURE__ */ React.createElement(
299
+ Configuration,
300
+ {
301
+ field,
302
+ configuredFields: configuration.configuredFields
303
+ }
304
+ );
289
305
  }),
290
- configuration.importOptions.showImportOptions && /* @__PURE__ */ React.createElement(flex.Flex, { gap: "$2", flexDirection: "column" }, /* @__PURE__ */ React.createElement(CustomDropdown, { data: configuration.importOptions.options, value: (_c = (_b = configuration == null ? void 0 : configuration.configuredFields) == null ? void 0 : _b.responseImportType) == null ? void 0 : _c.value, onChangeHandler: configuration.importOptions.onChangeHandler })),
291
- ((_f = (_e = (_d = configuration.configuredFields) == null ? void 0 : _d.responseImportType) == null ? void 0 : _e.value) == null ? void 0 : _f.type) === "date" && /* @__PURE__ */ React.createElement(text.Text, { size: "sm", weight: "regular", css: { color: "$neutral600", marginTop: "-$6" } }, `Existing responses from ${(_i = (_h = (_g = configuration.configuredFields) == null ? void 0 : _g.responseImportType) == null ? void 0 : _h.value) == null ? void 0 : _i.value} will be imported`),
292
- configuration.importOptions.excludeResponse && ((_l = (_k = (_j = configuration.configuredFields) == null ? void 0 : _j.responseImportType) == null ? void 0 : _k.value) == null ? void 0 : _l.type) === "dateRange" && /* @__PURE__ */ React.createElement(Configuration, { field: configuration.importOptions.excludeResponse, configuredFields: configuration.configuredFields, responseImportType: (_p = (_o = (_n = (_m = configuration.configuredFields) == null ? void 0 : _m.responseImportType) == null ? void 0 : _n.value) == null ? void 0 : _o.value) == null ? void 0 : _p.label })
306
+ configuration.importOptions.showImportOptions && /* @__PURE__ */ React.createElement(
307
+ flex.Flex,
308
+ {
309
+ gap: "$2",
310
+ flexDirection: "column",
311
+ css: {
312
+ marginTop: "-4px !important"
313
+ }
314
+ },
315
+ /* @__PURE__ */ React.createElement(
316
+ CustomDropdown,
317
+ {
318
+ data: configuration.importOptions.options,
319
+ value: (_d = (_c = (_b = configuration == null ? void 0 : configuration.configuredFields) == null ? void 0 : _b.responseImportType) == null ? void 0 : _c.value) != null ? _d : configuration.importOptions.options[0],
320
+ onChangeHandler: configuration.importOptions.onChangeHandler
321
+ }
322
+ )
323
+ ),
324
+ ((_g = (_f = (_e = configuration.configuredFields) == null ? void 0 : _e.responseImportType) == null ? void 0 : _f.value) == null ? void 0 : _g.type) === "date" && /* @__PURE__ */ React.createElement(
325
+ text.Text,
326
+ {
327
+ size: "sm",
328
+ weight: "regular",
329
+ css: { color: "$neutral600", marginTop: "-$6" }
330
+ },
331
+ `Existing responses from ${(_j = (_i = (_h = configuration.configuredFields) == null ? void 0 : _h.responseImportType) == null ? void 0 : _i.value) == null ? void 0 : _j.value} will be imported`
332
+ ),
333
+ configuration.importOptions.excludeResponse && ((_m = (_l = (_k = configuration.configuredFields) == null ? void 0 : _k.responseImportType) == null ? void 0 : _l.value) == null ? void 0 : _m.type) === "dateRange" && /* @__PURE__ */ React.createElement(
334
+ Configuration,
335
+ {
336
+ field: configuration.importOptions.excludeResponse,
337
+ configuredFields: configuration.configuredFields,
338
+ responseImportType: (_q = (_p = (_o = (_n = configuration.configuredFields) == null ? void 0 : _n.responseImportType) == null ? void 0 : _o.value) == null ? void 0 : _p.value) == null ? void 0 : _q.label
339
+ }
340
+ )
293
341
  ));
294
342
  };
295
343
  const CustomDropdown = ({ data, onChangeHandler, value }) => {
@@ -303,12 +351,7 @@ const CustomDropdown = ({ data, onChangeHandler, value }) => {
303
351
  });
304
352
  const [days, setDays] = React.useState((_b = (_a = value == null ? void 0 : value.value) == null ? void 0 : _a.value) != null ? _b : 0);
305
353
  const [open, setOpen] = React.useState(false);
306
- return /* @__PURE__ */ React.createElement(dropdown.DropdownMenu, { open, onOpenChange: setOpen, modal: false }, /* @__PURE__ */ React.createElement(dropdown.DropdownMenuTrigger, { onClick: () => {
307
- setOpen(true);
308
- }, css: {
309
- border: "none !important",
310
- background: "transparent !important"
311
- } }, /* @__PURE__ */ React.createElement(
354
+ return /* @__PURE__ */ React.createElement(dropdown.DropdownMenu, { open, onOpenChange: setOpen, modal: false }, /* @__PURE__ */ React.createElement(dropdown.DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(
312
355
  input.Input,
313
356
  {
314
357
  size: "lg",
@@ -351,7 +394,8 @@ const CustomDropdown = ({ data, onChangeHandler, value }) => {
351
394
  {
352
395
  disabled: option == null ? void 0 : option.disabled,
353
396
  css: {
354
- cursor: (option == null ? void 0 : option.disabled) ? "not-allowed !important" : "pointer !important"
397
+ cursor: (option == null ? void 0 : option.disabled) ? "not-allowed !important" : "pointer !important",
398
+ background: (value == null ? void 0 : value.type) === option.type ? "#4A9CA626 !important" : "transparent !important"
355
399
  },
356
400
  onClick: () => onChangeHandler({
357
401
  id: "responseImportType",
@@ -386,7 +430,7 @@ const CustomDropdown = ({ data, onChangeHandler, value }) => {
386
430
  text.Text,
387
431
  {
388
432
  size: "xs",
389
- weight: "medium",
433
+ weight: "regular",
390
434
  css: { color: "$neutral700" }
391
435
  },
392
436
  option.description
@@ -405,7 +449,7 @@ const CustomDropdown = ({ data, onChangeHandler, value }) => {
405
449
  zIndex: "9999999 !important"
406
450
  }
407
451
  },
408
- /* @__PURE__ */ React.createElement(box.Box, null, /* @__PURE__ */ React.createElement(dropdown.DropdownMenuSub, null, /* @__PURE__ */ React.createElement(dropdown.DropdownMenuSubTrigger, { disabled: option == null ? void 0 : option.disabled, css: { cursor: (option == null ? void 0 : option.disabled) ? "not-allowed !important" : "pointer !important" } }, " ", /* @__PURE__ */ React.createElement(
452
+ /* @__PURE__ */ React.createElement(box.Box, null, /* @__PURE__ */ React.createElement(dropdown.DropdownMenuSub, null, /* @__PURE__ */ React.createElement(dropdown.DropdownMenuSubTrigger, { disabled: option == null ? void 0 : option.disabled, css: { cursor: (option == null ? void 0 : option.disabled) ? "not-allowed !important" : "pointer !important", background: (value == null ? void 0 : value.type) === option.type ? "#4A9CA626 !important" : "transparent !important" } }, " ", /* @__PURE__ */ React.createElement(
409
453
  flex.Flex,
410
454
  {
411
455
  justifyContent: "space-between",
@@ -419,8 +463,7 @@ const CustomDropdown = ({ data, onChangeHandler, value }) => {
419
463
  {
420
464
  css: { cursor: "pointer" },
421
465
  justifyContent: "center",
422
- flexDirection: "column",
423
- gap: "$2"
466
+ flexDirection: "column"
424
467
  },
425
468
  /* @__PURE__ */ React.createElement(
426
469
  text.Text,
@@ -435,7 +478,7 @@ const CustomDropdown = ({ data, onChangeHandler, value }) => {
435
478
  text.Text,
436
479
  {
437
480
  size: "xs",
438
- weight: "medium",
481
+ weight: "regular",
439
482
  css: { color: "$neutral700" }
440
483
  },
441
484
  option.description
@@ -526,7 +569,7 @@ const CustomDropdown = ({ data, onChangeHandler, value }) => {
526
569
  ));
527
570
  };
528
571
  const Configuration = ({ field, configuredFields, responseImportType = null }) => {
529
- var _a, _b;
572
+ var _a, _b, _c, _d;
530
573
  let fieldValue = null;
531
574
  fieldValue = (_b = (_a = configuredFields == null ? void 0 : configuredFields[field.id]) == null ? void 0 : _a.value) != null ? _b : null;
532
575
  const [error, setError] = React.useState({
@@ -558,57 +601,145 @@ const Configuration = ({ field, configuredFields, responseImportType = null }) =
558
601
  value
559
602
  }) }), /* @__PURE__ */ React.createElement(text.Text, { size: "sm", weight: "regular", css: { color: "$neutral900" } }, field.label)), /* @__PURE__ */ React.createElement(text.Text, { size: "sm", weight: "regular", css: { color: "$neutral500" } }, field.value ? field.ifChecked() : field.ifUnchecked(responseImportType)));
560
603
  case "input":
561
- return /* @__PURE__ */ React.createElement(box.Box, { className: "dm-sans", css: {
562
- label: {
563
- fontSize: "$xs !important"
564
- }
565
- } }, /* @__PURE__ */ React.createElement(
566
- formInput.FormInput,
567
- __spreadProps(__spreadValues(__spreadProps(__spreadValues({
568
- disabled: field == null ? void 0 : field.disabled
569
- }, error.id === field.id && {
570
- error: error.errorMessage,
571
- errorBorder: error.error
572
- }), {
573
- label: field.label,
574
- value: typeof fieldValue === "object" ? "" : fieldValue || "",
575
- size: "lg"
576
- }), field.pattern && {
577
- pattern: field.pattern
578
- }), {
579
- onChange: (event) => {
580
- if (field == null ? void 0 : field.pattern) {
581
- const pattern = new RegExp(field.pattern);
582
- if (!pattern.test(event.currentTarget.value) && event.currentTarget.value !== "") {
583
- setError({
584
- errorMessage: field.errorMessage,
585
- error: true,
586
- id: field.id
604
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, (field == null ? void 0 : field.id) === "spreadsheet" ? /* @__PURE__ */ React.createElement(React.Fragment, null, ((_c = configuredFields == null ? void 0 : configuredFields.action) == null ? void 0 : _c.value) ? /* @__PURE__ */ React.createElement(
605
+ box.Box,
606
+ {
607
+ className: "dm-sans",
608
+ css: {
609
+ label: {
610
+ fontSize: "$xs !important"
611
+ }
612
+ }
613
+ },
614
+ /* @__PURE__ */ React.createElement(
615
+ formInput.FormInput,
616
+ __spreadProps(__spreadValues(__spreadProps(__spreadValues({
617
+ disabled: field == null ? void 0 : field.disabled
618
+ }, error.id === field.id && {
619
+ error: error.errorMessage,
620
+ errorBorder: error.error
621
+ }), {
622
+ label: field.label,
623
+ value: typeof fieldValue === "object" ? "" : fieldValue || "",
624
+ size: "lg"
625
+ }), field.pattern && {
626
+ pattern: field.pattern
627
+ }), {
628
+ onChange: (event) => {
629
+ if (field == null ? void 0 : field.pattern) {
630
+ const pattern = new RegExp(field.pattern);
631
+ if (!pattern.test(event.currentTarget.value) && event.currentTarget.value !== "") {
632
+ setError({
633
+ errorMessage: field.errorMessage,
634
+ error: true,
635
+ id: field.id
636
+ });
637
+ } else {
638
+ setError({
639
+ errorMessage: "",
640
+ error: false,
641
+ id: null
642
+ });
643
+ }
644
+ field.onChangeHandler({
645
+ id: field.id,
646
+ value: event.currentTarget.value
587
647
  });
588
648
  } else {
589
- setError({
590
- errorMessage: "",
591
- error: false,
592
- id: null
649
+ field.onChangeHandler({
650
+ id: field.id,
651
+ value: event.currentTarget.value
593
652
  });
594
653
  }
595
- field.onChangeHandler({
596
- id: field.id,
597
- value: event.currentTarget.value
598
- });
599
- } else {
600
- field.onChangeHandler({
601
- id: field.id,
602
- value: event.currentTarget.value
603
- });
654
+ }
655
+ })
656
+ )
657
+ ) : null) : /* @__PURE__ */ React.createElement(
658
+ box.Box,
659
+ {
660
+ className: "dm-sans",
661
+ css: {
662
+ label: {
663
+ fontSize: "$xs !important"
604
664
  }
605
665
  }
606
- })
666
+ },
667
+ /* @__PURE__ */ React.createElement(
668
+ formInput.FormInput,
669
+ __spreadProps(__spreadValues(__spreadProps(__spreadValues({
670
+ disabled: field == null ? void 0 : field.disabled
671
+ }, error.id === field.id && {
672
+ error: error.errorMessage,
673
+ errorBorder: error.error
674
+ }), {
675
+ label: field.label,
676
+ value: typeof fieldValue === "object" ? "" : fieldValue || "",
677
+ size: "lg"
678
+ }), field.pattern && {
679
+ pattern: field.pattern
680
+ }), {
681
+ onChange: (event) => {
682
+ if (field == null ? void 0 : field.pattern) {
683
+ const pattern = new RegExp(field.pattern);
684
+ if (!pattern.test(event.currentTarget.value) && event.currentTarget.value !== "") {
685
+ setError({
686
+ errorMessage: field.errorMessage,
687
+ error: true,
688
+ id: field.id
689
+ });
690
+ } else {
691
+ setError({
692
+ errorMessage: "",
693
+ error: false,
694
+ id: null
695
+ });
696
+ }
697
+ field.onChangeHandler({
698
+ id: field.id,
699
+ value: event.currentTarget.value
700
+ });
701
+ } else {
702
+ field.onChangeHandler({
703
+ id: field.id,
704
+ value: event.currentTarget.value
705
+ });
706
+ }
707
+ }
708
+ })
709
+ )
607
710
  ));
608
711
  default:
609
- return /* @__PURE__ */ React.createElement(flex.Flex, { gap: "$2", flexDirection: "column", css: {
610
- cursor: "pointer !important"
611
- } }, /* @__PURE__ */ React.createElement(formLabel.FormLabel, { size: "xs", css: { fontWeight: "$5" } }, field.label), /* @__PURE__ */ React.createElement(CustomAddNewSelect, { field }));
712
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, field.id === "spreadsheet" ? /* @__PURE__ */ React.createElement(React.Fragment, null, ((_d = configuredFields == null ? void 0 : configuredFields.action) == null ? void 0 : _d.value) ? /* @__PURE__ */ React.createElement(
713
+ flex.Flex,
714
+ {
715
+ gap: "$2",
716
+ flexDirection: "column",
717
+ css: {
718
+ cursor: "pointer !important",
719
+ ".twigs-select__indicator": {
720
+ width: "14px !important",
721
+ color: "#848484 !important"
722
+ }
723
+ }
724
+ },
725
+ /* @__PURE__ */ React.createElement(formLabel.FormLabel, { size: "xs", css: { fontWeight: "$5" } }, field.label),
726
+ /* @__PURE__ */ React.createElement(CustomAddNewSelect, { field })
727
+ ) : null) : /* @__PURE__ */ React.createElement(
728
+ flex.Flex,
729
+ {
730
+ gap: "$2",
731
+ flexDirection: "column",
732
+ css: {
733
+ cursor: "pointer !important",
734
+ ".twigs-select__indicator": {
735
+ width: "14px !important",
736
+ color: "#848484 !important"
737
+ }
738
+ }
739
+ },
740
+ /* @__PURE__ */ React.createElement(formLabel.FormLabel, { size: "xs", css: { fontWeight: "$5" } }, field.label),
741
+ /* @__PURE__ */ React.createElement(CustomAddNewSelect, { field })
742
+ ));
612
743
  }
613
744
  };
614
745
  const CustomAddNewSelect = ({ field }) => {