@arcgis/core-adapter 4.34.0-next.2 → 4.34.0-next.21
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 +66 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +66 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -30,7 +30,7 @@ async function loadUndocumentedModule(modulePath, deferredImport) {
|
|
|
30
30
|
if (isAMD) {
|
|
31
31
|
return await window.$arcgis.import(modulePath);
|
|
32
32
|
}
|
|
33
|
-
const module2 = deferredImport();
|
|
33
|
+
const module2 = await deferredImport();
|
|
34
34
|
return isDefaultModule(module2) ? module2.default : module2;
|
|
35
35
|
}
|
|
36
36
|
async function importIdentityIdentityManager() {
|
|
@@ -293,6 +293,39 @@ async function newCoreWorkersConnection() {
|
|
|
293
293
|
const ModConstructor = await importCoreWorkersConnection();
|
|
294
294
|
return new ModConstructor();
|
|
295
295
|
}
|
|
296
|
+
async function importEffectsFocusAreas() {
|
|
297
|
+
if (isAMD) {
|
|
298
|
+
return await window.$arcgis.import("esri/effects/FocusAreas");
|
|
299
|
+
}
|
|
300
|
+
const module2 = await import("@arcgis/core/effects/FocusAreas.js");
|
|
301
|
+
return isDefaultModule(module2) ? module2.default : module2;
|
|
302
|
+
}
|
|
303
|
+
async function newEffectsFocusAreas(properties) {
|
|
304
|
+
const ModConstructor = await importEffectsFocusAreas();
|
|
305
|
+
return new ModConstructor(properties);
|
|
306
|
+
}
|
|
307
|
+
async function importEffectsFocusArea() {
|
|
308
|
+
if (isAMD) {
|
|
309
|
+
return await window.$arcgis.import("esri/effects/FocusArea");
|
|
310
|
+
}
|
|
311
|
+
const module2 = await import("@arcgis/core/effects/FocusArea.js");
|
|
312
|
+
return isDefaultModule(module2) ? module2.default : module2;
|
|
313
|
+
}
|
|
314
|
+
async function newEffectsFocusArea(properties) {
|
|
315
|
+
const ModConstructor = await importEffectsFocusArea();
|
|
316
|
+
return new ModConstructor(properties);
|
|
317
|
+
}
|
|
318
|
+
async function importEffectsFocusAreaOutline() {
|
|
319
|
+
if (isAMD) {
|
|
320
|
+
return await window.$arcgis.import("esri/effects/FocusAreaOutline");
|
|
321
|
+
}
|
|
322
|
+
const module2 = await import("@arcgis/core/effects/FocusAreaOutline.js");
|
|
323
|
+
return isDefaultModule(module2) ? module2.default : module2;
|
|
324
|
+
}
|
|
325
|
+
async function newEffectsFocusAreaOutline(properties) {
|
|
326
|
+
const ModConstructor = await importEffectsFocusAreaOutline();
|
|
327
|
+
return new ModConstructor(properties);
|
|
328
|
+
}
|
|
296
329
|
async function importFormElementsAttachmentElement() {
|
|
297
330
|
if (isAMD) {
|
|
298
331
|
return await window.$arcgis.import("esri/form/elements/AttachmentElement");
|
|
@@ -5419,6 +5452,28 @@ async function newSymbolsSimpleMarkerSymbol(properties) {
|
|
|
5419
5452
|
const ModConstructor = await importSymbolsSimpleMarkerSymbol();
|
|
5420
5453
|
return new ModConstructor(properties);
|
|
5421
5454
|
}
|
|
5455
|
+
async function importSymbolsSupportElevationInfo() {
|
|
5456
|
+
if (isAMD) {
|
|
5457
|
+
return await window.$arcgis.import("esri/symbols/support/ElevationInfo");
|
|
5458
|
+
}
|
|
5459
|
+
const module2 = await import("@arcgis/core/symbols/support/ElevationInfo.js");
|
|
5460
|
+
return isDefaultModule(module2) ? module2.default : module2;
|
|
5461
|
+
}
|
|
5462
|
+
async function newSymbolsSupportElevationInfo(properties) {
|
|
5463
|
+
const ModConstructor = await importSymbolsSupportElevationInfo();
|
|
5464
|
+
return new ModConstructor(properties);
|
|
5465
|
+
}
|
|
5466
|
+
async function importSymbolsSupportFeatureExpressionInfo() {
|
|
5467
|
+
if (isAMD) {
|
|
5468
|
+
return await window.$arcgis.import("esri/symbols/support/FeatureExpressionInfo");
|
|
5469
|
+
}
|
|
5470
|
+
const module2 = await import("@arcgis/core/symbols/support/FeatureExpressionInfo.js");
|
|
5471
|
+
return isDefaultModule(module2) ? module2.default : module2;
|
|
5472
|
+
}
|
|
5473
|
+
async function newSymbolsSupportFeatureExpressionInfo(properties) {
|
|
5474
|
+
const ModConstructor = await importSymbolsSupportFeatureExpressionInfo();
|
|
5475
|
+
return new ModConstructor(properties);
|
|
5476
|
+
}
|
|
5422
5477
|
async function importSymbolsSupportStyleOrigin() {
|
|
5423
5478
|
if (isAMD) {
|
|
5424
5479
|
return await window.$arcgis.import("esri/symbols/support/StyleOrigin");
|
|
@@ -10748,6 +10803,9 @@ exports.importCoreWorkers = importCoreWorkers;
|
|
|
10748
10803
|
exports.importCoreWorkersConnection = importCoreWorkersConnection;
|
|
10749
10804
|
exports.importEditingSharedTemplatesSharedTemplate = importEditingSharedTemplatesSharedTemplate;
|
|
10750
10805
|
exports.importEditingSharedTemplatesSharedTemplateMetadata = importEditingSharedTemplatesSharedTemplateMetadata;
|
|
10806
|
+
exports.importEffectsFocusArea = importEffectsFocusArea;
|
|
10807
|
+
exports.importEffectsFocusAreaOutline = importEffectsFocusAreaOutline;
|
|
10808
|
+
exports.importEffectsFocusAreas = importEffectsFocusAreas;
|
|
10751
10809
|
exports.importFormElements = importFormElements;
|
|
10752
10810
|
exports.importFormElementsAttachmentElement = importFormElementsAttachmentElement;
|
|
10753
10811
|
exports.importFormElementsElement = importFormElementsElement;
|
|
@@ -11377,6 +11435,8 @@ exports.importSymbolsSimpleLineSymbol = importSymbolsSimpleLineSymbol;
|
|
|
11377
11435
|
exports.importSymbolsSimpleMarkerSymbol = importSymbolsSimpleMarkerSymbol;
|
|
11378
11436
|
exports.importSymbolsSupportCimConversionUtils = importSymbolsSupportCimConversionUtils;
|
|
11379
11437
|
exports.importSymbolsSupportCimSymbolUtils = importSymbolsSupportCimSymbolUtils;
|
|
11438
|
+
exports.importSymbolsSupportElevationInfo = importSymbolsSupportElevationInfo;
|
|
11439
|
+
exports.importSymbolsSupportFeatureExpressionInfo = importSymbolsSupportFeatureExpressionInfo;
|
|
11380
11440
|
exports.importSymbolsSupportJsonUtils = importSymbolsSupportJsonUtils;
|
|
11381
11441
|
exports.importSymbolsSupportStyleOrigin = importSymbolsSupportStyleOrigin;
|
|
11382
11442
|
exports.importSymbolsSupportSymbol3DVerticalOffset = importSymbolsSupportSymbol3DVerticalOffset;
|
|
@@ -11762,6 +11822,9 @@ exports.newCoreCollection = newCoreCollection;
|
|
|
11762
11822
|
exports.newCoreError = newCoreError;
|
|
11763
11823
|
exports.newCoreHandles = newCoreHandles;
|
|
11764
11824
|
exports.newCoreWorkersConnection = newCoreWorkersConnection;
|
|
11825
|
+
exports.newEffectsFocusArea = newEffectsFocusArea;
|
|
11826
|
+
exports.newEffectsFocusAreaOutline = newEffectsFocusAreaOutline;
|
|
11827
|
+
exports.newEffectsFocusAreas = newEffectsFocusAreas;
|
|
11765
11828
|
exports.newFormElementsAttachmentElement = newFormElementsAttachmentElement;
|
|
11766
11829
|
exports.newFormElementsElement = newFormElementsElement;
|
|
11767
11830
|
exports.newFormElementsFieldElement = newFormElementsFieldElement;
|
|
@@ -12227,6 +12290,8 @@ exports.newSymbolsPolygonSymbol3D = newSymbolsPolygonSymbol3D;
|
|
|
12227
12290
|
exports.newSymbolsSimpleFillSymbol = newSymbolsSimpleFillSymbol;
|
|
12228
12291
|
exports.newSymbolsSimpleLineSymbol = newSymbolsSimpleLineSymbol;
|
|
12229
12292
|
exports.newSymbolsSimpleMarkerSymbol = newSymbolsSimpleMarkerSymbol;
|
|
12293
|
+
exports.newSymbolsSupportElevationInfo = newSymbolsSupportElevationInfo;
|
|
12294
|
+
exports.newSymbolsSupportFeatureExpressionInfo = newSymbolsSupportFeatureExpressionInfo;
|
|
12230
12295
|
exports.newSymbolsSupportStyleOrigin = newSymbolsSupportStyleOrigin;
|
|
12231
12296
|
exports.newSymbolsSupportSymbol3DVerticalOffset = newSymbolsSupportSymbol3DVerticalOffset;
|
|
12232
12297
|
exports.newSymbolsSymbol = newSymbolsSymbol;
|
package/dist/index.d.cts
CHANGED
|
@@ -61,6 +61,12 @@ export declare function importCoreHandles(): Promise<typeof __esri.Handles>;
|
|
|
61
61
|
export declare function newCoreHandles(): Promise<__esri.Handles>;
|
|
62
62
|
export declare function importCoreWorkersConnection(): Promise<typeof __esri.Connection>;
|
|
63
63
|
export declare function newCoreWorkersConnection(): Promise<__esri.Connection>;
|
|
64
|
+
export declare function importEffectsFocusAreas(): Promise<typeof __esri.FocusAreas>;
|
|
65
|
+
export declare function newEffectsFocusAreas(properties: __esri.FocusAreasProperties): Promise<__esri.FocusAreas>;
|
|
66
|
+
export declare function importEffectsFocusArea(): Promise<typeof __esri.FocusArea>;
|
|
67
|
+
export declare function newEffectsFocusArea(properties: __esri.FocusAreaProperties): Promise<__esri.FocusArea>;
|
|
68
|
+
export declare function importEffectsFocusAreaOutline(): Promise<typeof __esri.FocusAreaOutline>;
|
|
69
|
+
export declare function newEffectsFocusAreaOutline(properties: __esri.FocusAreaOutlineProperties): Promise<__esri.FocusAreaOutline>;
|
|
64
70
|
export declare function importFormElementsAttachmentElement(): Promise<typeof __esri.AttachmentElement>;
|
|
65
71
|
export declare function newFormElementsAttachmentElement(properties: __esri.AttachmentElementProperties): Promise<__esri.AttachmentElement>;
|
|
66
72
|
export declare function importFormElementsElement(): Promise<typeof __esri.Element>;
|
|
@@ -993,6 +999,10 @@ export declare function importSymbolsSimpleLineSymbol(): Promise<typeof __esri.S
|
|
|
993
999
|
export declare function newSymbolsSimpleLineSymbol(properties: __esri.SimpleLineSymbolProperties): Promise<__esri.SimpleLineSymbol>;
|
|
994
1000
|
export declare function importSymbolsSimpleMarkerSymbol(): Promise<typeof __esri.SimpleMarkerSymbol>;
|
|
995
1001
|
export declare function newSymbolsSimpleMarkerSymbol(properties: __esri.SimpleMarkerSymbolProperties): Promise<__esri.SimpleMarkerSymbol>;
|
|
1002
|
+
export declare function importSymbolsSupportElevationInfo(): Promise<typeof __esri.ElevationInfo>;
|
|
1003
|
+
export declare function newSymbolsSupportElevationInfo(properties: __esri.ElevationInfoProperties): Promise<__esri.ElevationInfo>;
|
|
1004
|
+
export declare function importSymbolsSupportFeatureExpressionInfo(): Promise<typeof __esri.FeatureExpressionInfo>;
|
|
1005
|
+
export declare function newSymbolsSupportFeatureExpressionInfo(properties: __esri.FeatureExpressionInfoProperties): Promise<__esri.FeatureExpressionInfo>;
|
|
996
1006
|
export declare function importSymbolsSupportStyleOrigin(): Promise<typeof __esri.StyleOrigin>;
|
|
997
1007
|
export declare function newSymbolsSupportStyleOrigin(properties: __esri.StyleOriginProperties): Promise<__esri.StyleOrigin>;
|
|
998
1008
|
export declare function importSymbolsSupportSymbol3DVerticalOffset(): Promise<typeof __esri.Symbol3DVerticalOffset>;
|
package/dist/index.d.ts
CHANGED
|
@@ -61,6 +61,12 @@ export declare function importCoreHandles(): Promise<typeof __esri.Handles>;
|
|
|
61
61
|
export declare function newCoreHandles(): Promise<__esri.Handles>;
|
|
62
62
|
export declare function importCoreWorkersConnection(): Promise<typeof __esri.Connection>;
|
|
63
63
|
export declare function newCoreWorkersConnection(): Promise<__esri.Connection>;
|
|
64
|
+
export declare function importEffectsFocusAreas(): Promise<typeof __esri.FocusAreas>;
|
|
65
|
+
export declare function newEffectsFocusAreas(properties: __esri.FocusAreasProperties): Promise<__esri.FocusAreas>;
|
|
66
|
+
export declare function importEffectsFocusArea(): Promise<typeof __esri.FocusArea>;
|
|
67
|
+
export declare function newEffectsFocusArea(properties: __esri.FocusAreaProperties): Promise<__esri.FocusArea>;
|
|
68
|
+
export declare function importEffectsFocusAreaOutline(): Promise<typeof __esri.FocusAreaOutline>;
|
|
69
|
+
export declare function newEffectsFocusAreaOutline(properties: __esri.FocusAreaOutlineProperties): Promise<__esri.FocusAreaOutline>;
|
|
64
70
|
export declare function importFormElementsAttachmentElement(): Promise<typeof __esri.AttachmentElement>;
|
|
65
71
|
export declare function newFormElementsAttachmentElement(properties: __esri.AttachmentElementProperties): Promise<__esri.AttachmentElement>;
|
|
66
72
|
export declare function importFormElementsElement(): Promise<typeof __esri.Element>;
|
|
@@ -993,6 +999,10 @@ export declare function importSymbolsSimpleLineSymbol(): Promise<typeof __esri.S
|
|
|
993
999
|
export declare function newSymbolsSimpleLineSymbol(properties: __esri.SimpleLineSymbolProperties): Promise<__esri.SimpleLineSymbol>;
|
|
994
1000
|
export declare function importSymbolsSimpleMarkerSymbol(): Promise<typeof __esri.SimpleMarkerSymbol>;
|
|
995
1001
|
export declare function newSymbolsSimpleMarkerSymbol(properties: __esri.SimpleMarkerSymbolProperties): Promise<__esri.SimpleMarkerSymbol>;
|
|
1002
|
+
export declare function importSymbolsSupportElevationInfo(): Promise<typeof __esri.ElevationInfo>;
|
|
1003
|
+
export declare function newSymbolsSupportElevationInfo(properties: __esri.ElevationInfoProperties): Promise<__esri.ElevationInfo>;
|
|
1004
|
+
export declare function importSymbolsSupportFeatureExpressionInfo(): Promise<typeof __esri.FeatureExpressionInfo>;
|
|
1005
|
+
export declare function newSymbolsSupportFeatureExpressionInfo(properties: __esri.FeatureExpressionInfoProperties): Promise<__esri.FeatureExpressionInfo>;
|
|
996
1006
|
export declare function importSymbolsSupportStyleOrigin(): Promise<typeof __esri.StyleOrigin>;
|
|
997
1007
|
export declare function newSymbolsSupportStyleOrigin(properties: __esri.StyleOriginProperties): Promise<__esri.StyleOrigin>;
|
|
998
1008
|
export declare function importSymbolsSupportSymbol3DVerticalOffset(): Promise<typeof __esri.Symbol3DVerticalOffset>;
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ async function loadUndocumentedModule(modulePath, deferredImport) {
|
|
|
6
6
|
if (isAMD) {
|
|
7
7
|
return await window.$arcgis.import(modulePath);
|
|
8
8
|
}
|
|
9
|
-
const module = deferredImport();
|
|
9
|
+
const module = await deferredImport();
|
|
10
10
|
return isDefaultModule(module) ? module.default : module;
|
|
11
11
|
}
|
|
12
12
|
async function importIdentityIdentityManager() {
|
|
@@ -269,6 +269,39 @@ async function newCoreWorkersConnection() {
|
|
|
269
269
|
const ModConstructor = await importCoreWorkersConnection();
|
|
270
270
|
return new ModConstructor();
|
|
271
271
|
}
|
|
272
|
+
async function importEffectsFocusAreas() {
|
|
273
|
+
if (isAMD) {
|
|
274
|
+
return await window.$arcgis.import("esri/effects/FocusAreas");
|
|
275
|
+
}
|
|
276
|
+
const module = await import("@arcgis/core/effects/FocusAreas.js");
|
|
277
|
+
return isDefaultModule(module) ? module.default : module;
|
|
278
|
+
}
|
|
279
|
+
async function newEffectsFocusAreas(properties) {
|
|
280
|
+
const ModConstructor = await importEffectsFocusAreas();
|
|
281
|
+
return new ModConstructor(properties);
|
|
282
|
+
}
|
|
283
|
+
async function importEffectsFocusArea() {
|
|
284
|
+
if (isAMD) {
|
|
285
|
+
return await window.$arcgis.import("esri/effects/FocusArea");
|
|
286
|
+
}
|
|
287
|
+
const module = await import("@arcgis/core/effects/FocusArea.js");
|
|
288
|
+
return isDefaultModule(module) ? module.default : module;
|
|
289
|
+
}
|
|
290
|
+
async function newEffectsFocusArea(properties) {
|
|
291
|
+
const ModConstructor = await importEffectsFocusArea();
|
|
292
|
+
return new ModConstructor(properties);
|
|
293
|
+
}
|
|
294
|
+
async function importEffectsFocusAreaOutline() {
|
|
295
|
+
if (isAMD) {
|
|
296
|
+
return await window.$arcgis.import("esri/effects/FocusAreaOutline");
|
|
297
|
+
}
|
|
298
|
+
const module = await import("@arcgis/core/effects/FocusAreaOutline.js");
|
|
299
|
+
return isDefaultModule(module) ? module.default : module;
|
|
300
|
+
}
|
|
301
|
+
async function newEffectsFocusAreaOutline(properties) {
|
|
302
|
+
const ModConstructor = await importEffectsFocusAreaOutline();
|
|
303
|
+
return new ModConstructor(properties);
|
|
304
|
+
}
|
|
272
305
|
async function importFormElementsAttachmentElement() {
|
|
273
306
|
if (isAMD) {
|
|
274
307
|
return await window.$arcgis.import("esri/form/elements/AttachmentElement");
|
|
@@ -5395,6 +5428,28 @@ async function newSymbolsSimpleMarkerSymbol(properties) {
|
|
|
5395
5428
|
const ModConstructor = await importSymbolsSimpleMarkerSymbol();
|
|
5396
5429
|
return new ModConstructor(properties);
|
|
5397
5430
|
}
|
|
5431
|
+
async function importSymbolsSupportElevationInfo() {
|
|
5432
|
+
if (isAMD) {
|
|
5433
|
+
return await window.$arcgis.import("esri/symbols/support/ElevationInfo");
|
|
5434
|
+
}
|
|
5435
|
+
const module = await import("@arcgis/core/symbols/support/ElevationInfo.js");
|
|
5436
|
+
return isDefaultModule(module) ? module.default : module;
|
|
5437
|
+
}
|
|
5438
|
+
async function newSymbolsSupportElevationInfo(properties) {
|
|
5439
|
+
const ModConstructor = await importSymbolsSupportElevationInfo();
|
|
5440
|
+
return new ModConstructor(properties);
|
|
5441
|
+
}
|
|
5442
|
+
async function importSymbolsSupportFeatureExpressionInfo() {
|
|
5443
|
+
if (isAMD) {
|
|
5444
|
+
return await window.$arcgis.import("esri/symbols/support/FeatureExpressionInfo");
|
|
5445
|
+
}
|
|
5446
|
+
const module = await import("@arcgis/core/symbols/support/FeatureExpressionInfo.js");
|
|
5447
|
+
return isDefaultModule(module) ? module.default : module;
|
|
5448
|
+
}
|
|
5449
|
+
async function newSymbolsSupportFeatureExpressionInfo(properties) {
|
|
5450
|
+
const ModConstructor = await importSymbolsSupportFeatureExpressionInfo();
|
|
5451
|
+
return new ModConstructor(properties);
|
|
5452
|
+
}
|
|
5398
5453
|
async function importSymbolsSupportStyleOrigin() {
|
|
5399
5454
|
if (isAMD) {
|
|
5400
5455
|
return await window.$arcgis.import("esri/symbols/support/StyleOrigin");
|
|
@@ -10725,6 +10780,9 @@ export {
|
|
|
10725
10780
|
importCoreWorkersConnection,
|
|
10726
10781
|
importEditingSharedTemplatesSharedTemplate,
|
|
10727
10782
|
importEditingSharedTemplatesSharedTemplateMetadata,
|
|
10783
|
+
importEffectsFocusArea,
|
|
10784
|
+
importEffectsFocusAreaOutline,
|
|
10785
|
+
importEffectsFocusAreas,
|
|
10728
10786
|
importFormElements,
|
|
10729
10787
|
importFormElementsAttachmentElement,
|
|
10730
10788
|
importFormElementsElement,
|
|
@@ -11354,6 +11412,8 @@ export {
|
|
|
11354
11412
|
importSymbolsSimpleMarkerSymbol,
|
|
11355
11413
|
importSymbolsSupportCimConversionUtils,
|
|
11356
11414
|
importSymbolsSupportCimSymbolUtils,
|
|
11415
|
+
importSymbolsSupportElevationInfo,
|
|
11416
|
+
importSymbolsSupportFeatureExpressionInfo,
|
|
11357
11417
|
importSymbolsSupportJsonUtils,
|
|
11358
11418
|
importSymbolsSupportStyleOrigin,
|
|
11359
11419
|
importSymbolsSupportSymbol3DVerticalOffset,
|
|
@@ -11739,6 +11799,9 @@ export {
|
|
|
11739
11799
|
newCoreError,
|
|
11740
11800
|
newCoreHandles,
|
|
11741
11801
|
newCoreWorkersConnection,
|
|
11802
|
+
newEffectsFocusArea,
|
|
11803
|
+
newEffectsFocusAreaOutline,
|
|
11804
|
+
newEffectsFocusAreas,
|
|
11742
11805
|
newFormElementsAttachmentElement,
|
|
11743
11806
|
newFormElementsElement,
|
|
11744
11807
|
newFormElementsFieldElement,
|
|
@@ -12204,6 +12267,8 @@ export {
|
|
|
12204
12267
|
newSymbolsSimpleFillSymbol,
|
|
12205
12268
|
newSymbolsSimpleLineSymbol,
|
|
12206
12269
|
newSymbolsSimpleMarkerSymbol,
|
|
12270
|
+
newSymbolsSupportElevationInfo,
|
|
12271
|
+
newSymbolsSupportFeatureExpressionInfo,
|
|
12207
12272
|
newSymbolsSupportStyleOrigin,
|
|
12208
12273
|
newSymbolsSupportSymbol3DVerticalOffset,
|
|
12209
12274
|
newSymbolsSymbol,
|