@i2analyze/notebook-sdk 1.8.0-dev.7 → 1.8.0-dev.8
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/lib/gen/notebook-sdk-public.d.ts +22 -14
- package/package.json +1 -1
|
@@ -705,35 +705,38 @@ export declare namespace app {
|
|
|
705
705
|
/**
|
|
706
706
|
* Sets or resets the color of the node group.
|
|
707
707
|
*
|
|
708
|
-
* @param color - The color to set, or `undefined` to reset the color to the theme default.
|
|
709
|
-
* @returns The node group, with its color set to the specified value.
|
|
710
|
-
* @throws `Error` if the specified value is not in a form that CSS supports, such as a hexadecimal number, an `rgb()` value, or a color name
|
|
708
|
+
* @param color - The color to set, or `null` to remove the border, or `undefined` to reset the border color to the theme default.
|
|
709
|
+
* @returns The node group, with its border color set to the specified value.
|
|
710
|
+
* @throws `Error` if the specified value is not in a form that CSS supports, such as a hexadecimal number, an `rgb()` value, or a color name, or `null` or `undefined`.
|
|
711
711
|
* @i2since 1.8
|
|
712
712
|
*/
|
|
713
|
-
setBorderColor(color: string | undefined): this;
|
|
713
|
+
setBorderColor(color: string | undefined | null): this;
|
|
714
714
|
/**
|
|
715
715
|
* Sets or resets the border width of the node group.
|
|
716
716
|
*
|
|
717
717
|
* @param width - The width to set, or `undefined` to reset the width to the theme default.
|
|
718
718
|
* @returns The node group, with its border width set to the specified value.
|
|
719
|
+
* @throws `Error` if the specified value is not either a positive number or `undefined`.
|
|
720
|
+
* @remarks A size of 0 is valid, and indicates that the node group has no border - equivalent to `setBorderColor(null)`.
|
|
719
721
|
* @i2since 1.8
|
|
720
722
|
*/
|
|
721
723
|
setBorderWidth(width: number | undefined): this;
|
|
722
724
|
/**
|
|
723
|
-
* Sets or resets the
|
|
725
|
+
* Sets or resets the background color of the node group.
|
|
724
726
|
*
|
|
725
|
-
* @param color - The color to set, or `undefined` to reset the
|
|
726
|
-
* @returns The node group, with its
|
|
727
|
-
* @throws `Error` if the specified value is not in a form that CSS supports, such as a hexadecimal number, an `rgb()` value, or a color name
|
|
727
|
+
* @param color - The color to set, or `null` to remove the background, or `undefined` to reset the background color to the theme default.
|
|
728
|
+
* @returns The node group, with its background color set to the specified value.
|
|
729
|
+
* @throws `Error` if the specified value is not in a form that CSS supports, such as a hexadecimal number, an `rgb()` value, or a color name, or `null` or `undefined`.
|
|
728
730
|
* @i2since 1.8
|
|
729
731
|
*/
|
|
730
|
-
|
|
732
|
+
setColor(color: string | undefined | null): this;
|
|
731
733
|
/**
|
|
732
734
|
* Sets or resets the image for the node group.
|
|
733
735
|
*
|
|
734
736
|
* @param href - The URL of the image to use, or 'undefined' to indicate there is no image.
|
|
735
737
|
* @param description - A description of the image.
|
|
736
738
|
* @returns The node group, with its image set to the specified URL and description.
|
|
739
|
+
* @remarks If an image is not set, then a default image will be used when a label is also set.
|
|
737
740
|
* @i2since 1.8
|
|
738
741
|
*/
|
|
739
742
|
setImage(href: string | undefined, description?: string): this;
|
|
@@ -5754,22 +5757,27 @@ export declare namespace visual {
|
|
|
5754
5757
|
* A style for a node group, which affects its appearance.
|
|
5755
5758
|
* @i2since 1.8
|
|
5756
5759
|
*/
|
|
5757
|
-
export interface INodeGroupStyle
|
|
5760
|
+
export interface INodeGroupStyle {
|
|
5758
5761
|
/**
|
|
5759
|
-
* Gets the image to display for the node group
|
|
5762
|
+
* Gets the image to display for the node group.
|
|
5760
5763
|
* @i2since 1.8
|
|
5761
5764
|
*/
|
|
5762
5765
|
readonly image: IImageSetting;
|
|
5763
5766
|
/**
|
|
5764
|
-
* Gets the
|
|
5767
|
+
* Gets the color of the node group, or null if there is no background.
|
|
5768
|
+
* @i2since 1.8
|
|
5769
|
+
*/
|
|
5770
|
+
readonly color: IElementSetting<string | null>;
|
|
5771
|
+
/**
|
|
5772
|
+
* Gets the border color of the node group, or null if there is no border.
|
|
5765
5773
|
* @i2since 1.8
|
|
5766
5774
|
*/
|
|
5767
|
-
readonly borderColor: IElementSetting<string |
|
|
5775
|
+
readonly borderColor: IElementSetting<string | null>;
|
|
5768
5776
|
/**
|
|
5769
5777
|
* Gets the border width of the node group.
|
|
5770
5778
|
* @i2since 1.8
|
|
5771
5779
|
*/
|
|
5772
|
-
readonly borderWidth: IElementSetting<number
|
|
5780
|
+
readonly borderWidth: IElementSetting<number>;
|
|
5773
5781
|
}
|
|
5774
5782
|
}
|
|
5775
5783
|
|