@esri/solutions-components 0.10.7 → 0.10.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/cjs/basemap-gallery_7.cjs.entry.js +24 -8
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +354 -967
- package/dist/cjs/calcite-graph_2.cjs.entry.js +1082 -0
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tree_3.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +246 -18
- package/dist/cjs/crowdsource-manager.cjs.entry.js +171 -50
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_en.json +5 -1
- package/dist/collection/assets/t9n/layer-table/resources.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_en.json +1 -0
- package/dist/collection/assets/t9n/map-card/resources.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_en.json +6 -1
- package/dist/collection/components/card-manager/card-manager.js +34 -8
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +176 -84
- package/dist/collection/components/layer-table/layer-table.js +175 -8
- package/dist/collection/components/map-card/map-card.css +4 -0
- package/dist/collection/components/map-card/map-card.js +368 -3
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +9 -3
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.css +8 -0
- package/dist/collection/components/map-picker/map-picker.js +74 -3
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/crowdsource-manager.html +1 -0
- package/dist/components/card-manager2.js +20 -8
- package/dist/components/crowdsource-manager.js +175 -55
- package/dist/components/layer-table2.js +72 -10
- package/dist/components/map-card2.js +288 -47
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +9 -3
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +24 -5
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +24 -8
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +369 -982
- package/dist/esm/calcite-graph_2.entry.js +1077 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
- package/dist/esm/calcite-tree_3.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +248 -20
- package/dist/esm/crowdsource-manager.entry.js +172 -51
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_en.json +5 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +1 -0
- package/dist/solutions-components/assets/t9n/map-card/resources.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_en.json +6 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +1 -0
- package/dist/solutions-components/p-0abc1354.entry.js +6 -0
- package/dist/solutions-components/p-0f7b5d36.entry.js +6 -0
- package/dist/solutions-components/{p-a9818be2.entry.js → p-20c465e9.entry.js} +1 -1
- package/dist/solutions-components/{p-db18bce8.entry.js → p-36b50b5b.entry.js} +1 -1
- package/dist/solutions-components/{p-85512ae3.entry.js → p-445213cf.entry.js} +1 -1
- package/dist/solutions-components/{p-d49f895d.entry.js → p-4a5f0a97.entry.js} +1 -1
- package/dist/solutions-components/{p-002c97df.entry.js → p-5d201016.entry.js} +1 -1
- package/dist/solutions-components/{p-b7cec3bd.entry.js → p-618bafec.entry.js} +1 -1
- package/dist/solutions-components/p-6a66d5a9.entry.js +6 -0
- package/dist/solutions-components/p-71a2d5b8.entry.js +6 -0
- package/dist/solutions-components/p-7a64b026.entry.js +17 -0
- package/dist/solutions-components/p-7d514d7f.entry.js +6 -0
- package/dist/solutions-components/p-85c25564.entry.js +6 -0
- package/dist/solutions-components/{p-235bf02e.entry.js → p-913413c3.entry.js} +1 -1
- package/dist/solutions-components/{p-49aa2929.entry.js → p-bebd4646.entry.js} +1 -1
- package/dist/solutions-components/p-ce454f5a.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/card-manager/card-manager.d.ts +11 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +88 -22
- package/dist/types/components/layer-table/layer-table.d.ts +30 -0
- package/dist/types/components/map-card/map-card.d.ts +124 -0
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +4 -0
- package/dist/types/components/map-picker/map-picker.d.ts +12 -0
- package/dist/types/components.d.ts +130 -8
- package/dist/types/preact.d.ts +4 -2
- package/package.json +5 -5
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +0 -453
- package/dist/esm/calcite-dropdown-group_2.entry.js +0 -448
- package/dist/solutions-components/p-129fd80e.entry.js +0 -6
- package/dist/solutions-components/p-3b426576.entry.js +0 -6
- package/dist/solutions-components/p-72b217f2.entry.js +0 -6
- package/dist/solutions-components/p-8b999a2b.entry.js +0 -6
- package/dist/solutions-components/p-973ff7b2.entry.js +0 -23
- package/dist/solutions-components/p-a001f9c9.entry.js +0 -6
- package/dist/solutions-components/p-c683b3fe.entry.js +0 -6
- package/dist/solutions-components/p-e9d049bd.entry.js +0 -6
|
@@ -87,6 +87,10 @@ export namespace Components {
|
|
|
87
87
|
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
|
88
88
|
*/
|
|
89
89
|
"mapView": __esri.MapView;
|
|
90
|
+
/**
|
|
91
|
+
* A list of ids that are currently selected
|
|
92
|
+
*/
|
|
93
|
+
"selectedFeaturesIds": number[];
|
|
90
94
|
/**
|
|
91
95
|
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
|
92
96
|
*/
|
|
@@ -221,10 +225,6 @@ export namespace Components {
|
|
|
221
225
|
* boolean: when true the layer table will support drag/drop of columns to adjust order
|
|
222
226
|
*/
|
|
223
227
|
"enableColumnReorder": boolean;
|
|
224
|
-
/**
|
|
225
|
-
* boolean: when true the users can have the option to create features
|
|
226
|
-
*/
|
|
227
|
-
"enableCreateFeatures": boolean;
|
|
228
228
|
/**
|
|
229
229
|
* boolean: when true the fullscreen widget will be available
|
|
230
230
|
*/
|
|
@@ -702,6 +702,14 @@ export namespace Components {
|
|
|
702
702
|
"showNextIcon"?: boolean;
|
|
703
703
|
}
|
|
704
704
|
interface LayerTable {
|
|
705
|
+
/**
|
|
706
|
+
* Closes the filter
|
|
707
|
+
*/
|
|
708
|
+
"closeFilter": () => Promise<void>;
|
|
709
|
+
/**
|
|
710
|
+
* boolean: create filter modal optional (default true) boolean value to create filter modal in layer table
|
|
711
|
+
*/
|
|
712
|
+
"createFilterModal": boolean;
|
|
705
713
|
/**
|
|
706
714
|
* string: Global ID of the feature to select
|
|
707
715
|
*/
|
|
@@ -734,6 +742,14 @@ export namespace Components {
|
|
|
734
742
|
* boolean: when true the share widget will be available
|
|
735
743
|
*/
|
|
736
744
|
"enableShare": boolean;
|
|
745
|
+
/**
|
|
746
|
+
* Reset the filter
|
|
747
|
+
*/
|
|
748
|
+
"filterReset": () => Promise<void>;
|
|
749
|
+
/**
|
|
750
|
+
* Updates the filter
|
|
751
|
+
*/
|
|
752
|
+
"filterUpdate": () => Promise<void>;
|
|
737
753
|
/**
|
|
738
754
|
* When true the component will render an optimized view for mobile devices
|
|
739
755
|
*/
|
|
@@ -754,6 +770,10 @@ export namespace Components {
|
|
|
754
770
|
* boolean: When true only editable layers that support the update capability will be available
|
|
755
771
|
*/
|
|
756
772
|
"onlyShowUpdatableLayers": boolean;
|
|
773
|
+
/**
|
|
774
|
+
* refresh the feature table
|
|
775
|
+
*/
|
|
776
|
+
"refresh": () => Promise<void>;
|
|
757
777
|
/**
|
|
758
778
|
* number[]: A list of ids that are currently selected
|
|
759
779
|
*/
|
|
@@ -794,6 +814,10 @@ export namespace Components {
|
|
|
794
814
|
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
|
795
815
|
*/
|
|
796
816
|
"basemapConfig": IBasemapConfig;
|
|
817
|
+
/**
|
|
818
|
+
* string: when provided this layer ID will be used when the app loads
|
|
819
|
+
*/
|
|
820
|
+
"defaultLayerId": string;
|
|
797
821
|
/**
|
|
798
822
|
* string: Item ID of the web map that should be selected by default when the app loads
|
|
799
823
|
*/
|
|
@@ -826,6 +850,10 @@ export namespace Components {
|
|
|
826
850
|
* boolean: when true map tools will be displayed within a single expand/collapse widget when false widgets will be loaded individually into expand widgets
|
|
827
851
|
*/
|
|
828
852
|
"enableSingleExpand": boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Reset the filter
|
|
855
|
+
*/
|
|
856
|
+
"filterReset": () => Promise<void>;
|
|
829
857
|
/**
|
|
830
858
|
* boolean: When true the map display will be hidden
|
|
831
859
|
*/
|
|
@@ -842,6 +870,18 @@ export namespace Components {
|
|
|
842
870
|
* "s" | "m" | "l": Used for Zoom and Home tools
|
|
843
871
|
*/
|
|
844
872
|
"homeZoomToolsSize": "s" | "m" | "l";
|
|
873
|
+
/**
|
|
874
|
+
* boolean: When true map will shown is full screen
|
|
875
|
+
*/
|
|
876
|
+
"isMapLayout": boolean;
|
|
877
|
+
/**
|
|
878
|
+
* When true the component will render an optimized view for mobile devices
|
|
879
|
+
*/
|
|
880
|
+
"isMobile": boolean;
|
|
881
|
+
/**
|
|
882
|
+
* IMapInfo: key configuration details about the current map
|
|
883
|
+
*/
|
|
884
|
+
"mapInfo": IMapInfo;
|
|
845
885
|
/**
|
|
846
886
|
* IMapInfo[]: array of map infos (name and id)
|
|
847
887
|
*/
|
|
@@ -862,6 +902,18 @@ export namespace Components {
|
|
|
862
902
|
* "s" | "m" | "l": Used for optional map tool widget
|
|
863
903
|
*/
|
|
864
904
|
"mapWidgetsSize": "s" | "m" | "l";
|
|
905
|
+
/**
|
|
906
|
+
* boolean: When true only editable layers that support the update capability will be available
|
|
907
|
+
*/
|
|
908
|
+
"onlyShowUpdatableLayers": boolean;
|
|
909
|
+
/**
|
|
910
|
+
* number[]: A list of ids that are currently selected
|
|
911
|
+
*/
|
|
912
|
+
"selectedFeaturesIds": number[];
|
|
913
|
+
/**
|
|
914
|
+
* __esri.FeatureLayer: Selected layer
|
|
915
|
+
*/
|
|
916
|
+
"selectedLayer": __esri.FeatureLayer;
|
|
865
917
|
/**
|
|
866
918
|
* boolean: When true the map widget tools will have no margin between them. When false the map widget tools will have a margin between them.
|
|
867
919
|
*/
|
|
@@ -874,6 +926,14 @@ export namespace Components {
|
|
|
874
926
|
* Valid tools: "legend", "search", "fullscreen", "basemap", "floorfilter"
|
|
875
927
|
*/
|
|
876
928
|
"toolOrder": string[];
|
|
929
|
+
/**
|
|
930
|
+
* updates the filter
|
|
931
|
+
*/
|
|
932
|
+
"updateFilter": () => Promise<void>;
|
|
933
|
+
/**
|
|
934
|
+
* number: default scale to zoom to when zooming to a single point feature
|
|
935
|
+
*/
|
|
936
|
+
"zoomToScale": number;
|
|
877
937
|
}
|
|
878
938
|
interface MapDrawTools {
|
|
879
939
|
/**
|
|
@@ -1010,11 +1070,23 @@ export namespace Components {
|
|
|
1010
1070
|
"mapView": __esri.MapView;
|
|
1011
1071
|
}
|
|
1012
1072
|
interface MapPicker {
|
|
1073
|
+
/**
|
|
1074
|
+
* Closes the list
|
|
1075
|
+
*/
|
|
1076
|
+
"close": () => Promise<void>;
|
|
1077
|
+
/**
|
|
1078
|
+
* boolean: when true map list will shown in half width.
|
|
1079
|
+
*/
|
|
1080
|
+
"isMapLayout"?: boolean;
|
|
1013
1081
|
/**
|
|
1014
1082
|
* IMapInfo[]: array of map infos (name and id)
|
|
1015
1083
|
*/
|
|
1016
1084
|
"mapInfos": IMapInfo[];
|
|
1017
1085
|
"setMapByID": (id: string) => Promise<void>;
|
|
1086
|
+
/**
|
|
1087
|
+
* Expands the list
|
|
1088
|
+
*/
|
|
1089
|
+
"toggle": (mapListExpanded: boolean) => Promise<void>;
|
|
1018
1090
|
}
|
|
1019
1091
|
interface MapSearch {
|
|
1020
1092
|
/**
|
|
@@ -1979,6 +2051,7 @@ declare global {
|
|
|
1979
2051
|
};
|
|
1980
2052
|
interface HTMLLayerTableElementEventMap {
|
|
1981
2053
|
"featureSelectionChange": number[];
|
|
2054
|
+
"toggleFilter": void;
|
|
1982
2055
|
}
|
|
1983
2056
|
interface HTMLLayerTableElement extends Components.LayerTable, HTMLStencilElement {
|
|
1984
2057
|
addEventListener<K extends keyof HTMLLayerTableElementEventMap>(type: K, listener: (this: HTMLLayerTableElement, ev: LayerTableCustomEvent<HTMLLayerTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2026,6 +2099,7 @@ declare global {
|
|
|
2026
2099
|
interface HTMLMapCardElementEventMap {
|
|
2027
2100
|
"mapChanged": IMapChange;
|
|
2028
2101
|
"beforeMapChanged": void;
|
|
2102
|
+
"toggleFilter": void;
|
|
2029
2103
|
}
|
|
2030
2104
|
interface HTMLMapCardElement extends Components.MapCard, HTMLStencilElement {
|
|
2031
2105
|
addEventListener<K extends keyof HTMLMapCardElementEventMap>(type: K, listener: (this: HTMLMapCardElement, ev: MapCardCustomEvent<HTMLMapCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2491,6 +2565,10 @@ declare namespace LocalJSX {
|
|
|
2491
2565
|
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
|
2492
2566
|
*/
|
|
2493
2567
|
"mapView"?: __esri.MapView;
|
|
2568
|
+
/**
|
|
2569
|
+
* A list of ids that are currently selected
|
|
2570
|
+
*/
|
|
2571
|
+
"selectedFeaturesIds"?: number[];
|
|
2494
2572
|
/**
|
|
2495
2573
|
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
|
2496
2574
|
*/
|
|
@@ -2643,10 +2721,6 @@ declare namespace LocalJSX {
|
|
|
2643
2721
|
* boolean: when true the layer table will support drag/drop of columns to adjust order
|
|
2644
2722
|
*/
|
|
2645
2723
|
"enableColumnReorder"?: boolean;
|
|
2646
|
-
/**
|
|
2647
|
-
* boolean: when true the users can have the option to create features
|
|
2648
|
-
*/
|
|
2649
|
-
"enableCreateFeatures"?: boolean;
|
|
2650
2724
|
/**
|
|
2651
2725
|
* boolean: when true the fullscreen widget will be available
|
|
2652
2726
|
*/
|
|
@@ -3127,6 +3201,10 @@ declare namespace LocalJSX {
|
|
|
3127
3201
|
"showNextIcon"?: boolean;
|
|
3128
3202
|
}
|
|
3129
3203
|
interface LayerTable {
|
|
3204
|
+
/**
|
|
3205
|
+
* boolean: create filter modal optional (default true) boolean value to create filter modal in layer table
|
|
3206
|
+
*/
|
|
3207
|
+
"createFilterModal"?: boolean;
|
|
3130
3208
|
/**
|
|
3131
3209
|
* string: Global ID of the feature to select
|
|
3132
3210
|
*/
|
|
@@ -3179,6 +3257,10 @@ declare namespace LocalJSX {
|
|
|
3179
3257
|
* Emitted on demand when a layer is selected
|
|
3180
3258
|
*/
|
|
3181
3259
|
"onFeatureSelectionChange"?: (event: LayerTableCustomEvent<number[]>) => void;
|
|
3260
|
+
/**
|
|
3261
|
+
* Emitted on demand when filter action is clicked
|
|
3262
|
+
*/
|
|
3263
|
+
"onToggleFilter"?: (event: LayerTableCustomEvent<void>) => void;
|
|
3182
3264
|
/**
|
|
3183
3265
|
* boolean: When true only editable layers that support the update capability will be available
|
|
3184
3266
|
*/
|
|
@@ -3227,6 +3309,10 @@ declare namespace LocalJSX {
|
|
|
3227
3309
|
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
|
3228
3310
|
*/
|
|
3229
3311
|
"basemapConfig"?: IBasemapConfig;
|
|
3312
|
+
/**
|
|
3313
|
+
* string: when provided this layer ID will be used when the app loads
|
|
3314
|
+
*/
|
|
3315
|
+
"defaultLayerId"?: string;
|
|
3230
3316
|
/**
|
|
3231
3317
|
* string: Item ID of the web map that should be selected by default when the app loads
|
|
3232
3318
|
*/
|
|
@@ -3275,6 +3361,18 @@ declare namespace LocalJSX {
|
|
|
3275
3361
|
* "s" | "m" | "l": Used for Zoom and Home tools
|
|
3276
3362
|
*/
|
|
3277
3363
|
"homeZoomToolsSize"?: "s" | "m" | "l";
|
|
3364
|
+
/**
|
|
3365
|
+
* boolean: When true map will shown is full screen
|
|
3366
|
+
*/
|
|
3367
|
+
"isMapLayout"?: boolean;
|
|
3368
|
+
/**
|
|
3369
|
+
* When true the component will render an optimized view for mobile devices
|
|
3370
|
+
*/
|
|
3371
|
+
"isMobile"?: boolean;
|
|
3372
|
+
/**
|
|
3373
|
+
* IMapInfo: key configuration details about the current map
|
|
3374
|
+
*/
|
|
3375
|
+
"mapInfo"?: IMapInfo;
|
|
3278
3376
|
/**
|
|
3279
3377
|
* IMapInfo[]: array of map infos (name and id)
|
|
3280
3378
|
*/
|
|
@@ -3303,6 +3401,22 @@ declare namespace LocalJSX {
|
|
|
3303
3401
|
* Emitted when a new map is loaded
|
|
3304
3402
|
*/
|
|
3305
3403
|
"onMapChanged"?: (event: MapCardCustomEvent<IMapChange>) => void;
|
|
3404
|
+
/**
|
|
3405
|
+
* Emitted on demand when filter action is clicked
|
|
3406
|
+
*/
|
|
3407
|
+
"onToggleFilter"?: (event: MapCardCustomEvent<void>) => void;
|
|
3408
|
+
/**
|
|
3409
|
+
* boolean: When true only editable layers that support the update capability will be available
|
|
3410
|
+
*/
|
|
3411
|
+
"onlyShowUpdatableLayers"?: boolean;
|
|
3412
|
+
/**
|
|
3413
|
+
* number[]: A list of ids that are currently selected
|
|
3414
|
+
*/
|
|
3415
|
+
"selectedFeaturesIds"?: number[];
|
|
3416
|
+
/**
|
|
3417
|
+
* __esri.FeatureLayer: Selected layer
|
|
3418
|
+
*/
|
|
3419
|
+
"selectedLayer"?: __esri.FeatureLayer;
|
|
3306
3420
|
/**
|
|
3307
3421
|
* boolean: When true the map widget tools will have no margin between them. When false the map widget tools will have a margin between them.
|
|
3308
3422
|
*/
|
|
@@ -3315,6 +3429,10 @@ declare namespace LocalJSX {
|
|
|
3315
3429
|
* Valid tools: "legend", "search", "fullscreen", "basemap", "floorfilter"
|
|
3316
3430
|
*/
|
|
3317
3431
|
"toolOrder"?: string[];
|
|
3432
|
+
/**
|
|
3433
|
+
* number: default scale to zoom to when zooming to a single point feature
|
|
3434
|
+
*/
|
|
3435
|
+
"zoomToScale"?: number;
|
|
3318
3436
|
}
|
|
3319
3437
|
interface MapDrawTools {
|
|
3320
3438
|
/**
|
|
@@ -3473,6 +3591,10 @@ declare namespace LocalJSX {
|
|
|
3473
3591
|
"mapView"?: __esri.MapView;
|
|
3474
3592
|
}
|
|
3475
3593
|
interface MapPicker {
|
|
3594
|
+
/**
|
|
3595
|
+
* boolean: when true map list will shown in half width.
|
|
3596
|
+
*/
|
|
3597
|
+
"isMapLayout"?: boolean;
|
|
3476
3598
|
/**
|
|
3477
3599
|
* IMapInfo[]: array of map infos (name and id)
|
|
3478
3600
|
*/
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -719,8 +719,9 @@ declare module "preact/src/jsx" {
|
|
|
719
719
|
"onlayersListLoaded"?: (event: CustomEvent<any>) => void;
|
|
720
720
|
}
|
|
721
721
|
|
|
722
|
-
"layer-table": Omit<JSX.SolutionsLayerTable, "onFeatureSelectionChange"> & JSXInternal.HTMLAttributes<HTMLSolutionsLayerTableElement> & {
|
|
722
|
+
"layer-table": Omit<JSX.SolutionsLayerTable, "onFeatureSelectionChange" | "onToggleFilter"> & JSXInternal.HTMLAttributes<HTMLSolutionsLayerTableElement> & {
|
|
723
723
|
"onfeatureSelectionChange"?: (event: CustomEvent<any>) => void;
|
|
724
|
+
"ontoggleFilter"?: (event: CustomEvent<any>) => void;
|
|
724
725
|
}
|
|
725
726
|
|
|
726
727
|
"layout-manager": Omit<JSX.SolutionsLayoutManager, "onLayoutChanged"> & JSXInternal.HTMLAttributes<HTMLSolutionsLayoutManagerElement> & {
|
|
@@ -731,9 +732,10 @@ declare module "preact/src/jsx" {
|
|
|
731
732
|
|
|
732
733
|
"location-flow-item": JSX.SolutionsLocationFlowItem & JSXInternal.HTMLAttributes<HTMLSolutionsLocationFlowItemElement>
|
|
733
734
|
|
|
734
|
-
"map-card": Omit<JSX.SolutionsMapCard, "onMapChanged" | "onBeforeMapChanged"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapCardElement> & {
|
|
735
|
+
"map-card": Omit<JSX.SolutionsMapCard, "onMapChanged" | "onBeforeMapChanged" | "onToggleFilter"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapCardElement> & {
|
|
735
736
|
"onmapChanged"?: (event: CustomEvent<any>) => void;
|
|
736
737
|
"onbeforeMapChanged"?: (event: CustomEvent<any>) => void;
|
|
738
|
+
"ontoggleFilter"?: (event: CustomEvent<any>) => void;
|
|
737
739
|
}
|
|
738
740
|
|
|
739
741
|
"map-draw-tools": Omit<JSX.SolutionsMapDrawTools, "onSelectionLoadingChange" | "onSketchGraphicsChange" | "onDrawUndo" | "onDrawRedo"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapDrawToolsElement> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/solutions-components",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.9",
|
|
4
4
|
"description": "Web Components for Esri's Solutions Applications",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"copy:instant-app-component-assests": "ncp node_modules/@esri/instant-apps-components/dist/assets src/assets && ncp node_modules/@esri/instant-apps-components/dist/assets src/demos/assets"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@babel/core": "^7.
|
|
35
|
+
"@babel/core": "^7.25.2",
|
|
36
36
|
"@babel/preset-env": "^7.25.3",
|
|
37
37
|
"@babel/preset-typescript": "^7.24.7",
|
|
38
38
|
"@babel/types": "^7.24.9",
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"@types/jest": "^29.5.12",
|
|
52
52
|
"@types/node": "^22.1.0",
|
|
53
53
|
"@typescript-eslint/eslint-plugin": "^7.17.0",
|
|
54
|
-
"@typescript-eslint/parser": "^7.
|
|
54
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
55
55
|
"autoprefixer": "^10.4.19",
|
|
56
56
|
"babel-jest": "^29.7.0",
|
|
57
57
|
"braces": "^3.0.3",
|
|
58
58
|
"dotenv": "^16.4.5",
|
|
59
59
|
"eslint": "^8.56.0",
|
|
60
60
|
"eslint-config-prettier": "9.1.0",
|
|
61
|
-
"eslint-plugin-jest": "28.
|
|
61
|
+
"eslint-plugin-jest": "28.8.0",
|
|
62
62
|
"eslint-plugin-prettier": "5.2.1",
|
|
63
63
|
"eslint-plugin-react": "7.35.0",
|
|
64
64
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@esri/arcgis-rest-portal": "^3.7.0",
|
|
88
88
|
"@esri/arcgis-rest-request": "^3.7.0",
|
|
89
89
|
"@esri/calcite-components": "2.11.1",
|
|
90
|
-
"@esri/hub-common": "^14.
|
|
90
|
+
"@esri/hub-common": "^14.177.0",
|
|
91
91
|
"@esri/hub-initiatives": "^14.0.0",
|
|
92
92
|
"@esri/hub-sites": "^15.0.0",
|
|
93
93
|
"@esri/hub-teams": "^14.1.1",
|