@unizhen/ui 0.1.82 → 0.1.84

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.
@@ -1,5 +1,4 @@
1
- export declare const dynamicQueryById: (id: string) => Promise<any>;
2
- export declare const dynamicCreateTime: (id: string) => Promise<any>;
1
+ export declare const dynamicCreateTime: (id: string, createTime?: number) => Promise<any>;
3
2
  export declare const tableQuery: (data: any) => Promise<any>;
4
3
  export declare const tableSubmit: (data: any) => Promise<any>;
5
4
  export declare const tableDelete: (data: any) => Promise<any>;
@@ -1,4 +1,115 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const __VLS_export: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentProvideOptions } from 'vue';
2
+ import { SkeletonSize } from 'naive-ui';
3
+ import { Theme } from 'naive-ui/es/_mixins';
4
+ import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
3
5
  declare const _default: typeof __VLS_export;
4
6
  export default _default;
7
+ declare const __VLS_export: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
8
+ NSkeleton: DefineComponent<ExtractPropTypes<{
9
+ readonly text: BooleanConstructor;
10
+ readonly round: BooleanConstructor;
11
+ readonly circle: BooleanConstructor;
12
+ readonly height: PropType<string | number>;
13
+ readonly width: PropType<string | number>;
14
+ readonly size: PropType<SkeletonSize>;
15
+ readonly repeat: {
16
+ readonly type: NumberConstructor;
17
+ readonly default: 1;
18
+ };
19
+ readonly animated: {
20
+ readonly type: BooleanConstructor;
21
+ readonly default: true;
22
+ };
23
+ readonly sharp: {
24
+ readonly type: BooleanConstructor;
25
+ readonly default: true;
26
+ };
27
+ readonly theme: PropType<Theme<"Skeleton", {
28
+ color: string;
29
+ colorEnd: string;
30
+ borderRadius: string;
31
+ heightSmall: string;
32
+ heightMedium: string;
33
+ heightLarge: string;
34
+ }, any>>;
35
+ readonly themeOverrides: PropType<ExtractThemeOverrides<Theme<"Skeleton", {
36
+ color: string;
37
+ colorEnd: string;
38
+ borderRadius: string;
39
+ heightSmall: string;
40
+ heightMedium: string;
41
+ heightLarge: string;
42
+ }, any>>>;
43
+ readonly builtinThemeOverrides: PropType<ExtractThemeOverrides<Theme<"Skeleton", {
44
+ color: string;
45
+ colorEnd: string;
46
+ borderRadius: string;
47
+ heightSmall: string;
48
+ heightMedium: string;
49
+ heightLarge: string;
50
+ }, any>>>;
51
+ }>, {
52
+ mergedClsPrefix: Ref<string, string>;
53
+ style: ComputedRef<{
54
+ display: string;
55
+ verticalAlign: string;
56
+ borderRadius: string;
57
+ width: string | undefined;
58
+ height: string | undefined;
59
+ animation: string;
60
+ "--n-bezier": string;
61
+ "--n-color-start": string;
62
+ "--n-color-end": string;
63
+ }>;
64
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
65
+ readonly text: BooleanConstructor;
66
+ readonly round: BooleanConstructor;
67
+ readonly circle: BooleanConstructor;
68
+ readonly height: PropType<string | number>;
69
+ readonly width: PropType<string | number>;
70
+ readonly size: PropType<SkeletonSize>;
71
+ readonly repeat: {
72
+ readonly type: NumberConstructor;
73
+ readonly default: 1;
74
+ };
75
+ readonly animated: {
76
+ readonly type: BooleanConstructor;
77
+ readonly default: true;
78
+ };
79
+ readonly sharp: {
80
+ readonly type: BooleanConstructor;
81
+ readonly default: true;
82
+ };
83
+ readonly theme: PropType<Theme<"Skeleton", {
84
+ color: string;
85
+ colorEnd: string;
86
+ borderRadius: string;
87
+ heightSmall: string;
88
+ heightMedium: string;
89
+ heightLarge: string;
90
+ }, any>>;
91
+ readonly themeOverrides: PropType<ExtractThemeOverrides<Theme<"Skeleton", {
92
+ color: string;
93
+ colorEnd: string;
94
+ borderRadius: string;
95
+ heightSmall: string;
96
+ heightMedium: string;
97
+ heightLarge: string;
98
+ }, any>>>;
99
+ readonly builtinThemeOverrides: PropType<ExtractThemeOverrides<Theme<"Skeleton", {
100
+ color: string;
101
+ colorEnd: string;
102
+ borderRadius: string;
103
+ heightSmall: string;
104
+ heightMedium: string;
105
+ heightLarge: string;
106
+ }, any>>>;
107
+ }>> & Readonly<{}>, {
108
+ readonly circle: boolean;
109
+ readonly round: boolean;
110
+ readonly text: boolean;
111
+ readonly repeat: number;
112
+ readonly animated: boolean;
113
+ readonly sharp: boolean;
114
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
115
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -28,6 +28,7 @@ declare const __VLS_export: DefineComponent<{}, {
28
28
  filterButton?: 0 | 1 | undefined;
29
29
  commonTime: 0 | 1;
30
30
  filePort: 0 | 1;
31
+ asynchronous?: string | undefined;
31
32
  actionWidth: number | string;
32
33
  drawerWidth: number | string;
33
34
  drawerHeight: number | string;
@@ -44,6 +45,7 @@ declare const __VLS_export: DefineComponent<{}, {
44
45
  filterButton?: 0 | 1 | undefined;
45
46
  commonTime: 0 | 1;
46
47
  filePort: 0 | 1;
48
+ asynchronous?: string | undefined;
47
49
  actionWidth: number | string;
48
50
  drawerWidth: number | string;
49
51
  drawerHeight: number | string;
@@ -95,6 +95,7 @@ export declare const fnOptionSimplify: (option: ITableOptions) => {
95
95
  a: 0 | 1;
96
96
  f: 0 | 1 | undefined;
97
97
  o: 0 | 1;
98
+ n: string | undefined;
98
99
  e: 0 | 1;
99
100
  t: string | number;
100
101
  w: string | number;
@@ -1,5 +1,5 @@
1
1
  import { PropType, DefineComponent, ExtractPropTypes, Ref, ComputedRef, VNodeChild, ComponentOptionsMixin, PublicProps, SlotsType, ComponentProvideOptions, CSSProperties, Component } from 'vue';
2
- import { DataTableSortState, PaginationInfo, TableBaseColumn, ColumnKey, PaginationProps, TableColumns, CreateRowClassName, CreateRowProps, CreateRowKey, CreateSummary, RowData, DataTableRowKey, DataTableSize, PopoverProps, ScrollbarProps, DataTableSpinProps, DataTableGetCsvCell, DataTableGetCsvHeader, FilterState, SortOrder, ThemeCommonVars, DataTableSlots, PopoverTrigger, PopoverPlacement, PopoverSlots, ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, SkeletonSize, CheckboxSize, CheckboxInst, SpinSlots, PopoverInst, EllipsisSlots, FormRules, FormSize, FormInst } from 'naive-ui';
2
+ import { DataTableSortState, PaginationInfo, TableBaseColumn, ColumnKey, PaginationProps, TableColumns, CreateRowClassName, CreateRowProps, CreateRowKey, CreateSummary, RowData, DataTableRowKey, DataTableSize, PopoverProps, ScrollbarProps, DataTableSpinProps, DataTableGetCsvCell, DataTableGetCsvHeader, FilterState, SortOrder, ThemeCommonVars, DataTableSlots, PopoverTrigger, PopoverPlacement, PopoverSlots, ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, CheckboxSize, CheckboxInst, SpinSlots, PopoverInst, EllipsisSlots, FormRules, FormSize, FormInst, SkeletonSize } from 'naive-ui';
3
3
  import { ObjectKey, Fn } from '../interface';
4
4
  import { IUzTableQuery, ITableOptions } from './interface';
5
5
  import { IUzSearchBars } from '../searchBar';
@@ -149,6 +149,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
149
149
  filterButton?: 0 | 1 | undefined;
150
150
  commonTime: 0 | 1;
151
151
  filePort: 0 | 1;
152
+ asynchronous?: string | undefined;
152
153
  actionWidth: number | string;
153
154
  drawerWidth: number | string;
154
155
  drawerHeight: number | string;
@@ -165,6 +166,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
165
166
  filterButton?: 0 | 1 | undefined;
166
167
  commonTime: 0 | 1;
167
168
  filePort: 0 | 1;
169
+ asynchronous?: string | undefined;
168
170
  actionWidth: number | string;
169
171
  drawerWidth: number | string;
170
172
  drawerHeight: number | string;
@@ -1499,7 +1501,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1499
1501
  handleExpandAll: () => void;
1500
1502
  handleContractAll: () => void;
1501
1503
  doPortChange: () => void;
1502
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("on-update:value" | "update:loading" | "update:rowKeys" | "update:suffixes")[], "on-update:value" | "update:loading" | "update:rowKeys" | "update:suffixes", PublicProps, Readonly< ExtractPropTypes<{
1504
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("on-update:value" | "update:loading" | "update:rowKeys" | "update:suffixes" | "update:asynchronous")[], "on-update:value" | "update:loading" | "update:rowKeys" | "update:suffixes" | "update:asynchronous", PublicProps, Readonly< ExtractPropTypes<{
1503
1505
  id: {
1504
1506
  required: false;
1505
1507
  type: PropType<string>;
@@ -1615,6 +1617,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1615
1617
  "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
1616
1618
  "onUpdate:rowKeys"?: ((...args: any[]) => any) | undefined;
1617
1619
  "onUpdate:suffixes"?: ((...args: any[]) => any) | undefined;
1620
+ "onUpdate:asynchronous"?: ((...args: any[]) => any) | undefined;
1618
1621
  }>, {
1619
1622
  width: string | number;
1620
1623
  style: any;
@@ -10638,113 +10641,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
10638
10641
  opacity5Depth: string;
10639
10642
  }, any>>>;
10640
10643
  }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
10641
- NSkeleton: DefineComponent<ExtractPropTypes<{
10642
- readonly text: BooleanConstructor;
10643
- readonly round: BooleanConstructor;
10644
- readonly circle: BooleanConstructor;
10645
- readonly height: PropType<string | number>;
10646
- readonly width: PropType<string | number>;
10647
- readonly size: PropType< SkeletonSize>;
10648
- readonly repeat: {
10649
- readonly type: NumberConstructor;
10650
- readonly default: 1;
10651
- };
10652
- readonly animated: {
10653
- readonly type: BooleanConstructor;
10654
- readonly default: true;
10655
- };
10656
- readonly sharp: {
10657
- readonly type: BooleanConstructor;
10658
- readonly default: true;
10659
- };
10660
- readonly theme: PropType< Theme<"Skeleton", {
10661
- color: string;
10662
- colorEnd: string;
10663
- borderRadius: string;
10664
- heightSmall: string;
10665
- heightMedium: string;
10666
- heightLarge: string;
10667
- }, any>>;
10668
- readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
10669
- color: string;
10670
- colorEnd: string;
10671
- borderRadius: string;
10672
- heightSmall: string;
10673
- heightMedium: string;
10674
- heightLarge: string;
10675
- }, any>>>;
10676
- readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
10677
- color: string;
10678
- colorEnd: string;
10679
- borderRadius: string;
10680
- heightSmall: string;
10681
- heightMedium: string;
10682
- heightLarge: string;
10683
- }, any>>>;
10684
- }>, {
10685
- mergedClsPrefix: Ref<string, string>;
10686
- style: ComputedRef<{
10687
- display: string;
10688
- verticalAlign: string;
10689
- borderRadius: string;
10690
- width: string | undefined;
10691
- height: string | undefined;
10692
- animation: string;
10693
- "--n-bezier": string;
10694
- "--n-color-start": string;
10695
- "--n-color-end": string;
10696
- }>;
10697
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
10698
- readonly text: BooleanConstructor;
10699
- readonly round: BooleanConstructor;
10700
- readonly circle: BooleanConstructor;
10701
- readonly height: PropType<string | number>;
10702
- readonly width: PropType<string | number>;
10703
- readonly size: PropType< SkeletonSize>;
10704
- readonly repeat: {
10705
- readonly type: NumberConstructor;
10706
- readonly default: 1;
10707
- };
10708
- readonly animated: {
10709
- readonly type: BooleanConstructor;
10710
- readonly default: true;
10711
- };
10712
- readonly sharp: {
10713
- readonly type: BooleanConstructor;
10714
- readonly default: true;
10715
- };
10716
- readonly theme: PropType< Theme<"Skeleton", {
10717
- color: string;
10718
- colorEnd: string;
10719
- borderRadius: string;
10720
- heightSmall: string;
10721
- heightMedium: string;
10722
- heightLarge: string;
10723
- }, any>>;
10724
- readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
10725
- color: string;
10726
- colorEnd: string;
10727
- borderRadius: string;
10728
- heightSmall: string;
10729
- heightMedium: string;
10730
- heightLarge: string;
10731
- }, any>>>;
10732
- readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
10733
- color: string;
10734
- colorEnd: string;
10735
- borderRadius: string;
10736
- heightSmall: string;
10737
- heightMedium: string;
10738
- heightLarge: string;
10739
- }, any>>>;
10740
- }>> & Readonly<{}>, {
10741
- readonly circle: boolean;
10742
- readonly round: boolean;
10743
- readonly text: boolean;
10744
- readonly repeat: number;
10745
- readonly animated: boolean;
10746
- readonly sharp: boolean;
10747
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
10748
10644
  NCheckbox: DefineComponent<ExtractPropTypes<{
10749
10645
  size: PropType< CheckboxSize>;
10750
10646
  checked: {
@@ -20634,5 +20530,113 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
20634
20530
  readonly showLabel: boolean | undefined;
20635
20531
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20636
20532
  }, {}, string, ComponentProvideOptions, true, {}, any>;
20637
- SkeletonLoading: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20533
+ SkeletonLoading: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
20534
+ NSkeleton: DefineComponent<ExtractPropTypes<{
20535
+ readonly text: BooleanConstructor;
20536
+ readonly round: BooleanConstructor;
20537
+ readonly circle: BooleanConstructor;
20538
+ readonly height: PropType<string | number>;
20539
+ readonly width: PropType<string | number>;
20540
+ readonly size: PropType< SkeletonSize>;
20541
+ readonly repeat: {
20542
+ readonly type: NumberConstructor;
20543
+ readonly default: 1;
20544
+ };
20545
+ readonly animated: {
20546
+ readonly type: BooleanConstructor;
20547
+ readonly default: true;
20548
+ };
20549
+ readonly sharp: {
20550
+ readonly type: BooleanConstructor;
20551
+ readonly default: true;
20552
+ };
20553
+ readonly theme: PropType< Theme<"Skeleton", {
20554
+ color: string;
20555
+ colorEnd: string;
20556
+ borderRadius: string;
20557
+ heightSmall: string;
20558
+ heightMedium: string;
20559
+ heightLarge: string;
20560
+ }, any>>;
20561
+ readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
20562
+ color: string;
20563
+ colorEnd: string;
20564
+ borderRadius: string;
20565
+ heightSmall: string;
20566
+ heightMedium: string;
20567
+ heightLarge: string;
20568
+ }, any>>>;
20569
+ readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
20570
+ color: string;
20571
+ colorEnd: string;
20572
+ borderRadius: string;
20573
+ heightSmall: string;
20574
+ heightMedium: string;
20575
+ heightLarge: string;
20576
+ }, any>>>;
20577
+ }>, {
20578
+ mergedClsPrefix: Ref<string, string>;
20579
+ style: ComputedRef<{
20580
+ display: string;
20581
+ verticalAlign: string;
20582
+ borderRadius: string;
20583
+ width: string | undefined;
20584
+ height: string | undefined;
20585
+ animation: string;
20586
+ "--n-bezier": string;
20587
+ "--n-color-start": string;
20588
+ "--n-color-end": string;
20589
+ }>;
20590
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
20591
+ readonly text: BooleanConstructor;
20592
+ readonly round: BooleanConstructor;
20593
+ readonly circle: BooleanConstructor;
20594
+ readonly height: PropType<string | number>;
20595
+ readonly width: PropType<string | number>;
20596
+ readonly size: PropType< SkeletonSize>;
20597
+ readonly repeat: {
20598
+ readonly type: NumberConstructor;
20599
+ readonly default: 1;
20600
+ };
20601
+ readonly animated: {
20602
+ readonly type: BooleanConstructor;
20603
+ readonly default: true;
20604
+ };
20605
+ readonly sharp: {
20606
+ readonly type: BooleanConstructor;
20607
+ readonly default: true;
20608
+ };
20609
+ readonly theme: PropType< Theme<"Skeleton", {
20610
+ color: string;
20611
+ colorEnd: string;
20612
+ borderRadius: string;
20613
+ heightSmall: string;
20614
+ heightMedium: string;
20615
+ heightLarge: string;
20616
+ }, any>>;
20617
+ readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
20618
+ color: string;
20619
+ colorEnd: string;
20620
+ borderRadius: string;
20621
+ heightSmall: string;
20622
+ heightMedium: string;
20623
+ heightLarge: string;
20624
+ }, any>>>;
20625
+ readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
20626
+ color: string;
20627
+ colorEnd: string;
20628
+ borderRadius: string;
20629
+ heightSmall: string;
20630
+ heightMedium: string;
20631
+ heightLarge: string;
20632
+ }, any>>>;
20633
+ }>> & Readonly<{}>, {
20634
+ readonly circle: boolean;
20635
+ readonly round: boolean;
20636
+ readonly text: boolean;
20637
+ readonly repeat: number;
20638
+ readonly animated: boolean;
20639
+ readonly sharp: boolean;
20640
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20641
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
20638
20642
  }, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -92,6 +92,7 @@ export type ITableOptions = {
92
92
  filterButton?: 0 | 1;
93
93
  commonTime: 0 | 1;
94
94
  filePort: 0 | 1;
95
+ asynchronous?: string;
95
96
  actionWidth: number | string;
96
97
  drawerWidth: number | string;
97
98
  drawerHeight: number | string;