@unizhen/ui 0.1.119 → 0.1.120

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.
@@ -1520,6 +1520,96 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1520
1520
  tab: boolean;
1521
1521
  span?: number | undefined;
1522
1522
  };
1523
+ } | {
1524
+ input: "bom";
1525
+ params: {
1526
+ _async?: boolean | undefined;
1527
+ _fetch?: boolean | undefined;
1528
+ _asyncFn?: (() => Promise<any[]>) | undefined;
1529
+ placeholder: string;
1530
+ clearable: boolean;
1531
+ };
1532
+ label: string | (() => string);
1533
+ key: string;
1534
+ dbType: string;
1535
+ unique: number;
1536
+ fieldValueRule?: string | undefined;
1537
+ source: string;
1538
+ sourceFn: string;
1539
+ table: {
1540
+ align: "left" | "right" | "center" | null;
1541
+ titleAlign: "left" | "right" | "center" | null;
1542
+ fixed: "left" | "right" | false | null;
1543
+ width: number | string | null;
1544
+ resizable: boolean;
1545
+ hide: boolean;
1546
+ sorter: boolean;
1547
+ show: boolean;
1548
+ mobile: boolean;
1549
+ lineBreak: boolean;
1550
+ lineCol: number;
1551
+ clamp: number;
1552
+ ellipsis: boolean | {
1553
+ tooltip: boolean;
1554
+ 'line-clamp': number | string;
1555
+ };
1556
+ render: string | ((rowData: {
1557
+ [x: string]: unknown;
1558
+ }, rowIndex: number) => VNodeChild);
1559
+ };
1560
+ form: {
1561
+ input?: string | undefined;
1562
+ label?: string | (() => string) | undefined;
1563
+ key?: string | undefined;
1564
+ defaultValue?: string | undefined;
1565
+ span: number;
1566
+ show: boolean;
1567
+ disabled: boolean;
1568
+ readonly: boolean;
1569
+ updateValue: string | Fn;
1570
+ display: string | Fn;
1571
+ readonlyFn: string | Fn;
1572
+ disabledFn: string | Fn;
1573
+ createButton: boolean;
1574
+ showDays: boolean;
1575
+ backfill: boolean;
1576
+ rule: {
1577
+ required: boolean;
1578
+ type: "string" | "number" | "boolean" | "object" | "pattern" | "method" | "url" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
1579
+ message: string;
1580
+ trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
1581
+ validator: string | Fn;
1582
+ };
1583
+ create: {
1584
+ show: boolean;
1585
+ disabled: boolean;
1586
+ readonly: boolean;
1587
+ };
1588
+ edit: {
1589
+ show: boolean;
1590
+ disabled: boolean;
1591
+ readonly: boolean;
1592
+ };
1593
+ expand: {
1594
+ show: boolean;
1595
+ disabled: boolean;
1596
+ readonly: boolean;
1597
+ };
1598
+ };
1599
+ search: {
1600
+ show: boolean;
1601
+ fuzzy: boolean;
1602
+ defaultValue?: string | undefined;
1603
+ source?: string | undefined;
1604
+ type?: string | undefined;
1605
+ title?: string | undefined;
1606
+ labelKeys?: string | undefined;
1607
+ valueKey?: string | undefined;
1608
+ child?: string | undefined;
1609
+ multiple: boolean;
1610
+ tab: boolean;
1611
+ span?: number | undefined;
1612
+ };
1523
1613
  })[];
1524
1614
  };
1525
1615
  label: string | (() => string);
@@ -3029,6 +3119,96 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
3029
3119
  tab: boolean;
3030
3120
  span?: number | undefined;
3031
3121
  };
