@ailife-dev-vue/uiplus 0.0.14-snapshot → 0.0.16-snapshot
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.css +1 -1
- package/dist/index.d.ts +354 -233
- package/dist/index.mjs +9323 -8640
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -421,6 +421,13 @@ export declare interface EnumItem {
|
|
|
421
421
|
descCh: string;
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
+
export declare type EnumStatusCardSize = 'full' | 'half';
|
|
425
|
+
|
|
426
|
+
export declare interface EnumStatusConfig {
|
|
427
|
+
status: string | number;
|
|
428
|
+
enumDesc: string;
|
|
429
|
+
}
|
|
430
|
+
|
|
424
431
|
export declare type EnumStatusEmits = {
|
|
425
432
|
(e: 'expanded-change', expanded: boolean): void;
|
|
426
433
|
};
|
|
@@ -432,15 +439,16 @@ declare const enumStatusGaugeProps: {
|
|
|
432
439
|
type: StringConstructor;
|
|
433
440
|
default: string;
|
|
434
441
|
};
|
|
435
|
-
|
|
442
|
+
/** 圆环中心下行「当前{特征名}」整句,由父组件拼好传入 */
|
|
443
|
+
currentLabel: {
|
|
436
444
|
type: StringConstructor;
|
|
437
445
|
default: string;
|
|
438
446
|
};
|
|
439
|
-
|
|
440
|
-
type:
|
|
441
|
-
default:
|
|
447
|
+
enumCount: {
|
|
448
|
+
type: NumberConstructor;
|
|
449
|
+
default: number;
|
|
442
450
|
};
|
|
443
|
-
|
|
451
|
+
selectedIndex: {
|
|
444
452
|
type: NumberConstructor;
|
|
445
453
|
default: number;
|
|
446
454
|
};
|
|
@@ -449,29 +457,37 @@ declare const enumStatusGaugeProps: {
|
|
|
449
457
|
export declare type EnumStatusProps = ExtractPropTypes<typeof enumStatusProps>;
|
|
450
458
|
|
|
451
459
|
declare const enumStatusProps: {
|
|
452
|
-
|
|
453
|
-
type:
|
|
454
|
-
default:
|
|
460
|
+
subscribes: {
|
|
461
|
+
type: PropType<ProductSubscribe[]>;
|
|
462
|
+
default: () => never[];
|
|
455
463
|
};
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
464
|
+
/** 各枚举值在二级页与圆环同级的描述文案 */
|
|
465
|
+
enumStatusConfigs: {
|
|
466
|
+
type: PropType<EnumStatusConfig[]>;
|
|
467
|
+
default: () => never[];
|
|
459
468
|
};
|
|
460
|
-
|
|
469
|
+
showReset: {
|
|
470
|
+
type: BooleanConstructor;
|
|
471
|
+
default: boolean;
|
|
472
|
+
};
|
|
473
|
+
/** 重置下发锚点,与 subscribes 独立;仅消费首项,须为 bool */
|
|
474
|
+
bindData: {
|
|
475
|
+
type: PropType<ProductSubscribe[]>;
|
|
476
|
+
default: () => never[];
|
|
477
|
+
};
|
|
478
|
+
/** 重置按钮文案,同时作为确认弹窗标题;为空时不展示重置按钮 */
|
|
479
|
+
showBtnText: {
|
|
461
480
|
type: StringConstructor;
|
|
462
481
|
default: string;
|
|
463
482
|
};
|
|
464
|
-
|
|
483
|
+
/** 重置确认弹窗正文;为空时弹窗仍展示,正文区不渲染 */
|
|
484
|
+
showDialogText: {
|
|
465
485
|
type: StringConstructor;
|
|
466
486
|
default: string;
|
|
467
487
|
};
|
|
468
|
-
|
|
469
|
-
type:
|
|
470
|
-
default:
|
|
471
|
-
};
|
|
472
|
-
disabled: {
|
|
473
|
-
type: BooleanConstructor;
|
|
474
|
-
default: boolean;
|
|
488
|
+
cardSize: {
|
|
489
|
+
type: PropType<EnumStatusCardSize>;
|
|
490
|
+
default: string;
|
|
475
491
|
};
|
|
476
492
|
};
|
|
477
493
|
|
|
@@ -697,6 +713,7 @@ export declare const enUS: {
|
|
|
697
713
|
};
|
|
698
714
|
generalWarn: {
|
|
699
715
|
detailTitle: string;
|
|
716
|
+
ariaBack: string;
|
|
700
717
|
faultReason: string;
|
|
701
718
|
solution: string;
|
|
702
719
|
servicePhone: string;
|
|
@@ -765,6 +782,25 @@ export declare const enUS: {
|
|
|
765
782
|
};
|
|
766
783
|
rangeValue: string;
|
|
767
784
|
};
|
|
785
|
+
tableLampNightWake: {
|
|
786
|
+
cardTitle: string;
|
|
787
|
+
aria: {
|
|
788
|
+
back: string;
|
|
789
|
+
};
|
|
790
|
+
field: {
|
|
791
|
+
activePeriod: string;
|
|
792
|
+
activePeriodValue: string;
|
|
793
|
+
startTime: string;
|
|
794
|
+
endTime: string;
|
|
795
|
+
brightness: string;
|
|
796
|
+
};
|
|
797
|
+
detailHint: string;
|
|
798
|
+
timeUnit: {
|
|
799
|
+
hour: string;
|
|
800
|
+
minute: string;
|
|
801
|
+
};
|
|
802
|
+
nextDayPrefix: string;
|
|
803
|
+
};
|
|
768
804
|
tableLampSleepy: {
|
|
769
805
|
cardTitle: string;
|
|
770
806
|
aria: {
|
|
@@ -800,6 +836,9 @@ export declare const enUS: {
|
|
|
800
836
|
infoTitle: string;
|
|
801
837
|
statPlaceholder: string;
|
|
802
838
|
};
|
|
839
|
+
enumStatus: {
|
|
840
|
+
gaugeCurrentLabel: string;
|
|
841
|
+
};
|
|
803
842
|
lampColour: {
|
|
804
843
|
cardTitle: string;
|
|
805
844
|
cardSubtitle: string;
|
|
@@ -1260,6 +1299,26 @@ declare const generalTimeSwitchProps: {
|
|
|
1260
1299
|
|
|
1261
1300
|
declare type GeneralTimeSwitchWheelUnit = 'hourMinute' | 'minuteSecond';
|
|
1262
1301
|
|
|
1302
|
+
export declare interface GeneralWarnConfig {
|
|
1303
|
+
/** 须为 faultDetection 或 commonFaultDetection */
|
|
1304
|
+
sid: string;
|
|
1305
|
+
cid: string;
|
|
1306
|
+
/** 与 inject state 当前值字符串比较 */
|
|
1307
|
+
enumVal: string | number;
|
|
1308
|
+
/** 故障描述文案 */
|
|
1309
|
+
description?: string;
|
|
1310
|
+
/** 为 true 时可点击进入二级页;默认 false */
|
|
1311
|
+
isClickable?: boolean;
|
|
1312
|
+
/** 故障原因 */
|
|
1313
|
+
faultReason?: string;
|
|
1314
|
+
/** 解决办法;`@` 渲染为换行 */
|
|
1315
|
+
solution?: string;
|
|
1316
|
+
/** 服务电话 */
|
|
1317
|
+
servicePhone?: string;
|
|
1318
|
+
/** 购买链接 */
|
|
1319
|
+
purchaseLink?: string;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1263
1322
|
export declare type GeneralWarnEmits = {
|
|
1264
1323
|
(e: 'expanded-change', expanded: boolean): void;
|
|
1265
1324
|
};
|
|
@@ -1267,31 +1326,10 @@ export declare type GeneralWarnEmits = {
|
|
|
1267
1326
|
export declare type GeneralWarnProps = ExtractPropTypes<typeof generalWarnProps>;
|
|
1268
1327
|
|
|
1269
1328
|
declare const generalWarnProps: {
|
|
1270
|
-
/**
|
|
1271
|
-
|
|
1272
|
-
type:
|
|
1273
|
-
default:
|
|
1274
|
-
};
|
|
1275
|
-
/** 为 true 时可点击进入二级页 */
|
|
1276
|
-
isClickable: {
|
|
1277
|
-
type: BooleanConstructor;
|
|
1278
|
-
default: boolean;
|
|
1279
|
-
};
|
|
1280
|
-
faultReason: {
|
|
1281
|
-
type: StringConstructor;
|
|
1282
|
-
default: string;
|
|
1283
|
-
};
|
|
1284
|
-
solution: {
|
|
1285
|
-
type: StringConstructor;
|
|
1286
|
-
default: string;
|
|
1287
|
-
};
|
|
1288
|
-
servicePhone: {
|
|
1289
|
-
type: StringConstructor;
|
|
1290
|
-
default: string;
|
|
1291
|
-
};
|
|
1292
|
-
purchaseLink: {
|
|
1293
|
-
type: StringConstructor;
|
|
1294
|
-
default: string;
|
|
1329
|
+
/** 各枚举值独立配置;state 命中 sid/cid/enumVal 时展示对应文案 */
|
|
1330
|
+
enumConfigs: {
|
|
1331
|
+
type: PropType<GeneralWarnConfig[]>;
|
|
1332
|
+
default: () => never[];
|
|
1295
1333
|
};
|
|
1296
1334
|
};
|
|
1297
1335
|
|
|
@@ -1591,7 +1629,7 @@ export declare function resolveProdHostText(resolveKey: (k: string, fb?: string)
|
|
|
1591
1629
|
|
|
1592
1630
|
export declare type SecondaryZone = 'slider' | 'list' | 'schedule';
|
|
1593
1631
|
|
|
1594
|
-
/** 调用宿主注入的 `window.hilink._deviceControlInner`;无实现时为 no-op */
|
|
1632
|
+
/** 调用宿主注入的 `window.hilink._deviceControlInner`;无实现时为 no-op。 */
|
|
1595
1633
|
export declare function sendHilinkDeviceControl(payload: HilinkDeviceControlPayload): void;
|
|
1596
1634
|
|
|
1597
1635
|
export declare interface Service {
|
|
@@ -1606,9 +1644,6 @@ export declare function setHilinkTitleVisible(visible: boolean, callbackName?: s
|
|
|
1606
1644
|
|
|
1607
1645
|
export declare function setShowFakeTitleBar(visible: boolean): void;
|
|
1608
1646
|
|
|
1609
|
-
/** 写入 `state[sid][cid]`;若 `state[sid]` 尚非对象则置为 `{ [cid]: value }`。 */
|
|
1610
|
-
export declare const setStateValue: (state: ProductState, sid: string, cid: string, value: unknown) => void;
|
|
1611
|
-
|
|
1612
1647
|
export declare type SheetDialogEmits = {
|
|
1613
1648
|
(e: 'cancel'): void;
|
|
1614
1649
|
(e: 'confirm'): void;
|
|
@@ -1739,6 +1774,9 @@ export declare type StatusBarValue = StatusBarBinaryState;
|
|
|
1739
1774
|
/** 订阅组件库内 `sendHilinkDeviceControl` 的下发事件;返回取消订阅函数。 */
|
|
1740
1775
|
export declare function subscribeHilinkDeviceControl(listener: HilinkDispatchListener): () => void;
|
|
1741
1776
|
|
|
1777
|
+
/** 调用宿主 `window.updateUI` 同步 inject state;无实现时为 no-op。 */
|
|
1778
|
+
export declare function syncDeviceUIState(payload: HilinkDeviceControlPayload): void;
|
|
1779
|
+
|
|
1742
1780
|
export declare type TableLampFadeTimeCardSize = 'full' | 'half';
|
|
1743
1781
|
|
|
1744
1782
|
export declare type TableLampFadeTimeCommandPayload = HilinkDeviceControlPayload;
|
|
@@ -1781,6 +1819,35 @@ declare const tableLampMorningProps: {
|
|
|
1781
1819
|
};
|
|
1782
1820
|
};
|
|
1783
1821
|
|
|
1822
|
+
export declare type TableLampNightWakeCardSize = 'full' | 'half';
|
|
1823
|
+
|
|
1824
|
+
export declare type TableLampNightWakeCommandPayload = HilinkDeviceControlPayload;
|
|
1825
|
+
|
|
1826
|
+
export declare type TableLampNightWakeEmits = {
|
|
1827
|
+
(e: 'expanded-change', expanded: boolean): void;
|
|
1828
|
+
};
|
|
1829
|
+
|
|
1830
|
+
export declare type TableLampNightWakeProps = ExtractPropTypes<typeof tableLampNightWakeProps>;
|
|
1831
|
+
|
|
1832
|
+
declare const tableLampNightWakeProps: {
|
|
1833
|
+
cardSize: {
|
|
1834
|
+
type: PropType<TableLampNightWakeCardSize>;
|
|
1835
|
+
default: string;
|
|
1836
|
+
};
|
|
1837
|
+
title: {
|
|
1838
|
+
type: StringConstructor;
|
|
1839
|
+
default: string;
|
|
1840
|
+
};
|
|
1841
|
+
showDetailHint: {
|
|
1842
|
+
type: BooleanConstructor;
|
|
1843
|
+
default: boolean;
|
|
1844
|
+
};
|
|
1845
|
+
detailHint: {
|
|
1846
|
+
type: StringConstructor;
|
|
1847
|
+
default: string;
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1850
|
+
|
|
1784
1851
|
export declare type TableLampSleepyCardSize = 'full' | 'half';
|
|
1785
1852
|
|
|
1786
1853
|
export declare type TableLampSleepyCommandPayload = HilinkDeviceControlPayload;
|
|
@@ -2913,6 +2980,9 @@ theme: "dark" | "light";
|
|
|
2913
2980
|
};
|
|
2914
2981
|
}) & Plugin_2;
|
|
2915
2982
|
|
|
2983
|
+
/** 与宿主约定:`updateUI({ [sid]: { [cid]: value } })` 同步 inject 设备 state。 */
|
|
2984
|
+
export declare type UpdateUIFn = (payload: Record<string, Record<string, unknown>>) => void;
|
|
2985
|
+
|
|
2916
2986
|
export declare const UpDelay: {
|
|
2917
2987
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
2918
2988
|
readonly recordSettingTime: {
|
|
@@ -2965,42 +3035,51 @@ readonly recordSettingTime: boolean;
|
|
|
2965
3035
|
|
|
2966
3036
|
export declare const UpEnumStatus: {
|
|
2967
3037
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
2968
|
-
|
|
2969
|
-
type:
|
|
2970
|
-
default:
|
|
3038
|
+
subscribes: {
|
|
3039
|
+
type: PropType<ProductSubscribe[]>;
|
|
3040
|
+
default: () => never[];
|
|
2971
3041
|
};
|
|
2972
|
-
|
|
2973
|
-
type:
|
|
2974
|
-
default:
|
|
3042
|
+
enumStatusConfigs: {
|
|
3043
|
+
type: PropType<EnumStatusConfig[]>;
|
|
3044
|
+
default: () => never[];
|
|
2975
3045
|
};
|
|
2976
|
-
|
|
3046
|
+
showReset: {
|
|
3047
|
+
type: BooleanConstructor;
|
|
3048
|
+
default: boolean;
|
|
3049
|
+
};
|
|
3050
|
+
bindData: {
|
|
3051
|
+
type: PropType<ProductSubscribe[]>;
|
|
3052
|
+
default: () => never[];
|
|
3053
|
+
};
|
|
3054
|
+
showBtnText: {
|
|
2977
3055
|
type: StringConstructor;
|
|
2978
3056
|
default: string;
|
|
2979
3057
|
};
|
|
2980
|
-
|
|
3058
|
+
showDialogText: {
|
|
2981
3059
|
type: StringConstructor;
|
|
2982
3060
|
default: string;
|
|
2983
3061
|
};
|
|
2984
|
-
|
|
2985
|
-
type:
|
|
2986
|
-
default:
|
|
2987
|
-
};
|
|
2988
|
-
disabled: {
|
|
2989
|
-
type: BooleanConstructor;
|
|
2990
|
-
default: boolean;
|
|
3062
|
+
cardSize: {
|
|
3063
|
+
type: PropType<EnumStatusCardSize>;
|
|
3064
|
+
default: string;
|
|
2991
3065
|
};
|
|
2992
3066
|
}>> & Readonly<{
|
|
2993
3067
|
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
2994
3068
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2995
3069
|
"expanded-change": (expanded: boolean) => any;
|
|
2996
3070
|
}, PublicProps, {
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3071
|
+
subscribes: ProductSubscribe[];
|
|
3072
|
+
cardSize: EnumStatusCardSize;
|
|
3073
|
+
enumStatusConfigs: EnumStatusConfig[];
|
|
3074
|
+
showReset: boolean;
|
|
3075
|
+
bindData: ProductSubscribe[];
|
|
3076
|
+
showBtnText: string;
|
|
3077
|
+
showDialogText: string;
|
|
3078
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
3079
|
+
contentRef: HTMLDivElement;
|
|
3080
|
+
titleRef: HTMLDivElement;
|
|
3081
|
+
statusRef: HTMLDivElement;
|
|
3082
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
3004
3083
|
P: {};
|
|
3005
3084
|
B: {};
|
|
3006
3085
|
D: {};
|
|
@@ -3008,79 +3087,89 @@ export declare const UpEnumStatus: {
|
|
|
3008
3087
|
M: {};
|
|
3009
3088
|
Defaults: {};
|
|
3010
3089
|
}, Readonly<ExtractPropTypes< {
|
|
3011
|
-
|
|
3012
|
-
type:
|
|
3013
|
-
default:
|
|
3090
|
+
subscribes: {
|
|
3091
|
+
type: PropType<ProductSubscribe[]>;
|
|
3092
|
+
default: () => never[];
|
|
3014
3093
|
};
|
|
3015
|
-
|
|
3016
|
-
type:
|
|
3017
|
-
default:
|
|
3094
|
+
enumStatusConfigs: {
|
|
3095
|
+
type: PropType<EnumStatusConfig[]>;
|
|
3096
|
+
default: () => never[];
|
|
3097
|
+
};
|
|
3098
|
+
showReset: {
|
|
3099
|
+
type: BooleanConstructor;
|
|
3100
|
+
default: boolean;
|
|
3101
|
+
};
|
|
3102
|
+
bindData: {
|
|
3103
|
+
type: PropType<ProductSubscribe[]>;
|
|
3104
|
+
default: () => never[];
|
|
3018
3105
|
};
|
|
3019
|
-
|
|
3106
|
+
showBtnText: {
|
|
3020
3107
|
type: StringConstructor;
|
|
3021
3108
|
default: string;
|
|
3022
3109
|
};
|
|
3023
|
-
|
|
3110
|
+
showDialogText: {
|
|
3024
3111
|
type: StringConstructor;
|
|
3025
3112
|
default: string;
|
|
3026
3113
|
};
|
|
3027
|
-
|
|
3028
|
-
type:
|
|
3029
|
-
default:
|
|
3030
|
-
};
|
|
3031
|
-
disabled: {
|
|
3032
|
-
type: BooleanConstructor;
|
|
3033
|
-
default: boolean;
|
|
3114
|
+
cardSize: {
|
|
3115
|
+
type: PropType<EnumStatusCardSize>;
|
|
3116
|
+
default: string;
|
|
3034
3117
|
};
|
|
3035
3118
|
}>> & Readonly<{
|
|
3036
3119
|
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
3037
3120
|
}>, {}, {}, {}, {}, {
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3121
|
+
subscribes: ProductSubscribe[];
|
|
3122
|
+
cardSize: EnumStatusCardSize;
|
|
3123
|
+
enumStatusConfigs: EnumStatusConfig[];
|
|
3124
|
+
showReset: boolean;
|
|
3125
|
+
bindData: ProductSubscribe[];
|
|
3126
|
+
showBtnText: string;
|
|
3127
|
+
showDialogText: string;
|
|
3044
3128
|
}>;
|
|
3045
3129
|
__isFragment?: never;
|
|
3046
3130
|
__isTeleport?: never;
|
|
3047
3131
|
__isSuspense?: never;
|
|
3048
3132
|
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
3049
|
-
|
|
3050
|
-
type:
|
|
3051
|
-
default:
|
|
3133
|
+
subscribes: {
|
|
3134
|
+
type: PropType<ProductSubscribe[]>;
|
|
3135
|
+
default: () => never[];
|
|
3052
3136
|
};
|
|
3053
|
-
|
|
3054
|
-
type:
|
|
3055
|
-
default:
|
|
3137
|
+
enumStatusConfigs: {
|
|
3138
|
+
type: PropType<EnumStatusConfig[]>;
|
|
3139
|
+
default: () => never[];
|
|
3140
|
+
};
|
|
3141
|
+
showReset: {
|
|
3142
|
+
type: BooleanConstructor;
|
|
3143
|
+
default: boolean;
|
|
3056
3144
|
};
|
|
3057
|
-
|
|
3145
|
+
bindData: {
|
|
3146
|
+
type: PropType<ProductSubscribe[]>;
|
|
3147
|
+
default: () => never[];
|
|
3148
|
+
};
|
|
3149
|
+
showBtnText: {
|
|
3058
3150
|
type: StringConstructor;
|
|
3059
3151
|
default: string;
|
|
3060
3152
|
};
|
|
3061
|
-
|
|
3153
|
+
showDialogText: {
|
|
3062
3154
|
type: StringConstructor;
|
|
3063
3155
|
default: string;
|
|
3064
3156
|
};
|
|
3065
|
-
|
|
3066
|
-
type:
|
|
3067
|
-
default:
|
|
3068
|
-
};
|
|
3069
|
-
disabled: {
|
|
3070
|
-
type: BooleanConstructor;
|
|
3071
|
-
default: boolean;
|
|
3157
|
+
cardSize: {
|
|
3158
|
+
type: PropType<EnumStatusCardSize>;
|
|
3159
|
+
default: string;
|
|
3072
3160
|
};
|
|
3073
3161
|
}>> & Readonly<{
|
|
3074
3162
|
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
3075
3163
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3076
3164
|
"expanded-change": (expanded: boolean) => any;
|
|
3077
3165
|
}, string, {
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3166
|
+
subscribes: ProductSubscribe[];
|
|
3167
|
+
cardSize: EnumStatusCardSize;
|
|
3168
|
+
enumStatusConfigs: EnumStatusConfig[];
|
|
3169
|
+
showReset: boolean;
|
|
3170
|
+
bindData: ProductSubscribe[];
|
|
3171
|
+
showBtnText: string;
|
|
3172
|
+
showDialogText: string;
|
|
3084
3173
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3085
3174
|
$slots: {
|
|
3086
3175
|
icon?(_: {}): any;
|
|
@@ -3093,23 +3182,23 @@ export declare const UpEnumStatusGauge: {
|
|
|
3093
3182
|
type: StringConstructor;
|
|
3094
3183
|
default: string;
|
|
3095
3184
|
};
|
|
3096
|
-
|
|
3185
|
+
currentLabel: {
|
|
3097
3186
|
type: StringConstructor;
|
|
3098
3187
|
default: string;
|
|
3099
3188
|
};
|
|
3100
|
-
|
|
3101
|
-
type:
|
|
3102
|
-
default:
|
|
3189
|
+
enumCount: {
|
|
3190
|
+
type: NumberConstructor;
|
|
3191
|
+
default: number;
|
|
3103
3192
|
};
|
|
3104
|
-
|
|
3193
|
+
selectedIndex: {
|
|
3105
3194
|
type: NumberConstructor;
|
|
3106
3195
|
default: number;
|
|
3107
3196
|
};
|
|
3108
3197
|
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
3109
3198
|
statusText: string;
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3199
|
+
currentLabel: string;
|
|
3200
|
+
enumCount: number;
|
|
3201
|
+
selectedIndex: number;
|
|
3113
3202
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
3114
3203
|
P: {};
|
|
3115
3204
|
B: {};
|
|
@@ -3122,23 +3211,23 @@ export declare const UpEnumStatusGauge: {
|
|
|
3122
3211
|
type: StringConstructor;
|
|
3123
3212
|
default: string;
|
|
3124
3213
|
};
|
|
3125
|
-
|
|
3214
|
+
currentLabel: {
|
|
3126
3215
|
type: StringConstructor;
|
|
3127
3216
|
default: string;
|
|
3128
3217
|
};
|
|
3129
|
-
|
|
3130
|
-
type:
|
|
3131
|
-
default:
|
|
3218
|
+
enumCount: {
|
|
3219
|
+
type: NumberConstructor;
|
|
3220
|
+
default: number;
|
|
3132
3221
|
};
|
|
3133
|
-
|
|
3222
|
+
selectedIndex: {
|
|
3134
3223
|
type: NumberConstructor;
|
|
3135
3224
|
default: number;
|
|
3136
3225
|
};
|
|
3137
3226
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
3138
3227
|
statusText: string;
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3228
|
+
currentLabel: string;
|
|
3229
|
+
enumCount: number;
|
|
3230
|
+
selectedIndex: number;
|
|
3142
3231
|
}>;
|
|
3143
3232
|
__isFragment?: never;
|
|
3144
3233
|
__isTeleport?: never;
|
|
@@ -3148,23 +3237,23 @@ statusText: {
|
|
|
3148
3237
|
type: StringConstructor;
|
|
3149
3238
|
default: string;
|
|
3150
3239
|
};
|
|
3151
|
-
|
|
3240
|
+
currentLabel: {
|
|
3152
3241
|
type: StringConstructor;
|
|
3153
3242
|
default: string;
|
|
3154
3243
|
};
|
|
3155
|
-
|
|
3156
|
-
type:
|
|
3157
|
-
default:
|
|
3244
|
+
enumCount: {
|
|
3245
|
+
type: NumberConstructor;
|
|
3246
|
+
default: number;
|
|
3158
3247
|
};
|
|
3159
|
-
|
|
3248
|
+
selectedIndex: {
|
|
3160
3249
|
type: NumberConstructor;
|
|
3161
3250
|
default: number;
|
|
3162
3251
|
};
|
|
3163
3252
|
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
3164
3253
|
statusText: string;
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3254
|
+
currentLabel: string;
|
|
3255
|
+
enumCount: number;
|
|
3256
|
+
selectedIndex: number;
|
|
3168
3257
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
3169
3258
|
|
|
3170
3259
|
export declare const UpFirmwareUpdates: {
|
|
@@ -4096,42 +4185,19 @@ readonly wheelUnit: GeneralTimeSwitchWheelUnit;
|
|
|
4096
4185
|
|
|
4097
4186
|
export declare const UpGeneralWarn: {
|
|
4098
4187
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
4099
|
-
|
|
4100
|
-
type:
|
|
4101
|
-
default:
|
|
4102
|
-
};
|
|
4103
|
-
isClickable: {
|
|
4104
|
-
type: BooleanConstructor;
|
|
4105
|
-
default: boolean;
|
|
4106
|
-
};
|
|
4107
|
-
faultReason: {
|
|
4108
|
-
type: StringConstructor;
|
|
4109
|
-
default: string;
|
|
4110
|
-
};
|
|
4111
|
-
solution: {
|
|
4112
|
-
type: StringConstructor;
|
|
4113
|
-
default: string;
|
|
4114
|
-
};
|
|
4115
|
-
servicePhone: {
|
|
4116
|
-
type: StringConstructor;
|
|
4117
|
-
default: string;
|
|
4118
|
-
};
|
|
4119
|
-
purchaseLink: {
|
|
4120
|
-
type: StringConstructor;
|
|
4121
|
-
default: string;
|
|
4188
|
+
enumConfigs: {
|
|
4189
|
+
type: PropType<GeneralWarnConfig[]>;
|
|
4190
|
+
default: () => never[];
|
|
4122
4191
|
};
|
|
4123
4192
|
}>> & Readonly<{
|
|
4124
4193
|
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
4125
4194
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4126
4195
|
"expanded-change": (expanded: boolean) => any;
|
|
4127
4196
|
}, PublicProps, {
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
servicePhone: string;
|
|
4133
|
-
purchaseLink: string;
|
|
4134
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
4197
|
+
enumConfigs: GeneralWarnConfig[];
|
|
4198
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4199
|
+
stripRef: HTMLDivElement;
|
|
4200
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
4135
4201
|
P: {};
|
|
4136
4202
|
B: {};
|
|
4137
4203
|
D: {};
|
|
@@ -4139,79 +4205,29 @@ export declare const UpGeneralWarn: {
|
|
|
4139
4205
|
M: {};
|
|
4140
4206
|
Defaults: {};
|
|
4141
4207
|
}, Readonly<ExtractPropTypes< {
|
|
4142
|
-
|
|
4143
|
-
type:
|
|
4144
|
-
default:
|
|
4145
|
-
};
|
|
4146
|
-
isClickable: {
|
|
4147
|
-
type: BooleanConstructor;
|
|
4148
|
-
default: boolean;
|
|
4149
|
-
};
|
|
4150
|
-
faultReason: {
|
|
4151
|
-
type: StringConstructor;
|
|
4152
|
-
default: string;
|
|
4153
|
-
};
|
|
4154
|
-
solution: {
|
|
4155
|
-
type: StringConstructor;
|
|
4156
|
-
default: string;
|
|
4157
|
-
};
|
|
4158
|
-
servicePhone: {
|
|
4159
|
-
type: StringConstructor;
|
|
4160
|
-
default: string;
|
|
4161
|
-
};
|
|
4162
|
-
purchaseLink: {
|
|
4163
|
-
type: StringConstructor;
|
|
4164
|
-
default: string;
|
|
4208
|
+
enumConfigs: {
|
|
4209
|
+
type: PropType<GeneralWarnConfig[]>;
|
|
4210
|
+
default: () => never[];
|
|
4165
4211
|
};
|
|
4166
4212
|
}>> & Readonly<{
|
|
4167
4213
|
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
4168
4214
|
}>, {}, {}, {}, {}, {
|
|
4169
|
-
|
|
4170
|
-
isClickable: boolean;
|
|
4171
|
-
faultReason: string;
|
|
4172
|
-
solution: string;
|
|
4173
|
-
servicePhone: string;
|
|
4174
|
-
purchaseLink: string;
|
|
4215
|
+
enumConfigs: GeneralWarnConfig[];
|
|
4175
4216
|
}>;
|
|
4176
4217
|
__isFragment?: never;
|
|
4177
4218
|
__isTeleport?: never;
|
|
4178
4219
|
__isSuspense?: never;
|
|
4179
4220
|
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
4180
|
-
|
|
4181
|
-
type:
|
|
4182
|
-
default:
|
|
4183
|
-
};
|
|
4184
|
-
isClickable: {
|
|
4185
|
-
type: BooleanConstructor;
|
|
4186
|
-
default: boolean;
|
|
4187
|
-
};
|
|
4188
|
-
faultReason: {
|
|
4189
|
-
type: StringConstructor;
|
|
4190
|
-
default: string;
|
|
4191
|
-
};
|
|
4192
|
-
solution: {
|
|
4193
|
-
type: StringConstructor;
|
|
4194
|
-
default: string;
|
|
4195
|
-
};
|
|
4196
|
-
servicePhone: {
|
|
4197
|
-
type: StringConstructor;
|
|
4198
|
-
default: string;
|
|
4199
|
-
};
|
|
4200
|
-
purchaseLink: {
|
|
4201
|
-
type: StringConstructor;
|
|
4202
|
-
default: string;
|
|
4221
|
+
enumConfigs: {
|
|
4222
|
+
type: PropType<GeneralWarnConfig[]>;
|
|
4223
|
+
default: () => never[];
|
|
4203
4224
|
};
|
|
4204
4225
|
}>> & Readonly<{
|
|
4205
4226
|
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
4206
4227
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4207
4228
|
"expanded-change": (expanded: boolean) => any;
|
|
4208
4229
|
}, string, {
|
|
4209
|
-
|
|
4210
|
-
isClickable: boolean;
|
|
4211
|
-
faultReason: string;
|
|
4212
|
-
solution: string;
|
|
4213
|
-
servicePhone: string;
|
|
4214
|
-
purchaseLink: string;
|
|
4230
|
+
enumConfigs: GeneralWarnConfig[];
|
|
4215
4231
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
4216
4232
|
|
|
4217
4233
|
export declare const UpLampCCT: {
|
|
@@ -5205,6 +5221,96 @@ title: string;
|
|
|
5205
5221
|
cardSize: TableLampMorningCardSize;
|
|
5206
5222
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
5207
5223
|
|
|
5224
|
+
export declare const UpTableLampNightWake: {
|
|
5225
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
5226
|
+
cardSize: {
|
|
5227
|
+
type: PropType<TableLampNightWakeCardSize>;
|
|
5228
|
+
default: string;
|
|
5229
|
+
};
|
|
5230
|
+
title: {
|
|
5231
|
+
type: StringConstructor;
|
|
5232
|
+
default: string;
|
|
5233
|
+
};
|
|
5234
|
+
showDetailHint: {
|
|
5235
|
+
type: BooleanConstructor;
|
|
5236
|
+
default: boolean;
|
|
5237
|
+
};
|
|
5238
|
+
detailHint: {
|
|
5239
|
+
type: StringConstructor;
|
|
5240
|
+
default: string;
|
|
5241
|
+
};
|
|
5242
|
+
}>> & Readonly<{
|
|
5243
|
+
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
5244
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5245
|
+
"expanded-change": (expanded: boolean) => any;
|
|
5246
|
+
}, PublicProps, {
|
|
5247
|
+
title: string;
|
|
5248
|
+
cardSize: TableLampNightWakeCardSize;
|
|
5249
|
+
showDetailHint: boolean;
|
|
5250
|
+
detailHint: string;
|
|
5251
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
5252
|
+
P: {};
|
|
5253
|
+
B: {};
|
|
5254
|
+
D: {};
|
|
5255
|
+
C: {};
|
|
5256
|
+
M: {};
|
|
5257
|
+
Defaults: {};
|
|
5258
|
+
}, Readonly<ExtractPropTypes< {
|
|
5259
|
+
cardSize: {
|
|
5260
|
+
type: PropType<TableLampNightWakeCardSize>;
|
|
5261
|
+
default: string;
|
|
5262
|
+
};
|
|
5263
|
+
title: {
|
|
5264
|
+
type: StringConstructor;
|
|
5265
|
+
default: string;
|
|
5266
|
+
};
|
|
5267
|
+
showDetailHint: {
|
|
5268
|
+
type: BooleanConstructor;
|
|
5269
|
+
default: boolean;
|
|
5270
|
+
};
|
|
5271
|
+
detailHint: {
|
|
5272
|
+
type: StringConstructor;
|
|
5273
|
+
default: string;
|
|
5274
|
+
};
|
|
5275
|
+
}>> & Readonly<{
|
|
5276
|
+
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
5277
|
+
}>, {}, {}, {}, {}, {
|
|
5278
|
+
title: string;
|
|
5279
|
+
cardSize: TableLampNightWakeCardSize;
|
|
5280
|
+
showDetailHint: boolean;
|
|
5281
|
+
detailHint: string;
|
|
5282
|
+
}>;
|
|
5283
|
+
__isFragment?: never;
|
|
5284
|
+
__isTeleport?: never;
|
|
5285
|
+
__isSuspense?: never;
|
|
5286
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
5287
|
+
cardSize: {
|
|
5288
|
+
type: PropType<TableLampNightWakeCardSize>;
|
|
5289
|
+
default: string;
|
|
5290
|
+
};
|
|
5291
|
+
title: {
|
|
5292
|
+
type: StringConstructor;
|
|
5293
|
+
default: string;
|
|
5294
|
+
};
|
|
5295
|
+
showDetailHint: {
|
|
5296
|
+
type: BooleanConstructor;
|
|
5297
|
+
default: boolean;
|
|
5298
|
+
};
|
|
5299
|
+
detailHint: {
|
|
5300
|
+
type: StringConstructor;
|
|
5301
|
+
default: string;
|
|
5302
|
+
};
|
|
5303
|
+
}>> & Readonly<{
|
|
5304
|
+
"onExpanded-change"?: ((expanded: boolean) => any) | undefined;
|
|
5305
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5306
|
+
"expanded-change": (expanded: boolean) => any;
|
|
5307
|
+
}, string, {
|
|
5308
|
+
title: string;
|
|
5309
|
+
cardSize: TableLampNightWakeCardSize;
|
|
5310
|
+
showDetailHint: boolean;
|
|
5311
|
+
detailHint: string;
|
|
5312
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
5313
|
+
|
|
5208
5314
|
export declare const UpTableLampSleepy: {
|
|
5209
5315
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
5210
5316
|
cardSize: {
|
|
@@ -5658,14 +5764,6 @@ declare interface UseNumericInputDialogOptions {
|
|
|
5658
5764
|
invalidText?: MaybeRef<string | undefined>;
|
|
5659
5765
|
}
|
|
5660
5766
|
|
|
5661
|
-
/**
|
|
5662
|
-
* 在任意子组件中使用:对 inject 到的设备 `state` 按与 `getStateValue` 相同规则写入嵌套路径 `state[sid][cid]`。
|
|
5663
|
-
* 返回 `false` 表示当前无注入或目标非法。
|
|
5664
|
-
*/
|
|
5665
|
-
export declare function usePatchInjectedDeviceInfoState(): {
|
|
5666
|
-
patchInjectedStateValue: (sid: string, cid: string, value: unknown) => boolean;
|
|
5667
|
-
};
|
|
5668
|
-
|
|
5669
5767
|
/**
|
|
5670
5768
|
* 将主订阅解析为卡片标题展示文案(通过宿主 `resolveTextByKey` 查 `prodId.sid.cid`)。
|
|
5671
5769
|
*/
|
|
@@ -5958,6 +6056,7 @@ export declare const zhCN: {
|
|
|
5958
6056
|
};
|
|
5959
6057
|
generalWarn: {
|
|
5960
6058
|
detailTitle: string;
|
|
6059
|
+
ariaBack: string;
|
|
5961
6060
|
faultReason: string;
|
|
5962
6061
|
solution: string;
|
|
5963
6062
|
servicePhone: string;
|
|
@@ -6026,6 +6125,25 @@ export declare const zhCN: {
|
|
|
6026
6125
|
};
|
|
6027
6126
|
rangeValue: string;
|
|
6028
6127
|
};
|
|
6128
|
+
tableLampNightWake: {
|
|
6129
|
+
cardTitle: string;
|
|
6130
|
+
aria: {
|
|
6131
|
+
back: string;
|
|
6132
|
+
};
|
|
6133
|
+
field: {
|
|
6134
|
+
activePeriod: string;
|
|
6135
|
+
activePeriodValue: string;
|
|
6136
|
+
startTime: string;
|
|
6137
|
+
endTime: string;
|
|
6138
|
+
brightness: string;
|
|
6139
|
+
};
|
|
6140
|
+
detailHint: string;
|
|
6141
|
+
timeUnit: {
|
|
6142
|
+
hour: string;
|
|
6143
|
+
minute: string;
|
|
6144
|
+
};
|
|
6145
|
+
nextDayPrefix: string;
|
|
6146
|
+
};
|
|
6029
6147
|
tableLampSleepy: {
|
|
6030
6148
|
cardTitle: string;
|
|
6031
6149
|
aria: {
|
|
@@ -6061,6 +6179,9 @@ export declare const zhCN: {
|
|
|
6061
6179
|
infoTitle: string;
|
|
6062
6180
|
statPlaceholder: string;
|
|
6063
6181
|
};
|
|
6182
|
+
enumStatus: {
|
|
6183
|
+
gaugeCurrentLabel: string;
|
|
6184
|
+
};
|
|
6064
6185
|
lampColour: {
|
|
6065
6186
|
cardTitle: string;
|
|
6066
6187
|
cardSubtitle: string;
|