@camstack/addon-pipeline-orchestrator 0.1.17 → 0.1.20
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/@mf-types/compiled-types/widgets/motion-zones/MotionGridCanvas.d.ts +2 -12
- package/dist/@mf-types/compiled-types/widgets/motion-zones/MotionGridCanvas.d.ts.map +1 -1
- package/dist/@mf-types/compiled-types/widgets/motion-zones/MotionZonesTab.d.ts.map +1 -1
- package/dist/@mf-types.zip +0 -0
- package/dist/ReactKonva--rywLr1Y.mjs +7267 -0
- package/dist/_CoreInternals-B7PHssO3.mjs +3808 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.mjs-h5aXOPSA.mjs +12 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-UNj4rttw.mjs +20 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-DPoup41Y.mjs +34 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-DoWbefqS.mjs +104 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-D4eEXltm.mjs +85 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-CVrnrGED.mjs +62 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__konva__loadShare__.mjs-C4PYo-VP.mjs +30 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs-0qpbQxoV.mjs +88 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-DekuE8px.mjs +29 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-Cg6QsnjR.mjs +36 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom__loadShare__.mjs-Dp8hqYOB.mjs +45 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-Ba_7PYkj.mjs +6 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-BBmNf5hf.mjs +34 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_konva__loadShare__.mjs-DSZIXeAx.mjs +64 -0
- package/dist/_stub.js +1079 -21518
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-D4U9-5a3.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-GASHflbS.mjs} +75 -66
- package/dist/client-CzjQ3uuI.mjs +9836 -0
- package/dist/getErrorShape-BPSzUA7W-TlK8ipWe.mjs +211 -0
- package/dist/hostInit-s8NZVmrk.mjs +196 -0
- package/dist/index-BIlr4dIX.mjs +1655 -0
- package/dist/index-BP1Nti7b.mjs +13431 -0
- package/dist/index-C1DnrJuR.mjs +2603 -0
- package/dist/index-C52WDzRJ.mjs +3842 -0
- package/dist/index-CMke0KpS.mjs +20972 -0
- package/dist/index-CWkKuNLr.mjs +232 -0
- package/dist/index-Cbqs9uJn.mjs +725 -0
- package/dist/index-DOuehnyb.mjs +185 -0
- package/dist/index-DaulYonp.mjs +435 -0
- package/dist/index-xncRG7-x.mjs +2713 -0
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/dist/jsx-runtime-DACJhJOv.mjs +55 -0
- package/dist/remoteEntry.js +2327 -3351
- package/dist/schemas-ChN4Ih0h.mjs +3584 -0
- package/dist/virtualExposes-8FzWTdq3.mjs +42 -0
- package/package.json +1 -1
- package/dist/@mf-types/compiled-types/widgets/motion-zones/MotionZonesOverlay.d.ts +0 -14
- package/dist/@mf-types/compiled-types/widgets/motion-zones/MotionZonesOverlay.d.ts.map +0 -1
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.mjs-Dn6pffG6.mjs +0 -14
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-DrteYOPu.mjs +0 -22
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-DfNJpPfu.mjs +0 -36
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-CaQq3kr4.mjs +0 -112
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-DhUh9Qzt.mjs +0 -93
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-DOHfklLX.mjs +0 -70
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs-BX5snCRm.mjs +0 -96
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-Bg2N8TAe.mjs +0 -34
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-CO0PugXp.mjs +0 -44
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom__loadShare__.mjs-Cqpb8kvp.mjs +0 -53
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-DnIwYUrp.mjs +0 -6
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-Iv-aGQ4k.mjs +0 -42
- package/dist/client-TtgJQfbd.mjs +0 -11569
- package/dist/getErrorShape-BPSzUA7W-D5KpHcIj.mjs +0 -244
- package/dist/hostInit-C89SX6z4.mjs +0 -198
- package/dist/index-0-mfXOlq.mjs +0 -899
- package/dist/index-BKVjF_OI.mjs +0 -14804
- package/dist/index-BN2rV_KJ.mjs +0 -463
- package/dist/index-BepH9mzJ.mjs +0 -3536
- package/dist/index-BxLvm_gu.mjs +0 -267
- package/dist/index-CVOLs7Aq.mjs +0 -24402
- package/dist/index-Cfo7sGh_.mjs +0 -2054
- package/dist/index-CrGKNQoE.mjs +0 -3260
- package/dist/index-sCAUpX2M.mjs +0 -197
- package/dist/jsx-runtime-D2w1zDMK.mjs +0 -67
- package/dist/schemas-DihhZLrP.mjs +0 -5087
- package/dist/virtualExposes-D_9EJnra.mjs +0 -59
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
function isObject(value) {
|
|
2
|
-
return !!value && !Array.isArray(value) && typeof value === "object";
|
|
3
|
-
}
|
|
4
|
-
function emptyObject() {
|
|
5
|
-
return /* @__PURE__ */ Object.create(null);
|
|
6
|
-
}
|
|
7
|
-
const asyncIteratorsSupported = typeof Symbol === "function" && !!Symbol.asyncIterator;
|
|
8
|
-
function isAsyncIterable(value) {
|
|
9
|
-
return asyncIteratorsSupported && isObject(value) && Symbol.asyncIterator in value;
|
|
10
|
-
}
|
|
11
|
-
const run = (fn) => fn();
|
|
12
|
-
function sleep(ms = 0) {
|
|
13
|
-
return new Promise((res) => setTimeout(res, ms));
|
|
14
|
-
}
|
|
15
|
-
const TRPC_ERROR_CODES_BY_KEY = {
|
|
16
|
-
PARSE_ERROR: -32700,
|
|
17
|
-
BAD_REQUEST: -32600,
|
|
18
|
-
INTERNAL_SERVER_ERROR: -32603,
|
|
19
|
-
NOT_IMPLEMENTED: -32603,
|
|
20
|
-
BAD_GATEWAY: -32603,
|
|
21
|
-
SERVICE_UNAVAILABLE: -32603,
|
|
22
|
-
GATEWAY_TIMEOUT: -32603,
|
|
23
|
-
UNAUTHORIZED: -32001,
|
|
24
|
-
PAYMENT_REQUIRED: -32002,
|
|
25
|
-
FORBIDDEN: -32003,
|
|
26
|
-
NOT_FOUND: -32004,
|
|
27
|
-
METHOD_NOT_SUPPORTED: -32005,
|
|
28
|
-
TIMEOUT: -32008,
|
|
29
|
-
CONFLICT: -32009,
|
|
30
|
-
PRECONDITION_FAILED: -32012,
|
|
31
|
-
PAYLOAD_TOO_LARGE: -32013,
|
|
32
|
-
UNSUPPORTED_MEDIA_TYPE: -32015,
|
|
33
|
-
UNPROCESSABLE_CONTENT: -32022,
|
|
34
|
-
PRECONDITION_REQUIRED: -32028,
|
|
35
|
-
TOO_MANY_REQUESTS: -32029,
|
|
36
|
-
CLIENT_CLOSED_REQUEST: -32099
|
|
37
|
-
};
|
|
38
|
-
const retryableRpcCodes = [
|
|
39
|
-
TRPC_ERROR_CODES_BY_KEY.BAD_GATEWAY,
|
|
40
|
-
TRPC_ERROR_CODES_BY_KEY.SERVICE_UNAVAILABLE,
|
|
41
|
-
TRPC_ERROR_CODES_BY_KEY.GATEWAY_TIMEOUT,
|
|
42
|
-
TRPC_ERROR_CODES_BY_KEY.INTERNAL_SERVER_ERROR
|
|
43
|
-
];
|
|
44
|
-
var __create = Object.create;
|
|
45
|
-
var __defProp = Object.defineProperty;
|
|
46
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
47
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
48
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
49
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
50
|
-
var __commonJS = (cb, mod) => function() {
|
|
51
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
52
|
-
};
|
|
53
|
-
var __copyProps = (to, from, except, desc) => {
|
|
54
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
55
|
-
key = keys[i];
|
|
56
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
57
|
-
get: ((k) => from[k]).bind(null, key),
|
|
58
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
return to;
|
|
62
|
-
};
|
|
63
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(__defProp(target, "default", {
|
|
64
|
-
value: mod,
|
|
65
|
-
enumerable: true
|
|
66
|
-
}), mod));
|
|
67
|
-
const noop = () => {
|
|
68
|
-
};
|
|
69
|
-
const freezeIfAvailable = (obj) => {
|
|
70
|
-
if (Object.freeze) Object.freeze(obj);
|
|
71
|
-
};
|
|
72
|
-
function createInnerProxy(callback, path, memo) {
|
|
73
|
-
var _memo$cacheKey;
|
|
74
|
-
const cacheKey = path.join(".");
|
|
75
|
-
(_memo$cacheKey = memo[cacheKey]) !== null && _memo$cacheKey !== void 0 || (memo[cacheKey] = new Proxy(noop, {
|
|
76
|
-
get(_obj, key) {
|
|
77
|
-
if (typeof key !== "string" || key === "then") return void 0;
|
|
78
|
-
return createInnerProxy(callback, [...path, key], memo);
|
|
79
|
-
},
|
|
80
|
-
apply(_1, _2, args) {
|
|
81
|
-
const lastOfPath = path[path.length - 1];
|
|
82
|
-
if (lastOfPath === "valueOf" || lastOfPath === "toString" || lastOfPath === "toJSON") {
|
|
83
|
-
const debugPath = path.slice(0, -1).join(".");
|
|
84
|
-
return `tRPC.proxy(${debugPath})`;
|
|
85
|
-
}
|
|
86
|
-
let opts = {
|
|
87
|
-
args,
|
|
88
|
-
path
|
|
89
|
-
};
|
|
90
|
-
if (lastOfPath === "call") opts = {
|
|
91
|
-
args: args.length >= 2 ? [args[1]] : [],
|
|
92
|
-
path: path.slice(0, -1)
|
|
93
|
-
};
|
|
94
|
-
else if (lastOfPath === "apply") opts = {
|
|
95
|
-
args: args.length >= 2 ? args[1] : [],
|
|
96
|
-
path: path.slice(0, -1)
|
|
97
|
-
};
|
|
98
|
-
freezeIfAvailable(opts.args);
|
|
99
|
-
freezeIfAvailable(opts.path);
|
|
100
|
-
return callback(opts);
|
|
101
|
-
}
|
|
102
|
-
}));
|
|
103
|
-
return memo[cacheKey];
|
|
104
|
-
}
|
|
105
|
-
const createRecursiveProxy = (callback) => createInnerProxy(callback, [], emptyObject());
|
|
106
|
-
const createFlatProxy = (callback) => {
|
|
107
|
-
return new Proxy(noop, { get(_obj, name) {
|
|
108
|
-
if (name === "then") return void 0;
|
|
109
|
-
return callback(name);
|
|
110
|
-
} });
|
|
111
|
-
};
|
|
112
|
-
const JSONRPC2_TO_HTTP_CODE = {
|
|
113
|
-
PARSE_ERROR: 400,
|
|
114
|
-
BAD_REQUEST: 400,
|
|
115
|
-
UNAUTHORIZED: 401,
|
|
116
|
-
PAYMENT_REQUIRED: 402,
|
|
117
|
-
FORBIDDEN: 403,
|
|
118
|
-
NOT_FOUND: 404,
|
|
119
|
-
METHOD_NOT_SUPPORTED: 405,
|
|
120
|
-
TIMEOUT: 408,
|
|
121
|
-
CONFLICT: 409,
|
|
122
|
-
PRECONDITION_FAILED: 412,
|
|
123
|
-
PAYLOAD_TOO_LARGE: 413,
|
|
124
|
-
UNSUPPORTED_MEDIA_TYPE: 415,
|
|
125
|
-
UNPROCESSABLE_CONTENT: 422,
|
|
126
|
-
PRECONDITION_REQUIRED: 428,
|
|
127
|
-
TOO_MANY_REQUESTS: 429,
|
|
128
|
-
CLIENT_CLOSED_REQUEST: 499,
|
|
129
|
-
INTERNAL_SERVER_ERROR: 500,
|
|
130
|
-
NOT_IMPLEMENTED: 501,
|
|
131
|
-
BAD_GATEWAY: 502,
|
|
132
|
-
SERVICE_UNAVAILABLE: 503,
|
|
133
|
-
GATEWAY_TIMEOUT: 504
|
|
134
|
-
};
|
|
135
|
-
function getStatusCodeFromKey(code) {
|
|
136
|
-
var _JSONRPC2_TO_HTTP_COD;
|
|
137
|
-
return (_JSONRPC2_TO_HTTP_COD = JSONRPC2_TO_HTTP_CODE[code]) !== null && _JSONRPC2_TO_HTTP_COD !== void 0 ? _JSONRPC2_TO_HTTP_COD : 500;
|
|
138
|
-
}
|
|
139
|
-
function getHTTPStatusCodeFromError(error) {
|
|
140
|
-
return getStatusCodeFromKey(error.code);
|
|
141
|
-
}
|
|
142
|
-
var require_typeof = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(exports, module) {
|
|
143
|
-
function _typeof$2(o) {
|
|
144
|
-
"@babel/helpers - typeof";
|
|
145
|
-
return module.exports = _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
|
|
146
|
-
return typeof o$1;
|
|
147
|
-
} : function(o$1) {
|
|
148
|
-
return o$1 && "function" == typeof Symbol && o$1.constructor === Symbol && o$1 !== Symbol.prototype ? "symbol" : typeof o$1;
|
|
149
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof$2(o);
|
|
150
|
-
}
|
|
151
|
-
module.exports = _typeof$2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
152
|
-
} });
|
|
153
|
-
var require_toPrimitive = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(exports, module) {
|
|
154
|
-
var _typeof$1 = require_typeof()["default"];
|
|
155
|
-
function toPrimitive$1(t, r) {
|
|
156
|
-
if ("object" != _typeof$1(t) || !t) return t;
|
|
157
|
-
var e = t[Symbol.toPrimitive];
|
|
158
|
-
if (void 0 !== e) {
|
|
159
|
-
var i = e.call(t, r || "default");
|
|
160
|
-
if ("object" != _typeof$1(i)) return i;
|
|
161
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
162
|
-
}
|
|
163
|
-
return ("string" === r ? String : Number)(t);
|
|
164
|
-
}
|
|
165
|
-
module.exports = toPrimitive$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
166
|
-
} });
|
|
167
|
-
var require_toPropertyKey = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(exports, module) {
|
|
168
|
-
var _typeof = require_typeof()["default"];
|
|
169
|
-
var toPrimitive = require_toPrimitive();
|
|
170
|
-
function toPropertyKey$1(t) {
|
|
171
|
-
var i = toPrimitive(t, "string");
|
|
172
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
173
|
-
}
|
|
174
|
-
module.exports = toPropertyKey$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
175
|
-
} });
|
|
176
|
-
var require_defineProperty = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(exports, module) {
|
|
177
|
-
var toPropertyKey = require_toPropertyKey();
|
|
178
|
-
function _defineProperty(e, r, t) {
|
|
179
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
180
|
-
value: t,
|
|
181
|
-
enumerable: true,
|
|
182
|
-
configurable: true,
|
|
183
|
-
writable: true
|
|
184
|
-
}) : e[r] = t, e;
|
|
185
|
-
}
|
|
186
|
-
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
187
|
-
} });
|
|
188
|
-
var require_objectSpread2 = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(exports, module) {
|
|
189
|
-
var defineProperty = require_defineProperty();
|
|
190
|
-
function ownKeys(e, r) {
|
|
191
|
-
var t = Object.keys(e);
|
|
192
|
-
if (Object.getOwnPropertySymbols) {
|
|
193
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
194
|
-
r && (o = o.filter(function(r$1) {
|
|
195
|
-
return Object.getOwnPropertyDescriptor(e, r$1).enumerable;
|
|
196
|
-
})), t.push.apply(t, o);
|
|
197
|
-
}
|
|
198
|
-
return t;
|
|
199
|
-
}
|
|
200
|
-
function _objectSpread2(e) {
|
|
201
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
202
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
203
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r$1) {
|
|
204
|
-
defineProperty(e, r$1, t[r$1]);
|
|
205
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r$1) {
|
|
206
|
-
Object.defineProperty(e, r$1, Object.getOwnPropertyDescriptor(t, r$1));
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
return e;
|
|
210
|
-
}
|
|
211
|
-
module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
212
|
-
} });
|
|
213
|
-
var import_objectSpread2 = __toESM(require_objectSpread2());
|
|
214
|
-
function getErrorShape(opts) {
|
|
215
|
-
const { path, error, config } = opts;
|
|
216
|
-
const { code } = opts.error;
|
|
217
|
-
const shape = {
|
|
218
|
-
message: error.message,
|
|
219
|
-
code: TRPC_ERROR_CODES_BY_KEY[code],
|
|
220
|
-
data: {
|
|
221
|
-
code,
|
|
222
|
-
httpStatus: getHTTPStatusCodeFromError(error)
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
if (config.isDev && typeof opts.error.stack === "string") shape.data.stack = opts.error.stack;
|
|
226
|
-
if (typeof path === "string") shape.data.path = path;
|
|
227
|
-
return config.errorFormatter((0, import_objectSpread2.default)((0, import_objectSpread2.default)({}, opts), {}, { shape }));
|
|
228
|
-
}
|
|
229
|
-
export {
|
|
230
|
-
TRPC_ERROR_CODES_BY_KEY as T,
|
|
231
|
-
__toESM as _,
|
|
232
|
-
require_defineProperty as a,
|
|
233
|
-
run as b,
|
|
234
|
-
__commonJS as c,
|
|
235
|
-
createRecursiveProxy as d,
|
|
236
|
-
emptyObject as e,
|
|
237
|
-
createFlatProxy as f,
|
|
238
|
-
retryableRpcCodes as g,
|
|
239
|
-
isAsyncIterable as h,
|
|
240
|
-
isObject as i,
|
|
241
|
-
getErrorShape as j,
|
|
242
|
-
require_objectSpread2 as r,
|
|
243
|
-
sleep as s
|
|
244
|
-
};
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
const __mfCacheGlobalKey = "__mf_module_cache__";
|
|
2
|
-
globalThis[__mfCacheGlobalKey] ||= { share: {}, remote: {} };
|
|
3
|
-
globalThis[__mfCacheGlobalKey].share ||= {};
|
|
4
|
-
globalThis[__mfCacheGlobalKey].remote ||= {};
|
|
5
|
-
const __mfModuleCache = globalThis[__mfCacheGlobalKey];
|
|
6
|
-
let hostInitPromise;
|
|
7
|
-
async function initHost() {
|
|
8
|
-
if (!hostInitPromise) {
|
|
9
|
-
hostInitPromise = (async () => {
|
|
10
|
-
if (__mfModuleCache.share["@tanstack/react-query"] === void 0) {
|
|
11
|
-
const mod = await import("./index-BepH9mzJ.mjs");
|
|
12
|
-
const exportModule = { ...mod };
|
|
13
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
14
|
-
value: true,
|
|
15
|
-
enumerable: false
|
|
16
|
-
});
|
|
17
|
-
__mfModuleCache.share["@tanstack/react-query"] = exportModule;
|
|
18
|
-
}
|
|
19
|
-
if (__mfModuleCache.share["@trpc/client"] === void 0) {
|
|
20
|
-
const mod = await import("./index-CrGKNQoE.mjs");
|
|
21
|
-
const exportModule = { ...mod };
|
|
22
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
23
|
-
value: true,
|
|
24
|
-
enumerable: false
|
|
25
|
-
});
|
|
26
|
-
__mfModuleCache.share["@trpc/client"] = exportModule;
|
|
27
|
-
}
|
|
28
|
-
if (__mfModuleCache.share["@trpc/react-query"] === void 0) {
|
|
29
|
-
const mod = await import("./index-0-mfXOlq.mjs");
|
|
30
|
-
const exportModule = { ...mod };
|
|
31
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
32
|
-
value: true,
|
|
33
|
-
enumerable: false
|
|
34
|
-
});
|
|
35
|
-
__mfModuleCache.share["@trpc/react-query"] = exportModule;
|
|
36
|
-
}
|
|
37
|
-
if (__mfModuleCache.share["react"] === void 0) {
|
|
38
|
-
const mod = await import("./index-BN2rV_KJ.mjs").then((n) => n.i);
|
|
39
|
-
const exportModule = { ...mod };
|
|
40
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
41
|
-
value: true,
|
|
42
|
-
enumerable: false
|
|
43
|
-
});
|
|
44
|
-
__mfModuleCache.share["react"] = exportModule;
|
|
45
|
-
}
|
|
46
|
-
if (__mfModuleCache.share["react-dom"] === void 0) {
|
|
47
|
-
const mod = await import("./index-sCAUpX2M.mjs").then((n) => n.i);
|
|
48
|
-
const exportModule = { ...mod };
|
|
49
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
50
|
-
value: true,
|
|
51
|
-
enumerable: false
|
|
52
|
-
});
|
|
53
|
-
__mfModuleCache.share["react-dom"] = exportModule;
|
|
54
|
-
}
|
|
55
|
-
if (__mfModuleCache.share["react-dom/client"] === void 0) {
|
|
56
|
-
const mod = await import("./client-TtgJQfbd.mjs").then((n) => n.c);
|
|
57
|
-
const exportModule = { ...mod };
|
|
58
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
59
|
-
value: true,
|
|
60
|
-
enumerable: false
|
|
61
|
-
});
|
|
62
|
-
__mfModuleCache.share["react-dom/client"] = exportModule;
|
|
63
|
-
}
|
|
64
|
-
if (__mfModuleCache.share["react/jsx-runtime"] === void 0) {
|
|
65
|
-
const mod = await import("./jsx-runtime-D2w1zDMK.mjs").then((n) => n.j);
|
|
66
|
-
const exportModule = { ...mod };
|
|
67
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
68
|
-
value: true,
|
|
69
|
-
enumerable: false
|
|
70
|
-
});
|
|
71
|
-
__mfModuleCache.share["react/jsx-runtime"] = exportModule;
|
|
72
|
-
}
|
|
73
|
-
if (__mfModuleCache.share["@camstack/sdk"] === void 0) {
|
|
74
|
-
const mod = await import("./index-Cfo7sGh_.mjs");
|
|
75
|
-
const exportModule = { ...mod };
|
|
76
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
77
|
-
value: true,
|
|
78
|
-
enumerable: false
|
|
79
|
-
});
|
|
80
|
-
__mfModuleCache.share["@camstack/sdk"] = exportModule;
|
|
81
|
-
}
|
|
82
|
-
if (__mfModuleCache.share["@camstack/types"] === void 0) {
|
|
83
|
-
const mod = await import("./index-BKVjF_OI.mjs");
|
|
84
|
-
const exportModule = { ...mod };
|
|
85
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
86
|
-
value: true,
|
|
87
|
-
enumerable: false
|
|
88
|
-
});
|
|
89
|
-
__mfModuleCache.share["@camstack/types"] = exportModule;
|
|
90
|
-
}
|
|
91
|
-
if (__mfModuleCache.share["@camstack/ui-library"] === void 0) {
|
|
92
|
-
const mod = await import("./index-CVOLs7Aq.mjs");
|
|
93
|
-
const exportModule = { ...mod };
|
|
94
|
-
Object.defineProperty(exportModule, "__esModule", {
|
|
95
|
-
value: true,
|
|
96
|
-
enumerable: false
|
|
97
|
-
});
|
|
98
|
-
__mfModuleCache.share["@camstack/ui-library"] = exportModule;
|
|
99
|
-
}
|
|
100
|
-
const remoteEntry = await import("./remoteEntry.js");
|
|
101
|
-
const runtime = await remoteEntry.init();
|
|
102
|
-
const usedShared = {
|
|
103
|
-
"react": {
|
|
104
|
-
shareConfig: {
|
|
105
|
-
singleton: true,
|
|
106
|
-
requiredVersion: "^19.2.5",
|
|
107
|
-
import: false
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"react-dom": {
|
|
111
|
-
shareConfig: {
|
|
112
|
-
singleton: true,
|
|
113
|
-
requiredVersion: "^19.2.5",
|
|
114
|
-
import: false
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"react/jsx-runtime": {
|
|
118
|
-
shareConfig: {
|
|
119
|
-
singleton: true,
|
|
120
|
-
requiredVersion: "^19.2.5",
|
|
121
|
-
import: false
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"@camstack/sdk": {
|
|
125
|
-
shareConfig: {
|
|
126
|
-
singleton: true,
|
|
127
|
-
requiredVersion: "^0.1.49",
|
|
128
|
-
import: false
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"@camstack/types": {
|
|
132
|
-
shareConfig: {
|
|
133
|
-
singleton: true,
|
|
134
|
-
requiredVersion: "^0.1.35",
|
|
135
|
-
import: false
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"@camstack/ui-library": {
|
|
139
|
-
shareConfig: {
|
|
140
|
-
singleton: true,
|
|
141
|
-
requiredVersion: "^0.1.52",
|
|
142
|
-
import: false
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"@tanstack/react-query": {
|
|
146
|
-
shareConfig: {
|
|
147
|
-
singleton: true,
|
|
148
|
-
requiredVersion: "^5.100.9",
|
|
149
|
-
import: false
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"@trpc/client": {
|
|
153
|
-
shareConfig: {
|
|
154
|
-
singleton: true,
|
|
155
|
-
requiredVersion: "^11.17.0",
|
|
156
|
-
import: false
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"@trpc/react-query": {
|
|
160
|
-
shareConfig: {
|
|
161
|
-
singleton: true,
|
|
162
|
-
requiredVersion: "^11.17.0",
|
|
163
|
-
import: false
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"react-dom/client": {
|
|
167
|
-
shareConfig: {
|
|
168
|
-
singleton: true,
|
|
169
|
-
requiredVersion: "^19.2.5",
|
|
170
|
-
import: false
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
for (const [pkg, share] of Object.entries(usedShared)) {
|
|
175
|
-
if (__mfModuleCache.share[pkg] !== void 0) {
|
|
176
|
-
continue;
|
|
177
|
-
}
|
|
178
|
-
await runtime.loadShare(pkg, {
|
|
179
|
-
customShareInfo: { shareConfig: share.shareConfig }
|
|
180
|
-
}).then((factory) => {
|
|
181
|
-
const mod = typeof factory === "function" ? factory() : factory;
|
|
182
|
-
return Promise.resolve(mod).then((resolved) => {
|
|
183
|
-
__mfModuleCache.share[pkg] = resolved;
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
const __mfRemotePreloads = [];
|
|
188
|
-
await Promise.all(__mfRemotePreloads);
|
|
189
|
-
return runtime;
|
|
190
|
-
})();
|
|
191
|
-
}
|
|
192
|
-
return hostInitPromise;
|
|
193
|
-
}
|
|
194
|
-
hostInitPromise = initHost();
|
|
195
|
-
export {
|
|
196
|
-
hostInitPromise,
|
|
197
|
-
initHost
|
|
198
|
-
};
|