@burdenoff/fe-libs 2026.904.2 → 2026.904.4
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/shared/assistant/attachments.d.ts +340 -0
- package/dist/shared/assistant/attachments.d.ts.map +1 -0
- package/dist/shared/assistant/attachments.js +370 -0
- package/dist/shared/assistant/conversation.d.ts +153 -0
- package/dist/shared/assistant/conversation.d.ts.map +1 -0
- package/dist/shared/assistant/documentText.d.ts +261 -0
- package/dist/shared/assistant/documentText.d.ts.map +1 -0
- package/dist/shared/assistant/documentText.js +235 -0
- package/dist/shared/assistant/gatewayLimits.d.ts +25 -0
- package/dist/shared/assistant/gatewayLimits.d.ts.map +1 -0
- package/dist/shared/assistant/gatewayLimits.js +4 -0
- package/dist/shared/assistant/index.d.ts +6 -0
- package/dist/shared/assistant/index.d.ts.map +1 -1
- package/dist/shared/assistant/store.d.ts +114 -0
- package/dist/shared/assistant/store.d.ts.map +1 -0
- package/dist/shared/assistant/store.js +198 -0
- package/dist/shared/assistant/turnState.d.ts +16 -0
- package/dist/shared/assistant/turnState.d.ts.map +1 -0
- package/dist/shared/assistant/turnState.js +6 -0
- package/dist/shared/config/authBridgeUrls.d.ts.map +1 -1
- package/dist/shared/config/authBridgeUrls.js +16 -15
- package/dist/shared/config/gatewayUrls.d.ts +29 -0
- package/dist/shared/config/gatewayUrls.d.ts.map +1 -1
- package/dist/shared/config/gatewayUrls.js +44 -20
- package/dist/shared/config/index.d.ts.map +1 -1
- package/dist/shared/native/capacitor.d.ts +49 -0
- package/dist/shared/native/capacitor.d.ts.map +1 -0
- package/dist/shared/native/capacitor.js +31 -0
- package/dist/shared/native/index.d.ts +2 -0
- package/dist/shared/native/index.d.ts.map +1 -1
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/MultiGatewayProvider.js +101 -100
- package/dist/shared/utils/authCookie.d.ts.map +1 -1
- package/dist/shared/utils/authCookie.js +35 -34
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -1
- package/dist/shared/utils/gatewayFetchRewrite.js +95 -87
- package/dist/shared-assistant.js +6 -1
- package/dist/shared-config.js +9 -1
- package/dist/shared-native.js +23 -22
- package/dist/shared.js +124 -123
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/store.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { createProfileScopedStorage as e } from "../utils/profileScopedStorage.js";
|
|
2
|
+
import "../../shared-utils.js";
|
|
3
|
+
import { create as t } from "zustand";
|
|
4
|
+
import { persist as n } from "zustand/middleware";
|
|
5
|
+
//#region src/shared/assistant/store.ts
|
|
6
|
+
function r() {
|
|
7
|
+
return `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
|
|
8
|
+
}
|
|
9
|
+
var i = t()(n((e, t) => ({
|
|
10
|
+
conversations: [],
|
|
11
|
+
activeConversationId: null,
|
|
12
|
+
mode: "assistant",
|
|
13
|
+
processingByConversationId: {},
|
|
14
|
+
conversationListOpen: !1,
|
|
15
|
+
sandboxesByMode: {},
|
|
16
|
+
pendingPrompt: null,
|
|
17
|
+
apiCallsAcknowledged: !1,
|
|
18
|
+
autoSpeakEnabled: !1,
|
|
19
|
+
assistantLanguage: null,
|
|
20
|
+
replyLanguage: null,
|
|
21
|
+
preferredVoices: {},
|
|
22
|
+
createConversation: (n, i) => {
|
|
23
|
+
let a = r(), o = (/* @__PURE__ */ new Date()).toISOString(), s = i ?? t().mode, c = {
|
|
24
|
+
id: a,
|
|
25
|
+
title: n || "New conversation",
|
|
26
|
+
mode: s,
|
|
27
|
+
messages: [],
|
|
28
|
+
backendSessionId: null,
|
|
29
|
+
createdAt: o,
|
|
30
|
+
updatedAt: o
|
|
31
|
+
};
|
|
32
|
+
return e((e) => ({
|
|
33
|
+
conversations: [c, ...e.conversations],
|
|
34
|
+
activeConversationId: a,
|
|
35
|
+
conversationListOpen: !1
|
|
36
|
+
})), a;
|
|
37
|
+
},
|
|
38
|
+
deleteConversation: (t) => e((e) => {
|
|
39
|
+
let n = e.conversations.filter((e) => e.id !== t), r = { ...e.processingByConversationId };
|
|
40
|
+
return delete r[t], {
|
|
41
|
+
conversations: n,
|
|
42
|
+
processingByConversationId: r,
|
|
43
|
+
activeConversationId: e.activeConversationId === t ? n[0]?.id ?? null : e.activeConversationId
|
|
44
|
+
};
|
|
45
|
+
}),
|
|
46
|
+
renameConversation: (t, n) => e((e) => ({ conversations: e.conversations.map((e) => e.id === t ? {
|
|
47
|
+
...e,
|
|
48
|
+
title: n,
|
|
49
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
50
|
+
} : e) })),
|
|
51
|
+
setActiveConversation: (t) => e((e) => ({
|
|
52
|
+
activeConversationId: t,
|
|
53
|
+
mode: e.conversations.find((e) => e.id === t)?.mode ?? e.mode,
|
|
54
|
+
conversationListOpen: !1
|
|
55
|
+
})),
|
|
56
|
+
setMode: (t) => e({ mode: t }),
|
|
57
|
+
setConversationMode: (t, n) => e((e) => ({
|
|
58
|
+
conversations: e.conversations.map((e) => e.id === t ? {
|
|
59
|
+
...e,
|
|
60
|
+
mode: n,
|
|
61
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
62
|
+
} : e),
|
|
63
|
+
mode: e.activeConversationId === t ? n : e.mode
|
|
64
|
+
})),
|
|
65
|
+
addMessage: (t, n) => e((e) => ({ conversations: e.conversations.map((e) => e.id === t ? {
|
|
66
|
+
...e,
|
|
67
|
+
messages: [...e.messages, n],
|
|
68
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
69
|
+
title: e.messages.length === 0 && n.role === "user" ? n.content.slice(0, 50) + (n.content.length > 50 ? "..." : "") : e.title
|
|
70
|
+
} : e) })),
|
|
71
|
+
updateMessage: (t, n, r) => e((e) => ({ conversations: e.conversations.map((e) => e.id === t ? {
|
|
72
|
+
...e,
|
|
73
|
+
messages: e.messages.map((e) => e.id === n ? {
|
|
74
|
+
...e,
|
|
75
|
+
content: r
|
|
76
|
+
} : e),
|
|
77
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
78
|
+
} : e) })),
|
|
79
|
+
patchMessage: (t, n, r) => e((e) => ({ conversations: e.conversations.map((e) => e.id === t ? {
|
|
80
|
+
...e,
|
|
81
|
+
messages: e.messages.map((e) => e.id === n ? {
|
|
82
|
+
...e,
|
|
83
|
+
...r
|
|
84
|
+
} : e),
|
|
85
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
86
|
+
} : e) })),
|
|
87
|
+
mergeMessageMetadata: (t, n, r) => e((e) => ({ conversations: e.conversations.map((e) => e.id === t ? {
|
|
88
|
+
...e,
|
|
89
|
+
messages: e.messages.map((e) => e.id === n ? {
|
|
90
|
+
...e,
|
|
91
|
+
metadata: {
|
|
92
|
+
...e.metadata,
|
|
93
|
+
...r
|
|
94
|
+
}
|
|
95
|
+
} : e),
|
|
96
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
97
|
+
} : e) })),
|
|
98
|
+
setConversationProcessing: (t, n, r = null, i = null) => e((e) => ({ processingByConversationId: {
|
|
99
|
+
...e.processingByConversationId,
|
|
100
|
+
[t]: {
|
|
101
|
+
status: n,
|
|
102
|
+
messageId: r,
|
|
103
|
+
error: i,
|
|
104
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
105
|
+
}
|
|
106
|
+
} })),
|
|
107
|
+
clearConversationProcessing: (t) => e((e) => {
|
|
108
|
+
let n = { ...e.processingByConversationId };
|
|
109
|
+
return delete n[t], { processingByConversationId: n };
|
|
110
|
+
}),
|
|
111
|
+
toggleConversationList: () => e((e) => ({ conversationListOpen: !e.conversationListOpen })),
|
|
112
|
+
setConversationListOpen: (t) => e({ conversationListOpen: t }),
|
|
113
|
+
clearConversation: (t) => e((e) => ({
|
|
114
|
+
conversations: e.conversations.map((e) => e.id === t ? {
|
|
115
|
+
...e,
|
|
116
|
+
messages: [],
|
|
117
|
+
backendSessionId: null,
|
|
118
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
119
|
+
} : e),
|
|
120
|
+
processingByConversationId: {
|
|
121
|
+
...e.processingByConversationId,
|
|
122
|
+
[t]: {
|
|
123
|
+
status: "idle",
|
|
124
|
+
messageId: null,
|
|
125
|
+
error: null,
|
|
126
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
})),
|
|
130
|
+
setBackendSessionId: (t, n) => e((e) => ({ conversations: e.conversations.map((e) => e.id === t ? {
|
|
131
|
+
...e,
|
|
132
|
+
backendSessionId: n
|
|
133
|
+
} : e) })),
|
|
134
|
+
clearBackendSessionId: (t) => e((e) => ({ conversations: e.conversations.map((e) => e.id === t ? {
|
|
135
|
+
...e,
|
|
136
|
+
backendSessionId: null
|
|
137
|
+
} : e) })),
|
|
138
|
+
setSandbox: (t, n, r) => e((e) => {
|
|
139
|
+
if (!n) {
|
|
140
|
+
let n = { ...e.sandboxesByMode };
|
|
141
|
+
return delete n[t], { sandboxesByMode: n };
|
|
142
|
+
}
|
|
143
|
+
return { sandboxesByMode: {
|
|
144
|
+
...e.sandboxesByMode,
|
|
145
|
+
[t]: {
|
|
146
|
+
sandboxId: n,
|
|
147
|
+
status: r
|
|
148
|
+
}
|
|
149
|
+
} };
|
|
150
|
+
}),
|
|
151
|
+
clearSandbox: (t) => e((e) => {
|
|
152
|
+
let n = { ...e.sandboxesByMode };
|
|
153
|
+
return delete n[t], { sandboxesByMode: n };
|
|
154
|
+
}),
|
|
155
|
+
resetStore: () => e({
|
|
156
|
+
conversations: [],
|
|
157
|
+
activeConversationId: null,
|
|
158
|
+
mode: "assistant",
|
|
159
|
+
processingByConversationId: {},
|
|
160
|
+
conversationListOpen: !1,
|
|
161
|
+
sandboxesByMode: {},
|
|
162
|
+
pendingPrompt: null,
|
|
163
|
+
apiCallsAcknowledged: !1,
|
|
164
|
+
autoSpeakEnabled: !1,
|
|
165
|
+
assistantLanguage: null,
|
|
166
|
+
replyLanguage: null,
|
|
167
|
+
preferredVoices: {}
|
|
168
|
+
}),
|
|
169
|
+
submitPrompt: (t) => e({ pendingPrompt: t }),
|
|
170
|
+
consumePendingPrompt: () => {
|
|
171
|
+
let n = t().pendingPrompt;
|
|
172
|
+
return n !== null && e({ pendingPrompt: null }), n;
|
|
173
|
+
},
|
|
174
|
+
acknowledgeApiCalls: () => e({ apiCallsAcknowledged: !0 }),
|
|
175
|
+
setAutoSpeak: (t) => e({ autoSpeakEnabled: t }),
|
|
176
|
+
setAssistantLanguage: (t) => e({ assistantLanguage: t }),
|
|
177
|
+
setReplyLanguage: (t) => e({ replyLanguage: t }),
|
|
178
|
+
setPreferredVoice: (t, n) => e((e) => {
|
|
179
|
+
let r = { ...e.preferredVoices };
|
|
180
|
+
return n === null ? delete r[t] : r[t] = n, { preferredVoices: r };
|
|
181
|
+
})
|
|
182
|
+
}), {
|
|
183
|
+
name: "hb-ai-assistant",
|
|
184
|
+
storage: e(),
|
|
185
|
+
partialize: (e) => ({
|
|
186
|
+
conversations: e.conversations.map(({ ...e }) => e),
|
|
187
|
+
activeConversationId: e.activeConversationId,
|
|
188
|
+
mode: e.mode,
|
|
189
|
+
conversationListOpen: e.conversationListOpen,
|
|
190
|
+
apiCallsAcknowledged: e.apiCallsAcknowledged,
|
|
191
|
+
autoSpeakEnabled: e.autoSpeakEnabled,
|
|
192
|
+
assistantLanguage: e.assistantLanguage,
|
|
193
|
+
replyLanguage: e.replyLanguage,
|
|
194
|
+
preferredVoices: e.preferredVoices
|
|
195
|
+
})
|
|
196
|
+
}));
|
|
197
|
+
//#endregion
|
|
198
|
+
export { i as useAssistantStore };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AssistantConversationStatus } from './conversation';
|
|
2
|
+
/**
|
|
3
|
+
* Is a turn genuinely in flight for this conversation?
|
|
4
|
+
*
|
|
5
|
+
* One predicate, three callers, because they must not drift: the re-entry guard
|
|
6
|
+
* in `handleSend`, the `aria-busy` / streaming-message derivation, and the
|
|
7
|
+
* composer's disabled state. The subtlety it encodes is that a processing
|
|
8
|
+
* ENTRY outliving the turn is normal — `setConversationProcessing` keeps the
|
|
9
|
+
* conversation keyed as 'complete' or 'error' afterwards — so "has an entry" is
|
|
10
|
+
* not the question; "is it one of the live statuses" is.
|
|
11
|
+
*
|
|
12
|
+
* Type-only import, so this module stays importable in the node-environment
|
|
13
|
+
* test suite.
|
|
14
|
+
*/
|
|
15
|
+
export declare function isTurnInFlight(status: AssistantConversationStatus | undefined): boolean;
|
|
16
|
+
//# sourceMappingURL=turnState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"turnState.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/turnState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAElE;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,2BAA2B,GAAG,SAAS,GAC9C,OAAO,CAMT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authBridgeUrls.d.ts","sourceRoot":"","sources":["../../../src/shared/config/authBridgeUrls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;
|
|
1
|
+
{"version":3,"file":"authBridgeUrls.d.ts","sourceRoot":"","sources":["../../../src/shared/config/authBridgeUrls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;CAChB;AAyCD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,IAAI,uBAAuB,CAcjE;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,IAAI,uBAAuB,GAAG,SAAS,CAWlF"}
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { isCapacitorNative as e } from "../native/capacitor.js";
|
|
2
|
+
import { isDesktop as t } from "../native/desktop.js";
|
|
3
|
+
import { ALL_PRODUCT_DOMAINS as n, ALPHA_HOSTS as r, PROD_HOSTS as i, getCurrentHostname as a } from "./gatewayUrls.js";
|
|
3
4
|
//#region src/shared/config/authBridgeUrls.ts
|
|
4
|
-
var
|
|
5
|
+
var o = {
|
|
5
6
|
url: "https://app.burdenoff.com/auth/session-bridge",
|
|
6
|
-
allowedOrigins:
|
|
7
|
+
allowedOrigins: n.map((e) => `https://app.${e}`).join(","),
|
|
7
8
|
debug: !1
|
|
8
|
-
},
|
|
9
|
+
}, s = {
|
|
9
10
|
url: "https://alphaapp.burdenoff.com/auth/session-bridge",
|
|
10
|
-
allowedOrigins:
|
|
11
|
+
allowedOrigins: n.map((e) => `https://alphaapp.${e}`).join(","),
|
|
11
12
|
debug: !1
|
|
12
|
-
},
|
|
13
|
+
}, c = {
|
|
13
14
|
url: "https://app.local.burdenoff.com/auth/session-bridge",
|
|
14
15
|
allowedOrigins: "*",
|
|
15
16
|
debug: !0
|
|
16
17
|
};
|
|
17
|
-
function
|
|
18
|
+
function l(e) {
|
|
18
19
|
return e ? e === "localhost" || e === "127.0.0.1" || e === "0.0.0.0" || e === "[::1]" || e === "::1" || e.endsWith(".localhost") : !1;
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function u() {
|
|
21
22
|
return {
|
|
22
23
|
url: `${typeof window > "u" ? "" : window.location.origin}/auth/session-bridge`,
|
|
23
24
|
allowedOrigins: "*",
|
|
24
25
|
debug: !0
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
|
-
function u() {
|
|
28
|
-
let e = i();
|
|
29
|
-
return r.has(e) ? a : n.has(e) ? o : c(e) ? l() : s;
|
|
30
|
-
}
|
|
31
28
|
function d() {
|
|
32
|
-
|
|
29
|
+
let e = a();
|
|
30
|
+
return i.has(e) ? o : r.has(e) ? s : l(e) ? u() : c;
|
|
31
|
+
}
|
|
32
|
+
function f() {
|
|
33
|
+
if (!t() && !e()) return d();
|
|
33
34
|
}
|
|
34
35
|
//#endregion
|
|
35
|
-
export {
|
|
36
|
+
export { d as resolveAuthBridgeConfig, f as resolveShellAuthBridgeConfig };
|
|
@@ -22,6 +22,35 @@ export declare const PROD_HOSTS: Set<string>;
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const ALPHA_HOSTS: Set<string>;
|
|
24
24
|
export declare function getCurrentHostname(): string;
|
|
25
|
+
/**
|
|
26
|
+
* Which backend estate a bundle is built to talk to.
|
|
27
|
+
*
|
|
28
|
+
* `'local'` means the developer stack behind the `gw-*.local.burdenoff.com`
|
|
29
|
+
* nginx proxy — reachable only from a machine with the dev `/etc/hosts`
|
|
30
|
+
* entries, never from a phone.
|
|
31
|
+
*/
|
|
32
|
+
export type DeployTarget = 'prod' | 'alpha' | 'local';
|
|
33
|
+
/**
|
|
34
|
+
* Resolve the deploy target for a shell whose origin carries no information —
|
|
35
|
+
* a Capacitor WebView, which is always `https://localhost` (or `capacitor://`)
|
|
36
|
+
* regardless of which product or environment the binary was built for.
|
|
37
|
+
*
|
|
38
|
+
* Precedence:
|
|
39
|
+
* 1. `VITE_GATEWAY_TARGET` — the explicit override, already honoured for
|
|
40
|
+
* localhost dev servers.
|
|
41
|
+
* 2. `VITE_DEPLOY_ENV` — the build-time environment marker the shells
|
|
42
|
+
* already set for analytics.
|
|
43
|
+
* 3. `'prod'`.
|
|
44
|
+
*
|
|
45
|
+
* Defaulting to prod is the safe answer here, and it is the OPPOSITE of the
|
|
46
|
+
* fail-loud default for an unknown *web* hostname (BOFF-2507). A web app
|
|
47
|
+
* served from a domain we do not recognise might be anything, so pointing it
|
|
48
|
+
* at production would be reckless. A Capacitor binary is something we built
|
|
49
|
+
* and signed ourselves; the only reason it is on a device at all is to talk to
|
|
50
|
+
* a real backend, and `LOCAL_DEFAULTS` there is not a safe fallback but a
|
|
51
|
+
* guaranteed `TypeError: Failed to fetch` on the first request.
|
|
52
|
+
*/
|
|
53
|
+
export declare function resolveNativeDeployTarget(): DeployTarget;
|
|
25
54
|
/**
|
|
26
55
|
* Resolve runtime gateway URLs from the current hostname, with an optional
|
|
27
56
|
* env-driven override for localhost dev servers.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gatewayUrls.d.ts","sourceRoot":"","sources":["../../../src/shared/config/gatewayUrls.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"gatewayUrls.d.ts","sourceRoot":"","sources":["../../../src/shared/config/gatewayUrls.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAoBD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,UA+C/B,CAAC;AAEF,eAAO,MAAM,UAAU,aAGrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW,aAOtB,CAAC;AAEH,wBAAgB,kBAAkB,IAAI,MAAM,CAG3C;AAkCD;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAWtD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,yBAAyB,IAAI,YAAY,CAUxD;AAOD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,IAAI,kBAAkB,CAkDvD"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isCapacitorNative as e } from "../native/capacitor.js";
|
|
2
|
+
import { getDesktopGatewayUrls as t } from "../native/desktop.js";
|
|
2
3
|
//#region src/shared/config/gatewayUrls.ts
|
|
3
|
-
var
|
|
4
|
+
var n = {
|
|
4
5
|
workspaceBaseUrl: "https://alphagraphqlworkspaces.burdenoff.com",
|
|
5
6
|
globalBaseUrl: "https://alphagraphql.burdenoff.com",
|
|
6
7
|
publicStoreBaseUrl: "https://alphagraphql.burdenoff.com"
|
|
7
|
-
},
|
|
8
|
+
}, r = {
|
|
8
9
|
workspaceBaseUrl: "https://graphqlworkspaces.burdenoff.com",
|
|
9
10
|
globalBaseUrl: "https://graphql.burdenoff.com",
|
|
10
11
|
publicStoreBaseUrl: "https://graphql.burdenoff.com"
|
|
11
|
-
},
|
|
12
|
+
}, i = {
|
|
12
13
|
workspaceBaseUrl: "https://gw-wspace.local.burdenoff.com",
|
|
13
14
|
globalBaseUrl: "https://gw-global.local.burdenoff.com",
|
|
14
15
|
publicStoreBaseUrl: "https://gw-global.local.burdenoff.com"
|
|
15
|
-
},
|
|
16
|
-
function
|
|
16
|
+
}, a = /* @__PURE__ */ "burdenoff.com,vibecontrols.com,fluidgrids.com,fluidgrids.ai,botlit.ai,botmanor.com,bigconsole.com,gethealthybowl.com,headshotmarketing.com,timecampus.com,ggnomad.com,movethewheels.com,crewfoundry.com,planmagnet.com,eventfullymanaged.com,kadaikodi.com,assethandler.com,technospam.com,semanticfed.com,manufacturedops.com,theglobalfuel.com,housingvista.com,proserviceworld.com,mybodyshield.com,artistrybase.com,collabkin.com,brainyrich.com,theculturepost.com,comradecircle.com,cosmicintersection.com,govcitizenhub.com,intelwatchtower.com,ecoimpacthub.com,buildmyiq.com,fluidgrids.ai,atheletebridge.com,adaptercloud.com,coolandlovely.com,subscriberbot.com,labsofscience.com,hookmovies.com".split(","), o = new Set([...a.map((e) => `app.${e}`), "admin.burdenoff.com"]), s = new Set([...a.map((e) => `alphaapp.${e}`), "alphaadmin.burdenoff.com"]);
|
|
17
|
+
function c() {
|
|
17
18
|
return typeof window > "u" ? "" : window.location.hostname.toLowerCase();
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function l(e) {
|
|
20
21
|
let t = `https://${e}`;
|
|
21
22
|
return {
|
|
22
23
|
workspaceBaseUrl: t,
|
|
@@ -24,24 +25,47 @@ function c(e) {
|
|
|
24
25
|
publicStoreBaseUrl: t
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
|
-
function
|
|
28
|
+
function u(e) {
|
|
28
29
|
return e ? e === "localhost" || e === "127.0.0.1" || e === "0.0.0.0" || e === "[::1]" || e === "::1" || e.endsWith(".localhost") || e.endsWith(".local.burdenoff.com") : !1;
|
|
29
30
|
}
|
|
30
|
-
var u = !1;
|
|
31
31
|
function d() {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
try {
|
|
33
|
+
return {
|
|
34
|
+
BASE_URL: "/",
|
|
35
|
+
DEV: !1,
|
|
36
|
+
MODE: "production",
|
|
37
|
+
PROD: !0,
|
|
38
|
+
SSR: !1
|
|
39
|
+
}?.VITE_DEPLOY_ENV?.toLowerCase();
|
|
40
|
+
} catch {
|
|
41
|
+
return;
|
|
41
42
|
}
|
|
42
|
-
return r;
|
|
43
43
|
}
|
|
44
44
|
function f() {
|
|
45
|
+
let e = h();
|
|
46
|
+
if (e === "prod" || e === "alpha" || e === "local") return e;
|
|
47
|
+
let t = d();
|
|
48
|
+
return t === "alpha" || t === "staging" ? "alpha" : t === "dev" || t === "development" ? "local" : "prod";
|
|
49
|
+
}
|
|
50
|
+
var p = !1;
|
|
51
|
+
function m() {
|
|
52
|
+
let a = t();
|
|
53
|
+
if (a) return a;
|
|
54
|
+
if (e()) {
|
|
55
|
+
let e = f();
|
|
56
|
+
return e === "local" ? i : e === "alpha" ? n : r;
|
|
57
|
+
}
|
|
58
|
+
let d = c();
|
|
59
|
+
if (o.has(d)) return r;
|
|
60
|
+
if (s.has(d)) return l(d);
|
|
61
|
+
if (u(d)) {
|
|
62
|
+
let e = h();
|
|
63
|
+
if (e === "prod") return p || (p = !0, console.warn("[gatewayUrls] WARNING: localhost dev server is configured to hit PRODUCTION backends (VITE_GATEWAY_TARGET=prod). Any mutation will modify real prod data. Remove the env var or delete .env.local to disable.")), r;
|
|
64
|
+
if (e === "alpha") return n;
|
|
65
|
+
}
|
|
66
|
+
return i;
|
|
67
|
+
}
|
|
68
|
+
function h() {
|
|
45
69
|
try {
|
|
46
70
|
return {
|
|
47
71
|
BASE_URL: "/",
|
|
@@ -55,4 +79,4 @@ function f() {
|
|
|
55
79
|
}
|
|
56
80
|
}
|
|
57
81
|
//#endregion
|
|
58
|
-
export {
|
|
82
|
+
export { a as ALL_PRODUCT_DOMAINS, s as ALPHA_HOSTS, o as PROD_HOSTS, c as getCurrentHostname, m as resolveGatewayUrls, f as resolveNativeDeployTarget };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/config/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/config/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;;QAEjB,uCAAuC;;QAEvC,4BAA4B;;QAE5B,6FAA6F;;;;QAI7F,uCAAuC;;QAEvC,4BAA4B;;QAE5B,6FAA6F;;QAE7F,uDAAuD;;;CAGjD,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;AACjD,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,MAAM,CAMlF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO;IApC7C,uCAAuC;;IAEvC,4BAA4B;;IAE5B,6FAA6F;;;IAI7F,uCAAuC;;IAEvC,4BAA4B;;IAE5B,6FAA6F;;IAE7F,uDAAuD;;EAwB1D;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAanF;AAYD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,YAAY,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,OAAO,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AACzF,YAAY,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAGhE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACxF,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Capacitor (mobile) runtime detection — MFE-safe, boot-order independent.
|
|
3
|
+
*
|
|
4
|
+
* WHY THIS EXISTS SEPARATELY FROM `platform.ts`
|
|
5
|
+
* --------------------------------------------
|
|
6
|
+
* `isNative()` in `./platform` reads `window.__burdenoffNativeBridge`, which is
|
|
7
|
+
* only published by `installNativeBridge()` during `bootNativeShell()`. Gateway
|
|
8
|
+
* URLs are resolved at module scope in every shell's `main.tsx` — BEFORE React
|
|
9
|
+
* renders and long before that boot step runs — so `isNative()` is still
|
|
10
|
+
* `false` at the moment it matters most. Anything that resolves a network
|
|
11
|
+
* target must therefore use the detector here instead.
|
|
12
|
+
*
|
|
13
|
+
* WHY IT DOES NOT IMPORT `@capacitor/core`
|
|
14
|
+
* ----------------------------------------
|
|
15
|
+
* `shared/*` is the MFE-safe half of fe-libs: a microfrontend must never
|
|
16
|
+
* resolve a Capacitor package (that is the whole reason `shell-native` is a
|
|
17
|
+
* separate, shell-only subpath). Capacitor's native runtime injects a
|
|
18
|
+
* `window.Capacitor` global into the WebView before any application script
|
|
19
|
+
* executes, which is exactly what `@capacitor/core` itself reads — so sniffing
|
|
20
|
+
* that global is both dependency-free and available at module-scope time.
|
|
21
|
+
*
|
|
22
|
+
* PRESENTATION PREVIEWS ARE DELIBERATELY NOT DETECTED HERE.
|
|
23
|
+
* `?__nativePreview=ios|android` (see `shell-native/preview`) changes how the
|
|
24
|
+
* app LOOKS in a normal browser. It must never change which backend the app
|
|
25
|
+
* talks to, so it does not set `window.Capacitor` and is invisible to this
|
|
26
|
+
* module.
|
|
27
|
+
*
|
|
28
|
+
* @module @burdenoff/fe-libs/shared/native/capacitor
|
|
29
|
+
*/
|
|
30
|
+
/** The two real Capacitor mobile platforms (`'web'` is not native). */
|
|
31
|
+
export type CapacitorNativePlatform = 'ios' | 'android';
|
|
32
|
+
/**
|
|
33
|
+
* The real Capacitor platform, or `null` when this is not a native mobile
|
|
34
|
+
* shell. Never returns a value for a presentation preview.
|
|
35
|
+
*/
|
|
36
|
+
export declare function getCapacitorPlatform(): CapacitorNativePlatform | null;
|
|
37
|
+
/**
|
|
38
|
+
* True when running inside a real Capacitor mobile WebView (iOS or Android).
|
|
39
|
+
*
|
|
40
|
+
* Three independent signals are accepted because a wrong `false` here sends a
|
|
41
|
+
* shipped mobile app to a developer-only gateway hostname that resolves
|
|
42
|
+
* nowhere:
|
|
43
|
+
* 1. `Capacitor.isNativePlatform()` — the canonical check.
|
|
44
|
+
* 2. A platform name of `ios`/`android` — correct even if (1) is missing.
|
|
45
|
+
* 3. A `capacitor:` document protocol — the origin a shell gets when it
|
|
46
|
+
* overrides `server.iosScheme`, and proof of a native WebView on its own.
|
|
47
|
+
*/
|
|
48
|
+
export declare function isCapacitorNative(): boolean;
|
|
49
|
+
//# sourceMappingURL=capacitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capacitor.d.ts","sourceRoot":"","sources":["../../../src/shared/native/capacitor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,uEAAuE;AACvE,MAAM,MAAM,uBAAuB,GAAG,KAAK,GAAG,SAAS,CAAC;AAiCxD;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,uBAAuB,GAAG,IAAI,CAWrE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAgB3C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//#region src/shared/native/capacitor.ts
|
|
2
|
+
function e() {
|
|
3
|
+
if (typeof window > "u") return null;
|
|
4
|
+
let e = window.Capacitor;
|
|
5
|
+
return typeof e != "object" || !e ? null : e;
|
|
6
|
+
}
|
|
7
|
+
function t(e) {
|
|
8
|
+
try {
|
|
9
|
+
let t = e.getPlatform?.();
|
|
10
|
+
if (typeof t == "string" && t) return t;
|
|
11
|
+
} catch {}
|
|
12
|
+
return typeof e.platform == "string" && e.platform ? e.platform : null;
|
|
13
|
+
}
|
|
14
|
+
function n() {
|
|
15
|
+
let n = e();
|
|
16
|
+
if (!n) return null;
|
|
17
|
+
let r = t(n);
|
|
18
|
+
return r === "ios" || r === "android" ? r : null;
|
|
19
|
+
}
|
|
20
|
+
function r() {
|
|
21
|
+
let t = e();
|
|
22
|
+
if (t) {
|
|
23
|
+
try {
|
|
24
|
+
if (t.isNativePlatform?.() === !0) return !0;
|
|
25
|
+
} catch {}
|
|
26
|
+
if (n() !== null) return !0;
|
|
27
|
+
}
|
|
28
|
+
return typeof window < "u" && window.location?.protocol === "capacitor:";
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { n as getCapacitorPlatform, r as isCapacitorNative };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export type { ActionSheetButton, ActionSheetButtonStyle, ActionSheetOptions, AppState, AppStateEventDetail, BurdenoffDesktopBridge, BurdenoffNativeBridge, BurdenoffNativePlatform, ConfirmOptions, DesktopEnvironment, DesktopNotification, DesktopPlatform, DesktopQuickAction, DesktopRuntimeConfig, DesktopThemeOptions, DesktopTitlebarMode, DesktopUpdateState, DesktopUpdateStatus, DesktopWindowState, DeviceInfo, HapticImpactStyle, HapticNotificationType, KeyboardEventDetail, NativePreviewMode, NetworkStatusEventDetail, PushTokenEventDetail, SafeAreaInsets, ShareOptions, StatusBarTheme, StatusBarThemeEventDetail, ToastDuration, } from './types';
|
|
2
2
|
export { getNativeBridge } from './bridge';
|
|
3
|
+
export { isCapacitorNative, getCapacitorPlatform } from './capacitor';
|
|
4
|
+
export type { CapacitorNativePlatform } from './capacitor';
|
|
3
5
|
export { getPlatform, isAndroid, isIOS, isNative, isWeb, isElectron, isStandalonePWA, isInstalledApp, isWebBrowser, } from './platform';
|
|
4
6
|
export { nativeConfirm, nativeCopyText, nativeImpact, nativeNotify, nativeOpenUrl, nativeShare, nativeToast, } from './consumers';
|
|
5
7
|
export { SafeAreaView, type SafeAreaViewProps } from './SafeAreaView';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/native/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,yBAAyB,EACzB,aAAa,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EACL,WAAW,EACX,SAAS,EACT,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EACV,eAAe,EACf,cAAc,EACd,YAAY,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,aAAa,EACb,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,cAAc,SAAS,CAAC;AACxB,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACxE,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEjE,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,SAAS,EACT,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,0BAA0B,EAC1B,gBAAgB,EAChB,qBAAqB,EACrB,6BAA6B,EAC7B,6BAA6B,EAC7B,wBAAwB,EACxB,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,GAC7B,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACnG,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/native/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,yBAAyB,EACzB,aAAa,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACtE,YAAY,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,WAAW,EACX,SAAS,EACT,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EACV,eAAe,EACf,cAAc,EACd,YAAY,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,aAAa,EACb,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,cAAc,SAAS,CAAC;AACxB,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACxE,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEjE,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,SAAS,EACT,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,0BAA0B,EAC1B,gBAAgB,EAChB,qBAAqB,EACrB,6BAA6B,EAC7B,6BAA6B,EAC7B,wBAAwB,EACxB,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,GAC7B,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACnG,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiGatewayProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/MultiGatewayProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAA2C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIhF,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"MultiGatewayProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/MultiGatewayProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAA2C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIhF,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAMzE,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kCAAkC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACrC,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2BAA2B;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,yCAAyC;IACzC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACxC,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACzC;AAED,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,WAAW,EACX,cAA4B,EAC5B,KAAa,EACb,mBAA2B,EAC3B,WAAW,EACX,cAAc,EACd,cAAc,GACf,EAAE,yBAAyB,2CAoS3B"}
|