@esri/solutions-components 5.1.0-next.59 → 5.1.0-next.60

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 (73) hide show
  1. package/dist/cdn/{FRR4YLU4.js → 2GS5DXMX.js} +1 -1
  2. package/dist/cdn/{MDFVVTRI.js → 3KVDFRXD.js} +1 -1
  3. package/dist/cdn/4Y4JREZI.js +2 -0
  4. package/dist/cdn/{R33D5PLS.js → 5PIM2BOZ.js} +1 -1
  5. package/dist/cdn/{4YJEQSFO.js → 5TB2UXTT.js} +1 -1
  6. package/dist/cdn/{GXQYQYVG.js → 7ZN2BMYK.js} +1 -1
  7. package/dist/cdn/{XAMESELG.js → A6HMNEQC.js} +1 -1
  8. package/dist/cdn/{GAACGZBE.js → BDCGPJPJ.js} +1 -1
  9. package/dist/cdn/{AQX4LQLD.js → BFKX5BLC.js} +1 -1
  10. package/dist/cdn/{A75LOABR.js → BK7LW2RY.js} +1 -1
  11. package/dist/cdn/{S7XE4WHL.js → BMOMM64K.js} +1 -1
  12. package/dist/cdn/{CLSXOECQ.js → CF6JSZPY.js} +1 -1
  13. package/dist/cdn/{UCQAWNYS.js → CLF2PJYC.js} +1 -1
  14. package/dist/cdn/{A3MPUIYQ.js → CPKTXSK2.js} +1 -1
  15. package/dist/cdn/{2TDD4AWX.js → CWGUKAP6.js} +1 -1
  16. package/dist/cdn/{IXXKN5ZI.js → DIUHLPYD.js} +1 -1
  17. package/dist/cdn/{4ANWYTKX.js → DYJGZIDV.js} +1 -1
  18. package/dist/cdn/{6RY4B7V2.js → FLRIF3C7.js} +1 -1
  19. package/dist/cdn/{CY4C4VZP.js → GQWWZGLF.js} +1 -1
  20. package/dist/cdn/{G4FOQX6X.js → GRBH2MOX.js} +1 -1
  21. package/dist/cdn/{M7GCQN63.js → H2PJ6QZT.js} +1 -1
  22. package/dist/cdn/{TYAPNO7E.js → HUJNR7CU.js} +1 -1
  23. package/dist/cdn/{GJ6WYTEI.js → IMN5BMIM.js} +1 -1
  24. package/dist/cdn/{ZJZBSHOM.js → IU6ZANQW.js} +1 -1
  25. package/dist/cdn/{NUYS5PGC.js → KRWRWUTJ.js} +1 -1
  26. package/dist/cdn/{EQURPCQ2.js → KXQ6EA36.js} +1 -1
  27. package/dist/cdn/{BUN734I7.js → MAUD35WR.js} +1 -1
  28. package/dist/cdn/N3EAHFBX.js +2 -0
  29. package/dist/cdn/{QOW7H7WZ.js → NH3ESMSN.js} +1 -1
  30. package/dist/cdn/{JMDRBVRT.js → O3A436MI.js} +1 -1
  31. package/dist/cdn/{E5VUML6C.js → ONSABHYA.js} +1 -1
  32. package/dist/cdn/{GLRPUU2V.js → PQIJUUY3.js} +1 -1
  33. package/dist/cdn/{EZ3CRV4M.js → PTWSYW3E.js} +85 -85
  34. package/dist/cdn/{RBVTHO3G.js → U4EZHJYT.js} +1 -1
  35. package/dist/cdn/{SLDSMXJ5.js → UQTAX7HB.js} +1 -1
  36. package/dist/cdn/{VYZIBDWY.js → V66MBBFA.js} +1 -1
  37. package/dist/cdn/{IR6AJOBB.js → YNERGBJG.js} +1 -1
  38. package/dist/cdn/{4KZHKPT6.js → ZMQ6KCYQ.js} +1 -1
  39. package/dist/cdn/{AXMEIZY7.js → ZSJ55A7H.js} +1 -1
  40. package/dist/cdn/index.js +1 -1
  41. package/dist/chunks/Auth.js +18 -17
  42. package/dist/chunks/cardFetchingUtils.js +8 -8
  43. package/dist/chunks/cardsHelpers.js +1 -1
  44. package/dist/chunks/getRelatedInfos.js +1 -1
  45. package/dist/chunks/helpers.js +52 -42
  46. package/dist/chunks/solution-deploy-dialog.js +1 -1
  47. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  48. package/dist/components/arcgis-solutions-assistant/customElement.js +2378 -2359
  49. package/dist/components/layer-table/customElement.js +1 -1
  50. package/dist/components/map-card/customElement.js +6 -6
  51. package/dist/components/solution-configure-titles/customElement.js +1 -1
  52. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  53. package/dist/components/solution-deployed-card/customElement.js +1 -1
  54. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  55. package/dist/components/solution-details-card/customElement.js +1 -1
  56. package/dist/components/solution-details-panel/customElement.js +4 -4
  57. package/dist/components/solution-resource-card/customElement.js +1 -1
  58. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  59. package/dist/components/solution-social-share/customElement.js +1 -1
  60. package/dist/components/solution-user-avatar/customElement.js +1 -1
  61. package/dist/components/solutions-all-panel/customElement.js +1 -1
  62. package/dist/components/solutions-deploy-app/customElement.js +14 -14
  63. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  64. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  65. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  66. package/dist/components/solutions-searchsort-toolbar/customElement.js +6 -10
  67. package/dist/docs/api.json +1 -1
  68. package/dist/docs/docs.json +1 -1
  69. package/dist/docs/web-types.json +1 -1
  70. package/dist/solutions-components_commit.txt +5 -8
  71. package/package.json +1 -1
  72. package/dist/cdn/DBNF3MJK.js +0 -2
  73. package/dist/cdn/NIFRYAFS.js +0 -2
