@ailife-dev-vue/uiplus-dev 0.1.43 → 0.1.45
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 +68 -26
- package/dist/index.mjs +12127 -12168
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -361,8 +361,26 @@ 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
|
+
|
|
375
|
+
/** 单个 enumVal 的浅色 / 深色文案色 */
|
|
376
|
+
export declare type CommonInfoEnumColorPair = {
|
|
377
|
+
light?: string;
|
|
378
|
+
dark?: string;
|
|
379
|
+
};
|
|
380
|
+
|
|
364
381
|
export declare type CommonInfoEnumItemConfig = CommonInfoItemConfigBase & {
|
|
365
|
-
|
|
382
|
+
/** key 为 profile enumVal 字符串;按 html.dark 取 light 或 dark */
|
|
383
|
+
enumColorMap?: Record<string, CommonInfoEnumColorPair>;
|
|
366
384
|
};
|
|
367
385
|
|
|
368
386
|
export declare type CommonInfoIntFloatItemConfig = CommonInfoItemConfigBase & {
|
|
@@ -386,6 +404,11 @@ declare type CommonInfoItemConfigBase = {
|
|
|
386
404
|
* 已配置有效 sid 且开关为 0 时 value 显示 `- -`;未配置则按正常值显示。
|
|
387
405
|
*/
|
|
388
406
|
subscribesSwitch?: ProductSubscribe[];
|
|
407
|
+
/**
|
|
408
|
+
* 组合条件掩码:任一组命中(组间 OR)时,该项属性值显示 `--`。
|
|
409
|
+
* 持续命中即保持 `--`,条件失效后恢复正常值。
|
|
410
|
+
*/
|
|
411
|
+
dismissValOptions?: CommonInfoDismissValOption[];
|
|
389
412
|
};
|
|
390
413
|
|
|
391
414
|
export declare type CommonInfoProps = ExtractPropTypes<typeof commonInfoProps>;
|
|
@@ -1118,7 +1141,6 @@ declare const generalCombinedDeliveryProps: {
|
|
|
1118
1141
|
type: BooleanConstructor;
|
|
1119
1142
|
default: boolean;
|
|
1120
1143
|
};
|
|
1121
|
-
/** 一级瓷片已配置项按本数组顺序排在前面;未出现的可见项按 profile enumList 接在后面。空数组时整表按 enumList */
|
|
1122
1144
|
modeOptionConfigs: {
|
|
1123
1145
|
type: PropType<GeneralCombinedDeliveryModeOptionConfig[]>;
|
|
1124
1146
|
default: () => never[];
|
|
@@ -1360,8 +1382,6 @@ export declare type GeneralEnumTileDisplayItem = {
|
|
|
1360
1382
|
export declare type GeneralEnumTileOptionConfig = {
|
|
1361
1383
|
enumVal: string | number;
|
|
1362
1384
|
visible?: boolean;
|
|
1363
|
-
/** 为 true 时该项进入「更多」下拉;不因此从主栅格移除 */
|
|
1364
|
-
more?: boolean;
|
|
1365
1385
|
/** 可选;2 或 4 项 URL,后缀 on/off/DarkOn/DarkOff(2 项时为 on+DarkOn 或 off+DarkOff,缺对镜像补齐);全 `custom` 或未配置时用内置默认图标 */
|
|
1366
1386
|
icons?: string[];
|
|
1367
1387
|
enableOpenDialog?: boolean;
|
|
@@ -1393,11 +1413,14 @@ declare const generalEnumTileProps: {
|
|
|
1393
1413
|
type: PropType<string | number>;
|
|
1394
1414
|
default: string;
|
|
1395
1415
|
};
|
|
1396
|
-
/** 主栅格按本数组顺序排列;`more: true` 的项同时按相对顺序进入「更多」下拉,且不因此离开主栅格。空数组时主栅格按 enumList,且无「更多」 */
|
|
1397
1416
|
enumOptionConfigs: {
|
|
1398
1417
|
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
1399
1418
|
default: () => never[];
|
|
1400
1419
|
};
|
|
1420
|
+
moreEnumOptionConfigs: {
|
|
1421
|
+
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
1422
|
+
default: () => never[];
|
|
1423
|
+
};
|
|
1401
1424
|
/** 是否在标题旁展示说明入口;为 true 时始终渲染图标 */
|
|
1402
1425
|
showInfo: {
|
|
1403
1426
|
type: BooleanConstructor;
|
|
@@ -1649,7 +1672,6 @@ declare const generalModeProps: {
|
|
|
1649
1672
|
default: string;
|
|
1650
1673
|
validator: (v: string) => v is "grid" | "list";
|
|
1651
1674
|
};
|
|
1652
|
-
/** 已配置项按本数组顺序排在前面;未出现的项按 profile enumList 接在后面。空数组时整表按 enumList */
|
|
1653
1675
|
modeOptionConfigs: {
|
|
1654
1676
|
type: PropType<GeneralModeOptionConfig[]>;
|
|
1655
1677
|
default: () => never[];
|
|
@@ -2131,25 +2153,6 @@ export declare type PageBarNewDialogConfig = {
|
|
|
2131
2153
|
dialog: PageBarNewDialogPresentation;
|
|
2132
2154
|
};
|
|
2133
2155
|
|
|
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
2156
|
export declare type PageBarNewDialogPresentation = {
|
|
2154
2157
|
type: 'icon-text' | 'title-text';
|
|
2155
2158
|
/** 与 UpBoolIconCard `icon` 相同:2 或 4 项 URL(on/off/DarkOn/DarkOff) */
|
|
@@ -2160,7 +2163,7 @@ export declare type PageBarNewDialogPresentation = {
|
|
|
2160
2163
|
text?: string;
|
|
2161
2164
|
};
|
|
2162
2165
|
|
|
2163
|
-
export declare type PageBarNewDialogRule =
|
|
2166
|
+
export declare type PageBarNewDialogRule = StateConditionRule;
|
|
2164
2167
|
|
|
2165
2168
|
export declare type PageBarNewEmits = {
|
|
2166
2169
|
(e: 'first-card-click'): void;
|
|
@@ -2502,6 +2505,29 @@ declare const sheetDialogProps: {
|
|
|
2502
2505
|
/** 与宿主约定:`showFakeTitleBar(visible)`,二级页显示/隐藏假标题栏。 */
|
|
2503
2506
|
export declare type ShowFakeTitleBarFn = (visible: boolean) => void;
|
|
2504
2507
|
|
|
2508
|
+
declare type StateConditionEnumRule = {
|
|
2509
|
+
sid: string;
|
|
2510
|
+
cid: string;
|
|
2511
|
+
type: 'enum' | 'bool';
|
|
2512
|
+
prodId?: string;
|
|
2513
|
+
enumValues: Array<string | number>;
|
|
2514
|
+
};
|
|
2515
|
+
|
|
2516
|
+
/** 与 UpPageBarNew dialogConfigs.rules 相同的数值比较符 */
|
|
2517
|
+
declare type StateConditionNumericOperator = '>' | '<' | '=' | '>=' | '<=';
|
|
2518
|
+
|
|
2519
|
+
declare type StateConditionNumericRule = {
|
|
2520
|
+
sid: string;
|
|
2521
|
+
cid: string;
|
|
2522
|
+
type: 'int' | 'float';
|
|
2523
|
+
prodId?: string;
|
|
2524
|
+
operator: StateConditionNumericOperator;
|
|
2525
|
+
value: number;
|
|
2526
|
+
};
|
|
2527
|
+
|
|
2528
|
+
/** 单条条件。prodId 仅作配置元数据,不参与匹配 */
|
|
2529
|
+
declare type StateConditionRule = StateConditionEnumRule | StateConditionNumericRule;
|
|
2530
|
+
|
|
2505
2531
|
export declare type StatisticChartCalendarTab = 'day' | 'week' | 'month' | 'year';
|
|
2506
2532
|
|
|
2507
2533
|
/** 图表数据来源:平均、累计、最高+最低(双系列) */
|
|
@@ -5912,6 +5938,10 @@ export declare const UpGeneralEnumTile: {
|
|
|
5912
5938
|
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
5913
5939
|
default: () => never[];
|
|
5914
5940
|
};
|
|
5941
|
+
moreEnumOptionConfigs: {
|
|
5942
|
+
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
5943
|
+
default: () => never[];
|
|
5944
|
+
};
|
|
5915
5945
|
showInfo: {
|
|
5916
5946
|
type: BooleanConstructor;
|
|
5917
5947
|
default: boolean;
|
|
@@ -5929,7 +5959,9 @@ export declare const UpGeneralEnumTile: {
|
|
|
5929
5959
|
invertEnabled: boolean;
|
|
5930
5960
|
invertEnumValue: string | number;
|
|
5931
5961
|
enumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
5962
|
+
moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
5932
5963
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5964
|
+
moreDropdownRef: HTMLDivElement;
|
|
5933
5965
|
dropzoneRef: HTMLDivElement;
|
|
5934
5966
|
}, HTMLDivElement, ComponentProvideOptions, {
|
|
5935
5967
|
P: {};
|
|
@@ -5963,6 +5995,10 @@ export declare const UpGeneralEnumTile: {
|
|
|
5963
5995
|
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
5964
5996
|
default: () => never[];
|
|
5965
5997
|
};
|
|
5998
|
+
moreEnumOptionConfigs: {
|
|
5999
|
+
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
6000
|
+
default: () => never[];
|
|
6001
|
+
};
|
|
5966
6002
|
showInfo: {
|
|
5967
6003
|
type: BooleanConstructor;
|
|
5968
6004
|
default: boolean;
|
|
@@ -5980,6 +6016,7 @@ export declare const UpGeneralEnumTile: {
|
|
|
5980
6016
|
invertEnabled: boolean;
|
|
5981
6017
|
invertEnumValue: string | number;
|
|
5982
6018
|
enumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
6019
|
+
moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
5983
6020
|
}>;
|
|
5984
6021
|
__isFragment?: never;
|
|
5985
6022
|
__isTeleport?: never;
|
|
@@ -6009,6 +6046,10 @@ enumOptionConfigs: {
|
|
|
6009
6046
|
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
6010
6047
|
default: () => never[];
|
|
6011
6048
|
};
|
|
6049
|
+
moreEnumOptionConfigs: {
|
|
6050
|
+
type: PropType<GeneralEnumTileOptionConfig[]>;
|
|
6051
|
+
default: () => never[];
|
|
6052
|
+
};
|
|
6012
6053
|
showInfo: {
|
|
6013
6054
|
type: BooleanConstructor;
|
|
6014
6055
|
default: boolean;
|
|
@@ -6026,6 +6067,7 @@ showTitle: boolean;
|
|
|
6026
6067
|
invertEnabled: boolean;
|
|
6027
6068
|
invertEnumValue: string | number;
|
|
6028
6069
|
enumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
6070
|
+
moreEnumOptionConfigs: GeneralEnumTileOptionConfig[];
|
|
6029
6071
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
6030
6072
|
$slots: {
|
|
6031
6073
|
default?(_: {}): any;
|