@ailife-dev-vue/uiplus-dev 0.1.35 → 0.1.37

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 CHANGED
@@ -2125,6 +2125,42 @@ declare const numericInputSheetProps: {
2125
2125
  };
2126
2126
  };
2127
2127
 
2128
+ export declare type PageBarNewDialogConfig = {
2129
+ rules: PageBarNewDialogRule[];
2130
+ dialog: PageBarNewDialogPresentation;
2131
+ };
2132
+
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
+ export declare type PageBarNewDialogPresentation = {
2153
+ type: 'icon-text' | 'title-text';
2154
+ /** 与 UpBoolIconCard `icon` 相同:2 或 4 项 URL(on/off/DarkOn/DarkOff) */
2155
+ icons?: string[];
2156
+ /** title-text 标题;text-or-key */
2157
+ title?: string;
2158
+ /** 弹框正文;text-or-key */
2159
+ text?: string;
2160
+ };
2161
+
2162
+ export declare type PageBarNewDialogRule = PageBarNewDialogEnumRule | PageBarNewDialogNumericRule;
2163
+
2128
2164
  export declare type PageBarNewEmits = {
2129
2165
  (e: 'first-card-click'): void;
2130
2166
  (e: 'second-card-click'): void;
@@ -2211,6 +2247,14 @@ declare const pageBarNewProps: {
2211
2247
  type: StringConstructor;
2212
2248
  default: string;
2213
2249
  };
2250
+ /**
2251
+ * 条件弹框配置:每组 rules 为 AND;全部满足时在上升沿弹出一次 UpSheetDialog。
2252
+ * 同一次 state 变更多组同时上升沿时取数组最后一项。
2253
+ */
2254
+ dialogConfigs: {
2255
+ type: PropType<PageBarNewDialogConfig[]>;
2256
+ default: () => never[];
2257
+ };
2214
2258
  };
2215
2259
 
2216
2260
  export declare type PageRouterEmits = {
@@ -8187,6 +8231,10 @@ export declare const UpPageBarNew: {
8187
8231
  type: StringConstructor;
8188
8232
  default: string;
8189
8233
  };
8234
+ dialogConfigs: {
8235
+ type: PropType<PageBarNewDialogConfig[]>;
8236
+ default: () => never[];
8237
+ };
8190
8238
  }>> & Readonly<{
8191
8239
  "onFirst-card-click"?: (() => any) | undefined;
8192
8240
  "onSecond-card-click"?: (() => any) | undefined;
@@ -8215,6 +8263,7 @@ export declare const UpPageBarNew: {
8215
8263
  showBottomWhenOff: boolean;
8216
8264
  showProductWikiCard: boolean;
8217
8265
  hotline: string;
8266
+ dialogConfigs: PageBarNewDialogConfig[];
8218
8267
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
8219
8268
  dropzoneRef: HTMLDivElement;
8220
8269
  }, HTMLDivElement, ComponentProvideOptions, {
@@ -8301,6 +8350,10 @@ export declare const UpPageBarNew: {
8301
8350
  type: StringConstructor;
8302
8351
  default: string;
8303
8352
  };
8353
+ dialogConfigs: {
8354
+ type: PropType<PageBarNewDialogConfig[]>;
8355
+ default: () => never[];
8356
+ };
8304
8357
  }>> & Readonly<{
8305
8358
  "onFirst-card-click"?: (() => any) | undefined;
8306
8359
  "onSecond-card-click"?: (() => any) | undefined;
@@ -8325,6 +8378,7 @@ export declare const UpPageBarNew: {
8325
8378
  showBottomWhenOff: boolean;
8326
8379
  showProductWikiCard: boolean;
8327
8380
  hotline: string;
8381
+ dialogConfigs: PageBarNewDialogConfig[];
8328
8382
  }>;
8329
8383
  __isFragment?: never;
8330
8384
  __isTeleport?: never;
@@ -8406,6 +8460,10 @@ hotline: {
8406
8460
  type: StringConstructor;
8407
8461
  default: string;
8408
8462
  };
8463
+ dialogConfigs: {
8464
+ type: PropType<PageBarNewDialogConfig[]>;
8465
+ default: () => never[];
8466
+ };
8409
8467
  }>> & Readonly<{
8410
8468
  "onFirst-card-click"?: (() => any) | undefined;
8411
8469
  "onSecond-card-click"?: (() => any) | undefined;
@@ -8434,6 +8492,7 @@ logo: string;
8434
8492
  showBottomWhenOff: boolean;
8435
8493
  showProductWikiCard: boolean;
8436
8494
  hotline: string;
8495
+ dialogConfigs: PageBarNewDialogConfig[];
8437
8496
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
8438
8497
  $slots: {
8439
8498
  default?(_: {}): any;
@@ -8959,7 +9018,7 @@ export declare const UpStatisticChart: {
8959
9018
  showLastValidValue: boolean;
8960
9019
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
8961
9020
  chartEl: HTMLDivElement;
8962
- }, any, ComponentProvideOptions, {
9021
+ }, HTMLDivElement, ComponentProvideOptions, {
8963
9022
  P: {};
8964
9023
  B: {};
8965
9024
  D: {};