@eventlook/sdk 1.7.2-beta.0 → 1.7.2

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 (73) hide show
  1. package/.prettierignore +0 -3
  2. package/dist/cjs/{index-DmK9RPSa.js → index-D1KZ-2U1.js} +22463 -22979
  3. package/dist/cjs/index-D1KZ-2U1.js.map +1 -0
  4. package/dist/cjs/index.js +1 -3
  5. package/dist/cjs/index.js.map +1 -1
  6. package/dist/cjs/{index.umd-DUMMTVwU.js → index.umd-C2KzR75H.js} +2 -2
  7. package/dist/cjs/{index.umd-DUMMTVwU.js.map → index.umd-C2KzR75H.js.map} +1 -1
  8. package/dist/cjs/{mui-tel-input.es-Dk9M_v4X.js → mui-tel-input.es-Bjml407E.js} +6 -6
  9. package/dist/{esm/mui-tel-input.es-Cb4Lpqx7.js.map → cjs/mui-tel-input.es-Bjml407E.js.map} +1 -1
  10. package/dist/esm/{index-C0HcmMMr.js → index-DRYwiFvp.js} +24559 -25057
  11. package/dist/esm/index-DRYwiFvp.js.map +1 -0
  12. package/dist/esm/index.js +1 -3
  13. package/dist/esm/index.js.map +1 -1
  14. package/dist/esm/{index.umd-BqJOlKvJ.js → index.umd-BXOC8cuK.js} +4 -4
  15. package/dist/esm/{index.umd-BqJOlKvJ.js.map → index.umd-BXOC8cuK.js.map} +1 -1
  16. package/dist/esm/{mui-tel-input.es-Cb4Lpqx7.js → mui-tel-input.es-Bt2rE3An.js} +21 -21
  17. package/dist/{cjs/mui-tel-input.es-Dk9M_v4X.js.map → esm/mui-tel-input.es-Bt2rE3An.js.map} +1 -1
  18. package/dist/types/locales/cs.d.ts +0 -31
  19. package/dist/types/locales/en.d.ts +0 -31
  20. package/dist/types/locales/es.d.ts +0 -31
  21. package/dist/types/locales/pl.d.ts +0 -31
  22. package/dist/types/locales/sk.d.ts +0 -31
  23. package/dist/types/locales/uk.d.ts +0 -31
  24. package/dist/types/utils/data/ticket.d.ts +1 -0
  25. package/dist/types/utils/types/global.type.d.ts +0 -1
  26. package/dist/types/utils/types/order.type.d.ts +0 -2
  27. package/package.json +1 -3
  28. package/src/form/ChildEventCard.tsx +70 -64
  29. package/src/form/PaymentSuccess.tsx +2 -6
  30. package/src/form/TicketForm.tsx +1 -7
  31. package/src/form/tickets/ReleaseWithMerchandise.tsx +7 -6
  32. package/src/form/tickets/TicketSelection.tsx +7 -6
  33. package/src/form/tickets/TicketSelectionMap.tsx +2 -2
  34. package/src/form/tickets/TicketSelectionMobile.tsx +4 -3
  35. package/src/form/tickets/TicketWithMerchandiseSelection.tsx +5 -4
  36. package/src/locales/cs.tsx +0 -37
  37. package/src/locales/en.tsx +0 -35
  38. package/src/locales/es.tsx +0 -36
  39. package/src/locales/pl.tsx +0 -35
  40. package/src/locales/sk.tsx +0 -37
  41. package/src/locales/uk.tsx +0 -35
  42. package/src/utils/data/ticket.ts +10 -0
  43. package/src/utils/types/global.type.ts +0 -1
  44. package/src/utils/types/order.type.ts +0 -2
  45. package/CLAUDE.md +0 -33
  46. package/dist/cjs/index-DmK9RPSa.js.map +0 -1
  47. package/dist/esm/index-C0HcmMMr.js.map +0 -1
  48. package/dist/types/form/paydroid/PaydroidCashlessSection.d.ts +0 -7
  49. package/dist/types/form/paydroid/PaydroidError.d.ts +0 -3
  50. package/dist/types/form/paydroid/PaydroidErrorAccount.d.ts +0 -3
  51. package/dist/types/form/paydroid/PaydroidErrorTicket.d.ts +0 -3
  52. package/dist/types/form/paydroid/PaydroidPage.d.ts +0 -6
  53. package/dist/types/form/paydroid/PaydroidStatusCard.d.ts +0 -10
  54. package/dist/types/form/paydroid/PaydroidSuccess.d.ts +0 -3
  55. package/dist/types/form/paydroid/PaydroidSuccessTopup.d.ts +0 -3
  56. package/dist/types/modules/paydroid.d.ts +0 -4
  57. package/dist/types/utils/data/page.d.ts +0 -7
  58. package/dist/types/utils/page.d.ts +0 -1
  59. package/dist/types/utils/paydroid.d.ts +0 -6
  60. package/dist/types/utils/types/paydroid.d.ts +0 -23
  61. package/src/form/paydroid/PaydroidCashlessSection.tsx +0 -311
  62. package/src/form/paydroid/PaydroidError.tsx +0 -26
  63. package/src/form/paydroid/PaydroidErrorAccount.tsx +0 -26
  64. package/src/form/paydroid/PaydroidErrorTicket.tsx +0 -26
  65. package/src/form/paydroid/PaydroidPage.tsx +0 -22
  66. package/src/form/paydroid/PaydroidStatusCard.tsx +0 -91
  67. package/src/form/paydroid/PaydroidSuccess.tsx +0 -26
  68. package/src/form/paydroid/PaydroidSuccessTopup.tsx +0 -26
  69. package/src/modules/paydroid.ts +0 -33
  70. package/src/utils/data/page.ts +0 -7
  71. package/src/utils/page.ts +0 -4
  72. package/src/utils/paydroid.ts +0 -35
  73. package/src/utils/types/paydroid.ts +0 -26
