@ailife-dev-vue/uiplus-dev 0.1.44 → 0.1.46

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +64 -5
  2. package/dist/index.mjs +11520 -11486
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -372,8 +372,15 @@ export declare type CommonInfoDismissValOption = {
372
372
  /** 单条掩码条件,形态与 UpPageBarNew `dialogConfigs[].rules` 一致 */
373
373
  export declare type CommonInfoDismissValRule = StateConditionRule;
374
374
 
375
+ /** 单个 enumVal 的浅色 / 深色文案色 */
376
+ export declare type CommonInfoEnumColorPair = {
377
+ light?: string;
378
+ dark?: string;
379
+ };
380
+
375
381
  export declare type CommonInfoEnumItemConfig = CommonInfoItemConfigBase & {
376
- enumColorMap?: Record<string, string>;
382
+ /** key 为 profile enumVal 字符串;按 html.dark 取 light 或 dark */
383
+ enumColorMap?: Record<string, CommonInfoEnumColorPair>;
377
384
  };
378
385
 
379
386
  export declare type CommonInfoIntFloatItemConfig = CommonInfoItemConfigBase & {
@@ -1217,6 +1224,24 @@ declare const generalEnumActionProps: {
1217
1224
  type: BooleanConstructor;
1218
1225
  default: boolean;
1219
1226
  };
1227
+ /**
1228
+ * 状态 1(左侧,对应 status1EnumVal)图标。仅未选中时展示。
1229
+ * 4 项 URL,后缀 off / on / DarkOff / DarkOn;未选中取 off / DarkOff。
1230
+ * 选中(暂停)固定用内置暂停图。未配置或全 custom 时未选中用 Tile_def_off。
1231
+ */
1232
+ status1Icon: {
1233
+ type: PropType<string[]>;
1234
+ default: undefined;
1235
+ };
1236
+ /**
1237
+ * 状态 2(右侧,对应 status2EnumVal)图标。仅未选中时展示。
1238
+ * 4 项 URL,后缀 off / on / DarkOff / DarkOn;未选中取 off / DarkOff。
1239
+ * 选中(暂停)固定用内置暂停图。未配置或全 custom 时未选中用 Tile_def_off。
1240
+ */
1241
+ status2Icon: {
1242
+ type: PropType<string[]>;
1243
+ default: undefined;
1244
+ };
1220
1245
  };
1221
1246
 
1222
1247
  export declare type GeneralEnumControlCommandPayload = HilinkDeviceControlPayload;
@@ -1733,10 +1758,14 @@ export declare interface GeneralScreenFilterElementItemConfig {
1733
1758
  showResetButton?: boolean;
1734
1759
  resetButtonName?: string;
1735
1760
  resetDialogContent?: string;
1736
- tutorialImageUrlZhLight?: string;
1737
- tutorialImageUrlZhDark?: string;
1738
- tutorialImageUrlEnLight?: string;
1739
- tutorialImageUrlEnDark?: string;
1761
+ /** 教程图 URL 列表:中文 + 浅色。默认 1 项;多于 1 项只读第 1 项;空数组表示未配置 */
1762
+ tutorialImageUrlZhLight?: string[];
1763
+ /** 教程图 URL 列表:中文 + 深色。默认 1 项;多于 1 项只读第 1 项;空数组表示未配置 */
1764
+ tutorialImageUrlZhDark?: string[];
1765
+ /** 教程图 URL 列表:英文 + 浅色。默认 1 项;多于 1 项只读第 1 项;空数组表示未配置 */
1766
+ tutorialImageUrlEnLight?: string[];
1767
+ /** 教程图 URL 列表:英文 + 深色。默认 1 项;多于 1 项只读第 1 项;空数组表示未配置 */
1768
+ tutorialImageUrlEnDark?: string[];
1740
1769
  /** 滤芯告警条文案;空则用「展示名 + 默认后缀」 */
1741
1770
  alarmText?: string;
1742
1771
  /** 是否允许进入该滤芯二级详情(列表行与告警条) */
@@ -5216,12 +5245,22 @@ export declare const UpGeneralEnumAction: {
5216
5245
  type: BooleanConstructor;
5217
5246
  default: boolean;
5218
5247
  };
5248
+ status1Icon: {
5249
+ type: PropType<string[]>;
5250
+ default: undefined;
5251
+ };
5252
+ status2Icon: {
5253
+ type: PropType<string[]>;
5254
+ default: undefined;
5255
+ };
5219
5256
  }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
5220
5257
  subscribes: ProductSubscribe[];
5221
5258
  status1EnumVal: string | number;
5222
5259
  status2EnumVal: string | number;
5223
5260
  pauseEnumVal: string | number;
5224
5261
  showDivider: boolean;
5262
+ status1Icon: string[];
5263
+ status2Icon: string[];
5225
5264
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
5226
5265
  P: {};
5227
5266
  B: {};
@@ -5250,12 +5289,22 @@ export declare const UpGeneralEnumAction: {
5250
5289
  type: BooleanConstructor;
5251
5290
  default: boolean;
5252
5291
  };
5292
+ status1Icon: {
5293
+ type: PropType<string[]>;
5294
+ default: undefined;
5295
+ };
5296
+ status2Icon: {
5297
+ type: PropType<string[]>;
5298
+ default: undefined;
5299
+ };
5253
5300
  }>> & Readonly<{}>, {}, {}, {}, {}, {
5254
5301
  subscribes: ProductSubscribe[];
5255
5302
  status1EnumVal: string | number;
5256
5303
  status2EnumVal: string | number;
5257
5304
  pauseEnumVal: string | number;
5258
5305
  showDivider: boolean;
5306
+ status1Icon: string[];
5307
+ status2Icon: string[];
5259
5308
  }>;
5260
5309
  __isFragment?: never;
5261
5310
  __isTeleport?: never;
@@ -5281,12 +5330,22 @@ showDivider: {
5281
5330
  type: BooleanConstructor;
5282
5331
  default: boolean;
5283
5332
  };
5333
+ status1Icon: {
5334
+ type: PropType<string[]>;
5335
+ default: undefined;
5336
+ };
5337
+ status2Icon: {
5338
+ type: PropType<string[]>;
5339
+ default: undefined;
5340
+ };
5284
5341
  }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
5285
5342
  subscribes: ProductSubscribe[];
5286
5343
  status1EnumVal: string | number;
5287
5344
  status2EnumVal: string | number;
5288
5345
  pauseEnumVal: string | number;
5289
5346
  showDivider: boolean;
5347
+ status1Icon: string[];
5348
+ status2Icon: string[];
5290
5349
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
5291
5350
 
5292
5351
  export declare const UpGeneralEnumControl: {