@@ -4,7 +4,7 @@ import "@arcgis/core/intl.js";
4
4
  import { c as L } from "./runtime.js";
5
5
  import { css as C, html as l, svg as M } from "lit";
6
6
  import { u as x } from "./useT9n.js";
7
- import { LitElement as U, createEvent as $, nothing as f, safeClassMap as P } from "@arcgis/lumina";
7
+ import { LitElement as U, createEvent as P, nothing as f, safeClassMap as $ } from "@arcgis/lumina";
8
8
  import { useContextConsumer as b } from "@arcgis/lumina/context";
9
9
  import { c as G, i as B } from "./deployAppContexts.js";
10
10
  import { createRef as E, ref as _ } from "lit-html/directives/ref.js";
@@ -219,7 +219,7 @@ class q extends U {
219
219
  context: B,
220
220
  subscribe: !0,
221
221
  callback: (t) => this.isMobile = t
222
- }), this.deployedCardSelected = $(), this.listenOn(window, "sessionRefreshed", (t) => {
222
+ }), this.deployedCardSelected = P(), this.listenOn(window, "sessionRefreshed", (t) => {
223
223
  this._updateThumbnailToken(t.detail);
224
224
  });
225
225
  }
@@ -265,7 +265,7 @@ class q extends U {
265
265
  this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
266
266
  }} @keydown=${(n) => g(n, async () => {
267
267
  this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
268
- })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && a && l`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution} @keydown=${(n) => g(n, () => this._deleteSolution(n))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${P(r)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
268
+ })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && a && l`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution} @keydown=${(n) => g(n, () => this._deleteSolution(n))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${$(r)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
269
269
  }
270
270
  _renderDeleteDialog() {
271
271
  return this._isDeleteOpen ? l`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${(t) => {
@@ -393,10 +393,10 @@ const xe = '((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeyword
393
393
  DEPLOYMENTS: "Deployments",
394
394
  ASSISTANT: "Assistant",
395
395
  RESOURCES: "Resources"
396
- }, $e = {
396
+ }, Pe = {
397
397
  MINE: "My deployments",
398
398
  ORG: "Organization"
399
- }, Pe = {
399
+ }, $e = {
400
400
  BOTH: "New,Suggested",
401
401
  NEW: "New",
402
402
  SUGGESTED: "Suggested"
@@ -454,28 +454,37 @@ function me(e) {
454
454
  s.k && s.v && (t += i + s.k + "=" + s.v, i = "&");
455
455
  }), t;
456
456
  }
457
- function We(e, t, i, s) {
457
+ function We(e, t, i) {
458
+ try {
459
+ const s = new URL(e);
460
+ if (s.searchParams.get(t) === i)
461
+ return s.searchParams.delete(t), s.toString();
462
+ } catch {
463
+ }
464
+ return e;
465
+ }
466
+ function Ve(e, t, i, s) {
458
467
  let a = "";
459
468
  return t ? a = s + "/sharing/rest/content/items/" + e + "/info/" + t + me([{ k: "w", v: "400" }]) : a = i, a;
460
469
  }
461
- function Ve(e) {
470
+ function ze(e) {
462
471
  const t = e ? e.replace("https://", "").replace("www.", "") : "";
463
472
  return t.endsWith("devext.arcgis.com") || t.endsWith("mapsqa.arcgis.com") || t.endsWith("qaext.arcgis.com") ? e ?? "https://www.arcgis.com" : "https://www.arcgis.com";
464
473
  }
465
- function ze(e, t, i) {
474
+ function Ye(e, t, i) {
466
475
  return t.some((s) => s.wkid === e ? (i = s.defaultExtent, !0) : !1), i;
467
476
  }
468
- function Ye(e, t) {
477
+ function qe(e, t) {
469
478
  return I(t || e);
470
479
  }
471
- function qe(e, t = "en") {
480
+ function je(e, t = "en") {
472
481
  return new Intl.DateTimeFormat(t, {
473
482
  year: "numeric",
474
483
  month: "long",
475
484
  day: "numeric"
476
485
  }).format(e);
477
486
  }
478
- function je(e, t) {
487
+ function Je(e, t) {
479
488
  let i = "";
480
489
  return e.some((s) => s.startsWith(t) ? (i = s.substring(t.length), !0) : !1), i;
481
490
  }
@@ -483,14 +492,14 @@ function I(e) {
483
492
  const t = e.replace("www.", "");
484
493
  return t.endsWith("devext.arcgis.com") ? "dev" : t.endsWith("mapsqa.arcgis.com") || t.endsWith("qaext.arcgis.com") ? "qa" : t === "arcgis.com" || t.endsWith(".arcgis.com") ? "prod" : "dev";
485
494
  }
486
- function Je(e, t) {
495
+ function Qe(e, t) {
487
496
  let i = e?.reduce((s, a) => (s.indexOf(a.id) < 0 && s.push(a.id), s), []) || [];
488
497
  return t ? i.sort((s, a) => t.indexOf(s) - t.indexOf(a)) : i;
489
498
  }
490
- function Qe(e) {
499
+ function Xe(e) {
491
500
  return e.charAt(0).toUpperCase() + e.slice(1);
492
501
  }
493
- function Xe(e) {
502
+ function Ze(e) {
494
503
  return {
495
504
  relevance: "Relevance",
496
505
  title: "Title",
@@ -500,7 +509,7 @@ function Xe(e) {
500
509
  suggested: "Suggested for you"
501
510
  }[e] || e;
502
511
  }
503
- function Ze(e) {
512
+ function et(e) {
504
513
  if (!e)
505
514
  return "Unknown error";
506
515
  if (e.message)
@@ -512,48 +521,49 @@ function Ze(e) {
512
521
  return e.toString();
513
522
  }
514
523
  }
515
- function et(e) {
524
+ function tt(e) {
516
525
  return e ? parseFloat(((Date.now() - e) / 1e3).toFixed(2)) : 0;
517
526
  }
518
527
  function g(e, t) {
519
528
  (e.key === "Enter" || e.code === "NumpadEnter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), t());
520
529
  }
521
530
  export {
522
- ue as $,
531
+ Ye as $,
523
532
  Je as A,
524
533
  xe as B,
525
- ge as C,
526
- D,
534
+ Qe as C,
535
+ ge as D,
527
536
  c as E,
528
- ke as F,
529
- Y as G,
530
- g as H,
537
+ D as F,
538
+ ke as G,
539
+ Y as H,
531
540
  ce as I,
532
- Ne as J,
533
- Qe as K,
541
+ g as J,
542
+ Ne as K,
534
543
  Xe as L,
535
- He as M,
536
- qe as N,
537
- We as O,
544
+ Ze as M,
545
+ He as N,
546
+ je as O,
538
547
  J as P,
539
- me as Q,
540
- Ke as R,
548
+ Ve as Q,
549
+ me as R,
541
550
  ie as S,
542
551
  w as T,
543
- et as U,
544
- Ze as V,
545
- ve as W,
546
- Re as X,
547
- Ye as Y,
548
- Fe as Z,
549
- ze as _,
552
+ Ke as U,
553
+ tt as V,
554
+ et as W,
555
+ ve as X,
556
+ Re as Y,
557
+ qe as Z,
558
+ Fe as _,
550
559
  Ue as a,
551
- q as a0,
560
+ ue as a0,
561
+ q as a1,
552
562
  Le as b,
553
- $e as c,
563
+ Pe as c,
554
564
  Me as d,
555
565
  Ce as e,
556
- Pe as f,
566
+ $e as f,
557
567
  j as g,
558
568
  Be as h,
559
569
  Ge as i,
@@ -571,7 +581,7 @@ export {
571
581
  ae as u,
572
582
  re as v,
573
583
  le as w,
574
- Ve as x,
575
- F as y,
576
- je as z
584
+ ze as x,
585
+ We as y,
586
+ F as z
577
587
  };