@arcgis/coding-components 5.2.0-next.79 → 5.2.0-next.84
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/cdn/{VJVVEOIA.js → 327RBVAC.js} +2 -2
- package/dist/cdn/{UM4DUHEA.js → 4OW3EH74.js} +1 -1
- package/dist/cdn/{KUL43ADE.js → 56P6FTYQ.js} +1 -1
- package/dist/cdn/{JTB3WQOI.js → 5MCVDNVO.js} +1 -1
- package/dist/cdn/{ILVYWJS4.js → 6YLBGWGQ.js} +1 -1
- package/dist/cdn/{GATL6PSW.js → AQHAEA62.js} +1 -1
- package/dist/cdn/{6EN2C75J.js → BGUYF4JI.js} +1 -1
- package/dist/cdn/{IVUY4N4B.js → BPPFZDPH.js} +1 -1
- package/dist/cdn/{CKDIUAF7.js → CMZI6WXP.js} +1 -1
- package/dist/cdn/{MM63IOR3.js → DUB4GMXG.js} +1 -1
- package/dist/cdn/{LJQ7Y6HB.js → DYLBKSGK.js} +1 -1
- package/dist/cdn/{3OR3WFUJ.js → JSZLCNQX.js} +1 -1
- package/dist/cdn/{46SGP3IQ.js → MIIHORYJ.js} +1 -1
- package/dist/cdn/{VBQBE2ZZ.js → NLVKEWNR.js} +1 -1
- package/dist/cdn/{4CIH3GTH.js → NNZO447D.js} +1 -1
- package/dist/cdn/{E57Q2B63.js → OLMW3NCS.js} +1 -1
- package/dist/cdn/{RDHNSTZG.js → OY7QVXY5.js} +1 -1
- package/dist/cdn/{6BBVTMSM.js → P6UAZRSN.js} +1 -1
- package/dist/cdn/{BMH6Y42N.js → RBDGSMHN.js} +1 -1
- package/dist/cdn/{CPRY6A4M.js → RG7XCMPX.js} +1 -1
- package/dist/cdn/{VYEWIX5W.js → SKBHZ7VS.js} +1 -1
- package/dist/cdn/{VK7LOSQ5.js → SSVSZDRA.js} +1 -1
- package/dist/cdn/{CRHXEUUE.js → VQB7J2LU.js} +1 -1
- package/dist/cdn/{M5FGCA7R.js → W2NC7KQQ.js} +1 -1
- package/dist/cdn/{VVCAEHDP.js → W77Z4EY4.js} +1 -1
- package/dist/cdn/{DGQ3XT5J.js → XQ24DDUO.js} +1 -1
- package/dist/cdn/{SUFCEUFA.js → XVYE4IMG.js} +1 -1
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/arcade-defaults.js +2 -2
- package/dist/chunks/language-defaults-base.js +10 -10
- package/dist/chunks/sql-expr-defaults.js +2 -2
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/sql-layer-defaults.js +15 -15
- package/dist/chunks/sql-layer-mode.js +1 -1
- package/dist/chunks/utils.js +12 -12
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-sql-layer-editor/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +7 -7
- /package/dist/cdn/{SMZ3LNZE.js → A77A54OM.js} +0 -0
package/dist/chunks/utils.js
CHANGED
|
@@ -155,18 +155,18 @@ export {
|
|
|
155
155
|
w as G,
|
|
156
156
|
x as H,
|
|
157
157
|
P as I,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
158
|
+
$ as a,
|
|
159
|
+
I as b,
|
|
160
|
+
J as c,
|
|
161
|
+
N as d,
|
|
162
|
+
v as e,
|
|
163
|
+
q as f,
|
|
164
|
+
V as g,
|
|
165
|
+
A as h,
|
|
166
|
+
O as i,
|
|
167
|
+
h as j,
|
|
168
|
+
u as k,
|
|
169
|
+
K as l,
|
|
170
170
|
g as m,
|
|
171
171
|
R as n,
|
|
172
172
|
f as o,
|
|
@@ -18,7 +18,7 @@ import L from "@arcgis/core/Graphic.js";
|
|
|
18
18
|
import { log as w } from "@arcgis/toolkit/log";
|
|
19
19
|
import { getDeclaredVoxelMembers as be, getDeclaredPixelMembers as ge } from "@arcgis/core/applications/Components/arcadeEditorUtils.js";
|
|
20
20
|
import { s as ve } from "../../chunks/fields.js";
|
|
21
|
-
import {
|
|
21
|
+
import { l as Z, m as ee, n as ye } from "../../chunks/utils.js";
|
|
22
22
|
import we from "@arcgis/core/core/Accessor.js";
|
|
23
23
|
import { property as b, subclass as $e } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
24
24
|
const xe = se`:host(:not([closed])){container-type:size;--calcite-block-border-color: var(--calcite-color-transparent);box-sizing:border-box;.submission-actions-wrapper{display:flex;flex-direction:column;width:100%;gap:.75rem}.submission-actions{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}@container (max-width: 380px){.hidden-below-380{display:none}}@container (min-width: 380px){.hidden-above-380{display:none}}.gaps{display:flex;gap:.25rem}.align-inline-end{margin-inline-start:auto}.context-popover p{padding:0 .5rem;font-size:var(--calcite-font-size-sm)}.feedback-content{padding:var(--calcite-spacing-sm);display:flex;flex-direction:column;max-height:75cqb;overflow-y:auto;>*{margin-block-end:.5rem}>*:last-child,.terms-label{margin-block-end:0}calcite-text-area{--calcite-text-area-min-height: 4rem}calcite-notice{margin-block-start:0}}.feedback-sheet{--calcite-sheet-height: auto;--calcite-sheet-max-height: 100%;--calcite-sheet-min-height: auto}.feedback-footer{display:flex;justify-content:flex-end;gap:.5rem;width:100%}calcite-chip[slot=header-actions-end]{align-self:center;margin-inline-end:.5rem}calcite-flow-item calcite-shell{background:transparent}calcite-block{width:100%;max-width:100%;align-self:flex-end;background-color:transparent;margin-block:0}calcite-dialog{--calcite-dialog-content-space: initial;--calcite-dialog-size-y: initial}calcite-sheet{--calcite-sheet-scrim-background: rgba(200, 200, 200, .5)}calcite-list-item calcite-button{margin-inline-end:.25rem}calcite-flow-item calcite-shell calcite-notice{margin-block:1rem}calcite-block[open]:last-of-type{border-block-end:0}.text-area-wrapper{display:flex;border-radius:var(--calcite-corner-radius-round);margin:.75rem;overflow:hidden;--calcite-color-border-input: transparent;position:sticky;box-shadow:var(--calcite-shadow-sm);flex:none;flex-direction:column}calcite-text-area{height:auto;overflow:hidden;--calcite-font-weight-normal: 500;font-weight:500;line-height:1.2}calcite-flow{height:100%}calcite-popover calcite-list{--calcite-list-background-color: transparent;--calcite-input-border-color: transparent}calcite-popover calcite-list calcite-filter{--calcite-spacing-sm: 0}.contained-popover-or-tooltip{--calcite-popover-max-size-x: 100%;--calcite-tooltip-max-size-x: 100%}.info-heading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-1);margin:0}.info-heading-row{display:flex;align-items:center;gap:var(--calcite-spacing-sm);flex-wrap:wrap}.unstyled-h3{margin:unset;font-size:var(--calcite-font-size-md)}.unstyled-shell{position:unset;inset:unset;display:unset;block-size:unset;inline-size:unset}.suggestion-button{font-weight:var(--calcite-font-weight-medium)}.suggestions{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);flex-wrap:wrap}.info-block{max-width:450px}#result-block{calcite-card-group{--calcite-card-group-gap: 1.25rem}calcite-card{--calcite-card-corner-radius: var(--calcite-corner-radius-round);--calcite-card-border-color: transparent;width:100%}.positioned-code-content{display:flex;flex-direction:row;gap:.5rem;padding:.5rem}calcite-card [slot=heading] calcite-chip{margin-block-start:.25rem}.code-response-wrapper{position:relative;background:var(--calcite-color-foreground-2);border-radius:var(--calcite-corner-radius-round);margin-top:-1.5rem}.prior-prompt{display:flex;flex-direction:row;padding:0;overflow-y:hidden;overflow-x:auto;margin:.25rem 0 .75rem;align-items:center;max-width:100%;span{overflow-x:auto;overflow-y:hidden}}.copy-feedback{display:none}.copy-prompt-button{align-self:flex-start;margin-inline-start:auto}.response-secondary-action-button[data-copied]+.copy-feedback,.copy-prompt-button[data-copied]+.copy-feedback{display:block;span{padding:.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text--2);font-weight:var(--calcite-font-weight-medium)}}.copy-prompt-button[data-copied]~.copy-tooltip,.response-secondary-action-button[data-copied]~.copy-tooltip{display:none}code{white-space:pre;font-size:12px;margin:0;overflow-x:auto;font-family:Fira Mono,Consolas,Menlo,monospace;display:block;max-height:12rem;position:relative;padding:.5rem}.response-secondary-action-button{margin-left:.5rem}.add-to-editor-button{--calcite-internal-button-border-color: unset}}.collapsible-code{padding:.5rem}.collapsible-code summary{cursor:pointer;font-weight:500;color:var(--calcite-color-brand);outline:none;padding:.25rem 0}.collapsible-code[open] summary{color:var(--calcite-color-text-2)}.response-error-container{padding:.5rem;background:color-mix(in srgb,var(--calcite-color-status-warning) 10%,transparent);border-radius:var(--calcite-corner-radius-round);margin:1rem 0;font-size:var(--calcite-font-size--2);--calcite-input-message-icon-color: var(--calcite-color-status-warning)}.response-error-chip{--calcite-internal-chip-background-color: var(--calcite-color-status-warning);--calcite-chip-icon-color: var(--calcite-color-foreground-1);--calcite-chip-border-color: var(--calcite-color-transparent)}.feedback-actions{gap:unset}.contained{max-width:100%;max-height:100%;max-width:100cqi;max-height:75cqb;overflow-y:auto}.submission-notice{--calcite-notice-border-color: transparent;margin-block:0;width:100%;--calcite-font-size-relative-base: var(--calcite-font-size--2)}.border-block-end{border-block-end:1px solid var(--calcite-color-border-3)}.round-top{border-radius:var(--calcite-corner-radius-round) var(--calcite-corner-radius-round) 0 0}}:host([closed]){display:none}`;
|
|
@@ -7,7 +7,7 @@ import { focusElement as m, getClosestElement as u } from "@arcgis/toolkit/dom";
|
|
|
7
7
|
import { createFilterExpression as g } from "@arcgis/toolkit/string";
|
|
8
8
|
import { u as b } from "../../chunks/useT9n.js";
|
|
9
9
|
import { log as p } from "@arcgis/toolkit/log";
|
|
10
|
-
import {
|
|
10
|
+
import { i as o, a as n, b as _, c as v } from "../../chunks/utils.js";
|
|
11
11
|
const w = h`: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}.container{block-size:100%;display:grid;grid-template-rows:auto 1fr;overflow:hidden}.scrollable{min-block-size:0;overflow:auto}}`;
|
|
12
12
|
function $(a) {
|
|
13
13
|
a.key === "Enter" && a.stopPropagation();
|
|
@@ -5,7 +5,7 @@ import { LitElement as f, createEvent as n, safeClassMap as b } from "@arcgis/lu
|
|
|
5
5
|
import { generateGuid as _ } from "@arcgis/toolkit/string";
|
|
6
6
|
import { u as E } from "../../chunks/useT9n.js";
|
|
7
7
|
import { createRef as S, ref as v } from "lit/directives/ref.js";
|
|
8
|
-
import {
|
|
8
|
+
import { c } from "../../chunks/utils.js";
|
|
9
9
|
import { e as y } from "../../chunks/utilities.js";
|
|
10
10
|
import "@arcgis/core/portal/PortalItem.js";
|
|
11
11
|
import "@arcgis/core/WebMap.js";
|