autumn-js 0.0.101 → 0.0.102
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/compose/index.d.mts +67 -93
- package/dist/compose/index.d.ts +67 -93
- package/dist/compose/index.js +14 -83
- package/dist/compose/index.mjs +14 -80
- package/dist/libraries/backend/better-auth.d.mts +18 -18
- package/dist/libraries/backend/better-auth.d.ts +18 -18
- package/dist/libraries/backend/elysia.d.mts +1 -1
- package/dist/libraries/backend/elysia.d.ts +1 -1
- package/dist/libraries/backend/express.d.mts +1 -1
- package/dist/libraries/backend/express.d.ts +1 -1
- package/dist/libraries/backend/next.js +94 -94
- package/dist/libraries/backend/next.mjs +94 -94
- package/dist/libraries/backend/{referralTypes-HAk2vTns.d.ts → referralTypes-D1Q2i3mG.d.ts} +28 -27
- package/dist/libraries/backend/{referralTypes-Dg9pRvI7.d.mts → referralTypes-Dfg6if8j.d.mts} +28 -27
- package/dist/libraries/backend/tanstack.js +2 -2
- package/dist/libraries/backend/tanstack.mjs +2 -2
- package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
- package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
- package/dist/libraries/react/AutumnContext.d.mts +4 -4
- package/dist/libraries/react/AutumnContext.d.ts +4 -4
- package/dist/libraries/react/AutumnContext.mjs +4 -4
- package/dist/libraries/react/BaseAutumnProvider.d.mts +4 -4
- package/dist/libraries/react/BaseAutumnProvider.d.ts +4 -4
- package/dist/libraries/react/BaseAutumnProvider.js +7 -2
- package/dist/libraries/react/BaseAutumnProvider.mjs +9 -9
- package/dist/libraries/react/{ReactAutumnClient-B4P_QjY1.d.ts → ReactAutumnClient-DBbq29Nn.d.ts} +3 -3
- package/dist/libraries/react/{ReactAutumnClient-DCdPx-ps.d.mts → ReactAutumnClient-YzfxjqPK.d.mts} +3 -3
- package/dist/libraries/react/ReactAutumnProvider.d.mts +1 -1
- package/dist/libraries/react/ReactAutumnProvider.d.ts +1 -1
- package/dist/libraries/react/ReactAutumnProvider.js +7 -2
- package/dist/libraries/react/ReactAutumnProvider.mjs +10 -10
- package/dist/libraries/react/{chunk-T5PIJ4HG.mjs → chunk-3VHO7VUQ.mjs} +4 -3
- package/dist/libraries/react/{chunk-DVMVIAZE.mjs → chunk-5NDO7C7R.mjs} +3 -3
- package/dist/libraries/react/{chunk-AOJCMXVS.mjs → chunk-5URK7LI3.mjs} +3 -3
- package/dist/libraries/react/{chunk-YLZ5NFYO.mjs → chunk-AL3VJLFU.mjs} +1 -1
- package/dist/libraries/react/{chunk-LVDONEVF.mjs → chunk-CE33P32V.mjs} +7 -3
- package/dist/libraries/react/{chunk-G3FBFZLU.mjs → chunk-GQ3TAHSV.mjs} +1 -1
- package/dist/libraries/react/{chunk-CAMHARUX.mjs → chunk-H2NGSCWI.mjs} +2 -2
- package/dist/libraries/react/{chunk-6CJ3FB74.mjs → chunk-JI7WQ6AC.mjs} +2 -2
- package/dist/libraries/react/{chunk-24EVX3BR.mjs → chunk-LKV32IPT.mjs} +20 -41
- package/dist/libraries/react/{chunk-RQG36YPD.mjs → chunk-LXSKONN2.mjs} +5 -9
- package/dist/libraries/react/{chunk-R46CJXF7.mjs → chunk-OAPUYXBO.mjs} +6 -6
- package/dist/libraries/react/{chunk-3CJSWXNT.mjs → chunk-OAWFFAKA.mjs} +6 -6
- package/dist/libraries/react/{chunk-CPITDC7S.mjs → chunk-SDMBKRAI.mjs} +37 -172
- package/dist/libraries/react/{chunk-APDR7D6A.mjs → chunk-SY5GNYZ7.mjs} +2 -2
- package/dist/libraries/react/{chunk-5G3DYUNT.mjs → chunk-T73WQC2X.mjs} +1 -1
- package/dist/libraries/react/{chunk-R4BYOLST.mjs → chunk-TPKQIL3N.mjs} +2 -2
- package/dist/libraries/react/{chunk-MZDRIPNS.mjs → chunk-X6RY6VG5.mjs} +2 -2
- package/dist/libraries/react/{chunk-RQEL7G2O.mjs → chunk-ZVQKDPUP.mjs} +3 -3
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +4 -4
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +4 -4
- package/dist/libraries/react/client/ReactAutumnClient.mjs +3 -3
- package/dist/libraries/react/client/clientCompMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientCompMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientCusMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientCusMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientEntityMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientEntityMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientGenMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientGenMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientProdMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientProdMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientReferralMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientReferralMethods.d.ts +4 -4
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.css +111 -116
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.mts +1 -1
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.ts +1 -1
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +76 -212
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +23 -23
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.mts +1 -1
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.ts +1 -1
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +1 -1
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +1 -1
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.js +47 -169
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.mjs +5 -5
- package/dist/libraries/react/components/check-dialog/lib/check-content.d.mts +1 -1
- package/dist/libraries/react/components/check-dialog/lib/check-content.d.ts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +111 -116
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +76 -215
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +23 -23
- package/dist/libraries/react/components/ui/button.js +3 -3
- package/dist/libraries/react/components/ui/button.mjs +2 -2
- package/dist/libraries/react/components/ui/dialog.js +43 -157
- package/dist/libraries/react/components/ui/dialog.mjs +3 -3
- package/dist/libraries/react/components/ui/switch.js +12 -12
- package/dist/libraries/react/components/ui/switch.mjs +3 -3
- package/dist/libraries/react/{cusTypes-Bf1qr9iE.d.ts → cusTypes-CFofdxsA.d.mts} +2 -1
- package/dist/libraries/react/{cusTypes-Bf1qr9iE.d.mts → cusTypes-CFofdxsA.d.ts} +2 -1
- package/dist/libraries/react/{entTypes-CscyyE1A.d.mts → entTypes-BeWtfIqo.d.mts} +1 -1
- package/dist/libraries/react/{entTypes-O8YXxhrA.d.ts → entTypes-BhUZh8uE.d.ts} +1 -1
- package/dist/libraries/react/hooks/handleAllowed.d.mts +2 -2
- package/dist/libraries/react/hooks/handleAllowed.d.ts +2 -2
- package/dist/libraries/react/hooks/useAutumn.d.mts +2 -2
- package/dist/libraries/react/hooks/useAutumn.d.ts +2 -2
- package/dist/libraries/react/hooks/useAutumn.js +5 -1
- package/dist/libraries/react/hooks/useAutumn.mjs +7 -7
- package/dist/libraries/react/hooks/useAutumnBase.d.mts +6 -5
- package/dist/libraries/react/hooks/useAutumnBase.d.ts +6 -5
- package/dist/libraries/react/hooks/useAutumnBase.js +5 -1
- package/dist/libraries/react/hooks/useAutumnBase.mjs +6 -6
- package/dist/libraries/react/hooks/useCustomer.d.mts +4 -4
- package/dist/libraries/react/hooks/useCustomer.d.ts +4 -4
- package/dist/libraries/react/hooks/useCustomer.js +7 -2
- package/dist/libraries/react/hooks/useCustomer.mjs +8 -8
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +4 -4
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +4 -4
- package/dist/libraries/react/hooks/useCustomerBase.js +7 -2
- package/dist/libraries/react/hooks/useCustomerBase.mjs +7 -7
- package/dist/libraries/react/hooks/useEntity.d.mts +3 -3
- package/dist/libraries/react/hooks/useEntity.d.ts +3 -3
- package/dist/libraries/react/hooks/useEntity.js +5 -1
- package/dist/libraries/react/hooks/useEntity.mjs +8 -8
- package/dist/libraries/react/hooks/useEntityBase.d.mts +4 -4
- package/dist/libraries/react/hooks/useEntityBase.d.ts +4 -4
- package/dist/libraries/react/hooks/useEntityBase.js +5 -1
- package/dist/libraries/react/hooks/useEntityBase.mjs +7 -7
- package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
- package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
- package/dist/libraries/react/hooks/usePricingTable.mjs +6 -6
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +4 -4
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +4 -4
- package/dist/libraries/react/hooks/usePricingTableBase.mjs +5 -5
- package/dist/libraries/react/hooks/useProductsBase.mjs +4 -4
- package/dist/libraries/react/index.d.mts +1 -0
- package/dist/libraries/react/index.d.ts +1 -0
- package/dist/libraries/react/index.js +80 -222
- package/dist/libraries/react/index.mjs +65 -207
- package/dist/libraries/react/{response-B4VzjWEU.d.mts → response-AGK9KlYm.d.mts} +1 -1
- package/dist/libraries/react/{response-C3S90max.d.ts → response-CxMWdpyl.d.ts} +1 -1
- package/dist/next/{AutumnProvider-CCYZC_bN.d.mts → AutumnProvider-Xl1mqxls.d.mts} +1 -0
- package/dist/next/{AutumnProvider-CCYZC_bN.d.ts → AutumnProvider-Xl1mqxls.d.ts} +1 -0
- package/dist/next/AutumnProvider.d.mts +1 -1
- package/dist/next/AutumnProvider.d.ts +1 -1
- package/dist/next/client/NextAutumnClient.d.mts +10 -10
- package/dist/next/client/NextAutumnClient.d.ts +10 -10
- package/dist/next/client/NextAutumnProvider.d.mts +1 -1
- package/dist/next/client/NextAutumnProvider.d.ts +1 -1
- package/dist/next/client/{clientGenTypes-9ngy1q97.d.mts → clientGenTypes-BcRfHmUS.d.mts} +17 -17
- package/dist/next/client/{clientGenTypes-CxB4go6q.d.ts → clientGenTypes-D8f8BwMo.d.ts} +17 -17
- package/dist/next/client/clientUtils.d.mts +2 -2
- package/dist/next/client/clientUtils.d.ts +2 -2
- package/dist/next/client/{cusTypes-D8lhXGaX.d.mts → cusTypes-Gh2wfcmj.d.mts} +1 -0
- package/dist/next/client/{cusTypes-D8lhXGaX.d.ts → cusTypes-Gh2wfcmj.d.ts} +1 -0
- package/dist/next/client/{entTypes-Dq2mbehl.d.ts → entTypes-B_w6I3y-.d.ts} +1 -1
- package/dist/next/client/{entTypes-B-2_9hzP.d.mts → entTypes-C_xS1VPE.d.mts} +1 -1
- package/dist/next/client/hooks/useAutumn.d.mts +2 -2
- package/dist/next/client/hooks/useAutumn.d.ts +2 -2
- package/dist/next/client/hooks/useCustomer.d.mts +3 -3
- package/dist/next/client/hooks/useCustomer.d.ts +3 -3
- package/dist/next/client/hooks/useEntity.d.mts +5 -5
- package/dist/next/client/hooks/useEntity.d.ts +5 -5
- package/dist/next/client/hooks/usePricingTable.d.mts +1 -1
- package/dist/next/client/hooks/usePricingTable.d.ts +1 -1
- package/dist/next/client/types.d.mts +2 -2
- package/dist/next/client/types.d.ts +2 -2
- package/dist/next/index.d.mts +2 -2
- package/dist/next/index.d.ts +2 -2
- package/dist/next/server/auth/withNextAuth.d.mts +1 -1
- package/dist/next/server/auth/withNextAuth.d.ts +1 -1
- package/dist/next/server/componentActions.d.mts +1 -1
- package/dist/next/server/componentActions.d.ts +1 -1
- package/dist/next/server/cusActions.d.mts +21 -21
- package/dist/next/server/cusActions.d.ts +21 -21
- package/dist/next/server/{cusTypes-DhOYtM7H.d.mts → cusTypes-DVA6iu7V.d.mts} +3 -2
- package/dist/next/server/{cusTypes-DhOYtM7H.d.ts → cusTypes-DVA6iu7V.d.ts} +3 -2
- package/dist/next/server/genActions.d.mts +1 -1
- package/dist/next/server/genActions.d.ts +1 -1
- package/dist/sdk/index.d.mts +1 -0
- package/dist/sdk/index.d.ts +1 -0
- package/dist/styles/global.css +111 -116
- package/package.json +9 -22
- package/tsup.config.ts +0 -1
- package/dist/libraries/react/{chunk-ALFXUHDD.mjs → chunk-ALIGIMSK.mjs} +6 -6
|
@@ -41,7 +41,7 @@ __export(attach_dialog_synced_exports, {
|
|
|
41
41
|
default: () => AttachDialog
|
|
42
42
|
});
|
|
43
43
|
module.exports = __toCommonJS(attach_dialog_synced_exports);
|
|
44
|
-
var
|
|
44
|
+
var import_react9 = require("react");
|
|
45
45
|
|
|
46
46
|
// ../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
47
47
|
function r(e) {
|
|
@@ -2571,10 +2571,10 @@ function cn(...inputs) {
|
|
|
2571
2571
|
// src/libraries/react/components/ui/button.tsx
|
|
2572
2572
|
var React3 = __toESM(require("react"));
|
|
2573
2573
|
|
|
2574
|
-
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@
|
|
2574
|
+
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
2575
2575
|
var React2 = __toESM(require("react"), 1);
|
|
2576
2576
|
|
|
2577
|
-
// ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@18.3.23_react@
|
|
2577
|
+
// ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
2578
2578
|
var React = __toESM(require("react"), 1);
|
|
2579
2579
|
function setRef(ref, value) {
|
|
2580
2580
|
if (typeof ref === "function") {
|
|
@@ -2611,7 +2611,7 @@ function useComposedRefs(...refs) {
|
|
|
2611
2611
|
return React.useCallback(composeRefs(...refs), refs);
|
|
2612
2612
|
}
|
|
2613
2613
|
|
|
2614
|
-
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@
|
|
2614
|
+
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
2615
2615
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
2616
2616
|
// @__NO_SIDE_EFFECTS__
|
|
2617
2617
|
function createSlot(ownerName) {
|
|
@@ -2781,117 +2781,10 @@ var Button = React3.forwardRef(
|
|
|
2781
2781
|
);
|
|
2782
2782
|
Button.displayName = "Button";
|
|
2783
2783
|
|
|
2784
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
2785
|
-
var import_react2 = require("react");
|
|
2786
|
-
|
|
2787
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
2788
|
-
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
2789
|
-
var toCamelCase = (string) => string.replace(
|
|
2790
|
-
/^([A-Z])|[\s-_]+(\w)/g,
|
|
2791
|
-
(match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
|
|
2792
|
-
);
|
|
2793
|
-
var toPascalCase = (string) => {
|
|
2794
|
-
const camelCase = toCamelCase(string);
|
|
2795
|
-
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
2796
|
-
};
|
|
2797
|
-
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
2798
|
-
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
2799
|
-
}).join(" ").trim();
|
|
2800
|
-
var hasA11yProp = (props) => {
|
|
2801
|
-
for (const prop in props) {
|
|
2802
|
-
if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
|
|
2803
|
-
return true;
|
|
2804
|
-
}
|
|
2805
|
-
}
|
|
2806
|
-
};
|
|
2807
|
-
|
|
2808
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
|
2809
|
-
var import_react = require("react");
|
|
2810
|
-
|
|
2811
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
2812
|
-
var defaultAttributes = {
|
|
2813
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2814
|
-
width: 24,
|
|
2815
|
-
height: 24,
|
|
2816
|
-
viewBox: "0 0 24 24",
|
|
2817
|
-
fill: "none",
|
|
2818
|
-
stroke: "currentColor",
|
|
2819
|
-
strokeWidth: 2,
|
|
2820
|
-
strokeLinecap: "round",
|
|
2821
|
-
strokeLinejoin: "round"
|
|
2822
|
-
};
|
|
2823
|
-
|
|
2824
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
|
2825
|
-
var Icon = (0, import_react.forwardRef)(
|
|
2826
|
-
({
|
|
2827
|
-
color = "currentColor",
|
|
2828
|
-
size = 24,
|
|
2829
|
-
strokeWidth = 2,
|
|
2830
|
-
absoluteStrokeWidth,
|
|
2831
|
-
className = "",
|
|
2832
|
-
children,
|
|
2833
|
-
iconNode,
|
|
2834
|
-
...rest
|
|
2835
|
-
}, ref) => (0, import_react.createElement)(
|
|
2836
|
-
"svg",
|
|
2837
|
-
{
|
|
2838
|
-
ref,
|
|
2839
|
-
...defaultAttributes,
|
|
2840
|
-
width: size,
|
|
2841
|
-
height: size,
|
|
2842
|
-
stroke: color,
|
|
2843
|
-
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
2844
|
-
className: mergeClasses("lucide", className),
|
|
2845
|
-
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
|
2846
|
-
...rest
|
|
2847
|
-
},
|
|
2848
|
-
[
|
|
2849
|
-
...iconNode.map(([tag, attrs]) => (0, import_react.createElement)(tag, attrs)),
|
|
2850
|
-
...Array.isArray(children) ? children : [children]
|
|
2851
|
-
]
|
|
2852
|
-
)
|
|
2853
|
-
);
|
|
2854
|
-
|
|
2855
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
2856
|
-
var createLucideIcon = (iconName, iconNode) => {
|
|
2857
|
-
const Component = (0, import_react2.forwardRef)(
|
|
2858
|
-
({ className, ...props }, ref) => (0, import_react2.createElement)(Icon, {
|
|
2859
|
-
ref,
|
|
2860
|
-
iconNode,
|
|
2861
|
-
className: mergeClasses(
|
|
2862
|
-
`lucide-${toKebabCase(toPascalCase(iconName))}`,
|
|
2863
|
-
`lucide-${iconName}`,
|
|
2864
|
-
className
|
|
2865
|
-
),
|
|
2866
|
-
...props
|
|
2867
|
-
})
|
|
2868
|
-
);
|
|
2869
|
-
Component.displayName = toPascalCase(iconName);
|
|
2870
|
-
return Component;
|
|
2871
|
-
};
|
|
2872
|
-
|
|
2873
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/arrow-right.js
|
|
2874
|
-
var __iconNode = [
|
|
2875
|
-
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
2876
|
-
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
2877
|
-
];
|
|
2878
|
-
var ArrowRight = createLucideIcon("arrow-right", __iconNode);
|
|
2879
|
-
|
|
2880
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js
|
|
2881
|
-
var __iconNode2 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
2882
|
-
var LoaderCircle = createLucideIcon("loader-circle", __iconNode2);
|
|
2883
|
-
|
|
2884
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/x.js
|
|
2885
|
-
var __iconNode3 = [
|
|
2886
|
-
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
2887
|
-
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
2888
|
-
];
|
|
2889
|
-
var X = createLucideIcon("x", __iconNode3);
|
|
2890
|
-
|
|
2891
2784
|
// src/libraries/react/components/ui/dialog.tsx
|
|
2892
2785
|
var React26 = __toESM(require("react"));
|
|
2893
2786
|
|
|
2894
|
-
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.
|
|
2787
|
+
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3_6jqxb3tj3w4wyxj7ukcjjle5fm/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
2895
2788
|
var React25 = __toESM(require("react"), 1);
|
|
2896
2789
|
|
|
2897
2790
|
// ../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
|
|
@@ -2904,7 +2797,7 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
|
|
|
2904
2797
|
};
|
|
2905
2798
|
}
|
|
2906
2799
|
|
|
2907
|
-
// ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@18.3.23_react@
|
|
2800
|
+
// ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
2908
2801
|
var React4 = __toESM(require("react"), 1);
|
|
2909
2802
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
2910
2803
|
function createContext2(rootComponentName, defaultContext) {
|
|
@@ -2981,15 +2874,15 @@ function composeContextScopes(...scopes) {
|
|
|
2981
2874
|
return createScope;
|
|
2982
2875
|
}
|
|
2983
2876
|
|
|
2984
|
-
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@
|
|
2877
|
+
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
2985
2878
|
var React6 = __toESM(require("react"), 1);
|
|
2986
2879
|
|
|
2987
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@18.3.23_react@
|
|
2880
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
2988
2881
|
var React5 = __toESM(require("react"), 1);
|
|
2989
2882
|
var useLayoutEffect2 = globalThis?.document ? React5.useLayoutEffect : () => {
|
|
2990
2883
|
};
|
|
2991
2884
|
|
|
2992
|
-
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@
|
|
2885
|
+
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
2993
2886
|
var useReactId = React6[" useId ".trim().toString()] || (() => void 0);
|
|
2994
2887
|
var count = 0;
|
|
2995
2888
|
function useId(deterministicId) {
|
|
@@ -3000,7 +2893,7 @@ function useId(deterministicId) {
|
|
|
3000
2893
|
return deterministicId || (id ? `radix-${id}` : "");
|
|
3001
2894
|
}
|
|
3002
2895
|
|
|
3003
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@18.3.23_react@
|
|
2896
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
3004
2897
|
var React7 = __toESM(require("react"), 1);
|
|
3005
2898
|
var React22 = __toESM(require("react"), 1);
|
|
3006
2899
|
var useInsertionEffect = React7[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
@@ -3069,10 +2962,10 @@ function isFunction(value) {
|
|
|
3069
2962
|
}
|
|
3070
2963
|
var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
|
|
3071
2964
|
|
|
3072
|
-
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@
|
|
2965
|
+
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@types_drwlkfjdq4wgdhzmir3o6m26pm/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
3073
2966
|
var React11 = __toESM(require("react"), 1);
|
|
3074
2967
|
|
|
3075
|
-
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@
|
|
2968
|
+
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18_nioct6cchui7iasnxutwakzwo4/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
3076
2969
|
var React8 = __toESM(require("react"), 1);
|
|
3077
2970
|
var ReactDOM = __toESM(require("react-dom"), 1);
|
|
3078
2971
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
@@ -3112,7 +3005,7 @@ function dispatchDiscreteCustomEvent(target, event) {
|
|
|
3112
3005
|
if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));
|
|
3113
3006
|
}
|
|
3114
3007
|
|
|
3115
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@18.3.23_react@
|
|
3008
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
3116
3009
|
var React9 = __toESM(require("react"), 1);
|
|
3117
3010
|
function useCallbackRef(callback) {
|
|
3118
3011
|
const callbackRef = React9.useRef(callback);
|
|
@@ -3122,7 +3015,7 @@ function useCallbackRef(callback) {
|
|
|
3122
3015
|
return React9.useMemo(() => (...args) => callbackRef.current?.(...args), []);
|
|
3123
3016
|
}
|
|
3124
3017
|
|
|
3125
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@18.3.23_react@
|
|
3018
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
3126
3019
|
var React10 = __toESM(require("react"), 1);
|
|
3127
3020
|
function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
|
|
3128
3021
|
const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
|
|
@@ -3137,7 +3030,7 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
|
|
|
3137
3030
|
}, [onEscapeKeyDown, ownerDocument]);
|
|
3138
3031
|
}
|
|
3139
3032
|
|
|
3140
|
-
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@
|
|
3033
|
+
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@types_drwlkfjdq4wgdhzmir3o6m26pm/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
3141
3034
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
3142
3035
|
var DISMISSABLE_LAYER_NAME = "DismissableLayer";
|
|
3143
3036
|
var CONTEXT_UPDATE = "dismissableLayer.update";
|
|
@@ -3342,7 +3235,7 @@ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
|
|
|
3342
3235
|
}
|
|
3343
3236
|
}
|
|
3344
3237
|
|
|
3345
|
-
// ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@
|
|
3238
|
+
// ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@_tzcmconc5ragkl5g7l4v5nw77e/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
3346
3239
|
var React12 = __toESM(require("react"), 1);
|
|
3347
3240
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
3348
3241
|
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
@@ -3546,7 +3439,7 @@ function removeLinks(items) {
|
|
|
3546
3439
|
return items.filter((item) => item.tagName !== "A");
|
|
3547
3440
|
}
|
|
3548
3441
|
|
|
3549
|
-
// ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3.
|
|
3442
|
+
// ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._i6nxrodwqs37ebgrrch2pubydm/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
3550
3443
|
var React13 = __toESM(require("react"), 1);
|
|
3551
3444
|
var import_react_dom = __toESM(require("react-dom"), 1);
|
|
3552
3445
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
@@ -3560,7 +3453,7 @@ var Portal = React13.forwardRef((props, forwardedRef) => {
|
|
|
3560
3453
|
});
|
|
3561
3454
|
Portal.displayName = PORTAL_NAME;
|
|
3562
3455
|
|
|
3563
|
-
// ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.
|
|
3456
|
+
// ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18._bzol5sev26xbtplj3ab5nkoo5a/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
3564
3457
|
var React23 = __toESM(require("react"), 1);
|
|
3565
3458
|
var React14 = __toESM(require("react"), 1);
|
|
3566
3459
|
function useStateMachine(initialState, machine) {
|
|
@@ -3686,7 +3579,7 @@ function getElementRef2(element) {
|
|
|
3686
3579
|
return element.props.ref || element.ref;
|
|
3687
3580
|
}
|
|
3688
3581
|
|
|
3689
|
-
// ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@18.3.23_react@
|
|
3582
|
+
// ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
3690
3583
|
var React15 = __toESM(require("react"), 1);
|
|
3691
3584
|
var count2 = 0;
|
|
3692
3585
|
function useFocusGuards() {
|
|
@@ -3746,19 +3639,19 @@ function __spreadArray(to, from, pack) {
|
|
|
3746
3639
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
3747
3640
|
}
|
|
3748
3641
|
|
|
3749
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
3642
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
3750
3643
|
var React24 = __toESM(require("react"));
|
|
3751
3644
|
|
|
3752
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
3645
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
3753
3646
|
var React18 = __toESM(require("react"));
|
|
3754
3647
|
|
|
3755
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@
|
|
3648
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3756
3649
|
var zeroRightClassName = "right-scroll-bar-position";
|
|
3757
3650
|
var fullWidthClassName = "width-before-scroll-bar";
|
|
3758
3651
|
var noScrollbarsClassName = "with-scroll-bars-hidden";
|
|
3759
3652
|
var removedBarSizeVariable = "--removed-body-scroll-bar-size";
|
|
3760
3653
|
|
|
3761
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@
|
|
3654
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3762
3655
|
function assignRef(ref, value) {
|
|
3763
3656
|
if (typeof ref === "function") {
|
|
3764
3657
|
ref(value);
|
|
@@ -3768,10 +3661,10 @@ function assignRef(ref, value) {
|
|
|
3768
3661
|
return ref;
|
|
3769
3662
|
}
|
|
3770
3663
|
|
|
3771
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@
|
|
3772
|
-
var
|
|
3664
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3665
|
+
var import_react = require("react");
|
|
3773
3666
|
function useCallbackRef2(initialValue, callback) {
|
|
3774
|
-
var ref = (0,
|
|
3667
|
+
var ref = (0, import_react.useState)(function() {
|
|
3775
3668
|
return {
|
|
3776
3669
|
// value
|
|
3777
3670
|
value: initialValue,
|
|
@@ -3796,7 +3689,7 @@ function useCallbackRef2(initialValue, callback) {
|
|
|
3796
3689
|
return ref.facade;
|
|
3797
3690
|
}
|
|
3798
3691
|
|
|
3799
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@
|
|
3692
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3800
3693
|
var React16 = __toESM(require("react"));
|
|
3801
3694
|
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React16.useLayoutEffect : React16.useEffect;
|
|
3802
3695
|
var currentValues = /* @__PURE__ */ new WeakMap();
|
|
@@ -3828,7 +3721,7 @@ function useMergeRefs(refs, defaultValue) {
|
|
|
3828
3721
|
return callbackRef;
|
|
3829
3722
|
}
|
|
3830
3723
|
|
|
3831
|
-
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@
|
|
3724
|
+
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@19.1.0/node_modules/use-sidecar/dist/es2015/medium.js
|
|
3832
3725
|
function ItoI(a) {
|
|
3833
3726
|
return a;
|
|
3834
3727
|
}
|
|
@@ -3914,7 +3807,7 @@ function createSidecarMedium(options) {
|
|
|
3914
3807
|
return medium;
|
|
3915
3808
|
}
|
|
3916
3809
|
|
|
3917
|
-
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@
|
|
3810
|
+
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@19.1.0/node_modules/use-sidecar/dist/es2015/exports.js
|
|
3918
3811
|
var React17 = __toESM(require("react"));
|
|
3919
3812
|
var SideCar = function(_a) {
|
|
3920
3813
|
var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
|
|
@@ -3933,10 +3826,10 @@ function exportSidecar(medium, exported) {
|
|
|
3933
3826
|
return SideCar;
|
|
3934
3827
|
}
|
|
3935
3828
|
|
|
3936
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
3829
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3937
3830
|
var effectCar = createSidecarMedium();
|
|
3938
3831
|
|
|
3939
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
3832
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
3940
3833
|
var nothing = function() {
|
|
3941
3834
|
return;
|
|
3942
3835
|
};
|
|
@@ -3968,13 +3861,13 @@ RemoveScroll.classNames = {
|
|
|
3968
3861
|
zeroRight: zeroRightClassName
|
|
3969
3862
|
};
|
|
3970
3863
|
|
|
3971
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
3864
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
3972
3865
|
var React21 = __toESM(require("react"));
|
|
3973
3866
|
|
|
3974
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@
|
|
3867
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
3975
3868
|
var React20 = __toESM(require("react"));
|
|
3976
3869
|
|
|
3977
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@
|
|
3870
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
3978
3871
|
var React19 = __toESM(require("react"));
|
|
3979
3872
|
|
|
3980
3873
|
// ../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
|
|
@@ -3989,7 +3882,7 @@ var getNonce = function() {
|
|
|
3989
3882
|
return void 0;
|
|
3990
3883
|
};
|
|
3991
3884
|
|
|
3992
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@
|
|
3885
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3993
3886
|
function makeStyleTag() {
|
|
3994
3887
|
if (!document)
|
|
3995
3888
|
return null;
|
|
@@ -4035,7 +3928,7 @@ var stylesheetSingleton = function() {
|
|
|
4035
3928
|
};
|
|
4036
3929
|
};
|
|
4037
3930
|
|
|
4038
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@
|
|
3931
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
4039
3932
|
var styleHookSingleton = function() {
|
|
4040
3933
|
var sheet = stylesheetSingleton();
|
|
4041
3934
|
return function(styles, isDynamic) {
|
|
@@ -4048,7 +3941,7 @@ var styleHookSingleton = function() {
|
|
|
4048
3941
|
};
|
|
4049
3942
|
};
|
|
4050
3943
|
|
|
4051
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@
|
|
3944
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/component.js
|
|
4052
3945
|
var styleSingleton = function() {
|
|
4053
3946
|
var useStyle = styleHookSingleton();
|
|
4054
3947
|
var Sheet = function(_a) {
|
|
@@ -4059,7 +3952,7 @@ var styleSingleton = function() {
|
|
|
4059
3952
|
return Sheet;
|
|
4060
3953
|
};
|
|
4061
3954
|
|
|
4062
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@
|
|
3955
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
|
|
4063
3956
|
var zeroGap = {
|
|
4064
3957
|
left: 0,
|
|
4065
3958
|
top: 0,
|
|
@@ -4094,7 +3987,7 @@ var getGapWidth = function(gapMode) {
|
|
|
4094
3987
|
};
|
|
4095
3988
|
};
|
|
4096
3989
|
|
|
4097
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@
|
|
3990
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
4098
3991
|
var Style = styleSingleton();
|
|
4099
3992
|
var lockAttribute = "data-scroll-locked";
|
|
4100
3993
|
var getStyles = function(_a, allowRelative, gapMode, important) {
|
|
@@ -4134,7 +4027,7 @@ var RemoveScrollBar = function(_a) {
|
|
|
4134
4027
|
return React20.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
|
|
4135
4028
|
};
|
|
4136
4029
|
|
|
4137
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
4030
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
|
|
4138
4031
|
var passiveSupported = false;
|
|
4139
4032
|
if (typeof window !== "undefined") {
|
|
4140
4033
|
try {
|
|
@@ -4153,7 +4046,7 @@ if (typeof window !== "undefined") {
|
|
|
4153
4046
|
var options;
|
|
4154
4047
|
var nonPassive = passiveSupported ? { passive: false } : false;
|
|
4155
4048
|
|
|
4156
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
4049
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
|
|
4157
4050
|
var alwaysContainsScroll = function(node) {
|
|
4158
4051
|
return node.tagName === "TEXTAREA";
|
|
4159
4052
|
};
|
|
@@ -4253,7 +4146,7 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
|
|
|
4253
4146
|
return shouldCancelScroll;
|
|
4254
4147
|
};
|
|
4255
4148
|
|
|
4256
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
4149
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
4257
4150
|
var getTouchXY = function(event) {
|
|
4258
4151
|
return "changedTouches" in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];
|
|
4259
4152
|
};
|
|
@@ -4418,10 +4311,10 @@ function getOutermostShadowParent(node) {
|
|
|
4418
4311
|
return shadowParent;
|
|
4419
4312
|
}
|
|
4420
4313
|
|
|
4421
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
4314
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
4422
4315
|
var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
4423
4316
|
|
|
4424
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@
|
|
4317
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
4425
4318
|
var ReactRemoveScroll = React24.forwardRef(function(props, ref) {
|
|
4426
4319
|
return React24.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
|
|
4427
4320
|
});
|
|
@@ -4549,7 +4442,7 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
|
4549
4442
|
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
4550
4443
|
};
|
|
4551
4444
|
|
|
4552
|
-
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.
|
|
4445
|
+
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3_6jqxb3tj3w4wyxj7ukcjjle5fm/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
4553
4446
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
4554
4447
|
var DIALOG_NAME = "Dialog";
|
|
4555
4448
|
var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
|
|
@@ -4887,10 +4780,7 @@ var DialogContent2 = React26.forwardRef(({ className, children, ...props }, ref)
|
|
|
4887
4780
|
...props,
|
|
4888
4781
|
children: [
|
|
4889
4782
|
children,
|
|
4890
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.
|
|
4891
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(X, { className: "au-h-4 au-w-4" }),
|
|
4892
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "au-sr-only", children: "Close" })
|
|
4893
|
-
] })
|
|
4783
|
+
/* @__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" }) })
|
|
4894
4784
|
]
|
|
4895
4785
|
}
|
|
4896
4786
|
)
|
|
@@ -5066,10 +4956,10 @@ var getAttachContent = (preview) => {
|
|
|
5066
4956
|
};
|
|
5067
4957
|
|
|
5068
4958
|
// src/libraries/react/BaseAutumnProvider.tsx
|
|
5069
|
-
var
|
|
4959
|
+
var import_react4 = require("react");
|
|
5070
4960
|
|
|
5071
4961
|
// src/libraries/react/hooks/useDialog.tsx
|
|
5072
|
-
var
|
|
4962
|
+
var import_react2 = require("react");
|
|
5073
4963
|
|
|
5074
4964
|
// src/libraries/react/hooks/useCustomerBase.tsx
|
|
5075
4965
|
var import_swr2 = __toESM(require("swr"));
|
|
@@ -5994,8 +5884,8 @@ var AutumnClient = class {
|
|
|
5994
5884
|
};
|
|
5995
5885
|
|
|
5996
5886
|
// src/libraries/react/AutumnContext.tsx
|
|
5997
|
-
var
|
|
5998
|
-
var AutumnContext = (0,
|
|
5887
|
+
var import_react3 = require("react");
|
|
5888
|
+
var AutumnContext = (0, import_react3.createContext)({
|
|
5999
5889
|
initialized: false,
|
|
6000
5890
|
disableDialogs: false,
|
|
6001
5891
|
client: new AutumnClient({ backendUrl: "" }),
|
|
@@ -6025,7 +5915,7 @@ var useAutumnContext = ({
|
|
|
6025
5915
|
name,
|
|
6026
5916
|
errorIfNotInitialized = true
|
|
6027
5917
|
}) => {
|
|
6028
|
-
const context = (0,
|
|
5918
|
+
const context = (0, import_react3.useContext)(AutumnContext2);
|
|
6029
5919
|
if (!context.initialized && errorIfNotInitialized) {
|
|
6030
5920
|
throw new Error(`${name} must be used within <AutumnProvider />`);
|
|
6031
5921
|
}
|
|
@@ -6232,7 +6122,8 @@ var usePricingTableBase = ({
|
|
|
6232
6122
|
// src/libraries/react/hooks/useAutumnBase.tsx
|
|
6233
6123
|
var useAutumnBase = ({
|
|
6234
6124
|
AutumnContext: AutumnContext2,
|
|
6235
|
-
authClient
|
|
6125
|
+
authClient,
|
|
6126
|
+
refetchCustomer
|
|
6236
6127
|
}) => {
|
|
6237
6128
|
const context = useAutumnContext({
|
|
6238
6129
|
AutumnContext: AutumnContext2,
|
|
@@ -6271,6 +6162,9 @@ var useAutumnBase = ({
|
|
|
6271
6162
|
}
|
|
6272
6163
|
}
|
|
6273
6164
|
await refetchPricingTable();
|
|
6165
|
+
if (refetchCustomer) {
|
|
6166
|
+
await refetchCustomer();
|
|
6167
|
+
}
|
|
6274
6168
|
if (setAttachOpen) {
|
|
6275
6169
|
setAttachOpen(false);
|
|
6276
6170
|
}
|
|
@@ -6519,7 +6413,8 @@ var useCustomerBase = ({
|
|
|
6519
6413
|
let autumnFunctions = emptyDefaultFunctions;
|
|
6520
6414
|
if (AutumnContext2) {
|
|
6521
6415
|
autumnFunctions = useAutumnBase({
|
|
6522
|
-
AutumnContext: AutumnContext2
|
|
6416
|
+
AutumnContext: AutumnContext2,
|
|
6417
|
+
refetchCustomer: mutate
|
|
6523
6418
|
});
|
|
6524
6419
|
}
|
|
6525
6420
|
return {
|
|
@@ -6551,23 +6446,23 @@ var useCustomer = (params) => {
|
|
|
6551
6446
|
|
|
6552
6447
|
// src/libraries/react/hooks/useEntityBase.tsx
|
|
6553
6448
|
var import_swr3 = __toESM(require("swr"));
|
|
6554
|
-
var
|
|
6449
|
+
var import_react5 = require("react");
|
|
6555
6450
|
|
|
6556
6451
|
// src/libraries/react/components/check-dialog/check-dialog-synced.tsx
|
|
6557
|
-
var
|
|
6452
|
+
var import_react6 = require("react");
|
|
6558
6453
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
6559
6454
|
|
|
6560
6455
|
// src/libraries/react/components/pricing-table/pricing-table-synced.tsx
|
|
6561
|
-
var
|
|
6562
|
-
var
|
|
6456
|
+
var import_react7 = __toESM(require("react"));
|
|
6457
|
+
var import_react8 = require("react");
|
|
6563
6458
|
|
|
6564
6459
|
// src/libraries/react/components/ui/switch.tsx
|
|
6565
6460
|
var React30 = __toESM(require("react"));
|
|
6566
6461
|
|
|
6567
|
-
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3.
|
|
6462
|
+
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._6zzey5cj563f4jvdnd6324q4ry/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
6568
6463
|
var React29 = __toESM(require("react"), 1);
|
|
6569
6464
|
|
|
6570
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@18.3.23_react@
|
|
6465
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
6571
6466
|
var React27 = __toESM(require("react"), 1);
|
|
6572
6467
|
function usePrevious(value) {
|
|
6573
6468
|
const ref = React27.useRef({ value, previous: value });
|
|
@@ -6580,7 +6475,7 @@ function usePrevious(value) {
|
|
|
6580
6475
|
}, [value]);
|
|
6581
6476
|
}
|
|
6582
6477
|
|
|
6583
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@18.3.23_react@
|
|
6478
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
6584
6479
|
var React28 = __toESM(require("react"), 1);
|
|
6585
6480
|
function useSize(element) {
|
|
6586
6481
|
const [size, setSize] = React28.useState(void 0);
|
|
@@ -6617,7 +6512,7 @@ function useSize(element) {
|
|
|
6617
6512
|
return size;
|
|
6618
6513
|
}
|
|
6619
6514
|
|
|
6620
|
-
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3.
|
|
6515
|
+
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._6zzey5cj563f4jvdnd6324q4ry/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
6621
6516
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
6622
6517
|
var SWITCH_NAME = "Switch";
|
|
6623
6518
|
var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
|
|
@@ -6804,15 +6699,15 @@ if (typeof document !== "undefined") {
|
|
|
6804
6699
|
|
|
6805
6700
|
// src/libraries/react/components/pricing-table/pricing-table-synced.tsx
|
|
6806
6701
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
6807
|
-
var PricingTableContext = (0,
|
|
6702
|
+
var PricingTableContext = (0, import_react8.createContext)({
|
|
6808
6703
|
isAnnualToggle: false,
|
|
6809
6704
|
setIsAnnualToggle: () => {
|
|
6810
6705
|
},
|
|
6811
6706
|
products: [],
|
|
6812
6707
|
showFeatures: true
|
|
6813
6708
|
});
|
|
6814
|
-
var PricingCardButton =
|
|
6815
|
-
const [loading, setLoading] = (0,
|
|
6709
|
+
var PricingCardButton = import_react7.default.forwardRef(({ recommended, children, className, onClick, ...props }, ref) => {
|
|
6710
|
+
const [loading, setLoading] = (0, import_react8.useState)(false);
|
|
6816
6711
|
const handleClick = async (e) => {
|
|
6817
6712
|
setLoading(true);
|
|
6818
6713
|
try {
|
|
@@ -6834,17 +6729,7 @@ var PricingCardButton = import_react9.default.forwardRef(({ recommended, childre
|
|
|
6834
6729
|
variant: recommended ? "default" : "secondary",
|
|
6835
6730
|
ref,
|
|
6836
6731
|
disabled: loading || props.disabled,
|
|
6837
|
-
onClick: handleClick
|
|
6838
|
-
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(LoaderCircle, { className: "au-h-4 au-w-4 au-animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
|
|
6839
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "au-flex au-items-center au-justify-between au-w-full au-transition-transform au-duration-300 group-hover:au-translate-y-[-130%]", children: [
|
|
6840
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children }),
|
|
6841
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "au-text-sm", children: "\u2192" })
|
|
6842
|
-
] }),
|
|
6843
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "au-flex au-items-center au-justify-between au-w-full au-absolute au-px-4 au-translate-y-[130%] au-transition-transform au-duration-300 group-hover:au-translate-y-0 au-mt-2 group-hover:au-mt-0", children: [
|
|
6844
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children }),
|
|
6845
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "au-text-sm", children: "\u2192" })
|
|
6846
|
-
] })
|
|
6847
|
-
] })
|
|
6732
|
+
onClick: handleClick
|
|
6848
6733
|
}
|
|
6849
6734
|
);
|
|
6850
6735
|
});
|
|
@@ -6854,8 +6739,8 @@ PricingCardButton.displayName = "PricingCardButton";
|
|
|
6854
6739
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
6855
6740
|
function AttachDialog(params) {
|
|
6856
6741
|
const { attach } = useCustomer();
|
|
6857
|
-
const [loading, setLoading] = (0,
|
|
6858
|
-
const [optionsInput, setOptionsInput] = (0,
|
|
6742
|
+
const [loading, setLoading] = (0, import_react9.useState)(false);
|
|
6743
|
+
const [optionsInput, setOptionsInput] = (0, import_react9.useState)(
|
|
6859
6744
|
params?.preview?.options || []
|
|
6860
6745
|
);
|
|
6861
6746
|
const getTotalPrice = () => {
|
|
@@ -6867,7 +6752,7 @@ function AttachDialog(params) {
|
|
|
6867
6752
|
});
|
|
6868
6753
|
return sum;
|
|
6869
6754
|
};
|
|
6870
|
-
(0,
|
|
6755
|
+
(0, import_react9.useEffect)(() => {
|
|
6871
6756
|
setOptionsInput(params?.preview?.options || []);
|
|
6872
6757
|
}, [params?.preview?.options]);
|
|
6873
6758
|
if (!params || !params.preview) {
|
|
@@ -6928,8 +6813,7 @@ function AttachDialog(params) {
|
|
|
6928
6813
|
setLoading(false);
|
|
6929
6814
|
},
|
|
6930
6815
|
disabled: loading,
|
|
6931
|
-
className: "au-min-w-16 au-flex au-items-center au-gap-2"
|
|
6932
|
-
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(LoaderCircle, { className: "au-w-4 au-h-4 au-animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "au-whitespace-nowrap au-flex au-gap-1", children: "Confirm" }) })
|
|
6816
|
+
className: "au-min-w-16 au-flex au-items-center au-gap-2"
|
|
6933
6817
|
}
|
|
6934
6818
|
)
|
|
6935
6819
|
] })
|
|
@@ -7046,17 +6930,14 @@ var PricingDialogButton = ({
|
|
|
7046
6930
|
disabled,
|
|
7047
6931
|
className
|
|
7048
6932
|
}) => {
|
|
7049
|
-
return /* @__PURE__ */ (0, import_jsx_runtime18.
|
|
6933
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
7050
6934
|
Button,
|
|
7051
6935
|
{
|
|
7052
6936
|
onClick,
|
|
7053
6937
|
disabled,
|
|
7054
6938
|
size,
|
|
7055
6939
|
className: cn(className, "au-shadow-sm au-shadow-stone-400"),
|
|
7056
|
-
children
|
|
7057
|
-
children,
|
|
7058
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ArrowRight, { className: "!au-h-3" })
|
|
7059
|
-
]
|
|
6940
|
+
children
|
|
7060
6941
|
}
|
|
7061
6942
|
);
|
|
7062
6943
|
};
|
|
@@ -7068,20 +6949,3 @@ var PricingDialogButton = ({
|
|
|
7068
6949
|
QuantityInput,
|
|
7069
6950
|
TotalPrice
|
|
7070
6951
|
});
|
|
7071
|
-
/*! Bundled license information:
|
|
7072
|
-
|
|
7073
|
-
lucide-react/dist/esm/shared/src/utils.js:
|
|
7074
|
-
lucide-react/dist/esm/defaultAttributes.js:
|
|
7075
|
-
lucide-react/dist/esm/Icon.js:
|
|
7076
|
-
lucide-react/dist/esm/createLucideIcon.js:
|
|
7077
|
-
lucide-react/dist/esm/icons/arrow-right.js:
|
|
7078
|
-
lucide-react/dist/esm/icons/loader-circle.js:
|
|
7079
|
-
lucide-react/dist/esm/icons/x.js:
|
|
7080
|
-
lucide-react/dist/esm/lucide-react.js:
|
|
7081
|
-
(**
|
|
7082
|
-
* @license lucide-react v0.523.0 - ISC
|
|
7083
|
-
*
|
|
7084
|
-
* This source code is licensed under the ISC license.
|
|
7085
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7086
|
-
*)
|
|
7087
|
-
*/
|