3122
+ } | {
3123
+ input: "bom";
3124
+ params: {
3125
+ _async?: boolean | undefined;
3126
+ _fetch?: boolean | undefined;
3127
+ _asyncFn?: (() => Promise<any[]>) | undefined;
3128
+ placeholder: string;
3129
+ clearable: boolean;
3130
+ };
3131
+ label: string | (() => string);
3132
+ key: string;
3133
+ dbType: string;
3134
+ unique: number;
3135
+ fieldValueRule?: string | undefined;
3136
+ source: string;
3137
+ sourceFn: string;
3138
+ table: {
3139
+ align: "left" | "right" | "center" | null;
3140
+ titleAlign: "left" | "right" | "center" | null;
3141
+ fixed: "left" | "right" | false | null;
3142
+ width: number | string | null;
3143
+ resizable: boolean;
3144
+ hide: boolean;
3145
+ sorter: boolean;
3146
+ show: boolean;
3147
+ mobile: boolean;
3148
+ lineBreak: boolean;
3149
+ lineCol: number;
3150
+ clamp: number;
3151
+ ellipsis: boolean | {
3152
+ tooltip: boolean;
3153
+ 'line-clamp': number | string;
3154
+ };
3155
+ render: string | ((rowData: {
3156
+ [x: string]: unknown;
3157
+ }, rowIndex: number) => VNodeChild);
3158
+ };
3159
+ form: {
3160
+ input?: string | undefined;
3161
+ label?: string | (() => string) | undefined;
3162
+ key?: string | undefined;
3163
+ defaultValue?: string | undefined;
3164
+ span: number;
3165
+ show: boolean;
3166
+ disabled: boolean;
3167
+ readonly: boolean;
3168
+ updateValue: string | Fn;
3169
+ display: string | Fn;
3170
+ readonlyFn: string | Fn;
3171
+ disabledFn: string | Fn;
3172
+ createButton: boolean;
3173
+ showDays: boolean;
3174
+ backfill: boolean;
3175
+ rule: {
3176
+ required: boolean;
3177
+ type: "string" | "number" | "boolean" | "object" | "pattern" | "method" | "url" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
3178
+ message: string;
3179
+ trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
3180
+ validator: string | Fn;
3181
+ };
3182
+ create: {
3183
+ show: boolean;
3184
+ disabled: boolean;
3185
+ readonly: boolean;
3186
+ };
3187
+ edit: {
3188
+ show: boolean;
3189
+ disabled: boolean;
3190
+ readonly: boolean;
3191
+ };
3192
+ expand: {
3193
+ show: boolean;
3194
+ disabled: boolean;
3195
+ readonly: boolean;
3196
+ };
3197
+ };
3198
+ search: {
3199
+ show: boolean;
3200
+ fuzzy: boolean;
3201
+ defaultValue?: string | undefined;
3202
+ source?: string | undefined;
3203
+ type?: string | undefined;
3204
+ title?: string | undefined;
3205
+ labelKeys?: string | undefined;
3206
+ valueKey?: string | undefined;
3207
+ child?: string | undefined;
3208
+ multiple: boolean;
3209
+ tab: boolean;
3210
+ span?: number | undefined;
3211
+ };
3032
3212
  })[], IUzFormItems | ({
3033
3213
  input: "group";
3034
3214
  params: {
@@ -4462,6 +4642,96 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
4462
4642
  tab: boolean;
4463
4643
  span?: number | undefined;
4464
4644
  };
4645
+ } | {
4646
+ input: "bom";
4647
+ params: {
4648
+ _async?: boolean | undefined;
4649
+ _fetch?: boolean | undefined;
4650
+ _asyncFn?: (() => Promise<any[]>) | undefined;
4651
+ placeholder: string;
4652
+ clearable: boolean;
4653
+ };
4654
+ label: string | (() => string);
4655
+ key: string;
4656
+ dbType: string;
4657
+ unique: number;
4658
+ fieldValueRule?: string | undefined;
4659
+ source: string;
4660
+ sourceFn: string;
4661
+ table: {
4662
+ align: "left" | "right" | "center" | null;
4663
+ titleAlign: "left" | "right" | "center" | null;
4664
+ fixed: "left" | "right" | false | null;
4665
+ width: number | string | null;
4666
+ resizable: boolean;
4667
+ hide: boolean;
4668
+ sorter: boolean;
4669
+ show: boolean;
4670
+ mobile: boolean;
4671
+ lineBreak: boolean;
4672
+ lineCol: number;
4673
+ clamp: number;
4674
+ ellipsis: boolean | {
4675
+ tooltip: boolean;
4676
+ 'line-clamp': number | string;
4677
+ };
4678
+ render: string | ((rowData: {
4679
+ [x: string]: unknown;
4680
+ }, rowIndex: number) => VNodeChild);
4681
+ };
4682
+ form: {
4683
+ input?: string | undefined;
4684
+ label?: string | (() => string) | undefined;
4685
+ key?: string | undefined;
4686
+ defaultValue?: string | undefined;
4687
+ span: number;
4688
+ show: boolean;
4689
+ disabled: boolean;
4690
+ readonly: boolean;
4691
+ updateValue: string | Fn;
4692
+ display: string | Fn;
4693
+ readonlyFn: string | Fn;
4694
+ disabledFn: string | Fn;
4695
+ createButton: boolean;
4696
+ showDays: boolean;
4697
+ backfill: boolean;
4698
+ rule: {
4699
+ required: boolean;
4700
+ type: "string" | "number" | "boolean" | "object" | "pattern" | "method" | "url" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
4701
+ message: string;
4702
+ trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
4703
+ validator: string | Fn;
4704
+ };
4705
+ create: {
4706
+ show: boolean;
4707
+ disabled: boolean;
4708
+ readonly: boolean;
4709
+ };
4710
+ edit: {
4711
+ show: boolean;
4712
+ disabled: boolean;
4713
+ readonly: boolean;
4714
+ };
4715
+ expand: {
4716
+ show: boolean;
4717
+ disabled: boolean;
4718
+ readonly: boolean;
4719
+ };
4720
+ };
4721
+ search: {
4722
+ show: boolean;
4723
+ fuzzy: boolean;
4724
+ defaultValue?: string | undefined;
4725
+ source?: string | undefined;
4726
+ type?: string | undefined;
4727
+ title?: string | undefined;
4728
+ labelKeys?: string | undefined;
4729
+ valueKey?: string | undefined;
4730
+ child?: string | undefined;
4731
+ multiple: boolean;
4732
+ tab: boolean;
4733
+ span?: number | undefined;
4734
+ };
4465
4735
  })[];
