@esri/solutions-components 0.8.8 → 0.8.9
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/assets/t9n/crowdsource-reporter/resources.json +3 -1
- package/dist/assets/t9n/crowdsource-reporter/resources_en.json +3 -1
- package/dist/cjs/{calcite-action-menu_2.cjs.entry.js → calcite-action-menu_3.cjs.entry.js} +114 -7
- package/dist/cjs/calcite-alert_4.cjs.entry.js +46 -5
- package/dist/cjs/{calcite-input-date-picker_3.cjs.entry.js → calcite-block_5.cjs.entry.js} +691 -13
- package/dist/cjs/{calcite-combobox_5.cjs.entry.js → calcite-combobox_3.cjs.entry.js} +876 -844
- package/dist/cjs/calcite-dropdown_4.cjs.entry.js +1023 -0
- package/dist/cjs/{calcite-flow_5.cjs.entry.js → calcite-flow_6.cjs.entry.js} +327 -2
- package/dist/cjs/card-manager_3.cjs.entry.js +5 -5
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +122 -21
- package/dist/cjs/{downloadUtils-8b05d7cc.js → downloadUtils-dc349b1a.js} +2 -2
- package/dist/cjs/{index.es-e7587227.js → index.es-1830a1e6.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
- package/dist/cjs/{mapViewUtils-3e0fa457.js → mapViewUtils-9dc05308.js} +11 -5
- package/dist/cjs/public-notification.cjs.entry.js +2 -2
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/create-feature/create-feature.js +18 -0
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +16 -0
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +155 -35
- package/dist/collection/components/feature-details/feature-details.css +18 -0
- package/dist/collection/components/feature-details/feature-details.js +500 -0
- package/dist/collection/components/feature-details/test/feature-details.e2e.js +14 -0
- package/dist/collection/components/feature-details/test/feature-details.spec.js +22 -0
- package/dist/collection/components/feature-list/feature-list.js +14 -1
- package/dist/collection/components/info-card/info-card.css +15 -5
- package/dist/collection/components/info-card/info-card.js +178 -5
- package/dist/collection/components/layer-table/layer-table.js +2 -2
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +5 -5
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/demos/crowdsource-reporter.html +115 -1
- package/dist/collection/utils/mapViewUtils.js +11 -5
- package/dist/collection/utils/mapViewUtils.ts +13 -5
- package/dist/components/create-feature2.js +4 -0
- package/dist/components/crowdsource-reporter.js +270 -81
- package/dist/components/feature-details.d.ts +11 -0
- package/dist/components/feature-details.js +11 -0
- package/dist/components/feature-details2.js +449 -0
- package/dist/components/feature-list2.js +14 -1
- package/dist/components/info-card2.js +53 -5
- package/dist/components/layer-table2.js +2 -2
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-select-tools2.js +5 -5
- package/dist/components/mapViewUtils.js +11 -5
- package/dist/components/refine-selection2.js +1 -1
- package/dist/esm/{calcite-action-menu_2.entry.js → calcite-action-menu_3.entry.js} +118 -12
- package/dist/esm/calcite-alert_4.entry.js +46 -5
- package/dist/esm/{calcite-input-date-picker_3.entry.js → calcite-block_5.entry.js} +688 -12
- package/dist/esm/{calcite-combobox_5.entry.js → calcite-combobox_3.entry.js} +878 -844
- package/dist/esm/calcite-date-picker-day_3.entry.js +1 -1
- package/dist/esm/calcite-dropdown_4.entry.js +1016 -0
- package/dist/esm/{calcite-flow_5.entry.js → calcite-flow_6.entry.js} +327 -3
- package/dist/esm/card-manager_3.entry.js +5 -5
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +122 -21
- package/dist/esm/{date-5630530d.js → date-0c026a8b.js} +1 -1
- package/dist/esm/{downloadUtils-0c1e4d7b.js → downloadUtils-df4f21f6.js} +2 -2
- package/dist/esm/{index.es-286e3cfa.js → index.es-904fb846.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +8 -8
- package/dist/esm/{mapViewUtils-253178f1.js → mapViewUtils-2ec19fb0.js} +11 -5
- package/dist/esm/public-notification.entry.js +2 -2
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +115 -1
- package/dist/solutions-components/{p-813fd8a4.entry.js → p-29f518fd.entry.js} +2 -2
- package/dist/solutions-components/{p-13ca3b00.entry.js → p-452fd697.entry.js} +1 -1
- package/dist/solutions-components/p-511b1c91.entry.js +23 -0
- package/dist/solutions-components/p-577efb16.js +36 -0
- package/dist/solutions-components/{p-94de9279.js → p-5817d78c.js} +1 -1
- package/dist/solutions-components/p-602cd811.entry.js +17 -0
- package/dist/solutions-components/{p-15f9624a.entry.js → p-6557b703.entry.js} +1 -1
- package/dist/solutions-components/p-7269c49b.entry.js +6 -0
- package/dist/solutions-components/p-760bd17e.entry.js +6 -0
- package/dist/solutions-components/p-95fea07a.entry.js +17 -0
- package/dist/solutions-components/{p-212b02e7.js → p-ae4d86e8.js} +1 -1
- package/dist/solutions-components/{p-038fcd93.entry.js → p-c273ab7a.entry.js} +1 -1
- package/dist/solutions-components/p-d742b915.entry.js +29 -0
- package/dist/solutions-components/p-dfad61a8.entry.js +24 -0
- package/dist/solutions-components/{p-331b5d1e.js → p-fca434c8.js} +2 -2
- package/dist/solutions-components/p-fd82a00f.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/mapViewUtils.ts +13 -5
- package/dist/types/components/create-feature/create-feature.d.ts +4 -4
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +91 -10
- package/dist/types/components/feature-details/feature-details.d.ts +151 -0
- package/dist/types/components/feature-list/feature-list.d.ts +6 -0
- package/dist/types/components/info-card/info-card.d.ts +33 -1
- package/dist/types/components.d.ts +129 -12
- package/dist/types/preact.d.ts +6 -1
- package/dist/types/utils/mapViewUtils.d.ts +5 -3
- package/package.json +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +0 -652
- package/dist/cjs/calcite-graph_2.cjs.entry.js +0 -1055
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -125
- package/dist/cjs/utils-7bc7f595.js +0 -64
- package/dist/esm/calcite-block_2.entry.js +0 -647
- package/dist/esm/calcite-graph_2.entry.js +0 -1050
- package/dist/esm/calcite-scrim.entry.js +0 -121
- package/dist/esm/utils-9fb4104a.js +0 -61
- package/dist/solutions-components/p-04c37d69.entry.js +0 -17
- package/dist/solutions-components/p-0b92e4b1.entry.js +0 -11
- package/dist/solutions-components/p-238d3b5f.entry.js +0 -6
- package/dist/solutions-components/p-3af79063.js +0 -36
- package/dist/solutions-components/p-80b11ec1.entry.js +0 -17
- package/dist/solutions-components/p-a3a11749.entry.js +0 -6
- package/dist/solutions-components/p-aec06ce4.entry.js +0 -18
- package/dist/solutions-components/p-bfdf89c2.js +0 -11
- package/dist/solutions-components/p-c4ff3b52.entry.js +0 -17
- package/dist/solutions-components/p-ced067bd.entry.js +0 -17
- package/dist/solutions-components/p-d136eab0.entry.js +0 -23
- package/dist/solutions-components/p-e0446d5b.entry.js +0 -6
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IInventoryItem, ILayerAndTableIds, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange, theme } from "./utils/interfaces";
|
|
8
|
+
import { ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange, theme } from "./utils/interfaces";
|
|
9
|
+
import { IReportingOptions as IReportingOptions1 } from "./components";
|
|
9
10
|
import { UserSession } from "@esri/solution-common";
|
|
10
|
-
export { ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IInventoryItem, ILayerAndTableIds, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange, theme } from "./utils/interfaces";
|
|
11
|
+
export { ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange, theme } from "./utils/interfaces";
|
|
12
|
+
export { IReportingOptions as IReportingOptions1 } from "./components";
|
|
11
13
|
export { UserSession } from "@esri/solution-common";
|
|
12
14
|
export namespace Components {
|
|
13
15
|
interface ArcgisLogin {
|
|
@@ -318,13 +320,13 @@ export namespace Components {
|
|
|
318
320
|
*/
|
|
319
321
|
"isMobile": boolean;
|
|
320
322
|
/**
|
|
321
|
-
*
|
|
323
|
+
* ILayerExpression[]: Array of layer expressions for layers (filter configuration)
|
|
322
324
|
*/
|
|
323
|
-
"
|
|
325
|
+
"layerExpressions": ILayerExpression[];
|
|
324
326
|
/**
|
|
325
|
-
* string
|
|
327
|
+
* string: Layer id of the feature from URL params
|
|
326
328
|
*/
|
|
327
|
-
"
|
|
329
|
+
"layerId": string;
|
|
328
330
|
/**
|
|
329
331
|
* string: Id of the zoom level from URL params
|
|
330
332
|
*/
|
|
@@ -422,6 +424,37 @@ export namespace Components {
|
|
|
422
424
|
}
|
|
423
425
|
interface FeatureComments {
|
|
424
426
|
}
|
|
427
|
+
interface FeatureDetails {
|
|
428
|
+
/**
|
|
429
|
+
* Go to the previous feature in the features widget
|
|
430
|
+
*/
|
|
431
|
+
"back": () => Promise<void>;
|
|
432
|
+
/**
|
|
433
|
+
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
|
434
|
+
*/
|
|
435
|
+
"graphics": __esri.Graphic[];
|
|
436
|
+
/**
|
|
437
|
+
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
|
438
|
+
*/
|
|
439
|
+
"mapView": __esri.MapView;
|
|
440
|
+
/**
|
|
441
|
+
* Go to the next feature in the features widget
|
|
442
|
+
*/
|
|
443
|
+
"next": () => Promise<void>;
|
|
444
|
+
/**
|
|
445
|
+
* Refresh the features comments which will fetch like, dislike and update the component
|
|
446
|
+
* @returns Promise that resolves when the operation is complete
|
|
447
|
+
*/
|
|
448
|
+
"refresh": (graphic?: __esri.Graphic) => Promise<void>;
|
|
449
|
+
/**
|
|
450
|
+
* IReportingOptions: Key options for reporting
|
|
451
|
+
*/
|
|
452
|
+
"reportingOptions": IReportingOptions1;
|
|
453
|
+
/**
|
|
454
|
+
* Toggle the visibility of the features list view
|
|
455
|
+
*/
|
|
456
|
+
"toggleListView": () => Promise<void>;
|
|
457
|
+
}
|
|
425
458
|
interface FeatureFormFlowItem {
|
|
426
459
|
}
|
|
427
460
|
interface FeatureList {
|
|
@@ -476,6 +509,10 @@ export namespace Components {
|
|
|
476
509
|
* boolean: If true will show edit button
|
|
477
510
|
*/
|
|
478
511
|
"allowEditing"?: boolean;
|
|
512
|
+
/**
|
|
513
|
+
* Go to the previous feature in the features widget
|
|
514
|
+
*/
|
|
515
|
+
"back": () => Promise<void>;
|
|
479
516
|
/**
|
|
480
517
|
* Get the current selected feature from the Features widget
|
|
481
518
|
* @returns Promise resolving with the current feature
|
|
@@ -501,6 +538,31 @@ export namespace Components {
|
|
|
501
538
|
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
|
502
539
|
*/
|
|
503
540
|
"mapView": __esri.MapView;
|
|
541
|
+
/**
|
|
542
|
+
* Go to the next feature in the features widget
|
|
543
|
+
*/
|
|
544
|
+
"next": () => Promise<void>;
|
|
545
|
+
/**
|
|
546
|
+
* boolean: If true will show the pagination for multiple features
|
|
547
|
+
*/
|
|
548
|
+
"paginationEnabled"?: boolean;
|
|
549
|
+
/**
|
|
550
|
+
* string: Set the position of the feature info
|
|
551
|
+
*/
|
|
552
|
+
"position"?: string;
|
|
553
|
+
/**
|
|
554
|
+
* Get the current selected feature from the Features widget
|
|
555
|
+
* @returns Promise resolving with the current feature
|
|
556
|
+
*/
|
|
557
|
+
"refresh": () => Promise<any>;
|
|
558
|
+
/**
|
|
559
|
+
* Toggle the visibility of the features list view
|
|
560
|
+
*/
|
|
561
|
+
"toggleListView": () => Promise<void>;
|
|
562
|
+
/**
|
|
563
|
+
* update the current graphics to the features widget
|
|
564
|
+
*/
|
|
565
|
+
"updateCurrentGraphic": (selectedGraphic: __esri.Graphic) => Promise<void>;
|
|
504
566
|
/**
|
|
505
567
|
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
|
506
568
|
*/
|
|
@@ -1402,6 +1464,10 @@ export interface EditCardCustomEvent<T> extends CustomEvent<T> {
|
|
|
1402
1464
|
detail: T;
|
|
1403
1465
|
target: HTMLEditCardElement;
|
|
1404
1466
|
}
|
|
1467
|
+
export interface FeatureDetailsCustomEvent<T> extends CustomEvent<T> {
|
|
1468
|
+
detail: T;
|
|
1469
|
+
target: HTMLFeatureDetailsElement;
|
|
1470
|
+
}
|
|
1405
1471
|
export interface FeatureListCustomEvent<T> extends CustomEvent<T> {
|
|
1406
1472
|
detail: T;
|
|
1407
1473
|
target: HTMLFeatureListElement;
|
|
@@ -1542,6 +1608,7 @@ declare global {
|
|
|
1542
1608
|
"fail": Error;
|
|
1543
1609
|
"drawComplete": void;
|
|
1544
1610
|
"editingAttachment": boolean;
|
|
1611
|
+
"progressStatus": number;
|
|
1545
1612
|
}
|
|
1546
1613
|
interface HTMLCreateFeatureElement extends Components.CreateFeature, HTMLStencilElement {
|
|
1547
1614
|
addEventListener<K extends keyof HTMLCreateFeatureElementEventMap>(type: K, listener: (this: HTMLCreateFeatureElement, ev: CreateFeatureCustomEvent<HTMLCreateFeatureElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1639,6 +1706,23 @@ declare global {
|
|
|
1639
1706
|
prototype: HTMLFeatureCommentsElement;
|
|
1640
1707
|
new (): HTMLFeatureCommentsElement;
|
|
1641
1708
|
};
|
|
1709
|
+
interface HTMLFeatureDetailsElementEventMap {
|
|
1710
|
+
"loadingStatus": boolean;
|
|
1711
|
+
}
|
|
1712
|
+
interface HTMLFeatureDetailsElement extends Components.FeatureDetails, HTMLStencilElement {
|
|
1713
|
+
addEventListener<K extends keyof HTMLFeatureDetailsElementEventMap>(type: K, listener: (this: HTMLFeatureDetailsElement, ev: FeatureDetailsCustomEvent<HTMLFeatureDetailsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1714
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1715
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1716
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1717
|
+
removeEventListener<K extends keyof HTMLFeatureDetailsElementEventMap>(type: K, listener: (this: HTMLFeatureDetailsElement, ev: FeatureDetailsCustomEvent<HTMLFeatureDetailsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1718
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1719
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1720
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1721
|
+
}
|
|
1722
|
+
var HTMLFeatureDetailsElement: {
|
|
1723
|
+
prototype: HTMLFeatureDetailsElement;
|
|
1724
|
+
new (): HTMLFeatureDetailsElement;
|
|
1725
|
+
};
|
|
1642
1726
|
interface HTMLFeatureFormFlowItemElement extends Components.FeatureFormFlowItem, HTMLStencilElement {
|
|
1643
1727
|
}
|
|
1644
1728
|
var HTMLFeatureFormFlowItemElement: {
|
|
@@ -1689,7 +1773,7 @@ declare global {
|
|
|
1689
1773
|
};
|
|
1690
1774
|
interface HTMLInfoCardElementEventMap {
|
|
1691
1775
|
"popupClosed": void;
|
|
1692
|
-
"selectionChanged": __esri.Graphic[];
|
|
1776
|
+
"selectionChanged": { selectedFeature: __esri.Graphic[], selectedFeatureIndex: number };
|
|
1693
1777
|
}
|
|
1694
1778
|
interface HTMLInfoCardElement extends Components.InfoCard, HTMLStencilElement {
|
|
1695
1779
|
addEventListener<K extends keyof HTMLInfoCardElementEventMap>(type: K, listener: (this: HTMLInfoCardElement, ev: InfoCardCustomEvent<HTMLInfoCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2118,6 +2202,7 @@ declare global {
|
|
|
2118
2202
|
"delete-button": HTMLDeleteButtonElement;
|
|
2119
2203
|
"edit-card": HTMLEditCardElement;
|
|
2120
2204
|
"feature-comments": HTMLFeatureCommentsElement;
|
|
2205
|
+
"feature-details": HTMLFeatureDetailsElement;
|
|
2121
2206
|
"feature-form-flow-item": HTMLFeatureFormFlowItemElement;
|
|
2122
2207
|
"feature-list": HTMLFeatureListElement;
|
|
2123
2208
|
"features-flow-item": HTMLFeaturesFlowItemElement;
|
|
@@ -2280,6 +2365,10 @@ declare namespace LocalJSX {
|
|
|
2280
2365
|
* Emitted on demand when the feature creation is failed
|
|
2281
2366
|
*/
|
|
2282
2367
|
"onFail"?: (event: CreateFeatureCustomEvent<Error>) => void;
|
|
2368
|
+
/**
|
|
2369
|
+
* Emitted on demand when editor panel changes
|
|
2370
|
+
*/
|
|
2371
|
+
"onProgressStatus"?: (event: CreateFeatureCustomEvent<number>) => void;
|
|
2283
2372
|
/**
|
|
2284
2373
|
* Emitted on demand when the feature is created successfully
|
|
2285
2374
|
*/
|
|
@@ -2481,13 +2570,13 @@ declare namespace LocalJSX {
|
|
|
2481
2570
|
*/
|
|
2482
2571
|
"isMobile"?: boolean;
|
|
2483
2572
|
/**
|
|
2484
|
-
*
|
|
2573
|
+
* ILayerExpression[]: Array of layer expressions for layers (filter configuration)
|
|
2485
2574
|
*/
|
|
2486
|
-
"
|
|
2575
|
+
"layerExpressions"?: ILayerExpression[];
|
|
2487
2576
|
/**
|
|
2488
|
-
* string
|
|
2577
|
+
* string: Layer id of the feature from URL params
|
|
2489
2578
|
*/
|
|
2490
|
-
"
|
|
2579
|
+
"layerId"?: string;
|
|
2491
2580
|
/**
|
|
2492
2581
|
* string: Id of the zoom level from URL params
|
|
2493
2582
|
*/
|
|
@@ -2609,6 +2698,24 @@ declare namespace LocalJSX {
|
|
|
2609
2698
|
}
|
|
2610
2699
|
interface FeatureComments {
|
|
2611
2700
|
}
|
|
2701
|
+
interface FeatureDetails {
|
|
2702
|
+
/**
|
|
2703
|
+
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
|
2704
|
+
*/
|
|
2705
|
+
"graphics"?: __esri.Graphic[];
|
|
2706
|
+
/**
|
|
2707
|
+
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
|
2708
|
+
*/
|
|
2709
|
+
"mapView"?: __esri.MapView;
|
|
2710
|
+
/**
|
|
2711
|
+
* Emitted on demand when like or dislike button is clicked
|
|
2712
|
+
*/
|
|
2713
|
+
"onLoadingStatus"?: (event: FeatureDetailsCustomEvent<boolean>) => void;
|
|
2714
|
+
/**
|
|
2715
|
+
* IReportingOptions: Key options for reporting
|
|
2716
|
+
*/
|
|
2717
|
+
"reportingOptions"?: IReportingOptions1;
|
|
2718
|
+
}
|
|
2612
2719
|
interface FeatureFormFlowItem {
|
|
2613
2720
|
}
|
|
2614
2721
|
interface FeatureList {
|
|
@@ -2701,7 +2808,15 @@ declare namespace LocalJSX {
|
|
|
2701
2808
|
/**
|
|
2702
2809
|
* Emitted on demand when the selected index changes
|
|
2703
2810
|
*/
|
|
2704
|
-
"onSelectionChanged"?: (event: InfoCardCustomEvent<__esri.Graphic[]>) => void;
|
|
2811
|
+
"onSelectionChanged"?: (event: InfoCardCustomEvent<{ selectedFeature: __esri.Graphic[], selectedFeatureIndex: number }>) => void;
|
|
2812
|
+
/**
|
|
2813
|
+
* boolean: If true will show the pagination for multiple features
|
|
2814
|
+
*/
|
|
2815
|
+
"paginationEnabled"?: boolean;
|
|
2816
|
+
/**
|
|
2817
|
+
* string: Set the position of the feature info
|
|
2818
|
+
*/
|
|
2819
|
+
"position"?: string;
|
|
2705
2820
|
/**
|
|
2706
2821
|
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
|
2707
2822
|
*/
|
|
@@ -3585,6 +3700,7 @@ declare namespace LocalJSX {
|
|
|
3585
3700
|
"delete-button": DeleteButton;
|
|
3586
3701
|
"edit-card": EditCard;
|
|
3587
3702
|
"feature-comments": FeatureComments;
|
|
3703
|
+
"feature-details": FeatureDetails;
|
|
3588
3704
|
"feature-form-flow-item": FeatureFormFlowItem;
|
|
3589
3705
|
"feature-list": FeatureList;
|
|
3590
3706
|
"features-flow-item": FeaturesFlowItem;
|
|
@@ -3642,6 +3758,7 @@ declare module "@stencil/core" {
|
|
|
3642
3758
|
"delete-button": LocalJSX.DeleteButton & JSXBase.HTMLAttributes<HTMLDeleteButtonElement>;
|
|
3643
3759
|
"edit-card": LocalJSX.EditCard & JSXBase.HTMLAttributes<HTMLEditCardElement>;
|
|
3644
3760
|
"feature-comments": LocalJSX.FeatureComments & JSXBase.HTMLAttributes<HTMLFeatureCommentsElement>;
|
|
3761
|
+
"feature-details": LocalJSX.FeatureDetails & JSXBase.HTMLAttributes<HTMLFeatureDetailsElement>;
|
|
3645
3762
|
"feature-form-flow-item": LocalJSX.FeatureFormFlowItem & JSXBase.HTMLAttributes<HTMLFeatureFormFlowItemElement>;
|
|
3646
3763
|
"feature-list": LocalJSX.FeatureList & JSXBase.HTMLAttributes<HTMLFeatureListElement>;
|
|
3647
3764
|
"features-flow-item": LocalJSX.FeaturesFlowItem & JSXBase.HTMLAttributes<HTMLFeaturesFlowItemElement>;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -514,11 +514,12 @@ declare module "preact/src/jsx" {
|
|
|
514
514
|
"onconsentGranted"?: (event: CustomEvent<any>) => void;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
-
"create-feature": Omit<JSX.SolutionsCreateFeature, "onSuccess" | "onFail" | "onDrawComplete" | "onEditingAttachment"> & JSXInternal.HTMLAttributes<HTMLSolutionsCreateFeatureElement> & {
|
|
517
|
+
"create-feature": Omit<JSX.SolutionsCreateFeature, "onSuccess" | "onFail" | "onDrawComplete" | "onEditingAttachment" | "onProgressStatus"> & JSXInternal.HTMLAttributes<HTMLSolutionsCreateFeatureElement> & {
|
|
518
518
|
"onsuccess"?: (event: CustomEvent<any>) => void;
|
|
519
519
|
"onfail"?: (event: CustomEvent<any>) => void;
|
|
520
520
|
"ondrawComplete"?: (event: CustomEvent<any>) => void;
|
|
521
521
|
"oneditingAttachment"?: (event: CustomEvent<any>) => void;
|
|
522
|
+
"onprogressStatus"?: (event: CustomEvent<any>) => void;
|
|
522
523
|
}
|
|
523
524
|
|
|
524
525
|
"crowdsource-manager": JSX.SolutionsCrowdsourceManager & JSXInternal.HTMLAttributes<HTMLSolutionsCrowdsourceManagerElement>
|
|
@@ -543,6 +544,10 @@ declare module "preact/src/jsx" {
|
|
|
543
544
|
|
|
544
545
|
"feature-comments": JSX.SolutionsFeatureComments & JSXInternal.HTMLAttributes<HTMLSolutionsFeatureCommentsElement>
|
|
545
546
|
|
|
547
|
+
"feature-details": Omit<JSX.SolutionsFeatureDetails, "onLoadingStatus"> & JSXInternal.HTMLAttributes<HTMLSolutionsFeatureDetailsElement> & {
|
|
548
|
+
"onloadingStatus"?: (event: CustomEvent<any>) => void;
|
|
549
|
+
}
|
|
550
|
+
|
|
546
551
|
"feature-form-flow-item": JSX.SolutionsFeatureFormFlowItem & JSXInternal.HTMLAttributes<HTMLSolutionsFeatureFormFlowItemElement>
|
|
547
552
|
|
|
548
553
|
"feature-list": Omit<JSX.SolutionsFeatureList, "onFeatureSelect"> & JSXInternal.HTMLAttributes<HTMLSolutionsFeatureListElement> & {
|
|
@@ -71,10 +71,11 @@ export declare function getAllLayers(mapView: __esri.MapView): Promise<__esri.La
|
|
|
71
71
|
* @param layerView the layer view to highlight
|
|
72
72
|
* @param mapView the map view used if updateExtent is true
|
|
73
73
|
* @param updateExtent optional (default false) boolean to indicate if we should zoom to the extent
|
|
74
|
+
* @param zoomToScale optional (default 0) zoomScale that individual points will use when zoomed to
|
|
74
75
|
*
|
|
75
76
|
* @returns Promise resolving with the highlight handle
|
|
76
77
|
*/
|
|
77
|
-
export declare function highlightFeatures(ids: number[], layerView: __esri.FeatureLayerView, mapView: __esri.MapView, updateExtent?: boolean): Promise<__esri.Handle>;
|
|
78
|
+
export declare function highlightFeatures(ids: number[], layerView: __esri.FeatureLayerView, mapView: __esri.MapView, updateExtent?: boolean, zoomToScale?: number): Promise<__esri.Handle>;
|
|
78
79
|
/**
|
|
79
80
|
* Highlights features from all sets including the refine set
|
|
80
81
|
*
|
|
@@ -110,8 +111,9 @@ export declare function flashSelection(ids: number[], layerView: __esri.FeatureL
|
|
|
110
111
|
* @param layerView the layer view that contains the OIDs
|
|
111
112
|
* @param mapView the map view to show the extent change
|
|
112
113
|
* @param flashFeatures optional (default true) boolean to indicate if we should flash the features
|
|
113
|
-
*
|
|
114
|
+
* @param featureEffect optional (default undefined) feature effect when flashing the features
|
|
115
|
+
* @param zoomToScale optional (default to 0) zoomScale that individual points will use when zoomed to
|
|
114
116
|
* @returns Promise resolving when the operation is complete
|
|
115
117
|
*
|
|
116
118
|
*/
|
|
117
|
-
export declare function goToSelection(ids: number[], layerView: __esri.FeatureLayerView, mapView: __esri.MapView, flashFeatures?: boolean, featureEffect?: __esri.FeatureEffect): Promise<void>;
|
|
119
|
+
export declare function goToSelection(ids: number[], layerView: __esri.FeatureLayerView, mapView: __esri.MapView, flashFeatures?: boolean, featureEffect?: __esri.FeatureEffect, zoomToScale?: number): Promise<void>;
|