@arcgis/coding-components 5.2.0-next.22 → 5.2.0-next.24
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.
|
@@ -17411,7 +17411,7 @@ $.add = (t, e, r, n) => {
|
|
|
17411
17411
|
}), $.add("wasm-simd", () => {
|
|
17412
17412
|
const t = [0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11];
|
|
17413
17413
|
return WebAssembly.validate(new Uint8Array(t));
|
|
17414
|
-
}), $.add("esri-atomics", "Atomics" in er), $.add("esri-workers", "Worker" in er), $.add("web-feat:cache", "caches" in er), $.add("esri-workers-arraybuffer-transfer", !$("safari") || Number($("safari")) >= 12), $.add("min-workers-pool-size", 2), $.add("max-workers-pool-size", $("esri-mobile") ? 3 : 8), $.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), $.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), $.add("featurelayer-animation-enabled", !0), $.add("featurelayer-hybrid-tile-enabled", !0), $.add("featurelayer-snapshot-enabled", !0), $.add("featurelayer-snapshot-initial-tolerance", 0), $.add("featurelayer-snapshot-point-min-threshold", 8e4), $.add("featurelayer-snapshot-point-max-threshold", 4e5), $.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), $.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), $.add("featurelayer-snapshot-polygon-min-threshold", 2e3), $.add("featurelayer-snapshot-polygon-max-threshold", 2e3), $.add("featurelayer-snapshot-polyline-min-threshold", 2e3), $.add("featurelayer-snapshot-polyline-max-threshold", 2e3), $.add("featurelayer-snapshot-max-vertex-count", 25e4), $.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), $.add("featurelayer-snapshot-concurrency", 4), $.add("featurelayer-snapshot-allow-editable", !1), $.add("featurelayer-snapshot-coverage", 0.1), $.add("featurelayer-query-max-depth", 4), $.add("featurelayer-query-max-page-size", 8e3), $.add("featurelayer-query-pausing-enabled", !1), $.add("featurelayer-query-tile-concurrency", 4), $.add("featurelayer-query-tile-max-features", 6e5), $.add("featurelayer-advanced-symbols", !1), $.add("featurelayer-pbf", !0), $.add("featurelayer-pbf-statistics", !1), $.add("featurelayer-pbf-true-curves", !0), $.add("feature-layers-workers", !0), $.add("feature-polyline-generalization-factor", 1), $.add("featurelayer-relative-time-queries-enabled", !0), $.add("featurelayer-relative-time-queries-bin-window-public", 1), $.add("featurelayer-relative-time-queries-bin-window-private", 60), $.add("parquetlayer-full-query-feature-count", 5e5), $.add("parquetlayer-persistence-enabled", !
|
|
17414
|
+
}), $.add("esri-atomics", "Atomics" in er), $.add("esri-workers", "Worker" in er), $.add("web-feat:cache", "caches" in er), $.add("esri-workers-arraybuffer-transfer", !$("safari") || Number($("safari")) >= 12), $.add("min-workers-pool-size", 2), $.add("max-workers-pool-size", $("esri-mobile") ? 3 : 8), $.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), $.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), $.add("featurelayer-animation-enabled", !0), $.add("featurelayer-hybrid-tile-enabled", !0), $.add("featurelayer-snapshot-enabled", !0), $.add("featurelayer-snapshot-initial-tolerance", 0), $.add("featurelayer-snapshot-point-min-threshold", 8e4), $.add("featurelayer-snapshot-point-max-threshold", 4e5), $.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), $.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), $.add("featurelayer-snapshot-polygon-min-threshold", 2e3), $.add("featurelayer-snapshot-polygon-max-threshold", 2e3), $.add("featurelayer-snapshot-polyline-min-threshold", 2e3), $.add("featurelayer-snapshot-polyline-max-threshold", 2e3), $.add("featurelayer-snapshot-max-vertex-count", 25e4), $.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), $.add("featurelayer-snapshot-concurrency", 4), $.add("featurelayer-snapshot-allow-editable", !1), $.add("featurelayer-snapshot-coverage", 0.1), $.add("featurelayer-query-max-depth", 4), $.add("featurelayer-query-max-page-size", 8e3), $.add("featurelayer-query-pausing-enabled", !1), $.add("featurelayer-query-tile-concurrency", 4), $.add("featurelayer-query-tile-max-features", 6e5), $.add("featurelayer-advanced-symbols", !1), $.add("featurelayer-pbf", !0), $.add("featurelayer-pbf-statistics", !1), $.add("featurelayer-pbf-true-curves", !0), $.add("feature-layers-workers", !0), $.add("feature-polyline-generalization-factor", 1), $.add("featurelayer-relative-time-queries-enabled", !0), $.add("featurelayer-relative-time-queries-bin-window-public", 1), $.add("featurelayer-relative-time-queries-bin-window-private", 60), $.add("parquetlayer-full-query-feature-count", 5e5), $.add("parquetlayer-persistence-enabled", !0), $.add("parquetlayer-cache-enabled", !0), $.add("mapview-transitions-duration", 200), $.add("mapview-essential-goto-duration", 200), $.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), $.add("mapserver-pbf-version-support", 10.81), $.add("mapservice-popup-identify-max-tolerance", 20), $.add("request-queue-concurrency-global", 64), $.add("request-queue-concurrency-hosted", 16), $.add("request-queue-concurrency-non-hosted", 16), $.add("curve-densification-coarse-segments", 128), $.add("curve-densification-max-segments", 2e3), $.add("curve-densification-min-segments", 3), $.add("curve-densification-pixel-deviation", 0.5), $.add("view-readyState-waiting-delay", 1e3), $.add("gradient-depth-bias", 0.01), $.add("gradient-depth-epsilon", 1e-8), $.add("enable-feature:analysis-drawtool-line-of-sight", !1), $.add("enable-feature:analysis-drawtool-line-of-sight-placement-visuals", !1), $.add("enable-feature:esri-compress-textures", !0), $.add("enable-feature:analysis-new-viewshed-tool", !1), $.add("enable-feature:basemap-groundlayers", !0), $.add("enable-feature:im-shading", !0), $.add("enable-feature:im-vertex-normals", !0), !$("host-webworker") && $("host-browser") && ($.add("esri-csp-restrictions", () => {
|
|
17415
17415
|
try {
|
|
17416
17416
|
new Function();
|
|
17417
17417
|
} catch {
|
|
@@ -18278,7 +18278,7 @@ function se(t, e, r, n) {
|
|
|
18278
18278
|
const cr = { apiKey: void 0, apiKeys: { scopes: [] }, 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: !0, portalUrl: "https://www.arcgis.com", respectPrefersReducedMotion: !0, 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: [], internalInterceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 62e3, trustedServers: [], useIdentity: !0 }, log: { interceptors: [], level: null } };
|
|
18279
18279
|
if (globalThis.esriConfig && (K4(cr, globalThis.esriConfig, !0), delete cr.has), !cr.assetsPath) {
|
|
18280
18280
|
{
|
|
18281
|
-
const t = "5.2.0-next.
|
|
18281
|
+
const t = "5.2.0-next.28";
|
|
18282
18282
|
cr.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${t}/assets`;
|
|
18283
18283
|
}
|
|
18284
18284
|
cr.defaultAssetsPath = cr.assetsPath;
|
|
@@ -6,6 +6,7 @@ import type WebMap from "@arcgis/core/WebMap.js";
|
|
|
6
6
|
import type WebScene from "@arcgis/core/WebScene.js";
|
|
7
7
|
import type Map from "@arcgis/core/Map.js";
|
|
8
8
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
9
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
9
10
|
import type { Diagnostic as ArcadeLanguageServiceDiagnostic } from "@arcgis/arcade-languageservice";
|
|
10
11
|
import type { ApiItem, BundleType, ProfileId } from "@arcgis/languages-api-utils";
|
|
11
12
|
import type { ProfileVariableInstances, ArcadeServices } from "@arcgis/core/arcade.js";
|
|
@@ -378,8 +379,15 @@ export interface IUrlDefinition {
|
|
|
378
379
|
url?: string | null;
|
|
379
380
|
}
|
|
380
381
|
|
|
382
|
+
/** Optional metadata for a FieldsDefinition. This metadata is used by the editor to provide a better user experience. */
|
|
383
|
+
export interface FieldsDefinitionMetadata {
|
|
384
|
+
/** The title that will be used within the variables panel. */
|
|
385
|
+
title?: Layer["title"];
|
|
386
|
+
}
|
|
387
|
+
|
|
381
388
|
/** The most basic way to define a feature or feature set is by passing a collection of fields */
|
|
382
|
-
export type FieldsDefinition =
|
|
389
|
+
export type FieldsDefinition = FieldsDefinitionMetadata
|
|
390
|
+
& Pick<FeatureLayer, "fields">;
|
|
383
391
|
|
|
384
392
|
/** @deprecated since 5.1. Use FieldsDefinition instead. */
|
|
385
393
|
export type IFieldsDefinition = FieldsDefinition;
|