4466
4736
  };
4467
4737
  label: string | (() => string);
@@ -5971,6 +6241,96 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
5971
6241
  tab: boolean;
5972
6242
  span?: number | undefined;
5973
6243
  };
6244
+ } | {
6245
+ input: "bom";
6246
+ params: {
6247
+ _async?: boolean | undefined;
6248
+ _fetch?: boolean | undefined;
6249
+ _asyncFn?: (() => Promise<any[]>) | undefined;
6250
+ placeholder: string;
6251
+ clearable: boolean;
6252
+ };
6253
+ label: string | (() => string);
6254
+ key: string;
6255
+ dbType: string;
6256
+ unique: number;
6257
+ fieldValueRule?: string | undefined;
6258
+ source: string;
6259
+ sourceFn: string;
6260
+ table: {
6261
+ align: "left" | "right" | "center" | null;
6262
+ titleAlign: "left" | "right" | "center" | null;
6263
+ fixed: "left" | "right" | false | null;
6264
+ width: number | string | null;
6265
+ resizable: boolean;
6266
+ hide: boolean;
6267
+ sorter: boolean;
6268
+ show: boolean;
6269
+ mobile: boolean;
6270
+ lineBreak: boolean;
6271
+ lineCol: number;
6272
+ clamp: number;
6273
+ ellipsis: boolean | {
6274
+ tooltip: boolean;
6275
+ 'line-clamp': number | string;
6276
+ };
6277
+ render: string | ((rowData: {
6278
+ [x: string]: unknown;
6279
+ }, rowIndex: number) => VNodeChild);
6280
+ };
6281
+ form: {
6282
+ input?: string | undefined;
6283
+ label?: string | (() => string) | undefined;
6284
+ key?: string | undefined;
6285
+ defaultValue?: string | undefined;
6286
+ span: number;
6287
+ show: boolean;
6288
+ disabled: boolean;
6289
+ readonly: boolean;
6290
+ updateValue: string | Fn;
6291
+ display: string | Fn;
6292
+ readonlyFn: string | Fn;
6293
+ disabledFn: string | Fn;
6294
+ createButton: boolean;
6295
+ showDays: boolean;
6296
+ backfill: boolean;
6297
+ rule: {
6298
+ required: boolean;
6299
+ type: "string" | "number" | "boolean" | "object" | "pattern" | "method" | "url" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
6300
+ message: string;
6301
+ trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
6302
+ validator: string | Fn;
6303
+ };
6304
+ create: {
6305
+ show: boolean;
6306
+ disabled: boolean;
6307
+ readonly: boolean;
6308
+ };
6309
+ edit: {
6310
+ show: boolean;
6311
+ disabled: boolean;
6312
+ readonly: boolean;
6313
+ };
6314
+ expand: {
6315
+ show: boolean;
6316
+ disabled: boolean;
6317
+ readonly: boolean;
6318
+ };
6319
+ };
6320
+ search: {
6321
+ show: boolean;
6322
+ fuzzy: boolean;
6323
+ defaultValue?: string | undefined;
6324
+ source?: string | undefined;
6325
+ type?: string | undefined;
6326
+ title?: string | undefined;
6327
+ labelKeys?: string | undefined;
6328
+ valueKey?: string | undefined;
6329
+ child?: string | undefined;
6330
+ multiple: boolean;
6331
+ tab: boolean;
6332
+ span?: number | undefined;
6333
+ };
5974
6334
  })[]>;
5975
6335
  formItemIndex: Ref<[number, number], [number, number]>;
5976
6336
  onDragChange: () => void;
@@ -6461,7 +6821,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
6461
6821
  isMobile: ComputedRef<boolean>;
6462
6822
  showDropdown: Ref<boolean, boolean>;
6463
6823
  dropdownOptions: Ref<any[], any[]>;
6464
- dayjs: typeof import("dayjs");
6824
+ dayjs: typeof import('dayjs');
6465
6825
  updateValue: (item: IUzFormItem, value: any, option?: SelectOption) => Promise<void>;
6466
6826
  showPlaceholder: (item: IUzFormItem) => any;
6467
6827
  checkDisabled: () => any;