@ailife-dev-vue/uiplus-dev 0.1.45 → 0.1.47

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 +61 -24
  2. package/dist/index.mjs +11701 -11615
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1141,6 +1141,7 @@ declare const generalCombinedDeliveryProps: {
1141
1141
  type: BooleanConstructor;
1142
1142
  default: boolean;
1143
1143
  };
1144
+ /** 一级瓷片已配置项按本数组顺序排在前面;未出现的可见项按 profile enumList 接在后面。空数组时整表按 enumList */
1144
1145
  modeOptionConfigs: {
1145
1146
  type: PropType<GeneralCombinedDeliveryModeOptionConfig[]>;
1146
1147
  default: () => never[];
@@ -1224,6 +1225,24 @@ declare const generalEnumActionProps: {
1224
1225
  type: BooleanConstructor;
1225
1226
  default: boolean;
1226
1227
  };
1228
+ /**
1229
+ * 状态 1(左侧,对应 status1EnumVal)图标。仅未选中时展示。
1230
+ * 4 项 URL,后缀 off / on / DarkOff / DarkOn;未选中取 off / DarkOff。
1231
+ * 选中(暂停)固定用内置暂停图。未配置或全 custom 时未选中用 Tile_def_off。
1232
+ */
1233
+ status1Icon: {
1234
+ type: PropType<string[]>;
1235
+ default: undefined;
1236
+ };
1237
+ /**
1238
+ * 状态 2(右侧,对应 status2EnumVal)图标。仅未选中时展示。
1239
+ * 4 项 URL,后缀 off / on / DarkOff / DarkOn;未选中取 off / DarkOff。
1240
+ * 选中(暂停)固定用内置暂停图。未配置或全 custom 时未选中用 Tile_def_off。
1241
+ */
1242
+ status2Icon: {
1243
+ type: PropType<string[]>;
1244
+ default: undefined;
1245
+ };
1227
1246
  };
1228
1247
 
1229
1248
  export declare type GeneralEnumControlCommandPayload = HilinkDeviceControlPayload;
