@arcgis/coding-components 4.33.0-next.81 → 4.33.0-next.82
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/{JRRSTBDR.js → 35YNIXRE.js} +2 -2
- package/dist/arcgis-coding-components/{GCMAQPHM.js → 3HUAIWA7.js} +2 -2
- package/dist/arcgis-coding-components/{YA7JSOJA.js → 5GFIUWH6.js} +2 -2
- package/dist/arcgis-coding-components/{4N5J7654.js.LEGAL.txt → 5GFIUWH6.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{G6PIMIDD.js → 6MGMZ7YB.js} +2 -2
- package/dist/arcgis-coding-components/72NPZHUI.js +4 -0
- package/dist/arcgis-coding-components/{5MHHZGI6.js → ACLRBI5Q.js} +2 -2
- package/dist/arcgis-coding-components/{6MQJA2KW.js.LEGAL.txt → ACLRBI5Q.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{C5VHELR7.js → B65C6KUP.js} +2 -2
- package/dist/arcgis-coding-components/{5MHHZGI6.js.LEGAL.txt → B65C6KUP.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{3EIYBHLE.js → E4FG4T3G.js} +3 -3
- package/dist/arcgis-coding-components/{3EIYBHLE.js.LEGAL.txt → E4FG4T3G.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{ZLGEQA6G.js → FQ6A7KDL.js} +2 -2
- package/dist/arcgis-coding-components/{2WTNGJYN.js.LEGAL.txt → FQ6A7KDL.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{CFZJBND7.js → GUJP5LAH.js} +2 -2
- package/dist/arcgis-coding-components/{CPIBS55T.js → HAFM2QJK.js} +1 -1
- package/dist/arcgis-coding-components/{DWF4DJVL.js → IX3W2QKC.js} +2 -2
- package/dist/arcgis-coding-components/{BNOMZIJG.js → JM2OKZGS.js} +1 -1
- package/dist/arcgis-coding-components/{7I5EVDTM.js → JNLQSQCF.js} +2 -2
- package/dist/arcgis-coding-components/JNLQSQCF.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{MFRKNOMS.js → KTYLWXWT.js} +2 -2
- package/dist/arcgis-coding-components/{QSEACXGI.js → KUT6FUSI.js} +2 -2
- package/dist/arcgis-coding-components/KUT6FUSI.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{PQEJWMCD.js → MRRA4K2Q.js} +2 -2
- package/dist/arcgis-coding-components/{PQEJWMCD.js.LEGAL.txt → MRRA4K2Q.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{Q56RX42X.js → N5HZK64R.js} +2 -2
- package/dist/arcgis-coding-components/{6MQJA2KW.js → N7PM4XH6.js} +1 -1
- package/dist/arcgis-coding-components/N7PM4XH6.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{CJ3MLLO6.js → NZSJRMRV.js} +2 -2
- package/dist/arcgis-coding-components/{NTBOVU35.js → OI7LQRT5.js} +2 -2
- package/dist/arcgis-coding-components/OI7LQRT5.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{MHY4TOS3.js → PC3VZQP7.js} +2 -2
- package/dist/arcgis-coding-components/PC3VZQP7.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{AMKSNZV6.js → PEC5C7I6.js} +2 -2
- package/dist/arcgis-coding-components/{7VRHQI5Y.js → PXOBCWUJ.js} +2 -2
- package/dist/arcgis-coding-components/PXOBCWUJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{XN5JSZYO.js → QZLLOHKI.js} +2 -2
- package/dist/arcgis-coding-components/QZLLOHKI.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{2ACNU4JX.js → REYB5D3Z.js} +2 -2
- package/dist/arcgis-coding-components/{2WTNGJYN.js → SHERT3LT.js} +2 -2
- package/dist/arcgis-coding-components/SHERT3LT.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{3RJVTXY2.js → STQQZJK2.js} +2 -2
- package/dist/arcgis-coding-components/{FDEU7L7S.js → TRHDDNYE.js} +2 -2
- package/dist/arcgis-coding-components/TRHDDNYE.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{KLSS5AQN.js → WGOZ2IDX.js} +2 -2
- package/dist/arcgis-coding-components/WGOZ2IDX.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{4DVQXMXH.js → WPYCR7XQ.js} +1 -1
- package/dist/arcgis-coding-components/{PC4TN3JH.js → WWOFTFZC.js} +2 -2
- package/dist/arcgis-coding-components/{4N5J7654.js → X44YJSGU.js} +2 -2
- package/dist/arcgis-coding-components/X44YJSGU.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{UISVK44U.js → XQYA56Y7.js} +2 -2
- package/dist/arcgis-coding-components/XQYA56Y7.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{5H6GAT6P.js → ZGHW67G2.js} +2 -2
- package/dist/arcgis-coding-components/{5H6GAT6P.js.LEGAL.txt → ZGHW67G2.js.LEGAL.txt} +1 -1
- 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 +1 -1
- 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/7I5EVDTM.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/7VRHQI5Y.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/C5VHELR7.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/FDEU7L7S.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/KLSS5AQN.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/MHY4TOS3.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/NTBOVU35.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/QSEACXGI.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/R3SB2W6M.js +0 -4
- package/dist/arcgis-coding-components/UISVK44U.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/XN5JSZYO.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/YA7JSOJA.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/ZLGEQA6G.js.LEGAL.txt +0 -3
- /package/dist/arcgis-coding-components/{JRRSTBDR.js.LEGAL.txt → 35YNIXRE.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{GCMAQPHM.js.LEGAL.txt → 3HUAIWA7.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{4DVQXMXH.js.LEGAL.txt → 6MGMZ7YB.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{BNOMZIJG.js.LEGAL.txt → 72NPZHUI.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{CFZJBND7.js.LEGAL.txt → GUJP5LAH.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{CPIBS55T.js.LEGAL.txt → HAFM2QJK.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{DWF4DJVL.js.LEGAL.txt → IX3W2QKC.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{G6PIMIDD.js.LEGAL.txt → JM2OKZGS.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{MFRKNOMS.js.LEGAL.txt → KTYLWXWT.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{Q56RX42X.js.LEGAL.txt → N5HZK64R.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{CJ3MLLO6.js.LEGAL.txt → NZSJRMRV.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{AMKSNZV6.js.LEGAL.txt → PEC5C7I6.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{2ACNU4JX.js.LEGAL.txt → REYB5D3Z.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{3RJVTXY2.js.LEGAL.txt → STQQZJK2.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{R3SB2W6M.js.LEGAL.txt → WPYCR7XQ.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{PC4TN3JH.js.LEGAL.txt → WWOFTFZC.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.
|
|
3
|
+
v4.33.0-next.82 */
|
|
4
4
|
var B;(function(t){function i(r){return typeof r=="string"}t.is=i})(B||(B={}));var D;(function(t){function i(r){return typeof r=="string"}t.is=i})(D||(D={}));var H;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function i(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}t.is=i})(H||(H={}));var E;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function i(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}t.is=i})(E||(E={}));var x;(function(t){function i(n,e){return n===Number.MAX_VALUE&&(n=E.MAX_VALUE),e===Number.MAX_VALUE&&(e=E.MAX_VALUE),{line:n,character:e}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.uinteger(e.line)&&a.uinteger(e.character)}t.is=r})(x||(x={}));var l;(function(t){function i(n,e,s,o){if(a.uinteger(n)&&a.uinteger(e)&&a.uinteger(s)&&a.uinteger(o))return{start:x.create(n,e),end:x.create(s,o)};if(x.is(n)&&x.is(e))return{start:n,end:e};throw new Error(`Range#create called with invalid arguments[${n}, ${e}, ${s}, ${o}]`)}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&x.is(e.start)&&x.is(e.end)}t.is=r})(l||(l={}));var L;(function(t){function i(n,e){return{uri:n,range:e}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&l.is(e.range)&&(a.string(e.uri)||a.undefined(e.uri))}t.is=r})(L||(L={}));var Q;(function(t){function i(n,e,s,o){return{targetUri:n,targetRange:e,targetSelectionRange:s,originSelectionRange:o}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&l.is(e.targetRange)&&a.string(e.targetUri)&&l.is(e.targetSelectionRange)&&(l.is(e.originSelectionRange)||a.undefined(e.originSelectionRange))}t.is=r})(Q||(Q={}));var P;(function(t){function i(n,e,s,o){return{red:n,green:e,blue:s,alpha:o}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.numberRange(e.red,0,1)&&a.numberRange(e.green,0,1)&&a.numberRange(e.blue,0,1)&&a.numberRange(e.alpha,0,1)}t.is=r})(P||(P={}));var G;(function(t){function i(n,e){return{range:n,color:e}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&l.is(e.range)&&P.is(e.color)}t.is=r})(G||(G={}));var J;(function(t){function i(n,e,s){return{label:n,textEdit:e,additionalTextEdits:s}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.string(e.label)&&(a.undefined(e.textEdit)||m.is(e))&&(a.undefined(e.additionalTextEdits)||a.typedArray(e.additionalTextEdits,m.is))}t.is=r})(J||(J={}));var Y;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Y||(Y={}));var Z;(function(t){function i(n,e,s,o,c,f){let u={startLine:n,endLine:e};return a.defined(s)&&(u.startCharacter=s),a.defined(o)&&(u.endCharacter=o),a.defined(c)&&(u.kind=c),a.defined(f)&&(u.collapsedText=f),u}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.uinteger(e.startLine)&&a.uinteger(e.startLine)&&(a.undefined(e.startCharacter)||a.uinteger(e.startCharacter))&&(a.undefined(e.endCharacter)||a.uinteger(e.endCharacter))&&(a.undefined(e.kind)||a.string(e.kind))}t.is=r})(Z||(Z={}));var R;(function(t){function i(n,e){return{location:n,message:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&L.is(e.location)&&a.string(e.message)}t.is=r})(R||(R={}));var S;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(S||(S={}));var T;(function(t){t.Unnecessary=1,t.Deprecated=2})(T||(T={}));var K;(function(t){function i(r){let n=r;return a.objectLiteral(n)&&a.string(n.href)}t.is=i})(K||(K={}));var y;(function(t){function i(n,e,s,o,c,f){let u={range:n,message:e};return a.defined(s)&&(u.severity=s),a.defined(o)&&(u.code=o),a.defined(c)&&(u.source=c),a.defined(f)&&(u.relatedInformation=f),u}t.create=i;function r(n){var e;let s=n;return a.defined(s)&&l.is(s.range)&&a.string(s.message)&&(a.number(s.severity)||a.undefined(s.severity))&&(a.integer(s.code)||a.string(s.code)||a.undefined(s.code))&&(a.undefined(s.codeDescription)||a.string((e=s.codeDescription)===null||e===void 0?void 0:e.href))&&(a.string(s.source)||a.undefined(s.source))&&(a.undefined(s.relatedInformation)||a.typedArray(s.relatedInformation,R.is))}t.is=r})(y||(y={}));var v;(function(t){function i(n,e,...s){let o={title:n,command:e};return a.defined(s)&&s.length>0&&(o.arguments=s),o}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.title)&&a.string(e.command)}t.is=r})(v||(v={}));var m;(function(t){function i(s,o){return{range:s,newText:o}}t.replace=i;function r(s,o){return{range:{start:s,end:s},newText:o}}t.insert=r;function n(s){return{range:s,newText:""}}t.del=n;function e(s){let o=s;return a.objectLiteral(o)&&a.string(o.newText)&&l.is(o.range)}t.is=e})(m||(m={}));var V;(function(t){function i(n,e,s){let o={label:n};return e!==void 0&&(o.needsConfirmation=e),s!==void 0&&(o.description=s),o}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.string(e.label)&&(a.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(a.string(e.description)||e.description===void 0)}t.is=r})(V||(V={}));var b;(function(t){function i(r){let n=r;return a.string(n)}t.is=i})(b||(b={}));var ee;(function(t){function i(s,o,c){return{range:s,newText:o,annotationId:c}}t.replace=i;function r(s,o,c){return{range:{start:s,end:s},newText:o,annotationId:c}}t.insert=r;function n(s,o){return{range:s,newText:"",annotationId:o}}t.del=n;function e(s){let o=s;return m.is(o)&&(V.is(o.annotationId)||b.is(o.annotationId))}t.is=e})(ee||(ee={}));var k;(function(t){function i(n,e){return{textDocument:n,edits:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&W.is(e.textDocument)&&Array.isArray(e.edits)}t.is=r})(k||(k={}));var U;(function(t){function i(n,e,s){let o={kind:"create",uri:n};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(o.options=e),s!==void 0&&(o.annotationId=s),o}t.create=i;function r(n){let e=n;return e&&e.kind==="create"&&a.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||a.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||a.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||b.is(e.annotationId))}t.is=r})(U||(U={}));var F;(function(t){function i(n,e,s,o){let c={kind:"rename",oldUri:n,newUri:e};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(c.options=s),o!==void 0&&(c.annotationId=o),c}t.create=i;function r(n){let e=n;return e&&e.kind==="rename"&&a.string(e.oldUri)&&a.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||a.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||a.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||b.is(e.annotationId))}t.is=r})(F||(F={}));var $;(function(t){function i(n,e,s){let o={kind:"delete",uri:n};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(o.options=e),s!==void 0&&(o.annotationId=s),o}t.create=i;function r(n){let e=n;return e&&e.kind==="delete"&&a.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||a.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||a.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||b.is(e.annotationId))}t.is=r})($||($={}));var O;(function(t){function i(r){let n=r;return n&&(n.changes!==void 0||n.documentChanges!==void 0)&&(n.documentChanges===void 0||n.documentChanges.every(e=>a.string(e.kind)?U.is(e)||F.is(e)||$.is(e):k.is(e)))}t.is=i})(O||(O={}));var te;(function(t){function i(n){return{uri:n}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.uri)}t.is=r})(te||(te={}));var ne;(function(t){function i(n,e){return{uri:n,version:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.uri)&&a.integer(e.version)}t.is=r})(ne||(ne={}));var W;(function(t){function i(n,e){return{uri:n,version:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.uri)&&(e.version===null||a.integer(e.version))}t.is=r})(W||(W={}));var re;(function(t){function i(n,e,s,o){return{uri:n,languageId:e,version:s,text:o}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.uri)&&a.string(e.languageId)&&a.integer(e.version)&&a.string(e.text)}t.is=r})(re||(re={}));var _;(function(t){t.PlainText="plaintext",t.Markdown="markdown";function i(r){let n=r;return n===t.PlainText||n===t.Markdown}t.is=i})(_||(_={}));var A;(function(t){function i(r){let n=r;return a.objectLiteral(r)&&_.is(n.kind)&&a.string(n.value)}t.is=i})(A||(A={}));var w;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(w||(w={}));var I;(function(t){t.PlainText=1,t.Snippet=2})(I||(I={}));var ie;(function(t){t.Deprecated=1})(ie||(ie={}));var ae;(function(t){function i(n,e,s){return{newText:n,insert:e,replace:s}}t.create=i;function r(n){let e=n;return e&&a.string(e.newText)&&l.is(e.insert)&&l.is(e.replace)}t.is=r})(ae||(ae={}));var j;(function(t){t.asIs=1,t.adjustIndentation=2})(j||(j={}));var se;(function(t){function i(r){let n=r;return n&&(a.string(n.detail)||n.detail===void 0)&&(a.string(n.description)||n.description===void 0)}t.is=i})(se||(se={}));var oe;(function(t){function i(r){return{label:r}}t.create=i})(oe||(oe={}));var ce;(function(t){function i(r,n){return{items:r||[],isIncomplete:!!n}}t.create=i})(ce||(ce={}));var C;(function(t){function i(n){return n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=i;function r(n){let e=n;return a.string(e)||a.objectLiteral(e)&&a.string(e.language)&&a.string(e.value)}t.is=r})(C||(C={}));var ue;(function(t){function i(r){let n=r;return!!n&&a.objectLiteral(n)&&(A.is(n.contents)||C.is(n.contents)||a.typedArray(n.contents,C.is))&&(r.range===void 0||l.is(r.range))}t.is=i})(ue||(ue={}));var de;(function(t){function i(r,n){return n?{label:r,documentation:n}:{label:r}}t.create=i})(de||(de={}));var fe;(function(t){function i(r,n,...e){let s={label:r};return a.defined(n)&&(s.documentation=n),a.defined(e)?s.parameters=e:s.parameters=[],s}t.create=i})(fe||(fe={}));var le;(function(t){t.Text=1,t.Read=2,t.Write=3})(le||(le={}));var ge;(function(t){function i(r,n){let e={range:r};return a.number(n)&&(e.kind=n),e}t.create=i})(ge||(ge={}));var he;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(he||(he={}));var pe;(function(t){t.Deprecated=1})(pe||(pe={}));var xe;(function(t){function i(r,n,e,s,o){let c={name:r,kind:n,location:{uri:s,range:e}};return o&&(c.containerName=o),c}t.create=i})(xe||(xe={}));var ve;(function(t){function i(r,n,e,s){return s!==void 0?{name:r,kind:n,location:{uri:e,range:s}}:{name:r,kind:n,location:{uri:e}}}t.create=i})(ve||(ve={}));var me;(function(t){function i(n,e,s,o,c,f){let u={name:n,detail:e,kind:s,range:o,selectionRange:c};return f!==void 0&&(u.children=f),u}t.create=i;function r(n){let e=n;return e&&a.string(e.name)&&a.number(e.kind)&&l.is(e.range)&&l.is(e.selectionRange)&&(e.detail===void 0||a.string(e.detail))&&(e.deprecated===void 0||a.boolean(e.deprecated))&&(e.children===void 0||Array.isArray(e.children))&&(e.tags===void 0||Array.isArray(e.tags))}t.is=r})(me||(me={}));var be;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(be||(be={}));var M;(function(t){t.Invoked=1,t.Automatic=2})(M||(M={}));var _e;(function(t){function i(n,e,s){let o={diagnostics:n};return e!=null&&(o.only=e),s!=null&&(o.triggerKind=s),o}t.create=i;function r(n){let e=n;return a.defined(e)&&a.typedArray(e.diagnostics,y.is)&&(e.only===void 0||a.typedArray(e.only,a.string))&&(e.triggerKind===void 0||e.triggerKind===M.Invoked||e.triggerKind===M.Automatic)}t.is=r})(_e||(_e={}));var Ae;(function(t){function i(n,e,s){let o={title:n},c=!0;return typeof e=="string"?(c=!1,o.kind=e):v.is(e)?o.command=e:o.edit=e,c&&s!==void 0&&(o.kind=s),o}t.create=i;function r(n){let e=n;return e&&a.string(e.title)&&(e.diagnostics===void 0||a.typedArray(e.diagnostics,y.is))&&(e.kind===void 0||a.string(e.kind))&&(e.edit!==void 0||e.command!==void 0)&&(e.command===void 0||v.is(e.command))&&(e.isPreferred===void 0||a.boolean(e.isPreferred))&&(e.edit===void 0||O.is(e.edit))}t.is=r})(Ae||(Ae={}));var we;(function(t){function i(n,e){let s={range:n};return a.defined(e)&&(s.data=e),s}t.create=i;function r(n){let e=n;return a.defined(e)&&l.is(e.range)&&(a.undefined(e.command)||v.is(e.command))}t.is=r})(we||(we={}));var Ee;(function(t){function i(n,e){return{tabSize:n,insertSpaces:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.uinteger(e.tabSize)&&a.boolean(e.insertSpaces)}t.is=r})(Ee||(Ee={}));var Le;(function(t){function i(n,e,s){return{range:n,target:e,data:s}}t.create=i;function r(n){let e=n;return a.defined(e)&&l.is(e.range)&&(a.undefined(e.target)||a.string(e.target))}t.is=r})(Le||(Le={}));var ye;(function(t){function i(n,e){return{range:n,parent:e}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&l.is(e.range)&&(e.parent===void 0||t.is(e.parent))}t.is=r})(ye||(ye={}));var Ie;(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator"})(Ie||(Ie={}));var je;(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(je||(je={}));var Ce;(function(t){function i(r){let n=r;return a.objectLiteral(n)&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}t.is=i})(Ce||(Ce={}));var Me;(function(t){function i(n,e){return{range:n,text:e}}t.create=i;function r(n){let e=n;return e!=null&&l.is(e.range)&&a.string(e.text)}t.is=r})(Me||(Me={}));var Ne;(function(t){function i(n,e,s){return{range:n,variableName:e,caseSensitiveLookup:s}}t.create=i;function r(n){let e=n;return e!=null&&l.is(e.range)&&a.boolean(e.caseSensitiveLookup)&&(a.string(e.variableName)||e.variableName===void 0)}t.is=r})(Ne||(Ne={}));var De;(function(t){function i(n,e){return{range:n,expression:e}}t.create=i;function r(n){let e=n;return e!=null&&l.is(e.range)&&(a.string(e.expression)||e.expression===void 0)}t.is=r})(De||(De={}));var Pe;(function(t){function i(n,e){return{frameId:n,stoppedLocation:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&l.is(n.stoppedLocation)}t.is=r})(Pe||(Pe={}));var z;(function(t){t.Type=1,t.Parameter=2;function i(r){return r===1||r===2}t.is=i})(z||(z={}));var X;(function(t){function i(n){return{value:n}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&(e.tooltip===void 0||a.string(e.tooltip)||A.is(e.tooltip))&&(e.location===void 0||L.is(e.location))&&(e.command===void 0||v.is(e.command))}t.is=r})(X||(X={}));var Re;(function(t){function i(n,e,s){let o={position:n,label:e};return s!==void 0&&(o.kind=s),o}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&x.is(e.position)&&(a.string(e.label)||a.typedArray(e.label,X.is))&&(e.kind===void 0||z.is(e.kind))&&e.textEdits===void 0||a.typedArray(e.textEdits,m.is)&&(e.tooltip===void 0||a.string(e.tooltip)||A.is(e.tooltip))&&(e.paddingLeft===void 0||a.boolean(e.paddingLeft))&&(e.paddingRight===void 0||a.boolean(e.paddingRight))}t.is=r})(Re||(Re={}));var Ve;(function(t){function i(r){return{kind:"snippet",value:r}}t.createSnippet=i})(Ve||(Ve={}));var ke;(function(t){function i(r,n,e,s){return{insertText:r,filterText:n,range:e,command:s}}t.create=i})(ke||(ke={}));var Ue;(function(t){function i(r){return{items:r}}t.create=i})(Ue||(Ue={}));var Fe;(function(t){t.Invoked=0,t.Automatic=1})(Fe||(Fe={}));var $e;(function(t){function i(r,n){return{range:r,text:n}}t.create=i})($e||($e={}));var Oe;(function(t){function i(r,n){return{triggerKind:r,selectedCompletionInfo:n}}t.create=i})(Oe||(Oe={}));var We;(function(t){function i(r){let n=r;return a.objectLiteral(n)&&D.is(n.uri)&&a.string(n.name)}t.is=i})(We||(We={}));var ze;(function(t){function i(s,o,c,f){return new q(s,o,c,f)}t.create=i;function r(s){let o=s;return!!(a.defined(o)&&a.string(o.uri)&&(a.undefined(o.languageId)||a.string(o.languageId))&&a.uinteger(o.lineCount)&&a.func(o.getText)&&a.func(o.positionAt)&&a.func(o.offsetAt))}t.is=r;function n(s,o){let c=s.getText(),f=e(o,(g,h)=>{let p=g.range.start.line-h.range.start.line;return p===0?g.range.start.character-h.range.start.character:p}),u=c.length;for(let g=f.length-1;g>=0;g--){let h=f[g],p=s.offsetAt(h.range.start),d=s.offsetAt(h.range.end);if(d<=u)c=c.substring(0,p)+h.newText+c.substring(d,c.length);else throw new Error("Overlapping edit");u=p}return c}t.applyEdits=n;function e(s,o){if(s.length<=1)return s;let c=s.length/2|0,f=s.slice(0,c),u=s.slice(c);e(f,o),e(u,o);let g=0,h=0,p=0;for(;g<f.length&&h<u.length;)o(f[g],u[h])<=0?s[p++]=f[g++]:s[p++]=u[h++];for(;g<f.length;)s[p++]=f[g++];for(;h<u.length;)s[p++]=u[h++];return s}})(ze||(ze={}));var q=class{constructor(i,r,n,e){this._uri=i,this._languageId=r,this._version=n,this._content=e,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(i){if(i){let r=this.offsetAt(i.start),n=this.offsetAt(i.end);return this._content.substring(r,n)}return this._content}update(i,r){this._content=i.text,this._version=r,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let i=[],r=this._content,n=!0;for(let e=0;e<r.length;e++){n&&(i.push(e),n=!1);let s=r.charAt(e);n=s==="\r"||s===`
|
|
5
5
|
`,s==="\r"&&e+1<r.length&&r.charAt(e+1)===`
|
|
6
6
|
`&&e++}n&&r.length>0&&i.push(r.length),this._lineOffsets=i}return this._lineOffsets}positionAt(i){i=Math.max(Math.min(i,this._content.length),0);let r=this.getLineOffsets(),n=0,e=r.length;if(e===0)return x.create(0,i);for(;n<e;){let o=Math.floor((n+e)/2);r[o]>i?e=o:n=o+1}let s=n-1;return x.create(s,i-r[s])}offsetAt(i){let r=this.getLineOffsets();if(i.line>=r.length)return this._content.length;if(i.line<0)return 0;let n=r[i.line],e=i.line+1<r.length?r[i.line+1]:this._content.length;return Math.max(Math.min(n+i.character,e),n)}get lineCount(){return this.getLineOffsets().length}},a;(function(t){let i=Object.prototype.toString;function r(d){return typeof d<"u"}t.defined=r;function n(d){return typeof d>"u"}t.undefined=n;function e(d){return d===!0||d===!1}t.boolean=e;function s(d){return i.call(d)==="[object String]"}t.string=s;function o(d){return i.call(d)==="[object Number]"}t.number=o;function c(d,N,Be){return i.call(d)==="[object Number]"&&N<=d&&d<=Be}t.numberRange=c;function f(d){return i.call(d)==="[object Number]"&&-2147483648<=d&&d<=2147483647}t.integer=f;function u(d){return i.call(d)==="[object Number]"&&0<=d&&d<=2147483647}t.uinteger=u;function g(d){return i.call(d)==="[object Function]"}t.func=g;function h(d){return d!==null&&typeof d=="object"}t.objectLiteral=h;function p(d,N){return Array.isArray(d)&&d.every(N)}t.typedArray=p})(a||(a={}));async function Se(t,i){try{let r=await t,n=new Map,e=new Map,s=[],o=He(i);return r.forEach(c=>{let f=[];c.items.forEach(u=>Qe(f,e,n,o,u)),f.length&&s.push({...c,items:f})}),{categories:s,functionDefinitions:n,constantDefinitions:e}}catch(r){return console.error(r),{categories:[],functionDefinitions:new Map,constantDefinitions:new Map}}}function He(t){let{profile:{apiVersion:i,bundles:r,hiddenApiItems:n=[]}={}}=t,e=qe(i),s=Array.isArray(r)&&r.length>0?new Set(["core",...r]):void 0;return o=>Je(e,o.sinceVersion)&&(!s||s.has(o.bundle))&&!n.includes(o.name)}function Qe(t,i,r,n,e){if(Array.isArray(e)){e.forEach(s=>Xe(t,r,n,s));return}e.type==="constant"?Ge(t,i,n,e):Xe(t,r,n,e)}function Xe(t,i,r,n){if(!r(n))return;n.disableDocumentation||t.push(n);let{completion:{label:e}}=n,s=e.toLowerCase(),o=i.get(s);o||(o={type:"functionDefinition",key:s,overloads:[]},i.set(s,o)),o.overloads.push(n)}function Ge(t,i,r,n){if(!r(n))return;t.push(n);let{completion:{label:e}}=n,s=e.toLowerCase();i.set(s,n);let[o,c]=n.completion.label.split(".");if(!c)return;let f=o.toLowerCase(),u=i.get(f);u||(u={type:"namespace",key:f,members:[],completion:{label:o,detail:o,insertText:o,insertTextMode:j.adjustIndentation,insertTextFormat:I.PlainText,kind:w.Enum}},i.set(f,u));let g=structuredClone(n);g.name=c,g.completion.label=c,g.completion.insertText=c,g.completion.kind=w.Constant,u.members.push(g),u.completion.documentation=u.members.reduce((h,p)=>(h.value=`${h.value}${h.value?`
|
|
@@ -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{h as c,i as $,j as d,k as f,l as A}from"./
|
|
3
|
+
v4.33.0-next.82 */
|
|
4
|
+
import{h as c,i as $,j as d,k as f,l as A}from"./MRRA4K2Q.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.Y;return s&&this.Y!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.Y=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
|
|
@@ -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.82 */
|
|
4
|
+
import{b as f}from"./WWOFTFZC.js";import{a as u}from"./PC3VZQP7.js";import{c as d,f as i,r as a,s as h,w as m}from"./MRRA4K2Q.js";import{e as c,o as n}from"./HAFM2QJK.js";import"./JM2OKZGS.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,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.
|
|
4
|
-
import{a as b,c as D,d as n}from"./
|
|
3
|
+
v4.33.0-next.82 */
|
|
4
|
+
import{a as b,c as D,d as n}from"./WGOZ2IDX.js";import{a as t}from"./FQ6A7KDL.js";import"./OI7LQRT5.js";import"./WPYCR7XQ.js";import"./N7PM4XH6.js";import{c as s}from"./E4FG4T3G.js";import"./KTYLWXWT.js";import{a as m,c as h,e as M,r,s as x,w as p,x as I}from"./MRRA4K2Q.js";import{a as l,b as w,c as E,h as Q}from"./HAFM2QJK.js";import{Hl as a,Il as d,Kl as C,Pl as g,Sl as c,kk as F}from"./35YNIXRE.js";import"./JM2OKZGS.js";F();c.register({id:n.languageId,aliases:["Arcade","arcade"],extensions:[".arc"],mimetypes:["application/arcade"]});c.onLanguage(n.languageId,()=>{D().then(o=>{o.setupMode(n)}).catch(o=>{throw o})});async function u(){return await import("./ACLRBI5Q.js")}c.register({id:t.languageId,aliases:["EsiSqlExpression","sql-expression"],extensions:[".sql-expression"],mimetypes:["application/sql-expression"]});c.onLanguage(t.languageId,()=>{u().then(o=>{o.setupMode(t)}).catch(o=>{throw o})});var U={"light-theme":{comment:"#606060",constant:"#9809C8",date:"#296389",identifier:"#0000B3",keyword:"#BF4900",number:"#136D3D",string:"#A31515",operator:"#9809C8",predefined:"#0000B3"},"dark-theme":{comment:"#BFBFBF",constant:"#CDBAEA",date:"#97A6CE",identifier:"#9FD4F3",keyword:"#EEAA5A",number:"#AAD04B",string:"#F2877B",operator:"#CDBAEA",predefined:"#9FD4F3"}};k();function k(){s().then(o=>{["light","dark"].forEach(A=>{let e=A==="light"?"vs":"vs-dark",i=U[`${A}-theme`];o.defineTheme(e,{base:e,inherit:!0,rules:[{token:"comment.arcgis",foreground:i.comment},{token:"constant.arcgis",foreground:i.constant},{token:"keyword.arcgis",foreground:i.keyword},{token:"identifier.arcgis",foreground:i.identifier},{token:"number.arcgis",foreground:i.number},{token:"string.arcgis",foreground:i.string},{token:"operator.arcgis",foreground:i.operator},{token:"predefined.arcgis",foreground:i.predefined}],colors:{}})})})}var z=h`@layer{/*!-----------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6
6
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
7
7
|
* Released under the MIT license
|
|
@@ -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{a as D}from"./
|
|
3
|
+
v4.33.0-next.82 */
|
|
4
|
+
import{a as D}from"./PC3VZQP7.js";import{a as M}from"./FQ6A7KDL.js";import"./OI7LQRT5.js";import"./WPYCR7XQ.js";import"./N7PM4XH6.js";import"./E4FG4T3G.js";import"./KTYLWXWT.js";import{c as y,f as p,g as x,i as F,j as S,k as R,m as g,n as u,o as V,p as E,q as v,r as $,s as L,w as P}from"./MRRA4K2Q.js";import"./HAFM2QJK.js";import"./35YNIXRE.js";import"./JM2OKZGS.js";var q=(a,i,t)=>{let d=new Map;for(let e=i;e<=t;e++)d.set(a[e],e);return d},_=S(class extends R{constructor(a){if(super(a),a.type!==F.CHILD)throw Error("repeat() can only be used in text expressions")}dt(a,i,t){let d;t===void 0?t=i:i!==void 0&&(d=i);let e=[],n=[],o=0;for(let m of a)e[o]=d?d(m,o):o,n[o]=t(m,o),o++;return{values:n,keys:e}}render(a,i,t){return this.dt(a,i,t).values}update(a,[i,t,d]){let e=E(a),{values:n,keys:o}=this.dt(i,t,d);if(!Array.isArray(e))return this.ut=o,n;let m=this.ut??=[],h=[],b,k,s=0,c=e.length-1,l=0,r=n.length-1;for(;s<=c&&l<=r;)if(e[s]===null)s++;else if(e[c]===null)c--;else if(m[s]===o[l])h[l]=u(e[s],n[l]),s++,l++;else if(m[c]===o[r])h[r]=u(e[c],n[r]),c--,r--;else if(m[s]===o[r])h[r]=u(e[s],n[r]),g(a,h[r+1],e[s]),s++,r--;else if(m[c]===o[l])h[l]=u(e[c],n[l]),g(a,e[s],e[c]),c--,l++;else if(b===void 0&&(b=q(o,l,r),k=q(m,s,c)),b.has(m[s]))if(b.has(m[c])){let f=k.get(o[l]),w=f!==void 0?e[f]:null;if(w===null){let I=g(a,e[s]);u(I,n[l]),h[l]=I}else h[l]=u(w,n[l]),g(a,e[s],w),e[f]=null;l++}else v(e[c]),c--;else v(e[s]),s++;for(;l<=r;){let f=g(a,h[r+1]);u(f,n[l]),h[l++]=f}for(;s<=c;){let f=e[s++];f!==null&&v(f)}return this.ut=o,V(a,h),x}});var A=y`:host{calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`,C=class extends L{constructor(){super(...arguments),this.messages=D(),this._filterValue="",this._flowItemRenderers=[],this._mutationCounter=1,this.loading=!1,this.arcgisClose=$({bubbles:!1}),this.arcgisFieldSelected=$({bubbles:!1})}static{this.properties={_filterValue:16,_flowItemRenderers:16,_mutationCounter:16,loading:5,modelId:1}}static{this.styles=A}willUpdate(i){i.has("modelId")&&(this._flowItemRenderers=[])}disconnectedCallback(){super.disconnectedCallback(),this._flowObserver?.disconnect()}_handleSelectField(i){if(i.target instanceof HTMLElement)switch(i.target.tagName.toLowerCase()){case"calcite-list-item":{let t=i.target.value;this.arcgisFieldSelected.emit(t??"");break}case"calcite-action":i.stopPropagation();break}}_handleSelectDomain(i){let t=i.target.value;this.arcgisFieldSelected.emit(t?`'${t}'`:"")}_emitClose(){this.arcgisClose.emit()}render(){let i=M.getFeatureLayerForModel(this.modelId??"");return this.loading||!this.modelId||!i?p`<calcite-block .heading=${this.messages.availablefields??""}></calcite-block>`:p`<calcite-flow><calcite-flow-item .heading=${this.messages.availablefields??""} closable @calciteFlowItemClose=${this._emitClose}><calcite-list label=fields filter-enabled>${_(i.fields,t=>t.name,t=>p`<calcite-list-item @click=${this._handleSelectField} .label=${t.name} .description=${t.alias??""} .value=${t.name}>${t.domain&&p`<calcite-action slot=actions-end text=open icon=chevron-right @click=${()=>{let d=t.domain;d?.type==="coded-value"&&(this._flowItemRenderers=[...this._flowItemRenderers,()=>p`<calcite-flow-item closable .heading=${this.messages.domainvalues??""} .description=${t.name} @calciteFlowItemClose=${this._emitClose}><calcite-list label=domains>${_(d.codedValues,e=>e.code,e=>p`<calcite-list-item @click=${this._handleSelectDomain} .label=${e.name} .description=${String(e.code)} .value=${String(e.code)}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`])}}></calcite-action>`||""}</calcite-list-item>`)}</calcite-list></calcite-flow-item>${this._flowItemRenderers.map(t=>t())}</calcite-flow>`}};P("arcgis-sql-expression-fields",C);export{C as SqlExpressionFields};
|
|
@@ -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{d as e,v as i}from"./
|
|
3
|
+
v4.33.0-next.82 */
|
|
4
|
+
import{d as e,v as i}from"./MRRA4K2Q.js";import"./HAFM2QJK.js";import"./JM2OKZGS.js";var o=e(i,{"arcgis-arcade-editor":[()=>import("./B65C6KUP.js"),"customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./SHERT3LT.js"),"consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./TRHDDNYE.js"),"suggestions:"],"arcgis-code-editor":[()=>import("./XQYA56Y7.js"),"editorInstance:,editorOptions:,language,modelId,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-editor-variables":[()=>import("./X44YJSGU.js"),"loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./KUT6FUSI.js"),"apiLibrary:,hideDocumentationActions,loading"],"arcgis-sql-expression-editor":[()=>import("./5GFIUWH6.js"),"hideSideBar,profile:,script"],"arcgis-sql-expression-fields":[()=>import("./ZGHW67G2.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)}
|