@arcgis/coding-components 5.0.0-next.83 → 5.0.0-next.85
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.js +1 -1
- package/dist/cdn/{GTNCGSVU.js → 25VXBBBZ.js} +2 -2
- package/dist/cdn/{H73JKOYZ.js → 32NQLYR2.js} +2 -2
- package/dist/cdn/{XMTXLNX4.js → 35YD3PEM.js} +2 -2
- package/dist/cdn/{RK7RXCYN.js → 37AUX6BH.js} +2 -2
- package/dist/cdn/{D3ZNBNNC.js → 3OOLHAJG.js} +2 -2
- package/dist/cdn/{3F3GIC6O.js → 4IBN3AWX.js} +2 -2
- package/dist/cdn/{WIVKQ2GP.js → 53I2FYLO.js} +2 -2
- package/dist/cdn/{S6M7JCFZ.js → 6G4QUTPJ.js} +2 -2
- package/dist/cdn/{HK7AJNG2.js → 74T7ILOU.js} +1 -1
- package/dist/cdn/{SBZENX4Q.js → 7M55S6BG.js} +2 -2
- package/dist/cdn/B5YE5PVQ.js +4 -0
- package/dist/cdn/{NC5SGZMJ.js → CUGN7GXB.js} +2 -2
- package/dist/cdn/{GBACYLGY.js → DABFREVT.js} +2 -2
- package/dist/cdn/{VXJFL73H.js → DE3RLYZ4.js} +1 -1
- package/dist/cdn/{ETWRTA4I.js → DYPHLMKE.js} +3 -3
- package/dist/cdn/{ICS4SRUN.js → EAANPCRC.js} +2 -2
- package/dist/cdn/{KTQPZNUF.js → EVBLYBC7.js} +2 -2
- package/dist/cdn/{CD2XMR4V.js → FOXTUCKL.js} +2 -2
- package/dist/cdn/{H2ITGNXU.js → FVQB3CEW.js} +1 -1
- package/dist/cdn/{W6ZQVGFI.js → GRS6C55W.js} +1 -1
- package/dist/cdn/{QWZQVIUL.js → GUDZ22ZD.js} +1 -1
- package/dist/cdn/{XRNHDR4P.js → HLIW7CDL.js} +2 -2
- package/dist/cdn/{MMRPPQHF.js → HPFQALY5.js} +2 -2
- package/dist/cdn/{3KDK7BGM.js → IGOB76XZ.js} +2 -2
- package/dist/cdn/{2D45PU4R.js → IKTBURW4.js} +2 -2
- package/dist/cdn/{QOAVZGYZ.js → IM4FYC35.js} +2 -2
- package/dist/cdn/{Y7CYXDPE.js → JU3LESVV.js} +2 -2
- package/dist/cdn/{PAXQTO2K.js → LF4MJENP.js} +2 -2
- package/dist/cdn/{XVYJ4WNB.js → MI66XE4U.js} +4 -4
- package/dist/cdn/{LWYZHBPE.js → NWITL3PQ.js} +2 -2
- package/dist/cdn/{GW5OH6LO.js → ODR3ZR5F.js} +1 -1
- package/dist/cdn/{PU7HICPA.js → ON2IF5BP.js} +2 -2
- package/dist/cdn/{2MGIKJYM.js → P5TRO73S.js} +2 -2
- package/dist/cdn/{UUOHJKLI.js → PEEHLO66.js} +1 -1
- package/dist/cdn/{GTATUPXR.js → PVWJMXVJ.js} +2 -2
- package/dist/cdn/{QKBCMLIS.js → Q4RKFGO6.js} +2 -2
- package/dist/cdn/{6AIBDXKV.js → QHEHI5IV.js} +2 -2
- package/dist/cdn/{BLLASOJQ.js → QV67PL6P.js} +2 -2
- package/dist/cdn/{NLZCPVJB.js → QZIF6LAS.js} +2 -2
- package/dist/cdn/{46YZN2VU.js → RGPBIODJ.js} +2 -2
- package/dist/cdn/{AY5TB2GS.js → SHTZ4O47.js} +2 -2
- package/dist/cdn/{AK5DGBBT.js → SLHSPJOX.js} +2 -2
- package/dist/cdn/{GYOGKNMP.js → T2L462P3.js} +2 -2
- package/dist/cdn/{UNYMWSGX.js → TLFOFTHI.js} +2 -2
- package/dist/cdn/{AQEYBNHM.js → VPLREMBT.js} +2 -2
- package/dist/cdn/{AVUR3AOC.js → WJJKLFSO.js} +2 -2
- package/dist/cdn/{IZHQCLVH.js → YRBXVOZH.js} +1 -1
- package/dist/cdn/{TGVJW33Q.js → ZF3VYMGU.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/arcade-contribution.js +1 -1
- package/dist/chunks/arcade-defaults.js +1 -1
- 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/editor.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +20 -19
- 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/sql-expr-defaults.js +1 -1
- 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-editor/customElement.js +1 -1
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-code-viewer/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/monacoStyles.js +1 -1
- package/dist/utils/language-defaults-base.d.ts +1 -1
- package/package.json +5 -5
- package/dist/cdn/KRXNNCPA.js +0 -4
- package/dist/utils/typing.d.ts +0 -21
|
@@ -9,7 +9,7 @@ import { c as b } from "../../chunks/markdown.js";
|
|
|
9
9
|
import { u as _ } from "../../chunks/useT9n.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.
|
|
12
|
+
v5.0.0-next.85 */
|
|
13
13
|
function v(o) {
|
|
14
14
|
return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
|
|
15
15
|
}
|
|
@@ -10,7 +10,7 @@ import { load as I } from "@arcgis/lumina/controllers";
|
|
|
10
10
|
import { Range as v, Uri as s, KeyMod as n, KeyCode as r } from "monaco-editor";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
13
|
-
v5.0.0-next.
|
|
13
|
+
v5.0.0-next.85 */
|
|
14
14
|
const M = f`@layer{arcgis-code-editor{display:flex;width:100%;height:100%;flex-direction:column;direction:ltr;.monaco-editor{flex:1 1 auto;.monaco-hover,.editor-widget,.suggest-details-container{z-index:9999}div[widgetid="editor.contrib.resizableContentHoverWidget"],div[widgetid="editor.widget.suggestWidget"],div[widgetid="suggest.details"]{z-index:calc(var(--calcite-z-index-header) + 1)!important}}}}`, y = {
|
|
15
15
|
autoIndent: "advanced",
|
|
16
16
|
automaticLayout: !0,
|
|
@@ -11,7 +11,7 @@ import { debounce as y } from "@arcgis/toolkit/function";
|
|
|
11
11
|
import { Task as N } from "@lit/task";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
14
|
-
v5.0.0-next.
|
|
14
|
+
v5.0.0-next.85 */
|
|
15
15
|
const O = E`pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm);white-space:pre-line;code{font-size:var(--calcite-font-size--2);font-family:var(--calcite-font-family-code)}}:host([round]){pre{border-radius:var(--calcite-corner-radius-round)}}`;
|
|
16
16
|
class w extends p {
|
|
17
17
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { createFilterExpression as f } from "@arcgis/toolkit/string";
|
|
|
7
7
|
import { u as m } from "../../chunks/useT9n.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
10
|
-
v5.0.0-next.
|
|
10
|
+
v5.0.0-next.85 */
|
|
11
11
|
const u = n`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2);word-break:break-word}}`;
|
|
12
12
|
function g(l) {
|
|
13
13
|
l.key === "Enter" && l.stopPropagation();
|
|
@@ -9,7 +9,7 @@ import { c as n } from "../../chunks/markdown.js";
|
|
|
9
9
|
import { u as f } from "../../chunks/useT9n.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.
|
|
12
|
+
v5.0.0-next.85 */
|
|
13
13
|
const g = m`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-block{p:first-of-type{margin-top:0}}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
|
|
14
14
|
class b extends h {
|
|
15
15
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { s as f } from "../../chunks/editor.js";
|
|
|
9
9
|
import { getSqlExprDiagnosticService as _ } from "../../chunks/sql-expr-mode.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.
|
|
12
|
+
v5.0.0-next.85 */
|
|
13
13
|
const u = n`@layer{arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border)!important;box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%}}`;
|
|
14
14
|
class m extends c {
|
|
15
15
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { a as m } from "../../chunks/sql-expr-defaults.js";
|
|
|
6
6
|
import { u as d } from "../../chunks/useT9n.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
9
|
+
v5.0.0-next.85 */
|
|
10
10
|
const h = r`:host{calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
|
|
11
11
|
class g extends n {
|
|
12
12
|
constructor() {
|
package/dist/docs/api.json
CHANGED
package/dist/docs/docs.json
CHANGED
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/coding-components",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.85",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as c } from "./chunks/arcade-defaults.js";
|
|
|
3
3
|
import { s as p } from "./chunks/sql-expr-defaults.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.85 */
|
|
7
7
|
const a = s, r = t;
|
|
8
8
|
export {
|
|
9
9
|
c as arcade,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as s } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.85 */
|
|
6
6
|
const a = s(e, {
|
|
7
7
|
"arcgis-arcade-coding-assistant": [() => import("./components/arcgis-arcade-coding-assistant/customElement.js"), "appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],
|
|
8
8
|
"arcgis-arcade-editor": [() => import("./components/arcgis-arcade-editor/customElement.js"), "arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],
|
package/dist/monacoStyles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.85 */
|
|
4
4
|
const A = `/*!-----------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6
6
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -16,7 +16,7 @@ export declare abstract class LanguageDefaultsBase<TApiContext extends ApiContex
|
|
|
16
16
|
protected _onDidChange: Emitter<this>;
|
|
17
17
|
protected _modelToProfileMap: Map<string, EditorProfile>;
|
|
18
18
|
protected _modelToApiContextMap: Map<string, TApiContext>;
|
|
19
|
-
protected _localeToApiLibraryPromiseMap: Map<"id" | "en" | "el" | "hr" | "th" | "tr" | "de" | "pl" | "et" | "ro" | "es" | "
|
|
19
|
+
protected _localeToApiLibraryPromiseMap: Map<"id" | "en" | "el" | "hr" | "th" | "tr" | "de" | "pl" | "et" | "ro" | "es" | "ca" | "da" | "sl" | "fi" | "ar" | "it" | "vi" | "sk" | "sv" | "fr" | "he" | "cs" | "lt" | "no" | "ru" | "bs" | "bg" | "hu" | "ja" | "ko" | "lv" | "nl" | "nb" | "pt-BR" | "pt-PT" | "sr" | "uk" | "zh-CN" | "zh-HK" | "zh-TW", Promise<ApiCategory[]>>;
|
|
20
20
|
protected _onModelContextDidChange: Emitter<string>;
|
|
21
21
|
protected _onDidModelContextChangeTimeout: number;
|
|
22
22
|
constructor(languageId: string, _apiConfig: ApiConfig);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/coding-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.85",
|
|
4
4
|
"description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
],
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@arcgis/arcade-languageservice": "5.0.0-next.
|
|
46
|
-
"@arcgis/languages-api-utils": "5.0.0-next.
|
|
47
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
48
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
45
|
+
"@arcgis/arcade-languageservice": "5.0.0-next.85",
|
|
46
|
+
"@arcgis/languages-api-utils": "5.0.0-next.85",
|
|
47
|
+
"@arcgis/lumina": "5.0.0-next.85",
|
|
48
|
+
"@arcgis/toolkit": "5.0.0-next.85",
|
|
49
49
|
"@lit/task": "^1.0.3",
|
|
50
50
|
"lit": "^3.3.0",
|
|
51
51
|
"monaco-editor": "^0.52.0",
|
package/dist/cdn/KRXNNCPA.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.83 */
|
|
4
|
-
import c from"./3KDK7BGM.js";import"./SBZENX4Q.js";import b from"./AK5DGBBT.js";import a from"./XVYJ4WNB.js";import"./W6ZQVGFI.js";import"./GW5OH6LO.js";import"./6AIBDXKV.js";import"./ETWRTA4I.js";import"./H2ITGNXU.js";import"./XRNHDR4P.js";import"./HK7AJNG2.js";import"./QOAVZGYZ.js";import"./VXJFL73H.js";import"./UNYMWSGX.js";import"./UUOHJKLI.js";export default $arcgis.t(([,,{a:a,b:b,c:c}])=>{return{getSqlExprDiagnosticService:b,getSqlExprWorker:a,setupMode:c}},a,b,c)
|
package/dist/utils/typing.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type AtLeastOne<T> = [T, ...T[]];
|
|
2
|
-
type Missing<T extends string, L extends readonly T[]> = Exclude<T, L[number]>;
|
|
3
|
-
type ExhaustiveParam<T extends string, L extends AtLeastOne<T>> = Missing<T, L> extends never ? L : L & Missing<T, L> & {
|
|
4
|
-
error: `Missing values in tuple: ${Missing<T, L>}`;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Helper to ensure all string literals of a union are represented in a tuple.
|
|
8
|
-
* Returns an identity function that narrows to the tuple type.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const colors = exhaustiveStringTuple<"red" | "green" | "blue">()("red", "green", "blue");
|
|
13
|
-
* // const colors: ["red", "green", "blue"]
|
|
14
|
-
*
|
|
15
|
-
* const incompleteColors = exhaustiveStringTuple<"red" | "green" | "blue">()("red", "green");
|
|
16
|
-
// Argument of type '["red", "green"]' is not assignable to parameter of type '["red", "green"] & "blue" & { error: "Missing values in tuple: blue"; }'.
|
|
17
|
-
// Type '["red", "green"]' is not assignable to type '"blue"'.ts(2345)
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare const exhaustiveStringTuple: <T extends string>() => <L extends AtLeastOne<T>>(...x: ExhaustiveParam<T, L>) => L;
|
|
21
|
-
export {};
|