@arcgis/coding-components 4.30.0-next.24 → 4.30.0-next.25
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/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-1d57aab3.js → p-05243ae4.js} +2 -2
- package/dist/arcgis-coding-components/{p-21137bd9.js → p-17d15cb9.js} +10 -10
- package/dist/arcgis-coding-components/{p-82be3941.js → p-289b8437.js} +2 -2
- package/dist/arcgis-coding-components/{p-b3bb4a4d.js → p-3580fa60.js} +2 -2
- package/dist/arcgis-coding-components/{p-5372551f.js → p-4e4ccb22.js} +2 -2
- package/dist/arcgis-coding-components/{p-e19f69f1.js → p-739a390e.js} +2 -2
- package/dist/arcgis-coding-components/{p-5fa537a1.js → p-74c134b2.js} +2 -2
- package/dist/arcgis-coding-components/{p-063836aa.js → p-904f5ed9.js} +1 -1
- package/dist/arcgis-coding-components/{p-3774076c.js → p-921150b1.js} +2 -2
- package/dist/arcgis-coding-components/{p-a412b172.js → p-9a06d91e.js} +2 -2
- package/dist/arcgis-coding-components/{p-73a564a3.js → p-a6e0408e.js} +2 -2
- package/dist/arcgis-coding-components/{p-6f4c407c.js → p-c7e83e19.js} +2 -2
- package/dist/arcgis-coding-components/p-df9c7278.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-568667c4.js → p-ff18eae5.js} +1 -1
- package/dist/arcgis-coding-components/{p-c6001bc2.js → p-ffcc7148.js} +2 -2
- package/dist/cjs/{Accessor-665QGK4J-71c56e62.js → Accessor-K5EEI5WT-b88fc2a4.js} +57 -57
- package/dist/cjs/{arcade-defaults-9564669a.js → arcade-defaults-c2ec41d1.js} +13 -13
- package/dist/cjs/{arcade-mode-2a6aab2e.js → arcade-mode-40fb726f.js} +3 -3
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +73 -20
- package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
- package/dist/cjs/{chunk-ENW2OP4I-e235573d.js → chunk-K5OO3GAM-c5c3bfaa.js} +22 -22
- package/dist/cjs/{css-6c6bb332.js → css-ab107194.js} +1 -1
- package/dist/cjs/{cssMode-b61804e8.js → cssMode-bb08e5bd.js} +3 -3
- package/dist/cjs/{decorators-DM7JHWEQ-bb83827d.js → decorators-ROXODUND-78fa07c2.js} +15 -15
- package/dist/cjs/{html-21ecf4fe.js → html-46ea7730.js} +3 -3
- package/dist/cjs/{htmlMode-ed2c5b9c.js → htmlMode-d7b93ee9.js} +3 -3
- package/dist/cjs/{index-693d7a28.js → index-4c8629ad.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-2c90f287.js → javascript-5c13b787.js} +4 -4
- package/dist/cjs/{jsonMode-29f0c4d3.js → jsonMode-15e0e9ae.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tsMode-b8d55462.js → tsMode-8d8f7ea4.js} +3 -3
- package/dist/cjs/{typescript-5b7267d9.js → typescript-36035fea.js} +3 -3
- package/dist/components/{Accessor-665QGK4J.js → Accessor-K5EEI5WT.js} +2 -2
- package/dist/components/arcade-api.js +2 -2
- package/dist/components/arcade-contribution.js +1 -1
- package/dist/components/arcade-defaults.js +4 -4
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +2 -2
- package/dist/components/arcade-suggestions.js +2 -2
- package/dist/components/arcade-variables.js +2 -2
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +2 -2
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/{chunk-6I5H2FL4.js → chunk-CUKUHPDJ.js} +70 -17
- package/dist/components/{chunk-ENW2OP4I.js → chunk-K5OO3GAM.js} +22 -22
- package/dist/components/code-editor.js +1 -1
- package/dist/components/{decorators-DM7JHWEQ.js → decorators-ROXODUND.js} +3 -3
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{Accessor-665QGK4J-36b95fcf.js → Accessor-K5EEI5WT-0598ef2e.js} +2 -2
- package/dist/esm/{arcade-defaults-7b755d01.js → arcade-defaults-f6090fed.js} +13 -13
- package/dist/esm/{arcade-mode-56f5795a.js → arcade-mode-0ad4cb23.js} +3 -3
- package/dist/esm/arcgis-arcade-api_6.entry.js +73 -20
- package/dist/esm/arcgis-coding-components.js +3 -3
- package/dist/esm/{chunk-ENW2OP4I-9cb928fe.js → chunk-K5OO3GAM-75615e96.js} +22 -22
- package/dist/esm/{css-14b9cec7.js → css-93582172.js} +1 -1
- package/dist/esm/{cssMode-ce1cfd94.js → cssMode-2c7cb3f0.js} +3 -3
- package/dist/esm/{decorators-DM7JHWEQ-35eeab33.js → decorators-ROXODUND-72a4f40b.js} +3 -3
- package/dist/esm/{html-0f135a43.js → html-f45b866f.js} +3 -3
- package/dist/esm/{htmlMode-6a49d235.js → htmlMode-1f7f702f.js} +3 -3
- package/dist/esm/{index-cea530e1.js → index-04501a90.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-0b427ddf.js → javascript-6d22b317.js} +4 -4
- package/dist/esm/{jsonMode-818f84d3.js → jsonMode-8d42c2c3.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tsMode-5fc323fe.js → tsMode-5603cacf.js} +3 -3
- package/dist/esm/{typescript-5e0c0f59.js → typescript-6dbe886a.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/package.json +9 -9
- package/dist/arcgis-coding-components/p-2e4f5089.entry.js +0 -6
- /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +0 -0
- /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +0 -0
- /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
10
|
+
const index = require('./index-4c8629ad.js');
|
|
11
|
+
const arcadeDefaults = require('./arcade-defaults-c2ec41d1.js');
|
|
12
12
|
|
|
13
13
|
async function colorizeCode(code) {
|
|
14
14
|
return await arcadeDefaults.editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -3106,6 +3106,7 @@ var ControllerInternals = class {
|
|
|
3106
3106
|
return controller;
|
|
3107
3107
|
};
|
|
3108
3108
|
this.shouldBypassSetter = false;
|
|
3109
|
+
this.shouldBypassReadonly = false;
|
|
3109
3110
|
/**
|
|
3110
3111
|
* A map from component instance or component element to component instance.
|
|
3111
3112
|
* To get from component instance or component element to component element,
|
|
@@ -3213,8 +3214,9 @@ function retrieveComponentMeta(component) {
|
|
|
3213
3214
|
);
|
|
3214
3215
|
component.manager.internals.meta = { members: meta[0], watchers: meta[1] };
|
|
3215
3216
|
}
|
|
3216
|
-
function parsePropertyValue(value, type =
|
|
3217
|
-
|
|
3217
|
+
function parsePropertyValue(value, type = 8 /* Any */) {
|
|
3218
|
+
const isComplex = value == null || typeof value === "object" || typeof value === "function";
|
|
3219
|
+
if (isComplex)
|
|
3218
3220
|
return value;
|
|
3219
3221
|
if ((type & 4 /* Boolean */) !== 0)
|
|
3220
3222
|
return value === "false" ? false : value === "" || !!value;
|
|
@@ -3309,7 +3311,15 @@ var _Controller = class _Controller {
|
|
|
3309
3311
|
if (this.connectedCalled)
|
|
3310
3312
|
return;
|
|
3311
3313
|
this.triggerConnected();
|
|
3312
|
-
|
|
3314
|
+
const loadWillStillHappen = !this.component.manager.willLoadCalled;
|
|
3315
|
+
if (loadWillStillHappen)
|
|
3316
|
+
return;
|
|
3317
|
+
this.triggerLoad().then(() => {
|
|
3318
|
+
const loadedWillStillHappen = !this.component.manager.didLoadCalled;
|
|
3319
|
+
if (loadedWillStillHappen)
|
|
3320
|
+
return;
|
|
3321
|
+
this.triggerLoaded();
|
|
3322
|
+
}).catch(console.error);
|
|
3313
3323
|
}
|
|
3314
3324
|
get exports() {
|
|
3315
3325
|
return this._exports;
|
|
@@ -3399,6 +3409,16 @@ var _Controller = class _Controller {
|
|
|
3399
3409
|
_Controller.internals.shouldBypassSetter = false;
|
|
3400
3410
|
return result;
|
|
3401
3411
|
}
|
|
3412
|
+
/**
|
|
3413
|
+
* Like bypassSetter, but only bypasses this.manager.readonly(), rather that
|
|
3414
|
+
* all setters set using this.manager.getSet()
|
|
3415
|
+
*/
|
|
3416
|
+
bypassReadonly(callback) {
|
|
3417
|
+
_Controller.internals.shouldBypassReadonly = true;
|
|
3418
|
+
const result = safeCall(callback);
|
|
3419
|
+
_Controller.internals.shouldBypassReadonly = false;
|
|
3420
|
+
return result;
|
|
3421
|
+
}
|
|
3402
3422
|
/**
|
|
3403
3423
|
* Like this.manager.getSet(), but can be called on any component's
|
|
3404
3424
|
* state/prop from anywhere, rather than just from the default value
|
|
@@ -3809,14 +3829,14 @@ async function importCoreAccessor() {
|
|
|
3809
3829
|
if (isAMD) {
|
|
3810
3830
|
return await window.$arcgis.import("esri/core/Accessor");
|
|
3811
3831
|
}
|
|
3812
|
-
const module = await Promise.resolve().then(function () { return require('./Accessor-
|
|
3832
|
+
const module = await Promise.resolve().then(function () { return require('./Accessor-K5EEI5WT-b88fc2a4.js'); });
|
|
3813
3833
|
return isDefaultModule(module) ? module.default : module;
|
|
3814
3834
|
}
|
|
3815
3835
|
async function importCoreAccessorSupportDecorators() {
|
|
3816
3836
|
if (isAMD) {
|
|
3817
3837
|
return await window.$arcgis.import("esri/core/accessorSupport/decorators");
|
|
3818
3838
|
}
|
|
3819
|
-
const module = await Promise.resolve().then(function () { return require('./decorators-
|
|
3839
|
+
const module = await Promise.resolve().then(function () { return require('./decorators-ROXODUND-78fa07c2.js'); });
|
|
3820
3840
|
return isDefaultModule(module) ? module.default : module;
|
|
3821
3841
|
}
|
|
3822
3842
|
|
|
@@ -4071,16 +4091,36 @@ var ControllerManager = class extends GenericController {
|
|
|
4071
4091
|
if (!this.component.el.isConnected && !this.component.preserveOnDisconnect)
|
|
4072
4092
|
void this.destroy().catch(console.error);
|
|
4073
4093
|
}
|
|
4094
|
+
/**
|
|
4095
|
+
* Make a @Prop() or @State() readonly (prevent overwriting default value).
|
|
4096
|
+
*
|
|
4097
|
+
* For internal properties, prefer TypeScript's "readonly" modifier instead.
|
|
4098
|
+
*
|
|
4099
|
+
* @example
|
|
4100
|
+
* // Defining readonly prop
|
|
4101
|
+
* @Prop({ reflect: true }) prop = this.manager.readonly('a');
|
|
4102
|
+
*
|
|
4103
|
+
* @example
|
|
4104
|
+
* // Overwriting readonly prop internally
|
|
4105
|
+
* this.manager.bypassReadonly(()=>{
|
|
4106
|
+
* this.prop = 'b';
|
|
4107
|
+
* });
|
|
4108
|
+
*
|
|
4109
|
+
*/
|
|
4074
4110
|
readonly(value) {
|
|
4075
|
-
return this.getSet(value, {
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4111
|
+
return this.getSet(value, { set: this._readonlySetter });
|
|
4112
|
+
}
|
|
4113
|
+
_readonlySetter(newValue, _oldValue, property) {
|
|
4114
|
+
if (Controller.internals.shouldBypassReadonly)
|
|
4115
|
+
return newValue;
|
|
4116
|
+
const isProp = getPropType(this.component, property) === "prop";
|
|
4117
|
+
if (isProp)
|
|
4118
|
+
index.forceUpdate(this.component);
|
|
4119
|
+
throw new Error(
|
|
4120
|
+
`Cannot assign to read-only property "${property}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(
|
|
4121
|
+
newValue
|
|
4122
|
+
)}"`
|
|
4123
|
+
);
|
|
4084
4124
|
}
|
|
4085
4125
|
/**
|
|
4086
4126
|
* Listen for any component's @State()/@Prop() change, and mutate it's
|
|
@@ -4108,10 +4148,15 @@ var ControllerManager = class extends GenericController {
|
|
|
4108
4148
|
*/
|
|
4109
4149
|
getSet(defaultValue, getSet) {
|
|
4110
4150
|
return this.component.manager.trackPropKey((name) => {
|
|
4151
|
+
var _a2;
|
|
4111
4152
|
if (name === void 0)
|
|
4112
4153
|
throw new Error(
|
|
4113
4154
|
"Unable to resolve get/set's prop name. Make sure you are using it like @Prop() someProp = this.manager.getSet(defaultValue,{get,set})"
|
|
4114
4155
|
);
|
|
4156
|
+
if (getSet.set === this._readonlySetter) {
|
|
4157
|
+
(_a2 = this.internals).readonlyProps ?? (_a2.readonlyProps = /* @__PURE__ */ new Set());
|
|
4158
|
+
this.internals.readonlyProps.add(name);
|
|
4159
|
+
}
|
|
4115
4160
|
const genericComponent = this.component;
|
|
4116
4161
|
const value = genericComponent[name];
|
|
4117
4162
|
if (value != null && value !== defaultValue && typeof getSet.set === "function" && getSet.initialSet !== false) {
|
|
@@ -4155,7 +4200,15 @@ function setProxy(controller, host, key, initialExports) {
|
|
|
4155
4200
|
if (controllerValueChanged && !hostValueChanged && controllerUpdatedExports)
|
|
4156
4201
|
genericHost[key] = controller.exports;
|
|
4157
4202
|
controller.watchExports(() => {
|
|
4158
|
-
if (genericHost[key]
|
|
4203
|
+
if (genericHost[key] === controller.exports)
|
|
4204
|
+
return;
|
|
4205
|
+
const manager = controller.component.manager;
|
|
4206
|
+
const isReadOnly = manager.internals.readonlyProps?.has(key) === true;
|
|
4207
|
+
if (isReadOnly)
|
|
4208
|
+
manager.bypassReadonly(() => {
|
|
4209
|
+
genericHost[key] = controller.exports;
|
|
4210
|
+
});
|
|
4211
|
+
else
|
|
4159
4212
|
genericHost[key] = controller.exports;
|
|
4160
4213
|
});
|
|
4161
4214
|
}
|
|
@@ -4184,7 +4237,7 @@ var FunctionalController = class extends Controller {
|
|
|
4184
4237
|
} else {
|
|
4185
4238
|
if (!constructorChangedExports || value !== void 0)
|
|
4186
4239
|
this.exports = value;
|
|
4187
|
-
super.catchUpLifecycle();
|
|
4240
|
+
queueMicrotask(() => super.catchUpLifecycle());
|
|
4188
4241
|
}
|
|
4189
4242
|
} catch (error) {
|
|
4190
4243
|
this._ready.reject(error);
|
|
@@ -4368,7 +4421,7 @@ async function getArcadeWorker(uri) {
|
|
|
4368
4421
|
* @returns arcade mode module
|
|
4369
4422
|
*/
|
|
4370
4423
|
async function getMode() {
|
|
4371
|
-
return await Promise.resolve().then(function () { return require('./arcade-mode-
|
|
4424
|
+
return await Promise.resolve().then(function () { return require('./arcade-mode-40fb726f.js'); });
|
|
4372
4425
|
}
|
|
4373
4426
|
// Register the language in Monaco
|
|
4374
4427
|
arcadeDefaults.languages.register({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
10
|
+
const index = require('./index-4c8629ad.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
13
|
Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -59,9 +59,9 @@ var v$2 = class {
|
|
|
59
59
|
this.last = 0;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
var b$
|
|
62
|
+
var b$3 = new v$2();
|
|
63
63
|
function S$1(n2, t5, e5, r3) {
|
|
64
|
-
r3 = r3 || b$
|
|
64
|
+
r3 = r3 || b$3;
|
|
65
65
|
const o4 = Math.max(0, r3.last - 10);
|
|
66
66
|
for (let u4 = o4; u4 < e5; ++u4)
|
|
67
67
|
if (n2[u4] === t5)
|
|
@@ -79,7 +79,7 @@ function j$3(n2, t5, e5 = n2.length, r3 = t5.length, o4, l2) {
|
|
|
79
79
|
I.clear();
|
|
80
80
|
for (let f4 = 0; f4 < r3; ++f4)
|
|
81
81
|
I.add(t5[f4]);
|
|
82
|
-
o4 = o4 || b$
|
|
82
|
+
o4 = o4 || b$3;
|
|
83
83
|
const u4 = Math.max(0, o4.last - 10);
|
|
84
84
|
for (let f4 = u4; f4 < e5; ++f4)
|
|
85
85
|
if (I.has(n2[f4]) && (l2?.push(n2[f4]), I.delete(n2[f4]), n2[f4] = n2[e5 - 1], --e5, --f4, 0 === I.size || 0 === e5))
|
|
@@ -131,7 +131,7 @@ function a2$1(t) {
|
|
|
131
131
|
return t.clone();
|
|
132
132
|
if (m2$1(t))
|
|
133
133
|
return t.map(a2$1);
|
|
134
|
-
if (b$
|
|
134
|
+
if (b$2(t))
|
|
135
135
|
return t.clone();
|
|
136
136
|
const e2 = {};
|
|
137
137
|
for (const r of Object.getOwnPropertyNames(t))
|
|
@@ -144,7 +144,7 @@ function y$3(t) {
|
|
|
144
144
|
function m2$1(t) {
|
|
145
145
|
return "function" == typeof t.map && "function" == typeof t.forEach;
|
|
146
146
|
}
|
|
147
|
-
function b$
|
|
147
|
+
function b$2(t) {
|
|
148
148
|
return "function" == typeof t.notifyChange && "function" == typeof t.watch;
|
|
149
149
|
}
|
|
150
150
|
function O(t) {
|
|
@@ -187,41 +187,41 @@ function o$1(r2, n2, t2) {
|
|
|
187
187
|
}
|
|
188
188
|
function e$2(r2, n2, t2) {
|
|
189
189
|
let o2 = t2;
|
|
190
|
-
for (const
|
|
190
|
+
for (const e2 of r2) {
|
|
191
191
|
if (null == o2)
|
|
192
192
|
return;
|
|
193
|
-
if (!(
|
|
193
|
+
if (!(e2 in o2)) {
|
|
194
194
|
if (!n2)
|
|
195
195
|
return;
|
|
196
|
-
o2[
|
|
196
|
+
o2[e2] = {};
|
|
197
197
|
}
|
|
198
|
-
o2 = o2[
|
|
198
|
+
o2 = o2[e2];
|
|
199
199
|
}
|
|
200
200
|
return o2;
|
|
201
201
|
}
|
|
202
202
|
function i$2(n2, t2, o2) {
|
|
203
|
-
return t2 ? Object.keys(t2).reduce((n3,
|
|
204
|
-
let u = n3[
|
|
205
|
-
return u === c ? n3 : void 0 === u ? (n3[
|
|
203
|
+
return t2 ? Object.keys(t2).reduce((n3, e2) => {
|
|
204
|
+
let u = n3[e2], c = t2[e2];
|
|
205
|
+
return u === c ? n3 : void 0 === u ? (n3[e2] = a2$1(c), n3) : (Array.isArray(c) || Array.isArray(n3) ? (u = u ? Array.isArray(u) ? n3[e2] = u.concat() : n3[e2] = [u] : n3[e2] = [], c && (Array.isArray(c) || (c = [c]), o2 ? c.forEach((r2) => {
|
|
206
206
|
u.includes(r2) || u.push(r2);
|
|
207
|
-
}) : n3[
|
|
207
|
+
}) : n3[e2] = c.concat())) : c && "object" == typeof c ? n3[e2] = i$2(u, c, o2) : n3.hasOwnProperty(e2) && !t2.hasOwnProperty(e2) || (n3[e2] = c), n3);
|
|
208
208
|
}, n2 || {}) : n2;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
// ../../../node_modules/@arcgis/core/support/revision.js
|
|
212
|
-
var
|
|
212
|
+
var b$1 = "20240405";
|
|
213
213
|
|
|
214
214
|
// ../../../node_modules/@arcgis/core/config.js
|
|
215
215
|
var r$3 = { apiKey: void 0, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: true, portalUrl: "https://www.arcgis.com", routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 6e4, trustedServers: [], useIdentity: true }, log: { interceptors: [], level: null } };
|
|
216
216
|
if (globalThis.esriConfig && (n$1(r$3, globalThis.esriConfig, true), delete r$3.has), !r$3.assetsPath) {
|
|
217
217
|
{
|
|
218
|
-
const
|
|
219
|
-
r$3.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${
|
|
218
|
+
const e2 = "4.30.0";
|
|
219
|
+
r$3.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${e2}-next.${b$1}/assets`;
|
|
220
220
|
}
|
|
221
221
|
r$3.defaultAssetsPath = r$3.assetsPath;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
function
|
|
224
|
+
function u$3(t2) {
|
|
225
225
|
let e2 = 0;
|
|
226
226
|
for (let n3 = 0; n3 < t2.length; n3++)
|
|
227
227
|
e2 = (e2 << 5) - e2 + t2.charCodeAt(n3), e2 |= 0;
|
|
@@ -326,7 +326,7 @@ function o2$2(e2, t2, ...r4) {
|
|
|
326
326
|
}
|
|
327
327
|
function s$2(...e2) {
|
|
328
328
|
const r4 = (e3, t2) => "object" != typeof t2 || Array.isArray(t2) ? t2 : "[Object]";
|
|
329
|
-
return
|
|
329
|
+
return u$3(JSON.stringify(e2, r4));
|
|
330
330
|
}
|
|
331
331
|
n2$2._loggers = /* @__PURE__ */ new Map(), n2$2._tickCounter = 0, n2$2._tickCounterScheduled = false, n2$2._throttlingDisabled = false;
|
|
332
332
|
|
|
@@ -574,12 +574,12 @@ function s(s3, e2) {
|
|
|
574
574
|
return s3.replaceAll(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g, (s4, r) => {
|
|
575
575
|
if ("" === r)
|
|
576
576
|
return "$";
|
|
577
|
-
const
|
|
578
|
-
return (
|
|
577
|
+
const i = t$1(r, e2);
|
|
578
|
+
return (i ?? "").toString();
|
|
579
579
|
});
|
|
580
580
|
}
|
|
581
581
|
var e = class {
|
|
582
|
-
constructor(t2, e2, r) {
|
|
582
|
+
constructor(t2, e2, r = void 0) {
|
|
583
583
|
this.name = t2, this.details = r, this.message = (e2 && s(e2, r)) ?? "";
|
|
584
584
|
}
|
|
585
585
|
toString() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c2ec41d1.js');
|
|
9
|
+
require('./index-4c8629ad.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const chunkK5OO3GAM = require('./chunk-K5OO3GAM-c5c3bfaa.js');
|
|
9
9
|
|
|
10
10
|
// ../../../node_modules/@arcgis/core/core/jsonMap.js
|
|
11
11
|
var n$1 = class {
|
|
12
12
|
constructor(n2, i2 = { ignoreUnknown: false, useNumericKeys: false }) {
|
|
13
13
|
this._jsonToAPI = n2, this._options = i2, this.apiValues = [], this.jsonValues = [], this._apiToJSON = t(n2), this.apiValues = s$1(this._apiToJSON), this.jsonValues = s$1(this._jsonToAPI), this.read = (o2) => this.fromJSON(o2), this.write = (n3, t2, s2) => {
|
|
14
14
|
const i3 = this.toJSON(n3);
|
|
15
|
-
void 0 !== i3 &&
|
|
15
|
+
void 0 !== i3 && chunkK5OO3GAM.o(s2, i3, t2);
|
|
16
16
|
}, this.write.isJSONMapWriter = true;
|
|
17
17
|
}
|
|
18
18
|
toJSON(o2) {
|
|
@@ -44,7 +44,7 @@ function s$1(o2) {
|
|
|
44
44
|
// ../../../node_modules/@arcgis/core/core/accessorSupport/decorators/enumeration.js
|
|
45
45
|
function o$1(o2, r = {}) {
|
|
46
46
|
const a = o2 instanceof n$1 ? o2 : new n$1(o2, r), l = { type: r?.ignoreUnknown ?? 1 ? a.apiValues : String, json: { type: a.jsonValues, read: !r?.readOnly && { reader: a.read }, write: { writer: a.write } } };
|
|
47
|
-
return void 0 !== r?.readOnly && (l.readOnly = !!r.readOnly), void 0 !== r?.default && (l.json.default = r.default), void 0 !== r?.name && (l.json.name = r.name), void 0 !== r?.nonNullable && (l.nonNullable = r.nonNullable),
|
|
47
|
+
return void 0 !== r?.readOnly && (l.readOnly = !!r.readOnly), void 0 !== r?.default && (l.json.default = r.default), void 0 !== r?.name && (l.json.name = r.name), void 0 !== r?.nonNullable && (l.nonNullable = r.nonNullable), chunkK5OO3GAM.y(l);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
// ../../../node_modules/@arcgis/core/core/accessorSupport/decorators/reader.js
|
|
@@ -53,7 +53,7 @@ function o(o2, e, t) {
|
|
|
53
53
|
return void 0 === e || Array.isArray(e) ? (c = o2, t = e, a = [void 0]) : (c = e, a = Array.isArray(o2) ? o2 : [o2]), (o3, e2) => {
|
|
54
54
|
const d2 = o3.constructor.prototype;
|
|
55
55
|
a.forEach((a2) => {
|
|
56
|
-
const s =
|
|
56
|
+
const s = chunkK5OO3GAM.d2(o3, a2, c);
|
|
57
57
|
s.read && "object" == typeof s.read || (s.read = {}), s.read.reader = d2[e2], t && (s.read.source = (s.read.source || []).concat(t));
|
|
58
58
|
});
|
|
59
59
|
};
|
|
@@ -65,7 +65,7 @@ function r$1(r2, o, e) {
|
|
|
65
65
|
return void 0 === o ? (n = r2, i = [void 0]) : "string" != typeof o ? (n = r2, i = [void 0], e = o) : (n = o, i = Array.isArray(r2) ? r2 : [r2]), (r3, o2) => {
|
|
66
66
|
const p = r3.constructor.prototype;
|
|
67
67
|
for (const c of i) {
|
|
68
|
-
const i2 =
|
|
68
|
+
const i2 = chunkK5OO3GAM.d2(r3, c, n);
|
|
69
69
|
i2.write && "object" == typeof i2.write || (i2.write = {}), e && (i2.write.target = e), i2.write.writer = p[o2];
|
|
70
70
|
}
|
|
71
71
|
};
|
|
@@ -74,7 +74,7 @@ function r$1(r2, o, e) {
|
|
|
74
74
|
// ../../../node_modules/@arcgis/core/core/accessorSupport/decorators/cast.js
|
|
75
75
|
var r = Object.prototype.toString;
|
|
76
76
|
function o2(n) {
|
|
77
|
-
const r2 = "__accessorMetadata__" in n ?
|
|
77
|
+
const r2 = "__accessorMetadata__" in n ? chunkK5OO3GAM.d(n) : n;
|
|
78
78
|
return function(...t) {
|
|
79
79
|
if (t.push(r2), "number" == typeof t[2])
|
|
80
80
|
throw new Error("Using @cast has parameter decorator is not supported since 4.16");
|
|
@@ -82,11 +82,11 @@ function o2(n) {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
function e(t, r2, o3, e2) {
|
|
85
|
-
|
|
85
|
+
chunkK5OO3GAM.o5(t, r2).cast = e2;
|
|
86
86
|
}
|
|
87
87
|
function i(t) {
|
|
88
88
|
return (r2, o3) => {
|
|
89
|
-
|
|
89
|
+
chunkK5OO3GAM.o5(r2, t).cast = r2[o3];
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
function s(...t) {
|
|
@@ -104,14 +104,14 @@ function n(n2) {
|
|
|
104
104
|
// ../../../node_modules/@arcgis/core/core/accessorSupport/decorators/aliasOf.js
|
|
105
105
|
function o3(o4, t) {
|
|
106
106
|
const e = t ? { ...t, source: o4 } : o4;
|
|
107
|
-
return
|
|
107
|
+
return chunkK5OO3GAM.y({ aliasOf: e });
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
exports.ensureRange =
|
|
111
|
-
exports.finalizeClass =
|
|
112
|
-
exports.property =
|
|
113
|
-
exports.propertyJSONMeta =
|
|
114
|
-
exports.subclass =
|
|
110
|
+
exports.ensureRange = chunkK5OO3GAM.j2;
|
|
111
|
+
exports.finalizeClass = chunkK5OO3GAM.p6;
|
|
112
|
+
exports.property = chunkK5OO3GAM.y;
|
|
113
|
+
exports.propertyJSONMeta = chunkK5OO3GAM.d2;
|
|
114
|
+
exports.subclass = chunkK5OO3GAM.a7;
|
|
115
115
|
exports.aliasOf = o3;
|
|
116
116
|
exports.cast = s;
|
|
117
117
|
exports.enumeration = o$1;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c2ec41d1.js');
|
|
9
|
+
require('./index-4c8629ad.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c2ec41d1.js');
|
|
9
|
+
require('./index-4c8629ad.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
11
|
-
require('./index-
|
|
10
|
+
const arcadeDefaults = require('./arcade-defaults-c2ec41d1.js');
|
|
11
|
+
require('./index-4c8629ad.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const typescript = require('./typescript-
|
|
9
|
-
require('./arcade-defaults-
|
|
10
|
-
require('./index-
|
|
8
|
+
const typescript = require('./typescript-36035fea.js');
|
|
9
|
+
require('./arcade-defaults-c2ec41d1.js');
|
|
10
|
+
require('./index-4c8629ad.js');
|
|
11
11
|
|
|
12
12
|
/*!-----------------------------------------------------------------------------
|
|
13
13
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c2ec41d1.js');
|
|
9
|
+
require('./index-4c8629ad.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
10
|
+
const index = require('./index-4c8629ad.js');
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = (win, options) => {
|
|
13
13
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c2ec41d1.js');
|
|
9
|
+
require('./index-4c8629ad.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c2ec41d1.js');
|
|
9
|
+
require('./index-4c8629ad.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { v as v$1, S, j, r as r$1, y, a as a7, o as o3, I, b as o2$1, n as n2$1, t as t2, e as e$3, h as has, s as s3$1, i as i$1, f as f$1, c as j$1, m as m$1, p as p$1, k as k2$1, g as g$1, d as a2, u as u$1, O } from './chunk-
|
|
6
|
+
import { v as v$1, S, j, r as r$1, y, a as a7, o as o3, I, b as o2$1, n as n2$1, t as t2, e as e$3, h as has, s as s3$1, i as i$1, f as f$1, c as j$1, m as m$1, p as p$1, k as k2$1, g as g$1, d as a2, u as u$1, O } from './chunk-K5OO3GAM.js';
|
|
7
7
|
|
|
8
8
|
// ../../../node_modules/@arcgis/core/core/ObjectPool.js
|
|
9
9
|
function t$3(t2) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, a as colorizedAllCodeElements } from './markdown.js';
|
|
8
8
|
import { f as filterCollection } from './utilities.js';
|
|
9
9
|
import { Uri } from 'monaco-editor';
|
|
10
|
-
import { u as useControllerManager, a as useT9n } from './chunk-
|
|
10
|
+
import { u as useControllerManager, a as useT9n } from './chunk-CUKUHPDJ.js';
|
|
11
11
|
import { W, o as oe } from './index2.js';
|
|
12
12
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
13
13
|
import { g as getArcadeWorker } from './arcade-contribution.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
import { editor, languages } from 'monaco-editor';
|
|
7
7
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|