autumn-js 0.0.107 → 0.0.108

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 (127) hide show
  1. package/dist/libraries/backend/better-auth.mjs +2 -2
  2. package/dist/libraries/backend/convex.mjs +2 -2
  3. package/dist/libraries/backend/elysia.mjs +2 -2
  4. package/dist/libraries/backend/express.mjs +2 -2
  5. package/dist/libraries/backend/fastify.mjs +2 -2
  6. package/dist/libraries/backend/hono.mjs +2 -2
  7. package/dist/libraries/backend/next.mjs +2 -2
  8. package/dist/libraries/backend/react-router.mjs +2 -2
  9. package/dist/libraries/backend/remix_dep.mjs +2 -2
  10. package/dist/libraries/backend/routes/backendRouter.mjs +2 -2
  11. package/dist/libraries/backend/supabase.mjs +2 -2
  12. package/dist/libraries/backend/tanstack.mjs +2 -2
  13. package/dist/libraries/react/AutumnContext.d.mts +5 -5
  14. package/dist/libraries/react/AutumnContext.d.ts +5 -5
  15. package/dist/libraries/react/AutumnContext.mjs +6 -6
  16. package/dist/libraries/react/BaseAutumnProvider.d.mts +5 -5
  17. package/dist/libraries/react/BaseAutumnProvider.d.ts +5 -5
  18. package/dist/libraries/react/BaseAutumnProvider.mjs +10 -10
  19. package/dist/libraries/react/{ReactAutumnClient-BpXo7k9S.d.mts → ReactAutumnClient-BjRiaYDN.d.mts} +7 -7
  20. package/dist/libraries/react/{ReactAutumnClient-Cr0JiREm.d.ts → ReactAutumnClient-O2XzkzGM.d.ts} +7 -7
  21. package/dist/libraries/react/ReactAutumnProvider.d.mts +1 -1
  22. package/dist/libraries/react/ReactAutumnProvider.d.ts +1 -1
  23. package/dist/libraries/react/ReactAutumnProvider.mjs +11 -11
  24. package/dist/libraries/react/{attachTypes-DfACqtlD.d.ts → attachTypes-1Dbkyo_d.d.ts} +3 -3
  25. package/dist/libraries/react/{attachTypes-CRCMAcZg.d.mts → attachTypes-DoFoPh8g.d.mts} +3 -3
  26. package/dist/libraries/react/{chunk-VWVC5X2R.mjs → chunk-3XJ7NFT2.mjs} +15 -13
  27. package/dist/libraries/react/{chunk-2LCMYER5.mjs → chunk-4CHWEUKX.mjs} +2 -2
  28. package/dist/libraries/react/{chunk-FB6W5XQX.mjs → chunk-6RNG47NV.mjs} +1 -1
  29. package/dist/libraries/react/{chunk-HQTQYHKS.mjs → chunk-7DINVACK.mjs} +2 -2
  30. package/dist/libraries/react/{chunk-5YEDOCUG.mjs → chunk-DRAIZ3UZ.mjs} +3 -3
  31. package/dist/libraries/react/chunk-JGRLRPKG.mjs +56 -0
  32. package/dist/libraries/react/{chunk-WAFSQH6N.mjs → chunk-JPLUWGH4.mjs} +7 -1
  33. package/dist/libraries/react/{chunk-IZSSJHYG.mjs → chunk-KDD5RMQ3.mjs} +2 -2
  34. package/dist/libraries/react/{chunk-A4HGGTVT.mjs → chunk-KJLHVBV4.mjs} +2 -2
  35. package/dist/libraries/react/{chunk-4K7ZXCEU.mjs → chunk-LXD6AEZW.mjs} +1 -1
  36. package/dist/libraries/react/{chunk-NPEXC3I5.mjs → chunk-OEIUKLFH.mjs} +2 -2
  37. package/dist/libraries/react/{chunk-HRE3F4SD.mjs → chunk-OM3ROIZO.mjs} +2 -2
  38. package/dist/libraries/react/{chunk-X2ZMWBM7.mjs → chunk-OTYSAMRH.mjs} +2 -2
  39. package/dist/libraries/react/{chunk-4A53GN44.mjs → chunk-PC6V4RE7.mjs} +4 -4
  40. package/dist/libraries/react/{chunk-CUWUAQML.mjs → chunk-QJPZFEVW.mjs} +8 -49
  41. package/dist/libraries/react/{chunk-QKNW5ACT.mjs → chunk-XXGKLOAK.mjs} +3 -3
  42. package/dist/libraries/react/client/ReactAutumnClient.d.mts +5 -5
  43. package/dist/libraries/react/client/ReactAutumnClient.d.ts +5 -5
  44. package/dist/libraries/react/client/ReactAutumnClient.mjs +5 -5
  45. package/dist/libraries/react/client/clientCompMethods.d.mts +5 -5
  46. package/dist/libraries/react/client/clientCompMethods.d.ts +5 -5
  47. package/dist/libraries/react/client/clientCusMethods.d.mts +5 -5
  48. package/dist/libraries/react/client/clientCusMethods.d.ts +5 -5
  49. package/dist/libraries/react/client/clientEntityMethods.d.mts +5 -5
  50. package/dist/libraries/react/client/clientEntityMethods.d.ts +5 -5
  51. package/dist/libraries/react/client/clientGenMethods.d.mts +5 -5
  52. package/dist/libraries/react/client/clientGenMethods.d.ts +5 -5
  53. package/dist/libraries/react/client/clientProdMethods.d.mts +5 -5
  54. package/dist/libraries/react/client/clientProdMethods.d.ts +5 -5
  55. package/dist/libraries/react/client/clientReferralMethods.d.mts +5 -5
  56. package/dist/libraries/react/client/clientReferralMethods.d.ts +5 -5
  57. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.mts +2 -2
  58. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.ts +2 -2
  59. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +123 -112
  60. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +25 -24
  61. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.mts +2 -2
  62. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.ts +2 -2
  63. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +1 -1
  64. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +1 -1
  65. package/dist/libraries/react/components/check-dialog/check-dialog-synced.js +117 -3
  66. package/dist/libraries/react/components/check-dialog/check-dialog-synced.mjs +4 -3
  67. package/dist/libraries/react/components/check-dialog/lib/check-content.d.mts +1 -1
  68. package/dist/libraries/react/components/check-dialog/lib/check-content.d.ts +1 -1
  69. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +1 -1
  70. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +1 -1
  71. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
  72. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
  73. package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +109 -98
  74. package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +25 -24
  75. package/dist/libraries/react/components/ui/accordion.mjs +2 -1
  76. package/dist/libraries/react/components/ui/dialog.js +115 -1
  77. package/dist/libraries/react/components/ui/dialog.mjs +2 -1
  78. package/dist/libraries/react/{cusTypes-B9PUlh3i.d.ts → cusTypes-COIU0NG3.d.mts} +5 -5
  79. package/dist/libraries/react/{cusTypes-B9PUlh3i.d.mts → cusTypes-COIU0NG3.d.ts} +5 -5
  80. package/dist/libraries/react/{entTypes-DgHZw9Eg.d.mts → entTypes-BVPtpycG.d.mts} +1 -1
  81. package/dist/libraries/react/{entTypes-GuU6bc8U.d.ts → entTypes-Ck3_WfOz.d.ts} +1 -1
  82. package/dist/libraries/react/hooks/handleAllowed.d.mts +2 -2
  83. package/dist/libraries/react/hooks/handleAllowed.d.ts +2 -2
  84. package/dist/libraries/react/hooks/useAutumn.d.mts +3 -3
  85. package/dist/libraries/react/hooks/useAutumn.d.ts +3 -3
  86. package/dist/libraries/react/hooks/useAutumn.mjs +9 -9
  87. package/dist/libraries/react/hooks/useAutumnBase.d.mts +5 -5
  88. package/dist/libraries/react/hooks/useAutumnBase.d.ts +5 -5
  89. package/dist/libraries/react/hooks/useAutumnBase.mjs +8 -8
  90. package/dist/libraries/react/hooks/useCustomer.d.mts +5 -5
  91. package/dist/libraries/react/hooks/useCustomer.d.ts +5 -5
  92. package/dist/libraries/react/hooks/useCustomer.mjs +10 -10
  93. package/dist/libraries/react/hooks/useCustomerBase.d.mts +5 -5
  94. package/dist/libraries/react/hooks/useCustomerBase.d.ts +5 -5
  95. package/dist/libraries/react/hooks/useCustomerBase.mjs +9 -9
  96. package/dist/libraries/react/hooks/useEntity.d.mts +3 -3
  97. package/dist/libraries/react/hooks/useEntity.d.ts +3 -3
  98. package/dist/libraries/react/hooks/useEntity.mjs +10 -10
  99. package/dist/libraries/react/hooks/useEntityBase.d.mts +5 -5
  100. package/dist/libraries/react/hooks/useEntityBase.d.ts +5 -5
  101. package/dist/libraries/react/hooks/useEntityBase.mjs +9 -9
  102. package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
  103. package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
  104. package/dist/libraries/react/hooks/usePricingTable.mjs +8 -8
  105. package/dist/libraries/react/hooks/usePricingTableBase.d.mts +5 -5
  106. package/dist/libraries/react/hooks/usePricingTableBase.d.ts +5 -5
  107. package/dist/libraries/react/hooks/usePricingTableBase.mjs +7 -7
  108. package/dist/libraries/react/hooks/useProductsBase.mjs +6 -6
  109. package/dist/libraries/react/index.js +109 -98
  110. package/dist/libraries/react/index.mjs +109 -98
  111. package/dist/libraries/react/{response-BCyzYfES.d.ts → response-C7P_oYqV.d.ts} +6 -6
  112. package/dist/libraries/react/{response-pYjgZr_V.d.mts → response-dnzFyX91.d.mts} +6 -6
  113. package/dist/next/client/NextAutumnClient.d.mts +13 -13
  114. package/dist/next/client/NextAutumnClient.d.ts +13 -13
  115. package/dist/next/client/hooks/useAutumn.d.mts +5 -5
  116. package/dist/next/client/hooks/useAutumn.d.ts +5 -5
  117. package/dist/next/client/hooks/useCustomer.d.mts +2 -2
  118. package/dist/next/client/hooks/useCustomer.d.ts +2 -2
  119. package/dist/next/client/hooks/useEntity.d.mts +6 -6
  120. package/dist/next/client/hooks/useEntity.d.ts +6 -6
  121. package/package.json +1 -1
  122. package/dist/libraries/backend/{chunk-ICPSX5WQ.mjs → chunk-2RZ2FZX2.mjs} +3 -3
  123. package/dist/libraries/react/{chunk-5ZJQVPJY.mjs → chunk-2PVRCDDK.mjs} +13 -13
  124. package/dist/next/client/{attachTypes-c0nmQ7FA.d.ts → attachTypes-CJ7OSUSn.d.ts} +4 -4
  125. package/dist/next/client/{attachTypes-BE_gD21A.d.mts → attachTypes-DZlF8AAj.d.mts} +4 -4
  126. package/dist/next/client/{clientAttachTypes-BBDJRxyt.d.ts → clientAttachTypes-D0_L-cnv.d.ts} +24 -24
  127. package/dist/next/client/{clientAttachTypes-C-bSiO35.d.mts → clientAttachTypes-D84PT2G0.d.mts} +24 -24
