jmapcloud-ng-types 1.1.26 → 2.0.3
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/all-enums.ts +4 -2
- package/enums.ts +4 -8
- package/index.ts +31 -29
- package/package.json +3 -2
- package/public/app.d.ts +119 -109
- package/public/global-aliases.d.ts +0 -10
- package/public/layer.d.ts +12 -5
- package/public/message.d.ts +0 -39
- package/public/user.d.ts +0 -13
package/all-enums.ts
CHANGED
|
@@ -13,6 +13,7 @@ export const ALL_APP_DRAW_MODES: JAPP_DRAW_MODES[] = [JAPP_DRAW_MODES.DRAW, JAPP
|
|
|
13
13
|
|
|
14
14
|
export const ALL_APP_GEOMETRY_WIZARD_STEPS: JAPP_GEOMETRY_WIZARD_STEPS[] = [JAPP_GEOMETRY_WIZARD_STEPS.SELECT_LAYER, JAPP_GEOMETRY_WIZARD_STEPS.DRAW]
|
|
15
15
|
|
|
16
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
16
17
|
export const ALL_APP_LAYER_DATE_FILTER_OPERATOR_TYPES: JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES[] = [
|
|
17
18
|
JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES.BEFORE,
|
|
18
19
|
JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES.AFTER,
|
|
@@ -20,6 +21,7 @@ export const ALL_APP_LAYER_DATE_FILTER_OPERATOR_TYPES: JAPP_LAYER_DATE_FILTER_OP
|
|
|
20
21
|
JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES.LAST_PERIOD
|
|
21
22
|
]
|
|
22
23
|
|
|
24
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
23
25
|
export const ALL_APP_LAYER_TEXT_FILTER_OPERATOR_TYPES: JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES[] = [
|
|
24
26
|
JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES.CONTAINS,
|
|
25
27
|
JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES.DOES_NOT_CONTAIN,
|
|
@@ -27,6 +29,7 @@ export const ALL_APP_LAYER_TEXT_FILTER_OPERATOR_TYPES: JAPP_LAYER_TEXT_FILTER_OP
|
|
|
27
29
|
JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES.DOES_NOT_EQUALS
|
|
28
30
|
]
|
|
29
31
|
|
|
32
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
30
33
|
export const ALL_APP_LAYER_NUMBER_FILTER_OPERATOR_TYPES: JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES[] = [
|
|
31
34
|
JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES.EQUALS,
|
|
32
35
|
JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES.DOES_NOT_EQUALS,
|
|
@@ -34,6 +37,7 @@ export const ALL_APP_LAYER_NUMBER_FILTER_OPERATOR_TYPES: JAPP_LAYER_NUMBER_FILTE
|
|
|
34
37
|
JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES.GREATER_THAN
|
|
35
38
|
]
|
|
36
39
|
|
|
40
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
37
41
|
export const ALL_APP_LAYER_FILTER_DATE_PERIOD_TYPES: JAPP_LAYER_FILTER_DATE_PERIOD_TYPES[] = [
|
|
38
42
|
JAPP_LAYER_FILTER_DATE_PERIOD_TYPES.DAY,
|
|
39
43
|
JAPP_LAYER_FILTER_DATE_PERIOD_TYPES.WEEK,
|
|
@@ -43,8 +47,6 @@ export const ALL_APP_LAYER_FILTER_DATE_PERIOD_TYPES: JAPP_LAYER_FILTER_DATE_PERI
|
|
|
43
47
|
|
|
44
48
|
export const ALL_APP_LAYER_EDITION_TABS: JAPP_LAYER_EDITION_TABS[] = [JAPP_LAYER_EDITION_TABS.THEMATICS, JAPP_LAYER_EDITION_TABS.DYNAMIC_FILTER, JAPP_LAYER_EDITION_TABS.GENERAL]
|
|
45
49
|
|
|
46
|
-
export const ALL_APP_MESSAGE_SEVERITIES: JAPP_MESSAGE_SEVERITIES[] = [JAPP_MESSAGE_SEVERITIES.SUCCESS, JAPP_MESSAGE_SEVERITIES.INFO, JAPP_MESSAGE_SEVERITIES.WARNING, JAPP_MESSAGE_SEVERITIES.ERROR]
|
|
47
|
-
|
|
48
50
|
export const ALL_APP_PRINT_FILE_TYPES: JAPP_PRINT_FILE_TYPES[] = [JAPP_PRINT_FILE_TYPES.PNG, JAPP_PRINT_FILE_TYPES.JPEG, JAPP_PRINT_FILE_TYPES.PDF]
|
|
49
51
|
|
|
50
52
|
export const ALL_APP_PRINT_PAPER_SIZES: JAPP_PRINT_PAPER_SIZES[] = [JAPP_PRINT_PAPER_SIZES.LETTER, JAPP_PRINT_PAPER_SIZES.LEGAL, JAPP_PRINT_PAPER_SIZES.A3, JAPP_PRINT_PAPER_SIZES.A4]
|
package/enums.ts
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
// This file contains all enum declarations extracted from .d.ts files
|
|
2
2
|
// so they produce runtime JavaScript values.
|
|
3
3
|
|
|
4
|
-
// From message.d.ts
|
|
5
|
-
export enum JAPP_MESSAGE_SEVERITIES {
|
|
6
|
-
SUCCESS = "success",
|
|
7
|
-
INFO = "info",
|
|
8
|
-
WARNING = "warning",
|
|
9
|
-
ERROR = "error"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
4
|
// From layer.d.ts
|
|
5
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. Kept only so the deprecated public API surface still type-checks. */
|
|
13
6
|
export enum JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES {
|
|
14
7
|
BEFORE = "before",
|
|
15
8
|
AFTER = "after",
|
|
@@ -17,6 +10,7 @@ export enum JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES {
|
|
|
17
10
|
LAST_PERIOD = "lastPeriod"
|
|
18
11
|
}
|
|
19
12
|
|
|
13
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. Kept only so the deprecated public API surface still type-checks. */
|
|
20
14
|
export enum JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES {
|
|
21
15
|
CONTAINS = "contains",
|
|
22
16
|
DOES_NOT_CONTAIN = "doesNotContain",
|
|
@@ -24,6 +18,7 @@ export enum JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES {
|
|
|
24
18
|
DOES_NOT_EQUALS = "doesNotEqual"
|
|
25
19
|
}
|
|
26
20
|
|
|
21
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. Kept only so the deprecated public API surface still type-checks. */
|
|
27
22
|
export enum JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES {
|
|
28
23
|
EQUALS = "equals",
|
|
29
24
|
DOES_NOT_EQUALS = "doesNotEqual",
|
|
@@ -31,6 +26,7 @@ export enum JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES {
|
|
|
31
26
|
GREATER_THAN = "greaterThan"
|
|
32
27
|
}
|
|
33
28
|
|
|
29
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. Kept only so the deprecated public API surface still type-checks. */
|
|
34
30
|
export enum JAPP_LAYER_FILTER_DATE_PERIOD_TYPES {
|
|
35
31
|
DAY = "day",
|
|
36
32
|
WEEK = "week",
|
package/index.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type { JEventModule } from "jmapcloud-ng-core-types"
|
|
1
|
+
import type { JAppMessageService, JEventModule } from "jmapcloud-ng-core-types"
|
|
2
|
+
|
|
3
|
+
// Re-exported so existing `import { JAppMessageService } from "jmapcloud-ng-types"`
|
|
4
|
+
// callers keep resolving after the slice moved into ng-core-types.
|
|
5
|
+
export type { JAppMessageService } from "jmapcloud-ng-core-types"
|
|
2
6
|
|
|
3
7
|
export interface JAppState {
|
|
4
8
|
panel: JAppPanelState
|
|
@@ -11,16 +15,15 @@ export interface JAppState {
|
|
|
11
15
|
print: JAppPrintState
|
|
12
16
|
project: JAppProjectState
|
|
13
17
|
annotation: JAppAnnotationState
|
|
14
|
-
message: JAppMessageState
|
|
15
|
-
user: JAppUserState
|
|
16
18
|
feature: JAppFeatureState
|
|
17
19
|
geometry: JAppGeometryState
|
|
18
|
-
|
|
20
|
+
dataGrid: JAppDataGridState
|
|
19
21
|
}
|
|
20
22
|
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
export type JAppActiveDataGrid = { type: "table"; id: JId } | { type: "layer"; id: JId }
|
|
24
|
+
|
|
25
|
+
export interface JAppDataGridState {
|
|
26
|
+
activeDataGrid: JAppActiveDataGrid | undefined
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
export type { JApplicationOptions } from "./public/startup-options.d.ts"
|
|
@@ -48,6 +51,7 @@ export interface JAppFeatureState {
|
|
|
48
51
|
export interface JAppProjectState {
|
|
49
52
|
urlExist: boolean
|
|
50
53
|
showProjectList: boolean
|
|
54
|
+
presentationShowOnOpen: boolean
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
export interface JAppPanelState {
|
|
@@ -56,8 +60,8 @@ export interface JAppPanelState {
|
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
export interface JAppLayerState {
|
|
63
|
+
isLayerOrderActive: boolean
|
|
59
64
|
treeFilter: JAppLayerTreeFilterState
|
|
60
|
-
popupMenuLayerId: JId | undefined
|
|
61
65
|
editionActiveTab: JAPP_LAYER_EDITION_TABS
|
|
62
66
|
inEditionLayerId: JId | undefined
|
|
63
67
|
isDynamicFilterDialogOpened: boolean
|
|
@@ -136,16 +140,6 @@ export interface JAppSelectionState {
|
|
|
136
140
|
draw: JAppDrawState
|
|
137
141
|
}
|
|
138
142
|
|
|
139
|
-
export interface JAppMessageState {
|
|
140
|
-
messages: JAppMessage[]
|
|
141
|
-
overlayMessages: JAppOverlayMessage[]
|
|
142
|
-
confirmMessage: JAppConfirmMessage | undefined
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export interface JAppUserState {
|
|
146
|
-
actions: JAppUserAction[]
|
|
147
|
-
}
|
|
148
|
-
|
|
149
143
|
export interface JApplicationService extends JApplicationMainService {
|
|
150
144
|
User: JApplicationUserService
|
|
151
145
|
Panel: JAppPanelService
|
|
@@ -187,17 +181,7 @@ export interface JAppFeatureService {
|
|
|
187
181
|
export interface JAppProjectService {
|
|
188
182
|
activateById(projectId: JId): JProject
|
|
189
183
|
setSelectionPanelVisibility(isVisible: boolean): void
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
export interface JAppMessageService {
|
|
193
|
-
error(message: string, options?: JAppMessageOptions): void
|
|
194
|
-
warning(message: string, options?: JAppMessageOptions): void
|
|
195
|
-
info(message: string, options?: JAppMessageOptions): void
|
|
196
|
-
success(message: string, options?: JAppMessageOptions): void
|
|
197
|
-
confirmMessage(params: JAppConfirmMessage): void
|
|
198
|
-
display(message: string, options?: JAppMessageOptions): void
|
|
199
|
-
displayWaitingOverlay(message: string): string
|
|
200
|
-
closeWaitingOverlay(messageId?: string): void
|
|
184
|
+
setPresentationShowOnOpen(value: boolean): void
|
|
201
185
|
}
|
|
202
186
|
|
|
203
187
|
export interface JAppAnnotationService {
|
|
@@ -344,6 +328,10 @@ export interface JAppPrintService {
|
|
|
344
328
|
isScaleControlVisible(): boolean
|
|
345
329
|
setPageTitle(title: string): void
|
|
346
330
|
getPageTitle(): string
|
|
331
|
+
/** @deprecated Removed API. This method now does nothing. */
|
|
332
|
+
setPageSubTitle(subTitle: string): void
|
|
333
|
+
/** @deprecated Removed API. This method now does nothing and returns an empty string. */
|
|
334
|
+
getPageSubTitle(): string
|
|
347
335
|
setDateVisibility(isVisible: boolean): void
|
|
348
336
|
isDateVisibile(): boolean
|
|
349
337
|
setNorthArrowVisibility(isVisible: boolean): void
|
|
@@ -355,12 +343,18 @@ export interface JAppPrintService {
|
|
|
355
343
|
isOrientationPortrait(): boolean
|
|
356
344
|
setFileType(fileType: JAPP_PRINT_FILE_TYPES): void
|
|
357
345
|
getFileType(): JAPP_PRINT_FILE_TYPES
|
|
346
|
+
/** @deprecated Hi-resolution export is always active. This method now does nothing. */
|
|
347
|
+
setHiResolution(isHiResolution: boolean): void
|
|
348
|
+
/** @deprecated Hi-resolution export is always active. This method now always returns true. */
|
|
349
|
+
getHiResolution(): boolean
|
|
358
350
|
takeCapture(returnAsScreenCaptureResult?: boolean, customRatioWidth?: number, customRatioHeight?: number): Promise<void | JAppPrintCaptureResult>
|
|
359
351
|
setLegendVisibility(isVisible: boolean): void
|
|
360
352
|
isLegendVisible(): boolean
|
|
361
353
|
}
|
|
362
354
|
|
|
363
355
|
export interface JAppLayerService {
|
|
356
|
+
getLayerOrderActive(): boolean
|
|
357
|
+
setLayerOrderActive(isActive: boolean): void
|
|
364
358
|
Tree: JAppLayerTreeService
|
|
365
359
|
Edition: JAppLayerEditionService
|
|
366
360
|
}
|
|
@@ -402,13 +396,21 @@ export interface JAppLayerTreeFilterService {
|
|
|
402
396
|
isActive(): boolean
|
|
403
397
|
setActive(active: boolean): void
|
|
404
398
|
applyToMap(): void
|
|
399
|
+
/** @deprecated Removed API. This method now does nothing and always returns false. */
|
|
405
400
|
existById(filterId: number): boolean
|
|
401
|
+
/** @deprecated Removed API. This method now does nothing and always returns false. */
|
|
406
402
|
oneFilterExistForMetadataId(metadataId: JId): boolean
|
|
403
|
+
/** @deprecated Removed API. This method now returns an empty result. */
|
|
407
404
|
getAll(): JAppGetAllFiltersResult
|
|
405
|
+
/** @deprecated Removed API. Filters no longer exist, so this method always throws "Filter id not found", matching the original error contract. */
|
|
408
406
|
getById(filterId: number): JAppAnyLayerFilter
|
|
407
|
+
/** @deprecated Removed API. This method now does nothing and returns the input filter unchanged. */
|
|
409
408
|
add(filter: JAppAnyLayerFilter): JAppAnyLayerFilter
|
|
409
|
+
/** @deprecated Removed API. Filters no longer exist, so this method always throws "Filter id not found", matching the original error contract. */
|
|
410
410
|
deleteById(filterId: number): JAppAnyLayerFilter
|
|
411
|
+
/** @deprecated Removed API. This method now does nothing. */
|
|
411
412
|
openAddFilterDialog(): void
|
|
413
|
+
/** @deprecated Removed API. This method now does nothing. */
|
|
412
414
|
closeAddFilterDialog(): void
|
|
413
415
|
}
|
|
414
416
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "JMap Cloud specific version of JMap Cloud NG types and interfaces",
|
|
5
5
|
"main": "src/app.ts",
|
|
6
6
|
"types": "ambient.d.ts",
|
|
@@ -21,11 +21,12 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/k2geospatial/jmapcloud-ng-types#readme",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/react": "^18.3.2",
|
|
25
24
|
"@fortawesome/fontawesome-svg-core": "7.2.0",
|
|
25
|
+
"@types/react": "^18.3.2",
|
|
26
26
|
"jmapcloud-ng-core-types": "../ng-core-types",
|
|
27
27
|
"maplibre-gl": "^4.7.1",
|
|
28
28
|
"react": "18.3.1",
|
|
29
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
|
29
30
|
"typedoc": "^0.25.13"
|
|
30
31
|
}
|
|
31
32
|
}
|
package/public/app.d.ts
CHANGED
|
@@ -5,12 +5,11 @@ import type { JFormDialogParams, JSubFormDialogParams } from "./form.d.ts"
|
|
|
5
5
|
import type { JAppGeometryUpdateParams } from "./geometry.d.ts"
|
|
6
6
|
import type { JAPP_LAYER_EDITION_TABS, JAppAnyLayerFilter, JAppGetAllFiltersResult, JAppLayerEventParams } from "./layer.d.ts"
|
|
7
7
|
import type { JAPP_MEASUREMENT_SYSTEMS, JAPP_MEASURE_TYPES, JAppMeasure, JAppMeasureCreationEventParams } from "./measure.d.ts"
|
|
8
|
-
import type { JAppConfirmMessage, JAppMessageOptions } from "
|
|
8
|
+
import type { JAppConfirmMessage, JAppMessageOptions, JAppUserAction } from "jmapcloud-ng-core-types"
|
|
9
9
|
import type { JAppPanel, JAppPanelActivationParams, JAppPanelDeactivationParams } from "./panel.d.ts"
|
|
10
10
|
import type { JAPP_PRINT_FILE_TYPES, JAppPaperFormat, JAppPrintCaptureResult } from "./print.d.ts"
|
|
11
11
|
import type { JAPP_SELECTION_TYPES } from "./selection.d.ts"
|
|
12
12
|
import type { JAppUISidePanelVisibilityChangedEventParams, JAppUISidePanelWidthChangedEventParams } from "./ui.d.ts"
|
|
13
|
-
import type { JAppUserAction } from "./user.d.ts"
|
|
14
13
|
declare global {
|
|
15
14
|
namespace JMapCloudNgApp {
|
|
16
15
|
/**
|
|
@@ -1321,6 +1320,23 @@ declare global {
|
|
|
1321
1320
|
* ```
|
|
1322
1321
|
*/
|
|
1323
1322
|
function setSelectionPanelVisibility(isVisible: boolean): void
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* **JMap.Application.Project.setPresentationShowOnOpen**
|
|
1326
|
+
*
|
|
1327
|
+
* Controls whether the project presentation dialog auto-opens when a project is loaded.
|
|
1328
|
+
*
|
|
1329
|
+
* The preference is stored per project. Passing `false` prevents the dialog from appearing
|
|
1330
|
+
* automatically the next time this project is activated; passing `true` re-enables it.
|
|
1331
|
+
*
|
|
1332
|
+
* @param value true to auto-open the presentation dialog on project load, false to suppress it
|
|
1333
|
+
* @example
|
|
1334
|
+
* ```ts
|
|
1335
|
+
* // stop auto-opening the presentation dialog for the current project
|
|
1336
|
+
* JMap.Application.Project.setPresentationShowOnOpen(false)
|
|
1337
|
+
* ```
|
|
1338
|
+
*/
|
|
1339
|
+
function setPresentationShowOnOpen(value: boolean): void
|
|
1324
1340
|
}
|
|
1325
1341
|
|
|
1326
1342
|
/**
|
|
@@ -1329,6 +1345,36 @@ declare global {
|
|
|
1329
1345
|
* You can manage the layer panel here.
|
|
1330
1346
|
*/
|
|
1331
1347
|
namespace Layer {
|
|
1348
|
+
/**
|
|
1349
|
+
* **JMap.Application.Layer.getLayerOrderActive**
|
|
1350
|
+
*
|
|
1351
|
+
* Tests if the layer order panel is currently active (visible).
|
|
1352
|
+
*
|
|
1353
|
+
* @example
|
|
1354
|
+
* ```ts
|
|
1355
|
+
* // returns true if the layer order panel is visible
|
|
1356
|
+
* const isLayerOrderActive = JMap.Application.Layer.getLayerOrderActive()
|
|
1357
|
+
* ```
|
|
1358
|
+
*/
|
|
1359
|
+
function getLayerOrderActive(): boolean
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* **JMap.Application.Layer.setLayerOrderActive**
|
|
1363
|
+
*
|
|
1364
|
+
* Displays or hides the layer order panel.
|
|
1365
|
+
*
|
|
1366
|
+
* @param isActive true to display the layer order panel, false to hide it
|
|
1367
|
+
* @example
|
|
1368
|
+
* ```ts
|
|
1369
|
+
* // display the layer order panel
|
|
1370
|
+
* JMap.Application.Layer.setLayerOrderActive(true)
|
|
1371
|
+
*
|
|
1372
|
+
* // hide the layer order panel
|
|
1373
|
+
* JMap.Application.Layer.setLayerOrderActive(false)
|
|
1374
|
+
* ```
|
|
1375
|
+
*/
|
|
1376
|
+
function setLayerOrderActive(isActive: boolean): void
|
|
1377
|
+
|
|
1332
1378
|
/**
|
|
1333
1379
|
* **JMap.Application.Layer.Tree**
|
|
1334
1380
|
*
|
|
@@ -1364,10 +1410,7 @@ declare global {
|
|
|
1364
1410
|
* Tests if the layer tree filters are applied.
|
|
1365
1411
|
*
|
|
1366
1412
|
* Layer tree filters are applied (in action) only if the filtering is active ({@link JMap.Application.Layer.Tree.Filter.isActive} returns true)
|
|
1367
|
-
* and
|
|
1368
|
-
*
|
|
1369
|
-
* a) the name filter contains at least 2 characters
|
|
1370
|
-
* b) one of the layer filters has been added to the filtering configuration
|
|
1413
|
+
* and the name filter contains at least 2 characters.
|
|
1371
1414
|
*
|
|
1372
1415
|
* @example
|
|
1373
1416
|
* ```ts
|
|
@@ -1443,158 +1486,85 @@ declare global {
|
|
|
1443
1486
|
/**
|
|
1444
1487
|
* **JMap.Application.Layer.Tree.Filter.existById**
|
|
1445
1488
|
*
|
|
1446
|
-
*
|
|
1489
|
+
* Removed API. This method now does nothing and always returns false.
|
|
1447
1490
|
*
|
|
1448
|
-
* @
|
|
1449
|
-
* @
|
|
1450
|
-
*
|
|
1451
|
-
* // create a filter
|
|
1452
|
-
* JMap.Application.Layer.Tree.Filter.add({
|
|
1453
|
-
* 1,
|
|
1454
|
-
* metadataItemId: 0,
|
|
1455
|
-
* type: "date",
|
|
1456
|
-
* operator: "between",
|
|
1457
|
-
* value: [new Date("2021-06-02T00:00:00"),new Date("2021-06-22:T00:00:00")]
|
|
1458
|
-
* })
|
|
1459
|
-
*
|
|
1460
|
-
* // will return true
|
|
1461
|
-
* JMap.Application.Layer.Tree.Filter.existById(1)
|
|
1462
|
-
* ```
|
|
1491
|
+
* @deprecated This method was removed and now does nothing.
|
|
1492
|
+
* @param filterId Unused
|
|
1493
|
+
* @returns Always false
|
|
1463
1494
|
*/
|
|
1464
1495
|
function existById(filterId: number): boolean
|
|
1465
1496
|
|
|
1466
1497
|
/**
|
|
1467
1498
|
* **JMap.Application.Layer.Tree.Filter.oneFilterExistForMetadataId**
|
|
1468
1499
|
*
|
|
1469
|
-
*
|
|
1500
|
+
* Removed API. This method now does nothing and always returns false.
|
|
1470
1501
|
*
|
|
1471
|
-
* @
|
|
1472
|
-
* @
|
|
1473
|
-
*
|
|
1474
|
-
* // filter collection is initially empty
|
|
1475
|
-
*
|
|
1476
|
-
* // create a filter
|
|
1477
|
-
* JMap.Application.Layer.Tree.Filter.add({
|
|
1478
|
-
* 1,
|
|
1479
|
-
* metadataItemId: 0,
|
|
1480
|
-
* type: "date",
|
|
1481
|
-
* operator: "between",
|
|
1482
|
-
* value: [new Date("2021-06-02T00:00:00"),new Date("2021-06-22:T00:00:00")]
|
|
1483
|
-
* })
|
|
1484
|
-
*
|
|
1485
|
-
* // will return false
|
|
1486
|
-
* JMap.Application.Layer.Tree.Filter.oneFilterExistForMetadataId(6)
|
|
1487
|
-
* ```
|
|
1502
|
+
* @deprecated This method was removed and now does nothing.
|
|
1503
|
+
* @param metadataId Unused
|
|
1504
|
+
* @returns Always false
|
|
1488
1505
|
*/
|
|
1489
1506
|
function oneFilterExistForMetadataId(metadataId: JId): boolean
|
|
1490
1507
|
|
|
1491
1508
|
/**
|
|
1492
1509
|
* **JMap.Application.Layer.Tree.Filter.getAll**
|
|
1493
1510
|
*
|
|
1494
|
-
*
|
|
1511
|
+
* Removed API. This method now does nothing and always returns an empty result.
|
|
1495
1512
|
*
|
|
1496
|
-
* @
|
|
1497
|
-
*
|
|
1498
|
-
* // get filters configuration
|
|
1499
|
-
* console.log(JMap.Application.Layer.Tree.Filter.getAll())
|
|
1500
|
-
* // {
|
|
1501
|
-
* // "nameFilter":"Mont",
|
|
1502
|
-
* // "filters":[
|
|
1503
|
-
* // {"id":1,
|
|
1504
|
-
* // "metadataItemId":0,
|
|
1505
|
-
* // "operator":"between",
|
|
1506
|
-
* // "type":"date",
|
|
1507
|
-
* // "value":[
|
|
1508
|
-
* // "2021-06-01T10:25:00.000Z",
|
|
1509
|
-
* // "2021-06-22T10:25:00.000Z"
|
|
1510
|
-
* // ]
|
|
1511
|
-
* // }
|
|
1512
|
-
* // ]
|
|
1513
|
-
* // }
|
|
1514
|
-
* ```
|
|
1513
|
+
* @deprecated This method was removed and now does nothing.
|
|
1514
|
+
* @returns An empty result `{ nameFilter: "", filters: [] }`
|
|
1515
1515
|
*/
|
|
1516
1516
|
function getAll(): JAppGetAllFiltersResult
|
|
1517
1517
|
|
|
1518
1518
|
/**
|
|
1519
1519
|
* **JMap.Application.Layer.Tree.Filter.getById**
|
|
1520
1520
|
*
|
|
1521
|
-
*
|
|
1521
|
+
* Removed API. Filters no longer exist, so this method always throws `Filter id="..." not found`,
|
|
1522
|
+
* matching the original error contract when no matching filter was present.
|
|
1522
1523
|
*
|
|
1523
|
-
* @
|
|
1524
|
-
* @
|
|
1525
|
-
*
|
|
1526
|
-
* // get filter id=1
|
|
1527
|
-
* JMap.Application.Layer.Tree.Filter.getById(1)
|
|
1528
|
-
* // {"id":1,
|
|
1529
|
-
* // "metadataItemId":0,
|
|
1530
|
-
* // "operator":"between",
|
|
1531
|
-
* // "type":"date",
|
|
1532
|
-
* // "value":[
|
|
1533
|
-
* // "2021-06-01T10:25:00.000Z",
|
|
1534
|
-
* // "2021-06-22T10:25:00.000Z"
|
|
1535
|
-
* // ]
|
|
1536
|
-
* // }
|
|
1537
|
-
* ```
|
|
1524
|
+
* @deprecated This method was removed. Always throws.
|
|
1525
|
+
* @param filterId Unused
|
|
1526
|
+
* @throws Always — `Filter id="${filterId}" not found`
|
|
1538
1527
|
*/
|
|
1539
1528
|
function getById(filterId: number): JAppAnyLayerFilter
|
|
1540
1529
|
|
|
1541
1530
|
/**
|
|
1542
1531
|
* **JMap.Application.Layer.Tree.Filter.add**
|
|
1543
1532
|
*
|
|
1544
|
-
*
|
|
1533
|
+
* Removed API. This method now does nothing and returns the input filter unchanged.
|
|
1545
1534
|
*
|
|
1546
|
-
* @
|
|
1547
|
-
* @
|
|
1548
|
-
*
|
|
1549
|
-
* // add a filter to the config
|
|
1550
|
-
* JMap.Application.Layer.Tree.Filter.add({
|
|
1551
|
-
* 1,
|
|
1552
|
-
* metadataItemId: 0,
|
|
1553
|
-
* type: "date",
|
|
1554
|
-
* operator: "between",
|
|
1555
|
-
* value: [new Date("2021-06-02T00:00:00"),new Date("2021-06-22:T00:00:00")]
|
|
1556
|
-
* })
|
|
1557
|
-
* ```
|
|
1535
|
+
* @deprecated This method was removed and now does nothing.
|
|
1536
|
+
* @param filter Unused, returned as-is
|
|
1537
|
+
* @returns The input filter, unchanged
|
|
1558
1538
|
*/
|
|
1559
1539
|
function add(filter: JAppAnyLayerFilter): JAppAnyLayerFilter
|
|
1560
1540
|
|
|
1561
1541
|
/**
|
|
1562
1542
|
* **JMap.Application.Layer.Tree.Filter.deleteById**
|
|
1563
1543
|
*
|
|
1564
|
-
*
|
|
1544
|
+
* Removed API. Filters no longer exist, so this method always throws `Filter id="..." not found`,
|
|
1545
|
+
* matching the original error contract when no matching filter was present.
|
|
1565
1546
|
*
|
|
1566
|
-
* @
|
|
1567
|
-
* @
|
|
1568
|
-
*
|
|
1569
|
-
* // delete filter id=1
|
|
1570
|
-
* JMap.Application.Layer.Tree.Filter.deleteById(1)
|
|
1571
|
-
* ```
|
|
1547
|
+
* @deprecated This method was removed. Always throws.
|
|
1548
|
+
* @param filterId Unused
|
|
1549
|
+
* @throws Always — `Filter id="${filterId}" not found`
|
|
1572
1550
|
*/
|
|
1573
1551
|
function deleteById(filterId: number): JAppAnyLayerFilter
|
|
1574
1552
|
|
|
1575
1553
|
/**
|
|
1576
1554
|
* **JMap.Application.Layer.Tree.Filter.openAddFilterDialog**
|
|
1577
1555
|
*
|
|
1578
|
-
*
|
|
1556
|
+
* Removed API. This method now does nothing.
|
|
1579
1557
|
*
|
|
1580
|
-
* @
|
|
1581
|
-
* ```ts
|
|
1582
|
-
* // open Add Filter UI
|
|
1583
|
-
* JMap.Application.Layer.Tree.Filter.openAddFilterDialog()
|
|
1584
|
-
* ```
|
|
1558
|
+
* @deprecated This method was removed and now does nothing.
|
|
1585
1559
|
*/
|
|
1586
1560
|
function openAddFilterDialog(): void
|
|
1587
1561
|
|
|
1588
1562
|
/**
|
|
1589
1563
|
* **JMap.Application.Layer.Tree.Filter.closeAddFilterDialog**
|
|
1590
1564
|
*
|
|
1591
|
-
*
|
|
1565
|
+
* Removed API. This method now does nothing.
|
|
1592
1566
|
*
|
|
1593
|
-
* @
|
|
1594
|
-
* ```ts
|
|
1595
|
-
* // close Add Filter UI
|
|
1596
|
-
* JMap.Application.Layer.Tree.Filter.closeAddFilterDialog()
|
|
1597
|
-
* ```
|
|
1567
|
+
* @deprecated This method was removed and now does nothing.
|
|
1598
1568
|
*/
|
|
1599
1569
|
function closeAddFilterDialog(): void
|
|
1600
1570
|
}
|
|
@@ -1987,7 +1957,7 @@ declare global {
|
|
|
1987
1957
|
*
|
|
1988
1958
|
* @example
|
|
1989
1959
|
* ```ts
|
|
1990
|
-
* // returns "3.
|
|
1960
|
+
* // returns "3.5625rem"
|
|
1991
1961
|
* JMap.Application.UI.SidePanel.getWidthCloseInRem()
|
|
1992
1962
|
* ```
|
|
1993
1963
|
*/
|
|
@@ -2258,6 +2228,26 @@ declare global {
|
|
|
2258
2228
|
*/
|
|
2259
2229
|
function getPageTitle(): string
|
|
2260
2230
|
|
|
2231
|
+
/**
|
|
2232
|
+
* **JMap.Application.Print.setPageSubTitle**
|
|
2233
|
+
*
|
|
2234
|
+
* Removed API. This method now does nothing.
|
|
2235
|
+
*
|
|
2236
|
+
* @deprecated This method was removed and now does nothing.
|
|
2237
|
+
* @param subTitle Unused
|
|
2238
|
+
*/
|
|
2239
|
+
function setPageSubTitle(subTitle: string): void
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* **JMap.Application.Print.getPageSubTitle**
|
|
2243
|
+
*
|
|
2244
|
+
* Removed API. This method now always returns an empty string.
|
|
2245
|
+
*
|
|
2246
|
+
* @deprecated This method was removed and now does nothing.
|
|
2247
|
+
* @returns Always an empty string
|
|
2248
|
+
*/
|
|
2249
|
+
function getPageSubTitle(): string
|
|
2250
|
+
|
|
2261
2251
|
/**
|
|
2262
2252
|
* **JMap.Application.Print.isDateVisibile**
|
|
2263
2253
|
*
|
|
@@ -2454,6 +2444,26 @@ declare global {
|
|
|
2454
2444
|
*/
|
|
2455
2445
|
function setFileType(fileType: JAPP_PRINT_FILE_TYPES): void
|
|
2456
2446
|
|
|
2447
|
+
/**
|
|
2448
|
+
* **JMap.Application.Print.setHiResolution**
|
|
2449
|
+
*
|
|
2450
|
+
* High-resolution export is always active. This method now does nothing.
|
|
2451
|
+
*
|
|
2452
|
+
* @deprecated Hi-resolution export is always active now. This method does nothing.
|
|
2453
|
+
* @param isHiResolution Unused
|
|
2454
|
+
*/
|
|
2455
|
+
function setHiResolution(isHiResolution: boolean): void
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* **JMap.Application.Print.getHiResolution**
|
|
2459
|
+
*
|
|
2460
|
+
* High-resolution export is always active. This method now always returns true.
|
|
2461
|
+
*
|
|
2462
|
+
* @deprecated Hi-resolution export is always active now. This method always returns true.
|
|
2463
|
+
* @returns Always true
|
|
2464
|
+
*/
|
|
2465
|
+
function getHiResolution(): boolean
|
|
2466
|
+
|
|
2457
2467
|
/**
|
|
2458
2468
|
* **JMap.Application.Print.takeCapture**
|
|
2459
2469
|
*
|
|
@@ -10,13 +10,11 @@ import type * as geometrydts from "./geometry.d.ts"
|
|
|
10
10
|
import type * as layerdts from "./layer.d.ts"
|
|
11
11
|
import type * as mapcontextdts from "./map-context.d.ts"
|
|
12
12
|
import type * as measuredts from "./measure.d.ts"
|
|
13
|
-
import type * as messagedts from "./message.d.ts"
|
|
14
13
|
import type * as paneldts from "./panel.d.ts"
|
|
15
14
|
import type * as printdts from "./print.d.ts"
|
|
16
15
|
import type * as selectiondts from "./selection.d.ts"
|
|
17
16
|
import type * as startupoptionsdts from "./startup-options.d.ts"
|
|
18
17
|
import type * as uidts from "./ui.d.ts"
|
|
19
|
-
import type * as userdts from "./user.d.ts"
|
|
20
18
|
|
|
21
19
|
/** @internal @hidden */
|
|
22
20
|
declare global {
|
|
@@ -50,7 +48,6 @@ declare global {
|
|
|
50
48
|
/** @internal */ type JAppLayerAnyFilterOperatorType = layerdts.JAppLayerAnyFilterOperatorType
|
|
51
49
|
/** @internal */ type JAppLayerTreeFilterState = layerdts.JAppLayerTreeFilterState
|
|
52
50
|
/** @internal */ type JAppGetAllFiltersResult = layerdts.JAppGetAllFiltersResult
|
|
53
|
-
/** @internal */ type JAppLayerIdByFilterId = layerdts.JAppLayerIdByFilterId
|
|
54
51
|
/** @internal */ type JAppAnyLayerFilter = layerdts.JAppAnyLayerFilter
|
|
55
52
|
/** @internal */ type JAppBaseLayerFilter = layerdts.JAppBaseLayerFilter
|
|
56
53
|
/** @internal */ type JAppNumberLayerFilter = layerdts.JAppNumberLayerFilter
|
|
@@ -65,12 +62,6 @@ declare global {
|
|
|
65
62
|
/** @internal */ type JAppMeasureEdge = measuredts.JAppMeasureEdge
|
|
66
63
|
/** @internal */ type JAppMeasure = measuredts.JAppMeasure
|
|
67
64
|
/** @internal */ type JAppMeasureCreationEventParams = measuredts.JAppMeasureCreationEventParams
|
|
68
|
-
/** @internal */ type JAPP_MESSAGE_SEVERITIES = messagedts.JAPP_MESSAGE_SEVERITIES
|
|
69
|
-
/** @internal */ const JAPP_MESSAGE_SEVERITIES: typeof messagedts.JAPP_MESSAGE_SEVERITIES
|
|
70
|
-
/** @internal */ type JAppMessage = messagedts.JAppMessage
|
|
71
|
-
/** @internal */ type JAppOverlayMessage = messagedts.JAppOverlayMessage
|
|
72
|
-
/** @internal */ type JAppConfirmMessage = messagedts.JAppConfirmMessage
|
|
73
|
-
/** @internal */ type JAppMessageOptions = messagedts.JAppMessageOptions
|
|
74
65
|
/** @internal */ type JAppPanelActivationParams = paneldts.JAppPanelActivationParams
|
|
75
66
|
/** @internal */ type JAppPanelDeactivationParams = paneldts.JAppPanelDeactivationParams
|
|
76
67
|
/** @internal */ type JAppPanelLeaveResponse = paneldts.JAppPanelLeaveResponse
|
|
@@ -87,5 +78,4 @@ declare global {
|
|
|
87
78
|
/** @internal */ type JApplicationOptions = startupoptionsdts.JApplicationOptions
|
|
88
79
|
/** @internal */ type JAppUISidePanelVisibilityChangedEventParams = uidts.JAppUISidePanelVisibilityChangedEventParams
|
|
89
80
|
/** @internal */ type JAppUISidePanelWidthChangedEventParams = uidts.JAppUISidePanelWidthChangedEventParams
|
|
90
|
-
/** @internal */ type JAppUserAction = userdts.JAppUserAction
|
|
91
81
|
}
|
package/public/layer.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export {}
|
|
2
|
+
|
|
3
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. Kept only so the deprecated public API surface still type-checks. */
|
|
2
4
|
// ALL_APP_LAYER_DATE_FILTER_OPERATOR_TYPES in all-enum.ts
|
|
3
5
|
export enum JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES {
|
|
4
6
|
BEFORE = "before",
|
|
@@ -7,6 +9,7 @@ export enum JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES {
|
|
|
7
9
|
LAST_PERIOD = "lastPeriod"
|
|
8
10
|
}
|
|
9
11
|
|
|
12
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. Kept only so the deprecated public API surface still type-checks. */
|
|
10
13
|
// ALL_APP_LAYER_TEXT_FILTER_OPERATOR_TYPES in all-enum.ts
|
|
11
14
|
export enum JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES {
|
|
12
15
|
CONTAINS = "contains",
|
|
@@ -15,6 +18,7 @@ export enum JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES {
|
|
|
15
18
|
DOES_NOT_EQUALS = "doesNotEqual"
|
|
16
19
|
}
|
|
17
20
|
|
|
21
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. Kept only so the deprecated public API surface still type-checks. */
|
|
18
22
|
// ALL_APP_LAYER_NUMBER_FILTER_OPERATOR_TYPES in all-enum.ts
|
|
19
23
|
export enum JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES {
|
|
20
24
|
EQUALS = "equals",
|
|
@@ -23,6 +27,7 @@ export enum JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES {
|
|
|
23
27
|
GREATER_THAN = "greaterThan"
|
|
24
28
|
}
|
|
25
29
|
|
|
30
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. Kept only so the deprecated public API surface still type-checks. */
|
|
26
31
|
// ALL_APP_LAYER_FILTER_DATE_PERIOD_TYPES in all-enum.ts
|
|
27
32
|
export enum JAPP_LAYER_FILTER_DATE_PERIOD_TYPES {
|
|
28
33
|
DAY = "day",
|
|
@@ -38,43 +43,45 @@ export enum JAPP_LAYER_EDITION_TABS {
|
|
|
38
43
|
GENERAL = "general"
|
|
39
44
|
}
|
|
40
45
|
|
|
46
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
41
47
|
export type JAppLayerAnyFilterOperatorType = JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES | JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES | JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES
|
|
42
48
|
|
|
43
49
|
export interface JAppLayerTreeFilterState {
|
|
44
50
|
active: boolean
|
|
45
|
-
isAddingFilter: boolean
|
|
46
51
|
nameFilter: string
|
|
47
|
-
filters: JAppAnyLayerFilter[]
|
|
48
52
|
exactlyMatchedTreeItemIds: JId[]
|
|
49
53
|
expandedMatchedTreeItemIds: JId[]
|
|
50
|
-
layerIdsByFilterId: JAppLayerIdByFilterId
|
|
51
54
|
}
|
|
52
55
|
|
|
56
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
53
57
|
export interface JAppGetAllFiltersResult {
|
|
54
58
|
nameFilter: string
|
|
55
59
|
filters: JAppAnyLayerFilter[]
|
|
56
60
|
}
|
|
57
61
|
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
60
63
|
export type JAppAnyLayerFilter = JAppNumberLayerFilter | JAppTextLayerFilter | JAppDateLayerFilter
|
|
61
64
|
|
|
65
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
62
66
|
export interface JAppBaseLayerFilter {
|
|
63
67
|
id: number
|
|
64
68
|
metadataItemId: JId
|
|
65
69
|
type: JLAYER_METADATA_TYPES
|
|
66
70
|
}
|
|
67
71
|
|
|
72
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
68
73
|
export interface JAppNumberLayerFilter extends JAppBaseLayerFilter {
|
|
69
74
|
operator: JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES
|
|
70
75
|
value: number
|
|
71
76
|
}
|
|
72
77
|
|
|
78
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
73
79
|
export interface JAppTextLayerFilter extends JAppBaseLayerFilter {
|
|
74
80
|
operator: JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES
|
|
75
81
|
value: string
|
|
76
82
|
}
|
|
77
83
|
|
|
84
|
+
/** @deprecated The legacy layer dynamic-filter API was removed. */
|
|
78
85
|
export interface JAppDateLayerFilter extends JAppBaseLayerFilter {
|
|
79
86
|
operator: JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES
|
|
80
87
|
datePeriod?: JAPP_LAYER_FILTER_DATE_PERIOD_TYPES
|
package/public/message.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export {}
|
|
2
|
-
// ALL_APP_MESSAGE_SEVERITIES in all-enum.ts
|
|
3
|
-
export enum JAPP_MESSAGE_SEVERITIES {
|
|
4
|
-
SUCCESS = "success",
|
|
5
|
-
INFO = "info",
|
|
6
|
-
WARNING = "warning",
|
|
7
|
-
ERROR = "error"
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface JAppMessage {
|
|
11
|
-
id: string
|
|
12
|
-
text: string
|
|
13
|
-
severity: JAPP_MESSAGE_SEVERITIES
|
|
14
|
-
expired: boolean
|
|
15
|
-
duration: number | null
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface JAppOverlayMessage {
|
|
19
|
-
id: string
|
|
20
|
-
text: string
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface JAppConfirmMessage {
|
|
24
|
-
message: string
|
|
25
|
-
title: string
|
|
26
|
-
isInputMessage?: boolean
|
|
27
|
-
isInputOptional?: boolean
|
|
28
|
-
inputPlaceholder?: string
|
|
29
|
-
confirmButtonLabel?: string
|
|
30
|
-
cancelButtonLabel?: string
|
|
31
|
-
locale?: JLOCALES
|
|
32
|
-
onSuccess: (input: string) => any
|
|
33
|
-
onCancel?: () => any
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface JAppMessageOptions {
|
|
37
|
-
severity?: JAPP_MESSAGE_SEVERITIES
|
|
38
|
-
duration?: number | null
|
|
39
|
-
}
|
package/public/user.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export {}
|
|
2
|
-
export interface JAppUserAction {
|
|
3
|
-
id: string
|
|
4
|
-
label: string | JTranslationItem
|
|
5
|
-
/**
|
|
6
|
-
* must be a fontawsome IconDefinition or a valid <img> src (url or base64 data)
|
|
7
|
-
*/
|
|
8
|
-
icon: import("@fortawesome/fontawesome-svg-core").IconDefinition | string
|
|
9
|
-
isHelp?: boolean
|
|
10
|
-
href?: string
|
|
11
|
-
disabled?: boolean
|
|
12
|
-
onClick?: React.MouseEventHandler<HTMLLIElement>
|
|
13
|
-
}
|