@arcgis/coding-components 4.33.0-next.36 → 4.33.0-next.37

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 (112) hide show
  1. package/dist/arcgis-coding-components/{XINUKDXP.js → 2AWJ6HBM.js} +2 -2
  2. package/dist/arcgis-coding-components/{3DVYQZHQ.js.LEGAL.txt → 2AWJ6HBM.js.LEGAL.txt} +1 -1
  3. package/dist/arcgis-coding-components/{KVM7XB2O.js → 4QSDN4SG.js} +2 -2
  4. package/dist/arcgis-coding-components/{BRKLT6N4.js → 4XWXKEEK.js} +2 -2
  5. package/dist/arcgis-coding-components/{BRKLT6N4.js.LEGAL.txt → 4XWXKEEK.js.LEGAL.txt} +1 -1
  6. package/dist/arcgis-coding-components/{Y4XF7FXQ.js → 5RPM2POU.js} +2 -2
  7. package/dist/arcgis-coding-components/{N3VHDYFC.js → 5UW4T2V5.js} +2 -2
  8. package/dist/arcgis-coding-components/{3OKHIEJU.js.LEGAL.txt → 5UW4T2V5.js.LEGAL.txt} +1 -1
  9. package/dist/arcgis-coding-components/{PIZELUWE.js → 6VGAI2J6.js} +2 -2
  10. package/dist/arcgis-coding-components/{BHRY23FF.js.LEGAL.txt → 6VGAI2J6.js.LEGAL.txt} +1 -1
  11. package/dist/arcgis-coding-components/{3OKHIEJU.js → A4EMKOD2.js} +2 -2
  12. package/dist/arcgis-coding-components/{2PSCGKNN.js.LEGAL.txt → A4EMKOD2.js.LEGAL.txt} +1 -1
  13. package/dist/arcgis-coding-components/{TGFNG6X4.js → BTGHCW7F.js} +2 -2
  14. package/dist/arcgis-coding-components/{RZXVZQW4.js → CD7GMJSV.js} +2 -2
  15. package/dist/arcgis-coding-components/{6PPFLJSG.js → DJ6EAXIJ.js} +1 -1
  16. package/dist/arcgis-coding-components/{QUPQXTGV.js → EBPN2PD4.js} +2 -2
  17. package/dist/arcgis-coding-components/{2PSCGKNN.js → EGTYKMMY.js} +2 -2
  18. package/dist/arcgis-coding-components/EGTYKMMY.js.LEGAL.txt +3 -0
  19. package/dist/arcgis-coding-components/FI77T4ML.js +4 -0
  20. package/dist/arcgis-coding-components/{L6IUBABC.js → GQD6AKT5.js} +1 -1
  21. package/dist/arcgis-coding-components/{OEBAGNJU.js → H5373NQW.js} +2 -2
  22. package/dist/arcgis-coding-components/{BHARKG7U.js → JSVQVPUT.js} +2 -2
  23. package/dist/arcgis-coding-components/{BHARKG7U.js.LEGAL.txt → JSVQVPUT.js.LEGAL.txt} +1 -1
  24. package/dist/arcgis-coding-components/{VY5RDGQP.js → JTJY4ZSH.js} +2 -2
  25. package/dist/arcgis-coding-components/{MPMJT5FH.js → K7NQVVBP.js} +2 -2
  26. package/dist/arcgis-coding-components/K7NQVVBP.js.LEGAL.txt +3 -0
  27. package/dist/arcgis-coding-components/{ZVLQS3PC.js → LDWQ777U.js} +2 -2
  28. package/dist/arcgis-coding-components/{LXCJDCWB.js → M22IDA5V.js} +2 -2
  29. package/dist/arcgis-coding-components/M22IDA5V.js.LEGAL.txt +3 -0
  30. package/dist/arcgis-coding-components/{P6QIMDGM.js → MBSK54L7.js} +2 -2
  31. package/dist/arcgis-coding-components/{BHRY23FF.js → MFO677BD.js} +2 -2
  32. package/dist/arcgis-coding-components/MFO677BD.js.LEGAL.txt +3 -0
  33. package/dist/arcgis-coding-components/{HAIXUB63.js → MTFRRTTG.js} +2 -2
  34. package/dist/arcgis-coding-components/MTFRRTTG.js.LEGAL.txt +3 -0
  35. package/dist/arcgis-coding-components/{TK2BS2RU.js → O3L6OGOK.js} +1 -1
  36. package/dist/arcgis-coding-components/{HPBT4A67.js → OW5EH52Y.js} +2 -2
  37. package/dist/arcgis-coding-components/OW5EH52Y.js.LEGAL.txt +3 -0
  38. package/dist/arcgis-coding-components/{T6UPNZKZ.js → PZIR7K4T.js} +2 -2
  39. package/dist/arcgis-coding-components/PZIR7K4T.js.LEGAL.txt +3 -0
  40. package/dist/arcgis-coding-components/{3DVYQZHQ.js → Q4FOH55H.js} +1 -1
  41. package/dist/arcgis-coding-components/Q4FOH55H.js.LEGAL.txt +3 -0
  42. package/dist/arcgis-coding-components/{2B247PPX.js → RFEEDDG3.js} +2 -2
  43. package/dist/arcgis-coding-components/{G3Z2A2TO.js → TETYFISB.js} +2 -2
  44. package/dist/arcgis-coding-components/{QYGEEXQM.js → TGW2HCWG.js} +2 -2
  45. package/dist/arcgis-coding-components/TGW2HCWG.js.LEGAL.txt +3 -0
  46. package/dist/arcgis-coding-components/{UQNJDX7S.js → TNJS4S6N.js} +2 -2
  47. package/dist/arcgis-coding-components/{VVIK5T7L.js → UO5P7PIP.js} +3 -3
  48. package/dist/arcgis-coding-components/{VVIK5T7L.js.LEGAL.txt → UO5P7PIP.js.LEGAL.txt} +1 -1
  49. package/dist/arcgis-coding-components/{RCUJGB6F.js → VFVKSNLC.js} +2 -2
  50. package/dist/arcgis-coding-components/VFVKSNLC.js.LEGAL.txt +3 -0
  51. package/dist/arcgis-coding-components/{QIB6O5FG.js → W3TBIILH.js} +2 -2
  52. package/dist/arcgis-coding-components/W3TBIILH.js.LEGAL.txt +3 -0
  53. package/dist/arcgis-coding-components/{SHKXWC5B.js → W7T7GDZC.js} +2 -2
  54. package/dist/arcgis-coding-components/W7T7GDZC.js.LEGAL.txt +3 -0
  55. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  56. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js.LEGAL.txt +1 -1
  57. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +29 -29
  58. package/dist/chunks/arcade-defaults.js +1 -1
  59. package/dist/chunks/arcade-executor.js +1 -1
  60. package/dist/chunks/arcade-mode.js +1 -1
  61. package/dist/chunks/arcade-service-accessors.js +1 -1
  62. package/dist/chunks/fields.js +1 -1
  63. package/dist/chunks/language-defaults-base.js +1 -1
  64. package/dist/chunks/markdown.js +1 -1
  65. package/dist/chunks/monaco-importer.js +1 -1
  66. package/dist/chunks/runtime.js +1 -1
  67. package/dist/chunks/sql-expr-defaults.js +1 -1
  68. package/dist/chunks/sql-expr-mode.js +1 -1
  69. package/dist/chunks/useT9n.js +1 -1
  70. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  71. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  72. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  73. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  75. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  76. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  77. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  78. package/dist/docs/api.json +2 -2
  79. package/dist/docs/docs.json +2 -2
  80. package/dist/docs/web-types.json +1 -1
  81. package/dist/index.js +1 -1
  82. package/dist/loader.js +1 -1
  83. package/package.json +7 -7
  84. package/dist/arcgis-coding-components/DANTTXVS.js +0 -4
  85. package/dist/arcgis-coding-components/HAIXUB63.js.LEGAL.txt +0 -3
  86. package/dist/arcgis-coding-components/HPBT4A67.js.LEGAL.txt +0 -3
  87. package/dist/arcgis-coding-components/LXCJDCWB.js.LEGAL.txt +0 -3
  88. package/dist/arcgis-coding-components/MPMJT5FH.js.LEGAL.txt +0 -3
  89. package/dist/arcgis-coding-components/N3VHDYFC.js.LEGAL.txt +0 -3
  90. package/dist/arcgis-coding-components/PIZELUWE.js.LEGAL.txt +0 -3
  91. package/dist/arcgis-coding-components/QIB6O5FG.js.LEGAL.txt +0 -3
  92. package/dist/arcgis-coding-components/QYGEEXQM.js.LEGAL.txt +0 -3
  93. package/dist/arcgis-coding-components/RCUJGB6F.js.LEGAL.txt +0 -3
  94. package/dist/arcgis-coding-components/SHKXWC5B.js.LEGAL.txt +0 -3
  95. package/dist/arcgis-coding-components/T6UPNZKZ.js.LEGAL.txt +0 -3
  96. package/dist/arcgis-coding-components/XINUKDXP.js.LEGAL.txt +0 -3
  97. /package/dist/arcgis-coding-components/{KVM7XB2O.js.LEGAL.txt → 4QSDN4SG.js.LEGAL.txt} +0 -0
  98. /package/dist/arcgis-coding-components/{Y4XF7FXQ.js.LEGAL.txt → 5RPM2POU.js.LEGAL.txt} +0 -0
  99. /package/dist/arcgis-coding-components/{TGFNG6X4.js.LEGAL.txt → BTGHCW7F.js.LEGAL.txt} +0 -0
  100. /package/dist/arcgis-coding-components/{RZXVZQW4.js.LEGAL.txt → CD7GMJSV.js.LEGAL.txt} +0 -0
  101. /package/dist/arcgis-coding-components/{6PPFLJSG.js.LEGAL.txt → DJ6EAXIJ.js.LEGAL.txt} +0 -0
  102. /package/dist/arcgis-coding-components/{QUPQXTGV.js.LEGAL.txt → EBPN2PD4.js.LEGAL.txt} +0 -0
  103. /package/dist/arcgis-coding-components/{DANTTXVS.js.LEGAL.txt → FI77T4ML.js.LEGAL.txt} +0 -0
  104. /package/dist/arcgis-coding-components/{G3Z2A2TO.js.LEGAL.txt → GQD6AKT5.js.LEGAL.txt} +0 -0
  105. /package/dist/arcgis-coding-components/{OEBAGNJU.js.LEGAL.txt → H5373NQW.js.LEGAL.txt} +0 -0
  106. /package/dist/arcgis-coding-components/{VY5RDGQP.js.LEGAL.txt → JTJY4ZSH.js.LEGAL.txt} +0 -0
  107. /package/dist/arcgis-coding-components/{ZVLQS3PC.js.LEGAL.txt → LDWQ777U.js.LEGAL.txt} +0 -0
  108. /package/dist/arcgis-coding-components/{P6QIMDGM.js.LEGAL.txt → MBSK54L7.js.LEGAL.txt} +0 -0
  109. /package/dist/arcgis-coding-components/{L6IUBABC.js.LEGAL.txt → O3L6OGOK.js.LEGAL.txt} +0 -0
  110. /package/dist/arcgis-coding-components/{2B247PPX.js.LEGAL.txt → RFEEDDG3.js.LEGAL.txt} +0 -0
  111. /package/dist/arcgis-coding-components/{TK2BS2RU.js.LEGAL.txt → TETYFISB.js.LEGAL.txt} +0 -0
  112. /package/dist/arcgis-coding-components/{UQNJDX7S.js.LEGAL.txt → TNJS4S6N.js.LEGAL.txt} +0 -0
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.36 */
3
+ v4.33.0-next.37 */
4
4
 
