@ailife-dev-vue/uiplus-dev 0.1.28 → 0.1.30

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/dist/index.d.ts CHANGED
@@ -259,6 +259,10 @@ export declare interface Characteristic {
259
259
  max?: string;
260
260
  step?: number;
261
261
  unit?: string;
262
+ /** 为 1 时按 min/max(及可选 divisor)换算为百分比展示 */
263
+ percent?: number;
264
+ /** 百分比换算时除数;真值才对 min/max 做除法 */
265
+ divisor?: string | number;
262
266
  method?: string;
263
267
  permission?: string;
264
268
  report?: number;
@@ -368,6 +372,16 @@ declare type CommonInfoItemConfigBase = {
368
372
  infoContent?: string;
369
373
  /** path 非空时展示跳转箭头,点击标签行按 UpPageRouter 规则导航 */
370
374
  router?: PageRouterTarget;
375
+ /**
376
+ * 关闭是否展示:开关为 0 时是否仍显示正常值。
377
+ * `false`(默认)且已绑有效 `subscribesSwitch` 时显示 `- -`;`true` 时显示正常值。
378
+ */
379
+ showValueWhenOff?: boolean;
380
+ /**
381
+ * 开关绑定项;取 `[0]`。底座限制 cid 为 `on`;cid 空时组件缺省为 `on`。
382
+ * 未配置有效 sid 时本能力不生效。
383
+ */
384
+ subscribesSwitch?: ProductSubscribe[];
371
385
  };
372
386
 
373
387
  export declare type CommonInfoProps = ExtractPropTypes<typeof commonInfoProps>;
@@ -3782,7 +3796,10 @@ export declare const UpCommonBannerNew: {
3782
3796
  centerImageUrl: string;
3783
3797
  logo: string;
3784
3798
  showBottomWhenOff: boolean;
3785
- }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
3799
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
3800
+ topLeftRef: HTMLDivElement;
3801
+ bottomLeftRef: HTMLDivElement;
3802
+ }, HTMLDivElement, ComponentProvideOptions, {
3786
3803
  P: {};
3787
3804
  B: {};
3788
3805
  D: {};