@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.
- package/dist/cdn/{EHHFEPC2.js → 22TDAUX4.js} +1 -1
- package/dist/cdn/{5D5INKHG.js → 234TH32X.js} +1 -1
- package/dist/cdn/2D3FQXJ4.js +2 -0
- package/dist/cdn/{AXKMKCEW.js → 2DXO6FVX.js} +1 -1
- package/dist/cdn/{57MT7FOI.js → 2XJX2JUO.js} +1 -1
- package/dist/cdn/{SCRIVOPW.js → 3EQGUCO4.js} +1 -1
- package/dist/cdn/{HXFKOELM.js → 3J3ISO3E.js} +1 -1
- package/dist/cdn/{PXG2SRSN.js → 3RTST3I6.js} +1 -1
- package/dist/cdn/{TKTMO2NO.js → 3XH3JHOI.js} +1 -1
- package/dist/cdn/{SASCLFKY.js → 4ONCJSSP.js} +1 -1
- package/dist/cdn/{O5MB4QQ2.js → 4WQA7UAJ.js} +1 -1
- package/dist/cdn/5OWIWCEQ.js +2 -0
- package/dist/cdn/{AYHYABMC.js → 5R4JJWGB.js} +1 -1
- package/dist/cdn/{SQCDEL42.js → 63HYFDRU.js} +1 -1
- package/dist/cdn/{IRCWBDGJ.js → 6MATPHXT.js} +10 -10
- package/dist/cdn/{565U4WSN.js → 7IP3RVPH.js} +1 -1
- package/dist/cdn/{QKGHH3FS.js → 7ISSDO2T.js} +1 -1
- package/dist/cdn/AKTIIRJQ.js +2 -0
- package/dist/cdn/{APLSVK3C.js → ASID6YW7.js} +1 -1
- package/dist/cdn/{OQ3OHDEB.js → B3HV5JVN.js} +1 -1
- package/dist/cdn/B6666VUQ.js +2 -0
- package/dist/cdn/{LVUKORME.js → BOO7GG5L.js} +1 -1
- package/dist/cdn/CZ4FC4GM.js +2 -0
- package/dist/cdn/{LY7NVMME.js → D3LZFIHV.js} +1 -1
- package/dist/cdn/{UYROTXZP.js → D3Q72PPN.js} +1 -1
- package/dist/cdn/{RAWBYOFF.js → DABNV2OO.js} +1 -1
- package/dist/cdn/DOCNBKQZ.js +2 -0
- package/dist/cdn/{VXYEF3XW.js → EP7NWEC5.js} +1 -1
- package/dist/cdn/{MK2KDBUL.js → EQRBP6H6.js} +1 -1
- package/dist/cdn/{AAWXEOVL.js → ESKKH4DE.js} +1 -1
- package/dist/cdn/{CUJG43PQ.js → EUQQZIRW.js} +1 -1
- package/dist/cdn/F2HT5PVQ.js +2 -0
- package/dist/cdn/FE3O23SE.js +2 -0
- package/dist/cdn/{U4PHGRXB.js → FGRMURKX.js} +1 -1
- package/dist/cdn/{ULTSLT4L.js → FYVATGMR.js} +1 -1
- package/dist/cdn/{5SKCVK2P.js → G3WDR53S.js} +1 -1
- package/dist/cdn/GAU6DNV5.js +2 -0
- package/dist/cdn/GPAIXN52.js +2 -0
- package/dist/cdn/GRSBU4PD.js +2 -0
- package/dist/cdn/{4I7NKRIH.js → H7FA5HFE.js} +1 -1
- package/dist/cdn/{3ZC26CT6.js → HHGKNVCH.js} +1 -1
- package/dist/cdn/{OQE662U3.js → HJLWIQDI.js} +1 -1
- package/dist/cdn/I3EWDYTU.js +2 -0
- package/dist/cdn/{I4ZRFXQ3.js → IKPVMXXW.js} +1 -1
- package/dist/cdn/{C5FTQSU6.js → IOFXDIWC.js} +1 -1
- package/dist/cdn/IPHBVKMY.js +2 -0
- package/dist/cdn/{ZS3JUQN3.js → IUIFCQQU.js} +1 -1
- package/dist/cdn/{QJB32L7F.js → IVDZGUNZ.js} +1 -1
- package/dist/cdn/J6SI4Z4F.js +2 -0
- package/dist/cdn/K7LYYLUF.js +2 -0
- package/dist/cdn/{Y72W3QFF.js → KDORI7H4.js} +1 -1
- package/dist/cdn/{2267AKWE.js → LGJWULAW.js} +1 -1
- package/dist/cdn/LTMPXQTC.js +2 -0
- package/dist/cdn/M5STJJRX.js +2 -0
- package/dist/cdn/{VAJV46OF.js → M7J7RAM4.js} +1 -1
- package/dist/cdn/{HIPJAMO4.js → N4ZRMYZL.js} +1 -1
- package/dist/cdn/NBCYYUHP.js +2 -0
- package/dist/cdn/NHVPNSNH.js +2 -0
- package/dist/cdn/{VNVGVYX6.js → NQ2IAQKL.js} +2 -2
- package/dist/cdn/NXGTEDK4.js +2 -0
- package/dist/cdn/{I3ECBIYX.js → NYOXMT6S.js} +1 -1
- package/dist/cdn/O3JP4FQ3.js +2 -0
- package/dist/cdn/{MXUHZ474.js → ODSA6NNS.js} +1 -1
- package/dist/cdn/{PVPTFK7N.js → OHAQPQAP.js} +1 -1
- package/dist/cdn/OOXTSCQT.js +2 -0
- package/dist/cdn/OQ2JULON.js +2 -0
- package/dist/cdn/{7XBN6ZF4.js → OVH4YLTS.js} +1 -1
- package/dist/cdn/{6T4X4RAB.js → QB5BGHLA.js} +1 -1
- package/dist/cdn/QKCRNS75.js +2 -0
- package/dist/cdn/{6XAFP5OI.js → RKMW4FUN.js} +1 -1
- package/dist/cdn/{E26PFYPI.js → RT26JZP5.js} +1 -1
- package/dist/cdn/SKHFISBA.js +2 -0
- package/dist/cdn/SKIDJ4QI.js +2 -0
- package/dist/cdn/{VXDDXPD7.js → SSCKCDXD.js} +1 -1
- package/dist/cdn/{YERFI6P2.js → T66G7GIR.js} +1 -1
- package/dist/cdn/{MOE6L5RN.js → TIMYD2HM.js} +1 -1
- package/dist/cdn/TJWJ3LTU.js +2 -0
- package/dist/cdn/{EXEAVQRP.js → TMR4BRFI.js} +1 -1
- package/dist/cdn/{ZJWAM6OL.js → TTQGRN2V.js} +1 -1
- package/dist/cdn/{YTVLEHJT.js → UHOW7Q65.js} +1 -1
- package/dist/cdn/{2XIDYV73.js → US3N5L73.js} +1 -1
- package/dist/cdn/W5POIPYP.js +2 -0
- package/dist/cdn/{EQTGOMBD.js → WJWWYBZ7.js} +1 -1
- package/dist/cdn/WNEPEEPZ.js +2 -0
- package/dist/cdn/{NDCMZLMU.js → WPAZDJHU.js} +1 -1
- package/dist/cdn/WT72SOAU.js +2 -0
- package/dist/cdn/XJGKRAN5.js +2 -0
- package/dist/cdn/{MSP6STQ7.js → XS5EOWBK.js} +1 -1
- package/dist/cdn/{7PBECSW5.js → YCIFVZ4J.js} +1 -1
- package/dist/cdn/{TNRHHR67.js → YDXJHNDI.js} +1 -1
- package/dist/cdn/{TRFH3KNJ.js → YIOJIA4Y.js} +1 -1
- package/dist/cdn/{I57CRKF7.js → YK6FCXWU.js} +1 -1
- package/dist/cdn/{FLUCWAMC.js → YPDHSE2J.js} +1 -1
- package/dist/cdn/{ZJCG6JI7.js → YQLFXHFG.js} +1 -1
- package/dist/cdn/{QSRWVCWP.js → YSVPB3BO.js} +1 -1
- package/dist/cdn/{SHGPWFEC.js → YUOVGTP5.js} +1 -1
- package/dist/cdn/{GOUAS2Q5.js → Z5CA4C6H.js} +1 -1
- package/dist/cdn/{GDCXUNOL.js → ZD6XJVGV.js} +1 -1
- package/dist/cdn/{4B2URSFO.js → ZHQXYCPA.js} +1 -1
- package/dist/cdn/{Y6WQZMYW.js → ZOX4RLS4.js} +1 -1
- package/dist/cdn/assets/portal-item-card-sublayer-select/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/item2.js +29 -25
- package/dist/chunks/itemThumbnail.js +21 -21
- package/dist/chunks/request.js +51 -43
- package/dist/chunks/utils3.js +88 -657
- package/dist/chunks/utils4.js +664 -0
- package/dist/components/arcgis-portal-account-switcher/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-banner/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
- package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-portal-item-card/customElement.d.ts +20 -8
- package/dist/components/arcgis-portal-item-card/customElement.js +79 -70
- package/dist/components/arcgis-portal-item-card/index.js +1 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +102 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +352 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/index.js +8 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/types.d.ts +22 -0
- package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +1 -0
- package/dist/components/arcgis-portal-item-thumbnail/customElement.js +13 -13
- package/dist/components/arcgis-portal-item-type/customElement.js +1 -1
- package/dist/components/arcgis-portal-navigation/customElement.js +1 -1
- package/dist/components/arcgis-portal-navigation/index.js +4 -4
- package/dist/components/arcgis-portal-sublayer-type/customElement.js +13 -103
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/loader.js +2 -1
- package/dist/types/item.d.ts +11 -11
- package/dist/types/lumina.d.ts +9 -1
- package/dist/types/preact.d.ts +10 -1
- package/dist/types/react.d.ts +11 -1
- package/dist/types/services.d.ts +3 -0
- package/dist/types/stencil.d.ts +9 -1
- package/package.json +7 -7
- package/dist/cdn/225AERRK.js +0 -2
- package/dist/cdn/5VAV267L.js +0 -2
- package/dist/cdn/67QXUNKX.js +0 -2
- package/dist/cdn/6BQUKFTK.js +0 -2
- package/dist/cdn/723D3EKN.js +0 -2
- package/dist/cdn/AEPP4WJM.js +0 -2
- package/dist/cdn/B474WTYE.js +0 -2
- package/dist/cdn/C7KQT5QW.js +0 -2
- package/dist/cdn/CL5FABMT.js +0 -2
- package/dist/cdn/FTT33ZZJ.js +0 -2
- package/dist/cdn/FXTPC2Q5.js +0 -2
- package/dist/cdn/GJNGP34L.js +0 -2
- package/dist/cdn/IAK4F5SX.js +0 -2
- package/dist/cdn/JOQEFKCE.js +0 -2
- package/dist/cdn/K5Q4ZROX.js +0 -2
- package/dist/cdn/K6LF5U7K.js +0 -2
- package/dist/cdn/MUW2YNAS.js +0 -2
- package/dist/cdn/OQUQ7Z3E.js +0 -2
- package/dist/cdn/P74FP43E.js +0 -2
- package/dist/cdn/RA75BDVB.js +0 -2
- package/dist/cdn/RLI7T32U.js +0 -2
- package/dist/cdn/RYPYVJ5U.js +0 -2
- package/dist/cdn/TLZO6KZO.js +0 -2
- package/dist/cdn/UD4KPMGF.js +0 -2
- package/dist/cdn/UL3XBQUT.js +0 -2
- package/dist/cdn/VH2IMPMN.js +0 -2
- package/dist/cdn/VRGGPMVR.js +0 -2
- package/dist/cdn/WQWJVM5B.js +0 -2
- package/dist/cdn/XT6IKL7A.js +0 -2
- /package/dist/cdn/{OUMTV5H5.js → KHKREBVZ.js} +0 -0
- /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
|
|
3
|
-
import { css as l, html as
|
|
4
|
-
import { LitElement as
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 =
|
|
16
|
+
this.styles = d;
|
|
107
17
|
}
|
|
108
18
|
render() {
|
|
109
19
|
if (!this.messages._lang)
|
|
110
20
|
return null;
|
|
111
|
-
const
|
|
21
|
+
const t = h({ type: this.type, geometry: this.geometry });
|
|
112
22
|
if (this.renderer)
|
|
113
|
-
return this.renderer({ ...
|
|
114
|
-
const { hideIcon:
|
|
115
|
-
return i &&
|
|
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
|
-
|
|
28
|
+
a("arcgis-portal-sublayer-type", y);
|
|
119
29
|
export {
|
|
120
|
-
|
|
30
|
+
y as ArcgisPortalSublayerType
|
|
121
31
|
};
|