@@ -1,10 +1,10 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import ReactDOM from 'react-dom';
2
+ import React from 'react';
3
+ import gn from 'react-dom';
4
4
  import { styled } from '@mui/material/styles';
5
5
  import Rt from '@mui/material/IconButton';
6
6
  import { grey } from '@mui/material/colors';
7
- import Typography from '@mui/material/Typography';
7
+ import Ie from '@mui/material/Typography';
8
8
  import yn from '@mui/material/MenuItem';
9
9
  import pn from '@mui/material/ListItemIcon';
10
10
  import vn from '@mui/material/ListItemText';
@@ -367,7 +367,7 @@ function Fe(e = X) {
367
367
  }
368
368
  }
369
369
  const _n = {
370
- CallingCodeSplitted: styled(Typography)({
370
+ CallingCodeSplitted: styled(Ie)({
371
371
  borderRight: `1px solid ${grey[300]}`,
372
372
  paddingRight: 10,
373
373
  cursor: "default",
@@ -384,7 +384,7 @@ const _n = {
384
384
  className: o,
385
385
  ...u
386
386
  }) => {
387
- const $ = React__default.useMemo(() => Fe(t), [t]), l = /* @__PURE__ */ jsx(Ee, { isoCode: a, children: a ? d(a, {
387
+ const $ = React.useMemo(() => Fe(t), [t]), l = /* @__PURE__ */ jsx(Ee, { isoCode: a, children: a ? d(a, {
388
388
  countryName: $.of(a) || "",
389
389
  isSelected: true,
390
390
  imgProps: St({
@@ -453,7 +453,7 @@ const _n = {
453
453
  }) }) }),
454
454
  /* @__PURE__ */ jsx(Bt.ListItemText, { className: De, children: t }),
455
455
  /* @__PURE__ */ jsxs(
456
- Typography,
456
+ Ie,
457
457
  {
458
458
  variant: "body2",
459
459
  color: "text.secondary",
@@ -466,7 +466,7 @@ const _n = {
466
466
  )
467
467
  ]
468
468
  }
469
- ), Bn = React__default.memo(kn), Gn = [], jn = [], Un = [], Wn = [], _e = "MuiTelInput-Menu", Hn = ({
469
+ ), Bn = React.memo(kn), Gn = [], jn = [], Un = [], Wn = [], _e = "MuiTelInput-Menu", Hn = ({
470
470
  anchorEl: e,
471
471
  isoCode: n,
472
472
  onSelectCountry: t,
@@ -479,7 +479,7 @@ const _n = {
479
479
  getFlagElement: $,
480
480
  ...l
481
481
  }) => {
482
- const h = React__default.useMemo(() => Fe(i), [i]), f = Fn(xn, h, {
482
+ const h = React.useMemo(() => Fe(i), [i]), f = Fn(xn, h, {
483
483
  onlyCountries: d,
484
484
  excludedCountries: r,
485
485
  continents: a,
@@ -526,7 +526,7 @@ function Le(e, n) {
526
526
  return e.replace(n, "");
527
527
  }
528
528
  function Vn({ disabled: e, disableDropdown: n }) {
529
- const t = React__default.useRef(null), [r, d] = React__default.useState(null);
529
+ const t = React.useRef(null), [r, d] = React.useState(null);
530
530
  return {
531
531
  anchorRef: t,
532
532
  anchorEl: r,
@@ -577,7 +577,7 @@ function zn(e) {
577
577
  continents: d,
578
578
  forceCallingCode: i
579
579
  } = e;
580
- React__default.useEffect(() => {
580
+ React.useEffect(() => {
581
581
  if (t && r) {
582
582
  const a = Sn(
583
583
  t,
@@ -587,19 +587,19 @@ function zn(e) {
587
587
  `[mui-tel-input] Not expected to have the country ${a} to be included in the 'onlyCountries' AND 'excludedCountries' props`
588
588
  );
589
589
  }
590
- }, [t, r]), React__default.useEffect(() => {
590
+ }, [t, r]), React.useEffect(() => {
591
591
  n && r && r.includes(n) && L(
592
592
  `[mui-tel-input] Not expected to have the 'defaultCountry' (${n}) prop excluded by the 'excludedCountries' prop`
593
593
  );
594
- }, [n, r]), React__default.useEffect(() => {
594
+ }, [n, r]), React.useEffect(() => {
595
595
  n && t && !t.includes(n) && L(
596
596
  `[mui-tel-input] Not expected to have a 'defaultCountry' prop (${n}) and a 'onlyCountries' prop but without included the 'defaultCountry' (${n})`
597
597
  );
598
- }, [n, t]), React__default.useEffect(() => {
598
+ }, [n, t]), React.useEffect(() => {
599
599
  n && d && d.length > 0 && (d.some((o) => It[o].includes(n)) || L(
600
600
  `[mui-tel-input] Not expected to have a 'defaultCountry' prop (${n}) and a 'continents' prop that are not contain the country (${n})`
601
601
  ));
602
- }, [n, d]), React__default.useEffect(() => {
602
+ }, [n, d]), React.useEffect(() => {
603
603
  i && !n && L(
604
604
  "[mui-tel-input] 'forceCallingCode' needs 'defaultCountry' defined. Will default to US."
605
605
  );
@@ -3593,14 +3593,14 @@ function e0({
3593
3593
  disableFormatting: a,
3594
3594
  forceCallingCode: o
3595
3595
  }) {
3596
- const u = React__default.useRef(
3596
+ const u = React.useRef(
3597
3597
  t || null
3598
- ), $ = React__default.useRef(new R(t)), l = React__default.useRef(null), [h, f] = React__default.useState(t), [c, g] = React__default.useState(() => ft({
3598
+ ), $ = React.useRef(new R(t)), l = React.useRef(null), [h, f] = React.useState(t), [c, g] = React.useState(() => ft({
3599
3599
  initialValue: e,
3600
3600
  defaultCountry: t,
3601
3601
  disableFormatting: a,
3602
3602
  forceCallingCode: o
3603
- })), [N, y] = React__default.useState(e), w = (s) => ({
3603
+ })), [N, y] = React.useState(e), w = (s) => ({
3604
3604
  countryCallingCode: $.current.getCallingCode() || null,
3605
3605
  countryCode: $.current.getCountry() || null,
3606
3606
  nationalNumber: $.current.getNationalNumber(),
@@ -3637,7 +3637,7 @@ function e0({
3637
3637
  });
3638
3638
  }
3639
3639
  };
3640
- React__default.useEffect(() => {
3640
+ React.useEffect(() => {
3641
3641
  if (e !== N) {
3642
3642
  y(e);
3643
3643
  const s = ft({
@@ -3654,7 +3654,7 @@ function e0({
3654
3654
  t,
3655
3655
  o,
3656
3656
  a
3657
- ]), React__default.useEffect(() => {
3657
+ ]), React.useEffect(() => {
3658
3658
  if (t !== h) {
3659
3659
  f(t), $.current = new R(t);
3660
3660
  const { inputValue: s, isoCode: x } = ft({
@@ -3779,7 +3779,7 @@ const rn = "MuiTelInput-TextField", y0 = (e) => {
3779
3779
  onFocus: a,
3780
3780
  inputRef: M
3781
3781
  }), sn = (ot) => {
3782
- ReactDOM.flushSync(() => {
3782
+ gn.flushSync(() => {
3783
3783
  Dt(), b(ot);
3784
3784
  }), w && M.current && M.current.focus();
3785
3785
  }, fn = (ot) => {
@@ -3848,4 +3848,4 @@ const rn = "MuiTelInput-TextField", y0 = (e) => {
3848
3848
  };
3849
3849
 
3850
3850
  export { R as AsYouType, y0 as MuiTelInput, m0 as matchIsValidTel, rn as textFieldClass };
3851
- //# sourceMappingURL=mui-tel-input.es-Cb4Lpqx7.js.map
3851
+ //# sourceMappingURL=mui-tel-input.es-Bt2rE3An.js.map