@conterra/ct-mapapps-typings 4.19.3 → 4.20.0-RC-1
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/agssearch/api.d.ts +2 -2
- package/agssearch/package.json +1 -1
- package/apprt/api/index.d.ts +1 -0
- package/apprt/api/internal.d.ts +1 -1
- package/apprt/launch/BundleController.d.ts +2 -1
- package/apprt/launch/Launcher.d.ts +21 -2
- package/apprt/package.json +1 -1
- package/apprt-binding/package.json +1 -1
- package/apprt-core/Types.d.ts +1 -1
- package/apprt-core/config.d.ts +7 -7
- package/apprt-core/load-js.d.ts +1 -1
- package/apprt-core/package.json +1 -1
- package/apprt-dom/package.json +1 -1
- package/apprt-fetch/index.d.ts +1 -1
- package/apprt-fetch/package.json +1 -1
- package/apprt-streams/package.json +1 -1
- package/apprt-tokens/package.json +1 -1
- package/apprt-vue/package.json +1 -1
- package/apprt-vuetify/components/copyText.d.ts +8 -0
- package/apprt-vuetify/package.json +1 -1
- package/coordinateconversion/api.d.ts +182 -0
- package/coordinateconversion/package.json +5 -0
- package/coordinatetransformer/api/CoordinateTransformer.d.ts +6 -4
- package/coordinatetransformer/api/ProjectionStore.d.ts +4 -2
- package/coordinatetransformer/api/TransformationProvider.d.ts +6 -4
- package/coordinatetransformer/api/TransformerStrategy.d.ts +4 -2
- package/coordinatetransformer/api/index.d.ts +6 -4
- package/coordinatetransformer/package.json +1 -1
- package/ct/async.d.ts +1 -1
- package/ct/mapping/geometry.d.ts +6 -6
- package/ct/package.json +1 -1
- package/dataform/package.json +1 -1
- package/dataview/package.json +1 -1
- package/domains-system/package.json +1 -1
- package/editing/api.d.ts +5 -15
- package/editing/package.json +1 -1
- package/esri-widgets/package.json +1 -1
- package/geojson/api.d.ts +6 -6
- package/geojson/package.json +1 -1
- package/geometryservice/api.d.ts +15 -15
- package/geometryservice/package.json +1 -1
- package/graphics/GraphicsBuilder.d.ts +1 -1
- package/graphics/package.json +1 -1
- package/highlights/api.d.ts +4 -4
- package/highlights/package.json +1 -1
- package/integration-map/package.json +1 -1
- package/managementlayout/package.json +1 -1
- package/map-actions/api.d.ts +2 -2
- package/map-actions/package.json +1 -1
- package/map-basemaps-api/BasemapItem.d.ts +2 -9
- package/map-basemaps-api/BasemapsModel.d.ts +1 -1
- package/map-basemaps-api/api.d.ts +1 -1
- package/map-basemaps-api/package.json +1 -1
- package/map-config-api/api.d.ts +38 -38
- package/map-config-api/package.json +1 -1
- package/map-init/api.d.ts +1 -1
- package/map-init/package.json +1 -1
- package/map-widget/Constraints.d.ts +16 -11
- package/map-widget/LayerObserver.d.ts +5 -5
- package/map-widget/LayerTraverser.d.ts +5 -5
- package/map-widget/MapWidgetFactory.d.ts +17 -11
- package/map-widget/MapWidgetModel.d.ts +16 -11
- package/map-widget/Navigation.d.ts +9 -2
- package/map-widget/ViewReadyWatcher.d.ts +16 -11
- package/map-widget/__internal__/{DTPbI1Aa.d.ts → ChgqPGgf.d.ts} +54 -10
- package/map-widget/api/BaseTypes.d.ts +6 -0
- package/map-widget/api/Constraints.d.ts +16 -11
- package/map-widget/api/MapWidget.d.ts +16 -11
- package/map-widget/api/MapWidgetFactory.d.ts +19 -14
- package/map-widget/api/MapWidgetModel.d.ts +16 -11
- package/map-widget/api/MapWidgetRegistration.d.ts +17 -12
- package/map-widget/api/Navigation.d.ts +15 -2
- package/map-widget/api/SrsChangeService.d.ts +16 -11
- package/map-widget/api/VisibilityState.d.ts +109 -0
- package/map-widget/api/index.d.ts +17 -12
- package/map-widget/package.json +1 -1
- package/mapdraw-api/api.d.ts +3 -3
- package/mapdraw-api/package.json +1 -1
- package/mapnavigation/package.json +1 -1
- package/maptips/api.d.ts +2 -2
- package/maptips/package.json +1 -1
- package/measurement-2d/api.d.ts +3 -2
- package/measurement-2d/package.json +1 -1
- package/measurement-3d/api.d.ts +1 -1
- package/measurement-3d/package.json +1 -1
- package/package.json +6 -6
- package/parametermanager/package.json +1 -1
- package/popups/Action.d.ts +7 -7
- package/popups/BaseAction.d.ts +8 -8
- package/popups/ContentUpdateProxy.d.ts +3 -3
- package/popups/api.d.ts +6 -5
- package/popups/package.json +1 -1
- package/portal-security/api.d.ts +1 -1
- package/portal-security/package.json +1 -1
- package/result-api/__internal__/{DHLZxzhJ.d.ts → BGEg3fBn.d.ts} +17 -4
- package/result-api/api/actions.d.ts +3 -2
- package/result-api/api/formatting.d.ts +3 -2
- package/result-api/api/index.d.ts +3 -2
- package/result-api/api/model.d.ts +3 -2
- package/result-api/api/service.d.ts +9 -2
- package/result-api/api/ui.d.ts +3 -2
- package/result-api/package.json +1 -1
- package/search-api/api.d.ts +16 -2
- package/search-api/package.json +1 -1
- package/search-ui/package.json +1 -1
- package/selection-services/DrawingSpatialInputAction.d.ts +1 -1
- package/selection-services/SearchSource.d.ts +3 -3
- package/selection-services/SpatialInputAction.d.ts +1 -1
- package/selection-services/TolerancePointDrawingInputAction.d.ts +1 -1
- package/selection-services/api/index.d.ts +1 -1
- package/selection-services/package.json +1 -1
- package/store-api/ComplexQuery.d.ts +1 -1
- package/store-api/InMemoryStore.d.ts +1 -1
- package/store-api/QueryResults.d.ts +1 -3
- package/store-api/SpatialQuery.d.ts +1 -1
- package/store-api/api/ComplexQueryLang.d.ts +1 -1
- package/store-api/api/Store.d.ts +2 -10
- package/store-api/api/index.d.ts +1 -1
- package/store-api/package.json +1 -1
- package/store-api/rest/BaseRestStore.d.ts +1 -1
- package/store-api/rest/BaseWriteableRestStore.d.ts +1 -1
- package/store-api/rest/ComplexQueryToSQL.d.ts +1 -1
- package/store-api/rest/ComplexQueryToSolrQL.d.ts +1 -1
- package/store-api/rest/RQLStore.d.ts +1 -1
- package/store-api/rest/SQLStore.d.ts +1 -1
- package/store-api/utils.d.ts +1 -5
- package/system/package.json +1 -1
- package/templatelayout/package.json +1 -1
- package/test-utils/package.json +1 -1
- package/theme-tester/package.json +1 -1
- package/toc/api/Action.d.ts +4 -4
- package/toc/api/Item.d.ts +5 -5
- package/toc/api/StateChecker.d.ts +4 -4
- package/toc/api/index.d.ts +4 -4
- package/toc/package.json +1 -1
- package/toolrules/package.json +1 -1
- package/vuetify-component-overview/package.json +1 -1
- package/windowmanager/package.json +1 -1
- package/wizard/package.json +1 -1
- package/apprt-core/Observable.d.ts +0 -55
- package/apprt-request/api.d.ts +0 -340
- package/apprt-request/main.d.ts +0 -6
- package/apprt-request/package.json +0 -5
- package/apprt-request/request.d.ts +0 -8
- package/apprt-vue/directives/clipboard.d.ts +0 -15
- package/ct/api/omnisearch/ResultHandler.d.ts +0 -3
- package/ct/api/omnisearch/Store.d.ts +0 -3
- package/ct/request.d.ts +0 -17
- package/ct/ui/controls/mobile/DropDownMenu.d.ts +0 -3
- package/omnisearch/ActionsHandler.d.ts +0 -9
- package/omnisearch/DrawHandler.d.ts +0 -9
- package/omnisearch/DropDownMenu.d.ts +0 -3
- package/omnisearch/OmniSearchFactory.d.ts +0 -3
- package/omnisearch/OmniSearchModel.d.ts +0 -3
- package/omnisearch/RadioButton.d.ts +0 -3
- package/omnisearch/ResultCommand.d.ts +0 -9
- package/omnisearch/SearchUI.d.ts +0 -3
- package/omnisearch/SettingsWidget.d.ts +0 -3
- package/omnisearch/ZoomHandler.d.ts +0 -8
- package/omnisearch/package.json +0 -5
- package/resultcenter/ActionController.d.ts +0 -3
- package/resultcenter/BaseCommand.d.ts +0 -3
- package/resultcenter/DataModel.d.ts +0 -3
- package/resultcenter/DataModelBroadcaster.d.ts +0 -3
- package/resultcenter/DataModelMapController.d.ts +0 -25
- package/resultcenter/DataViewController.d.ts +0 -3
- package/resultcenter/DataViewStore.d.ts +0 -3
- package/resultcenter/ExportResultsCommand.d.ts +0 -12
- package/resultcenter/FeatureMapVisualizer.d.ts +0 -35
- package/resultcenter/GraphicResolverFactory.d.ts +0 -15
- package/resultcenter/OpenPopupService.d.ts +0 -5
- package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +0 -3
- package/resultcenter/RemoveResultsCommand.d.ts +0 -6
- package/resultcenter/RestrictQueriesToView.d.ts +0 -3
- package/resultcenter/ResultcenterToolRuleProcessor.d.ts +0 -3
- package/resultcenter/SearchStoreHandler.d.ts +0 -8
- package/resultcenter/SelectAllResultsCommand.d.ts +0 -11
- package/resultcenter/StoreEventReceiver.d.ts +0 -3
- package/resultcenter/StoreRegistration.d.ts +0 -3
- package/resultcenter/TriggerShowResultCenter.d.ts +0 -3
- package/resultcenter/VisualizationLayerResolver.d.ts +0 -13
- package/resultcenter/package.json +0 -5
- package/selection-resultcenter/CachingStore.d.ts +0 -229
- package/selection-resultcenter/MemoryStore.d.ts +0 -10
- package/selection-resultcenter/package.json +0 -5
package/popups/Action.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseActionConstructor } from './BaseAction.js';
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
2
|
+
import '@arcgis/core/support/actions/ActionButton';
|
|
3
|
+
import '@arcgis/core/support/actions/ActionToggle';
|
|
4
4
|
import './api.js';
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Point';
|
|
6
|
+
import '@arcgis/core/Graphic';
|
|
7
|
+
import '@arcgis/core/layers/Layer';
|
|
8
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
9
9
|
import 'map-widget/api';
|
|
10
10
|
import 'store-api/api';
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ declare const Action_base: BaseActionConstructor<"button">;
|
|
|
14
14
|
* This is the default Action class.
|
|
15
15
|
* It equals `popups/BaseAction("button")`.
|
|
16
16
|
*
|
|
17
|
-
* @see [
|
|
17
|
+
* @see [@arcgis/core/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html)
|
|
18
18
|
*/
|
|
19
19
|
declare class Action extends Action_base {
|
|
20
20
|
}
|
package/popups/BaseAction.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import ActionButton from '
|
|
2
|
-
import ActionToggle from '
|
|
1
|
+
import ActionButton from '@arcgis/core/support/actions/ActionButton';
|
|
2
|
+
import ActionToggle from '@arcgis/core/support/actions/ActionToggle';
|
|
3
3
|
import { Action } from './api.js';
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry/Point';
|
|
5
|
+
import '@arcgis/core/Graphic';
|
|
6
|
+
import '@arcgis/core/layers/Layer';
|
|
7
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
8
8
|
import 'map-widget/api';
|
|
9
9
|
import 'store-api/api';
|
|
10
10
|
|
|
@@ -26,8 +26,8 @@ type EsriActionProps<Type extends EsriActionType> = EsriActions[Type][1];
|
|
|
26
26
|
*/
|
|
27
27
|
type EsriActionType = "button" | "toggle";
|
|
28
28
|
/**
|
|
29
|
-
* Either [
|
|
30
|
-
* or [
|
|
29
|
+
* Either [@arcgis/core/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html)
|
|
30
|
+
* or [@arcgis/core/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html)
|
|
31
31
|
*/
|
|
32
32
|
type EsriAction = ActionButton | ActionToggle;
|
|
33
33
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Graphic from '
|
|
1
|
+
import Graphic from '@arcgis/core/Graphic';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Proxy to handle content updates
|
|
@@ -24,8 +24,8 @@ interface WidgetProxy {
|
|
|
24
24
|
* @example
|
|
25
25
|
* ```ts
|
|
26
26
|
* import VueDijit from "apprt-vue/VueDijit";
|
|
27
|
-
* import Graphic from "
|
|
28
|
-
* import Layer from "
|
|
27
|
+
* import Graphic from "@arcgis/core/Graphic";
|
|
28
|
+
* import Layer from "@arcgis/core/layers/Layer";
|
|
29
29
|
* import { PopupDefinition, PopupTemplateDefinition } from "popups/api";
|
|
30
30
|
* import ContentUpdateProxy, { WidgetProxy } from "popups/ContentUpdateProxy";
|
|
31
31
|
* import { Store } from "store-api/api";
|
package/popups/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import Graphic from '
|
|
3
|
-
import Layer from '
|
|
4
|
-
import Sublayer from '
|
|
1
|
+
import Point from '@arcgis/core/geometry/Point';
|
|
2
|
+
import Graphic from '@arcgis/core/Graphic';
|
|
3
|
+
import Layer from '@arcgis/core/layers/Layer';
|
|
4
|
+
import Sublayer from '@arcgis/core/layers/support/Sublayer';
|
|
5
5
|
import { MapWidgetModel } from 'map-widget/api';
|
|
6
6
|
import { Store } from 'store-api/api';
|
|
7
7
|
|
|
@@ -14,6 +14,7 @@ type PopupTemplateProperties = __esri.PopupTemplateProperties;
|
|
|
14
14
|
*/
|
|
15
15
|
type PopupTemplateDefinition = PopupTemplateProperties & {
|
|
16
16
|
popupType?: string;
|
|
17
|
+
customActions?: string[];
|
|
17
18
|
};
|
|
18
19
|
/**
|
|
19
20
|
* Result returned when the template could not be resolved.
|
|
@@ -186,7 +187,7 @@ interface ActionMethods {
|
|
|
186
187
|
/**
|
|
187
188
|
* Actions which can be executed in Popups.
|
|
188
189
|
*
|
|
189
|
-
* @see [
|
|
190
|
+
* @see [@arcgis/core/support/actions/ActionBase](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionBase.html)
|
|
190
191
|
*/
|
|
191
192
|
type Action = __esri.ActionButtonProperties & __esri.ActionToggleProperties & Required<Pick<__esri.ActionBaseProperties, "id" | "title">> & ActionMethods;
|
|
192
193
|
/**
|
package/popups/package.json
CHANGED
package/portal-security/api.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventSource, Watchable, DeepReadonly } from 'apprt-core/Types';
|
|
2
|
-
import {
|
|
2
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
3
|
+
import SpatialReference from '@arcgis/core/geometry/SpatialReference';
|
|
3
4
|
import { AllowedIdTypes, Store, FieldData } from 'store-api/api';
|
|
4
5
|
|
|
5
6
|
type FORMATTER_ID_IDENTIFIER = "object-id";
|
|
@@ -31,6 +32,7 @@ interface DateTimeFormatOptions {
|
|
|
31
32
|
interface ArcadeFormatOptions {
|
|
32
33
|
fieldNames: string[];
|
|
33
34
|
missingFieldNames?: string[];
|
|
35
|
+
geometryRequired: boolean;
|
|
34
36
|
arcadeExecutor: (args: {
|
|
35
37
|
$feature: __esri.Graphic;
|
|
36
38
|
}) => string;
|
|
@@ -644,6 +646,11 @@ interface Dataset<IdType extends DatasetItemId = DatasetItemId> extends EventSou
|
|
|
644
646
|
* A update error. This error may happen if an updating process failed.
|
|
645
647
|
*/
|
|
646
648
|
readonly updateError: Error | undefined;
|
|
649
|
+
/**
|
|
650
|
+
* The default aria field for each item.
|
|
651
|
+
* The dataset must be initialized to access this property.
|
|
652
|
+
*/
|
|
653
|
+
readonly defaultItemAriaField: string | undefined;
|
|
647
654
|
/**
|
|
648
655
|
* Provides access to the initial id provider, if not yet used to init the dataset.
|
|
649
656
|
*/
|
|
@@ -881,9 +888,9 @@ interface RowEvent<IdType> {
|
|
|
881
888
|
datasetItemId: IdType;
|
|
882
889
|
}
|
|
883
890
|
/**
|
|
884
|
-
* A table item is a dataset item, but without geometry.
|
|
891
|
+
* A table item is a dataset item, but (normally) without geometry.
|
|
885
892
|
*/
|
|
886
|
-
type TableItem<IdType extends DatasetItemId = DatasetItemId> =
|
|
893
|
+
type TableItem<IdType extends DatasetItemId = DatasetItemId> = DatasetItem<IdType>;
|
|
887
894
|
/**
|
|
888
895
|
* Events fired by a TableModel.
|
|
889
896
|
*/
|
|
@@ -985,6 +992,12 @@ interface TableModel<IdType extends DatasetItemId = DatasetItemId> extends Event
|
|
|
985
992
|
* Sort state.
|
|
986
993
|
*/
|
|
987
994
|
sortBy: SortSpecifier[];
|
|
995
|
+
/**
|
|
996
|
+
* The aria label of a row of the table.
|
|
997
|
+
* This is a string like `Text: ${columnName}`.
|
|
998
|
+
* The default UI attaches it as meta information to a row.
|
|
999
|
+
*/
|
|
1000
|
+
readonly rowAriaLabel: string;
|
|
988
1001
|
/**
|
|
989
1002
|
* Gets currently fetched rows.
|
|
990
1003
|
* Should only be accessed if table is in state "loaded".
|
|
@@ -1177,7 +1190,7 @@ interface Column {
|
|
|
1177
1190
|
/** Column alignment */
|
|
1178
1191
|
readonly align?: ColumnAlign;
|
|
1179
1192
|
/** Column special names for UI rendering */
|
|
1180
|
-
readonly renderType?: "text" | "mail" | "link";
|
|
1193
|
+
readonly renderType?: "auto" | "text" | "mail" | "link";
|
|
1181
1194
|
/**
|
|
1182
1195
|
* Referenced data set fields.
|
|
1183
1196
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { DataTableCollection, DataTable, TableItem } from '../__internal__/
|
|
1
|
+
import { DataTableCollection, DataTable, TableItem } from '../__internal__/BGEg3fBn.js';
|
|
2
2
|
import { EventSource } from 'apprt-core/Events';
|
|
3
3
|
import 'apprt-core/Types';
|
|
4
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry';
|
|
5
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
5
6
|
import 'store-api/api';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { ArcadeFormatOptions, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, NumberFormatOptions, WellKnownFormatterOptions } from '../__internal__/
|
|
1
|
+
export { ArcadeFormatOptions, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, NumberFormatOptions, WellKnownFormatterOptions } from '../__internal__/BGEg3fBn.js';
|
|
2
2
|
import 'apprt-core/Types';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry';
|
|
4
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
4
5
|
import 'store-api/api';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { ArcadeFormatOptions, CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Filter, FocusChangedEvent, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, ItemCount, NumberFormatOptions, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties, WellKnownFormatterOptions } from '../__internal__/
|
|
1
|
+
export { ArcadeFormatOptions, CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Filter, FocusChangedEvent, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, ItemCount, NumberFormatOptions, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties, WellKnownFormatterOptions } from '../__internal__/BGEg3fBn.js';
|
|
2
2
|
export { DataTableFactory, ResultViewerService, ResultViewerServiceEvents, ResultViewerServiceOpenOptions } from './service.js';
|
|
3
3
|
export { DataTableUi, DataTableUiConfig, DataTableUiEvents, DataTableUiFactory } from './ui.js';
|
|
4
4
|
export { BulkActionContext, BulkButtonTableAction, BulkTableAction, RowActionContext, RowButtonTableAction, RowTableAction, TableAction, TableActionDisplayState, TableActionDisplayStateProvider, TableActionItem, TableActionResolver, TableActionResolverContext, TableActionResolverContextEvents, TableActionResolverContextOptions, TableActionUIType } from './actions.js';
|
|
5
5
|
import 'apprt-core/Types';
|
|
6
|
-
import '
|
|
6
|
+
import '@arcgis/core/geometry';
|
|
7
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
7
8
|
import 'store-api/api';
|
|
8
9
|
import 'apprt-core/Events';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import 'apprt-core/Types';
|
|
2
|
-
import '
|
|
2
|
+
import '@arcgis/core/geometry';
|
|
3
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
3
4
|
import 'store-api/api';
|
|
4
|
-
export { CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, Filter, FocusChangedEvent, ItemCount, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties } from '../__internal__/
|
|
5
|
+
export { CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, Filter, FocusChangedEvent, ItemCount, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties } from '../__internal__/BGEg3fBn.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Store, ComplexQueryExpression, QueryOptions } from 'store-api/api';
|
|
2
|
-
import { DataTableCollection, DataTable, DatasetItemIdsProvider } from '../__internal__/
|
|
2
|
+
import { DataTableCollection, DataTable, DatasetItemIdsProvider } from '../__internal__/BGEg3fBn.js';
|
|
3
3
|
import { EventSource, Handle } from 'apprt-core/Types';
|
|
4
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry';
|
|
5
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
5
6
|
|
|
6
7
|
/** Events fired by the data table service */
|
|
7
8
|
interface ResultViewerServiceEvents {
|
|
@@ -82,6 +83,12 @@ interface ResultViewerService extends EventSource<ResultViewerServiceEvents> {
|
|
|
82
83
|
* Provides access to a factory to assemble DataTables.
|
|
83
84
|
*/
|
|
84
85
|
readonly dataTableFactory: DataTableFactory;
|
|
86
|
+
/**
|
|
87
|
+
* Controls whether results are visualized and interactive on the map.
|
|
88
|
+
* When enabled, result features are highlighted on the map and selecting
|
|
89
|
+
* a data table will automatically zoom to its features.
|
|
90
|
+
*/
|
|
91
|
+
enableMapInteraction: boolean;
|
|
85
92
|
}
|
|
86
93
|
/**
|
|
87
94
|
* Factory for data tables.
|
package/result-api/api/ui.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { DataTableCollection } from '../__internal__/
|
|
1
|
+
import { DataTableCollection } from '../__internal__/BGEg3fBn.js';
|
|
2
2
|
import { EventSource } from 'apprt-core/Types';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry';
|
|
4
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
4
5
|
import 'store-api/api';
|
|
5
6
|
|
|
6
7
|
/**
|
package/result-api/package.json
CHANGED
package/search-api/api.d.ts
CHANGED
|
@@ -50,6 +50,15 @@ interface SearchOptions {
|
|
|
50
50
|
* The default value is `15`.
|
|
51
51
|
*/
|
|
52
52
|
count?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Whether to request the number of total results from the queries stores.
|
|
55
|
+
*
|
|
56
|
+
* This is true by default for backwards compatibility reasons.
|
|
57
|
+
* Set this to `false` to skip requesting the total result count.
|
|
58
|
+
*
|
|
59
|
+
* See also {@link ResultSet.total}.
|
|
60
|
+
*/
|
|
61
|
+
queryTotal?: boolean;
|
|
53
62
|
/**
|
|
54
63
|
* An optional array of map action IDs.
|
|
55
64
|
* The associated map actions are triggered when an item is selected (see {@link ResultItem.select}).
|
|
@@ -113,8 +122,13 @@ interface ResultGroup {
|
|
|
113
122
|
interface ResultSet {
|
|
114
123
|
/** Result items, up to the requested amount. */
|
|
115
124
|
readonly items: ResultItem[];
|
|
116
|
-
/**
|
|
117
|
-
|
|
125
|
+
/**
|
|
126
|
+
* Total number of available results.
|
|
127
|
+
*
|
|
128
|
+
* This is present if the `queryTotal` option is set to `true` (the default).
|
|
129
|
+
* This is always undefined if `queryTotal` is set to `false`.
|
|
130
|
+
*/
|
|
131
|
+
readonly total: number | undefined;
|
|
118
132
|
/**
|
|
119
133
|
* Selects multiple items at once.
|
|
120
134
|
* The items must belong to this result set (from `this.items`).
|
package/search-api/package.json
CHANGED
package/search-ui/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
2
|
import SpatialInputActionImpl, { CommonSpatialInputActionOptions } from './SpatialInputAction.js';
|
|
3
3
|
import { MapWidgetModel } from 'map-widget/api';
|
|
4
|
-
import { Geometry } from '
|
|
4
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
5
5
|
import { DrawingFactory, Drawing } from 'mapdraw-api/api';
|
|
6
6
|
import './api/index.js';
|
|
7
7
|
import 'store-api/QueryExecutions';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SpatialQueryModifier, SearchSource } from './api/index.js';
|
|
2
|
-
import { Store } from 'store-api/api';
|
|
3
1
|
import { ServiceProperties } from 'apprt/api';
|
|
2
|
+
import { Store } from 'store-api/api';
|
|
3
|
+
import { SpatialQueryModifier, SearchSource } from './api/index.js';
|
|
4
4
|
import 'apprt-core/CancelablePromise';
|
|
5
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry';
|
|
6
6
|
import 'store-api/QueryExecutions';
|
|
7
7
|
import 'apprt-core/Types';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
2
|
import { SpatialInputAction } from './api/index.js';
|
|
3
|
-
import { Geometry } from '
|
|
3
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
4
4
|
import 'store-api/QueryExecutions';
|
|
5
5
|
import 'store-api/api';
|
|
6
6
|
import 'apprt-core/Types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Geometry } from '
|
|
1
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
2
2
|
import DrawingSpatialInputAction, { DrawingSpatialInputActionOptions } from './DrawingSpatialInputAction.js';
|
|
3
3
|
import 'apprt-core/CancelablePromise';
|
|
4
4
|
import './SpatialInputAction.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
|
-
import { Geometry } from '
|
|
2
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
3
3
|
import { QueryExecutions } from 'store-api/QueryExecutions';
|
|
4
4
|
import { Store, QueryOptions, IndexableThing } from 'store-api/api';
|
|
5
5
|
import { Watchable } from 'apprt-core/Types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Evented } from 'apprt-core/Events';
|
|
2
2
|
import { Metadata, StoreEvents, SyncStore, QueryOptions, ResultItems, SyncWritableStore, CreateOptions, AsyncStore, AsyncQueryResult, GetOptions, AsyncWritableStore } from './api/Store.js';
|
|
3
3
|
import { ComplexQueryExpression } from './api/ComplexQueryLang.js';
|
|
4
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry/Geometry';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Constructor options of all in-memory store variants.
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { toQueryResult } from './utils.js';
|
|
2
|
-
import 'apprt-core/CancelablePromise';
|
|
3
|
-
import 'apprt-core/Promise';
|
|
4
2
|
import './ComplexQuery.js';
|
|
5
3
|
import './api/ComplexQueryLang.js';
|
|
6
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry/Geometry';
|
|
7
5
|
import './api/Store.js';
|
|
8
6
|
import 'apprt-core/Events';
|
|
9
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ComplexQuery, { ComplexQueryOptions } from './ComplexQuery.js';
|
|
2
2
|
import './api/ComplexQueryLang.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Geometry';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* SpatialQuery registers and implements all SpatialOperators using the geometry engine of the esri js api.
|
package/store-api/api/Store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComplexQueryExpression } from './ComplexQueryLang.js';
|
|
2
2
|
import { EventSource } from 'apprt-core/Events';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Geometry';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* An object that allows index based access.
|
|
@@ -17,10 +17,6 @@ interface ResultItems<ItemType extends IndexableThing> extends ReadonlyArray<Ite
|
|
|
17
17
|
* The client may query again with an appropriate `start` value.
|
|
18
18
|
*/
|
|
19
19
|
readonly hasMore?: boolean;
|
|
20
|
-
/** Function to cancel the query. It is always 'undefined' in synchronous responses.
|
|
21
|
-
* @deprecated Use AbortOptions (AbortSignal)
|
|
22
|
-
*/
|
|
23
|
-
readonly cancel?: undefined;
|
|
24
20
|
/** Function to react on the provided result. It is always 'undefined' in synchronous responses. */
|
|
25
21
|
readonly then?: undefined;
|
|
26
22
|
}
|
|
@@ -33,10 +29,6 @@ interface AsyncQueryResult<ItemType extends IndexableThing> extends Promise<Resu
|
|
|
33
29
|
* @deprecated transport the 'total' value on the result array.
|
|
34
30
|
*/
|
|
35
31
|
readonly total?: Promise<number>;
|
|
36
|
-
/** Function to cancel the query.
|
|
37
|
-
* @deprecated Use AbortOptions (AbortSignal)
|
|
38
|
-
*/
|
|
39
|
-
cancel?(msg?: string): void;
|
|
40
32
|
}
|
|
41
33
|
type QueryResult<ItemType extends IndexableThing> = ResultItems<ItemType> | AsyncQueryResult<ItemType>;
|
|
42
34
|
/** Options to specify the results for queries. */
|
|
@@ -334,7 +326,7 @@ interface Metadata {
|
|
|
334
326
|
readonly supportsGeometryGeneralization?: boolean;
|
|
335
327
|
/**
|
|
336
328
|
* Flag to indicate, if the store can react to the 'sort' option in queries.
|
|
337
|
-
* If this flag
|
|
329
|
+
* If this flag omitted, the default value is 'true'.
|
|
338
330
|
*/
|
|
339
331
|
readonly supportsSorting?: boolean;
|
|
340
332
|
/**
|
package/store-api/api/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { AbortOptions, AllowedIdTypes, AsyncQueryResult, AsyncStore, AsyncWritableStore, CreateOptions, FieldData, GeometryOptions, GetOptions, IndexableThing, Metadata, PaginationOptions, QueryInterpretationOptions, QueryOptions, QueryResult, ResultItems, RetrievalOptions, SortItem, SortOptions, Store, StoreChangedEvent, StoreEvents, SyncStore, SyncWritableStore, WellKnownFieldTypes, WritableStore } from './Store.js';
|
|
2
2
|
export { AndExpression, ComplexQueryExpression, ElementMatchExpression, EqualsExpression, EqualsWildCardExpression, ExistsExpression, GreaterExpression, GreaterOrEqual, InExpression, LesserExpression, LesserOrEqualExpression, LogicExpression, NOrExpression, NotEqualExpression, NotExpression, NotInExpression, OrExpression, ShortAndExpression, SpatialContainsExpression, SpatialCrossesExpression, SpatialEnvelopeIntersectsExpression, SpatialIntersectsExpression, SpatialOperatorExpression, SpatialOverlapsExpression, SpatialTouchesExpression, SpatialWithinExpression, SuggestExpression, ValueOperatorExpression } from './ComplexQueryLang.js';
|
|
3
3
|
import 'apprt-core/Events';
|
|
4
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry/Geometry';
|
package/store-api/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { ApprtRequestInit, ApprtRequestTarget, CustomFetch } from 'apprt-fetch';
|
|
|
2
2
|
import { IndexableThing, AsyncStore, Metadata, GetOptions, QueryOptions, AsyncQueryResult, ResultItems } from '../api/Store.js';
|
|
3
3
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
4
4
|
import 'apprt-core/Events';
|
|
5
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Geometry';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Additional request options.
|
|
@@ -2,7 +2,7 @@ import { BaseRestStore, RequestOptions } from './BaseRestStore.js';
|
|
|
2
2
|
import { IndexableThing, AsyncWritableStore, CreateOptions } from '../api/Store.js';
|
|
3
3
|
import 'apprt-fetch';
|
|
4
4
|
import '../api/ComplexQueryLang.js';
|
|
5
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Geometry';
|
|
6
6
|
import 'apprt-core/Events';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AST, Walker, ComplexQueryOptions, ASTNode } from '../ComplexQuery.js';
|
|
2
2
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Geometry';
|
|
4
4
|
|
|
5
5
|
type Transformer = (node: ASTNode, queryOptions: ComplexQueryOptions, subResults?: string[]) => string;
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
2
2
|
import { ComplexQueryOptions, ASTNode, AST, Walker } from '../ComplexQuery.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Geometry';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Options extended by a 'geometryField'.
|
|
@@ -3,7 +3,7 @@ import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
|
3
3
|
import { BaseWriteableRestStore } from './BaseWriteableRestStore.js';
|
|
4
4
|
import { ComplexQueryOptions, ASTNode } from '../ComplexQuery.js';
|
|
5
5
|
import 'apprt-core/Events';
|
|
6
|
-
import '
|
|
6
|
+
import '@arcgis/core/geometry/Geometry';
|
|
7
7
|
import './BaseRestStore.js';
|
|
8
8
|
import 'apprt-fetch';
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import { QueryOptions } from '../api/Store.js';
|
|
|
2
2
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
3
3
|
import { BaseWriteableRestStore } from './BaseWriteableRestStore.js';
|
|
4
4
|
import 'apprt-core/Events';
|
|
5
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Geometry';
|
|
6
6
|
import './BaseRestStore.js';
|
|
7
7
|
import 'apprt-fetch';
|
|
8
8
|
|
package/store-api/utils.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
|
-
import CPromise from 'apprt-core/Promise';
|
|
3
1
|
import { ComplexQueryOptions } from './ComplexQuery.js';
|
|
4
2
|
import { ResultItems, AsyncQueryResult, IndexableThing, SortOptions, PaginationOptions, Metadata } from './api/Store.js';
|
|
5
3
|
import { ComplexQueryExpression } from './api/ComplexQueryLang.js';
|
|
6
4
|
import 'apprt-core/Events';
|
|
7
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Geometry';
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
8
|
* Sorts the given {@link ResultItems} by the rules specified in "options.sort".
|
|
@@ -60,8 +58,6 @@ declare function buildResult<T extends {}>(items: ReadonlyArray<T>, total?: numb
|
|
|
60
58
|
* @returns A QueryResult object.
|
|
61
59
|
*/
|
|
62
60
|
declare function toQueryResult<T extends {}>(result: T[]): ResultItems<T>;
|
|
63
|
-
declare function toQueryResult<T extends {}>(result: CPromise<ResultItems<T>>): AsyncQueryResult<T>;
|
|
64
|
-
declare function toQueryResult<T extends {}>(result: CancelablePromise<T>): AsyncQueryResult<T>;
|
|
65
61
|
declare function toQueryResult<T extends {}>(result: Promise<ResultItems<T>>): AsyncQueryResult<T>;
|
|
66
62
|
declare function toQueryResult<T extends {}>(result: undefined): ResultItems<T>;
|
|
67
63
|
/**
|
package/system/package.json
CHANGED
package/test-utils/package.json
CHANGED
package/toc/api/Action.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TocItem } from './Item.js';
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
2
|
+
import '@arcgis/core/layers/Layer';
|
|
3
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
4
|
+
import '@arcgis/core/layers/support/WMSSublayer';
|
|
5
|
+
import '@arcgis/core/Map';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Provides additional action definitions to the TOC.
|