5
5
  Bundled license information:
6
6
 
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.36 */
4
- import{b as f}from"./2B247PPX.js";import{a as u}from"./SHKXWC5B.js";import{e as d,f as i,r as a,s as h,w as m}from"./BRKLT6N4.js";import{e as c,o as n}from"./6PPFLJSG.js";import"./TK2BS2RU.js";var g=d`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;function b(l){l.key==="Enter"&&l.stopPropagation()}var o=class extends h{constructor(){super(...arguments),this._beforeBack=async()=>{this.removeLastPanelRenderer(),this._filterValue=""},this.messages=u(),this._filterValue="",this._flowItemRenderers=[],this._mode="profile",this._mutationCounter=1,this.loading=!1,this.arcgisClose=a({bubbles:!1}),this.arcgisItemSelected=a({bubbles:!1})}static{this.properties={_filterValue:16,_flowItemRenderers:16,_mode:16,_mutationCounter:16,loading:5,modelId:1,variable:0}}static{this.styles=g}load(){this._variableChanged()}willUpdate(e){e.has("modelId")&&(this._flowItemRenderers=[]),e.has("variable")&&this._variableChanged()}disconnectedCallback(){super.disconnectedCallback(),this._flowObserver?.disconnect()}_variableChanged(){this._mode=this.variable?.type==="featureSet"?"featureSet":"profile"}addPanelRenderer(e){this._flowItemRenderers=[...this._flowItemRenderers,e]}removeLastPanelRenderer(){this._flowItemRenderers=this._flowItemRenderers.slice(0,-1)}_isMode(e){return this._mode===e}flowFocusHandler(e){if(!e){this._flowObserver?.disconnect(),this._flowObserver=void 0;return}this._flowObserver||(this._flowObserver=new MutationObserver(()=>{c(e.querySelector("calcite-flow-item:last-child"),"calcite-input")}),this._flowObserver.observe(e,{attributes:!0,attributeFilter:["id"],childList:!0}))}_updateFilterValue(e){this._filterValue=e.currentTarget.value}_emitClose(){this.arcgisClose.emit()}_backToTop(){this._flowItemRenderers=[]}_emitItemSelected(e,t){if(t.nonInteractive)return;let s=e;(!s.key||s.key==="Enter")&&(e.preventDefault(),this.arcgisItemSelected.emit(t.snippet))}_showCollectionPanel(e,t){e.stopPropagation(),this.addPanelRenderer(s=>this.renderCollectionBasedVariable(t,!1,s))}_getHeadingForCollection(e){if(!e)return"";switch(this._mode){case"profile":return this.messages.profilevariables??"";case"featureSet":return this.messages.fields??""}}_getDescriptionForCollection(e){if(!e)return"";switch(this._mode){case"profile":return e.breadcrumb;case"featureSet":return e.variables[0]?.getLabel()??""}}renderCollectionBasedVariable(e,t=!1,s=!1){if(!e)return null;let r=this.loading;return!r&&!e.loaded&&(e.loadSource().then(()=>setTimeout(()=>{this._mutationCounter+=1})).catch(()=>{console.error("Error loading collection"),r=!1}),r=!0),i`<calcite-flow-item .heading=${this._getHeadingForCollection(e)} .description=${this._getDescriptionForCollection(e)} .beforeBack=${this._beforeBack} closable @calciteFlowItemClose=${this._emitClose} .selected=${s}><calcite-action slot=header-actions-end .text=${this.messages.backtotop??""} scale=m .hidden=${t||this._isMode("featureSet")} icon=chevrons-left icon-flip-rtl @click=${this._backToTop}></calcite-action><calcite-input .value=${this._filterValue} icon=magnifying-glass clearable @calciteInputInput=${this._updateFilterValue} class="sticky" scale=m></calcite-input>${r?i`<calcite-loader scale=s type=indeterminate .label=${this.messages.loading??""}></calcite-loader>`:i`<calcite-list label=variables>${this.renderEditorVariables(e)}</calcite-list>`}</calcite-flow-item>`}renderEditorVariables(e){let t=n(this._filterValue),s=e.variables.filter(r=>r.passFilter(t));return s.length?s.map(r=>this.renderEditorVariable(r)):i`<div class="notice-container">${this.messages.noitems}</div>`}renderEditorVariable(e){switch(e.type){case"group":return this._isMode("featureSet")&&e.isHeader?i`<calcite-list-item-group .heading=${e.getLabel()}></calcite-list-item-group>`:this._isMode("featureSet")&&e._label?.code==="fields"?this.renderEditorVariables(e):i`<calcite-list-item-group .heading=${e.getLabel()}>${this.renderEditorVariables(e)}</calcite-list-item-group>`;default:return i`<calcite-list-item .label=${e.getLabel()} .description=${e.getDescription()} @calciteListItemSelect=${t=>this._emitItemSelected(t,e)} @keydown=${t=>this._emitItemSelected(t,e)}>${e.isCollection?i`<calcite-action slot=actions-end .text=${this.messages.expand??""} scale=s icon=chevron-right icon-flip-rtl @click=${t=>this._showCollectionPanel(t,e)} @keydown=${b}></calcite-action>`:null}${e.icon?i`<calcite-icon .icon=${e.icon} scale=s slot=content-start></calcite-icon>`:null}</calcite-list-item>`}}render(){return!this.loading&&this.variable?.loaded&&!this.variable?.variables.length?i`<calcite-flow><calcite-flow-item .heading=${this.messages.profilevariables} closable @calciteFlowItemClose=${this._emitClose}><div class="notice-container">${this.messages.noprofilevariablesmessage}</div></calcite-flow-item></calcite-flow>`:i`<calcite-flow ${f(this.flowFocusHandler)}>${this.renderCollectionBasedVariable(this.variable,!0,this._flowItemRenderers.length===0)}${this._flowItemRenderers.map((e,t,s)=>e(t===s.length-1))}</calcite-flow>`}};m("arcgis-editor-variables",o);export{o as ArcgisEditorVariables};
3
+ v4.33.0-next.37 */
4
+ import{b as f}from"./RFEEDDG3.js";import{a as u}from"./W7T7GDZC.js";import{e as d,f as i,r as a,s as h,w as m}from"./4XWXKEEK.js";import{e as c,o as n}from"./DJ6EAXIJ.js";import"./O3L6OGOK.js";var g=d`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;function b(l){l.key==="Enter"&&l.stopPropagation()}var o=class extends h{constructor(){super(...arguments),this._beforeBack=async()=>{this.removeLastPanelRenderer(),this._filterValue=""},this.messages=u(),this._filterValue="",this._flowItemRenderers=[],this._mode="profile",this._mutationCounter=1,this.loading=!1,this.arcgisClose=a({bubbles:!1}),this.arcgisItemSelected=a({bubbles:!1})}static{this.properties={_filterValue:16,_flowItemRenderers:16,_mode:16,_mutationCounter:16,loading:5,modelId:1,variable:0}}static{this.styles=g}load(){this._variableChanged()}willUpdate(e){e.has("modelId")&&(this._flowItemRenderers=[]),e.has("variable")&&this._variableChanged()}disconnectedCallback(){super.disconnectedCallback(),this._flowObserver?.disconnect()}_variableChanged(){this._mode=this.variable?.type==="featureSet"?"featureSet":"profile"}addPanelRenderer(e){this._flowItemRenderers=[...this._flowItemRenderers,e]}removeLastPanelRenderer(){this._flowItemRenderers=this._flowItemRenderers.slice(0,-1)}_isMode(e){return this._mode===e}flowFocusHandler(e){if(!e){this._flowObserver?.disconnect(),this._flowObserver=void 0;return}this._flowObserver||(this._flowObserver=new MutationObserver(()=>{c(e.querySelector("calcite-flow-item:last-child"),"calcite-input")}),this._flowObserver.observe(e,{attributes:!0,attributeFilter:["id"],childList:!0}))}_updateFilterValue(e){this._filterValue=e.currentTarget.value}_emitClose(){this.arcgisClose.emit()}_backToTop(){this._flowItemRenderers=[]}_emitItemSelected(e,t){if(t.nonInteractive)return;let s=e;(!s.key||s.key==="Enter")&&(e.preventDefault(),this.arcgisItemSelected.emit(t.snippet))}_showCollectionPanel(e,t){e.stopPropagation(),this.addPanelRenderer(s=>this.renderCollectionBasedVariable(t,!1,s))}_getHeadingForCollection(e){if(!e)return"";switch(this._mode){case"profile":return this.messages.profilevariables??"";case"featureSet":return this.messages.fields??""}}_getDescriptionForCollection(e){if(!e)return"";switch(this._mode){case"profile":return e.breadcrumb;case"featureSet":return e.variables[0]?.getLabel()??""}}renderCollectionBasedVariable(e,t=!1,s=!1){if(!e)return null;let r=this.loading;return!r&&!e.loaded&&(e.loadSource().then(()=>setTimeout(()=>{this._mutationCounter+=1})).catch(()=>{console.error("Error loading collection"),r=!1}),r=!0),i`<calcite-flow-item .heading=${this._getHeadingForCollection(e)} .description=${this._getDescriptionForCollection(e)} .beforeBack=${this._beforeBack} closable @calciteFlowItemClose=${this._emitClose} .selected=${s}><calcite-action slot=header-actions-end .text=${this.messages.backtotop??""} scale=m .hidden=${t||this._isMode("featureSet")} icon=chevrons-left icon-flip-rtl @click=${this._backToTop}></calcite-action><calcite-input .value=${this._filterValue} icon=magnifying-glass clearable @calciteInputInput=${this._updateFilterValue} class="sticky" scale=m></calcite-input>${r?i`<calcite-loader scale=s type=indeterminate .label=${this.messages.loading??""}></calcite-loader>`:i`<calcite-list label=variables>${this.renderEditorVariables(e)}</calcite-list>`}</calcite-flow-item>`}renderEditorVariables(e){let t=n(this._filterValue),s=e.variables.filter(r=>r.passFilter(t));return s.length?s.map(r=>this.renderEditorVariable(r)):i`<div class="notice-container">${this.messages.noitems}</div>`}renderEditorVariable(e){switch(e.type){case"group":return this._isMode("featureSet")&&e.isHeader?i`<calcite-list-item-group .heading=${e.getLabel()}></calcite-list-item-group>`:this._isMode("featureSet")&&e._label?.code==="fields"?this.renderEditorVariables(e):i`<calcite-list-item-group .heading=${e.getLabel()}>${this.renderEditorVariables(e)}</calcite-list-item-group>`;default:return i`<calcite-list-item .label=${e.getLabel()} .description=${e.getDescription()} @calciteListItemSelect=${t=>this._emitItemSelected(t,e)} @keydown=${t=>this._emitItemSelected(t,e)}>${e.isCollection?i`<calcite-action slot=actions-end .text=${this.messages.expand??""} scale=s icon=chevron-right icon-flip-rtl @click=${t=>this._showCollectionPanel(t,e)} @keydown=${b}></calcite-action>`:null}${e.icon?i`<calcite-icon .icon=${e.icon} scale=s slot=content-start></calcite-icon>`:null}</calcite-list-item>`}}render(){return!this.loading&&this.variable?.loaded&&!this.variable?.variables.length?i`<calcite-flow><calcite-flow-item .heading=${this.messages.profilevariables} closable @calciteFlowItemClose=${this._emitClose}><div class="notice-container">${this.messages.noprofilevariablesmessage}</div></calcite-flow-item></calcite-flow>`:i`<calcite-flow ${f(this.flowFocusHandler)}>${this.renderCollectionBasedVariable(this.variable,!0,this._flowItemRenderers.length===0)}${this._flowItemRenderers.map((e,t,s)=>e(t===s.length-1))}</calcite-flow>`}};m("arcgis-editor-variables",o);export{o as ArcgisEditorVariables};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.37 */
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.36 */
4
- import{a as T,b as M,c as j,d as m,e as A,f as F,g as $}from"./BHRY23FF.js";import{c as f,d,e as l}from"./L6IUBABC.js";import{f as v}from"./3DVYQZHQ.js";import{x as u}from"./BRKLT6N4.js";import{i as h,j as g,w as k,x}from"./6PPFLJSG.js";function L(){return!!window.MonacoEnvironment?.getWorkerUrl}var V=new Map;function G(e){L()||(window.MonacoEnvironment={getWorker:async(n,t)=>{let a=V.get(t)??`${e}/code-editor/editor.worker.js`;switch(t){case"json":a=`${e}/code-editor/json.worker.js`;break;case"css":a=`${e}/code-editor/css.worker.js`;break;case"html":a=`${e}/code-editor/html.worker.js`;break;case"typescript":case"javascript":a=`${e}/code-editor/ts.worker.js`;break;case"arcade":a=`${e}/code-editor/arcade.worker.js`;break;case"arcgis-sql-expression":a=`${e}/code-editor/sql-expr.worker.js`;break}if(!x(a)||k(a,globalThis.location.href,!0))return new Worker(a,{name:t});let r=await(await v())(a,{responseType:"text"});return new Worker(URL.createObjectURL(new Blob([r.data],{type:"text/javascript"})))}})}async function z(){return(await E()).getArcadeDiagnosticService()}async function E(){return await import("./HAIXUB63.js")}async function D(e){let{apiVersion:n,bundles:t,hiddenApiItems:a}=e.toEditorProfileDefinition(),r=await P(e.dictionaryVariables);return{apiVersion:n,bundles:t,variables:r,hiddenApiItems:a?.map(i=>i.toLowerCase())}}async function P(e,n=f.Variable){return await Promise.all(e.map(async t=>{switch(t.type){case"dictionary":return await R(t,n);case"feature":return await C(t,n);default:return S(t,n)}}))}function S(e,n){let{name:t,type:a}=e,r=e.getDescription();return{name:t,description:r,type:a,completion:{label:t,detail:t,insertText:t,insertTextMode:l.asIs,insertTextFormat:d.PlainText,kind:n,documentation:{kind:"markdown",value:r}}}}async function C(e,n){let t=await e.loadSource(),{name:a}=e,r=e.getDescription(),i={label:a,detail:a,insertText:a,insertTextMode:l.asIs,insertTextFormat:d.PlainText,kind:n},s={name:a,description:r,type:"dictionary",properties:[],completion:i};if(!t)return s;let[o,c]=A(t.fields,r,!0);return s.properties=o,i.documentation={kind:"markdown",value:c},s}async function R(e,n){let{name:t,dictionaryVariables:a}=e,r=e.getDescription(),i=a.reduce((s,o)=>{s!==""&&(s+=`
3
+ v4.33.0-next.37 */
4
+ import{a as T,b as M,c as j,d as m,e as A,f as F,g as $}from"./MFO677BD.js";import{c as f,d,e as l}from"./GQD6AKT5.js";import{f as v}from"./Q4FOH55H.js";import{x as u}from"./4XWXKEEK.js";import{i as h,j as g,w as k,x}from"./DJ6EAXIJ.js";function L(){return!!window.MonacoEnvironment?.getWorkerUrl}var V=new Map;function G(e){L()||(window.MonacoEnvironment={getWorker:async(n,t)=>{let a=V.get(t)??`${e}/code-editor/editor.worker.js`;switch(t){case"json":a=`${e}/code-editor/json.worker.js`;break;case"css":a=`${e}/code-editor/css.worker.js`;break;case"html":a=`${e}/code-editor/html.worker.js`;break;case"typescript":case"javascript":a=`${e}/code-editor/ts.worker.js`;break;case"arcade":a=`${e}/code-editor/arcade.worker.js`;break;case"arcgis-sql-expression":a=`${e}/code-editor/sql-expr.worker.js`;break}if(!x(a)||k(a,globalThis.location.href,!0))return new Worker(a,{name:t});let r=await(await v())(a,{responseType:"text"});return new Worker(URL.createObjectURL(new Blob([r.data],{type:"text/javascript"})))}})}async function z(){return(await E()).getArcadeDiagnosticService()}async function E(){return await import("./MTFRRTTG.js")}async function D(e){let{apiVersion:n,bundles:t,hiddenApiItems:a}=e.toEditorProfileDefinition(),r=await P(e.dictionaryVariables);return{apiVersion:n,bundles:t,variables:r,hiddenApiItems:a?.map(i=>i.toLowerCase())}}async function P(e,n=f.Variable){return await Promise.all(e.map(async t=>{switch(t.type){case"dictionary":return await R(t,n);case"feature":return await C(t,n);default:return S(t,n)}}))}function S(e,n){let{name:t,type:a}=e,r=e.getDescription();return{name:t,description:r,type:a,completion:{label:t,detail:t,insertText:t,insertTextMode:l.asIs,insertTextFormat:d.PlainText,kind:n,documentation:{kind:"markdown",value:r}}}}async function C(e,n){let t=await e.loadSource(),{name:a}=e,r=e.getDescription(),i={label:a,detail:a,insertText:a,insertTextMode:l.asIs,insertTextFormat:d.PlainText,kind:n},s={name:a,description:r,type:"dictionary",properties:[],completion:i};if(!t)return s;let[o,c]=A(t.fields,r,!0);return s.properties=o,i.documentation={kind:"markdown",value:c},s}async function R(e,n){let{name:t,dictionaryVariables:a}=e,r=e.getDescription(),i=a.reduce((s,o)=>{s!==""&&(s+=`
5
5
 
6
6
  `),s+=`**${o.name}**
7
7
  ${o.type}`;let c=o.getDescription();return c&&(s+=`
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.37 */
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.36 */
4
- import{d as o,x as r}from"./BRKLT6N4.js";var s=o(r);export{s as a};
3
+ v4.33.0-next.37 */
4
+ import{d as o,x as r}from"./4XWXKEEK.js";var s=o(r);export{s as a};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.37 */
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.36 */
4
- import{a as e,v as i}from"./BRKLT6N4.js";import"./6PPFLJSG.js";import"./TK2BS2RU.js";var o=e(i,{"arcgis-arcade-editor":[()=>import("./PIZELUWE.js"),"customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./2PSCGKNN.js"),"consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./T6UPNZKZ.js"),"suggestions:"],"arcgis-code-editor":[()=>import("./QYGEEXQM.js"),"editorInstance:,editorOptions:,language,modelId,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-editor-variables":[()=>import("./RCUJGB6F.js"),"loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./LXCJDCWB.js"),"apiLibrary:,hideDocumentationActions,loading"],"arcgis-sql-expression-editor":[()=>import("./MPMJT5FH.js"),"hideSideBar,profile:,script"],"arcgis-sql-expression-fields":[()=>import("./BHARKG7U.js"),"loading,modelId"]});var r=new CSSStyleSheet;r.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-sql-expression-editor){visibility:hidden}:root{--arcgis-coding-components-border: 1px solid var(--calcite-color-border-3);--arcgis-coding-components-background-color: var(--calcite-color-foreground-1);--arcgis-coding-components-side-action-bar-max-w: 25%;--arcgis-coding-components-side-panel-w: 600px;--arcgis-coding-components-side-panel-max-w: 45%;--arcgis-editor-comment: #606060;--arcgis-editor-constant: #9809C8;--arcgis-editor-date: #296389;--arcgis-editor-identifier: #0000B3;--arcgis-editor-keyword: #BF4900;--arcgis-editor-number: #136D3D;--arcgis-editor-string: #A31515}.calcite-mode-dark{--arcgis-editor-comment: #BFBFBF;--arcgis-editor-constant: #CDBAEA;--arcgis-editor-date: #97A6CE;--arcgis-editor-identifier: #9FD4F3;--arcgis-editor-keyword: #EEAA5A;--arcgis-editor-number: #AAD04B;--arcgis-editor-string: #F2877B}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,r];o({resourcesUrl:import.meta.url});{window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{},});var a=$arcgis;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)}
3
+ v4.33.0-next.37 */
4
+ import{a as e,v as i}from"./4XWXKEEK.js";import"./DJ6EAXIJ.js";import"./O3L6OGOK.js";var o=e(i,{"arcgis-arcade-editor":[()=>import("./6VGAI2J6.js"),"customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./EGTYKMMY.js"),"consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./PZIR7K4T.js"),"suggestions:"],"arcgis-code-editor":[()=>import("./TGW2HCWG.js"),"editorInstance:,editorOptions:,language,modelId,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-editor-variables":[()=>import("./VFVKSNLC.js"),"loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./M22IDA5V.js"),"apiLibrary:,hideDocumentationActions,loading"],"arcgis-sql-expression-editor":[()=>import("./K7NQVVBP.js"),"hideSideBar,profile:,script"],"arcgis-sql-expression-fields":[()=>import("./JSVQVPUT.js"),"loading,modelId"]});var r=new CSSStyleSheet;r.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-sql-expression-editor){visibility:hidden}:root{--arcgis-coding-components-border: 1px solid var(--calcite-color-border-3);--arcgis-coding-components-background-color: var(--calcite-color-foreground-1);--arcgis-coding-components-side-action-bar-max-w: 25%;--arcgis-coding-components-side-panel-w: 600px;--arcgis-coding-components-side-panel-max-w: 45%;--arcgis-editor-comment: #606060;--arcgis-editor-constant: #9809C8;--arcgis-editor-date: #296389;--arcgis-editor-identifier: #0000B3;--arcgis-editor-keyword: #BF4900;--arcgis-editor-number: #136D3D;--arcgis-editor-string: #A31515}.calcite-mode-dark{--arcgis-editor-comment: #BFBFBF;--arcgis-editor-constant: #CDBAEA;--arcgis-editor-date: #97A6CE;--arcgis-editor-identifier: #9FD4F3;--arcgis-editor-keyword: #EEAA5A;--arcgis-editor-number: #AAD04B;--arcgis-editor-string: #F2877B}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,r];o({resourcesUrl:import.meta.url});{window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{},});var a=$arcgis;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)}
@@ -1,3 +1,3 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.36 */
3
+ v4.33.0-next.37 */