@ailife-dev-vue/uiplus 0.1.18-snapshot → 0.1.20-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 +203 -22
- package/dist/index.mjs +17882 -17028
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,9 @@ export declare interface ActionStatusbarConfirmDialogConfig {
|
|
|
27
27
|
content?: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/** 与 StatusBar 一致:`minute`→00:00,`second`→00:00:00 */
|
|
31
|
+
export declare type ActionStatusbarMiddleTimeUnit = DurationTimeUnit;
|
|
32
|
+
|
|
30
33
|
export declare type ActionStatusbarProps = ExtractPropTypes<typeof actionStatusbarProps>;
|
|
31
34
|
|
|
32
35
|
declare const actionStatusbarProps: {
|
|
@@ -56,6 +59,14 @@ declare const actionStatusbarProps: {
|
|
|
56
59
|
type: BooleanConstructor;
|
|
57
60
|
default: boolean;
|
|
58
61
|
};
|
|
62
|
+
middleAsTimeFormat: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
middleTimeUnit: {
|
|
67
|
+
type: PropType<ActionStatusbarMiddleTimeUnit>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
59
70
|
};
|
|
60
71
|
|
|
61
72
|
export declare type ActionStatusbarState = 0 | 1 | 2;
|
|
@@ -253,6 +264,9 @@ export declare interface Characteristic {
|
|
|
253
264
|
report?: number;
|
|
254
265
|
}
|
|
255
266
|
|
|
267
|
+
/** 与 StatusBar 一致:`minute`→00:00,`second`→00:00:00;作用于左下 int/float */
|
|
268
|
+
export declare type CommonBannerNewMiddleTimeUnit = DurationTimeUnit;
|
|
269
|
+
|
|
256
270
|
export declare type CommonBannerNewProps = ExtractPropTypes<typeof commonBannerNewProps>;
|
|
257
271
|
|
|
258
272
|
declare const commonBannerNewProps: {
|
|
@@ -284,6 +298,16 @@ declare const commonBannerNewProps: {
|
|
|
284
298
|
type: BooleanConstructor;
|
|
285
299
|
default: boolean;
|
|
286
300
|
};
|
|
301
|
+
/** 左下绑 int/float 时是否格式化为时间;enum 忽略 */
|
|
302
|
+
middleAsTimeFormat: {
|
|
303
|
+
type: BooleanConstructor;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
306
|
+
/** middleAsTimeFormat=true 时生效;默认 minute→00:00 */
|
|
307
|
+
middleTimeUnit: {
|
|
308
|
+
type: PropType<CommonBannerNewMiddleTimeUnit>;
|
|
309
|
+
default: string;
|
|
310
|
+
};
|
|
287
311
|
enableOpenDialog: {
|
|
288
312
|
type: BooleanConstructor;
|
|
289
313
|
default: boolean;
|
|
@@ -327,7 +351,8 @@ export declare type CommonInfoEnumItemConfig = CommonInfoItemConfigBase & {
|
|
|
327
351
|
export declare type CommonInfoIntFloatItemConfig = CommonInfoItemConfigBase & {
|
|
328
352
|
valueMode?: CommonInfoValueMode;
|
|
329
353
|
asTimeFormat?: boolean;
|
|
330
|
-
|
|
354
|
+
/** asTimeFormat=true:minute → 00:00,second → 00:00:00(仅做数值换算,不约定上报单位) */
|
|
355
|
+
timeUnit?: DurationTimeUnit;
|
|
331
356
|
unit?: string;
|
|
332
357
|
};
|
|
333
358
|
|
|
@@ -422,6 +447,9 @@ export declare interface DeviceInfoBase {
|
|
|
422
447
|
quickmenu?: unknown[];
|
|
423
448
|
}
|
|
424
449
|
|
|
450
|
+
/** 时间展示枚举:`minute`→00:00,`second`→00:00:00(仅做数值换算,不约定上报单位) */
|
|
451
|
+
export declare type DurationTimeUnit = 'minute' | 'second';
|
|
452
|
+
|
|
425
453
|
/**
|
|
426
454
|
* 设备产品档案模型与规则判定工具:
|
|
427
455
|
* - 定义 profile/services/characteristics/state 的核心类型;
|
|
@@ -2049,7 +2077,7 @@ declare type StatusBarBinaryState = 0 | 1;
|
|
|
2049
2077
|
/** 与 `sendHilinkDeviceControl` / `window.hilink._deviceControlInner` 约定一致 */
|
|
2050
2078
|
export declare type StatusBarCommandPayload = HilinkDeviceControlPayload;
|
|
2051
2079
|
|
|
2052
|
-
export declare type StatusBarMiddleTimeUnit =
|
|
2080
|
+
export declare type StatusBarMiddleTimeUnit = DurationTimeUnit;
|
|
2053
2081
|
|
|
2054
2082
|
export declare type StatusBarProps = ExtractPropTypes<typeof statusBarProps>;
|
|
2055
2083
|
|
|
@@ -2186,14 +2214,14 @@ declare const subpageDisplayItemProps: {
|
|
|
2186
2214
|
type: BooleanConstructor;
|
|
2187
2215
|
default: boolean;
|
|
2188
2216
|
};
|
|
2189
|
-
/** 仅 int/float 且 asTimeFormat=true:minute →
|
|
2217
|
+
/** 仅 int/float 且 asTimeFormat=true:minute → 00:00,second → 00:00:00(仅做数值换算,不约定上报单位) */
|
|
2190
2218
|
timeUnit: {
|
|
2191
2219
|
type: PropType<SubpageDisplayItemTimeUnit>;
|
|
2192
2220
|
default: string;
|
|
2193
2221
|
};
|
|
2194
2222
|
};
|
|
2195
2223
|
|
|
2196
|
-
export declare type SubpageDisplayItemTimeUnit =
|
|
2224
|
+
export declare type SubpageDisplayItemTimeUnit = DurationTimeUnit;
|
|
2197
2225
|
|
|
2198
2226
|
export declare type SubpageEnumItemCommandPayload = HilinkDeviceControlPayload;
|
|
2199
2227
|
|
|
@@ -2377,6 +2405,26 @@ declare const tableLampSleepyProps: {
|
|
|
2377
2405
|
};
|
|
2378
2406
|
};
|
|
2379
2407
|
|
|
2408
|
+
export declare interface TextProps {
|
|
2409
|
+
/** 展示文案;text-or-key;解析 trim 为空则不渲染 */
|
|
2410
|
+
content?: string;
|
|
2411
|
+
/** 字号 px;未传或非法用主题默认 */
|
|
2412
|
+
fontSize?: number;
|
|
2413
|
+
/** 浅色主题文字色;空或非法时按深浅回退规则处理 */
|
|
2414
|
+
color?: string;
|
|
2415
|
+
/** 深色主题文字色;空或非法时按深浅回退规则处理 */
|
|
2416
|
+
darkColor?: string;
|
|
2417
|
+
/** 文案水平对齐:left / center / right;非法回退 left */
|
|
2418
|
+
textAlign?: TextTextAlign;
|
|
2419
|
+
/**
|
|
2420
|
+
* 是否套标准卡壳:白底 / 深色 #2a2b2f、16px 圆角、四向 16px 内边距。
|
|
2421
|
+
* 默认 false,保持无背景无圆角。
|
|
2422
|
+
*/
|
|
2423
|
+
showBackground?: boolean;
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
export declare type TextTextAlign = 'left' | 'center' | 'right';
|
|
2427
|
+
|
|
2380
2428
|
export declare type TimerCardSize = 'full' | 'half';
|
|
2381
2429
|
|
|
2382
2430
|
declare type TimerCommandPayload = HilinkDeviceControlPayload;
|
|
@@ -2483,6 +2531,13 @@ declare const timeWheelPickerProps: {
|
|
|
2483
2531
|
|
|
2484
2532
|
export declare type TimeWheelPickerValue = Record<string, string | number>;
|
|
2485
2533
|
|
|
2534
|
+
/**
|
|
2535
|
+
* 大屏视口最小宽度(px)。
|
|
2536
|
+
* 须与 theme `$up-large-screen-min-width` / `@mixin up-large-screen` 保持一致
|
|
2537
|
+
*(`@media` 不宜依赖 CSS 变量)。
|
|
2538
|
+
*/
|
|
2539
|
+
export declare const UP_LARGE_SCREEN_MIN_WIDTH = 700;
|
|
2540
|
+
|
|
2486
2541
|
export declare const UpActionStatusbar: {
|
|
2487
2542
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
2488
2543
|
subscribesAction: {
|
|
@@ -2509,14 +2564,27 @@ export declare const UpActionStatusbar: {
|
|
|
2509
2564
|
type: BooleanConstructor;
|
|
2510
2565
|
default: boolean;
|
|
2511
2566
|
};
|
|
2567
|
+
middleAsTimeFormat: {
|
|
2568
|
+
type: BooleanConstructor;
|
|
2569
|
+
default: boolean;
|
|
2570
|
+
};
|
|
2571
|
+
middleTimeUnit: {
|
|
2572
|
+
type: PropType<ActionStatusbarMiddleTimeUnit>;
|
|
2573
|
+
default: string;
|
|
2574
|
+
};
|
|
2512
2575
|
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
2513
2576
|
subscribesCenter: ProductSubscribe[];
|
|
2514
2577
|
showMiddle: boolean;
|
|
2515
2578
|
showMiddleWhenOff: boolean;
|
|
2579
|
+
middleAsTimeFormat: boolean;
|
|
2580
|
+
middleTimeUnit: DurationTimeUnit;
|
|
2516
2581
|
subscribesAction: ProductSubscribe[];
|
|
2517
2582
|
subscribesStatus: ProductSubscribe[];
|
|
2518
2583
|
statusConfigs: ActionStatusbarStatusConfig[];
|
|
2519
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
2584
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
2585
|
+
middleRef: HTMLDivElement;
|
|
2586
|
+
middlePrimaryRef: HTMLDivElement;
|
|
2587
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
2520
2588
|
P: {};
|
|
2521
2589
|
B: {};
|
|
2522
2590
|
D: {};
|
|
@@ -2548,10 +2616,20 @@ export declare const UpActionStatusbar: {
|
|
|
2548
2616
|
type: BooleanConstructor;
|
|
2549
2617
|
default: boolean;
|
|
2550
2618
|
};
|
|
2619
|
+
middleAsTimeFormat: {
|
|
2620
|
+
type: BooleanConstructor;
|
|
2621
|
+
default: boolean;
|
|
2622
|
+
};
|
|
2623
|
+
middleTimeUnit: {
|
|
2624
|
+
type: PropType<ActionStatusbarMiddleTimeUnit>;
|
|
2625
|
+
default: string;
|
|
2626
|
+
};
|
|
2551
2627
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
2552
2628
|
subscribesCenter: ProductSubscribe[];
|
|
2553
2629
|
showMiddle: boolean;
|
|
2554
2630
|
showMiddleWhenOff: boolean;
|
|
2631
|
+
middleAsTimeFormat: boolean;
|
|
2632
|
+
middleTimeUnit: DurationTimeUnit;
|
|
2555
2633
|
subscribesAction: ProductSubscribe[];
|
|
2556
2634
|
subscribesStatus: ProductSubscribe[];
|
|
2557
2635
|
statusConfigs: ActionStatusbarStatusConfig[];
|
|
@@ -2584,10 +2662,20 @@ showMiddleWhenOff: {
|
|
|
2584
2662
|
type: BooleanConstructor;
|
|
2585
2663
|
default: boolean;
|
|
2586
2664
|
};
|
|
2665
|
+
middleAsTimeFormat: {
|
|
2666
|
+
type: BooleanConstructor;
|
|
2667
|
+
default: boolean;
|
|
2668
|
+
};
|
|
2669
|
+
middleTimeUnit: {
|
|
2670
|
+
type: PropType<ActionStatusbarMiddleTimeUnit>;
|
|
2671
|
+
default: string;
|
|
2672
|
+
};
|
|
2587
2673
|
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
2588
2674
|
subscribesCenter: ProductSubscribe[];
|
|
2589
2675
|
showMiddle: boolean;
|
|
2590
2676
|
showMiddleWhenOff: boolean;
|
|
2677
|
+
middleAsTimeFormat: boolean;
|
|
2678
|
+
middleTimeUnit: DurationTimeUnit;
|
|
2591
2679
|
subscribesAction: ProductSubscribe[];
|
|
2592
2680
|
subscribesStatus: ProductSubscribe[];
|
|
2593
2681
|
statusConfigs: ActionStatusbarStatusConfig[];
|
|
@@ -3366,6 +3454,14 @@ export declare const UpCommonBannerNew: {
|
|
|
3366
3454
|
type: BooleanConstructor;
|
|
3367
3455
|
default: boolean;
|
|
3368
3456
|
};
|
|
3457
|
+
middleAsTimeFormat: {
|
|
3458
|
+
type: BooleanConstructor;
|
|
3459
|
+
default: boolean;
|
|
3460
|
+
};
|
|
3461
|
+
middleTimeUnit: {
|
|
3462
|
+
type: PropType<CommonBannerNewMiddleTimeUnit>;
|
|
3463
|
+
default: string;
|
|
3464
|
+
};
|
|
3369
3465
|
enableOpenDialog: {
|
|
3370
3466
|
type: BooleanConstructor;
|
|
3371
3467
|
default: boolean;
|
|
@@ -3407,6 +3503,8 @@ export declare const UpCommonBannerNew: {
|
|
|
3407
3503
|
closeDialogShowTitle: boolean;
|
|
3408
3504
|
closeDialogTitle: string;
|
|
3409
3505
|
closeDialogContent: string;
|
|
3506
|
+
middleAsTimeFormat: boolean;
|
|
3507
|
+
middleTimeUnit: DurationTimeUnit;
|
|
3410
3508
|
subscribesLeftTop: ProductSubscribe[];
|
|
3411
3509
|
showLeftBottom: boolean;
|
|
3412
3510
|
subscribesLeftBottom: ProductSubscribe[];
|
|
@@ -3450,6 +3548,14 @@ export declare const UpCommonBannerNew: {
|
|
|
3450
3548
|
type: BooleanConstructor;
|
|
3451
3549
|
default: boolean;
|
|
3452
3550
|
};
|
|
3551
|
+
middleAsTimeFormat: {
|
|
3552
|
+
type: BooleanConstructor;
|
|
3553
|
+
default: boolean;
|
|
3554
|
+
};
|
|
3555
|
+
middleTimeUnit: {
|
|
3556
|
+
type: PropType<CommonBannerNewMiddleTimeUnit>;
|
|
3557
|
+
default: string;
|
|
3558
|
+
};
|
|
3453
3559
|
enableOpenDialog: {
|
|
3454
3560
|
type: BooleanConstructor;
|
|
3455
3561
|
default: boolean;
|
|
@@ -3491,6 +3597,8 @@ export declare const UpCommonBannerNew: {
|
|
|
3491
3597
|
closeDialogShowTitle: boolean;
|
|
3492
3598
|
closeDialogTitle: string;
|
|
3493
3599
|
closeDialogContent: string;
|
|
3600
|
+
middleAsTimeFormat: boolean;
|
|
3601
|
+
middleTimeUnit: DurationTimeUnit;
|
|
3494
3602
|
subscribesLeftTop: ProductSubscribe[];
|
|
3495
3603
|
showLeftBottom: boolean;
|
|
3496
3604
|
subscribesLeftBottom: ProductSubscribe[];
|
|
@@ -3531,6 +3639,14 @@ showBottomWhenOff: {
|
|
|
3531
3639
|
type: BooleanConstructor;
|
|
3532
3640
|
default: boolean;
|
|
3533
3641
|
};
|
|
3642
|
+
middleAsTimeFormat: {
|
|
3643
|
+
type: BooleanConstructor;
|
|
3644
|
+
default: boolean;
|
|
3645
|
+
};
|
|
3646
|
+
middleTimeUnit: {
|
|
3647
|
+
type: PropType<CommonBannerNewMiddleTimeUnit>;
|
|
3648
|
+
default: string;
|
|
3649
|
+
};
|
|
3534
3650
|
enableOpenDialog: {
|
|
3535
3651
|
type: BooleanConstructor;
|
|
3536
3652
|
default: boolean;
|
|
@@ -3572,6 +3688,8 @@ enableCloseDialog: boolean;
|
|
|
3572
3688
|
closeDialogShowTitle: boolean;
|
|
3573
3689
|
closeDialogTitle: string;
|
|
3574
3690
|
closeDialogContent: string;
|
|
3691
|
+
middleAsTimeFormat: boolean;
|
|
3692
|
+
middleTimeUnit: DurationTimeUnit;
|
|
3575
3693
|
subscribesLeftTop: ProductSubscribe[];
|
|
3576
3694
|
showLeftBottom: boolean;
|
|
3577
3695
|
subscribesLeftBottom: ProductSubscribe[];
|
|
@@ -3786,6 +3904,7 @@ export declare const UpEnumStatus: {
|
|
|
3786
3904
|
contentRef: HTMLDivElement;
|
|
3787
3905
|
titleRef: HTMLDivElement;
|
|
3788
3906
|
statusRef: HTMLDivElement;
|
|
3907
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
3789
3908
|
}, HTMLDivElement, ComponentProvideOptions, {
|
|
3790
3909
|
P: {};
|
|
3791
3910
|
B: {};
|
|
@@ -3912,7 +4031,9 @@ export declare const UpEnumStatusGauge: {
|
|
|
3912
4031
|
currentLabel: string;
|
|
3913
4032
|
enumCount: number;
|
|
3914
4033
|
selectedIndex: number;
|
|
3915
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4034
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4035
|
+
centerRef: HTMLDivElement;
|
|
4036
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
3916
4037
|
P: {};
|
|
3917
4038
|
B: {};
|
|
3918
4039
|
D: {};
|
|
@@ -4102,7 +4223,9 @@ export declare const UpGeneralDisplayCard: {
|
|
|
4102
4223
|
subscribes: ProductSubscribe[];
|
|
4103
4224
|
cardSize: GeneralDisplayCardCardSize;
|
|
4104
4225
|
level: GeneralDisplayCardLevelConfig[];
|
|
4105
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4226
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4227
|
+
mainRef: HTMLDivElement;
|
|
4228
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
4106
4229
|
P: {};
|
|
4107
4230
|
B: {};
|
|
4108
4231
|
D: {};
|
|
@@ -4925,7 +5048,9 @@ export declare const UpGeneralIntCircular: {
|
|
|
4925
5048
|
displayUnit: string;
|
|
4926
5049
|
wheelLoop: boolean;
|
|
4927
5050
|
dialogSubtitle: string;
|
|
4928
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5051
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5052
|
+
textRef: HTMLDivElement;
|
|
5053
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
4929
5054
|
P: {};
|
|
4930
5055
|
B: {};
|
|
4931
5056
|
D: {};
|
|
@@ -5217,7 +5342,10 @@ export declare const UpGeneralScreen: {
|
|
|
5217
5342
|
};
|
|
5218
5343
|
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
5219
5344
|
filterElementItemConfigs: GeneralScreenFilterElementItemConfig[];
|
|
5220
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5345
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5346
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
5347
|
+
tutorialHeaderLeftRef: HTMLDivElement;
|
|
5348
|
+
}, any, ComponentProvideOptions, {
|
|
5221
5349
|
P: {};
|
|
5222
5350
|
B: {};
|
|
5223
5351
|
D: {};
|
|
@@ -5326,7 +5454,9 @@ export declare const UpGeneralTimeSwitch: {
|
|
|
5326
5454
|
readonly icon: string[];
|
|
5327
5455
|
readonly subscribesSecond: ProductSubscribe[];
|
|
5328
5456
|
readonly wheelUnit: GeneralTimeSwitchWheelUnit;
|
|
5329
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5457
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5458
|
+
textRef: HTMLDivElement;
|
|
5459
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
5330
5460
|
P: {};
|
|
5331
5461
|
B: {};
|
|
5332
5462
|
D: {};
|
|
@@ -5815,8 +5945,8 @@ zIndex: number;
|
|
|
5815
5945
|
placeholder: string;
|
|
5816
5946
|
inputmode: NumericInputFieldInputMode;
|
|
5817
5947
|
step: number;
|
|
5818
|
-
initialValue: number;
|
|
5819
5948
|
invalidText: string;
|
|
5949
|
+
initialValue: number;
|
|
5820
5950
|
integerOnly: boolean;
|
|
5821
5951
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5822
5952
|
|
|
@@ -6303,7 +6433,7 @@ export declare const UpStatisticChart: {
|
|
|
6303
6433
|
showLastValidValue: boolean;
|
|
6304
6434
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
6305
6435
|
chartEl: HTMLDivElement;
|
|
6306
|
-
},
|
|
6436
|
+
}, any, ComponentProvideOptions, {
|
|
6307
6437
|
P: {};
|
|
6308
6438
|
B: {};
|
|
6309
6439
|
D: {};
|
|
@@ -6517,8 +6647,11 @@ export declare const UpStatusBar: {
|
|
|
6517
6647
|
showMiddle: boolean;
|
|
6518
6648
|
showMiddleWhenOff: boolean;
|
|
6519
6649
|
middleAsTimeFormat: boolean;
|
|
6520
|
-
middleTimeUnit:
|
|
6521
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
6650
|
+
middleTimeUnit: DurationTimeUnit;
|
|
6651
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
6652
|
+
middleRef: HTMLDivElement;
|
|
6653
|
+
middlePrimaryRef: HTMLDivElement;
|
|
6654
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
6522
6655
|
P: {};
|
|
6523
6656
|
B: {};
|
|
6524
6657
|
D: {};
|
|
@@ -6601,7 +6734,7 @@ export declare const UpStatusBar: {
|
|
|
6601
6734
|
showMiddle: boolean;
|
|
6602
6735
|
showMiddleWhenOff: boolean;
|
|
6603
6736
|
middleAsTimeFormat: boolean;
|
|
6604
|
-
middleTimeUnit:
|
|
6737
|
+
middleTimeUnit: DurationTimeUnit;
|
|
6605
6738
|
}>;
|
|
6606
6739
|
__isFragment?: never;
|
|
6607
6740
|
__isTeleport?: never;
|
|
@@ -6682,7 +6815,7 @@ subscribesCenter: ProductSubscribe[];
|
|
|
6682
6815
|
showMiddle: boolean;
|
|
6683
6816
|
showMiddleWhenOff: boolean;
|
|
6684
6817
|
middleAsTimeFormat: boolean;
|
|
6685
|
-
middleTimeUnit:
|
|
6818
|
+
middleTimeUnit: DurationTimeUnit;
|
|
6686
6819
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
6687
6820
|
$slots: {
|
|
6688
6821
|
icon?(_: {}): any;
|
|
@@ -6866,7 +6999,7 @@ export declare const UpSubpageDisplayItem: {
|
|
|
6866
6999
|
subscribes: ProductSubscribe[];
|
|
6867
7000
|
displayUnit: string;
|
|
6868
7001
|
asTimeFormat: boolean;
|
|
6869
|
-
timeUnit:
|
|
7002
|
+
timeUnit: DurationTimeUnit;
|
|
6870
7003
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
6871
7004
|
P: {};
|
|
6872
7005
|
B: {};
|
|
@@ -6895,7 +7028,7 @@ export declare const UpSubpageDisplayItem: {
|
|
|
6895
7028
|
subscribes: ProductSubscribe[];
|
|
6896
7029
|
displayUnit: string;
|
|
6897
7030
|
asTimeFormat: boolean;
|
|
6898
|
-
timeUnit:
|
|
7031
|
+
timeUnit: DurationTimeUnit;
|
|
6899
7032
|
}>;
|
|
6900
7033
|
__isFragment?: never;
|
|
6901
7034
|
__isTeleport?: never;
|
|
@@ -6921,7 +7054,7 @@ default: string;
|
|
|
6921
7054
|
subscribes: ProductSubscribe[];
|
|
6922
7055
|
displayUnit: string;
|
|
6923
7056
|
asTimeFormat: boolean;
|
|
6924
|
-
timeUnit:
|
|
7057
|
+
timeUnit: DurationTimeUnit;
|
|
6925
7058
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
6926
7059
|
|
|
6927
7060
|
export declare const UpSubpageEnumItem: {
|
|
@@ -7008,6 +7141,7 @@ export declare const UpSubPageGroup: {
|
|
|
7008
7141
|
readonly leftIcon: string[];
|
|
7009
7142
|
readonly defTitle: WheelZoneTextEntry;
|
|
7010
7143
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7144
|
+
titleWrapRef: HTMLDivElement;
|
|
7011
7145
|
dropzoneRef: HTMLDivElement;
|
|
7012
7146
|
}, HTMLDivElement, ComponentProvideOptions, {
|
|
7013
7147
|
P: {};
|
|
@@ -7305,7 +7439,10 @@ export declare const UpTableLampMorning: {
|
|
|
7305
7439
|
}, PublicProps, {
|
|
7306
7440
|
title: string;
|
|
7307
7441
|
cardSize: TableLampMorningCardSize;
|
|
7308
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7442
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7443
|
+
contentRef: HTMLDivElement;
|
|
7444
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
7445
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
7309
7446
|
P: {};
|
|
7310
7447
|
B: {};
|
|
7311
7448
|
D: {};
|
|
@@ -7375,7 +7512,10 @@ export declare const UpTableLampNightWake: {
|
|
|
7375
7512
|
cardSize: TableLampNightWakeCardSize;
|
|
7376
7513
|
showDetailHint: boolean;
|
|
7377
7514
|
detailHint: string;
|
|
7378
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7515
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7516
|
+
contentRef: HTMLDivElement;
|
|
7517
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
7518
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
7379
7519
|
P: {};
|
|
7380
7520
|
B: {};
|
|
7381
7521
|
D: {};
|
|
@@ -7455,7 +7595,10 @@ export declare const UpTableLampSleepy: {
|
|
|
7455
7595
|
}, PublicProps, {
|
|
7456
7596
|
title: string;
|
|
7457
7597
|
cardSize: TableLampSleepyCardSize;
|
|
7458
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7598
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7599
|
+
contentRef: HTMLDivElement;
|
|
7600
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
7601
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
7459
7602
|
P: {};
|
|
7460
7603
|
B: {};
|
|
7461
7604
|
D: {};
|
|
@@ -7498,6 +7641,38 @@ title: string;
|
|
|
7498
7641
|
cardSize: TableLampSleepyCardSize;
|
|
7499
7642
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
7500
7643
|
|
|
7644
|
+
export declare const UpText: {
|
|
7645
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<TextProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
7646
|
+
color: string;
|
|
7647
|
+
content: string;
|
|
7648
|
+
textAlign: TextTextAlign;
|
|
7649
|
+
darkColor: string;
|
|
7650
|
+
showBackground: boolean;
|
|
7651
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
7652
|
+
P: {};
|
|
7653
|
+
B: {};
|
|
7654
|
+
D: {};
|
|
7655
|
+
C: {};
|
|
7656
|
+
M: {};
|
|
7657
|
+
Defaults: {};
|
|
7658
|
+
}, Readonly<TextProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
7659
|
+
color: string;
|
|
7660
|
+
content: string;
|
|
7661
|
+
textAlign: TextTextAlign;
|
|
7662
|
+
darkColor: string;
|
|
7663
|
+
showBackground: boolean;
|
|
7664
|
+
}>;
|
|
7665
|
+
__isFragment?: never;
|
|
7666
|
+
__isTeleport?: never;
|
|
7667
|
+
__isSuspense?: never;
|
|
7668
|
+
} & ComponentOptionsBase<Readonly<TextProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
7669
|
+
color: string;
|
|
7670
|
+
content: string;
|
|
7671
|
+
textAlign: TextTextAlign;
|
|
7672
|
+
darkColor: string;
|
|
7673
|
+
showBackground: boolean;
|
|
7674
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
7675
|
+
|
|
7501
7676
|
export declare const UpTimer: {
|
|
7502
7677
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
7503
7678
|
cardSize: {
|
|
@@ -7965,6 +8140,12 @@ export declare const useGlobalI18n: () => {
|
|
|
7965
8140
|
resolveTextByKey: (key: string, fallback?: string) => string;
|
|
7966
8141
|
};
|
|
7967
8142
|
|
|
8143
|
+
/**
|
|
8144
|
+
* 是否为大屏:视口宽度 ≥ {@link UP_LARGE_SCREEN_MIN_WIDTH}。
|
|
8145
|
+
* 供 UpCards 及后续需适配大屏的组件统一使用。
|
|
8146
|
+
*/
|
|
8147
|
+
export declare function useLargeScreen(): Ref<boolean>;
|
|
8148
|
+
|
|
7968
8149
|
/**
|
|
7969
8150
|
* Hook to access i18n translations for a specific component.
|
|
7970
8151
|
* Usage: const { t } = useLocale('enum-droplist-card')
|