@unizhen/ui 0.1.83 → 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.
- package/lib/components/table/components/skeleton.vue.d.ts +113 -2
- package/lib/components/table/index.vue.d.ts +110 -109
- package/lib/ui.js +35 -31
- package/package.json +1 -1
|
@@ -1,4 +1,115 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
|
|
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>;
|
|
@@ -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,
|
|
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';
|
|
@@ -10641,113 +10641,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
10641
10641
|
opacity5Depth: string;
|
|
10642
10642
|
}, any>>>;
|
|
10643
10643
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
10644
|
-
NSkeleton: DefineComponent<ExtractPropTypes<{
|
|
10645
|
-
readonly text: BooleanConstructor;
|
|
10646
|
-
readonly round: BooleanConstructor;
|
|
10647
|
-
readonly circle: BooleanConstructor;
|
|
10648
|
-
readonly height: PropType<string | number>;
|
|
10649
|
-
readonly width: PropType<string | number>;
|
|
10650
|
-
readonly size: PropType< SkeletonSize>;
|
|
10651
|
-
readonly repeat: {
|
|
10652
|
-
readonly type: NumberConstructor;
|
|
10653
|
-
readonly default: 1;
|
|
10654
|
-
};
|
|
10655
|
-
readonly animated: {
|
|
10656
|
-
readonly type: BooleanConstructor;
|
|
10657
|
-
readonly default: true;
|
|
10658
|
-
};
|
|
10659
|
-
readonly sharp: {
|
|
10660
|
-
readonly type: BooleanConstructor;
|
|
10661
|
-
readonly default: true;
|
|
10662
|
-
};
|
|
10663
|
-
readonly theme: PropType< Theme<"Skeleton", {
|
|
10664
|
-
color: string;
|
|
10665
|
-
colorEnd: string;
|
|
10666
|
-
borderRadius: string;
|
|
10667
|
-
heightSmall: string;
|
|
10668
|
-
heightMedium: string;
|
|
10669
|
-
heightLarge: string;
|
|
10670
|
-
}, any>>;
|
|
10671
|
-
readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
|
|
10672
|
-
color: string;
|
|
10673
|
-
colorEnd: string;
|
|
10674
|
-
borderRadius: string;
|
|
10675
|
-
heightSmall: string;
|
|
10676
|
-
heightMedium: string;
|
|
10677
|
-
heightLarge: string;
|
|
10678
|
-
}, any>>>;
|
|
10679
|
-
readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
|
|
10680
|
-
color: string;
|
|
10681
|
-
colorEnd: string;
|
|
10682
|
-
borderRadius: string;
|
|
10683
|
-
heightSmall: string;
|
|
10684
|
-
heightMedium: string;
|
|
10685
|
-
heightLarge: string;
|
|
10686
|
-
}, any>>>;
|
|
10687
|
-
}>, {
|
|
10688
|
-
mergedClsPrefix: Ref<string, string>;
|
|
10689
|
-
style: ComputedRef<{
|
|
10690
|
-
display: string;
|
|
10691
|
-
verticalAlign: string;
|
|
10692
|
-
borderRadius: string;
|
|
10693
|
-
width: string | undefined;
|
|
10694
|
-
height: string | undefined;
|
|
10695
|
-
animation: string;
|
|
10696
|
-
"--n-bezier": string;
|
|
10697
|
-
"--n-color-start": string;
|
|
10698
|
-
"--n-color-end": string;
|
|
10699
|
-
}>;
|
|
10700
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
10701
|
-
readonly text: BooleanConstructor;
|
|
10702
|
-
readonly round: BooleanConstructor;
|
|
10703
|
-
readonly circle: BooleanConstructor;
|
|
10704
|
-
readonly height: PropType<string | number>;
|
|
10705
|
-
readonly width: PropType<string | number>;
|
|
10706
|
-
readonly size: PropType< SkeletonSize>;
|
|
10707
|
-
readonly repeat: {
|
|
10708
|
-
readonly type: NumberConstructor;
|
|
10709
|
-
readonly default: 1;
|
|
10710
|
-
};
|
|
10711
|
-
readonly animated: {
|
|
10712
|
-
readonly type: BooleanConstructor;
|
|
10713
|
-
readonly default: true;
|
|
10714
|
-
};
|
|
10715
|
-
readonly sharp: {
|
|
10716
|
-
readonly type: BooleanConstructor;
|
|
10717
|
-
readonly default: true;
|
|
10718
|
-
};
|
|
10719
|
-
readonly theme: PropType< Theme<"Skeleton", {
|
|
10720
|
-
color: string;
|
|
10721
|
-
colorEnd: string;
|
|
10722
|
-
borderRadius: string;
|
|
10723
|
-
heightSmall: string;
|
|
10724
|
-
heightMedium: string;
|
|
10725
|
-
heightLarge: string;
|
|
10726
|
-
}, any>>;
|
|
10727
|
-
readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
|
|
10728
|
-
color: string;
|
|
10729
|
-
colorEnd: string;
|
|
10730
|
-
borderRadius: string;
|
|
10731
|
-
heightSmall: string;
|
|
10732
|
-
heightMedium: string;
|
|
10733
|
-
heightLarge: string;
|
|
10734
|
-
}, any>>>;
|
|
10735
|
-
readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Skeleton", {
|
|
10736
|
-
color: string;
|
|
10737
|
-
colorEnd: string;
|
|
10738
|
-
borderRadius: string;
|
|
10739
|
-
heightSmall: string;
|
|
10740
|
-
heightMedium: string;
|
|
10741
|
-
heightLarge: string;
|
|
10742
|
-
}, any>>>;
|
|
10743
|
-
}>> & Readonly<{}>, {
|
|
10744
|
-
readonly circle: boolean;
|
|
10745
|
-
readonly round: boolean;
|
|
10746
|
-
readonly text: boolean;
|
|
10747
|
-
readonly repeat: number;
|
|
10748
|
-
readonly animated: boolean;
|
|
10749
|
-
readonly sharp: boolean;
|
|
10750
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
10751
10644
|
NCheckbox: DefineComponent<ExtractPropTypes<{
|
|
10752
10645
|
size: PropType< CheckboxSize>;
|
|
10753
10646
|
checked: {
|
|
@@ -20637,5 +20530,113 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
20637
20530
|
readonly showLabel: boolean | undefined;
|
|
20638
20531
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
20639
20532
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
20640
|
-
SkeletonLoading: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
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>;
|
|
20641
20642
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
package/lib/ui.js
CHANGED
|
@@ -5978,38 +5978,43 @@ function Vm(e, t, r, i, a, o) {
|
|
|
5978
5978
|
"scroll-x"
|
|
5979
5979
|
]);
|
|
5980
5980
|
}
|
|
5981
|
-
var Hm = /*#__PURE__*/ W(Bm, [["render", Vm]]), Um = {
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5981
|
+
var Hm = /*#__PURE__*/ W(Bm, [["render", Vm]]), Um = d({
|
|
5982
|
+
components: { NSkeleton: Ae },
|
|
5983
|
+
setup() {
|
|
5984
|
+
return {};
|
|
5985
|
+
}
|
|
5986
|
+
}), Wm = { class: "uz-flex uz-flex-col uz-gap-2 uz-flex-1 uz-h-full" }, Gm = { class: "uz-flex uz-justify-between" }, Km = { class: "uz-flex uz-gap-1" };
|
|
5987
|
+
function qm(e, t, n, r, o, s) {
|
|
5988
|
+
let c = D("NSkeleton");
|
|
5989
|
+
return x(), i("div", Wm, [a("div", Gm, [l(c, {
|
|
5985
5990
|
width: 120,
|
|
5986
5991
|
size: "medium"
|
|
5987
5992
|
}), a("div", Km, [
|
|
5988
|
-
l(
|
|
5993
|
+
l(c, {
|
|
5989
5994
|
width: 180,
|
|
5990
5995
|
size: "medium"
|
|
5991
5996
|
}),
|
|
5992
|
-
l(
|
|
5997
|
+
l(c, {
|
|
5993
5998
|
width: 180,
|
|
5994
5999
|
size: "medium"
|
|
5995
6000
|
}),
|
|
5996
|
-
l(
|
|
6001
|
+
l(c, {
|
|
5997
6002
|
width: 46,
|
|
5998
6003
|
size: "medium"
|
|
5999
6004
|
}),
|
|
6000
|
-
l(
|
|
6005
|
+
l(c, {
|
|
6001
6006
|
width: 46,
|
|
6002
6007
|
size: "medium"
|
|
6003
6008
|
}),
|
|
6004
|
-
l(
|
|
6009
|
+
l(c, {
|
|
6005
6010
|
width: 46,
|
|
6006
6011
|
size: "medium"
|
|
6007
6012
|
}),
|
|
6008
|
-
l(
|
|
6013
|
+
l(c, {
|
|
6009
6014
|
width: 46,
|
|
6010
6015
|
size: "medium"
|
|
6011
6016
|
})
|
|
6012
|
-
])]), l(
|
|
6017
|
+
])]), l(c, {
|
|
6013
6018
|
class: "uz-flex-1",
|
|
6014
6019
|
width: "100%",
|
|
6015
6020
|
size: "medium"
|
|
@@ -6024,7 +6029,6 @@ var Jm = d({
|
|
|
6024
6029
|
NPopover: Ee,
|
|
6025
6030
|
NButton: L,
|
|
6026
6031
|
NIcon: V,
|
|
6027
|
-
NSkeleton: Ae,
|
|
6028
6032
|
NCheckbox: re,
|
|
6029
6033
|
NSpin: Me,
|
|
6030
6034
|
Filter: Ho,
|
|
@@ -6446,7 +6450,7 @@ var Jm = d({
|
|
|
6446
6450
|
}
|
|
6447
6451
|
}, Ce = async () => {
|
|
6448
6452
|
re.value = !1, Em();
|
|
6449
|
-
let { tableColumns: t, search:
|
|
6453
|
+
let { tableColumns: t, search: r, subTableIds: i, subTableExpand: a } = await Im(N.value, e.child, 0, () => ({}), ae);
|
|
6450
6454
|
!l.value && R.value.index && t.unshift({
|
|
6451
6455
|
title: "#",
|
|
6452
6456
|
key: "index",
|
|
@@ -6471,12 +6475,12 @@ var Jm = d({
|
|
|
6471
6475
|
multiple: e.selection === 2 || R.value.selection === 2,
|
|
6472
6476
|
options: ["all", "none"]
|
|
6473
6477
|
});
|
|
6474
|
-
let
|
|
6478
|
+
let c = e.id || o.params.id;
|
|
6475
6479
|
if (!l.value && R.value.commonTime && t.push(..._e()), e.enableAction === !0 && P.value && P.value.length > 0) {
|
|
6476
6480
|
let e = U(P.value);
|
|
6477
6481
|
for (let t of e) t.type === "group" ? t.children.forEach((e) => {
|
|
6478
|
-
Se(e,
|
|
6479
|
-
}) : Se(t,
|
|
6482
|
+
Se(e, i);
|
|
6483
|
+
}) : Se(t, i);
|
|
6480
6484
|
let n = {
|
|
6481
6485
|
title: () => s("Common.action"),
|
|
6482
6486
|
key: "action",
|
|
@@ -6492,21 +6496,21 @@ var Jm = d({
|
|
|
6492
6496
|
buttons: e,
|
|
6493
6497
|
rowData: t,
|
|
6494
6498
|
callback: B,
|
|
6495
|
-
tableId:
|
|
6499
|
+
tableId: c
|
|
6496
6500
|
});
|
|
6497
6501
|
}
|
|
6498
6502
|
};
|
|
6499
6503
|
t.push(n);
|
|
6500
6504
|
}
|
|
6501
|
-
let
|
|
6502
|
-
if (
|
|
6503
|
-
let e = X(`tables_filter_${
|
|
6505
|
+
let u = t;
|
|
6506
|
+
if (c) {
|
|
6507
|
+
let e = X(`tables_filter_${c}`, !1);
|
|
6504
6508
|
if (e) try {
|
|
6505
|
-
let n = await xf(
|
|
6506
|
-
n && (e = JSON.parse(n),
|
|
6509
|
+
let n = await xf(c);
|
|
6510
|
+
n && (e = JSON.parse(n), u = vd(t, e));
|
|
6507
6511
|
} catch {}
|
|
6508
6512
|
}
|
|
6509
|
-
|
|
6513
|
+
a.link && u.unshift({
|
|
6510
6514
|
type: "expand",
|
|
6511
6515
|
show: !0,
|
|
6512
6516
|
hide: !0,
|
|
@@ -6516,14 +6520,14 @@ var Jm = d({
|
|
|
6516
6520
|
filterOptionValue: null,
|
|
6517
6521
|
renderFilterMenu: () => f("div", { class: "uz-table-filter" }, [f(L, { onClick: Le }, { default: () => s("Common.expand") }), f(L, { onClick: Re }, { default: () => s("Common.contract") })]),
|
|
6518
6522
|
renderExpand: (e) => f(Hm, {
|
|
6519
|
-
data:
|
|
6523
|
+
data: a,
|
|
6520
6524
|
value: e
|
|
6521
6525
|
})
|
|
6522
|
-
});
|
|
6523
|
-
let
|
|
6524
|
-
|
|
6525
|
-
e.show && (
|
|
6526
|
-
}), C.value =
|
|
6526
|
+
}), R.value.asynchronous ? n("update:asynchronous", R.value.asynchronous) : n("update:asynchronous", null);
|
|
6527
|
+
let d = 0;
|
|
6528
|
+
u.forEach((e) => {
|
|
6529
|
+
e.show && (d += Number(e.width || 140));
|
|
6530
|
+
}), C.value = u, A.value = r, D.value = d;
|
|
6527
6531
|
}, we = (e) => typeof e == "number" ? `${e}px` : e, Te = () => {
|
|
6528
6532
|
if (e.height) {
|
|
6529
6533
|
let t = we(e.height);
|
|
@@ -6605,7 +6609,7 @@ var Jm = d({
|
|
|
6605
6609
|
ne.value = s("Notice.network"), re.value = !0;
|
|
6606
6610
|
return;
|
|
6607
6611
|
}
|
|
6608
|
-
|
|
6612
|
+
Te(), e.columns ? (N.value = e.columns || [], P.value = e.actions || [], F.value = e.suffixes || [], R.value = Pm(e.options), await Ce()) : await Om(t).then(async (e) => {
|
|
6609
6613
|
Me(e), await Ce();
|
|
6610
6614
|
}).catch((e) => {
|
|
6611
6615
|
ne.value = e?.message || s("Notice.network"), re.value = !0;
|
|
@@ -9089,7 +9093,7 @@ function qg(e, t, n) {
|
|
|
9089
9093
|
}
|
|
9090
9094
|
//#endregion
|
|
9091
9095
|
//#region package.json
|
|
9092
|
-
var Jg = "0.1.
|
|
9096
|
+
var Jg = "0.1.84", Yg;
|
|
9093
9097
|
async function Xg() {
|
|
9094
9098
|
let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
|
|
9095
9099
|
method: "HEAD",
|