@arcgis/coding-components 4.34.0-next.28 → 4.34.0-next.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addons/arcade-coding-assistant/temporary-strings.d.ts +7 -0
- package/dist/addons/arcade-coding-assistant/useArcadeAssistant.d.ts +7 -7
- package/dist/addons.js +6 -6
- package/dist/cdn/{475IPMML.js → 27GAK4UA.js} +2 -2
- package/dist/cdn/{BEGL3FU7.js → 32K7GHV2.js} +2 -2
- package/dist/cdn/{2XDZB5UQ.js → 3AJQCXP5.js} +2 -2
- package/dist/cdn/{S3MY5WE5.js → 3TTOOYTP.js} +2 -2
- package/dist/cdn/{BESGGIO2.js → 4L2UN6XN.js} +2 -2
- package/dist/cdn/4WAWANVL.js +4 -0
- package/dist/cdn/{G73IWMPI.js → 4ZYQLPBS.js} +2 -2
- package/dist/cdn/{2RPPBG3Z.js → 5WJIHGZ5.js} +2 -2
- package/dist/cdn/{YGJF52HO.js → 7MFY7SVP.js} +1 -1
- package/dist/cdn/AGG36YCW.js +6 -0
- package/dist/cdn/{2MRF3P66.js → C7VT5PS7.js} +2 -2
- package/dist/cdn/{IWQ72COU.js → CKIDAKUH.js} +2 -2
- package/dist/cdn/{OID2MENS.js → D73FQPYU.js} +2 -2
- package/dist/cdn/{7OYCH4TQ.js → EOGVGYOI.js} +2 -2
- package/dist/cdn/{DVW2PHRK.js → FGGZ6ITK.js} +2 -2
- package/dist/cdn/{U67EU75G.js → FWPZ2HNP.js} +4 -4
- package/dist/cdn/{M5Z3T5DX.js → GEIN3UXC.js} +2 -2
- package/dist/cdn/{LCPAYQJH.js → GRHTPUFF.js} +2 -2
- package/dist/cdn/{NE5OHGXE.js → HE7YSJQA.js} +1 -1
- package/dist/cdn/{QZPLC65Q.js → HRCFDZ46.js} +2 -2
- package/dist/cdn/{2UGQ3C7G.js → I6DHVCQY.js} +2 -2
- package/dist/cdn/{JO42YVEQ.js → I6FI33WX.js} +2 -2
- package/dist/cdn/{P5LZEBRO.js → IFLZLMBW.js} +2 -2
- package/dist/cdn/{JMJU7ABX.js → IO3D7ZCK.js} +2 -2
- package/dist/cdn/{KEOVPOJO.js → LFCFEBJK.js} +2 -2
- package/dist/cdn/{6C7FMEHE.js → LMWKAIC2.js} +2 -2
- package/dist/cdn/{63N6PP7R.js → MYYKZ75Z.js} +2 -2
- package/dist/cdn/{YHB3E7ZD.js → MZOXERQS.js} +2 -2
- package/dist/cdn/{X7Y3VVYJ.js → PHDE4DM7.js} +1 -1
- package/dist/cdn/{RRH2REKM.js → RKKERKA3.js} +2 -2
- package/dist/cdn/{WOUFKDRM.js → RQVDIT3M.js} +2 -2
- package/dist/cdn/{R6Q7EZ6N.js → TI34SVE6.js} +2 -2
- package/dist/cdn/{F4MFO2LZ.js → TJMELLUB.js} +1 -1
- package/dist/cdn/{DRMPQJGQ.js → TM64TRP3.js} +2 -2
- package/dist/cdn/{QPJMKT5M.js → UGTGDJNO.js} +2 -2
- package/dist/cdn/{AN2QOF3Y.js → VCTTJHKC.js} +2 -2
- package/dist/cdn/{LUFE3TRU.js → W2ED67UR.js} +2 -2
- package/dist/cdn/{GDS7XWPX.js → W2HPJPLQ.js} +2 -2
- package/dist/cdn/{GYFWXEV4.js → XJYQ6UUX.js} +2 -2
- package/dist/cdn/{X5DEZZPE.js → Y4QDA25T.js} +3 -3
- package/dist/cdn/{IDMILG4V.js → Z7QKSUKG.js} +2 -2
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +29320 -29298
- package/dist/cdn/index.js +2 -2
- 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/editor.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/setup-monaco.js +1 -1
- package/dist/chunks/sql-expr-contribution.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.d.ts +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +198 -168
- package/dist/components/arcgis-arcade-coding-assistant/functional.d.ts +4 -4
- package/dist/components/arcgis-arcade-coding-assistant/index.d.ts +0 -2
- package/dist/components/arcgis-arcade-coding-assistant/index.js +0 -2
- 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 +2 -2
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.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 +4 -4
- package/package.json +5 -5
- package/dist/cdn/UAAKRZ52.js +0 -6
- package/dist/cdn/WTROCBGZ.js +0 -4
|
@@ -161,13 +161,12 @@ export interface ResponseDisplayCard {
|
|
|
161
161
|
code: string;
|
|
162
162
|
message?: string;
|
|
163
163
|
chips?: ResponseDisplayCardChip[];
|
|
164
|
-
onAddToEditor: () => void;
|
|
165
|
-
onCopy: (index: string) => void;
|
|
164
|
+
onAddToEditor: (insertMode: "add" | "replace") => void;
|
|
166
165
|
onThumbsUp: () => void;
|
|
167
166
|
onThumbsDown: () => void;
|
|
168
167
|
conversationId: string;
|
|
169
168
|
}
|
|
170
|
-
export declare function ResponseDisplay({ hidden, expanded, messages, cards, heading, collapsible, showEffectsIcon,
|
|
169
|
+
export declare function ResponseDisplay({ hidden, expanded, messages, cards, heading, collapsible, showEffectsIcon, onCopyCode, standalone, }: {
|
|
171
170
|
hidden?: boolean;
|
|
172
171
|
expanded?: boolean;
|
|
173
172
|
heading?: string;
|
|
@@ -177,6 +176,7 @@ export declare function ResponseDisplay({ hidden, expanded, messages, cards, hea
|
|
|
177
176
|
collapsible?: boolean;
|
|
178
177
|
editorInsertMode?: "add" | "replace";
|
|
179
178
|
setEditorInsertMode?: (mode: "add" | "replace") => void;
|
|
180
|
-
|
|
179
|
+
onCopyCode: (code: string) => Promise<void>;
|
|
180
|
+
standalone?: boolean;
|
|
181
181
|
}): JsxNode;
|
|
182
182
|
export {};
|
|
@@ -18,8 +18,6 @@ import "@esri/calcite-components/components/calcite-chip-group";
|
|
|
18
18
|
import "@esri/calcite-components/components/calcite-card-group";
|
|
19
19
|
import "@esri/calcite-components/components/calcite-card";
|
|
20
20
|
import "@esri/calcite-components/components/calcite-tooltip";
|
|
21
|
-
import "@esri/calcite-components/components/calcite-split-button";
|
|
22
|
-
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
23
21
|
import "@esri/calcite-components/components/calcite-flow";
|
|
24
22
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
25
23
|
import "@esri/calcite-components/components/calcite-scrim";
|
|
@@ -18,8 +18,6 @@ import "@esri/calcite-components/components/calcite-chip-group";
|
|
|
18
18
|
import "@esri/calcite-components/components/calcite-card-group";
|
|
19
19
|
import "@esri/calcite-components/components/calcite-card";
|
|
20
20
|
import "@esri/calcite-components/components/calcite-tooltip";
|
|
21
|
-
import "@esri/calcite-components/components/calcite-split-button";
|
|
22
|
-
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
23
21
|
import "@esri/calcite-components/components/calcite-flow";
|
|
24
22
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
25
23
|
import "@esri/calcite-components/components/calcite-scrim";
|
|
@@ -16,7 +16,7 @@ import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
|
16
16
|
import { s as y } from "../../chunks/editor.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
19
|
-
v4.34.0-next.
|
|
19
|
+
v4.34.0-next.29 */
|
|
20
20
|
const D = w`@layer{arcgis-arcade-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%;.sticky{position:sticky;top:0;z-index:10}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}.main-action-bar{border-bottom:var(--arcgis-coding-components-border)!important;flex:0 0 auto;calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}calcite-action-group:last-child{border-inline-end-width:0px}calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}arcgis-arcade-results{border-top:var(--arcgis-coding-components-border)!important;box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}calcite-flow{[slot=footer]{word-break:break-word}}.hidden{display:none}}}`;
|
|
21
21
|
class C extends m {
|
|
22
22
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { s as O } from "../../chunks/fields.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.29 */
|
|
12
12
|
const D = L`:host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);.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}.y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-color-foreground-1)}header{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}.ltr-container{direction:ltr}calcite-action-bar{calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}calcite-action-group:last-child{border-inline-end-width:0px}calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.color-info{color:var(--calcite-color-status-info)}.color-error{color:var(--calcite-color-status-danger)}.color-success{color:var(--calcite-color-status-success)}[class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-color-foreground-1);margin:var(--calcite-spacing-md)}.console-logs-container{background-color:var(--calcite-color-foreground-1);padding:0 var(--calcite-spacing-md);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.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;thead{background-color:var(--calcite-color-foreground-2)}tr{border-top:1px solid var(--calcite-color-border-3);border-bottom:1px solid var(--calcite-color-border-3)}th,td{border-inline-start:1px solid var(--calcite-color-border-3);border-inline-end:1px solid var(--calcite-color-border-3);text-align:start;padding:var(--calcite-spacing-xxs);.string-value{white-space:pre}}th{font-weight:var(--calcite-font-weight-medium)}}}.tree-item-label,.number-value,.string-value,.boolean-value{font-family:var(--calcite-code-family)}.tree-item-label,.value-type{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.dictionary-property{color:var(--arcgis-editor-identifier)}.number-value{color:var(--arcgis-editor-number)}.string-value{color:var(--arcgis-editor-string);white-space:pre-wrap}.constant-value{color:var(--arcgis-editor-constant)}.date-value{color:var(--arcgis-editor-date)}}`, l = {
|
|
13
13
|
lines: !0,
|
|
14
14
|
selectionMode: "none",
|
|
@@ -9,7 +9,7 @@ import { u as b } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { css as _ } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.29 */
|
|
13
13
|
function v(o) {
|
|
14
14
|
return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
|
|
15
15
|
}
|