@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.
Files changed (94) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
  2. package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +13 -13
  3. package/dist/arcgis-coding-components/index.esm.js +1 -1
  4. package/dist/arcgis-coding-components/{p-10a322ec.js → p-0d616249.js} +9 -9
  5. package/dist/arcgis-coding-components/p-2c0d6f15.js +2 -0
  6. package/dist/arcgis-coding-components/{p-71faf9a4.js → p-5802524a.js} +1 -1
  7. package/dist/arcgis-coding-components/{p-9eabda86.js → p-5ddccf04.js} +1 -1
  8. package/dist/arcgis-coding-components/p-7475f3a6.js +1 -0
  9. package/dist/arcgis-coding-components/{p-e6ede32d.js → p-7d8caba9.js} +1 -1
  10. package/dist/arcgis-coding-components/{p-f7d7d78d.js → p-9f6db08a.js} +1 -1
  11. package/dist/arcgis-coding-components/{p-e475e6cd.js → p-aefe77ce.js} +1 -1
  12. package/dist/arcgis-coding-components/p-ce2be55e.entry.js +1 -0
  13. package/dist/arcgis-coding-components/{p-ce586a8c.js → p-d425a387.js} +1 -1
  14. package/dist/arcgis-coding-components/{p-c084ada8.js → p-ff21f230.js} +1 -1
  15. package/dist/cjs/{arcade-defaults-8445d852.js → arcade-defaults-2d513b59.js} +1534 -1534
  16. package/dist/cjs/arcade-mode-6219f1b8.js +599 -0
  17. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1404 -1408
  18. package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
  19. package/dist/cjs/{cssMode-e63287bb.js → cssMode-1ec48254.js} +2 -2
  20. package/dist/cjs/{html-c0d4db3b.js → html-0e1741fe.js} +2 -2
  21. package/dist/cjs/{htmlMode-fdc44d57.js → htmlMode-279d3c29.js} +2 -2
  22. package/dist/cjs/{index-6a382a34.js → index-ac186201.js} +67 -24
  23. package/dist/cjs/index.cjs.js +2 -2
  24. package/dist/cjs/{javascript-a419d064.js → javascript-04f1bce0.js} +3 -3
  25. package/dist/cjs/{jsonMode-73aee5d2.js → jsonMode-59322f7a.js} +2 -2
  26. package/dist/cjs/loader.cjs.js +1 -1
  27. package/dist/cjs/{tsMode-37d1b053.js → tsMode-17561f70.js} +2 -2
  28. package/dist/cjs/{typescript-53f9f36a.js → typescript-b7da8629.js} +2 -2
  29. package/dist/components/arcade-api.js +160 -160
  30. package/dist/components/arcade-contribution.js +60 -60
  31. package/dist/components/arcade-defaults.js +1240 -1240
  32. package/dist/components/arcade-mode.js +514 -513
  33. package/dist/components/arcade-results.js +426 -430
  34. package/dist/components/arcade-suggestions.js +130 -132
  35. package/dist/components/arcade-variables.js +157 -155
  36. package/dist/components/arcgis-arcade-api.d.ts +2 -2
  37. package/dist/components/arcgis-arcade-editor.d.ts +2 -2
  38. package/dist/components/arcgis-arcade-editor.js +391 -391
  39. package/dist/components/arcgis-arcade-results.d.ts +2 -2
  40. package/dist/components/arcgis-arcade-suggestions.d.ts +2 -2
  41. package/dist/components/arcgis-arcade-variables.d.ts +2 -2
  42. package/dist/components/arcgis-code-editor.d.ts +2 -2
  43. package/dist/components/code-editor.js +251 -251
  44. package/dist/components/fields.js +69 -69
  45. package/dist/components/functional-components.js +1 -1
  46. package/dist/components/index2.js +2 -2
  47. package/dist/components/markdown.js +28 -28
  48. package/dist/components/utilities.js +20 -20
  49. package/dist/esm/{arcade-defaults-d7893362.js → arcade-defaults-0bafa696.js} +1534 -1534
  50. package/dist/esm/arcade-mode-c17a1fa1.js +595 -0
  51. package/dist/esm/arcgis-arcade-api_6.entry.js +1404 -1408
  52. package/dist/esm/arcgis-coding-components.js +3 -3
  53. package/dist/esm/{cssMode-b1771f92.js → cssMode-3d18bd2b.js} +2 -2
  54. package/dist/esm/{html-af635d52.js → html-2bce5d77.js} +2 -2
  55. package/dist/esm/{htmlMode-3021c301.js → htmlMode-69d56956.js} +2 -2
  56. package/dist/esm/{index-fd6b2fd8.js → index-022fb97b.js} +67 -24
  57. package/dist/esm/index.js +2 -2
  58. package/dist/esm/{javascript-70589186.js → javascript-ded5c9d7.js} +3 -3
  59. package/dist/esm/{jsonMode-cb509b79.js → jsonMode-0bf84cb2.js} +2 -2
  60. package/dist/esm/loader.js +2 -2
  61. package/dist/esm/{tsMode-ed90c9aa.js → tsMode-15d4e936.js} +2 -2
  62. package/dist/esm/{typescript-db8a0b18.js → typescript-cc4d00f0.js} +2 -2
  63. package/dist/types/components/arcade-api/arcade-api.d.ts +40 -40
  64. package/dist/types/components/arcade-api/t9n-types.d.ts +6 -6
  65. package/dist/types/components/arcade-editor/arcade-editor.d.ts +127 -127
  66. package/dist/types/components/arcade-editor/t9n-types.d.ts +6 -6
  67. package/dist/types/components/arcade-results/arcade-results.d.ts +47 -47
  68. package/dist/types/components/arcade-results/t9n-types.d.ts +11 -11
  69. package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +34 -34
  70. package/dist/types/components/arcade-suggestions/t9n-types.d.ts +4 -4
  71. package/dist/types/components/arcade-variables/arcade-variables.d.ts +41 -41
  72. package/dist/types/components/arcade-variables/t9n-types.d.ts +6 -6
  73. package/dist/types/components/code-editor/code-editor.d.ts +73 -73
  74. package/dist/types/stencil-public-runtime.d.ts +8 -0
  75. package/dist/types/utils/arcade-executor.d.ts +79 -79
  76. package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +66 -66
  77. package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +23 -23
  78. package/dist/types/utils/arcade-monaco/arcade-mode.d.ts +9 -9
  79. package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +7 -7
  80. package/dist/types/utils/arcade-monaco/arcade-worker-manager.d.ts +9 -9
  81. package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +12 -12
  82. package/dist/types/utils/arcade-monaco/types.d.ts +29 -29
  83. package/dist/types/utils/editor-suggestions.d.ts +24 -24
  84. package/dist/types/utils/functional-components.d.ts +1 -1
  85. package/dist/types/utils/markdown.d.ts +1 -1
  86. package/dist/types/utils/profile/editor-profile.d.ts +185 -185
  87. package/dist/types/utils/profile/types.d.ts +101 -101
  88. package/dist/types/utils/utilities.d.ts +1 -1
  89. package/package.json +7 -7
  90. package/dist/arcgis-coding-components/p-5d670bd2.js +0 -2
  91. package/dist/arcgis-coding-components/p-9e242e76.js +0 -1
  92. package/dist/arcgis-coding-components/p-ccdf0ac1.entry.js +0 -1
  93. package/dist/cjs/arcade-mode-b77afcc9.js +0 -598
  94. package/dist/esm/arcade-mode-70e22d22.js +0 -594
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-fd6b2fd8.js';
2
- export { s as setNonce } from './index-fd6b2fd8.js';
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.7.1 | MIT Licensed | https://stenciljs.com
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 { n as monaco_editor_core_star } from './arcade-defaults-d7893362.js';
2
- import './index-fd6b2fd8.js';
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 { n as monaco_editor_core_star } from './arcade-defaults-d7893362.js';
2
- import './index-fd6b2fd8.js';
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 { n as monaco_editor_core_star } from './arcade-defaults-d7893362.js';
2
- import './index-fd6b2fd8.js';
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$.then(() => ref.$lazyInstance$[memberName](...args));
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 (!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
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$.push([propName, attrName]);
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 visibilityStyle = /*@__PURE__*/ doc.createElement('style');
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
- visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1693
- visibilityStyle.setAttribute('data-styles', '');
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
- visibilityStyle.setAttribute('nonce', nonce);
1738
+ dataStyles.setAttribute('nonce', nonce);
1698
1739
  }
