@levo-so/studio 0.3.19 → 0.3.21

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 (70) hide show
  1. package/BillingStep-ioR7mSo5.js +249 -0
  2. package/BookingCard-DEkBXh7O.js +646 -0
  3. package/DateTimeWidget-B-dajfHj.js +253 -0
  4. package/{EntryCard-NCSYl-4A.js → EntryCard-CZfljZAY.js} +4 -4
  5. package/{KBChatWidget-D39Z3HIl.js → KBChatWidget-BXRRgelS.js} +1 -1
  6. package/{LoginCard-BC05UxFH.js → LoginCard-BVjeN1J0.js} +3 -3
  7. package/{LoginForm-kI_b_7Tc.js → LoginForm-DQVwLQCx.js} +19 -19
  8. package/{LoginModal-C-9BhmoO.js → LoginModal-C6TdAh-0.js} +5 -6
  9. package/{MessageCard-Nsxr98n6.js → MessageCard-B5MbVDJ8.js} +2 -2
  10. package/{MessageFooter-K4Zd_eFO.js → MessageFooter-DrlKXE9a.js} +1 -2
  11. package/{PendingApprovalCard-B7sm8CZ_.js → PendingApprovalCard-5iFAeE1s.js} +3 -3
  12. package/{PhoneWidget-BkzFjfKW.js → PhoneWidget-B4KHlFjT.js} +11 -12
  13. package/{Popover-Iis-qOn1.js → Popover-y8XkbYNh.js} +7 -7
  14. package/{PopupBody-BI-MJqmd-C9i44N2h.js → PopupBody-DWM55Zh5-DuOPsCAn.js} +53 -55
  15. package/PopupDialog-DwAAJ8JS-9xm5jrXW.js +261 -0
  16. package/PopupRenderer-BVtV4b9I-BdPryfLY.js +208 -0
  17. package/{ProfileCard-DM1Jspj_.js → ProfileCard-WgFT-T4U.js} +5 -5
  18. package/{RichTextWidget-C3Y-0pNy.js → RichTextWidget-DKYm1cSW.js} +120 -123
  19. package/{Spinner-D5spB_Mv.js → Spinner-LdYfm4S7.js} +1 -1
  20. package/{VerifyButton-BwTbzSwS.js → VerifyButton-CNq78zG4.js} +5 -7
  21. package/collection.d.ts +9 -1
  22. package/collection.js +1 -1
  23. package/dialog-CU5nHKc5.js +119 -0
  24. package/dist-IMRD6dob.js +3858 -0
  25. package/index.d.ts +46 -55
  26. package/index.js +3630 -3243
  27. package/{inlineRteTheme-BOAno9MG.js → inlineRteTheme-DFg69bqP.js} +50 -37
  28. package/{kbChat-zXbn56Zb.js → kbChat-eFsau7hG.js} +2 -2
  29. package/package.json +42 -42
  30. package/{pillChrome-QDjBETmP.js → pillChrome-Dy3ApFI5.js} +5 -5
  31. package/price-BUDkN5Me.js +823 -0
  32. package/script.esm-uVCZU25S.js +62 -0
  33. package/studio.css +1 -1
  34. package/themeMapping-DH_NoXK8-H-EHXbBt.js +156 -0
  35. package/useCheckout-gscmzFLD.js +179 -0
  36. package/useLogin-BYVekOp9.js +237 -0
  37. package/AuthProvider-B5NfFwbG.js +0 -118
  38. package/BillingStep-Cskl5Sbc.js +0 -181
  39. package/Button-D6OAkNtW.js +0 -504
  40. package/CollectionField-BZmxRB5D.js +0 -270
  41. package/CollectionInput-DyNbxIZ8.js +0 -147
  42. package/DateTimeWidget-Bt1UcCnx.js +0 -255
  43. package/Dialog-CPE8yUqK.js +0 -130
  44. package/ModalManager-CzH36UIk.js +0 -32
  45. package/PopupRenderer-D66Gx63H-dYKKhHdA.js +0 -389
  46. package/RteThemeProvider-owl5oajj.js +0 -20
  47. package/StripePaymentModal-C3bQ0jQi.js +0 -56
  48. package/ThemeProvider-CqPHzkW9.js +0 -116
  49. package/Tooltip-DHU1QD-n.js +0 -67
  50. package/authentication-BXQbxiPP.js +0 -36
  51. package/bookingCard-CY0SAnVm.js +0 -637
  52. package/createThemeExtension-C0PSYy0J.js +0 -15
  53. package/dialog-8LH_ihs4.js +0 -92
  54. package/dist-Dq-z9c3T.js +0 -3679
  55. package/generateRadiusScale-RROt8ppa.js +0 -71
  56. package/inlineCollectionTheme-uhBXoF1F.js +0 -19
  57. package/popupState-JmpeKzgM-UECLsSbL.js +0 -100
  58. package/rteTheme.cssm-W4gTOijw.js +0 -4
  59. package/theme.cssm-Czj9sF4X.js +0 -4
  60. package/themeMapping-Bi9Rcr5G-C7UXWE6o.js +0 -61
  61. package/useLogin-CfnGrLdO.js +0 -127
  62. package/usePopupRedirect-CAAdcpaW-DdME0F7f.js +0 -82
  63. /package/{Beams-WJN38XSv.js → Beams-KsU_ixpY.js} +0 -0
  64. /package/{Dots-DggLz5I7.js → Dots-C_ja_PPu.js} +0 -0
  65. /package/{Gradient-BSWJAu0a.js → Gradient-CDGFLaA-.js} +0 -0
  66. /package/{Grid-BFKl0MUt.js → Grid-C22rTkrs.js} +0 -0
  67. /package/{Waves-BPEgTYoO.js → Waves-Cl5rKcFJ.js} +0 -0
  68. /package/{card-5ooLmYSr.js → card-BIebVDA0.js} +0 -0
  69. /package/{cn-B6c1DjO_.js → cn-CzJDhklM.js} +0 -0
  70. /package/{fontSize-B-ba6pvx.js → fontSize-DowUyWe-.js} +0 -0
