@arcgis/coding-components 4.33.0-next.76 → 4.33.0-next.77
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/{XEUTOLXY.js → 34ORKDXT.js} +4 -4
- package/dist/arcgis-coding-components/{XEUTOLXY.js.LEGAL.txt → 34ORKDXT.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{YQSJ3GXL.js → 3QWWT4PC.js} +2 -2
- package/dist/arcgis-coding-components/{K2IVEQE5.js.LEGAL.txt → 3QWWT4PC.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{CJ6YEE7I.js → 4T6HR472.js} +2 -2
- package/dist/arcgis-coding-components/{QOVT3RPP.js → 5TVFLP3R.js} +1 -1
- package/dist/arcgis-coding-components/{4VVG3WKG.js.LEGAL.txt → 5TVFLP3R.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{4HKZ3TQJ.js → 6TDMUFVU.js} +2 -2
- package/dist/arcgis-coding-components/{K2IVEQE5.js → 7CKSK5AQ.js} +2 -2
- package/dist/arcgis-coding-components/{DOPVA4YP.js.LEGAL.txt → 7CKSK5AQ.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{IA4I57FY.js → ANJYO5IA.js} +2 -2
- package/dist/arcgis-coding-components/{7CECRXJA.js → AOABZMEG.js} +1 -1
- package/dist/arcgis-coding-components/{NDNDJ2JJ.js → BTQOXCVE.js} +1 -1
- package/dist/arcgis-coding-components/{GKYYYIMQ.js → BVWPJWV6.js} +2 -2
- package/dist/arcgis-coding-components/{ESSNWZTY.js → C3LXT4MG.js} +2 -2
- package/dist/arcgis-coding-components/{OKOC7LFV.js → CJ6E6AJH.js} +2 -2
- package/dist/arcgis-coding-components/{3BXNPW5F.js.LEGAL.txt → CJ6E6AJH.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{QJWWKQZM.js → CZL6BUUZ.js} +2 -2
- package/dist/arcgis-coding-components/CZL6BUUZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{LQL74H5T.js → E5MDBOWK.js} +2 -2
- package/dist/arcgis-coding-components/E5MDBOWK.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{JBY6ACAI.js → EPZVX3XO.js} +3 -3
- package/dist/arcgis-coding-components/{JBY6ACAI.js.LEGAL.txt → EPZVX3XO.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{FV2GPYN6.js → FPAKZ6BD.js} +2 -2
- package/dist/arcgis-coding-components/{QWNGGA63.js → GR3X2GQ2.js} +2 -2
- package/dist/arcgis-coding-components/GR3X2GQ2.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{LY4YCZAV.js → HNKGW2Q3.js} +2 -2
- package/dist/arcgis-coding-components/HNKGW2Q3.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{7DHAT676.js → IX6JQLXE.js} +2 -2
- package/dist/arcgis-coding-components/{GG4ET4QB.js → LGYUYDKL.js} +2 -2
- package/dist/arcgis-coding-components/{4VVG3WKG.js → LNW42DVO.js} +2 -2
- package/dist/arcgis-coding-components/LNW42DVO.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{342NLOE4.js → OWKYLS7I.js} +2 -2
- package/dist/arcgis-coding-components/{UGR2JQRN.js → PAPIVZ2J.js} +2 -2
- package/dist/arcgis-coding-components/PAPIVZ2J.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{XENMJDDB.js → QFJIDVCB.js} +2 -2
- package/dist/arcgis-coding-components/QFJIDVCB.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{3BXNPW5F.js → SVGX65OO.js} +2 -2
- package/dist/arcgis-coding-components/SVGX65OO.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{ROVNQGRZ.js → TWRW6AHE.js} +2 -2
- package/dist/arcgis-coding-components/TWRW6AHE.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{QEY4O2FB.js → UQHFM2Z2.js} +2 -2
- package/dist/arcgis-coding-components/{DOPVA4YP.js → USHVLW74.js} +2 -2
- package/dist/arcgis-coding-components/USHVLW74.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/VC3R3A6V.js +4 -0
- package/dist/arcgis-coding-components/{3FETLQIP.js → WSKOVG5U.js} +2 -2
- package/dist/arcgis-coding-components/{3FETLQIP.js.LEGAL.txt → WSKOVG5U.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{FPF2C35K.js → WYN5LOMM.js} +2 -2
- package/dist/arcgis-coding-components/{JY7ZLNIM.js → XIZW2E7L.js} +1 -1
- package/dist/arcgis-coding-components/{YQW7CW6V.js → YMBWKOIM.js} +2 -2
- package/dist/arcgis-coding-components/YMBWKOIM.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{GWG6ISZ7.js → ZJ57RCUG.js} +2 -2
- package/dist/arcgis-coding-components/{Q3NYSEHX.js → ZNFH7WCU.js} +2 -2
- package/dist/arcgis-coding-components/ZNFH7WCU.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 +27 -27
- 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/LQL74H5T.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/LY4YCZAV.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/N6D2M65S.js +0 -4
- package/dist/arcgis-coding-components/OKOC7LFV.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/Q3NYSEHX.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/QJWWKQZM.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/QOVT3RPP.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/QWNGGA63.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/ROVNQGRZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/UGR2JQRN.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/XENMJDDB.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/YQSJ3GXL.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/YQW7CW6V.js.LEGAL.txt +0 -3
- /package/dist/arcgis-coding-components/{CJ6YEE7I.js.LEGAL.txt → 4T6HR472.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{4HKZ3TQJ.js.LEGAL.txt → 6TDMUFVU.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{IA4I57FY.js.LEGAL.txt → ANJYO5IA.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{7CECRXJA.js.LEGAL.txt → AOABZMEG.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{ESSNWZTY.js.LEGAL.txt → BTQOXCVE.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{GKYYYIMQ.js.LEGAL.txt → BVWPJWV6.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{JY7ZLNIM.js.LEGAL.txt → C3LXT4MG.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{FV2GPYN6.js.LEGAL.txt → FPAKZ6BD.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{7DHAT676.js.LEGAL.txt → IX6JQLXE.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{GG4ET4QB.js.LEGAL.txt → LGYUYDKL.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{342NLOE4.js.LEGAL.txt → OWKYLS7I.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{QEY4O2FB.js.LEGAL.txt → UQHFM2Z2.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{N6D2M65S.js.LEGAL.txt → VC3R3A6V.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{FPF2C35K.js.LEGAL.txt → WYN5LOMM.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{NDNDJ2JJ.js.LEGAL.txt → XIZW2E7L.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{GWG6ISZ7.js.LEGAL.txt → ZJ57RCUG.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.77 */
|
|
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.
|
|
3
|
+
v4.33.0-next.77 */
|
|
4
4
|
var g=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}};function y(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 $(e,t,n){let{subscribe:o}=A(t);return o(r=>{r.some(s=>y(e,s.target))&&n()})}var h={};function A(e){let t=e.join(","),n=h[t];if(n!==void 0)return n;let o=new Set,r=new MutationObserver(s=>o.forEach(c=>c(s)));globalThis.document&&r.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let i={subscribe(s){return o.add(s),()=>{o.delete(s),o.size===0&&(r.disconnect(),h[t]=void 0)}}};return h[t]=i,i}function E(e,t){let n=e;for(;n;){let o=n.closest?.(t);if(o)return o;let r=n.getRootNode?.();if(r===globalThis.document)return null;n=r.host}return null}function U(e){return E(e,":is(.calcite-mode-light, .calcite-mode-dark)")?.classList.contains("calcite-mode-dark")?"dark":"light"}function N(e,t,n){return E(e,`[${t}]`)?.getAttribute(t)??n}function S(e){return e.nodeType===Node.ELEMENT_NODE}function w(e){return typeof e.setFocus=="function"}function l(e,t=""){if(!S(e))return!1;if(e.matches(t))return w(e)&&setTimeout(()=>void e.setFocus(),0),!0;for(let o of e.children)if(l(o,t))return!0;let n=e.shadowRoot;if(n){for(let o of n.children)if(l(o,t))return!0}return!1}async function M(e){e!=null&&(w(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(o){console.error(o,e)}}async function q(e,t,...n){try{let o=e?.call(t,...n);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}function a(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[a(2),a(1),a(1),a(1),a(3)].join("-")}var j=["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"],C=new Set(j),u="en",R={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function z(e,t,n=""){let o=`${t}/${n}`,r=`${o}${e}.json`;return p[r]??(p[r]=L(e,o)),await p[r]}var p={};async function L(e,t){let n=`${t}${e}.json`;try{let o=await fetch(n);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===u?{}:await L(u,t)}function O(e){let t=N(e,"lang",globalThis.navigator?.language||u);return{lang:t,t9nLocale:T(t)}}function T(e){let[t,n]=e.split("-"),o=t.toLowerCase(),r=o;return n&&(r=`${o}-${n.toUpperCase()}`),r=R[r]??r,C.has(r)?r:n?T(o):u}function Q(e,t,n,o){let r,i=()=>void P(e,t(),o).then(s=>{(r?.lang!==s.lang||r.t9nLocale!==s.t9nLocale||r.t9nStrings!==s.t9nStrings)&&n(s),r=s}).catch(console.error);return queueMicrotask(i),$(e,["lang"],i)}async function P(e,t,n=e.localName.split("-").slice(1).join("-")){let{lang:o,t9nLocale:r}=O(e),i=`${t}/${n}/t9n`,c=n===null?{}:await z(r,i,"messages.");return{lang:o,t9nLocale:r,t9nStrings:c}}var m='"',b="'";function v(e,t){return new Array(t+1).join(e)}function D(e){let t=m,n=b;e.includes(t)&&!e.includes(n)&&(n=m,t=b);let r=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(r,(s,c,f,d)=>c+f+v(n,d.length/2));let i=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(i,(s,c,f,d)=>c+f+v(`\\${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,o)=>t[o]??n)}function Z(e){return`\u200E${e??""}\u200E`}var G=e=>e.replace(k,(t,n)=>`${n===0?"":"-"}${t.toLowerCase()}`),k=/[A-Z]+(?![a-z])|[A-Z]/gu;function J(e,t){let n=t>x?F:t/I,o=0,r=setInterval(()=>{o+=n,o>=t&&(clearInterval(r),e())},n);return r}var x=4e3,F=2e3,I=4;function W(e){return e!==null}function X(e){return e!==void 0}function Y(e,t=100){let n;return(...o)=>{let r=()=>{clearTimeout(n),e(...o)};clearTimeout(n),n=setTimeout(r,t)}}function ee(e,t,n=!1){if(!e||!t)return!1;let o=new URL(e),r=new URL(t);return!n&&o.protocol!==r.protocol||o.host==null||r.host==null?!1:o.host.toLowerCase()===r.host.toLowerCase()&&o.port===r.port}function te(e){try{return new URL(e),!0}catch{return!1}}export{g as a,$ as b,U as c,M as d,V as e,_ as f,q as g,B as h,C as i,z as j,O as k,T as l,Q as m,D 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.
|
|
4
|
-
import{Tl as a}from"./
|
|
3
|
+
v4.33.0-next.77 */
|
|
4
|
+
import{Tl as a}from"./LGYUYDKL.js";import"./XIZW2E7L.js";var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,s=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!c.call(t,r)&&r!==n&&p(t,r,{get:()=>e[r],enumerable:!(o=m(e,r))||o.enumerable});return t},u=(t,e,n)=>(s(t,e,"default"),n&&s(n,e,"default")),i={};u(i,a);var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${d.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},x={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{b as conf,x as language};
|
|
@@ -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.77 */
|
|
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"./LGYUYDKL.js";import"./XIZW2E7L.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};
|
|
@@ -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 h,b as g}from"./
|
|
3
|
+
v4.33.0-next.77 */
|
|
4
|
+
import{a as h,b as g}from"./FPAKZ6BD.js";import{a as p}from"./YMBWKOIM.js";import{a}from"./TWRW6AHE.js";import"./HNKGW2Q3.js";import"./AOABZMEG.js";import"./5TVFLP3R.js";import"./EPZVX3XO.js";import"./OWKYLS7I.js";import{c as r,e as n,f as e,r as c,s as d,w as l}from"./34ORKDXT.js";import{h as s}from"./BTQOXCVE.js";import"./LGYUYDKL.js";import"./XIZW2E7L.js";var f=r`@layer{arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border);box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%;.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-panel{flex:1 0 auto}.position-relative{position:relative}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.border-inline-start{border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box}.border-inline-end{border-inline-end:var(--arcgis-coding-components-border);box-sizing:border-box}.side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}.side-panel{max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w);calcite-flow{height:100%}}}}`,o=class extends d{constructor(){super(...arguments),this._codeEditorElt=h(),this.messages=p(),this._modelId=s(),this._preparing=!1,this.sideActionBarExpanded=!1,this.script="",this.hideSideBar=!1,this.arcgisScriptChange=c({bubbles:!1})}static{this.properties={_activeAction:16,_apiLibrary:16,_editorProfile:16,_preparing:16,sideActionBarExpanded:16,profile:0,script:1,hideSideBar:5}}static{this.shadowRootOptions=n}static{this.styles=f}async load(){await this._updateEditorProfile().catch(console.error)}willUpdate(i){(i.has("messages")||i.has("profile"))&&this._updateDataModelDeps()}async _updateDataModelDeps(){await this._updateEditorProfile(),await this._updateApiLibrary()}async _updateEditorProfile(){this._preparing=!0;try{await a.setProfileForModel(this._modelId,this.profile,{locale:this.messages._t9nLocale}),this._editorProfile=a.getEditorProfileForModel(this._modelId)}catch{this._editorProfile=void 0}finally{this._preparing=!1}}_setActiveAction(i){if(this._activeAction===i){this._activeAction=void 0;return}this._activeAction=i}_handleActionClick(i){let t=i.target;this._setActiveAction(t.dataset.panelName)}_insertAsSnippet(i){this._codeEditorElt.value?.insertSnippet(i.detail).catch(console.error)}_insertAsText(i){this._codeEditorElt.value?.insertText(i.detail.replaceAll('"',"'")).catch(console.error)}async _updateApiLibrary(){this._apiLibrary=await a.getApiLibraryForModel(this._modelId)}_onCodeEditorValueChange(i){i.stopPropagation(),this.script=i.detail,this.arcgisScriptChange.emit(i.detail)}_getFeatureSetVariable(){let i,t=a.getEditorProfileForModel(this._modelId);return t?.variables?.length&&t?.variables?.[0]?.type!=="featureSet"?console.error("encountered unexpected editor profile"):i=t?.variables?.[0],i}_toggleSideActionBarExpanded(){this.sideActionBarExpanded=!this.sideActionBarExpanded}render(){let i=this._getFeatureSetVariable();return e`<div class="flex-row flex-adjustable"><div class="flex-column flex-adjustable"><arcgis-code-editor language=arcgis-sql-expression .modelId=${this._modelId} .value=${this.script??""} @arcgisValueChange=${this._onCodeEditorValueChange} ${g(this._codeEditorElt)}></arcgis-code-editor></div>${this._activeAction==="fields"&&!this.hideSideBar&&e`<arcgis-editor-variables .variable=${i} class="side-panel flex-panel border-inline-start" .loading=${this._preparing} .modelId=${this._modelId} @arcgisItemSelected=${this._insertAsText} @arcgisClose=${()=>this._setActiveAction(void 0)} data-panel-name=none></arcgis-editor-variables>`||""}${this._activeAction==="functions"&&!this.hideSideBar&&e`<arcgis-language-api-panel class="side-panel flex-panel border-inline-start" @arcgisItemSelected=${this._insertAsSnippet} @arcgisClose=${()=>this._setActiveAction(void 0)} .loading=${this._preparing} .apiLibrary=${this._apiLibrary} data-panel-name=none hide-documentation-actions></arcgis-language-api-panel>`||""}${!this.hideSideBar&&e`<calcite-action-bar class="side-action-bar border-inline-start" .expanded=${this.sideActionBarExpanded} position=end @calciteActionBarToggle=${this._toggleSideActionBarExpanded}><calcite-action id=fields-action .text=${this.messages.fields??"Fields"} icon=profile-variables .active=${this._activeAction==="fields"} data-panel-name=fields @click=${this._handleActionClick}></calcite-action>${!this.sideActionBarExpanded&&e`<calcite-tooltip reference-element=fields-action><span>${this.messages.fields??"Fields"}</span></calcite-tooltip>`||""}<calcite-action id=functions-action .text=${this.messages.functions??"Functions"} icon=function .active=${this._activeAction==="functions"} data-panel-name=functions @click=${this._handleActionClick}></calcite-action>${!this.sideActionBarExpanded&&e`<calcite-tooltip reference-element=functions-action><span>${this.messages.functions??"Functions"}</span></calcite-tooltip>`||""}</calcite-action-bar>`||""}</div>`}};l("arcgis-sql-expression-editor",o);export{o as ArcgisSqlExpressionEditor};
|
|
@@ -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.77 */
|
|
4
|
+
import{b as f}from"./FPAKZ6BD.js";import{a as u}from"./YMBWKOIM.js";import{c as d,f as i,r as a,s as h,w as m}from"./34ORKDXT.js";import{e as c,o as n}from"./BTQOXCVE.js";import"./XIZW2E7L.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.
|
|
4
|
-
import{e as u}from"./
|
|
3
|
+
v4.33.0-next.77 */
|
|
4
|
+
import{e as u}from"./5TVFLP3R.js";var T="https://developers.arcgis.com/arcade/",k=100,m=100;function C(e){return!!e&&typeof e=="object"&&"declaredRootClass"in e&&typeof e.declaredRootClass=="string"&&e.declaredRootClass==="esri.arcade.featureset.support.FeatureSet"}function v(e){return!!e&&typeof e=="object"&&"arcadeDeclaredClass"in e&&typeof e.arcadeDeclaredClass=="string"&&e.arcadeDeclaredClass==="esri.arcade.Feature"}function g(e){return!!e&&typeof e=="object"&&"declaredClass"in e&&typeof e.declaredClass=="string"&&e.declaredClass==="esri.arcade.Dictionary"}function b(e){return!!e&&typeof e=="object"&&"declaredClass"in e&&typeof e.declaredClass=="string"&&e.declaredClass.startsWith("esri.geometry.")}function w(e){return!!e&&typeof e=="object"&&"declaredClass"in e&&typeof e.declaredClass=="string"&&e.declaredClass.startsWith("esri.rest.knowledgeGraph.KnowledgeGraph")}function R(e){return!!e&&typeof e=="object"&&"declaredClass"in e&&typeof e.declaredClass=="string"&&e.declaredClass==="esri.arcade.Portal"}function A(e){return!!e&&typeof e=="object"&&"declaredClass"in e&&typeof e.declaredClass=="string"&&e.declaredClass==="esri.arcade.Attachment"}function h(e){return!!e&&typeof e=="object"&&"declaredRootClass"in e&&typeof e.declaredRootClass=="string"&&e.declaredRootClass==="esri.arcade.arcadedate"}function j(e){return!!e&&typeof e=="object"&&"declaredRootClass"in e&&typeof e.declaredRootClass=="string"&&e.declaredRootClass==="esri.core.sql.dateonly"}function D(e){return!!e&&typeof e=="object"&&"declaredRootClass"in e&&typeof e.declaredRootClass=="string"&&e.declaredRootClass==="esri.core.sql.timeonly"}function F(e){return!!e&&typeof e=="object"&&"length"in e&&typeof e.length=="function"&&"get"in e&&typeof e.get=="function"&&"toArray"in e&&typeof e.toArray=="function"&&"_elements"in e&&Array.isArray(e._elements)}function S(e){return e==null?{type:"null"}:Array.isArray(e)?{type:"array",value:e}:F(e)?{type:"array",value:e.toArray()}:e instanceof Date?{type:"date",value:e}:typeof e=="string"?{type:"text",value:e}:typeof e=="number"?{type:"number",value:e}:typeof e=="boolean"?{type:"boolean",value:e}:typeof e!="object"?{type:"unknown"}:h(e)?{type:"date",value:e}:j(e)?{type:"dateOnly",value:e}:D(e)?{type:"time",value:e}:A(e)?{type:"attachment",value:e}:R(e)?{type:"portal",value:e}:C(e)?{type:"featureSet",value:e,features:[],iterator:null}:v(e)?{type:"feature",value:e}:g(e)?{type:"dictionary",value:e}:b(e)?{type:"geometry",value:e}:w(e)?{type:"knowledgeGraph",value:e}:{type:"unknown"}}function E(e,r="en"){return e.value instanceof Date?new Intl.DateTimeFormat(r,{dateStyle:"medium",timeStyle:"long"}).format(e.value):e.value.toDateTime().setLocale(r).toFormat(e.value.isUnknownTimeZone?"FF":"FF ZZZZZ")}function G(e){return e.value.toString()}function B(e){return e.value.toString()}async function Z(e,r="system"){let a=S(e);return a.type!=="featureSet"||(await a.value.load(),a.iterator=a.value.iterator({aborted:!1}),a.features=await a.iterator.nextBatchAsArcadeFeatures(m,r)??[]),a}async function I(e,r,a,s){let l=new Date;s??=()=>{};try{let o=performance.now(),t=await(await u()).createArcadeExecutor(r??"",{variables:e?.variables??[]}),c=performance.now(),{profileVariableInstances:d,spatialReference:y,timeZone:i}=a,p={spatialReference:y,timeZone:i,rawOutput:!0,console:s},f=await t.executeAsync(d,p),n=await Z(f,i);return n.timeStamp=l,n.compilationTime=c-o,n.executionTime=performance.now()-c,n}catch(o){let t="Unknown Error";return o instanceof Error&&(t=o.message),{type:"error",value:t,error:o,timeStamp:l,compilationTime:0,executionTime:0}}}export{T as a,k as b,m as c,S as d,E as e,G as f,B as g,I as h};
|