@@ -4744,6 +4744,117 @@ var Title = DialogTitle;
4744
4744
  var Description = DialogDescription;
4745
4745
  var Close = DialogClose;
4746
4746
 
4747
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
4748
+ var import_react3 = require("react");
4749
+
4750
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/shared/src/utils.js
4751
+ var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
4752
+ var toCamelCase = (string) => string.replace(
4753
+ /^([A-Z])|[\s-_]+(\w)/g,
4754
+ (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
4755
+ );
4756
+ var toPascalCase = (string) => {
4757
+ const camelCase = toCamelCase(string);
4758
+ return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
4759
+ };
4760
+ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
4761
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
4762
+ }).join(" ").trim();
4763
+ var hasA11yProp = (props) => {
4764
+ for (const prop in props) {
4765
+ if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
4766
+ return true;
4767
+ }
4768
+ }
4769
+ };
4770
+
4771
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
4772
+ var import_react2 = require("react");
4773
+
4774
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/defaultAttributes.js
4775
+ var defaultAttributes = {
4776
+ xmlns: "http://www.w3.org/2000/svg",
4777
+ width: 24,
4778
+ height: 24,
4779
+ viewBox: "0 0 24 24",
4780
+ fill: "none",
4781
+ stroke: "currentColor",
4782
+ strokeWidth: 2,
4783
+ strokeLinecap: "round",
4784
+ strokeLinejoin: "round"
4785
+ };
4786
+
4787
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
4788
+ var Icon = (0, import_react2.forwardRef)(
4789
+ ({
4790
+ color = "currentColor",
4791
+ size = 24,
4792
+ strokeWidth = 2,
4793
+ absoluteStrokeWidth,
4794
+ className = "",
4795
+ children,
4796
+ iconNode,
4797
+ ...rest
4798
+ }, ref) => (0, import_react2.createElement)(
4799
+ "svg",
4800
+ {
4801
+ ref,
4802
+ ...defaultAttributes,
4803
+ width: size,
4804
+ height: size,
4805
+ stroke: color,
4806
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
4807
+ className: mergeClasses("lucide", className),
4808
+ ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
4809
+ ...rest
4810
+ },
4811
+ [
4812
+ ...iconNode.map(([tag, attrs]) => (0, import_react2.createElement)(tag, attrs)),
4813
+ ...Array.isArray(children) ? children : [children]
4814
+ ]
4815
+ )
4816
+ );
4817
+
4818
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
4819
+ var createLucideIcon = (iconName, iconNode) => {
4820
+ const Component = (0, import_react3.forwardRef)(
4821
+ ({ className, ...props }, ref) => (0, import_react3.createElement)(Icon, {
4822
+ ref,
4823
+ iconNode,
4824
+ className: mergeClasses(
4825
+ `lucide-${toKebabCase(toPascalCase(iconName))}`,
4826
+ `lucide-${iconName}`,
4827
+ className
4828
+ ),
4829
+ ...props
4830
+ })
4831
+ );
4832
+ Component.displayName = toPascalCase(iconName);
4833
+ return Component;
4834
+ };
4835
+
4836
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/arrow-right.js
4837
+ var __iconNode = [
4838
+ ["path", { d: "M5 12h14", key: "1ays0h" }],
4839
+ ["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
4840
+ ];
4841
+ var ArrowRight = createLucideIcon("arrow-right", __iconNode);
4842
+
4843
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js
4844
+ var __iconNode2 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
4845
+ var ChevronDown = createLucideIcon("chevron-down", __iconNode2);
4846
+
4847
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js
4848
+ var __iconNode3 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
4849
+ var LoaderCircle = createLucideIcon("loader-circle", __iconNode3);
4850
+
4851
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/x.js
4852
+ var __iconNode4 = [
4853
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
4854
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
4855
+ ];
4856
+ var X = createLucideIcon("x", __iconNode4);
4857
+
4747
4858
  // src/libraries/react/components/ui/dialog.tsx
4748
4859
  var import_jsx_runtime9 = require("react/jsx-runtime");
4749
4860
  var Dialog2 = Root;
@@ -4778,7 +4889,10 @@ var DialogContent2 = React26.forwardRef(({ className, children, ...props }, ref)
4778
4889
  ...props,
4779
4890
  children: [
4780
4891
  children,
4781
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Close, { className: "au-absolute au-right-4 au-top-4 au-rounded-sm au-opacity-70 au-ring-offset-background au-transition-opacity hover:au-opacity-100 focus:au-outline-none focus:au-ring-2 focus:au-ring-ring focus:au-ring-offset-2 disabled:au-pointer-events-none data-[state=open]:au-bg-accent data-[state=open]:au-text-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "au-sr-only", children: "Close" }) })
4892
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(Close, { className: "au-absolute au-right-4 au-top-4 au-rounded-sm au-opacity-70 au-ring-offset-background au-transition-opacity hover:au-opacity-100 focus:au-outline-none focus:au-ring-2 focus:au-ring-ring focus:au-ring-offset-2 disabled:au-pointer-events-none data-[state=open]:au-bg-accent data-[state=open]:au-text-muted-foreground", children: [
4893
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(X, { className: "au-h-4 au-w-4" }),
4894
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "au-sr-only", children: "Close" })
4895
+ ] })
4782
4896
  ]
4783
4897
  }
