@arcgis/portal-components 6.0.0-next.20 → 6.0.0-next.21

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 (172) hide show
  1. package/dist/cdn/{EHHFEPC2.js → 22TDAUX4.js} +1 -1
  2. package/dist/cdn/{5D5INKHG.js → 234TH32X.js} +1 -1
  3. package/dist/cdn/2D3FQXJ4.js +2 -0
  4. package/dist/cdn/{AXKMKCEW.js → 2DXO6FVX.js} +1 -1
  5. package/dist/cdn/{57MT7FOI.js → 2XJX2JUO.js} +1 -1
  6. package/dist/cdn/{SCRIVOPW.js → 3EQGUCO4.js} +1 -1
  7. package/dist/cdn/{HXFKOELM.js → 3J3ISO3E.js} +1 -1
  8. package/dist/cdn/{PXG2SRSN.js → 3RTST3I6.js} +1 -1
  9. package/dist/cdn/{TKTMO2NO.js → 3XH3JHOI.js} +1 -1
  10. package/dist/cdn/{SASCLFKY.js → 4ONCJSSP.js} +1 -1
  11. package/dist/cdn/{O5MB4QQ2.js → 4WQA7UAJ.js} +1 -1
  12. package/dist/cdn/5OWIWCEQ.js +2 -0
  13. package/dist/cdn/{AYHYABMC.js → 5R4JJWGB.js} +1 -1
  14. package/dist/cdn/{SQCDEL42.js → 63HYFDRU.js} +1 -1
  15. package/dist/cdn/{IRCWBDGJ.js → 6MATPHXT.js} +10 -10
  16. package/dist/cdn/{565U4WSN.js → 7IP3RVPH.js} +1 -1
  17. package/dist/cdn/{QKGHH3FS.js → 7ISSDO2T.js} +1 -1
  18. package/dist/cdn/AKTIIRJQ.js +2 -0
  19. package/dist/cdn/{APLSVK3C.js → ASID6YW7.js} +1 -1
  20. package/dist/cdn/{OQ3OHDEB.js → B3HV5JVN.js} +1 -1
  21. package/dist/cdn/B6666VUQ.js +2 -0
  22. package/dist/cdn/{LVUKORME.js → BOO7GG5L.js} +1 -1
  23. package/dist/cdn/CZ4FC4GM.js +2 -0
  24. package/dist/cdn/{LY7NVMME.js → D3LZFIHV.js} +1 -1
  25. package/dist/cdn/{UYROTXZP.js → D3Q72PPN.js} +1 -1
  26. package/dist/cdn/{RAWBYOFF.js → DABNV2OO.js} +1 -1
  27. package/dist/cdn/DOCNBKQZ.js +2 -0
  28. package/dist/cdn/{VXYEF3XW.js → EP7NWEC5.js} +1 -1
  29. package/dist/cdn/{MK2KDBUL.js → EQRBP6H6.js} +1 -1
  30. package/dist/cdn/{AAWXEOVL.js → ESKKH4DE.js} +1 -1
  31. package/dist/cdn/{CUJG43PQ.js → EUQQZIRW.js} +1 -1
  32. package/dist/cdn/F2HT5PVQ.js +2 -0
  33. package/dist/cdn/FE3O23SE.js +2 -0
  34. package/dist/cdn/{U4PHGRXB.js → FGRMURKX.js} +1 -1
  35. package/dist/cdn/{ULTSLT4L.js → FYVATGMR.js} +1 -1
  36. package/dist/cdn/{5SKCVK2P.js → G3WDR53S.js} +1 -1
  37. package/dist/cdn/GAU6DNV5.js +2 -0
  38. package/dist/cdn/GPAIXN52.js +2 -0
  39. package/dist/cdn/GRSBU4PD.js +2 -0
  40. package/dist/cdn/{4I7NKRIH.js → H7FA5HFE.js} +1 -1
  41. package/dist/cdn/{3ZC26CT6.js → HHGKNVCH.js} +1 -1
  42. package/dist/cdn/{OQE662U3.js → HJLWIQDI.js} +1 -1
  43. package/dist/cdn/I3EWDYTU.js +2 -0
  44. package/dist/cdn/{I4ZRFXQ3.js → IKPVMXXW.js} +1 -1
  45. package/dist/cdn/{C5FTQSU6.js → IOFXDIWC.js} +1 -1
  46. package/dist/cdn/IPHBVKMY.js +2 -0
  47. package/dist/cdn/{ZS3JUQN3.js → IUIFCQQU.js} +1 -1
  48. package/dist/cdn/{QJB32L7F.js → IVDZGUNZ.js} +1 -1
  49. package/dist/cdn/J6SI4Z4F.js +2 -0
  50. package/dist/cdn/K7LYYLUF.js +2 -0
  51. package/dist/cdn/{Y72W3QFF.js → KDORI7H4.js} +1 -1
  52. package/dist/cdn/{2267AKWE.js → LGJWULAW.js} +1 -1
  53. package/dist/cdn/LTMPXQTC.js +2 -0
  54. package/dist/cdn/M5STJJRX.js +2 -0
  55. package/dist/cdn/{VAJV46OF.js → M7J7RAM4.js} +1 -1
  56. package/dist/cdn/{HIPJAMO4.js → N4ZRMYZL.js} +1 -1
  57. package/dist/cdn/NBCYYUHP.js +2 -0
  58. package/dist/cdn/NHVPNSNH.js +2 -0
  59. package/dist/cdn/{VNVGVYX6.js → NQ2IAQKL.js} +2 -2
  60. package/dist/cdn/NXGTEDK4.js +2 -0
  61. package/dist/cdn/{I3ECBIYX.js → NYOXMT6S.js} +1 -1
  62. package/dist/cdn/O3JP4FQ3.js +2 -0
  63. package/dist/cdn/{MXUHZ474.js → ODSA6NNS.js} +1 -1
  64. package/dist/cdn/{PVPTFK7N.js → OHAQPQAP.js} +1 -1
  65. package/dist/cdn/OOXTSCQT.js +2 -0
  66. package/dist/cdn/OQ2JULON.js +2 -0
  67. package/dist/cdn/{7XBN6ZF4.js → OVH4YLTS.js} +1 -1
  68. package/dist/cdn/{6T4X4RAB.js → QB5BGHLA.js} +1 -1
  69. package/dist/cdn/QKCRNS75.js +2 -0
  70. package/dist/cdn/{6XAFP5OI.js → RKMW4FUN.js} +1 -1
  71. package/dist/cdn/{E26PFYPI.js → RT26JZP5.js} +1 -1
  72. package/dist/cdn/SKHFISBA.js +2 -0
  73. package/dist/cdn/SKIDJ4QI.js +2 -0
  74. package/dist/cdn/{VXDDXPD7.js → SSCKCDXD.js} +1 -1
  75. package/dist/cdn/{YERFI6P2.js → T66G7GIR.js} +1 -1
  76. package/dist/cdn/{MOE6L5RN.js → TIMYD2HM.js} +1 -1
  77. package/dist/cdn/TJWJ3LTU.js +2 -0
  78. package/dist/cdn/{EXEAVQRP.js → TMR4BRFI.js} +1 -1
  79. package/dist/cdn/{ZJWAM6OL.js → TTQGRN2V.js} +1 -1
  80. package/dist/cdn/{YTVLEHJT.js → UHOW7Q65.js} +1 -1
  81. package/dist/cdn/{2XIDYV73.js → US3N5L73.js} +1 -1
  82. package/dist/cdn/W5POIPYP.js +2 -0
  83. package/dist/cdn/{EQTGOMBD.js → WJWWYBZ7.js} +1 -1
  84. package/dist/cdn/WNEPEEPZ.js +2 -0
  85. package/dist/cdn/{NDCMZLMU.js → WPAZDJHU.js} +1 -1
  86. package/dist/cdn/WT72SOAU.js +2 -0
  87. package/dist/cdn/XJGKRAN5.js +2 -0
  88. package/dist/cdn/{MSP6STQ7.js → XS5EOWBK.js} +1 -1
  89. package/dist/cdn/{7PBECSW5.js → YCIFVZ4J.js} +1 -1
  90. package/dist/cdn/{TNRHHR67.js → YDXJHNDI.js} +1 -1
  91. package/dist/cdn/{TRFH3KNJ.js → YIOJIA4Y.js} +1 -1
  92. package/dist/cdn/{I57CRKF7.js → YK6FCXWU.js} +1 -1
  93. package/dist/cdn/{FLUCWAMC.js → YPDHSE2J.js} +1 -1
  94. package/dist/cdn/{ZJCG6JI7.js → YQLFXHFG.js} +1 -1
  95. package/dist/cdn/{QSRWVCWP.js → YSVPB3BO.js} +1 -1
  96. package/dist/cdn/{SHGPWFEC.js → YUOVGTP5.js} +1 -1
  97. package/dist/cdn/{GOUAS2Q5.js → Z5CA4C6H.js} +1 -1
  98. package/dist/cdn/{GDCXUNOL.js → ZD6XJVGV.js} +1 -1
  99. package/dist/cdn/{4B2URSFO.js → ZHQXYCPA.js} +1 -1
  100. package/dist/cdn/{Y6WQZMYW.js → ZOX4RLS4.js} +1 -1
  101. package/dist/cdn/assets/portal-item-card-sublayer-select/t9n/messages.en.json +1 -0
  102. package/dist/cdn/index.js +1 -1
  103. package/dist/cdn/main.css +1 -1
  104. package/dist/chunks/item2.js +29 -25
  105. package/dist/chunks/itemThumbnail.js +21 -21
  106. package/dist/chunks/request.js +51 -43
  107. package/dist/chunks/utils3.js +88 -657
  108. package/dist/chunks/utils4.js +664 -0
  109. package/dist/components/arcgis-portal-account-switcher/customElement.js +1 -1
  110. package/dist/components/arcgis-portal-classification-banner/customElement.js +2 -2
  111. package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
  112. package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
  113. package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
  114. package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +1 -1
  115. package/dist/components/arcgis-portal-item-card/customElement.d.ts +20 -8
  116. package/dist/components/arcgis-portal-item-card/customElement.js +79 -70
  117. package/dist/components/arcgis-portal-item-card/index.js +1 -0
  118. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +102 -0
  119. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +352 -0
  120. package/dist/components/arcgis-portal-item-card-sublayer-select/index.d.ts +1 -0
  121. package/dist/components/arcgis-portal-item-card-sublayer-select/index.js +8 -0
  122. package/dist/components/arcgis-portal-item-card-sublayer-select/types.d.ts +22 -0
  123. package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +1 -0
  124. package/dist/components/arcgis-portal-item-thumbnail/customElement.js +13 -13
  125. package/dist/components/arcgis-portal-item-type/customElement.js +1 -1
  126. package/dist/components/arcgis-portal-navigation/customElement.js +1 -1
  127. package/dist/components/arcgis-portal-navigation/index.js +4 -4
  128. package/dist/components/arcgis-portal-sublayer-type/customElement.js +13 -103
  129. package/dist/docs/api.json +1 -1
  130. package/dist/docs/docs.json +1 -1
  131. package/dist/docs/vscode.html-custom-data.json +1 -1
  132. package/dist/docs/web-types.json +1 -1
  133. package/dist/index.d.ts +10 -0
  134. package/dist/loader.js +2 -1
  135. package/dist/types/item.d.ts +11 -11
  136. package/dist/types/lumina.d.ts +9 -1
  137. package/dist/types/preact.d.ts +10 -1
  138. package/dist/types/react.d.ts +11 -1
  139. package/dist/types/services.d.ts +3 -0
  140. package/dist/types/stencil.d.ts +9 -1
  141. package/package.json +7 -7
  142. package/dist/cdn/225AERRK.js +0 -2
  143. package/dist/cdn/5VAV267L.js +0 -2
  144. package/dist/cdn/67QXUNKX.js +0 -2
  145. package/dist/cdn/6BQUKFTK.js +0 -2
  146. package/dist/cdn/723D3EKN.js +0 -2
  147. package/dist/cdn/AEPP4WJM.js +0 -2
  148. package/dist/cdn/B474WTYE.js +0 -2
  149. package/dist/cdn/C7KQT5QW.js +0 -2
  150. package/dist/cdn/CL5FABMT.js +0 -2
  151. package/dist/cdn/FTT33ZZJ.js +0 -2
  152. package/dist/cdn/FXTPC2Q5.js +0 -2
  153. package/dist/cdn/GJNGP34L.js +0 -2
  154. package/dist/cdn/IAK4F5SX.js +0 -2
  155. package/dist/cdn/JOQEFKCE.js +0 -2
  156. package/dist/cdn/K5Q4ZROX.js +0 -2
  157. package/dist/cdn/K6LF5U7K.js +0 -2
  158. package/dist/cdn/MUW2YNAS.js +0 -2
  159. package/dist/cdn/OQUQ7Z3E.js +0 -2
  160. package/dist/cdn/P74FP43E.js +0 -2
  161. package/dist/cdn/RA75BDVB.js +0 -2
  162. package/dist/cdn/RLI7T32U.js +0 -2
  163. package/dist/cdn/RYPYVJ5U.js +0 -2
  164. package/dist/cdn/TLZO6KZO.js +0 -2
  165. package/dist/cdn/UD4KPMGF.js +0 -2
  166. package/dist/cdn/UL3XBQUT.js +0 -2
  167. package/dist/cdn/VH2IMPMN.js +0 -2
  168. package/dist/cdn/VRGGPMVR.js +0 -2
  169. package/dist/cdn/WQWJVM5B.js +0 -2
  170. package/dist/cdn/XT6IKL7A.js +0 -2
  171. /package/dist/cdn/{OUMTV5H5.js → KHKREBVZ.js} +0 -0
  172. /package/dist/cdn/{XYT4533U.js → U2HTYOBB.js} +0 -0
