@ailife-dev-vue/uiplus 0.1.17-snapshot → 0.1.19-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 +164 -33
- package/dist/index.mjs +17219 -16235
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1947,6 +1947,21 @@ export declare type StatisticChartDataSource = 'avg' | 'sum' | 'maxMin';
|
|
|
1947
1947
|
/** 统计维度模式:最近 N 天 / 天周月年(互斥) */
|
|
1948
1948
|
export declare type StatisticChartDimensionMode = 'recent' | 'calendar';
|
|
1949
1949
|
|
|
1950
|
+
/**
|
|
1951
|
+
* 业务:解析画布 i18n 对象 `{ key, zh_CN, en_US, type }`(兼容 zh/en)。
|
|
1952
|
+
* 优先 key→文案表,否则按当前语言取双语字段。
|
|
1953
|
+
*/
|
|
1954
|
+
export declare type StatisticChartI18nText = {
|
|
1955
|
+
key?: string;
|
|
1956
|
+
zh?: string;
|
|
1957
|
+
en?: string;
|
|
1958
|
+
zh_CN?: string;
|
|
1959
|
+
en_US?: string;
|
|
1960
|
+
'zh-CN'?: string;
|
|
1961
|
+
'en-US'?: string;
|
|
1962
|
+
type?: string;
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1950
1965
|
export declare type StatisticChartProps = ExtractPropTypes<typeof statisticChartProps>;
|
|
1951
1966
|
|
|
1952
1967
|
declare const statisticChartProps: {
|
|
@@ -1967,10 +1982,16 @@ declare const statisticChartProps: {
|
|
|
1967
1982
|
type: PropType<StatisticChartDataSource>;
|
|
1968
1983
|
default: string;
|
|
1969
1984
|
};
|
|
1970
|
-
|
|
1971
|
-
|
|
1985
|
+
/** 参考范围标题;画布 i18n 对象 */
|
|
1986
|
+
referenceRangesTitle: {
|
|
1987
|
+
type: PropType<StatisticChartI18nText | null>;
|
|
1972
1988
|
default: null;
|
|
1973
1989
|
};
|
|
1990
|
+
/** 参考范围分段列表;空则不展示参考范围区 */
|
|
1991
|
+
referenceRanges: {
|
|
1992
|
+
type: PropType<StatisticChartReferenceRangeItem[]>;
|
|
1993
|
+
default: () => never[];
|
|
1994
|
+
};
|
|
1974
1995
|
statsFollowTab: {
|
|
1975
1996
|
type: BooleanConstructor;
|
|
1976
1997
|
default: boolean;
|
|
@@ -1999,19 +2020,22 @@ declare const statisticChartProps: {
|
|
|
1999
2020
|
|
|
2000
2021
|
export declare type StatisticChartRecentTab = 'last7Days' | 'last30Days';
|
|
2001
2022
|
|
|
2002
|
-
|
|
2003
|
-
/** 区域标题;L2 i18n key */
|
|
2004
|
-
title: string;
|
|
2005
|
-
ranges: StatisticChartReferenceRangeItem[];
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2023
|
+
/** 参考范围分段:画布 i18n 对象 + 浅/暗色(字段名对齐宿主 schema) */
|
|
2008
2024
|
export declare interface StatisticChartReferenceRangeItem {
|
|
2009
|
-
/**
|
|
2010
|
-
|
|
2011
|
-
|
|
2025
|
+
/**
|
|
2026
|
+
* 色条上方段名(如「正常」)。
|
|
2027
|
+
* 宿主 schema 字段名为 `range`(与示例 JSON 一致)。
|
|
2028
|
+
*/
|
|
2029
|
+
range: StatisticChartI18nText;
|
|
2030
|
+
/**
|
|
2031
|
+
* 色条下方范围文案(如「15~20」)。
|
|
2032
|
+
* 宿主 schema 字段名为 `description`。
|
|
2033
|
+
*/
|
|
2034
|
+
description: StatisticChartI18nText;
|
|
2035
|
+
/** 浅色主题色条颜色 */
|
|
2012
2036
|
color: string;
|
|
2013
|
-
/**
|
|
2014
|
-
|
|
2037
|
+
/** 暗黑主题色条颜色;缺省回退 color */
|
|
2038
|
+
darkColor?: string;
|
|
2015
2039
|
}
|
|
2016
2040
|
|
|
2017
2041
|
/** 数据统计展示指标 */
|
|
@@ -2353,6 +2377,26 @@ declare const tableLampSleepyProps: {
|
|
|
2353
2377
|
};
|
|
2354
2378
|
};
|
|
2355
2379
|
|
|
2380
|
+
export declare interface TextProps {
|
|
2381
|
+
/** 展示文案;text-or-key;解析 trim 为空则不渲染 */
|
|
2382
|
+
content?: string;
|
|
2383
|
+
/** 字号 px;未传或非法用主题默认 */
|
|
2384
|
+
fontSize?: number;
|
|
2385
|
+
/** 浅色主题文字色;空或非法时按深浅回退规则处理 */
|
|
2386
|
+
color?: string;
|
|
2387
|
+
/** 深色主题文字色;空或非法时按深浅回退规则处理 */
|
|
2388
|
+
darkColor?: string;
|
|
2389
|
+
/** 文案水平对齐:left / center / right;非法回退 left */
|
|
2390
|
+
textAlign?: TextTextAlign;
|
|
2391
|
+
/**
|
|
2392
|
+
* 是否套标准卡壳:白底 / 深色 #2a2b2f、16px 圆角、四向 16px 内边距。
|
|
2393
|
+
* 默认 false,保持无背景无圆角。
|
|
2394
|
+
*/
|
|
2395
|
+
showBackground?: boolean;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
export declare type TextTextAlign = 'left' | 'center' | 'right';
|
|
2399
|
+
|
|
2356
2400
|
export declare type TimerCardSize = 'full' | 'half';
|
|
2357
2401
|
|
|
2358
2402
|
declare type TimerCommandPayload = HilinkDeviceControlPayload;
|
|
@@ -2459,6 +2503,13 @@ declare const timeWheelPickerProps: {
|
|
|
2459
2503
|
|
|
2460
2504
|
export declare type TimeWheelPickerValue = Record<string, string | number>;
|
|
2461
2505
|
|
|
2506
|
+
/**
|
|
2507
|
+
* 大屏视口最小宽度(px)。
|
|
2508
|
+
* 须与 theme `$up-large-screen-min-width` / `@mixin up-large-screen` 保持一致
|
|
2509
|
+
*(`@media` 不宜依赖 CSS 变量)。
|
|
2510
|
+
*/
|
|
2511
|
+
export declare const UP_LARGE_SCREEN_MIN_WIDTH = 700;
|
|
2512
|
+
|
|
2462
2513
|
export declare const UpActionStatusbar: {
|
|
2463
2514
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
2464
2515
|
subscribesAction: {
|
|
@@ -2492,7 +2543,9 @@ export declare const UpActionStatusbar: {
|
|
|
2492
2543
|
subscribesAction: ProductSubscribe[];
|
|
2493
2544
|
subscribesStatus: ProductSubscribe[];
|
|
2494
2545
|
statusConfigs: ActionStatusbarStatusConfig[];
|
|
2495
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
2546
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
2547
|
+
middleRef: HTMLDivElement;
|
|
2548
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
2496
2549
|
P: {};
|
|
2497
2550
|
B: {};
|
|
2498
2551
|
D: {};
|
|
@@ -3762,6 +3815,7 @@ export declare const UpEnumStatus: {
|
|
|
3762
3815
|
contentRef: HTMLDivElement;
|
|
3763
3816
|
titleRef: HTMLDivElement;
|
|
3764
3817
|
statusRef: HTMLDivElement;
|
|
3818
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
3765
3819
|
}, HTMLDivElement, ComponentProvideOptions, {
|
|
3766
3820
|
P: {};
|
|
3767
3821
|
B: {};
|
|
@@ -3888,7 +3942,9 @@ export declare const UpEnumStatusGauge: {
|
|
|
3888
3942
|
currentLabel: string;
|
|
3889
3943
|
enumCount: number;
|
|
3890
3944
|
selectedIndex: number;
|
|
3891
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
3945
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
3946
|
+
centerRef: HTMLDivElement;
|
|
3947
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
3892
3948
|
P: {};
|
|
3893
3949
|
B: {};
|
|
3894
3950
|
D: {};
|
|
@@ -4078,7 +4134,9 @@ export declare const UpGeneralDisplayCard: {
|
|
|
4078
4134
|
subscribes: ProductSubscribe[];
|
|
4079
4135
|
cardSize: GeneralDisplayCardCardSize;
|
|
4080
4136
|
level: GeneralDisplayCardLevelConfig[];
|
|
4081
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4137
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4138
|
+
mainRef: HTMLDivElement;
|
|
4139
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
4082
4140
|
P: {};
|
|
4083
4141
|
B: {};
|
|
4084
4142
|
D: {};
|
|
@@ -4901,7 +4959,9 @@ export declare const UpGeneralIntCircular: {
|
|
|
4901
4959
|
displayUnit: string;
|
|
4902
4960
|
wheelLoop: boolean;
|
|
4903
4961
|
dialogSubtitle: string;
|
|
4904
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4962
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4963
|
+
textRef: HTMLDivElement;
|
|
4964
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
4905
4965
|
P: {};
|
|
4906
4966
|
B: {};
|
|
4907
4967
|
D: {};
|
|
@@ -5193,7 +5253,10 @@ export declare const UpGeneralScreen: {
|
|
|
5193
5253
|
};
|
|
5194
5254
|
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
5195
5255
|
filterElementItemConfigs: GeneralScreenFilterElementItemConfig[];
|
|
5196
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5256
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5257
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
5258
|
+
tutorialHeaderLeftRef: HTMLDivElement;
|
|
5259
|
+
}, any, ComponentProvideOptions, {
|
|
5197
5260
|
P: {};
|
|
5198
5261
|
B: {};
|
|
5199
5262
|
D: {};
|
|
@@ -5302,7 +5365,9 @@ export declare const UpGeneralTimeSwitch: {
|
|
|
5302
5365
|
readonly icon: string[];
|
|
5303
5366
|
readonly subscribesSecond: ProductSubscribe[];
|
|
5304
5367
|
readonly wheelUnit: GeneralTimeSwitchWheelUnit;
|
|
5305
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5368
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5369
|
+
textRef: HTMLDivElement;
|
|
5370
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
5306
5371
|
P: {};
|
|
5307
5372
|
B: {};
|
|
5308
5373
|
D: {};
|
|
@@ -6232,10 +6297,14 @@ export declare const UpStatisticChart: {
|
|
|
6232
6297
|
type: PropType<StatisticChartDataSource>;
|
|
6233
6298
|
default: string;
|
|
6234
6299
|
};
|
|
6235
|
-
|
|
6236
|
-
type: PropType<
|
|
6300
|
+
referenceRangesTitle: {
|
|
6301
|
+
type: PropType<StatisticChartI18nText | null>;
|
|
6237
6302
|
default: null;
|
|
6238
6303
|
};
|
|
6304
|
+
referenceRanges: {
|
|
6305
|
+
type: PropType<StatisticChartReferenceRangeItem[]>;
|
|
6306
|
+
default: () => never[];
|
|
6307
|
+
};
|
|
6239
6308
|
statsFollowTab: {
|
|
6240
6309
|
type: BooleanConstructor;
|
|
6241
6310
|
default: boolean;
|
|
@@ -6265,7 +6334,8 @@ export declare const UpStatisticChart: {
|
|
|
6265
6334
|
unit: string;
|
|
6266
6335
|
chartType: StatisticChartType;
|
|
6267
6336
|
chartDataSource: StatisticChartDataSource;
|
|
6268
|
-
|
|
6337
|
+
referenceRangesTitle: StatisticChartI18nText | null;
|
|
6338
|
+
referenceRanges: StatisticChartReferenceRangeItem[];
|
|
6269
6339
|
statsFollowTab: boolean;
|
|
6270
6340
|
statMetrics: StatisticChartStatMetric[];
|
|
6271
6341
|
dimensionMode: StatisticChartDimensionMode;
|
|
@@ -6274,7 +6344,7 @@ export declare const UpStatisticChart: {
|
|
|
6274
6344
|
showLastValidValue: boolean;
|
|
6275
6345
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
6276
6346
|
chartEl: HTMLDivElement;
|
|
6277
|
-
},
|
|
6347
|
+
}, any, ComponentProvideOptions, {
|
|
6278
6348
|
P: {};
|
|
6279
6349
|
B: {};
|
|
6280
6350
|
D: {};
|
|
@@ -6298,10 +6368,14 @@ export declare const UpStatisticChart: {
|
|
|
6298
6368
|
type: PropType<StatisticChartDataSource>;
|
|
6299
6369
|
default: string;
|
|
6300
6370
|
};
|
|
6301
|
-
|
|
6302
|
-
type: PropType<
|
|
6371
|
+
referenceRangesTitle: {
|
|
6372
|
+
type: PropType<StatisticChartI18nText | null>;
|
|
6303
6373
|
default: null;
|
|
6304
6374
|
};
|
|
6375
|
+
referenceRanges: {
|
|
6376
|
+
type: PropType<StatisticChartReferenceRangeItem[]>;
|
|
6377
|
+
default: () => never[];
|
|
6378
|
+
};
|
|
6305
6379
|
statsFollowTab: {
|
|
6306
6380
|
type: BooleanConstructor;
|
|
6307
6381
|
default: boolean;
|
|
@@ -6331,7 +6405,8 @@ export declare const UpStatisticChart: {
|
|
|
6331
6405
|
unit: string;
|
|
6332
6406
|
chartType: StatisticChartType;
|
|
6333
6407
|
chartDataSource: StatisticChartDataSource;
|
|
6334
|
-
|
|
6408
|
+
referenceRangesTitle: StatisticChartI18nText | null;
|
|
6409
|
+
referenceRanges: StatisticChartReferenceRangeItem[];
|
|
6335
6410
|
statsFollowTab: boolean;
|
|
6336
6411
|
statMetrics: StatisticChartStatMetric[];
|
|
6337
6412
|
dimensionMode: StatisticChartDimensionMode;
|
|
@@ -6359,10 +6434,14 @@ chartDataSource: {
|
|
|
6359
6434
|
type: PropType<StatisticChartDataSource>;
|
|
6360
6435
|
default: string;
|
|
6361
6436
|
};
|
|
6362
|
-
|
|
6363
|
-
type: PropType<
|
|
6437
|
+
referenceRangesTitle: {
|
|
6438
|
+
type: PropType<StatisticChartI18nText | null>;
|
|
6364
6439
|
default: null;
|
|
6365
6440
|
};
|
|
6441
|
+
referenceRanges: {
|
|
6442
|
+
type: PropType<StatisticChartReferenceRangeItem[]>;
|
|
6443
|
+
default: () => never[];
|
|
6444
|
+
};
|
|
6366
6445
|
statsFollowTab: {
|
|
6367
6446
|
type: BooleanConstructor;
|
|
6368
6447
|
default: boolean;
|
|
@@ -6392,7 +6471,8 @@ subscribes: ProductSubscribe[];
|
|
|
6392
6471
|
unit: string;
|
|
6393
6472
|
chartType: StatisticChartType;
|
|
6394
6473
|
chartDataSource: StatisticChartDataSource;
|
|
6395
|
-
|
|
6474
|
+
referenceRangesTitle: StatisticChartI18nText | null;
|
|
6475
|
+
referenceRanges: StatisticChartReferenceRangeItem[];
|
|
6396
6476
|
statsFollowTab: boolean;
|
|
6397
6477
|
statMetrics: StatisticChartStatMetric[];
|
|
6398
6478
|
dimensionMode: StatisticChartDimensionMode;
|
|
@@ -6479,7 +6559,10 @@ export declare const UpStatusBar: {
|
|
|
6479
6559
|
showMiddleWhenOff: boolean;
|
|
6480
6560
|
middleAsTimeFormat: boolean;
|
|
6481
6561
|
middleTimeUnit: StatusBarMiddleTimeUnit;
|
|
6482
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
6562
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
6563
|
+
middleRef: HTMLDivElement;
|
|
6564
|
+
middlePrimaryRef: HTMLDivElement;
|
|
6565
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
6483
6566
|
P: {};
|
|
6484
6567
|
B: {};
|
|
6485
6568
|
D: {};
|
|
@@ -6969,6 +7052,7 @@ export declare const UpSubPageGroup: {
|
|
|
6969
7052
|
readonly leftIcon: string[];
|
|
6970
7053
|
readonly defTitle: WheelZoneTextEntry;
|
|
6971
7054
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7055
|
+
titleWrapRef: HTMLDivElement;
|
|
6972
7056
|
dropzoneRef: HTMLDivElement;
|
|
6973
7057
|
}, HTMLDivElement, ComponentProvideOptions, {
|
|
6974
7058
|
P: {};
|
|
@@ -7266,7 +7350,10 @@ export declare const UpTableLampMorning: {
|
|
|
7266
7350
|
}, PublicProps, {
|
|
7267
7351
|
title: string;
|
|
7268
7352
|
cardSize: TableLampMorningCardSize;
|
|
7269
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7353
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7354
|
+
contentRef: HTMLDivElement;
|
|
7355
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
7356
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
7270
7357
|
P: {};
|
|
7271
7358
|
B: {};
|
|
7272
7359
|
D: {};
|
|
@@ -7336,7 +7423,10 @@ export declare const UpTableLampNightWake: {
|
|
|
7336
7423
|
cardSize: TableLampNightWakeCardSize;
|
|
7337
7424
|
showDetailHint: boolean;
|
|
7338
7425
|
detailHint: string;
|
|
7339
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7426
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7427
|
+
contentRef: HTMLDivElement;
|
|
7428
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
7429
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
7340
7430
|
P: {};
|
|
7341
7431
|
B: {};
|
|
7342
7432
|
D: {};
|
|
@@ -7416,7 +7506,10 @@ export declare const UpTableLampSleepy: {
|
|
|
7416
7506
|
}, PublicProps, {
|
|
7417
7507
|
title: string;
|
|
7418
7508
|
cardSize: TableLampSleepyCardSize;
|
|
7419
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7509
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7510
|
+
contentRef: HTMLDivElement;
|
|
7511
|
+
detailHeaderLeftRef: HTMLDivElement;
|
|
7512
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
7420
7513
|
P: {};
|
|
7421
7514
|
B: {};
|
|
7422
7515
|
D: {};
|
|
@@ -7459,6 +7552,38 @@ title: string;
|
|
|
7459
7552
|
cardSize: TableLampSleepyCardSize;
|
|
7460
7553
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
7461
7554
|
|
|
7555
|
+
export declare const UpText: {
|
|
7556
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<TextProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
7557
|
+
color: string;
|
|
7558
|
+
content: string;
|
|
7559
|
+
textAlign: TextTextAlign;
|
|
7560
|
+
darkColor: string;
|
|
7561
|
+
showBackground: boolean;
|
|
7562
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
7563
|
+
P: {};
|
|
7564
|
+
B: {};
|
|
7565
|
+
D: {};
|
|
7566
|
+
C: {};
|
|
7567
|
+
M: {};
|
|
7568
|
+
Defaults: {};
|
|
7569
|
+
}, Readonly<TextProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
7570
|
+
color: string;
|
|
7571
|
+
content: string;
|
|
7572
|
+
textAlign: TextTextAlign;
|
|
7573
|
+
darkColor: string;
|
|
7574
|
+
showBackground: boolean;
|
|
7575
|
+
}>;
|
|
7576
|
+
__isFragment?: never;
|
|
7577
|
+
__isTeleport?: never;
|
|
7578
|
+
__isSuspense?: never;
|
|
7579
|
+
} & ComponentOptionsBase<Readonly<TextProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
7580
|
+
color: string;
|
|
7581
|
+
content: string;
|
|
7582
|
+
textAlign: TextTextAlign;
|
|
7583
|
+
darkColor: string;
|
|
7584
|
+
showBackground: boolean;
|
|
7585
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
7586
|
+
|
|
7462
7587
|
export declare const UpTimer: {
|
|
7463
7588
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
7464
7589
|
cardSize: {
|
|
@@ -7926,6 +8051,12 @@ export declare const useGlobalI18n: () => {
|
|
|
7926
8051
|
resolveTextByKey: (key: string, fallback?: string) => string;
|
|
7927
8052
|
};
|
|
7928
8053
|
|
|
8054
|
+
/**
|
|
8055
|
+
* 是否为大屏:视口宽度 ≥ {@link UP_LARGE_SCREEN_MIN_WIDTH}。
|
|
8056
|
+
* 供 UpCards 及后续需适配大屏的组件统一使用。
|
|
8057
|
+
*/
|
|
8058
|
+
export declare function useLargeScreen(): Ref<boolean>;
|
|
8059
|
+
|
|
7929
8060
|
/**
|
|
7930
8061
|
* Hook to access i18n translations for a specific component.
|
|
7931
8062
|
* Usage: const { t } = useLocale('enum-droplist-card')
|