@arcgis/coding-components 4.29.0-beta.47 → 4.29.0-beta.49
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 +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +13 -13
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-10a322ec.js → p-0d616249.js} +9 -9
- package/dist/arcgis-coding-components/p-2c0d6f15.js +2 -0
- package/dist/arcgis-coding-components/{p-71faf9a4.js → p-5802524a.js} +1 -1
- package/dist/arcgis-coding-components/{p-9eabda86.js → p-5ddccf04.js} +1 -1
- package/dist/arcgis-coding-components/p-7475f3a6.js +1 -0
- package/dist/arcgis-coding-components/{p-e6ede32d.js → p-7d8caba9.js} +1 -1
- package/dist/arcgis-coding-components/{p-f7d7d78d.js → p-9f6db08a.js} +1 -1
- package/dist/arcgis-coding-components/{p-e475e6cd.js → p-aefe77ce.js} +1 -1
- package/dist/arcgis-coding-components/p-ce2be55e.entry.js +1 -0
- package/dist/arcgis-coding-components/{p-ce586a8c.js → p-d425a387.js} +1 -1
- package/dist/arcgis-coding-components/{p-c084ada8.js → p-ff21f230.js} +1 -1
- package/dist/cjs/{arcade-defaults-8445d852.js → arcade-defaults-2d513b59.js} +1534 -1534
- package/dist/cjs/arcade-mode-6219f1b8.js +599 -0
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1404 -1408
- package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
- package/dist/cjs/{cssMode-e63287bb.js → cssMode-1ec48254.js} +2 -2
- package/dist/cjs/{html-c0d4db3b.js → html-0e1741fe.js} +2 -2
- package/dist/cjs/{htmlMode-fdc44d57.js → htmlMode-279d3c29.js} +2 -2
- package/dist/cjs/{index-6a382a34.js → index-ac186201.js} +67 -24
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{javascript-a419d064.js → javascript-04f1bce0.js} +3 -3
- package/dist/cjs/{jsonMode-73aee5d2.js → jsonMode-59322f7a.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tsMode-37d1b053.js → tsMode-17561f70.js} +2 -2
- package/dist/cjs/{typescript-53f9f36a.js → typescript-b7da8629.js} +2 -2
- package/dist/components/arcade-api.js +160 -160
- package/dist/components/arcade-contribution.js +60 -60
- package/dist/components/arcade-defaults.js +1240 -1240
- package/dist/components/arcade-mode.js +514 -513
- package/dist/components/arcade-results.js +426 -430
- package/dist/components/arcade-suggestions.js +130 -132
- package/dist/components/arcade-variables.js +157 -155
- package/dist/components/arcgis-arcade-api.d.ts +2 -2
- package/dist/components/arcgis-arcade-editor.d.ts +2 -2
- package/dist/components/arcgis-arcade-editor.js +391 -391
- package/dist/components/arcgis-arcade-results.d.ts +2 -2
- package/dist/components/arcgis-arcade-suggestions.d.ts +2 -2
- package/dist/components/arcgis-arcade-variables.d.ts +2 -2
- package/dist/components/arcgis-code-editor.d.ts +2 -2
- package/dist/components/code-editor.js +251 -251
- package/dist/components/fields.js +69 -69
- package/dist/components/functional-components.js +1 -1
- package/dist/components/index2.js +2 -2
- package/dist/components/markdown.js +28 -28
- package/dist/components/utilities.js +20 -20
- package/dist/esm/{arcade-defaults-d7893362.js → arcade-defaults-0bafa696.js} +1534 -1534
- package/dist/esm/arcade-mode-c17a1fa1.js +595 -0
- package/dist/esm/arcgis-arcade-api_6.entry.js +1404 -1408
- package/dist/esm/arcgis-coding-components.js +3 -3
- package/dist/esm/{cssMode-b1771f92.js → cssMode-3d18bd2b.js} +2 -2
- package/dist/esm/{html-af635d52.js → html-2bce5d77.js} +2 -2
- package/dist/esm/{htmlMode-3021c301.js → htmlMode-69d56956.js} +2 -2
- package/dist/esm/{index-fd6b2fd8.js → index-022fb97b.js} +67 -24
- package/dist/esm/index.js +2 -2
- package/dist/esm/{javascript-70589186.js → javascript-ded5c9d7.js} +3 -3
- package/dist/esm/{jsonMode-cb509b79.js → jsonMode-0bf84cb2.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{tsMode-ed90c9aa.js → tsMode-15d4e936.js} +2 -2
- package/dist/esm/{typescript-db8a0b18.js → typescript-cc4d00f0.js} +2 -2
- package/dist/types/components/arcade-api/arcade-api.d.ts +40 -40
- package/dist/types/components/arcade-api/t9n-types.d.ts +6 -6
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +127 -127
- package/dist/types/components/arcade-editor/t9n-types.d.ts +6 -6
- package/dist/types/components/arcade-results/arcade-results.d.ts +47 -47
- package/dist/types/components/arcade-results/t9n-types.d.ts +11 -11
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +34 -34
- package/dist/types/components/arcade-suggestions/t9n-types.d.ts +4 -4
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +41 -41
- package/dist/types/components/arcade-variables/t9n-types.d.ts +6 -6
- package/dist/types/components/code-editor/code-editor.d.ts +73 -73
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/dist/types/utils/arcade-executor.d.ts +79 -79
- package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +66 -66
- package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +23 -23
- package/dist/types/utils/arcade-monaco/arcade-mode.d.ts +9 -9
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +7 -7
- package/dist/types/utils/arcade-monaco/arcade-worker-manager.d.ts +9 -9
- package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +12 -12
- package/dist/types/utils/arcade-monaco/types.d.ts +29 -29
- package/dist/types/utils/editor-suggestions.d.ts +24 -24
- package/dist/types/utils/functional-components.d.ts +1 -1
- package/dist/types/utils/markdown.d.ts +1 -1
- package/dist/types/utils/profile/editor-profile.d.ts +185 -185
- package/dist/types/utils/profile/types.d.ts +101 -101
- package/dist/types/utils/utilities.d.ts +1 -1
- package/package.json +7 -7
- package/dist/arcgis-coding-components/p-5d670bd2.js +0 -2
- package/dist/arcgis-coding-components/p-9e242e76.js +0 -1
- package/dist/arcgis-coding-components/p-ccdf0ac1.entry.js +0 -1
- package/dist/cjs/arcade-mode-b77afcc9.js +0 -598
- package/dist/esm/arcade-mode-70e22d22.js +0 -594
|
@@ -10,131 +10,131 @@ import { IColorRules } from "../../utils/arcade-monaco/arcade-theme";
|
|
|
10
10
|
import { ResultPanelName } from "../arcade-results/arcade-results";
|
|
11
11
|
export type SidePanelName = "none" | "api" | "variables" | "suggestions";
|
|
12
12
|
export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
13
|
+
private _codeEditorElt?;
|
|
14
|
+
private _componentReadyDefer;
|
|
15
|
+
private _modelId;
|
|
16
|
+
private _editorProfilePromise;
|
|
17
|
+
private _disposables;
|
|
18
|
+
_hostElement: HTMLArcgisArcadeEditorElement;
|
|
19
|
+
_lang: string;
|
|
20
|
+
_t9nLocale: string;
|
|
21
|
+
_t9nStrings: ArcadeEditorStrings | undefined;
|
|
22
|
+
_standaloneCodeEditor: editor.IStandaloneCodeEditor | undefined;
|
|
23
|
+
_preparingProfile: boolean;
|
|
24
|
+
_editorProfile: EditorProfile | undefined;
|
|
25
|
+
_showExecutionPanel: boolean;
|
|
26
|
+
_resultPanel: ResultPanelName;
|
|
27
|
+
_executingScript: boolean;
|
|
28
|
+
_consoleLogs: string[];
|
|
29
|
+
_executionResult?: ArcadeResult;
|
|
30
|
+
/**
|
|
31
|
+
* The profile contains metadata used by the editor for editing context and help.
|
|
32
|
+
* Example:
|
|
33
|
+
* ```
|
|
34
|
+
* {
|
|
35
|
+
* bundles: ["core", "dataAccess", "geometry", "portal"],
|
|
36
|
+
* variables: [
|
|
37
|
+
* {
|
|
38
|
+
* name: "$feature",
|
|
39
|
+
* description: "The feature passed to the script during execution.",
|
|
40
|
+
* definition: aFeatureLayerInstance
|
|
41
|
+
* }
|
|
42
|
+
* ]
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
profile: IEditorProfileDefinition | IPredefinedProfile | undefined;
|
|
47
|
+
_profileChanged(newValue: IEditorProfileDefinition | IPredefinedProfile | undefined, oldValue: IEditorProfileDefinition | IPredefinedProfile | undefined): void;
|
|
48
|
+
/**
|
|
49
|
+
* The arcade script. Use this property to define or update the script.
|
|
50
|
+
*/
|
|
51
|
+
script: string;
|
|
52
|
+
/**
|
|
53
|
+
* Test data used to execute the script in the editor. If undefined the execute script UX will be hidden.
|
|
54
|
+
*/
|
|
55
|
+
testData: IEditorTestContext | undefined;
|
|
56
|
+
_testDataChanged(newValue: IEditorTestContext | undefined, oldValue: IEditorTestContext | undefined): void;
|
|
57
|
+
/**
|
|
58
|
+
* Collection of suggestions
|
|
59
|
+
*/
|
|
60
|
+
suggestions: IEditorCodeSuggestionGroup[] | IEditorCodeSuggestion[] | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Collection of snippets
|
|
63
|
+
*/
|
|
64
|
+
snippets: ApiSnippet[] | undefined;
|
|
65
|
+
_snippetChanged(newValue: ApiSnippet[] | undefined, oldValue: ApiSnippet[] | undefined): void;
|
|
66
|
+
/**
|
|
67
|
+
* If true, it will hide the documentation action in the side panel
|
|
68
|
+
*/
|
|
69
|
+
hideDocumentationActions: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* If true, it will hide the side actions bar. The editor will be in a minimalistic UX.
|
|
72
|
+
*/
|
|
73
|
+
hideSideBar: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* If true, the side action bar will be exapnded
|
|
76
|
+
*/
|
|
77
|
+
sideActionBarExpanded: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* The name of the opened side panel. 'none' means 'no panel opened'.
|
|
80
|
+
*/
|
|
81
|
+
openedSidePanel: SidePanelName;
|
|
82
|
+
/**
|
|
83
|
+
* Returns the current script.
|
|
84
|
+
* @returns {Promise<string>}
|
|
85
|
+
*/
|
|
86
|
+
getScript(): Promise<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Set the focus on the element.
|
|
89
|
+
*/
|
|
90
|
+
setFocus(): Promise<void>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
* Returns the editor instance.
|
|
94
|
+
* @returns {Promise<IStandaloneCodeEditor>} - The monaco editor instance
|
|
95
|
+
*/
|
|
96
|
+
getEditorInstance(): Promise<any | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Returns the Arcade result for the script for the provided test data.
|
|
99
|
+
*/
|
|
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
|
+
/**
|
|
108
|
+
* Allows to change theme colors
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
updateThemeColors(colorRules: IColorRules | undefined): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Emitted when the script string has changed.
|
|
114
|
+
*/
|
|
115
|
+
scriptChange: EventEmitter<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Emitted when the disagnostics collection has changed.
|
|
118
|
+
*/
|
|
119
|
+
diagnosticsChange: EventEmitter<Diagnostic[]>;
|
|
120
|
+
componentWillLoad(): Promise<void>;
|
|
121
|
+
componentDidLoad(): Promise<void>;
|
|
122
|
+
disconnectedCallback(): void;
|
|
123
|
+
private _updateEditorProfile;
|
|
124
|
+
private _executeScript;
|
|
125
|
+
private _toggleShowExecutionPanel;
|
|
126
|
+
private _toggleSideActionBarExpanded;
|
|
127
|
+
private _toggleSidePanel;
|
|
128
|
+
private _openArcadeHelp;
|
|
129
|
+
private _emitScriptChange;
|
|
130
|
+
private _insertAsSnippet;
|
|
131
|
+
private _insertAsText;
|
|
132
|
+
private _onResultPanelChange;
|
|
133
|
+
private _onExecutionPanelClose;
|
|
134
|
+
private renderMainActionBar;
|
|
135
|
+
private renderMainPanel;
|
|
136
|
+
private renderSideActionBar;
|
|
137
|
+
private renderSidePanel;
|
|
138
|
+
private renderResultsPanel;
|
|
139
|
+
render(): VNode;
|
|
140
140
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type ArcadeEditorStrings = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
help: string;
|
|
3
|
+
profilevariables: string;
|
|
4
|
+
constantsandfunctions: string;
|
|
5
|
+
suggestions: string;
|
|
6
|
+
run: string;
|
|
7
|
+
lastresults: string;
|
|
8
8
|
};
|
|
@@ -4,51 +4,51 @@ import { ArcadeResultsStrings } from "./t9n-types";
|
|
|
4
4
|
export type ResultPanelName = "output" | "console" | "log";
|
|
5
5
|
/** @internal */
|
|
6
6
|
export declare class ArcgisArcadeResults implements ComponentInterface {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
7
|
+
_hostElement: HTMLArcgisArcadeResultsElement;
|
|
8
|
+
_lang: string;
|
|
9
|
+
_t9nLocale: string;
|
|
10
|
+
_t9nStrings: ArcadeResultsStrings | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Loading state
|
|
13
|
+
*/
|
|
14
|
+
loading: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The result panel displayed
|
|
17
|
+
*/
|
|
18
|
+
openedResultPanel: ResultPanelName;
|
|
19
|
+
/**
|
|
20
|
+
* The results from the execution of an Arcade expression
|
|
21
|
+
*/
|
|
22
|
+
result: ArcadeResult | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The console logs from the execution of an Arcade expression
|
|
25
|
+
*/
|
|
26
|
+
consoleLogs: string[] | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Raised when the opened result panel has changed
|
|
29
|
+
*/
|
|
30
|
+
openedResultPanelChange: EventEmitter<ResultPanelName>;
|
|
31
|
+
/**
|
|
32
|
+
* Raise when the clode action has been activated
|
|
33
|
+
*/
|
|
34
|
+
close: EventEmitter<void>;
|
|
35
|
+
componentWillLoad(): Promise<void>;
|
|
36
|
+
disconnectedCallback(): void;
|
|
37
|
+
private updateResultPanel;
|
|
38
|
+
private _switchResultPanel;
|
|
39
|
+
private _emitClose;
|
|
40
|
+
private renderConsolePanel;
|
|
41
|
+
private renderLogPanel;
|
|
42
|
+
private renderOutputPanel;
|
|
43
|
+
private renderDictionaryProperty;
|
|
44
|
+
private renderSimpleValue;
|
|
45
|
+
private renderArrayHeader;
|
|
46
|
+
private renderArrayTree;
|
|
47
|
+
private renderGeometryTree;
|
|
48
|
+
private renderDictionaryAsJsonTree;
|
|
49
|
+
private renderDictionaryTree;
|
|
50
|
+
private renderTreeItem;
|
|
51
|
+
private renderFeatureSetLabel;
|
|
52
|
+
private renderFeatureSetTable;
|
|
53
|
+
render(): VNode;
|
|
54
54
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export type ArcadeResultsStrings = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
close: string;
|
|
3
|
+
console: string;
|
|
4
|
+
output: string;
|
|
5
|
+
log: string;
|
|
6
|
+
consolemessage: string;
|
|
7
|
+
lastexecutionformat: string;
|
|
8
|
+
compilationtimeformat: string;
|
|
9
|
+
executiontimeformat: string;
|
|
10
|
+
runscriptmessage: string;
|
|
11
|
+
showingfirstitemsformat: string;
|
|
12
|
+
executionerrorformat: string;
|
|
13
13
|
};
|
|
@@ -3,38 +3,38 @@ import { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from "../../utils/e
|
|
|
3
3
|
import { ArcadeSuggestionsStrings } from "./t9n-types";
|
|
4
4
|
/** @internal */
|
|
5
5
|
export declare class ArcgisArcadeSuggestions implements ComponentInterface {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
6
|
+
private _flowObserver?;
|
|
7
|
+
private _themeChangedListner?;
|
|
8
|
+
_hostElement: HTMLArcgisArcadeSuggestionsElement;
|
|
9
|
+
_lang: string;
|
|
10
|
+
_t9nLocale: string;
|
|
11
|
+
_t9nStrings: ArcadeSuggestionsStrings | undefined;
|
|
12
|
+
_selectedSuggestion: undefined | IEditorCodeSuggestion;
|
|
13
|
+
_filterValue: string;
|
|
14
|
+
_colorizeStyle: string;
|
|
15
|
+
/**
|
|
16
|
+
* The collection of suggestions
|
|
17
|
+
*/
|
|
18
|
+
suggestions: IEditorCodeSuggestionGroup[] | IEditorCodeSuggestion[] | undefined;
|
|
19
|
+
suggestionsPropChanged(): void;
|
|
20
|
+
/**
|
|
21
|
+
* Raised when close action has been activated
|
|
22
|
+
*/
|
|
23
|
+
close: EventEmitter<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Raised when an item has been selected
|
|
26
|
+
*/
|
|
27
|
+
itemSelected: EventEmitter<string>;
|
|
28
|
+
componentWillLoad(): Promise<void>;
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
private flowFocusHandler;
|
|
31
|
+
private _updateFilterValue;
|
|
32
|
+
private _emitItemSelected;
|
|
33
|
+
private _showSuggestionDetail;
|
|
34
|
+
private _emitClose;
|
|
35
|
+
private _beforeBack;
|
|
36
|
+
private renderSuggestionGroups;
|
|
37
|
+
private renderSuggestionListItems;
|
|
38
|
+
private renderSuggestionFlowItem;
|
|
39
|
+
render(): VNode;
|
|
40
40
|
}
|
|
@@ -2,45 +2,45 @@ import { VNode, EventEmitter, ComponentInterface } from "../../stencil-public-ru
|
|
|
2
2
|
import { ArcadeVariablesStrings } from "./t9n-types";
|
|
3
3
|
/** @internal */
|
|
4
4
|
export declare class ArcgisArcadeVariables implements ComponentInterface {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
5
|
+
private _flowObserver?;
|
|
6
|
+
_hostElement: HTMLArcgisArcadeVariablesElement;
|
|
7
|
+
_lang: string;
|
|
8
|
+
_t9nLocale: string;
|
|
9
|
+
_t9nStrings: ArcadeVariablesStrings | undefined;
|
|
10
|
+
_mutationCounter: number;
|
|
11
|
+
_flowItemRenderers: Array<() => VNode>;
|
|
12
|
+
_filterValue: string;
|
|
13
|
+
/**
|
|
14
|
+
* Loading state
|
|
15
|
+
*/
|
|
16
|
+
loading: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The model id
|
|
19
|
+
*/
|
|
20
|
+
modelId: string | undefined;
|
|
21
|
+
modelIdPropChanged(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Raised when close action has been activated
|
|
24
|
+
*/
|
|
25
|
+
close: EventEmitter<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Raised when an item has been selected
|
|
28
|
+
*/
|
|
29
|
+
itemSelected: EventEmitter<string>;
|
|
30
|
+
componentWillLoad(): Promise<void>;
|
|
31
|
+
disconnectedCallback(): void;
|
|
32
|
+
private addPanelRenderer;
|
|
33
|
+
private removeLastPanelRenderer;
|
|
34
|
+
private flowFocusHandler;
|
|
35
|
+
private _updateFilterValue;
|
|
36
|
+
private _beforeBack;
|
|
37
|
+
private _emitClose;
|
|
38
|
+
private _backToTop;
|
|
39
|
+
private _emitItemSelected;
|
|
40
|
+
private _stopEnterPropagation;
|
|
41
|
+
private _showCollectionPanel;
|
|
42
|
+
private collectionBasedVariableRenderer;
|
|
43
|
+
private renderEditorVariables;
|
|
44
|
+
private renderEditorVariable;
|
|
45
|
+
render(): VNode;
|
|
46
46
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type ArcadeVariablesStrings = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
backtotop: string;
|
|
3
|
+
expand: string;
|
|
4
|
+
loading: string;
|
|
5
|
+
profilevariables: string;
|
|
6
|
+
noitems: string;
|
|
7
|
+
noprofilevariablesmessage: string;
|
|
8
8
|
};
|