@unizhen/ui 0.1.15 → 0.1.16
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/actionButton/index.vue.d.ts +4 -3
- package/lib/components/back/index.vue.d.ts +4 -3
- package/lib/components/camera/index.vue.d.ts +3 -2
- package/lib/components/circle/index.vue.d.ts +3 -2
- package/lib/components/form/draggable.vue.d.ts +189 -188
- package/lib/components/form/image.vue.d.ts +5 -4
- package/lib/components/form/index.vue.d.ts +188 -187
- package/lib/components/form/item.vue.d.ts +5 -4
- package/lib/components/form/timesPicker.vue.d.ts +3 -2
- package/lib/components/form/upload.vue.d.ts +9 -8
- package/lib/components/hooks/memoryCache.d.ts +1 -1
- package/lib/components/icon/index.vue.d.ts +3 -2
- package/lib/components/icon/svg/AccessPoint.vue.d.ts +2 -1
- package/lib/components/icon/svg/Activity.vue.d.ts +2 -1
- package/lib/components/icon/svg/Adjustments.vue.d.ts +2 -1
- package/lib/components/icon/svg/AdjustmentsHorizontal.vue.d.ts +2 -1
- package/lib/components/icon/svg/Affiliate.vue.d.ts +2 -1
- package/lib/components/icon/svg/Alarm.vue.d.ts +2 -1
- package/lib/components/icon/svg/AlertCircle.vue.d.ts +2 -1
- package/lib/components/icon/svg/ApiApp.vue.d.ts +2 -1
- package/lib/components/icon/svg/AppWindow.vue.d.ts +2 -1
- package/lib/components/icon/svg/Apps.vue.d.ts +2 -1
- package/lib/components/icon/svg/Archive.vue.d.ts +2 -1
- package/lib/components/icon/svg/ArrowNarrowLeft.vue.d.ts +2 -1
- package/lib/components/icon/svg/AspectRatio.vue.d.ts +2 -1
- package/lib/components/icon/svg/Atom.vue.d.ts +2 -1
- package/lib/components/icon/svg/Atom2.vue.d.ts +2 -1
- package/lib/components/icon/svg/Award.vue.d.ts +2 -1
- package/lib/components/icon/svg/Barcode.vue.d.ts +2 -1
- package/lib/components/icon/svg/Basket.vue.d.ts +2 -1
- package/lib/components/icon/svg/Bell.vue.d.ts +2 -1
- package/lib/components/icon/svg/Bluetooth.vue.d.ts +2 -1
- package/lib/components/icon/svg/Book2.vue.d.ts +2 -1
- package/lib/components/icon/svg/Books.vue.d.ts +2 -1
- package/lib/components/icon/svg/Box.vue.d.ts +2 -1
- package/lib/components/icon/svg/BrandAsana.vue.d.ts +2 -1
- package/lib/components/icon/svg/BrandStackoverflow.vue.d.ts +2 -1
- package/lib/components/icon/svg/Briefcase.vue.d.ts +2 -1
- package/lib/components/icon/svg/Building.vue.d.ts +2 -1
- package/lib/components/icon/svg/BuildingArch.vue.d.ts +2 -1
- package/lib/components/icon/svg/BuildingWarehouse.vue.d.ts +2 -1
- package/lib/components/icon/svg/Calculator.vue.d.ts +2 -1
- package/lib/components/icon/svg/Calendar.vue.d.ts +2 -1
- package/lib/components/icon/svg/CalendarPlus.vue.d.ts +2 -1
- package/lib/components/icon/svg/CalendarStats.vue.d.ts +2 -1
- package/lib/components/icon/svg/Camera.vue.d.ts +2 -1
- package/lib/components/icon/svg/CaretDown.vue.d.ts +2 -1
- package/lib/components/icon/svg/CaretUp.vue.d.ts +2 -1
- package/lib/components/icon/svg/ChartArea.vue.d.ts +2 -1
- package/lib/components/icon/svg/ChartBar.vue.d.ts +2 -1
- package/lib/components/icon/svg/ChartBubble.vue.d.ts +2 -1
- package/lib/components/icon/svg/ChartDonut.vue.d.ts +2 -1
- package/lib/components/icon/svg/ChartLine.vue.d.ts +2 -1
- package/lib/components/icon/svg/ChartPie.vue.d.ts +2 -1
- package/lib/components/icon/svg/ChartRadar.vue.d.ts +2 -1
- package/lib/components/icon/svg/CheckMark.vue.d.ts +2 -1
- package/lib/components/icon/svg/Checkbox.vue.d.ts +2 -1
- package/lib/components/icon/svg/CheckupList.vue.d.ts +2 -1
- package/lib/components/icon/svg/CircleMinus.vue.d.ts +2 -1
- package/lib/components/icon/svg/Clipboard.vue.d.ts +2 -1
- package/lib/components/icon/svg/ClipboardCheck.vue.d.ts +2 -1
- package/lib/components/icon/svg/ClipboardList.vue.d.ts +2 -1
- package/lib/components/icon/svg/ClipboardPlus.vue.d.ts +2 -1
- package/lib/components/icon/svg/Clock.vue.d.ts +2 -1
- package/lib/components/icon/svg/Cloud.vue.d.ts +2 -1
- package/lib/components/icon/svg/CloudDownload.vue.d.ts +2 -1
- package/lib/components/icon/svg/CloudUpload.vue.d.ts +2 -1
- package/lib/components/icon/svg/Command.vue.d.ts +2 -1
- package/lib/components/icon/svg/Confetti.vue.d.ts +2 -1
- package/lib/components/icon/svg/Container.vue.d.ts +2 -1
- package/lib/components/icon/svg/Copy.vue.d.ts +2 -1
- package/lib/components/icon/svg/Cpu.vue.d.ts +2 -1
- package/lib/components/icon/svg/CreditCard.vue.d.ts +2 -1
- package/lib/components/icon/svg/Crosshair.vue.d.ts +2 -1
- package/lib/components/icon/svg/CurrencyYen.vue.d.ts +2 -1
- package/lib/components/icon/svg/Dashboard.vue.d.ts +2 -1
- package/lib/components/icon/svg/Database.vue.d.ts +2 -1
- package/lib/components/icon/svg/DatabaseExport.vue.d.ts +2 -1
- package/lib/components/icon/svg/DatabaseImport.vue.d.ts +2 -1
- package/lib/components/icon/svg/DeviceAnalytics.vue.d.ts +2 -1
- package/lib/components/icon/svg/DeviceDesktop.vue.d.ts +2 -1
- package/lib/components/icon/svg/DeviceDesktopAnalytics.vue.d.ts +2 -1
- package/lib/components/icon/svg/DeviceLaptop.vue.d.ts +2 -1
- package/lib/components/icon/svg/DeviceMobile.vue.d.ts +2 -1
- package/lib/components/icon/svg/Diamond.vue.d.ts +2 -1
- package/lib/components/icon/svg/Dots.vue.d.ts +2 -1
- package/lib/components/icon/svg/DotsVertical.vue.d.ts +2 -1
- package/lib/components/icon/svg/Edit.vue.d.ts +2 -1
- package/lib/components/icon/svg/Eraser.vue.d.ts +2 -1
- package/lib/components/icon/svg/Eye.vue.d.ts +2 -1
- package/lib/components/icon/svg/File.vue.d.ts +2 -1
- package/lib/components/icon/svg/FileAlert.vue.d.ts +2 -1
- package/lib/components/icon/svg/FileAnalytics.vue.d.ts +2 -1
- package/lib/components/icon/svg/FileText.vue.d.ts +2 -1
- package/lib/components/icon/svg/Filter.vue.d.ts +2 -1
- package/lib/components/icon/svg/GitCompare.vue.d.ts +2 -1
- package/lib/components/icon/svg/GitPullRequest.vue.d.ts +2 -1
- package/lib/components/icon/svg/GridDots.vue.d.ts +2 -1
- package/lib/components/icon/svg/Home.vue.d.ts +2 -1
- package/lib/components/icon/svg/Id.vue.d.ts +2 -1
- package/lib/components/icon/svg/LayoutSidebarLeftCollapse.vue.d.ts +2 -1
- package/lib/components/icon/svg/LayoutSidebarLeftExpand.vue.d.ts +2 -1
- package/lib/components/icon/svg/Link.vue.d.ts +2 -1
- package/lib/components/icon/svg/List.vue.d.ts +2 -1
- package/lib/components/icon/svg/ListCheck.vue.d.ts +2 -1
- package/lib/components/icon/svg/ListDetails.vue.d.ts +2 -1
- package/lib/components/icon/svg/Mail.vue.d.ts +2 -1
- package/lib/components/icon/svg/Map.vue.d.ts +2 -1
- package/lib/components/icon/svg/MapPin.vue.d.ts +2 -1
- package/lib/components/icon/svg/Menu2.vue.d.ts +2 -1
- package/lib/components/icon/svg/Message2.vue.d.ts +2 -1
- package/lib/components/icon/svg/MinusRound.vue.d.ts +2 -1
- package/lib/components/icon/svg/MoonStars.vue.d.ts +2 -1
- package/lib/components/icon/svg/Paperclip.vue.d.ts +2 -1
- package/lib/components/icon/svg/Photo.vue.d.ts +2 -1
- package/lib/components/icon/svg/PhotoOff.vue.d.ts +2 -1
- package/lib/components/icon/svg/Plus.vue.d.ts +2 -1
- package/lib/components/icon/svg/Presentation.vue.d.ts +2 -1
- package/lib/components/icon/svg/PresentationAnalytics.vue.d.ts +2 -1
- package/lib/components/icon/svg/Printer.vue.d.ts +2 -1
- package/lib/components/icon/svg/Qrcode.vue.d.ts +2 -1
- package/lib/components/icon/svg/Refresh.vue.d.ts +2 -1
- package/lib/components/icon/svg/Report.vue.d.ts +2 -1
- package/lib/components/icon/svg/ReportAnalytics.vue.d.ts +2 -1
- package/lib/components/icon/svg/ReportMoney.vue.d.ts +2 -1
- package/lib/components/icon/svg/ReportSearch.vue.d.ts +2 -1
- package/lib/components/icon/svg/Search.vue.d.ts +2 -1
- package/lib/components/icon/svg/Settings.vue.d.ts +2 -1
- package/lib/components/icon/svg/SmartHome.vue.d.ts +2 -1
- package/lib/components/icon/svg/Sun.vue.d.ts +2 -1
- package/lib/components/icon/svg/TransferIn.vue.d.ts +2 -1
- package/lib/components/icon/svg/TransferOut.vue.d.ts +2 -1
- package/lib/components/icon/svg/Trash.vue.d.ts +2 -1
- package/lib/components/icon/svg/User.vue.d.ts +2 -1
- package/lib/components/icon/svg/UserCircle.vue.d.ts +2 -1
- package/lib/components/icon/svg/UserMinus.vue.d.ts +2 -1
- package/lib/components/icon/svg/UserPlus.vue.d.ts +2 -1
- package/lib/components/icon/svg/Users.vue.d.ts +2 -1
- package/lib/components/icon/svg/X.vue.d.ts +2 -1
- package/lib/components/searchBar/index.vue.d.ts +64 -63
- package/lib/components/searchBar/mobile.vue.d.ts +62 -61
- package/lib/components/spin/index.vue.d.ts +3 -2
- package/lib/components/table/child.vue.d.ts +7 -6
- package/lib/components/table/child_quest.vue.d.ts +5 -4
- package/lib/components/table/drawer.vue.d.ts +9 -8
- package/lib/components/table/factory.d.ts +1 -1
- package/lib/components/table/index.vue.d.ts +88 -87
- package/lib/components/table/list.vue.d.ts +4 -3
- package/lib/components/table/mobile.vue.d.ts +3 -2
- package/lib/components/thumbnail/index.vue.d.ts +4 -3
- package/lib/components/wrap/index.vue.d.ts +3 -2
- package/lib/ui.css +2 -1
- package/lib/ui.js +8030 -9271
- package/package.json +19 -19
- package/lib/components/searchBar/components/timePickRange.vue.d.ts +0 -2642
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PropType, DefineComponent, ExtractPropTypes, Ref, VNodeChild, ComponentOptionsMixin, PublicProps, Component, ComputedRef, ComponentProvideOptions, SlotsType, CSSProperties, TextareaHTMLAttributes, InputHTMLAttributes, HTMLAttributes, ComponentPublicInstance, VNode } from 'vue';
|
|
2
2
|
import { IUzSearchBars } from './interface';
|
|
3
|
-
import { ObjectKey, Fn } from '
|
|
3
|
+
import { ObjectKey, Fn } from '../interface';
|
|
4
4
|
import { Depth } from 'naive-ui/es/icon/src/Icon';
|
|
5
5
|
import { Theme } from 'naive-ui/es/_mixins';
|
|
6
6
|
import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
|
|
7
|
-
import { ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, DrawerPlacement, ThemeCommonVars, DrawerContentSlots, InputSize, SelectOption, FormValidationStatus, InputSlots, SelectSize, SelectFilter, PopoverPlacement, PopoverProps, SelectRenderTag, SelectNodeProps, SelectGroupOption, SelectSlots, InputNumberSlots, DatePickerSize, TimePickerProps,
|
|
7
|
+
import { ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, DrawerPlacement, ThemeCommonVars, DrawerContentSlots, InputSize, SelectOption, FormValidationStatus, InputSlots, SelectSize, SelectFilter, PopoverPlacement, PopoverProps, SelectRenderTag, SelectNodeProps, SelectGroupOption, SelectSlots, InputNumberSlots, FollowerPlacement, DatePickerSize, TimePickerProps, DatePickerSlots, TimePickerSize, SwitchSize, SwitchSpinProps, SwitchSlots, ColorPickerSize, ColorPickerSlots, CheckboxSize, CheckboxInst, CascaderOption, CascaderSize, CascaderSpinProps, CascaderSlots, PopoverTrigger, PopoverInst, TooltipSlots, DropdownSize, DropdownMenuProps, DropdownNodeProps, MenuOption, MenuGroupOption } from 'naive-ui';
|
|
8
8
|
import { MaybeArray } from 'naive-ui/es/_utils';
|
|
9
9
|
import { BaseWaveRef, ScrollbarProps, ScrollbarInst, InternalSelectionInst } from 'naive-ui/es/_internal';
|
|
10
10
|
import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
|
|
11
|
-
import { VResizeObserverOnResize, FollowerInst,
|
|
11
|
+
import { VResizeObserverOnResize, FollowerInst, VVirtualListScrollTo } from 'vueuc';
|
|
12
12
|
import { IUzFormItem } from '..';
|
|
13
13
|
import { OnUpdateValue } from 'naive-ui/es/input/src/interface';
|
|
14
14
|
import { ScrollTo, ScrollBy } from 'naive-ui/es/_internal/scrollbar/src/Scrollbar';
|
|
@@ -30,7 +30,9 @@ import { Value, ExpandTrigger, OnLoad, Filter, OnUpdateValue, SelectMenuInstance
|
|
|
30
30
|
import { TriggerEventHandlers } from 'naive-ui/es/popover/src/Popover';
|
|
31
31
|
import { OnUpdateValue, DropdownMixedOption, RenderLabel, RenderIcon, RenderOption } from 'naive-ui/es/dropdown/src/interface';
|
|
32
32
|
import { MenuRenderOption, MenuIgnoredOption } from 'naive-ui/es/menu/src/interface';
|
|
33
|
-
declare const _default:
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
34
36
|
data: {
|
|
35
37
|
required: true;
|
|
36
38
|
type: PropType<IUzSearchBars>;
|
|
@@ -54,10 +56,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
54
56
|
itemData: Ref<({
|
|
55
57
|
defaultValue?: string | undefined;
|
|
56
58
|
key: string;
|
|
57
|
-
input: "input";
|
|
58
59
|
form: {
|
|
59
60
|
input?: string | undefined;
|
|
60
|
-
label?:
|
|
61
|
+
label?: string | (() => string) | undefined;
|
|
61
62
|
key?: string | undefined;
|
|
62
63
|
defaultValue?: string | undefined;
|
|
63
64
|
span: number;
|
|
@@ -73,7 +74,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
73
74
|
required: boolean;
|
|
74
75
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
75
76
|
message: string;
|
|
76
|
-
trigger: ("
|
|
77
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
77
78
|
validator: string | Fn;
|
|
78
79
|
};
|
|
79
80
|
create: {
|
|
@@ -87,6 +88,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
87
88
|
readonly: boolean;
|
|
88
89
|
};
|
|
89
90
|
};
|
|
91
|
+
input: "input";
|
|
90
92
|
label: string | (() => string);
|
|
91
93
|
source: string;
|
|
92
94
|
table: {
|
|
@@ -129,9 +131,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
129
131
|
placeholder: string;
|
|
130
132
|
clearable: boolean;
|
|
131
133
|
type: "text" | "password" | "textarea";
|
|
132
|
-
minlength?:
|
|
133
|
-
maxlength?:
|
|
134
|
-
rows?:
|
|
134
|
+
minlength?: number | null | undefined;
|
|
135
|
+
maxlength?: number | null | undefined;
|
|
136
|
+
rows?: number | null | undefined;
|
|
135
137
|
prefix?: string | undefined;
|
|
136
138
|
suffix?: string | undefined;
|
|
137
139
|
};
|
|
@@ -142,10 +144,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
142
144
|
} | {
|
|
143
145
|
defaultValue?: number | undefined;
|
|
144
146
|
key: string;
|
|
145
|
-
input: "number";
|
|
146
147
|
form: {
|
|
147
148
|
input?: string | undefined;
|
|
148
|
-
label?:
|
|
149
|
+
label?: string | (() => string) | undefined;
|
|
149
150
|
key?: string | undefined;
|
|
150
151
|
defaultValue?: string | undefined;
|
|
151
152
|
span: number;
|
|
@@ -161,7 +162,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
161
162
|
required: boolean;
|
|
162
163
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
163
164
|
message: string;
|
|
164
|
-
trigger: ("
|
|
165
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
165
166
|
validator: string | Fn;
|
|
166
167
|
};
|
|
167
168
|
create: {
|
|
@@ -175,6 +176,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
175
176
|
readonly: boolean;
|
|
176
177
|
};
|
|
177
178
|
};
|
|
179
|
+
input: "number";
|
|
178
180
|
label: string | (() => string);
|
|
179
181
|
source: string;
|
|
180
182
|
table: {
|
|
@@ -217,12 +219,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
217
219
|
placeholder: string;
|
|
218
220
|
clearable: boolean;
|
|
219
221
|
showButton?: boolean | undefined;
|
|
220
|
-
min?:
|
|
221
|
-
max?:
|
|
222
|
+
min?: number | null | undefined;
|
|
223
|
+
max?: number | null | undefined;
|
|
222
224
|
minKey?: string | undefined;
|
|
223
225
|
maxKey?: string | undefined;
|
|
224
|
-
step?:
|
|
225
|
-
precision?:
|
|
226
|
+
step?: number | null | undefined;
|
|
227
|
+
precision?: number | null | undefined;
|
|
226
228
|
prefix?: string | undefined;
|
|
227
229
|
suffix?: string | undefined;
|
|
228
230
|
};
|
|
@@ -231,12 +233,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
231
233
|
fieldValueRule?: string | undefined;
|
|
232
234
|
sourceFn: string;
|
|
233
235
|
} | {
|
|
234
|
-
defaultValue?:
|
|
236
|
+
defaultValue?: number | [number, number] | undefined;
|
|
235
237
|
key: string;
|
|
236
|
-
input: "date";
|
|
237
238
|
form: {
|
|
238
239
|
input?: string | undefined;
|
|
239
|
-
label?:
|
|
240
|
+
label?: string | (() => string) | undefined;
|
|
240
241
|
key?: string | undefined;
|
|
241
242
|
defaultValue?: string | undefined;
|
|
242
243
|
span: number;
|
|
@@ -252,7 +253,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
252
253
|
required: boolean;
|
|
253
254
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
254
255
|
message: string;
|
|
255
|
-
trigger: ("
|
|
256
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
256
257
|
validator: string | Fn;
|
|
257
258
|
};
|
|
258
259
|
create: {
|
|
@@ -266,6 +267,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
266
267
|
readonly: boolean;
|
|
267
268
|
};
|
|
268
269
|
};
|
|
270
|
+
input: "date";
|
|
269
271
|
label: string | (() => string);
|
|
270
272
|
source: string;
|
|
271
273
|
table: {
|
|
@@ -309,7 +311,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
309
311
|
clearable: boolean;
|
|
310
312
|
type: "date" | "datetime" | "daterange" | "datetimerange" | "month" | "monthrange" | "year" | "yearrange" | "quarter" | "quarterrange" | "week";
|
|
311
313
|
format?: string | undefined;
|
|
312
|
-
isDateDisabled?: ((
|
|
314
|
+
isDateDisabled?: ((ts: number, detail: ObjectKey) => boolean) | string | undefined;
|
|
313
315
|
timePickerProps?: {
|
|
314
316
|
format?: string | undefined;
|
|
315
317
|
use12Hours?: boolean | undefined;
|
|
@@ -325,10 +327,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
325
327
|
} | {
|
|
326
328
|
defaultValue?: (string | number | Array<string | number>) | undefined;
|
|
327
329
|
key: string;
|
|
328
|
-
input: "select";
|
|
329
330
|
form: {
|
|
330
331
|
input?: string | undefined;
|
|
331
|
-
label?:
|
|
332
|
+
label?: string | (() => string) | undefined;
|
|
332
333
|
key?: string | undefined;
|
|
333
334
|
defaultValue?: string | undefined;
|
|
334
335
|
span: number;
|
|
@@ -344,7 +345,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
344
345
|
required: boolean;
|
|
345
346
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
346
347
|
message: string;
|
|
347
|
-
trigger: ("
|
|
348
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
348
349
|
validator: string | Fn;
|
|
349
350
|
};
|
|
350
351
|
create: {
|
|
@@ -358,6 +359,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
358
359
|
readonly: boolean;
|
|
359
360
|
};
|
|
360
361
|
};
|
|
362
|
+
input: "select";
|
|
361
363
|
label: string | (() => string);
|
|
362
364
|
source: string;
|
|
363
365
|
table: {
|
|
@@ -419,10 +421,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
419
421
|
} | {
|
|
420
422
|
defaultValue?: (string | number | Array<string | number>) | undefined;
|
|
421
423
|
key: string;
|
|
422
|
-
input: "cascader";
|
|
423
424
|
form: {
|
|
424
425
|
input?: string | undefined;
|
|
425
|
-
label?:
|
|
426
|
+
label?: string | (() => string) | undefined;
|
|
426
427
|
key?: string | undefined;
|
|
427
428
|
defaultValue?: string | undefined;
|
|
428
429
|
span: number;
|
|
@@ -438,7 +439,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
438
439
|
required: boolean;
|
|
439
440
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
440
441
|
message: string;
|
|
441
|
-
trigger: ("
|
|
442
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
442
443
|
validator: string | Fn;
|
|
443
444
|
};
|
|
444
445
|
create: {
|
|
@@ -452,6 +453,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
452
453
|
readonly: boolean;
|
|
453
454
|
};
|
|
454
455
|
};
|
|
456
|
+
input: "cascader";
|
|
455
457
|
label: string | (() => string);
|
|
456
458
|
source: string;
|
|
457
459
|
table: {
|
|
@@ -505,10 +507,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
505
507
|
} | {
|
|
506
508
|
defaultValue?: number | undefined;
|
|
507
509
|
key: string;
|
|
508
|
-
input: "time";
|
|
509
510
|
form: {
|
|
510
511
|
input?: string | undefined;
|
|
511
|
-
label?:
|
|
512
|
+
label?: string | (() => string) | undefined;
|
|
512
513
|
key?: string | undefined;
|
|
513
514
|
defaultValue?: string | undefined;
|
|
514
515
|
span: number;
|
|
@@ -524,7 +525,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
524
525
|
required: boolean;
|
|
525
526
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
526
527
|
message: string;
|
|
527
|
-
trigger: ("
|
|
528
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
528
529
|
validator: string | Fn;
|
|
529
530
|
};
|
|
530
531
|
create: {
|
|
@@ -538,6 +539,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
538
539
|
readonly: boolean;
|
|
539
540
|
};
|
|
540
541
|
};
|
|
542
|
+
input: "time";
|
|
541
543
|
label: string | (() => string);
|
|
542
544
|
source: string;
|
|
543
545
|
table: {
|
|
@@ -588,10 +590,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
588
590
|
})[], IUzSearchBars | ({
|
|
589
591
|
defaultValue?: string | undefined;
|
|
590
592
|
key: string;
|
|
591
|
-
input: "input";
|
|
592
593
|
form: {
|
|
593
594
|
input?: string | undefined;
|
|
594
|
-
label?:
|
|
595
|
+
label?: string | (() => string) | undefined;
|
|
595
596
|
key?: string | undefined;
|
|
596
597
|
defaultValue?: string | undefined;
|
|
597
598
|
span: number;
|
|
@@ -607,7 +608,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
607
608
|
required: boolean;
|
|
608
609
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
609
610
|
message: string;
|
|
610
|
-
trigger: ("
|
|
611
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
611
612
|
validator: string | Fn;
|
|
612
613
|
};
|
|
613
614
|
create: {
|
|
@@ -621,6 +622,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
621
622
|
readonly: boolean;
|
|
622
623
|
};
|
|
623
624
|
};
|
|
625
|
+
input: "input";
|
|
624
626
|
label: string | (() => string);
|
|
625
627
|
source: string;
|
|
626
628
|
table: {
|
|
@@ -663,9 +665,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
663
665
|
placeholder: string;
|
|
664
666
|
clearable: boolean;
|
|
665
667
|
type: "text" | "password" | "textarea";
|
|
666
|
-
minlength?:
|
|
667
|
-
maxlength?:
|
|
668
|
-
rows?:
|
|
668
|
+
minlength?: number | null | undefined;
|
|
669
|
+
maxlength?: number | null | undefined;
|
|
670
|
+
rows?: number | null | undefined;
|
|
669
671
|
prefix?: string | undefined;
|
|
670
672
|
suffix?: string | undefined;
|
|
671
673
|
};
|
|
@@ -676,10 +678,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
676
678
|
} | {
|
|
677
679
|
defaultValue?: number | undefined;
|
|
678
680
|
key: string;
|
|
679
|
-
input: "number";
|
|
680
681
|
form: {
|
|
681
682
|
input?: string | undefined;
|
|
682
|
-
label?:
|
|
683
|
+
label?: string | (() => string) | undefined;
|
|
683
684
|
key?: string | undefined;
|
|
684
685
|
defaultValue?: string | undefined;
|
|
685
686
|
span: number;
|
|
@@ -695,7 +696,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
695
696
|
required: boolean;
|
|
696
697
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
697
698
|
message: string;
|
|
698
|
-
trigger: ("
|
|
699
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
699
700
|
validator: string | Fn;
|
|
700
701
|
};
|
|
701
702
|
create: {
|
|
@@ -709,6 +710,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
709
710
|
readonly: boolean;
|
|
710
711
|
};
|
|
711
712
|
};
|
|
713
|
+
input: "number";
|
|
712
714
|
label: string | (() => string);
|
|
713
715
|
source: string;
|
|
714
716
|
table: {
|
|
@@ -751,12 +753,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
751
753
|
placeholder: string;
|
|
752
754
|
clearable: boolean;
|
|
753
755
|
showButton?: boolean | undefined;
|
|
754
|
-
min?:
|
|
755
|
-
max?:
|
|
756
|
+
min?: number | null | undefined;
|
|
757
|
+
max?: number | null | undefined;
|
|
756
758
|
minKey?: string | undefined;
|
|
757
759
|
maxKey?: string | undefined;
|
|
758
|
-
step?:
|
|
759
|
-
precision?:
|
|
760
|
+
step?: number | null | undefined;
|
|
761
|
+
precision?: number | null | undefined;
|
|
760
762
|
prefix?: string | undefined;
|
|
761
763
|
suffix?: string | undefined;
|
|
762
764
|
};
|
|
@@ -765,12 +767,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
765
767
|
fieldValueRule?: string | undefined;
|
|
766
768
|
sourceFn: string;
|
|
767
769
|
} | {
|
|
768
|
-
defaultValue?:
|
|
770
|
+
defaultValue?: number | [number, number] | undefined;
|
|
769
771
|
key: string;
|
|
770
|
-
input: "date";
|
|
771
772
|
form: {
|
|
772
773
|
input?: string | undefined;
|
|
773
|
-
label?:
|
|
774
|
+
label?: string | (() => string) | undefined;
|
|
774
775
|
key?: string | undefined;
|
|
775
776
|
defaultValue?: string | undefined;
|
|
776
777
|
span: number;
|
|
@@ -786,7 +787,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
786
787
|
required: boolean;
|
|
787
788
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
788
789
|
message: string;
|
|
789
|
-
trigger: ("
|
|
790
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
790
791
|
validator: string | Fn;
|
|
791
792
|
};
|
|
792
793
|
create: {
|
|
@@ -800,6 +801,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
800
801
|
readonly: boolean;
|
|
801
802
|
};
|
|
802
803
|
};
|
|
804
|
+
input: "date";
|
|
803
805
|
label: string | (() => string);
|
|
804
806
|
source: string;
|
|
805
807
|
table: {
|
|
@@ -843,7 +845,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
843
845
|
clearable: boolean;
|
|
844
846
|
type: "date" | "datetime" | "daterange" | "datetimerange" | "month" | "monthrange" | "year" | "yearrange" | "quarter" | "quarterrange" | "week";
|
|
845
847
|
format?: string | undefined;
|
|
846
|
-
isDateDisabled?: ((
|
|
848
|
+
isDateDisabled?: ((ts: number, detail: ObjectKey) => boolean) | string | undefined;
|
|
847
849
|
timePickerProps?: {
|
|
848
850
|
format?: string | undefined;
|
|
849
851
|
use12Hours?: boolean | undefined;
|
|
@@ -859,10 +861,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
859
861
|
} | {
|
|
860
862
|
defaultValue?: (string | number | Array<string | number>) | undefined;
|
|
861
863
|
key: string;
|
|
862
|
-
input: "select";
|
|
863
864
|
form: {
|
|
864
865
|
input?: string | undefined;
|
|
865
|
-
label?:
|
|
866
|
+
label?: string | (() => string) | undefined;
|
|
866
867
|
key?: string | undefined;
|
|
867
868
|
defaultValue?: string | undefined;
|
|
868
869
|
span: number;
|
|
@@ -878,7 +879,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
878
879
|
required: boolean;
|
|
879
880
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
880
881
|
message: string;
|
|
881
|
-
trigger: ("
|
|
882
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
882
883
|
validator: string | Fn;
|
|
883
884
|
};
|
|
884
885
|
create: {
|
|
@@ -892,6 +893,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
892
893
|
readonly: boolean;
|
|
893
894
|
};
|
|
894
895
|
};
|
|
896
|
+
input: "select";
|
|
895
897
|
label: string | (() => string);
|
|
896
898
|
source: string;
|
|
897
899
|
table: {
|
|
@@ -953,10 +955,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
953
955
|
} | {
|
|
954
956
|
defaultValue?: (string | number | Array<string | number>) | undefined;
|
|
955
957
|
key: string;
|
|
956
|
-
input: "cascader";
|
|
957
958
|
form: {
|
|
958
959
|
input?: string | undefined;
|
|
959
|
-
label?:
|
|
960
|
+
label?: string | (() => string) | undefined;
|
|
960
961
|
key?: string | undefined;
|
|
961
962
|
defaultValue?: string | undefined;
|
|
962
963
|
span: number;
|
|
@@ -972,7 +973,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
972
973
|
required: boolean;
|
|
973
974
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
974
975
|
message: string;
|
|
975
|
-
trigger: ("
|
|
976
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
976
977
|
validator: string | Fn;
|
|
977
978
|
};
|
|
978
979
|
create: {
|
|
@@ -986,6 +987,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
986
987
|
readonly: boolean;
|
|
987
988
|
};
|
|
988
989
|
};
|
|
990
|
+
input: "cascader";
|
|
989
991
|
label: string | (() => string);
|
|
990
992
|
source: string;
|
|
991
993
|
table: {
|
|
@@ -1039,10 +1041,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1039
1041
|
} | {
|
|
1040
1042
|
defaultValue?: number | undefined;
|
|
1041
1043
|
key: string;
|
|
1042
|
-
input: "time";
|
|
1043
1044
|
form: {
|
|
1044
1045
|
input?: string | undefined;
|
|
1045
|
-
label?:
|
|
1046
|
+
label?: string | (() => string) | undefined;
|
|
1046
1047
|
key?: string | undefined;
|
|
1047
1048
|
defaultValue?: string | undefined;
|
|
1048
1049
|
span: number;
|
|
@@ -1058,7 +1059,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1058
1059
|
required: boolean;
|
|
1059
1060
|
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
1060
1061
|
message: string;
|
|
1061
|
-
trigger: ("
|
|
1062
|
+
trigger: ("input" | "blur" | "change" | "focus") | Array<"input" | "blur" | "change" | "focus">;
|
|
1062
1063
|
validator: string | Fn;
|
|
1063
1064
|
};
|
|
1064
1065
|
create: {
|
|
@@ -1072,6 +1073,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1072
1073
|
readonly: boolean;
|
|
1073
1074
|
};
|
|
1074
1075
|
};
|
|
1076
|
+
input: "time";
|
|
1075
1077
|
label: string | (() => string);
|
|
1076
1078
|
source: string;
|
|
1077
1079
|
table: {
|
|
@@ -3832,8 +3834,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
3832
3834
|
}>> & Readonly<{}>, {
|
|
3833
3835
|
readonly bordered: boolean | undefined;
|
|
3834
3836
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3835
|
-
Refresh: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
3836
|
-
Search: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
3837
|
+
Refresh: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3838
|
+
Search: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3837
3839
|
UzFormItem: DefineComponent<ExtractPropTypes<{
|
|
3838
3840
|
item: {
|
|
3839
3841
|
required: true;
|
|
@@ -22715,4 +22717,3 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
22715
22717
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22716
22718
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22717
22719
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22718
|
-
export default _default;
|
|
@@ -5,7 +5,9 @@ import { Theme } from 'naive-ui/es/_mixins';
|
|
|
5
5
|
import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
|
|
6
6
|
import { BaseWaveRef } from 'naive-ui/es/_internal';
|
|
7
7
|
import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
|
|
8
|
-
declare const _default:
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
9
11
|
value: {
|
|
10
12
|
type: PropType<boolean>;
|
|
11
13
|
default: boolean;
|
|
@@ -1940,4 +1942,3 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1940
1942
|
readonly tooltip: boolean | PopoverProps;
|
|
1941
1943
|
}, SlotsType<EllipsisSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1942
1944
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1943
|
-
export default _default;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, VNodeChild, ComputedRef, SlotsType, ComponentProvideOptions, Component } from 'vue';
|
|
2
2
|
import { ObjectKey } from '../interface';
|
|
3
3
|
import { IUzFormItemSubTable } from '../form';
|
|
4
|
-
import { ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, PaginationProps, CreateRowClassName, CreateRowProps, CreateRowKey, CreateSummary, DataTableRowKey, DataTableSize, PopoverProps, ScrollbarProps, DataTableSpinProps, DataTableGetCsvCell, DataTableGetCsvHeader,
|
|
4
|
+
import { ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, TableBaseColumn, ColumnKey, PaginationProps, TableColumns, CreateRowClassName, CreateRowProps, CreateRowKey, CreateSummary, RowData, DataTableRowKey, DataTableSize, PopoverProps, ScrollbarProps, DataTableSpinProps, DataTableGetCsvCell, DataTableGetCsvHeader, FilterState, SortOrder, ThemeCommonVars, DataTableSlots, FormRules, FormSize, FormInst } from 'naive-ui';
|
|
5
5
|
import { MaybeArray } from 'naive-ui/es/_utils';
|
|
6
6
|
import { Theme } from 'naive-ui/es/_mixins';
|
|
7
7
|
import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
|
|
8
8
|
import { BaseWaveRef } from 'naive-ui/es/_internal';
|
|
9
9
|
import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
|
|
10
10
|
import { Depth } from 'naive-ui/es/icon/src/Icon';
|
|
11
|
-
import {
|
|
11
|
+
import { DataTableHeightForRow, RenderExpandIcon, DataTableOnLoad, OnUpdateSorter, OnUpdateFilters, OnUpdateCheckedRowKeys, OnUpdateExpandedRowKeys, CsvOptionsType, MainTableRef, TmNode } from 'naive-ui/es/data-table/src/interface';
|
|
12
12
|
import { ScrollTo } from 'naive-ui/es/scrollbar/src/Scrollbar';
|
|
13
13
|
import { LabelAlign, LabelPlacement, FormValidateMessages } from 'naive-ui/es/form/src/interface';
|
|
14
|
-
declare const _default:
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
15
17
|
value: {
|
|
16
18
|
type: PropType<any[]>;
|
|
17
19
|
default: () => never[];
|
|
@@ -8994,7 +8996,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
8994
8996
|
readonly dashed: boolean;
|
|
8995
8997
|
readonly titlePlacement: "left" | "right" | "center";
|
|
8996
8998
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
8997
|
-
Plus: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
8998
|
-
GridDots: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
8999
|
+
Plus: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
9000
|
+
GridDots: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
8999
9001
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
9000
|
-
export default _default;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, VNodeChild, ComputedRef, SlotsType, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { ObjectKey } from '../interface';
|
|
3
3
|
import { IUzFormItemSubTable } from '../form';
|
|
4
|
-
import { TableBaseColumn, ColumnKey, TableColumns, RowData,
|
|
5
|
-
import {
|
|
4
|
+
import { TableBaseColumn, ColumnKey, PaginationProps, TableColumns, CreateRowClassName, CreateRowProps, CreateRowKey, CreateSummary, RowData, DataTableRowKey, DataTableSize, PopoverProps, ScrollbarProps, DataTableSpinProps, DataTableGetCsvCell, DataTableGetCsvHeader, FilterState, SortOrder, ThemeCommonVars, DataTableSlots } from 'naive-ui';
|
|
5
|
+
import { DataTableHeightForRow, RenderExpandIcon, DataTableOnLoad, OnUpdateSorter, OnUpdateFilters, OnUpdateCheckedRowKeys, OnUpdateExpandedRowKeys, CsvOptionsType, MainTableRef, TmNode } from 'naive-ui/es/data-table/src/interface';
|
|
6
6
|
import { MaybeArray } from 'naive-ui/es/_utils';
|
|
7
7
|
import { Theme } from 'naive-ui/es/_mixins';
|
|
8
8
|
import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
|
|
9
9
|
import { ScrollTo } from 'naive-ui/es/scrollbar/src/Scrollbar';
|
|
10
10
|
import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
|
|
11
|
-
declare const _default:
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
12
14
|
formValue: {
|
|
13
15
|
type: PropType<ObjectKey>;
|
|
14
16
|
default: () => {};
|
|
@@ -7168,4 +7170,3 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
7168
7170
|
readonly paginationBehaviorOnFilter: "current" | "first";
|
|
7169
7171
|
}, SlotsType<DataTableSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7170
7172
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7171
|
-
export default _default;
|
|
@@ -7,18 +7,20 @@ import { Theme } from 'naive-ui/es/_mixins';
|
|
|
7
7
|
import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
|
|
8
8
|
import { BaseWaveRef, ScrollbarProps } from 'naive-ui/es/_internal';
|
|
9
9
|
import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
|
|
10
|
-
declare const _default:
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
declare const __VLS_export: DefineComponent<{}, {
|
|
11
13
|
drawer: Ref<boolean, boolean>;
|
|
12
14
|
formRef: Ref<any, any>;
|
|
13
15
|
tableOption: Ref<{
|
|
14
16
|
index: 0 | 1;
|
|
15
|
-
selection?:
|
|
16
|
-
pagination?:
|
|
17
|
+
selection?: 0 | 1 | 2 | undefined;
|
|
18
|
+
pagination?: 0 | 1 | undefined;
|
|
17
19
|
title: 0 | 1;
|
|
18
20
|
cache: 0 | 1;
|
|
19
21
|
draggable: 0 | 1;
|
|
20
22
|
addButton: 0 | 1;
|
|
21
|
-
filterButton?:
|
|
23
|
+
filterButton?: 0 | 1 | undefined;
|
|
22
24
|
commonTime: 0 | 1;
|
|
23
25
|
actionWidth: number | string;
|
|
24
26
|
drawerWidth: number | string;
|
|
@@ -27,13 +29,13 @@ declare const _default: DefineComponent<{}, {
|
|
|
27
29
|
summary: string;
|
|
28
30
|
}, ITableOptions | {
|
|
29
31
|
index: 0 | 1;
|
|
30
|
-
selection?:
|
|
31
|
-
pagination?:
|
|
32
|
+
selection?: 0 | 1 | 2 | undefined;
|
|
33
|
+
pagination?: 0 | 1 | undefined;
|
|
32
34
|
title: 0 | 1;
|
|
33
35
|
cache: 0 | 1;
|
|
34
36
|
draggable: 0 | 1;
|
|
35
37
|
addButton: 0 | 1;
|
|
36
|
-
filterButton?:
|
|
38
|
+
filterButton?: 0 | 1 | undefined;
|
|
37
39
|
commonTime: 0 | 1;
|
|
38
40
|
actionWidth: number | string;
|
|
39
41
|
drawerWidth: number | string;
|
|
@@ -2339,4 +2341,3 @@ declare const _default: DefineComponent<{}, {
|
|
|
2339
2341
|
spinning: boolean;
|
|
2340
2342
|
}, SlotsType<SpinSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2341
2343
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2342
|
-
export default _default;
|
|
@@ -59,7 +59,7 @@ export declare const fnTableSimplify: (columns: IUzFormItems) => {
|
|
|
59
59
|
r: number;
|
|
60
60
|
y: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
61
61
|
m: string | undefined;
|
|
62
|
-
t: ("blur" | "change" | "focus" | "input"
|
|
62
|
+
t: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
63
63
|
v: string | Fn<any, any>;
|
|
64
64
|
};
|
|
65
65
|
c: {
|