@ailife-dev-vue/uiplus 0.1.43 → 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 +60 -25
- package/dist/index.mjs +10087 -10129
- 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>;
|
|
@@ -1118,7 +1134,6 @@ declare const generalCombinedDeliveryProps: {
|
|
|
1118
1134
|
type: BooleanConstructor;
|
|
1119
1135
|
default: boolean;
|
|
1120
1136
|
};
|
|
1121
|
-
/** 一级瓷片已配置项按本数组顺序排在前面;未出现的可见项按 profile enumList 接在后面。空数组时整表按 enumList */
|
|
1122
1137
|
modeOptionConfigs: {
|
|
1123
1138
|
type: PropType<GeneralCombinedDeliveryModeOptionConfig[]>;
|
|
1124
1139
|
default: () => never[];
|
|
@@ -1360,8 +1375,6 @@ export declare type GeneralEnumTileDisplayItem = {
|
|
|
1360
1375
|
export declare type GeneralEnumTileOptionConfig = {
|
|
1361
1376
|
enumVal: string | number;
|
|
1362
1377
|
visible?: boolean;
|
|
1363
|
-
/** 为 true 时该项进入「更多」下拉;不因此从主栅格移除 */
|
|
1364
|
-
more?: boolean;
|
|
1365
1378
|
/** 可选;2 或 4 项 URL,后缀 on/off/DarkOn/DarkOff(2 项时为 on+DarkOn 或 off+DarkOff,缺对镜像补齐);全 `custom` 或未配置时用内置默认图标 */
|
|
1366
1379
|
icons?: string[];
|
|
1367
1380
|
enableOpenDialog?: boolean;
|
|
@@ -1393,11 +1406,14 @@ declare const generalEnumTileProps: {
|
|
|
1393
1406
|
type: PropType<string | number>;
|
|
1394
1407
|
default: string;
|
|
1395
1408
|
};
|
|
1396
|
-
/** 主栅格按本数组顺序排列;`more: true` 的项同时按相对顺序进入「更多」下拉,且不因此离开主栅格。空数组时主栅格按 enumList,且无「更多」 */
|
|
1397
1409
|
enumOptionConfigs: {
|
|
1398
1410
|
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
1399
1411
|
default: () => never[];
|
|
1400
1412
|
};
|
|
1413
|
+
moreEnumOptionConfigs: {
|
|
1414
|
+
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
1415
|
+
default: () => never[];
|
|
1416
|
+
};
|
|
1401
1417
|
/** 是否在标题旁展示说明入口;为 true 时始终渲染图标 */
|
|
1402
1418
|
showInfo: {
|
|
1403
1419
|
type: BooleanConstructor;
|
|
@@ -1649,7 +1665,6 @@ declare const generalModeProps: {
|
|
|
1649
1665
|
default: string;
|
|
1650
1666
|
validator: (v: string) => v is "grid" | "list";
|
|
1651
1667
|
};
|
|
1652
|
-
/** 已配置项按本数组顺序排在前面;未出现的项按 profile enumList 接在后面。空数组时整表按 enumList */
|
|
1653
1668
|
modeOptionConfigs: {
|
|
1654
1669
|
type: PropType<GeneralModeOptionConfig[]>;
|
|
1655
1670
|
default: () => never[];
|
|
@@ -2131,25 +2146,6 @@ export declare type PageBarNewDialogConfig = {
|
|
|
2131
2146
|
dialog: PageBarNewDialogPresentation;
|
|
2132
2147
|
};
|
|
2133
2148
|
|
|
2134
|
-
declare type PageBarNewDialogEnumRule = {
|
|
2135
|
-
sid: string;
|
|
2136
|
-
cid: string;
|
|
2137
|
-
type: 'enum' | 'bool';
|
|
2138
|
-
prodId?: string;
|
|
2139
|
-
enumValues: Array<string | number>;
|
|
2140
|
-
};
|
|
2141
|
-
|
|
2142
|
-
declare type PageBarNewDialogNumericOperator = '>' | '<' | '=' | '>=' | '<=';
|
|
2143
|
-
|
|
2144
|
-
declare type PageBarNewDialogNumericRule = {
|
|
2145
|
-
sid: string;
|
|
2146
|
-
cid: string;
|
|
2147
|
-
type: 'int' | 'float';
|
|
2148
|
-
prodId?: string;
|
|
2149
|
-
operator: PageBarNewDialogNumericOperator;
|
|
2150
|
-
value: number;
|
|
2151
|
-
};
|
|
2152
|
-
|
|
2153
2149
|
export declare type PageBarNewDialogPresentation = {
|
|
2154
2150
|
type: 'icon-text' | 'title-text';
|
|
2155
2151
|
/** 与 UpBoolIconCard `icon` 相同:2 或 4 项 URL(on/off/DarkOn/DarkOff) */
|
|
@@ -2160,7 +2156,7 @@ export declare type PageBarNewDialogPresentation = {
|
|
|
2160
2156
|
text?: string;
|
|
2161
2157
|
};
|
|
2162
2158
|
|
|
2163
|
-
export declare type PageBarNewDialogRule =
|
|
2159
|
+
export declare type PageBarNewDialogRule = StateConditionRule;
|
|
2164
2160
|
|
|
2165
2161
|
export declare type PageBarNewEmits = {
|
|
2166
2162
|
(e: 'first-card-click'): void;
|
|
@@ -2502,6 +2498,29 @@ declare const sheetDialogProps: {
|
|
|
2502
2498
|
/** 与宿主约定:`showFakeTitleBar(visible)`,二级页显示/隐藏假标题栏。 */
|
|
2503
2499
|
export declare type ShowFakeTitleBarFn = (visible: boolean) => void;
|
|
2504
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
|
+
|
|
2505
2524
|
export declare type StatisticChartCalendarTab = 'day' | 'week' | 'month' | 'year';
|
|
2506
2525
|
|
|
2507
2526
|
/** 图表数据来源:平均、累计、最高+最低(双系列) */
|
|
@@ -5912,6 +5931,10 @@ export declare const UpGeneralEnumTile: {
|
|
|
5912
5931
|
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
5913
5932
|
default: () => never[];
|
|
5914
5933
|
};
|
|
5934
|
+
moreEnumOptionConfigs: {
|
|
5935
|
+
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
5936
|
+
default: () => never[];
|
|
5937
|
+
};
|
|
5915
5938
|
showInfo: {
|
|
5916
5939
|
type: BooleanConstructor;
|
|
5917
5940
|
default: boolean;
|
|
@@ -5929,7 +5952,9 @@ export declare const UpGeneralEnumTile: {
|
|
|
5929
5952
|
invertEnabled: boolean;
|
|
5930
5953
|
invertEnumValue: string | number;
|
|
5931
5954
|
enumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
5955
|
+
moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
5932
5956
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5957
|
+
moreDropdownRef: HTMLDivElement;
|
|
5933
5958
|
dropzoneRef: HTMLDivElement;
|
|
5934
5959
|
}, HTMLDivElement, ComponentProvideOptions, {
|
|
5935
5960
|
P: {};
|
|
@@ -5963,6 +5988,10 @@ export declare const UpGeneralEnumTile: {
|
|
|
5963
5988
|
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
5964
5989
|
default: () => never[];
|
|
5965
5990
|
};
|
|
5991
|
+
moreEnumOptionConfigs: {
|
|
5992
|
+
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
5993
|
+
default: () => never[];
|
|
5994
|
+
};
|
|
5966
5995
|
showInfo: {
|
|
5967
5996
|
type: BooleanConstructor;
|
|
5968
5997
|
default: boolean;
|
|
@@ -5980,6 +6009,7 @@ export declare const UpGeneralEnumTile: {
|
|
|
5980
6009
|
invertEnabled: boolean;
|
|
5981
6010
|
invertEnumValue: string | number;
|
|
5982
6011
|
enumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
6012
|
+
moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
5983
6013
|
}>;
|
|
5984
6014
|
__isFragment?: never;
|
|
5985
6015
|
__isTeleport?: never;
|
|
@@ -6009,6 +6039,10 @@ enumOptionConfigs: {
|
|
|
6009
6039
|
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
6010
6040
|
default: () => never[];
|
|
6011
6041
|
};
|
|
6042
|
+
moreEnumOptionConfigs: {
|
|
6043
|
+
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
6044
|
+
default: () => never[];
|
|
6045
|
+
};
|
|
6012
6046
|
showInfo: {
|
|
6013
6047
|
type: BooleanConstructor;
|
|
6014
6048
|
default: boolean;
|
|
@@ -6026,6 +6060,7 @@ showTitle: boolean;
|
|
|
6026
6060
|
invertEnabled: boolean;
|
|
6027
6061
|
invertEnumValue: string | number;
|
|
6028
6062
|
enumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
6063
|
+
moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
6029
6064
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
6030
6065
|
$slots: {
|
|
6031
6066
|
default?(_: {}): any;
|