@arcgis/portal-components 4.33.24
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/LICENSE.md +13 -0
- package/README.md +21 -0
- package/dist/cdn/35BP2SHK.js +4 -0
- package/dist/cdn/36Q7YYGI.js +4 -0
- package/dist/cdn/4CNGEWBF.js +4 -0
- package/dist/cdn/72MNXP3Y.js +4 -0
- package/dist/cdn/COVOJ6P4.js +4 -0
- package/dist/cdn/DVE4JMTL.js +4 -0
- package/dist/cdn/QTLH5UTZ.js +4 -0
- package/dist/cdn/RQR3TGUH.js +4 -0
- package/dist/cdn/TVD7CLRH.js +6 -0
- package/dist/cdn/TX7OGGNH.js +4 -0
- package/dist/cdn/UNNIXGUO.js +4 -0
- package/dist/cdn/ZD5UK6DF.js +4 -0
- package/dist/cdn/ZEXD6FIR.js +4 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/portal-classification-banner/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/portal-classification-config/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/portal-classification-form-element/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.nb.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/portal-field-delete/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +4 -0
- package/dist/cdn/main.css +1 -0
- package/dist/chunks/common.js +130 -0
- package/dist/chunks/fieldAddDelete.js +347 -0
- package/dist/chunks/loadClassificationData.js +115 -0
- package/dist/chunks/requests.js +71 -0
- package/dist/chunks/runtime.js +16 -0
- package/dist/chunks/useT9n.js +9 -0
- package/dist/components/arcgis-portal-classification-banner/customElement.d.ts +36 -0
- package/dist/components/arcgis-portal-classification-banner/customElement.js +63 -0
- package/dist/components/arcgis-portal-classification-banner/index.d.ts +2 -0
- package/dist/components/arcgis-portal-classification-banner/index.js +2 -0
- package/dist/components/arcgis-portal-classification-config/customElement.d.ts +45 -0
- package/dist/components/arcgis-portal-classification-config/customElement.js +375 -0
- package/dist/components/arcgis-portal-classification-config/index.d.ts +12 -0
- package/dist/components/arcgis-portal-classification-config/index.js +12 -0
- package/dist/components/arcgis-portal-classification-favorite/customElement.d.ts +18 -0
- package/dist/components/arcgis-portal-classification-favorite/customElement.js +124 -0
- package/dist/components/arcgis-portal-classification-favorite/index.d.ts +12 -0
- package/dist/components/arcgis-portal-classification-favorite/index.js +12 -0
- package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +19 -0
- package/dist/components/arcgis-portal-classification-form-element/customElement.js +104 -0
- package/dist/components/arcgis-portal-classification-form-element/index.d.ts +9 -0
- package/dist/components/arcgis-portal-classification-form-element/index.js +9 -0
- package/dist/components/arcgis-portal-field-delete/customElement.d.ts +23 -0
- package/dist/components/arcgis-portal-field-delete/customElement.js +263 -0
- package/dist/components/arcgis-portal-field-delete/index.d.ts +10 -0
- package/dist/components/arcgis-portal-field-delete/index.js +10 -0
- package/dist/components/arcgis-portal-field-delete/types.d.ts +5 -0
- package/dist/controllers/loadClassificationData.d.ts +11 -0
- package/dist/controllers/useClassificationModel.d.ts +9 -0
- package/dist/controllers/useT9n.d.ts +1 -0
- package/dist/docs/api.json +1174 -0
- package/dist/docs/docs.json +1076 -0
- package/dist/docs/vscode.css-custom-data.json +6 -0
- package/dist/docs/vscode.html-custom-data.json +98 -0
- package/dist/docs/web-types.json +313 -0
- package/dist/index.d.ts +87 -0
- package/dist/index.js +11 -0
- package/dist/loader.d.ts +2 -0
- package/dist/loader.js +15 -0
- package/dist/models/classificationModel.d.ts +64 -0
- package/dist/runtime.d.ts +6 -0
- package/dist/types/classification.d.ts +214 -0
- package/dist/types/components.d.ts +1 -0
- package/dist/types/lumina.d.ts +39 -0
- package/dist/types/preact.d.ts +49 -0
- package/dist/types/react.d.ts +62 -0
- package/dist/types/stencil.d.ts +46 -0
- package/dist/utils/arcade.d.ts +27 -0
- package/dist/utils/common.d.ts +29 -0
- package/dist/utils/commonEnums.d.ts +5 -0
- package/dist/utils/commonFunctions.d.ts +11 -0
- package/dist/utils/fieldAddDelete.d.ts +4 -0
- package/dist/utils/functionalComponents/FieldIcons.d.ts +6 -0
- package/dist/utils/item.d.ts +21 -0
- package/dist/utils/portal.d.ts +2 -0
- package/dist/utils/requests.d.ts +15 -0
- package/dist/utils/types.d.ts +29 -0
- package/dist/utils/url.d.ts +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
|
|
3
|
+
"version": 1.1,
|
|
4
|
+
"tags": [
|
|
5
|
+
{
|
|
6
|
+
"name": "arcgis-portal-classification-banner",
|
|
7
|
+
"description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
8
|
+
"attributes": [
|
|
9
|
+
{
|
|
10
|
+
"name": "missing-existing-classification",
|
|
11
|
+
"description": "\nIf the portal item has a classification previously",
|
|
12
|
+
"values": []
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "validation-errors",
|
|
16
|
+
"description": "The classification validation error - validate the classification value against the classification schema.",
|
|
17
|
+
"values": []
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "variant",
|
|
21
|
+
"description": "The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.",
|
|
22
|
+
"values": [
|
|
23
|
+
{
|
|
24
|
+
"name": "full"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "preview"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"references": []
|
|
33
|
+
},
|
|
34
|
+
{
|
|
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<void>` - 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
|
+
"attributes": [
|
|
38
|
+
{
|
|
39
|
+
"name": "status",
|
|
40
|
+
"description": "The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.",
|
|
41
|
+
"values": [
|
|
42
|
+
{
|
|
43
|
+
"name": "error"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "idle"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "loaded"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "loading"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "valid",
|
|
58
|
+
"description": "The validity of the form values against the Portal's classification schema.",
|
|
59
|
+
"values": []
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "values",
|
|
63
|
+
"description": "The edited classification values of the portal item.",
|
|
64
|
+
"values": []
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"references": []
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "arcgis-portal-classification-favorite",
|
|
71
|
+
"description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
72
|
+
"attributes": [
|
|
73
|
+
{
|
|
74
|
+
"name": "selected-favorite-classification-name",
|
|
75
|
+
"values": []
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"references": []
|
|
79
|
+
},
|
|
80
|
+
{
|
|
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<void>` - Create a promise that resolves once component is fully loaded.",
|
|
83
|
+
"attributes": [
|
|
84
|
+
{
|
|
85
|
+
"name": "attribute-key",
|
|
86
|
+
"values": []
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"references": []
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"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<void>` - Create a promise that resolves once component is fully loaded.",
|
|
94
|
+
"attributes": [],
|
|
95
|
+
"references": []
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
|
+
"name": "@arcgis/portal-components",
|
|
4
|
+
"version": "4.33.24",
|
|
5
|
+
"description-markup": "markdown",
|
|
6
|
+
"contributions": {
|
|
7
|
+
"html": {
|
|
8
|
+
"elements": [
|
|
9
|
+
{
|
|
10
|
+
"name": "arcgis-portal-classification-banner",
|
|
11
|
+
"description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component",
|
|
12
|
+
"attributes": [
|
|
13
|
+
{
|
|
14
|
+
"name": "missing-existing-classification",
|
|
15
|
+
"description": "\nIf the portal item has a classification previously",
|
|
16
|
+
"default": "false",
|
|
17
|
+
"value": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "validation-errors",
|
|
23
|
+
"description": "The classification validation error - validate the classification value against the classification schema.",
|
|
24
|
+
"default": "\"\"",
|
|
25
|
+
"value": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "variant",
|
|
31
|
+
"description": "The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.",
|
|
32
|
+
"default": "\"full\"",
|
|
33
|
+
"value": {
|
|
34
|
+
"type": [
|
|
35
|
+
"\"full\"",
|
|
36
|
+
"\"preview\""
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"events": [],
|
|
42
|
+
"js": {
|
|
43
|
+
"properties": [
|
|
44
|
+
{
|
|
45
|
+
"name": "missingExistingClassification",
|
|
46
|
+
"description": "\nIf the portal item has a classification previously",
|
|
47
|
+
"type": "boolean"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "portalItem",
|
|
51
|
+
"description": "The portal item to display the classification banner for.",
|
|
52
|
+
"type": "PortalItem"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "validationErrors",
|
|
56
|
+
"description": "The classification validation error - validate the classification value against the classification schema.",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "variant",
|
|
61
|
+
"description": "The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.",
|
|
62
|
+
"type": "\"full\" | \"preview\""
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"events": []
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
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<void>` - 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
|
+
"attributes": [
|
|
72
|
+
{
|
|
73
|
+
"name": "status",
|
|
74
|
+
"description": "The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.",
|
|
75
|
+
"default": "\"idle\"",
|
|
76
|
+
"value": {
|
|
77
|
+
"type": [
|
|
78
|
+
"\"error\"",
|
|
79
|
+
"\"idle\"",
|
|
80
|
+
"\"loaded\"",
|
|
81
|
+
"\"loading\""
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "valid",
|
|
87
|
+
"description": "The validity of the form values against the Portal's classification schema.",
|
|
88
|
+
"default": "false",
|
|
89
|
+
"value": {
|
|
90
|
+
"type": "boolean"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "values",
|
|
95
|
+
"description": "The edited classification values of the portal item.",
|
|
96
|
+
"value": {}
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"events": [
|
|
100
|
+
{
|
|
101
|
+
"name": "arcgisPropertyChange",
|
|
102
|
+
"type": "{ name: \"values\" | \"valid\" | \"status\"; }",
|
|
103
|
+
"description": "Event emitted when component property values status, values, or valid change."
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"js": {
|
|
107
|
+
"properties": [
|
|
108
|
+
{
|
|
109
|
+
"name": "portalItem",
|
|
110
|
+
"description": "The portal item to display the classification banner for.",
|
|
111
|
+
"type": "PortalItem | undefined"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "status",
|
|
115
|
+
"description": "The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.",
|
|
116
|
+
"type": "\"error\" | \"idle\" | \"loaded\" | \"loading\""
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "valid",
|
|
120
|
+
"description": "The validity of the form values against the Portal's classification schema.",
|
|
121
|
+
"type": "boolean"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "values",
|
|
125
|
+
"description": "The edited classification values of the portal item.",
|
|
126
|
+
"type": "{\n [x: string]: any;\n}"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"events": [
|
|
130
|
+
{
|
|
131
|
+
"name": "arcgisPropertyChange",
|
|
132
|
+
"type": "{ name: \"values\" | \"valid\" | \"status\"; }",
|
|
133
|
+
"description": "Event emitted when component property values status, values, or valid change."
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "arcgis-portal-classification-favorite",
|
|
140
|
+
"description": "### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
141
|
+
"attributes": [
|
|
142
|
+
{
|
|
143
|
+
"name": "selected-favorite-classification-name",
|
|
144
|
+
"default": "\"\"",
|
|
145
|
+
"value": {
|
|
146
|
+
"type": "string"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"events": [],
|
|
151
|
+
"js": {
|
|
152
|
+
"properties": [
|
|
153
|
+
{
|
|
154
|
+
"name": "attributeExpressionResults",
|
|
155
|
+
"type": "Map<string, {\n enabled: boolean;\n valueExpressionResult: Array<Readonly<{\n label: string;\n value: string;\n }>> | Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | null;\n attributeValidationResult: string | null;\n}>"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "classificationValue",
|
|
159
|
+
"description": "Current classification value",
|
|
160
|
+
"type": "{\n [x: string]: any;\n}"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "favoriteClassifications",
|
|
164
|
+
"description": "List of favorite classifications",
|
|
165
|
+
"type": "Array<FavoriteClassification>"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "portalItem",
|
|
169
|
+
"description": "The portal item to display the classification banner for.",
|
|
170
|
+
"type": "PortalItem"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "resetFavoriteClassification",
|
|
174
|
+
"type": "(favoriteClassifications: Array<FavoriteClassification>) => void"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "selectedFavoriteClassificationName",
|
|
178
|
+
"type": "string"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "updateClassificationData",
|
|
182
|
+
"type": "(selectedClassification: FavoriteClassification) => void"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"events": []
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
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<void>` - Create a promise that resolves once component is fully loaded.",
|
|
191
|
+
"attributes": [
|
|
192
|
+
{
|
|
193
|
+
"name": "attribute-key",
|
|
194
|
+
"value": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"events": [
|
|
200
|
+
{
|
|
201
|
+
"name": "arcgisAttributeValueChange",
|
|
202
|
+
"type": "{\n [x: string]: unknown;\n}",
|
|
203
|
+
"description": "The attribute value has changed."
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"js": {
|
|
207
|
+
"properties": [
|
|
208
|
+
{
|
|
209
|
+
"name": "attribute",
|
|
210
|
+
"type": "({\n readonly label: string;\n readonly description?: string | undefined;\n readonly type: string;\n readonly uiElement: string;\n readonly isRequired?: boolean | undefined;\n readonly defaultValue?: string | undefined;\n readonly defaultDateTimeline?: number | undefined;\n readonly defaultDateTimelineUnits?: string | undefined;\n readonly validValues?: Array<Readonly<{\n label: string;\n value: string;\n }>> | undefined;\n readonly validValuesMap?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly isAttributeEnabled?: string | undefined;\n readonly valueExpression?: string | undefined;\n readonly attributeValidation?: string | undefined;\n readonly arcadeResultLookup?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly attributeCategory?: string | undefined;\n readonly selectionDisplayOrder?: number | undefined;\n readonly selectionDisplayLabel?: string | undefined;\n readonly bannerOrder?: number | undefined;\n readonly bannerLabel?: string | undefined;\n readonly labelDelimiter?: string | undefined;\n readonly labelTooltip?: string | undefined;\n readonly valueDelimiter?: string | undefined;\n readonly attributeDelimiter?: string | undefined;\n} & {\n readonly uiElement: \"checkbox\";\n readonly type: \"boolean\";\n readonly validValues?: undefined;\n readonly validValuesMap?: undefined;\n readonly defaultDateTimeline?: undefined;\n readonly defaultDateTimelineUnits?: undefined;\n}) | ({\n readonly label: string;\n readonly description?: string | undefined;\n readonly type: string;\n readonly uiElement: string;\n readonly isRequired?: boolean | undefined;\n readonly defaultValue?: string | undefined;\n readonly defaultDateTimeline?: number | undefined;\n readonly defaultDateTimelineUnits?: string | undefined;\n readonly validValues?: Array<Readonly<{\n label: string;\n value: string;\n }>> | undefined;\n readonly validValuesMap?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly isAttributeEnabled?: string | undefined;\n readonly valueExpression?: string | undefined;\n readonly attributeValidation?: string | undefined;\n readonly arcadeResultLookup?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly attributeCategory?: string | undefined;\n readonly selectionDisplayOrder?: number | undefined;\n readonly selectionDisplayLabel?: string | undefined;\n readonly bannerOrder?: number | undefined;\n readonly bannerLabel?: string | undefined;\n readonly labelDelimiter?: string | undefined;\n readonly labelTooltip?: string | undefined;\n readonly valueDelimiter?: string | undefined;\n readonly attributeDelimiter?: string | undefined;\n} & {\n readonly uiElement: \"date\";\n readonly type: \"date\";\n readonly defaultDateTimeline: number;\n readonly defaultDateTimelineUnits: string;\n readonly validValues?: undefined;\n readonly validValuesMap?: undefined;\n}) | ({\n readonly label: string;\n readonly description?: string | undefined;\n readonly type: string;\n readonly uiElement: string;\n readonly isRequired?: boolean | undefined;\n readonly defaultValue?: string | undefined;\n readonly defaultDateTimeline?: number | undefined;\n readonly defaultDateTimelineUnits?: string | undefined;\n readonly validValues?: Array<Readonly<{\n label: string;\n value: string;\n }>> | undefined;\n readonly validValuesMap?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly isAttributeEnabled?: string | undefined;\n readonly valueExpression?: string | undefined;\n readonly attributeValidation?: string | undefined;\n readonly arcadeResultLookup?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly attributeCategory?: string | undefined;\n readonly selectionDisplayOrder?: number | undefined;\n readonly selectionDisplayLabel?: string | undefined;\n readonly bannerOrder?: number | undefined;\n readonly bannerLabel?: string | undefined;\n readonly labelDelimiter?: string | undefined;\n readonly labelTooltip?: string | undefined;\n readonly valueDelimiter?: string | undefined;\n readonly attributeDelimiter?: string | undefined;\n} & {\n readonly uiElement: \"multi-grouped-select-nested\";\n readonly validValuesMap: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>>;\n readonly validValues?: undefined;\n}) | ({\n readonly label: string;\n readonly description?: string | undefined;\n readonly type: string;\n readonly uiElement: string;\n readonly isRequired?: boolean | undefined;\n readonly defaultValue?: string | undefined;\n readonly defaultDateTimeline?: number | undefined;\n readonly defaultDateTimelineUnits?: string | undefined;\n readonly validValues?: Array<Readonly<{\n label: string;\n value: string;\n }>> | undefined;\n readonly validValuesMap?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly isAttributeEnabled?: string | undefined;\n readonly valueExpression?: string | undefined;\n readonly attributeValidation?: string | undefined;\n readonly arcadeResultLookup?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly attributeCategory?: string | undefined;\n readonly selectionDisplayOrder?: number | undefined;\n readonly selectionDisplayLabel?: string | undefined;\n readonly bannerOrder?: number | undefined;\n readonly bannerLabel?: string | undefined;\n readonly labelDelimiter?: string | undefined;\n readonly labelTooltip?: string | undefined;\n readonly valueDelimiter?: string | undefined;\n readonly attributeDelimiter?: string | undefined;\n} & {\n readonly uiElement: \"multi-select\";\n readonly validValues?: Array<Readonly<{\n label: string;\n value: string;\n }>> | undefined;\n readonly validValuesMap?: undefined;\n}) | ({\n readonly label: string;\n readonly description?: string | undefined;\n readonly type: string;\n readonly uiElement: string;\n readonly isRequired?: boolean | undefined;\n readonly defaultValue?: string | undefined;\n readonly defaultDateTimeline?: number | undefined;\n readonly defaultDateTimelineUnits?: string | undefined;\n readonly validValues?: Array<Readonly<{\n label: string;\n value: string;\n }>> | undefined;\n readonly validValuesMap?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly isAttributeEnabled?: string | undefined;\n readonly valueExpression?: string | undefined;\n readonly attributeValidation?: string | undefined;\n readonly arcadeResultLookup?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly attributeCategory?: string | undefined;\n readonly selectionDisplayOrder?: number | undefined;\n readonly selectionDisplayLabel?: string | undefined;\n readonly bannerOrder?: number | undefined;\n readonly bannerLabel?: string | undefined;\n readonly labelDelimiter?: string | undefined;\n readonly labelTooltip?: string | undefined;\n readonly valueDelimiter?: string | undefined;\n readonly attributeDelimiter?: string | undefined;\n} & {\n readonly uiElement: \"single-select\";\n readonly validValues?: Array<Readonly<{\n label: string;\n value: string;\n }>> | undefined;\n readonly validValuesMap?: undefined;\n}) | ({\n readonly label: string;\n readonly description?: string | undefined;\n readonly type: string;\n readonly uiElement: string;\n readonly isRequired?: boolean | undefined;\n readonly defaultValue?: string | undefined;\n readonly defaultDateTimeline?: number | undefined;\n readonly defaultDateTimelineUnits?: string | undefined;\n readonly validValues?: Array<Readonly<{\n label: string;\n value: string;\n }>> | undefined;\n readonly validValuesMap?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly isAttributeEnabled?: string | undefined;\n readonly valueExpression?: string | undefined;\n readonly attributeValidation?: string | undefined;\n readonly arcadeResultLookup?: Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | undefined;\n readonly attributeCategory?: string | undefined;\n readonly selectionDisplayOrder?: number | undefined;\n readonly selectionDisplayLabel?: string | undefined;\n readonly bannerOrder?: number | undefined;\n readonly bannerLabel?: string | undefined;\n readonly labelDelimiter?: string | undefined;\n readonly labelTooltip?: string | undefined;\n readonly valueDelimiter?: string | undefined;\n readonly attributeDelimiter?: string | undefined;\n} & {\n readonly uiElement: \"text\";\n readonly type: \"string\";\n readonly validValues?: undefined;\n readonly validValuesMap?: undefined;\n readonly defaultDateTimeline?: undefined;\n readonly defaultDateTimelineUnits?: undefined;\n})"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "attributeKey",
|
|
214
|
+
"type": "string"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "isRequiredErrors",
|
|
218
|
+
"type": "Set<string>"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "renderingInfo",
|
|
222
|
+
"type": "{\n attributeValidationResult: string | null;\n valueExpressionResult: Array<Readonly<{\n label: string;\n value: string;\n }>> | Record<string, Array<Readonly<{\n label: string;\n value: string;\n }>>> | null;\n}"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "value",
|
|
226
|
+
"type": "unknown"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"events": [
|
|
230
|
+
{
|
|
231
|
+
"name": "arcgisAttributeValueChange",
|
|
232
|
+
"type": "{\n [x: string]: unknown;\n}",
|
|
233
|
+
"description": "The attribute value has changed."
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"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<void>` - Create a promise that resolves once component is fully loaded.",
|
|
241
|
+
"attributes": [],
|
|
242
|
+
"events": [
|
|
243
|
+
{
|
|
244
|
+
"name": "arcgisBeforeModalClose",
|
|
245
|
+
"type": "string",
|
|
246
|
+
"description": "Emitted before the modal is closed if the alert is handled in consumer."
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "arcgisClose",
|
|
250
|
+
"type": "void",
|
|
251
|
+
"description": "Emitted when the component is closed for any reason."
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "arcgisFieldsDeleted",
|
|
255
|
+
"type": "void",
|
|
256
|
+
"description": "Emitted when the field is successfully deleted."
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"js": {
|
|
260
|
+
"properties": [
|
|
261
|
+
{
|
|
262
|
+
"name": "config",
|
|
263
|
+
"description": "For documentation links.",
|
|
264
|
+
"type": "IConfig"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "fieldNames",
|
|
268
|
+
"description": "The fields to delete.",
|
|
269
|
+
"type": "Array<string>"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "layer",
|
|
273
|
+
"description": "The layer whose field is being deleted.",
|
|
274
|
+
"type": "FeatureLayer | OrientedImageryLayer"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "mapView",
|
|
278
|
+
"description": "The MapView instance.",
|
|
279
|
+
"type": "MapView"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "options",
|
|
283
|
+
"description": "Properties that may need to be passed in case values differ from what is available on Map Viewer.",
|
|
284
|
+
"type": "FieldDeleteOptions"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"events": [
|
|
288
|
+
{
|
|
289
|
+
"name": "arcgisBeforeModalClose",
|
|
290
|
+
"type": "string",
|
|
291
|
+
"description": "Emitted before the modal is closed if the alert is handled in consumer."
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "arcgisClose",
|
|
295
|
+
"type": "void",
|
|
296
|
+
"description": "Emitted when the component is closed for any reason."
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "arcgisFieldsDeleted",
|
|
300
|
+
"type": "void",
|
|
301
|
+
"description": "Emitted when the field is successfully deleted."
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
"css": {
|
|
309
|
+
"properties": [],
|
|
310
|
+
"pseudo-elements": []
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
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 { ArcgisPortalFieldDelete } from "./components/arcgis-portal-field-delete";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Place in this file any utility functions you wish to expose for the consumers
|
|
9
|
+
* of your package
|
|
10
|
+
*/
|
|
11
|
+
export { getAssetPath, setAssetPath } from './runtime';
|
|
12
|
+
export { canAddField, canDeleteField } from './utils/fieldAddDelete';
|
|
13
|
+
export type { FieldDeleteOptions, UserItemInfo } from './utils/types';
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export interface ArcgisPortalClassificationConfigCustomEvent<T> extends CustomEvent<T> {
|
|
17
|
+
detail: T;
|
|
18
|
+
target: HTMLArcgisPortalClassificationConfigElement;
|
|
19
|
+
currentTarget: HTMLArcgisPortalClassificationConfigElement;
|
|
20
|
+
}
|
|
21
|
+
export interface ArcgisPortalClassificationFormElementCustomEvent<T> extends CustomEvent<T> {
|
|
22
|
+
detail: T;
|
|
23
|
+
target: HTMLArcgisPortalClassificationFormElementElement;
|
|
24
|
+
currentTarget: HTMLArcgisPortalClassificationFormElementElement;
|
|
25
|
+
}
|
|
26
|
+
export interface ArcgisPortalFieldDeleteCustomEvent<T> extends CustomEvent<T> {
|
|
27
|
+
detail: T;
|
|
28
|
+
target: HTMLArcgisPortalFieldDeleteElement;
|
|
29
|
+
currentTarget: HTMLArcgisPortalFieldDeleteElement;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { ToEvents, TargetedEvent } from "@arcgis/lumina";
|
|
33
|
+
|
|
34
|
+
declare global {
|
|
35
|
+
interface HTMLElementTagNameMap {
|
|
36
|
+
"arcgis-portal-classification-banner": HTMLArcgisPortalClassificationBannerElement;
|
|
37
|
+
"arcgis-portal-classification-config": HTMLArcgisPortalClassificationConfigElement;
|
|
38
|
+
"arcgis-portal-classification-favorite": HTMLArcgisPortalClassificationFavoriteElement;
|
|
39
|
+
"arcgis-portal-classification-form-element": HTMLArcgisPortalClassificationFormElementElement;
|
|
40
|
+
"arcgis-portal-field-delete": HTMLArcgisPortalFieldDeleteElement;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface HTMLArcgisPortalClassificationBannerElement extends ArcgisPortalClassificationBanner {
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
interface HTMLArcgisPortalClassificationConfigElementEventMap {
|
|
47
|
+
"arcgisPropertyChange": ArcgisPortalClassificationConfig["arcgisPropertyChange"]["detail"];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface HTMLArcgisPortalClassificationConfigElement extends ArcgisPortalClassificationConfig {
|
|
51
|
+
addEventListener<K extends keyof HTMLArcgisPortalClassificationConfigElementEventMap>(type: K, listener: (this: HTMLArcgisPortalClassificationConfigElement, ev: ArcgisPortalClassificationConfigCustomEvent<HTMLArcgisPortalClassificationConfigElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
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 {
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
interface HTMLArcgisPortalClassificationFormElementElementEventMap {
|
|
62
|
+
"arcgisAttributeValueChange": ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]["detail"];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
interface HTMLArcgisPortalClassificationFormElementElement extends ArcgisPortalClassificationFormElement {
|
|
66
|
+
addEventListener<K extends keyof HTMLArcgisPortalClassificationFormElementElementEventMap>(type: K, listener: (this: HTMLArcgisPortalClassificationFormElementElement, ev: ArcgisPortalClassificationFormElementCustomEvent<HTMLArcgisPortalClassificationFormElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
67
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
68
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
69
|
+
removeEventListener<K extends keyof HTMLArcgisPortalClassificationFormElementElementEventMap>(type: K, listener: (this: HTMLArcgisPortalClassificationFormElementElement, ev: ArcgisPortalClassificationFormElementCustomEvent<HTMLArcgisPortalClassificationFormElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
70
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
71
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
72
|
+
}
|
|
73
|
+
interface HTMLArcgisPortalFieldDeleteElementEventMap {
|
|
74
|
+
"arcgisBeforeModalClose": ArcgisPortalFieldDelete["arcgisBeforeModalClose"]["detail"];
|
|
75
|
+
"arcgisClose": ArcgisPortalFieldDelete["arcgisClose"]["detail"];
|
|
76
|
+
"arcgisFieldsDeleted": ArcgisPortalFieldDelete["arcgisFieldsDeleted"]["detail"];
|
|
77
|
+
}
|
|
78
|
+
|
|
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
|
+
}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { g as a, s as t } from "./chunks/runtime.js";
|
|
2
|
+
import { c as o, a as r } from "./chunks/fieldAddDelete.js";
|
|
3
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
+
v4.33.24 */
|
|
6
|
+
export {
|
|
7
|
+
o as canAddField,
|
|
8
|
+
r as canDeleteField,
|
|
9
|
+
a as getAssetPath,
|
|
10
|
+
t as setAssetPath
|
|
11
|
+
};
|
package/dist/loader.d.ts
ADDED
package/dist/loader.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as i } from "./chunks/runtime.js";
|
|
2
|
+
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
+
v4.33.24 */
|
|
6
|
+
const s = t(i, {
|
|
7
|
+
"arcgis-portal-classification-banner": [() => import("./components/arcgis-portal-classification-banner/customElement.js"), "autoDestroyDisabled,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],
|
|
8
|
+
"arcgis-portal-classification-config": [() => import("./components/arcgis-portal-classification-config/customElement.js"), "autoDestroyDisabled,portalItem:,status,valid,values;destroy,resetForm,validateForm"],
|
|
9
|
+
"arcgis-portal-classification-favorite": [() => import("./components/arcgis-portal-classification-favorite/customElement.js"), "attributeExpressionResults:,classificationValue:,favoriteClassifications:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],
|
|
10
|
+
"arcgis-portal-classification-form-element": [() => import("./components/arcgis-portal-classification-form-element/customElement.js"), "attribute:,attributeKey,isRequiredErrors:,renderingInfo:,value:"],
|
|
11
|
+
"arcgis-portal-field-delete": [() => import("./components/arcgis-portal-field-delete/customElement.js"), "config:,fieldNames:,layer:,mapView:,options:"]
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
s as defineCustomElements
|
|
15
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
import { default as Accessor } from '@arcgis/core/core/Accessor.js';
|
|
3
|
+
import { ClassificationSchema, SchemaResult } from '../types/classification';
|
|
4
|
+
import { Deferred } from '@arcgis/components-utils';
|
|
5
|
+
type Status = "error" | "idle" | "loaded" | "loading";
|
|
6
|
+
/**
|
|
7
|
+
* Initialization options for the classification model.
|
|
8
|
+
*/
|
|
9
|
+
export interface Options {
|
|
10
|
+
portalClassificationSchema?: ClassificationSchema | undefined;
|
|
11
|
+
}
|
|
12
|
+
export declare class ClassificationModel extends Accessor {
|
|
13
|
+
/**
|
|
14
|
+
* The classification schema for the portal that is fetched from
|
|
15
|
+
* <portal>/sharing/rest/portals/self/classification/classificationSchema.
|
|
16
|
+
*/
|
|
17
|
+
portalClassificationSchema: ClassificationSchema | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the model is currently getting fetched via an outside actor.
|
|
20
|
+
*/
|
|
21
|
+
fetching: boolean;
|
|
22
|
+
/** The loading status of the classification schema. */
|
|
23
|
+
status: Status;
|
|
24
|
+
error: SchemaResult["error"] | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* The portal URL.
|
|
27
|
+
*/
|
|
28
|
+
portalUrl: string | undefined;
|
|
29
|
+
_itemClassificationValidationErrors: Map<string, Promise<string>>;
|
|
30
|
+
/**
|
|
31
|
+
* The promise that resolves when the classification schema is fetched.
|
|
32
|
+
*/
|
|
33
|
+
fetchingPromise: Deferred<boolean>;
|
|
34
|
+
/**
|
|
35
|
+
* The primary attribute of the classification schema metadata.
|
|
36
|
+
*/
|
|
37
|
+
get primaryAttribute(): ClassificationSchema["classificationMetadata"]["primaryAttribute"] | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the portal classification schema and updates the portal URL.
|
|
40
|
+
*/
|
|
41
|
+
setPortalClassificationData({ portalUrl, schema, }: {
|
|
42
|
+
portalUrl: string;
|
|
43
|
+
schema: ClassificationSchema | undefined;
|
|
44
|
+
}): void;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the fetching state.
|
|
47
|
+
*/
|
|
48
|
+
setFetching(fetching: boolean): void;
|
|
49
|
+
/**
|
|
50
|
+
* Loads and sets the classification schema from the portal.
|
|
51
|
+
*/
|
|
52
|
+
loadPortalClassificationData(portalUrl: string, { signal }: {
|
|
53
|
+
signal: AbortSignal;
|
|
54
|
+
}): Promise<void>;
|
|
55
|
+
validateClassification(id: nullish | string, classificationValue: __esri.PortalItem["classification"], portalUrl: string, options?: {
|
|
56
|
+
signal?: AbortSignal;
|
|
57
|
+
}): Promise<string>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* This function checks if model is already defined. If not, it creates the classification model,
|
|
61
|
+
* ensuring that the classification model is created only once and reused for subsequent calls.
|
|
62
|
+
*/
|
|
63
|
+
export declare function loadClassificationModel(initialValues?: Options): ClassificationModel;
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const runtime: import('@arcgis/lumina').Runtime;
|
|
2
|
+
/**
|
|
3
|
+
* "customElement" needs to be exported - it will be used by the build system.
|
|
4
|
+
* You should not call it directly.
|
|
5
|
+
*/
|
|
6
|
+
export declare const customElement: (tagName: string, component: typeof import('@arcgis/lumina').LitElement) => void, getAssetPath: (suffix: string) => string, setAssetPath: (path: URL | string) => void;
|