@w6w/ui 0.2.60 → 0.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/AddConnectionModal.d.ts +7 -6
  3. package/dist/{CodeBlock-CPKXSNEs.js → CodeBlock-Bp0SGY1m.js} +82 -57
  4. package/dist/{CodeBlock-CPKXSNEs.js.map → CodeBlock-Bp0SGY1m.js.map} +1 -1
  5. package/dist/{CodeBlock-BSX1pi6W.cjs → CodeBlock-a2aIm-0b.cjs} +5 -5
  6. package/dist/{CodeBlock-BSX1pi6W.cjs.map → CodeBlock-a2aIm-0b.cjs.map} +1 -1
  7. package/dist/EditConnectionModal.d.ts +1 -1
  8. package/dist/code.cjs +1 -1
  9. package/dist/code.mjs +1 -1
  10. package/dist/components/CallableBindingSetup.d.ts +15 -0
  11. package/dist/components/ConnectionList.d.ts +1 -1
  12. package/dist/components/CredentialPicker.d.ts +15 -6
  13. package/dist/components/DataStoreList.d.ts +1 -1
  14. package/dist/components/DataTable.d.ts +6 -0
  15. package/dist/components/ExpressionOptions.d.ts +8 -0
  16. package/dist/components/IconButton.d.ts +4 -0
  17. package/dist/components/RunCallable.d.ts +52 -0
  18. package/dist/components/expression-authoring.d.ts +3 -2
  19. package/dist/components/expression-dom.d.ts +30 -0
  20. package/dist/components/icons.d.ts +1 -1
  21. package/dist/{connection-app-meta-CEkQSIlc.js → connection-app-meta-HBKXI0nk.js} +5682 -5100
  22. package/dist/connection-app-meta-HBKXI0nk.js.map +1 -0
  23. package/dist/connection-app-meta-pnATcKeZ.cjs +26 -0
  24. package/dist/connection-app-meta-pnATcKeZ.cjs.map +1 -0
  25. package/dist/credentialLinkContext.d.ts +8 -0
  26. package/dist/flow-loop.d.ts +7 -2
  27. package/dist/flow-types.d.ts +12 -0
  28. package/dist/flow.cjs +5 -5
  29. package/dist/flow.cjs.map +1 -1
  30. package/dist/flow.mjs +1270 -1208
  31. package/dist/flow.mjs.map +1 -1
  32. package/dist/index.cjs +2 -2
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.ts +6 -1
  35. package/dist/index.mjs +1787 -1408
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/provider.d.ts +34 -0
  38. package/dist/resolve-params.d.ts +4 -0
  39. package/dist/run-callable.d.ts +50 -0
  40. package/dist/step-preview-state.d.ts +13 -7
  41. package/dist/types.d.ts +10 -0
  42. package/package.json +2 -2
  43. package/src/styles/_connections.scss +1 -0
  44. package/src/styles/_data-stores.scss +26 -3
  45. package/src/styles/_data-table.scss +38 -1
  46. package/src/styles/_tester.scss +8 -0
  47. package/src/styles.css +84 -4
  48. package/dist/connection-app-meta-BXCIgekK.cjs +0 -24
  49. package/dist/connection-app-meta-BXCIgekK.cjs.map +0 -1
  50. package/dist/connection-app-meta-CEkQSIlc.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.61
4
+
5
+ - **Nested loops:** a For each can sit inside another For each's body, at any depth. Wait, Stop, Respond, If and Router also work in a loop body; Parallel, Merge, Aggregate and Race are refused with the reason.
6
+ - Inside a nested loop the expression picker offers each enclosing loop's Item and Index (`foreach.loops.<id>.item` / `.index`); `foreach.item` stays the innermost loop.
7
+ - The Test tab has a sample item per enclosing loop, and the execution log nests inner iterations under the outer iteration that ran them.
8
+ - A new repeat row seeds an unchecked checkbox as `false`, not `""`.
9
+
3
10
  ## 0.2.60
4
11
 
5
12
  - **Run agent** node: pick an agent and write the message it runs on (`@w6w/model` · agent).
