@fluid-app/fluid-cli-theme-dev 0.1.1022 → 0.1.1024
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/dist-cli-preview/.vite/manifest.json +40 -40
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{MediaScreen-DBtTyyfN.js → MediaScreen-D6c80CuZ.js} +1 -1
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-Dg8tTCn6.js → MemberManagementProviders-JDDtAMlV.js} +1 -1
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-qX0-mBK9.js → MemberShareablesScreen-Jg9Cc6mj.js} +2 -2
- package/dist/dist-cli-preview/chunks/{OrdersScreen-cYuf1LSQ.js → OrdersScreen-CKAr4aES.js} +2 -2
- package/dist/dist-cli-preview/chunks/{OrdersScreen-CR3uIBN5.js → OrdersScreen-DYpmHV_g.js} +1 -1
- package/dist/dist-cli-preview/chunks/{PlaylistsScreen-Dj6CaY27.js → PlaylistsScreen-BTNddgZE.js} +1 -1
- package/dist/dist-cli-preview/chunks/{ProfileScreen-Dw43QPwf.js → ProfileScreen-e1DQp8Gw.js} +3 -3
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-CDlz7hkF.js → SubscriptionsScreen-Cveuqkrs.js} +2 -2
- package/dist/dist-cli-preview/chunks/{cli-preview-BKgnX_vs.js → cli-preview-1vl3brr3.js} +6 -6
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-BjXD619-.js → create-card-entry-container-DRzlwLN8.js} +5469 -5257
- package/dist/dist-cli-preview/chunks/{hey-api-client-BwxK1GCx.js → hey-api-client-DfiEUgvQ.js} +96 -64
- package/dist/dist-cli-preview/chunks/{mount-account-screen-DLP2iHgF.js → mount-account-screen-2h8m5rZL.js} +3 -3
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-DijqdMMC.js → navigate-account-screen-CqIenUmz.js} +1 -1
- package/package.json +1 -1
package/dist/dist-cli-preview/chunks/{hey-api-client-BwxK1GCx.js → hey-api-client-DfiEUgvQ.js}
RENAMED
|
@@ -11,21 +11,21 @@ const m = (e) => e.client.get({
|
|
|
11
11
|
"Content-Type": "application/json",
|
|
12
12
|
...e.headers
|
|
13
13
|
}
|
|
14
|
-
}),
|
|
14
|
+
}), T = (e) => e.client.get(
|
|
15
15
|
{
|
|
16
16
|
responseStyle: "data",
|
|
17
17
|
url: "/api/store",
|
|
18
18
|
...e
|
|
19
19
|
}
|
|
20
|
-
),
|
|
20
|
+
), g = (e) => e.client.get({
|
|
21
21
|
responseStyle: "data",
|
|
22
22
|
url: "/api/orders",
|
|
23
23
|
...e
|
|
24
|
-
}),
|
|
24
|
+
}), k = (e) => e.client.get({
|
|
25
25
|
responseStyle: "data",
|
|
26
26
|
url: "/api/orders/{token}",
|
|
27
27
|
...e
|
|
28
|
-
}),
|
|
28
|
+
}), j = (e) => e.client.get({
|
|
29
29
|
responseStyle: "data",
|
|
30
30
|
url: "/api/products",
|
|
31
31
|
...e
|
|
@@ -41,11 +41,11 @@ const m = (e) => e.client.get({
|
|
|
41
41
|
responseStyle: "data",
|
|
42
42
|
url: "/api/products/{id}/media",
|
|
43
43
|
...e
|
|
44
|
-
}),
|
|
44
|
+
}), R = (e) => e.client.get({
|
|
45
45
|
responseStyle: "data",
|
|
46
46
|
url: "/api/enrollment_packs",
|
|
47
47
|
...e
|
|
48
|
-
}),
|
|
48
|
+
}), E = (e) => e.client.get({
|
|
49
49
|
responseStyle: "data",
|
|
50
50
|
url: "/api/enrollment_packs/{id}",
|
|
51
51
|
...e
|
|
@@ -101,7 +101,7 @@ const m = (e) => e.client.get({
|
|
|
101
101
|
responseStyle: "data",
|
|
102
102
|
url: "/api/subscriptions/{token}/skip_next_billing",
|
|
103
103
|
...e
|
|
104
|
-
}),
|
|
104
|
+
}), O = (e) => e.client.post({
|
|
105
105
|
responseStyle: "data",
|
|
106
106
|
url: "/api/subscriptions/{token}/milestone-declines",
|
|
107
107
|
...e,
|
|
@@ -109,7 +109,7 @@ const m = (e) => e.client.get({
|
|
|
109
109
|
"Content-Type": "application/json",
|
|
110
110
|
...e.headers
|
|
111
111
|
}
|
|
112
|
-
}),
|
|
112
|
+
}), B = (e) => e.client.post({
|
|
113
113
|
responseStyle: "data",
|
|
114
114
|
url: "/api/subscription-profiles/reschedule",
|
|
115
115
|
...e,
|
|
@@ -117,7 +117,7 @@ const m = (e) => e.client.get({
|
|
|
117
117
|
"Content-Type": "application/json",
|
|
118
118
|
...e.headers
|
|
119
119
|
}
|
|
120
|
-
}),
|
|
120
|
+
}), I = (e) => e.client.post({
|
|
121
121
|
responseStyle: "data",
|
|
122
122
|
url: "/api/subscription-profiles/change-address",
|
|
123
123
|
...e,
|
|
@@ -133,7 +133,7 @@ const m = (e) => e.client.get({
|
|
|
133
133
|
"Content-Type": "application/json",
|
|
134
134
|
...e.headers
|
|
135
135
|
}
|
|
136
|
-
}),
|
|
136
|
+
}), Q = (e) => e.client.post({
|
|
137
137
|
responseStyle: "data",
|
|
138
138
|
url: "/api/subscription-profiles/change-frequency",
|
|
139
139
|
...e,
|
|
@@ -141,7 +141,7 @@ const m = (e) => e.client.get({
|
|
|
141
141
|
"Content-Type": "application/json",
|
|
142
142
|
...e.headers
|
|
143
143
|
}
|
|
144
|
-
}),
|
|
144
|
+
}), X = (e) => e.client.post({
|
|
145
145
|
responseStyle: "data",
|
|
146
146
|
url: "/api/subscription-profiles/skip",
|
|
147
147
|
...e,
|
|
@@ -149,7 +149,7 @@ const m = (e) => e.client.get({
|
|
|
149
149
|
"Content-Type": "application/json",
|
|
150
150
|
...e.headers
|
|
151
151
|
}
|
|
152
|
-
}),
|
|
152
|
+
}), G = (e) => e.client.post({
|
|
153
153
|
responseStyle: "data",
|
|
154
154
|
url: "/api/subscription-profiles/skip-item",
|
|
155
155
|
...e,
|
|
@@ -189,7 +189,7 @@ const m = (e) => e.client.get({
|
|
|
189
189
|
"Content-Type": "application/json",
|
|
190
190
|
...e.headers
|
|
191
191
|
}
|
|
192
|
-
}),
|
|
192
|
+
}), N = (e) => e.client.post({
|
|
193
193
|
responseStyle: "data",
|
|
194
194
|
url: "/api/subscription-profiles/items",
|
|
195
195
|
...e,
|
|
@@ -197,7 +197,7 @@ const m = (e) => e.client.get({
|
|
|
197
197
|
"Content-Type": "application/json",
|
|
198
198
|
...e.headers
|
|
199
199
|
}
|
|
200
|
-
}),
|
|
200
|
+
}), V = (e) => e.client.post({
|
|
201
201
|
responseStyle: "data",
|
|
202
202
|
url: "/api/subscriptions/{token}/cancel",
|
|
203
203
|
...e,
|
|
@@ -205,7 +205,35 @@ const m = (e) => e.client.get({
|
|
|
205
205
|
"Content-Type": "application/json",
|
|
206
206
|
...e.headers
|
|
207
207
|
}
|
|
208
|
-
}),
|
|
208
|
+
}), Y = (e) => e.client.post({
|
|
209
|
+
responseStyle: "data",
|
|
210
|
+
url: "/api/subscriptions/{token}/cancellation-sessions",
|
|
211
|
+
...e
|
|
212
|
+
}), Z = (e) => e.client.post({
|
|
213
|
+
responseStyle: "data",
|
|
214
|
+
url: "/api/subscriptions/{token}/cancellation-sessions/{id}/reason",
|
|
215
|
+
...e,
|
|
216
|
+
headers: {
|
|
217
|
+
"Content-Type": "application/json",
|
|
218
|
+
...e.headers
|
|
219
|
+
}
|
|
220
|
+
}), q = (e) => e.client.post({
|
|
221
|
+
responseStyle: "data",
|
|
222
|
+
url: "/api/subscriptions/{token}/cancellation-sessions/{id}/accept",
|
|
223
|
+
...e,
|
|
224
|
+
headers: {
|
|
225
|
+
"Content-Type": "application/json",
|
|
226
|
+
...e.headers
|
|
227
|
+
}
|
|
228
|
+
}), ee = (e) => e.client.post({
|
|
229
|
+
responseStyle: "data",
|
|
230
|
+
url: "/api/subscriptions/{token}/cancellation-sessions/{id}/cancel",
|
|
231
|
+
...e,
|
|
232
|
+
headers: {
|
|
233
|
+
"Content-Type": "application/json",
|
|
234
|
+
...e.headers
|
|
235
|
+
}
|
|
236
|
+
}), se = (e) => e.client.post({
|
|
209
237
|
responseStyle: "data",
|
|
210
238
|
url: "/api/subscriptions/{token}/reactivate",
|
|
211
239
|
...e,
|
|
@@ -213,7 +241,7 @@ const m = (e) => e.client.get({
|
|
|
213
241
|
"Content-Type": "application/json",
|
|
214
242
|
...e.headers
|
|
215
243
|
}
|
|
216
|
-
}),
|
|
244
|
+
}), te = (e) => e.client.post({
|
|
217
245
|
responseStyle: "data",
|
|
218
246
|
url: "/api/subscription_bundles/bundle",
|
|
219
247
|
...e,
|
|
@@ -221,15 +249,15 @@ const m = (e) => e.client.get({
|
|
|
221
249
|
"Content-Type": "application/json",
|
|
222
250
|
...e.headers
|
|
223
251
|
}
|
|
224
|
-
}),
|
|
252
|
+
}), ae = (e) => e.client.post({
|
|
225
253
|
responseStyle: "data",
|
|
226
254
|
url: "/api/subscriptions/{token}/retry",
|
|
227
255
|
...e
|
|
228
|
-
}),
|
|
256
|
+
}), ne = (e) => e.client.get({
|
|
229
257
|
responseStyle: "data",
|
|
230
258
|
url: "/api/products/by-visits",
|
|
231
259
|
...e
|
|
232
|
-
}),
|
|
260
|
+
}), re = (e) => e.client.get({
|
|
233
261
|
responseStyle: "data",
|
|
234
262
|
url: "/api/products/by-shares",
|
|
235
263
|
...e
|
|
@@ -237,22 +265,22 @@ const m = (e) => e.client.get({
|
|
|
237
265
|
function y(e, t) {
|
|
238
266
|
const a = new URL(e.url);
|
|
239
267
|
if (a.origin !== t) return !1;
|
|
240
|
-
const
|
|
241
|
-
return e.method === "POST" &&
|
|
268
|
+
const n = a.pathname;
|
|
269
|
+
return e.method === "POST" && n === p || e.method === "GET" && n === `${p}/context`;
|
|
242
270
|
}
|
|
243
271
|
function b(e, t, a) {
|
|
244
272
|
if (!e || new URL(e.url).origin !== a || e.method !== "POST" || new URL(e.url).pathname !== p)
|
|
245
273
|
return !1;
|
|
246
|
-
const
|
|
247
|
-
if (!
|
|
274
|
+
const n = e.headers.get("X-Fluid-Member-Context");
|
|
275
|
+
if (!n || !/^[a-f0-9]{64}$/.test(n) || !t || typeof t != "object" || !("meta" in t))
|
|
248
276
|
return !1;
|
|
249
277
|
const c = t.meta;
|
|
250
|
-
return c !== null && typeof c == "object" && "session_context" in c && c.session_context ===
|
|
278
|
+
return c !== null && typeof c == "object" && "session_context" in c && c.session_context === n;
|
|
251
279
|
}
|
|
252
|
-
function
|
|
280
|
+
function S(e) {
|
|
253
281
|
return e instanceof DOMException && e.name === "AbortError" || e instanceof Error && e.name === "AbortError";
|
|
254
282
|
}
|
|
255
|
-
function
|
|
283
|
+
function ie(e) {
|
|
256
284
|
const t = typeof window > "u" ? void 0 : window.location.origin, a = d({
|
|
257
285
|
baseUrl: e.baseUrl,
|
|
258
286
|
credentials: e.credentials ?? "include",
|
|
@@ -262,69 +290,73 @@ function te(e) {
|
|
|
262
290
|
...e.defaultHeaders
|
|
263
291
|
},
|
|
264
292
|
throwOnError: !0
|
|
265
|
-
}),
|
|
266
|
-
|
|
293
|
+
}), n = e.getDefaultHeaders;
|
|
294
|
+
n && a.interceptors.request.use((s) => {
|
|
267
295
|
const i = new Headers(s.headers);
|
|
268
|
-
for (const [
|
|
269
|
-
i.set(
|
|
296
|
+
for (const [r, o] of Object.entries(n()))
|
|
297
|
+
i.set(r, o);
|
|
270
298
|
return new Request(s, { headers: i });
|
|
271
299
|
}), a.interceptors.request.use((s, i) => {
|
|
272
300
|
if (!y(s, t)) return s;
|
|
273
|
-
const
|
|
274
|
-
|
|
301
|
+
const r = new Headers(s.headers);
|
|
302
|
+
r.delete("Authorization");
|
|
275
303
|
const o = new Headers(i.headers);
|
|
276
304
|
for (const l of ["X-CSRF-Token", "X-Fluid-Member-Context"]) {
|
|
277
305
|
const u = o.get(l);
|
|
278
|
-
u !== null &&
|
|
306
|
+
u !== null && r.set(l, u);
|
|
279
307
|
}
|
|
280
|
-
return new Request(s, { headers:
|
|
308
|
+
return new Request(s, { headers: r });
|
|
281
309
|
});
|
|
282
310
|
const c = h({
|
|
283
|
-
shouldPassThroughTransportError:
|
|
311
|
+
shouldPassThroughTransportError: S
|
|
284
312
|
});
|
|
285
|
-
return a.interceptors.error.use((s, i,
|
|
286
|
-
const l = c(s, i,
|
|
287
|
-
return i?.status === 401 && !b(
|
|
313
|
+
return a.interceptors.error.use((s, i, r, o) => {
|
|
314
|
+
const l = c(s, i, r, o);
|
|
315
|
+
return i?.status === 401 && !b(r, s, t) && e.onAuthError?.(), l;
|
|
288
316
|
}), a;
|
|
289
317
|
}
|
|
290
318
|
export {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
I,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
319
|
+
Z as A,
|
|
320
|
+
Y as B,
|
|
321
|
+
N as C,
|
|
322
|
+
K as D,
|
|
323
|
+
J as E,
|
|
324
|
+
$ as F,
|
|
325
|
+
W as G,
|
|
326
|
+
G as H,
|
|
327
|
+
X as I,
|
|
328
|
+
Q as J,
|
|
329
|
+
z as K,
|
|
330
|
+
I as L,
|
|
331
|
+
B as M,
|
|
332
|
+
te as N,
|
|
333
|
+
A as O,
|
|
334
|
+
k as P,
|
|
335
|
+
g as Q,
|
|
304
336
|
C as a,
|
|
305
337
|
m as b,
|
|
306
|
-
|
|
307
|
-
|
|
338
|
+
ie as c,
|
|
339
|
+
ne as d,
|
|
308
340
|
v as e,
|
|
309
341
|
P as f,
|
|
310
342
|
w as g,
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
343
|
+
j as h,
|
|
344
|
+
E as i,
|
|
345
|
+
R as j,
|
|
314
346
|
H as k,
|
|
315
|
-
|
|
347
|
+
O as l,
|
|
316
348
|
F as m,
|
|
317
349
|
D as n,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
350
|
+
ae as o,
|
|
351
|
+
re as p,
|
|
352
|
+
se as q,
|
|
353
|
+
V as r,
|
|
354
|
+
T as s,
|
|
323
355
|
M as t,
|
|
324
356
|
U as u,
|
|
325
357
|
_ as v,
|
|
326
358
|
L as w,
|
|
327
359
|
x,
|
|
328
|
-
|
|
329
|
-
|
|
360
|
+
ee as y,
|
|
361
|
+
q as z
|
|
330
362
|
};
|
|
@@ -16,10 +16,10 @@ var Fi = (c, d, b, m) => ({
|
|
|
16
16
|
import { c as Qv, j as B, T as X1, L as Z1, a as V1, I as L1, C as K1, S as Yv, n as et, m as yv, b as ua, h as jv, Q as J1, d as rv, f as w1, o as gv, r as Sv, e as F1, g as bv, p as Tv, s as W1, i as $1, k as k1, u as I1, l as ea, q as P1, A as lr, t as tr, v as ar, w as ur, F as er, P as nr, x as ir, y as fr } from "./account-screen-runtime-DBo540sf.js";
|
|
17
17
|
import { u as cr, S as sr } from "./sidebar-CA_IU2Cj.js";
|
|
18
18
|
import { S as or } from "./store-api-context-Cdcr1SaX.js";
|
|
19
|
-
import { s as dr, a as mr, b as vr, c as hr } from "./hey-api-client-
|
|
19
|
+
import { s as dr, a as mr, b as vr, c as hr } from "./hey-api-client-DfiEUgvQ.js";
|
|
20
20
|
import { M as yr } from "./use-mobile-D7RwBZ2l.js";
|
|
21
|
-
import { i as zv, n as rr } from "./navigate-account-screen-
|
|
22
|
-
import { a as gr } from "./cli-preview-
|
|
21
|
+
import { i as zv, n as rr } from "./navigate-account-screen-CqIenUmz.js";
|
|
22
|
+
import { a as gr } from "./cli-preview-1vl3brr3.js";
|
|
23
23
|
import { A as Sr } from "./arrow-left-BaX36-LV.js";
|
|
24
24
|
/**
|
|
25
25
|
* @license lucide-react v0.575.0 - ISC
|