@xapps-platform/marketplace-ui 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +53 -0
  2. package/dist/MarketplaceApp.d.ts +2 -0
  3. package/dist/MarketplaceApp.d.ts.map +1 -0
  4. package/dist/MarketplaceContext.d.ts +15 -0
  5. package/dist/MarketplaceContext.d.ts.map +1 -0
  6. package/dist/components/ConfirmActionModal.d.ts +10 -0
  7. package/dist/components/ConfirmActionModal.d.ts.map +1 -0
  8. package/dist/components/MarketplaceActivityTabs.d.ts +11 -0
  9. package/dist/components/MarketplaceActivityTabs.d.ts.map +1 -0
  10. package/dist/components/MarketplacePrimaryNav.d.ts +8 -0
  11. package/dist/components/MarketplacePrimaryNav.d.ts.map +1 -0
  12. package/dist/components/SchemaOutputView.d.ts +7 -0
  13. package/dist/components/SchemaOutputView.d.ts.map +1 -0
  14. package/dist/index.css +3365 -0
  15. package/dist/index.css.map +7 -0
  16. package/dist/index.d.ts +14 -0
  17. package/dist/index.d.ts.map +1 -0
  18. package/dist/index.js +5002 -0
  19. package/dist/index.js.map +7 -0
  20. package/dist/marketplace.css +3972 -0
  21. package/dist/pages/CatalogPage.d.ts +3 -0
  22. package/dist/pages/CatalogPage.d.ts.map +1 -0
  23. package/dist/pages/InvoicesPage.d.ts +3 -0
  24. package/dist/pages/InvoicesPage.d.ts.map +1 -0
  25. package/dist/pages/NotificationsPage.d.ts +3 -0
  26. package/dist/pages/NotificationsPage.d.ts.map +1 -0
  27. package/dist/pages/PaymentsPage.d.ts +3 -0
  28. package/dist/pages/PaymentsPage.d.ts.map +1 -0
  29. package/dist/pages/PublisherDetailPage.d.ts +3 -0
  30. package/dist/pages/PublisherDetailPage.d.ts.map +1 -0
  31. package/dist/pages/PublishersPage.d.ts +3 -0
  32. package/dist/pages/PublishersPage.d.ts.map +1 -0
  33. package/dist/pages/RequestDetailPage.breadcrumbs.test.d.ts +2 -0
  34. package/dist/pages/RequestDetailPage.breadcrumbs.test.d.ts.map +1 -0
  35. package/dist/pages/RequestDetailPage.d.ts +3 -0
  36. package/dist/pages/RequestDetailPage.d.ts.map +1 -0
  37. package/dist/pages/RequestsPage.d.ts +3 -0
  38. package/dist/pages/RequestsPage.d.ts.map +1 -0
  39. package/dist/pages/WidgetView.d.ts +3 -0
  40. package/dist/pages/WidgetView.d.ts.map +1 -0
  41. package/dist/pages/XappDetailPage.d.ts +3 -0
  42. package/dist/pages/XappDetailPage.d.ts.map +1 -0
  43. package/dist/pages/XappDetailPage.requestsLink.test.d.ts +2 -0
  44. package/dist/pages/XappDetailPage.requestsLink.test.d.ts.map +1 -0
  45. package/dist/types.d.ts +294 -0
  46. package/dist/types.d.ts.map +1 -0
  47. package/dist/utils/embedSearch.d.ts +3 -0
  48. package/dist/utils/embedSearch.d.ts.map +1 -0
  49. package/dist/utils/operationalSurfaces.d.ts +36 -0
  50. package/dist/utils/operationalSurfaces.d.ts.map +1 -0
  51. package/dist/utils/operationalSurfaces.requestsHref.test.d.ts +2 -0
  52. package/dist/utils/operationalSurfaces.requestsHref.test.d.ts.map +1 -0
  53. package/dist/utils/operationalSurfaces.test.d.ts +2 -0
  54. package/dist/utils/operationalSurfaces.test.d.ts.map +1 -0
  55. package/dist/utils/paymentLock.d.ts +17 -0
  56. package/dist/utils/paymentLock.d.ts.map +1 -0
  57. package/dist/utils/readers.d.ts +8 -0
  58. package/dist/utils/readers.d.ts.map +1 -0
  59. package/dist/utils/readers.test.d.ts +2 -0
  60. package/dist/utils/readers.test.d.ts.map +1 -0
  61. package/package.json +38 -0
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function CatalogPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=CatalogPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CatalogPage.d.ts","sourceRoot":"","sources":["../../src/pages/CatalogPage.tsx"],"names":[],"mappings":"AAQA,OAAO,oBAAoB,CAAC;AAkE5B,wBAAgB,WAAW,4CA4Z1B"}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function InvoicesPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=InvoicesPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvoicesPage.d.ts","sourceRoot":"","sources":["../../src/pages/InvoicesPage.tsx"],"names":[],"mappings":"AAMA,OAAO,oBAAoB,CAAC;AA6B5B,wBAAgB,YAAY,4CAmd3B"}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function NotificationsPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=NotificationsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationsPage.d.ts","sourceRoot":"","sources":["../../src/pages/NotificationsPage.tsx"],"names":[],"mappings":"AAMA,OAAO,oBAAoB,CAAC;AAwB5B,wBAAgB,iBAAiB,4CAmchC"}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function PaymentsPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=PaymentsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentsPage.d.ts","sourceRoot":"","sources":["../../src/pages/PaymentsPage.tsx"],"names":[],"mappings":"AAMA,OAAO,oBAAoB,CAAC;AA4B5B,wBAAgB,YAAY,4CAkY3B"}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function PublisherDetailPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=PublisherDetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PublisherDetailPage.d.ts","sourceRoot":"","sources":["../../src/pages/PublisherDetailPage.tsx"],"names":[],"mappings":"AAOA,OAAO,oBAAoB,CAAC;AAQ5B,wBAAgB,mBAAmB,4CAmOlC"}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function PublishersPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=PublishersPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PublishersPage.d.ts","sourceRoot":"","sources":["../../src/pages/PublishersPage.tsx"],"names":[],"mappings":"AAMA,OAAO,oBAAoB,CAAC;AAmC5B,wBAAgB,cAAc,4CA+O7B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RequestDetailPage.breadcrumbs.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestDetailPage.breadcrumbs.test.d.ts","sourceRoot":"","sources":["../../src/pages/RequestDetailPage.breadcrumbs.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function RequestDetailPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=RequestDetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestDetailPage.d.ts","sourceRoot":"","sources":["../../src/pages/RequestDetailPage.tsx"],"names":[],"mappings":"AAgBA,OAAO,oBAAoB,CAAC;AAa5B,wBAAgB,iBAAiB,4CAo0BhC"}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function RequestsPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=RequestsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestsPage.d.ts","sourceRoot":"","sources":["../../src/pages/RequestsPage.tsx"],"names":[],"mappings":"AAMA,OAAO,oBAAoB,CAAC;AAkC5B,wBAAgB,YAAY,4CAsW3B"}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function WidgetView(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=WidgetView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetView.d.ts","sourceRoot":"","sources":["../../src/pages/WidgetView.tsx"],"names":[],"mappings":"AAcA,OAAO,oBAAoB,CAAC;AAuC5B,wBAAgB,UAAU,4CAmoBzB"}
@@ -0,0 +1,3 @@
1
+ import "../marketplace.css";
2
+ export declare function XappDetailPage(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=XappDetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XappDetailPage.d.ts","sourceRoot":"","sources":["../../src/pages/XappDetailPage.tsx"],"names":[],"mappings":"AAaA,OAAO,oBAAoB,CAAC;AAkL5B,wBAAgB,cAAc,4CAgkC7B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=XappDetailPage.requestsLink.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XappDetailPage.requestsLink.test.d.ts","sourceRoot":"","sources":["../../src/pages/XappDetailPage.requestsLink.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,294 @@
1
+ export type CatalogXapp = {
2
+ id: string;
3
+ name: string;
4
+ slug: string;
5
+ description?: string | null;
6
+ visibility?: string;
7
+ status?: string;
8
+ publisher?: {
9
+ name: string;
10
+ slug: string;
11
+ };
12
+ manifest?: {
13
+ title?: string;
14
+ description?: string;
15
+ image?: string;
16
+ tags?: string[];
17
+ [k: string]: unknown;
18
+ } | null;
19
+ latest_version?: {
20
+ version: string;
21
+ [k: string]: unknown;
22
+ } | null;
23
+ };
24
+ export type CatalogXappDetail = {
25
+ xapp: Record<string, unknown>;
26
+ version: Record<string, unknown>;
27
+ manifest: Record<string, unknown>;
28
+ tools: Record<string, unknown>[];
29
+ widgets: {
30
+ id: string;
31
+ default?: boolean;
32
+ widget_name?: string;
33
+ title?: string;
34
+ bind_tool_name?: string | null;
35
+ }[];
36
+ usage_credit_summary?: {
37
+ available_count: number;
38
+ available_session_backed_count?: number;
39
+ available_ledger_only_count?: number;
40
+ reserved_count: number;
41
+ reserved_active_count?: number;
42
+ reserved_stale_count?: number;
43
+ consumed_count: number;
44
+ updated_at?: string | null;
45
+ by_tool: {
46
+ tool_name: string;
47
+ available_count: number;
48
+ available_session_backed_count?: number;
49
+ available_ledger_only_count?: number;
50
+ reserved_count: number;
51
+ reserved_active_count?: number;
52
+ reserved_stale_count?: number;
53
+ consumed_count: number;
54
+ }[];
55
+ } | null;
56
+ operational_surfaces?: OperationalSurfacesDescriptor | null;
57
+ };
58
+ export type OperationalSurfaceDescriptor = {
59
+ enabled: boolean;
60
+ scope: "xapp";
61
+ visibility: {
62
+ portal: boolean;
63
+ embed: boolean;
64
+ };
65
+ filters: {
66
+ xapp_id: string;
67
+ installation_id?: string;
68
+ };
69
+ derived_from: string[];
70
+ };
71
+ export type OperationalSurfacesDescriptor = {
72
+ requests: OperationalSurfaceDescriptor;
73
+ payments: OperationalSurfaceDescriptor;
74
+ invoices: OperationalSurfaceDescriptor;
75
+ notifications: OperationalSurfaceDescriptor;
76
+ };
77
+ export type OperationalSurfaceVisibilityMode = "contract" | "testing_all";
78
+ export type OperationalSurfacePlacement = "in_router" | "side_panel" | "full_page";
79
+ export type InstallationInfo = {
80
+ installationId: string;
81
+ xappId: string;
82
+ status?: string;
83
+ updateAvailable?: boolean;
84
+ };
85
+ export type MarketplaceClient = {
86
+ listCatalogXapps(): Promise<{
87
+ items: CatalogXapp[];
88
+ }>;
89
+ getCatalogXapp(xappId: string): Promise<CatalogXappDetail>;
90
+ listMyRequests(query?: {
91
+ xappId?: string;
92
+ toolName?: string;
93
+ page?: number;
94
+ pageSize?: number;
95
+ }): Promise<{
96
+ items: unknown[];
97
+ pagination?: {
98
+ total: number;
99
+ page: number;
100
+ pageSize: number;
101
+ totalPages: number;
102
+ };
103
+ }>;
104
+ getMyRequest(id: string): Promise<unknown>;
105
+ reconcileMyRequestPayment?(input: {
106
+ requestId: string;
107
+ paymentSessionId?: string | null;
108
+ }): Promise<{
109
+ status: string;
110
+ payment_session_id: string;
111
+ provider_status: string;
112
+ finality_state: "confirmed_paid" | "still_pending" | "failed";
113
+ reconciled: boolean;
114
+ redirect_url: string | null;
115
+ }>;
116
+ listMyPaymentSessions?(query?: {
117
+ paymentSessionId?: string;
118
+ xappId?: string;
119
+ installationId?: string;
120
+ toolName?: string;
121
+ status?: string;
122
+ issuer?: string;
123
+ createdFrom?: string;
124
+ createdTo?: string;
125
+ limit?: number;
126
+ }): Promise<{
127
+ items: unknown[];
128
+ }>;
129
+ getMyPaymentSession?(id: string): Promise<unknown>;
130
+ listMyInvoices?(query?: {
131
+ requestId?: string;
132
+ paymentSessionId?: string;
133
+ xappId?: string;
134
+ installationId?: string;
135
+ status?: string;
136
+ ownerScope?: string;
137
+ search?: string;
138
+ createdFrom?: string;
139
+ createdTo?: string;
140
+ page?: number;
141
+ pageSize?: number;
142
+ }): Promise<{
143
+ items: unknown[];
144
+ pagination?: {
145
+ total: number;
146
+ page: number;
147
+ pageSize: number;
148
+ totalPages: number;
149
+ };
150
+ }>;
151
+ getMyInvoiceHistory?(id: string): Promise<unknown>;
152
+ listMyNotifications?(query?: {
153
+ notificationId?: string;
154
+ status?: string;
155
+ trigger?: string;
156
+ xappId?: string;
157
+ installationId?: string;
158
+ unread?: boolean;
159
+ limit?: number;
160
+ }): Promise<{
161
+ items: unknown[];
162
+ unread_count: number;
163
+ preferences?: Record<string, unknown>;
164
+ }>;
165
+ markMyNotificationRead?(notificationId: string): Promise<{
166
+ ok: boolean;
167
+ unread_count: number;
168
+ }>;
169
+ markAllMyNotificationsRead?(): Promise<{
170
+ ok: boolean;
171
+ unread_count: number;
172
+ }>;
173
+ getWidgetToken(installationId: string, widgetId: string): Promise<{
174
+ token: string;
175
+ }>;
176
+ };
177
+ export type MarketplaceHostAdapter = {
178
+ subjectId?: string | null;
179
+ theme?: Record<string, unknown> | null;
180
+ /**
181
+ * Whether the current runtime is allowed to perform Marketplace mutations (install/update/uninstall).
182
+ *
183
+ * Portal: typically requires an authenticated user session.
184
+ * Embed: typically true (mutations are host-driven via postMessage + server-to-server).
185
+ */
186
+ canMutate?(): boolean;
187
+ getInstallationsByXappId(): Record<string, InstallationInfo>;
188
+ refreshInstallations(): void;
189
+ requestInstall(input: {
190
+ xappId: string;
191
+ defaultWidgetId?: string | null;
192
+ subjectId?: string | null;
193
+ termsAccepted?: boolean;
194
+ }): void;
195
+ requestUpdate?(input: {
196
+ installationId: string;
197
+ xappId: string;
198
+ termsAccepted?: boolean;
199
+ }): void;
200
+ requestUninstall?(input: {
201
+ installationId: string;
202
+ xappId: string;
203
+ }): void;
204
+ openWidget(input: {
205
+ installationId: string;
206
+ widgetId: string;
207
+ xappId?: string;
208
+ xappTitle?: string;
209
+ widgetName?: string;
210
+ toolName?: string;
211
+ }): void;
212
+ openOperationalSurface?(input: {
213
+ surface: "requests" | "payments" | "invoices" | "notifications";
214
+ placement?: OperationalSurfacePlacement;
215
+ xappId?: string;
216
+ installationId?: string;
217
+ requestId?: string;
218
+ paymentSessionId?: string;
219
+ invoiceId?: string;
220
+ notificationId?: string;
221
+ }): void;
222
+ notifyResize?(height: number): void;
223
+ notifyNavigation?(input: {
224
+ path: string;
225
+ page?: string;
226
+ params?: unknown;
227
+ }): void;
228
+ };
229
+ export type MarketplaceEnv = {
230
+ title?: string;
231
+ copy?: {
232
+ addAppLabel?: string;
233
+ removeAppLabel?: string;
234
+ updateAppLabel?: string;
235
+ openAppLabel?: string;
236
+ };
237
+ /**
238
+ * Enables access to request-related pages and links ("Requests").
239
+ * In public catalog embeds this should be set to false to hide links
240
+ * and show a friendly message when routes are accessed directly.
241
+ * Defaults to true when omitted.
242
+ */
243
+ requestsEnabled?: boolean;
244
+ /**
245
+ * If true, opening a widget will navigate to a sub-route within the marketplace
246
+ * instead of notifying the host to open it in a separate panel/window.
247
+ */
248
+ embedMode?: boolean;
249
+ /**
250
+ * If true, the UI is restricted to a single xapp view.
251
+ * Back navigation to the catalog is disabled.
252
+ */
253
+ singleXappMode?: boolean;
254
+ /**
255
+ * The ID of the xapp when in singleXappMode.
256
+ */
257
+ xappId?: string;
258
+ /**
259
+ * Optional publisher slugs to filter the catalog.
260
+ */
261
+ publishers?: string[];
262
+ /**
263
+ * Optional tags to filter the catalog.
264
+ */
265
+ tags?: string[];
266
+ /**
267
+ * Host-side visibility policy for xapp operational surfaces.
268
+ *
269
+ * `contract`: only show surfaces explicitly resolved from the xapp contract.
270
+ * `testing_all`: expose all supported surfaces in that host for validation/testing.
271
+ */
272
+ operationalSurfacesVisibility?: {
273
+ portal?: OperationalSurfaceVisibilityMode;
274
+ embed?: OperationalSurfaceVisibilityMode;
275
+ };
276
+ /**
277
+ * Host-side placement policy for xapp operational surfaces.
278
+ *
279
+ * Current default is `in_router` in all hosts.
280
+ * Additional placements are declared now for future host behavior, but they do not change
281
+ * rendering until a host explicitly implements them.
282
+ */
283
+ operationalSurfacePlacement?: {
284
+ portal?: {
285
+ default?: OperationalSurfacePlacement;
286
+ bySurface?: Partial<Record<"requests" | "payments" | "invoices" | "notifications", OperationalSurfacePlacement>>;
287
+ };
288
+ embed?: {
289
+ default?: OperationalSurfacePlacement;
290
+ bySurface?: Partial<Record<"requests" | "payments" | "invoices" | "notifications", OperationalSurfacePlacement>>;
291
+ };
292
+ };
293
+ };
294
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM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E,MAAM,CAAC;QACxB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB;;;;;OAKG;IACH,6BAA6B,CAAC,EAAE;QAC9B,MAAM,CAAC,EAAE,gCAAgC,CAAC;QAC1C,KAAK,CAAC,EAAE,gCAAgC,CAAC;KAC1C,CAAC;IACF;;;;;;OAMG;IACH,2BAA2B,CAAC,EAAE;QAC5B,MAAM,CAAC,EAAE;YACP,OAAO,CAAC,EAAE,2BAA2B,CAAC;YACtC,SAAS,CAAC,EAAE,OAAO,CACjB,MAAM,CAAC,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,eAAe,EAAE,2BAA2B,CAAC,CAC5F,CAAC;SACH,CAAC;QACF,KAAK,CAAC,EAAE;YACN,OAAO,CAAC,EAAE,2BAA2B,CAAC;YACtC,SAAS,CAAC,EAAE,OAAO,CACjB,MAAM,CAAC,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,eAAe,EAAE,2BAA2B,CAAC,CAC5F,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare function readHostReturnUrl(search: string): string;
2
+ export declare function buildTokenSearch(token: string, search: string): string;
3
+ //# sourceMappingURL=embedSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embedSearch.d.ts","sourceRoot":"","sources":["../../src/utils/embedSearch.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAGxD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAOtE"}
@@ -0,0 +1,36 @@
1
+ import type { CatalogXappDetail, MarketplaceClient, MarketplaceEnv, OperationalSurfacePlacement, OperationalSurfacesDescriptor } from "../types";
2
+ export type OperationalSurfaceKey = keyof OperationalSurfacesDescriptor;
3
+ export declare function getOperationalSurfaces(detail: CatalogXappDetail | null | undefined): OperationalSurfacesDescriptor | null;
4
+ export declare function isOperationalSurfaceVisible(detail: CatalogXappDetail | null | undefined, surface: OperationalSurfaceKey, options?: {
5
+ isEmbedded?: boolean;
6
+ }): boolean;
7
+ export declare function surfaceClientAvailable(client: MarketplaceClient, surface: OperationalSurfaceKey): boolean;
8
+ export declare function buildOperationalSurfaceHref(input: {
9
+ surface: OperationalSurfaceKey;
10
+ xappId: string;
11
+ installationId?: string;
12
+ requestId?: string;
13
+ paymentSessionId?: string;
14
+ invoiceId?: string;
15
+ notificationId?: string;
16
+ token?: string;
17
+ isEmbedded?: boolean;
18
+ }): string;
19
+ export declare function getVisibleOperationalSurfaces(input: {
20
+ detail: CatalogXappDetail | null | undefined;
21
+ client: MarketplaceClient;
22
+ env?: MarketplaceEnv;
23
+ isEmbedded?: boolean;
24
+ }): OperationalSurfaceKey[];
25
+ export declare function getOperationalSurfaceLabel(surface: OperationalSurfaceKey): string;
26
+ export declare function resolveOperationalSurfacePlacement(input: {
27
+ env?: MarketplaceEnv;
28
+ surface: OperationalSurfaceKey;
29
+ isEmbedded?: boolean;
30
+ }): OperationalSurfacePlacement;
31
+ export declare function discoverOperationalSurfaceData(input: {
32
+ client: MarketplaceClient;
33
+ xappId: string;
34
+ installationId?: string | null;
35
+ }): Promise<OperationalSurfaceKey[]>;
36
+ //# sourceMappingURL=operationalSurfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationalSurfaces.d.ts","sourceRoot":"","sources":["../../src/utils/operationalSurfaces.ts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AAqB,GAAG,MAAM,CAKjF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,EAAE;IACxD,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,OAAO,EAAE,qBAAqB,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,2BAA2B,CAO9B;AAED,wBAAsB,8BAA8B,CAAC,KAAK,EAAE;IAC1D,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAsDnC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=operationalSurfaces.requestsHref.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationalSurfaces.requestsHref.test.d.ts","sourceRoot":"","sources":["../../src/utils/operationalSurfaces.requestsHref.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=operationalSurfaces.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationalSurfaces.test.d.ts","sourceRoot":"","sources":["../../src/utils/operationalSurfaces.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ export type PaymentReconcileState = "none" | "confirming_payment" | "still_pending" | "confirmed_paid" | "failed";
2
+ export type PaymentLockResolution = {
3
+ isLocked: boolean;
4
+ reason: string;
5
+ actionKind: string;
6
+ actionUrl: string;
7
+ ctaLabel: string;
8
+ message: string;
9
+ paymentSessionId: string | null;
10
+ paymentAttemptState: string;
11
+ reconcileState: PaymentReconcileState;
12
+ monetizationState: Record<string, unknown> | null;
13
+ };
14
+ export declare function resolvePaymentLockStateFromGuardSummary(summaryInput: unknown, options?: {
15
+ reconcileState?: PaymentReconcileState | null;
16
+ }): PaymentLockResolution;
17
+ //# sourceMappingURL=paymentLock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paymentLock.d.ts","sourceRoot":"","sources":["../../src/utils/paymentLock.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,oBAAoB,GACpB,eAAe,GACf,gBAAgB,GAChB,QAAQ,CAAC;AAEb,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,qBAAqB,CAAC;IACtC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CACnD,CAAC;AAoEF,wBAAgB,uCAAuC,CACrD,YAAY,EAAE,OAAO,EACrB,OAAO,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAA;CAAE,GAC1D,qBAAqB,CAyCvB"}
@@ -0,0 +1,8 @@
1
+ export declare function isRecord(value: unknown): value is Record<string, unknown>;
2
+ export declare function asRecord(value: unknown): Record<string, unknown>;
3
+ export declare function readString(value: unknown): string;
4
+ export declare function readFirstString(...values: unknown[]): string;
5
+ export declare function parseDateValue(value: unknown): Date | null;
6
+ export declare function formatDateTime(value: unknown): string;
7
+ export declare function normalizeExpandStage(value: unknown, expanded: boolean): "inline" | "focus" | "fullscreen";
8
+ //# sourceMappingURL=readers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readers.d.ts","sourceRoot":"","sources":["../../src/utils/readers.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzE;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEhE;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAIjD;AAED,wBAAgB,eAAe,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAM5D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,CAsC1D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAGrD;AAED,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,OAAO,GAChB,QAAQ,GAAG,OAAO,GAAG,YAAY,CAMnC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=readers.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readers.test.d.ts","sourceRoot":"","sources":["../../src/utils/readers.test.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@xapps-platform/marketplace-ui",
3
+ "version": "0.1.1",
4
+ "license": "MIT",
5
+ "author": "Daniel Vladescu <daniel.vladescu@gmail.com>",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "default": "./dist/index.js"
11
+ },
12
+ "./marketplace.css": "./dist/marketplace.css"
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/0x730/xapps-sdk-js.git",
23
+ "directory": "packages/marketplace-ui"
24
+ },
25
+ "homepage": "https://gateway.0x730.com",
26
+ "bugs": {
27
+ "url": "https://github.com/0x730/xapps-sdk-js/issues"
28
+ },
29
+ "scripts": {
30
+ "build": "node ../../scripts/build-marketplace-ui.mjs",
31
+ "smoke": "npm run build && node examples/smoke/smoke.mjs"
32
+ },
33
+ "peerDependencies": {
34
+ "react": "^19.0.0",
35
+ "react-dom": "^19.0.0",
36
+ "react-router-dom": "^6.0.0 || ^7.0.0"
37
+ }
38
+ }