@arcgis/coding-components 5.0.0-next.142 → 5.0.0-next.144
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 -3
- package/dist/cdn/2LQCIFST.js +2 -0
- package/dist/cdn/{GG5DIEEC.js → 3BK7TSYF.js} +1 -3
- package/dist/cdn/{YFNKRMO7.js → 4HCNI2HA.js} +1 -3
- package/dist/cdn/{E2OQPCQI.js → 5ARCBH5B.js} +3 -5
- package/dist/cdn/5NACAWOT.js +2 -0
- package/dist/cdn/{TAJCHYW7.js → 72CKSOAE.js} +1 -3
- package/dist/cdn/72K7GT6K.js +2 -0
- package/dist/cdn/{3KVXW2EI.js → 73BSQB2T.js} +2 -4
- package/dist/cdn/{LSJNBWVQ.js → A4GVNJO4.js} +1 -3
- package/dist/cdn/{CMY3S5UD.js → ANX2VUY4.js} +3 -5
- package/dist/cdn/{GFJO556R.js → BSHFJRH6.js} +2 -4
- package/dist/cdn/{SYPOLYJK.js → BXFAQ2LH.js} +2 -4
- package/dist/cdn/{TOYKPPM4.js → CYQJ2PAR.js} +2 -4
- package/dist/cdn/{U3YJQ6AC.js → F7HGGVHB.js} +2 -4
- package/dist/cdn/{W3JHR5YS.js → GNPPU4DH.js} +2 -4
- package/dist/cdn/{TUXALT2R.js → HZLFZ53H.js} +2 -4
- package/dist/cdn/{FFGLKNOP.js → I55NW6QO.js} +2 -4
- package/dist/cdn/{UZMUT6ZA.js → IOCFKMGE.js} +2 -4
- package/dist/cdn/{XLSEV65P.js → JUSMJGLC.js} +1 -3
- package/dist/cdn/KIKBT6P5.js +2 -0
- package/dist/cdn/{BXLM56GH.js → KZLSXGLW.js} +1 -3
- package/dist/cdn/{PPNSYENX.js → MHBC34JD.js} +2 -4
- package/dist/cdn/{OSQBJZL5.js → MYUSNH6P.js} +2 -4
- package/dist/cdn/{7FNUPGNP.js → NWEC6DFJ.js} +2 -4
- package/dist/cdn/{7GNLKA22.js → NY2Z4TF5.js} +2 -4
- package/dist/cdn/O2XPXSWL.js +4 -0
- package/dist/cdn/{FQMNRU6R.js → PHR5AUHJ.js} +2 -4
- package/dist/cdn/{3Y2VEOXX.js → QFTRLR5V.js} +2 -4
- package/dist/cdn/{IFL4TP23.js → R4TWGWBP.js} +2 -4
- package/dist/cdn/RXFSEQOU.js +2 -0
- package/dist/cdn/{3NQ7XDHR.js → SI4QRWY3.js} +2 -4
- package/dist/cdn/{HJLUJIY5.js → SKYRSHU7.js} +1 -3
- package/dist/cdn/{7UYDOD4C.js → SXESJK5F.js} +2 -4
- package/dist/cdn/TSBKTUFT.js +2 -0
- package/dist/cdn/{2Y6SEB6R.js → UCF7VGST.js} +2 -4
- package/dist/cdn/{5ATYUOVJ.js → UGD6BZLQ.js} +2 -4
- package/dist/cdn/{Q4RKNOYO.js → UJSXQWX6.js} +2 -4
- package/dist/cdn/{I5PGI5MK.js → UUX6URP4.js} +2 -4
- package/dist/cdn/VJ22ZSEC.js +2 -0
- package/dist/cdn/{ODIC4APG.js → VMVN52W5.js} +2 -4
- package/dist/cdn/{JIQ2DVWZ.js → WALA7ULV.js} +2 -4
- package/dist/cdn/{ZTJNMD67.js → WJOOQW3T.js} +2 -4
- package/dist/cdn/{B55YKSDO.js → XNSYRILM.js} +2 -4
- package/dist/cdn/{5CCHMDST.js → YEIFICU7.js} +2 -4
- package/dist/cdn/{7EG6W4RN.js → YOETCOVT.js} +2 -4
- package/dist/cdn/{JCSQEFFH.js → YVNVGH2P.js} +2 -4
- package/dist/cdn/Z5HI36Y6.js +2 -0
- package/dist/cdn/{VDY55TYN.js → ZPLHNFBD.js} +2 -4
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/code-editor/css.worker.js +0 -6
- package/dist/cdn/assets/code-editor/html.worker.js +0 -6
- package/dist/cdn/assets/code-editor/json.worker.js +0 -6
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +1 -1
- package/dist/cdn/assets/code-editor/ts.worker.js +0 -20
- package/dist/cdn/index.js +2 -4
- package/dist/chunks/arcade-defaults.js +1 -3
- package/dist/chunks/arcade-executor.js +1 -3
- package/dist/chunks/arcade-mode.js +1 -3
- package/dist/chunks/arcade-service-accessors.js +1 -3
- package/dist/chunks/colorize.js +1 -3
- package/dist/chunks/fields.js +1 -3
- package/dist/chunks/language-defaults-base.js +3 -4
- package/dist/chunks/markdown.js +1 -3
- package/dist/chunks/monaco-importer.js +1 -3
- package/dist/chunks/monaco-theme.js +1 -3
- package/dist/chunks/runtime.js +1 -3
- package/dist/chunks/setup-monaco-theme.js +1 -3
- package/dist/chunks/sql-expr-defaults.js +1 -3
- package/dist/chunks/sql-expr-mode.js +1 -3
- package/dist/chunks/sql-expr-service-accessors.js +1 -3
- package/dist/chunks/useT9n.js +1 -3
- package/dist/chunks/utilities.js +1 -3
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +440 -260
- package/dist/components/arcgis-arcade-coding-assistant/index.js +3 -2
- package/dist/components/arcgis-arcade-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +23 -26
- package/dist/components/arcgis-arcade-results/customElement.js +1 -3
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -3
- package/dist/components/arcgis-code-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +2 -9
- package/dist/components/arcgis-code-editor-shell/customElement.d.ts +1 -1
- package/dist/components/arcgis-code-editor-shell/customElement.js +1 -3
- package/dist/components/arcgis-code-viewer/customElement.d.ts +1 -1
- package/dist/components/arcgis-code-viewer/customElement.js +1 -3
- package/dist/components/arcgis-editor-variables/customElement.js +1 -3
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -3
- package/dist/components/arcgis-sql-expression-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -3
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -3
- package/dist/loader.js +4 -6
- package/package.json +5 -5
- package/dist/cdn/AB4DPBZV.js +0 -4
- package/dist/cdn/AV277PEB.js +0 -9
- package/dist/cdn/F2RPOFWN.js +0 -6
- package/dist/cdn/IQS2QWSZ.js +0 -4
- package/dist/cdn/QQFWYRXA.js +0 -4
- package/dist/cdn/ST5UVCT3.js +0 -4
- package/dist/cdn/TMCR2XBT.js +0 -4
- package/dist/cdn/WUVUFQVS.js +0 -4
- package/dist/cdn/Z7WFO7LG.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A layout component for code editors that provides slots for an editor, results panel, side panel, and action bars.
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
1
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
2
3
|
import { css as e, html as n } from "lit";
|
|
3
4
|
import { LitElement as r } from "@arcgis/lumina";
|
|
4
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.142 */
|
|
7
5
|
const i = e`:host{--arcgis-coding-components-internal-border: var( --arcgis-coding-components-border, 1px solid var(--calcite-color-border-3) );--arcgis-coding-components-internal-background-color: var( --arcgis-coding-components-background-color, var(--calcite-color-foreground-1) );--arcgis-coding-components-internal-side-action-bar-max-w: var(--arcgis-coding-components-side-action-bar-max-w, 25%);--arcgis-coding-components-internal-code-editor-side-panel-w: var( --arcgis-coding-components-code-editor-side-panel-w, 600px );--arcgis-coding-components-internal-code-editor-side-panel-max-w: var( --arcgis-coding-components-code-editor-side-panel-max-w, 45% );--arcgis-coding-components-internal-code-editor-results-panel-max-h: var( --arcgis-coding-components-code-editor-results-panel-max-h, 50% );--arcgis-coding-components-internal-code-editor-results-panel-h: var( --arcgis-coding-components-code-editor-results-panel-h, 50% );display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-internal-border);box-sizing:border-box;background-color:var(--arcgis-coding-components-internal-background-color);height:100%;.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}}slot[name=top-action-bar]::slotted(*){border-bottom:var(--arcgis-coding-components-internal-border);flex:0 0 auto}slot[name=side-panel]::slotted(*){max-width:var(--arcgis-coding-components-internal-code-editor-side-panel-max-w);width:var(--arcgis-coding-components-internal-code-editor-side-panel-w);border-inline-start:var(--arcgis-coding-components-internal-border);box-sizing:border-box;flex:1 0 auto}slot[name=side-panel]::slotted(.hidden){display:none}slot[name=editor]::slotted(*){flex:1 1 auto;overflow:hidden}slot[name=results-panel]::slotted(*){flex:0 0 var(--arcgis-coding-components-internal-code-editor-results-panel-h);overflow:hidden;border-top:var(--arcgis-coding-components-internal-border);box-sizing:border-box;max-height:var(--arcgis-coding-components-internal-code-editor-results-panel-max-h);margin-bottom:-1px}slot[name=side-action-bar]::slotted(*){max-width:var(--arcgis-coding-components-internal-side-action-bar-max-w);border-inline-start:var(--arcgis-coding-components-internal-border)}`;
|
|
8
6
|
class t extends r {
|
|
9
7
|
static {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
1
2
|
import { g as m, c as u } from "../../chunks/runtime.js";
|
|
2
3
|
import { LitElement as p } from "@arcgis/lumina";
|
|
3
4
|
import { slotChangeHasContent as g, observeAncestorsMutation as f, unsafeGetCalciteModeName as _ } from "@arcgis/toolkit/dom";
|
|
@@ -10,9 +11,6 @@ import { s as C } from "../../chunks/arcade-service-accessors.js";
|
|
|
10
11
|
import { debounce as y } from "@arcgis/toolkit/function";
|
|
11
12
|
import { Task as N } from "@lit/task";
|
|
12
13
|
import { rethrowError as O, log as w } from "@arcgis/toolkit/log";
|
|
13
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
15
|
-
v5.0.0-next.142 */
|
|
16
14
|
const z = 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)}}`;
|
|
17
15
|
class L extends p {
|
|
18
16
|
constructor() {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
1
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
2
3
|
import { ref as c } from "lit/directives/ref.js";
|
|
3
4
|
import { css as n, html as s } from "lit";
|
|
@@ -6,9 +7,6 @@ import { setFocusOnElement as h } from "@arcgis/toolkit/dom";
|
|
|
6
7
|
import { createFilterExpression as f } from "@arcgis/toolkit/string";
|
|
7
8
|
import { u as m } from "../../chunks/useT9n.js";
|
|
8
9
|
import { log as u } from "@arcgis/toolkit/log";
|
|
9
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
11
|
-
v5.0.0-next.142 */
|
|
12
10
|
const g = 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}}`;
|
|
13
11
|
function p(l) {
|
|
14
12
|
l.key === "Enter" && l.stopPropagation();
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
1
2
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
3
|
import { ref as c } from "lit/directives/ref.js";
|
|
3
4
|
import { css as m, html as l } from "lit";
|
|
@@ -7,9 +8,6 @@ import { LitElement as h, createEvent as o } from "@arcgis/lumina";
|
|
|
7
8
|
import { f } from "../../chunks/utilities.js";
|
|
8
9
|
import { c as n } from "../../chunks/markdown.js";
|
|
9
10
|
import { u as p } from "../../chunks/useT9n.js";
|
|
10
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.142 */
|
|
13
11
|
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)}calcite-flow{[slot=footer]{word-break:break-word}}}`;
|
|
14
12
|
class b extends h {
|
|
15
13
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { IPredefinedProfile } from "../../utils/profile/types.js";
|
|
4
4
|
import type { editor } from "monaco-editor";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
1
2
|
import { c as n } from "../../chunks/runtime.js";
|
|
2
3
|
import { css as c, html as t } from "lit";
|
|
3
4
|
import { LitElement as l, createEvent as o, safeClassMap as r } from "@arcgis/lumina";
|
|
@@ -7,9 +8,6 @@ import { u as h } from "../../chunks/useT9n.js";
|
|
|
7
8
|
import { createRef as p, ref as g } from "lit/directives/ref.js";
|
|
8
9
|
import { getSqlExprDiagnosticService as _ } from "../../chunks/sql-expr-mode.js";
|
|
9
10
|
import { rethrowError as s } from "@arcgis/toolkit/log";
|
|
10
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.142 */
|
|
13
11
|
const f = c`:host{height:100%}calcite-tooltip:not([calcite-hydrated])>*{display:none}`;
|
|
14
12
|
class u extends l {
|
|
15
13
|
constructor() {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
1
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
2
3
|
import { repeat as a } from "lit/directives/repeat.js";
|
|
3
4
|
import { css as r, html as i } from "lit";
|
|
4
5
|
import { LitElement as n, createEvent as c } from "@arcgis/lumina";
|
|
5
6
|
import { a as m } from "../../chunks/sql-expr-defaults.js";
|
|
6
7
|
import { u as d } from "../../chunks/useT9n.js";
|
|
7
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.142 */
|
|
10
8
|
const h = r`:host{calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
|
|
11
9
|
class g extends n {
|
|
12
10
|
constructor() {
|