@arcgis/portal-components 5.0.0-next.79 → 5.0.0-next.80
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/3PLIPHN3.js +4 -0
- package/dist/cdn/{3DX537T6.js → 6VVNKH3C.js} +2 -2
- package/dist/cdn/BP374N4Z.js +4 -0
- package/dist/cdn/CWFDUEWC.js +4 -0
- package/dist/cdn/{6W2TW24S.js → EAQU436Q.js} +1 -1
- package/dist/cdn/FB3OEXTD.js +4 -0
- package/dist/cdn/IGTNTMJZ.js +4 -0
- package/dist/cdn/L7XZSKU5.js +4 -0
- package/dist/cdn/LJC3RJ32.js +4 -0
- package/dist/cdn/{SMJ76VUJ.js → Q5GZCFBS.js} +2 -2
- package/dist/cdn/{PCSZRBM6.js → RNZZASX2.js} +2 -2
- package/dist/cdn/{O4GBFABF.js → S4MD7LWI.js} +3 -3
- package/dist/cdn/SRAY4KFR.js +4 -0
- package/dist/cdn/TACZTOXO.js +4 -0
- package/dist/cdn/{G6NW27P4.js → XTIAGADP.js} +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.nb.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/fieldAddDelete.js +1 -1
- package/dist/chunks/loadClassificationData.js +1 -1
- package/dist/chunks/requests.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-portal-classification-banner/customElement.js +1 -1
- 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-extent-picker/customElement.d.ts +51 -0
- package/dist/components/arcgis-portal-extent-picker/customElement.js +553 -0
- package/dist/components/arcgis-portal-extent-picker/index.d.ts +8 -0
- package/dist/components/arcgis-portal-extent-picker/index.js +8 -0
- package/dist/components/arcgis-portal-extent-picker/mask-layer.d.ts +28 -0
- package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.d.ts +26 -0
- package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.js +60 -0
- package/dist/components/arcgis-portal-extent-picker-coord-field/index.d.ts +3 -0
- package/dist/components/arcgis-portal-extent-picker-coord-field/index.js +3 -0
- package/dist/components/arcgis-portal-field-delete/customElement.js +1 -1
- package/dist/docs/api.json +266 -2
- package/dist/docs/docs.json +267 -2
- package/dist/docs/vscode.html-custom-data.json +32 -0
- package/dist/docs/web-types.json +118 -1
- package/dist/index.d.ts +21 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -4
- package/dist/types/lumina.d.ts +8 -0
- package/dist/types/preact.d.ts +9 -0
- package/dist/types/preact10.d.ts +10 -0
- package/dist/types/react.d.ts +10 -0
- package/dist/types/stencil.d.ts +8 -0
- package/dist/utils/style.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cdn/24DGNFDU.js +0 -4
- package/dist/cdn/4LA6DBZQ.js +0 -4
- package/dist/cdn/55K7F2TM.js +0 -4
- package/dist/cdn/7QVEOEKB.js +0 -4
- package/dist/cdn/RLMC5JTM.js +0 -4
- package/dist/cdn/WN3TZSCN.js +0 -4
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
|
+
import { createRef as c, ref as d } from "lit/directives/ref.js";
|
|
3
|
+
import { LitElement as u, createEvent as p, safeClassMap as a, nothing as s } from "@arcgis/lumina";
|
|
4
|
+
import { css as h, html as o } from "lit";
|
|
5
|
+
import { useDirection as m } from "@arcgis/lumina/controllers";
|
|
6
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
+
v5.0.0-next.80 */
|
|
9
|
+
const g = h`.coord-field{margin-bottom:var(--calcite-spacing-sm)}.coord-label{display:block;margin-bottom:var(--calcite-spacing-sm);font-size:14px}.coordinate-input{width:100%;block-size:var(--calcite-spacing-xxxl);box-sizing:border-box;padding-inline:var(--calcite-spacing-md);font-size:14px;color:var(--calcite-color-text-3);outline-color:var(--calcite-color-brand)}.coordinate-input--error{border:1px solid var(--calcite-color-status-danger)}.coord-error-message{position:relative;max-width:100%;margin:var(--calcite-spacing-sm) 0;display:flex;font-size:14px;padding:6px 7px;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-status-danger);box-shadow:0 1px 2px #00000054}.coord-error-message:before{pointer-events:none;content:"";position:absolute;left:11px;top:-16px;width:0;height:0;border:8px solid transparent;border-bottom-color:var(--calcite-ui-danger)}.coord-error-message:after{position:absolute;pointer-events:none;content:"";left:11px;top:-15px;width:0;height:0;border:8px solid transparent;border-bottom-color:var(--calcite-ui-foreground-1)}.is-rtl .coord-error-message:before,.is-rtl .coord-error-message:after{left:initial;right:11px}.coord-error-message calcite-icon{color:var(--calcite-ui-danger)}.coord-error-message__text{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm);line-height:var(--calcite-spacing-xl)}`;
|
|
10
|
+
class v extends u {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), this._direction = m(), this.inputEl = c(), this.isInvalid = !1, this.currentError = "", this.inputValue = "", this.label = "", this.value = "", this.errorMessage = "", this.min = -180, this.max = 180, this.validateRelated = () => !0, this.relatedErrorMessage = "", this.inputId = "", this.arcgisCoordChange = p();
|
|
13
|
+
}
|
|
14
|
+
static {
|
|
15
|
+
this.properties = { isInvalid: 16, currentError: 16, inputValue: 16, label: 1, value: 1, errorMessage: 1, min: 9, max: 9, validateRelated: 0, relatedErrorMessage: 1, inputId: 1 };
|
|
16
|
+
}
|
|
17
|
+
static {
|
|
18
|
+
this.styles = g;
|
|
19
|
+
}
|
|
20
|
+
checkRelatedField() {
|
|
21
|
+
return !this.inputValue || !this.isInvalid || !this.validate(this.inputValue) ? "" : this.inputValue;
|
|
22
|
+
}
|
|
23
|
+
isValid() {
|
|
24
|
+
return !this.isInvalid;
|
|
25
|
+
}
|
|
26
|
+
setFocus() {
|
|
27
|
+
this.inputEl.value?.focus();
|
|
28
|
+
}
|
|
29
|
+
willUpdate(e) {
|
|
30
|
+
e.has("value") && this.validate(e.get("value"));
|
|
31
|
+
}
|
|
32
|
+
isValidCoord(e, r, t) {
|
|
33
|
+
if (!e?.match(/^-?[0-9]*(\.|,)?[0-9]+$/u))
|
|
34
|
+
return !1;
|
|
35
|
+
const i = this.parseNumber(e);
|
|
36
|
+
return i >= r && i <= t;
|
|
37
|
+
}
|
|
38
|
+
validate(e) {
|
|
39
|
+
if (this.isInvalid = !this.isValidCoord(e, this.min, this.max), this.isInvalid)
|
|
40
|
+
return this.currentError = this.errorMessage, !1;
|
|
41
|
+
const r = this.parseNumber(e);
|
|
42
|
+
return this.isInvalid = !this.validateRelated(r), this.isInvalid ? (this.currentError = this.relatedErrorMessage, !1) : !0;
|
|
43
|
+
}
|
|
44
|
+
parseNumber(e) {
|
|
45
|
+
const r = `-${Array.from({ length: 10 }, (i, l) => l.toString()).join("")}`;
|
|
46
|
+
let t = e.replace(",", ".");
|
|
47
|
+
return t = Array.from(t).filter((i) => r.includes(i) || i === ".").join(""), parseFloat(t);
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
return o`<div class=${a({ "coord-field": !0, "is-rtl": this._direction === "rtl" })}><label class="coord-label" for=${this.inputId ?? s}>${this.label}</label><calcite-input-number number-button-type=none id=${this.inputId ?? s} class=${a({
|
|
51
|
+
"coordinate-input": !0
|
|
52
|
+
})} .value=${`${this.parseNumber(this.value)}`} @calciteInputNumberChange=${(e) => {
|
|
53
|
+
this.inputValue = e.target.value, this.validate(this.inputValue) && this.arcgisCoordChange.emit(this.inputValue);
|
|
54
|
+
}} .status=${this.isInvalid ? "invalid" : "valid"} ${d(this.inputEl)}></calcite-input-number>${this.isInvalid && o`<div class="coord-error-message"><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon><div class="coord-error-message__text">${this.currentError}</div></div>` || ""}</div>`;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
n("arcgis-portal-extent-picker-coord-field", v);
|
|
58
|
+
export {
|
|
59
|
+
v as ArcgisPortalExtentPickerCoordField
|
|
60
|
+
};
|
|
@@ -12,7 +12,7 @@ import { a as j, g as U, b as q, d as R, s as J, e as D, f as z, i as w } from "
|
|
|
12
12
|
import { u as W } from "../../chunks/useT9n.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
15
|
-
v5.0.0-next.
|
|
15
|
+
v5.0.0-next.80 */
|
|
16
16
|
const n = /* @__PURE__ */ new Map();
|
|
17
17
|
n.set("oid", "key");
|
|
18
18
|
n.set("guid", "key");
|
package/dist/docs/api.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-12-
|
|
2
|
+
"timestamp": "2025-12-04T19:07:51",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
5
|
+
"version": "5.0.0-next.80",
|
|
6
6
|
"typescriptVersion": "5.9.3"
|
|
7
7
|
},
|
|
8
8
|
"schemaVersion": "2.1.0",
|
|
@@ -972,6 +972,270 @@
|
|
|
972
972
|
}
|
|
973
973
|
]
|
|
974
974
|
},
|
|
975
|
+
{
|
|
976
|
+
"kind": "javascript-module",
|
|
977
|
+
"path": "components/arcgis-portal-extent-picker",
|
|
978
|
+
"sourcePath": "src/components/portal-extent-picker/portal-extent-picker.tsx",
|
|
979
|
+
"declarations": [
|
|
980
|
+
{
|
|
981
|
+
"kind": "class",
|
|
982
|
+
"customElement": true,
|
|
983
|
+
"name": "ArcgisPortalExtentPicker",
|
|
984
|
+
"tagName": "arcgis-portal-extent-picker",
|
|
985
|
+
"description": "To select extent value from a map or by entering coordinates.",
|
|
986
|
+
"superclass": {
|
|
987
|
+
"name": "LitElement",
|
|
988
|
+
"package": "@arcgis/lumina"
|
|
989
|
+
},
|
|
990
|
+
"pascalCaseName": "ArcgisPortalExtentPicker",
|
|
991
|
+
"importPath": "components/arcgis-portal-extent-picker",
|
|
992
|
+
"members": [
|
|
993
|
+
{
|
|
994
|
+
"kind": "field",
|
|
995
|
+
"name": "active",
|
|
996
|
+
"description": "if true, open the dialog",
|
|
997
|
+
"type": {
|
|
998
|
+
"text": "boolean",
|
|
999
|
+
"values": [
|
|
1000
|
+
{
|
|
1001
|
+
"type": "boolean"
|
|
1002
|
+
}
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
|
+
"default": "false",
|
|
1006
|
+
"attribute": "active"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"kind": "method",
|
|
1010
|
+
"name": "componentOnReady",
|
|
1011
|
+
"return": {
|
|
1012
|
+
"type": {
|
|
1013
|
+
"text": "Promise<void>",
|
|
1014
|
+
"references": [
|
|
1015
|
+
{
|
|
1016
|
+
"module": "lib/lib.es5.d.ts",
|
|
1017
|
+
"name": "Promise",
|
|
1018
|
+
"package": "typescript",
|
|
1019
|
+
"start": 0,
|
|
1020
|
+
"end": 7
|
|
1021
|
+
}
|
|
1022
|
+
]
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"description": "Create a promise that resolves once component is fully loaded.",
|
|
1026
|
+
"signature": "(): Promise<void>",
|
|
1027
|
+
"inheritedFrom": {
|
|
1028
|
+
"name": "LitElement",
|
|
1029
|
+
"package": "@arcgis/lumina"
|
|
1030
|
+
},
|
|
1031
|
+
"docsTags": [
|
|
1032
|
+
{
|
|
1033
|
+
"name": "example",
|
|
1034
|
+
"text": "```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"
|
|
1035
|
+
}
|
|
1036
|
+
]
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"kind": "field",
|
|
1040
|
+
"name": "contentOnly",
|
|
1041
|
+
"description": "Optional; if true, show only the content without the calcite-dialog wrapper",
|
|
1042
|
+
"type": {
|
|
1043
|
+
"text": "boolean",
|
|
1044
|
+
"values": [
|
|
1045
|
+
{
|
|
1046
|
+
"type": "boolean"
|
|
1047
|
+
}
|
|
1048
|
+
]
|
|
1049
|
+
},
|
|
1050
|
+
"default": "false",
|
|
1051
|
+
"attribute": "content-only"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"kind": "field",
|
|
1055
|
+
"name": "extentService",
|
|
1056
|
+
"description": "Optional; URL of the extent service, used to initialize TileLayer",
|
|
1057
|
+
"type": {
|
|
1058
|
+
"text": "string",
|
|
1059
|
+
"values": [
|
|
1060
|
+
{
|
|
1061
|
+
"type": "string"
|
|
1062
|
+
}
|
|
1063
|
+
]
|
|
1064
|
+
},
|
|
1065
|
+
"attribute": "extent-service"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"kind": "field",
|
|
1069
|
+
"name": "extentValue",
|
|
1070
|
+
"description": "current extent value",
|
|
1071
|
+
"type": {
|
|
1072
|
+
"text": "{\n ymin: string;\n ymax: string;\n xmin: string;\n xmax: string;\n}"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"kind": "method",
|
|
1077
|
+
"name": "getExtent",
|
|
1078
|
+
"description": "Returns the current extent value",
|
|
1079
|
+
"return": {
|
|
1080
|
+
"type": {
|
|
1081
|
+
"text": "{ extent: ExtentValue; }"
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
"signature": "(): ExtentObj"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"kind": "field",
|
|
1088
|
+
"name": "isArea",
|
|
1089
|
+
"description": "Optional; if true, display texts that are for areas rather than the default extent texts",
|
|
1090
|
+
"type": {
|
|
1091
|
+
"text": "boolean",
|
|
1092
|
+
"values": [
|
|
1093
|
+
{
|
|
1094
|
+
"type": "boolean"
|
|
1095
|
+
}
|
|
1096
|
+
]
|
|
1097
|
+
},
|
|
1098
|
+
"default": "false",
|
|
1099
|
+
"attribute": "is-area"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"kind": "field",
|
|
1103
|
+
"name": "itemId",
|
|
1104
|
+
"description": "Optional; if passed, use the itemId to load the Portal item",
|
|
1105
|
+
"type": {
|
|
1106
|
+
"text": "string",
|
|
1107
|
+
"values": [
|
|
1108
|
+
{
|
|
1109
|
+
"type": "string"
|
|
1110
|
+
}
|
|
1111
|
+
]
|
|
1112
|
+
},
|
|
1113
|
+
"attribute": "item-id"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"kind": "field",
|
|
1117
|
+
"name": "portal",
|
|
1118
|
+
"description": "Optional; Portal instance",
|
|
1119
|
+
"type": {
|
|
1120
|
+
"text": "Portal",
|
|
1121
|
+
"references": [
|
|
1122
|
+
{
|
|
1123
|
+
"name": "Portal",
|
|
1124
|
+
"package": "@arcgis/core",
|
|
1125
|
+
"module": "portal/Portal.d.ts",
|
|
1126
|
+
"viewUrl": "https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html",
|
|
1127
|
+
"start": 0,
|
|
1128
|
+
"end": 6
|
|
1129
|
+
}
|
|
1130
|
+
]
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
],
|
|
1134
|
+
"attributes": [
|
|
1135
|
+
{
|
|
1136
|
+
"name": "active",
|
|
1137
|
+
"description": "if true, open the dialog",
|
|
1138
|
+
"type": {
|
|
1139
|
+
"text": "boolean",
|
|
1140
|
+
"values": [
|
|
1141
|
+
{
|
|
1142
|
+
"type": "boolean"
|
|
1143
|
+
}
|
|
1144
|
+
]
|
|
1145
|
+
},
|
|
1146
|
+
"default": "false",
|
|
1147
|
+
"fieldName": "active"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"name": "content-only",
|
|
1151
|
+
"description": "Optional; if true, show only the content without the calcite-dialog wrapper",
|
|
1152
|
+
"type": {
|
|
1153
|
+
"text": "boolean",
|
|
1154
|
+
"values": [
|
|
1155
|
+
{
|
|
1156
|
+
"type": "boolean"
|
|
1157
|
+
}
|
|
1158
|
+
]
|
|
1159
|
+
},
|
|
1160
|
+
"default": "false",
|
|
1161
|
+
"fieldName": "contentOnly"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"name": "extent-service",
|
|
1165
|
+
"description": "Optional; URL of the extent service, used to initialize TileLayer",
|
|
1166
|
+
"type": {
|
|
1167
|
+
"text": "string",
|
|
1168
|
+
"values": [
|
|
1169
|
+
{
|
|
1170
|
+
"type": "string"
|
|
1171
|
+
}
|
|
1172
|
+
]
|
|
1173
|
+
},
|
|
1174
|
+
"fieldName": "extentService"
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"name": "is-area",
|
|
1178
|
+
"description": "Optional; if true, display texts that are for areas rather than the default extent texts",
|
|
1179
|
+
"type": {
|
|
1180
|
+
"text": "boolean",
|
|
1181
|
+
"values": [
|
|
1182
|
+
{
|
|
1183
|
+
"type": "boolean"
|
|
1184
|
+
}
|
|
1185
|
+
]
|
|
1186
|
+
},
|
|
1187
|
+
"default": "false",
|
|
1188
|
+
"fieldName": "isArea"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"name": "item-id",
|
|
1192
|
+
"description": "Optional; if passed, use the itemId to load the Portal item",
|
|
1193
|
+
"type": {
|
|
1194
|
+
"text": "string",
|
|
1195
|
+
"values": [
|
|
1196
|
+
{
|
|
1197
|
+
"type": "string"
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
},
|
|
1201
|
+
"fieldName": "itemId"
|
|
1202
|
+
}
|
|
1203
|
+
],
|
|
1204
|
+
"events": [
|
|
1205
|
+
{
|
|
1206
|
+
"name": "arcgisExtentPickerChange",
|
|
1207
|
+
"description": "Emitted when the extent value changes",
|
|
1208
|
+
"type": {
|
|
1209
|
+
"text": "{ extent: ExtentValue; }"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"name": "arcgisExtentPickerClose",
|
|
1214
|
+
"description": "Emitted when the dialog is closed",
|
|
1215
|
+
"type": {
|
|
1216
|
+
"text": "void"
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"name": "arcgisExtentPickerSave",
|
|
1221
|
+
"description": "Emitted when the save button is clicked",
|
|
1222
|
+
"type": {
|
|
1223
|
+
"text": "{ extent: ExtentValue; }"
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
]
|
|
1227
|
+
}
|
|
1228
|
+
],
|
|
1229
|
+
"exports": [
|
|
1230
|
+
{
|
|
1231
|
+
"kind": "custom-element-definition",
|
|
1232
|
+
"name": "arcgis-portal-extent-picker",
|
|
1233
|
+
"declaration": {
|
|
1234
|
+
"name": "ArcgisPortalExtentPicker"
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
]
|
|
1238
|
+
},
|
|
975
1239
|
{
|
|
976
1240
|
"kind": "javascript-module",
|
|
977
1241
|
"path": "components/arcgis-portal-field-delete",
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-12-
|
|
2
|
+
"timestamp": "2025-12-04T19:07:51",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
5
|
+
"version": "5.0.0-next.80",
|
|
6
6
|
"typescriptVersion": "5.9.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -847,6 +847,271 @@
|
|
|
847
847
|
"parts": [],
|
|
848
848
|
"listeners": []
|
|
849
849
|
},
|
|
850
|
+
{
|
|
851
|
+
"filePath": "src/components/portal-extent-picker/portal-extent-picker.tsx",
|
|
852
|
+
"tag": "arcgis-portal-extent-picker",
|
|
853
|
+
"overview": "",
|
|
854
|
+
"readme": "",
|
|
855
|
+
"usage": {},
|
|
856
|
+
"docs": "To select extent value from a map or by entering coordinates.",
|
|
857
|
+
"docsTags": [
|
|
858
|
+
{
|
|
859
|
+
"name": "superclass",
|
|
860
|
+
"text": "{\"name\":\"LitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
861
|
+
}
|
|
862
|
+
],
|
|
863
|
+
"encapsulation": "shadow",
|
|
864
|
+
"dependents": [],
|
|
865
|
+
"dependencies": [],
|
|
866
|
+
"dependencyGraph": {},
|
|
867
|
+
"props": [
|
|
868
|
+
{
|
|
869
|
+
"name": "active",
|
|
870
|
+
"type": "boolean",
|
|
871
|
+
"complexType": {
|
|
872
|
+
"original": "boolean",
|
|
873
|
+
"resolved": "boolean",
|
|
874
|
+
"references": {}
|
|
875
|
+
},
|
|
876
|
+
"mutable": true,
|
|
877
|
+
"attr": "active",
|
|
878
|
+
"reflectToAttr": false,
|
|
879
|
+
"docs": "if true, open the dialog",
|
|
880
|
+
"docsTags": [],
|
|
881
|
+
"default": "false",
|
|
882
|
+
"values": [
|
|
883
|
+
{
|
|
884
|
+
"type": "boolean"
|
|
885
|
+
}
|
|
886
|
+
],
|
|
887
|
+
"optional": true,
|
|
888
|
+
"required": false
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "contentOnly",
|
|
892
|
+
"type": "boolean",
|
|
893
|
+
"complexType": {
|
|
894
|
+
"original": "boolean",
|
|
895
|
+
"resolved": "boolean",
|
|
896
|
+
"references": {}
|
|
897
|
+
},
|
|
898
|
+
"mutable": true,
|
|
899
|
+
"attr": "content-only",
|
|
900
|
+
"reflectToAttr": false,
|
|
901
|
+
"docs": "Optional; if true, show only the content without the calcite-dialog wrapper",
|
|
902
|
+
"docsTags": [],
|
|
903
|
+
"default": "false",
|
|
904
|
+
"values": [
|
|
905
|
+
{
|
|
906
|
+
"type": "boolean"
|
|
907
|
+
}
|
|
908
|
+
],
|
|
909
|
+
"optional": true,
|
|
910
|
+
"required": false
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "extentService",
|
|
914
|
+
"type": "string",
|
|
915
|
+
"complexType": {
|
|
916
|
+
"original": "string",
|
|
917
|
+
"resolved": "string",
|
|
918
|
+
"references": {}
|
|
919
|
+
},
|
|
920
|
+
"mutable": true,
|
|
921
|
+
"attr": "extent-service",
|
|
922
|
+
"reflectToAttr": false,
|
|
923
|
+
"docs": "Optional; URL of the extent service, used to initialize TileLayer",
|
|
924
|
+
"docsTags": [],
|
|
925
|
+
"values": [
|
|
926
|
+
{
|
|
927
|
+
"type": "string"
|
|
928
|
+
}
|
|
929
|
+
],
|
|
930
|
+
"optional": true,
|
|
931
|
+
"required": false
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"name": "extentValue",
|
|
935
|
+
"type": "{\n ymin: string;\n ymax: string;\n xmin: string;\n xmax: string;\n}",
|
|
936
|
+
"complexType": {
|
|
937
|
+
"original": "{\n ymin: string;\n ymax: string;\n xmin: string;\n xmax: string;\n}",
|
|
938
|
+
"resolved": "{\n ymin: string;\n ymax: string;\n xmin: string;\n xmax: string;\n}",
|
|
939
|
+
"references": {}
|
|
940
|
+
},
|
|
941
|
+
"mutable": true,
|
|
942
|
+
"reflectToAttr": false,
|
|
943
|
+
"docs": "current extent value",
|
|
944
|
+
"docsTags": [],
|
|
945
|
+
"values": [],
|
|
946
|
+
"optional": true,
|
|
947
|
+
"required": false
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "isArea",
|
|
951
|
+
"type": "boolean",
|
|
952
|
+
"complexType": {
|
|
953
|
+
"original": "boolean",
|
|
954
|
+
"resolved": "boolean",
|
|
955
|
+
"references": {}
|
|
956
|
+
},
|
|
957
|
+
"mutable": true,
|
|
958
|
+
"attr": "is-area",
|
|
959
|
+
"reflectToAttr": false,
|
|
960
|
+
"docs": "Optional; if true, display texts that are for areas rather than the default extent texts",
|
|
961
|
+
"docsTags": [],
|
|
962
|
+
"default": "false",
|
|
963
|
+
"values": [
|
|
964
|
+
{
|
|
965
|
+
"type": "boolean"
|
|
966
|
+
}
|
|
967
|
+
],
|
|
968
|
+
"optional": true,
|
|
969
|
+
"required": false
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "itemId",
|
|
973
|
+
"type": "string",
|
|
974
|
+
"complexType": {
|
|
975
|
+
"original": "string",
|
|
976
|
+
"resolved": "string",
|
|
977
|
+
"references": {}
|
|
978
|
+
},
|
|
979
|
+
"mutable": true,
|
|
980
|
+
"attr": "item-id",
|
|
981
|
+
"reflectToAttr": false,
|
|
982
|
+
"docs": "Optional; if passed, use the itemId to load the Portal item",
|
|
983
|
+
"docsTags": [],
|
|
984
|
+
"values": [
|
|
985
|
+
{
|
|
986
|
+
"type": "string"
|
|
987
|
+
}
|
|
988
|
+
],
|
|
989
|
+
"optional": true,
|
|
990
|
+
"required": false
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "portal",
|
|
994
|
+
"type": "Portal",
|
|
995
|
+
"complexType": {
|
|
996
|
+
"original": "Portal",
|
|
997
|
+
"resolved": "Portal",
|
|
998
|
+
"references": {
|
|
999
|
+
"Portal": {
|
|
1000
|
+
"location": "import",
|
|
1001
|
+
"path": "@arcgis/core/portal/Portal.d.ts",
|
|
1002
|
+
"id": "notImplemented"
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
"mutable": true,
|
|
1007
|
+
"reflectToAttr": false,
|
|
1008
|
+
"docs": "Optional; Portal instance",
|
|
1009
|
+
"docsTags": [],
|
|
1010
|
+
"values": [],
|
|
1011
|
+
"optional": true,
|
|
1012
|
+
"required": false
|
|
1013
|
+
}
|
|
1014
|
+
],
|
|
1015
|
+
"methods": [
|
|
1016
|
+
{
|
|
1017
|
+
"name": "componentOnReady",
|
|
1018
|
+
"returns": {
|
|
1019
|
+
"type": "Promise<void>",
|
|
1020
|
+
"docs": ""
|
|
1021
|
+
},
|
|
1022
|
+
"complexType": {
|
|
1023
|
+
"signature": "(): Promise<void>",
|
|
1024
|
+
"parameters": [],
|
|
1025
|
+
"return": "Promise<void>",
|
|
1026
|
+
"references": {
|
|
1027
|
+
"Promise": {
|
|
1028
|
+
"location": "import",
|
|
1029
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
1030
|
+
"id": "notImplemented"
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
"signature": "componentOnReady(): Promise<void>",
|
|
1035
|
+
"parameters": [],
|
|
1036
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
1037
|
+
"docsTags": [
|
|
1038
|
+
{
|
|
1039
|
+
"name": "example",
|
|
1040
|
+
"text": "```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"name": "inheritedFrom",
|
|
1044
|
+
"text": "{\"name\":\"LitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
1045
|
+
}
|
|
1046
|
+
]
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "getExtent",
|
|
1050
|
+
"returns": {
|
|
1051
|
+
"type": "{ extent: ExtentValue; }",
|
|
1052
|
+
"docs": ""
|
|
1053
|
+
},
|
|
1054
|
+
"complexType": {
|
|
1055
|
+
"signature": "(): ExtentObj",
|
|
1056
|
+
"parameters": [],
|
|
1057
|
+
"return": "{ extent: ExtentValue; }",
|
|
1058
|
+
"references": {}
|
|
1059
|
+
},
|
|
1060
|
+
"signature": "getExtent(): ExtentObj",
|
|
1061
|
+
"parameters": [],
|
|
1062
|
+
"docs": "Returns the current extent value",
|
|
1063
|
+
"docsTags": []
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
"events": [
|
|
1067
|
+
{
|
|
1068
|
+
"event": "arcgisExtentPickerChange",
|
|
1069
|
+
"detail": "{ extent: ExtentValue; }",
|
|
1070
|
+
"bubbles": true,
|
|
1071
|
+
"complexType": {
|
|
1072
|
+
"original": "{ extent: ExtentValue; }",
|
|
1073
|
+
"resolved": "{ extent: ExtentValue; }",
|
|
1074
|
+
"references": {}
|
|
1075
|
+
},
|
|
1076
|
+
"cancelable": true,
|
|
1077
|
+
"composed": true,
|
|
1078
|
+
"docs": "Emitted when the extent value changes",
|
|
1079
|
+
"docsTags": []
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"event": "arcgisExtentPickerClose",
|
|
1083
|
+
"detail": "void",
|
|
1084
|
+
"bubbles": true,
|
|
1085
|
+
"complexType": {
|
|
1086
|
+
"original": "void",
|
|
1087
|
+
"resolved": "void",
|
|
1088
|
+
"references": {}
|
|
1089
|
+
},
|
|
1090
|
+
"cancelable": true,
|
|
1091
|
+
"composed": true,
|
|
1092
|
+
"docs": "Emitted when the dialog is closed",
|
|
1093
|
+
"docsTags": []
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"event": "arcgisExtentPickerSave",
|
|
1097
|
+
"detail": "{ extent: ExtentValue; }",
|
|
1098
|
+
"bubbles": true,
|
|
1099
|
+
"complexType": {
|
|
1100
|
+
"original": "{ extent: ExtentValue; }",
|
|
1101
|
+
"resolved": "{ extent: ExtentValue; }",
|
|
1102
|
+
"references": {}
|
|
1103
|
+
},
|
|
1104
|
+
"cancelable": true,
|
|
1105
|
+
"composed": true,
|
|
1106
|
+
"docs": "Emitted when the save button is clicked",
|
|
1107
|
+
"docsTags": []
|
|
1108
|
+
}
|
|
1109
|
+
],
|
|
1110
|
+
"styles": [],
|
|
1111
|
+
"slots": [],
|
|
1112
|
+
"parts": [],
|
|
1113
|
+
"listeners": []
|
|
1114
|
+
},
|
|
850
1115
|
{
|
|
851
1116
|
"filePath": "src/components/portal-field-delete/portal-field-delete.tsx",
|
|
852
1117
|
"tag": "arcgis-portal-field-delete",
|
|
@@ -88,6 +88,38 @@
|
|
|
88
88
|
],
|
|
89
89
|
"references": []
|
|
90
90
|
},
|
|
91
|
+
{
|
|
92
|
+
"name": "arcgis-portal-extent-picker",
|
|
93
|
+
"description": "To select extent value from a map or by entering coordinates.\n--\n\n### Events\n- **arcgisExtentPickerChange** - Emitted when the extent value changes\n- **arcgisExtentPickerClose** - Emitted when the dialog is closed\n- **arcgisExtentPickerSave** - Emitted when the save button is clicked\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getExtent(): ExtentObj` - Returns the current extent value",
|
|
94
|
+
"attributes": [
|
|
95
|
+
{
|
|
96
|
+
"name": "active",
|
|
97
|
+
"description": "if true, open the dialog",
|
|
98
|
+
"values": []
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "content-only",
|
|
102
|
+
"description": "Optional; if true, show only the content without the calcite-dialog wrapper",
|
|
103
|
+
"values": []
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "extent-service",
|
|
107
|
+
"description": "Optional; URL of the extent service, used to initialize TileLayer",
|
|
108
|
+
"values": []
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "is-area",
|
|
112
|
+
"description": "Optional; if true, display texts that are for areas rather than the default extent texts",
|
|
113
|
+
"values": []
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "item-id",
|
|
117
|
+
"description": "Optional; if passed, use the itemId to load the Portal item",
|
|
118
|
+
"values": []
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"references": []
|
|
122
|
+
},
|
|
91
123
|
{
|
|
92
124
|
"name": "arcgis-portal-field-delete",
|
|
93
125
|
"description": "### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|