@web-utils/form-ui 1.0.0-beta3 → 1.0.0-beta31
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/api/index.d.ts +60 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.mjs +49 -0
- package/base.css +1 -1
- package/chunks/4ZuVpQf6.mjs +478 -0
- package/chunks/B99alfW4.mjs +207 -0
- package/chunks/BQ77eAb3.mjs +71 -0
- package/chunks/BV_N8p9t.mjs +83 -0
- package/chunks/BV_P9a8o.mjs +100 -0
- package/chunks/BgDYHgyH.mjs +189 -0
- package/chunks/Bm5eiSmT.mjs +79 -0
- package/chunks/BmZieBZW.mjs +88 -0
- package/chunks/Br4i8stg.mjs +222 -0
- package/chunks/C3a15Ful.mjs +95 -0
- package/chunks/C44-CFi-.mjs +636 -0
- package/chunks/C4bM8miy.mjs +174 -0
- package/chunks/C9J3j0PX.mjs +93 -0
- package/chunks/Cby3mvvZ.mjs +216 -0
- package/chunks/Cc3EJjbV.mjs +25 -0
- package/chunks/Cgl-hCE5.mjs +25 -0
- package/chunks/Ci1XxmdE.mjs +51 -0
- package/chunks/CkFapoKt.mjs +8 -0
- package/chunks/CsfgUCe9.mjs +17 -0
- package/chunks/CugRu2Ka.mjs +42 -0
- package/chunks/Cy-4nmyC.mjs +106 -0
- package/chunks/D1EOkWJ7.mjs +25 -0
- package/chunks/D1G2MMMx.mjs +1360 -0
- package/chunks/DO8dVGef.mjs +98 -0
- package/chunks/DazglPJZ.mjs +180 -0
- package/chunks/Dt6gY213.mjs +62 -0
- package/chunks/DtAYXPvz.mjs +108 -0
- package/chunks/JhyiXnbd.mjs +76 -0
- package/chunks/S64sNmuR.mjs +226 -0
- package/chunks/bnRb5PUB.mjs +108 -0
- package/chunks/dM-icPM8.mjs +107 -0
- package/chunks/pxFLMMUm.mjs +110 -0
- package/chunks/q1SlJP1y.mjs +171 -0
- package/confirm-button/index.d.ts +113 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.d.ts +84 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +42 -0
- package/constants/index.mjs +4 -0
- package/dict-render/index.d.ts +28 -0
- package/element-dialog/index.d.ts +374 -0
- package/element-dialog/index.mjs +2 -91
- package/empty-view/index.d.ts +29 -0
- package/empty-view/index.mjs +1 -1
- package/flex-scroll-area/index.d.ts +22 -0
- package/flex-scroll-area/index.mjs +1 -1
- package/form-advice/index.d.ts +9 -0
- package/form-advice/index.mjs +13 -12
- package/form-button/index.d.ts +114 -0
- package/form-button/index.mjs +36 -0
- package/form-cascader/index.d.ts +486 -0
- package/form-cascader/index.mjs +2 -0
- package/form-cell/index.d.ts +25 -0
- package/form-check-box-group/index.d.ts +295 -0
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.d.ts +273 -0
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +423 -0
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +166 -0
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +226 -0
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +389 -0
- package/form-input/index.mjs +1 -1
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.d.ts +217 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +363 -0
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +363 -0
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +327 -0
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +363 -0
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +2 -0
- package/form-input-time/index.d.ts +2 -0
- package/form-item-config-provider/index.d.ts +22 -0
- package/form-item-config-provider/index.mjs +24 -0
- package/form-item-group/index.d.ts +94 -0
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.d.ts +184 -0
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +283 -0
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +321 -0
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.d.ts +21 -0
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.d.ts +11 -0
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +542 -0
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +350 -0
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +339 -0
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +229 -0
- package/form-text/index.mjs +1 -1
- package/form-view/index.d.ts +2 -0
- package/form-view/index.mjs +1 -1
- package/helper/dictionary.d.ts +15 -0
- package/helper/dictionary.mjs +97 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/index.d.ts +51 -0
- package/index.mjs +51 -37
- package/month-calendar/index.d.ts +80 -0
- package/package.json +12 -7
- package/pageable-table/index.d.ts +436 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/resize-observer/index.d.ts +8 -0
- package/resize-observer/index.mjs +40 -0
- package/resize-observer/style.css +1 -0
- package/resolver/index.d.ts +9 -0
- package/resolver/index.mjs +29 -0
- package/table-column/index.d.ts +160 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +85 -0
- package/table-column-def/index.mjs +11 -0
- package/table-column-filter/index.d.ts +11 -0
- package/table-column-filterable/index.d.ts +10 -0
- package/table-view/index.d.ts +2 -0
- package/table-view/index.mjs +1 -1
- package/toolbar/index.d.ts +129 -0
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +77 -0
- package/toolbar-button/index.mjs +1 -8
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +226 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.mjs +0 -4
- package/input/style.css +0 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
activeDates: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
month: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
default: () => number;
|
|
9
|
+
};
|
|
10
|
+
year: {
|
|
11
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
12
|
+
default: () => number;
|
|
13
|
+
};
|
|
14
|
+
lang: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
activeClass: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: () => string;
|
|
21
|
+
};
|
|
22
|
+
prefixClass: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: () => string;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {
|
|
27
|
+
showDays: never[];
|
|
28
|
+
isMouseDown: boolean;
|
|
29
|
+
}, {
|
|
30
|
+
weekTitleFontSizeAdjustLang(): any;
|
|
31
|
+
monthTitle(): any;
|
|
32
|
+
}, {
|
|
33
|
+
initCalendar(): never[] | undefined;
|
|
34
|
+
showDayTitle(day: any): any;
|
|
35
|
+
toggleDay(dayObj: any): void;
|
|
36
|
+
dragDay(dayObj: any): void;
|
|
37
|
+
mouseDown(dayObj: any): void;
|
|
38
|
+
mouseUp(): void;
|
|
39
|
+
classList(dayObj: any): {
|
|
40
|
+
[x: string]: any;
|
|
41
|
+
'calendar__day--otherMonth': any;
|
|
42
|
+
};
|
|
43
|
+
monthClickEvent(year: any): void;
|
|
44
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("toggleDate" | "monthClickEvent")[], "toggleDate" | "monthClickEvent", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
45
|
+
activeDates: {
|
|
46
|
+
type: ArrayConstructor;
|
|
47
|
+
default: () => never[];
|
|
48
|
+
};
|
|
49
|
+
month: {
|
|
50
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
51
|
+
default: () => number;
|
|
52
|
+
};
|
|
53
|
+
year: {
|
|
54
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
55
|
+
default: () => number;
|
|
56
|
+
};
|
|
57
|
+
lang: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
activeClass: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: () => string;
|
|
64
|
+
};
|
|
65
|
+
prefixClass: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: () => string;
|
|
68
|
+
};
|
|
69
|
+
}>> & Readonly<{
|
|
70
|
+
onToggleDate?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onMonthClickEvent?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}>, {
|
|
73
|
+
month: string | number;
|
|
74
|
+
year: string | number;
|
|
75
|
+
activeDates: unknown[];
|
|
76
|
+
lang: string;
|
|
77
|
+
activeClass: string;
|
|
78
|
+
prefixClass: string;
|
|
79
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
80
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@web-utils/form-ui",
|
|
3
3
|
"description": "form-ui",
|
|
4
|
-
"version": "1.0.0-
|
|
4
|
+
"version": "1.0.0-beta31",
|
|
5
5
|
"author": "Simple",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"main": "
|
|
9
|
-
"module": "
|
|
10
|
-
"types": "",
|
|
8
|
+
"main": "index.mjs",
|
|
9
|
+
"module": "index.mjs",
|
|
10
|
+
"types": "index.d.ts",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
16
|
+
"types": "./index.d.ts",
|
|
16
17
|
"import": "./index.mjs"
|
|
17
18
|
},
|
|
18
19
|
"./*": "./*"
|
|
@@ -24,9 +25,13 @@
|
|
|
24
25
|
"*.sass"
|
|
25
26
|
],
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"@web-utils/core": "^
|
|
28
|
-
"@web-utils/
|
|
29
|
-
"
|
|
28
|
+
"@web-utils/core": "^6.0.0-beta05",
|
|
29
|
+
"@web-utils/integrations": "6.0.0-beta05",
|
|
30
|
+
"@web-utils/vue": "6.0.0-beta06",
|
|
31
|
+
"cronosjs": "^1.7.1",
|
|
32
|
+
"dayjs": "^1.11.20",
|
|
33
|
+
"element-plus": "^2.13.7",
|
|
34
|
+
"lodash-es": "^4.18.1",
|
|
30
35
|
"vue": "^3.5.32"
|
|
31
36
|
}
|
|
32
37
|
}
|
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
data: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
7
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
stripe: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
border: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
size: StringConstructor;
|
|
17
|
+
fit: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
showHeader: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
highlightCurrentRow: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
rowClassName: (StringConstructor | FunctionConstructor)[];
|
|
31
|
+
rowStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
32
|
+
cellClassName: (StringConstructor | FunctionConstructor)[];
|
|
33
|
+
cellStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
34
|
+
headerRowClassName: (StringConstructor | FunctionConstructor)[];
|
|
35
|
+
headerRowStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
36
|
+
headerCellClassName: (StringConstructor | FunctionConstructor)[];
|
|
37
|
+
headerCellStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
38
|
+
rowKey: {
|
|
39
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
emptyText: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
defaultExpandAll: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
expandRowKeys: {
|
|
51
|
+
type: ArrayConstructor;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
defaultSort: ObjectConstructor;
|
|
55
|
+
tooltipEffect: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
tooltipOptions: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
default: () => {};
|
|
62
|
+
};
|
|
63
|
+
appendFilterPanelTo: StringConstructor;
|
|
64
|
+
showSummary: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
sumText: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
summaryMethod: FunctionConstructor;
|
|
73
|
+
spanMethod: FunctionConstructor;
|
|
74
|
+
selectOnIndeterminate: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
indent: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
default: number;
|
|
81
|
+
};
|
|
82
|
+
lazy: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
load: FunctionConstructor;
|
|
87
|
+
treeProps: {
|
|
88
|
+
type: ObjectConstructor;
|
|
89
|
+
default: () => {};
|
|
90
|
+
};
|
|
91
|
+
tableLayout: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
scrollbarAlwaysOn: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
showOverflowTooltip: (BooleanConstructor | ObjectConstructor)[];
|
|
100
|
+
flexible: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
scrollbarTabindex: (StringConstructor | NumberConstructor)[];
|
|
105
|
+
allowDragLastColumn: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
tooltipFormatter: FunctionConstructor;
|
|
110
|
+
preserveExpandedContent: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
nativeScrollbar: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
rowExpandable: FunctionConstructor;
|
|
119
|
+
selectionWidth: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
viewId: StringConstructor;
|
|
124
|
+
url: StringConstructor;
|
|
125
|
+
hideOnSinglePage: BooleanConstructor;
|
|
126
|
+
api: FunctionConstructor;
|
|
127
|
+
model: ObjectConstructor;
|
|
128
|
+
ascs: {
|
|
129
|
+
type: ArrayConstructor;
|
|
130
|
+
default: () => never[];
|
|
131
|
+
};
|
|
132
|
+
descs: {
|
|
133
|
+
type: ArrayConstructor;
|
|
134
|
+
default: () => never[];
|
|
135
|
+
};
|
|
136
|
+
headerBold: BooleanConstructor;
|
|
137
|
+
autoHeight: BooleanConstructor;
|
|
138
|
+
immediate: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
index: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
multiple: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
selection: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
reloadOnModelChange: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
columns: ArrayConstructor;
|
|
159
|
+
pageSize: {
|
|
160
|
+
type: NumberConstructor;
|
|
161
|
+
default: number;
|
|
162
|
+
};
|
|
163
|
+
dicOptions: {
|
|
164
|
+
type: ArrayConstructor;
|
|
165
|
+
default: () => never[];
|
|
166
|
+
};
|
|
167
|
+
paging: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
clickRowSelect: BooleanConstructor;
|
|
172
|
+
payloadStyle: StringConstructor;
|
|
173
|
+
disabledRowKeys: ArrayConstructor;
|
|
174
|
+
selectExport: BooleanConstructor;
|
|
175
|
+
useVisibilityChange: BooleanConstructor;
|
|
176
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
177
|
+
'page-loaded': null;
|
|
178
|
+
select: null;
|
|
179
|
+
'select-all': null;
|
|
180
|
+
'selection-change': null;
|
|
181
|
+
'cell-mouse-enter': null;
|
|
182
|
+
'cell-mouse-leave': null;
|
|
183
|
+
'cell-click': null;
|
|
184
|
+
'cell-dblclick': null;
|
|
185
|
+
'cell-contextmenu': null;
|
|
186
|
+
'row-click': null;
|
|
187
|
+
'row-contextmenu': null;
|
|
188
|
+
'row-dblclick': null;
|
|
189
|
+
'header-click': null;
|
|
190
|
+
'header-contextmenu': null;
|
|
191
|
+
'sort-change': null;
|
|
192
|
+
'filter-change': null;
|
|
193
|
+
'current-change': null;
|
|
194
|
+
'header-dragend': null;
|
|
195
|
+
'expand-change': null;
|
|
196
|
+
scroll: null;
|
|
197
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
198
|
+
data: {
|
|
199
|
+
type: ArrayConstructor;
|
|
200
|
+
default: () => never[];
|
|
201
|
+
};
|
|
202
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
203
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
204
|
+
stripe: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
border: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
212
|
+
size: StringConstructor;
|
|
213
|
+
fit: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
showHeader: {
|
|
218
|
+
type: BooleanConstructor;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
highlightCurrentRow: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
226
|
+
rowClassName: (StringConstructor | FunctionConstructor)[];
|
|
227
|
+
rowStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
228
|
+
cellClassName: (StringConstructor | FunctionConstructor)[];
|
|
229
|
+
cellStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
230
|
+
headerRowClassName: (StringConstructor | FunctionConstructor)[];
|
|
231
|
+
headerRowStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
232
|
+
headerCellClassName: (StringConstructor | FunctionConstructor)[];
|
|
233
|
+
headerCellStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
234
|
+
rowKey: {
|
|
235
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
236
|
+
default: string;
|
|
237
|
+
};
|
|
238
|
+
emptyText: {
|
|
239
|
+
type: StringConstructor;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
defaultExpandAll: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
246
|
+
expandRowKeys: {
|
|
247
|
+
type: ArrayConstructor;
|
|
248
|
+
default: () => never[];
|
|
249
|
+
};
|
|
250
|
+
defaultSort: ObjectConstructor;
|
|
251
|
+
tooltipEffect: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
255
|
+
tooltipOptions: {
|
|
256
|
+
type: ObjectConstructor;
|
|
257
|
+
default: () => {};
|
|
258
|
+
};
|
|
259
|
+
appendFilterPanelTo: StringConstructor;
|
|
260
|
+
showSummary: {
|
|
261
|
+
type: BooleanConstructor;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
sumText: {
|
|
265
|
+
type: StringConstructor;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
summaryMethod: FunctionConstructor;
|
|
269
|
+
spanMethod: FunctionConstructor;
|
|
270
|
+
selectOnIndeterminate: {
|
|
271
|
+
type: BooleanConstructor;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
indent: {
|
|
275
|
+
type: NumberConstructor;
|
|
276
|
+
default: number;
|
|
277
|
+
};
|
|
278
|
+
lazy: {
|
|
279
|
+
type: BooleanConstructor;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
load: FunctionConstructor;
|
|
283
|
+
treeProps: {
|
|
284
|
+
type: ObjectConstructor;
|
|
285
|
+
default: () => {};
|
|
286
|
+
};
|
|
287
|
+
tableLayout: {
|
|
288
|
+
type: StringConstructor;
|
|
289
|
+
default: string;
|
|
290
|
+
};
|
|
291
|
+
scrollbarAlwaysOn: {
|
|
292
|
+
type: BooleanConstructor;
|
|
293
|
+
default: boolean;
|
|
294
|
+
};
|
|
295
|
+
showOverflowTooltip: (BooleanConstructor | ObjectConstructor)[];
|
|
296
|
+
flexible: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
scrollbarTabindex: (StringConstructor | NumberConstructor)[];
|
|
301
|
+
allowDragLastColumn: {
|
|
302
|
+
type: BooleanConstructor;
|
|
303
|
+
default: boolean;
|
|
304
|
+
};
|
|
305
|
+
tooltipFormatter: FunctionConstructor;
|
|
306
|
+
preserveExpandedContent: {
|
|
307
|
+
type: BooleanConstructor;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
310
|
+
nativeScrollbar: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: boolean;
|
|
313
|
+
};
|
|
314
|
+
rowExpandable: FunctionConstructor;
|
|
315
|
+
selectionWidth: {
|
|
316
|
+
type: StringConstructor;
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
319
|
+
viewId: StringConstructor;
|
|
320
|
+
url: StringConstructor;
|
|
321
|
+
hideOnSinglePage: BooleanConstructor;
|
|
322
|
+
api: FunctionConstructor;
|
|
323
|
+
model: ObjectConstructor;
|
|
324
|
+
ascs: {
|
|
325
|
+
type: ArrayConstructor;
|
|
326
|
+
default: () => never[];
|
|
327
|
+
};
|
|
328
|
+
descs: {
|
|
329
|
+
type: ArrayConstructor;
|
|
330
|
+
default: () => never[];
|
|
331
|
+
};
|
|
332
|
+
headerBold: BooleanConstructor;
|
|
333
|
+
autoHeight: BooleanConstructor;
|
|
334
|
+
immediate: {
|
|
335
|
+
type: BooleanConstructor;
|
|
336
|
+
default: boolean;
|
|
337
|
+
};
|
|
338
|
+
index: {
|
|
339
|
+
type: BooleanConstructor;
|
|
340
|
+
default: boolean;
|
|
341
|
+
};
|
|
342
|
+
multiple: {
|
|
343
|
+
type: BooleanConstructor;
|
|
344
|
+
default: boolean;
|
|
345
|
+
};
|
|
346
|
+
selection: {
|
|
347
|
+
type: BooleanConstructor;
|
|
348
|
+
default: boolean;
|
|
349
|
+
};
|
|
350
|
+
reloadOnModelChange: {
|
|
351
|
+
type: BooleanConstructor;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
354
|
+
columns: ArrayConstructor;
|
|
355
|
+
pageSize: {
|
|
356
|
+
type: NumberConstructor;
|
|
357
|
+
default: number;
|
|
358
|
+
};
|
|
359
|
+
dicOptions: {
|
|
360
|
+
type: ArrayConstructor;
|
|
361
|
+
default: () => never[];
|
|
362
|
+
};
|
|
363
|
+
paging: {
|
|
364
|
+
type: BooleanConstructor;
|
|
365
|
+
default: boolean;
|
|
366
|
+
};
|
|
367
|
+
clickRowSelect: BooleanConstructor;
|
|
368
|
+
payloadStyle: StringConstructor;
|
|
369
|
+
disabledRowKeys: ArrayConstructor;
|
|
370
|
+
selectExport: BooleanConstructor;
|
|
371
|
+
useVisibilityChange: BooleanConstructor;
|
|
372
|
+
}>> & Readonly<{
|
|
373
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
374
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
375
|
+
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
376
|
+
"onPage-loaded"?: ((...args: any[]) => any) | undefined;
|
|
377
|
+
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
|
378
|
+
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
379
|
+
"onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
|
|
380
|
+
"onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
|
|
381
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
382
|
+
"onCell-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
383
|
+
"onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
384
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
"onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
386
|
+
"onRow-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
387
|
+
"onHeader-click"?: ((...args: any[]) => any) | undefined;
|
|
388
|
+
"onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
389
|
+
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
390
|
+
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
391
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
392
|
+
"onHeader-dragend"?: ((...args: any[]) => any) | undefined;
|
|
393
|
+
}>, {
|
|
394
|
+
data: unknown[];
|
|
395
|
+
border: boolean;
|
|
396
|
+
fit: boolean;
|
|
397
|
+
multiple: boolean;
|
|
398
|
+
stripe: boolean;
|
|
399
|
+
showHeader: boolean;
|
|
400
|
+
highlightCurrentRow: boolean;
|
|
401
|
+
rowKey: string | Function;
|
|
402
|
+
emptyText: string;
|
|
403
|
+
defaultExpandAll: boolean;
|
|
404
|
+
expandRowKeys: unknown[];
|
|
405
|
+
tooltipEffect: string;
|
|
406
|
+
tooltipOptions: Record<string, any>;
|
|
407
|
+
showSummary: boolean;
|
|
408
|
+
sumText: string;
|
|
409
|
+
selectOnIndeterminate: boolean;
|
|
410
|
+
indent: number;
|
|
411
|
+
lazy: boolean;
|
|
412
|
+
treeProps: Record<string, any>;
|
|
413
|
+
tableLayout: string;
|
|
414
|
+
scrollbarAlwaysOn: boolean;
|
|
415
|
+
flexible: boolean;
|
|
416
|
+
allowDragLastColumn: boolean;
|
|
417
|
+
preserveExpandedContent: boolean;
|
|
418
|
+
nativeScrollbar: boolean;
|
|
419
|
+
selectionWidth: string;
|
|
420
|
+
hideOnSinglePage: boolean;
|
|
421
|
+
ascs: unknown[];
|
|
422
|
+
descs: unknown[];
|
|
423
|
+
headerBold: boolean;
|
|
424
|
+
autoHeight: boolean;
|
|
425
|
+
immediate: boolean;
|
|
426
|
+
index: boolean;
|
|
427
|
+
selection: boolean;
|
|
428
|
+
reloadOnModelChange: boolean;
|
|
429
|
+
pageSize: number;
|
|
430
|
+
dicOptions: unknown[];
|
|
431
|
+
paging: boolean;
|
|
432
|
+
clickRowSelect: boolean;
|
|
433
|
+
selectExport: boolean;
|
|
434
|
+
useVisibilityChange: boolean;
|
|
435
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
436
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.table-column-filter .el-drawer__body{padding:10px}.table-column-filter .el-drawer__header{border-bottom:1px solid #f0f0f0;min-height:20px;margin-bottom:0;padding:16px 10px 16px 24px}.pageable-table{flex:auto;height:100%;position:relative}.pageable-table .single-select-column .el-radio__label{padding:0}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:relative}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;width:100%;height:100%;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .el-table th{color:#000000d9;word-break:break-word;background-color:#fafafa}.pageable-table .total{padding:10px}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {
|
|
2
|
+
compareAndNotify(): void;
|
|
3
|
+
addResizeHandlers(): void;
|
|
4
|
+
removeResizeHandlers(): void;
|
|
5
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "notify"[], "notify", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
6
|
+
onNotify?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as e } from "../chunks/CkFapoKt.mjs";
|
|
2
|
+
import { createElementBlock as t, openBlock as n } from "vue";
|
|
3
|
+
//#region src/components/ResizeObserver.vue
|
|
4
|
+
var r = {
|
|
5
|
+
name: "ResizeObserver",
|
|
6
|
+
emits: ["notify"],
|
|
7
|
+
mounted() {
|
|
8
|
+
this.$nextTick(() => {
|
|
9
|
+
this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight;
|
|
10
|
+
});
|
|
11
|
+
let e = document.createElement("object");
|
|
12
|
+
this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", e.data = "about:blank", this.$el.appendChild(e);
|
|
13
|
+
},
|
|
14
|
+
beforeUnmount() {
|
|
15
|
+
this.removeResizeHandlers();
|
|
16
|
+
},
|
|
17
|
+
methods: {
|
|
18
|
+
compareAndNotify() {
|
|
19
|
+
(this._w !== this.$el.offsetWidth || this._h !== this.$el.offsetHeight) && (this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.$emit("notify", {
|
|
20
|
+
width: this._w,
|
|
21
|
+
height: this._h
|
|
22
|
+
}));
|
|
23
|
+
},
|
|
24
|
+
addResizeHandlers() {
|
|
25
|
+
this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify), this.compareAndNotify();
|
|
26
|
+
},
|
|
27
|
+
removeResizeHandlers() {
|
|
28
|
+
this._resizeObject && this._resizeObject.onload && (!isIE && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}, i = {
|
|
32
|
+
class: "resize-observer",
|
|
33
|
+
tabindex: "-1"
|
|
34
|
+
};
|
|
35
|
+
function a(e, r, a, o, s, c) {
|
|
36
|
+
return n(), t("div", i);
|
|
37
|
+
}
|
|
38
|
+
var o = /* @__PURE__ */ e(r, [["render", a]]);
|
|
39
|
+
//#endregion
|
|
40
|
+
export { o as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.resize-observer{z-index:-1;opacity:0;pointer-events:none;background-color:#0000;border:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.resize-observer>object{z-index:-1;pointer-events:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface Options {
|
|
2
|
+
importStyle?: boolean;
|
|
3
|
+
excludeComponents?: string[];
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const FormUiResolver: ({ importStyle, excludeComponents }?: Options) => (componentName: string) => {
|
|
7
|
+
from: string;
|
|
8
|
+
sideEffects: string[] | undefined;
|
|
9
|
+
} | undefined;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { componentNames as e, noStylesComponents as t } from "../index.mjs";
|
|
2
|
+
import { hyphenate as n } from "@web-utils/core";
|
|
3
|
+
//#region src/resolver/index.ts
|
|
4
|
+
var r = ({ importStyle: r = !1, excludeComponents: a = [] } = {}) => {
|
|
5
|
+
let o = {}, s = {}, c = {};
|
|
6
|
+
return e.forEach((e) => {
|
|
7
|
+
o[e] = !0;
|
|
8
|
+
}), t.forEach((e) => {
|
|
9
|
+
s[e] = !0;
|
|
10
|
+
}), a.forEach((e) => {
|
|
11
|
+
c[e] = !0;
|
|
12
|
+
}), (e) => {
|
|
13
|
+
if (c[e] === !0 || o[e] !== !0) return;
|
|
14
|
+
let t = n(e);
|
|
15
|
+
return {
|
|
16
|
+
from: `@web-utils/form-ui/${t}/index.mjs`,
|
|
17
|
+
sideEffects: i({
|
|
18
|
+
componentName: e,
|
|
19
|
+
name: t,
|
|
20
|
+
importStyle: r,
|
|
21
|
+
noStylesComponentNameMap: s
|
|
22
|
+
})
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, i = ({ componentName: e, name: t, importStyle: n = !1, noStylesComponentNameMap: r } = {}) => {
|
|
26
|
+
if (n && r[e] !== !0) return ["@web-utils/form-ui/base.css", `@web-utils/form-ui/${t}/style.css`];
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { r as FormUiResolver };
|