autumn-js 0.0.105 → 0.0.106
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/libraries/backend/better-auth.d.mts +18 -18
- package/dist/libraries/backend/better-auth.d.ts +18 -18
- package/dist/libraries/backend/better-auth.mjs +2 -2
- package/dist/libraries/backend/convex.mjs +2 -2
- package/dist/libraries/backend/elysia.mjs +2 -2
- package/dist/libraries/backend/express.d.mts +1 -1
- package/dist/libraries/backend/express.d.ts +1 -1
- package/dist/libraries/backend/express.mjs +2 -2
- package/dist/libraries/backend/fastify.mjs +2 -2
- package/dist/libraries/backend/hono.mjs +2 -2
- package/dist/libraries/backend/next.mjs +2 -2
- package/dist/libraries/backend/react-router.mjs +2 -2
- package/dist/libraries/backend/remix_dep.mjs +2 -2
- package/dist/libraries/backend/routes/backendRouter.mjs +2 -2
- package/dist/libraries/backend/supabase.mjs +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/{chunk-N7LPH3DU.mjs → chunk-677B44JM.mjs} +16 -7
- package/dist/libraries/react/chunk-GUM4HIGI.mjs +30 -0
- package/dist/libraries/react/{chunk-DJIRJJNG.mjs → chunk-UM3ZQPMU.mjs} +3 -3
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.css +59 -0
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +16 -7
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +4 -4
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +59 -0
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +16 -7
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +4 -4
- package/dist/libraries/react/components/ui/button.d.mts +1 -1
- package/dist/libraries/react/components/ui/button.d.ts +1 -1
- package/dist/libraries/react/components/ui/input.js +2 -2
- package/dist/libraries/react/components/ui/input.mjs +1 -1
- package/dist/libraries/react/components/ui/popover.js +3 -3
- package/dist/libraries/react/components/ui/popover.mjs +1 -1
- package/dist/libraries/react/hooks/useAutumn.d.mts +1 -1
- package/dist/libraries/react/hooks/useAutumn.d.ts +1 -1
- package/dist/libraries/react/hooks/useAutumnBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useAutumnBase.d.ts +1 -1
- package/dist/libraries/react/hooks/useEntity.d.mts +1 -1
- package/dist/libraries/react/hooks/useEntity.d.ts +1 -1
- package/dist/libraries/react/hooks/useEntityBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useEntityBase.d.ts +1 -1
- package/dist/libraries/react/index.js +17 -8
- package/dist/libraries/react/index.mjs +17 -8
- package/dist/next/client/NextAutumnClient.d.mts +6 -6
- package/dist/next/client/NextAutumnClient.d.ts +6 -6
- package/dist/next/client/NextAutumnProvider.d.mts +1 -1
- package/dist/next/client/NextAutumnProvider.d.ts +1 -1
- package/dist/next/client/{attachTypes-BmvzLAdZ.d.ts → attachTypes-BL6x9Zbx.d.ts} +3 -3
- package/dist/next/client/{attachTypes-BbjEGh-Q.d.mts → attachTypes-BPYeJ6E4.d.mts} +3 -3
- package/dist/next/client/{clientAttachTypes-DWV50ToQ.d.ts → clientAttachTypes-Dj6U8D7o.d.ts} +3 -3
- package/dist/next/client/{clientAttachTypes-xaEzXIt3.d.mts → clientAttachTypes-fN66J754.d.mts} +3 -3
- package/dist/next/client/clientUtils.d.mts +2 -2
- package/dist/next/client/clientUtils.d.ts +2 -2
- package/dist/next/client/{entTypes-DtUiQ3Ms.d.ts → entTypes-BrHkjvC9.d.ts} +1 -1
- package/dist/next/client/{entTypes-BRNi52gE.d.mts → entTypes-Li6ZrG0C.d.mts} +1 -1
- package/dist/next/client/hooks/useAutumn.d.mts +6 -6
- package/dist/next/client/hooks/useAutumn.d.ts +6 -6
- package/dist/next/client/hooks/useCustomer.d.mts +4 -4
- package/dist/next/client/hooks/useCustomer.d.ts +4 -4
- package/dist/next/client/hooks/useEntity.d.mts +8 -8
- package/dist/next/client/hooks/useEntity.d.ts +8 -8
- 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/styles/global.css +59 -0
- package/package.json +1 -1
- package/dist/libraries/react/chunk-QUO2CYKM.mjs +0 -30
- package/dist/libraries/backend/{chunk-ICPSX5WQ.mjs → chunk-2RZ2FZX2.mjs} +3 -3
- package/dist/libraries/backend/{referralTypes-DKd7XOdW.d.ts → referralTypes-CnYanpMd.d.ts} +27 -27
- package/dist/libraries/backend/{referralTypes-CILDqqIc.d.mts → referralTypes-jA7MQ1y5.d.mts} +27 -27
- package/dist/next/client/{cusTypes-mflRCYE_.d.mts → cusTypes-BoVZ2omf.d.mts} +2 -2
- package/dist/next/client/{cusTypes-mflRCYE_.d.ts → cusTypes-BoVZ2omf.d.ts} +2 -2
|
@@ -130,13 +130,13 @@ declare const autumn: (options?: {
|
|
|
130
130
|
attach: {
|
|
131
131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
132
132
|
body: {
|
|
133
|
-
entity_id?: string | undefined;
|
|
134
133
|
options?: {
|
|
135
134
|
feature_id: string;
|
|
136
135
|
quantity: number;
|
|
137
136
|
}[] | undefined;
|
|
138
137
|
metadata?: Record<string, string> | undefined;
|
|
139
138
|
product_id?: string | undefined;
|
|
139
|
+
entity_id?: string | undefined;
|
|
140
140
|
product_ids?: string[] | undefined;
|
|
141
141
|
free_trial?: boolean | undefined;
|
|
142
142
|
success_url?: string | undefined;
|
|
@@ -210,13 +210,13 @@ declare const autumn: (options?: {
|
|
|
210
210
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
211
211
|
reward: z.ZodOptional<z.ZodString>;
|
|
212
212
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
213
|
-
entity_id?: string | undefined;
|
|
214
213
|
options?: {
|
|
215
214
|
feature_id: string;
|
|
216
215
|
quantity: number;
|
|
217
216
|
}[] | undefined;
|
|
218
217
|
metadata?: Record<string, string> | undefined;
|
|
219
218
|
product_id?: string | undefined;
|
|
219
|
+
entity_id?: string | undefined;
|
|
220
220
|
product_ids?: string[] | undefined;
|
|
221
221
|
free_trial?: boolean | undefined;
|
|
222
222
|
success_url?: string | undefined;
|
|
@@ -230,13 +230,13 @@ declare const autumn: (options?: {
|
|
|
230
230
|
checkout_session_params?: Record<string, any> | undefined;
|
|
231
231
|
reward?: string | undefined;
|
|
232
232
|
}, {
|
|
233
|
-
entity_id?: string | undefined;
|
|
234
233
|
options?: {
|
|
235
234
|
feature_id: string;
|
|
236
235
|
quantity: number;
|
|
237
236
|
}[] | undefined;
|
|
238
237
|
metadata?: Record<string, string> | undefined;
|
|
239
238
|
product_id?: string | undefined;
|
|
239
|
+
entity_id?: string | undefined;
|
|
240
240
|
product_ids?: string[] | undefined;
|
|
241
241
|
free_trial?: boolean | undefined;
|
|
242
242
|
success_url?: string | undefined;
|
|
@@ -281,15 +281,15 @@ declare const autumn: (options?: {
|
|
|
281
281
|
check: {
|
|
282
282
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
283
283
|
body: {
|
|
284
|
-
feature_id?: string | undefined;
|
|
285
|
-
entity_id?: string | undefined;
|
|
286
|
-
required_balance?: number | undefined;
|
|
287
284
|
product_id?: string | undefined;
|
|
285
|
+
entity_id?: string | undefined;
|
|
286
|
+
feature_id?: string | undefined;
|
|
288
287
|
customer_data?: any;
|
|
289
288
|
entity_data?: {
|
|
290
289
|
feature_id: string;
|
|
291
290
|
name?: string | undefined;
|
|
292
291
|
} | undefined;
|
|
292
|
+
required_balance?: number | undefined;
|
|
293
293
|
send_event?: boolean | undefined;
|
|
294
294
|
with_preview?: boolean | undefined;
|
|
295
295
|
};
|
|
@@ -337,27 +337,27 @@ declare const autumn: (options?: {
|
|
|
337
337
|
name?: string | undefined;
|
|
338
338
|
}>>;
|
|
339
339
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
340
|
-
feature_id?: string | undefined;
|
|
341
|
-
entity_id?: string | undefined;
|
|
342
|
-
required_balance?: number | undefined;
|
|
343
340
|
product_id?: string | undefined;
|
|
341
|
+
entity_id?: string | undefined;
|
|
342
|
+
feature_id?: string | undefined;
|
|
344
343
|
customer_data?: any;
|
|
345
344
|
entity_data?: {
|
|
346
345
|
feature_id: string;
|
|
347
346
|
name?: string | undefined;
|
|
348
347
|
} | undefined;
|
|
348
|
+
required_balance?: number | undefined;
|
|
349
349
|
send_event?: boolean | undefined;
|
|
350
350
|
with_preview?: boolean | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
feature_id?: string | undefined;
|
|
353
|
-
entity_id?: string | undefined;
|
|
354
|
-
required_balance?: number | undefined;
|
|
355
352
|
product_id?: string | undefined;
|
|
353
|
+
entity_id?: string | undefined;
|
|
354
|
+
feature_id?: string | undefined;
|
|
356
355
|
customer_data?: any;
|
|
357
356
|
entity_data?: {
|
|
358
357
|
feature_id: string;
|
|
359
358
|
name?: string | undefined;
|
|
360
359
|
} | undefined;
|
|
360
|
+
required_balance?: number | undefined;
|
|
361
361
|
send_event?: boolean | undefined;
|
|
362
362
|
with_preview?: boolean | undefined;
|
|
363
363
|
}>;
|
|
@@ -392,9 +392,9 @@ declare const autumn: (options?: {
|
|
|
392
392
|
track: {
|
|
393
393
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
394
394
|
body: {
|
|
395
|
-
feature_id?: string | undefined;
|
|
396
|
-
entity_id?: string | undefined;
|
|
397
395
|
value?: number | undefined;
|
|
396
|
+
entity_id?: string | undefined;
|
|
397
|
+
feature_id?: string | undefined;
|
|
398
398
|
customer_data?: any;
|
|
399
399
|
entity_data?: any;
|
|
400
400
|
event_name?: string | undefined;
|
|
@@ -434,17 +434,17 @@ declare const autumn: (options?: {
|
|
|
434
434
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
435
435
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
436
436
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
437
|
-
feature_id?: string | undefined;
|
|
438
|
-
entity_id?: string | undefined;
|
|
439
437
|
value?: number | undefined;
|
|
438
|
+
entity_id?: string | undefined;
|
|
439
|
+
feature_id?: string | undefined;
|
|
440
440
|
customer_data?: any;
|
|
441
441
|
entity_data?: any;
|
|
442
442
|
event_name?: string | undefined;
|
|
443
443
|
idempotency_key?: string | undefined;
|
|
444
444
|
}, {
|
|
445
|
-
feature_id?: string | undefined;
|
|
446
|
-
entity_id?: string | undefined;
|
|
447
445
|
value?: number | undefined;
|
|
446
|
+
entity_id?: string | undefined;
|
|
447
|
+
feature_id?: string | undefined;
|
|
448
448
|
customer_data?: any;
|
|
449
449
|
entity_data?: any;
|
|
450
450
|
event_name?: string | undefined;
|
|
@@ -130,13 +130,13 @@ declare const autumn: (options?: {
|
|
|
130
130
|
attach: {
|
|
131
131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
132
132
|
body: {
|
|
133
|
-
entity_id?: string | undefined;
|
|
134
133
|
options?: {
|
|
135
134
|
feature_id: string;
|
|
136
135
|
quantity: number;
|
|
137
136
|
}[] | undefined;
|
|
138
137
|
metadata?: Record<string, string> | undefined;
|
|
139
138
|
product_id?: string | undefined;
|
|
139
|
+
entity_id?: string | undefined;
|
|
140
140
|
product_ids?: string[] | undefined;
|
|
141
141
|
free_trial?: boolean | undefined;
|
|
142
142
|
success_url?: string | undefined;
|
|
@@ -210,13 +210,13 @@ declare const autumn: (options?: {
|
|
|
210
210
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
211
211
|
reward: z.ZodOptional<z.ZodString>;
|
|
212
212
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
213
|
-
entity_id?: string | undefined;
|
|
214
213
|
options?: {
|
|
215
214
|
feature_id: string;
|
|
216
215
|
quantity: number;
|
|
217
216
|
}[] | undefined;
|
|
218
217
|
metadata?: Record<string, string> | undefined;
|
|
219
218
|
product_id?: string | undefined;
|
|
219
|
+
entity_id?: string | undefined;
|
|
220
220
|
product_ids?: string[] | undefined;
|
|
221
221
|
free_trial?: boolean | undefined;
|
|
222
222
|
success_url?: string | undefined;
|
|
@@ -230,13 +230,13 @@ declare const autumn: (options?: {
|
|
|
230
230
|
checkout_session_params?: Record<string, any> | undefined;
|
|
231
231
|
reward?: string | undefined;
|
|
232
232
|
}, {
|
|
233
|
-
entity_id?: string | undefined;
|
|
234
233
|
options?: {
|
|
235
234
|
feature_id: string;
|
|
236
235
|
quantity: number;
|
|
237
236
|
}[] | undefined;
|
|
238
237
|
metadata?: Record<string, string> | undefined;
|
|
239
238
|
product_id?: string | undefined;
|
|
239
|
+
entity_id?: string | undefined;
|
|
240
240
|
product_ids?: string[] | undefined;
|
|
241
241
|
free_trial?: boolean | undefined;
|
|
242
242
|
success_url?: string | undefined;
|
|
@@ -281,15 +281,15 @@ declare const autumn: (options?: {
|
|
|
281
281
|
check: {
|
|
282
282
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
283
283
|
body: {
|
|
284
|
-
feature_id?: string | undefined;
|
|
285
|
-
entity_id?: string | undefined;
|
|
286
|
-
required_balance?: number | undefined;
|
|
287
284
|
product_id?: string | undefined;
|
|
285
|
+
entity_id?: string | undefined;
|
|
286
|
+
feature_id?: string | undefined;
|
|
288
287
|
customer_data?: any;
|
|
289
288
|
entity_data?: {
|
|
290
289
|
feature_id: string;
|
|
291
290
|
name?: string | undefined;
|
|
292
291
|
} | undefined;
|
|
292
|
+
required_balance?: number | undefined;
|
|
293
293
|
send_event?: boolean | undefined;
|
|
294
294
|
with_preview?: boolean | undefined;
|
|
295
295
|
};
|
|
@@ -337,27 +337,27 @@ declare const autumn: (options?: {
|
|
|
337
337
|
name?: string | undefined;
|
|
338
338
|
}>>;
|
|
339
339
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
340
|
-
feature_id?: string | undefined;
|
|
341
|
-
entity_id?: string | undefined;
|
|
342
|
-
required_balance?: number | undefined;
|
|
343
340
|
product_id?: string | undefined;
|
|
341
|
+
entity_id?: string | undefined;
|
|
342
|
+
feature_id?: string | undefined;
|
|
344
343
|
customer_data?: any;
|
|
345
344
|
entity_data?: {
|
|
346
345
|
feature_id: string;
|
|
347
346
|
name?: string | undefined;
|
|
348
347
|
} | undefined;
|
|
348
|
+
required_balance?: number | undefined;
|
|
349
349
|
send_event?: boolean | undefined;
|
|
350
350
|
with_preview?: boolean | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
feature_id?: string | undefined;
|
|
353
|
-
entity_id?: string | undefined;
|
|
354
|
-
required_balance?: number | undefined;
|
|
355
352
|
product_id?: string | undefined;
|
|
353
|
+
entity_id?: string | undefined;
|
|
354
|
+
feature_id?: string | undefined;
|
|
356
355
|
customer_data?: any;
|
|
357
356
|
entity_data?: {
|
|
358
357
|
feature_id: string;
|
|
359
358
|
name?: string | undefined;
|
|
360
359
|
} | undefined;
|
|
360
|
+
required_balance?: number | undefined;
|
|
361
361
|
send_event?: boolean | undefined;
|
|
362
362
|
with_preview?: boolean | undefined;
|
|
363
363
|
}>;
|
|
@@ -392,9 +392,9 @@ declare const autumn: (options?: {
|
|
|
392
392
|
track: {
|
|
393
393
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
394
394
|
body: {
|
|
395
|
-
feature_id?: string | undefined;
|
|
396
|
-
entity_id?: string | undefined;
|
|
397
395
|
value?: number | undefined;
|
|
396
|
+
entity_id?: string | undefined;
|
|
397
|
+
feature_id?: string | undefined;
|
|
398
398
|
customer_data?: any;
|
|
399
399
|
entity_data?: any;
|
|
400
400
|
event_name?: string | undefined;
|
|
@@ -434,17 +434,17 @@ declare const autumn: (options?: {
|
|
|
434
434
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
435
435
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
436
436
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
437
|
-
feature_id?: string | undefined;
|
|
438
|
-
entity_id?: string | undefined;
|
|
439
437
|
value?: number | undefined;
|
|
438
|
+
entity_id?: string | undefined;
|
|
439
|
+
feature_id?: string | undefined;
|
|
440
440
|
customer_data?: any;
|
|
441
441
|
entity_data?: any;
|
|
442
442
|
event_name?: string | undefined;
|
|
443
443
|
idempotency_key?: string | undefined;
|
|
444
444
|
}, {
|
|
445
|
-
feature_id?: string | undefined;
|
|
446
|
-
entity_id?: string | undefined;
|
|
447
445
|
value?: number | undefined;
|
|
446
|
+
entity_id?: string | undefined;
|
|
447
|
+
feature_id?: string | undefined;
|
|
448
448
|
customer_data?: any;
|
|
449
449
|
entity_data?: any;
|
|
450
450
|
event_name?: string | undefined;
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
AttachParamsSchema,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRouterWithOptions
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
3
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
5
4
|
import "./chunk-5EKNB4IJ.mjs";
|
|
6
5
|
import "./chunk-3OLXYDCU.mjs";
|
|
7
6
|
import "./chunk-K7JGEYUX.mjs";
|
|
7
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
8
8
|
import "./chunk-5H6HVCOP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Autumn
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRouterWithOptions
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-HHMIVOXX.mjs";
|
|
3
|
+
} from "../chunk-2RZ2FZX2.mjs";
|
|
5
4
|
import "../chunk-5EKNB4IJ.mjs";
|
|
6
5
|
import "../chunk-3OLXYDCU.mjs";
|
|
7
6
|
import "../chunk-K7JGEYUX.mjs";
|
|
7
|
+
import "../chunk-HHMIVOXX.mjs";
|
|
8
8
|
import "../chunk-5H6HVCOP.mjs";
|
|
9
9
|
import "../chunk-IOSEAUDJ.mjs";
|
|
10
10
|
import "../chunk-45WVZY23.mjs";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-HHMIVOXX.mjs";
|
|
6
|
+
} from "./chunk-2RZ2FZX2.mjs";
|
|
8
7
|
import "./chunk-5EKNB4IJ.mjs";
|
|
9
8
|
import "./chunk-3OLXYDCU.mjs";
|
|
10
9
|
import "./chunk-K7JGEYUX.mjs";
|
|
10
|
+
import "./chunk-HHMIVOXX.mjs";
|
|
11
11
|
import "./chunk-5H6HVCOP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
Input
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GUM4HIGI.mjs";
|
|
6
6
|
import {
|
|
7
7
|
Popover,
|
|
8
8
|
PopoverContent,
|
|
9
9
|
PopoverTrigger
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UM3ZQPMU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Switch
|
|
13
13
|
} from "./chunk-6EZVNJHQ.mjs";
|
|
14
|
-
import {
|
|
15
|
-
getAttachContent
|
|
16
|
-
} from "./chunk-RCTILKK3.mjs";
|
|
17
14
|
import {
|
|
18
15
|
getPricingTableContent
|
|
19
16
|
} from "./chunk-CBPZVSMZ.mjs";
|
|
17
|
+
import {
|
|
18
|
+
getAttachContent
|
|
19
|
+
} from "./chunk-RCTILKK3.mjs";
|
|
20
20
|
import {
|
|
21
21
|
Button
|
|
22
22
|
} from "./chunk-EV5RNY5U.mjs";
|
|
@@ -290,7 +290,8 @@ var PrepaidItem = ({
|
|
|
290
290
|
PopoverTrigger,
|
|
291
291
|
{
|
|
292
292
|
className: cn(
|
|
293
|
-
"au-text-muted-foreground au-text-xs au-px-1 au-py-0.5 au-rounded-md au-flex au-items-center au-gap-1 au-bg-accent/80
|
|
293
|
+
"au-text-muted-foreground au-text-xs au-px-1 au-py-0.5 au-rounded-md au-flex au-items-center au-gap-1 au-bg-accent/80",
|
|
294
|
+
disableSelection !== true && "hover:au-bg-accent hover:au-text-foreground"
|
|
294
295
|
),
|
|
295
296
|
disabled: disableSelection,
|
|
296
297
|
children: [
|
|
@@ -329,7 +330,15 @@ var PrepaidItem = ({
|
|
|
329
330
|
item.feature?.name
|
|
330
331
|
] })
|
|
331
332
|
] }),
|
|
332
|
-
/* @__PURE__ */ jsx(
|
|
333
|
+
/* @__PURE__ */ jsx(
|
|
334
|
+
Button,
|
|
335
|
+
{
|
|
336
|
+
onClick: handleSave,
|
|
337
|
+
className: "au-w-14 !au-h-7 au-text-sm au-items-center au-bg-white au-text-foreground au-shadow-sm au-border au-border-zinc-200 hover:au-bg-zinc-100",
|
|
338
|
+
disabled: loading,
|
|
339
|
+
children: loading ? /* @__PURE__ */ jsx(LoaderCircle, { className: "au-text-muted-foreground au-animate-spin !au-w-4 !au-h-4" }) : "Save"
|
|
340
|
+
}
|
|
341
|
+
)
|
|
333
342
|
] })
|
|
334
343
|
]
|
|
335
344
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
cn
|
|
5
|
+
} from "./chunk-4J6OC4ZQ.mjs";
|
|
6
|
+
|
|
7
|
+
// src/libraries/react/components/ui/input.tsx
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
var Input = React.forwardRef(
|
|
11
|
+
({ className, type, onClick, ...props }, ref) => {
|
|
12
|
+
return /* @__PURE__ */ jsx(
|
|
13
|
+
"input",
|
|
14
|
+
{
|
|
15
|
+
type,
|
|
16
|
+
className: cn(
|
|
17
|
+
"file:au-text-foreground placeholder:au-text-muted-foreground selection:au-bg-primary selection:au-text-primary-foreground dark:au-bg-input/30 au-border-input au-flex au-h-9 au-w-full au-min-w-0 au-rounded-md au-border au-bg-transparent au-px-3 au-py-1 au-text-base au-shadow-xs au-transition-[color,box-shadow] au-outline-none file:au-inline-flex file:au-h-7 file:au-border-0 file:au-bg-transparent file:au-text-sm file:au-font-medium disabled:au-pointer-events-none disabled:au-cursor-not-allowed disabled:au-opacity-50 md:au-text-sm focus-visible:au-border-ring focus-visible:au-ring-ring/50 focus-visible:au-ring-[3px] aria-invalid:au-ring-destructive/20 dark:aria-invalid:au-ring-destructive/40 aria-invalid:au-border-destructive",
|
|
18
|
+
className
|
|
19
|
+
),
|
|
20
|
+
ref,
|
|
21
|
+
...props
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
Input.displayName = "Input";
|
|
27
|
+
|
|
28
|
+
export {
|
|
29
|
+
Input
|
|
30
|
+
};
|
|
@@ -11,19 +11,19 @@ import { jsx } from "react/jsx-runtime";
|
|
|
11
11
|
var Popover = PopoverPrimitive.Root;
|
|
12
12
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
13
13
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
14
|
-
var PopoverContent = React.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
14
|
+
var PopoverContent = React.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
15
15
|
PopoverPrimitive.Content,
|
|
16
16
|
{
|
|
17
17
|
ref,
|
|
18
18
|
align,
|
|
19
19
|
sideOffset,
|
|
20
20
|
className: cn(
|
|
21
|
-
"au-z-
|
|
21
|
+
"au-root au-z-[9999] au-w-72 au-rounded-md au-border au-bg-popover au-p-4 au-text-popover-foreground au-shadow-md au-outline-none data-[state=open]:au-animate-in data-[state=closed]:au-animate-out data-[state=closed]:au-fade-out-0 data-[state=open]:au-fade-in-0 data-[state=closed]:au-zoom-out-95 data-[state=open]:au-zoom-in-95 data-[side=bottom]:au-slide-in-from-top-2 data-[side=left]:au-slide-in-from-right-2 data-[side=right]:au-slide-in-from-left-2 data-[side=top]:au-slide-in-from-bottom-2 au-origin-[--radix-popover-content-transform-origin]",
|
|
22
22
|
className
|
|
23
23
|
),
|
|
24
24
|
...props
|
|
25
25
|
}
|
|
26
|
-
)
|
|
26
|
+
));
|
|
27
27
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
28
28
|
|
|
29
29
|
export {
|