@arcgis/coding-components 5.0.14 → 5.0.16

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.
@@ -18245,7 +18245,7 @@ function se(t, e, r, n) {
18245
18245
  const cr = { apiKey: void 0, apiKeys: { scopes: [] }, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: !0, portalUrl: "https://www.arcgis.com", respectPrefersReducedMotion: !0, routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], internalInterceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 62e3, trustedServers: [], useIdentity: !0 }, log: { interceptors: [], level: null } };
18246
18246
  if (globalThis.esriConfig && (Y4(cr, globalThis.esriConfig, !0), delete cr.has), !cr.assetsPath) {
18247
18247
  {
18248
- const t = "5.0.14";
18248
+ const t = "5.0.16";
18249
18249
  cr.assetsPath = `https://js.arcgis.com/${t}/@arcgis/core/assets`;
18250
18250
  }
18251
18251
  cr.defaultAssetsPath = cr.assetsPath;
package/dist/cdn/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{I as s,u as e}from"./ISDS2S7Y.js";import"./RXOG5OZ7.js";import"./ALDX5YZO.js";var i=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./I4I25AOR.js"),"appVersion,assistantsEnabled,closed,closePanel:,disableQuestionAnswerLogging,editorRef:,feedbackServiceUrl,helpBase,insertText:,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./Q3ZW4CJK.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,messages:,openedSidePanel,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./A4W75LZB.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./NDR6JJHP.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./G35JX62B.js"),"editorInstance:,editorOptions:,language,modelId,value;insertSnippet,insertText,setFocus"],"arcgis-code-editor-shell":[()=>import("./DKIDBFV5.js")],"arcgis-code-viewer":[()=>import("./BP5NWBN4.js"),"language,round"],"arcgis-editor-variables":[()=>import("./CFOJPC7Y.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./HDUK4VCR.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./UVLTXNVK.js"),"hideSideBar,messages:,profile:,script;setFocus"]});i({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-editor-shell,arcgis-code-viewer,arcgis-sql-expression-editor){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,s)
2
+ import{I as s,u as e}from"./EKSRVW45.js";import"./RXOG5OZ7.js";import"./ALDX5YZO.js";var i=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./DFNYULOF.js"),"appVersion,assistantsEnabled,closed,closePanel:,disableQuestionAnswerLogging,editorRef:,feedbackServiceUrl,helpBase,insertText:,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./SVJNGEKU.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,messages:,openedSidePanel,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./GVJI5333.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./OZH2TRAI.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./WUTCCLXM.js"),"editorInstance:,editorOptions:,language,modelId,value;insertSnippet,insertText,setFocus"],"arcgis-code-editor-shell":[()=>import("./COLZVQLL.js")],"arcgis-code-viewer":[()=>import("./TN2J2ESD.js"),"language,round"],"arcgis-editor-variables":[()=>import("./IUN5E6K6.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./5X3C6QPY.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./7OS4E6KW.js"),"hideSideBar,messages:,profile:,script;setFocus"]});i({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-editor-shell,arcgis-code-viewer,arcgis-sql-expression-editor){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,s)
@@ -325,7 +325,7 @@ ${c}` : c;
325
325
  let s = this.rules.inline.emStrongLDelim.exec(n);
326
326
  if (!(!s || !s[1] && !s[2] && !s[3] && !s[4] || s[4] && r.match(this.rules.other.unicodeAlphaNumeric)) && (!(s[1] || s[3]) || !r || this.rules.inline.punctuation.exec(r))) {
327
327
  let t = [...s[0]].length - 1, i, l, o = t, a = 0, h = s[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
328
- for (h.lastIndex = 0, e = e.slice(-1 * n.length + t); (s = h.exec(e)) != null; ) {
328
+ for (h.lastIndex = 0, e = e.slice(-1 * n.length + t); (s = h.exec(e)) !== null; ) {
329
329
  if (i = s[1] || s[2] || s[3] || s[4] || s[5] || s[6], !i) continue;
330
330
  if (l = [...i].length, s[3] || s[4]) {
331
331
  o += l;
@@ -361,7 +361,7 @@ ${c}` : c;
361
361
  let s = this.rules.inline.delLDelim.exec(n);
362
362
  if (s && (!s[1] || !r || this.rules.inline.punctuation.exec(r))) {
363
363
  let t = [...s[0]].length - 1, i, l, o = t, a = this.rules.inline.delRDelim;
364
- for (a.lastIndex = 0, e = e.slice(-1 * n.length + t); (s = a.exec(e)) != null; ) {
364
+ for (a.lastIndex = 0, e = e.slice(-1 * n.length + t); (s = a.exec(e)) !== null; ) {
365
365
  if (i = s[1] || s[2] || s[3] || s[4] || s[5] || s[6], !i || (l = [...i].length, l !== t)) continue;
366
366
  if (s[3] || s[4]) {
367
367
  o += l;
@@ -535,11 +535,11 @@ ${c}` : c;
535
535
  let s = e, t = null;
536
536
  if (this.tokens.links) {
537
537
  let a = Object.keys(this.tokens.links);
538
- if (a.length > 0) for (; (t = this.tokenizer.rules.inline.reflinkSearch.exec(s)) != null; ) a.includes(t[0].slice(t[0].lastIndexOf("[") + 1, -1)) && (s = s.slice(0, t.index) + "[" + "a".repeat(t[0].length - 2) + "]" + s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
538
+ if (a.length > 0) for (; (t = this.tokenizer.rules.inline.reflinkSearch.exec(s)) !== null; ) a.includes(t[0].slice(t[0].lastIndexOf("[") + 1, -1)) && (s = s.slice(0, t.index) + "[" + "a".repeat(t[0].length - 2) + "]" + s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
539
539
  }
540
- for (; (t = this.tokenizer.rules.inline.anyPunctuation.exec(s)) != null; ) s = s.slice(0, t.index) + "++" + s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
540
+ for (; (t = this.tokenizer.rules.inline.anyPunctuation.exec(s)) !== null; ) s = s.slice(0, t.index) + "++" + s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
541
541
  let i;
542
- for (; (t = this.tokenizer.rules.inline.blockSkip.exec(s)) != null; ) i = t[2] ? t[2].length : 0, s = s.slice(0, t.index + i) + "[" + "a".repeat(t[0].length - i - 2) + "]" + s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
542
+ for (; (t = this.tokenizer.rules.inline.blockSkip.exec(s)) !== null; ) i = t[2] ? t[2].length : 0, s = s.slice(0, t.index + i) + "[" + "a".repeat(t[0].length - i - 2) + "]" + s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
543
543
  s = this.options.hooks?.emStrongMask?.call({ lexer: this }, s) ?? s;
544
544
  let l = !1, o = "";
545
545
  for (; e; ) {
@@ -930,11 +930,11 @@ ${n}</tr>
930
930
  emStrongMask(n) {
931
931
  return n;
932
932
  }
933
- provideLexer() {
934
- return this.block ? b.lex : b.lexInline;
933
+ provideLexer(n = this.block) {
934
+ return n ? b.lex : b.lexInline;
935
935
  }
936
- provideParser() {
937
- return this.block ? w.parse : w.parseInline;
936
+ provideParser(n = this.block) {
937
+ return n ? w.parse : w.parseInline;
938
938
  }
939
939
  }, nt = class {
940
940
  defaults = H();
@@ -1069,16 +1069,16 @@ ${n}</tr>
1069
1069
  if (typeof e > "u" || e === null) return i(new Error("marked(): input parameter is undefined or null"));
1070
1070
  if (typeof e != "string") return i(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(e) + ", string expected"));
1071
1071
  if (t.hooks && (t.hooks.options = t, t.hooks.block = n), t.async) return (async () => {
1072
- let l = t.hooks ? await t.hooks.preprocess(e) : e, o = await (t.hooks ? await t.hooks.provideLexer() : n ? b.lex : b.lexInline)(l, t), a = t.hooks ? await t.hooks.processAllTokens(o) : o;
1072
+ let l = t.hooks ? await t.hooks.preprocess(e) : e, o = await (t.hooks ? await t.hooks.provideLexer(n) : n ? b.lex : b.lexInline)(l, t), a = t.hooks ? await t.hooks.processAllTokens(o) : o;
1073
1073
  t.walkTokens && await Promise.all(this.walkTokens(a, t.walkTokens));
1074
- let h = await (t.hooks ? await t.hooks.provideParser() : n ? w.parse : w.parseInline)(a, t);
1074
+ let h = await (t.hooks ? await t.hooks.provideParser(n) : n ? w.parse : w.parseInline)(a, t);
1075
1075
  return t.hooks ? await t.hooks.postprocess(h) : h;
1076
1076
  })().catch(i);
1077
1077
  try {
1078
1078
  t.hooks && (e = t.hooks.preprocess(e));
1079
- let l = (t.hooks ? t.hooks.provideLexer() : n ? b.lex : b.lexInline)(e, t);
1079
+ let l = (t.hooks ? t.hooks.provideLexer(n) : n ? b.lex : b.lexInline)(e, t);
1080
1080
  t.hooks && (l = t.hooks.processAllTokens(l)), t.walkTokens && this.walkTokens(l, t.walkTokens);
1081
- let o = (t.hooks ? t.hooks.provideParser() : n ? w.parse : w.parseInline)(l, t);
1081
+ let o = (t.hooks ? t.hooks.provideParser(n) : n ? w.parse : w.parseInline)(l, t);
1082
1082
  return t.hooks && (o = t.hooks.postprocess(o)), o;
1083
1083
  } catch (l) {
1084
1084
  return i(l);
@@ -2,7 +2,7 @@
2
2
  import "../cdn/main.css";
3
3
  import { makeRuntime as e } from "@arcgis/lumina";
4
4
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
5
- const t = e({ defaultAssetPath: "https://js.arcgis.com/5.0.14/coding-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: i, setAssetPath: d } = t;
5
+ const t = e({ defaultAssetPath: "https://js.arcgis.com/5.0.16/coding-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: i, setAssetPath: d } = t;
6
6
  t.t = s;
7
7
  t.o = r;
8
8
  t.c = a;