@sassoftware/vi-api 0.0.29 → 1.7.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/LICENSE.txt +333 -0
- package/README.md +9 -0
- package/alert-reps/index.d.ts +5 -1
- package/alert-reps/package.json +1 -1
- package/api.module.js +72 -0
- package/component/bindings.d.ts +15 -7
- package/component/index.d.ts +11 -10
- package/component/index.js +1 -1
- package/config/config-api.d.ts +21 -2
- package/control/control-api.d.ts +44 -22
- package/control/data-types.d.ts +6 -1
- package/control/page.d.ts +14 -0
- package/control/toolbar-property-api.d.ts +2 -1
- package/event/event-api.d.ts +1 -0
- package/event/event-api.js +1 -0
- package/index.d.ts +2 -2
- package/metadata/metadata-api.d.ts +15 -12
- package/object/object-api.d.ts +29 -40
- package/package.json +25 -2
- package/page-admin/page-admin-api.d.ts +2 -2
- package/page-model/page-model-api.d.ts +113 -14
- package/page-state/page-state-api.d.ts +23 -0
- package/property/property-api.d.ts +66 -6
- package/property/property-api.js +2 -2
- package/score-reps/index.d.ts +1 -1
- package/score-reps/package.json +1 -1
- package/search/client/client-search-api.d.ts +15 -11
- package/search/client/client-search-api.js +1 -1
- package/search/search-api.d.ts +7 -7
- package/sheet/sheet-api.d.ts +41 -9
- package/sheet/sheet-api.js +9 -1
- package/svi-datahub/index.d.ts +218 -173
- package/svi-datahub/package.json +1 -1
- package/svi-sand/index.d.ts +40 -33
- package/svi-sand/package.json +1 -1
- package/tab/tab-api.d.ts +1 -1
- package/theme/theme-api.d.ts +1 -1
- package/theme/theme-api.js +1 -1
- package/time-slider/index.d.ts +15 -0
- package/traversal/traversal-api.d.ts +7 -1
package/svi-datahub/package.json
CHANGED
package/svi-sand/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
// Generated using typescript-generator version 2.15.527 on
|
|
3
|
+
// Generated using typescript-generator version 2.15.527 on 2023-01-24 10:53:58.
|
|
4
4
|
|
|
5
5
|
export interface ApplicationSetting extends ResponsesErrorResponse {
|
|
6
6
|
name?: string;
|
|
@@ -34,7 +34,6 @@ export interface SandType extends ResponsesErrorResponse {
|
|
|
34
34
|
fields?: { [index: string]: SandField };
|
|
35
35
|
options?: { [index: string]: any };
|
|
36
36
|
config?: SandConfiguration;
|
|
37
|
-
version?: number;
|
|
38
37
|
links?: Link[];
|
|
39
38
|
}
|
|
40
39
|
|
|
@@ -110,12 +109,12 @@ export interface Fields {
|
|
|
110
109
|
category?: string;
|
|
111
110
|
label?: string;
|
|
112
111
|
description?: string;
|
|
113
|
-
longitude?: string;
|
|
114
|
-
latitude?: string;
|
|
115
|
-
geoJson?: string;
|
|
116
112
|
pointTimestamp?: string;
|
|
117
113
|
intervalStartTimestamp?: string;
|
|
118
114
|
intervalEndTimestamp?: string;
|
|
115
|
+
longitude?: string;
|
|
116
|
+
latitude?: string;
|
|
117
|
+
geoJson?: string;
|
|
119
118
|
}
|
|
120
119
|
|
|
121
120
|
export interface FieldsConfiguration {
|
|
@@ -144,8 +143,8 @@ export interface SummaryConfiguration extends FieldsConfiguration {
|
|
|
144
143
|
|
|
145
144
|
export interface HighlightingConfiguration {
|
|
146
145
|
highlighter?: string;
|
|
147
|
-
fragments?: number;
|
|
148
146
|
fragmentSize?: number;
|
|
147
|
+
fragments?: number;
|
|
149
148
|
}
|
|
150
149
|
|
|
151
150
|
export interface TextAnalyticsConfiguration extends FieldsConfiguration {
|
|
@@ -265,6 +264,10 @@ export interface TypeBucket {
|
|
|
265
264
|
selected?: boolean;
|
|
266
265
|
}
|
|
267
266
|
|
|
267
|
+
export interface MaskedFieldConfiguration {
|
|
268
|
+
type?: MaskedFieldType;
|
|
269
|
+
}
|
|
270
|
+
|
|
268
271
|
export interface AbstractCompositeFilter extends AbstractFilter {
|
|
269
272
|
type: "and" | "or";
|
|
270
273
|
filters?: AbstractFilterUnion[];
|
|
@@ -298,8 +301,8 @@ export interface FilterVisitor<T> {
|
|
|
298
301
|
export interface MapBoundedBoxFilter extends AbstractFilter {
|
|
299
302
|
type: "box";
|
|
300
303
|
coordinates?: number[][];
|
|
301
|
-
bottomRight?: Coordinate;
|
|
302
304
|
topLeft?: Coordinate;
|
|
305
|
+
bottomRight?: Coordinate;
|
|
303
306
|
}
|
|
304
307
|
|
|
305
308
|
export interface MapBoundedPolygonFilter extends AbstractFilter {
|
|
@@ -343,8 +346,8 @@ export interface QueryFilter extends AbstractFilter {
|
|
|
343
346
|
export interface TermsFilter extends AbstractFilter {
|
|
344
347
|
type: "terms";
|
|
345
348
|
field?: string;
|
|
346
|
-
terms?: any[];
|
|
347
349
|
objectType?: string;
|
|
350
|
+
terms?: any[];
|
|
348
351
|
}
|
|
349
352
|
|
|
350
353
|
export interface TypeFilter extends AbstractFilter {
|
|
@@ -378,8 +381,8 @@ export interface Edge extends Endpoint {
|
|
|
378
381
|
endpoints?: EndpointUnion[];
|
|
379
382
|
subtype?: string;
|
|
380
383
|
label?: string;
|
|
381
|
-
validFrom?:
|
|
382
|
-
validTo?:
|
|
384
|
+
validFrom?: string;
|
|
385
|
+
validTo?: string;
|
|
383
386
|
fields?: SummaryFieldValue[];
|
|
384
387
|
style?: RelationshipStyle;
|
|
385
388
|
}
|
|
@@ -423,8 +426,8 @@ export interface Vertex extends Endpoint {
|
|
|
423
426
|
typeLabel?: string;
|
|
424
427
|
label?: string;
|
|
425
428
|
attachmentsCount?: number;
|
|
426
|
-
validFrom?:
|
|
427
|
-
validTo?:
|
|
429
|
+
validFrom?: string;
|
|
430
|
+
validTo?: string;
|
|
428
431
|
style?: EntityStyle;
|
|
429
432
|
}
|
|
430
433
|
|
|
@@ -442,6 +445,7 @@ export interface ChildObjectHighlighting {
|
|
|
442
445
|
id?: string;
|
|
443
446
|
name?: string;
|
|
444
447
|
highlighting?: { [index: string]: any[] };
|
|
448
|
+
maskedFields?: { [index: string]: MaskedFieldConfiguration };
|
|
445
449
|
}
|
|
446
450
|
|
|
447
451
|
export interface ObjectId extends Serializable {
|
|
@@ -532,6 +536,7 @@ export interface NumericalRangeBuilder {
|
|
|
532
536
|
|
|
533
537
|
export interface Range<V> {
|
|
534
538
|
description?: string;
|
|
539
|
+
id?: string;
|
|
535
540
|
gt?: V;
|
|
536
541
|
gte?: V;
|
|
537
542
|
lt?: V;
|
|
@@ -616,8 +621,8 @@ export interface TraversalRepresentation {
|
|
|
616
621
|
edgeFilter?: AbstractFilterUnion;
|
|
617
622
|
depth?: number;
|
|
618
623
|
extendedFormat?: boolean;
|
|
619
|
-
graphCompoundValues?: string[];
|
|
620
624
|
graphObjectIds?: ObjectId[];
|
|
625
|
+
graphCompoundValues?: string[];
|
|
621
626
|
}
|
|
622
627
|
|
|
623
628
|
export interface AnalyticsCategoriesResponse extends ResponsesErrorResponse {
|
|
@@ -681,6 +686,7 @@ export interface HighlightResponse extends ResponsesErrorResponse {
|
|
|
681
686
|
defaultChildEntityLimit?: number;
|
|
682
687
|
fieldHighlighting?: { [index: string]: any[] };
|
|
683
688
|
childEntityHighlighting?: { [index: string]: ChildEntityHighlighting };
|
|
689
|
+
maskedFields?: { [index: string]: MaskedFieldConfiguration };
|
|
684
690
|
}
|
|
685
691
|
|
|
686
692
|
export interface OperationResponse extends OperationRepresentation {
|
|
@@ -705,8 +711,8 @@ export interface Selection {
|
|
|
705
711
|
|
|
706
712
|
export interface ManualSelection {
|
|
707
713
|
query?: string;
|
|
708
|
-
compoundValues?: string[];
|
|
709
714
|
objectIds?: ObjectId[];
|
|
715
|
+
compoundValues?: string[];
|
|
710
716
|
}
|
|
711
717
|
|
|
712
718
|
export interface EntityStyle {
|
|
@@ -757,12 +763,14 @@ export interface SummaryFieldValue {
|
|
|
757
763
|
name?: string;
|
|
758
764
|
type?: FieldType;
|
|
759
765
|
value?: any;
|
|
766
|
+
masked?: MaskedFieldConfiguration;
|
|
760
767
|
}
|
|
761
768
|
|
|
762
769
|
export interface TableColumnHeading {
|
|
763
770
|
field?: string;
|
|
764
771
|
label?: string;
|
|
765
772
|
type?: FieldType;
|
|
773
|
+
masked?: MaskedFieldConfiguration;
|
|
766
774
|
}
|
|
767
775
|
|
|
768
776
|
export interface ClusterSwimLaneEntry extends SwimLaneEntry {
|
|
@@ -779,7 +787,7 @@ export interface ObjectSwimLaneEntry extends SwimLaneEntry {
|
|
|
779
787
|
}
|
|
780
788
|
|
|
781
789
|
export interface SwimLane {
|
|
782
|
-
id?:
|
|
790
|
+
id?: string;
|
|
783
791
|
label?: string;
|
|
784
792
|
description?: string;
|
|
785
793
|
attachmentsCount?: number;
|
|
@@ -789,18 +797,15 @@ export interface SwimLane {
|
|
|
789
797
|
objectType?: string;
|
|
790
798
|
}
|
|
791
799
|
|
|
792
|
-
export interface Id extends ObjectId {
|
|
793
|
-
}
|
|
794
|
-
|
|
795
800
|
export interface SwimLaneEntry {
|
|
796
801
|
entryType: "cluster" | "object";
|
|
797
|
-
group?:
|
|
798
|
-
startTimestamp?:
|
|
799
|
-
endTimestamp?:
|
|
802
|
+
group?: string;
|
|
803
|
+
startTimestamp?: string;
|
|
804
|
+
endTimestamp?: string;
|
|
800
805
|
}
|
|
801
806
|
|
|
802
807
|
export interface TimebarInterval {
|
|
803
|
-
start?:
|
|
808
|
+
start?: string;
|
|
804
809
|
hitCount?: number;
|
|
805
810
|
}
|
|
806
811
|
|
|
@@ -880,9 +885,9 @@ export interface MapVisualizationResponse extends VisualizationResponse {
|
|
|
880
885
|
|
|
881
886
|
export interface PagedVisualizationRepresentation extends VisualizationRepresentation {
|
|
882
887
|
type: "PagedVisualizationRepresentation" | "summary" | "table" | "timeline";
|
|
883
|
-
order?: OrderUnion;
|
|
884
888
|
start?: number;
|
|
885
889
|
limit?: number;
|
|
890
|
+
order?: OrderUnion;
|
|
886
891
|
}
|
|
887
892
|
|
|
888
893
|
export interface PagedVisualizationResponse extends VisualizationResponse {
|
|
@@ -914,8 +919,8 @@ export interface TableVisualizationResponse extends PagedVisualizationResponse {
|
|
|
914
919
|
|
|
915
920
|
export interface TimebarVisualizationRepresentation extends VisualizationRepresentation {
|
|
916
921
|
type: "timebar";
|
|
917
|
-
startTimestamp?:
|
|
918
|
-
endTimestamp?:
|
|
922
|
+
startTimestamp?: string;
|
|
923
|
+
endTimestamp?: string;
|
|
919
924
|
intervalCount?: number;
|
|
920
925
|
geoEventsRequired?: boolean;
|
|
921
926
|
}
|
|
@@ -926,8 +931,8 @@ export interface TimebarVisualizationResponse extends VisualizationResponse {
|
|
|
926
931
|
geoEventsRequired?: boolean;
|
|
927
932
|
hitCount?: number;
|
|
928
933
|
eventCount?: number;
|
|
929
|
-
globalMinTime?:
|
|
930
|
-
globalMaxTime?:
|
|
934
|
+
globalMinTime?: string;
|
|
935
|
+
globalMaxTime?: string;
|
|
931
936
|
interval?: string;
|
|
932
937
|
intervalSize?: number;
|
|
933
938
|
timebarIntervals?: TimebarInterval[];
|
|
@@ -935,8 +940,8 @@ export interface TimebarVisualizationResponse extends VisualizationResponse {
|
|
|
935
940
|
|
|
936
941
|
export interface TimelineVisualizationRepresentation extends PagedVisualizationRepresentation {
|
|
937
942
|
type: "timeline";
|
|
938
|
-
startTimestamp?:
|
|
939
|
-
endTimestamp?:
|
|
943
|
+
startTimestamp?: string;
|
|
944
|
+
endTimestamp?: string;
|
|
940
945
|
intervalCount?: number;
|
|
941
946
|
minimumClusterSize?: number;
|
|
942
947
|
paddingFactor?: number;
|
|
@@ -948,10 +953,10 @@ export interface TimelineVisualizationResponse extends PagedVisualizationRespons
|
|
|
948
953
|
minimumClusterSize?: number;
|
|
949
954
|
paddingFactor?: number;
|
|
950
955
|
eventCount?: number;
|
|
951
|
-
globalMinTime?:
|
|
952
|
-
globalMaxTime?:
|
|
953
|
-
minTime?:
|
|
954
|
-
maxTime?:
|
|
956
|
+
globalMinTime?: string;
|
|
957
|
+
globalMaxTime?: string;
|
|
958
|
+
minTime?: string;
|
|
959
|
+
maxTime?: string;
|
|
955
960
|
interval?: DateTimeInterval;
|
|
956
961
|
swimLanes?: SwimLane[];
|
|
957
962
|
swimLaneEntries?: SwimLaneEntryUnion[];
|
|
@@ -1020,6 +1025,8 @@ export type DateTimeInterval = "oneHundredYear" | "fiftyYear" | "tenYear" | "yea
|
|
|
1020
1025
|
|
|
1021
1026
|
export type FieldType = "boolean" | "date" | "double" | "float" | "geoPoint" | "geoShape" | "integer" | "long" | "nested" | "object" | "text";
|
|
1022
1027
|
|
|
1028
|
+
export type MaskedFieldType = "full" | "partial" | "none";
|
|
1029
|
+
|
|
1023
1030
|
export type TextFieldFeature = "search" | "facet" | "sort" | "html" | "email";
|
|
1024
1031
|
|
|
1025
1032
|
export type MapRelation = "contains" | "disjoint" | "intersects" | "within";
|
package/svi-sand/package.json
CHANGED
package/tab/tab-api.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface TabApi {
|
|
|
11
11
|
* @param objectId {string} ID of the object to be opened.
|
|
12
12
|
* @param [suppressNavigation = false] {boolean} Allows the tab to be opened without navigating to it.
|
|
13
13
|
* @param [mode = PageModeEvent.OPEN] {PageModeEvent} Mode to open the tab in.
|
|
14
|
-
* @return A
|
|
14
|
+
* @return A Promise that resolves when the tab is opened.
|
|
15
15
|
*/
|
|
16
16
|
openTab(objectType: string, objectId: string, suppressNavigation?: boolean, mode?: PageModeEvent): Promise<void>;
|
|
17
17
|
/**
|
package/theme/theme-api.d.ts
CHANGED
package/theme/theme-api.js
CHANGED
package/time-slider/index.d.ts
CHANGED
|
@@ -33,3 +33,18 @@ export interface TimeSliderRange {
|
|
|
33
33
|
start?: Date;
|
|
34
34
|
end?: Date;
|
|
35
35
|
}
|
|
36
|
+
export interface TimeSliderContextMenuHideOptions {
|
|
37
|
+
pointInTime?: boolean;
|
|
38
|
+
timeRange?: boolean;
|
|
39
|
+
showHistogram?: boolean;
|
|
40
|
+
closeTimeSlider?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface MinMaxDates {
|
|
43
|
+
min: Date;
|
|
44
|
+
max: Date;
|
|
45
|
+
}
|
|
46
|
+
export interface TimeSliderRangeChangedEvent {
|
|
47
|
+
start: Date;
|
|
48
|
+
end: Date;
|
|
49
|
+
rangeChangedOutsideTimeSlider: boolean;
|
|
50
|
+
}
|
|
@@ -2,6 +2,9 @@ import { Record, Traversal } from "../svi-datahub";
|
|
|
2
2
|
export interface TraversalWithEndpoint extends Traversal {
|
|
3
3
|
endPoint?: string | null;
|
|
4
4
|
}
|
|
5
|
+
export interface SviRecord extends Record {
|
|
6
|
+
displayLabel?: string;
|
|
7
|
+
}
|
|
5
8
|
/**
|
|
6
9
|
* This API provides functionality related to traversal data.
|
|
7
10
|
* Accessed from the window at window.sas.vi.traversal.
|
|
@@ -15,9 +18,12 @@ export interface TraversalApi {
|
|
|
15
18
|
* @param traversalUuids {string[]} Array of traversal UUIDs associated with the root object type.
|
|
16
19
|
* @param destinationObjectType {string} Destination object's type.
|
|
17
20
|
* @param fields {string[]} Names of the fields to be retrieved.
|
|
21
|
+
* @param options {object} Optional object containing options: includeDisplayLabels.
|
|
18
22
|
* @returns Promise containing the array of objects with specified fields and their values.
|
|
19
23
|
*/
|
|
20
|
-
getFieldsByTraversals(rootObjectId: string, rootObjectType: string, traversalUuids: string[], destinationObjectType: string, fields: string[]
|
|
24
|
+
getFieldsByTraversals(rootObjectId: string, rootObjectType: string, traversalUuids: string[], destinationObjectType: string, fields: string[], options?: {
|
|
25
|
+
includeDisplayLabels?: boolean;
|
|
26
|
+
}): Promise<SviRecord[]>;
|
|
21
27
|
/**
|
|
22
28
|
* @method
|
|
23
29
|
* @description Gets all Traversals.
|