@arcgis/coding-components 4.30.0-next.1 → 4.30.0-next.101
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 +1 -1
- package/README.md +2 -4
- package/dist/arcgis-coding-components/arcgis-coding-components.css +1 -1
- 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 +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ar.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bg.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bs.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ca.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.cs.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.da.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.de.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.el.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.en.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.es.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.et.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fi.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fr.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.he.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hr.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hu.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.id.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.it.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ja.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ko.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lt.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lv.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nb.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nl.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pl.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-BR.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-PT.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ro.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ru.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sk.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sl.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sr.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sv.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.th.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.tr.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.uk.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.vi.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-CN.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-HK.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-TW.json +2 -0
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +2 -2
- package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +1 -1
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-2c66cecd.js → p-0f5ea6a1.js} +2 -2
- package/dist/arcgis-coding-components/p-2d2b6eae.js +6 -0
- package/dist/arcgis-coding-components/p-31eb70a4.js +6 -0
- package/dist/arcgis-coding-components/{p-01d806ab.js → p-4bab7731.js} +3 -3
- package/dist/arcgis-coding-components/{p-0ecfaaf8.js → p-5105798e.js} +2 -2
- package/dist/arcgis-coding-components/p-55e2b096.js +7 -0
- package/dist/arcgis-coding-components/p-5a2d1bbd.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-3162633c.js → p-76488b50.js} +1 -1
- package/dist/arcgis-coding-components/{p-4aab897b.js → p-7787a74a.js} +3 -3
- package/dist/arcgis-coding-components/{p-5050b8e6.js → p-8f50109f.js} +2 -2
- package/dist/arcgis-coding-components/{p-9556a8c6.js → p-c8a959eb.js} +3 -3
- package/dist/arcgis-coding-components/{p-c5c082c2.js → p-fc9f6d89.js} +3 -3
- package/dist/arcgis-coding-components/p-fee904e7.js +68 -0
- package/dist/cjs/app-globals-bb91d518.js +10 -0
- package/dist/cjs/{arcade-defaults-337189cc.js → arcade-defaults-4898d970.js} +760 -295
- package/dist/cjs/{arcade-mode-3b9ec201.js → arcade-mode-6490aec6.js} +76 -82
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1677 -315
- package/dist/cjs/arcgis-coding-components.cjs.js +14 -12
- package/dist/cjs/{css-9d93d685.js → css-aabfc91d.js} +1 -1
- package/dist/cjs/{cssMode-cf97e01f.js → cssMode-3a27637c.js} +3 -3
- package/dist/cjs/{html-9bbb2b9f.js → html-a8ccb23b.js} +3 -3
- package/dist/cjs/{htmlMode-29fbfd01.js → htmlMode-8e2f185d.js} +3 -3
- package/dist/cjs/index-a3fb2965.js +1303 -0
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-ea7308ab.js → javascript-abb50119.js} +4 -4
- package/dist/cjs/{jsonMode-25c548e6.js → jsonMode-a2d6e8f7.js} +3 -3
- package/dist/cjs/loader.cjs.js +6 -4
- package/dist/cjs/{tsMode-c54b0496.js → tsMode-67ff84f3.js} +3 -3
- package/dist/cjs/{typescript-89d35abd.js → typescript-24e83bb2.js} +3 -3
- package/dist/components/arcade-api.js +25 -34
- package/dist/components/arcade-contribution.js +72 -13
- package/dist/components/arcade-defaults.js +175 -168
- package/dist/components/arcade-mode.js +44 -50
- package/dist/components/arcade-results.js +49 -61
- package/dist/components/arcade-suggestions.js +25 -34
- package/dist/components/arcade-variables.js +24 -37
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +68 -165
- 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-assets.d.ts +35 -0
- package/dist/components/arcgis-assets.js +3 -3
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/chunk-IHYYRFLQ.js +1363 -0
- package/dist/components/code-editor.js +75 -82
- package/dist/components/fields.js +45 -45
- package/dist/components/index.d.ts +3 -18
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +394 -3
- package/dist/components/markdown.js +13 -27
- package/dist/components/useT9n.js +37 -0
- package/dist/components/utilities.js +3 -3
- package/dist/esm/app-globals-6786f5f7.js +8 -0
- package/dist/esm/{arcade-defaults-80ab7068.js → arcade-defaults-a8fc1923.js} +743 -281
- package/dist/esm/{arcade-mode-145e7a14.js → arcade-mode-6fe947ed.js} +76 -82
- package/dist/esm/arcgis-arcade-api_6.entry.js +1677 -315
- package/dist/esm/arcgis-coding-components.js +15 -13
- package/dist/esm/{css-d2e6a792.js → css-0813d5f7.js} +1 -1
- package/dist/esm/{cssMode-6d9545da.js → cssMode-cd23aebd.js} +3 -3
- package/dist/esm/{html-0af5dfb9.js → html-0575e99e.js} +3 -3
- package/dist/esm/{htmlMode-7006edc4.js → htmlMode-cb330b8f.js} +3 -3
- package/dist/esm/index-87f79540.js +1272 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-89b3eeb2.js → javascript-b65b7062.js} +4 -4
- package/dist/esm/{jsonMode-a3501a18.js → jsonMode-e0567430.js} +3 -3
- package/dist/esm/loader.js +7 -5
- package/dist/esm/{tsMode-29dad6cb.js → tsMode-9c8bd51b.js} +3 -3
- package/dist/esm/{typescript-6f3a39e0.js → typescript-044e2911.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-api/arcade-api.d.ts +6 -7
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +21 -15
- package/dist/types/components/arcade-results/arcade-results.d.ts +6 -9
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +7 -8
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +6 -8
- package/dist/types/components/code-editor/code-editor.d.ts +25 -15
- package/dist/types/components.d.ts +57 -35
- package/dist/types/controllers/useT9n.d.ts +1 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +34 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +15 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +6 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +9 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +9 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +19 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +6 -0
- package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +1 -1
- package/dist/types/utils/profile/editor-profile.d.ts +1 -1
- package/dist/types/utils/profile/types.d.ts +40 -13
- package/dist/types/utils/profile/utils.d.ts +6 -5
- package/package.json +24 -24
- package/dist/arcgis-coding-components/p-0f15d754.entry.js +0 -6
- package/dist/arcgis-coding-components/p-26cb350b.js +0 -6
- package/dist/arcgis-coding-components/p-68bd0d31.js +0 -7
- package/dist/arcgis-coding-components/p-bad6d07f.js +0 -68
- package/dist/cjs/index-b66d3898.js +0 -1958
- package/dist/esm/index-a2b632a0.js +0 -1927
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
5
5
|
*/
|
|
6
|
-
export { a as arcade } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
export { a as arcade } from './arcade-defaults-a8fc1923.js';
|
|
7
|
+
import './index-87f79540.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
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-044e2911.js';
|
|
7
|
+
import './arcade-defaults-a8fc1923.js';
|
|
8
|
+
import './index-87f79540.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { B as monaco_editor_core_star } from './arcade-defaults-a8fc1923.js';
|
|
7
|
+
import './index-87f79540.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
5
5
|
*/
|
|
6
|
-
import { b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
6
|
+
import { b as bootstrapLazy } from './index-87f79540.js';
|
|
7
|
+
export { s as setNonce } from './index-87f79540.js';
|
|
8
|
+
import { g as globalScripts } from './app-globals-6786f5f7.js';
|
|
8
9
|
|
|
9
|
-
const defineCustomElements = (win, options) => {
|
|
10
|
+
const defineCustomElements = async (win, options) => {
|
|
10
11
|
if (typeof window === 'undefined') return undefined;
|
|
11
|
-
|
|
12
|
+
await globalScripts();
|
|
13
|
+
return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1025],"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"],"editorOptions":[16],"editorInstance":[16],"messages":[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"],"_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]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"options":[16],"editorInstance":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"language":["languagePropChange"],"modelId":["modelIdPropChange"],"options":["optionsPropChange"]}]]]], options);
|
|
12
14
|
};
|
|
13
15
|
|
|
14
16
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { C as typescriptDefaults, B as monaco_editor_core_star } from './arcade-defaults-a8fc1923.js';
|
|
7
|
+
import './index-87f79540.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import './index-
|
|
6
|
+
import { B as monaco_editor_core_star } from './arcade-defaults-a8fc1923.js';
|
|
7
|
+
import './index-87f79540.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.101
|
|
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';
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import type { VNode, EventEmitter, ComponentInterface } from "../../stencil-public-runtime";
|
|
2
2
|
import type { ApiCategory, ApiItem } from "@arcgis/arcade-languageservice";
|
|
3
|
-
import type {
|
|
3
|
+
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
4
4
|
/** @internal */
|
|
5
5
|
export declare class ArcgisArcadeApi implements ComponentInterface {
|
|
6
|
+
manager: ControllerManager<this>;
|
|
6
7
|
private _flowObserver?;
|
|
7
8
|
private _themeChangedListner?;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_t9nLocale: string;
|
|
11
|
-
_t9nStrings: ArcadeAPIStrings | undefined;
|
|
9
|
+
private messages;
|
|
10
|
+
el: HTMLArcgisArcadeApiElement;
|
|
12
11
|
_selectedApiItem: ApiItem | undefined;
|
|
13
12
|
_filterValue: string;
|
|
14
13
|
_colorizeStyle: string;
|
|
@@ -25,11 +24,11 @@ export declare class ArcgisArcadeApi implements ComponentInterface {
|
|
|
25
24
|
/**
|
|
26
25
|
* Raised when the close action has been requested
|
|
27
26
|
*/
|
|
28
|
-
|
|
27
|
+
arcgisClose: EventEmitter<void>;
|
|
29
28
|
/**
|
|
30
29
|
* Raised when an item has been selected
|
|
31
30
|
*/
|
|
32
|
-
|
|
31
|
+
arcgisItemSelected: EventEmitter<string>;
|
|
33
32
|
componentWillLoad(): Promise<void>;
|
|
34
33
|
disconnectedCallback(): void;
|
|
35
34
|
private _updateApiLibrary;
|
|
@@ -8,18 +8,20 @@ import type { EditorProfile } from "../../utils/profile/editor-profile";
|
|
|
8
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
|
+
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
11
12
|
export type SidePanelName = "api" | "none" | "suggestions" | "variables";
|
|
12
13
|
export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
14
|
+
manager: ControllerManager<this>;
|
|
13
15
|
private _codeEditorElt?;
|
|
14
16
|
private _componentReadyDefer;
|
|
15
17
|
private _modelId;
|
|
16
18
|
private _editorProfilePromise;
|
|
17
19
|
private _disposables;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
el: HTMLArcgisArcadeEditorElement;
|
|
21
|
+
messages: {
|
|
22
|
+
_lang: string;
|
|
23
|
+
_t9nLocale: string;
|
|
24
|
+
} & Partial<ArcadeEditorStrings>;
|
|
23
25
|
_preparingProfile: boolean;
|
|
24
26
|
_editorProfile: EditorProfile | undefined;
|
|
25
27
|
_showExecutionPanel: boolean;
|
|
@@ -44,7 +46,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
44
46
|
* ```
|
|
45
47
|
*/
|
|
46
48
|
profile: IEditorProfileDefinition | IPredefinedProfile | undefined;
|
|
47
|
-
_profileChanged(
|
|
49
|
+
_profileChanged(): void;
|
|
48
50
|
/**
|
|
49
51
|
* The arcade script. Use this property to define or update the script.
|
|
50
52
|
*/
|
|
@@ -53,7 +55,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
53
55
|
* Test data used to execute the script in the editor. If undefined the execute script UX will be hidden.
|
|
54
56
|
*/
|
|
55
57
|
testData: IEditorTestContext | undefined;
|
|
56
|
-
_testDataChanged(
|
|
58
|
+
_testDataChanged(): void;
|
|
57
59
|
/**
|
|
58
60
|
* Collection of suggestions
|
|
59
61
|
*/
|
|
@@ -62,7 +64,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
62
64
|
* Collection of snippets
|
|
63
65
|
*/
|
|
64
66
|
snippets: ApiSnippet[] | undefined;
|
|
65
|
-
_snippetChanged(
|
|
67
|
+
_snippetChanged(): void;
|
|
66
68
|
/**
|
|
67
69
|
* If true, it will hide the documentation action in the side panel
|
|
68
70
|
*/
|
|
@@ -84,8 +86,13 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
84
86
|
*/
|
|
85
87
|
editorOptions: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
|
|
86
88
|
/**
|
|
87
|
-
*
|
|
88
|
-
* @
|
|
89
|
+
* The instance of the Monaco Editor.
|
|
90
|
+
* @readonly
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
editorInstance: editor.IStandaloneCodeEditor | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* @deprecated Use `script` property instead.
|
|
89
96
|
*/
|
|
90
97
|
getScript(): Promise<string | undefined>;
|
|
91
98
|
/**
|
|
@@ -94,8 +101,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
94
101
|
setFocus(): Promise<void>;
|
|
95
102
|
/**
|
|
96
103
|
* @internal
|
|
97
|
-
*
|
|
98
|
-
* @returns {Promise<IStandaloneCodeEditor>} - The monaco editor instance
|
|
104
|
+
* @deprecated Use `editorInstance` property instead.
|
|
99
105
|
*/
|
|
100
106
|
getEditorInstance(): Promise<editor.IStandaloneCodeEditor | undefined>;
|
|
101
107
|
/**
|
|
@@ -110,11 +116,11 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
110
116
|
/**
|
|
111
117
|
* Emitted when the script string has changed.
|
|
112
118
|
*/
|
|
113
|
-
|
|
119
|
+
arcgisScriptChange: EventEmitter<string>;
|
|
114
120
|
/**
|
|
115
121
|
* Emitted when the disagnostics collection has changed.
|
|
116
122
|
*/
|
|
117
|
-
|
|
123
|
+
arcgisDiagnosticsChange: EventEmitter<Diagnostic[]>;
|
|
118
124
|
componentWillLoad(): Promise<void>;
|
|
119
125
|
componentDidLoad(): Promise<void>;
|
|
120
126
|
disconnectedCallback(): void;
|
|
@@ -124,7 +130,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
124
130
|
private _toggleSideActionBarExpanded;
|
|
125
131
|
private _toggleSidePanel;
|
|
126
132
|
private _openArcadeHelp;
|
|
127
|
-
private
|
|
133
|
+
private _onCodeEditorValueChange;
|
|
128
134
|
private _insertAsSnippet;
|
|
129
135
|
private _insertAsText;
|
|
130
136
|
private _onResultPanelChange;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import type { ComponentInterface, EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import type { ArcadeResult } from "../../utils/arcade-executor";
|
|
3
|
-
import type {
|
|
3
|
+
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
4
4
|
export type ResultPanelName = "console" | "log" | "output";
|
|
5
5
|
/** @internal */
|
|
6
6
|
export declare class ArcgisArcadeResults implements ComponentInterface {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_t9nStrings: ArcadeResultsStrings | undefined;
|
|
7
|
+
manager: ControllerManager<this>;
|
|
8
|
+
private messages;
|
|
9
|
+
el: HTMLArcgisArcadeResultsElement;
|
|
11
10
|
/**
|
|
12
11
|
* Loading state
|
|
13
12
|
*/
|
|
@@ -27,13 +26,11 @@ export declare class ArcgisArcadeResults implements ComponentInterface {
|
|
|
27
26
|
/**
|
|
28
27
|
* Raised when the opened result panel has changed
|
|
29
28
|
*/
|
|
30
|
-
|
|
29
|
+
arcgisOpenedResultPanelChange: EventEmitter<ResultPanelName>;
|
|
31
30
|
/**
|
|
32
31
|
* Raise when the clode action has been activated
|
|
33
32
|
*/
|
|
34
|
-
|
|
35
|
-
componentWillLoad(): Promise<void>;
|
|
36
|
-
disconnectedCallback(): void;
|
|
33
|
+
arcgisClose: EventEmitter<void>;
|
|
37
34
|
private updateResultPanel;
|
|
38
35
|
private _switchResultPanel;
|
|
39
36
|
private _emitClose;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import type { VNode, EventEmitter, ComponentInterface } from "../../stencil-public-runtime";
|
|
2
2
|
import type { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from "../../utils/editor-suggestions";
|
|
3
|
-
import type {
|
|
3
|
+
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
4
4
|
/** @internal */
|
|
5
5
|
export declare class ArcgisArcadeSuggestions implements ComponentInterface {
|
|
6
|
+
manager: ControllerManager<this>;
|
|
6
7
|
private _flowObserver?;
|
|
7
|
-
private
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_t9nLocale: string;
|
|
11
|
-
_t9nStrings: ArcadeSuggestionsStrings | undefined;
|
|
8
|
+
private _themeChangedListener?;
|
|
9
|
+
private messages;
|
|
10
|
+
el: HTMLArcgisArcadeSuggestionsElement;
|
|
12
11
|
_selectedSuggestion: IEditorCodeSuggestion | undefined;
|
|
13
12
|
_filterValue: string;
|
|
14
13
|
_colorizeStyle: string;
|
|
@@ -20,11 +19,11 @@ export declare class ArcgisArcadeSuggestions implements ComponentInterface {
|
|
|
20
19
|
/**
|
|
21
20
|
* Raised when close action has been activated
|
|
22
21
|
*/
|
|
23
|
-
|
|
22
|
+
arcgisClose: EventEmitter<void>;
|
|
24
23
|
/**
|
|
25
24
|
* Raised when an item has been selected
|
|
26
25
|
*/
|
|
27
|
-
|
|
26
|
+
arcgisItemSelected: EventEmitter<string>;
|
|
28
27
|
componentWillLoad(): Promise<void>;
|
|
29
28
|
disconnectedCallback(): void;
|
|
30
29
|
private flowFocusHandler;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { VNode, EventEmitter, ComponentInterface } from "../../stencil-public-runtime";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
3
3
|
/** @internal */
|
|
4
4
|
export declare class ArcgisArcadeVariables implements ComponentInterface {
|
|
5
|
+
manager: ControllerManager<this>;
|
|
5
6
|
private _flowObserver?;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
_t9nLocale: string;
|
|
9
|
-
_t9nStrings: ArcadeVariablesStrings | undefined;
|
|
7
|
+
private messages;
|
|
8
|
+
el: HTMLArcgisArcadeVariablesElement;
|
|
10
9
|
_mutationCounter: number;
|
|
11
10
|
_flowItemRenderers: (() => VNode)[];
|
|
12
11
|
_filterValue: string;
|
|
@@ -22,12 +21,11 @@ export declare class ArcgisArcadeVariables implements ComponentInterface {
|
|
|
22
21
|
/**
|
|
23
22
|
* Raised when close action has been activated
|
|
24
23
|
*/
|
|
25
|
-
|
|
24
|
+
arcgisClose: EventEmitter<void>;
|
|
26
25
|
/**
|
|
27
26
|
* Raised when an item has been selected
|
|
28
27
|
*/
|
|
29
|
-
|
|
30
|
-
componentWillLoad(): Promise<void>;
|
|
28
|
+
arcgisItemSelected: EventEmitter<string>;
|
|
31
29
|
disconnectedCallback(): void;
|
|
32
30
|
private addPanelRenderer;
|
|
33
31
|
private removeLastPanelRenderer;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import type { EventEmitter, VNode, ComponentInterface } from "../../stencil-public-runtime";
|
|
2
|
+
import type { Selection } from "monaco-editor";
|
|
2
3
|
import { editor } from "monaco-editor";
|
|
4
|
+
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
3
5
|
import "../../utils/arcade-monaco/arcade-contribution";
|
|
4
6
|
export declare class ArcgisCodeEditor implements ComponentInterface {
|
|
5
|
-
|
|
7
|
+
manager: ControllerManager<this>;
|
|
8
|
+
private _editorInstance;
|
|
6
9
|
private _currentTheme?;
|
|
7
10
|
private _themeObserver?;
|
|
8
11
|
private _componentReadyDefer;
|
|
9
12
|
private _disposables;
|
|
10
|
-
|
|
13
|
+
el: HTMLArcgisCodeEditorElement;
|
|
11
14
|
/**
|
|
12
15
|
* The initial value for the editor.
|
|
13
16
|
* The value is the script, code, css, json, etc.
|
|
14
17
|
*/
|
|
15
|
-
value: string
|
|
16
|
-
valuePropChange(newValue: string | undefined, oldValue: string | undefined): void;
|
|
18
|
+
value: string;
|
|
17
19
|
/**
|
|
18
20
|
* The language for the editor.
|
|
19
21
|
* Currently supported language: arcade, json, css, html, javascript, typescript, and text.
|
|
20
22
|
*/
|
|
21
23
|
language: string | undefined;
|
|
22
|
-
languagePropChange(
|
|
24
|
+
languagePropChange(): void;
|
|
23
25
|
/**
|
|
24
26
|
* A unique identifier for the model.
|
|
25
27
|
* The unique identifier is sometimes used by language defaults to store model metadata.
|
|
@@ -27,22 +29,23 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
|
|
|
27
29
|
* The unique identifier is especially useful when there are multiple editors on the same page.
|
|
28
30
|
*/
|
|
29
31
|
modelId: string;
|
|
30
|
-
modelIdPropChange(
|
|
32
|
+
modelIdPropChange(): void;
|
|
31
33
|
/**
|
|
32
34
|
* The options for the editor (see Monaco Editor options documentation for more details).
|
|
33
35
|
*/
|
|
34
36
|
options: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
|
|
35
37
|
optionsPropChange(newValue: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined): void;
|
|
36
38
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @
|
|
39
|
+
* The instance of the Monaco Editor.
|
|
40
|
+
* @readonly
|
|
41
|
+
*/
|
|
42
|
+
editorInstance: editor.IStandaloneCodeEditor | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated Use `value` property instead.
|
|
39
45
|
*/
|
|
40
46
|
getValue(): Promise<string>;
|
|
41
47
|
/**
|
|
42
|
-
*
|
|
43
|
-
* on the model to preserve undo/redo stack.
|
|
44
|
-
* @param text
|
|
45
|
-
* @returns {Promise<void>}
|
|
48
|
+
* @deprecated Use `value` property instead.
|
|
46
49
|
*/
|
|
47
50
|
setValue(text: string | null | undefined): Promise<void>;
|
|
48
51
|
/**
|
|
@@ -59,8 +62,7 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
|
|
|
59
62
|
insertSnippet(text: string | null | undefined): Promise<void>;
|
|
60
63
|
/**
|
|
61
64
|
* @internal
|
|
62
|
-
*
|
|
63
|
-
* @returns {Promise<IStandaloneCodeEditor>} - The monaco editor instance
|
|
65
|
+
* @deprecated Use `editorInstance` property instead.
|
|
64
66
|
*/
|
|
65
67
|
getEditorInstance(): Promise<editor.IStandaloneCodeEditor | undefined>;
|
|
66
68
|
/**
|
|
@@ -71,10 +73,18 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
|
|
|
71
73
|
/**
|
|
72
74
|
* Emitted when the value has changed (script, code, css, json, etc.)
|
|
73
75
|
*/
|
|
74
|
-
|
|
76
|
+
arcgisValueChange: EventEmitter<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Emitted when the selection has changed.
|
|
79
|
+
*/
|
|
80
|
+
arcgisSelectionChange: EventEmitter<{
|
|
81
|
+
selection: Selection;
|
|
82
|
+
model: editor.ITextModel | null | undefined;
|
|
83
|
+
}>;
|
|
75
84
|
componentWillLoad(): void;
|
|
76
85
|
componentDidLoad(): void;
|
|
77
86
|
disconnectedCallback(): void;
|
|
87
|
+
componentShouldUpdate(_newVal: any, _oldVal: any, propName: string): boolean | void;
|
|
78
88
|
private updateModel;
|
|
79
89
|
private getUri;
|
|
80
90
|
private updateTheme;
|