@@ -0,0 +1,62 @@
1
+ //#region ../../libraries/react-collection/dist/node_modules/.pnpm/@cashfreepayments_cashfree-js@1.0.7/node_modules/@cashfreepayments/cashfree-js/dist/script.esm.js
2
+ var e = "https://sdk.cashfree.com/js/v3/cashfree.js", t = /^https:\/\/sdk\.cashfree\.com\/js\/v3\/.*$/, n = "load was called but an existing Cashfree.js script already exists in the document; existing script parameters will be used", r = function() {
3
+ for (var n = document.querySelectorAll(`script[src^="${e}"]`), r = 0; r < n.length; r++) {
4
+ var i = n[r];
5
+ if (t.test(i.src)) return i;
6
+ }
7
+ return null;
8
+ }, i = function(t) {
9
+ var n = "", r = document.createElement("script");
10
+ r.src = `${e}${n}`;
11
+ var i = document.head || document.body;
12
+ if (!i) throw Error("Expected document.body not to be null. Cashfree.js requires a <body> element.");
13
+ return i.appendChild(r), r;
14
+ }, a = null, o = function(e) {
15
+ return a === null && (a = new Promise(function(t, o) {
16
+ if (typeof window > "u" || typeof document > "u") {
17
+ t(null);
18
+ return;
19
+ }
20
+ if (window.Cashfree && e && console.warn(n), window.Cashfree) {
21
+ t(window.Cashfree);
22
+ return;
23
+ }
24
+ var s = 3, c = 0, l = !1;
25
+ function u(n) {
26
+ n.addEventListener("load", function() {
27
+ window.Cashfree ? t(window.Cashfree) : o(/* @__PURE__ */ Error("Cashfree.js not available"));
28
+ }), n.addEventListener("error", function() {
29
+ l || (c < s ? (l = !0, c++, n.parentNode && n.parentNode.removeChild(n), setTimeout(function() {
30
+ l = !1;
31
+ try {
32
+ u(r() || i(e));
33
+ } catch (e) {
34
+ o(e);
35
+ }
36
+ }, 100)) : (a = null, o(/* @__PURE__ */ Error("Failed to load Cashfree.js"))));
37
+ });
38
+ }
39
+ try {
40
+ var d = r();
41
+ d && e ? console.warn(n) : d ||= i(e), u(d);
42
+ } catch (e) {
43
+ o(e);
44
+ return;
45
+ }
46
+ })), a;
47
+ }, s = function(e, t, n) {
48
+ return e === null ? null : e.apply(void 0, t);
49
+ }, c = Promise.resolve().then(function() {
50
+ return o(null);
51
+ }), l = !1;
52
+ c.catch(function(e) {
53
+ l || console.warn(e);
54
+ });
55
+ var u = async function() {
56
+ var e = [...arguments];
57
+ l = !0;
58
+ var t = Date.now();
59
+ return s(await c, e, t);
60
+ };
61
+ //#endregion
62
+ export { u as load };