@arcgis/coding-components 4.29.0-beta.48 → 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-b5479fc4.js → p-0d616249.js} +8 -8
- package/dist/arcgis-coding-components/{p-af7d25aa.js → p-5802524a.js} +1 -1
- package/dist/arcgis-coding-components/{p-30618728.js → p-5ddccf04.js} +1 -1
- package/dist/arcgis-coding-components/p-7475f3a6.js +1 -0
- package/dist/arcgis-coding-components/{p-2e99b56e.js → p-7d8caba9.js} +1 -1
- package/dist/arcgis-coding-components/{p-a8d30530.js → p-9f6db08a.js} +1 -1
- package/dist/arcgis-coding-components/{p-0823fa31.js → p-aefe77ce.js} +1 -1
- package/dist/arcgis-coding-components/p-ce2be55e.entry.js +1 -0
- package/dist/arcgis-coding-components/{p-d78367ff.js → p-d425a387.js} +1 -1
- package/dist/arcgis-coding-components/{p-ae129dfa.js → p-ff21f230.js} +1 -1
- package/dist/cjs/{arcade-defaults-6fa4acb9.js → arcade-defaults-2d513b59.js} +238 -238
- package/dist/cjs/{arcade-mode-15687545.js → arcade-mode-6219f1b8.js} +74 -73
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +42 -46
- package/dist/cjs/{cssMode-644e4ecf.js → cssMode-1ec48254.js} +1 -1
- package/dist/cjs/{html-567706f3.js → html-0e1741fe.js} +1 -1
- package/dist/cjs/{htmlMode-14c95ab8.js → htmlMode-279d3c29.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-69c3523c.js → javascript-04f1bce0.js} +2 -2
- package/dist/cjs/{jsonMode-da8803e7.js → jsonMode-59322f7a.js} +1 -1
- package/dist/cjs/{tsMode-eddf280e.js → tsMode-17561f70.js} +1 -1
- package/dist/cjs/{typescript-114292ed.js → typescript-b7da8629.js} +1 -1
- package/dist/components/arcade-api.js +1 -1
- package/dist/components/arcade-contribution.js +4 -4
- package/dist/components/arcade-defaults.js +3 -3
- package/dist/components/arcade-mode.js +73 -72
- package/dist/components/arcade-results.js +26 -30
- package/dist/components/arcade-suggestions.js +2 -4
- package/dist/components/arcade-variables.js +4 -2
- package/dist/components/arcgis-arcade-editor.js +3 -3
- package/dist/components/index2.js +2 -2
- package/dist/components/markdown.js +1 -1
- package/dist/esm/{arcade-defaults-3a952c7e.js → arcade-defaults-0bafa696.js} +238 -238
- package/dist/esm/{arcade-mode-619b0989.js → arcade-mode-c17a1fa1.js} +74 -73
- package/dist/esm/arcgis-arcade-api_6.entry.js +42 -46
- package/dist/esm/{cssMode-4100a9c5.js → cssMode-3d18bd2b.js} +1 -1
- package/dist/esm/{html-fbb4fdec.js → html-2bce5d77.js} +1 -1
- package/dist/esm/{htmlMode-a896869e.js → htmlMode-69d56956.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-a0bd70ad.js → javascript-ded5c9d7.js} +2 -2
- package/dist/esm/{jsonMode-76fe6af1.js → jsonMode-0bf84cb2.js} +1 -1
- package/dist/esm/{tsMode-277700f6.js → tsMode-15d4e936.js} +1 -1
- package/dist/esm/{typescript-c9f880aa.js → typescript-cc4d00f0.js} +1 -1
- package/package.json +6 -6
- package/dist/arcgis-coding-components/p-3dd452e0.js +0 -1
- package/dist/arcgis-coding-components/p-8f729db2.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as main, e as editor, M as MarkerSeverity, R as Range, l as languages, E as Emitter } from './arcade-defaults-0bafa696.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
var ge=(e=>(e.False="false",e.Null="null",e.True="true",e))(ge||{}),xe=(e=>(e.Break="break",e.Continue="continue",e.Else="else",e.For="for",e.From="from",e.Function="function",e.If="if",e.Import="import",e.Export="export",e.In="in",e.Return="return",e.Var="var",e.While="while",e))(xe||{}),c=(e=>(e.AssignmentExpression="AssignmentExpression",e.ArrayExpression="ArrayExpression",e.BlockComment="BlockComment",e.BlockStatement="BlockStatement",e.BinaryExpression="BinaryExpression",e.BreakStatement="BreakStatement",e.CallExpression="CallExpression",e.ContinueStatement="ContinueStatement",e.EmptyStatement="EmptyStatement",e.ExpressionStatement="ExpressionStatement",e.ExportNamedDeclaration="ExportNamedDeclaration",e.ExportSpecifier="ExportSpecifier",e.ForStatement="ForStatement",e.ForInStatement="ForInStatement",e.FunctionDeclaration="FunctionDeclaration",e.Identifier="Identifier",e.IfStatement="IfStatement",e.ImportDeclaration="ImportDeclaration",e.ImportDefaultSpecifier="ImportDefaultSpecifier",e.LineComment="LineComment",e.Literal="Literal",e.LogicalExpression="LogicalExpression",e.MemberExpression="MemberExpression",e.ObjectExpression="ObjectExpression",e.Program="Program",e.Property="Property",e.ReturnStatement="ReturnStatement",e.TemplateElement="TemplateElement",e.TemplateLiteral="TemplateLiteral",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.VariableDeclaration="VariableDeclaration",e.VariableDeclarator="VariableDeclarator",e.WhileStatement="WhileStatement",e))(c||{}),De=["++","--"],We=["-","+","!","~"],qe=["=","/=","*=","%=","+=","-="],He=["||","&&"],bt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"],It=(e=>(e[e.Unknown=0]="Unknown",e[e.BooleanLiteral=1]="BooleanLiteral",e[e.EOF=2]="EOF",e[e.Identifier=3]="Identifier",e[e.Keyword=4]="Keyword",e[e.NullLiteral=5]="NullLiteral",e[e.NumericLiteral=6]="NumericLiteral",e[e.Punctuator=7]="Punctuator",e[e.StringLiteral=8]="StringLiteral",e[e.Template=10]="Template",e))(It||{}),kt=(e=>(e.InvalidModuleUri="InvalidModuleUri",e.ForInOfLoopInitializer="ForInOfLoopInitializer",e.IdentiferExpected="IdentiferExpected",e.InvalidEscapedReservedWord="InvalidEscapedReservedWord",e.InvalidExpression="InvalidExpression",e.InvalidFunctionIdentifier="InvalidFunctionIdentifier",e.InvalidHexEscapeSequence="InvalidHexEscapeSequence",e.InvalidLeftHandSideInAssignment="InvalidLeftHandSideInAssignment",e.InvalidLeftHandSideInForIn="InvalidLeftHandSideInForIn",e.InvalidTemplateHead="InvalidTemplateHead",e.InvalidVariableAssignment="InvalidVariableAssignment",e.KeyMustBeString="KeyMustBeString",e.NoFunctionInsideBlock="NoFunctionInsideBlock",e.NoFunctionInsideFunction="NoFunctionInsideFunction",e.ModuleExportRootOnly="ModuleExportRootOnly",e.ModuleImportRootOnly="ModuleImportRootOnly",e.PunctuatorExpected="PunctuatorExpected",e.TemplateOctalLiteral="TemplateOctalLiteral",e.UnexpectedBoolean="UnexpectedBoolean",e.UnexpectedEndOfScript="UnexpectedEndOfScript",e.UnexpectedIdentifier="UnexpectedIdentifier",e.UnexpectedKeyword="UnexpectedKeyword",e.UnexpectedNull="UnexpectedNull",e.UnexpectedNumber="UnexpectedNumber",e.UnexpectedPunctuator="UnexpectedPunctuator",e.UnexpectedString="UnexpectedString",e.UnexpectedTemplate="UnexpectedTemplate",e.UnexpectedToken="UnexpectedToken",e))(kt||{});var v=[[],[],[]];De.forEach(e=>v[e.length-1].push(e));We.forEach(e=>v[e.length-1].push(e));He.forEach(e=>v[e.length-1].push(e));qe.forEach(e=>v[e.length-1].push(e));bt.forEach(e=>v[e.length-1].push(e));var rt=(D=>(D.AlreadyDefined="AlreadyDefined",D.ApiConflict="ApiConflict",D.AssignedNeverUsed="AssignedNeverUsed",D.DefinedNeverAssigned="DefinedNeverAssigned",D.DefinedNeverUsed="DefinedNeverUsed",D.EmptyBlockStatement="EmptyBlockStatement",D.ExecutionError="ExecutionError",D.InvalidApiFunctionUsage="InvalidApiFunctionUsage",D.InvalidConstantIdentifier="InvalidConstantIdentifier",D.InvalidPropertyIdentifier="InvalidPropertyIdentifier",D.NoArgumentExpected="NoArgumentExpected",D.NotADictionary="NotADictionary",D.NotDefined="NotDefined",D.NotEnoughArguments="NotEnoughArguments",D.ProfileVariablesAreImmutable="ProfileVariablesAreImmutable",D.ProfileVariablesConflict="ProfileVariablesConflict",D.ReservedKeyword="ReservedKeyword",D.TooManyArguments="TooManyArguments",D.UnexpectedEmptyFunction="UnexpectedEmptyFunction",D.UnexpectedPropertyIdentifier="UnexpectedPropertyIdentifier",D.UnknownPropertyIdentifier="UnknownPropertyIdentifier",D))(rt||{});var st=Object.values(xe),at=Object.values(ge);at.map(e=>({label:e,kind:main.CompletionItemKind.Constant}));st.map(e=>({label:e,kind:main.CompletionItemKind.Keyword}));
|
|
@@ -35,7 +35,7 @@ const operators = [
|
|
|
35
35
|
];
|
|
36
36
|
const arcadeLanguageConfiguration = {
|
|
37
37
|
// the default separators except `@$`
|
|
38
|
-
wordPattern: /(-?\d*\.\d\w*)|([
|
|
38
|
+
wordPattern: /(-?\d*\.\d\w*)|([^`~!#%\^&\*\(\)\-=\+\[\{\]\}\\\|;:'",\.<>\/\?\s]+)/gu,
|
|
39
39
|
comments: {
|
|
40
40
|
lineComment: "//",
|
|
41
41
|
blockComment: ["/*", "*/"]
|
|
@@ -56,15 +56,15 @@ const arcadeLanguageConfiguration = {
|
|
|
56
56
|
autoCloseBefore: ";:.,=}])` \n\t",
|
|
57
57
|
folding: {
|
|
58
58
|
markers: {
|
|
59
|
-
start:
|
|
60
|
-
end:
|
|
59
|
+
start: /^\s*\/\/\s*#?region\b/u,
|
|
60
|
+
end: /^\s*\/\/\s*#?endregion\b/u
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
indentationRules: {
|
|
64
64
|
// ^(.*\*/)?\s*\}.*$
|
|
65
|
-
decreaseIndentPattern: /^((?!.*?\/\*).*\*\/)?\s*[\}\]\)]
|
|
65
|
+
decreaseIndentPattern: /^((?!.*?\/\*).*\*\/)?\s*[\}\]\)].*$/u,
|
|
66
66
|
// ^.*\{[^}"']*$
|
|
67
|
-
increaseIndentPattern: /^((?!\/\/).)*(\{[^}"'`]*|\([^)"'`]*|\[[^\]"'`]*)$/
|
|
67
|
+
increaseIndentPattern: /^((?!\/\/).)*(\{[^}"'`]*|\([^)"'`]*|\[[^\]"'`]*)$/u
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
const arcadeMonarchLanguage = {
|
|
@@ -80,23 +80,23 @@ const arcadeMonarchLanguage = {
|
|
|
80
80
|
operators,
|
|
81
81
|
constants: ["true", "false", "null"],
|
|
82
82
|
// we include these common regular expressions
|
|
83
|
-
symbols: /[=><!~?:&|+\-*\/\^%]
|
|
84
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})
|
|
85
|
-
digits: /\d+(_+\d+)
|
|
86
|
-
octaldigits: /[0-7]+(_+[0-7]+)
|
|
87
|
-
binarydigits: /[0-1]+(_+[0-1]+)
|
|
88
|
-
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)
|
|
89
|
-
regexpctl: /[(){}\[\]\$\^|\-*+?\.]
|
|
90
|
-
regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})
|
|
83
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/u,
|
|
84
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/u,
|
|
85
|
+
digits: /\d+(_+\d+)*/u,
|
|
86
|
+
octaldigits: /[0-7]+(_+[0-7]+)*/u,
|
|
87
|
+
binarydigits: /[0-1]+(_+[0-1]+)*/u,
|
|
88
|
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/u,
|
|
89
|
+
regexpctl: /[(){}\[\]\$\^|\-*+?\.]/u,
|
|
90
|
+
regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/u,
|
|
91
91
|
// The main tokenizer for our languages
|
|
92
92
|
tokenizer: {
|
|
93
|
-
root: [[/[{}]
|
|
93
|
+
root: [[/[{}]/u, "delimiter.bracket"], { include: "common" }],
|
|
94
94
|
common: [
|
|
95
95
|
// import statement. import followed by a white space
|
|
96
|
-
[/import(?=\s)
|
|
96
|
+
[/import(?=\s)/u, { token: "keyword", next: "@import" }],
|
|
97
97
|
// identifiers and keywords
|
|
98
98
|
[
|
|
99
|
-
/[a-z_$][\w$]
|
|
99
|
+
/[a-z_$][\w$]*/u,
|
|
100
100
|
{
|
|
101
101
|
cases: {
|
|
102
102
|
"@constants": "constant",
|
|
@@ -109,14 +109,14 @@ const arcadeMonarchLanguage = {
|
|
|
109
109
|
{ include: "@whitespace" },
|
|
110
110
|
// regular expression: ensure it is terminated before beginning (otherwise it is an opeator)
|
|
111
111
|
[
|
|
112
|
-
/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|\/|,|\)|\]|\}|$))
|
|
112
|
+
/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|\/|,|\)|\]|\}|$))/u,
|
|
113
113
|
{ token: "regexp", bracket: "@open", next: "@regexp" }
|
|
114
114
|
],
|
|
115
115
|
// delimiters and operators
|
|
116
|
-
[/[()\[\]]
|
|
117
|
-
[/[<>](?!@symbols)
|
|
116
|
+
[/[()\[\]]/u, "@brackets"],
|
|
117
|
+
[/[<>](?!@symbols)/u, "@brackets"],
|
|
118
118
|
[
|
|
119
|
-
/@symbols
|
|
119
|
+
/@symbols/u,
|
|
120
120
|
{
|
|
121
121
|
cases: {
|
|
122
122
|
"@operators": "delimiter",
|
|
@@ -125,87 +125,87 @@ const arcadeMonarchLanguage = {
|
|
|
125
125
|
}
|
|
126
126
|
],
|
|
127
127
|
// numbers
|
|
128
|
-
[/(@digits)[eE]([\-+]?(@digits))
|
|
129
|
-
[/(@digits)\.(@digits)([eE][\-+]?(@digits))
|
|
130
|
-
[/0[xX](@hexdigits)
|
|
131
|
-
[/0[oO]?(@octaldigits)
|
|
132
|
-
[/0[bB](@binarydigits)
|
|
133
|
-
[/(@digits)
|
|
128
|
+
[/(@digits)[eE]([\-+]?(@digits))?/u, "number"],
|
|
129
|
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/u, "number"],
|
|
130
|
+
[/0[xX](@hexdigits)/u, "number"],
|
|
131
|
+
[/0[oO]?(@octaldigits)/u, "number"],
|
|
132
|
+
[/0[bB](@binarydigits)/u, "number"],
|
|
133
|
+
[/(@digits)/u, "number"],
|
|
134
134
|
// delimiter: after number because of .\d floats
|
|
135
|
-
[/[;,.]
|
|
135
|
+
[/[;,.]/u, "delimiter"],
|
|
136
136
|
// strings
|
|
137
|
-
[/"([^"\\]|\\.)
|
|
138
|
-
[/'([^'\\]|\\.)
|
|
139
|
-
[/"
|
|
140
|
-
[/'
|
|
141
|
-
[
|
|
137
|
+
[/"([^"\\]|\\.)*$/u, "string.invalid"],
|
|
138
|
+
[/'([^'\\]|\\.)*$/u, "string.invalid"],
|
|
139
|
+
[/"/u, "string", "@string_double"],
|
|
140
|
+
[/'/u, "string", "@string_single"],
|
|
141
|
+
[/`/u, "string", "@string_backtick"]
|
|
142
142
|
],
|
|
143
143
|
import: [
|
|
144
144
|
// import keyword
|
|
145
|
-
[/import(?=\s)
|
|
145
|
+
[/import(?=\s)/u, { token: "keyword" }],
|
|
146
146
|
// whitespace
|
|
147
147
|
{ include: "@whitespace" },
|
|
148
148
|
// identifier
|
|
149
|
-
[/[a-z_$][\w$]
|
|
149
|
+
[/[a-z_$][\w$]*/u, "identifier"],
|
|
150
150
|
// whitespace
|
|
151
151
|
{ include: "@whitespace" },
|
|
152
152
|
// from keyword
|
|
153
|
-
[/from
|
|
153
|
+
[/from/u, { token: "keyword", next: "@popall" }]
|
|
154
154
|
],
|
|
155
155
|
whitespace: [
|
|
156
|
-
[/[ \t\r\n]
|
|
157
|
-
[
|
|
158
|
-
[
|
|
156
|
+
[/[ \t\r\n]+/u, ""],
|
|
157
|
+
[/\/\*/u, "comment", "@comment"],
|
|
158
|
+
[/\/\/.*$/u, "comment"]
|
|
159
159
|
],
|
|
160
160
|
comment: [
|
|
161
|
-
[/[^\/*]
|
|
162
|
-
[
|
|
163
|
-
[/[\/*]
|
|
161
|
+
[/[^\/*]+/u, "comment"],
|
|
162
|
+
[/\*\//u, "comment", "@pop"],
|
|
163
|
+
[/[\/*]/u, "comment"]
|
|
164
164
|
],
|
|
165
165
|
// We match regular expression quite precisely
|
|
166
166
|
regexp: [
|
|
167
|
-
[/(\{)(\d+(?:,\d*)?)(\})
|
|
167
|
+
[/(\{)(\d+(?:,\d*)?)(\})/u, ["regexp.escape.control", "regexp.escape.control", "regexp.escape.control"]],
|
|
168
168
|
[
|
|
169
|
-
/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)
|
|
169
|
+
/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/u,
|
|
170
170
|
["regexp.escape.control", { token: "regexp.escape.control", next: "@regexrange" }]
|
|
171
171
|
],
|
|
172
|
-
[/(\()(\?:|\?=|\?!)
|
|
173
|
-
[/[()]
|
|
174
|
-
[/@regexpctl
|
|
175
|
-
[/[^\\\/]
|
|
176
|
-
[/@regexpesc
|
|
177
|
-
[
|
|
178
|
-
[/(\/)([gimsuy]*)
|
|
172
|
+
[/(\()(\?:|\?=|\?!)/u, ["regexp.escape.control", "regexp.escape.control"]],
|
|
173
|
+
[/[()]/u, "regexp.escape.control"],
|
|
174
|
+
[/@regexpctl/u, "regexp.escape.control"],
|
|
175
|
+
[/[^\\\/]/u, "regexp"],
|
|
176
|
+
[/@regexpesc/u, "regexp.escape"],
|
|
177
|
+
[/\\\./u, "regexp.invalid"],
|
|
178
|
+
[/(\/)([gimsuy]*)/u, [{ token: "regexp", bracket: "@close", next: "@pop" }, "keyword.other"]]
|
|
179
179
|
],
|
|
180
180
|
regexrange: [
|
|
181
|
-
[
|
|
182
|
-
[
|
|
183
|
-
[/@regexpesc
|
|
184
|
-
[/[^\]]
|
|
185
|
-
[/\]
|
|
181
|
+
[/-/u, "regexp.escape.control"],
|
|
182
|
+
[/\^/u, "regexp.invalid"],
|
|
183
|
+
[/@regexpesc/u, "regexp.escape"],
|
|
184
|
+
[/[^\]]/u, "regexp"],
|
|
185
|
+
[/\]/u, { token: "regexp.escape.control", next: "@pop", bracket: "@close" }]
|
|
186
186
|
],
|
|
187
187
|
string_double: [
|
|
188
|
-
[/[^\\"]
|
|
189
|
-
[/@escapes
|
|
190
|
-
[
|
|
191
|
-
[/"
|
|
188
|
+
[/[^\\"]+/u, "string"],
|
|
189
|
+
[/@escapes/u, "string.escape"],
|
|
190
|
+
[/\\./u, "string.escape.invalid"],
|
|
191
|
+
[/"/u, "string", "@pop"]
|
|
192
192
|
],
|
|
193
193
|
string_single: [
|
|
194
|
-
[/[^\\']
|
|
195
|
-
[/@escapes
|
|
196
|
-
[
|
|
197
|
-
[/'
|
|
194
|
+
[/[^\\']+/u, "string"],
|
|
195
|
+
[/@escapes/u, "string.escape"],
|
|
196
|
+
[/\\./u, "string.escape.invalid"],
|
|
197
|
+
[/'/u, "string", "@pop"]
|
|
198
198
|
],
|
|
199
199
|
string_backtick: [
|
|
200
|
-
[/\$\{
|
|
201
|
-
[/[^\\`$]
|
|
202
|
-
[/@escapes
|
|
203
|
-
[
|
|
204
|
-
[
|
|
200
|
+
[/\$\{/u, { token: "delimiter.bracket", next: "@bracketCounting" }],
|
|
201
|
+
[/[^\\`$]+/u, "string"],
|
|
202
|
+
[/@escapes/u, "string.escape"],
|
|
203
|
+
[/\\./u, "string.escape.invalid"],
|
|
204
|
+
[/`/u, "string", "@pop"]
|
|
205
205
|
],
|
|
206
206
|
bracketCounting: [
|
|
207
|
-
[/\{
|
|
208
|
-
[/\}
|
|
207
|
+
[/\{/u, "delimiter.bracket", "@bracketCounting"],
|
|
208
|
+
[/\}/u, "delimiter.bracket", "@pop"],
|
|
209
209
|
{ include: "common" }
|
|
210
210
|
]
|
|
211
211
|
}
|
|
@@ -266,7 +266,7 @@ class DiagnosticsAdapter {
|
|
|
266
266
|
}));
|
|
267
267
|
this._disposables.push({
|
|
268
268
|
dispose: () => {
|
|
269
|
-
for (const key
|
|
269
|
+
for (const key of Object.keys(this._listener)) {
|
|
270
270
|
this._listener[key].dispose();
|
|
271
271
|
}
|
|
272
272
|
}
|
|
@@ -536,7 +536,7 @@ let arcadeWorker;
|
|
|
536
536
|
async function getArcadeWorker(...uris) {
|
|
537
537
|
return new Promise((resolve, reject) => {
|
|
538
538
|
if (!arcadeWorker) {
|
|
539
|
-
return reject("TypeScript not registered!");
|
|
539
|
+
return reject(new Error("TypeScript not registered!"));
|
|
540
540
|
}
|
|
541
541
|
resolve(arcadeWorker(...uris));
|
|
542
542
|
});
|
|
@@ -585,6 +585,7 @@ function setupMode(arcadeDefaults) {
|
|
|
585
585
|
// Creates and registers a Formatter
|
|
586
586
|
languages.registerDocumentFormattingEditProvider(arcadeDefaults.languageId, new FormattingProvider(workerAccessor, arcadeDefaults));
|
|
587
587
|
// Creates a Diagnostic Adapter
|
|
588
|
+
// eslint-disable-next-line no-new
|
|
588
589
|
new DiagnosticsAdapter(arcadeDefaults.languageId, workerAccessor, {
|
|
589
590
|
defaults: arcadeDefaults,
|
|
590
591
|
diagnosticsService: arcadeDiagnosticService
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, g as getAssetPath, H as Host, a as getElement, F as Fragment } from './index-022fb97b.js';
|
|
2
|
-
import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, X, V, i as importRequest, l as languages, d as arcadeDefaults, F, U as Uri, f as U, O, h as filterCollection, q, j as importArcade, p,
|
|
2
|
+
import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, X, V, i as importRequest, l as languages, d as arcadeDefaults, F, U as Uri, f as U, O, h as filterCollection, q, j as importArcade, p, $, P, K as KeyCode, H, z, s as supportedFields, B, R as Range, T, k as KeyMod } from './arcade-defaults-0bafa696.js';
|
|
3
3
|
|
|
4
4
|
async function colorizeCode(code) {
|
|
5
5
|
return editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -2919,7 +2919,7 @@ marked_umd.marked.use({
|
|
|
2919
2919
|
}
|
|
2920
2920
|
});
|
|
2921
2921
|
function convertMarkdownString(value) {
|
|
2922
|
-
value
|
|
2922
|
+
value ?? (value = "");
|
|
2923
2923
|
const result = marked_umd.marked(typeof value === "string" ? value : value.value, {
|
|
2924
2924
|
gfm: true,
|
|
2925
2925
|
breaks: true,
|
|
@@ -2930,11 +2930,11 @@ function convertMarkdownString(value) {
|
|
|
2930
2930
|
}
|
|
2931
2931
|
|
|
2932
2932
|
function isMonacoEnvironmentSetup() {
|
|
2933
|
-
return !!
|
|
2933
|
+
return !!globalThis.MonacoEnvironment?.getWorkerUrl;
|
|
2934
2934
|
}
|
|
2935
2935
|
const additionalLanguageWorkersMap = new Map();
|
|
2936
2936
|
function getAssetsPath() {
|
|
2937
|
-
return
|
|
2937
|
+
return globalThis.MonacoEnvironment?.assetsPath;
|
|
2938
2938
|
}
|
|
2939
2939
|
function setupMonacoEnvironment(assetsPath) {
|
|
2940
2940
|
//
|
|
@@ -2944,7 +2944,7 @@ function setupMonacoEnvironment(assetsPath) {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
// Since we are using workers, monaco needs to find them.
|
|
2946
2946
|
// Using the global MonacoEnvironment.
|
|
2947
|
-
|
|
2947
|
+
globalThis.MonacoEnvironment = {
|
|
2948
2948
|
assetsPath,
|
|
2949
2949
|
getWorker: async (_, languageId) => {
|
|
2950
2950
|
// Manufacture the url for the web worker
|
|
@@ -2968,7 +2968,7 @@ function setupMonacoEnvironment(assetsPath) {
|
|
|
2968
2968
|
break;
|
|
2969
2969
|
}
|
|
2970
2970
|
// If we have a relative path or we are on same orgin, we can use the default js implementation
|
|
2971
|
-
if (!X(url) || V(url, location.href, true)) {
|
|
2971
|
+
if (!X(url) || V(url, globalThis.location.href, true)) {
|
|
2972
2972
|
return new Worker(url, { name: languageId });
|
|
2973
2973
|
}
|
|
2974
2974
|
// For cross orgin, we will load the worker code as a string and manufacture a blob
|
|
@@ -3015,7 +3015,7 @@ async function getArcadeWorker(uri) {
|
|
|
3015
3015
|
* @returns mode for arcade
|
|
3016
3016
|
*/
|
|
3017
3017
|
function getMode() {
|
|
3018
|
-
return import('./arcade-mode-
|
|
3018
|
+
return import('./arcade-mode-c17a1fa1.js');
|
|
3019
3019
|
}
|
|
3020
3020
|
// Register the language in Monaco
|
|
3021
3021
|
languages.register({
|
|
@@ -3077,7 +3077,7 @@ const ArcgisArcadeApi = class {
|
|
|
3077
3077
|
this._selectedApiItem = undefined;
|
|
3078
3078
|
};
|
|
3079
3079
|
// @ts-expect-error
|
|
3080
|
-
this._updateFilterValue = (e) => (this._filterValue = e.target?.
|
|
3080
|
+
this._updateFilterValue = (e) => (this._filterValue = e.target?.value ?? "");
|
|
3081
3081
|
this._lang = "";
|
|
3082
3082
|
this._t9nLocale = "";
|
|
3083
3083
|
this._t9nStrings = undefined;
|
|
@@ -3315,8 +3315,8 @@ async function loadArcadeResult(result, timeZone = "system") {
|
|
|
3315
3315
|
async function executeScript(editorProfile, script, testContext, console) {
|
|
3316
3316
|
//
|
|
3317
3317
|
const timeStamp = new Date();
|
|
3318
|
-
// Provide a default console function
|
|
3319
|
-
console
|
|
3318
|
+
// Provide a default console function if missing
|
|
3319
|
+
console ?? (console = () => undefined);
|
|
3320
3320
|
try {
|
|
3321
3321
|
// We want to measure compilation time
|
|
3322
3322
|
const t0 = performance.now();
|
|
@@ -3355,7 +3355,7 @@ async function executeScript(editorProfile, script, testContext, console) {
|
|
|
3355
3355
|
type: "error",
|
|
3356
3356
|
value: message,
|
|
3357
3357
|
error,
|
|
3358
|
-
timeStamp
|
|
3358
|
+
timeStamp,
|
|
3359
3359
|
compilationTime: 0,
|
|
3360
3360
|
executionTime: 0
|
|
3361
3361
|
};
|
|
@@ -3430,7 +3430,7 @@ const ArcgisArcadeEditor = class {
|
|
|
3430
3430
|
this.scriptChange = createEvent(this, "scriptChange", 3);
|
|
3431
3431
|
this.diagnosticsChange = createEvent(this, "diagnosticsChange", 3);
|
|
3432
3432
|
this._componentReadyDefer = new p();
|
|
3433
|
-
this._modelId =
|
|
3433
|
+
this._modelId = $();
|
|
3434
3434
|
this._editorProfilePromise = Promise.resolve(undefined);
|
|
3435
3435
|
this._disposables = [];
|
|
3436
3436
|
this._executeScript = async () => {
|
|
@@ -3609,7 +3609,7 @@ const ArcgisArcadeEditor = class {
|
|
|
3609
3609
|
// Start listening to the validation diagnostics.
|
|
3610
3610
|
// We are doing this as late as possible
|
|
3611
3611
|
const diagnosticsService = await getArcadeDiagnosticService();
|
|
3612
|
-
this._disposables.push(diagnosticsService.onDiagnosticsChange((
|
|
3612
|
+
this._disposables.push(diagnosticsService.onDiagnosticsChange((event) => !this._preparingProfile && this.diagnosticsChange.emit(event.diagnostics)));
|
|
3613
3613
|
// Get editor instance and add action
|
|
3614
3614
|
this._standaloneCodeEditor = await this.getEditorInstance();
|
|
3615
3615
|
this._standaloneCodeEditor?.addAction({
|
|
@@ -3738,7 +3738,7 @@ ArcgisArcadeEditor.style = arcadeEditorCss;
|
|
|
3738
3738
|
const indentSpecs = { char: " ", size: 2 };
|
|
3739
3739
|
const indentType = new Array(indentSpecs.size + 1).join(indentSpecs.char);
|
|
3740
3740
|
function createPushFunc(p) {
|
|
3741
|
-
return (substring) =>
|
|
3741
|
+
return (substring) => `\\${p.push(substring)}\\`;
|
|
3742
3742
|
}
|
|
3743
3743
|
function createPopFunc(p) {
|
|
3744
3744
|
return (_, offset) => p[offset - 1];
|
|
@@ -3751,25 +3751,27 @@ function jsonFormat(json) {
|
|
|
3751
3751
|
const p = [];
|
|
3752
3752
|
const pushFunc = createPushFunc(p);
|
|
3753
3753
|
const jsonString = JSON.stringify(json)
|
|
3754
|
-
.replace(/\\./
|
|
3755
|
-
.replace(/(".*?"|'.*?')/
|
|
3756
|
-
.replace(/\s
|
|
3754
|
+
.replace(/\\./gu, pushFunc)
|
|
3755
|
+
.replace(/(".*?"|'.*?')/gu, pushFunc)
|
|
3756
|
+
.replace(/\s+/u, "");
|
|
3757
3757
|
// Indent and insert newlines
|
|
3758
3758
|
let indentIndex = 0;
|
|
3759
3759
|
let out = "";
|
|
3760
|
-
for (let i = 0; i < jsonString.length; i
|
|
3760
|
+
for (let i = 0; i < jsonString.length; i += 1) {
|
|
3761
3761
|
const c = jsonString.charAt(i);
|
|
3762
3762
|
switch (c) {
|
|
3763
3763
|
case "{":
|
|
3764
3764
|
case "[":
|
|
3765
|
-
|
|
3765
|
+
indentIndex += 1;
|
|
3766
|
+
out += `${c}\n${indent(indentIndex, indentType)}`;
|
|
3766
3767
|
break;
|
|
3767
3768
|
case "}":
|
|
3768
3769
|
case "]":
|
|
3769
|
-
|
|
3770
|
+
indentIndex -= 1;
|
|
3771
|
+
out += `\n${indent(indentIndex, indentType)}${c}`;
|
|
3770
3772
|
break;
|
|
3771
3773
|
case ",":
|
|
3772
|
-
out +=
|
|
3774
|
+
out += `,\n${indent(indentIndex, indentType)}`;
|
|
3773
3775
|
break;
|
|
3774
3776
|
case ":":
|
|
3775
3777
|
out += ": ";
|
|
@@ -3783,11 +3785,9 @@ function jsonFormat(json) {
|
|
|
3783
3785
|
// and strings back in
|
|
3784
3786
|
const popFunc = createPopFunc(p);
|
|
3785
3787
|
return out
|
|
3786
|
-
.replace(/\[[\d,\s]+?\]/
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
.replace(/\\(\d+)\\/g, popFunc) // strings
|
|
3790
|
-
.replace(/\\(\d+)\\/g, popFunc); // backslashes in strings
|
|
3788
|
+
.replace(/\[[\d,\s]+?\]/gu, (m) => m.replace(/\s/gu, ""))
|
|
3789
|
+
.replace(/\\(\d+)\\/gu, popFunc) // strings
|
|
3790
|
+
.replace(/\\(\d+)\\/gu, popFunc); // backslashes in strings
|
|
3791
3791
|
}
|
|
3792
3792
|
|
|
3793
3793
|
const arcadeResultsCss = ":host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2)}:host .flex-adjustable{flex:1 1 auto;overflow:hidden}:host .flex-row{display:flex;flex-direction:row;overflow:hidden}:host .flex-column{display:flex;flex-direction:column;overflow:hidden}:host .y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-ui-foreground-1)}:host header{border-bottom:1px solid var(--calcite-ui-border-3);flex:0 0 auto}:host .ltr-container{direction:ltr}:host calcite-action-bar calcite-action-group{padding-inline-end:var(--calcite-spacing-half)}:host calcite-action-bar calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-half)}:host calcite-action-bar calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-half)}:host calcite-action-bar calcite-action-group:last-child{border-inline-end-width:0px}:host calcite-action-bar calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-half)}:host .notice-container{margin:var(--calcite-spacing-quarter);padding:var(--calcite-spacing-half);background-color:var(--calcite-ui-foreground-1)}:host .color-info{color:var(--calcite-ui-info)}:host .color-error{color:var(--calcite-ui-danger)}:host .color-success{color:var(--calcite-ui-success)}:host [class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-ui-foreground-1);margin:var(--calcite-spacing-three-quarter)}:host .console-logs-container{background-color:var(--calcite-ui-foreground-1);padding:0 var(--calcite-spacing-three-quarter);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}:host .result-value-table table{display:block;max-width:fit-content;overflow-x:auto;border-spacing:0;border-collapse:collapse;text-align:start;white-space:nowrap}:host .result-value-table table thead{background-color:var(--calcite-ui-foreground-2)}:host .result-value-table table tr{border-top:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3)}:host .result-value-table table th,:host .result-value-table table td{border-inline-start:1px solid var(--calcite-ui-border-3);border-inline-end:1px solid var(--calcite-ui-border-3);text-align:start;padding:var(--calcite-spacing-quarter)}:host .result-value-table table th .string-value,:host .result-value-table table td .string-value{white-space:pre}:host .result-value-table table th{font-weight:var(--calcite-font-weight-medium)}:host .tree-item-label,:host .number-value,:host .string-value,:host .boolean-value{font-family:var(--calcite-code-family)}:host .tree-item-label,:host .value-type{color:var(--calcite-text-2);font-weight:var(--calcite-font-weight-normal)}:host .dictionary-property{color:var(--arcgis-arcade-editor-identifier)}:host .number-value{color:var(--arcgis-arcade-editor-number)}:host .string-value{color:var(--arcgis-arcade-editor-string);white-space:pre-wrap}:host .constant-value{color:var(--arcgis-arcade-editor-constant)}:host .date-value{color:var(--arcgis-arcade-editor-date)}";
|
|
@@ -3852,9 +3852,7 @@ const ArcgisArcadeResults = class {
|
|
|
3852
3852
|
if (this.loading && !this.consoleLogs?.length) {
|
|
3853
3853
|
return h("calcite-loader", { scale: "s", type: "indeterminate", label: "" });
|
|
3854
3854
|
}
|
|
3855
|
-
return (h("div", { class: "console-logs-container ltr-container" }, this.consoleLogs?.length ? (this.consoleLogs.map((log) =>
|
|
3856
|
-
return h("p", null, log);
|
|
3857
|
-
})) : (h("p", null, this._t9nStrings?.consolemessage))));
|
|
3855
|
+
return (h("div", { class: "console-logs-container ltr-container" }, this.consoleLogs?.length ? (this.consoleLogs.map((log) => h("p", null, log))) : (h("p", null, this._t9nStrings?.consolemessage))));
|
|
3858
3856
|
}
|
|
3859
3857
|
renderLogPanel() {
|
|
3860
3858
|
if (this.openedResultPanel !== "log") {
|
|
@@ -4009,17 +4007,15 @@ const ArcgisArcadeResults = class {
|
|
|
4009
4007
|
}
|
|
4010
4008
|
renderFeatureSetTable(arcadeResult) {
|
|
4011
4009
|
const fields = supportedFields(arcadeResult.value.fields);
|
|
4012
|
-
return (h("table", null, h("thead", null, h("tr", null, fields.map((field) => (h("th", null, field.name))))), h("tbody", null, arcadeResult.features.map((feature) => {
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
})));
|
|
4022
|
-
}))));
|
|
4010
|
+
return (h("table", null, h("thead", null, h("tr", null, fields.map((field) => (h("th", null, field.name))))), h("tbody", null, arcadeResult.features.map((feature) => (h("tr", null, fields.map((field) => {
|
|
4011
|
+
try {
|
|
4012
|
+
const arcadeResult = valueToArcadeResult(feature.field(field.name));
|
|
4013
|
+
return h("td", null, this.renderSimpleValue(arcadeResult));
|
|
4014
|
+
}
|
|
4015
|
+
catch (e) {
|
|
4016
|
+
return h("td", null);
|
|
4017
|
+
}
|
|
4018
|
+
})))))));
|
|
4023
4019
|
}
|
|
4024
4020
|
render() {
|
|
4025
4021
|
return (h(Host, null, h("header", { class: "flex-row" }, h("calcite-action-bar", { class: "flex-adjustable", layout: "horizontal", scale: "s", expanded: true, "expand-disabled": true }, h("calcite-action-group", { scale: "s" }, h("calcite-action", { active: this.openedResultPanel === "output", text: this._t9nStrings?.output ?? "Output", "text-enabled": true, scale: "s", icon: "list-show-all", iconFlipRtl: true, onClick: this._switchResultPanel, "data-panel-name": "output" }), h("calcite-action", { active: this.openedResultPanel === "console", text: this._t9nStrings?.console ?? "Console", "text-enabled": true, scale: "s", icon: "console", iconFlipRtl: true, onClick: this._switchResultPanel, "data-panel-name": "console" }), h("calcite-action", { active: this.openedResultPanel === "log", text: this._t9nStrings?.log ?? "Log", "text-enabled": true, scale: "s", icon: "list", iconFlipRtl: true, onClick: this._switchResultPanel, "data-panel-name": "log" }))), h("calcite-action", { scale: "s", icon: "x", text: this._t9nStrings?.close ?? "", onClick: this._emitClose })), h("article", { class: "flex-adjustable" }, this.loading ? (h("calcite-loader", { scale: "s", type: "indeterminate", label: "" })) : (h("div", { class: "flex-column y-scrollable-container" }, this.renderOutputPanel(), this.renderConsolePanel(), this.renderLogPanel())))));
|
|
@@ -4047,7 +4043,7 @@ const ArcgisArcadeSuggestions = class {
|
|
|
4047
4043
|
this.close = createEvent(this, "close", 3);
|
|
4048
4044
|
this.itemSelected = createEvent(this, "itemSelected", 3);
|
|
4049
4045
|
// @ts-expect-error
|
|
4050
|
-
this._updateFilterValue = (e) => (this._filterValue = e.target?.
|
|
4046
|
+
this._updateFilterValue = (e) => (this._filterValue = e.target?.value ?? "");
|
|
4051
4047
|
this._emitItemSelected = (e) => {
|
|
4052
4048
|
// @ts-expect-error
|
|
4053
4049
|
const item = e.target?.["data-item"];
|
|
@@ -4121,9 +4117,7 @@ const ArcgisArcadeSuggestions = class {
|
|
|
4121
4117
|
return null;
|
|
4122
4118
|
}
|
|
4123
4119
|
if (isSuggestionGroups(this.suggestions)) {
|
|
4124
|
-
return this.suggestions.map((suggestionGroup) => {
|
|
4125
|
-
return (h("calcite-list-item-group", { heading: suggestionGroup.label }, this.renderSuggestionListItems(suggestionGroup.suggestions)));
|
|
4126
|
-
});
|
|
4120
|
+
return this.suggestions.map((suggestionGroup) => (h("calcite-list-item-group", { heading: suggestionGroup.label }, this.renderSuggestionListItems(suggestionGroup.suggestions))));
|
|
4127
4121
|
}
|
|
4128
4122
|
return this.renderSuggestionListItems(this.suggestions);
|
|
4129
4123
|
}
|
|
@@ -4160,7 +4154,7 @@ const ArcgisArcadeVariables = class {
|
|
|
4160
4154
|
this.close = createEvent(this, "close", 3);
|
|
4161
4155
|
this.itemSelected = createEvent(this, "itemSelected", 3);
|
|
4162
4156
|
// @ts-expect-error
|
|
4163
|
-
this._updateFilterValue = (e) => (this._filterValue = e.target?.
|
|
4157
|
+
this._updateFilterValue = (e) => (this._filterValue = e.target?.value ?? "");
|
|
4164
4158
|
this._beforeBack = async () => {
|
|
4165
4159
|
this.removeLastPanelRenderer();
|
|
4166
4160
|
this._filterValue = "";
|
|
@@ -4254,7 +4248,9 @@ const ArcgisArcadeVariables = class {
|
|
|
4254
4248
|
let loading = this.loading;
|
|
4255
4249
|
if (!loading && !collection.loaded) {
|
|
4256
4250
|
// Request to load and update mutation counter when done
|
|
4257
|
-
collection.loadSource().then(() => setTimeout(() =>
|
|
4251
|
+
collection.loadSource().then(() => setTimeout(() => {
|
|
4252
|
+
this._mutationCounter += 1;
|
|
4253
|
+
}));
|
|
4258
4254
|
loading = true;
|
|
4259
4255
|
}
|
|
4260
4256
|
return (h("calcite-flow-item", { heading: this._t9nStrings?.profilevariables, beforeBack: this._beforeBack, closable: true, onCalciteFlowItemClose: this._emitClose }, h("calcite-action", { slot: "header-actions-end", text: this._t9nStrings?.backtotop ?? "Back to top", scale: "m", hidden: topPanel, icon: "chevrons-left", iconFlipRtl: true, onClick: this._backToTop }), h(StickyFilterInput, { filterValue: this._filterValue, onCalciteInputInput: this._updateFilterValue }), loading ? (h("calcite-loader", { scale: "s", type: "indeterminate", label: this._t9nStrings?.loading ?? "Loading" })) : (h("calcite-list", null, this.renderEditorVariables(collection)))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as arcade } from './arcade-defaults-
|
|
1
|
+
export { a as arcade } from './arcade-defaults-0bafa696.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { conf as conf$1, language as language$1 } from './typescript-
|
|
2
|
-
import './arcade-defaults-
|
|
1
|
+
import { conf as conf$1, language as language$1 } from './typescript-cc4d00f0.js';
|
|
2
|
+
import './arcade-defaults-0bafa696.js';
|
|
3
3
|
import './index-022fb97b.js';
|
|
4
4
|
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as typescriptDefaults,
|
|
1
|
+
import { t as typescriptDefaults, m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@arcgis/coding-components",
|
|
3
3
|
"description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
|
|
4
4
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
5
|
-
"version": "4.29.0-beta.
|
|
5
|
+
"version": "4.29.0-beta.49",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
"generate": "stencil generate"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@arcgis/arcade-languageservice": "4.29.0-beta.
|
|
51
|
+
"@arcgis/arcade-languageservice": "4.29.0-beta.49",
|
|
52
52
|
"@stencil/core": "4.8.2",
|
|
53
53
|
"monaco-editor": "^0.44.0",
|
|
54
54
|
"vscode-languageserver-types": "^3.17.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@arcgis/components-plugins": "4.29.0-beta.
|
|
58
|
-
"@arcgis/components-utils": "4.29.0-beta.
|
|
57
|
+
"@arcgis/components-plugins": "4.29.0-beta.49",
|
|
58
|
+
"@arcgis/components-utils": "4.29.0-beta.49",
|
|
59
59
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
60
|
-
"@arcgis/core-adapter": "4.29.0-beta.
|
|
60
|
+
"@arcgis/core-adapter": "4.29.0-beta.49",
|
|
61
61
|
"@arcgis/typescript-config": "1.0.0",
|
|
62
62
|
"@esri/calcite-components": "^2.1.0",
|
|
63
63
|
"@stencil/angular-output-target": "0.8.1",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
111
111
|
"@esri/calcite-components": "^2.1.0"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "346c710a59323519e7fbabc4d208f70b68a21946"
|
|
114
114
|
}
|