@arcgis/coding-components 4.31.0-next.23 → 4.31.0-next.25
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/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +106 -99
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-50e53c02.js → p-08ec5463.js} +2 -2
- package/dist/arcgis-coding-components/{p-f18cfc50.js → p-290df959.js} +2 -2
- package/dist/arcgis-coding-components/{p-9edc9c4b.js → p-315d205a.js} +2 -2
- package/dist/arcgis-coding-components/{p-08b8fd1f.js → p-43afa6e7.js} +2 -2
- package/dist/arcgis-coding-components/{p-9c7cef40.js → p-550b31d5.js} +3 -3
- package/dist/arcgis-coding-components/{p-1635ee06.js → p-7568c804.js} +2 -2
- package/dist/arcgis-coding-components/{p-22c2d840.js → p-7ef2e0e0.js} +2 -2
- package/dist/arcgis-coding-components/{p-1402a8f3.js → p-868f0d2b.js} +1 -1
- package/dist/arcgis-coding-components/{p-776d550d.js → p-87a81859.js} +9 -9
- package/dist/arcgis-coding-components/{p-9c58968d.entry.js → p-911c38e2.entry.js} +2 -2
- package/dist/arcgis-coding-components/p-a068e703.js +7 -0
- package/dist/arcgis-coding-components/{p-9e1c9066.js → p-a9825301.js} +2 -2
- package/dist/arcgis-coding-components/{p-a444264e.js → p-b4cc6486.js} +2 -2
- package/dist/arcgis-coding-components/{p-b4912aa0.js → p-c0df6b5e.js} +1 -1
- package/dist/arcgis-coding-components/{p-2cfa8f19.js → p-cea4ed8f.js} +2 -2
- package/dist/arcgis-coding-components/{p-c4521d1d.js → p-cfe23b1d.js} +2 -2
- package/dist/arcgis-coding-components/{p-3f1b5f73.entry.js → p-dab8169f.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-d99efb76.entry.js → p-f1704547.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-5872baf9.js → p-f21c85cc.js} +2 -2
- package/dist/cjs/{app-globals-b0c856f6.js → app-globals-483cae2e.js} +1 -1
- package/dist/cjs/{arcade-defaults-25d38bc0.js → arcade-defaults-4570f512.js} +4 -4
- package/dist/cjs/{arcade-language-features-0422f79b.js → arcade-language-features-7d4ed21c.js} +2 -2
- package/dist/cjs/{arcade-mode-151f7044.js → arcade-mode-299ce321.js} +3 -3
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-coding-components.cjs.js +4 -4
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
- package/dist/cjs/{css-c3bfee00.js → css-d2ab4832.js} +1 -1
- package/dist/cjs/{cssMode-c7d6c64b.js → cssMode-1a91d059.js} +2 -2
- package/dist/cjs/{html-3ff5bd3b.js → html-53913848.js} +2 -2
- package/dist/cjs/{htmlMode-71714c3e.js → htmlMode-40323901.js} +2 -2
- package/dist/cjs/{index-d386d3e2.js → index-e2ff2cb4.js} +43 -15
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-d1a20c9f.js → javascript-899fbb28.js} +3 -3
- package/dist/cjs/{jsonMode-2b25e5f4.js → jsonMode-426fbd92.js} +2 -2
- package/dist/cjs/{language-defaults-base-fe1d850e.js → language-defaults-base-4009bddc.js} +9 -9
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-0acd5dfe.js → sql-expr-defaults-87093a23.js} +4 -4
- package/dist/cjs/{sql-expr-mode-bc156416.js → sql-expr-mode-4296cfb8.js} +12 -12
- package/dist/cjs/{tsMode-9cfe75b9.js → tsMode-ab7bc9a0.js} +2 -2
- package/dist/cjs/{typescript-fc9b2e83.js → typescript-6057ccb0.js} +2 -2
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-language-features.js +1 -1
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +1 -1
- package/dist/components/arcade-suggestions.js +1 -1
- package/dist/components/arcade-variables.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +1 -1
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.js +1 -1
- package/dist/components/arcgis-sql-expression-fields.js +1 -1
- package/dist/components/chunk-2JTWBRMN.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/fields.js +1 -1
- package/dist/components/index.d.ts +18 -3
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/language-api-panel.js +1 -1
- package/dist/components/language-defaults-base.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/sql-expr-defaults.js +1 -1
- package/dist/components/sql-expr-mode.js +8 -8
- package/dist/components/sql-expression-fields.js +1 -1
- package/dist/components/useT9n.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-1d6b10d3.js → app-globals-02f6fd30.js} +1 -1
- package/dist/esm/{arcade-defaults-059a08f1.js → arcade-defaults-a1722577.js} +4 -4
- package/dist/esm/{arcade-language-features-749f495a.js → arcade-language-features-a4e974bb.js} +2 -2
- package/dist/esm/{arcade-mode-5e2da07e.js → arcade-mode-e9fb590d.js} +3 -3
- package/dist/esm/arcgis-arcade-editor_6.entry.js +5 -5
- package/dist/esm/arcgis-coding-components.js +5 -5
- package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
- package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
- package/dist/esm/{css-0fa06f45.js → css-15c272e9.js} +1 -1
- package/dist/esm/{cssMode-7d51359f.js → cssMode-3c754ccf.js} +2 -2
- package/dist/esm/{html-900c5e2a.js → html-f10e3333.js} +2 -2
- package/dist/esm/{htmlMode-aaba1915.js → htmlMode-a361f682.js} +2 -2
- package/dist/esm/{index-51f840b4.js → index-c70ac714.js} +43 -15
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-4a0ddd5a.js → javascript-d518168f.js} +3 -3
- package/dist/esm/{jsonMode-bcfe66f5.js → jsonMode-d47abfc3.js} +2 -2
- package/dist/esm/{language-defaults-base-5cb37b1e.js → language-defaults-base-11f85126.js} +9 -9
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-f1fd7291.js → sql-expr-defaults-6e0510b2.js} +4 -4
- package/dist/esm/{sql-expr-mode-0f087c3e.js → sql-expr-mode-23a3117f.js} +12 -12
- package/dist/esm/{tsMode-6deb8933.js → tsMode-271b449c.js} +2 -2
- package/dist/esm/{typescript-11a558e0.js → typescript-9b20a2d2.js} +2 -2
- package/dist/loader/cdn.js +2 -3
- package/dist/loader/index.cjs.js +2 -3
- package/dist/loader/index.es2017.js +2 -3
- package/dist/loader/index.js +2 -3
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/dist/types/utils/sql-expr-monaco/sql-expr-language-features.d.ts +1 -1
- package/dist/types/utils/sql-expr-monaco/sql-expr-validation-utils.d.ts +65 -67
- package/package.json +15 -15
- package/dist/arcgis-coding-components/p-1d45a6dd.js +0 -7
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
const NAMESPACE = 'arcgis-coding-components';
|
|
7
|
+
const BUILD = /* arcgis-coding-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
7
8
|
|
|
8
9
|
/*
|
|
9
|
-
Stencil Client Platform v4.
|
|
10
|
+
Stencil Client Platform v4.18.3 | MIT Licensed | https://stenciljs.com
|
|
10
11
|
*/
|
|
11
12
|
var __defProp = Object.defineProperty;
|
|
12
13
|
var __export = (target, all) => {
|
|
@@ -403,18 +404,18 @@ var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
|
403
404
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
404
405
|
|
|
405
406
|
// src/runtime/vdom/update-element.ts
|
|
406
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
407
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
407
408
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
408
409
|
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
409
410
|
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
410
411
|
{
|
|
411
|
-
for (memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
412
|
+
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
412
413
|
if (!(memberName in newVnodeAttrs)) {
|
|
413
414
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
414
415
|
}
|
|
415
416
|
}
|
|
416
417
|
}
|
|
417
|
-
for (memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
418
|
+
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
418
419
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
419
420
|
}
|
|
420
421
|
};
|
|
@@ -472,7 +473,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
472
473
|
childNode = createElm(null, parentVNode, startIdx);
|
|
473
474
|
if (childNode) {
|
|
474
475
|
vnodes[startIdx].$elm$ = childNode;
|
|
475
|
-
|
|
476
|
+
insertBefore(containerElm, childNode, before);
|
|
476
477
|
}
|
|
477
478
|
}
|
|
478
479
|
}
|
|
@@ -521,12 +522,12 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
521
522
|
newEndVnode = newCh[--newEndIdx];
|
|
522
523
|
} else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
523
524
|
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
524
|
-
|
|
525
|
+
insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
525
526
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
526
527
|
newEndVnode = newCh[--newEndIdx];
|
|
527
528
|
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
528
529
|
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
529
|
-
|
|
530
|
+
insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
530
531
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
531
532
|
newStartVnode = newCh[++newStartIdx];
|
|
532
533
|
} else {
|
|
@@ -555,7 +556,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
555
556
|
}
|
|
556
557
|
if (node) {
|
|
557
558
|
{
|
|
558
|
-
oldStartVnode.$elm$.parentNode
|
|
559
|
+
insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
|
|
559
560
|
}
|
|
560
561
|
}
|
|
561
562
|
}
|
|
@@ -613,6 +614,10 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
613
614
|
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
614
615
|
}
|
|
615
616
|
};
|
|
617
|
+
var insertBefore = (parent, newNode, reference) => {
|
|
618
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
619
|
+
return inserted;
|
|
620
|
+
};
|
|
616
621
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
617
622
|
const hostElm = hostRef.$hostElement$;
|
|
618
623
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -661,8 +666,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
661
666
|
return writeTask(dispatch) ;
|
|
662
667
|
};
|
|
663
668
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
669
|
+
const elm = hostRef.$hostElement$;
|
|
664
670
|
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
|
665
671
|
const instance = hostRef.$lazyInstance$ ;
|
|
672
|
+
if (!instance) {
|
|
673
|
+
throw new Error(
|
|
674
|
+
`Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
675
|
+
);
|
|
676
|
+
}
|
|
666
677
|
let maybePromise;
|
|
667
678
|
if (isInitialLoad) {
|
|
668
679
|
{
|
|
@@ -796,12 +807,20 @@ var safeCall = (instance, method, arg) => {
|
|
|
796
807
|
}
|
|
797
808
|
return void 0;
|
|
798
809
|
};
|
|
799
|
-
var addHydratedFlag = (elm) =>
|
|
810
|
+
var addHydratedFlag = (elm) => {
|
|
811
|
+
var _b;
|
|
812
|
+
return elm.setAttribute((_b = BUILD.hydratedSelectorName) != null ? _b : "hydrated", "") ;
|
|
813
|
+
};
|
|
800
814
|
|
|
801
815
|
// src/runtime/set-value.ts
|
|
802
816
|
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
803
817
|
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
804
818
|
const hostRef = getHostRef(ref);
|
|
819
|
+
if (!hostRef) {
|
|
820
|
+
throw new Error(
|
|
821
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
822
|
+
);
|
|
823
|
+
}
|
|
805
824
|
const elm = hostRef.$hostElement$ ;
|
|
806
825
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
807
826
|
const flags = hostRef.$flags$;
|
|
@@ -924,11 +943,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
924
943
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
925
944
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
926
945
|
if (bundleId) {
|
|
927
|
-
|
|
928
|
-
if (
|
|
946
|
+
const CstrImport = loadModule(cmpMeta);
|
|
947
|
+
if (CstrImport && "then" in CstrImport) {
|
|
929
948
|
const endLoad = uniqueTime();
|
|
930
|
-
Cstr = await
|
|
949
|
+
Cstr = await CstrImport;
|
|
931
950
|
endLoad();
|
|
951
|
+
} else {
|
|
952
|
+
Cstr = CstrImport;
|
|
953
|
+
}
|
|
954
|
+
if (!Cstr) {
|
|
955
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
932
956
|
}
|
|
933
957
|
if (!Cstr.isProxied) {
|
|
934
958
|
{
|
|
@@ -956,9 +980,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
956
980
|
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
957
981
|
} else {
|
|
958
982
|
Cstr = elm.constructor;
|
|
959
|
-
|
|
983
|
+
const cmpTag = elm.localName;
|
|
984
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
960
985
|
}
|
|
961
|
-
if (Cstr.style) {
|
|
986
|
+
if (Cstr && Cstr.style) {
|
|
962
987
|
let style = Cstr.style;
|
|
963
988
|
const scopeId2 = getScopeId(cmpMeta);
|
|
964
989
|
if (!styles.has(scopeId2)) {
|
|
@@ -1179,6 +1204,9 @@ var cmpModules = /* @__PURE__ */ new Map();
|
|
|
1179
1204
|
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1180
1205
|
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
1181
1206
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1207
|
+
if (!bundleId) {
|
|
1208
|
+
return void 0;
|
|
1209
|
+
}
|
|
1182
1210
|
const module = cmpModules.get(bundleId) ;
|
|
1183
1211
|
if (module) {
|
|
1184
1212
|
return module[exportName];
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
export { a as arcade } from './arcade-defaults-
|
|
7
|
-
import './language-defaults-base-
|
|
8
|
-
import './index-
|
|
6
|
+
export { a as arcade } from './arcade-defaults-a1722577.js';
|
|
7
|
+
import './language-defaults-base-11f85126.js';
|
|
8
|
+
import './index-c70ac714.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { conf as conf$1, language as language$1 } from './typescript-
|
|
7
|
-
import './language-defaults-base-
|
|
6
|
+
import { conf as conf$1, language as language$1 } from './typescript-9b20a2d2.js';
|
|
7
|
+
import './language-defaults-base-11f85126.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { M as monaco_editor_core_star } from './language-defaults-base-
|
|
6
|
+
import { M as monaco_editor_core_star } from './language-defaults-base-11f85126.js';
|
|
7
7
|
|
|
8
8
|
/*!-----------------------------------------------------------------------------
|
|
9
9
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Returns the last element of an array.
|
|
@@ -120592,7 +120592,7 @@ registerLanguage({
|
|
|
120592
120592
|
mimetypes: ["text/css"],
|
|
120593
120593
|
loader: () => {
|
|
120594
120594
|
{
|
|
120595
|
-
return import('./css-
|
|
120595
|
+
return import('./css-15c272e9.js');
|
|
120596
120596
|
}
|
|
120597
120597
|
}
|
|
120598
120598
|
});
|
|
@@ -120610,7 +120610,7 @@ registerLanguage({
|
|
|
120610
120610
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
120611
120611
|
loader: () => {
|
|
120612
120612
|
{
|
|
120613
|
-
return import('./html-
|
|
120613
|
+
return import('./html-f10e3333.js');
|
|
120614
120614
|
}
|
|
120615
120615
|
}
|
|
120616
120616
|
});
|
|
@@ -120630,7 +120630,7 @@ registerLanguage({
|
|
|
120630
120630
|
mimetypes: ["text/javascript"],
|
|
120631
120631
|
loader: () => {
|
|
120632
120632
|
{
|
|
120633
|
-
return import('./javascript-
|
|
120633
|
+
return import('./javascript-d518168f.js');
|
|
120634
120634
|
}
|
|
120635
120635
|
}
|
|
120636
120636
|
});
|
|
@@ -120648,7 +120648,7 @@ registerLanguage({
|
|
|
120648
120648
|
mimetypes: ["text/typescript"],
|
|
120649
120649
|
loader: () => {
|
|
120650
120650
|
{
|
|
120651
|
-
return import('./typescript-
|
|
120651
|
+
return import('./typescript-9b20a2d2.js');
|
|
120652
120652
|
}
|
|
120653
120653
|
}
|
|
120654
120654
|
});
|
|
@@ -120769,7 +120769,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
120769
120769
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
120770
120770
|
function getMode$3() {
|
|
120771
120771
|
{
|
|
120772
|
-
return import('./cssMode-
|
|
120772
|
+
return import('./cssMode-3c754ccf.js');
|
|
120773
120773
|
}
|
|
120774
120774
|
}
|
|
120775
120775
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -120894,7 +120894,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
120894
120894
|
};
|
|
120895
120895
|
function getMode$2() {
|
|
120896
120896
|
{
|
|
120897
|
-
return import('./htmlMode-
|
|
120897
|
+
return import('./htmlMode-a361f682.js');
|
|
120898
120898
|
}
|
|
120899
120899
|
}
|
|
120900
120900
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -120996,7 +120996,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
120996
120996
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
120997
120997
|
function getMode$1() {
|
|
120998
120998
|
{
|
|
120999
|
-
return import('./jsonMode-
|
|
120999
|
+
return import('./jsonMode-d47abfc3.js');
|
|
121000
121000
|
}
|
|
121001
121001
|
}
|
|
121002
121002
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -121265,7 +121265,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
121265
121265
|
};
|
|
121266
121266
|
function getMode() {
|
|
121267
121267
|
{
|
|
121268
|
-
return import('./tsMode-
|
|
121268
|
+
return import('./tsMode-271b449c.js');
|
|
121269
121269
|
}
|
|
121270
121270
|
}
|
|
121271
121271
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
8
|
-
import { g as globalScripts } from './app-globals-
|
|
6
|
+
import { b as bootstrapLazy } from './index-c70ac714.js';
|
|
7
|
+
export { s as setNonce } from './index-c70ac714.js';
|
|
8
|
+
import { g as globalScripts } from './app-globals-02f6fd30.js';
|
|
9
9
|
|
|
10
10
|
const defineCustomElements = async (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { F as isNotUndefined, D as Deferred, G as safeAsyncCall, H as devToolsAwareTimeout, J as safeCall, f as fieldsToProfileValues, i as isPredefinedProfile, b as isFeatureSetDefinition, m as main, L as LanguageDefaultsBase, d as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-
|
|
7
|
-
import { g as getAssetPath } from './index-
|
|
6
|
+
import { F as isNotUndefined, D as Deferred, G as safeAsyncCall, H as devToolsAwareTimeout, J as safeCall, f as fieldsToProfileValues, i as isPredefinedProfile, b as isFeatureSetDefinition, m as main, L as LanguageDefaultsBase, d as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-11f85126.js';
|
|
7
|
+
import { g as getAssetPath } from './index-c70ac714.js';
|
|
8
8
|
|
|
9
9
|
// src/framework.ts
|
|
10
10
|
function retrieveComponentMembers(component, isLit) {
|
|
@@ -1281,7 +1281,7 @@ async function getSqlExprWorker(uri) {
|
|
|
1281
1281
|
* @returns sql-expression mode module
|
|
1282
1282
|
*/
|
|
1283
1283
|
async function getMode() {
|
|
1284
|
-
return await import('./sql-expr-mode-
|
|
1284
|
+
return await import('./sql-expr-mode-23a3117f.js');
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
1287
|
const languageId = "arcgis-sql-expression";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { g as editor, T as importCoreSql, V as newLayersSupportFieldsIndex, z as languages, m as main, Q as debounce, O as Emitter } from './language-defaults-base-
|
|
7
|
-
import { b as getFieldsFromLayerVariable, s as sqlExprDefaults } from './sql-expr-defaults-
|
|
8
|
-
import { t as toCompletionItemKind } from './arcade-language-features-
|
|
9
|
-
import './index-
|
|
6
|
+
import { g as editor, T as importCoreSql, V as newLayersSupportFieldsIndex, z as languages, m as main, Q as debounce, O as Emitter } from './language-defaults-base-11f85126.js';
|
|
7
|
+
import { b as getFieldsFromLayerVariable, s as sqlExprDefaults } from './sql-expr-defaults-6e0510b2.js';
|
|
8
|
+
import { t as toCompletionItemKind } from './arcade-language-features-a4e974bb.js';
|
|
9
|
+
import './index-c70ac714.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Manager to create our sql-expression worker and client proxy
|
|
@@ -907,7 +907,6 @@ const sqlExprLanguageSyntax = {
|
|
|
907
907
|
},
|
|
908
908
|
};
|
|
909
909
|
|
|
910
|
-
/* eslint-disable @typescript-eslint/no-magic-numbers */
|
|
911
910
|
async function sqlExpressionCompletion(range, model, position, sdkFunctions) {
|
|
912
911
|
try {
|
|
913
912
|
/*
|
|
@@ -1108,13 +1107,13 @@ const traverseAST = (
|
|
|
1108
1107
|
// Representing the range for the "CASE" keyword for starting the case expression
|
|
1109
1108
|
const startPos = {
|
|
1110
1109
|
startColumn: node.location.start.column,
|
|
1111
|
-
endColumn: node.location.start.column +
|
|
1110
|
+
endColumn: node.location.start.column + "CASE".length,
|
|
1112
1111
|
startLineNumber: node.location.start.line,
|
|
1113
1112
|
endLineNumber: node.location.start.line,
|
|
1114
1113
|
};
|
|
1115
1114
|
// Representing the range for the "END" keyword for ending the case expression
|
|
1116
1115
|
const endPos = {
|
|
1117
|
-
startColumn: node.location.end.column -
|
|
1116
|
+
startColumn: node.location.end.column - "END".length,
|
|
1118
1117
|
endColumn: node.location.end.column,
|
|
1119
1118
|
startLineNumber: node.location.end.line,
|
|
1120
1119
|
endLineNumber: node.location.end.line,
|
|
@@ -1299,12 +1298,14 @@ const generateCompletionList = (functionName, range, sortingNumber) => {
|
|
|
1299
1298
|
const dataKind = dataTypes.includes(identifier.toUpperCase())
|
|
1300
1299
|
? languages.CompletionItemKind.TypeParameter
|
|
1301
1300
|
: languages.CompletionItemKind.Keyword;
|
|
1301
|
+
// ASCII value of 'y'
|
|
1302
|
+
const asciiY = 121;
|
|
1302
1303
|
return {
|
|
1303
1304
|
label: identifier,
|
|
1304
1305
|
kind: dataKind,
|
|
1305
1306
|
insertText: identifier,
|
|
1306
1307
|
range,
|
|
1307
|
-
sortText: String.fromCharCode(
|
|
1308
|
+
sortText: String.fromCharCode(asciiY - sortingNumber),
|
|
1308
1309
|
};
|
|
1309
1310
|
});
|
|
1310
1311
|
return completionItems ?? [];
|
|
@@ -1506,7 +1507,6 @@ const sqlFunctionParamKeywords = {
|
|
|
1506
1507
|
TRIM: ["LEADING", "TRAILING", "BOTH"],
|
|
1507
1508
|
};
|
|
1508
1509
|
|
|
1509
|
-
/* eslint-disable @typescript-eslint/no-magic-numbers */
|
|
1510
1510
|
function transposeSdkFunctions(sdkLibrary) {
|
|
1511
1511
|
return sdkLibrary.flatMap((category) => category.items).reduce((acc, item) => ({ ...acc, [item.name]: item }), {});
|
|
1512
1512
|
}
|
|
@@ -1673,8 +1673,8 @@ const getKeywords = (identifier) => {
|
|
|
1673
1673
|
*/
|
|
1674
1674
|
const getDelimiterPosition = (index, node, model, lastIndex) => {
|
|
1675
1675
|
let delimiterPosition;
|
|
1676
|
-
const start = node.
|
|
1677
|
-
const end = node.
|
|
1676
|
+
const start = node.location.start;
|
|
1677
|
+
const end = node.location.end;
|
|
1678
1678
|
/*
|
|
1679
1679
|
We can ensure that the match is never null since a fully generated AST
|
|
1680
1680
|
follows from a syntactically correct SQL expression.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { N as typescriptDefaults, M as monaco_editor_core_star } from './language-defaults-base-
|
|
6
|
+
import { N as typescriptDefaults, M as monaco_editor_core_star } from './language-defaults-base-11f85126.js';
|
|
7
7
|
|
|
8
8
|
/*!-----------------------------------------------------------------------------
|
|
9
9
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { M as monaco_editor_core_star } from './language-defaults-base-
|
|
6
|
+
import { M as monaco_editor_core_star } from './language-defaults-base-11f85126.js';
|
|
7
7
|
|
|
8
8
|
/*!-----------------------------------------------------------------------------
|
|
9
9
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
module.exports = require('../cjs/loader.cjs.js');
|
|
7
|
-
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
6
|
+
module.exports = require('../cjs/loader.cjs.js');
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
module.exports = require('../cjs/loader.cjs.js');
|
|
7
|
-
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
6
|
+
module.exports = require('../cjs/loader.cjs.js');
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
export * from '../esm/
|
|
7
|
-
export * from '../esm/loader.js';
|
|
6
|
+
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
|
-
export * from '../esm/
|
|
8
|
-
export * from '../esm/loader.js';
|
|
7
|
+
export * from '../esm/loader.js';
|
|
@@ -768,6 +768,7 @@ export declare namespace JSXBase {
|
|
|
768
768
|
hrefLang?: string;
|
|
769
769
|
hreflang?: string;
|
|
770
770
|
media?: string;
|
|
771
|
+
ping?: string;
|
|
771
772
|
rel?: string;
|
|
772
773
|
target?: string;
|
|
773
774
|
referrerPolicy?: ReferrerPolicy;
|
|
@@ -794,7 +795,6 @@ export declare namespace JSXBase {
|
|
|
794
795
|
cite?: string;
|
|
795
796
|
}
|
|
796
797
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
797
|
-
autoFocus?: boolean;
|
|
798
798
|
disabled?: boolean;
|
|
799
799
|
form?: string;
|
|
800
800
|
formAction?: string;
|
|
@@ -921,8 +921,6 @@ export declare namespace JSXBase {
|
|
|
921
921
|
autocapitalize?: string;
|
|
922
922
|
autoComplete?: string;
|
|
923
923
|
autocomplete?: string;
|
|
924
|
-
autoFocus?: boolean;
|
|
925
|
-
autofocus?: boolean | string;
|
|
926
924
|
capture?: string;
|
|
927
925
|
checked?: boolean;
|
|
928
926
|
crossOrigin?: string;
|
|
@@ -979,8 +977,6 @@ export declare namespace JSXBase {
|
|
|
979
977
|
popoverTarget?: string;
|
|
980
978
|
}
|
|
981
979
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
982
|
-
autoFocus?: boolean;
|
|
983
|
-
autofocus?: boolean | string;
|
|
984
980
|
challenge?: string;
|
|
985
981
|
disabled?: boolean;
|
|
986
982
|
form?: string;
|
|
@@ -1129,7 +1125,6 @@ export declare namespace JSXBase {
|
|
|
1129
1125
|
type?: string;
|
|
1130
1126
|
}
|
|
1131
1127
|
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1132
|
-
autoFocus?: boolean;
|
|
1133
1128
|
disabled?: boolean;
|
|
1134
1129
|
form?: string;
|
|
1135
1130
|
multiple?: boolean;
|
|
@@ -1164,8 +1159,6 @@ export declare namespace JSXBase {
|
|
|
1164
1159
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1165
1160
|
autoComplete?: string;
|
|
1166
1161
|
autocomplete?: string;
|
|
1167
|
-
autoFocus?: boolean;
|
|
1168
|
-
autofocus?: boolean | string;
|
|
1169
1162
|
cols?: number;
|
|
1170
1163
|
disabled?: boolean;
|
|
1171
1164
|
form?: string;
|
|
@@ -1218,6 +1211,8 @@ export declare namespace JSXBase {
|
|
|
1218
1211
|
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
1219
1212
|
innerHTML?: string;
|
|
1220
1213
|
accessKey?: string;
|
|
1214
|
+
autoFocus?: boolean;
|
|
1215
|
+
autofocus?: boolean | string;
|
|
1221
1216
|
class?: string | {
|
|
1222
1217
|
[className: string]: boolean;
|
|
1223
1218
|
};
|
|
@@ -25,7 +25,7 @@ export declare class SqlExprDiagnosticsAdapter {
|
|
|
25
25
|
export declare const sqlParenLessFunctions: string[];
|
|
26
26
|
export declare const dataTypes: string[];
|
|
27
27
|
export declare const getKeywords: (identifier: string) => string[] | undefined;
|
|
28
|
-
export declare const getDelimiterPosition: (index: number, node:
|
|
28
|
+
export declare const getDelimiterPosition: (index: number, node: __esri.SQLNode, model: editor.ITextModel, lastIndex: number) => IRange;
|
|
29
29
|
export declare const isSqlParenLessFunction: (word: string) => boolean;
|
|
30
30
|
export declare const getCursorWithinRange: (position: Position, startPos: IRange, endPos: IRange) => boolean[];
|
|
31
31
|
export declare const generateTypeDescription: (name: string, parameters: {
|