@glowjs/core 2025.9.16 → 2025.11.6

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.
@@ -998,8 +998,8 @@ export declare class ArchiveBox extends Entity {
998
998
  /**
999
999
  * 获取或设置侧面图片
1000
1000
  */
1001
- get sideImg(): ResImageSource;
1002
- set sideImg(value: ResImageSource);
1001
+ get sideImg(): SideSource;
1002
+ set sideImg(value: SideSource);
1003
1003
  /**
1004
1004
  * 获取或设置背景颜色
1005
1005
  */
@@ -6752,6 +6752,19 @@ export type CabinetTagStyleConfig = {
6752
6752
  */
6753
6753
  fontColor: string;
6754
6754
  };
6755
+ /**
6756
+ * 动态绘制图片所需的颜色
6757
+ */
6758
+ export type ColorSource = {
6759
+ /**
6760
+ * 颜色(十六进制)
6761
+ */
6762
+ color: string;
6763
+ /**
6764
+ * 背景颜色(十六进制)
6765
+ */
6766
+ backgroundColor: string;
6767
+ };
6755
6768
  /**
6756
6769
  * 特效数据
6757
6770
  */
@@ -7391,6 +7404,10 @@ export type ResToolOptions = {
7391
7404
  */
7392
7405
  mode?: number;
7393
7406
  };
7407
+ /**
7408
+ * 档案盒侧面图片或颜色
7409
+ */
7410
+ export type SideSource = ResImageSource | ColorSource;
7394
7411
  /**
7395
7412
  * 尺寸
7396
7413
  */