4784
4898
  )
@@ -4987,10 +5101,10 @@ var getAttachContent = (checkoutResult) => {
4987
5101
  };
4988
5102
 
4989
5103
  // src/libraries/react/BaseAutumnProvider.tsx
4990
- var import_react4 = require("react");
5104
+ var import_react6 = require("react");
4991
5105
 
4992
5106
  // src/libraries/react/hooks/useDialog.tsx
4993
- var import_react2 = require("react");
5107
+ var import_react4 = require("react");
4994
5108
 
4995
5109
  // src/libraries/react/hooks/useCustomerBase.tsx
4996
5110
  var import_swr2 = __toESM(require("swr"));
@@ -5896,8 +6010,8 @@ var AutumnClient = class {
5896
6010
  };
5897
6011
 
5898
6012
  // src/libraries/react/AutumnContext.tsx
5899
- var import_react3 = require("react");
5900
- var AutumnContext = (0, import_react3.createContext)({
6013
+ var import_react5 = require("react");
6014
+ var AutumnContext = (0, import_react5.createContext)({
5901
6015
  initialized: false,
5902
6016
  disableDialogs: false,
5903
6017
  client: new AutumnClient({ backendUrl: "" }),
@@ -5927,7 +6041,7 @@ var useAutumnContext = ({
5927
6041
  name,
5928
6042
  errorIfNotInitialized = true
5929
6043
  }) => {
5930
- const context = (0, import_react3.useContext)(AutumnContext2);
6044
+ const context = (0, import_react5.useContext)(AutumnContext2);
5931
6045
  if (!context.initialized && errorIfNotInitialized) {
5932
6046
  throw new Error(`${name} must be used within <AutumnProvider />`);
5933
6047
  }
@@ -6462,10 +6576,10 @@ var useCustomer = (params) => {
6462
6576
 
6463
6577
  // src/libraries/react/hooks/useEntityBase.tsx
6464
6578
  var import_swr3 = __toESM(require("swr"));
6465
- var import_react5 = require("react");
6579
+ var import_react7 = require("react");
6466
6580
 
6467
6581
  // src/libraries/react/components/check-dialog/check-dialog-synced.tsx
6468
- var import_react6 = require("react");
6582
+ var import_react8 = require("react");
6469
6583
  var import_jsx_runtime13 = require("react/jsx-runtime");
6470
6584
 
6471
6585
  // src/libraries/react/components/pricing-table/pricing-table-synced.tsx
@@ -6713,110 +6827,6 @@ if (typeof document !== "undefined") {
6713
6827
  }
6714
6828
  }
6715
6829
 
6716
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
6717
- var import_react8 = require("react");
6718
-
6719
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/shared/src/utils.js
6720
- var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
6721
- var toCamelCase = (string) => string.replace(
6722
- /^([A-Z])|[\s-_]+(\w)/g,
6723
- (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
6724
- );
6725
- var toPascalCase = (string) => {
6726
- const camelCase = toCamelCase(string);
6727
- return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
6728
- };
6729
- var mergeClasses = (...classes) => classes.filter((className, index, array) => {
6730
- return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
6731
- }).join(" ").trim();
6732
- var hasA11yProp = (props) => {
6733
- for (const prop in props) {
6734
- if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
6735
- return true;
6736
- }
6737
- }
6738
- };
6739
-
6740
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
6741
- var import_react7 = require("react");
6742
-
6743
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/defaultAttributes.js
6744
- var defaultAttributes = {
6745
- xmlns: "http://www.w3.org/2000/svg",
6746
- width: 24,
6747
- height: 24,
6748
- viewBox: "0 0 24 24",
6749
- fill: "none",
6750
- stroke: "currentColor",
6751
- strokeWidth: 2,
6752
- strokeLinecap: "round",
6753
- strokeLinejoin: "round"
6754
- };
6755
-
6756
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
6757
- var Icon = (0, import_react7.forwardRef)(
6758
- ({
6759
- color = "currentColor",
6760
- size = 24,
6761
- strokeWidth = 2,
6762
- absoluteStrokeWidth,
6763
- className = "",
6764
- children,
6765
- iconNode,
6766
- ...rest
6767
- }, ref) => (0, import_react7.createElement)(
6768
- "svg",
6769
- {
6770
- ref,
6771
- ...defaultAttributes,
6772
- width: size,
6773
- height: size,
6774
- stroke: color,
6775
- strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
6776
- className: mergeClasses("lucide", className),
6777
- ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
6778
- ...rest
6779
- },
6780
- [
6781
- ...iconNode.map(([tag, attrs]) => (0, import_react7.createElement)(tag, attrs)),
6782
- ...Array.isArray(children) ? children : [children]
6783
- ]
6784
- )
6785
- );
6786
-
6787
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
6788
- var createLucideIcon = (iconName, iconNode) => {
6789
- const Component = (0, import_react8.forwardRef)(
6790
- ({ className, ...props }, ref) => (0, import_react8.createElement)(Icon, {
6791
- ref,
6792
- iconNode,
6793
- className: mergeClasses(
6794
- `lucide-${toKebabCase(toPascalCase(iconName))}`,
6795
- `lucide-${iconName}`,
6796
- className
6797
- ),
6798
- ...props
6799
- })
6800
- );
6801
- Component.displayName = toPascalCase(iconName);
6802
- return Component;
6803
- };
6804
-
6805
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/arrow-right.js
6806
- var __iconNode = [
6807
- ["path", { d: "M5 12h14", key: "1ays0h" }],
6808
- ["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
6809
- ];
6810
- var ArrowRight = createLucideIcon("arrow-right", __iconNode);
6811
-
6812
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js
6813
- var __iconNode2 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
6814
- var ChevronDown = createLucideIcon("chevron-down", __iconNode2);
6815
-
6816
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js
6817
- var __iconNode3 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
6818
- var LoaderCircle = createLucideIcon("loader-circle", __iconNode3);
6819
-
6820
6830
  // src/libraries/react/components/pricing-table/pricing-table-synced.tsx
6821
6831
  var import_jsx_runtime17 = require("react/jsx-runtime");
6822
6832
  var PricingTableContext = (0, import_react10.createContext)({
@@ -7299,6 +7309,7 @@ lucide-react/dist/esm/createLucideIcon.js:
7299
7309
  lucide-react/dist/esm/icons/arrow-right.js:
7300
7310
  lucide-react/dist/esm/icons/chevron-down.js:
7301
7311
  lucide-react/dist/esm/icons/loader-circle.js:
7312
+ lucide-react/dist/esm/icons/x.js:
7302
7313
  lucide-react/dist/esm/lucide-react.js:
7303
7314
  (**
7304
7315
  * @license lucide-react v0.523.0 - ISC
@@ -5,44 +5,45 @@ import {
5
5
  AttachDialog,
6
6
  PriceItem,
7
7
  PricingDialogButton
8
- } from "../../chunk-VWVC5X2R.mjs";
8
+ } from "../../chunk-3XJ7NFT2.mjs";
9
+ import "../../chunk-O6TAJHK3.mjs";
10
+ import "../../chunk-URQMBRFZ.mjs";
9
11
  import "../../chunk-GUM4HIGI.mjs";
10
12
  import "../../chunk-UM3ZQPMU.mjs";
11
13
  import "../../chunk-6EZVNJHQ.mjs";
12
- import "../../chunk-O6TAJHK3.mjs";
13
- import "../../chunk-URQMBRFZ.mjs";
14
14
  import "../../chunk-WVKYZYFT.mjs";
15
- import "../../chunk-4A53GN44.mjs";
15
+ import "../../chunk-PC6V4RE7.mjs";
16
+ import "../../chunk-MY2ODATB.mjs";
16
17
  import "../../chunk-EV5RNY5U.mjs";
17
- import "../../chunk-WAFSQH6N.mjs";
18
+ import "../../chunk-JPLUWGH4.mjs";
18
19
  import "../../chunk-KWNH6C27.mjs";
19
20
  import "../../chunk-RPEGNKJH.mjs";
20
- import "../../chunk-MY2ODATB.mjs";
21
- import "../../chunk-CUWUAQML.mjs";
22
- import "../../chunk-2LCMYER5.mjs";
23
- import "../../chunk-HQTQYHKS.mjs";
24
- import "../../chunk-FB6W5XQX.mjs";
25
- import "../../chunk-X2ZMWBM7.mjs";
26
- import "../../chunk-5YEDOCUG.mjs";
27
- import "../../chunk-QKNW5ACT.mjs";
28
- import "../../chunk-NPEXC3I5.mjs";
29
- import "../../chunk-4QPHNIQ7.mjs";
21
+ import "../../chunk-JGRLRPKG.mjs";
22
+ import "../../chunk-QJPZFEVW.mjs";
23
+ import "../../chunk-7DINVACK.mjs";
24
+ import "../../chunk-6RNG47NV.mjs";
25
+ import "../../chunk-OTYSAMRH.mjs";
30
26
  import "../../chunk-4J6OC4ZQ.mjs";
27
+ import "../../chunk-KDD5RMQ3.mjs";
28
+ import "../../chunk-4CHWEUKX.mjs";
29
+ import "../../chunk-DRAIZ3UZ.mjs";
30
+ import "../../chunk-XXGKLOAK.mjs";
31
+ import "../../chunk-4QPHNIQ7.mjs";
32
+ import "../../chunk-OEIUKLFH.mjs";
31
33
  import "../../chunk-3JJC2VU5.mjs";
32
- import "../../chunk-IZSSJHYG.mjs";
33
- import "../../chunk-A4HGGTVT.mjs";
34
- import "../../chunk-HRE3F4SD.mjs";
35
- import "../../chunk-4K7ZXCEU.mjs";
36
- import "../../chunk-5ZJQVPJY.mjs";
34
+ import "../../chunk-KJLHVBV4.mjs";
35
+ import "../../chunk-OM3ROIZO.mjs";
36
+ import "../../chunk-LXD6AEZW.mjs";
37
+ import "../../chunk-2PVRCDDK.mjs";
38
+ import "../../chunk-V575SGOW.mjs";
39
+ import "../../chunk-ZV4RPZTM.mjs";
40
+ import "../../chunk-JVCOY7ZL.mjs";
41
+ import "../../chunk-CIBQ4BJU.mjs";
37
42
  import "../../chunk-VTGR7VVK.mjs";
38
43
  import "../../chunk-WFFVOEUG.mjs";
39
44
  import "../../chunk-ZF2HUCN6.mjs";
40
45
  import "../../chunk-253MTZP3.mjs";
41
- import "../../chunk-V575SGOW.mjs";
42
- import "../../chunk-ZV4RPZTM.mjs";
43
46
  import "../../chunk-KQT5G3HT.mjs";
44
- import "../../chunk-JVCOY7ZL.mjs";
45
- import "../../chunk-CIBQ4BJU.mjs";
46
47
  export {
47
48
  PriceItem,
48
49
  PricingDialogButton,
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CheckoutResult } from '../../../attachTypes-CRCMAcZg.mjs';
3
- import '../../../cusTypes-B9PUlh3i.mjs';
2
+ import { C as CheckoutResult } from '../../../attachTypes-DoFoPh8g.mjs';
3
+ import '../../../cusTypes-COIU0NG3.mjs';
4
4
  import 'zod';
5
5
 
6
6
  declare const getAttachContent: (checkoutResult: CheckoutResult) => {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CheckoutResult } from '../../../attachTypes-DfACqtlD.js';
3
- import '../../../cusTypes-B9PUlh3i.js';
2
+ import { C as CheckoutResult } from '../../../attachTypes-1Dbkyo_d.js';
3
+ import '../../../cusTypes-COIU0NG3.js';
4
4
  import 'zod';
5
5
 
6
6
  declare const getAttachContent: (checkoutResult: CheckoutResult) => {
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { g as CheckFeaturePreview } from '../../cusTypes-B9PUlh3i.mjs';
2
+ import { g as CheckFeaturePreview } from '../../cusTypes-COIU0NG3.mjs';
3
3
  import 'zod';
4
4
 
5
5
  interface CheckDialogProps {
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { g as CheckFeaturePreview } from '../../cusTypes-B9PUlh3i.js';
2
+ import { g as CheckFeaturePreview } from '../../cusTypes-COIU0NG3.js';
3
3
  import 'zod';
4
4
 
5
5
  interface CheckDialogProps {
@@ -2128,6 +2128,102 @@ var Title = DialogTitle;
2128
2128
  var Description = DialogDescription;
2129
2129
  var Close = DialogClose;
2130
2130
 
2131
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
2132
+ var import_react3 = require("react");
2133
+
2134
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/shared/src/utils.js
2135
+ var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
2136
+ var toCamelCase = (string) => string.replace(
2137
+ /^([A-Z])|[\s-_]+(\w)/g,
2138
+ (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
2139
+ );
2140
+ var toPascalCase = (string) => {
2141
+ const camelCase = toCamelCase(string);
2142
+ return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
2143
+ };
2144
+ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
2145
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
2146
+ }).join(" ").trim();
2147
+ var hasA11yProp = (props) => {
2148
+ for (const prop in props) {
2149
+ if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
2150
+ return true;
2151
+ }
2152
+ }
2153
+ };
2154
+
2155
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
2156
+ var import_react2 = require("react");
2157
+
2158
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/defaultAttributes.js
2159
+ var defaultAttributes = {
2160
+ xmlns: "http://www.w3.org/2000/svg",
2161
+ width: 24,
2162
+ height: 24,
2163
+ viewBox: "0 0 24 24",
2164
+ fill: "none",
2165
+ stroke: "currentColor",
2166
+ strokeWidth: 2,
2167
+ strokeLinecap: "round",
2168
+ strokeLinejoin: "round"
2169
+ };
2170
+
2171
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
2172
+ var Icon = (0, import_react2.forwardRef)(
2173
+ ({
2174
+ color = "currentColor",
2175
+ size = 24,
2176
+ strokeWidth = 2,
2177
+ absoluteStrokeWidth,
2178
+ className = "",
2179
+ children,
2180
+ iconNode,
2181
+ ...rest
2182
+ }, ref) => (0, import_react2.createElement)(
2183
+ "svg",
2184
+ {
2185
+ ref,
2186
+ ...defaultAttributes,
2187
+ width: size,
2188
+ height: size,
2189
+ stroke: color,
2190
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
2191
+ className: mergeClasses("lucide", className),
2192
+ ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
2193
+ ...rest
2194
+ },
2195
+ [
2196
+ ...iconNode.map(([tag, attrs]) => (0, import_react2.createElement)(tag, attrs)),
2197
+ ...Array.isArray(children) ? children : [children]
2198
+ ]
2199
+ )
2200
+ );
2201
+
2202
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
2203
+ var createLucideIcon = (iconName, iconNode) => {
2204
+ const Component = (0, import_react3.forwardRef)(
2205
+ ({ className, ...props }, ref) => (0, import_react3.createElement)(Icon, {
2206
+ ref,
2207
+ iconNode,
2208
+ className: mergeClasses(
2209
+ `lucide-${toKebabCase(toPascalCase(iconName))}`,
2210
+ `lucide-${iconName}`,
2211
+ className
2212
+ ),
2213
+ ...props
2214
+ })
2215
+ );
2216
+ Component.displayName = toPascalCase(iconName);
2217
+ return Component;
2218
+ };
2219
+
2220
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/x.js
2221
+ var __iconNode = [
2222
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
2223
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
2224
+ ];
2225
+ var X = createLucideIcon("x", __iconNode);
2226
+
2131
2227
  // ../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
2132
2228
  function r(e) {
2133
2229
  var t, f, n = "";
@@ -4687,7 +4783,10 @@ var DialogContent2 = React25.forwardRef(({ className, children, ...props }, ref)
4687
4783
  ...props,
4688
4784
  children: [
4689
4785
  children,
4690
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Close, { className: "au-absolute au-right-4 au-top-4 au-rounded-sm au-opacity-70 au-ring-offset-background au-transition-opacity hover:au-opacity-100 focus:au-outline-none focus:au-ring-2 focus:au-ring-ring focus:au-ring-offset-2 disabled:au-pointer-events-none data-[state=open]:au-bg-accent data-[state=open]:au-text-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "au-sr-only", children: "Close" }) })
4786
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(Close, { className: "au-absolute au-right-4 au-top-4 au-rounded-sm au-opacity-70 au-ring-offset-background au-transition-opacity hover:au-opacity-100 focus:au-outline-none focus:au-ring-2 focus:au-ring-ring focus:au-ring-offset-2 disabled:au-pointer-events-none data-[state=open]:au-bg-accent data-[state=open]:au-text-muted-foreground", children: [
4787
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(X, { className: "au-h-4 au-w-4" }),
4788
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "au-sr-only", children: "Close" })
4789
+ ] })
4691
4790
  ]
4692
4791
  }
4693
4792
  )
@@ -4744,7 +4843,7 @@ var DialogDescription2 = React25.forwardRef(({ className, ...props }, ref) => /*
4744
4843
  DialogDescription2.displayName = Description.displayName;
4745
4844
 
4746
4845
  // src/libraries/react/components/check-dialog/check-dialog-synced.tsx
4747
- var import_react2 = require("react");
4846
+ var import_react4 = require("react");
4748
4847
 
4749
4848
  // src/libraries/react/components/ui/button.tsx
4750
4849
  var React26 = __toESM(require("react"));
@@ -4881,7 +4980,7 @@ var getCheckContent = (preview) => {
4881
4980
  // src/libraries/react/components/check-dialog/check-dialog-synced.tsx
4882
4981
  var import_jsx_runtime10 = require("react/jsx-runtime");
4883
4982
  function CheckDialog(params) {
4884
- const [loading] = (0, import_react2.useState)(false);
4983
+ const [loading] = (0, import_react4.useState)(false);
4885
4984
  if (!params || !params.preview) {
4886
4985
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, {});
4887
4986
  }
@@ -4904,3 +5003,18 @@ function CheckDialog(params) {
4904
5003
  ) })
4905
5004
  ] }) });
4906
5005
  }
5006
+ /*! Bundled license information:
5007
+
5008
+ lucide-react/dist/esm/shared/src/utils.js:
5009
+ lucide-react/dist/esm/defaultAttributes.js:
5010
+ lucide-react/dist/esm/Icon.js:
5011
+ lucide-react/dist/esm/createLucideIcon.js:
5012
+ lucide-react/dist/esm/icons/x.js:
5013
+ lucide-react/dist/esm/lucide-react.js:
5014
+ (**
5015
+ * @license lucide-react v0.523.0 - ISC
5016
+ *
5017
+ * This source code is licensed under the ISC license.
5018
+ * See the LICENSE file in the root directory of this source tree.
5019
+ *)
5020
+ */
@@ -3,12 +3,13 @@
3
3
  "use client";
4
4
  import {
5
5
  CheckDialog
6
- } from "../../chunk-4A53GN44.mjs";
6
+ } from "../../chunk-PC6V4RE7.mjs";
7
+ import "../../chunk-MY2ODATB.mjs";
7
8
  import "../../chunk-EV5RNY5U.mjs";
8
- import "../../chunk-WAFSQH6N.mjs";
9
+ import "../../chunk-JPLUWGH4.mjs";
9
10
  import "../../chunk-KWNH6C27.mjs";
10
11
  import "../../chunk-RPEGNKJH.mjs";
11
- import "../../chunk-MY2ODATB.mjs";
12
+ import "../../chunk-QJPZFEVW.mjs";
12
13
  import "../../chunk-4J6OC4ZQ.mjs";
13
14
  export {
14
15
  CheckDialog as default
@@ -1,4 +1,4 @@
1
- import { g as CheckFeaturePreview } from '../../../cusTypes-B9PUlh3i.mjs';
1
+ import { g as CheckFeaturePreview } from '../../../cusTypes-COIU0NG3.mjs';
2
2
  import 'zod';
3
3
 
4
4
  declare const getCheckContent: (preview: CheckFeaturePreview) => {
@@ -1,4 +1,4 @@
1
- import { g as CheckFeaturePreview } from '../../../cusTypes-B9PUlh3i.js';
1
+ import { g as CheckFeaturePreview } from '../../../cusTypes-COIU0NG3.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const getCheckContent: (preview: CheckFeaturePreview) => {
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { P as Product } from '../../../cusTypes-B9PUlh3i.mjs';
2
+ import { P as Product } from '../../../cusTypes-COIU0NG3.mjs';
3
3
  import 'zod';
4
4
 
5
5
  declare const getPricingTableContent: (product: Product) => {
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { P as Product } from '../../../cusTypes-B9PUlh3i.js';
2
+ import { P as Product } from '../../../cusTypes-COIU0NG3.js';
3
3
  import 'zod';
4
4
 
5
5
  declare const getPricingTableContent: (product: Product) => {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
- import { P as Product, h as ProductItem } from '../../cusTypes-B9PUlh3i.mjs';
3
+ import { P as Product, h as ProductItem } from '../../cusTypes-COIU0NG3.mjs';
4
4
  import 'zod';
5
5
 
6
6
  declare function PricingTable({ productDetails, }: {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
- import { P as Product, h as ProductItem } from '../../cusTypes-B9PUlh3i.js';
3
+ import { P as Product, h as ProductItem } from '../../cusTypes-COIU0NG3.js';
4
4
  import 'zod';
5
5
 
6
6
  declare function PricingTable({ productDetails, }: {