@arcgis/coding-components 5.0.0-next.136 → 5.0.0-next.138
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/addons/arcade-coding-assistant/useArcadeAssistant.d.ts +7 -17
- package/dist/addons/index.d.ts +2 -2
- package/dist/addons.js +1 -1
- package/dist/cdn/{UCG4NPRP.js → 2263YYN4.js} +2 -2
- package/dist/cdn/{FV6JUYSW.js → 2BB3QRVG.js} +2 -2
- package/dist/cdn/{Q4UHUY3T.js → 2E4AQ7LP.js} +2 -2
- package/dist/cdn/{EZGAUSIF.js → 46IOYPYQ.js} +2 -2
- package/dist/cdn/{DSHANUYF.js → 4FUSZCAD.js} +2 -2
- package/dist/cdn/{22DCBJ5F.js → 7EGGU2CS.js} +2 -2
- package/dist/cdn/{J2DLUEJO.js → 7F5ICS2R.js} +2 -2
- package/dist/cdn/{UI5EVXFU.js → 7YIS622N.js} +2 -2
- package/dist/cdn/{36Y75YKB.js → AU6VAVFX.js} +2 -2
- package/dist/cdn/{TZYBHRPS.js → B6MSWJY2.js} +2 -2
- package/dist/cdn/{U77BQSD4.js → BMKVGGGT.js} +2 -2
- package/dist/cdn/{MEXDPC7D.js → BTLRRKDQ.js} +1 -1
- package/dist/cdn/{HSBLYEZV.js → CP4WW3L6.js} +2 -2
- package/dist/cdn/{RIEACZTY.js → DQ2MOHDK.js} +2 -2
- package/dist/cdn/{UMHPBSPW.js → EFNX7T2R.js} +1 -1
- package/dist/cdn/{TV544T2R.js → EQV3M2CA.js} +2 -2
- package/dist/cdn/{PP7BAX5L.js → EZ5XJTDZ.js} +2 -2
- package/dist/cdn/{TGBYUAUR.js → GAJRGYGF.js} +2 -2
- package/dist/cdn/{XLQLW2QL.js → HHKNAKMH.js} +2 -2
- package/dist/cdn/{H3N4UPAY.js → IAOEXBRW.js} +3 -3
- package/dist/cdn/{UZMYMIUN.js → ICT2QXVB.js} +2 -2
- package/dist/cdn/{PWTWO4LQ.js → IL3ODH4Q.js} +2 -2
- package/dist/cdn/{RFPCEKOB.js → J5BB2DTX.js} +2 -2
- package/dist/cdn/{ZWJAHBIF.js → JGRG3RTL.js} +2 -2
- package/dist/cdn/{YTFTM7FZ.js → KCG4J2TQ.js} +1 -1
- package/dist/cdn/{5N7BLQUC.js → KY2A6GJX.js} +1 -1
- package/dist/cdn/{CUWBQ6DE.js → LZEK7RTW.js} +2 -2
- package/dist/cdn/M2XE3C7T.js +6 -0
- package/dist/cdn/{VDMEGRHB.js → MBTVAM7I.js} +2 -2
- package/dist/cdn/N3P4PLZT.js +4 -0
- package/dist/cdn/{JYHLAFWX.js → NB4EJVRJ.js} +2 -2
- package/dist/cdn/{ZBKMCGR7.js → NGXPOKHF.js} +2 -2
- package/dist/cdn/{PR666JT5.js → NM7YCIBL.js} +2 -2
- package/dist/cdn/{A7BGWNLB.js → OAY75OXY.js} +2 -2
- package/dist/cdn/{MMSAWKPK.js → OHULNXEE.js} +2 -2
- package/dist/cdn/{OZZYHIPM.js → QN4HJ3GS.js} +1 -1
- package/dist/cdn/{ZB3AQDM2.js → RVGC5EOD.js} +2 -2
- package/dist/cdn/{Q6ERATMA.js → TBZNDJPR.js} +2 -2
- package/dist/cdn/{OCXFKC66.js → TFP62745.js} +1 -1
- package/dist/cdn/{ZLUCSP73.js → TXSPPN6R.js} +2 -2
- package/dist/cdn/{4RJPAWSA.js → UV5OY4GJ.js} +2 -2
- package/dist/cdn/W5PHIIDU.js +4 -0
- package/dist/cdn/{Q54H2UGW.js → X6STFO7U.js} +2 -2
- package/dist/cdn/{MGX5UEEJ.js → Y3CNVWXF.js} +3 -3
- package/dist/cdn/{HEOVDTIB.js → YOZZJZW5.js} +2 -2
- package/dist/cdn/{OAJKP3TF.js → Z2EROYP7.js} +1 -1
- package/dist/cdn/{224QUA5Z.js → Z45QIMDD.js} +2 -2
- package/dist/cdn/{OCZIBXWV.js → ZEXTPWCM.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/arcade-defaults.js +2 -2
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/colorize.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +3 -3
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/monaco-theme.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/{arcade-contribution.js → setup-monaco-theme.js} +40 -40
- package/dist/chunks/sql-expr-defaults.js +2 -2
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/sql-expr-service-accessors.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utilities.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/types.d.ts +3 -48
- package/dist/components/arcgis-arcade-editor/customElement.d.ts +123 -112
- package/dist/components/arcgis-arcade-editor/customElement.js +2 -2
- package/dist/components/arcgis-arcade-editor/index.d.ts +0 -13
- package/dist/components/arcgis-arcade-results/customElement.js +7 -7
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.d.ts +74 -81
- package/dist/components/arcgis-code-editor/customElement.js +3 -3
- package/dist/components/arcgis-code-editor-shell/customElement.d.ts +9 -5
- package/dist/components/arcgis-code-editor-shell/customElement.js +1 -1
- package/dist/components/arcgis-code-viewer/customElement.d.ts +23 -37
- package/dist/components/arcgis-code-viewer/customElement.js +2 -2
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.d.ts +53 -49
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/index.d.ts +0 -7
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +1 -1470
- package/dist/docs/docs.json +1 -1381
- package/dist/docs/vscode.css-custom-data.json +1 -35
- package/dist/docs/vscode.html-custom-data.json +1 -119
- package/dist/docs/web-types.json +1 -385
- package/dist/index.d.ts +34 -21
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -7
- package/dist/types/lumina.d.ts +11 -11
- package/dist/types/preact.d.ts +11 -11
- package/dist/types/react.d.ts +11 -11
- package/dist/types/stencil.d.ts +11 -11
- package/dist/utils/arcade-assistant/types.d.ts +8 -72
- package/dist/utils/arcade-executor.d.ts +158 -126
- package/dist/utils/arcade-monaco/arcade-defaults.d.ts +9 -49
- package/dist/utils/custom-panel.d.ts +35 -30
- package/dist/utils/editor-suggestions.d.ts +17 -28
- package/dist/utils/index.d.ts +4 -6
- package/dist/utils/profile/types.d.ts +273 -345
- package/dist/utils/sql-expr-monaco/sql-expr-defaults.d.ts +8 -22
- package/package.json +6 -6
- package/dist/addons/arcade-coding-assistant/chat-helper.d.ts +0 -78
- package/dist/addons/arcade-coding-assistant/index.d.ts +0 -2
- package/dist/addons/arcade-coding-assistant/temporary-strings.d.ts +0 -47
- package/dist/cdn/2WNWZ6AD.js +0 -4
- package/dist/cdn/EGURZWSY.js +0 -4
- package/dist/cdn/TIR4RXVC.js +0 -6
- package/dist/components/arcgis-arcade-coding-assistant/customElement.d.ts +0 -45
- package/dist/components/arcgis-arcade-coding-assistant/functional.d.ts +0 -235
- package/dist/components/arcgis-arcade-coding-assistant/index.d.ts +0 -27
- package/dist/components/arcgis-arcade-results/customElement.d.ts +0 -32
- package/dist/components/arcgis-arcade-results/functional.d.ts +0 -73
- package/dist/components/arcgis-arcade-results/index.d.ts +0 -10
- package/dist/components/arcgis-arcade-suggestions/customElement.d.ts +0 -24
- package/dist/components/arcgis-arcade-suggestions/index.d.ts +0 -10
- package/dist/components/arcgis-editor-variables/customElement.d.ts +0 -40
- package/dist/components/arcgis-editor-variables/index.d.ts +0 -10
- package/dist/components/arcgis-language-api-panel/customElement.d.ts +0 -42
- package/dist/components/arcgis-language-api-panel/index.d.ts +0 -11
- package/dist/components/arcgis-sql-expression-fields/customElement.d.ts +0 -23
- package/dist/components/arcgis-sql-expression-fields/index.d.ts +0 -7
- package/dist/controllers/useT9n.d.ts +0 -1
- package/dist/runtime.d.ts +0 -6
- package/dist/utils/arcade-assistant/aiContext.d.ts +0 -6
- package/dist/utils/arcade-assistant/constants.d.ts +0 -2
- package/dist/utils/arcade-assistant/utils.d.ts +0 -9
- package/dist/utils/arcade-monaco/arcade-contribution.d.ts +0 -1
- package/dist/utils/arcade-monaco/arcade-language-features.d.ts +0 -35
- package/dist/utils/arcade-monaco/arcade-language-syntax.d.ts +0 -3
- package/dist/utils/arcade-monaco/arcade-mode.d.ts +0 -29
- package/dist/utils/arcade-monaco/arcade-profile-strategy.d.ts +0 -12
- package/dist/utils/arcade-monaco/arcade-service-accessors.d.ts +0 -31
- package/dist/utils/arcade-monaco/arcade-worker-manager.d.ts +0 -22
- package/dist/utils/arcade-monaco/arcade.worker.d.ts +0 -23
- package/dist/utils/arcade-monaco/types.d.ts +0 -9
- package/dist/utils/colorize.d.ts +0 -5
- package/dist/utils/constants.d.ts +0 -3
- package/dist/utils/css-vars.d.ts +0 -7
- package/dist/utils/fields.d.ts +0 -20
- package/dist/utils/internal-monaco-apis.d.ts +0 -67
- package/dist/utils/language-defaults-base.d.ts +0 -76
- package/dist/utils/markdown.d.ts +0 -6
- package/dist/utils/monaco-importer.d.ts +0 -28
- package/dist/utils/monaco-languages.d.ts +0 -17
- package/dist/utils/monaco-theme.json.d.ts +0 -27
- package/dist/utils/monaco-typings.d.ts +0 -8
- package/dist/utils/patch-monaco.d.ts +0 -16
- package/dist/utils/profile/editor-profile.d.ts +0 -278
- package/dist/utils/profile/utils.d.ts +0 -49
- package/dist/utils/setup-monaco-theme.d.ts +0 -1
- package/dist/utils/setup-monaco.d.ts +0 -31
- package/dist/utils/sql-expr-monaco/sql-expr-completion.d.ts +0 -74
- package/dist/utils/sql-expr-monaco/sql-expr-constants.d.ts +0 -67
- package/dist/utils/sql-expr-monaco/sql-expr-contribution.d.ts +0 -1
- package/dist/utils/sql-expr-monaco/sql-expr-language-features.d.ts +0 -23
- package/dist/utils/sql-expr-monaco/sql-expr-language-syntax.d.ts +0 -3
- package/dist/utils/sql-expr-monaco/sql-expr-mode.d.ts +0 -43
- package/dist/utils/sql-expr-monaco/sql-expr-parser-utils.d.ts +0 -36
- package/dist/utils/sql-expr-monaco/sql-expr-profile-utils.d.ts +0 -5
- package/dist/utils/sql-expr-monaco/sql-expr-service-accessors.d.ts +0 -19
- package/dist/utils/sql-expr-monaco/sql-expr-validation-diagnostic-adapter.d.ts +0 -33
- package/dist/utils/sql-expr-monaco/sql-expr-validation-utils.d.ts +0 -82
- package/dist/utils/sql-expr-monaco/sql-expr-validation.d.ts +0 -41
- package/dist/utils/sql-expr-monaco/sql-expr-worker-manager.d.ts +0 -22
- package/dist/utils/sql-expr-monaco/sql-expr.worker.d.ts +0 -22
- package/dist/utils/sql-expr-monaco/sql-expression-profile-strategy.d.ts +0 -13
- package/dist/utils/sql-expr-monaco/types.d.ts +0 -96
- package/dist/utils/utilities.d.ts +0 -16
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { h, JsxNode } from '@arcgis/lumina';
|
|
2
|
-
import { IArcadeResultArray, IArcadeResultFeatureSet, ArcadeResult, IArcadeRuntimeDictionary } from '../../utils';
|
|
3
|
-
import { GeometryUnion } from '@arcgis/core/unionTypes';
|
|
4
|
-
declare const strings: (value: {
|
|
5
|
-
close: string;
|
|
6
|
-
console: string;
|
|
7
|
-
output: string;
|
|
8
|
-
log: string;
|
|
9
|
-
consolemessage: string;
|
|
10
|
-
lastexecutionformat: string;
|
|
11
|
-
compilationtimeformat: string;
|
|
12
|
-
executiontimeformat: string;
|
|
13
|
-
runscriptmessage: string;
|
|
14
|
-
showingfirstitemsformat: string;
|
|
15
|
-
executionerrorformat: string;
|
|
16
|
-
}) => {
|
|
17
|
-
close: string;
|
|
18
|
-
console: string;
|
|
19
|
-
output: string;
|
|
20
|
-
log: string;
|
|
21
|
-
consolemessage: string;
|
|
22
|
-
lastexecutionformat: string;
|
|
23
|
-
compilationtimeformat: string;
|
|
24
|
-
executiontimeformat: string;
|
|
25
|
-
runscriptmessage: string;
|
|
26
|
-
showingfirstitemsformat: string;
|
|
27
|
-
executionerrorformat: string;
|
|
28
|
-
};
|
|
29
|
-
export declare const treeProps: h.JSX.IntrinsicElements["calcite-tree"];
|
|
30
|
-
export declare const DictionaryProperty: ({ name }: {
|
|
31
|
-
name: number | string;
|
|
32
|
-
}) => JsxNode;
|
|
33
|
-
export declare const DictionaryAsJsonTree: ({ value, subtree, }: {
|
|
34
|
-
value: IArcadeRuntimeDictionary;
|
|
35
|
-
subtree?: boolean;
|
|
36
|
-
}) => JsxNode;
|
|
37
|
-
export declare const GeometryTree: ({ value, subtree }: {
|
|
38
|
-
value: GeometryUnion;
|
|
39
|
-
subtree?: boolean;
|
|
40
|
-
}) => JsxNode;
|
|
41
|
-
export declare const SimpleValue: ({ arcadeResult }: {
|
|
42
|
-
arcadeResult: ArcadeResult;
|
|
43
|
-
}) => JsxNode;
|
|
44
|
-
export declare const ArrayHeader: ({ arcadeResult, t9nStrings, }: {
|
|
45
|
-
arcadeResult: IArcadeResultArray;
|
|
46
|
-
t9nStrings: Partial<ReturnType<typeof strings>>;
|
|
47
|
-
}) => JsxNode;
|
|
48
|
-
export declare const DictionaryTree: ({ value, subtree, t9nStrings, }: {
|
|
49
|
-
value: IArcadeRuntimeDictionary;
|
|
50
|
-
t9nStrings: Partial<ReturnType<typeof strings>>;
|
|
51
|
-
subtree?: boolean;
|
|
52
|
-
}) => JsxNode;
|
|
53
|
-
export declare const FeatureSetLabel: ({ arcadeResult, t9nStrings, }: {
|
|
54
|
-
arcadeResult: IArcadeResultFeatureSet;
|
|
55
|
-
t9nStrings: Partial<ReturnType<typeof strings>>;
|
|
56
|
-
}) => JsxNode;
|
|
57
|
-
export declare const ArrayTree: ({ items, subtree, t9nStrings, }: {
|
|
58
|
-
items: unknown[];
|
|
59
|
-
subtree?: boolean;
|
|
60
|
-
t9nStrings: Partial<ReturnType<typeof strings>>;
|
|
61
|
-
}) => JsxNode;
|
|
62
|
-
export declare const FeatureSetTable: ({ arcadeResult }: {
|
|
63
|
-
arcadeResult: IArcadeResultFeatureSet;
|
|
64
|
-
}) => JsxNode;
|
|
65
|
-
export declare const exportsForTests: {
|
|
66
|
-
TreeItem: ({ arcadeResult, name, expanded, t9nStrings, }: {
|
|
67
|
-
arcadeResult: ArcadeResult;
|
|
68
|
-
name: number | string;
|
|
69
|
-
t9nStrings: Partial<ReturnType<typeof strings>>;
|
|
70
|
-
expanded?: boolean;
|
|
71
|
-
}) => JsxNode;
|
|
72
|
-
};
|
|
73
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-tree";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-tree-item";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-list";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-icon";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-action-bar";
|
|
8
|
-
import "@esri/calcite-components/components/calcite-action-group";
|
|
9
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
10
|
-
export * from "./customElement.js";
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
-
import { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from '../../utils/editor-suggestions';
|
|
5
|
-
|
|
6
|
-
/** @private */
|
|
7
|
-
export declare class ArcgisArcadeSuggestions extends LitElement {
|
|
8
|
-
/** The collection of suggestions */
|
|
9
|
-
suggestions?: IEditorCodeSuggestion[] | IEditorCodeSuggestionGroup[];
|
|
10
|
-
/**
|
|
11
|
-
* When true, the component will be hidden.
|
|
12
|
-
*
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
closed?: boolean | undefined;
|
|
16
|
-
/** Raised when close action has been activated */
|
|
17
|
-
readonly arcgisClose: TargetedEvent<this, void>;
|
|
18
|
-
/** Raised when an item has been selected */
|
|
19
|
-
readonly arcgisItemSelected: TargetedEvent<this, string>;
|
|
20
|
-
"@eventTypes": {
|
|
21
|
-
"arcgisClose": ArcgisArcadeSuggestions["arcgisClose"]["detail"];
|
|
22
|
-
"arcgisItemSelected": ArcgisArcadeSuggestions["arcgisItemSelected"]["detail"];
|
|
23
|
-
};
|
|
24
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-list-item-group";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-flow-item";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-block";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-flow";
|
|
8
|
-
import "@esri/calcite-components/components/calcite-input";
|
|
9
|
-
import "@esri/calcite-components/components/calcite-list";
|
|
10
|
-
export * from "./customElement.js";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
|
4
|
-
import { EditorProfile, FeatureSetVariable } from '../../utils/profile/editor-profile';
|
|
5
|
-
|
|
6
|
-
/** The mode of the component. Either "featureSet" or "profile" */
|
|
7
|
-
type Mode = "featureSet" | "profile";
|
|
8
|
-
/** @private */
|
|
9
|
-
export declare class ArcgisEditorVariables extends LitElement {
|
|
10
|
-
/**
|
|
11
|
-
* Loading state
|
|
12
|
-
*
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
loading: boolean;
|
|
16
|
-
/** The model id */
|
|
17
|
-
modelId?: string;
|
|
18
|
-
/**
|
|
19
|
-
* When true, the component will be hidden.
|
|
20
|
-
*
|
|
21
|
-
* @default false
|
|
22
|
-
*/
|
|
23
|
-
closed?: boolean | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* The variable to display.
|
|
26
|
-
* Currently supports EditorProfile and FeatureSetVariable
|
|
27
|
-
* In the case of a FeatureSetVariable, the UX will show that variable exclusively,
|
|
28
|
-
* excluding the initial profile variables selection panel.
|
|
29
|
-
*/
|
|
30
|
-
variable?: EditorProfile | FeatureSetVariable;
|
|
31
|
-
/** Raised when close action has been activated */
|
|
32
|
-
readonly arcgisClose: TargetedEvent<this, void>;
|
|
33
|
-
/** Raised when an item has been selected */
|
|
34
|
-
readonly arcgisItemSelected: TargetedEvent<this, string>;
|
|
35
|
-
"@eventTypes": {
|
|
36
|
-
"arcgisClose": ArcgisEditorVariables["arcgisClose"]["detail"];
|
|
37
|
-
"arcgisItemSelected": ArcgisEditorVariables["arcgisItemSelected"]["detail"];
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-flow-item";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-input";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-list";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-list-item-group";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
8
|
-
import "@esri/calcite-components/components/calcite-icon";
|
|
9
|
-
import "@esri/calcite-components/components/calcite-flow";
|
|
10
|
-
export * from "./customElement.js";
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
-
import { ApiCategory, ApiItem } from '@arcgis/languages-api-utils';
|
|
5
|
-
|
|
6
|
-
/** @private */
|
|
7
|
-
export declare class ArcgisLanguageApiPanel extends LitElement {
|
|
8
|
-
/**
|
|
9
|
-
* The language the panel is rendering
|
|
10
|
-
*
|
|
11
|
-
* @default "arcade"
|
|
12
|
-
*/
|
|
13
|
-
languageId: string;
|
|
14
|
-
/** The api library to display */
|
|
15
|
-
apiLibrary?: ApiCategory[];
|
|
16
|
-
/**
|
|
17
|
-
* Should the documentation action be hidden
|
|
18
|
-
*
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
hideDocumentationActions: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* When true, a busy indicator is displayed
|
|
24
|
-
*
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
loading: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* When true, the component will be hidden.
|
|
30
|
-
*
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
closed?: boolean | undefined;
|
|
34
|
-
/** Raised when the close action has been requested */
|
|
35
|
-
readonly arcgisClose: TargetedEvent<this, void>;
|
|
36
|
-
/** Raised when an item has been selected */
|
|
37
|
-
readonly arcgisItemSelected: TargetedEvent<this, string>;
|
|
38
|
-
"@eventTypes": {
|
|
39
|
-
"arcgisClose": ArcgisLanguageApiPanel["arcgisClose"]["detail"];
|
|
40
|
-
"arcgisItemSelected": ArcgisLanguageApiPanel["arcgisItemSelected"]["detail"];
|
|
41
|
-
};
|
|
42
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-list-item-group";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-flow-item";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-block";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-flow";
|
|
8
|
-
import "@esri/calcite-components/components/calcite-input";
|
|
9
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
10
|
-
import "@esri/calcite-components/components/calcite-list";
|
|
11
|
-
export * from "./customElement.js";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
|
4
|
-
|
|
5
|
-
/** @private */
|
|
6
|
-
export declare class SqlExpressionFields extends LitElement {
|
|
7
|
-
/**
|
|
8
|
-
* Loading state
|
|
9
|
-
*
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
loading: boolean;
|
|
13
|
-
/** The model id */
|
|
14
|
-
modelId?: string;
|
|
15
|
-
/** Emitted when close action has been activated */
|
|
16
|
-
readonly arcgisClose: TargetedEvent<this, void>;
|
|
17
|
-
/** Emitted when a field has been selected */
|
|
18
|
-
readonly arcgisFieldSelected: TargetedEvent<this, string>;
|
|
19
|
-
"@eventTypes": {
|
|
20
|
-
"arcgisClose": SqlExpressionFields["arcgisClose"]["detail"];
|
|
21
|
-
"arcgisFieldSelected": SqlExpressionFields["arcgisFieldSelected"]["detail"];
|
|
22
|
-
};
|
|
23
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-block";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-flow";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-flow-item";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-list";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
7
|
-
export * from "./customElement.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useT9n: import('@arcgis/lumina/controllers').UseT9n;
|
package/dist/runtime.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const runtime: import('@arcgis/lumina').Runtime;
|
|
2
|
-
/**
|
|
3
|
-
* "customElement" needs to be exported - it will be used by the build system.
|
|
4
|
-
* You should not call it directly.
|
|
5
|
-
*/
|
|
6
|
-
export declare const customElement: (tagName: string, component: typeof import('@arcgis/lumina').LitElement) => void, getAssetPath: (suffix: string) => string, setAssetPath: (path: URL | string) => void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EditorProfile } from '../profile/editor-profile';
|
|
2
|
-
import { ArcadeAiProfileContext } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Convert an EditorProfile to an ArcadeAiProfileContext, this gets passed as metadata to the AI Skill
|
|
5
|
-
*/
|
|
6
|
-
export declare function editorProfileToAiContext(profile: EditorProfile): Promise<ArcadeAiProfileContext>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ArcadeAssistantConfig, ArcadeAssistantRemoteState } from './types';
|
|
2
|
-
import { ArcgisArcadeEditor } from '../../components/arcgis-arcade-editor/customElement.js';
|
|
3
|
-
/**
|
|
4
|
-
* Checks provided Arcade Assistant configuration and returns the necessary properties.
|
|
5
|
-
* We do this outside of the arcade-coding-assistant component because we need to know if we should render the assistant in the action bar
|
|
6
|
-
*/
|
|
7
|
-
export declare function getArcadeAssistantRemoteState({ portalUrl, profile, }: ArcadeAssistantConfig & {
|
|
8
|
-
profile: ArcgisArcadeEditor["profile"];
|
|
9
|
-
}): Promise<ArcadeAssistantRemoteState>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Diagnostic } from '@arcgis/arcade-languageservice';
|
|
2
|
-
import { Uri, Position, editor as Editor } from 'monaco-editor';
|
|
3
|
-
import { languages } from '../monaco-importer';
|
|
4
|
-
import { IArcadeWorkerAccessor } from './types';
|
|
5
|
-
import { ArcadeLanguageServiceDefaults } from './arcade-defaults';
|
|
6
|
-
export declare class DiagnosticsAdapter {
|
|
7
|
-
private _languageId;
|
|
8
|
-
private _worker;
|
|
9
|
-
private _disposables;
|
|
10
|
-
private _modelListeners;
|
|
11
|
-
private _diagnosticsService;
|
|
12
|
-
private _defaults;
|
|
13
|
-
constructor(_languageId: string, _worker: IArcadeWorkerAccessor, { defaults, diagnosticsService, }: {
|
|
14
|
-
defaults: ArcadeLanguageServiceDefaults;
|
|
15
|
-
diagnosticsService: {
|
|
16
|
-
fireDiagnosticsChange: (uri: Uri, diagnostics: Diagnostic[]) => void;
|
|
17
|
-
};
|
|
18
|
-
});
|
|
19
|
-
dispose(): void;
|
|
20
|
-
private _doValidate;
|
|
21
|
-
}
|
|
22
|
-
export declare function toCompletionItemKind(kind: number | undefined): languages.CompletionItemKind;
|
|
23
|
-
export declare class CompletionProvider implements languages.CompletionItemProvider {
|
|
24
|
-
private _worker;
|
|
25
|
-
private _defaults;
|
|
26
|
-
constructor(_worker: IArcadeWorkerAccessor, _defaults: ArcadeLanguageServiceDefaults);
|
|
27
|
-
triggerCharacters: string[];
|
|
28
|
-
provideCompletionItems(model: Editor.ITextModel, position: Position): Promise<languages.CompletionList | undefined>;
|
|
29
|
-
}
|
|
30
|
-
export declare class FormattingProvider implements languages.DocumentFormattingEditProvider {
|
|
31
|
-
private _worker;
|
|
32
|
-
private _defaults;
|
|
33
|
-
constructor(_worker: IArcadeWorkerAccessor, _defaults: ArcadeLanguageServiceDefaults);
|
|
34
|
-
provideDocumentFormattingEdits(model: Editor.ITextModel): Promise<languages.TextEdit[]>;
|
|
35
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { IEvent, Uri } from 'monaco-editor';
|
|
2
|
-
import { IArcadeWorker } from './types';
|
|
3
|
-
import { Diagnostic } from '@arcgis/arcade-languageservice';
|
|
4
|
-
import { ArcadeLanguageServiceDefaults } from './arcade-defaults';
|
|
5
|
-
/**
|
|
6
|
-
* Returns the arcade worker for the model uris.
|
|
7
|
-
* @param uris The model uris for which to get the worker.
|
|
8
|
-
* @returns The arcade worker.
|
|
9
|
-
*/
|
|
10
|
-
export declare function getArcadeWorker(...uris: Uri[]): Promise<IArcadeWorker>;
|
|
11
|
-
export interface IDiagnosticsEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The uri of the model for which the diagnostics changed.
|
|
14
|
-
*/
|
|
15
|
-
uri: Uri;
|
|
16
|
-
/**
|
|
17
|
-
* The diagnostics for the model.
|
|
18
|
-
*/
|
|
19
|
-
diagnostics: Diagnostic[];
|
|
20
|
-
}
|
|
21
|
-
export interface IDiagnosticService {
|
|
22
|
-
onDiagnosticsChange: IEvent<IDiagnosticsEvent>;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Get the Arcade Diagnostic Service.
|
|
26
|
-
* @returns The Arcade Language Diagnostic Service.
|
|
27
|
-
*/
|
|
28
|
-
export declare function getArcadeDiagnosticService(): IDiagnosticService;
|
|
29
|
-
export declare function setupMode(arcadeDefaults: ArcadeLanguageServiceDefaults): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ApiProfile } from '@arcgis/languages-api-utils';
|
|
2
|
-
import { EditorProfile } from '../profile/editor-profile';
|
|
3
|
-
import { IPredefinedProfile, IEditorProfileDefinition, IProfilePolicy } from '../profile/types';
|
|
4
|
-
import { ArcadeSupportedFeatureSetLayerUnion } from '@arcgis/core/arcade';
|
|
5
|
-
/**
|
|
6
|
-
* Converts an editor profile to an api profile.
|
|
7
|
-
* The api profile is an optimized version of the editor profile designed for minimal data transfer between the main thread and the worker.
|
|
8
|
-
*/
|
|
9
|
-
export declare function arcadeEditorToApiProfile(editorProfile: EditorProfile): Promise<ApiProfile>;
|
|
10
|
-
export declare function convertToEditorProfileDefinition(predefinedProfile: IPredefinedProfile, locale?: string): Promise<IEditorProfileDefinition | undefined>;
|
|
11
|
-
export declare function isSupportedFsLayerInstanceType(item: unknown): item is ArcadeSupportedFeatureSetLayerUnion;
|
|
12
|
-
export declare const arcadeEditorProfilePolicy: IProfilePolicy;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IArcadeWorker } from './types';
|
|
2
|
-
import { Uri } from 'monaco-editor';
|
|
3
|
-
import type * as arcadeModeModule from "./arcade-mode";
|
|
4
|
-
type ArcadeModeType = typeof arcadeModeModule;
|
|
5
|
-
/**
|
|
6
|
-
* Returns the arcade diagnostic service.
|
|
7
|
-
* Example:
|
|
8
|
-
* ```ts
|
|
9
|
-
* const diagnosticService = await getArcadeDiagnosticService();
|
|
10
|
-
* diagnosticService.onDidChangeDiagnostics(({uri, diaganostics }) => {
|
|
11
|
-
* // Filter the diagnostics for the uri of interest
|
|
12
|
-
* // Do something with the diagnostics
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare function getArcadeDiagnosticService(): Promise<arcadeModeModule.IDiagnosticService>;
|
|
17
|
-
/**
|
|
18
|
-
* Returns the arcade worker for the model.
|
|
19
|
-
* Example:
|
|
20
|
-
* ```ts
|
|
21
|
-
* const arcadeWorker = await getArcadeWorker(model.uri);
|
|
22
|
-
* ```
|
|
23
|
-
* @returns arcade worker
|
|
24
|
-
*/
|
|
25
|
-
export declare function getArcadeWorker(uri: Uri): Promise<IArcadeWorker>;
|
|
26
|
-
/**
|
|
27
|
-
* Request the arcade mode
|
|
28
|
-
* @returns arcade mode module
|
|
29
|
-
*/
|
|
30
|
-
export declare function getMode(): Promise<ArcadeModeType>;
|
|
31
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { editor as Editor, Uri } from 'monaco-editor';
|
|
2
|
-
import { IArcadeWorker } from './types';
|
|
3
|
-
import { ArcadeLanguageServiceDefaults } from './arcade-defaults';
|
|
4
|
-
/**
|
|
5
|
-
* Manager to create our arcade worker and client proxy
|
|
6
|
-
*/
|
|
7
|
-
export declare class WorkerManager {
|
|
8
|
-
private _defaults;
|
|
9
|
-
private _worker;
|
|
10
|
-
private _client;
|
|
11
|
-
private _configChangeListener;
|
|
12
|
-
constructor(_defaults: ArcadeLanguageServiceDefaults);
|
|
13
|
-
dispose(): void;
|
|
14
|
-
stopWorker(): void;
|
|
15
|
-
/**
|
|
16
|
-
* Wait for the worker to be ready.
|
|
17
|
-
* @returns A promise that resolves when the worker is ready.
|
|
18
|
-
*/
|
|
19
|
-
static waitForWorker(): Promise<Editor.MonacoWebWorker<IArcadeWorker>>;
|
|
20
|
-
private _getClientProxy;
|
|
21
|
-
getLanguageServiceWorker(...resources: Uri[]): Promise<IArcadeWorker>;
|
|
22
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { worker } from 'monaco-editor';
|
|
2
|
-
import { IArcadeWorker } from './types';
|
|
3
|
-
import { Diagnostic, ArcadeApiContext } from '@arcgis/arcade-languageservice';
|
|
4
|
-
import { CompletionList, Position, TextEdit } from 'vscode-languageserver-types';
|
|
5
|
-
import { WorkerHost } from '../language-defaults-base';
|
|
6
|
-
interface IArcadeWorkerData {
|
|
7
|
-
languageId: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* The Arcade Web Worker is leveraging the Arcade Language Service to provide the editor functionalities.
|
|
11
|
-
* The Arcade Web Worker is proxied by the Monaco worker server.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ArcadeWorker implements IArcadeWorker {
|
|
14
|
-
private _ctx;
|
|
15
|
-
private _languageId;
|
|
16
|
-
private _languageService;
|
|
17
|
-
constructor(_ctx: worker.IWorkerContext<WorkerHost>, { languageId }: IArcadeWorkerData);
|
|
18
|
-
doValidation(modelId: string, context: ArcadeApiContext): Promise<Diagnostic[]>;
|
|
19
|
-
doComplete(modelId: string, position: Position, context: ArcadeApiContext): Promise<CompletionList>;
|
|
20
|
-
doFormat(modelId: string, context: ArcadeApiContext): Promise<TextEdit[]>;
|
|
21
|
-
private _getTextDocument;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Thenable, Uri } from 'monaco-editor';
|
|
2
|
-
import { ArcadeApiContext, Diagnostic } from '@arcgis/arcade-languageservice';
|
|
3
|
-
import { CompletionList, Position, TextEdit } from 'vscode-languageserver-types';
|
|
4
|
-
export interface IArcadeWorker {
|
|
5
|
-
doValidation: (modelId: string, context: ArcadeApiContext) => Thenable<Diagnostic[]>;
|
|
6
|
-
doComplete: (modelId: string, position: Position, context: ArcadeApiContext) => Thenable<CompletionList>;
|
|
7
|
-
doFormat: (modelId: string, context: ArcadeApiContext) => Thenable<TextEdit[]>;
|
|
8
|
-
}
|
|
9
|
-
export type IArcadeWorkerAccessor = (...more: Uri[]) => Thenable<IArcadeWorker>;
|
package/dist/utils/colorize.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IDisposable } from 'monaco-editor';
|
|
2
|
-
export declare function colorizeCode(code: string, languageId: string): Promise<string>;
|
|
3
|
-
export declare function colorizeCodeElement(e: Element | null | undefined, text: string | null | undefined, languageId: string): Promise<void>;
|
|
4
|
-
export declare function generateColorizeStyles(): string;
|
|
5
|
-
export declare function onColorizeThemeChanged(func: () => void): IDisposable;
|
package/dist/utils/css-vars.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CSSResult } from 'lit';
|
|
2
|
-
/**
|
|
3
|
-
* monaco-theme.json is used to generate the monaco themes in [setupTheme]({@link ./setup-monaco-theme.ts})
|
|
4
|
-
* as well as define css variables used in [arcade-results]({@link ../components/arcade-results/arcade-results.tsx})
|
|
5
|
-
* Thus, we need to dynamically generate css variables from the json file.
|
|
6
|
-
*/
|
|
7
|
-
export declare function generateCssVars(): CSSResult;
|
package/dist/utils/fields.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Variable } from '@arcgis/core/arcade';
|
|
2
|
-
import { default as Field } from '@arcgis/core/layers/support/Field';
|
|
3
|
-
import { ApiValueVariableType } from '@arcgis/languages-api-utils';
|
|
4
|
-
/**
|
|
5
|
-
* The set of calcite icons we use in the arcade editor to represent field and variable types.
|
|
6
|
-
*/
|
|
7
|
-
type EditorIcons = "calendar" | "clock" | "cube" | "date-time" | "double-float-set" | "key" | "number" | "string-set" | "string" | "time-zone";
|
|
8
|
-
/**
|
|
9
|
-
* Returns an icon name for the field type
|
|
10
|
-
*/
|
|
11
|
-
export declare function fieldTypeToIconName(field: Field, members?: Variable[]): EditorIcons;
|
|
12
|
-
/** Returns the icon name for an \@arcgis/core profile variable */
|
|
13
|
-
export declare function memberToIconName(member: Variable): EditorIcons;
|
|
14
|
-
/**
|
|
15
|
-
* Returns the ApiValueVariable type for the given field.
|
|
16
|
-
*/
|
|
17
|
-
export declare function fieldTypeToApiValueVarType(field: Field): ApiValueVariableType;
|
|
18
|
-
export declare function supportedFields(fields: Field[] | null | undefined): Field[];
|
|
19
|
-
export declare function fieldAlias(field: Field): string;
|
|
20
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { IDisposable } from 'monaco-editor';
|
|
2
|
-
/**
|
|
3
|
-
* Undocumented Monaco APIs
|
|
4
|
-
*
|
|
5
|
-
* We use an internal undocumented monaco-editor APIs to patch some shadow DOM issues in monaco-editor / vscode.
|
|
6
|
-
*
|
|
7
|
-
* Using these APIs introduces risk of breakages with future updates to monaco-editor, as they are not part of the public API.
|
|
8
|
-
*
|
|
9
|
-
* This file contains type definitions and helper functions to work with these internal APIs safely.
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
type PointerHandlerDisposable = {
|
|
13
|
-
_type?: string;
|
|
14
|
-
dispose?: () => void;
|
|
15
|
-
};
|
|
16
|
-
export type EditorMouseEventInstance = {
|
|
17
|
-
readonly event?: Event;
|
|
18
|
-
readonly target?: EventTarget | null;
|
|
19
|
-
};
|
|
20
|
-
export type MouseEventFactoryInstance = {
|
|
21
|
-
onMouseMove: (domNode: HTMLElement, callback: (e: Event) => void) => IDisposable;
|
|
22
|
-
};
|
|
23
|
-
type PointerHandler = {
|
|
24
|
-
_store: {
|
|
25
|
-
_toDispose: Set<PointerHandlerDisposable>;
|
|
26
|
-
};
|
|
27
|
-
viewHelper: {
|
|
28
|
-
viewDomNode: HTMLElement;
|
|
29
|
-
};
|
|
30
|
-
_onMouseMove: (e: unknown) => void;
|
|
31
|
-
_onMouseLeave: (e: unknown) => void;
|
|
32
|
-
_mouseLeaveMonitor: IDisposable | null;
|
|
33
|
-
_register: (disposable: IDisposable) => IDisposable;
|
|
34
|
-
};
|
|
35
|
-
export type UndocumentedMonacoEditorInstanceApi = {
|
|
36
|
-
_modelData?: {
|
|
37
|
-
view?: {
|
|
38
|
-
_pointerHandler?: {
|
|
39
|
-
handler?: PointerHandler;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type AddDisposableListener = (element: Document | HTMLElement | Window, type: string, listener: (event: Event) => void) => IDisposable;
|
|
45
|
-
type GetShadowRoot = (element: HTMLElement) => ShadowRoot | null;
|
|
46
|
-
export type MonacoDomApi = {
|
|
47
|
-
addDisposableListener: AddDisposableListener;
|
|
48
|
-
getShadowRoot: GetShadowRoot;
|
|
49
|
-
};
|
|
50
|
-
export type MonacoStaticMemberContainer = Record<string, unknown> | ((...args: unknown[]) => unknown);
|
|
51
|
-
export declare function getPointerHandler(editor: unknown): PointerHandler | null;
|
|
52
|
-
declare function getMonacoDomApi(): MonacoDomApi | null;
|
|
53
|
-
declare function createMouseEventFactory(domNode: HTMLElement): MouseEventFactoryInstance | null;
|
|
54
|
-
declare function createEditorMouseEvent(e: Event, isFromTouch: boolean, target: HTMLElement): EditorMouseEventInstance | null;
|
|
55
|
-
export declare function assertHasPointerHandler(editor: unknown): editor is UndocumentedMonacoEditorInstanceApi;
|
|
56
|
-
export { getMonacoDomApi, createMouseEventFactory, createEditorMouseEvent };
|
|
57
|
-
export type ActualDoHitTestFn = (ctx: unknown, coords: {
|
|
58
|
-
clientX: number;
|
|
59
|
-
clientY: number;
|
|
60
|
-
}) => unknown;
|
|
61
|
-
export declare function isShadowDomSelectionRangeNodeError(message: string): boolean;
|
|
62
|
-
export declare function getMouseTargetFactoryContainer(): MonacoStaticMemberContainer | null;
|
|
63
|
-
export declare function getActualDoHitTestWithCaretRangeFromPoint(factory: MonacoStaticMemberContainer): ActualDoHitTestFn | null;
|
|
64
|
-
export type HitTestResultUnknownLike = {
|
|
65
|
-
type: 0;
|
|
66
|
-
hitTarget: unknown;
|
|
67
|
-
};
|