@ailife-dev-vue/uiplus 0.1.40 → 0.1.44
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 +40 -20
- package/dist/index.mjs +6227 -6216
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -361,6 +361,17 @@ declare const commonBannerNewProps: {
|
|
|
361
361
|
|
|
362
362
|
declare type CommonInfoCharType = 'int' | 'float' | 'enum';
|
|
363
363
|
|
|
364
|
+
/**
|
|
365
|
+
* 一组掩码条件。组内 rules 为 AND;空 rules 永不命中。
|
|
366
|
+
* 组数、组内条数上限与弹框配置画布菜单一致,组件运行时不裁剪。
|
|
367
|
+
*/
|
|
368
|
+
export declare type CommonInfoDismissValOption = {
|
|
369
|
+
rules: CommonInfoDismissValRule[];
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
/** 单条掩码条件,形态与 UpPageBarNew `dialogConfigs[].rules` 一致 */
|
|
373
|
+
export declare type CommonInfoDismissValRule = StateConditionRule;
|
|
374
|
+
|
|
364
375
|
export declare type CommonInfoEnumItemConfig = CommonInfoItemConfigBase & {
|
|
365
376
|
enumColorMap?: Record<string, string>;
|
|
366
377
|
};
|
|
@@ -386,6 +397,11 @@ declare type CommonInfoItemConfigBase = {
|
|
|
386
397
|
* 已配置有效 sid 且开关为 0 时 value 显示 `- -`;未配置则按正常值显示。
|
|
387
398
|
*/
|
|
388
399
|
subscribesSwitch?: ProductSubscribe[];
|
|
400
|
+
/**
|
|
401
|
+
* 组合条件掩码:任一组命中(组间 OR)时,该项属性值显示 `--`。
|
|
402
|
+
* 持续命中即保持 `--`,条件失效后恢复正常值。
|
|
403
|
+
*/
|
|
404
|
+
dismissValOptions?: CommonInfoDismissValOption[];
|
|
389
405
|
};
|
|
390
406
|
|
|
391
407
|
export declare type CommonInfoProps = ExtractPropTypes<typeof commonInfoProps>;
|
|
@@ -2130,25 +2146,6 @@ export declare type PageBarNewDialogConfig = {
|
|
|
2130
2146
|
dialog: PageBarNewDialogPresentation;
|
|
2131
2147
|
};
|
|
2132
2148
|
|
|
2133
|
-
declare type PageBarNewDialogEnumRule = {
|
|
2134
|
-
sid: string;
|
|
2135
|
-
cid: string;
|
|
2136
|
-
type: 'enum' | 'bool';
|
|
2137
|
-
prodId?: string;
|
|
2138
|
-
enumValues: Array<string | number>;
|
|
2139
|
-
};
|
|
2140
|
-
|
|
2141
|
-
declare type PageBarNewDialogNumericOperator = '>' | '<' | '=' | '>=' | '<=';
|
|
2142
|
-
|
|
2143
|
-
declare type PageBarNewDialogNumericRule = {
|
|
2144
|
-
sid: string;
|
|
2145
|
-
cid: string;
|
|
2146
|
-
type: 'int' | 'float';
|
|
2147
|
-
prodId?: string;
|
|
2148
|
-
operator: PageBarNewDialogNumericOperator;
|
|
2149
|
-
value: number;
|
|
2150
|
-
};
|
|
2151
|
-
|
|
2152
2149
|
export declare type PageBarNewDialogPresentation = {
|
|
2153
2150
|
type: 'icon-text' | 'title-text';
|
|
2154
2151
|
/** 与 UpBoolIconCard `icon` 相同:2 或 4 项 URL(on/off/DarkOn/DarkOff) */
|
|
@@ -2159,7 +2156,7 @@ export declare type PageBarNewDialogPresentation = {
|
|
|
2159
2156
|
text?: string;
|
|
2160
2157
|
};
|
|
2161
2158
|
|
|
2162
|
-
export declare type PageBarNewDialogRule =
|
|
2159
|
+
export declare type PageBarNewDialogRule = StateConditionRule;
|
|
2163
2160
|
|
|
2164
2161
|
export declare type PageBarNewEmits = {
|
|
2165
2162
|
(e: 'first-card-click'): void;
|
|
@@ -2501,6 +2498,29 @@ declare const sheetDialogProps: {
|
|
|
2501
2498
|
/** 与宿主约定:`showFakeTitleBar(visible)`,二级页显示/隐藏假标题栏。 */
|
|
2502
2499
|
export declare type ShowFakeTitleBarFn = (visible: boolean) => void;
|
|
2503
2500
|
|
|
2501
|
+
declare type StateConditionEnumRule = {
|
|
2502
|
+
sid: string;
|
|
2503
|
+
cid: string;
|
|
2504
|
+
type: 'enum' | 'bool';
|
|
2505
|
+
prodId?: string;
|
|
2506
|
+
enumValues: Array<string | number>;
|
|
2507
|
+
};
|
|
2508
|
+
|
|
2509
|
+
/** 与 UpPageBarNew dialogConfigs.rules 相同的数值比较符 */
|
|
2510
|
+
declare type StateConditionNumericOperator = '>' | '<' | '=' | '>=' | '<=';
|
|
2511
|
+
|
|
2512
|
+
declare type StateConditionNumericRule = {
|
|
2513
|
+
sid: string;
|
|
2514
|
+
cid: string;
|
|
2515
|
+
type: 'int' | 'float';
|
|
2516
|
+
prodId?: string;
|
|
2517
|
+
operator: StateConditionNumericOperator;
|
|
2518
|
+
value: number;
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
/** 单条条件。prodId 仅作配置元数据,不参与匹配 */
|
|
2522
|
+
declare type StateConditionRule = StateConditionEnumRule | StateConditionNumericRule;
|
|
2523
|
+
|
|
2504
2524
|
export declare type StatisticChartCalendarTab = 'day' | 'week' | 'month' | 'year';
|
|
2505
2525
|
|
|
2506
2526
|
/** 图表数据来源:平均、累计、最高+最低(双系列) */
|