@@ -1,101 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as o } from "../../chunks/runtime.js";
3
- import { css as l, html as t } from "lit";
4
- import { LitElement as y, safeClassMap as c } from "@arcgis/lumina";
2
+ import { c as a } from "../../chunks/runtime.js";
3
+ import { css as l, html as e } from "lit";
4
+ import { LitElement as o, safeClassMap as c } from "@arcgis/lumina";
5
5
  import { u as m } from "../../chunks/useT9n.js";
6
- const u = l`:host{display:inline-flex;align-items:center;line-height:1.35;--sublayer-type-font-size: var(--calcite-font-size--1)}.sublayer-type{display:inline-flex;align-items:center;max-width:100%;min-width:0}.text{flex:1 1 0%;margin-inline-start:.5rem;color:inherit}.name{font-weight:500;font-size:var(--sublayer-type-font-size);overflow-wrap:anywhere;white-space:normal}.name--underline{text-decoration:underline}.type{font-weight:400;color:var(--calcite-color-text-2);font-size:var(--sublayer-type-font-size)}`;
7
- function p({ geometry: n, type: e }) {
8
- if (e !== void 0)
9
- switch (e) {
10
- case "Annotation Layer":
11
- return {
12
- icon: "layer-annotation",
13
- type: "annotation",
14
- isGeometry: !1
15
- };
16
- case "Dimension Layer":
17
- return {
18
- icon: "layer-dimension",
19
- type: "dimension",
20
- isGeometry: !1
21
- };
22
- case "Utility Network Layer":
23
- return {
24
- icon: "utility-network-layer",
25
- type: "utility network",
26
- isGeometry: !1
27
- };
28
- case "Catalog Layer":
29
- return {
30
- icon: "catalog-dataset",
31
- type: "catalog",
32
- isGeometry: !1
33
- };
34
- case "Parcel Layer":
35
- return {
36
- icon: "parcel-layer",
37
- type: "parcel",
38
- isGeometry: !1
39
- };
40
- case "Oriented Imagery Layer":
41
- return {
42
- icon: "oriented-imagery-layer",
43
- type: "oriented imagery",
44
- isGeometry: !1
45
- };
46
- case "Table":
47
- return {
48
- icon: "table",
49
- type: "table",
50
- isGeometry: !0
51
- };
52
- }
53
- switch (n) {
54
- case "point":
55
- case "esriGeometryPoint":
56
- return {
57
- type: "point",
58
- icon: "point",
59
- isGeometry: !0
60
- };
61
- case "esriGeometryMultipoint":
62
- case "multipoint":
63
- return {
64
- type: "multipoint",
65
- icon: "layer-points",
66
- isGeometry: !0
67
- };
68
- case "line":
69
- case "polyline":
70
- case "esriGeometryPolyline":
71
- return {
72
- type: "line",
73
- icon: "line",
74
- isGeometry: !0
75
- };
76
- case "polygon":
77
- case "esriGeometryPolygon":
78
- return {
79
- type: "polygon",
80
- icon: "polygon",
81
- isGeometry: !0
82
- };
83
- case "multipatch":
84
- case "esriGeometryMultiPatch":
85
- return {
86
- type: "multipatch",
87
- icon: "cube",
88
- isGeometry: !0
89
- };
90
- default:
91
- return {
92
- type: "table",
93
- icon: "table",
94
- isGeometry: !0
95
- };
96
- }
97
- }
98
- class h extends y {
6
+ import { g as h } from "../../chunks/utils3.js";
7
+ const d = l`:host{display:inline-flex;align-items:center;line-height:1.35;--sublayer-type-font-size: var(--calcite-font-size--1)}.sublayer-type{display:inline-flex;align-items:center;max-width:100%;min-width:0}.text{flex:1 1 0%;margin-inline-start:.5rem;color:inherit}.name{font-weight:500;font-size:var(--sublayer-type-font-size);overflow-wrap:anywhere;white-space:normal}.name--underline{text-decoration:underline}.type{font-weight:400;color:var(--calcite-color-text-2);font-size:var(--sublayer-type-font-size)}`;
8
+ class y extends o {
99
9
  constructor() {
100
10
  super(...arguments), this.messages = m({ blocking: !0 }), this.hideName = !1, this.hideIcon = !1, this.hideType = !1, this.underline = !1;
101
11
  }
@@ -103,19 +13,19 @@ class h extends y {
103
13
  this.properties = { geometry: 1, type: 1, scale: 3, name: 1, hideName: 5, hideIcon: 5, hideType: 5, underline: 5, renderer: 0 };
104
14
  }
105
15
  static {
106
- this.styles = u;
16
+ this.styles = d;
107
17
  }
108
18
  render() {
109
19
  if (!this.messages._lang)
110
20
  return null;
111
- const e = p({ type: this.type, geometry: this.geometry });
21
+ const t = h({ type: this.type, geometry: this.geometry });
112
22
  if (this.renderer)
113
- return this.renderer({ ...e, name: this.name ?? "" });
114
- const { hideIcon: s, hideName: i, hideType: r, underline: a } = this;
115
- return i && s && r ? null : t`<div class="sublayer-type">${!s && t`<calcite-icon .icon=${e.icon} .scale=${this.scale}></calcite-icon>` || ""}${(!i || !r) && t`<div class="text">${!i && t`<div class=${c({ name: !0, "name--underline": a })}>${this.name ?? ""}</div>` || ""}${!r && t`<div class="type">${this.messages[e.type]}</div>` || ""}</div>` || ""}</div>`;
23
+ return this.renderer({ ...t, name: this.name ?? "" });
24
+ const { hideIcon: r, hideName: i, hideType: s, underline: n } = this;
25
+ return i && r && s ? null : e`<div class="sublayer-type">${!r && e`<calcite-icon .icon=${t.icon} .scale=${this.scale}></calcite-icon>` || ""}${(!i || !s) && e`<div class="text">${!i && e`<div class=${c({ name: !0, "name--underline": n })}>${this.name ?? ""}</div>` || ""}${!s && e`<div class="type">${this.messages[t.type]}</div>` || ""}</div>` || ""}</div>`;
116
26
  }
117
27
  }
118
- o("arcgis-portal-sublayer-type", h);
28
+ a("arcgis-portal-sublayer-type", y);
119
29
  export {
120
- h as ArcgisPortalSublayerType
30
+ y as ArcgisPortalSublayerType
121
31
  };