@i2analyze/notebook-sdk 1.8.0-dev.9 → 1.9.0-dev.0
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/README.md +1 -0
- package/lib/gen/notebook-sdk-public.d.ts +570 -268
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@ This npm package provides the JavaScript library for developing plug-ins and a t
|
|
|
8
8
|
|
|
9
9
|
| `@i2analyze/notebook-sdk` version | i2 Analyze version |
|
|
10
10
|
| --------------------------------- | ------------------ |
|
|
11
|
+
| 1.8.\* | 4.4.6.\* and later |
|
|
11
12
|
| 1.7.\* | 4.4.5.\* and later |
|
|
12
13
|
| 1.6.\* | 4.4.4.5 and later |
|
|
13
14
|
| 1.5.\* | 4.4.4.0 to 4.4.4.4 |
|
|
@@ -364,12 +364,12 @@ export declare namespace app {
|
|
|
364
364
|
* A common specifier for a note, for use in mutation APIs.
|
|
365
365
|
* @i2since 1.1
|
|
366
366
|
*/
|
|
367
|
-
export type NoteSpecifier =
|
|
367
|
+
export type NoteSpecifier = data.NoteId | data.INote;
|
|
368
368
|
/**
|
|
369
369
|
* A common specifier for a source reference, for use in mutation APIs.
|
|
370
370
|
* @i2since 1.1
|
|
371
371
|
*/
|
|
372
|
-
export type SourceReferenceSpecifier =
|
|
372
|
+
export type SourceReferenceSpecifier = data.SourceReferenceId | data.ISourceReference;
|
|
373
373
|
/**
|
|
374
374
|
* A common specifier for a node, for use in mutation APIs.
|
|
375
375
|
* @i2since 1.2
|
|
@@ -408,44 +408,62 @@ export declare namespace app {
|
|
|
408
408
|
export type SelectionOption = 'addRecordsToSelection' | 'setSelectionToRecords' | 'setSelectionToNewRecords';
|
|
409
409
|
/**
|
|
410
410
|
* A common specifier for the properties of new records, for use in mutation APIs.
|
|
411
|
-
* @i2since 1.
|
|
411
|
+
* @i2since 1.9
|
|
412
412
|
*/
|
|
413
|
-
export type
|
|
413
|
+
export type PropertiesSpecifier = Record<schema.PropertyTypeIdentifier, data.PropertyValue> | Iterable<[schema.PropertyTypeSpecifier, data.PropertyValue]>;
|
|
414
414
|
/**
|
|
415
|
-
* A common specifier for
|
|
415
|
+
* A common specifier for the properties of new records, for use in mutation APIs.
|
|
416
|
+
* @deprecated Use {@link app.PropertiesSpecifier | PropertiesSpecifier} instead.
|
|
416
417
|
* @i2since 1.1
|
|
417
418
|
*/
|
|
418
|
-
export type
|
|
419
|
+
export type RecordPropertiesSpecifier = PropertiesSpecifier;
|
|
419
420
|
/**
|
|
420
|
-
* A
|
|
421
|
+
* A common specifier for properties that are to be edited, for use in mutation APIs.
|
|
422
|
+
* @i2since 1.9
|
|
423
|
+
*/
|
|
424
|
+
export type EditPropertiesSpecifier = Record<schema.PropertyTypeIdentifier, data.PropertyValue | null> | Iterable<[schema.PropertyTypeSpecifier, data.PropertyValue | null]>;
|
|
425
|
+
/**
|
|
426
|
+
* A common specifier for records properties that are to be edited, for use in mutation APIs.
|
|
427
|
+
* @deprecated Use {@link app.EditPropertiesSpecifier | EditPropertiesSpecifier} instead.
|
|
421
428
|
* @i2since 1.1
|
|
422
429
|
*/
|
|
423
|
-
export
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
430
|
+
export type EditRecordPropertiesSpecifier = EditPropertiesSpecifier;
|
|
431
|
+
/**
|
|
432
|
+
* A set of common chart data that for creating records.
|
|
433
|
+
* @i2since 1.9
|
|
434
|
+
*/
|
|
435
|
+
export interface IChartBaseData {
|
|
429
436
|
/**
|
|
430
437
|
* Gets or sets the properties of the new record.
|
|
431
438
|
* @i2since 1.1
|
|
432
439
|
*/
|
|
433
|
-
properties?:
|
|
440
|
+
properties?: PropertiesSpecifier;
|
|
434
441
|
/**
|
|
435
442
|
* Gets or sets the security settings of the new record.
|
|
436
443
|
* @i2since 1.1
|
|
437
444
|
*/
|
|
438
|
-
security?: readonly
|
|
445
|
+
security?: readonly data.ISecuritySetting[] | data.IKeyedReadOnlyCollection<schema.SecurityDimensionId, data.ISecuritySetting>;
|
|
439
446
|
/**
|
|
440
447
|
* Gets or sets the notes for the new record.
|
|
441
448
|
* @i2since 1.1
|
|
442
449
|
*/
|
|
443
|
-
notes?: readonly
|
|
450
|
+
notes?: readonly data.INoteData[];
|
|
444
451
|
/**
|
|
445
452
|
* Gets or sets the source references of the new record.
|
|
446
453
|
* @i2since 1.1
|
|
447
454
|
*/
|
|
448
455
|
sourceReferences?: readonly records.ISourceReferenceData[];
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* A set of data that is common to creating records of all types.
|
|
459
|
+
* @i2since 1.1
|
|
460
|
+
*/
|
|
461
|
+
export interface IChartRecordBaseData extends IChartBaseData {
|
|
462
|
+
/**
|
|
463
|
+
* Gets or sets the item type of the new record.
|
|
464
|
+
* @i2since 1.1
|
|
465
|
+
*/
|
|
466
|
+
itemType: schema.ChartItemTypeId | schema.IChartItemType;
|
|
449
467
|
/**
|
|
450
468
|
* Gets or sets the source identifiers of the new record.
|
|
451
469
|
* @i2since 1.1
|
|
@@ -531,10 +549,10 @@ export declare namespace app {
|
|
|
531
549
|
setLabel(label: string | undefined): this;
|
|
532
550
|
}
|
|
533
551
|
/**
|
|
534
|
-
* A set of methods for modifying
|
|
535
|
-
*
|
|
552
|
+
* A set of methods for modifying common record data.
|
|
553
|
+
* @i2since 1.9
|
|
536
554
|
*/
|
|
537
|
-
export interface
|
|
555
|
+
export interface IEditorBase {
|
|
538
556
|
/**
|
|
539
557
|
* Sets or clears the values of properties on the record.
|
|
540
558
|
*
|
|
@@ -542,7 +560,7 @@ export declare namespace app {
|
|
|
542
560
|
* @returns This record, with the edited properties in place.
|
|
543
561
|
* @i2since 1.1
|
|
544
562
|
*/
|
|
545
|
-
setProperties(properties:
|
|
563
|
+
setProperties(properties: EditPropertiesSpecifier): this;
|
|
546
564
|
/**
|
|
547
565
|
* Adds a new note to the record.
|
|
548
566
|
*
|
|
@@ -550,7 +568,7 @@ export declare namespace app {
|
|
|
550
568
|
* @returns This record, with the new note in place.
|
|
551
569
|
* @i2since 1.1
|
|
552
570
|
*/
|
|
553
|
-
addNote(noteData:
|
|
571
|
+
addNote(noteData: data.INoteData): this;
|
|
554
572
|
/**
|
|
555
573
|
* Replaces an existing note on the record with a new one.
|
|
556
574
|
*
|
|
@@ -559,7 +577,7 @@ export declare namespace app {
|
|
|
559
577
|
* @returns This record, with the new note in place.
|
|
560
578
|
* @i2since 1.1
|
|
561
579
|
*/
|
|
562
|
-
replaceNote(note: NoteSpecifier, noteData:
|
|
580
|
+
replaceNote(note: NoteSpecifier, noteData: data.INoteData): this;
|
|
563
581
|
/**
|
|
564
582
|
* Removes a note from the record.
|
|
565
583
|
*
|
|
@@ -575,7 +593,7 @@ export declare namespace app {
|
|
|
575
593
|
* @returns This record, with the new source reference in place.
|
|
576
594
|
* @i2since 1.1
|
|
577
595
|
*/
|
|
578
|
-
addSourceReference(refData:
|
|
596
|
+
addSourceReference(refData: data.ISourceReferenceData): this;
|
|
579
597
|
/**
|
|
580
598
|
* Replaces an existing source reference on the record with a new one.
|
|
581
599
|
*
|
|
@@ -584,7 +602,7 @@ export declare namespace app {
|
|
|
584
602
|
* @returns This record, with the new source reference in place.
|
|
585
603
|
* @i2since 1.1
|
|
586
604
|
*/
|
|
587
|
-
replaceSourceReference(ref: SourceReferenceSpecifier, refData:
|
|
605
|
+
replaceSourceReference(ref: SourceReferenceSpecifier, refData: data.ISourceReferenceData): this;
|
|
588
606
|
/**
|
|
589
607
|
* Removes a source reference from the record.
|
|
590
608
|
*
|
|
@@ -594,21 +612,27 @@ export declare namespace app {
|
|
|
594
612
|
*/
|
|
595
613
|
removeSourceReference(ref: SourceReferenceSpecifier): this;
|
|
596
614
|
/**
|
|
597
|
-
*
|
|
615
|
+
* Replaces the record's security settings with a new set.
|
|
598
616
|
*
|
|
599
|
-
* @param
|
|
600
|
-
* @returns This record, with the new
|
|
617
|
+
* @param security - The new security settings.
|
|
618
|
+
* @returns This record, with the new security settings in place.
|
|
601
619
|
* @i2since 1.1
|
|
602
620
|
*/
|
|
603
|
-
|
|
621
|
+
replaceSecurity(security: readonly data.ISecuritySetting[] | data.IKeyedReadOnlyCollection<schema.SecurityDimensionId, records.ISecuritySetting>): this;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* A set of methods for modifying the contents of a record.
|
|
625
|
+
* @i2since 1.1
|
|
626
|
+
*/
|
|
627
|
+
export interface IRecordEditor extends IEditorBase {
|
|
604
628
|
/**
|
|
605
|
-
*
|
|
629
|
+
* Adds a new source identifier to the record.
|
|
606
630
|
*
|
|
607
|
-
* @param
|
|
608
|
-
* @returns This record, with the new
|
|
631
|
+
* @param identifierData - The data for the new source identifier.
|
|
632
|
+
* @returns This record, with the new source identifier in place.
|
|
609
633
|
* @i2since 1.1
|
|
610
634
|
*/
|
|
611
|
-
|
|
635
|
+
addSourceIdentifier(identifierData: records.ISourceIdentifierData): this;
|
|
612
636
|
/**
|
|
613
637
|
* Sets the direction of a link record.
|
|
614
638
|
*
|
|
@@ -697,6 +721,14 @@ export declare namespace app {
|
|
|
697
721
|
* @i2since 1.2
|
|
698
722
|
*/
|
|
699
723
|
export interface IEdgeEditor extends IElementEditorBase {
|
|
724
|
+
/**
|
|
725
|
+
* Sets or resets the width of the edge.
|
|
726
|
+
*
|
|
727
|
+
* @param width - The width to set, or undefined to reset the width to 1.
|
|
728
|
+
* @returns The edge, with its width set to the specified value.
|
|
729
|
+
* @i2since 1.8
|
|
730
|
+
*/
|
|
731
|
+
setWidth(width: number | undefined): this;
|
|
700
732
|
}
|
|
701
733
|
/**
|
|
702
734
|
* A set of methods for modifying the contents and position of a node group.
|
|
@@ -749,6 +781,14 @@ export declare namespace app {
|
|
|
749
781
|
* @i2since 1.8
|
|
750
782
|
*/
|
|
751
783
|
setImage(href: string | undefined, description?: string): this;
|
|
784
|
+
/**
|
|
785
|
+
* Sets whether the node group is minimized, so nodes within the group are hidden, or maximized where they are shown.
|
|
786
|
+
*
|
|
787
|
+
* @param isMinimized - `true` to minimize the group, `false` to maximize it.
|
|
788
|
+
* @returns The node group, with its minimized state set to the specified value.
|
|
789
|
+
* @i2since 1.8
|
|
790
|
+
*/
|
|
791
|
+
setIsMinimized(isMinimized: boolean): this;
|
|
752
792
|
/**
|
|
753
793
|
* Adds nodes to the group.
|
|
754
794
|
* @param nodes - The nodes to add to the group.
|
|
@@ -803,7 +843,7 @@ export declare namespace app {
|
|
|
803
843
|
* @throws `Error` if the security dimension or dimension values in the data do not exist in the security schema.
|
|
804
844
|
* @i2since 1.1
|
|
805
845
|
*/
|
|
806
|
-
createSecuritySetting(data:
|
|
846
|
+
createSecuritySetting(data: data.ISecuritySettingData): data.ISecuritySetting;
|
|
807
847
|
/**
|
|
808
848
|
* Creates a decimal value from a number or a string.
|
|
809
849
|
*
|
|
@@ -1126,7 +1166,7 @@ export declare namespace app {
|
|
|
1126
1166
|
* @returns The type-editing object.
|
|
1127
1167
|
* @i2since 1.6
|
|
1128
1168
|
*/
|
|
1129
|
-
editItemType(itemType: schema.
|
|
1169
|
+
editItemType(itemType: schema.ChartItemTypeSpecifier | schema.IPendingItemType): schema.IItemTypeEditor | schema.IPropertyTypesEditor;
|
|
1130
1170
|
}
|
|
1131
1171
|
/**
|
|
1132
1172
|
* A collection of elements and records that together represent a selection on the chart surface.
|
|
@@ -1558,17 +1598,17 @@ export declare namespace chart {
|
|
|
1558
1598
|
* Gets all the entity types in use on the chart.
|
|
1559
1599
|
* @i2since 1.3
|
|
1560
1600
|
*/
|
|
1561
|
-
readonly entityTypes: data.IKeyedReadOnlyCollection<schema.
|
|
1601
|
+
readonly entityTypes: data.IKeyedReadOnlyCollection<schema.ChartItemTypeIdentifier, schema.IChartEntityType>;
|
|
1562
1602
|
/**
|
|
1563
1603
|
* Gets all the link types in use on the chart.
|
|
1564
1604
|
* @i2since 1.3
|
|
1565
1605
|
*/
|
|
1566
|
-
readonly linkTypes: data.IKeyedReadOnlyCollection<schema.
|
|
1606
|
+
readonly linkTypes: data.IKeyedReadOnlyCollection<schema.ChartItemTypeIdentifier, schema.IChartLinkType>;
|
|
1567
1607
|
/**
|
|
1568
1608
|
* Gets all the entity types and link types in use on the chart.
|
|
1569
1609
|
* @i2since 1.3
|
|
1570
1610
|
*/
|
|
1571
|
-
readonly itemTypes: data.IKeyedReadOnlyCollection<schema.
|
|
1611
|
+
readonly itemTypes: data.IKeyedReadOnlyCollection<schema.ChartItemTypeIdentifier, schema.IChartItemType>;
|
|
1572
1612
|
/**
|
|
1573
1613
|
* Fetches property values from the server of the specified types for the specified records, if they have not previously been fetched.
|
|
1574
1614
|
*
|
|
@@ -2468,13 +2508,31 @@ export declare namespace commands {
|
|
|
2468
2508
|
* A common specifier for a tab in the application ribbon.
|
|
2469
2509
|
* @i2since 1.7
|
|
2470
2510
|
*/
|
|
2471
|
-
export type TabSpecifier = RibbonTabId | IRibbonTabActionArea | IHomeTabActionArea;
|
|
2511
|
+
export type TabSpecifier = RibbonTabId | IRibbonTabActionArea | IHomeTabActionArea | ICollectTabActionArea | IAnalyzeTabActionArea | IDisseminateTabActionArea;
|
|
2472
2512
|
/**
|
|
2473
2513
|
* An area that represents the **Home** tab in the application ribbon, which contains system groups.
|
|
2474
2514
|
* @i2since 1.6
|
|
2475
2515
|
*/
|
|
2476
2516
|
export interface IHomeTabActionArea extends IActionArea<IHomeTabSystemGroups> {
|
|
2477
2517
|
}
|
|
2518
|
+
/**
|
|
2519
|
+
* An area that represents the **Collect** tab in the application ribbon, which contains system groups.
|
|
2520
|
+
* @i2since 1.8
|
|
2521
|
+
*/
|
|
2522
|
+
export interface ICollectTabActionArea extends IActionArea<ICollectTabSystemGroups> {
|
|
2523
|
+
}
|
|
2524
|
+
/**
|
|
2525
|
+
* An area that represents the **Analyze** tab in the application ribbon, which contains system groups.
|
|
2526
|
+
* @i2since 1.8
|
|
2527
|
+
*/
|
|
2528
|
+
export interface IAnalyzeTabActionArea extends IActionArea<IAnalyzeTabSystemGroups> {
|
|
2529
|
+
}
|
|
2530
|
+
/**
|
|
2531
|
+
* An area that represents the **Disseminate** tab in the application ribbon, which contains system groups.
|
|
2532
|
+
* @i2since 1.8
|
|
2533
|
+
*/
|
|
2534
|
+
export interface IDisseminateTabActionArea extends IActionArea<IDisseminateTabSystemGroups> {
|
|
2535
|
+
}
|
|
2478
2536
|
/**
|
|
2479
2537
|
* An area that represents a custom tab in the application ribbon.
|
|
2480
2538
|
* @i2since 1.6
|
|
@@ -2491,6 +2549,21 @@ export declare namespace commands {
|
|
|
2491
2549
|
* @i2since 1.0
|
|
2492
2550
|
*/
|
|
2493
2551
|
readonly homeTab: IHomeTabActionArea;
|
|
2552
|
+
/**
|
|
2553
|
+
* Gets the area that represents the **Collect** tab in the application ribbon.
|
|
2554
|
+
* @i2since 1.8
|
|
2555
|
+
*/
|
|
2556
|
+
readonly collectTab: ICollectTabActionArea;
|
|
2557
|
+
/**
|
|
2558
|
+
* Gets the area that represents the **Analyze** tab in the application ribbon.
|
|
2559
|
+
* @i2since 1.8
|
|
2560
|
+
*/
|
|
2561
|
+
readonly analyzeTab: IAnalyzeTabActionArea;
|
|
2562
|
+
/**
|
|
2563
|
+
* Gets the area that represents the **Disseminate** tab in the application ribbon.
|
|
2564
|
+
* @i2since 1.8
|
|
2565
|
+
*/
|
|
2566
|
+
readonly disseminateTab: IDisseminateTabActionArea;
|
|
2494
2567
|
/**
|
|
2495
2568
|
* Adds a new tab to the application ribbon.
|
|
2496
2569
|
* @param config - The information necessary for creating the tab.
|
|
@@ -2581,6 +2654,16 @@ export declare namespace commands {
|
|
|
2581
2654
|
* @i2since 1.6
|
|
2582
2655
|
*/
|
|
2583
2656
|
readonly downloadRecords: CommandId;
|
|
2657
|
+
/**
|
|
2658
|
+
* Gets the identifier of the system command that enables inline editing for the selected element's label.
|
|
2659
|
+
* @i2since 1.8
|
|
2660
|
+
*/
|
|
2661
|
+
readonly editElementLabel: CommandId;
|
|
2662
|
+
/**
|
|
2663
|
+
* Gets the identifier of the system command that enables inline editing for the selected group's label.
|
|
2664
|
+
* @i2since 1.8
|
|
2665
|
+
*/
|
|
2666
|
+
readonly editGroupLabel: CommandId;
|
|
2584
2667
|
/**
|
|
2585
2668
|
* Gets the identifier of the system command that performs a one-level expand operation on the current selection.
|
|
2586
2669
|
* @i2since 1.1
|
|
@@ -2616,6 +2699,33 @@ export declare namespace commands {
|
|
|
2616
2699
|
* @i2since 1.0
|
|
2617
2700
|
*/
|
|
2618
2701
|
readonly layoutPeacock: CommandId;
|
|
2702
|
+
/**
|
|
2703
|
+
* Gets the identifier of the system command that performs a circular layout.
|
|
2704
|
+
* @i2since 1.8
|
|
2705
|
+
*/
|
|
2706
|
+
readonly layoutCircular: CommandId;
|
|
2707
|
+
/**
|
|
2708
|
+
* Gets the identifier of the system command that performs an organization layout.
|
|
2709
|
+
* @i2since 1.8
|
|
2710
|
+
*/
|
|
2711
|
+
readonly layoutOrganization: CommandId;
|
|
2712
|
+
/**
|
|
2713
|
+
* Gets the identifier of the system command that performs a minimize crossed links layout.
|
|
2714
|
+
* @i2since 1.8
|
|
2715
|
+
*/
|
|
2716
|
+
readonly layoutMinimizeCrossedLinks: CommandId;
|
|
2717
|
+
/**
|
|
2718
|
+
* Gets the identifier of the system command that maximizes selected groups in the chart.
|
|
2719
|
+
*
|
|
2720
|
+
* @i2since 1.8
|
|
2721
|
+
*/
|
|
2722
|
+
readonly maximizeGroups: CommandId;
|
|
2723
|
+
/**
|
|
2724
|
+
* Gets the identifier of the system command that minimizes selected groups in the chart.
|
|
2725
|
+
*
|
|
2726
|
+
* @i2since 1.8
|
|
2727
|
+
*/
|
|
2728
|
+
readonly minimizeGroups: CommandId;
|
|
2619
2729
|
/**
|
|
2620
2730
|
* Gets the identifier of the system command that opens the i2 Notebook importer.
|
|
2621
2731
|
* @i2since 1.5
|
|
@@ -2636,6 +2746,16 @@ export declare namespace commands {
|
|
|
2636
2746
|
* @i2since 1.0
|
|
2637
2747
|
*/
|
|
2638
2748
|
readonly redo: CommandId;
|
|
2749
|
+
/**
|
|
2750
|
+
* Gets the identifier of the system command that resets the selected elements' labels to their default values.
|
|
2751
|
+
* @i2since 1.8
|
|
2752
|
+
*/
|
|
2753
|
+
readonly resetElementLabel: CommandId;
|
|
2754
|
+
/**
|
|
2755
|
+
* Gets the identifier of the system command that resets the selected groups' labels to their default values.
|
|
2756
|
+
* @i2since 1.8
|
|
2757
|
+
*/
|
|
2758
|
+
readonly resetGroupLabel: CommandId;
|
|
2639
2759
|
/**
|
|
2640
2760
|
* Gets the identifier of the system command that saves the current chart.
|
|
2641
2761
|
* @i2since 1.1
|
|
@@ -2656,6 +2776,13 @@ export declare namespace commands {
|
|
|
2656
2776
|
* @i2since 1.2
|
|
2657
2777
|
*/
|
|
2658
2778
|
readonly selectInvert: CommandId;
|
|
2779
|
+
/**
|
|
2780
|
+
* Gets the identifier of the system command that selects united items.
|
|
2781
|
+
*
|
|
2782
|
+
* @remarks A united item is a entity or link that contains multiple records.
|
|
2783
|
+
* @i2since 1.8
|
|
2784
|
+
*/
|
|
2785
|
+
readonly selectUnitedItems: CommandId;
|
|
2659
2786
|
/**
|
|
2660
2787
|
* Gets the identifier of the system command that allows users to share records with each other.
|
|
2661
2788
|
* @i2since 1.3
|
|
@@ -2686,6 +2813,11 @@ export declare namespace commands {
|
|
|
2686
2813
|
* @i2since 1.3
|
|
2687
2814
|
*/
|
|
2688
2815
|
readonly toggleLists: CommandId;
|
|
2816
|
+
/**
|
|
2817
|
+
* Gets the identifier of the system command that toggles the list most connected UI.
|
|
2818
|
+
* @i2since 1.8
|
|
2819
|
+
*/
|
|
2820
|
+
readonly toggleListMostConnected: CommandId;
|
|
2689
2821
|
/**
|
|
2690
2822
|
* Gets the identifier of the system command that toggles the map UI.
|
|
2691
2823
|
* @i2since 1.1
|
|
@@ -2726,6 +2858,11 @@ export declare namespace commands {
|
|
|
2726
2858
|
* @i2since 1.8
|
|
2727
2859
|
*/
|
|
2728
2860
|
readonly ungroupNodes: CommandId;
|
|
2861
|
+
/**
|
|
2862
|
+
* Gets the identifier of the system command that toggles the Time Wheel UI.
|
|
2863
|
+
* @i2since 1.8
|
|
2864
|
+
*/
|
|
2865
|
+
readonly toggleTimeWheel: CommandId;
|
|
2729
2866
|
}
|
|
2730
2867
|
/**
|
|
2731
2868
|
* A lookup table for the identifiers of the system action groups in the Home tab.
|
|
@@ -2735,8 +2872,14 @@ export declare namespace commands {
|
|
|
2735
2872
|
/**
|
|
2736
2873
|
* Gets the identifier of the system action group named "Arrange".
|
|
2737
2874
|
* @i2since 1.0
|
|
2875
|
+
* @deprecated The "arrange" property has been renamed to "layouts". Use {@link commands.IHomeTabSystemGroups.layouts} instead.
|
|
2738
2876
|
*/
|
|
2739
2877
|
readonly arrange: GroupId;
|
|
2878
|
+
/**
|
|
2879
|
+
* Gets the identifier of the system action group named "Layouts".
|
|
2880
|
+
* @i2since 1.8
|
|
2881
|
+
*/
|
|
2882
|
+
readonly layouts: GroupId;
|
|
2740
2883
|
/**
|
|
2741
2884
|
* Gets the identifier of the system action group named "Manage".
|
|
2742
2885
|
* @i2since 1.1
|
|
@@ -2752,9 +2895,15 @@ export declare namespace commands {
|
|
|
2752
2895
|
* @i2since 1.0
|
|
2753
2896
|
*/
|
|
2754
2897
|
readonly history: GroupId;
|
|
2898
|
+
/**
|
|
2899
|
+
* Gets the identifier of the system action group named "Groups".
|
|
2900
|
+
* @i2since 1.8
|
|
2901
|
+
*/
|
|
2902
|
+
readonly groups: GroupId;
|
|
2755
2903
|
/**
|
|
2756
2904
|
* Gets the identifier of the system action group named "Search Information Store".
|
|
2757
2905
|
* @i2since 1.0
|
|
2906
|
+
* @deprecated The Search Information Store group has moved to the Collect tab {@link commands.ICollectTabSystemGroups.searchInfoStore}.
|
|
2758
2907
|
*/
|
|
2759
2908
|
readonly searchInfoStore: GroupId;
|
|
2760
2909
|
/**
|
|
@@ -2763,6 +2912,64 @@ export declare namespace commands {
|
|
|
2763
2912
|
*/
|
|
2764
2913
|
readonly select: GroupId;
|
|
2765
2914
|
}
|
|
2915
|
+
/**
|
|
2916
|
+
* A lookup table for the identifiers of the system action groups in the Collect tab.
|
|
2917
|
+
* @i2since 1.8
|
|
2918
|
+
*/
|
|
2919
|
+
export interface ICollectTabSystemGroups {
|
|
2920
|
+
/**
|
|
2921
|
+
* Gets the identifier of the system action group named "Search Information Store".
|
|
2922
|
+
* @i2since 1.8
|
|
2923
|
+
*/
|
|
2924
|
+
readonly searchInfoStore: GroupId;
|
|
2925
|
+
/**
|
|
2926
|
+
* Gets the identifier of the system action group named "Groups".
|
|
2927
|
+
* @i2since 1.8
|
|
2928
|
+
*/
|
|
2929
|
+
readonly groups: GroupId;
|
|
2930
|
+
/**
|
|
2931
|
+
* Gets the identifier of the system action group named "Select".
|
|
2932
|
+
* @i2since 1.8
|
|
2933
|
+
*/
|
|
2934
|
+
readonly select: GroupId;
|
|
2935
|
+
}
|
|
2936
|
+
/**
|
|
2937
|
+
* A lookup table for the identifiers of the system action groups in the Analyze tab.
|
|
2938
|
+
* @i2since 1.8
|
|
2939
|
+
*/
|
|
2940
|
+
export interface IAnalyzeTabSystemGroups {
|
|
2941
|
+
/**
|
|
2942
|
+
* Gets the identifier of the system action group named "Discover".
|
|
2943
|
+
* @i2since 1.8
|
|
2944
|
+
*/
|
|
2945
|
+
readonly discover: GroupId;
|
|
2946
|
+
/**
|
|
2947
|
+
* Gets the identifier of the system action group named "Layouts".
|
|
2948
|
+
* @i2since 1.8
|
|
2949
|
+
*/
|
|
2950
|
+
readonly layouts: GroupId;
|
|
2951
|
+
/**
|
|
2952
|
+
* Gets the identifier of the system action group named "Groups".
|
|
2953
|
+
* @i2since 1.8
|
|
2954
|
+
*/
|
|
2955
|
+
readonly groups: GroupId;
|
|
2956
|
+
/**
|
|
2957
|
+
* Gets the identifier of the system action group named "Select".
|
|
2958
|
+
* @i2since 1.8
|
|
2959
|
+
*/
|
|
2960
|
+
readonly select: GroupId;
|
|
2961
|
+
}
|
|
2962
|
+
/**
|
|
2963
|
+
* A lookup table for the identifiers of the system action groups in the Disseminate tab.
|
|
2964
|
+
* @i2since 1.8
|
|
2965
|
+
*/
|
|
2966
|
+
export interface IDisseminateTabSystemGroups {
|
|
2967
|
+
/**
|
|
2968
|
+
* Gets the identifier of the system action group named "Export".
|
|
2969
|
+
* @i2since 1.8
|
|
2970
|
+
*/
|
|
2971
|
+
readonly export: GroupId;
|
|
2972
|
+
}
|
|
2766
2973
|
/**
|
|
2767
2974
|
* A lookup table for the identifiers of the system action groups in the chart item pop-up menu.
|
|
2768
2975
|
* @i2since 1.4
|
|
@@ -2778,6 +2985,11 @@ export declare namespace commands {
|
|
|
2778
2985
|
* @i2since 1.0
|
|
2779
2986
|
*/
|
|
2780
2987
|
readonly discover: GroupId;
|
|
2988
|
+
/**
|
|
2989
|
+
* Gets the identifier of the system action group related to element label operations.
|
|
2990
|
+
* @i2since 1.8
|
|
2991
|
+
*/
|
|
2992
|
+
readonly label: GroupId;
|
|
2781
2993
|
/**
|
|
2782
2994
|
* Gets the identifier of the system action group related to link direction.
|
|
2783
2995
|
* @i2since 1.5
|
|
@@ -3295,6 +3507,14 @@ export declare namespace data {
|
|
|
3295
3507
|
* @i2since 1.0
|
|
3296
3508
|
*/
|
|
3297
3509
|
readonly size: number;
|
|
3510
|
+
/**
|
|
3511
|
+
* Executes firstOrDefault to see if the collection has any elements. If the collection has elements, returns false.
|
|
3512
|
+
* Otherwise, returns true.
|
|
3513
|
+
*
|
|
3514
|
+
* @returns A boolean indicating whether the collection is empty.
|
|
3515
|
+
* @i2since 1.8
|
|
3516
|
+
*/
|
|
3517
|
+
isEmpty(): boolean;
|
|
3298
3518
|
}
|
|
3299
3519
|
/**
|
|
3300
3520
|
* A non-modifiable collection of objects, with efficient lookup by key.
|
|
@@ -3478,76 +3698,280 @@ export declare namespace data {
|
|
|
3478
3698
|
*/
|
|
3479
3699
|
readonly hasLabel: boolean;
|
|
3480
3700
|
}
|
|
3481
|
-
}
|
|
3482
|
-
|
|
3483
|
-
/**
|
|
3484
|
-
* The members of the `dialog` namespace enable you to create and display dialog windows from your plug-ins
|
|
3485
|
-
* that are modal with respect to the whole i2 Notebook application.
|
|
3486
|
-
*
|
|
3487
|
-
* @public
|
|
3488
|
-
* @i2since 1.4
|
|
3489
|
-
*/
|
|
3490
|
-
export declare namespace dialog {
|
|
3491
|
-
/**
|
|
3492
|
-
* A size for a dialog window.
|
|
3493
|
-
* @i2since 1.4
|
|
3494
|
-
*/
|
|
3495
|
-
export type DialogSize = 'small' | 'medium' | 'large';
|
|
3496
|
-
/**
|
|
3497
|
-
* An identifier of a dialog action.
|
|
3498
|
-
* @i2since 1.4
|
|
3499
|
-
*/
|
|
3500
|
-
export type DialogActionId = string;
|
|
3501
3701
|
/**
|
|
3502
|
-
* A set of
|
|
3503
|
-
* @i2since 1.
|
|
3702
|
+
* A set of common chart data properties.
|
|
3703
|
+
* @i2since 1.9
|
|
3504
3704
|
*/
|
|
3505
|
-
export interface
|
|
3705
|
+
export interface IBaseChartData {
|
|
3506
3706
|
/**
|
|
3507
|
-
*
|
|
3508
|
-
*
|
|
3707
|
+
* Gets the property value for the specified property type.
|
|
3708
|
+
*
|
|
3709
|
+
* @param propertyType - The property type or property type identifier of the value to retrieve.
|
|
3710
|
+
* @returns The property value or, if not present, `undefined`.
|
|
3711
|
+
* @i2since 1.0
|
|
3509
3712
|
*/
|
|
3510
|
-
|
|
3713
|
+
getProperty(propertyType: schema.PropertyTypeSpecifier): PropertyValue | IValueNotFetched | undefined;
|
|
3511
3714
|
/**
|
|
3512
|
-
* Gets the
|
|
3513
|
-
* @i2since 1.
|
|
3715
|
+
* Gets the notes of the record.
|
|
3716
|
+
* @i2since 1.0
|
|
3514
3717
|
*/
|
|
3515
|
-
readonly
|
|
3718
|
+
readonly notes: IKeyedReadOnlyCollection<NoteId, INote>;
|
|
3719
|
+
/**
|
|
3720
|
+
* Gets the source references of the record.
|
|
3721
|
+
* @i2since 1.0
|
|
3722
|
+
*/
|
|
3723
|
+
readonly sourceReferences: IKeyedReadOnlyCollection<SourceReferenceId, ISourceReference>;
|
|
3724
|
+
/**
|
|
3725
|
+
* Gets the security settings of the record.
|
|
3726
|
+
* @i2since 1.0
|
|
3727
|
+
*/
|
|
3728
|
+
readonly security: IKeyedReadOnlyCollection<schema.SecurityDimensionId, ISecuritySetting>;
|
|
3516
3729
|
}
|
|
3517
3730
|
/**
|
|
3518
|
-
*
|
|
3519
|
-
* @i2since 1.
|
|
3731
|
+
* The identifier of a note.
|
|
3732
|
+
* @i2since 1.0
|
|
3520
3733
|
*/
|
|
3521
|
-
export
|
|
3734
|
+
export type NoteId = string;
|
|
3735
|
+
/**
|
|
3736
|
+
* A set of data for creating a note.
|
|
3737
|
+
* @i2since 1.1
|
|
3738
|
+
*/
|
|
3739
|
+
export interface INoteData {
|
|
3522
3740
|
/**
|
|
3523
|
-
* Gets the
|
|
3524
|
-
* @i2since 1.
|
|
3741
|
+
* Gets the contents of the new note.
|
|
3742
|
+
* @i2since 1.1
|
|
3525
3743
|
*/
|
|
3526
|
-
readonly
|
|
3744
|
+
readonly contents: string;
|
|
3527
3745
|
}
|
|
3528
3746
|
/**
|
|
3529
|
-
* A
|
|
3530
|
-
*
|
|
3531
|
-
* @typeParam TInitialize - The type of the data that's used for populating the dialog when it's displayed.
|
|
3532
|
-
* @i2since 1.4
|
|
3747
|
+
* A note for a record.
|
|
3748
|
+
* @i2since 1.0
|
|
3533
3749
|
*/
|
|
3534
|
-
export interface
|
|
3750
|
+
export interface INote {
|
|
3535
3751
|
/**
|
|
3536
|
-
* Gets the
|
|
3537
|
-
* @i2since 1.
|
|
3752
|
+
* Gets the identifier of the note.
|
|
3753
|
+
* @i2since 1.0
|
|
3538
3754
|
*/
|
|
3539
|
-
readonly
|
|
3755
|
+
readonly id: NoteId;
|
|
3540
3756
|
/**
|
|
3541
|
-
* Gets the
|
|
3542
|
-
*
|
|
3543
|
-
* @remarks
|
|
3544
|
-
* For example, if `path` is '`./`', then the server uses the folder that contains the entry point.
|
|
3545
|
-
* @i2since 1.4
|
|
3757
|
+
* Gets the creator of the note.
|
|
3758
|
+
* @i2since 1.0
|
|
3546
3759
|
*/
|
|
3547
|
-
readonly
|
|
3760
|
+
readonly creator: IUser;
|
|
3548
3761
|
/**
|
|
3549
|
-
* Gets
|
|
3550
|
-
*
|
|
3762
|
+
* Gets information about when and by whom the note was first uploaded.
|
|
3763
|
+
*
|
|
3764
|
+
* @returns The user who first uploaded the note and when it happened, or `undefined` if the note has not been uploaded.
|
|
3765
|
+
* @i2since 1.0
|
|
3766
|
+
*/
|
|
3767
|
+
readonly firstUploaded: IUserAndDateAndTime | undefined;
|
|
3768
|
+
/**
|
|
3769
|
+
* Gets information about when and by whom the note was last uploaded.
|
|
3770
|
+
*
|
|
3771
|
+
* @returns The user who last uploaded the note and when it happened, or `undefined` if the note has not been uploaded.
|
|
3772
|
+
* @i2since 1.0
|
|
3773
|
+
*/
|
|
3774
|
+
readonly lastUploaded: IUserAndDateAndTime | undefined;
|
|
3775
|
+
/**
|
|
3776
|
+
* Gets the contents of the note.
|
|
3777
|
+
*
|
|
3778
|
+
* @remarks
|
|
3779
|
+
* See {@link schema.INotesSchema} for constraints on the contents of notes.
|
|
3780
|
+
* @i2since 1.0
|
|
3781
|
+
*/
|
|
3782
|
+
readonly contents: string;
|
|
3783
|
+
}
|
|
3784
|
+
/**
|
|
3785
|
+
* The identifier of a source reference.
|
|
3786
|
+
* @i2since 1.0
|
|
3787
|
+
*/
|
|
3788
|
+
export type SourceReferenceId = string;
|
|
3789
|
+
/**
|
|
3790
|
+
* A source reference for a record.
|
|
3791
|
+
*
|
|
3792
|
+
* @remarks
|
|
3793
|
+
* A source reference contains information about a source from which data in the record was derived.
|
|
3794
|
+
* @i2since 1.0
|
|
3795
|
+
*/
|
|
3796
|
+
export interface ISourceReference {
|
|
3797
|
+
/**
|
|
3798
|
+
* Gets the identifier of the source reference.
|
|
3799
|
+
* @i2since 1.0
|
|
3800
|
+
*/
|
|
3801
|
+
readonly id: SourceReferenceId;
|
|
3802
|
+
/**
|
|
3803
|
+
* Indicates whether the source reference is read-only.
|
|
3804
|
+
* @i2since 1.8
|
|
3805
|
+
*/
|
|
3806
|
+
readonly isReadOnly: boolean;
|
|
3807
|
+
/**
|
|
3808
|
+
* Gets the name of the source that the source reference describes.
|
|
3809
|
+
* @i2since 1.0
|
|
3810
|
+
*/
|
|
3811
|
+
readonly name: string;
|
|
3812
|
+
/**
|
|
3813
|
+
* Gets the type of the source that the source reference describes.
|
|
3814
|
+
* @i2since 1.0
|
|
3815
|
+
*/
|
|
3816
|
+
readonly type?: string;
|
|
3817
|
+
/**
|
|
3818
|
+
* Gets the location of the source that the source reference describes.
|
|
3819
|
+
* @i2since 1.0
|
|
3820
|
+
*/
|
|
3821
|
+
readonly location?: string;
|
|
3822
|
+
/**
|
|
3823
|
+
* Indicates whether it makes sense to show `location` as a hyperlink.
|
|
3824
|
+
*
|
|
3825
|
+
* @remarks
|
|
3826
|
+
* This property is `true` if `location` is a valid URL that a plug-in can make available to users,
|
|
3827
|
+
* in the same way that the i2 Notebook Record Inspector presents source reference locations.
|
|
3828
|
+
* @i2since 1.0
|
|
3829
|
+
*/
|
|
3830
|
+
readonly locationIsUrl: boolean;
|
|
3831
|
+
/**
|
|
3832
|
+
* Gets the description of the source that the source reference describes.
|
|
3833
|
+
* @i2since 1.0
|
|
3834
|
+
*/
|
|
3835
|
+
readonly description?: string;
|
|
3836
|
+
/**
|
|
3837
|
+
* Gets the URL of an image of the source that the source reference describes.
|
|
3838
|
+
* @i2since 1.0
|
|
3839
|
+
*/
|
|
3840
|
+
readonly imageUrl?: string;
|
|
3841
|
+
}
|
|
3842
|
+
/**
|
|
3843
|
+
* A set of data for creating a source reference.
|
|
3844
|
+
* @i2since 1.1
|
|
3845
|
+
*/
|
|
3846
|
+
export interface ISourceReferenceData {
|
|
3847
|
+
/**
|
|
3848
|
+
* Gets the name of the source that the new source reference describes.
|
|
3849
|
+
* @i2since 1.1
|
|
3850
|
+
*/
|
|
3851
|
+
readonly name: string;
|
|
3852
|
+
/**
|
|
3853
|
+
* Gets the type of the source that the new source reference describes.
|
|
3854
|
+
* @i2since 1.1
|
|
3855
|
+
*/
|
|
3856
|
+
readonly type?: string;
|
|
3857
|
+
/**
|
|
3858
|
+
* Gets the location of the source that the new source reference describes.
|
|
3859
|
+
* @i2since 1.1
|
|
3860
|
+
*/
|
|
3861
|
+
readonly location?: string;
|
|
3862
|
+
/**
|
|
3863
|
+
* Gets the description of the source that the new source reference describes.
|
|
3864
|
+
* @i2since 1.1
|
|
3865
|
+
*/
|
|
3866
|
+
readonly description?: string;
|
|
3867
|
+
/**
|
|
3868
|
+
* Gets the URL of an image of the source that the new source reference describes.
|
|
3869
|
+
* @i2since 1.1
|
|
3870
|
+
*/
|
|
3871
|
+
readonly imageUrl?: string;
|
|
3872
|
+
}
|
|
3873
|
+
/**
|
|
3874
|
+
* A set of dimension values for a record, from a particular security dimension.
|
|
3875
|
+
* @i2since 1.0
|
|
3876
|
+
*/
|
|
3877
|
+
export interface ISecuritySetting {
|
|
3878
|
+
/**
|
|
3879
|
+
* Gets the security dimension that the dimension values come from.
|
|
3880
|
+
* @i2since 1.0
|
|
3881
|
+
*/
|
|
3882
|
+
readonly dimension: schema.ISecurityDimension;
|
|
3883
|
+
/**
|
|
3884
|
+
* Gets the security dimension values.
|
|
3885
|
+
* @i2since 1.0
|
|
3886
|
+
*/
|
|
3887
|
+
readonly values: IReadOnlyCollection<schema.ISecurityDimensionValue>;
|
|
3888
|
+
}
|
|
3889
|
+
/**
|
|
3890
|
+
* A set of data for creating a security setting.
|
|
3891
|
+
* @i2since 1.1
|
|
3892
|
+
*/
|
|
3893
|
+
export interface ISecuritySettingData {
|
|
3894
|
+
/**
|
|
3895
|
+
* Gets or sets the security dimension for the new security setting.
|
|
3896
|
+
* @i2since 1.1
|
|
3897
|
+
*/
|
|
3898
|
+
dimension: schema.SecurityDimensionId | schema.ISecurityDimension;
|
|
3899
|
+
/**
|
|
3900
|
+
* Gets or sets the dimension values for the new security setting.
|
|
3901
|
+
* @i2since 1.1
|
|
3902
|
+
*/
|
|
3903
|
+
values: readonly (schema.SecurityDimensionValueId | schema.ISecurityDimensionValue)[];
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* The members of the `dialog` namespace enable you to create and display dialog windows from your plug-ins
|
|
3909
|
+
* that are modal with respect to the whole i2 Notebook application.
|
|
3910
|
+
*
|
|
3911
|
+
* @public
|
|
3912
|
+
* @i2since 1.4
|
|
3913
|
+
*/
|
|
3914
|
+
export declare namespace dialog {
|
|
3915
|
+
/**
|
|
3916
|
+
* A size for a dialog window.
|
|
3917
|
+
* @i2since 1.4
|
|
3918
|
+
*/
|
|
3919
|
+
export type DialogSize = 'small' | 'medium' | 'large';
|
|
3920
|
+
/**
|
|
3921
|
+
* An identifier of a dialog action.
|
|
3922
|
+
* @i2since 1.4
|
|
3923
|
+
*/
|
|
3924
|
+
export type DialogActionId = string;
|
|
3925
|
+
/**
|
|
3926
|
+
* A set of information for creating or modifying a dialog action.
|
|
3927
|
+
* @i2since 1.4
|
|
3928
|
+
*/
|
|
3929
|
+
export interface IDialogActionConfig {
|
|
3930
|
+
/**
|
|
3931
|
+
* Indicates whether the action is enabled.
|
|
3932
|
+
* @i2since 1.4
|
|
3933
|
+
*/
|
|
3934
|
+
readonly enabled?: boolean;
|
|
3935
|
+
/**
|
|
3936
|
+
* Gets the label for the action.
|
|
3937
|
+
* @i2since 1.4
|
|
3938
|
+
*/
|
|
3939
|
+
readonly label?: string;
|
|
3940
|
+
}
|
|
3941
|
+
/**
|
|
3942
|
+
* An action for a dialog window.
|
|
3943
|
+
* @i2since 1.4
|
|
3944
|
+
*/
|
|
3945
|
+
export interface IDialogAction extends IDialogActionConfig {
|
|
3946
|
+
/**
|
|
3947
|
+
* Gets the identifier of the action.
|
|
3948
|
+
* @i2since 1.4
|
|
3949
|
+
*/
|
|
3950
|
+
readonly id: DialogActionId;
|
|
3951
|
+
}
|
|
3952
|
+
/**
|
|
3953
|
+
* A set of information for creating a dialog.
|
|
3954
|
+
*
|
|
3955
|
+
* @typeParam TInitialize - The type of the data that's used for populating the dialog when it's displayed.
|
|
3956
|
+
* @i2since 1.4
|
|
3957
|
+
*/
|
|
3958
|
+
export interface IDialogConfig<TInitialize> {
|
|
3959
|
+
/**
|
|
3960
|
+
* Gets the title of the dialog, which appears as a heading in the user interface.
|
|
3961
|
+
* @i2since 1.4
|
|
3962
|
+
*/
|
|
3963
|
+
readonly name: string;
|
|
3964
|
+
/**
|
|
3965
|
+
* Gets the path to the content to host in the dialog, relative to the plug-in entry point.
|
|
3966
|
+
*
|
|
3967
|
+
* @remarks
|
|
3968
|
+
* For example, if `path` is '`./`', then the server uses the folder that contains the entry point.
|
|
3969
|
+
* @i2since 1.4
|
|
3970
|
+
*/
|
|
3971
|
+
readonly path: string;
|
|
3972
|
+
/**
|
|
3973
|
+
* Gets the size of the dialog.
|
|
3974
|
+
* @i2since 1.4
|
|
3551
3975
|
*/
|
|
3552
3976
|
readonly size: DialogSize;
|
|
3553
3977
|
/**
|
|
@@ -3888,7 +4312,7 @@ export declare interface NotebookStatic {
|
|
|
3888
4312
|
* @public
|
|
3889
4313
|
* @i2since 1.0
|
|
3890
4314
|
*/
|
|
3891
|
-
getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7'): Promise<IEntryPointApi>;
|
|
4315
|
+
getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.8'): Promise<IEntryPointApi>;
|
|
3892
4316
|
}
|
|
3893
4317
|
|
|
3894
4318
|
/**
|
|
@@ -3918,7 +4342,7 @@ export declare namespace records {
|
|
|
3918
4342
|
* A set of information and functionality that is common to all records in i2 Notebook.
|
|
3919
4343
|
* @i2since 1.0
|
|
3920
4344
|
*/
|
|
3921
|
-
export interface IChartRecordBase {
|
|
4345
|
+
export interface IChartRecordBase extends data.IBaseChartData {
|
|
3922
4346
|
/**
|
|
3923
4347
|
* Gets the identifier of the record.
|
|
3924
4348
|
* @i2since 1.0
|
|
@@ -3967,14 +4391,6 @@ export declare namespace records {
|
|
|
3967
4391
|
* @i2since 1.0
|
|
3968
4392
|
*/
|
|
3969
4393
|
getUnfetchedPropertyTypes(): data.IReadOnlyCollection<schema.IChartPropertyType>;
|
|
3970
|
-
/**
|
|
3971
|
-
* Gets the property value for the specified property type.
|
|
3972
|
-
*
|
|
3973
|
-
* @param propertyType - The property type or property type identifier of the value to retrieve.
|
|
3974
|
-
* @returns The property value or, if not present, `undefined`.
|
|
3975
|
-
* @i2since 1.0
|
|
3976
|
-
*/
|
|
3977
|
-
getProperty(propertyType: schema.PropertyTypeSpecifier): data.PropertyValue | data.IValueNotFetched | undefined;
|
|
3978
4394
|
/**
|
|
3979
4395
|
* Tests whether the record is an entity record; functions as a TypeScript typeguard.
|
|
3980
4396
|
*
|
|
@@ -3994,21 +4410,6 @@ export declare namespace records {
|
|
|
3994
4410
|
* @i2since 1.0
|
|
3995
4411
|
*/
|
|
3996
4412
|
readonly itemType: schema.IChartItemType;
|
|
3997
|
-
/**
|
|
3998
|
-
* Gets the notes of the record.
|
|
3999
|
-
* @i2since 1.0
|
|
4000
|
-
*/
|
|
4001
|
-
readonly notes: data.IKeyedReadOnlyCollection<NoteId, INote>;
|
|
4002
|
-
/**
|
|
4003
|
-
* Gets the source references of the record.
|
|
4004
|
-
* @i2since 1.0
|
|
4005
|
-
*/
|
|
4006
|
-
readonly sourceReferences: data.IKeyedReadOnlyCollection<SourceReferenceId, ISourceReference>;
|
|
4007
|
-
/**
|
|
4008
|
-
* Gets the security settings of the record.
|
|
4009
|
-
* @i2since 1.0
|
|
4010
|
-
*/
|
|
4011
|
-
readonly security: data.IKeyedReadOnlyCollection<schema.SecurityDimensionId, ISecuritySetting>;
|
|
4012
4413
|
/**
|
|
4013
4414
|
* Gets information about when and by whom the record was first uploaded.
|
|
4014
4415
|
*
|
|
@@ -4102,178 +4503,54 @@ export declare namespace records {
|
|
|
4102
4503
|
/**
|
|
4103
4504
|
* The identifier of a note.
|
|
4104
4505
|
* @i2since 1.0
|
|
4506
|
+
* @deprecated Use {@link data.NoteId} instead.
|
|
4105
4507
|
*/
|
|
4106
|
-
export type NoteId =
|
|
4508
|
+
export type NoteId = data.NoteId;
|
|
4107
4509
|
/**
|
|
4108
4510
|
* A set of data for creating a note.
|
|
4109
4511
|
* @i2since 1.1
|
|
4512
|
+
* @deprecated Use {@link data.INoteData} instead.
|
|
4110
4513
|
*/
|
|
4111
|
-
export
|
|
4112
|
-
/**
|
|
4113
|
-
* Gets the contents of the new note.
|
|
4114
|
-
* @i2since 1.1
|
|
4115
|
-
*/
|
|
4116
|
-
readonly contents: string;
|
|
4117
|
-
}
|
|
4514
|
+
export type INoteData = data.INoteData;
|
|
4118
4515
|
/**
|
|
4119
4516
|
* A note for a record.
|
|
4120
4517
|
* @i2since 1.0
|
|
4518
|
+
* @deprecated Use {@link data.INote} instead.
|
|
4121
4519
|
*/
|
|
4122
|
-
export
|
|
4123
|
-
/**
|
|
4124
|
-
* Gets the identifier of the note.
|
|
4125
|
-
* @i2since 1.0
|
|
4126
|
-
*/
|
|
4127
|
-
readonly id: NoteId;
|
|
4128
|
-
/**
|
|
4129
|
-
* Gets the creator of the note.
|
|
4130
|
-
* @i2since 1.0
|
|
4131
|
-
*/
|
|
4132
|
-
readonly creator: data.IUser;
|
|
4133
|
-
/**
|
|
4134
|
-
* Gets information about when and by whom the note was first uploaded.
|
|
4135
|
-
*
|
|
4136
|
-
* @returns The user who first uploaded the note and when it happened, or `undefined` if the note has not been uploaded.
|
|
4137
|
-
* @i2since 1.0
|
|
4138
|
-
*/
|
|
4139
|
-
readonly firstUploaded: data.IUserAndDateAndTime | undefined;
|
|
4140
|
-
/**
|
|
4141
|
-
* Gets information about when and by whom the note was last uploaded.
|
|
4142
|
-
*
|
|
4143
|
-
* @returns The user who last uploaded the note and when it happened, or `undefined` if the note has not been uploaded.
|
|
4144
|
-
* @i2since 1.0
|
|
4145
|
-
*/
|
|
4146
|
-
readonly lastUploaded: data.IUserAndDateAndTime | undefined;
|
|
4147
|
-
/**
|
|
4148
|
-
* Gets the contents of the note.
|
|
4149
|
-
*
|
|
4150
|
-
* @remarks
|
|
4151
|
-
* See {@link schema.INotesSchema} for constraints on the contents of notes.
|
|
4152
|
-
* @i2since 1.0
|
|
4153
|
-
*/
|
|
4154
|
-
readonly contents: string;
|
|
4155
|
-
}
|
|
4520
|
+
export type INote = data.INote;
|
|
4156
4521
|
/**
|
|
4157
4522
|
* The identifier of a source reference.
|
|
4158
4523
|
* @i2since 1.0
|
|
4524
|
+
* @deprecated Use {@link data.SourceReferenceId} instead.
|
|
4159
4525
|
*/
|
|
4160
|
-
export type SourceReferenceId =
|
|
4526
|
+
export type SourceReferenceId = data.SourceReferenceId;
|
|
4161
4527
|
/**
|
|
4162
4528
|
* A source reference for a record.
|
|
4163
4529
|
*
|
|
4164
4530
|
* @remarks
|
|
4165
4531
|
* A source reference contains information about a source from which data in the record was derived.
|
|
4166
4532
|
* @i2since 1.0
|
|
4533
|
+
* @deprecated Use {@link data.ISourceReference} instead.
|
|
4167
4534
|
*/
|
|
4168
|
-
export
|
|
4169
|
-
/**
|
|
4170
|
-
* Gets the identifier of the source reference.
|
|
4171
|
-
* @i2since 1.0
|
|
4172
|
-
*/
|
|
4173
|
-
readonly id: SourceReferenceId;
|
|
4174
|
-
/**
|
|
4175
|
-
* Indicates whether the source reference is read-only.
|
|
4176
|
-
* @i2since 1.8
|
|
4177
|
-
*/
|
|
4178
|
-
readonly isReadOnly: boolean;
|
|
4179
|
-
/**
|
|
4180
|
-
* Gets the name of the source that the source reference describes.
|
|
4181
|
-
* @i2since 1.0
|
|
4182
|
-
*/
|
|
4183
|
-
readonly name: string;
|
|
4184
|
-
/**
|
|
4185
|
-
* Gets the type of the source that the source reference describes.
|
|
4186
|
-
* @i2since 1.0
|
|
4187
|
-
*/
|
|
4188
|
-
readonly type?: string;
|
|
4189
|
-
/**
|
|
4190
|
-
* Gets the location of the source that the source reference describes.
|
|
4191
|
-
* @i2since 1.0
|
|
4192
|
-
*/
|
|
4193
|
-
readonly location?: string;
|
|
4194
|
-
/**
|
|
4195
|
-
* Indicates whether it makes sense to show `location` as a hyperlink.
|
|
4196
|
-
*
|
|
4197
|
-
* @remarks
|
|
4198
|
-
* This property is `true` if `location` is a valid URL that a plug-in can make available to users,
|
|
4199
|
-
* in the same way that the i2 Notebook Record Inspector presents source reference locations.
|
|
4200
|
-
* @i2since 1.0
|
|
4201
|
-
*/
|
|
4202
|
-
readonly locationIsUrl: boolean;
|
|
4203
|
-
/**
|
|
4204
|
-
* Gets the description of the source that the source reference describes.
|
|
4205
|
-
* @i2since 1.0
|
|
4206
|
-
*/
|
|
4207
|
-
readonly description?: string;
|
|
4208
|
-
/**
|
|
4209
|
-
* Gets the URL of an image of the source that the source reference describes.
|
|
4210
|
-
* @i2since 1.0
|
|
4211
|
-
*/
|
|
4212
|
-
readonly imageUrl?: string;
|
|
4213
|
-
}
|
|
4535
|
+
export type ISourceReference = data.ISourceReference;
|
|
4214
4536
|
/**
|
|
4215
4537
|
* A set of data for creating a source reference.
|
|
4216
4538
|
* @i2since 1.1
|
|
4539
|
+
* @deprecated Use {@link data.ISourceReferenceData} instead.
|
|
4217
4540
|
*/
|
|
4218
|
-
export
|
|
4219
|
-
/**
|
|
4220
|
-
* Gets the name of the source that the new source reference describes.
|
|
4221
|
-
* @i2since 1.1
|
|
4222
|
-
*/
|
|
4223
|
-
readonly name: string;
|
|
4224
|
-
/**
|
|
4225
|
-
* Gets the type of the source that the new source reference describes.
|
|
4226
|
-
* @i2since 1.1
|
|
4227
|
-
*/
|
|
4228
|
-
readonly type?: string;
|
|
4229
|
-
/**
|
|
4230
|
-
* Gets the location of the source that the new source reference describes.
|
|
4231
|
-
* @i2since 1.1
|
|
4232
|
-
*/
|
|
4233
|
-
readonly location?: string;
|
|
4234
|
-
/**
|
|
4235
|
-
* Gets the description of the source that the new source reference describes.
|
|
4236
|
-
* @i2since 1.1
|
|
4237
|
-
*/
|
|
4238
|
-
readonly description?: string;
|
|
4239
|
-
/**
|
|
4240
|
-
* Gets the URL of an image of the source that the new source reference describes.
|
|
4241
|
-
* @i2since 1.1
|
|
4242
|
-
*/
|
|
4243
|
-
readonly imageUrl?: string;
|
|
4244
|
-
}
|
|
4541
|
+
export type ISourceReferenceData = data.ISourceReferenceData;
|
|
4245
4542
|
/**
|
|
4246
4543
|
* A set of dimension values for a record, from a particular security dimension.
|
|
4247
4544
|
* @i2since 1.0
|
|
4545
|
+
* @deprecated Use {@link data.ISecuritySetting} instead.
|
|
4248
4546
|
*/
|
|
4249
|
-
export
|
|
4250
|
-
/**
|
|
4251
|
-
* Gets the security dimension that the dimension values come from.
|
|
4252
|
-
* @i2since 1.0
|
|
4253
|
-
*/
|
|
4254
|
-
readonly dimension: schema.ISecurityDimension;
|
|
4255
|
-
/**
|
|
4256
|
-
* Gets the security dimension values.
|
|
4257
|
-
* @i2since 1.0
|
|
4258
|
-
*/
|
|
4259
|
-
readonly values: data.IReadOnlyCollection<schema.ISecurityDimensionValue>;
|
|
4260
|
-
}
|
|
4547
|
+
export type ISecuritySetting = data.ISecuritySetting;
|
|
4261
4548
|
/**
|
|
4262
4549
|
* A set of data for creating a security setting.
|
|
4263
4550
|
* @i2since 1.1
|
|
4551
|
+
* @deprecated Use {@link data.ISecuritySettingData} instead.
|
|
4264
4552
|
*/
|
|
4265
|
-
export
|
|
4266
|
-
/**
|
|
4267
|
-
* Gets or sets the security dimension for the new security setting.
|
|
4268
|
-
* @i2since 1.1
|
|
4269
|
-
*/
|
|
4270
|
-
dimension: schema.SecurityDimensionId | schema.ISecurityDimension;
|
|
4271
|
-
/**
|
|
4272
|
-
* Gets or sets the dimension values for the new security setting.
|
|
4273
|
-
* @i2since 1.1
|
|
4274
|
-
*/
|
|
4275
|
-
values: readonly (schema.SecurityDimensionValueId | schema.ISecurityDimensionValue)[];
|
|
4276
|
-
}
|
|
4553
|
+
export type ISecuritySettingData = data.ISecuritySettingData;
|
|
4277
4554
|
/**
|
|
4278
4555
|
* A source identifier for a record.
|
|
4279
4556
|
*
|
|
@@ -4329,17 +4606,17 @@ export declare namespace schema {
|
|
|
4329
4606
|
* Gets all the entity types in the chart schema.
|
|
4330
4607
|
* @i2since 1.0
|
|
4331
4608
|
*/
|
|
4332
|
-
readonly entityTypes: data.IKeyedReadOnlyCollection<
|
|
4609
|
+
readonly entityTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartEntityType>;
|
|
4333
4610
|
/**
|
|
4334
4611
|
* Gets all the link types in the chart schema.
|
|
4335
4612
|
* @i2since 1.0
|
|
4336
4613
|
*/
|
|
4337
|
-
readonly linkTypes: data.IKeyedReadOnlyCollection<
|
|
4614
|
+
readonly linkTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartLinkType>;
|
|
4338
4615
|
/**
|
|
4339
4616
|
* Gets all the item types (that is, entity types _and_ link types) in the chart schema.
|
|
4340
4617
|
* @i2since 1.0
|
|
4341
4618
|
*/
|
|
4342
|
-
readonly itemTypes: data.IKeyedReadOnlyCollection<
|
|
4619
|
+
readonly itemTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartItemType>;
|
|
4343
4620
|
/**
|
|
4344
4621
|
* Gets the item type in the chart schema that has the specified i2 Analyze type identifier.
|
|
4345
4622
|
* @param analyzeItemTypeId - An i2 Analyze item type identifier.
|
|
@@ -4355,7 +4632,7 @@ export declare namespace schema {
|
|
|
4355
4632
|
* @returns The requested source reference schema.
|
|
4356
4633
|
* @i2since 1.0
|
|
4357
4634
|
*/
|
|
4358
|
-
getSourceReferenceSchema(itemTypeOrId:
|
|
4635
|
+
getSourceReferenceSchema(itemTypeOrId: ChartItemTypeSpecifier): ISourceReferenceSchema;
|
|
4359
4636
|
/**
|
|
4360
4637
|
* Gets the schema for notes.
|
|
4361
4638
|
* @i2since 1.0
|
|
@@ -4417,7 +4694,7 @@ export declare namespace schema {
|
|
|
4417
4694
|
* Gets the security dimension values to apply to new records by default.
|
|
4418
4695
|
* @i2since 1.1
|
|
4419
4696
|
*/
|
|
4420
|
-
readonly defaultSecurity: data.IKeyedReadOnlyCollection<SecurityDimensionId,
|
|
4697
|
+
readonly defaultSecurity: data.IKeyedReadOnlyCollection<SecurityDimensionId, data.ISecuritySetting>;
|
|
4421
4698
|
}
|
|
4422
4699
|
/**
|
|
4423
4700
|
* An identifier of a security dimension.
|
|
@@ -4534,11 +4811,16 @@ export declare namespace schema {
|
|
|
4534
4811
|
* @i2since 1.0
|
|
4535
4812
|
*/
|
|
4536
4813
|
export type AnalyzeItemTypeId = string;
|
|
4814
|
+
/**
|
|
4815
|
+
* A common identifier for a chart item type.
|
|
4816
|
+
* @i2since 1.9
|
|
4817
|
+
*/
|
|
4818
|
+
export type ChartItemTypeIdentifier = ChartItemTypeId | AnalyzeItemTypeId;
|
|
4537
4819
|
/**
|
|
4538
4820
|
* A common specifier for a chart item type.
|
|
4539
4821
|
* @i2since 1.3
|
|
4540
4822
|
*/
|
|
4541
|
-
export type ChartItemTypeSpecifier =
|
|
4823
|
+
export type ChartItemTypeSpecifier = ChartItemTypeIdentifier | IChartItemType;
|
|
4542
4824
|
/**
|
|
4543
4825
|
* A set of information that is common to all item types in i2 Notebook.
|
|
4544
4826
|
* @i2since 1.0
|
|
@@ -4587,7 +4869,7 @@ export declare namespace schema {
|
|
|
4587
4869
|
* Gets all the property types of the item type.
|
|
4588
4870
|
* @i2since 1.0
|
|
4589
4871
|
*/
|
|
4590
|
-
readonly propertyTypes: data.IKeyedReadOnlyCollection<
|
|
4872
|
+
readonly propertyTypes: data.IKeyedReadOnlyCollection<PropertyTypeIdentifier, IChartPropertyType>;
|
|
4591
4873
|
/**
|
|
4592
4874
|
* Gets the property type that has the specified i2 Analyze type identifier.
|
|
4593
4875
|
* @param analyzePropertyTypeId - An i2 Analyze property type identifier.
|
|
@@ -4755,21 +5037,22 @@ export declare namespace schema {
|
|
|
4755
5037
|
* @returns The new, pending property type.
|
|
4756
5038
|
* @i2since 1.6
|
|
4757
5039
|
*/
|
|
4758
|
-
addPropertyType(propertyTypeData: IPropertyTypeData, insertAfter?:
|
|
5040
|
+
addPropertyType(propertyTypeData: IPropertyTypeData, insertAfter?: PropertyTypeSpecifier | IPendingPropertyType | null): IPendingPropertyType;
|
|
4759
5041
|
/**
|
|
4760
5042
|
* Gets an object with methods for editing a custom property type.
|
|
4761
5043
|
*
|
|
4762
|
-
* @param
|
|
5044
|
+
* @param propertyTypeSpecifier - The custom property type to be edited.
|
|
4763
5045
|
* @returns The type-editing object.
|
|
4764
5046
|
* @i2since 1.6
|
|
4765
5047
|
*/
|
|
4766
|
-
editPropertyType(
|
|
5048
|
+
editPropertyType(propertyTypeSpecifier: AnalyzePropertyTypeId | IPendingPropertyType): IPropertyTypeEditor;
|
|
4767
5049
|
/**
|
|
4768
5050
|
* Gets an object with methods for editing a custom property type.
|
|
4769
5051
|
*
|
|
4770
5052
|
* @param typeId - The identifier of the property type to be edited.
|
|
4771
5053
|
* @param logicalType - The logical type of the property type to be edited.
|
|
4772
5054
|
* @returns The type-editing object.
|
|
5055
|
+
* @deprecated Use {@link schema.IPropertyTypesEditor.(editPropertyType:1) | editPropertyType(propertyType)} instead.
|
|
4773
5056
|
* @i2since 1.6
|
|
4774
5057
|
*/
|
|
4775
5058
|
editPropertyType(typeId: AnalyzePropertyTypeId, logicalType: CustomLogicalType): IPropertyTypeEditor;
|
|
@@ -4818,7 +5101,7 @@ export declare namespace schema {
|
|
|
4818
5101
|
* @returns This property type, in its new position.
|
|
4819
5102
|
* @i2since 1.6
|
|
4820
5103
|
*/
|
|
4821
|
-
moveAfter(propertyType:
|
|
5104
|
+
moveAfter(propertyType: PropertyTypeSpecifier | IPendingPropertyType | null): this;
|
|
4822
5105
|
/**
|
|
4823
5106
|
* Sets whether the property type forms part of the item type's label definition.
|
|
4824
5107
|
*
|
|
@@ -4845,7 +5128,7 @@ export declare namespace schema {
|
|
|
4845
5128
|
* A common specifier for an item type.
|
|
4846
5129
|
* @i2since 1.6
|
|
4847
5130
|
*/
|
|
4848
|
-
export type ItemTypeSpecifier =
|
|
5131
|
+
export type ItemTypeSpecifier = ChartItemTypeIdentifier | IChartItemType | IPendingItemType;
|
|
4849
5132
|
/**
|
|
4850
5133
|
* An identifier of a property type in a chart schema.
|
|
4851
5134
|
* @i2since 1.0
|
|
@@ -4856,11 +5139,16 @@ export declare namespace schema {
|
|
|
4856
5139
|
* @i2since 1.0
|
|
4857
5140
|
*/
|
|
4858
5141
|
export type AnalyzePropertyTypeId = string;
|
|
5142
|
+
/**
|
|
5143
|
+
* A common identifier for a chart property type.
|
|
5144
|
+
* @i2since 1.9
|
|
5145
|
+
*/
|
|
5146
|
+
export type PropertyTypeIdentifier = ChartPropertyTypeId | AnalyzePropertyTypeId;
|
|
4859
5147
|
/**
|
|
4860
5148
|
* A common specifier for a chart property type.
|
|
4861
5149
|
* @i2since 1.1
|
|
4862
5150
|
*/
|
|
4863
|
-
export type PropertyTypeSpecifier =
|
|
5151
|
+
export type PropertyTypeSpecifier = PropertyTypeIdentifier | IChartPropertyType;
|
|
4864
5152
|
/**
|
|
4865
5153
|
* A property type.
|
|
4866
5154
|
* @i2since 1.0
|
|
@@ -5165,7 +5453,7 @@ export declare namespace toolview {
|
|
|
5165
5453
|
* The size of the tool view.
|
|
5166
5454
|
* @i2since 1.3
|
|
5167
5455
|
*/
|
|
5168
|
-
export type ToolViewSize = 'small' | 'medium' | 'large';
|
|
5456
|
+
export type ToolViewSize = 'small' | 'medium' | 'large' | 'x-large';
|
|
5169
5457
|
/**
|
|
5170
5458
|
* A set of information for creating a tool view.
|
|
5171
5459
|
* @i2since 1.3
|
|
@@ -5688,6 +5976,11 @@ export declare namespace visual {
|
|
|
5688
5976
|
* @i2since 1.2
|
|
5689
5977
|
*/
|
|
5690
5978
|
export interface IEdgeStyle extends IElementStyleBase {
|
|
5979
|
+
/**
|
|
5980
|
+
* Gets the width of the edge.
|
|
5981
|
+
* @i2since 1.8
|
|
5982
|
+
*/
|
|
5983
|
+
readonly width: IElementSetting<number>;
|
|
5691
5984
|
}
|
|
5692
5985
|
/**
|
|
5693
5986
|
* A rectangular area, such as the boundary of the chart view.
|
|
@@ -5761,6 +6054,15 @@ export declare namespace visual {
|
|
|
5761
6054
|
* @i2since 1.8
|
|
5762
6055
|
*/
|
|
5763
6056
|
readonly style: INodeGroupStyle;
|
|
6057
|
+
/**
|
|
6058
|
+
* Indicates the minimized state of the node group.
|
|
6059
|
+
* @remarks
|
|
6060
|
+
* A minimized node group is represented by a single node that contains the label and
|
|
6061
|
+
* image of the group, and can be maximized to show the individual nodes in the group.
|
|
6062
|
+
* @returns `true` if the node group is minimized; `false` if it is maximized.
|
|
6063
|
+
* @i2since 1.8
|
|
6064
|
+
*/
|
|
6065
|
+
readonly isMinimized: boolean;
|
|
5764
6066
|
/**
|
|
5765
6067
|
* Gets the nodes in the node group.
|
|
5766
6068
|
* @i2since 1.8
|
package/lib/index.js
CHANGED