@uniformdev/mesh-sdk-react 19.7.0 → 19.9.2-alpha.3

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/index.esm.js CHANGED
@@ -1,12 +1,405 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __esm = (fn2, res) => function __init() {
8
+ return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
9
+ };
10
+ var __commonJS = (cb, mod) => function __require() {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ };
2
13
  var __export = (target, all) => {
3
14
  for (var name in all)
4
15
  __defProp(target, name, { get: all[name], enumerable: true });
5
16
  };
17
+ var __copyProps = (to, from, except, desc) => {
18
+ if (from && typeof from === "object" || typeof from === "function") {
19
+ for (let key of __getOwnPropNames(from))
20
+ if (!__hasOwnProp.call(to, key) && key !== except)
21
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
+ // If the importer is in node compatibility mode or this is not an ESM
27
+ // file that has been converted to a CommonJS file using a Babel-
28
+ // compatible transform (i.e. "__esModule" has not been set), then set
29
+ // "default" to the CommonJS "module.exports" for node compatibility.
30
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
31
+ mod
32
+ ));
6
33
 
7
34
  // ../../scripts/emotion-jsx-shim.js
8
35
  import { jsx } from "@emotion/react";
9
36
  import * as React from "react";
37
+ var init_emotion_jsx_shim = __esm({
38
+ "../../scripts/emotion-jsx-shim.js"() {
39
+ "use strict";
40
+ }
41
+ });
42
+
43
+ // ../../node_modules/.pnpm/yocto-queue@0.1.0/node_modules/yocto-queue/index.js
44
+ var require_yocto_queue = __commonJS({
45
+ "../../node_modules/.pnpm/yocto-queue@0.1.0/node_modules/yocto-queue/index.js"(exports, module) {
46
+ init_emotion_jsx_shim();
47
+ var Node = class {
48
+ /// value;
49
+ /// next;
50
+ constructor(value) {
51
+ this.value = value;
52
+ this.next = void 0;
53
+ }
54
+ };
55
+ var Queue = class {
56
+ // TODO: Use private class fields when targeting Node.js 12.
57
+ // #_head;
58
+ // #_tail;
59
+ // #_size;
60
+ constructor() {
61
+ this.clear();
62
+ }
63
+ enqueue(value) {
64
+ const node = new Node(value);
65
+ if (this._head) {
66
+ this._tail.next = node;
67
+ this._tail = node;
68
+ } else {
69
+ this._head = node;
70
+ this._tail = node;
71
+ }
72
+ this._size++;
73
+ }
74
+ dequeue() {
75
+ const current = this._head;
76
+ if (!current) {
77
+ return;
78
+ }
79
+ this._head = this._head.next;
80
+ this._size--;
81
+ return current.value;
82
+ }
83
+ clear() {
84
+ this._head = void 0;
85
+ this._tail = void 0;
86
+ this._size = 0;
87
+ }
88
+ get size() {
89
+ return this._size;
90
+ }
91
+ *[Symbol.iterator]() {
92
+ let current = this._head;
93
+ while (current) {
94
+ yield current.value;
95
+ current = current.next;
96
+ }
97
+ }
98
+ };
99
+ module.exports = Queue;
100
+ }
101
+ });
102
+
103
+ // ../../node_modules/.pnpm/p-limit@3.1.0/node_modules/p-limit/index.js
104
+ var require_p_limit = __commonJS({
105
+ "../../node_modules/.pnpm/p-limit@3.1.0/node_modules/p-limit/index.js"(exports, module) {
106
+ "use strict";
107
+ init_emotion_jsx_shim();
108
+ var Queue = require_yocto_queue();
109
+ var pLimit2 = (concurrency) => {
110
+ if (!((Number.isInteger(concurrency) || concurrency === Infinity) && concurrency > 0)) {
111
+ throw new TypeError("Expected `concurrency` to be a number from 1 and up");
112
+ }
113
+ const queue = new Queue();
114
+ let activeCount = 0;
115
+ const next = () => {
116
+ activeCount--;
117
+ if (queue.size > 0) {
118
+ queue.dequeue()();
119
+ }
120
+ };
121
+ const run = async (fn2, resolve, ...args) => {
122
+ activeCount++;
123
+ const result = (async () => fn2(...args))();
124
+ resolve(result);
125
+ try {
126
+ await result;
127
+ } catch (e) {
128
+ }
129
+ next();
130
+ };
131
+ const enqueue = (fn2, resolve, ...args) => {
132
+ queue.enqueue(run.bind(null, fn2, resolve, ...args));
133
+ (async () => {
134
+ await Promise.resolve();
135
+ if (activeCount < concurrency && queue.size > 0) {
136
+ queue.dequeue()();
137
+ }
138
+ })();
139
+ };
140
+ const generator = (fn2, ...args) => new Promise((resolve) => {
141
+ enqueue(fn2, resolve, ...args);
142
+ });
143
+ Object.defineProperties(generator, {
144
+ activeCount: {
145
+ get: () => activeCount
146
+ },
147
+ pendingCount: {
148
+ get: () => queue.size
149
+ },
150
+ clearQueue: {
151
+ value: () => {
152
+ queue.clear();
153
+ }
154
+ }
155
+ });
156
+ return generator;
157
+ };
158
+ module.exports = pLimit2;
159
+ }
160
+ });
161
+
162
+ // ../../node_modules/.pnpm/ansi-colors@4.1.3/node_modules/ansi-colors/symbols.js
163
+ var require_symbols = __commonJS({
164
+ "../../node_modules/.pnpm/ansi-colors@4.1.3/node_modules/ansi-colors/symbols.js"(exports, module) {
165
+ "use strict";
166
+ init_emotion_jsx_shim();
167
+ var isHyper = typeof process !== "undefined" && process.env.TERM_PROGRAM === "Hyper";
168
+ var isWindows = typeof process !== "undefined" && process.platform === "win32";
169
+ var isLinux = typeof process !== "undefined" && process.platform === "linux";
170
+ var common = {
171
+ ballotDisabled: "\u2612",
172
+ ballotOff: "\u2610",
173
+ ballotOn: "\u2611",
174
+ bullet: "\u2022",
175
+ bulletWhite: "\u25E6",
176
+ fullBlock: "\u2588",
177
+ heart: "\u2764",
178
+ identicalTo: "\u2261",
179
+ line: "\u2500",
180
+ mark: "\u203B",
181
+ middot: "\xB7",
182
+ minus: "\uFF0D",
183
+ multiplication: "\xD7",
184
+ obelus: "\xF7",
185
+ pencilDownRight: "\u270E",
186
+ pencilRight: "\u270F",
187
+ pencilUpRight: "\u2710",
188
+ percent: "%",
189
+ pilcrow2: "\u2761",
190
+ pilcrow: "\xB6",
191
+ plusMinus: "\xB1",
192
+ question: "?",
193
+ section: "\xA7",
194
+ starsOff: "\u2606",
195
+ starsOn: "\u2605",
196
+ upDownArrow: "\u2195"
197
+ };
198
+ var windows = Object.assign({}, common, {
199
+ check: "\u221A",
200
+ cross: "\xD7",
201
+ ellipsisLarge: "...",
202
+ ellipsis: "...",
203
+ info: "i",
204
+ questionSmall: "?",
205
+ pointer: ">",
206
+ pointerSmall: "\xBB",
207
+ radioOff: "( )",
208
+ radioOn: "(*)",
209
+ warning: "\u203C"
210
+ });
211
+ var other = Object.assign({}, common, {
212
+ ballotCross: "\u2718",
213
+ check: "\u2714",
214
+ cross: "\u2716",
215
+ ellipsisLarge: "\u22EF",
216
+ ellipsis: "\u2026",
217
+ info: "\u2139",
218
+ questionFull: "\uFF1F",
219
+ questionSmall: "\uFE56",
220
+ pointer: isLinux ? "\u25B8" : "\u276F",
221
+ pointerSmall: isLinux ? "\u2023" : "\u203A",
222
+ radioOff: "\u25EF",
223
+ radioOn: "\u25C9",
224
+ warning: "\u26A0"
225
+ });
226
+ module.exports = isWindows && !isHyper ? windows : other;
227
+ Reflect.defineProperty(module.exports, "common", { enumerable: false, value: common });
228
+ Reflect.defineProperty(module.exports, "windows", { enumerable: false, value: windows });
229
+ Reflect.defineProperty(module.exports, "other", { enumerable: false, value: other });
230
+ }
231
+ });
232
+
233
+ // ../../node_modules/.pnpm/ansi-colors@4.1.3/node_modules/ansi-colors/index.js
234
+ var require_ansi_colors = __commonJS({
235
+ "../../node_modules/.pnpm/ansi-colors@4.1.3/node_modules/ansi-colors/index.js"(exports, module) {
236
+ "use strict";
237
+ init_emotion_jsx_shim();
238
+ var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
239
+ var ANSI_REGEX = /[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g;
240
+ var hasColor = () => {
241
+ if (typeof process !== "undefined") {
242
+ return process.env.FORCE_COLOR !== "0";
243
+ }
244
+ return false;
245
+ };
246
+ var create = () => {
247
+ const colors = {
248
+ enabled: hasColor(),
249
+ visible: true,
250
+ styles: {},
251
+ keys: {}
252
+ };
253
+ const ansi = (style2) => {
254
+ let open = style2.open = `\x1B[${style2.codes[0]}m`;
255
+ let close = style2.close = `\x1B[${style2.codes[1]}m`;
256
+ let regex = style2.regex = new RegExp(`\\u001b\\[${style2.codes[1]}m`, "g");
257
+ style2.wrap = (input, newline) => {
258
+ if (input.includes(close))
259
+ input = input.replace(regex, close + open);
260
+ let output = open + input + close;
261
+ return newline ? output.replace(/\r*\n/g, `${close}$&${open}`) : output;
262
+ };
263
+ return style2;
264
+ };
265
+ const wrap = (style2, input, newline) => {
266
+ return typeof style2 === "function" ? style2(input) : style2.wrap(input, newline);
267
+ };
268
+ const style = (input, stack) => {
269
+ if (input === "" || input == null)
270
+ return "";
271
+ if (colors.enabled === false)
272
+ return input;
273
+ if (colors.visible === false)
274
+ return "";
275
+ let str = "" + input;
276
+ let nl = str.includes("\n");
277
+ let n2 = stack.length;
278
+ if (n2 > 0 && stack.includes("unstyle")) {
279
+ stack = [.../* @__PURE__ */ new Set(["unstyle", ...stack])].reverse();
280
+ }
281
+ while (n2-- > 0)
282
+ str = wrap(colors.styles[stack[n2]], str, nl);
283
+ return str;
284
+ };
285
+ const define = (name, codes, type) => {
286
+ colors.styles[name] = ansi({ name, codes });
287
+ let keys = colors.keys[type] || (colors.keys[type] = []);
288
+ keys.push(name);
289
+ Reflect.defineProperty(colors, name, {
290
+ configurable: true,
291
+ enumerable: true,
292
+ set(value) {
293
+ colors.alias(name, value);
294
+ },
295
+ get() {
296
+ let color = (input) => style(input, color.stack);
297
+ Reflect.setPrototypeOf(color, colors);
298
+ color.stack = this.stack ? this.stack.concat(name) : [name];
299
+ return color;
300
+ }
301
+ });
302
+ };
303
+ define("reset", [0, 0], "modifier");
304
+ define("bold", [1, 22], "modifier");
305
+ define("dim", [2, 22], "modifier");
306
+ define("italic", [3, 23], "modifier");
307
+ define("underline", [4, 24], "modifier");
308
+ define("inverse", [7, 27], "modifier");
309
+ define("hidden", [8, 28], "modifier");
310
+ define("strikethrough", [9, 29], "modifier");
311
+ define("black", [30, 39], "color");
312
+ define("red", [31, 39], "color");
313
+ define("green", [32, 39], "color");
314
+ define("yellow", [33, 39], "color");
315
+ define("blue", [34, 39], "color");
316
+ define("magenta", [35, 39], "color");
317
+ define("cyan", [36, 39], "color");
318
+ define("white", [37, 39], "color");
319
+ define("gray", [90, 39], "color");
320
+ define("grey", [90, 39], "color");
321
+ define("bgBlack", [40, 49], "bg");
322
+ define("bgRed", [41, 49], "bg");
323
+ define("bgGreen", [42, 49], "bg");
324
+ define("bgYellow", [43, 49], "bg");
325
+ define("bgBlue", [44, 49], "bg");
326
+ define("bgMagenta", [45, 49], "bg");
327
+ define("bgCyan", [46, 49], "bg");
328
+ define("bgWhite", [47, 49], "bg");
329
+ define("blackBright", [90, 39], "bright");
330
+ define("redBright", [91, 39], "bright");
331
+ define("greenBright", [92, 39], "bright");
332
+ define("yellowBright", [93, 39], "bright");
333
+ define("blueBright", [94, 39], "bright");
334
+ define("magentaBright", [95, 39], "bright");
335
+ define("cyanBright", [96, 39], "bright");
336
+ define("whiteBright", [97, 39], "bright");
337
+ define("bgBlackBright", [100, 49], "bgBright");
338
+ define("bgRedBright", [101, 49], "bgBright");
339
+ define("bgGreenBright", [102, 49], "bgBright");
340
+ define("bgYellowBright", [103, 49], "bgBright");
341
+ define("bgBlueBright", [104, 49], "bgBright");
342
+ define("bgMagentaBright", [105, 49], "bgBright");
343
+ define("bgCyanBright", [106, 49], "bgBright");
344
+ define("bgWhiteBright", [107, 49], "bgBright");
345
+ colors.ansiRegex = ANSI_REGEX;
346
+ colors.hasColor = colors.hasAnsi = (str) => {
347
+ colors.ansiRegex.lastIndex = 0;
348
+ return typeof str === "string" && str !== "" && colors.ansiRegex.test(str);
349
+ };
350
+ colors.alias = (name, color) => {
351
+ let fn2 = typeof color === "string" ? colors[color] : color;
352
+ if (typeof fn2 !== "function") {
353
+ throw new TypeError("Expected alias to be the name of an existing color (string) or a function");
354
+ }
355
+ if (!fn2.stack) {
356
+ Reflect.defineProperty(fn2, "name", { value: name });
357
+ colors.styles[name] = fn2;
358
+ fn2.stack = [name];
359
+ }
360
+ Reflect.defineProperty(colors, name, {
361
+ configurable: true,
362
+ enumerable: true,
363
+ set(value) {
364
+ colors.alias(name, value);
365
+ },
366
+ get() {
367
+ let color2 = (input) => style(input, color2.stack);
368
+ Reflect.setPrototypeOf(color2, colors);
369
+ color2.stack = this.stack ? this.stack.concat(fn2.stack) : fn2.stack;
370
+ return color2;
371
+ }
372
+ });
373
+ };
374
+ colors.theme = (custom) => {
375
+ if (!isObject(custom))
376
+ throw new TypeError("Expected theme to be an object");
377
+ for (let name of Object.keys(custom)) {
378
+ colors.alias(name, custom[name]);
379
+ }
380
+ return colors;
381
+ };
382
+ colors.alias("unstyle", (str) => {
383
+ if (typeof str === "string" && str !== "") {
384
+ colors.ansiRegex.lastIndex = 0;
385
+ return str.replace(colors.ansiRegex, "");
386
+ }
387
+ return "";
388
+ });
389
+ colors.alias("noop", (str) => str);
390
+ colors.none = colors.clear = colors.noop;
391
+ colors.stripColor = colors.unstyle;
392
+ colors.symbols = require_symbols();
393
+ colors.define = define;
394
+ return colors;
395
+ };
396
+ module.exports = create();
397
+ module.exports.create = create;
398
+ }
399
+ });
400
+
401
+ // src/index.ts
402
+ init_emotion_jsx_shim();
10
403
 
11
404
  // src/assets/icons/index.ts
12
405
  var icons_exports = {};
@@ -25,8 +418,10 @@ __export(icons_exports, {
25
418
  MoreVerticalAlt: () => MoreVerticalAlt_default,
26
419
  Plus: () => Plus_default
27
420
  });
421
+ init_emotion_jsx_shim();
28
422
 
29
423
  // src/assets/icons/Caution.tsx
424
+ init_emotion_jsx_shim();
30
425
  import { jsx as jsx2 } from "@emotion/react/jsx-runtime";
31
426
  var SvgCaution = (props) => /* @__PURE__ */ jsx2(
32
427
  "svg",
@@ -49,6 +444,7 @@ var SvgCaution = (props) => /* @__PURE__ */ jsx2(
49
444
  var Caution_default = SvgCaution;
50
445
 
51
446
  // src/assets/icons/Checkmark.tsx
447
+ init_emotion_jsx_shim();
52
448
  import { jsx as jsx3 } from "@emotion/react/jsx-runtime";
53
449
  var SvgCheckmark = (props) => /* @__PURE__ */ jsx3(
54
450
  "svg",
@@ -72,11 +468,13 @@ var SvgCheckmark = (props) => /* @__PURE__ */ jsx3(
72
468
  var Checkmark_default = SvgCheckmark;
73
469
 
74
470
  // src/assets/icons/ChevronDown.tsx
471
+ init_emotion_jsx_shim();
75
472
  import { jsx as jsx4 } from "@emotion/react/jsx-runtime";
76
473
  var SvgChevronDown = (props) => /* @__PURE__ */ jsx4("svg", { viewBox: "0 0 24 24", width: "1em", height: "1em", ...props, children: /* @__PURE__ */ jsx4("path", { d: "M5.293 8.293a1 1 0 0 1 1.414 0L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414Z" }) });
77
474
  var ChevronDown_default = SvgChevronDown;
78
475
 
79
476
  // src/assets/icons/Close.tsx
477
+ init_emotion_jsx_shim();
80
478
  import { jsx as jsx5, jsxs } from "@emotion/react/jsx-runtime";
81
479
  var SvgClose = (props) => /* @__PURE__ */ jsx5(
82
480
  "svg",
@@ -96,6 +494,7 @@ var SvgClose = (props) => /* @__PURE__ */ jsx5(
96
494
  var Close_default = SvgClose;
97
495
 
98
496
  // src/assets/icons/Danger.tsx
497
+ init_emotion_jsx_shim();
99
498
  import { jsx as jsx6 } from "@emotion/react/jsx-runtime";
100
499
  var SvgDanger = (props) => /* @__PURE__ */ jsx6(
101
500
  "svg",
@@ -118,6 +517,7 @@ var SvgDanger = (props) => /* @__PURE__ */ jsx6(
118
517
  var Danger_default = SvgDanger;
119
518
 
120
519
  // src/assets/icons/ExclamationPoint.tsx
520
+ init_emotion_jsx_shim();
121
521
  import { jsx as jsx7 } from "@emotion/react/jsx-runtime";
122
522
  var SvgExclamationPoint = (props) => /* @__PURE__ */ jsx7(
123
523
  "svg",
@@ -140,6 +540,7 @@ var SvgExclamationPoint = (props) => /* @__PURE__ */ jsx7(
140
540
  var ExclamationPoint_default = SvgExclamationPoint;
141
541
 
142
542
  // src/assets/icons/Info.tsx
543
+ init_emotion_jsx_shim();
143
544
  import { jsx as jsx8, jsxs as jsxs2 } from "@emotion/react/jsx-runtime";
144
545
  var SvgInfo = (props) => /* @__PURE__ */ jsxs2("svg", { width: "1em", height: "1em", fill: "currentColor", ...props, children: [
145
546
  /* @__PURE__ */ jsx8(
@@ -162,6 +563,7 @@ var SvgInfo = (props) => /* @__PURE__ */ jsxs2("svg", { width: "1em", height: "1
162
563
  var Info_default = SvgInfo;
163
564
 
164
565
  // src/assets/icons/Lightbulb.tsx
566
+ init_emotion_jsx_shim();
165
567
  import { jsx as jsx9 } from "@emotion/react/jsx-runtime";
166
568
  var SvgLightbulb = (props) => /* @__PURE__ */ jsx9(
167
569
  "svg",
@@ -184,6 +586,7 @@ var SvgLightbulb = (props) => /* @__PURE__ */ jsx9(
184
586
  var Lightbulb_default = SvgLightbulb;
185
587
 
186
588
  // src/assets/icons/MagnifyingGlass.tsx
589
+ init_emotion_jsx_shim();
187
590
  import { jsx as jsx10, jsxs as jsxs3 } from "@emotion/react/jsx-runtime";
188
591
  var SvgMagnifyingGlass = (props) => /* @__PURE__ */ jsxs3(
189
592
  "svg",
@@ -206,6 +609,7 @@ var SvgMagnifyingGlass = (props) => /* @__PURE__ */ jsxs3(
206
609
  var MagnifyingGlass_default = SvgMagnifyingGlass;
207
610
 
208
611
  // src/assets/icons/MaximizeAlt.tsx
612
+ init_emotion_jsx_shim();
209
613
  import { jsx as jsx11 } from "@emotion/react/jsx-runtime";
210
614
  var SvgMaximizeAlt = (props) => /* @__PURE__ */ jsx11("svg", { width: "1em", height: "1em", fill: "currentColor", ...props, children: /* @__PURE__ */ jsx11(
211
615
  "path",
@@ -217,11 +621,13 @@ var SvgMaximizeAlt = (props) => /* @__PURE__ */ jsx11("svg", { width: "1em", hei
217
621
  var MaximizeAlt_default = SvgMaximizeAlt;
218
622
 
219
623
  // src/assets/icons/Minus.tsx
624
+ init_emotion_jsx_shim();
220
625
  import { jsx as jsx12 } from "@emotion/react/jsx-runtime";
221
626
  var SvgMinus = (props) => /* @__PURE__ */ jsx12("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx12("path", { d: "M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1Z", fill: "currentColor" }) });
222
627
  var Minus_default = SvgMinus;
223
628
 
224
629
  // src/assets/icons/MoreVerticalAlt.tsx
630
+ init_emotion_jsx_shim();
225
631
  import { jsx as jsx13 } from "@emotion/react/jsx-runtime";
226
632
  var SvgMoreVerticalAlt = (props) => /* @__PURE__ */ jsx13("svg", { width: "1em", height: "1em", fill: "currentColor", ...props, children: /* @__PURE__ */ jsx13(
227
633
  "path",
@@ -233,6 +639,7 @@ var SvgMoreVerticalAlt = (props) => /* @__PURE__ */ jsx13("svg", { width: "1em",
233
639
  var MoreVerticalAlt_default = SvgMoreVerticalAlt;
234
640
 
235
641
  // src/assets/icons/Plus.tsx
642
+ init_emotion_jsx_shim();
236
643
  import { jsx as jsx14 } from "@emotion/react/jsx-runtime";
237
644
  var SvgPlus = (props) => /* @__PURE__ */ jsx14(
238
645
  "svg",
@@ -249,10 +656,12 @@ var SvgPlus = (props) => /* @__PURE__ */ jsx14(
249
656
  var Plus_default = SvgPlus;
250
657
 
251
658
  // src/components/commerce/ProductPreviewList.tsx
659
+ init_emotion_jsx_shim();
252
660
  import { css as css5 } from "@emotion/react";
253
661
  import { scrollbarStyles } from "@uniformdev/design-system";
254
662
 
255
663
  // src/components/Image/Image.tsx
664
+ init_emotion_jsx_shim();
256
665
  import { jsx as jsx15 } from "@emotion/react/jsx-runtime";
257
666
  function Image({ src, alt, className }) {
258
667
  const CompImage = src && typeof src !== "string" ? src : null;
@@ -260,17 +669,20 @@ function Image({ src, alt, className }) {
260
669
  }
261
670
 
262
671
  // src/components/commerce/ProductQuery.tsx
672
+ init_emotion_jsx_shim();
263
673
  import { css as css3 } from "@emotion/react";
264
674
  import { Input, InputSelect as InputSelect2, mq } from "@uniformdev/design-system";
265
675
  import React2, { useContext, useMemo } from "react";
266
676
  import { useAsyncFn, useDebounce } from "react-use";
267
677
 
268
678
  // src/components/commerce/SelectionField.tsx
679
+ init_emotion_jsx_shim();
269
680
  import { css as css2 } from "@emotion/react";
270
681
  import { Icon, InputSelect } from "@uniformdev/design-system";
271
682
  import { CgClose } from "react-icons/cg";
272
683
 
273
684
  // src/components/commerce/ResolvableLoadingValue.tsx
685
+ init_emotion_jsx_shim();
274
686
  import { Fragment, jsxs as jsxs4 } from "@emotion/react/jsx-runtime";
275
687
  var ResolvableLoadingValue = ({
276
688
  value,
@@ -287,6 +699,7 @@ var ResolvableLoadingValue = ({
287
699
  };
288
700
 
289
701
  // src/components/commerce/styles/SelectField.styles.ts
702
+ init_emotion_jsx_shim();
290
703
  import { css } from "@emotion/react";
291
704
  var selectionFieldBtnContainer = css`
292
705
  align-items: center;
@@ -798,6 +1211,7 @@ var useProductQueryContext = () => {
798
1211
  };
799
1212
 
800
1213
  // src/components/commerce/styles/ProductPreviewList.styles.ts
1214
+ init_emotion_jsx_shim();
801
1215
  import { css as css4 } from "@emotion/react";
802
1216
  var productPreviewListLinkBtn = css4`
803
1217
  align-items: center;
@@ -951,16 +1365,19 @@ var ProductPreviewList = ({
951
1365
  };
952
1366
 
953
1367
  // src/components/commerce/ProductSearch.tsx
1368
+ init_emotion_jsx_shim();
954
1369
  import { Callout as Callout2 } from "@uniformdev/design-system";
955
1370
  import React6, { useContext as useContext2, useMemo as useMemo2, useRef as useRef5 } from "react";
956
1371
  import { useAsync, useAsyncFn as useAsyncFn2 } from "react-use";
957
1372
 
958
1373
  // src/components/legacy/EntrySearch/DefaultSearchRow.tsx
1374
+ init_emotion_jsx_shim();
959
1375
  import { css as css7 } from "@emotion/react";
960
1376
  import { useOutsideClick } from "@uniformdev/design-system";
961
1377
  import { useRef, useState } from "react";
962
1378
 
963
1379
  // src/components/legacy/EntrySearch/styles/DefaultSearchRow.styles.ts
1380
+ init_emotion_jsx_shim();
964
1381
  import { css as css6 } from "@emotion/react";
965
1382
  var searchRowContainer = css6`
966
1383
  cursor: pointer;
@@ -1076,6 +1493,7 @@ var DefaultSearchRow = ({ result, isSelected, triggerSelection }) => {
1076
1493
  };
1077
1494
 
1078
1495
  // src/components/legacy/EntrySearch/DefaultSelectedItem.tsx
1496
+ init_emotion_jsx_shim();
1079
1497
  import { css as css9 } from "@emotion/react";
1080
1498
  import { Icon as Icon2, useOutsideClick as useOutsideClick2 } from "@uniformdev/design-system";
1081
1499
  import { useEffect, useRef as useRef2, useState as useState2 } from "react";
@@ -1083,6 +1501,7 @@ import { CgClose as CgClose2, CgInfo } from "react-icons/cg";
1083
1501
  import { format as timeAgo } from "timeago.js";
1084
1502
 
1085
1503
  // src/utils/openWindowWithCloseCallback.ts
1504
+ init_emotion_jsx_shim();
1086
1505
  function openWindowWithCloseCallback(href, callback) {
1087
1506
  const openedNewWindow = window.open(href, "_blank");
1088
1507
  const interval = setInterval(() => {
@@ -1094,6 +1513,7 @@ function openWindowWithCloseCallback(href, callback) {
1094
1513
  }
1095
1514
 
1096
1515
  // src/components/legacy/EntrySearch/styles/DefaultSelectedItem.styles.ts
1516
+ init_emotion_jsx_shim();
1097
1517
  import { css as css8 } from "@emotion/react";
1098
1518
  import { mq as mq2 } from "@uniformdev/design-system";
1099
1519
  var selectedItemContainer = css8`
@@ -1361,6 +1781,7 @@ var DefaultSelectedItem = ({
1361
1781
  };
1362
1782
 
1363
1783
  // src/components/legacy/EntrySearch/EntrySearch.tsx
1784
+ init_emotion_jsx_shim();
1364
1785
  import { css as css11 } from "@emotion/react";
1365
1786
  import {
1366
1787
  Button,
@@ -1379,6 +1800,7 @@ import { useDebounce as useDebounce2 } from "react-use";
1379
1800
  import { v4 } from "uuid";
1380
1801
 
1381
1802
  // src/hooks/useLoadingDelay.ts
1803
+ init_emotion_jsx_shim();
1382
1804
  import { useEffect as useEffect2, useRef as useRef3, useState as useState3 } from "react";
1383
1805
  function useLoadingDelay(loading, { delay = 500, minDuration = 200 } = {
1384
1806
  delay: 500,
@@ -1412,6 +1834,7 @@ function useLoadingDelay(loading, { delay = 500, minDuration = 200 } = {
1412
1834
  }
1413
1835
 
1414
1836
  // src/components/legacy/EntrySearch/styles/EntrySearch.styles.ts
1837
+ init_emotion_jsx_shim();
1415
1838
  import { css as css10 } from "@emotion/react";
1416
1839
  var entrySearchWrapper = css10`
1417
1840
  background: var(--white);
@@ -1930,9 +2353,11 @@ var EntrySearch = ({
1930
2353
  };
1931
2354
 
1932
2355
  // src/components/commerce/ProductSearchRow.tsx
2356
+ init_emotion_jsx_shim();
1933
2357
  import { css as css13 } from "@emotion/react";
1934
2358
 
1935
2359
  // src/components/commerce/styles/ProductSearchRow.styles.ts
2360
+ init_emotion_jsx_shim();
1936
2361
  import { css as css12 } from "@emotion/react";
1937
2362
  var productSearchRowContainer = css12`
1938
2363
  cursor: pointer;
@@ -2036,11 +2461,13 @@ function ProductSearchRow({
2036
2461
  }
2037
2462
 
2038
2463
  // src/components/commerce/ProductSelectedItem.tsx
2464
+ init_emotion_jsx_shim();
2039
2465
  import { css as css15 } from "@emotion/react";
2040
2466
  import { Icon as Icon3, mq as mq4 } from "@uniformdev/design-system";
2041
2467
  import { CgClose as CgClose3 } from "react-icons/cg";
2042
2468
 
2043
2469
  // src/components/commerce/styles/ProductSelectedItem.styles.ts
2470
+ init_emotion_jsx_shim();
2044
2471
  import { css as css14 } from "@emotion/react";
2045
2472
  import { mq as mq3 } from "@uniformdev/design-system";
2046
2473
  var productSelectedItemContainer = css14`
@@ -2348,6 +2775,7 @@ var useProductSearchContext = () => {
2348
2775
  };
2349
2776
 
2350
2777
  // src/components/dam/DamSelectedItem.tsx
2778
+ init_emotion_jsx_shim();
2351
2779
  import { css as css17 } from "@emotion/react";
2352
2780
  import { Icon as Icon4 } from "@uniformdev/design-system";
2353
2781
  import { useEffect as useEffect4, useRef as useRef6, useState as useState5 } from "react";
@@ -2355,6 +2783,7 @@ import { CgClose as CgClose4, CgInfo as CgInfo2 } from "react-icons/cg";
2355
2783
  import { format as timeAgo2 } from "timeago.js";
2356
2784
 
2357
2785
  // src/components/dam/DamSelectedItem.styles.ts
2786
+ init_emotion_jsx_shim();
2358
2787
  import { css as css16 } from "@emotion/react";
2359
2788
  import { mq as mq5 } from "@uniformdev/design-system";
2360
2789
  var damSelectedItemContainer = css16`
@@ -2641,13 +3070,22 @@ function DefaultDamItemRenderer({ item }) {
2641
3070
  ] }) : null;
2642
3071
  }
2643
3072
 
3073
+ // src/components/DataResourceDynamicInputProvider.tsx
3074
+ init_emotion_jsx_shim();
3075
+
2644
3076
  // src/hooks/useMeshLocation.ts
3077
+ init_emotion_jsx_shim();
2645
3078
  import { useMemo as useMemo4, useRef as useRef7 } from "react";
2646
3079
 
2647
3080
  // src/components/UniformMeshLocationContext.tsx
3081
+ init_emotion_jsx_shim();
2648
3082
  import { createContext as createContext2, useContext as useContext4, useMemo as useMemo3, useState as useState6 } from "react";
2649
3083
 
3084
+ // src/hooks/useUniformMeshSdk.ts
3085
+ init_emotion_jsx_shim();
3086
+
2650
3087
  // src/components/UniformMeshSdkContext.tsx
3088
+ init_emotion_jsx_shim();
2651
3089
  import { Theme } from "@uniformdev/design-system";
2652
3090
  import { createContext, useContext as useContext3 } from "react";
2653
3091
  import { jsx as jsx26, jsxs as jsxs15 } from "@emotion/react/jsx-runtime";
@@ -2721,16 +3159,19 @@ function useMeshLocation(expectedLocation) {
2721
3159
  }
2722
3160
 
2723
3161
  // src/components/Variables/InputVariables.tsx
3162
+ init_emotion_jsx_shim();
2724
3163
  import { Caption, ErrorMessage, InfoMessage, Input as Input3, WarningMessage } from "@uniformdev/design-system";
2725
3164
  import * as React11 from "react";
2726
3165
  import { v4 as v42 } from "uuid";
2727
3166
 
2728
3167
  // src/components/Variables/SelectVariableMenu.tsx
3168
+ init_emotion_jsx_shim();
2729
3169
  import { Menu as Menu2, MenuItem as MenuItem2, MenuItemSeparator } from "@uniformdev/design-system";
2730
3170
  import { useEffect as useEffect6, useRef as useRef8, useState as useState8 } from "react";
2731
3171
  import { CgUsbC } from "react-icons/cg";
2732
3172
 
2733
3173
  // src/components/Variables/styles/InsertVariableMenu.styles.ts
3174
+ init_emotion_jsx_shim();
2734
3175
  import { css as css18 } from "@emotion/react";
2735
3176
  var menuBtn = css18`
2736
3177
  background: none;
@@ -2753,19 +3194,23 @@ var variablesTipText = css18`
2753
3194
  `;
2754
3195
 
2755
3196
  // src/components/Variables/useOnVariableUpdated.ts
3197
+ init_emotion_jsx_shim();
2756
3198
  import { useEffect as useEffect5 } from "react";
2757
3199
 
2758
3200
  // src/components/Variables/VariablesProvider.tsx
3201
+ init_emotion_jsx_shim();
2759
3202
  import mitt from "mitt";
2760
3203
  import * as React10 from "react";
2761
3204
 
2762
3205
  // src/components/Variables/VariableEditor.tsx
3206
+ init_emotion_jsx_shim();
2763
3207
  import { zodResolver } from "@hookform/resolvers/zod";
2764
3208
  import { Button as Button2, Callout as Callout3, Input as Input2, useShortcut } from "@uniformdev/design-system";
2765
3209
  import { useForm } from "react-hook-form";
2766
3210
  import { z } from "zod";
2767
3211
 
2768
3212
  // src/components/Variables/styles/VariableEditor.styles.ts
3213
+ init_emotion_jsx_shim();
2769
3214
  import { css as css19 } from "@emotion/react";
2770
3215
  var variablesFormContainer = css19`
2771
3216
  > * {
@@ -2961,6 +3406,7 @@ function useOnVariableUpdated(fn2, disabled) {
2961
3406
  }
2962
3407
 
2963
3408
  // src/components/Variables/variablesToList.ts
3409
+ init_emotion_jsx_shim();
2964
3410
  function variablesToList(variables) {
2965
3411
  return Object.entries(variables || {}).sort(([aKey, a2], [bKey, b2]) => {
2966
3412
  var _a, _b;
@@ -3059,6 +3505,7 @@ var SelectVariableMenu = ({
3059
3505
  };
3060
3506
 
3061
3507
  // src/components/Variables/styles/InputVariables.styles.ts
3508
+ init_emotion_jsx_shim();
3062
3509
  import { css as css20 } from "@emotion/react";
3063
3510
  var menuContainer = css20`
3064
3511
  position: relative;
@@ -3069,7 +3516,11 @@ var menuBtn2 = css20`
3069
3516
  right: var(--spacing-sm);
3070
3517
  `;
3071
3518
 
3519
+ // src/components/Variables/util/getReferencedVariables.ts
3520
+ init_emotion_jsx_shim();
3521
+
3072
3522
  // src/components/Variables/util/variableExpression.ts
3523
+ init_emotion_jsx_shim();
3073
3524
  var variableExpression = /(?<!\\)\${([^}]+)}/g;
3074
3525
  var variablePrefix = "${";
3075
3526
  var variableSuffix = "}";
@@ -3084,6 +3535,7 @@ function getReferencedVariables(value) {
3084
3535
  }
3085
3536
 
3086
3537
  // src/components/Variables/util/insertVariableIntoText.ts
3538
+ init_emotion_jsx_shim();
3087
3539
  function insertVariableIntoText({
3088
3540
  variableName: variableName2,
3089
3541
  value,
@@ -3107,7 +3559,11 @@ function insertVariableIntoText({
3107
3559
  return `${value}${variableExpression2}`;
3108
3560
  }
3109
3561
 
3562
+ // src/components/Variables/VariableField.tsx
3563
+ init_emotion_jsx_shim();
3564
+
3110
3565
  // src/components/Variables/styles/VariableField.styles.ts
3566
+ init_emotion_jsx_shim();
3111
3567
  import { css as css21 } from "@emotion/react";
3112
3568
  var labelText = css21`
3113
3569
  align-items: center;
@@ -3299,6 +3755,7 @@ function InputVariablesShell({
3299
3755
  }
3300
3756
 
3301
3757
  // src/components/Variables/VariablesList.tsx
3758
+ init_emotion_jsx_shim();
3302
3759
  import { css as css23 } from "@emotion/react";
3303
3760
  import {
3304
3761
  AddListButton,
@@ -3314,6 +3771,7 @@ import {
3314
3771
  import { DragDropContext as DragDropContext2, Draggable as Draggable2, Droppable as Droppable2 } from "react-beautiful-dnd";
3315
3772
 
3316
3773
  // src/components/Variables/styles/VariablesList.styles.ts
3774
+ init_emotion_jsx_shim();
3317
3775
  import { css as css22 } from "@emotion/react";
3318
3776
  var tableRow = (isDragging) => css22`
3319
3777
  position: relative;
@@ -3508,6 +3966,7 @@ function convertDynamicInputsToVariables(dynamicInputs) {
3508
3966
  }
3509
3967
 
3510
3968
  // src/components/DataResourceVariablesList.tsx
3969
+ init_emotion_jsx_shim();
3511
3970
  import { Callout as Callout4 } from "@uniformdev/design-system";
3512
3971
  import { jsx as jsx35 } from "@emotion/react/jsx-runtime";
3513
3972
  function DataResourceVariablesList(props) {
@@ -3577,12 +4036,17 @@ function TextVariableRenderer({ definition, value, setValue }) {
3577
4036
  ) });
3578
4037
  }
3579
4038
 
4039
+ // src/components/DataSourceEditor.tsx
4040
+ init_emotion_jsx_shim();
4041
+
3580
4042
  // src/components/Request/RequestBody.tsx
4043
+ init_emotion_jsx_shim();
3581
4044
  import { css as css25 } from "@emotion/react";
3582
4045
  import { InputSelect as InputSelect4, JsonEditor } from "@uniformdev/design-system";
3583
4046
  import { useState as useState10 } from "react";
3584
4047
 
3585
4048
  // src/components/Request/RequestProvider.tsx
4049
+ init_emotion_jsx_shim();
3586
4050
  import * as React12 from "react";
3587
4051
  import { jsx as jsx36 } from "@emotion/react/jsx-runtime";
3588
4052
  var RequestContext = React12.createContext(null);
@@ -3663,7 +4127,11 @@ function useRequest() {
3663
4127
  return context;
3664
4128
  }
3665
4129
 
4130
+ // src/components/Request/RequestTypeContainer.tsx
4131
+ init_emotion_jsx_shim();
4132
+
3666
4133
  // src/components/Request/styles/Request.styles.ts
4134
+ init_emotion_jsx_shim();
3667
4135
  import { css as css24 } from "@emotion/react";
3668
4136
  var innerContentStyles = css24`
3669
4137
  background: var(--white);
@@ -3762,6 +4230,7 @@ function RequestBody() {
3762
4230
  }
3763
4231
 
3764
4232
  // src/components/Request/RequestHeaders.tsx
4233
+ init_emotion_jsx_shim();
3765
4234
  import {
3766
4235
  Input as Input4,
3767
4236
  Table as Table2,
@@ -3846,6 +4315,7 @@ function RequestHeaders({ disableVariables }) {
3846
4315
  }
3847
4316
 
3848
4317
  // src/components/Request/RequestMethodSelect.tsx
4318
+ init_emotion_jsx_shim();
3849
4319
  import { InputSelect as InputSelect5 } from "@uniformdev/design-system";
3850
4320
  import { jsx as jsx40 } from "@emotion/react/jsx-runtime";
3851
4321
  function RequestMethodSelect(props) {
@@ -3867,6 +4337,7 @@ function RequestMethodSelect(props) {
3867
4337
  }
3868
4338
 
3869
4339
  // src/components/Request/RequestParameters.tsx
4340
+ init_emotion_jsx_shim();
3870
4341
  import {
3871
4342
  Input as Input5,
3872
4343
  Table as Table3,
@@ -3955,10 +4426,12 @@ function RequestParameters({ disableVariables }) {
3955
4426
  }
3956
4427
 
3957
4428
  // src/components/Request/RequestUrl.tsx
4429
+ init_emotion_jsx_shim();
3958
4430
  import { css as css26 } from "@emotion/react";
3959
4431
  import { useMemo as useMemo7 } from "react";
3960
4432
 
3961
4433
  // src/components/Request/urlEncodeRequestParameter.ts
4434
+ init_emotion_jsx_shim();
3962
4435
  function urlEncodeRequestUrl(url, varValues) {
3963
4436
  return decodeVariablesInUrlEncodedString(encodeURI(url), varValues);
3964
4437
  }
@@ -4019,7 +4492,11 @@ function RequestUrl() {
4019
4492
  );
4020
4493
  }
4021
4494
 
4495
+ // src/components/Request/RequestUrlInput.tsx
4496
+ init_emotion_jsx_shim();
4497
+
4022
4498
  // src/components/Request/util/handlePastedUrl.ts
4499
+ init_emotion_jsx_shim();
4023
4500
  function handlePastedUrl(value, currentRequest, dispatch) {
4024
4501
  var _a, _b, _c;
4025
4502
  const indexOfQueryString = value.indexOf("?");
@@ -4066,6 +4543,7 @@ function RequestUrlInput(props) {
4066
4543
  }
4067
4544
 
4068
4545
  // src/components/Request/useRequestHeader.ts
4546
+ init_emotion_jsx_shim();
4069
4547
  function useRequestHeader(headerName) {
4070
4548
  var _a, _b;
4071
4549
  const { request, dispatch } = useRequest();
@@ -4083,6 +4561,7 @@ function useRequestHeader(headerName) {
4083
4561
  }
4084
4562
 
4085
4563
  // src/components/Request/useRequestParameter.ts
4564
+ init_emotion_jsx_shim();
4086
4565
  function useRequestParameter(paramName) {
4087
4566
  var _a, _b;
4088
4567
  const { request, dispatch } = useRequest();
@@ -4148,6 +4627,7 @@ function convertRequestDataToDataSource(dataSource, requestData) {
4148
4627
  }
4149
4628
 
4150
4629
  // src/components/DataTypeEditor.tsx
4630
+ init_emotion_jsx_shim();
4151
4631
  import { jsx as jsx45 } from "@emotion/react/jsx-runtime";
4152
4632
  function DataTypeEditor({ onChange, children, editVariableComponent }) {
4153
4633
  var _a;
@@ -4208,9 +4688,11 @@ function convertRequestDataToDataType(dataType, requestData) {
4208
4688
  }
4209
4689
 
4210
4690
  // src/components/MeshApp.tsx
4691
+ init_emotion_jsx_shim();
4211
4692
  import { LoadingIndicator as LoadingIndicator2, Theme as Theme2 } from "@uniformdev/design-system";
4212
4693
 
4213
4694
  // src/hooks/useInitializeUniformMeshSdk.ts
4695
+ init_emotion_jsx_shim();
4214
4696
  import { initializeUniformMeshSDK } from "@uniformdev/mesh-sdk";
4215
4697
  import { useEffect as useEffect8, useRef as useRef10, useState as useState11 } from "react";
4216
4698
  var useInitializeUniformMeshSdk = ({ autoResizingDisabled } = {}) => {
@@ -4275,6 +4757,7 @@ var MeshApp = ({
4275
4757
  };
4276
4758
 
4277
4759
  // src/components/ObjectSearch/DataRefreshButton.tsx
4760
+ init_emotion_jsx_shim();
4278
4761
  import { css as css27 } from "@emotion/react";
4279
4762
  import { Button as Button3, LoadingIndicator as LoadingIndicator3 } from "@uniformdev/design-system";
4280
4763
  import { jsx as jsx47, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
@@ -4297,7 +4780,15 @@ var DataRefreshButton = ({
4297
4780
  ] });
4298
4781
  };
4299
4782
 
4783
+ // src/components/ObjectSearch/ObjectSearchContainer.tsx
4784
+ init_emotion_jsx_shim();
4785
+
4786
+ // ../canvas/dist/index.mjs
4787
+ init_emotion_jsx_shim();
4788
+
4300
4789
  // ../context/dist/api/api.mjs
4790
+ init_emotion_jsx_shim();
4791
+ var import_p_limit = __toESM(require_p_limit(), 1);
4301
4792
  var __defProp2 = Object.defineProperty;
4302
4793
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4303
4794
  var __publicField = (obj, key, value) => {
@@ -4317,7 +4808,7 @@ var __privateAdd = (obj, member, value) => {
4317
4808
  throw TypeError("Cannot add the same private member more than once");
4318
4809
  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
4319
4810
  };
4320
- var nullLimitPolicy = async (func) => await func();
4811
+ var defaultLimitPolicy = (0, import_p_limit.default)(6);
4321
4812
  var ApiClientError = class extends Error {
4322
4813
  constructor(errorMessage, fetchMethod, fetchUri, statusCode, statusText, requestId) {
4323
4814
  super(
@@ -4357,7 +4848,7 @@ var ApiClient = class {
4357
4848
  apiKey: (_a = options.apiKey) != null ? _a : null,
4358
4849
  projectId: (_b = options.projectId) != null ? _b : null,
4359
4850
  bearerToken: (_c = options.bearerToken) != null ? _c : null,
4360
- limitPolicy: (_d = options.limitPolicy) != null ? _d : nullLimitPolicy,
4851
+ limitPolicy: (_d = options.limitPolicy) != null ? _d : defaultLimitPolicy,
4361
4852
  bypassCache: (_e = options.bypassCache) != null ? _e : false
4362
4853
  };
4363
4854
  }
@@ -4701,7 +5192,15 @@ var TestClient = _TestClient;
4701
5192
  _url7 = /* @__PURE__ */ new WeakMap();
4702
5193
  __privateAdd(TestClient, _url7, "/api/v2/test");
4703
5194
 
5195
+ // ../canvas/dist/index.mjs
5196
+ var import_ansi_colors = __toESM(require_ansi_colors(), 1);
5197
+ var import_ansi_colors2 = __toESM(require_ansi_colors(), 1);
5198
+ var import_ansi_colors3 = __toESM(require_ansi_colors(), 1);
5199
+ var import_ansi_colors4 = __toESM(require_ansi_colors(), 1);
5200
+ var import_ansi_colors5 = __toESM(require_ansi_colors(), 1);
5201
+
4704
5202
  // ../../node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.esm.mjs
5203
+ init_emotion_jsx_shim();
4705
5204
  function n(n2) {
4706
5205
  for (var r2 = arguments.length, t2 = Array(r2 > 1 ? r2 - 1 : 0), e = 1; e < r2; e++)
4707
5206
  t2[e - 1] = arguments[e];
@@ -5085,24 +5584,24 @@ var ln = an.createDraft.bind(an);
5085
5584
  var dn = an.finishDraft.bind(an);
5086
5585
 
5087
5586
  // ../canvas/dist/index.mjs
5088
- var __create = Object.create;
5587
+ var __create2 = Object.create;
5089
5588
  var __defProp3 = Object.defineProperty;
5090
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5091
- var __getOwnPropNames = Object.getOwnPropertyNames;
5092
- var __getProtoOf = Object.getPrototypeOf;
5093
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5094
- var __commonJS = (cb, mod) => function __require() {
5095
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
5589
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
5590
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
5591
+ var __getProtoOf2 = Object.getPrototypeOf;
5592
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
5593
+ var __commonJS2 = (cb, mod) => function __require() {
5594
+ return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
5096
5595
  };
5097
- var __copyProps = (to, from, except, desc) => {
5596
+ var __copyProps2 = (to, from, except, desc) => {
5098
5597
  if (from && typeof from === "object" || typeof from === "function") {
5099
- for (let key of __getOwnPropNames(from))
5100
- if (!__hasOwnProp.call(to, key) && key !== except)
5101
- __defProp3(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
5598
+ for (let key of __getOwnPropNames2(from))
5599
+ if (!__hasOwnProp2.call(to, key) && key !== except)
5600
+ __defProp3(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
5102
5601
  }
5103
5602
  return to;
5104
5603
  };
5105
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
5604
+ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
5106
5605
  // If the importer is in node compatibility mode or this is not an ESM
5107
5606
  // file that has been converted to a CommonJS file using a Babel-
5108
5607
  // compatible transform (i.e. "__esModule" has not been set), then set
@@ -5123,7 +5622,7 @@ var __privateAdd2 = (obj, member, value) => {
5123
5622
  throw TypeError("Cannot add the same private member more than once");
5124
5623
  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
5125
5624
  };
5126
- var require_retry_operation = __commonJS({
5625
+ var require_retry_operation = __commonJS2({
5127
5626
  "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js"(exports, module) {
5128
5627
  function RetryOperation(timeouts, options) {
5129
5628
  if (typeof options === "boolean") {
@@ -5256,7 +5755,7 @@ var require_retry_operation = __commonJS({
5256
5755
  };
5257
5756
  }
5258
5757
  });
5259
- var require_retry = __commonJS({
5758
+ var require_retry = __commonJS2({
5260
5759
  "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js"(exports) {
5261
5760
  var RetryOperation = require_retry_operation();
5262
5761
  exports.operation = function(options) {
@@ -5340,12 +5839,12 @@ var require_retry = __commonJS({
5340
5839
  };
5341
5840
  }
5342
5841
  });
5343
- var require_retry2 = __commonJS({
5842
+ var require_retry2 = __commonJS2({
5344
5843
  "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js"(exports, module) {
5345
5844
  module.exports = require_retry();
5346
5845
  }
5347
5846
  });
5348
- var import_retry = __toESM(require_retry2(), 1);
5847
+ var import_retry = __toESM2(require_retry2(), 1);
5349
5848
  var _url8;
5350
5849
  var _DataTypeClient = class extends ApiClient {
5351
5850
  constructor(options) {
@@ -5380,6 +5879,11 @@ var DataTypeClient = _DataTypeClient;
5380
5879
  _url8 = /* @__PURE__ */ new WeakMap();
5381
5880
  __privateAdd2(DataTypeClient, _url8, "/api/v1/data-types");
5382
5881
  var EDGE_MAX_L2_CACHE_TTL_IN_HOURS = 4 * 7 * 24;
5882
+ var { gray, green, italic, red, white, yellow } = import_ansi_colors.default;
5883
+ var { white: white2 } = import_ansi_colors2.default;
5884
+ var { gray: gray2, green: green2, red: red2, yellow: yellow2 } = import_ansi_colors3.default;
5885
+ var { yellow: yellow3 } = import_ansi_colors4.default;
5886
+ var { green: green3 } = import_ansi_colors5.default;
5383
5887
  function bindVariables({
5384
5888
  variables,
5385
5889
  value,
@@ -5454,6 +5958,7 @@ function bindVariablesToObjectRecursive({
5454
5958
  import { Container, IconsProvider, ScrollableList, VerticalRhythm } from "@uniformdev/design-system";
5455
5959
 
5456
5960
  // src/components/ObjectSearch/hooks/ObjectSearchContext.tsx
5961
+ init_emotion_jsx_shim();
5457
5962
  import {
5458
5963
  createContext as createContext5,
5459
5964
  useCallback,
@@ -5620,10 +6125,12 @@ var ObjectSearchContainer = ({
5620
6125
  };
5621
6126
 
5622
6127
  // src/components/ObjectSearch/ObjectSearchFilter.tsx
6128
+ init_emotion_jsx_shim();
5623
6129
  import { InputKeywordSearch as InputKeywordSearch2, InputSelect as InputSelect6 } from "@uniformdev/design-system";
5624
6130
  import { useState as useState13 } from "react";
5625
6131
 
5626
6132
  // src/components/ObjectSearch/styles/ObjectSearchFilterContainer.styles.ts
6133
+ init_emotion_jsx_shim();
5627
6134
  import { css as css28 } from "@emotion/react";
5628
6135
  var ObjectSearchFilterContainerLabel = css28`
5629
6136
  align-items: center;
@@ -5699,6 +6206,7 @@ var ObjectSearchFilter = ({
5699
6206
  };
5700
6207
 
5701
6208
  // src/components/ObjectSearch/ObjectSearchFilterContainer.tsx
6209
+ init_emotion_jsx_shim();
5702
6210
  import { jsx as jsx51, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
5703
6211
  var ObjectSearchFilterContainer2 = ({ label, children }) => {
5704
6212
  return /* @__PURE__ */ jsxs30("div", { children: [
@@ -5708,9 +6216,11 @@ var ObjectSearchFilterContainer2 = ({ label, children }) => {
5708
6216
  };
5709
6217
 
5710
6218
  // src/components/ObjectSearch/ObjectSearchListItem.tsx
6219
+ init_emotion_jsx_shim();
5711
6220
  import { Popover } from "@uniformdev/design-system";
5712
6221
 
5713
6222
  // src/components/ObjectSearch/styles/ObjectSearchListItem.styles.ts
6223
+ init_emotion_jsx_shim();
5714
6224
  import { css as css29 } from "@emotion/react";
5715
6225
  import { skeletonLoading } from "@uniformdev/design-system";
5716
6226
  var ObjectListItemContainer = css29`
@@ -5820,10 +6330,15 @@ var ObjectSearchListItemLoadingSkeleton = () => {
5820
6330
  };
5821
6331
 
5822
6332
  // src/components/ObjectSearch/ObjectSearchResultItem.tsx
6333
+ init_emotion_jsx_shim();
5823
6334
  import { Badge, Button as Button4, Popover as Popover2 } from "@uniformdev/design-system";
5824
6335
  import { format as timeagoFormat } from "timeago.js";
5825
6336
 
6337
+ // src/components/ObjectSearch/ObjectSearchResultItemButton.tsx
6338
+ init_emotion_jsx_shim();
6339
+
5826
6340
  // src/components/ObjectSearch/styles/ObjectSearchResultItemButton.styles.ts
6341
+ init_emotion_jsx_shim();
5827
6342
  import { css as css30 } from "@emotion/react";
5828
6343
  import { button as button2 } from "@uniformdev/design-system";
5829
6344
  var ButtonStyles = css30`
@@ -5882,6 +6397,7 @@ var LinkButton = ({
5882
6397
  };
5883
6398
 
5884
6399
  // src/components/ObjectSearch/styles/ObjectSearchResultItem.styles.ts
6400
+ init_emotion_jsx_shim();
5885
6401
  import { css as css31 } from "@emotion/react";
5886
6402
  var ObjectSearchResultItemContainer = css31`
5887
6403
  align-items: center;
@@ -6000,10 +6516,12 @@ var ObjectSearchResultItem = ({
6000
6516
  };
6001
6517
 
6002
6518
  // src/components/ObjectSearch/ObjectSearchResultList.tsx
6519
+ init_emotion_jsx_shim();
6003
6520
  import { Button as Button5, Counter } from "@uniformdev/design-system";
6004
6521
  import { DragDropContext as DragDropContext3, Draggable as Draggable3, Droppable as Droppable3 } from "react-beautiful-dnd";
6005
6522
 
6006
6523
  // src/components/ObjectSearch/styles/ObjectSearchResultList.styles.ts
6524
+ init_emotion_jsx_shim();
6007
6525
  import { css as css32 } from "@emotion/react";
6008
6526
  var ObjectSearchResultListContainer = css32`
6009
6527
  align-items: center;
@@ -6094,6 +6612,7 @@ function ObjectSearchResultList({
6094
6612
  }
6095
6613
 
6096
6614
  // src/components/ObjectSearch/QueryFilter.tsx
6615
+ init_emotion_jsx_shim();
6097
6616
  import { Input as Input6, InputKeywordSearch as InputKeywordSearch3, InputSelect as InputSelect7, VerticalRhythm as VerticalRhythm2 } from "@uniformdev/design-system";
6098
6617
  import { useEffect as useEffect9, useState as useState14 } from "react";
6099
6618
  import { jsx as jsx56, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
@@ -6281,9 +6800,11 @@ var QueryFilter = ({
6281
6800
  };
6282
6801
 
6283
6802
  // src/hooks/index.ts
6803
+ init_emotion_jsx_shim();
6284
6804
  import { ParameterShellContext, useParameterShell } from "@uniformdev/design-system";
6285
6805
 
6286
6806
  // src/utils/createLocationValidator.ts
6807
+ init_emotion_jsx_shim();
6287
6808
  function createLocationValidator(setValue, validate) {
6288
6809
  return (dispatch) => setValue((previous) => {
6289
6810
  const { newValue, options } = dispatch(previous);