@huanban/rulego-editor-core 1.0.4 → 1.0.5

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.
@@ -7,10 +7,11 @@
7
7
  * const url = ICON_REGISTRY['delay'] // => data:image/svg+xml;base64,...
8
8
  */
9
9
  /**
10
- * 默认图标 — 用于缺少图标的新开发组件(白色齿轮 SVG)
10
+ * 默认图标 — 用于缺少图标的新开发组件(白色问号 SVG)
11
11
  * 当组件没有注册图标或图标加载失败时,自动使用此图标替代
12
+ * 注意: 使用预编码的 base64 字符串,避免运行时 btoa 对 Unicode 字符报错
12
13
  */
13
- export declare const DEFAULT_ICON_URL: string;
14
+ export declare const DEFAULT_ICON_URL = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48dGV4dCB4PSI1MTIiIHk9IjU2MCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZG9taW5hbnQtYmFzZWxpbmU9ImNlbnRyYWwiIGZvbnQtZmFtaWx5PSJBcmlhbCxzYW5zLXNlcmlmIiBmb250LXdlaWdodD0iYm9sZCIgZm9udC1zaXplPSI0MDAiIGZpbGw9IiNmZmZmZmYiPj88L3RleHQ+PC9zdmc+";
14
15
  export declare const ICON_REGISTRY: Record<string, string>;
15
16
  /**
16
17
  * 根据图标名称获取图标 URL