@arcgis/coding-components 4.29.0-beta.99 → 4.29.0
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/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +113 -113
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +19 -19
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +4 -4
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-e1cb02b3.js → p-0a2edf01.js} +2 -2
- package/dist/arcgis-coding-components/p-11e79992.js +6 -0
- package/dist/arcgis-coding-components/{p-f75beb80.js → p-36e2cbc2.js} +3 -3
- package/dist/arcgis-coding-components/{p-457e3916.js → p-4406b5a8.js} +2 -2
- package/dist/arcgis-coding-components/{p-87d7ad9e.js → p-4eb30e60.js} +1 -1
- package/dist/arcgis-coding-components/{p-7f9d3fdc.js → p-619ca372.js} +1 -1
- package/dist/arcgis-coding-components/{p-7e0e8ecc.js → p-71125c69.js} +2 -2
- package/dist/arcgis-coding-components/{p-0bab0228.js → p-8d7f0979.js} +2 -2
- package/dist/arcgis-coding-components/p-9b8091c1.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-ad86a5f5.js → p-bd81fdff.js} +11 -11
- package/dist/arcgis-coding-components/{p-f23f7fee.js → p-ecc8dd8a.js} +2 -2
- package/dist/arcgis-coding-components/{p-4648782b.js → p-f9016c56.js} +2 -2
- package/dist/cjs/{arcade-defaults-5dd9ebb7.js → arcade-defaults-b30ccec8.js} +271 -236
- package/dist/cjs/{arcade-mode-0b4c53a1.js → arcade-mode-eb755260.js} +11 -14
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +160 -184
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/{css-fe7f8980.js → css-9e907aa0.js} +1 -1
- package/dist/cjs/{cssMode-4c9b3a32.js → cssMode-e4189b13.js} +3 -3
- package/dist/cjs/{html-b044fbba.js → html-2582ae43.js} +3 -3
- package/dist/cjs/{htmlMode-956a6ffa.js → htmlMode-0edcf1ee.js} +3 -3
- package/dist/cjs/{index-aaceaf1f.js → index-54d6f9be.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-6c55ac8b.js → javascript-425c653a.js} +4 -4
- package/dist/cjs/{jsonMode-d83e322c.js → jsonMode-eea03515.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tsMode-5c5ffa3e.js → tsMode-b92c9221.js} +3 -3
- package/dist/cjs/{typescript-6143656a.js → typescript-cfc1221c.js} +3 -3
- package/dist/components/arcade-api.js +20 -18
- package/dist/components/arcade-contribution.js +9 -8
- package/dist/components/arcade-defaults.js +188 -168
- package/dist/components/arcade-mode.js +10 -12
- package/dist/components/arcade-results.js +29 -83
- package/dist/components/arcade-suggestions.js +15 -12
- package/dist/components/arcade-variables.js +30 -21
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +61 -49
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/fields.js +37 -23
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +3 -3
- package/dist/components/markdown.js +10 -1
- package/dist/components/utilities.js +4 -4
- package/dist/esm/{arcade-defaults-2d7283d4.js → arcade-defaults-a5dc6132.js} +267 -233
- package/dist/esm/{arcade-mode-a8abe5af.js → arcade-mode-d06b6e4f.js} +11 -14
- package/dist/esm/arcgis-arcade-api_6.entry.js +160 -184
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/{css-d31a02ca.js → css-59b4804d.js} +1 -1
- package/dist/esm/{cssMode-5ee45e91.js → cssMode-2bce7da7.js} +3 -3
- package/dist/esm/{html-5c2e488c.js → html-3ad47fc0.js} +3 -3
- package/dist/esm/{htmlMode-376cd5e8.js → htmlMode-6cb73c91.js} +3 -3
- package/dist/esm/{index-1b265749.js → index-ee54d182.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-13ddec2b.js → javascript-8917f926.js} +4 -4
- package/dist/esm/{jsonMode-674e89d6.js → jsonMode-9a1dbf00.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{tsMode-4c4398d7.js → tsMode-2caf1509.js} +3 -3
- package/dist/esm/{typescript-b328b622.js → typescript-a3abccc0.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +2 -7
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +0 -1
- package/dist/types/components.d.ts +2 -7
- package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +2 -2
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +2 -2
- package/dist/types/utils/fields.d.ts +1 -0
- package/dist/types/utils/markdown.d.ts +3 -0
- package/dist/types/utils/profile/editor-profile.d.ts +49 -63
- package/dist/types/utils/profile/types.d.ts +122 -1
- package/dist/types/utils/profile/utils.d.ts +22 -9
- package/package.json +8 -8
- package/dist/arcgis-coding-components/p-6d56a4b8.entry.js +0 -6
- package/dist/arcgis-coding-components/p-a75f5087.js +0 -6
- package/dist/components/functional-components.js +0 -15
- package/dist/types/utils/functional-components.d.ts +0 -7
- package/dist/types/utils/json-format.d.ts +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
6
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-ee54d182.js';
|
|
7
|
+
export { s as setNonce } from './index-ee54d182.js';
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -19,5 +19,5 @@ const patchBrowser = () => {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
patchBrowser().then(options => {
|
|
22
|
-
return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"
|
|
22
|
+
return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"value":["valuePropChange"],"language":["languagePropChange"],"modelId":["modelIdPropChange"]}]]]], options);
|
|
23
23
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-a5dc6132.js';
|
|
7
|
+
import './index-ee54d182.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-a5dc6132.js';
|
|
7
|
+
import './index-ee54d182.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-a5dc6132.js';
|
|
7
|
+
import './index-ee54d182.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
export { a as arcade } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
export { a as arcade } from './arcade-defaults-a5dc6132.js';
|
|
7
|
+
import './index-ee54d182.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import { conf as conf$1, language as language$1 } from './typescript-
|
|
7
|
-
import './arcade-defaults-
|
|
8
|
-
import './index-
|
|
6
|
+
import { conf as conf$1, language as language$1 } from './typescript-a3abccc0.js';
|
|
7
|
+
import './arcade-defaults-a5dc6132.js';
|
|
8
|
+
import './index-ee54d182.js';
|
|
9
9
|
|
|
10
10
|
/*!-----------------------------------------------------------------------------
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-a5dc6132.js';
|
|
7
|
+
import './index-ee54d182.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import { b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
6
|
+
import { b as bootstrapLazy } from './index-ee54d182.js';
|
|
7
|
+
export { s as setNonce } from './index-ee54d182.js';
|
|
8
8
|
|
|
9
9
|
const defineCustomElements = (win, options) => {
|
|
10
10
|
if (typeof window === 'undefined') return undefined;
|
|
11
|
-
return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"
|
|
11
|
+
return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"value":["valuePropChange"],"language":["languagePropChange"],"modelId":["modelIdPropChange"]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export { defineCustomElements };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { u as typescriptDefaults, t as monaco_editor_core_star } from './arcade-defaults-a5dc6132.js';
|
|
7
|
+
import './index-ee54d182.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-a5dc6132.js';
|
|
7
|
+
import './index-ee54d182.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0
|
|
4
|
+
* v4.29.0
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -5,7 +5,7 @@ import type { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from "../../ut
|
|
|
5
5
|
import type { IEditorProfileDefinition, IPredefinedProfile } from "../../utils/profile/types";
|
|
6
6
|
import type { editor } from "monaco-editor";
|
|
7
7
|
import type { EditorProfile } from "../../utils/profile/editor-profile";
|
|
8
|
-
import type { ArcadeResult, IEditorTestContext
|
|
8
|
+
import type { ArcadeResult, IEditorTestContext } from "../../utils/arcade-executor";
|
|
9
9
|
import type { IColorRules } from "../../utils/arcade-monaco/arcade-theme";
|
|
10
10
|
import type { ResultPanelName } from "../arcade-results/arcade-results";
|
|
11
11
|
export type SidePanelName = "api" | "none" | "suggestions" | "variables";
|
|
@@ -98,12 +98,6 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
98
98
|
* Returns the Arcade result for the script for the provided test data.
|
|
99
99
|
*/
|
|
100
100
|
getTestResult(): Promise<ArcadeResult>;
|
|
101
|
-
/**
|
|
102
|
-
* Returns the Arcade output type for the script.
|
|
103
|
-
* @deprecated Use getTestResult
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
getOutputType(): Promise<ResultType>;
|
|
107
101
|
/**
|
|
108
102
|
* Allows to change theme colors
|
|
109
103
|
* @internal
|
|
@@ -133,6 +127,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
133
127
|
private _onExecutionPanelClose;
|
|
134
128
|
private renderMainActionBar;
|
|
135
129
|
private renderMainPanel;
|
|
130
|
+
private renderAction;
|
|
136
131
|
private renderSideActionBar;
|
|
137
132
|
private renderSidePanel;
|
|
138
133
|
private renderResultsPanel;
|
|
@@ -37,7 +37,6 @@ export declare class ArcgisArcadeVariables implements ComponentInterface {
|
|
|
37
37
|
private _emitClose;
|
|
38
38
|
private _backToTop;
|
|
39
39
|
private _emitItemSelected;
|
|
40
|
-
private _stopEnterPropagation;
|
|
41
40
|
private _showCollectionPanel;
|
|
42
41
|
private collectionBasedVariableRenderer;
|
|
43
42
|
private renderEditorVariables;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IEditorProfileDefinition, IPredefinedProfile } from "./utils/profile/types";
|
|
9
|
-
import { ArcadeResult, IEditorTestContext
|
|
9
|
+
import { ArcadeResult, IEditorTestContext } from "./utils/arcade-executor";
|
|
10
10
|
import { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from "./utils/editor-suggestions";
|
|
11
11
|
import { ApiSnippet, Diagnostic } from "@arcgis/arcade-languageservice";
|
|
12
12
|
import { SidePanelName } from "./components/arcade-editor/arcade-editor";
|
|
@@ -14,7 +14,7 @@ import { editor } from "monaco-editor";
|
|
|
14
14
|
import { IColorRules } from "./utils/arcade-monaco/arcade-theme";
|
|
15
15
|
import { ResultPanelName } from "./components/arcade-results/arcade-results";
|
|
16
16
|
export { IEditorProfileDefinition, IPredefinedProfile } from "./utils/profile/types";
|
|
17
|
-
export { ArcadeResult, IEditorTestContext
|
|
17
|
+
export { ArcadeResult, IEditorTestContext } from "./utils/arcade-executor";
|
|
18
18
|
export { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from "./utils/editor-suggestions";
|
|
19
19
|
export { ApiSnippet, Diagnostic } from "@arcgis/arcade-languageservice";
|
|
20
20
|
export { SidePanelName } from "./components/arcade-editor/arcade-editor";
|
|
@@ -37,11 +37,6 @@ export namespace Components {
|
|
|
37
37
|
* @returns - The monaco editor instance
|
|
38
38
|
*/
|
|
39
39
|
"getEditorInstance": () => Promise<editor.IStandaloneCodeEditor | undefined>;
|
|
40
|
-
/**
|
|
41
|
-
* Returns the Arcade output type for the script.
|
|
42
|
-
* @deprecated Use getTestResult
|
|
43
|
-
*/
|
|
44
|
-
"getOutputType": () => Promise<ResultType>;
|
|
45
40
|
/**
|
|
46
41
|
* Returns the current script.
|
|
47
42
|
* @returns
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IArcadeWorker } from "./types";
|
|
2
2
|
import type { Uri } from "monaco-editor";
|
|
3
|
-
import type
|
|
3
|
+
import type * as arcadeModeModule from "./arcade-mode";
|
|
4
4
|
/**
|
|
5
5
|
* Returns the arcade diagnostic service.
|
|
6
6
|
* Example:
|
|
@@ -12,7 +12,7 @@ import type { IDiagnosticService } from "./arcade-mode";
|
|
|
12
12
|
* });
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
|
-
export declare function getArcadeDiagnosticService(): Promise<IDiagnosticService>;
|
|
15
|
+
export declare function getArcadeDiagnosticService(): Promise<arcadeModeModule.IDiagnosticService>;
|
|
16
16
|
/**
|
|
17
17
|
* Returns the arcade worker for the model.
|
|
18
18
|
* Example:
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const DevelopersWebSitePath: "https://developers.arcgis.com/arcade/";
|
|
2
|
-
export declare const MaxArrayItems
|
|
3
|
-
export declare const BatchSize
|
|
2
|
+
export declare const MaxArrayItems = 100;
|
|
3
|
+
export declare const BatchSize = 100;
|
|
@@ -8,3 +8,4 @@ export declare function fieldTypeToIconName(field: __esri.Field): string;
|
|
|
8
8
|
*/
|
|
9
9
|
export declare function fieldTypeToArcadeType(field: __esri.Field): ApiValueVariableType;
|
|
10
10
|
export declare function supportedFields(fields: __esri.Field[] | null | undefined): __esri.Field[];
|
|
11
|
+
export declare function fieldAlias(field: __esri.Field): string;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import type { ApiVariableType, ApiProfile
|
|
2
|
-
import type
|
|
3
|
-
type IndexedProfileStrings = ProfileStrings & Record<string, string | undefined>;
|
|
4
|
-
/**
|
|
5
|
-
* Describe the support source for some of the editor variables.
|
|
6
|
-
*/
|
|
7
|
-
type SupportedSource = __esri.FeatureSet | IFieldsDefinition | SupportedLayer;
|
|
1
|
+
import type { ApiVariableType, ApiProfile } from "@arcgis/arcade-languageservice";
|
|
2
|
+
import type * as types from "./types";
|
|
8
3
|
/**
|
|
9
4
|
* FeatureSetCollection interface. Used in Arcade expressions to represent Web Maps
|
|
10
5
|
* or Feature Services.
|
|
@@ -26,29 +21,13 @@ interface IFeatureSetCollections {
|
|
|
26
21
|
*/
|
|
27
22
|
source: __esri.WebMap | __esri.WebScene | string;
|
|
28
23
|
}
|
|
29
|
-
/**
|
|
30
|
-
* Represents a string that will have to be manufactured from a Intl strings resource.
|
|
31
|
-
*/
|
|
32
|
-
interface IIntlString {
|
|
33
|
-
/**
|
|
34
|
-
* The intl code in the Intl strings resource.
|
|
35
|
-
*/
|
|
36
|
-
code: string;
|
|
37
|
-
/**
|
|
38
|
-
* The properties that the Intl string may leverage during the composition of the string.
|
|
39
|
-
* Example:
|
|
40
|
-
* - the intl string is defined as: "webmaptitle": "Web Map - {title}"
|
|
41
|
-
* - the formatValues should be an object `{title: "California Fires"}`
|
|
42
|
-
*/
|
|
43
|
-
formatValues?: Record<string, string>;
|
|
44
|
-
}
|
|
45
24
|
type ProfileItemType = ApiVariableType | "group";
|
|
46
25
|
export type EditorVariable = ArrayVariable | DictionaryVariable | FeatureSetCollectionVariable | FeatureSetVariable | FeatureVariable | ValueVariable;
|
|
47
26
|
interface ConstructorProperties<T> {
|
|
48
27
|
profile?: EditorProfile | null;
|
|
49
28
|
declaration?: Partial<T>;
|
|
50
|
-
label?: IIntlString | string;
|
|
51
|
-
description?: IIntlString | string;
|
|
29
|
+
label?: types.IIntlString | string;
|
|
30
|
+
description?: types.IIntlString | string;
|
|
52
31
|
snippet?: string;
|
|
53
32
|
nonInteractive?: boolean;
|
|
54
33
|
filterDescription?: boolean;
|
|
@@ -62,14 +41,14 @@ interface ConstructorProperties<T> {
|
|
|
62
41
|
declare abstract class ProfileItemBase {
|
|
63
42
|
protected _profile: EditorProfile | null | undefined;
|
|
64
43
|
private readonly _label;
|
|
65
|
-
protected readonly description?: string | IIntlString | undefined;
|
|
44
|
+
protected readonly description?: string | types.IIntlString | undefined;
|
|
66
45
|
abstract readonly type: ProfileItemType;
|
|
67
46
|
protected filterDescription: boolean;
|
|
68
47
|
/**
|
|
69
48
|
* True if the item repsents a collection of items.
|
|
70
49
|
*/
|
|
71
50
|
abstract readonly isCollection: boolean;
|
|
72
|
-
constructor(_profile: EditorProfile | null | undefined, _label: IIntlString | string | undefined, description?: string | IIntlString | undefined);
|
|
51
|
+
constructor(_profile: EditorProfile | null | undefined, _label: types.IIntlString | string | undefined, description?: string | types.IIntlString | undefined);
|
|
73
52
|
/**
|
|
74
53
|
* Returns the label string.
|
|
75
54
|
*/
|
|
@@ -94,23 +73,23 @@ declare abstract class VariableBase extends ProfileItemBase {
|
|
|
94
73
|
* True if the variable doesn't can be used as snippet by the editor.
|
|
95
74
|
*/
|
|
96
75
|
readonly nonInteractive: boolean;
|
|
97
|
-
protected declaration: Partial<IProfileVariableBase>;
|
|
76
|
+
protected declaration: Partial<types.IProfileVariableBase>;
|
|
98
77
|
icon: string | undefined;
|
|
99
|
-
constructor(props: ConstructorProperties<IProfileVariableBase>);
|
|
78
|
+
constructor(props: ConstructorProperties<types.IProfileVariableBase>);
|
|
100
79
|
/**
|
|
101
80
|
* Returns the IProfileVariable json representation.
|
|
102
81
|
*/
|
|
103
|
-
abstract toProfileVariableDefinition(): IProfileVariable;
|
|
82
|
+
abstract toProfileVariableDefinition(): types.IProfileVariable;
|
|
104
83
|
}
|
|
105
84
|
/**
|
|
106
85
|
* Represents the IProfileValue.
|
|
107
86
|
*/
|
|
108
87
|
export declare class ValueVariable extends VariableBase {
|
|
109
|
-
type: ProfileVariableValueType;
|
|
88
|
+
type: types.ProfileVariableValueType;
|
|
110
89
|
isCollection: false;
|
|
111
|
-
constructor(props: ConstructorProperties<IProfileValue>);
|
|
90
|
+
constructor(props: ConstructorProperties<types.IProfileValue>);
|
|
112
91
|
getDescription(): string;
|
|
113
|
-
toProfileVariableDefinition(): IProfileVariable;
|
|
92
|
+
toProfileVariableDefinition(): types.IProfileVariable;
|
|
114
93
|
}
|
|
115
94
|
/**
|
|
116
95
|
* Represents the IProfileArray. The main difference is that the IProfileValue type
|
|
@@ -119,10 +98,10 @@ export declare class ValueVariable extends VariableBase {
|
|
|
119
98
|
export declare class ArrayVariable extends VariableBase {
|
|
120
99
|
type: "array";
|
|
121
100
|
isCollection: false;
|
|
122
|
-
elementType: IProfileVariable;
|
|
123
|
-
constructor(props: ConstructorProperties<IProfileArray>);
|
|
101
|
+
elementType: types.IProfileVariable;
|
|
102
|
+
constructor(props: ConstructorProperties<types.IProfileArray>);
|
|
124
103
|
getDescription(): string;
|
|
125
|
-
toProfileVariableDefinition(): IProfileArray;
|
|
104
|
+
toProfileVariableDefinition(): types.IProfileArray;
|
|
126
105
|
}
|
|
127
106
|
/**
|
|
128
107
|
* Represents a collection of items. The collection of items can be synchronous or
|
|
@@ -131,6 +110,7 @@ export declare class ArrayVariable extends VariableBase {
|
|
|
131
110
|
* collection is ready or not.
|
|
132
111
|
*/
|
|
133
112
|
export declare abstract class CollectionBasedVariable extends VariableBase {
|
|
113
|
+
private owner;
|
|
134
114
|
isCollection: true;
|
|
135
115
|
protected _loaded: boolean;
|
|
136
116
|
/**
|
|
@@ -139,6 +119,8 @@ export declare abstract class CollectionBasedVariable extends VariableBase {
|
|
|
139
119
|
* be called first before using the items.
|
|
140
120
|
*/
|
|
141
121
|
variables: (EditorVariable | GroupOfVariables)[];
|
|
122
|
+
constructor(owner: CollectionBasedVariable | undefined, props: ConstructorProperties<types.IProfileVariableBase>);
|
|
123
|
+
get breadcrumb(): string;
|
|
142
124
|
/**
|
|
143
125
|
* Returns true if the collection has been loaded
|
|
144
126
|
*/
|
|
@@ -147,7 +129,7 @@ export declare abstract class CollectionBasedVariable extends VariableBase {
|
|
|
147
129
|
* Loads the items if the collection is asynchronous.
|
|
148
130
|
* If the colleciton is synchronous then the function is a no-op.
|
|
149
131
|
*/
|
|
150
|
-
loadSource(): Promise<unknown>;
|
|
132
|
+
abstract loadSource(): Promise<unknown>;
|
|
151
133
|
/**
|
|
152
134
|
* Returns an url to the associated information
|
|
153
135
|
*/
|
|
@@ -158,7 +140,7 @@ export declare class GroupOfVariables extends ProfileItemBase {
|
|
|
158
140
|
variables: (EditorVariable | GroupOfVariables)[];
|
|
159
141
|
type: "group";
|
|
160
142
|
isCollection: true;
|
|
161
|
-
constructor(profile: EditorProfile | null | undefined, label: IIntlString | string, variables?: (EditorVariable | GroupOfVariables)[]);
|
|
143
|
+
constructor(profile: EditorProfile | null | undefined, label: types.IIntlString | string, variables?: (EditorVariable | GroupOfVariables)[]);
|
|
162
144
|
passFilter(): boolean;
|
|
163
145
|
}
|
|
164
146
|
export declare class DictionaryVariable extends CollectionBasedVariable {
|
|
@@ -168,11 +150,12 @@ export declare class DictionaryVariable extends CollectionBasedVariable {
|
|
|
168
150
|
* The variables may contain grouping.
|
|
169
151
|
*/
|
|
170
152
|
dictionaryVariables: EditorVariable[];
|
|
171
|
-
constructor(props: ConstructorProperties<IProfileDictionary>);
|
|
172
|
-
|
|
153
|
+
constructor(owner: CollectionBasedVariable | undefined, props: ConstructorProperties<types.IProfileDictionary>);
|
|
154
|
+
loadSource(): Promise<void>;
|
|
155
|
+
protected loadPropertyDeclarations(declarations: types.IProfileVariable[] | undefined): void;
|
|
173
156
|
private createVariableInstances;
|
|
174
157
|
private createVariableInstance;
|
|
175
|
-
toProfileVariableDefinition(): IProfileVariable;
|
|
158
|
+
toProfileVariableDefinition(): types.IProfileVariable;
|
|
176
159
|
}
|
|
177
160
|
interface IRelationshipsProperties {
|
|
178
161
|
exposeRelationships: boolean;
|
|
@@ -180,16 +163,16 @@ interface IRelationshipsProperties {
|
|
|
180
163
|
}
|
|
181
164
|
declare abstract class SourceBasedVariable extends CollectionBasedVariable {
|
|
182
165
|
private relationshipsProperties?;
|
|
183
|
-
protected _definition?: FeatureDefinition | FeatureSetDefinition;
|
|
184
|
-
protected _source: SupportedSource | null;
|
|
185
|
-
protected _loadPromise?: Promise<SupportedSource | null>;
|
|
186
|
-
constructor(props: ConstructorProperties<IProfileFeature | IProfileFeatureSet>, relationshipsProperties?: IRelationshipsProperties | undefined);
|
|
187
|
-
get title(): IIntlString | string;
|
|
166
|
+
protected _definition?: types.FeatureDefinition | types.FeatureSetDefinition;
|
|
167
|
+
protected _source: types.SupportedSource | null;
|
|
168
|
+
protected _loadPromise?: Promise<types.SupportedSource | null>;
|
|
169
|
+
constructor(owner: CollectionBasedVariable | undefined, props: ConstructorProperties<types.IProfileFeature | types.IProfileFeatureSet>, relationshipsProperties?: IRelationshipsProperties | undefined);
|
|
170
|
+
get title(): types.IIntlString | string;
|
|
188
171
|
get url(): string;
|
|
189
172
|
get informationUrl(): string | null;
|
|
190
173
|
get informationType(): string;
|
|
191
|
-
loadSource(): Promise<SupportedSource | null>;
|
|
192
|
-
protected abstract _loadSource(): Promise<SupportedSource | null>;
|
|
174
|
+
loadSource(): Promise<types.SupportedSource | null>;
|
|
175
|
+
protected abstract _loadSource(): Promise<types.SupportedSource | null>;
|
|
193
176
|
private _getValueSnippet;
|
|
194
177
|
private _getSubtypeOrDomainNameSnippet;
|
|
195
178
|
protected _getFieldProperty(field: __esri.Field): EditorVariable;
|
|
@@ -197,31 +180,34 @@ declare abstract class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
197
180
|
private _getSubtypeDomainDictionary;
|
|
198
181
|
private _getFeatureTypeDomainDictionary;
|
|
199
182
|
private _getFieldDomainDictionary;
|
|
183
|
+
private _getTypeOrSubtypeDomainGroup;
|
|
184
|
+
private _getCodedValueDomainGroup;
|
|
185
|
+
private _getDomainValuesGroup;
|
|
200
186
|
protected _createDomainDictionary(field: __esri.Field): DictionaryVariable;
|
|
201
187
|
protected _getRelationshipsProperty(): Promise<GroupOfVariables | null>;
|
|
202
188
|
}
|
|
203
189
|
export declare class FeatureVariable extends SourceBasedVariable {
|
|
204
190
|
type: "feature";
|
|
205
|
-
constructor(props: ConstructorProperties<IProfileFeature>);
|
|
206
|
-
get title(): IIntlString | string;
|
|
207
|
-
protected _loadSource(): Promise<SupportedSource | null>;
|
|
208
|
-
toProfileVariableDefinition(): IProfileVariable;
|
|
191
|
+
constructor(owner: CollectionBasedVariable | undefined, props: ConstructorProperties<types.IProfileFeature>);
|
|
192
|
+
get title(): types.IIntlString | string;
|
|
193
|
+
protected _loadSource(): Promise<types.SupportedSource | null>;
|
|
194
|
+
toProfileVariableDefinition(): types.IProfileVariable;
|
|
209
195
|
}
|
|
210
196
|
export declare class FeatureSetVariable extends SourceBasedVariable {
|
|
211
197
|
private featureSetSnippets;
|
|
212
198
|
type: "featureSet";
|
|
213
|
-
protected _definition?: FeatureSetDefinition;
|
|
214
|
-
constructor(props: ConstructorProperties<IProfileFeatureSet>, featureSetSnippets?: ValueVariable[], relationshipProps?: IRelationshipsProperties);
|
|
215
|
-
get title(): IIntlString | string;
|
|
216
|
-
protected _loadSource(): Promise<SupportedSource | null>;
|
|
217
|
-
toProfileVariableDefinition(): IProfileVariable;
|
|
199
|
+
protected _definition?: types.FeatureSetDefinition;
|
|
200
|
+
constructor(owner: CollectionBasedVariable | undefined, props: ConstructorProperties<types.IProfileFeatureSet>, featureSetSnippets?: ValueVariable[], relationshipProps?: IRelationshipsProperties);
|
|
201
|
+
get title(): types.IIntlString | string;
|
|
202
|
+
protected _loadSource(): Promise<types.SupportedSource | null>;
|
|
203
|
+
toProfileVariableDefinition(): types.IProfileVariable;
|
|
218
204
|
}
|
|
219
205
|
export declare class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
220
206
|
type: "featureSetCollection";
|
|
221
207
|
private _definition?;
|
|
222
208
|
private _loadPromise?;
|
|
223
209
|
private _featureSetCollections;
|
|
224
|
-
constructor(props: ConstructorProperties<IProfileFeatureSetCollection>);
|
|
210
|
+
constructor(owner: CollectionBasedVariable | undefined, props: ConstructorProperties<types.IProfileFeatureSetCollection>);
|
|
225
211
|
get informationUrl(): string | null;
|
|
226
212
|
get informationType(): string;
|
|
227
213
|
loadSource(): Promise<IFeatureSetCollections | null>;
|
|
@@ -233,7 +219,7 @@ export declare class FeatureSetCollectionVariable extends CollectionBasedVariabl
|
|
|
233
219
|
private _convertWebMapLayersToVariables;
|
|
234
220
|
private _createFeatureSetVariable;
|
|
235
221
|
private _makeFeatureSetSnippets;
|
|
236
|
-
toProfileVariableDefinition(): IProfileVariable;
|
|
222
|
+
toProfileVariableDefinition(): types.IProfileVariable;
|
|
237
223
|
}
|
|
238
224
|
/**
|
|
239
225
|
* The EditorProfile is an object that represents an Arcade Profile.
|
|
@@ -244,11 +230,11 @@ export declare class FeatureSetCollectionVariable extends CollectionBasedVariabl
|
|
|
244
230
|
* They need to be loaded asynchronously to get the metadata necessary for validation and completion.
|
|
245
231
|
*/
|
|
246
232
|
export declare class EditorProfile extends DictionaryVariable {
|
|
247
|
-
readonly definition: IEditorProfileDefinition | undefined;
|
|
248
|
-
readonly intlStrings: IndexedProfileStrings;
|
|
233
|
+
readonly definition: types.IEditorProfileDefinition | undefined;
|
|
234
|
+
readonly intlStrings: types.IndexedProfileStrings;
|
|
249
235
|
readonly locale: string;
|
|
250
236
|
variables: EditorVariable[];
|
|
251
|
-
constructor(definition: IEditorProfileDefinition | undefined, intlStrings: IndexedProfileStrings, locale?: string);
|
|
237
|
+
constructor(definition: types.IEditorProfileDefinition | undefined, intlStrings: types.IndexedProfileStrings, locale?: string);
|
|
252
238
|
/**
|
|
253
239
|
* Returns true if the profile supports feature set functions for snippets.
|
|
254
240
|
*/
|
|
@@ -261,6 +247,6 @@ export declare class EditorProfile extends DictionaryVariable {
|
|
|
261
247
|
* Returns the EditorProfile as a json. The EditorProfile may have been updated. This function allows to
|
|
262
248
|
* get the new json representing mutations.
|
|
263
249
|
*/
|
|
264
|
-
toEditorProfileDefinition(): IEditorProfileDefinition;
|
|
250
|
+
toEditorProfileDefinition(): types.IEditorProfileDefinition;
|
|
265
251
|
}
|
|
266
252
|
export {};
|