1699
- head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
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
- if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1782
- const processMod = importedModule => {
1783
- cmpModules.set(bundleId, importedModule);
1784
- return importedModule[exportName];
1785
- }
1786
- switch(bundleId) {
1787
-
1788
- case 'arcgis-arcade-api_6':
1789
- return import(
1790
- /* webpackMode: "lazy" */
1791
- './arcgis-arcade-api_6.entry.js').then(processMod, consoleError);
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 = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
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-d7893362.js';
2
- import './index-fd6b2fd8.js';
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-db8a0b18.js';
2
- import './arcade-defaults-d7893362.js';
3
- import './index-fd6b2fd8.js';
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 { n as monaco_editor_core_star } from './arcade-defaults-d7893362.js';
2
- import './index-fd6b2fd8.js';
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 { b as bootstrapLazy } from './index-fd6b2fd8.js';
2
- export { s as setNonce } from './index-fd6b2fd8.js';
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, n as monaco_editor_core_star } from './arcade-defaults-d7893362.js';
2
- import './index-fd6b2fd8.js';
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 { n as monaco_editor_core_star } from './arcade-defaults-d7893362.js';
2
- import './index-fd6b2fd8.js';
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
- 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;
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
- expand: string;
3
- loading: string;
4
- constantsandfunctions: string;
5
- insert: string;
6
- noitems: string;
7
- moreinformation: string;
2
+ expand: string;
3
+ loading: string;
4
+ constantsandfunctions: string;
5
+ insert: string;
6
+ noitems: string;
7
+ moreinformation: string;
8
8
  };