@arcgis/coding-components 4.29.0-beta.47 → 4.29.0-beta.49
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 +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +13 -13
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-10a322ec.js → p-0d616249.js} +9 -9
- package/dist/arcgis-coding-components/p-2c0d6f15.js +2 -0
- package/dist/arcgis-coding-components/{p-71faf9a4.js → p-5802524a.js} +1 -1
- package/dist/arcgis-coding-components/{p-9eabda86.js → p-5ddccf04.js} +1 -1
- package/dist/arcgis-coding-components/p-7475f3a6.js +1 -0
- package/dist/arcgis-coding-components/{p-e6ede32d.js → p-7d8caba9.js} +1 -1
- package/dist/arcgis-coding-components/{p-f7d7d78d.js → p-9f6db08a.js} +1 -1
- package/dist/arcgis-coding-components/{p-e475e6cd.js → p-aefe77ce.js} +1 -1
- package/dist/arcgis-coding-components/p-ce2be55e.entry.js +1 -0
- package/dist/arcgis-coding-components/{p-ce586a8c.js → p-d425a387.js} +1 -1
- package/dist/arcgis-coding-components/{p-c084ada8.js → p-ff21f230.js} +1 -1
- package/dist/cjs/{arcade-defaults-8445d852.js → arcade-defaults-2d513b59.js} +1534 -1534
- package/dist/cjs/arcade-mode-6219f1b8.js +599 -0
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1404 -1408
- package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
- package/dist/cjs/{cssMode-e63287bb.js → cssMode-1ec48254.js} +2 -2
- package/dist/cjs/{html-c0d4db3b.js → html-0e1741fe.js} +2 -2
- package/dist/cjs/{htmlMode-fdc44d57.js → htmlMode-279d3c29.js} +2 -2
- package/dist/cjs/{index-6a382a34.js → index-ac186201.js} +67 -24
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{javascript-a419d064.js → javascript-04f1bce0.js} +3 -3
- package/dist/cjs/{jsonMode-73aee5d2.js → jsonMode-59322f7a.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tsMode-37d1b053.js → tsMode-17561f70.js} +2 -2
- package/dist/cjs/{typescript-53f9f36a.js → typescript-b7da8629.js} +2 -2
- package/dist/components/arcade-api.js +160 -160
- package/dist/components/arcade-contribution.js +60 -60
- package/dist/components/arcade-defaults.js +1240 -1240
- package/dist/components/arcade-mode.js +514 -513
- package/dist/components/arcade-results.js +426 -430
- package/dist/components/arcade-suggestions.js +130 -132
- package/dist/components/arcade-variables.js +157 -155
- package/dist/components/arcgis-arcade-api.d.ts +2 -2
- package/dist/components/arcgis-arcade-editor.d.ts +2 -2
- package/dist/components/arcgis-arcade-editor.js +391 -391
- package/dist/components/arcgis-arcade-results.d.ts +2 -2
- package/dist/components/arcgis-arcade-suggestions.d.ts +2 -2
- package/dist/components/arcgis-arcade-variables.d.ts +2 -2
- package/dist/components/arcgis-code-editor.d.ts +2 -2
- package/dist/components/code-editor.js +251 -251
- package/dist/components/fields.js +69 -69
- package/dist/components/functional-components.js +1 -1
- package/dist/components/index2.js +2 -2
- package/dist/components/markdown.js +28 -28
- package/dist/components/utilities.js +20 -20
- package/dist/esm/{arcade-defaults-d7893362.js → arcade-defaults-0bafa696.js} +1534 -1534
- package/dist/esm/arcade-mode-c17a1fa1.js +595 -0
- package/dist/esm/arcgis-arcade-api_6.entry.js +1404 -1408
- package/dist/esm/arcgis-coding-components.js +3 -3
- package/dist/esm/{cssMode-b1771f92.js → cssMode-3d18bd2b.js} +2 -2
- package/dist/esm/{html-af635d52.js → html-2bce5d77.js} +2 -2
- package/dist/esm/{htmlMode-3021c301.js → htmlMode-69d56956.js} +2 -2
- package/dist/esm/{index-fd6b2fd8.js → index-022fb97b.js} +67 -24
- package/dist/esm/index.js +2 -2
- package/dist/esm/{javascript-70589186.js → javascript-ded5c9d7.js} +3 -3
- package/dist/esm/{jsonMode-cb509b79.js → jsonMode-0bf84cb2.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{tsMode-ed90c9aa.js → tsMode-15d4e936.js} +2 -2
- package/dist/esm/{typescript-db8a0b18.js → typescript-cc4d00f0.js} +2 -2
- package/dist/types/components/arcade-api/arcade-api.d.ts +40 -40
- package/dist/types/components/arcade-api/t9n-types.d.ts +6 -6
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +127 -127
- package/dist/types/components/arcade-editor/t9n-types.d.ts +6 -6
- package/dist/types/components/arcade-results/arcade-results.d.ts +47 -47
- package/dist/types/components/arcade-results/t9n-types.d.ts +11 -11
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +34 -34
- package/dist/types/components/arcade-suggestions/t9n-types.d.ts +4 -4
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +41 -41
- package/dist/types/components/arcade-variables/t9n-types.d.ts +6 -6
- package/dist/types/components/code-editor/code-editor.d.ts +73 -73
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/dist/types/utils/arcade-executor.d.ts +79 -79
- package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +66 -66
- package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +23 -23
- package/dist/types/utils/arcade-monaco/arcade-mode.d.ts +9 -9
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +7 -7
- package/dist/types/utils/arcade-monaco/arcade-worker-manager.d.ts +9 -9
- package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +12 -12
- package/dist/types/utils/arcade-monaco/types.d.ts +29 -29
- package/dist/types/utils/editor-suggestions.d.ts +24 -24
- package/dist/types/utils/functional-components.d.ts +1 -1
- package/dist/types/utils/markdown.d.ts +1 -1
- package/dist/types/utils/profile/editor-profile.d.ts +185 -185
- package/dist/types/utils/profile/types.d.ts +101 -101
- package/dist/types/utils/utilities.d.ts +1 -1
- package/package.json +7 -7
- package/dist/arcgis-coding-components/p-5d670bd2.js +0 -2
- package/dist/arcgis-coding-components/p-9e242e76.js +0 -1
- package/dist/arcgis-coding-components/p-ccdf0ac1.entry.js +0 -1
- package/dist/cjs/arcade-mode-b77afcc9.js +0 -598
- package/dist/esm/arcade-mode-70e22d22.js +0 -594
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-022fb97b.js';
|
|
2
|
+
export { s as setNonce } from './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.
|
|
5
|
+
Stencil Client Patch Browser v4.8.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './index-
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
|
+
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './index-
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
|
+
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './index-
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
|
+
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31,6 +31,13 @@ const uniqueTime = (key, measureText) => {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
34
|
+
/**
|
|
35
|
+
* Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
|
|
36
|
+
*
|
|
37
|
+
* Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
|
|
38
|
+
* support as of Stencil v4.
|
|
39
|
+
*/
|
|
40
|
+
const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
|
|
34
41
|
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
35
42
|
/**
|
|
36
43
|
* Default style mode id
|
|
@@ -332,6 +339,10 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
332
339
|
}
|
|
333
340
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
334
341
|
}
|
|
342
|
+
// Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM
|
|
343
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
344
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
345
|
+
}
|
|
335
346
|
if (appliedStyles) {
|
|
336
347
|
appliedStyles.add(scopeId);
|
|
337
348
|
}
|
|
@@ -496,7 +507,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
496
507
|
elm[memberName] = newValue;
|
|
497
508
|
}
|
|
498
509
|
}
|
|
499
|
-
catch (e) {
|
|
510
|
+
catch (e) {
|
|
511
|
+
/**
|
|
512
|
+
* in case someone tries to set a read-only property, e.g. "namespaceURI", we just ignore it
|
|
513
|
+
*/
|
|
514
|
+
}
|
|
500
515
|
}
|
|
501
516
|
/**
|
|
502
517
|
* Need to manually update attribute if:
|
|
@@ -535,6 +550,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
535
550
|
}
|
|
536
551
|
};
|
|
537
552
|
const parseClassListRegex = /\s/;
|
|
553
|
+
/**
|
|
554
|
+
* Parsed a string of classnames into an array
|
|
555
|
+
* @param value className string, e.g. "foo bar baz"
|
|
556
|
+
* @returns list of classes, e.g. ["foo", "bar", "baz"]
|
|
557
|
+
*/
|
|
538
558
|
const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
|
|
539
559
|
const CAPTURE_EVENT_SUFFIX = 'Capture';
|
|
540
560
|
const CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + '$');
|
|
@@ -604,6 +624,9 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
604
624
|
}
|
|
605
625
|
}
|
|
606
626
|
}
|
|
627
|
+
// This needs to always happen so we can hide nodes that are projected
|
|
628
|
+
// to another component but don't end up in a slot
|
|
629
|
+
elm['s-hn'] = hostTagName;
|
|
607
630
|
return elm;
|
|
608
631
|
};
|
|
609
632
|
/**
|
|
@@ -1322,13 +1345,13 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1322
1345
|
*/
|
|
1323
1346
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1324
1347
|
var _a;
|
|
1348
|
+
const prototype = Cstr.prototype;
|
|
1325
1349
|
if (cmpMeta.$members$) {
|
|
1326
1350
|
if (Cstr.watchers) {
|
|
1327
1351
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1328
1352
|
}
|
|
1329
1353
|
// It's better to have a const than two Object.entries()
|
|
1330
1354
|
const members = Object.entries(cmpMeta.$members$);
|
|
1331
|
-
const prototype = Cstr.prototype;
|
|
1332
1355
|
members.map(([memberName, [memberFlags]]) => {
|
|
1333
1356
|
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1334
1357
|
((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
@@ -1351,8 +1374,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1351
1374
|
// proxyComponent - method
|
|
1352
1375
|
Object.defineProperty(prototype, memberName, {
|
|
1353
1376
|
value(...args) {
|
|
1377
|
+
var _a;
|
|
1354
1378
|
const ref = getHostRef(this);
|
|
1355
|
-
return ref.$onInstancePromise
|
|
1379
|
+
return (_a = ref === null || ref === void 0 ? void 0 : ref.$onInstancePromise$) === null || _a === void 0 ? void 0 : _a.then(() => { var _a; return (_a = ref.$lazyInstance$) === null || _a === void 0 ? void 0 : _a[memberName](...args); });
|
|
1356
1380
|
},
|
|
1357
1381
|
});
|
|
1358
1382
|
}
|
|
@@ -1361,6 +1385,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1361
1385
|
const attrNameToPropName = new Map();
|
|
1362
1386
|
prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
|
|
1363
1387
|
plt.jmp(() => {
|
|
1388
|
+
var _a;
|
|
1364
1389
|
const propName = attrNameToPropName.get(attrName);
|
|
1365
1390
|
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1366
1391
|
// in the case where an attribute was set inline.
|
|
@@ -1416,11 +1441,12 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1416
1441
|
// 1. The instance is ready
|
|
1417
1442
|
// 2. The watchers are ready
|
|
1418
1443
|
// 3. The value has changed
|
|
1419
|
-
if (
|
|
1444
|
+
if (flags &&
|
|
1445
|
+
!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
|
|
1420
1446
|
flags & 128 /* HOST_FLAGS.isWatchReady */ &&
|
|
1421
1447
|
newValue !== oldValue) {
|
|
1422
1448
|
const instance = hostRef.$lazyInstance$ ;
|
|
1423
|
-
const entry = cmpMeta.$watchers$[attrName];
|
|
1449
|
+
const entry = (_a = cmpMeta.$watchers$) === null || _a === void 0 ? void 0 : _a[attrName];
|
|
1424
1450
|
entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
|
|
1425
1451
|
if (instance[callbackName] != null) {
|
|
1426
1452
|
instance[callbackName].call(instance, newValue, oldValue, attrName);
|
|
@@ -1442,10 +1468,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1442
1468
|
...members
|
|
1443
1469
|
.filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)
|
|
1444
1470
|
.map(([propName, m]) => {
|
|
1471
|
+
var _a;
|
|
1445
1472
|
const attrName = m[1] || propName;
|
|
1446
1473
|
attrNameToPropName.set(attrName, propName);
|
|
1447
1474
|
if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
|
|
1448
|
-
cmpMeta.$attrsToReflect
|
|
1475
|
+
(_a = cmpMeta.$attrsToReflect$) === null || _a === void 0 ? void 0 : _a.push([propName, attrName]);
|
|
1449
1476
|
}
|
|
1450
1477
|
return attrName;
|
|
1451
1478
|
}),
|
|
@@ -1617,12 +1644,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1617
1644
|
const customElements = win.customElements;
|
|
1618
1645
|
const head = doc.head;
|
|
1619
1646
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
1620
|
-
const
|
|
1647
|
+
const dataStyles = /*@__PURE__*/ doc.createElement('style');
|
|
1621
1648
|
const deferredConnectedCallbacks = [];
|
|
1622
1649
|
let appLoadFallback;
|
|
1623
1650
|
let isBootstrapping = true;
|
|
1624
1651
|
Object.assign(plt, options);
|
|
1625
1652
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1653
|
+
let hasSlotRelocation = false;
|
|
1626
1654
|
lazyBundles.map((lazyBundle) => {
|
|
1627
1655
|
lazyBundle[1].map((compactMeta) => {
|
|
1628
1656
|
var _a;
|
|
@@ -1632,6 +1660,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1632
1660
|
$members$: compactMeta[2],
|
|
1633
1661
|
$listeners$: compactMeta[3],
|
|
1634
1662
|
};
|
|
1663
|
+
// Check if we are using slots outside the shadow DOM in this component.
|
|
1664
|
+
// We'll use this information later to add styles for `slot-fb` elements
|
|
1665
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
1666
|
+
hasSlotRelocation = true;
|
|
1667
|
+
}
|
|
1635
1668
|
{
|
|
1636
1669
|
cmpMeta.$members$ = compactMeta[2];
|
|
1637
1670
|
}
|
|
@@ -1688,15 +1721,25 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1688
1721
|
}
|
|
1689
1722
|
});
|
|
1690
1723
|
});
|
|
1724
|
+
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1725
|
+
if (hasSlotRelocation) {
|
|
1726
|
+
dataStyles.innerHTML += SLOT_FB_CSS;
|
|
1727
|
+
}
|
|
1728
|
+
// Add hydration styles
|
|
1691
1729
|
{
|
|
1692
|
-
|
|
1693
|
-
|
|
1730
|
+
dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
|
|
1731
|
+
}
|
|
1732
|
+
// If we have styles, add them to the DOM
|
|
1733
|
+
if (dataStyles.innerHTML.length) {
|
|
1734
|
+
dataStyles.setAttribute('data-styles', '');
|
|
1694
1735
|
// Apply CSP nonce to the style tag if it exists
|
|
1695
1736
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
1696
1737
|
if (nonce != null) {
|
|
1697
|
-
|
|
1738
|
+
dataStyles.setAttribute('nonce', nonce);
|
|
1698
1739
|
}
|
|
1699
|
-
|
|
1740
|
+
// Insert the styles into the document head
|
|
1741
|
+
// NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
|
|
1742
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1700
1743
|
}
|
|
1701
1744
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1702
1745
|
isBootstrapping = false;
|
|
@@ -1778,19 +1821,19 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1778
1821
|
return module[exportName];
|
|
1779
1822
|
}
|
|
1780
1823
|
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1824
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
1825
|
+
const processMod = importedModule => {
|
|
1826
|
+
cmpModules.set(bundleId, importedModule);
|
|
1827
|
+
return importedModule[exportName];
|
|
1828
|
+
}
|
|
1829
|
+
switch(bundleId) {
|
|
1830
|
+
|
|
1831
|
+
case 'arcgis-arcade-api_6':
|
|
1832
|
+
return import(
|
|
1833
|
+
/* webpackMode: "lazy" */
|
|
1834
|
+
'./arcgis-arcade-api_6.entry.js').then(processMod, consoleError);
|
|
1835
|
+
}
|
|
1792
1836
|
}
|
|
1793
|
-
}
|
|
1794
1837
|
return import(
|
|
1795
1838
|
/* @vite-ignore */
|
|
1796
1839
|
/* webpackInclude: /\.entry\.js$/ */
|
|
@@ -1865,7 +1908,7 @@ const flush = () => {
|
|
|
1865
1908
|
}
|
|
1866
1909
|
}
|
|
1867
1910
|
};
|
|
1868
|
-
const nextTick =
|
|
1911
|
+
const nextTick = (cb) => promiseResolve().then(cb);
|
|
1869
1912
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1870
1913
|
|
|
1871
1914
|
export { Fragment as F, Host as H, getElement as a, bootstrapLazy as b, createEvent as c, getAssetPath as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as arcade } from './arcade-defaults-
|
|
2
|
-
import './index-
|
|
1
|
+
export { a as arcade } from './arcade-defaults-0bafa696.js';
|
|
2
|
+
import './index-022fb97b.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { conf as conf$1, language as language$1 } from './typescript-
|
|
2
|
-
import './arcade-defaults-
|
|
3
|
-
import './index-
|
|
1
|
+
import { conf as conf$1, language as language$1 } from './typescript-cc4d00f0.js';
|
|
2
|
+
import './arcade-defaults-0bafa696.js';
|
|
3
|
+
import './index-022fb97b.js';
|
|
4
4
|
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './index-
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
|
+
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-022fb97b.js';
|
|
2
|
+
export { s as setNonce } from './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as typescriptDefaults,
|
|
2
|
-
import './index-
|
|
1
|
+
import { t as typescriptDefaults, m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
|
+
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './index-
|
|
1
|
+
import { m as monaco_editor_core_star } from './arcade-defaults-0bafa696.js';
|
|
2
|
+
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3,44 +3,44 @@ import type { ApiCategory, ApiItem } from "@arcgis/arcade-languageservice";
|
|
|
3
3
|
import { ArcadeAPIStrings } from "./t9n-types";
|
|
4
4
|
/** @internal */
|
|
5
5
|
export declare class ArcgisArcadeApi implements ComponentInterface {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
6
|
+
private _flowObserver?;
|
|
7
|
+
private _themeChangedListner?;
|
|
8
|
+
_hostElement: HTMLArcgisArcadeApiElement;
|
|
9
|
+
_lang: string;
|
|
10
|
+
_t9nLocale: string;
|
|
11
|
+
_t9nStrings: ArcadeAPIStrings | undefined;
|
|
12
|
+
_selectedApiItem: undefined | ApiItem;
|
|
13
|
+
_filterValue: string;
|
|
14
|
+
_colorizeStyle: string;
|
|
15
|
+
_preparingApi: boolean;
|
|
16
|
+
_apiLibrary: ApiCategory[] | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Should the documentation action be hidden
|
|
19
|
+
*/
|
|
20
|
+
hideDocumentationActions: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The model id used by the component to retrieve the api library
|
|
23
|
+
*/
|
|
24
|
+
modelId: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Raised when the close action has been requested
|
|
27
|
+
*/
|
|
28
|
+
close: EventEmitter<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Raised when an item has been selected
|
|
31
|
+
*/
|
|
32
|
+
itemSelected: EventEmitter<string>;
|
|
33
|
+
componentWillLoad(): Promise<void>;
|
|
34
|
+
disconnectedCallback(): void;
|
|
35
|
+
private _updateApiLibrary;
|
|
36
|
+
private flowFocusHandler;
|
|
37
|
+
private _emitItemSelected;
|
|
38
|
+
private _emitClose;
|
|
39
|
+
private _emitItemSelectedAndClose;
|
|
40
|
+
private _selectItem;
|
|
41
|
+
private _unselectItem;
|
|
42
|
+
private _updateFilterValue;
|
|
43
|
+
private renderApiCategory;
|
|
44
|
+
private renderApiItemFlowItem;
|
|
45
|
+
render(): VNode;
|
|
46
46
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type ArcadeAPIStrings = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
expand: string;
|
|
3
|
+
loading: string;
|
|
4
|
+
constantsandfunctions: string;
|
|
5
|
+
insert: string;
|
|
6
|
+
noitems: string;
|
|
7
|
+
moreinformation: string;
|
|
8
8
|
};
|