@@ -12,6 +12,13 @@ export interface AddConnectionModalProps {
12
12
  * specific app (e.g. from the step builder). Omit to let the user pick.
13
13
  */
14
14
  initialAppId?: string;
15
+ /**
16
+ * Where "Create a shared credential" goes (the host navigates; the modal closes first). Shown
17
+ * in the empty "Use existing" state only when a callback is available, from this prop or else
18
+ * from {@link CreateSharedCredentialContext}; the prop wins when both are given. Omit both and
19
+ * the empty state is the hint text alone.
20
+ */
21
+ onCreateSharedCredential?: () => void;
15
22
  }
16
23
  /**
17
24
  * Add-connection modal. Same shape as the step builder's "add a step" modal —
@@ -22,9 +29,3 @@ export interface AddConnectionModalProps {
22
29
  * in. Data + IO come from `useW6WApi()`.
23
30
  */
24
31
  export declare function AddConnectionModal(props: AddConnectionModalProps): import("react").JSX.Element;
25
- /**
26
- * The saved key's label, so nobody has to invent one: the service account's own email when the
27
- * pasted key carries one (what Google Cloud calls it too), else "<App> key". Connections point at
28
- * the key by id; the label only tells saved keys apart in the "Use existing" list.
29
- */
30
- export declare function credentialName(source: Record<string, unknown>, appName: string): string;
@@ -13,19 +13,19 @@ function ce() {
13
13
  for (var e, a, r = 0, l = "", u = arguments.length; r < u; r++) (e = arguments[r]) && (a = le(e)) && (l && (l += " "), l += a);
14
14
  return l;
15
15
  }
