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

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
@@ -656,6 +656,10 @@ export declare const enUS: {
656
656
  pageRouter: {
657
657
  defaultTitle: string;
658
658
  };
659
+ generalRedirect: {
660
+ defaultTitle: string;
661
+ defaultSubtitle: string;
662
+ };
659
663
  enumControl: {
660
664
  prev: string;
661
665
  next: string;
@@ -1651,6 +1655,36 @@ declare const generalModeProps: {
1651
1655
  };
1652
1656
  };
1653
1657
 
1658
+ export declare type GeneralRedirectProps = ExtractPropTypes<typeof generalRedirectProps>;
1659
+
1660
+ declare const generalRedirectProps: {
1661
+ /** 主标题 text-or-key;空则回退库内 `generalRedirect.defaultTitle` */
1662
+ readonly title: {
1663
+ readonly type: StringConstructor;
1664
+ readonly default: "";
1665
+ };
1666
+ /** 副标题 text-or-key;空则回退库内 `generalRedirect.defaultSubtitle` */
1667
+ readonly subtitle: {
1668
+ readonly type: StringConstructor;
1669
+ readonly default: "";
1670
+ };
1671
+ /** 传给 startApp 第三参 JSON 的 appLink;纯字符串,不走 i18n */
1672
+ readonly appLink: {
1673
+ readonly type: StringConstructor;
1674
+ readonly default: "";
1675
+ };
1676
+ /** 应用包名,作为 startApp 第一参;纯字符串,不走 i18n */
1677
+ readonly packageName: {
1678
+ readonly type: StringConstructor;
1679
+ readonly default: "";
1680
+ };
1681
+ /** 可选;2 或 4 项 URL,后缀 on/off/DarkOn/DarkOff;未配置或全 custom 时用内置 ic_enum */
1682
+ readonly icon: {
1683
+ readonly type: PropType<string[]>;
1684
+ readonly default: undefined;
1685
+ };
1686
+ };
1687
+
1654
1688
  export declare interface GeneralReminderEnumConfig {
1655
1689
  enumVal: string;
1656
1690
  /** i18n key */
@@ -6208,7 +6242,175 @@ export declare const UpGeneralIntCard: {
6208
6242
  styleType: GeneralIntCardStyleType;
6209
6243
  hasPopup: boolean;
6210
6244
  isDeviceInt: boolean;
6211
- }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
6245
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
6246
+ sliderInfoTriggerRef: ({
6247
+ $: ComponentInternalInstance;
6248
+ $data: {};
6249
+ $props: Partial<{
6250
+ readonly showInfo: boolean;
6251
+ readonly infoContent: string;
6252
+ }> & Omit<{
6253
+ readonly showInfo: boolean;
6254
+ readonly infoContent: string;
6255
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "showInfo" | "infoContent">;
6256
+ $attrs: {
6257
+ [x: string]: unknown;
6258
+ };
6259
+ $refs: {
6260
+ [x: string]: unknown;
6261
+ } & {
6262
+ rootElRef: HTMLDivElement;
6263
+ infoTriggerRef: HTMLButtonElement;
6264
+ infoTooltipRef: HTMLDivElement;
6265
+ };
6266
+ $slots: Readonly<{
6267
+ [name: string]: Slot<any> | undefined;
6268
+ }>;
6269
+ $root: ComponentPublicInstance | null;
6270
+ $parent: ComponentPublicInstance | null;
6271
+ $host: Element | null;
6272
+ $emit: (event: string, ...args: any[]) => void;
6273
+ $el: HTMLDivElement;
6274
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
6275
+ readonly showInfo: {
6276
+ readonly type: BooleanConstructor;
6277
+ readonly default: false;
6278
+ };
6279
+ readonly infoContent: {
6280
+ readonly type: PropType<InfoTriggerInfoContent>;
6281
+ readonly default: "";
6282
+ };
6283
+ }>> & Readonly<{}>, {
6284
+ close: () => void;
6285
+ rootEl: Ref<HTMLElement | null, HTMLElement | null>;
6286
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
6287
+ readonly showInfo: boolean;
6288
+ readonly infoContent: string;
6289
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
6290
+ beforeCreate?: (() => void) | (() => void)[];
6291
+ created?: (() => void) | (() => void)[];
6292
+ beforeMount?: (() => void) | (() => void)[];
6293
+ mounted?: (() => void) | (() => void)[];
6294
+ beforeUpdate?: (() => void) | (() => void)[];
6295
+ updated?: (() => void) | (() => void)[];
6296
+ activated?: (() => void) | (() => void)[];
6297
+ deactivated?: (() => void) | (() => void)[];
6298
+ beforeDestroy?: (() => void) | (() => void)[];
6299
+ beforeUnmount?: (() => void) | (() => void)[];
6300
+ destroyed?: (() => void) | (() => void)[];
6301
+ unmounted?: (() => void) | (() => void)[];
6302
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
6303
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
6304
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
6305
+ };
6306
+ $forceUpdate: () => void;
6307
+ $nextTick: nextTick;
6308
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
6309
+ } & Readonly<{
6310
+ readonly showInfo: boolean;
6311
+ readonly infoContent: string;
6312
+ }> & Omit<Readonly<ExtractPropTypes< {
6313
+ readonly showInfo: {
6314
+ readonly type: BooleanConstructor;
6315
+ readonly default: false;
6316
+ };
6317
+ readonly infoContent: {
6318
+ readonly type: PropType<InfoTriggerInfoContent>;
6319
+ readonly default: "";
6320
+ };
6321
+ }>> & Readonly<{}>, "close" | "rootEl" | ("showInfo" | "infoContent")> & ShallowUnwrapRef< {
6322
+ close: () => void;
6323
+ rootEl: Ref<HTMLElement | null, HTMLElement | null>;
6324
+ }> & {} & ComponentCustomProperties & {} & {
6325
+ $slots: {
6326
+ default?(_: {}): any;
6327
+ };
6328
+ }) | null;
6329
+ valueRowRef: HTMLDivElement;
6330
+ stepperInfoTriggerRef: ({
6331
+ $: ComponentInternalInstance;
6332
+ $data: {};
6333
+ $props: Partial<{
6334
+ readonly showInfo: boolean;
6335
+ readonly infoContent: string;
6336
+ }> & Omit<{
6337
+ readonly showInfo: boolean;
6338
+ readonly infoContent: string;
6339
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "showInfo" | "infoContent">;
6340
+ $attrs: {
6341
+ [x: string]: unknown;
6342
+ };
6343
+ $refs: {
6344
+ [x: string]: unknown;
6345
+ } & {
6346
+ rootElRef: HTMLDivElement;
6347
+ infoTriggerRef: HTMLButtonElement;
6348
+ infoTooltipRef: HTMLDivElement;
6349
+ };
6350
+ $slots: Readonly<{
6351
+ [name: string]: Slot<any> | undefined;
6352
+ }>;
6353
+ $root: ComponentPublicInstance | null;
6354
+ $parent: ComponentPublicInstance | null;
6355
+ $host: Element | null;
6356
+ $emit: (event: string, ...args: any[]) => void;
6357
+ $el: HTMLDivElement;
6358
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
6359
+ readonly showInfo: {
6360
+ readonly type: BooleanConstructor;
6361
+ readonly default: false;
6362
+ };
6363
+ readonly infoContent: {
6364
+ readonly type: PropType<InfoTriggerInfoContent>;
6365
+ readonly default: "";
6366
+ };
6367
+ }>> & Readonly<{}>, {
6368
+ close: () => void;
6369
+ rootEl: Ref<HTMLElement | null, HTMLElement | null>;
6370
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
6371
+ readonly showInfo: boolean;
6372
+ readonly infoContent: string;
6373
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
6374
+ beforeCreate?: (() => void) | (() => void)[];
6375
+ created?: (() => void) | (() => void)[];
6376
+ beforeMount?: (() => void) | (() => void)[];
6377
+ mounted?: (() => void) | (() => void)[];
6378
+ beforeUpdate?: (() => void) | (() => void)[];
6379
+ updated?: (() => void) | (() => void)[];
6380
+ activated?: (() => void) | (() => void)[];
6381
+ deactivated?: (() => void) | (() => void)[];
6382
+ beforeDestroy?: (() => void) | (() => void)[];
6383
+ beforeUnmount?: (() => void) | (() => void)[];
6384
+ destroyed?: (() => void) | (() => void)[];
6385
+ unmounted?: (() => void) | (() => void)[];
6386
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
6387
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
6388
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
6389
+ };
6390
+ $forceUpdate: () => void;
6391
+ $nextTick: nextTick;
6392
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
6393
+ } & Readonly<{
6394
+ readonly showInfo: boolean;
6395
+ readonly infoContent: string;
6396
+ }> & Omit<Readonly<ExtractPropTypes< {
6397
+ readonly showInfo: {
6398
+ readonly type: BooleanConstructor;
6399
+ readonly default: false;
6400
+ };
6401
+ readonly infoContent: {
6402
+ readonly type: PropType<InfoTriggerInfoContent>;
6403
+ readonly default: "";
6404
+ };
6405
+ }>> & Readonly<{}>, "close" | "rootEl" | ("showInfo" | "infoContent")> & ShallowUnwrapRef< {
6406
+ close: () => void;
6407
+ rootEl: Ref<HTMLElement | null, HTMLElement | null>;
6408
+ }> & {} & ComponentCustomProperties & {} & {
6409
+ $slots: {
6410
+ default?(_: {}): any;
6411
+ };
6412
+ }) | null;
6413
+ }, HTMLDivElement, ComponentProvideOptions, {
6212
6414
  P: {};
6213
6415
  B: {};
6214
6416
  D: {};
@@ -6834,6 +7036,105 @@ layout: GeneralModeLayout;
6834
7036
  modeOptionConfigs: GeneralModeOptionConfig[];
6835
7037
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
6836
7038
 
7039
+ export declare const UpGeneralRedirect: {
7040
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
7041
+ readonly title: {
7042
+ readonly type: StringConstructor;
7043
+ readonly default: "";
7044
+ };
7045
+ readonly subtitle: {
7046
+ readonly type: StringConstructor;
7047
+ readonly default: "";
7048
+ };
7049
+ readonly appLink: {
7050
+ readonly type: StringConstructor;
7051
+ readonly default: "";
7052
+ };
7053
+ readonly packageName: {
7054
+ readonly type: StringConstructor;
7055
+ readonly default: "";
7056
+ };
7057
+ readonly icon: {
7058
+ readonly type: PropType<string[]>;
7059
+ readonly default: undefined;
7060
+ };
7061
+ }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
7062
+ readonly title: string;
7063
+ readonly icon: string[];
7064
+ readonly subtitle: string;
7065
+ readonly appLink: string;
7066
+ readonly packageName: string;
7067
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
7068
+ contentRef: HTMLDivElement;
7069
+ titleRef: HTMLDivElement;
7070
+ subtitleRef: HTMLDivElement;
7071
+ }, any, ComponentProvideOptions, {
7072
+ P: {};
7073
+ B: {};
7074
+ D: {};
7075
+ C: {};
7076
+ M: {};
7077
+ Defaults: {};
7078
+ }, Readonly<ExtractPropTypes< {
7079
+ readonly title: {
7080
+ readonly type: StringConstructor;
7081
+ readonly default: "";
7082
+ };
7083
+ readonly subtitle: {
7084
+ readonly type: StringConstructor;
7085
+ readonly default: "";
7086
+ };
7087
+ readonly appLink: {
7088
+ readonly type: StringConstructor;
7089
+ readonly default: "";
7090
+ };
7091
+ readonly packageName: {
7092
+ readonly type: StringConstructor;
7093
+ readonly default: "";
7094
+ };
7095
+ readonly icon: {
7096
+ readonly type: PropType<string[]>;
7097
+ readonly default: undefined;
7098
+ };
7099
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
7100
+ readonly title: string;
7101
+ readonly icon: string[];
7102
+ readonly subtitle: string;
7103
+ readonly appLink: string;
7104
+ readonly packageName: string;
7105
+ }>;
7106
+ __isFragment?: never;
7107
+ __isTeleport?: never;
7108
+ __isSuspense?: never;
7109
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes< {
7110
+ readonly title: {
7111
+ readonly type: StringConstructor;
7112
+ readonly default: "";
7113
+ };
7114
+ readonly subtitle: {
7115
+ readonly type: StringConstructor;
7116
+ readonly default: "";
7117
+ };
7118
+ readonly appLink: {
7119
+ readonly type: StringConstructor;
7120
+ readonly default: "";
7121
+ };
7122
+ readonly packageName: {
7123
+ readonly type: StringConstructor;
7124
+ readonly default: "";
7125
+ };
7126
+ readonly icon: {
7127
+ readonly type: PropType<string[]>;
7128
+ readonly default: undefined;
7129
+ };
7130
+ }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
7131
+ readonly title: string;
7132
+ readonly icon: string[];
7133
+ readonly subtitle: string;
7134
+ readonly appLink: string;
7135
+ readonly packageName: string;
7136
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
7137
+
6837
7138
  export declare const UpGeneralReminder: {
6838
7139
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
6839
7140
  enumConfigs: {
@@ -10850,6 +11151,10 @@ export declare const zhCN: {
10850
11151
  pageRouter: {
10851
11152
  defaultTitle: string;
10852
11153
  };
11154
+ generalRedirect: {
11155
+ defaultTitle: string;
11156
+ defaultSubtitle: string;
11157
+ };
10853
11158
  enumControl: {
10854
11159
  prev: string;
10855
11160
  next: string;