@ailife-dev-vue/uiplus 0.1.7-snapshot → 0.1.9-snapshot

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
@@ -4619,7 +4619,9 @@ export declare const UpGeneralWheel: {
4619
4619
  readonly type: PropType<GeneralWheelSubscribeData>;
4620
4620
  readonly required: true;
4621
4621
  };
4622
- }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
4622
+ }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
4623
+ rootRef: HTMLDivElement;
4624
+ }, any, ComponentProvideOptions, {
4623
4625
  P: {};
4624
4626
  B: {};
4625
4627
  D: {};
@@ -6218,10 +6220,14 @@ export declare type WheelZoneConfig = {
6218
6220
  type: WheelZoneType;
6219
6221
  operate: WheelOperate;
6220
6222
  defaultValue?: string;
6223
+ /** 仅 bool;自由模式 enum 亦可配置:false=固定 defaultValue,true=toggle/环形 */
6221
6224
  reverse?: boolean;
6222
6225
  values?: string[];
6226
+ /** 内容展示方案;中心默认 none,四向默认 custom */
6227
+ show?: WheelZoneShow;
6228
+ /** 槽位数组 `[浅色/上左, 深色/下右]`;仅一项时深浅色共用首项 */
6223
6229
  icons?: Record<string, string[]>;
6224
- /** key = 展示值字符串;value 支持 string / { zh, en, key } / 槽位数组 */
6230
+ /** key = 展示值字符串;int 区 show=texts|icons 时读 `fix`;value 支持 string / { zh, en, key } / 槽位数组 */
6225
6231
  texts?: WheelZoneTexts;
6226
6232
  /** 本区文案字号(px) */
6227
6233
  textSize?: number;
@@ -6231,13 +6237,22 @@ export declare type WheelZoneConfig = {
6231
6237
 
6232
6238
  export declare type WheelZoneKey = (typeof WHEEL_ZONE_KEYS)[number];
6233
6239
 
6240
+ /** 分区内容展示方案:none 无内容 / custom 默认圆点 / texts 文案 / icons 图标 */
6241
+ declare type WheelZoneShow = 'none' | 'custom' | 'texts' | 'icons';
6242
+
6234
6243
  /** texts 单条:i18n key 字面量 / 双语对象 / { key } */
6235
6244
  declare type WheelZoneTextEntry = string | WheelZoneTextI18n;
6236
6245
 
6246
+ /** 画布兼容:`zh_CN` / `en_US` 与 `zh` / `en` 等价 */
6237
6247
  declare type WheelZoneTextI18n = {
6238
6248
  zh?: string;
6239
6249
  en?: string;
6240
6250
  key?: string;
6251
+ zh_CN?: string;
6252
+ en_US?: string;
6253
+ 'zh-CN'?: string;
6254
+ 'en-US'?: string;
6255
+ type?: string;
6241
6256
  };
6242
6257
 
6243
6258
  declare type WheelZoneTexts = Record<string, WheelZoneTextEntry | WheelZoneTextEntry[]>;