@arcgis/coding-components 4.33.0-next.29 → 4.33.0-next.30
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/4N7OWSFQ.js +5 -0
- package/dist/arcgis-coding-components/{AI7QWT6L.js.LEGAL.txt → 4N7OWSFQ.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{X6O3D55M.js → 54FPC5Q5.js} +3 -3
- package/dist/arcgis-coding-components/{X6O3D55M.js.LEGAL.txt → 54FPC5Q5.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{5UNVW6KA.js → 5OHXUMXA.js} +2 -2
- package/dist/arcgis-coding-components/{6XLH6NDB.js → 64NYXQKG.js} +2 -2
- package/dist/arcgis-coding-components/{5O4HWCUE.js → 76TKQ67O.js} +2 -2
- package/dist/arcgis-coding-components/{CEESAKH4.js → A62YHRRO.js} +2 -2
- package/dist/arcgis-coding-components/C5IV3ZVE.js +5 -0
- package/dist/arcgis-coding-components/{3IZ3PMAK.js.LEGAL.txt → C5IV3ZVE.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{TSNSFLC6.js → CR5K3XRR.js} +2 -2
- package/dist/arcgis-coding-components/{DWOEHLBC.js → EXKNCQ7Q.js} +4 -3
- package/dist/arcgis-coding-components/{BII5CT64.js.LEGAL.txt → EXKNCQ7Q.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/FCSXY2B5.js +5 -0
- package/dist/arcgis-coding-components/{DWOEHLBC.js.LEGAL.txt → FCSXY2B5.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/FITAOK4U.js +6 -0
- package/dist/arcgis-coding-components/{GROJ2HIB.js.LEGAL.txt → FITAOK4U.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{7H3OBYMD.js → FT2RUMBD.js} +2 -2
- package/dist/arcgis-coding-components/{QVOEJFFM.js → FVGXHHEH.js} +4 -3
- package/dist/arcgis-coding-components/FVGXHHEH.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/G27UAV35.js +5 -0
- package/dist/arcgis-coding-components/G27UAV35.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{C4FGT5QI.js → JS2H46IP.js} +2 -2
- package/dist/arcgis-coding-components/{SM2CVO4P.js → JVETMLIV.js} +2 -2
- package/dist/arcgis-coding-components/JVETMLIV.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/L5LKTG2H.js +5 -0
- package/dist/arcgis-coding-components/{YH2AI2RT.js.LEGAL.txt → L5LKTG2H.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{72DTEQPM.js → LMK357TA.js} +2 -2
- package/dist/arcgis-coding-components/{H4MUHXWF.js → MCBC763P.js} +1 -1
- package/dist/arcgis-coding-components/MCBC763P.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/NFB4R6RL.js +5 -0
- package/dist/arcgis-coding-components/NFB4R6RL.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{F2VH67SP.js → NIF6U7LC.js} +1 -1
- package/dist/arcgis-coding-components/{WP726XPF.js → PPQKECBO.js} +2 -2
- package/dist/arcgis-coding-components/{WNZRM657.js → PWQMNBQW.js} +2 -2
- package/dist/arcgis-coding-components/PWQMNBQW.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{TLC2P7FR.js → QNG7OCMY.js} +1 -1
- package/dist/arcgis-coding-components/{MW2JB62Z.js → RANWV74F.js} +1 -1
- package/dist/arcgis-coding-components/{UGFULLHX.js → RHDHAEVI.js} +2 -2
- package/dist/arcgis-coding-components/{NMPZPXPE.js → S5LM57F7.js} +4 -3
- package/dist/arcgis-coding-components/S5LM57F7.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{MQJYV4X4.js → S7MQMVJX.js} +2 -2
- package/dist/arcgis-coding-components/S7MQMVJX.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{GK4LPDAS.js → SKE2OJM4.js} +2 -2
- package/dist/arcgis-coding-components/SKE2OJM4.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{QWZRMDVA.js → VDW4PYLY.js} +2 -2
- package/dist/arcgis-coding-components/VKVVXU3V.js +5 -0
- package/dist/arcgis-coding-components/VKVVXU3V.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{BBGR5LPU.js → VLASFTFI.js} +2 -2
- package/dist/arcgis-coding-components/{3IZ3PMAK.js → XJLPZXJF.js} +2 -2
- package/dist/arcgis-coding-components/XJLPZXJF.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{DSL44XBG.js → XP2ZBTA5.js} +2 -2
- package/dist/arcgis-coding-components/{N66HLJIN.js → YGUWTS63.js} +2 -2
- package/dist/arcgis-coding-components/YGUWTS63.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js.LEGAL.txt +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +431 -467
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +7 -7
- package/dist/arcgis-coding-components/AI7QWT6L.js +0 -4
- package/dist/arcgis-coding-components/BII5CT64.js +0 -4
- package/dist/arcgis-coding-components/GK4LPDAS.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/GROJ2HIB.js +0 -6
- package/dist/arcgis-coding-components/H4MUHXWF.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/MQJYV4X4.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/N66HLJIN.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/NMPZPXPE.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/NQJ7VA4Q.js +0 -4
- package/dist/arcgis-coding-components/NQJ7VA4Q.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/PSU6P4CJ.js +0 -4
- package/dist/arcgis-coding-components/PSU6P4CJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/QVOEJFFM.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/RGYOS73Z.js +0 -4
- package/dist/arcgis-coding-components/RGYOS73Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/SM2CVO4P.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/TZWJAZKO.js +0 -4
- package/dist/arcgis-coding-components/TZWJAZKO.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/WNZRM657.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/YH2AI2RT.js +0 -4
- /package/dist/arcgis-coding-components/{5UNVW6KA.js.LEGAL.txt → 5OHXUMXA.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{6XLH6NDB.js.LEGAL.txt → 64NYXQKG.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{5O4HWCUE.js.LEGAL.txt → 76TKQ67O.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{CEESAKH4.js.LEGAL.txt → A62YHRRO.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{TSNSFLC6.js.LEGAL.txt → CR5K3XRR.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{7H3OBYMD.js.LEGAL.txt → FT2RUMBD.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{C4FGT5QI.js.LEGAL.txt → JS2H46IP.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{72DTEQPM.js.LEGAL.txt → LMK357TA.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{F2VH67SP.js.LEGAL.txt → NIF6U7LC.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{WP726XPF.js.LEGAL.txt → PPQKECBO.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{MW2JB62Z.js.LEGAL.txt → QNG7OCMY.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{TLC2P7FR.js.LEGAL.txt → RANWV74F.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{UGFULLHX.js.LEGAL.txt → RHDHAEVI.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{QWZRMDVA.js.LEGAL.txt → VDW4PYLY.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{BBGR5LPU.js.LEGAL.txt → VLASFTFI.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{DSL44XBG.js.LEGAL.txt → XP2ZBTA5.js.LEGAL.txt} +0 -0
|
@@ -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.
|
|
4
|
-
import{Tl as o}from"./
|
|
3
|
+
v4.33.0-next.30 */
|
|
4
|
+
import{Tl as o}from"./FT2RUMBD.js";var d=Object.defineProperty,O=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,y=Object.prototype.hasOwnProperty,h=(e,i,t,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let r of m(i))!y.call(e,r)&&r!==t&&d(e,r,{get:()=>i[r],enumerable:!(s=O(i,r))||s.enumerable});return e},E=(e,i,t)=>(h(e,i,"default"),t&&h(t,i,"default")),L="5.4.5",n={};E(n,o);var u=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext",e))(u||{}),l=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(l||{}),_=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(_||{}),c=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(c||{}),g=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e))(g||{}),p=class{constructor(e,i,t,s,r){this._onDidChange=new n.Emitter,this._onDidExtraLibsChange=new n.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(i),this.setWorkerOptions(t),this.setInlayHintsOptions(s),this.setModeConfiguration(r),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,i){let t;if(typeof i>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=i,this._extraLibs[t]&&this._extraLibs[t].content===e)return{dispose:()=>{}};let s=1;return this._removedExtraLibs[t]&&(s=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(s=this._extraLibs[t].version+1),this._extraLibs[t]={content:e,version:s},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let r=this._extraLibs[t];r&&r.version===s&&(delete this._extraLibs[t],this._removedExtraLibs[t]=s,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let i in this._extraLibs)this._removedExtraLibs[i]=this._extraLibs[i].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let i of e){let t=i.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,s=i.content,r=1;this._removedExtraLibs[t]&&(r=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:s,version:r}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},x=L,b={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},v=new p({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},b),f=new p({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},b),C=()=>a().then(e=>e.getTypeScriptWorker()),D=()=>a().then(e=>e.getJavaScriptWorker());n.languages.typescript={ModuleKind:u,JsxEmit:l,NewLineKind:_,ScriptTarget:c,ModuleResolutionKind:g,typescriptVersion:x,typescriptDefaults:v,javascriptDefaults:f,getTypeScriptWorker:C,getJavaScriptWorker:D};function a(){return import("./64NYXQKG.js")}n.languages.onLanguage("typescript",()=>a().then(e=>e.setupTypeScript(v)));n.languages.onLanguage("javascript",()=>a().then(e=>e.setupJavaScript(f)));export{v as a};
|
|
@@ -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.
|
|
4
|
-
import{b as f}from"./
|
|
3
|
+
v4.33.0-next.30 */
|
|
4
|
+
import{b as f}from"./5OHXUMXA.js";import{a as u}from"./JVETMLIV.js";import{e as d,f as i,r as a,s as h,w as m}from"./FITAOK4U.js";import{e as c,o as n}from"./QNG7OCMY.js";import"./RANWV74F.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};
|
|
@@ -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.
|
|
3
|
+
v4.33.0-next.30 */
|
|
4
4
|
var I=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function T(e,t){let n=e;for(;n;){if(n===t)return!0;if(!n.parentNode)return!1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode}return!1}function y(e,t,n){let{subscribe:r}=$(t);return r(o=>{o.some(s=>T(e,s.target))&&n()})}var h={};function $(e){let t=e.join(","),n=h[t];if(n!==void 0)return n;let r=new Set,o=new MutationObserver(s=>r.forEach(a=>a(s)));globalThis.document&&o.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let i={subscribe(s){return r.add(s),()=>{r.delete(s),r.size===0&&(o.disconnect(),h[t]=void 0)}}};return h[t]=i,i}function b(e,t){let n=e;for(;n;){let r=n.closest?.(t);if(r)return r;let o=n.getRootNode?.();if(o===globalThis.document)return null;n=o.host}return null}function U(e){return b(e,":is(.calcite-mode-light, .calcite-mode-dark)")?.classList.contains("calcite-mode-dark")?"dark":"light"}function A(e,t,n){return b(e,`[${t}]`)?.getAttribute(t)??n}function N(e){return e.nodeType===Node.ELEMENT_NODE}function E(e){return typeof e.setFocus=="function"}function l(e,t=""){if(!N(e))return!1;if(e.matches(t))return E(e)&&setTimeout(()=>void e.setFocus(),0),!0;for(let r of e.children)if(l(r,t))return!0;let n=e.shadowRoot;if(n){for(let r of n.children)if(l(r,t))return!0}return!1}async function M(e){e!=null&&(E(e)?await e.setFocus():e.focus())}function V(e,t){if(e?.shadowRoot){if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){l(e,t);return}Promise.resolve(e.componentOnReady?.()).then(()=>l(e,t))}}function _(e,t,...n){try{return e?.call(t,...n)}catch(r){console.error(r,e)}}async function q(e,t,...n){try{let r=e?.call(t,...n);return r instanceof Promise?await r:r}catch(r){console.error(r,e)}}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function B(){return[c(2),c(1),c(1),c(1),c(3)].join("-")}var S=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],j=new Set(S),u="en",C={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function R(e,t,n=""){let r=`${t}/${n}`,o=`${r}${e}.json`;return p[o]??(p[o]=w(e,r)),await p[o]}var p={};async function w(e,t){let n=`${t}${e}.json`;try{let r=await fetch(n);if(r.ok)return await r.json()}catch(r){return console.error(r),{}}return e===u?{}:await w(u,t)}function z(e){let t=A(e,"lang",globalThis.navigator?.language||u);return{lang:t,t9nLocale:L(t)}}function L(e){let[t,n]=e.split("-"),r=t.toLowerCase(),o=r;return n&&(o=`${r}-${n.toUpperCase()}`),o=C[o]??o,j.has(o)?o:n?L(r):u}function D(e,t,n,r){let o,i=()=>void O(e,t(),r).then(s=>{(o?.lang!==s.lang||o.t9nLocale!==s.t9nLocale||o.t9nStrings!==s.t9nStrings)&&n(s),o=s}).catch(console.error);return queueMicrotask(i),y(e,["lang"],i)}async function O(e,t,n=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:r,t9nLocale:o}=z(e),i=`${t}/${n}/t9n`,a=n===null?{}:await R(o,i,"messages.");return{lang:r,t9nLocale:o,t9nStrings:a}}var g='"',v="'";function m(e,t){return new Array(t+1).join(e)}function Q(e){let t=g,n=v;e.includes(t)&&!e.includes(n)&&(n=g,t=v);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(s,a,f,d)=>a+f+m(n,d.length/2));let i=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(i,(s,a,f,d)=>a+f+m(`\\${t}`,d.length)),t+e+t}function H(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function K(e,t={}){return(e??"").replace(/\{(?<valueName>.*?)\}/gu,(n,r)=>t[r]??n)}function Z(e){return`\u200E${e??""}\u200E`}var G=e=>e.replace(P,(t,n)=>`${n===0?"":"-"}${t.toLowerCase()}`),P=/[A-Z]+(?![a-z])|[A-Z]/gu;function J(e,t){let n=t>k?x:t/F,r=0,o=setInterval(()=>{r+=n,r>=t&&(clearInterval(o),e())},n);return o}var k=4e3,x=2e3,F=4;function W(e){return e!==null}function X(e){return e!==void 0}function Y(e,t=100){let n;return(...r)=>{let o=()=>{clearTimeout(n),e(...r)};clearTimeout(n),n=setTimeout(o,t)}}function ee(e,t,n=!1){if(!e||!t)return!1;let r=new URL(e),o=new URL(t);return!n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function te(e){try{return new URL(e),!0}catch{return!1}}export{I as a,y as b,U as c,M as d,V as e,_ as f,q as g,B as h,j as i,R as j,z as k,L as l,D as m,Q as n,H as o,K as p,Z as q,G as r,J as s,W as t,X as u,Y as v,ee as w,te as x};
|
|
@@ -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.
|
|
3
|
+
v4.33.0-next.30 */
|
|
4
4
|
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(a&&(b=a(a=0)),b);var o=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),p=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var q=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d,q as e};
|
|
@@ -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.
|
|
4
|
-
import{Fl as a,Gl as b,Hl as c,Il as d,Jl as e,Kl as f,Ll as g,Ml as h,Nl as i,Ol as j,Pl as k,Ql as l,Rl as m,Sl as n}from"./
|
|
3
|
+
v4.33.0-next.30 */
|
|
4
|
+
import{Fl as a,Gl as b,Hl as c,Il as d,Jl as e,Kl as f,Ll as g,Ml as h,Nl as i,Ol as j,Pl as k,Ql as l,Rl as m,Sl as n}from"./FT2RUMBD.js";import"./RANWV74F.js";export{a as CancellationTokenSource,b as Emitter,c as KeyCode,d as KeyMod,i as MarkerSeverity,j as MarkerTag,e as Position,f as Range,g as Selection,h as SelectionDirection,l as Token,k as Uri,m as editor,n as languages};
|