@@ -1382,6 +1401,8 @@ export declare type GeneralEnumTileDisplayItem = {
1382
1401
  export declare type GeneralEnumTileOptionConfig = {
1383
1402
  enumVal: string | number;
1384
1403
  visible?: boolean;
1404
+ /** 为 true 时该项进入「更多」下拉;不因此从主栅格移除 */
1405
+ more?: boolean;
1385
1406
  /** 可选;2 或 4 项 URL,后缀 on/off/DarkOn/DarkOff(2 项时为 on+DarkOn 或 off+DarkOff,缺对镜像补齐);全 `custom` 或未配置时用内置默认图标 */
1386
1407
  icons?: string[];
1387
1408
  enableOpenDialog?: boolean;
@@ -1413,14 +1434,11 @@ declare const generalEnumTileProps: {
1413
1434
  type: PropType<string | number>;
1414
1435
  default: string;
1415
1436
  };
1437
+ /** 主栅格按本数组顺序排列;`more: true` 的项同时按相对顺序进入「更多」下拉,且不因此离开主栅格。空数组时主栅格按 enumList,且无「更多」 */
1416
1438
  enumOptionConfigs: {
1417
1439
  type: PropType<GeneralEnumTileOptionConfig[]>;
1418
1440
  default: () => never[];
1419
1441
  };
1420
- moreEnumOptionConfigs: {
1421
- type: PropType<GeneralEnumTileOptionConfig[]>;
1422
- default: () => never[];
1423
- };
1424
1442
  /** 是否在标题旁展示说明入口;为 true 时始终渲染图标 */
1425
1443
  showInfo: {
1426
1444
  type: BooleanConstructor;
@@ -1672,6 +1690,7 @@ declare const generalModeProps: {
1672
1690
  default: string;
1673
1691
  validator: (v: string) => v is "grid" | "list";
1674
1692
  };
1693
+ /** 已配置项按本数组顺序排在前面;未出现的项按 profile enumList 接在后面。空数组时整表按 enumList */
1675
1694
  modeOptionConfigs: {
1676
1695
  type: PropType<GeneralModeOptionConfig[]>;
1677
1696
  default: () => never[];
@@ -1740,10 +1759,14 @@ export declare interface GeneralScreenFilterElementItemConfig {
1740
1759
  showResetButton?: boolean;
1741
1760
  resetButtonName?: string;
1742
1761
  resetDialogContent?: string;
1743
- tutorialImageUrlZhLight?: string;
1744
- tutorialImageUrlZhDark?: string;
1745
- tutorialImageUrlEnLight?: string;
1746
- tutorialImageUrlEnDark?: string;
1762
+ /** 教程图 URL 列表:中文 + 浅色。默认 1 项;多于 1 项只读第 1 项;空数组表示未配置 */
1763
+ tutorialImageUrlZhLight?: string[];
1764
+ /** 教程图 URL 列表:中文 + 深色。默认 1 项;多于 1 项只读第 1 项;空数组表示未配置 */
1765
+ tutorialImageUrlZhDark?: string[];
1766
+ /** 教程图 URL 列表:英文 + 浅色。默认 1 项;多于 1 项只读第 1 项;空数组表示未配置 */
1767
+ tutorialImageUrlEnLight?: string[];
1768
+ /** 教程图 URL 列表:英文 + 深色。默认 1 项;多于 1 项只读第 1 项;空数组表示未配置 */
1769
+ tutorialImageUrlEnDark?: string[];
1747
1770
  /** 滤芯告警条文案;空则用「展示名 + 默认后缀」 */
1748
1771
  alarmText?: string;
1749
1772
  /** 是否允许进入该滤芯二级详情(列表行与告警条) */
@@ -5223,12 +5246,22 @@ export declare const UpGeneralEnumAction: {
5223
5246
  type: BooleanConstructor;
5224
5247
  default: boolean;
5225
5248
  };
5249
+ status1Icon: {
5250
+ type: PropType<string[]>;
5251
+ default: undefined;
5252
+ };
5253
+ status2Icon: {
5254
+ type: PropType<string[]>;
5255
+ default: undefined;
5256
+ };
5226
5257
  }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
5227
5258
  subscribes: ProductSubscribe[];
5228
5259
  status1EnumVal: string | number;
5229
5260
  status2EnumVal: string | number;
5230
5261
  pauseEnumVal: string | number;
5231
5262
  showDivider: boolean;
5263
+ status1Icon: string[];
5264
+ status2Icon: string[];
5232
5265
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
5233
5266
  P: {};
5234
5267
  B: {};
@@ -5257,12 +5290,22 @@ export declare const UpGeneralEnumAction: {
5257
5290
  type: BooleanConstructor;
5258
5291
  default: boolean;
5259
5292
  };
5293
+ status1Icon: {
5294
+ type: PropType<string[]>;
5295
+ default: undefined;
5296
+ };
5297
+ status2Icon: {
5298
+ type: PropType<string[]>;
5299
+ default: undefined;
5300
+ };
5260
5301
  }>> & Readonly<{}>, {}, {}, {}, {}, {
5261
5302
  subscribes: ProductSubscribe[];
5262
5303
  status1EnumVal: string | number;
5263
5304
  status2EnumVal: string | number;
5264
5305
  pauseEnumVal: string | number;
5265
5306
  showDivider: boolean;
5307
+ status1Icon: string[];
5308
+ status2Icon: string[];
5266
5309
  }>;
5267
5310
  __isFragment?: never;
5268
5311
  __isTeleport?: never;
@@ -5288,12 +5331,22 @@ showDivider: {
5288
5331
  type: BooleanConstructor;
5289
5332
  default: boolean;
5290
5333
  };
5334
+ status1Icon: {
5335
+ type: PropType<string[]>;
5336
+ default: undefined;
5337
+ };
5338
+ status2Icon: {
5339
+ type: PropType<string[]>;
5340
+ default: undefined;
5341
+ };
5291
5342
  }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
5292
5343
  subscribes: ProductSubscribe[];
5293
5344
  status1EnumVal: string | number;
5294
5345
  status2EnumVal: string | number;
5295
5346
  pauseEnumVal: string | number;
5296
5347
  showDivider: boolean;
5348
+ status1Icon: string[];
5349
+ status2Icon: string[];
5297
5350
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
5298
5351
 
5299
5352
  export declare const UpGeneralEnumControl: {
@@ -5938,10 +5991,6 @@ export declare const UpGeneralEnumTile: {
5938
5991
  type: PropType<GeneralEnumTileOptionConfig[]>;
5939
5992
  default: () => never[];
5940
5993
  };
5941
- moreEnumOptionConfigs: {
5942
- type: PropType<GeneralEnumTileOptionConfig[]>;
5943
- default: () => never[];
5944
- };
5945
5994
  showInfo: {
5946
5995
  type: BooleanConstructor;
5947
5996
  default: boolean;
@@ -5959,9 +6008,7 @@ export declare const UpGeneralEnumTile: {
5959
6008
  invertEnabled: boolean;
5960
6009
  invertEnumValue: string | number;
5961
6010
  enumOptionConfigs: GeneralEnumTileOptionConfig[];
5962
- moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
5963
6011
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
5964
- moreDropdownRef: HTMLDivElement;
5965
6012
  dropzoneRef: HTMLDivElement;
5966
6013
  }, HTMLDivElement, ComponentProvideOptions, {
5967
6014
  P: {};
@@ -5995,10 +6042,6 @@ export declare const UpGeneralEnumTile: {
5995
6042
  type: PropType<GeneralEnumTileOptionConfig[]>;
5996
6043
  default: () => never[];
5997
6044
  };
5998
- moreEnumOptionConfigs: {
5999
- type: PropType<GeneralEnumTileOptionConfig[]>;
6000
- default: () => never[];
6001
- };
6002
6045
  showInfo: {
6003
6046
  type: BooleanConstructor;
6004
6047
  default: boolean;
@@ -6016,7 +6059,6 @@ export declare const UpGeneralEnumTile: {
6016
6059
  invertEnabled: boolean;
6017
6060
  invertEnumValue: string | number;
6018
6061
  enumOptionConfigs: GeneralEnumTileOptionConfig[];
6019
- moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
6020
6062
  }>;
6021
6063
  __isFragment?: never;
6022
6064
  __isTeleport?: never;
@@ -6046,10 +6088,6 @@ enumOptionConfigs: {
6046
6088
  type: PropType<GeneralEnumTileOptionConfig[]>;
6047
6089
  default: () => never[];
6048
6090
  };
6049
- moreEnumOptionConfigs: {
6050
- type: PropType<GeneralEnumTileOptionConfig[]>;
6051
- default: () => never[];
6052
- };
6053
6091
  showInfo: {
6054
6092
  type: BooleanConstructor;
6055
6093
  default: boolean;
@@ -6067,7 +6105,6 @@ showTitle: boolean;
6067
6105
  invertEnabled: boolean;
6068
6106
  invertEnumValue: string | number;
6069
6107
  enumOptionConfigs: GeneralEnumTileOptionConfig[];
6070
- moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
6071
6108
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
6072
6109
  $slots: {
6073
6110
  default?(_: {}): any;