@arcgis/coding-components 4.29.0-beta.35 → 4.29.0-beta.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.en.json +1 -1
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-7adf1ed7.js → p-15b09ea0.js} +1 -1
- package/dist/arcgis-coding-components/{p-7fd59fc8.js → p-2053efe5.js} +1 -1
- package/dist/arcgis-coding-components/{p-e3586655.js → p-4056fd39.js} +2 -2
- package/dist/arcgis-coding-components/{p-28f621f9.js → p-6b0c537d.js} +7 -7
- package/dist/arcgis-coding-components/{p-4909fbcf.js → p-739259a0.js} +1 -1
- package/dist/arcgis-coding-components/{p-a4e5ae47.js → p-8919c3fb.js} +1 -1
- package/dist/arcgis-coding-components/{p-cd6d9f14.entry.js → p-a67252ce.entry.js} +1 -1
- package/dist/arcgis-coding-components/{p-de643cd8.js → p-a8cfb543.js} +1 -1
- package/dist/arcgis-coding-components/{p-2643765e.js → p-c66fdb0b.js} +1 -1
- package/dist/arcgis-coding-components/{p-3c47246c.js → p-f56ec2fe.js} +1 -1
- package/dist/cjs/{arcade-defaults-f1f3f116.js → arcade-defaults-0bd884a4.js} +7 -7
- package/dist/cjs/{arcade-mode-ee9db986.js → arcade-mode-7bc7978f.js} +1 -1
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +6 -3
- package/dist/cjs/{cssMode-03b33422.js → cssMode-04695efd.js} +1 -1
- package/dist/cjs/{html-f0b8e4e4.js → html-4364b57b.js} +1 -1
- package/dist/cjs/{htmlMode-8cf2940e.js → htmlMode-3232d4d2.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-7d70e438.js → javascript-1b17ffb0.js} +2 -2
- package/dist/cjs/{jsonMode-f36d8ca4.js → jsonMode-85cfe5d7.js} +1 -1
- package/dist/cjs/{tsMode-65f0156f.js → tsMode-6ac3dd97.js} +1 -1
- package/dist/cjs/{typescript-60a0514e.js → typescript-e8854a4f.js} +1 -1
- package/dist/components/arcade-results.js +4 -1
- package/dist/esm/{arcade-defaults-4436aca0.js → arcade-defaults-145d902c.js} +7 -7
- package/dist/esm/{arcade-mode-a8df822b.js → arcade-mode-4f74179e.js} +1 -1
- package/dist/esm/arcgis-arcade-api_6.entry.js +6 -3
- package/dist/esm/{cssMode-f048406d.js → cssMode-93b88d81.js} +1 -1
- package/dist/esm/{html-0e4f1b8e.js → html-7d557330.js} +1 -1
- package/dist/esm/{htmlMode-c1194a95.js → htmlMode-e9b83ec7.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-ceb16d0f.js → javascript-83c892dd.js} +2 -2
- package/dist/esm/{jsonMode-c6c644c5.js → jsonMode-5c5eb0e2.js} +1 -1
- package/dist/esm/{tsMode-55ad0ba1.js → tsMode-77877670.js} +1 -1
- package/dist/esm/{typescript-8bb27bc9.js → typescript-dab44a94.js} +1 -1
- package/package.json +7 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{conf as e,language as t}from"./p-
|
|
1
|
+
import{conf as e,language as t}from"./p-f56ec2fe.js";import"./p-6b0c537d.js";import"./p-5d670bd2.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t,n as e}from"./p-
|
|
1
|
+
import{t,n as e}from"./p-6b0c537d.js";import"./p-5d670bd2.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./p-
|
|
1
|
+
import{n as e}from"./p-6b0c537d.js";import"./p-5d670bd2.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -118050,7 +118050,7 @@ registerLanguage({
|
|
|
118050
118050
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
118051
118051
|
loader: () => {
|
|
118052
118052
|
{
|
|
118053
|
-
return Promise.resolve().then(function () { return require('./html-
|
|
118053
|
+
return Promise.resolve().then(function () { return require('./html-4364b57b.js'); });
|
|
118054
118054
|
}
|
|
118055
118055
|
}
|
|
118056
118056
|
});
|
|
@@ -118070,7 +118070,7 @@ registerLanguage({
|
|
|
118070
118070
|
mimetypes: ["text/javascript"],
|
|
118071
118071
|
loader: () => {
|
|
118072
118072
|
{
|
|
118073
|
-
return Promise.resolve().then(function () { return require('./javascript-
|
|
118073
|
+
return Promise.resolve().then(function () { return require('./javascript-1b17ffb0.js'); });
|
|
118074
118074
|
}
|
|
118075
118075
|
}
|
|
118076
118076
|
});
|
|
@@ -118088,7 +118088,7 @@ registerLanguage({
|
|
|
118088
118088
|
mimetypes: ["text/typescript"],
|
|
118089
118089
|
loader: () => {
|
|
118090
118090
|
{
|
|
118091
|
-
return Promise.resolve().then(function () { return require('./typescript-
|
|
118091
|
+
return Promise.resolve().then(function () { return require('./typescript-e8854a4f.js'); });
|
|
118092
118092
|
}
|
|
118093
118093
|
}
|
|
118094
118094
|
});
|
|
@@ -118209,7 +118209,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
118209
118209
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
118210
118210
|
function getMode$3() {
|
|
118211
118211
|
{
|
|
118212
|
-
return Promise.resolve().then(function () { return require('./cssMode-
|
|
118212
|
+
return Promise.resolve().then(function () { return require('./cssMode-04695efd.js'); });
|
|
118213
118213
|
}
|
|
118214
118214
|
}
|
|
118215
118215
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -118334,7 +118334,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
118334
118334
|
};
|
|
118335
118335
|
function getMode$2() {
|
|
118336
118336
|
{
|
|
118337
|
-
return Promise.resolve().then(function () { return require('./htmlMode-
|
|
118337
|
+
return Promise.resolve().then(function () { return require('./htmlMode-3232d4d2.js'); });
|
|
118338
118338
|
}
|
|
118339
118339
|
}
|
|
118340
118340
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -118436,7 +118436,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
118436
118436
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
118437
118437
|
function getMode$1() {
|
|
118438
118438
|
{
|
|
118439
|
-
return Promise.resolve().then(function () { return require('./jsonMode-
|
|
118439
|
+
return Promise.resolve().then(function () { return require('./jsonMode-85cfe5d7.js'); });
|
|
118440
118440
|
}
|
|
118441
118441
|
}
|
|
118442
118442
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -118705,7 +118705,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
118705
118705
|
};
|
|
118706
118706
|
function getMode() {
|
|
118707
118707
|
{
|
|
118708
|
-
return Promise.resolve().then(function () { return require('./tsMode-
|
|
118708
|
+
return Promise.resolve().then(function () { return require('./tsMode-6ac3dd97.js'); });
|
|
118709
118709
|
}
|
|
118710
118710
|
}
|
|
118711
118711
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
3
|
+
const arcadeDefaults = require('./arcade-defaults-0bd884a4.js');
|
|
4
4
|
require('./index-6a382a34.js');
|
|
5
5
|
|
|
6
6
|
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:arcadeDefaults.main.CompletionItemKind.Constant}));st.map(e=>({label:e,kind:arcadeDefaults.main.CompletionItemKind.Keyword}));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-6a382a34.js');
|
|
6
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
6
|
+
const arcadeDefaults = require('./arcade-defaults-0bd884a4.js');
|
|
7
7
|
|
|
8
8
|
async function colorizeCode(code) {
|
|
9
9
|
return arcadeDefaults.editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -3019,7 +3019,7 @@ async function getArcadeWorker(uri) {
|
|
|
3019
3019
|
* @returns mode for arcade
|
|
3020
3020
|
*/
|
|
3021
3021
|
function getMode() {
|
|
3022
|
-
return Promise.resolve().then(function () { return require('./arcade-mode-
|
|
3022
|
+
return Promise.resolve().then(function () { return require('./arcade-mode-7bc7978f.js'); });
|
|
3023
3023
|
}
|
|
3024
3024
|
// Register the language in Monaco
|
|
3025
3025
|
arcadeDefaults.languages.register({
|
|
@@ -3869,7 +3869,10 @@ const ArcgisArcadeResults = class {
|
|
|
3869
3869
|
}
|
|
3870
3870
|
const iconClass = this.result?.type === "error" ? "color-error" : "color-success";
|
|
3871
3871
|
return (index.h("calcite-list", null, this.result ? (index.h(index.Fragment, null, index.h("calcite-list-item", { label: arcadeDefaults.B(this._t9nStrings?.lastexecutionformat, {
|
|
3872
|
-
timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
|
|
3872
|
+
timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
|
|
3873
|
+
dateStyle: "medium",
|
|
3874
|
+
timeStyle: "medium"
|
|
3875
|
+
}).format(this.result.timeStamp)
|
|
3873
3876
|
}) }, index.h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), index.h("calcite-list-item", { label: arcadeDefaults.B(this._t9nStrings?.compilationtimeformat, {
|
|
3874
3877
|
time: new Intl.NumberFormat(this._t9nLocale, {
|
|
3875
3878
|
style: "unit",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
3
|
+
const arcadeDefaults = require('./arcade-defaults-0bd884a4.js');
|
|
4
4
|
require('./index-6a382a34.js');
|
|
5
5
|
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
3
|
+
const arcadeDefaults = require('./arcade-defaults-0bd884a4.js');
|
|
4
4
|
require('./index-6a382a34.js');
|
|
5
5
|
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
3
|
+
const arcadeDefaults = require('./arcade-defaults-0bd884a4.js');
|
|
4
4
|
require('./index-6a382a34.js');
|
|
5
5
|
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const typescript = require('./typescript-
|
|
4
|
-
require('./arcade-defaults-
|
|
3
|
+
const typescript = require('./typescript-e8854a4f.js');
|
|
4
|
+
require('./arcade-defaults-0bd884a4.js');
|
|
5
5
|
require('./index-6a382a34.js');
|
|
6
6
|
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
3
|
+
const arcadeDefaults = require('./arcade-defaults-0bd884a4.js');
|
|
4
4
|
require('./index-6a382a34.js');
|
|
5
5
|
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
3
|
+
const arcadeDefaults = require('./arcade-defaults-0bd884a4.js');
|
|
4
4
|
require('./index-6a382a34.js');
|
|
5
5
|
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
3
|
+
const arcadeDefaults = require('./arcade-defaults-0bd884a4.js');
|
|
4
4
|
require('./index-6a382a34.js');
|
|
5
5
|
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
@@ -321,7 +321,10 @@ const ArcgisArcadeResults = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeR
|
|
|
321
321
|
}
|
|
322
322
|
const iconClass = this.result?.type === "error" ? "color-error" : "color-success";
|
|
323
323
|
return (h("calcite-list", null, this.result ? (h(Fragment, null, h("calcite-list-item", { label: B(this._t9nStrings?.lastexecutionformat, {
|
|
324
|
-
timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
|
|
324
|
+
timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
|
|
325
|
+
dateStyle: "medium",
|
|
326
|
+
timeStyle: "medium"
|
|
327
|
+
}).format(this.result.timeStamp)
|
|
325
328
|
}) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: B(this._t9nStrings?.compilationtimeformat, {
|
|
326
329
|
time: new Intl.NumberFormat(this._t9nLocale, {
|
|
327
330
|
style: "unit",
|
|
@@ -118028,7 +118028,7 @@ registerLanguage({
|
|
|
118028
118028
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
118029
118029
|
loader: () => {
|
|
118030
118030
|
{
|
|
118031
|
-
return import('./html-
|
|
118031
|
+
return import('./html-7d557330.js');
|
|
118032
118032
|
}
|
|
118033
118033
|
}
|
|
118034
118034
|
});
|
|
@@ -118048,7 +118048,7 @@ registerLanguage({
|
|
|
118048
118048
|
mimetypes: ["text/javascript"],
|
|
118049
118049
|
loader: () => {
|
|
118050
118050
|
{
|
|
118051
|
-
return import('./javascript-
|
|
118051
|
+
return import('./javascript-83c892dd.js');
|
|
118052
118052
|
}
|
|
118053
118053
|
}
|
|
118054
118054
|
});
|
|
@@ -118066,7 +118066,7 @@ registerLanguage({
|
|
|
118066
118066
|
mimetypes: ["text/typescript"],
|
|
118067
118067
|
loader: () => {
|
|
118068
118068
|
{
|
|
118069
|
-
return import('./typescript-
|
|
118069
|
+
return import('./typescript-dab44a94.js');
|
|
118070
118070
|
}
|
|
118071
118071
|
}
|
|
118072
118072
|
});
|
|
@@ -118187,7 +118187,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
118187
118187
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
118188
118188
|
function getMode$3() {
|
|
118189
118189
|
{
|
|
118190
|
-
return import('./cssMode-
|
|
118190
|
+
return import('./cssMode-93b88d81.js');
|
|
118191
118191
|
}
|
|
118192
118192
|
}
|
|
118193
118193
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -118312,7 +118312,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
118312
118312
|
};
|
|
118313
118313
|
function getMode$2() {
|
|
118314
118314
|
{
|
|
118315
|
-
return import('./htmlMode-
|
|
118315
|
+
return import('./htmlMode-e9b83ec7.js');
|
|
118316
118316
|
}
|
|
118317
118317
|
}
|
|
118318
118318
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -118414,7 +118414,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
118414
118414
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
118415
118415
|
function getMode$1() {
|
|
118416
118416
|
{
|
|
118417
|
-
return import('./jsonMode-
|
|
118417
|
+
return import('./jsonMode-5c5eb0e2.js');
|
|
118418
118418
|
}
|
|
118419
118419
|
}
|
|
118420
118420
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -118683,7 +118683,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
118683
118683
|
};
|
|
118684
118684
|
function getMode() {
|
|
118685
118685
|
{
|
|
118686
|
-
return import('./tsMode-
|
|
118686
|
+
return import('./tsMode-77877670.js');
|
|
118687
118687
|
}
|
|
118688
118688
|
}
|
|
118689
118689
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as main, e as editor, M as MarkerSeverity, R as Range, l as languages, E as Emitter } from './arcade-defaults-
|
|
1
|
+
import { o as main, e as editor, M as MarkerSeverity, R as Range, l as languages, E as Emitter } from './arcade-defaults-145d902c.js';
|
|
2
2
|
import './index-fd6b2fd8.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}));
|
|
@@ -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-fd6b2fd8.js';
|
|
2
|
-
import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, D, V, i as importRequest, l as languages, d as arcadeDefaults, $, U as Uri, F, C, f as filterCollection, q, h as importArcade, j as h$1, k, P, K as KeyCode, B, W, s as supportedFields, z, R as Range, p, m as KeyMod } from './arcade-defaults-
|
|
2
|
+
import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, D, V, i as importRequest, l as languages, d as arcadeDefaults, $, U as Uri, F, C, f as filterCollection, q, h as importArcade, j as h$1, k, P, K as KeyCode, B, W, s as supportedFields, z, R as Range, p, m as KeyMod } from './arcade-defaults-145d902c.js';
|
|
3
3
|
|
|
4
4
|
async function colorizeCode(code) {
|
|
5
5
|
return editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -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-4f74179e.js');
|
|
3019
3019
|
}
|
|
3020
3020
|
// Register the language in Monaco
|
|
3021
3021
|
languages.register({
|
|
@@ -3865,7 +3865,10 @@ const ArcgisArcadeResults = class {
|
|
|
3865
3865
|
}
|
|
3866
3866
|
const iconClass = this.result?.type === "error" ? "color-error" : "color-success";
|
|
3867
3867
|
return (h("calcite-list", null, this.result ? (h(Fragment, null, h("calcite-list-item", { label: B(this._t9nStrings?.lastexecutionformat, {
|
|
3868
|
-
timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
|
|
3868
|
+
timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
|
|
3869
|
+
dateStyle: "medium",
|
|
3870
|
+
timeStyle: "medium"
|
|
3871
|
+
}).format(this.result.timeStamp)
|
|
3869
3872
|
}) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: B(this._t9nStrings?.compilationtimeformat, {
|
|
3870
3873
|
time: new Intl.NumberFormat(this._t9nLocale, {
|
|
3871
3874
|
style: "unit",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { n as monaco_editor_core_star } from './arcade-defaults-145d902c.js';
|
|
2
2
|
import './index-fd6b2fd8.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { n as monaco_editor_core_star } from './arcade-defaults-145d902c.js';
|
|
2
2
|
import './index-fd6b2fd8.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { n as monaco_editor_core_star } from './arcade-defaults-145d902c.js';
|
|
2
2
|
import './index-fd6b2fd8.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-145d902c.js';
|
|
2
2
|
import './index-fd6b2fd8.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-dab44a94.js';
|
|
2
|
+
import './arcade-defaults-145d902c.js';
|
|
3
3
|
import './index-fd6b2fd8.js';
|
|
4
4
|
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { n as monaco_editor_core_star } from './arcade-defaults-145d902c.js';
|
|
2
2
|
import './index-fd6b2fd8.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as typescriptDefaults, n as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { t as typescriptDefaults, n as monaco_editor_core_star } from './arcade-defaults-145d902c.js';
|
|
2
2
|
import './index-fd6b2fd8.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { n as monaco_editor_core_star } from './arcade-defaults-145d902c.js';
|
|
2
2
|
import './index-fd6b2fd8.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.37",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -42,24 +42,22 @@
|
|
|
42
42
|
"test:e2e": "stencil test --e2e",
|
|
43
43
|
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
44
44
|
"clean": "rimraf ./node_modules ./storybook-static ./storybook-static-external ./turbo ./dist ./www",
|
|
45
|
-
"lint": "eslint .",
|
|
46
45
|
"pre": "rimraf ./dist ./www && awc-build-t9n-types",
|
|
47
46
|
"util:build-t9n-types": "awc-build-t9n-types",
|
|
48
47
|
"update:storybook": "npx storybook@latest upgrade",
|
|
49
|
-
"generate": "stencil generate"
|
|
50
|
-
"prettier": "prettier . --write"
|
|
48
|
+
"generate": "stencil generate"
|
|
51
49
|
},
|
|
52
50
|
"dependencies": {
|
|
53
|
-
"@arcgis/arcade-languageservice": "4.29.0-beta.
|
|
51
|
+
"@arcgis/arcade-languageservice": "4.29.0-beta.37",
|
|
54
52
|
"@stencil/core": "4.7.1",
|
|
55
53
|
"monaco-editor": "^0.44.0",
|
|
56
54
|
"vscode-languageserver-types": "^3.17.3"
|
|
57
55
|
},
|
|
58
56
|
"devDependencies": {
|
|
59
|
-
"@arcgis/components-plugins": "4.29.0-beta.
|
|
60
|
-
"@arcgis/components-utils": "4.29.0-beta.
|
|
57
|
+
"@arcgis/components-plugins": "4.29.0-beta.37",
|
|
58
|
+
"@arcgis/components-utils": "4.29.0-beta.37",
|
|
61
59
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
62
|
-
"@arcgis/core-adapter": "4.29.0-beta.
|
|
60
|
+
"@arcgis/core-adapter": "4.29.0-beta.37",
|
|
63
61
|
"@arcgis/eslint-config": "1.0.0",
|
|
64
62
|
"@arcgis/typescript-config": "1.0.0",
|
|
65
63
|
"@esri/calcite-components": "^2.0.0",
|
|
@@ -94,7 +92,6 @@
|
|
|
94
92
|
"postcss": "^8.4.31",
|
|
95
93
|
"postcss-discard-comments": "^5.1.2",
|
|
96
94
|
"postcss-url": "^10.1.3",
|
|
97
|
-
"prettier": "^3.0.0",
|
|
98
95
|
"puppeteer": "^20.5.0",
|
|
99
96
|
"react": "^18.2.0",
|
|
100
97
|
"react-dom": "^18.2.0",
|
|
@@ -114,5 +111,5 @@
|
|
|
114
111
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
115
112
|
"@esri/calcite-components": "^2.0.0"
|
|
116
113
|
},
|
|
117
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "73d51455d3789439d5b05458847b35a655fd5d74"
|
|
118
115
|
}
|