jmapcloud-ng-core-types 1.1.18 → 1.1.20
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/ambient.d.ts +8 -0
- package/index.d.ts +2 -0
- package/index.ts +43 -33
- package/package.json +5 -3
- package/public/core.d.ts +11919 -12546
- package/public/global-aliases.d.ts +454 -0
- package/public/jmap/ajax.d.ts +34 -34
- package/public/jmap/attachment.d.ts +25 -26
- package/public/jmap/datasource.ts +11 -7
- package/public/jmap/date.d.ts +14 -12
- package/public/jmap/extension.d.ts +189 -186
- package/public/jmap/features.d.ts +39 -36
- package/public/jmap/form.d.ts +444 -453
- package/public/jmap/formJMC.d.ts +122 -109
- package/public/jmap/geocoding.d.ts +20 -17
- package/public/jmap/geometry.d.ts +41 -32
- package/public/jmap/jmapcloud-types.d.ts +10 -0
- package/public/jmap/language.d.ts +24 -22
- package/public/jmap/layer.d.ts +542 -531
- package/public/jmap/main.d.ts +22 -20
- package/public/jmap/map-context.d.ts +86 -78
- package/public/jmap/map.d.ts +599 -584
- package/public/jmap/mouseover.d.ts +58 -48
- package/public/jmap/photos.d.ts +36 -33
- package/public/jmap/project.d.ts +52 -47
- package/public/jmap/selection.d.ts +24 -21
- package/public/jmap/server.d.ts +47 -48
- package/public/jmap/simple-search.d.ts +40 -33
- package/public/jmap/startup-options.d.ts +452 -457
- package/public/jmap/table.d.ts +57 -44
- package/public/jmap/ui.d.ts +13 -10
- package/public/jmap/user.d.ts +150 -145
package/ambient.d.ts
ADDED
package/index.d.ts
ADDED
package/index.ts
CHANGED
|
@@ -889,6 +889,7 @@ export interface JTableService {
|
|
|
889
889
|
updateRow(tableId: JId, rowId: number, row: { [key: string]: any }): Promise<void>
|
|
890
890
|
deleteRow(tableId: JId, rowId: number): Promise<void>
|
|
891
891
|
getDataSourceAttributes(tableId: JId): Promise<JDataSourceAttribute[]>
|
|
892
|
+
setDynamicFilterActive(tableId: JId, filterId: string, isActive: boolean): void
|
|
892
893
|
}
|
|
893
894
|
|
|
894
895
|
export interface JLayerSearchService {
|
|
@@ -988,40 +989,49 @@ export interface JServerService {
|
|
|
988
989
|
getAllIdentityProvidersById(): JServerIdentityProviderById
|
|
989
990
|
}
|
|
990
991
|
|
|
992
|
+
export interface JDynamicLayerFilterService {
|
|
993
|
+
// TODO JMAP8-3266 : create new service
|
|
994
|
+
}
|
|
995
|
+
export interface JDynamicTableFilterService {
|
|
996
|
+
// TODO JMAP8-3266 : create new service
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
// TODO JMAP8-3266 : refactor this
|
|
991
1000
|
export interface JDynamicFilterService {
|
|
992
|
-
isAvailable(layerId: JId): boolean
|
|
993
|
-
isActive(layerId: JId): boolean
|
|
994
|
-
setIsActive(layerId: JId, isActive: boolean): void
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1001
|
+
// isAvailable(layerId: JId): boolean
|
|
1002
|
+
// isActive(layerId: JId): boolean
|
|
1003
|
+
setIsActive(layerId: JId, filterId: string, isActive: boolean): void
|
|
1004
|
+
// setIsActive(layerId: JId, isActive: boolean): void
|
|
1005
|
+
// getByLayerId(layerId: JId): JDynamicFilter
|
|
1006
|
+
// getAllOperators(): JLAYER_DYNAMIC_FILTER_OPERATORS[]
|
|
1007
|
+
// getAllMultipleValuesOperators(): JLAYER_DYNAMIC_FILTER_OPERATORS[]
|
|
1008
|
+
// getAllTwoValuesOperators(): JLAYER_DYNAMIC_FILTER_OPERATORS[]
|
|
1009
|
+
// getOperatorsForAttributeType(attributeType: JLAYER_ATTRIBUTE_TYPES): JLAYER_DYNAMIC_FILTER_OPERATORS[]
|
|
1010
|
+
// getConditionError(condition: JDynamicFilterCondition): string | undefined
|
|
1011
|
+
// isConditionValid(condition: JDynamicFilterCondition): boolean
|
|
1012
|
+
// existSimilarCondition(condition: JDynamicFilterCondition, isUpdate?: boolean): boolean
|
|
1013
|
+
// set(params: JDynamicFilterSetParams[]): void
|
|
1014
|
+
// createCondition(condition: JDynamicFilterCondition): number
|
|
1015
|
+
// updateCondition(condition: JDynamicFilterCondition): void
|
|
1016
|
+
// removeConditions(layerId: JId, conditionsIds: number[]): void
|
|
1017
|
+
// isNoValueOperator(operator: JLAYER_DYNAMIC_FILTER_OPERATORS): boolean
|
|
1018
|
+
// isMultipleValuesOperator(operator: JLAYER_DYNAMIC_FILTER_OPERATORS): boolean
|
|
1019
|
+
// isTwoValuesOperator(operator: JLAYER_DYNAMIC_FILTER_OPERATORS): boolean
|
|
1020
|
+
// getConditionValueError(
|
|
1021
|
+
// operator: JLAYER_DYNAMIC_FILTER_OPERATORS,
|
|
1022
|
+
// attributeType: JLAYER_ATTRIBUTE_TYPES,
|
|
1023
|
+
// value?: any
|
|
1024
|
+
// ): string | undefined
|
|
1025
|
+
// isConditionValueValid(
|
|
1026
|
+
// operator: JLAYER_DYNAMIC_FILTER_OPERATORS,
|
|
1027
|
+
// attributeType: JLAYER_ATTRIBUTE_TYPES,
|
|
1028
|
+
// value?: any
|
|
1029
|
+
// ): boolean
|
|
1030
|
+
// canAttributeTypeAcceptMultipleValuesOperators(attributeType: JLAYER_ATTRIBUTE_TYPES): boolean
|
|
1031
|
+
// canAttributeTypeAcceptTwoValuesOperators(attributeType: JLAYER_ATTRIBUTE_TYPES): boolean
|
|
1032
|
+
// getIsBetweenValuesError(attributeType: JLAYER_ATTRIBUTE_TYPES, value1: any, value2: any): string | undefined
|
|
1033
|
+
// getNowValue(): string
|
|
1034
|
+
// getAllLastOperatorUnits(): string[]
|
|
1025
1035
|
}
|
|
1026
1036
|
|
|
1027
1037
|
// MISC
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng-core-types",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.20",
|
|
4
4
|
"description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"types": "ambient.d.ts",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
9
|
+
"update-types-bridge": "node build/codemod-export-globals.js && node build/auto-add-imports.js",
|
|
10
|
+
"pub-github": "npm run update-types-bridge && node build/buildfile.js publish-github;",
|
|
11
|
+
"doc-test": "npm run update-types-bridge && node build/buildfile.js doc-test;"
|
|
10
12
|
},
|
|
11
13
|
"repository": {
|
|
12
14
|
"type": "git",
|