16
- var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties, Ae = Object.getOwnPropertyDescriptor, Se = Object.getOwnPropertyDescriptors, ue = Object.getOwnPropertyNames, W = Object.getOwnPropertySymbols, _e = Object.getPrototypeOf, J = Object.prototype.hasOwnProperty, pe = Object.prototype.propertyIsEnumerable, ae = (e, a, r) => a in e ? V(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, M = (e, a) => {
16
+ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties, Ae = Object.getOwnPropertyDescriptor, Se = Object.getOwnPropertyDescriptors, ue = Object.getOwnPropertyNames, G = Object.getOwnPropertySymbols, _e = Object.getPrototypeOf, J = Object.prototype.hasOwnProperty, pe = Object.prototype.propertyIsEnumerable, ae = (e, a, r) => a in e ? V(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, D = (e, a) => {
17
17
  for (var r in a || (a = {}))
18
18
  J.call(a, r) && ae(e, r, a[r]);
19
- if (W)
20
- for (var r of W(a))
19
+ if (G)
20
+ for (var r of G(a))
21
21
  pe.call(a, r) && ae(e, r, a[r]);
22
22
  return e;
23
23
  }, q = (e, a) => Ee(e, Se(a)), de = (e, a) => {
24
24
  var r = {};
25
25
  for (var l in e)
26
26
  J.call(e, l) && a.indexOf(l) < 0 && (r[l] = e[l]);
27
- if (e != null && W)
28
- for (var l of W(e))
27
+ if (e != null && G)
28
+ for (var l of G(e))
29
29
  a.indexOf(l) < 0 && pe.call(e, l) && (r[l] = e[l]);
30
30
  return r;
31
31
  }, Fe = (e, a) => function() {
@@ -38,14 +38,14 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
38
38
  for (let u of ue(a))
39
39
  !J.call(e, u) && u !== r && V(e, u, { get: () => a[u], enumerable: !(l = Ae(a, u)) || l.enumerable });
40
40
  return e;
41
- }, Le = (e, a, r) => (r = e != null ? xe(_e(e)) : {}, Re(
41
+ }, Be = (e, a, r) => (r = e != null ? xe(_e(e)) : {}, Re(
42
42
  // If the importer is in node compatibility mode or this is not an ESM
43
43
  // file that has been converted to a CommonJS file using a Babel-
44
44
  // compatible transform (i.e. "__esModule" has not been set), then set
45
45
  // "default" to the CommonJS "module.exports" for node compatibility.
46
46
  !e || !e.__esModule ? V(r, "default", { value: e, enumerable: !0 }) : r,
47
47
  e
48
- )), Be = Fe({
48
+ )), Le = Fe({
49
49
  "../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e, a) {
50
50
  var r = (function() {
51
51
  var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, u = 0, k = {}, p = {
@@ -488,36 +488,36 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
488
488
  var N = _.pattern.toString().match(/[imsuy]*$/)[0];
489
489
  _.pattern = RegExp(_.pattern.source, N + "g");
490
490
  }
491
- for (var ee = _.pattern || _, L = y.next, D = c; L !== o.tail && !(b && D >= b.reach); D += L.value.length, L = L.next) {
492
- var P = L.value;
491
+ for (var ee = _.pattern || _, B = y.next, M = c; B !== o.tail && !(b && M >= b.reach); M += B.value.length, B = B.next) {
492
+ var P = B.value;
493
493
  if (o.length > n.length)
494
494
  return;
495
495
  if (!(P instanceof v)) {
496
496
  var Z = 1, C;
497
497
  if (O) {
498
- if (C = g(ee, D, n, R), !C || C.index >= n.length)
498
+ if (C = g(ee, M, n, R), !C || C.index >= n.length)
499
499
  break;
500
- var H = C.index, he = C.index + C[0].length, $ = D;
501
- for ($ += L.value.length; H >= $; )
502
- L = L.next, $ += L.value.length;
503
- if ($ -= L.value.length, D = $, L.value instanceof v)
500
+ var H = C.index, he = C.index + C[0].length, $ = M;
501
+ for ($ += B.value.length; H >= $; )
502
+ B = B.next, $ += B.value.length;
503
+ if ($ -= B.value.length, M = $, B.value instanceof v)
504
504
  continue;
505
- for (var z = L; z !== o.tail && ($ < he || typeof z.value == "string"); z = z.next)
505
+ for (var z = B; z !== o.tail && ($ < he || typeof z.value == "string"); z = z.next)
506
506
  Z++, $ += z.value.length;
507
- Z--, P = n.slice(D, $), C.index -= D;
507
+ Z--, P = n.slice(M, $), C.index -= M;
508
508
  } else if (C = g(ee, 0, P, R), !C)
509
509
  continue;
510
- var H = C.index, U = C[0], Y = P.slice(0, H), te = P.slice(H + U.length), K = D + P.length;
510
+ var H = C.index, U = C[0], Y = P.slice(0, H), te = P.slice(H + U.length), K = M + P.length;
511
511
  b && K > b.reach && (b.reach = K);
512
- var G = L.prev;
513
- Y && (G = d(o, G, Y), D += Y.length), w(o, G, Z);
512
+ var W = B.prev;
513
+ Y && (W = d(o, W, Y), M += Y.length), w(o, W, Z);
514
514
  var me = new v(E, T ? p.tokenize(U, T) : U, I, U);
515
- if (L = d(o, G, me), te && d(o, L, te), Z > 1) {
515
+ if (B = d(o, W, me), te && d(o, B, te), Z > 1) {
516
516
  var X = {
517
517
  cause: E + "," + F,
518
518
  reach: K
519
519
  };
520
- f(n, o, i, L.prev, D, X), b && X.reach > b.reach && (b.reach = X.reach);
520
+ f(n, o, i, B.prev, M, X), b && X.reach > b.reach && (b.reach = X.reach);
521
521
  }
522
522
  }
523
523
  }
@@ -546,7 +546,7 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
546
546
  })();
547
547
  a.exports = r, r.default = r;
548
548
  }
549
- }), s = Le(Be());
549
+ }), s = Be(Le());
550
550
  s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy: !0 }, prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 }, doctype: { pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i, greedy: !0, inside: { "internal-subset": { pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/, lookbehind: !0, greedy: !0, inside: null }, string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, punctuation: /^<!|>$|[[\]]/, "doctype-tag": /^DOCTYPE/i, name: /[^\s<>'"]+/ } }, cdata: { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, greedy: !0 }, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/, greedy: !0, inside: { tag: { pattern: /^<\/?[^\s>\/]+/, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ } }, "special-attr": [], "attr-value": { pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/, inside: { punctuation: [{ pattern: /^=/, alias: "attr-equals" }, { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }] } }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ } } } }, entity: [{ pattern: /&[\da-z]{1,8};/i, alias: "named-entity" }, /&#x?[\da-f]{1,8};/i] }, s.languages.markup.tag.inside["attr-value"].inside.entity = s.languages.markup.entity, s.languages.markup.doctype.inside["internal-subset"].inside = s.languages.markup, s.hooks.add("wrap", function(e) {
551
551
  e.type === "entity" && (e.attributes.title = e.content.replace(/&amp;/, "&"));
552
552
  }), Object.defineProperty(s.languages.markup.tag, "addInlined", { value: function(e, l) {
@@ -820,7 +820,7 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
820
820
  var Ie = {};
821
821
  Te(Ie, {
822
822
  dracula: () => Oe,
823
- duotoneDark: () => De,
823
+ duotoneDark: () => Me,
824
824
  duotoneLight: () => $e,
825
825
  github: () => ze,
826
826
  gruvboxMaterialDark: () => ft,
@@ -829,7 +829,7 @@ Te(Ie, {
829
829
  jettwaveLight: () => ct,
830
830
  nightOwl: () => Ze,
831
831
  nightOwlLight: () => Ue,
832
- oceanicNext: () => We,
832
+ oceanicNext: () => Ge,
833
833
  okaidia: () => qe,
834
834
  oneDark: () => pt,
835
835
  oneLight: () => gt,
@@ -996,7 +996,7 @@ var Ce = {
996
996
  }
997
997
  }
998
998
  ]
999
- }, De = Ne, Me = {
999
+ }, Me = Ne, De = {
1000
1000
  plain: {
1001
1001
  backgroundColor: "#faf8f5",
1002
1002
  color: "#728fcb"
@@ -1094,7 +1094,7 @@ var Ce = {
1094
1094
  }
1095
1095
  }
1096
1096
  ]
1097
- }, $e = Me, Pe = {
1097
+ }, $e = De, Pe = {
1098
1098
  plain: {
1099
1099
  color: "#393A34",
1100
1100
  backgroundColor: "#f6f8fa"
@@ -1363,7 +1363,7 @@ var Ce = {
1363
1363
  }
1364
1364
  }
1365
1365
  ]
1366
- }, Ue = He, B = {
1366
+ }, Ue = He, L = {
1367
1367
  char: "#D8DEE9",
1368
1368
  comment: "#999999",
1369
1369
  keyword: "#c5a5c5",
@@ -1374,7 +1374,7 @@ var Ce = {
1374
1374
  tag: "#fc929e",
1375
1375
  function: "#79b6f2",
1376
1376
  className: "#FAC863"
1377
- }, Ge = {
1377
+ }, We = {
1378
1378
  plain: {
1379
1379
  backgroundColor: "#282c34",
1380
1380
  color: "#ffffff"
@@ -1383,13 +1383,13 @@ var Ce = {
1383
1383
  {
1384
1384
  types: ["attr-name"],
1385
1385
  style: {
1386
- color: B.keyword
1386
+ color: L.keyword
1387
1387
  }
1388
1388
  },
1389
1389
  {
1390
1390
  types: ["attr-value"],
1391
1391
  style: {
1392
- color: B.string
1392
+ color: L.string
1393
1393
  }
1394
1394
  },
1395
1395
  {
@@ -1402,7 +1402,7 @@ var Ce = {
1402
1402
  "shebang"
1403
1403
  ],
1404
1404
  style: {
1405
- color: B.comment
1405
+ color: L.comment
1406
1406
  }
1407
1407
  },
1408
1408
  {
@@ -1415,61 +1415,61 @@ var Ce = {
1415
1415
  "deleted"
1416
1416
  ],
1417
1417
  style: {
1418
- color: B.primitive
1418
+ color: L.primitive
1419
1419
  }
1420
1420
  },
1421
1421
  {
1422
1422
  types: ["boolean"],
1423
1423
  style: {
1424
- color: B.boolean
1424
+ color: L.boolean
1425
1425
  }
1426
1426
  },
1427
1427
  {
1428
1428
  types: ["tag"],
1429
1429
  style: {
1430
- color: B.tag
1430
+ color: L.tag
1431
1431
  }
1432
1432
  },
1433
1433
  {
1434
1434
  types: ["string"],
1435
1435
  style: {
1436
- color: B.string
1436
+ color: L.string
1437
1437
  }
1438
1438
  },
1439
1439
  {
1440
1440
  types: ["punctuation"],
1441
1441
  style: {
1442
- color: B.string
1442
+ color: L.string
1443
1443
  }
1444
1444
  },
1445
1445
  {
1446
1446
  types: ["selector", "char", "builtin", "inserted"],
1447
1447
  style: {
1448
- color: B.char
1448
+ color: L.char
1449
1449
  }
1450
1450
  },
1451
1451
  {
1452
1452
  types: ["function"],
1453
1453
  style: {
1454
- color: B.function
1454
+ color: L.function
1455
1455
  }
1456
1456
  },
1457
1457
  {
1458
1458
  types: ["operator", "entity", "url", "variable"],
1459
1459
  style: {
1460
- color: B.variable
1460
+ color: L.variable
1461
1461
  }
1462
1462
  },
1463
1463
  {
1464
1464
  types: ["keyword"],
1465
1465
  style: {
1466
- color: B.keyword
1466
+ color: L.keyword
1467
1467
  }
1468
1468
  },
1469
1469
  {
1470
1470
  types: ["atrule", "class-name"],
1471
1471
  style: {
1472
- color: B.className
1472
+ color: L.className
1473
1473
  }
1474
1474
  },
1475
1475
  {
@@ -1497,7 +1497,7 @@ var Ce = {
1497
1497
  }
1498
1498
  }
1499
1499
  ]
1500
- }, We = Ge, Ve = {
1500
+ }, Ge = We, Ve = {
1501
1501
  plain: {
1502
1502
  color: "#f8f8f2",
1503
1503
  backgroundColor: "#272822"
@@ -2663,10 +2663,10 @@ var Ce = {
2663
2663
  }, ht = bt, mt = (e) => j(
2664
2664
  (a) => {
2665
2665
  var r = a, { className: l, style: u, line: k } = r, p = de(r, ["className", "style", "line"]);
2666
- const v = q(M({}, p), {
2666
+ const v = q(D({}, p), {
2667
2667
  className: ce("token-line", l)
2668
2668
  });
2669
- return typeof e == "object" && "plain" in e && (v.style = e.plain), typeof u == "object" && (v.style = M(M({}, v.style || {}), u)), v;
2669
+ return typeof e == "object" && "plain" in e && (v.style = e.plain), typeof u == "object" && (v.style = D(D({}, v.style || {}), u)), v;
2670
2670
  },
2671
2671
  [e]
2672
2672
  ), vt = (e) => {
@@ -2690,12 +2690,12 @@ var Ce = {
2690
2690
  return j(
2691
2691
  (r) => {
2692
2692
  var l = r, { token: u, className: k, style: p } = l, v = de(l, ["token", "className", "style"]);
2693
- const g = q(M({}, v), {
2693
+ const g = q(D({}, v), {
2694
2694
  className: ce("token", ...u.types, k),
2695
2695
  children: u.content,
2696
2696
  style: a(u)
2697
2697
  });
2698
- return p != null && (g.style = M(M({}, g.style || {}), p)), g;
2698
+ return p != null && (g.style = D(D({}, g.style || {}), p)), g;
2699
2699
  },
2700
2700
  [a]
2701
2701
  );
@@ -2756,11 +2756,11 @@ var Ce = {
2756
2756
  const { plain: r } = e, l = e.styles.reduce((u, k) => {
2757
2757
  const { languages: p, style: v } = k;
2758
2758
  return p && !p.includes(a) || k.types.forEach((g) => {
2759
- const f = M(M({}, u[g]), v);
2759
+ const f = D(D({}, u[g]), v);
2760
2760
  u[g] = f;
2761
2761
  }), u;
2762
2762
  }, {});
2763
- return l.root = r, l.plain = q(M({}, r), { backgroundColor: void 0 }), l;
2763
+ return l.root = r, l.plain = q(D({}, r), { backgroundColor: void 0 }), l;
2764
2764
  }, At = Et, St = ({
2765
2765
  children: e,
2766
2766
  language: a,
@@ -2776,7 +2776,7 @@ var Ce = {
2776
2776
  getLineProps: v,
2777
2777
  getTokenProps: g
2778
2778
  });
2779
- }, _t = (e) => Q(St, q(M({}, e), {
2779
+ }, _t = (e) => Q(St, q(D({}, e), {
2780
2780
  prism: e.prism || s,
2781
2781
  theme: e.theme || ge,
2782
2782
  code: e.code,
@@ -3580,8 +3580,33 @@ const ye = {
3580
3580
  /* @__PURE__ */ t("path", { d: "M21 12c0 1.66-4 3-9 3s-9-1.34-9-3" }),
3581
3581
  /* @__PURE__ */ t("path", { d: "M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5" })
3582
3582
  ] })
3583
+ },
3584
+ /**
3585
+ * Table row actions (Files, Agents) — Feather `archive`, a lidded box: "put away, keep".
3586
+ */
3587
+ archive: {
3588
+ viewBox: "0 0 24 24",
3589
+ variant: "stroke",
3590
+ strokeWidth: 2,
3591
+ body: /* @__PURE__ */ x(h, { children: [
3592
+ /* @__PURE__ */ t("polyline", { points: "21 8 21 21 3 21 3 8" }),
3593
+ /* @__PURE__ */ t("rect", { x: "1", y: "3", width: "22", height: "5" }),
3594
+ /* @__PURE__ */ t("line", { x1: "10", y1: "12", x2: "14", y2: "12" })
3595
+ ] })
3596
+ },
3597
+ /**
3598
+ * Table row actions (tenant app governance) — Feather `eye-off`: "hide this from a listing".
3599
+ */
3600
+ "eye-off": {
3601
+ viewBox: "0 0 24 24",
3602
+ variant: "stroke",
3603
+ strokeWidth: 2,
3604
+ body: /* @__PURE__ */ x(h, { children: [
3605
+ /* @__PURE__ */ t("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
3606
+ /* @__PURE__ */ t("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
3607
+ ] })
3583
3608
  }
3584
- }, Mt = Object.keys(ye);
3609
+ }, Dt = Object.keys(ye);
3585
3610
  function Tt(e) {
3586
3611
  return e.variant === "fill" ? { fill: "currentColor" } : e.variant === "stroke" ? {
3587
3612
  fill: "none",
@@ -3625,10 +3650,10 @@ function Rt(e, a = be) {
3625
3650
  }, [e, a]);
3626
3651
  return { copied: r, copy: k };
3627
3652
  }
3628
- function Lt() {
3653
+ function Bt() {
3629
3654
  return /* @__PURE__ */ t(fe, { name: "copy", size: 14 });
3630
3655
  }
3631
- function Bt() {
3656
+ function Lt() {
3632
3657
  return /* @__PURE__ */ t(fe, { name: "check", size: 14 });
3633
3658
  }
3634
3659
  function It(e) {
@@ -3668,7 +3693,7 @@ function It(e) {
3668
3693
  onClick: (d) => {
3669
3694
  d.stopPropagation(), g();
3670
3695
  },
3671
- children: v ? /* @__PURE__ */ t(Bt, {}) : /* @__PURE__ */ t(Lt, {})
3696
+ children: v ? /* @__PURE__ */ t(Lt, {}) : /* @__PURE__ */ t(Bt, {})
3672
3697
  }
3673
3698
  ),
3674
3699
  /* @__PURE__ */ t("span", { className: "w6w-copyable-status", "aria-live": "polite", children: v ? "Copied" : "" })
@@ -3766,9 +3791,9 @@ export {
3766
3791
  $t as C,
3767
3792
  fe as I,
3768
3793
  It as a,
3769
- Bt as b,
3770
- Lt as c,
3771
- Mt as i,
3794
+ Lt as b,
3795
+ Bt as c,
3796
+ Dt as i,
3772
3797
  Rt as u
3773
3798
  };
3774
- //# sourceMappingURL=CodeBlock-CPKXSNEs.js.map
3799
+ //# sourceMappingURL=CodeBlock-Bp0SGY1m.js.map