jmapcloud-ng-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/public/draw.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ export {}
1
2
  // ALL_APP_DRAW_TYPES in all-enum.ts
2
- declare const enum JAPP_DRAW_TYPES {
3
+ export const enum JAPP_DRAW_TYPES {
3
4
  POINT = "point",
4
5
  POLYGON = "polygon",
5
6
  LINE_STRING = "line_string",
@@ -9,15 +10,15 @@ declare const enum JAPP_DRAW_TYPES {
9
10
  }
10
11
 
11
12
  // ALL_APP_DRAW_MODES in all-enum.ts
12
- declare const enum JAPP_DRAW_MODES {
13
+ export const enum JAPP_DRAW_MODES {
13
14
  DRAW = "draw",
14
15
  SELECT = "select",
15
16
  DELETE = "delete"
16
17
  }
17
18
 
18
- declare type JAppDrawFeaturesFn = (features: JAppDrawFeature[]) => void
19
+ export type JAppDrawFeaturesFn = (features: JAppDrawFeature[]) => void
19
20
 
20
- declare interface JAppDrawFeature extends GeoJSON.Feature {
21
+ export interface JAppDrawFeature extends GeoJSON.Feature {
21
22
  id: string
22
23
  properties: JAppDrawStyle
23
24
  coordinates: JPoint[]
@@ -29,7 +30,7 @@ declare interface JAppDrawFeature extends GeoJSON.Feature {
29
30
  incomingCoords(coords: JPoint[][]): void
30
31
  }
31
32
 
32
- declare interface JAppDrawStyle extends Partial<JAppDrawTextStyle> {
33
+ export interface JAppDrawStyle extends Partial<JAppDrawTextStyle> {
33
34
  fillColor?: string
34
35
  fillOpacity?: number
35
36
  lineColor?: string
@@ -45,7 +46,7 @@ declare interface JAppDrawStyle extends Partial<JAppDrawTextStyle> {
45
46
  useLocationIcon?: boolean
46
47
  }
47
48
 
48
- declare interface JAppDrawTextStyle {
49
+ export interface JAppDrawTextStyle {
49
50
  textSize: number
50
51
  textColor: string
51
52
  textRotation: number
@@ -1,3 +1,4 @@
1
+ export {}
1
2
  /**
2
3
  * You can create a custom application panel throught the app extension mecanism.
3
4
  *
@@ -5,7 +6,7 @@
5
6
  *
6
7
  * This way you can fully customize your JMap Cloud NG with your own code, written with your favourite dev tools.
7
8
  */
8
- declare interface JAppExtension extends JCoreExtension {
9
+ export interface JAppExtension extends JCoreExtension {
9
10
  /**
10
11
  * The panel creation method.
11
12
  *
@@ -78,6 +79,6 @@ declare interface JAppExtension extends JCoreExtension {
78
79
  onAppRegistrationDone?: () => void
79
80
  }
80
81
 
81
- declare interface JAppExtensionEventParams {
82
+ export interface JAppExtensionEventParams {
82
83
  extensionId: string
83
84
  }
package/public/form.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- declare type JFormDialogParams = JFormDialogLayerParams | JFormDialogTableParams
1
+ export {}
2
+ export type JFormDialogParams = JFormDialogLayerParams | JFormDialogTableParams
2
3
 
3
- declare type JFormDialogLayerParams = {
4
+ export type JFormDialogLayerParams = {
4
5
  layerId: JId
5
6
  featureId?: JId
6
7
  feature: GeoJSON.Feature
@@ -8,7 +9,7 @@ declare type JFormDialogLayerParams = {
8
9
  onSubmit?: () => void
9
10
  }
10
11
 
11
- declare type JFormDialogTableParams = {
12
+ export type JFormDialogTableParams = {
12
13
  tableId: JId
13
14
  row?: { [key: string]: any }
14
15
  isReadOnly: boolean
@@ -1,10 +1,11 @@
1
+ export {}
1
2
  // ALL_APP_GEOMETRY_WIZARD_STEPS in all-enum.ts
2
- declare const enum JAPP_GEOMETRY_WIZARD_STEPS {
3
+ export const enum JAPP_GEOMETRY_WIZARD_STEPS {
3
4
  SELECT_LAYER = "select-layer",
4
5
  DRAW = "draw"
5
6
  }
6
7
 
7
- declare interface JAppGeometryUpdateParams {
8
+ export interface JAppGeometryUpdateParams {
8
9
  layerId: JId
9
10
  feature: GeoJSON.Feature
10
11
  }
@@ -0,0 +1,92 @@
1
+ // This file is generated, do not edit it.
2
+ /** @packageDocumentation @hidden @module global-aliases */
3
+ export {}
4
+
5
+ import type * as annotationdts from "./annotation.d.ts"
6
+ import type * as drawdts from "./draw.d.ts"
7
+ import type * as extensiondts from "./extension.d.ts"
8
+ import type * as formdts from "./form.d.ts"
9
+ import type * as geometrydts from "./geometry.d.ts"
10
+ import type * as layerdts from "./layer.d.ts"
11
+ import type * as mapcontextdts from "./map-context.d.ts"
12
+ import type * as measuredts from "./measure.d.ts"
13
+ import type * as messagedts from "./message.d.ts"
14
+ import type * as paneldts from "./panel.d.ts"
15
+ import type * as printdts from "./print.d.ts"
16
+ import type * as selectiondts from "./selection.d.ts"
17
+ import type * as startupoptionsdts from "./startup-options.d.ts"
18
+ import type * as uidts from "./ui.d.ts"
19
+ import type * as userdts from "./user.d.ts"
20
+
21
+ /** @internal @hidden */
22
+ declare global {
23
+ /** @internal */ type JAppAnnotation = annotationdts.JAppAnnotation
24
+ /** @internal */ type JappTextMarkerProperties = annotationdts.JappTextMarkerProperties
25
+ /** @internal */ type JAPP_DRAW_TYPES = drawdts.JAPP_DRAW_TYPES
26
+ /** @internal */ const JAPP_DRAW_TYPES: typeof drawdts.JAPP_DRAW_TYPES
27
+ /** @internal */ type JAPP_DRAW_MODES = drawdts.JAPP_DRAW_MODES
28
+ /** @internal */ const JAPP_DRAW_MODES: typeof drawdts.JAPP_DRAW_MODES
29
+ /** @internal */ type JAppDrawFeaturesFn = drawdts.JAppDrawFeaturesFn
30
+ /** @internal */ type JAppDrawFeature = drawdts.JAppDrawFeature
31
+ /** @internal */ type JAppDrawStyle = drawdts.JAppDrawStyle
32
+ /** @internal */ type JAppDrawTextStyle = drawdts.JAppDrawTextStyle
33
+ /** @internal */ type JAppExtension = extensiondts.JAppExtension
34
+ /** @internal */ type JAppExtensionEventParams = extensiondts.JAppExtensionEventParams
35
+ /** @internal */ type JFormDialogParams = formdts.JFormDialogParams
36
+ /** @internal */ type JFormDialogLayerParams = formdts.JFormDialogLayerParams
37
+ /** @internal */ type JFormDialogTableParams = formdts.JFormDialogTableParams
38
+ /** @internal */ type JAPP_GEOMETRY_WIZARD_STEPS = geometrydts.JAPP_GEOMETRY_WIZARD_STEPS
39
+ /** @internal */ const JAPP_GEOMETRY_WIZARD_STEPS: typeof geometrydts.JAPP_GEOMETRY_WIZARD_STEPS
40
+ /** @internal */ type JAppGeometryUpdateParams = geometrydts.JAppGeometryUpdateParams
41
+ /** @internal */ type JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES = layerdts.JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES
42
+ /** @internal */ const JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES: typeof layerdts.JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES
43
+ /** @internal */ type JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES = layerdts.JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES
44
+ /** @internal */ const JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES: typeof layerdts.JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES
45
+ /** @internal */ type JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES = layerdts.JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES
46
+ /** @internal */ const JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES: typeof layerdts.JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES
47
+ /** @internal */ type JAPP_LAYER_FILTER_DATE_PERIOD_TYPES = layerdts.JAPP_LAYER_FILTER_DATE_PERIOD_TYPES
48
+ /** @internal */ const JAPP_LAYER_FILTER_DATE_PERIOD_TYPES: typeof layerdts.JAPP_LAYER_FILTER_DATE_PERIOD_TYPES
49
+ /** @internal */ type JAPP_LAYER_EDITION_TABS = layerdts.JAPP_LAYER_EDITION_TABS
50
+ /** @internal */ const JAPP_LAYER_EDITION_TABS: typeof layerdts.JAPP_LAYER_EDITION_TABS
51
+ /** @internal */ type JAppLayerAnyFilterOperatorType = layerdts.JAppLayerAnyFilterOperatorType
52
+ /** @internal */ type JAppLayerTreeFilterState = layerdts.JAppLayerTreeFilterState
53
+ /** @internal */ type JAppGetAllFiltersResult = layerdts.JAppGetAllFiltersResult
54
+ /** @internal */ type JAppLayerIdByFilterId = layerdts.JAppLayerIdByFilterId
55
+ /** @internal */ type JAppAnyLayerFilter = layerdts.JAppAnyLayerFilter
56
+ /** @internal */ type JAppBaseLayerFilter = layerdts.JAppBaseLayerFilter
57
+ /** @internal */ type JAppNumberLayerFilter = layerdts.JAppNumberLayerFilter
58
+ /** @internal */ type JAppTextLayerFilter = layerdts.JAppTextLayerFilter
59
+ /** @internal */ type JAppDateLayerFilter = layerdts.JAppDateLayerFilter
60
+ /** @internal */ type JAppLayerEventParams = layerdts.JAppLayerEventParams
61
+ /** @internal */ type JAppMapContextData = mapcontextdts.JAppMapContextData
62
+ /** @internal */ type JAPP_MEASURE_TYPES = measuredts.JAPP_MEASURE_TYPES
63
+ /** @internal */ type JAPP_MEASUREMENT_SYSTEMS = measuredts.JAPP_MEASUREMENT_SYSTEMS
64
+ /** @internal */ const JAPP_MEASUREMENT_SYSTEMS: typeof measuredts.JAPP_MEASUREMENT_SYSTEMS
65
+ /** @internal */ type JAPP_MEASURE_SPACE_TYPES = measuredts.JAPP_MEASURE_SPACE_TYPES
66
+ /** @internal */ type JAppMeasureEdge = measuredts.JAppMeasureEdge
67
+ /** @internal */ type JAppMeasure = measuredts.JAppMeasure
68
+ /** @internal */ type JAppMeasureCreationEventParams = measuredts.JAppMeasureCreationEventParams
69
+ /** @internal */ type JAPP_MESSAGE_SEVERITIES = messagedts.JAPP_MESSAGE_SEVERITIES
70
+ /** @internal */ const JAPP_MESSAGE_SEVERITIES: typeof messagedts.JAPP_MESSAGE_SEVERITIES
71
+ /** @internal */ type JAppMessage = messagedts.JAppMessage
72
+ /** @internal */ type JAppOverlayMessage = messagedts.JAppOverlayMessage
73
+ /** @internal */ type JAppConfirmMessage = messagedts.JAppConfirmMessage
74
+ /** @internal */ type JAppMessageOptions = messagedts.JAppMessageOptions
75
+ /** @internal */ type JAppPanelActivationParams = paneldts.JAppPanelActivationParams
76
+ /** @internal */ type JAppPanelDeactivationParams = paneldts.JAppPanelDeactivationParams
77
+ /** @internal */ type JAppPanelLeaveResponse = paneldts.JAppPanelLeaveResponse
78
+ /** @internal */ type JAppPanel = paneldts.JAppPanel
79
+ /** @internal */ type JAPP_PRINT_FILE_TYPES = printdts.JAPP_PRINT_FILE_TYPES
80
+ /** @internal */ const JAPP_PRINT_FILE_TYPES: typeof printdts.JAPP_PRINT_FILE_TYPES
81
+ /** @internal */ type JAPP_PRINT_PAPER_SIZES = printdts.JAPP_PRINT_PAPER_SIZES
82
+ /** @internal */ const JAPP_PRINT_PAPER_SIZES: typeof printdts.JAPP_PRINT_PAPER_SIZES
83
+ /** @internal */ type JAPP_PRINT_LEGEND_POSITION = printdts.JAPP_PRINT_LEGEND_POSITION
84
+ /** @internal */ const JAPP_PRINT_LEGEND_POSITION: typeof printdts.JAPP_PRINT_LEGEND_POSITION
85
+ /** @internal */ type JAppPaperFormat = printdts.JAppPaperFormat
86
+ /** @internal */ type JAppPrintCaptureResult = printdts.JAppPrintCaptureResult
87
+ /** @internal */ type JAPP_SELECTION_TYPES = selectiondts.JAPP_SELECTION_TYPES
88
+ /** @internal */ type JApplicationOptions = startupoptionsdts.JApplicationOptions
89
+ /** @internal */ type JAppUISidePanelVisibilityChangedEventParams = uidts.JAppUISidePanelVisibilityChangedEventParams
90
+ /** @internal */ type JAppUISidePanelWidthChangedEventParams = uidts.JAppUISidePanelWidthChangedEventParams
91
+ /** @internal */ type JAppUserAction = userdts.JAppUserAction
92
+ }
package/public/layer.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ export {}
1
2
  // ALL_APP_LAYER_DATE_FILTER_OPERATOR_TYPES in all-enum.ts
2
- declare const enum JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES {
3
+ export const enum JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES {
3
4
  BEFORE = "before",
4
5
  AFTER = "after",
5
6
  BETWEEN = "between",
@@ -7,7 +8,7 @@ declare const enum JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES {
7
8
  }
8
9
 
9
10
  // ALL_APP_LAYER_TEXT_FILTER_OPERATOR_TYPES in all-enum.ts
10
- declare const enum JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES {
11
+ export const enum JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES {
11
12
  CONTAINS = "contains",
12
13
  DOES_NOT_CONTAIN = "doesNotContain",
13
14
  EQUALS = "equals",
@@ -15,7 +16,7 @@ declare const enum JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES {
15
16
  }
16
17
 
17
18
  // ALL_APP_LAYER_NUMBER_FILTER_OPERATOR_TYPES in all-enum.ts
18
- declare const enum JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES {
19
+ export const enum JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES {
19
20
  EQUALS = "equals",
20
21
  DOES_NOT_EQUALS = "doesNotEqual",
21
22
  SMALLER_THAN = "smallerThan",
@@ -23,7 +24,7 @@ declare const enum JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES {
23
24
  }
24
25
 
25
26
  // ALL_APP_LAYER_FILTER_DATE_PERIOD_TYPES in all-enum.ts
26
- declare const enum JAPP_LAYER_FILTER_DATE_PERIOD_TYPES {
27
+ export const enum JAPP_LAYER_FILTER_DATE_PERIOD_TYPES {
27
28
  DAY = "day",
28
29
  WEEK = "week",
29
30
  MONTH = "month",
@@ -31,18 +32,18 @@ declare const enum JAPP_LAYER_FILTER_DATE_PERIOD_TYPES {
31
32
  }
32
33
 
33
34
  // ALL_APP_LAYER_EDITION_TABS in all-enum.ts
34
- declare const enum JAPP_LAYER_EDITION_TABS {
35
+ export const enum JAPP_LAYER_EDITION_TABS {
35
36
  THEMATICS = "thematics",
36
37
  DYNAMIC_FILTER = "dynamic-filter",
37
38
  GENERAL = "general"
38
39
  }
39
40
 
40
- declare type JAppLayerAnyFilterOperatorType =
41
+ export type JAppLayerAnyFilterOperatorType =
41
42
  | JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES
42
43
  | JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES
43
44
  | JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES
44
45
 
45
- declare interface JAppLayerTreeFilterState {
46
+ export interface JAppLayerTreeFilterState {
46
47
  active: boolean
47
48
  isAddingFilter: boolean
48
49
  nameFilter: string
@@ -52,37 +53,37 @@ declare interface JAppLayerTreeFilterState {
52
53
  layerIdsByFilterId: JAppLayerIdByFilterId
53
54
  }
54
55
 
55
- declare interface JAppGetAllFiltersResult {
56
+ export interface JAppGetAllFiltersResult {
56
57
  nameFilter: string
57
58
  filters: JAppAnyLayerFilter[]
58
59
  }
59
60
 
60
- declare type JAppLayerIdByFilterId = { [filterId: number]: JId[] }
61
+ export type JAppLayerIdByFilterId = { [filterId: number]: JId[] }
61
62
 
62
- declare type JAppAnyLayerFilter = JAppNumberLayerFilter | JAppTextLayerFilter | JAppDateLayerFilter
63
+ export type JAppAnyLayerFilter = JAppNumberLayerFilter | JAppTextLayerFilter | JAppDateLayerFilter
63
64
 
64
- declare interface JAppBaseLayerFilter {
65
+ export interface JAppBaseLayerFilter {
65
66
  id: number
66
67
  metadataItemId: JId
67
68
  type: JLAYER_METADATA_TYPES
68
69
  }
69
70
 
70
- declare interface JAppNumberLayerFilter extends JAppBaseLayerFilter {
71
+ export interface JAppNumberLayerFilter extends JAppBaseLayerFilter {
71
72
  operator: JAPP_LAYER_NUMBER_FILTER_OPERATOR_TYPES
72
73
  value: number
73
74
  }
74
75
 
75
- declare interface JAppTextLayerFilter extends JAppBaseLayerFilter {
76
+ export interface JAppTextLayerFilter extends JAppBaseLayerFilter {
76
77
  operator: JAPP_LAYER_TEXT_FILTER_OPERATOR_TYPES
77
78
  value: string
78
79
  }
79
80
 
80
- declare interface JAppDateLayerFilter extends JAppBaseLayerFilter {
81
+ export interface JAppDateLayerFilter extends JAppBaseLayerFilter {
81
82
  operator: JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES
82
83
  datePeriod?: JAPP_LAYER_FILTER_DATE_PERIOD_TYPES
83
84
  value: number | Date | Date[]
84
85
  }
85
86
 
86
- declare interface JAppLayerEventParams {
87
+ export interface JAppLayerEventParams {
87
88
  layer: JLayer
88
89
  }
@@ -1,4 +1,7 @@
1
- declare interface JAppMapContextData {
1
+ import type { JAppAnnotation, JappTextMarkerProperties } from "./annotation.d.ts"
2
+ import type { JAppMeasure } from "./measure.d.ts"
3
+ export {}
4
+ export interface JAppMapContextData {
2
5
  measures: JAppMeasure[]
3
6
  annotations: JAppAnnotation[]
4
7
  annotationsTextMarkersProperties: JappTextMarkerProperties[]
@@ -1,19 +1,21 @@
1
- declare type JAPP_MEASURE_TYPES = JAPP_DRAW_TYPES.POLYGON | JAPP_DRAW_TYPES.LINE_STRING | JAPP_DRAW_TYPES.CIRCLE
1
+ import type { JAPP_DRAW_TYPES } from "./draw.d.ts"
2
+ export {}
3
+ export type JAPP_MEASURE_TYPES = JAPP_DRAW_TYPES.POLYGON | JAPP_DRAW_TYPES.LINE_STRING | JAPP_DRAW_TYPES.CIRCLE
2
4
 
3
5
  // ALL_APP_MEASUREMENT_SYSTEMS in all-enum.ts
4
- declare const enum JAPP_MEASUREMENT_SYSTEMS {
6
+ export const enum JAPP_MEASUREMENT_SYSTEMS {
5
7
  PLANAR = "planar",
6
8
  GEODETIC = "geodetic"
7
9
  }
8
10
 
9
- declare type JAPP_MEASURE_SPACE_TYPES = JAPP_DRAW_TYPES.POLYGON | JAPP_DRAW_TYPES.LINE_STRING | JAPP_DRAW_TYPES.CIRCLE
11
+ export type JAPP_MEASURE_SPACE_TYPES = JAPP_DRAW_TYPES.POLYGON | JAPP_DRAW_TYPES.LINE_STRING | JAPP_DRAW_TYPES.CIRCLE
10
12
 
11
- declare interface JAppMeasureEdge {
13
+ export interface JAppMeasureEdge {
12
14
  popupLocation: JPoint
13
15
  distance: number
14
16
  }
15
17
 
16
- declare interface JAppMeasure {
18
+ export interface JAppMeasure {
17
19
  id: string
18
20
  type: JAPP_MEASURE_TYPES
19
21
  feature: GeoJSON.Feature<GeoJSON.LineString | GeoJSON.Polygon>
@@ -24,6 +26,6 @@ declare interface JAppMeasure {
24
26
  radius: number
25
27
  }
26
28
 
27
- declare interface JAppMeasureCreationEventParams {
29
+ export interface JAppMeasureCreationEventParams {
28
30
  measure: JAppMeasure
29
31
  }
@@ -1,12 +1,13 @@
1
+ export {}
1
2
  // ALL_APP_MESSAGE_SEVERITIES in all-enum.ts
2
- declare const enum JAPP_MESSAGE_SEVERITIES {
3
+ export const enum JAPP_MESSAGE_SEVERITIES {
3
4
  SUCCESS = "success",
4
5
  INFO = "info",
5
6
  WARNING = "warning",
6
7
  ERROR = "error"
7
8
  }
8
9
 
9
- declare interface JAppMessage {
10
+ export interface JAppMessage {
10
11
  id: string
11
12
  text: string
12
13
  severity: JAPP_MESSAGE_SEVERITIES
@@ -14,12 +15,12 @@ declare interface JAppMessage {
14
15
  duration: number | null
15
16
  }
16
17
 
17
- declare interface JAppOverlayMessage {
18
+ export interface JAppOverlayMessage {
18
19
  id: string
19
20
  text: string
20
21
  }
21
22
 
22
- declare interface JAppConfirmMessage {
23
+ export interface JAppConfirmMessage {
23
24
  message: string
24
25
  title: string
25
26
  isInputMessage?: boolean
@@ -32,7 +33,7 @@ declare interface JAppConfirmMessage {
32
33
  onCancel?: () => any
33
34
  }
34
35
 
35
- declare interface JAppMessageOptions {
36
+ export interface JAppMessageOptions {
36
37
  severity?: JAPP_MESSAGE_SEVERITIES
37
38
  duration?: number | null
38
39
  }
package/public/panel.d.ts CHANGED
@@ -1,17 +1,18 @@
1
- declare interface JAppPanelActivationParams {
1
+ export {}
2
+ export interface JAppPanelActivationParams {
2
3
  ignoreConfirmationMessage?: boolean
3
4
  }
4
5
 
5
- declare interface JAppPanelDeactivationParams extends JAppPanelActivationParams {
6
+ export interface JAppPanelDeactivationParams extends JAppPanelActivationParams {
6
7
  activatePrevious?: boolean
7
8
  }
8
9
 
9
- declare interface JAppPanelLeaveResponse {
10
+ export interface JAppPanelLeaveResponse {
10
11
  title: string
11
12
  message: string
12
13
  }
13
14
 
14
- declare interface JAppPanel {
15
+ export interface JAppPanel {
15
16
  id: string
16
17
  /**
17
18
  * must be a fontawesome IconDefinition or a valid <img> src (url or base64 data), or an svg string
package/public/print.d.ts CHANGED
@@ -1,12 +1,13 @@
1
+ export {}
1
2
  // ALL_APP_PRINT_FILE_TYPES in all-enum.ts
2
- declare const enum JAPP_PRINT_FILE_TYPES {
3
+ export const enum JAPP_PRINT_FILE_TYPES {
3
4
  PNG = "png",
4
5
  JPEG = "jpeg",
5
6
  PDF = "pdf"
6
7
  }
7
8
 
8
9
  // ALL_APP_PRINT_PAPER_SIZES in all-enum.ts
9
- declare const enum JAPP_PRINT_PAPER_SIZES {
10
+ export const enum JAPP_PRINT_PAPER_SIZES {
10
11
  LETTER = "letter",
11
12
  LEGAL = "legal",
12
13
  A3 = "a3",
@@ -15,19 +16,19 @@ declare const enum JAPP_PRINT_PAPER_SIZES {
15
16
  }
16
17
 
17
18
  // ALL_APP_PRINT_LEGEND_POSITION in all-enum.ts
18
- declare const enum JAPP_PRINT_LEGEND_POSITION {
19
+ export const enum JAPP_PRINT_LEGEND_POSITION {
19
20
  TOP_RIGHT = "top-right",
20
21
  TOP_LEFT = "top-left"
21
22
  }
22
23
 
23
- declare interface JAppPaperFormat {
24
+ export interface JAppPaperFormat {
24
25
  paperSize: JAPP_PRINT_PAPER_SIZES
25
26
  width: number
26
27
  height: number
27
28
  ratio: number
28
29
  }
29
30
 
30
- declare interface JAppPrintCaptureResult {
31
+ export interface JAppPrintCaptureResult {
31
32
  height: number
32
33
  width: number
33
34
  dataUrl: string
@@ -1,4 +1,6 @@
1
- declare type JAPP_SELECTION_TYPES =
1
+ import type { JAPP_DRAW_TYPES } from "./draw.d.ts"
2
+ export {}
3
+ export type JAPP_SELECTION_TYPES =
2
4
  | JAPP_DRAW_TYPES.POINT
3
5
  | JAPP_DRAW_TYPES.LINE_STRING
4
6
  | JAPP_DRAW_TYPES.RECTANGLE
@@ -1,3 +1,4 @@
1
+ import type { JAppExtension } from "./extension.d.ts"
1
2
  export interface JApplicationOptions {
2
3
  /**
3
4
  * When the application start it will create or use an existing div container in which the app will be inserted into.
package/public/ui.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- declare interface JAppUISidePanelVisibilityChangedEventParams {
1
+ export {}
2
+ export interface JAppUISidePanelVisibilityChangedEventParams {
2
3
  isVisible: boolean
3
4
  }
4
5
 
5
- declare interface JAppUISidePanelWidthChangedEventParams {
6
+ export interface JAppUISidePanelWidthChangedEventParams {
6
7
  width: number
7
8
  }
package/public/user.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- declare interface JAppUserAction {
1
+ export {}
2
+ export interface JAppUserAction {
2
3
  id: string
3
4
  label: string | JTranslationItem
4
5
  /**