@arcgis/portal-components 5.0.0-next.12 → 5.0.0-next.120
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/2OB22QVH.js +6 -0
- package/dist/cdn/63CZ5S4I.js +4 -0
- package/dist/cdn/BXLHQU3C.js +4 -0
- package/dist/cdn/DJPKMNHV.js +4 -0
- package/dist/cdn/FJWHYYP5.js +4 -0
- package/dist/cdn/G2YER4X3.js +4 -0
- package/dist/cdn/HGFNBSEY.js +4 -0
- package/dist/cdn/I6OVOC2U.js +4 -0
- package/dist/cdn/KFKUSAWN.js +4 -0
- package/dist/cdn/MBOHYCM3.js +4 -0
- package/dist/cdn/TJ63MI4F.js +4 -0
- package/dist/cdn/UDZHIHJI.js +4 -0
- package/dist/cdn/{P3E22T22.js → VXHW3J2G.js} +2 -2
- package/dist/cdn/WBGRNEDD.js +4 -0
- package/dist/cdn/{HULPYHDC.js → WILVAUBB.js} +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-TW.json +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.no.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 +164 -151
- package/dist/chunks/loadClassificationData.js +1 -1
- package/dist/chunks/requests.js +2 -2
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-portal-classification-banner/customElement.js +18 -17
- package/dist/components/arcgis-portal-classification-config/customElement.d.ts +4 -1
- package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-favorite/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +3 -0
- package/dist/components/arcgis-portal-classification-form-element/customElement.js +7 -7
- package/dist/components/arcgis-portal-extent-picker/customElement.d.ts +56 -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 +29 -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.d.ts +10 -2
- package/dist/components/arcgis-portal-field-delete/customElement.js +60 -58
- package/dist/controllers/useClassificationModel.d.ts +1 -1
- package/dist/docs/api.json +587 -313
- package/dist/docs/docs.json +333 -54
- package/dist/docs/vscode.html-custom-data.json +37 -5
- package/dist/docs/web-types.json +135 -8
- package/dist/index.d.ts +40 -55
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +6 -4
- package/dist/types/classification.d.ts +1 -1
- package/dist/types/components.d.ts +2 -1
- package/dist/types/lumina.d.ts +14 -5
- package/dist/types/preact.d.ts +15 -5
- package/dist/types/react.d.ts +16 -5
- package/dist/types/stencil.d.ts +14 -5
- package/dist/utils/commonFunctions.d.ts +2 -1
- package/dist/utils/style.d.ts +1 -0
- package/package.json +6 -6
- package/dist/cdn/2D55FIAK.js +0 -4
- package/dist/cdn/424LKZHH.js +0 -4
- package/dist/cdn/6DOIQGSH.js +0 -4
- package/dist/cdn/6JOAN4JK.js +0 -6
- package/dist/cdn/CZSKOVLY.js +0 -4
- package/dist/cdn/EJ5GLSXT.js +0 -4
- package/dist/cdn/GFJ3FQ3U.js +0 -4
- package/dist/cdn/GRGBHOU7.js +0 -4
- package/dist/cdn/HDDRLOK3.js +0 -4
- package/dist/cdn/KF3GMFA6.js +0 -4
- package/dist/types/preact10.d.ts +0 -54
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tags": [
|
|
5
5
|
{
|
|
6
6
|
"name": "arcgis-portal-classification-banner",
|
|
7
|
-
"description": "### Methods\n- `componentOnReady(): Promise<
|
|
7
|
+
"description": "### Methods\n- `componentOnReady(): Promise<this>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
8
8
|
"attributes": [
|
|
9
9
|
{
|
|
10
10
|
"name": "missing-existing-classification",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"name": "arcgis-portal-classification-config",
|
|
36
|
-
"description": "The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<
|
|
36
|
+
"description": "The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `resetForm(): Promise<void>` - Reset the form to the initial classification values from the portalItem\n- `validateForm(): Promise<void>` - Validates the form and sets the formValidationErrors state.",
|
|
37
37
|
"attributes": [
|
|
38
38
|
{
|
|
39
39
|
"name": "status",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"name": "arcgis-portal-classification-favorite",
|
|
71
|
-
"description": "### Methods\n- `componentOnReady(): Promise<
|
|
71
|
+
"description": "### Methods\n- `componentOnReady(): Promise<this>` - Create a promise that resolves once component is fully loaded.",
|
|
72
72
|
"attributes": [
|
|
73
73
|
{
|
|
74
74
|
"name": "selected-favorite-classification-name",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "arcgis-portal-classification-form-element",
|
|
82
|
-
"description": "A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<
|
|
82
|
+
"description": "A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Create a promise that resolves once component is fully loaded.",
|
|
83
83
|
"attributes": [
|
|
84
84
|
{
|
|
85
85
|
"name": "attribute-key",
|
|
@@ -88,9 +88,41 @@
|
|
|
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<this>` - 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
|
-
"description": "### Events\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<
|
|
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<this>` - Create a promise that resolves once component is fully loaded.",
|
|
94
126
|
"attributes": [],
|
|
95
127
|
"references": []
|
|
96
128
|
}
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/portal-components",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.120",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "arcgis-portal-classification-banner",
|
|
11
|
-
"description": "### Methods\n- `componentOnReady(): Promise<
|
|
11
|
+
"description": "### Methods\n- `componentOnReady(): Promise<this>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
12
12
|
"attributes": [
|
|
13
13
|
{
|
|
14
14
|
"name": "missing-existing-classification",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "arcgis-portal-classification-config",
|
|
70
|
-
"description": "The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<
|
|
70
|
+
"description": "The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `resetForm(): Promise<void>` - Reset the form to the initial classification values from the portalItem\n- `validateForm(): Promise<void>` - Validates the form and sets the formValidationErrors state.",
|
|
71
71
|
"attributes": [
|
|
72
72
|
{
|
|
73
73
|
"name": "status",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"events": [
|
|
100
100
|
{
|
|
101
101
|
"name": "arcgisPropertyChange",
|
|
102
|
-
"type": "{ name: \"values\" | \"
|
|
102
|
+
"type": "{ name: \"values\" | \"valid\" | \"status\"; }",
|
|
103
103
|
"description": "Event emitted when component property values status, values, or valid change."
|
|
104
104
|
}
|
|
105
105
|
],
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"events": [
|
|
130
130
|
{
|
|
131
131
|
"name": "arcgisPropertyChange",
|
|
132
|
-
"type": "{ name: \"values\" | \"
|
|
132
|
+
"type": "{ name: \"values\" | \"valid\" | \"status\"; }",
|
|
133
133
|
"description": "Event emitted when component property values status, values, or valid change."
|
|
134
134
|
}
|
|
135
135
|
]
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"name": "arcgis-portal-classification-favorite",
|
|
140
|
-
"description": "### Methods\n- `componentOnReady(): Promise<
|
|
140
|
+
"description": "### Methods\n- `componentOnReady(): Promise<this>` - Create a promise that resolves once component is fully loaded.",
|
|
141
141
|
"attributes": [
|
|
142
142
|
{
|
|
143
143
|
"name": "selected-favorite-classification-name",
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"name": "arcgis-portal-classification-form-element",
|
|
190
|
-
"description": "A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<
|
|
190
|
+
"description": "A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Create a promise that resolves once component is fully loaded.",
|
|
191
191
|
"attributes": [
|
|
192
192
|
{
|
|
193
193
|
"name": "attribute-key",
|
|
@@ -235,11 +235,133 @@
|
|
|
235
235
|
]
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
|
+
{
|
|
239
|
+
"name": "arcgis-portal-extent-picker",
|
|
240
|
+
"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<this>` - Create a promise that resolves once component is fully loaded.\n- `getExtent(): ExtentObj` - Returns the current extent value",
|
|
241
|
+
"attributes": [
|
|
242
|
+
{
|
|
243
|
+
"name": "active",
|
|
244
|
+
"description": "if true, open the dialog",
|
|
245
|
+
"default": "false",
|
|
246
|
+
"value": {
|
|
247
|
+
"type": "boolean"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "content-only",
|
|
252
|
+
"description": "Optional; if true, show only the content without the calcite-dialog wrapper",
|
|
253
|
+
"default": "false",
|
|
254
|
+
"value": {
|
|
255
|
+
"type": "boolean"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "extent-service",
|
|
260
|
+
"description": "Optional; URL of the extent service, used to initialize TileLayer",
|
|
261
|
+
"value": {
|
|
262
|
+
"type": "string"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "is-area",
|
|
267
|
+
"description": "Optional; if true, display texts that are for areas rather than the default extent texts",
|
|
268
|
+
"default": "false",
|
|
269
|
+
"value": {
|
|
270
|
+
"type": "boolean"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "item-id",
|
|
275
|
+
"description": "Optional; if passed, use the itemId to load the Portal item",
|
|
276
|
+
"value": {
|
|
277
|
+
"type": "string"
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"events": [
|
|
282
|
+
{
|
|
283
|
+
"name": "arcgisExtentPickerChange",
|
|
284
|
+
"type": "{ extent: ExtentValue; }",
|
|
285
|
+
"description": "Emitted when the extent value changes"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "arcgisExtentPickerClose",
|
|
289
|
+
"type": "void",
|
|
290
|
+
"description": "Emitted when the dialog is closed"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "arcgisExtentPickerSave",
|
|
294
|
+
"type": "{ extent: ExtentValue; }",
|
|
295
|
+
"description": "Emitted when the save button is clicked"
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"js": {
|
|
299
|
+
"properties": [
|
|
300
|
+
{
|
|
301
|
+
"name": "active",
|
|
302
|
+
"description": "if true, open the dialog",
|
|
303
|
+
"type": "boolean"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "contentOnly",
|
|
307
|
+
"description": "Optional; if true, show only the content without the calcite-dialog wrapper",
|
|
308
|
+
"type": "boolean"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "extentService",
|
|
312
|
+
"description": "Optional; URL of the extent service, used to initialize TileLayer",
|
|
313
|
+
"type": "string"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "extentValue",
|
|
317
|
+
"description": "current extent value",
|
|
318
|
+
"type": "{\n ymin: string;\n ymax: string;\n xmin: string;\n xmax: string;\n}"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "isArea",
|
|
322
|
+
"description": "Optional; if true, display texts that are for areas rather than the default extent texts",
|
|
323
|
+
"type": "boolean"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "itemId",
|
|
327
|
+
"description": "Optional; if passed, use the itemId to load the Portal item",
|
|
328
|
+
"type": "string"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "portal",
|
|
332
|
+
"description": "Optional; Portal instance",
|
|
333
|
+
"type": "Portal"
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"events": [
|
|
337
|
+
{
|
|
338
|
+
"name": "arcgisExtentPickerChange",
|
|
339
|
+
"type": "{ extent: ExtentValue; }",
|
|
340
|
+
"description": "Emitted when the extent value changes"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "arcgisExtentPickerClose",
|
|
344
|
+
"type": "void",
|
|
345
|
+
"description": "Emitted when the dialog is closed"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "arcgisExtentPickerSave",
|
|
349
|
+
"type": "{ extent: ExtentValue; }",
|
|
350
|
+
"description": "Emitted when the save button is clicked"
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
}
|
|
354
|
+
},
|
|
238
355
|
{
|
|
239
356
|
"name": "arcgis-portal-field-delete",
|
|
240
|
-
"description": "### Events\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<
|
|
357
|
+
"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<this>` - Create a promise that resolves once component is fully loaded.",
|
|
241
358
|
"attributes": [],
|
|
242
359
|
"events": [
|
|
360
|
+
{
|
|
361
|
+
"name": "arcgisBeforeDelete",
|
|
362
|
+
"type": "void",
|
|
363
|
+
"description": "Emitted when the user initiates the delete process."
|
|
364
|
+
},
|
|
243
365
|
{
|
|
244
366
|
"name": "arcgisBeforeModalClose",
|
|
245
367
|
"type": "string",
|
|
@@ -285,6 +407,11 @@
|
|
|
285
407
|
}
|
|
286
408
|
],
|
|
287
409
|
"events": [
|
|
410
|
+
{
|
|
411
|
+
"name": "arcgisBeforeDelete",
|
|
412
|
+
"type": "void",
|
|
413
|
+
"description": "Emitted when the user initiates the delete process."
|
|
414
|
+
},
|
|
288
415
|
{
|
|
289
416
|
"name": "arcgisBeforeModalClose",
|
|
290
417
|
"type": "string",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { ArcgisPortalClassificationBanner } from "./components/arcgis-portal-classification-banner";
|
|
2
|
-
import type { ArcgisPortalClassificationConfig } from "./components/arcgis-portal-classification-config";
|
|
3
|
-
import type { ArcgisPortalClassificationFavorite } from "./components/arcgis-portal-classification-favorite";
|
|
4
|
-
import type { ArcgisPortalClassificationFormElement } from "./components/arcgis-portal-classification-form-element";
|
|
5
|
-
import type {
|
|
1
|
+
import type { ArcgisPortalClassificationBanner } from "./components/arcgis-portal-classification-banner/customElement.js";
|
|
2
|
+
import type { ArcgisPortalClassificationConfig } from "./components/arcgis-portal-classification-config/customElement.js";
|
|
3
|
+
import type { ArcgisPortalClassificationFavorite } from "./components/arcgis-portal-classification-favorite/customElement.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFormElement } from "./components/arcgis-portal-classification-form-element/customElement.js";
|
|
5
|
+
import type { ArcgisPortalExtentPicker } from "./components/arcgis-portal-extent-picker/customElement.js";
|
|
6
|
+
import type { ArcgisPortalFieldDelete } from "./components/arcgis-portal-field-delete/customElement.js";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Place in this file any utility functions you wish to expose for the consumers
|
|
@@ -15,73 +16,57 @@ export type { FieldDeleteOptions, UserItemInfo } from './utils/types';
|
|
|
15
16
|
|
|
16
17
|
export interface ArcgisPortalClassificationConfigCustomEvent<T> extends CustomEvent<T> {
|
|
17
18
|
detail: T;
|
|
18
|
-
target:
|
|
19
|
-
currentTarget:
|
|
19
|
+
target: ArcgisPortalClassificationConfig;
|
|
20
|
+
currentTarget: ArcgisPortalClassificationConfig;
|
|
20
21
|
}
|
|
21
22
|
export interface ArcgisPortalClassificationFormElementCustomEvent<T> extends CustomEvent<T> {
|
|
22
23
|
detail: T;
|
|
23
|
-
target:
|
|
24
|
-
currentTarget:
|
|
24
|
+
target: ArcgisPortalClassificationFormElement;
|
|
25
|
+
currentTarget: ArcgisPortalClassificationFormElement;
|
|
26
|
+
}
|
|
27
|
+
export interface ArcgisPortalExtentPickerCustomEvent<T> extends CustomEvent<T> {
|
|
28
|
+
detail: T;
|
|
29
|
+
target: ArcgisPortalExtentPicker;
|
|
30
|
+
currentTarget: ArcgisPortalExtentPicker;
|
|
25
31
|
}
|
|
26
32
|
export interface ArcgisPortalFieldDeleteCustomEvent<T> extends CustomEvent<T> {
|
|
27
33
|
detail: T;
|
|
28
|
-
target:
|
|
29
|
-
currentTarget:
|
|
34
|
+
target: ArcgisPortalFieldDelete;
|
|
35
|
+
currentTarget: ArcgisPortalFieldDelete;
|
|
30
36
|
}
|
|
31
37
|
|
|
32
38
|
export { ToEvents, TargetedEvent } from "@arcgis/lumina";
|
|
33
39
|
|
|
34
40
|
declare global {
|
|
35
41
|
interface HTMLElementTagNameMap {
|
|
36
|
-
"arcgis-portal-classification-banner":
|
|
37
|
-
"arcgis-portal-classification-config":
|
|
38
|
-
"arcgis-portal-classification-favorite":
|
|
39
|
-
"arcgis-portal-classification-form-element":
|
|
40
|
-
"arcgis-portal-
|
|
42
|
+
"arcgis-portal-classification-banner": ArcgisPortalClassificationBanner;
|
|
43
|
+
"arcgis-portal-classification-config": ArcgisPortalClassificationConfig;
|
|
44
|
+
"arcgis-portal-classification-favorite": ArcgisPortalClassificationFavorite;
|
|
45
|
+
"arcgis-portal-classification-form-element": ArcgisPortalClassificationFormElement;
|
|
46
|
+
"arcgis-portal-extent-picker": ArcgisPortalExtentPicker;
|
|
47
|
+
"arcgis-portal-field-delete": ArcgisPortalFieldDelete;
|
|
41
48
|
}
|
|
42
49
|
|
|
43
|
-
|
|
50
|
+
type HTMLArcgisPortalClassificationBannerElement = ArcgisPortalClassificationBanner;
|
|
44
51
|
|
|
45
|
-
}
|
|
46
|
-
interface HTMLArcgisPortalClassificationConfigElementEventMap {
|
|
47
|
-
"arcgisPropertyChange": ArcgisPortalClassificationConfig["arcgisPropertyChange"]["detail"];
|
|
48
|
-
}
|
|
49
52
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
53
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
54
|
-
removeEventListener<K extends keyof HTMLArcgisPortalClassificationConfigElementEventMap>(type: K, listener: (this: HTMLArcgisPortalClassificationConfigElement, ev: ArcgisPortalClassificationConfigCustomEvent<HTMLArcgisPortalClassificationConfigElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
55
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
56
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
57
|
-
}
|
|
58
|
-
interface HTMLArcgisPortalClassificationFavoriteElement extends ArcgisPortalClassificationFavorite {
|
|
53
|
+
type HTMLArcgisPortalClassificationConfigElementEventMap = ArcgisPortalClassificationConfig["@eventTypes"];
|
|
54
|
+
type HTMLArcgisPortalClassificationConfigElement = ArcgisPortalClassificationConfig;
|
|
59
55
|
|
|
60
|
-
}
|
|
61
|
-
interface HTMLArcgisPortalClassificationFormElementElementEventMap {
|
|
62
|
-
"arcgisAttributeValueChange": ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]["detail"];
|
|
63
|
-
}
|
|
64
56
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
57
|
+
type HTMLArcgisPortalClassificationFavoriteElement = ArcgisPortalClassificationFavorite;
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
type HTMLArcgisPortalClassificationFormElementElementEventMap = ArcgisPortalClassificationFormElement["@eventTypes"];
|
|
61
|
+
type HTMLArcgisPortalClassificationFormElementElement = ArcgisPortalClassificationFormElement;
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
type HTMLArcgisPortalExtentPickerElementEventMap = ArcgisPortalExtentPicker["@eventTypes"];
|
|
65
|
+
type HTMLArcgisPortalExtentPickerElement = ArcgisPortalExtentPicker;
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
type HTMLArcgisPortalFieldDeleteElementEventMap = ArcgisPortalFieldDelete["@eventTypes"];
|
|
69
|
+
type HTMLArcgisPortalFieldDeleteElement = ArcgisPortalFieldDelete;
|
|
70
|
+
|
|
78
71
|
|
|
79
|
-
interface HTMLArcgisPortalFieldDeleteElement extends ArcgisPortalFieldDelete {
|
|
80
|
-
addEventListener<K extends keyof HTMLArcgisPortalFieldDeleteElementEventMap>(type: K, listener: (this: HTMLArcgisPortalFieldDeleteElement, ev: ArcgisPortalFieldDeleteCustomEvent<HTMLArcgisPortalFieldDeleteElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
81
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
82
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
83
|
-
removeEventListener<K extends keyof HTMLArcgisPortalFieldDeleteElementEventMap>(type: K, listener: (this: HTMLArcgisPortalFieldDeleteElement, ev: ArcgisPortalFieldDeleteCustomEvent<HTMLArcgisPortalFieldDeleteElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
84
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
85
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
86
|
-
}
|
|
87
72
|
}
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { g as a, s as t } from "./chunks/runtime.js";
|
|
|
2
2
|
import { c as o, a as r } from "./chunks/fieldAddDelete.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.120 */
|
|
6
6
|
export {
|
|
7
7
|
o as canAddField,
|
|
8
8
|
r as canDeleteField,
|
package/dist/loader.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./index";
|
|
1
|
+
import "./index.js";
|
|
2
2
|
export declare const defineCustomElements: import("@arcgis/lumina").DefineCustomElements;
|
package/dist/loader.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as e } from "./chunks/runtime.js";
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
6
|
-
const
|
|
5
|
+
v5.0.0-next.120 */
|
|
6
|
+
const r = t(e, {
|
|
7
7
|
"arcgis-portal-classification-banner": [() => import("./components/arcgis-portal-classification-banner/customElement.js"), "autoDestroyDisabled,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],
|
|
8
8
|
"arcgis-portal-classification-config": [() => import("./components/arcgis-portal-classification-config/customElement.js"), "autoDestroyDisabled,portalItem:,status,valid,values;destroy,resetForm,validateForm"],
|
|
9
9
|
"arcgis-portal-classification-favorite": [() => import("./components/arcgis-portal-classification-favorite/customElement.js"), "attributeExpressionResults:,classificationValue:,favoriteClassifications:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],
|
|
10
10
|
"arcgis-portal-classification-form-element": [() => import("./components/arcgis-portal-classification-form-element/customElement.js"), "attribute:,attributeKey,isRequiredErrors:,renderingInfo:,value:"],
|
|
11
|
+
"arcgis-portal-extent-picker": [() => import("./components/arcgis-portal-extent-picker/customElement.js"), "active,contentOnly,extentService,extentValue:,isArea,itemId,portal:;;getExtent"],
|
|
12
|
+
"arcgis-portal-extent-picker-coord-field": [() => import("./components/arcgis-portal-extent-picker-coord-field/customElement.js"), "errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],
|
|
11
13
|
"arcgis-portal-field-delete": [() => import("./components/arcgis-portal-field-delete/customElement.js"), "config:,fieldNames:,layer:,mapView:,options:"]
|
|
12
14
|
});
|
|
13
15
|
export {
|
|
14
|
-
|
|
16
|
+
r as defineCustomElements
|
|
15
17
|
};
|
|
@@ -183,7 +183,7 @@ export interface FavoriteClassificationResult {
|
|
|
183
183
|
}
|
|
184
184
|
export interface ClassificationAlertIndicator {
|
|
185
185
|
alertIndicatorType?: HTMLCalciteAlertElement["kind"];
|
|
186
|
-
alertIndicatorIcon?:
|
|
186
|
+
alertIndicatorIcon?: HTMLCalciteIconElement["icon"];
|
|
187
187
|
alertIndicatorInfo: string;
|
|
188
188
|
}
|
|
189
189
|
export interface AddFavoriteClassificationResult {
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
/** @deprecated import from stencil.d.ts instead */
|
|
2
|
+
export * from "./stencil.js";
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner";
|
|
3
|
-
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config";
|
|
4
|
-
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite";
|
|
5
|
-
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element";
|
|
6
|
-
import type {
|
|
2
|
+
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner/customElement.js";
|
|
3
|
+
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config/customElement.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite/customElement.js";
|
|
5
|
+
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/customElement.js";
|
|
6
|
+
import type { ArcgisPortalExtentPicker } from "../components/arcgis-portal-extent-picker/customElement.js";
|
|
7
|
+
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/customElement.js";
|
|
7
8
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
8
9
|
|
|
9
10
|
interface LuminaArcgisPortalClassificationBanner extends Partial<Pick<ArcgisPortalClassificationBanner, 'missingExistingClassification' | 'portalItem' | 'validationErrors' | 'variant'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalClassificationBannerElement> {
|
|
@@ -20,7 +21,14 @@ interface LuminaArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
|
|
|
20
21
|
onarcgisAttributeValueChange?: EventHandler<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
interface LuminaArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, 'active' | 'contentOnly' | 'extentService' | 'extentValue' | 'isArea' | 'itemId' | 'portal'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalExtentPickerElement> {
|
|
25
|
+
onarcgisExtentPickerChange?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
|
|
26
|
+
onarcgisExtentPickerClose?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
|
|
27
|
+
onarcgisExtentPickerSave?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
|
|
28
|
+
}
|
|
29
|
+
|
|
23
30
|
interface LuminaArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalFieldDeleteElement> {
|
|
31
|
+
onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
24
32
|
onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
25
33
|
onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
26
34
|
onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
|
@@ -33,6 +41,7 @@ declare module "@arcgis/lumina" {
|
|
|
33
41
|
"arcgis-portal-classification-config": LuminaArcgisPortalClassificationConfig;
|
|
34
42
|
"arcgis-portal-classification-favorite": LuminaArcgisPortalClassificationFavorite;
|
|
35
43
|
"arcgis-portal-classification-form-element": LuminaArcgisPortalClassificationFormElement;
|
|
44
|
+
"arcgis-portal-extent-picker": LuminaArcgisPortalExtentPicker;
|
|
36
45
|
"arcgis-portal-field-delete": LuminaArcgisPortalFieldDelete;
|
|
37
46
|
}
|
|
38
47
|
}
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner";
|
|
3
|
-
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config";
|
|
4
|
-
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite";
|
|
5
|
-
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element";
|
|
6
|
-
import type {
|
|
2
|
+
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner/customElement.js";
|
|
3
|
+
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config/customElement.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite/customElement.js";
|
|
5
|
+
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/customElement.js";
|
|
6
|
+
import type { ArcgisPortalExtentPicker } from "../components/arcgis-portal-extent-picker/customElement.js";
|
|
7
|
+
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/customElement.js";
|
|
7
8
|
import { HTMLAttributes } from "preact";
|
|
8
9
|
import type { EventHandler } from "@arcgis/lumina";
|
|
9
10
|
|
|
@@ -21,7 +22,14 @@ interface PreactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
|
|
|
21
22
|
onarcgisAttributeValueChange?: EventHandler<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
interface PreactArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, 'active' | 'contentOnly' | 'extentService' | 'extentValue' | 'isArea' | 'itemId' | 'portal'>>, HTMLAttributes<HTMLArcgisPortalExtentPickerElement> {
|
|
26
|
+
onarcgisExtentPickerChange?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
|
|
27
|
+
onarcgisExtentPickerClose?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
|
|
28
|
+
onarcgisExtentPickerSave?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
|
|
29
|
+
}
|
|
30
|
+
|
|
24
31
|
interface PreactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, HTMLAttributes<HTMLArcgisPortalFieldDeleteElement> {
|
|
32
|
+
onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
25
33
|
onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
26
34
|
onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
27
35
|
onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
|
@@ -34,6 +42,7 @@ declare module 'preact' {
|
|
|
34
42
|
"arcgis-portal-classification-config": PreactArcgisPortalClassificationConfig;
|
|
35
43
|
"arcgis-portal-classification-favorite": PreactArcgisPortalClassificationFavorite;
|
|
36
44
|
"arcgis-portal-classification-form-element": PreactArcgisPortalClassificationFormElement;
|
|
45
|
+
"arcgis-portal-extent-picker": PreactArcgisPortalExtentPicker;
|
|
37
46
|
"arcgis-portal-field-delete": PreactArcgisPortalFieldDelete;
|
|
38
47
|
}
|
|
39
48
|
}
|
|
@@ -43,6 +52,7 @@ declare module 'preact' {
|
|
|
43
52
|
"arcgis-portal-classification-config": PreactArcgisPortalClassificationConfig;
|
|
44
53
|
"arcgis-portal-classification-favorite": PreactArcgisPortalClassificationFavorite;
|
|
45
54
|
"arcgis-portal-classification-form-element": PreactArcgisPortalClassificationFormElement;
|
|
55
|
+
"arcgis-portal-extent-picker": PreactArcgisPortalExtentPicker;
|
|
46
56
|
"arcgis-portal-field-delete": PreactArcgisPortalFieldDelete;
|
|
47
57
|
}
|
|
48
58
|
}
|
package/dist/types/react.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner";
|
|
3
|
-
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config";
|
|
4
|
-
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite";
|
|
5
|
-
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element";
|
|
6
|
-
import type {
|
|
2
|
+
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner/customElement.js";
|
|
3
|
+
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config/customElement.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite/customElement.js";
|
|
5
|
+
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/customElement.js";
|
|
6
|
+
import type { ArcgisPortalExtentPicker } from "../components/arcgis-portal-extent-picker/customElement.js";
|
|
7
|
+
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/customElement.js";
|
|
7
8
|
import type { HTMLProps } from 'react';
|
|
8
9
|
import type { EventHandler } from "@arcgis/lumina";
|
|
9
10
|
|
|
@@ -21,7 +22,14 @@ interface ReactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgis
|
|
|
21
22
|
onarcgisAttributeValueChange?: EventHandler<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
interface ReactArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, 'active' | 'contentOnly' | 'extentService' | 'extentValue' | 'isArea' | 'itemId' | 'portal'>>, HTMLProps<HTMLArcgisPortalExtentPickerElement> {
|
|
26
|
+
onarcgisExtentPickerChange?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
|
|
27
|
+
onarcgisExtentPickerClose?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
|
|
28
|
+
onarcgisExtentPickerSave?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
|
|
29
|
+
}
|
|
30
|
+
|
|
24
31
|
interface ReactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, HTMLProps<HTMLArcgisPortalFieldDeleteElement> {
|
|
32
|
+
onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
25
33
|
onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
26
34
|
onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
27
35
|
onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
|
@@ -34,6 +42,7 @@ declare module "react" {
|
|
|
34
42
|
"arcgis-portal-classification-config": ReactArcgisPortalClassificationConfig;
|
|
35
43
|
"arcgis-portal-classification-favorite": ReactArcgisPortalClassificationFavorite;
|
|
36
44
|
"arcgis-portal-classification-form-element": ReactArcgisPortalClassificationFormElement;
|
|
45
|
+
"arcgis-portal-extent-picker": ReactArcgisPortalExtentPicker;
|
|
37
46
|
"arcgis-portal-field-delete": ReactArcgisPortalFieldDelete;
|
|
38
47
|
}
|
|
39
48
|
}
|
|
@@ -45,6 +54,7 @@ declare module "react/jsx-runtime" {
|
|
|
45
54
|
"arcgis-portal-classification-config": ReactArcgisPortalClassificationConfig;
|
|
46
55
|
"arcgis-portal-classification-favorite": ReactArcgisPortalClassificationFavorite;
|
|
47
56
|
"arcgis-portal-classification-form-element": ReactArcgisPortalClassificationFormElement;
|
|
57
|
+
"arcgis-portal-extent-picker": ReactArcgisPortalExtentPicker;
|
|
48
58
|
"arcgis-portal-field-delete": ReactArcgisPortalFieldDelete;
|
|
49
59
|
}
|
|
50
60
|
}
|
|
@@ -56,6 +66,7 @@ declare module "react/jsx-dev-runtime" {
|
|
|
56
66
|
"arcgis-portal-classification-config": ReactArcgisPortalClassificationConfig;
|
|
57
67
|
"arcgis-portal-classification-favorite": ReactArcgisPortalClassificationFavorite;
|
|
58
68
|
"arcgis-portal-classification-form-element": ReactArcgisPortalClassificationFormElement;
|
|
69
|
+
"arcgis-portal-extent-picker": ReactArcgisPortalExtentPicker;
|
|
59
70
|
"arcgis-portal-field-delete": ReactArcgisPortalFieldDelete;
|
|
60
71
|
}
|
|
61
72
|
}
|