@arcgis/core-adapter 4.33.0-next.96 → 4.33.0-next.97
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/index.cjs +25 -7
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +25 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -84,6 +84,17 @@ async function newColor(color) {
|
|
|
84
84
|
const ModConstructor = await importColor();
|
|
85
85
|
return new ModConstructor(color);
|
|
86
86
|
}
|
|
87
|
+
async function importAnalysisAnalysis() {
|
|
88
|
+
if (isAMD) {
|
|
89
|
+
return await window.$arcgis.import("esri/analysis/Analysis");
|
|
90
|
+
}
|
|
91
|
+
const module2 = await import("@arcgis/core/analysis/Analysis.js");
|
|
92
|
+
return isDefaultModule(module2) ? module2.default : module2;
|
|
93
|
+
}
|
|
94
|
+
async function newAnalysisAnalysis(properties) {
|
|
95
|
+
const ModConstructor = await importAnalysisAnalysis();
|
|
96
|
+
return new ModConstructor(properties);
|
|
97
|
+
}
|
|
87
98
|
async function importAnalysisAreaMeasurementAnalysis() {
|
|
88
99
|
if (isAMD) {
|
|
89
100
|
return await window.$arcgis.import("esri/analysis/AreaMeasurementAnalysis");
|
|
@@ -6750,6 +6761,17 @@ async function newWebsceneVirtualLighting(properties) {
|
|
|
6750
6761
|
const ModConstructor = await importWebsceneVirtualLighting();
|
|
6751
6762
|
return new ModConstructor(properties);
|
|
6752
6763
|
}
|
|
6764
|
+
async function importWebsceneSupportSlideElements() {
|
|
6765
|
+
if (isAMD) {
|
|
6766
|
+
return await window.$arcgis.import("esri/webscene/support/SlideElements");
|
|
6767
|
+
}
|
|
6768
|
+
const module2 = await import("@arcgis/core/webscene/support/SlideElements.js");
|
|
6769
|
+
return isDefaultModule(module2) ? module2.default : module2;
|
|
6770
|
+
}
|
|
6771
|
+
async function newWebsceneSupportSlideElements(properties) {
|
|
6772
|
+
const ModConstructor = await importWebsceneSupportSlideElements();
|
|
6773
|
+
return new ModConstructor(properties);
|
|
6774
|
+
}
|
|
6753
6775
|
async function importWidgetsAreaMeasurement2D() {
|
|
6754
6776
|
if (isAMD) {
|
|
6755
6777
|
return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");
|
|
@@ -10270,13 +10292,6 @@ async function importViewsSupportColorUtils() {
|
|
|
10270
10292
|
const module2 = await import("@arcgis/core/views/support/colorUtils.js");
|
|
10271
10293
|
return isDefaultModule(module2) ? module2.default : module2;
|
|
10272
10294
|
}
|
|
10273
|
-
async function importWebsceneSupportSlideElements() {
|
|
10274
|
-
if (isAMD) {
|
|
10275
|
-
return await window.$arcgis.import("esri/webscene/support/SlideElements");
|
|
10276
|
-
}
|
|
10277
|
-
const module2 = await import("@arcgis/core/webscene/support/SlideElements.js");
|
|
10278
|
-
return isDefaultModule(module2) ? module2.default : module2;
|
|
10279
|
-
}
|
|
10280
10295
|
async function importWidgetsBatchAttributeFormBatchAttributeFormViewModel() {
|
|
10281
10296
|
if (isAMD) {
|
|
10282
10297
|
return await window.$arcgis.import("esri/widgets/BatchAttributeForm/BatchAttributeFormViewModel");
|
|
@@ -10424,6 +10439,7 @@ async function importApplicationsWebEditorSketchUtils() {
|
|
|
10424
10439
|
const module2 = await import("@arcgis/core/applications/WebEditor/sketchUtils.js");
|
|
10425
10440
|
return isDefaultModule(module2) ? module2.default : module2;
|
|
10426
10441
|
}
|
|
10442
|
+
exports.importAnalysisAnalysis = importAnalysisAnalysis;
|
|
10427
10443
|
exports.importAnalysisAreaMeasurementAnalysis = importAnalysisAreaMeasurementAnalysis;
|
|
10428
10444
|
exports.importAnalysisDimensionAnalysis = importAnalysisDimensionAnalysis;
|
|
10429
10445
|
exports.importAnalysisDimensionSimpleStyle = importAnalysisDimensionSimpleStyle;
|
|
@@ -11446,6 +11462,7 @@ exports.importWidgetsWidget = importWidgetsWidget;
|
|
|
11446
11462
|
exports.importWidgetsZoom = importWidgetsZoom;
|
|
11447
11463
|
exports.importWidgetsZoomZoomViewModel = importWidgetsZoomZoomViewModel;
|
|
11448
11464
|
exports.loadUndocumentedModule = loadUndocumentedModule;
|
|
11465
|
+
exports.newAnalysisAnalysis = newAnalysisAnalysis;
|
|
11449
11466
|
exports.newAnalysisAreaMeasurementAnalysis = newAnalysisAreaMeasurementAnalysis;
|
|
11450
11467
|
exports.newAnalysisDimensionAnalysis = newAnalysisDimensionAnalysis;
|
|
11451
11468
|
exports.newAnalysisDimensionSimpleStyle = newAnalysisDimensionSimpleStyle;
|
|
@@ -12055,6 +12072,7 @@ exports.newWebscenePresentation = newWebscenePresentation;
|
|
|
12055
12072
|
exports.newWebsceneSlide = newWebsceneSlide;
|
|
12056
12073
|
exports.newWebsceneSlideLegendInfo = newWebsceneSlideLegendInfo;
|
|
12057
12074
|
exports.newWebsceneSunLighting = newWebsceneSunLighting;
|
|
12075
|
+
exports.newWebsceneSupportSlideElements = newWebsceneSupportSlideElements;
|
|
12058
12076
|
exports.newWebsceneVirtualLighting = newWebsceneVirtualLighting;
|
|
12059
12077
|
exports.newWidgetsAreaMeasurement2D = newWidgetsAreaMeasurement2D;
|
|
12060
12078
|
exports.newWidgetsAreaMeasurement2DAreaMeasurement2DViewModel = newWidgetsAreaMeasurement2DAreaMeasurement2DViewModel;
|
package/dist/index.d.cts
CHANGED
|
@@ -23,6 +23,8 @@ export declare function importCameraLayout(): Promise<typeof __esri.CameraLayout
|
|
|
23
23
|
export declare function newCameraLayout(properties: __esri.CameraLayoutProperties): Promise<__esri.CameraLayout>;
|
|
24
24
|
export declare function importColor(): Promise<typeof __esri.Color>;
|
|
25
25
|
export declare function newColor(color: string | number[] | number[] | __esri.RGBA): Promise<__esri.Color>;
|
|
26
|
+
export declare function importAnalysisAnalysis(): Promise<typeof __esri.Analysis>;
|
|
27
|
+
export declare function newAnalysisAnalysis(properties: __esri.AnalysisProperties): Promise<__esri.Analysis>;
|
|
26
28
|
export declare function importAnalysisAreaMeasurementAnalysis(): Promise<typeof __esri.AreaMeasurementAnalysis>;
|
|
27
29
|
export declare function newAnalysisAreaMeasurementAnalysis(properties: __esri.AreaMeasurementAnalysisProperties): Promise<__esri.AreaMeasurementAnalysis>;
|
|
28
30
|
export declare function importAnalysisDimensionAnalysis(): Promise<typeof __esri.DimensionAnalysis>;
|
|
@@ -1235,6 +1237,8 @@ export declare function importWebsceneSunLighting(): Promise<typeof __esri.websc
|
|
|
1235
1237
|
export declare function newWebsceneSunLighting(properties: __esri.websceneSunLightingProperties): Promise<__esri.websceneSunLighting>;
|
|
1236
1238
|
export declare function importWebsceneVirtualLighting(): Promise<typeof __esri.websceneVirtualLighting>;
|
|
1237
1239
|
export declare function newWebsceneVirtualLighting(properties: __esri.websceneVirtualLightingProperties): Promise<__esri.websceneVirtualLighting>;
|
|
1240
|
+
export declare function importWebsceneSupportSlideElements(): Promise<typeof __esri.SlideElements>;
|
|
1241
|
+
export declare function newWebsceneSupportSlideElements(properties: __esri.SlideElementsProperties): Promise<__esri.SlideElements>;
|
|
1238
1242
|
export declare function importWidgetsAreaMeasurement2D(): Promise<typeof __esri.AreaMeasurement2D>;
|
|
1239
1243
|
export declare function newWidgetsAreaMeasurement2D(properties: __esri.AreaMeasurement2DProperties): Promise<__esri.AreaMeasurement2D>;
|
|
1240
1244
|
export declare function importWidgetsAreaMeasurement2DAreaMeasurement2DViewModel(): Promise<typeof __esri.AreaMeasurement2DViewModel>;
|
|
@@ -1824,7 +1828,6 @@ export declare function importViews3dSupportLayerPerformanceInfo(): Promise<type
|
|
|
1824
1828
|
export declare function importViews3dSupportSceneViewPerformanceInfo(): Promise<typeof __esri.SceneViewPerformanceInfo>;
|
|
1825
1829
|
export declare function importViewsAnalysisLengthDimensionResult(): Promise<typeof __esri.LengthDimensionResult>;
|
|
1826
1830
|
export declare function importViewsSupportColorUtils(): Promise<typeof __esri.colorUtils>;
|
|
1827
|
-
export declare function importWebsceneSupportSlideElements(): Promise<typeof __esri.SlideElements>;
|
|
1828
1831
|
export declare function importWidgetsBatchAttributeFormBatchAttributeFormViewModel(): Promise<typeof __esri.BatchAttributeFormViewModel>;
|
|
1829
1832
|
export declare function importWidgetsSmartMappingSupportUtils(): Promise<typeof __esri.smartMappingSupportUtils>;
|
|
1830
1833
|
export declare function importWidgetsSupportWidget(): Promise<typeof __esri.widget>;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export declare function importCameraLayout(): Promise<typeof __esri.CameraLayout
|
|
|
23
23
|
export declare function newCameraLayout(properties: __esri.CameraLayoutProperties): Promise<__esri.CameraLayout>;
|
|
24
24
|
export declare function importColor(): Promise<typeof __esri.Color>;
|
|
25
25
|
export declare function newColor(color: string | number[] | number[] | __esri.RGBA): Promise<__esri.Color>;
|
|
26
|
+
export declare function importAnalysisAnalysis(): Promise<typeof __esri.Analysis>;
|
|
27
|
+
export declare function newAnalysisAnalysis(properties: __esri.AnalysisProperties): Promise<__esri.Analysis>;
|
|
26
28
|
export declare function importAnalysisAreaMeasurementAnalysis(): Promise<typeof __esri.AreaMeasurementAnalysis>;
|
|
27
29
|
export declare function newAnalysisAreaMeasurementAnalysis(properties: __esri.AreaMeasurementAnalysisProperties): Promise<__esri.AreaMeasurementAnalysis>;
|
|
28
30
|
export declare function importAnalysisDimensionAnalysis(): Promise<typeof __esri.DimensionAnalysis>;
|
|
@@ -1235,6 +1237,8 @@ export declare function importWebsceneSunLighting(): Promise<typeof __esri.websc
|
|
|
1235
1237
|
export declare function newWebsceneSunLighting(properties: __esri.websceneSunLightingProperties): Promise<__esri.websceneSunLighting>;
|
|
1236
1238
|
export declare function importWebsceneVirtualLighting(): Promise<typeof __esri.websceneVirtualLighting>;
|
|
1237
1239
|
export declare function newWebsceneVirtualLighting(properties: __esri.websceneVirtualLightingProperties): Promise<__esri.websceneVirtualLighting>;
|
|
1240
|
+
export declare function importWebsceneSupportSlideElements(): Promise<typeof __esri.SlideElements>;
|
|
1241
|
+
export declare function newWebsceneSupportSlideElements(properties: __esri.SlideElementsProperties): Promise<__esri.SlideElements>;
|
|
1238
1242
|
export declare function importWidgetsAreaMeasurement2D(): Promise<typeof __esri.AreaMeasurement2D>;
|
|
1239
1243
|
export declare function newWidgetsAreaMeasurement2D(properties: __esri.AreaMeasurement2DProperties): Promise<__esri.AreaMeasurement2D>;
|
|
1240
1244
|
export declare function importWidgetsAreaMeasurement2DAreaMeasurement2DViewModel(): Promise<typeof __esri.AreaMeasurement2DViewModel>;
|
|
@@ -1824,7 +1828,6 @@ export declare function importViews3dSupportLayerPerformanceInfo(): Promise<type
|
|
|
1824
1828
|
export declare function importViews3dSupportSceneViewPerformanceInfo(): Promise<typeof __esri.SceneViewPerformanceInfo>;
|
|
1825
1829
|
export declare function importViewsAnalysisLengthDimensionResult(): Promise<typeof __esri.LengthDimensionResult>;
|
|
1826
1830
|
export declare function importViewsSupportColorUtils(): Promise<typeof __esri.colorUtils>;
|
|
1827
|
-
export declare function importWebsceneSupportSlideElements(): Promise<typeof __esri.SlideElements>;
|
|
1828
1831
|
export declare function importWidgetsBatchAttributeFormBatchAttributeFormViewModel(): Promise<typeof __esri.BatchAttributeFormViewModel>;
|
|
1829
1832
|
export declare function importWidgetsSmartMappingSupportUtils(): Promise<typeof __esri.smartMappingSupportUtils>;
|
|
1830
1833
|
export declare function importWidgetsSupportWidget(): Promise<typeof __esri.widget>;
|
package/dist/index.js
CHANGED
|
@@ -60,6 +60,17 @@ async function newColor(color) {
|
|
|
60
60
|
const ModConstructor = await importColor();
|
|
61
61
|
return new ModConstructor(color);
|
|
62
62
|
}
|
|
63
|
+
async function importAnalysisAnalysis() {
|
|
64
|
+
if (isAMD) {
|
|
65
|
+
return await window.$arcgis.import("esri/analysis/Analysis");
|
|
66
|
+
}
|
|
67
|
+
const module = await import("@arcgis/core/analysis/Analysis.js");
|
|
68
|
+
return isDefaultModule(module) ? module.default : module;
|
|
69
|
+
}
|
|
70
|
+
async function newAnalysisAnalysis(properties) {
|
|
71
|
+
const ModConstructor = await importAnalysisAnalysis();
|
|
72
|
+
return new ModConstructor(properties);
|
|
73
|
+
}
|
|
63
74
|
async function importAnalysisAreaMeasurementAnalysis() {
|
|
64
75
|
if (isAMD) {
|
|
65
76
|
return await window.$arcgis.import("esri/analysis/AreaMeasurementAnalysis");
|
|
@@ -6726,6 +6737,17 @@ async function newWebsceneVirtualLighting(properties) {
|
|
|
6726
6737
|
const ModConstructor = await importWebsceneVirtualLighting();
|
|
6727
6738
|
return new ModConstructor(properties);
|
|
6728
6739
|
}
|
|
6740
|
+
async function importWebsceneSupportSlideElements() {
|
|
6741
|
+
if (isAMD) {
|
|
6742
|
+
return await window.$arcgis.import("esri/webscene/support/SlideElements");
|
|
6743
|
+
}
|
|
6744
|
+
const module = await import("@arcgis/core/webscene/support/SlideElements.js");
|
|
6745
|
+
return isDefaultModule(module) ? module.default : module;
|
|
6746
|
+
}
|
|
6747
|
+
async function newWebsceneSupportSlideElements(properties) {
|
|
6748
|
+
const ModConstructor = await importWebsceneSupportSlideElements();
|
|
6749
|
+
return new ModConstructor(properties);
|
|
6750
|
+
}
|
|
6729
6751
|
async function importWidgetsAreaMeasurement2D() {
|
|
6730
6752
|
if (isAMD) {
|
|
6731
6753
|
return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");
|
|
@@ -10246,13 +10268,6 @@ async function importViewsSupportColorUtils() {
|
|
|
10246
10268
|
const module = await import("@arcgis/core/views/support/colorUtils.js");
|
|
10247
10269
|
return isDefaultModule(module) ? module.default : module;
|
|
10248
10270
|
}
|
|
10249
|
-
async function importWebsceneSupportSlideElements() {
|
|
10250
|
-
if (isAMD) {
|
|
10251
|
-
return await window.$arcgis.import("esri/webscene/support/SlideElements");
|
|
10252
|
-
}
|
|
10253
|
-
const module = await import("@arcgis/core/webscene/support/SlideElements.js");
|
|
10254
|
-
return isDefaultModule(module) ? module.default : module;
|
|
10255
|
-
}
|
|
10256
10271
|
async function importWidgetsBatchAttributeFormBatchAttributeFormViewModel() {
|
|
10257
10272
|
if (isAMD) {
|
|
10258
10273
|
return await window.$arcgis.import("esri/widgets/BatchAttributeForm/BatchAttributeFormViewModel");
|
|
@@ -10401,6 +10416,7 @@ async function importApplicationsWebEditorSketchUtils() {
|
|
|
10401
10416
|
return isDefaultModule(module) ? module.default : module;
|
|
10402
10417
|
}
|
|
10403
10418
|
export {
|
|
10419
|
+
importAnalysisAnalysis,
|
|
10404
10420
|
importAnalysisAreaMeasurementAnalysis,
|
|
10405
10421
|
importAnalysisDimensionAnalysis,
|
|
10406
10422
|
importAnalysisDimensionSimpleStyle,
|
|
@@ -11423,6 +11439,7 @@ export {
|
|
|
11423
11439
|
importWidgetsZoom,
|
|
11424
11440
|
importWidgetsZoomZoomViewModel,
|
|
11425
11441
|
loadUndocumentedModule,
|
|
11442
|
+
newAnalysisAnalysis,
|
|
11426
11443
|
newAnalysisAreaMeasurementAnalysis,
|
|
11427
11444
|
newAnalysisDimensionAnalysis,
|
|
11428
11445
|
newAnalysisDimensionSimpleStyle,
|
|
@@ -12032,6 +12049,7 @@ export {
|
|
|
12032
12049
|
newWebsceneSlide,
|
|
12033
12050
|
newWebsceneSlideLegendInfo,
|
|
12034
12051
|
newWebsceneSunLighting,
|
|
12052
|
+
newWebsceneSupportSlideElements,
|
|
12035
12053
|
newWebsceneVirtualLighting,
|
|
12036
12054
|
newWidgetsAreaMeasurement2D,
|
|
12037
12055
|
newWidgetsAreaMeasurement2DAreaMeasurement2DViewModel,
|