@ousi-ui/vue 0.7.3 → 0.8.0
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/dist/index.cjs +3 -3
- package/dist/index.d.ts +1603 -48
- package/dist/index.mjs +15490 -10092
- package/dist/vue.css +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -147,6 +147,7 @@ shadow: DrawerShadow;
|
|
|
147
147
|
placement: DrawerPlacement;
|
|
148
148
|
backdrop: DrawerBackdrop;
|
|
149
149
|
showHandle: boolean;
|
|
150
|
+
swipeToClose: boolean;
|
|
150
151
|
showCloseButton: boolean;
|
|
151
152
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
152
153
|
rootRef: HTMLDivElement;
|
|
@@ -176,6 +177,7 @@ overflow: "scroll" | "menu";
|
|
|
176
177
|
contained: boolean;
|
|
177
178
|
hideBorder: boolean;
|
|
178
179
|
scrollFade: boolean;
|
|
180
|
+
scrollArrows: boolean;
|
|
179
181
|
showSeparator: boolean;
|
|
180
182
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
181
183
|
rootRef: HTMLDivElement;
|
|
@@ -338,16 +340,16 @@ blur(): void;
|
|
|
338
340
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
339
341
|
focus: (event: FocusEvent) => any;
|
|
340
342
|
blur: (event: FocusEvent) => any;
|
|
341
|
-
change: (value:
|
|
343
|
+
change: (value: any) => any;
|
|
342
344
|
clear: () => any;
|
|
343
|
-
"update:modelValue": (value:
|
|
345
|
+
"update:modelValue": (value: any) => any;
|
|
344
346
|
inputChange: (query: string) => any;
|
|
345
347
|
}, string, PublicProps, Readonly<AutocompleteProps> & Readonly<{
|
|
346
348
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
347
349
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
348
|
-
onChange?: ((value:
|
|
350
|
+
onChange?: ((value: any) => any) | undefined;
|
|
349
351
|
onClear?: (() => any) | undefined;
|
|
350
|
-
"onUpdate:modelValue"?: ((value:
|
|
352
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
351
353
|
onInputChange?: ((query: string) => any) | undefined;
|
|
352
354
|
}>, {
|
|
353
355
|
search: (query: string) => Promise<AutocompleteOption[]>;
|
|
@@ -360,6 +362,7 @@ animated: boolean;
|
|
|
360
362
|
required: boolean;
|
|
361
363
|
readonly: boolean;
|
|
362
364
|
clearable: boolean;
|
|
365
|
+
multiple: boolean;
|
|
363
366
|
autoSelectSingle: boolean;
|
|
364
367
|
scrollShadow: boolean;
|
|
365
368
|
allowCustomValue: boolean;
|
|
@@ -616,6 +619,7 @@ gap: number;
|
|
|
616
619
|
strokeWidth: number;
|
|
617
620
|
interactive: boolean;
|
|
618
621
|
sweep: number;
|
|
622
|
+
joined: boolean;
|
|
619
623
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
620
624
|
|
|
621
625
|
declare const __VLS_component_51: DefineComponent<DotMatrixProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -660,10 +664,11 @@ variant: "donut" | "pie";
|
|
|
660
664
|
size: number;
|
|
661
665
|
animated: boolean;
|
|
662
666
|
gap: number;
|
|
667
|
+
thickness: number;
|
|
663
668
|
interactive: boolean;
|
|
664
669
|
showLegend: boolean;
|
|
670
|
+
joined: boolean;
|
|
665
671
|
rounded: boolean;
|
|
666
|
-
thickness: number;
|
|
667
672
|
explode: number;
|
|
668
673
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
669
674
|
|
|
@@ -822,6 +827,7 @@ showFooter: boolean;
|
|
|
822
827
|
allowsResizing: boolean;
|
|
823
828
|
expandable: boolean;
|
|
824
829
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
830
|
+
scrollRef: HTMLDivElement;
|
|
825
831
|
tableRef: HTMLTableElement;
|
|
826
832
|
}, HTMLDivElement>;
|
|
827
833
|
|
|
@@ -851,6 +857,7 @@ animated: boolean;
|
|
|
851
857
|
required: boolean;
|
|
852
858
|
readonly: boolean;
|
|
853
859
|
clearable: boolean;
|
|
860
|
+
revealable: boolean;
|
|
854
861
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
855
862
|
inputRef: HTMLInputElement;
|
|
856
863
|
}, any>;
|
|
@@ -1067,31 +1074,159 @@ orientation: StepperOrientation;
|
|
|
1067
1074
|
clickable: boolean;
|
|
1068
1075
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1069
1076
|
|
|
1070
|
-
declare const __VLS_component_75: DefineComponent<FileUploadProps, {
|
|
1077
|
+
declare const __VLS_component_75: DefineComponent<FileUploadProps, {
|
|
1078
|
+
focus(options?: FocusOptions): void;
|
|
1079
|
+
blur(): void;
|
|
1080
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1071
1081
|
error: (message: string) => any;
|
|
1072
1082
|
change: (files: File[]) => any;
|
|
1073
1083
|
"update:modelValue": (files: File[]) => any;
|
|
1084
|
+
open: (file: File | FileUploadUploadedFile) => any;
|
|
1074
1085
|
remove: (file: File) => any;
|
|
1075
1086
|
retry: (file: File) => any;
|
|
1087
|
+
pendingChange: (count: number) => any;
|
|
1088
|
+
transformError: (error: unknown, file: File) => any;
|
|
1089
|
+
edited: (file: File, previous: File) => any;
|
|
1090
|
+
editUploaded: (uploaded: FileUploadUploadedFile, file: File) => any;
|
|
1091
|
+
"update:uploadedFiles": (files: FileUploadUploadedFile[]) => any;
|
|
1092
|
+
removeUploaded: (file: FileUploadUploadedFile) => any;
|
|
1076
1093
|
}, string, PublicProps, Readonly<FileUploadProps> & Readonly<{
|
|
1077
1094
|
onError?: ((message: string) => any) | undefined;
|
|
1078
1095
|
onChange?: ((files: File[]) => any) | undefined;
|
|
1079
1096
|
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
1097
|
+
onOpen?: ((file: File | FileUploadUploadedFile) => any) | undefined;
|
|
1080
1098
|
onRemove?: ((file: File) => any) | undefined;
|
|
1081
1099
|
onRetry?: ((file: File) => any) | undefined;
|
|
1100
|
+
onPendingChange?: ((count: number) => any) | undefined;
|
|
1101
|
+
onTransformError?: ((error: unknown, file: File) => any) | undefined;
|
|
1102
|
+
onEdited?: ((file: File, previous: File) => any) | undefined;
|
|
1103
|
+
onEditUploaded?: ((uploaded: FileUploadUploadedFile, file: File) => any) | undefined;
|
|
1104
|
+
"onUpdate:uploadedFiles"?: ((files: FileUploadUploadedFile[]) => any) | undefined;
|
|
1105
|
+
onRemoveUploaded?: ((file: FileUploadUploadedFile) => any) | undefined;
|
|
1082
1106
|
}>, {
|
|
1107
|
+
paste: FileUploadPaste;
|
|
1083
1108
|
variant: FileUploadVariant;
|
|
1084
1109
|
size: FileUploadSize;
|
|
1085
1110
|
shadow: FileUploadShadow;
|
|
1086
1111
|
disabled: boolean;
|
|
1087
1112
|
animated: boolean;
|
|
1113
|
+
required: boolean;
|
|
1088
1114
|
modelValue: File[];
|
|
1089
1115
|
multiple: boolean;
|
|
1116
|
+
uploadedFiles: FileUploadUploadedFile[];
|
|
1117
|
+
preview: FileUploadPreview;
|
|
1118
|
+
confirmTransform: boolean;
|
|
1119
|
+
editable: boolean;
|
|
1120
|
+
hideIcon: boolean;
|
|
1090
1121
|
hideFileList: boolean;
|
|
1091
1122
|
hideHint: boolean;
|
|
1092
1123
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1124
|
+
rootRef: HTMLDivElement;
|
|
1093
1125
|
fileInput: HTMLInputElement;
|
|
1094
|
-
|
|
1126
|
+
editorDialog: CreateComponentPublicInstanceWithMixins<Readonly<ImageEditorDialogProps> & Readonly<{
|
|
1127
|
+
onCancel?: (() => any) | undefined;
|
|
1128
|
+
onSave?: ((file: File) => any) | undefined;
|
|
1129
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
1130
|
+
}>, {
|
|
1131
|
+
edit: (file: File, options?: ImageEditorEditOptions) => Promise<File | null>;
|
|
1132
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1133
|
+
cancel: () => any;
|
|
1134
|
+
save: (file: File) => any;
|
|
1135
|
+
"update:open": (open: boolean) => any;
|
|
1136
|
+
}, PublicProps, {
|
|
1137
|
+
title: string;
|
|
1138
|
+
type: CompressImageType;
|
|
1139
|
+
shape: ImageEditorShape;
|
|
1140
|
+
src: File | Blob | string;
|
|
1141
|
+
aspectRatio: number;
|
|
1142
|
+
quality: number;
|
|
1143
|
+
open: boolean;
|
|
1144
|
+
maxSize: number;
|
|
1145
|
+
maxDimension: number;
|
|
1146
|
+
aspectRatios: ImageEditorRatio[];
|
|
1147
|
+
hideOutputSettings: boolean;
|
|
1148
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1149
|
+
editor: CreateComponentPublicInstanceWithMixins<Readonly<ImageEditorProps> & Readonly<{
|
|
1150
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
1151
|
+
onReady?: (() => any) | undefined;
|
|
1152
|
+
}>, {
|
|
1153
|
+
export: () => Promise<File>;
|
|
1154
|
+
reset: () => void;
|
|
1155
|
+
rotate: (clockwise?: boolean) => void;
|
|
1156
|
+
flip: (axis: "horizontal" | "vertical") => void;
|
|
1157
|
+
dirty: Ref<boolean, boolean>;
|
|
1158
|
+
ready: ComputedRef<boolean>;
|
|
1159
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1160
|
+
error: (error: unknown) => any;
|
|
1161
|
+
ready: () => any;
|
|
1162
|
+
}, PublicProps, {
|
|
1163
|
+
type: CompressImageType;
|
|
1164
|
+
shape: ImageEditorShape;
|
|
1165
|
+
src: File | Blob | string;
|
|
1166
|
+
aspectRatio: number;
|
|
1167
|
+
quality: number;
|
|
1168
|
+
maxSize: number;
|
|
1169
|
+
maxDimension: number;
|
|
1170
|
+
aspectRatios: ImageEditorRatio[];
|
|
1171
|
+
hideOutputSettings: boolean;
|
|
1172
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1173
|
+
stage: HTMLDivElement;
|
|
1174
|
+
frame: HTMLDivElement;
|
|
1175
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
1176
|
+
P: {};
|
|
1177
|
+
B: {};
|
|
1178
|
+
D: {};
|
|
1179
|
+
C: {};
|
|
1180
|
+
M: {};
|
|
1181
|
+
Defaults: {};
|
|
1182
|
+
}, Readonly<ImageEditorProps> & Readonly<{
|
|
1183
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
1184
|
+
onReady?: (() => any) | undefined;
|
|
1185
|
+
}>, {
|
|
1186
|
+
export: () => Promise<File>;
|
|
1187
|
+
reset: () => void;
|
|
1188
|
+
rotate: (clockwise?: boolean) => void;
|
|
1189
|
+
flip: (axis: "horizontal" | "vertical") => void;
|
|
1190
|
+
dirty: Ref<boolean, boolean>;
|
|
1191
|
+
ready: ComputedRef<boolean>;
|
|
1192
|
+
}, {}, {}, {}, {
|
|
1193
|
+
type: CompressImageType;
|
|
1194
|
+
shape: ImageEditorShape;
|
|
1195
|
+
src: File | Blob | string;
|
|
1196
|
+
aspectRatio: number;
|
|
1197
|
+
quality: number;
|
|
1198
|
+
maxSize: number;
|
|
1199
|
+
maxDimension: number;
|
|
1200
|
+
aspectRatios: ImageEditorRatio[];
|
|
1201
|
+
hideOutputSettings: boolean;
|
|
1202
|
+
}> | null;
|
|
1203
|
+
}, any, ComponentProvideOptions, {
|
|
1204
|
+
P: {};
|
|
1205
|
+
B: {};
|
|
1206
|
+
D: {};
|
|
1207
|
+
C: {};
|
|
1208
|
+
M: {};
|
|
1209
|
+
Defaults: {};
|
|
1210
|
+
}, Readonly<ImageEditorDialogProps> & Readonly<{
|
|
1211
|
+
onCancel?: (() => any) | undefined;
|
|
1212
|
+
onSave?: ((file: File) => any) | undefined;
|
|
1213
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
1214
|
+
}>, {
|
|
1215
|
+
edit: (file: File, options?: ImageEditorEditOptions) => Promise<File | null>;
|
|
1216
|
+
}, {}, {}, {}, {
|
|
1217
|
+
title: string;
|
|
1218
|
+
type: CompressImageType;
|
|
1219
|
+
shape: ImageEditorShape;
|
|
1220
|
+
src: File | Blob | string;
|
|
1221
|
+
aspectRatio: number;
|
|
1222
|
+
quality: number;
|
|
1223
|
+
open: boolean;
|
|
1224
|
+
maxSize: number;
|
|
1225
|
+
maxDimension: number;
|
|
1226
|
+
aspectRatios: ImageEditorRatio[];
|
|
1227
|
+
hideOutputSettings: boolean;
|
|
1228
|
+
}> | null;
|
|
1229
|
+
}, any>;
|
|
1095
1230
|
|
|
1096
1231
|
declare const __VLS_component_76: DefineComponent<BentoGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BentoGridProps> & Readonly<{}>, {
|
|
1097
1232
|
cols: BentoGridCols;
|
|
@@ -1131,6 +1266,192 @@ declare const __VLS_component_8: DefineComponent<CardSubProps, {}, {}, {}, {}, C
|
|
|
1131
1266
|
as: string | Component;
|
|
1132
1267
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1133
1268
|
|
|
1269
|
+
declare const __VLS_component_80: DefineComponent<SlideButtonProps, {
|
|
1270
|
+
reset: typeof reset_2;
|
|
1271
|
+
focus: () => void | undefined;
|
|
1272
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1273
|
+
"update:modelValue": (value: boolean) => any;
|
|
1274
|
+
confirm: () => any;
|
|
1275
|
+
}, string, PublicProps, Readonly<SlideButtonProps> & Readonly<{
|
|
1276
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1277
|
+
onConfirm?: (() => any) | undefined;
|
|
1278
|
+
}>, {
|
|
1279
|
+
label: string;
|
|
1280
|
+
variant: SlideButtonVariant;
|
|
1281
|
+
size: SlideButtonSize;
|
|
1282
|
+
fullWidth: boolean;
|
|
1283
|
+
shadow: SlideButtonShadow;
|
|
1284
|
+
disabled: boolean;
|
|
1285
|
+
loading: boolean;
|
|
1286
|
+
haptic: HapticInput;
|
|
1287
|
+
modelValue: boolean;
|
|
1288
|
+
threshold: number;
|
|
1289
|
+
confirmedLabel: string;
|
|
1290
|
+
loadingLabel: string;
|
|
1291
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1292
|
+
track: HTMLDivElement;
|
|
1293
|
+
labelElement: HTMLSpanElement;
|
|
1294
|
+
thumb: HTMLDivElement;
|
|
1295
|
+
}, HTMLDivElement>;
|
|
1296
|
+
|
|
1297
|
+
declare const __VLS_component_81: DefineComponent<TourProps, {
|
|
1298
|
+
next: typeof next_2;
|
|
1299
|
+
prev: typeof prev_2;
|
|
1300
|
+
goTo: typeof goTo;
|
|
1301
|
+
close: typeof close_5;
|
|
1302
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1303
|
+
"update:modelValue": (open: boolean) => any;
|
|
1304
|
+
"update:step": (step: number) => any;
|
|
1305
|
+
finish: () => any;
|
|
1306
|
+
skip: (step: number) => any;
|
|
1307
|
+
}, string, PublicProps, Readonly<TourProps> & Readonly<{
|
|
1308
|
+
"onUpdate:modelValue"?: ((open: boolean) => any) | undefined;
|
|
1309
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
1310
|
+
onFinish?: (() => any) | undefined;
|
|
1311
|
+
onSkip?: ((step: number) => any) | undefined;
|
|
1312
|
+
}>, {
|
|
1313
|
+
shadow: TourShadow;
|
|
1314
|
+
modelValue: boolean;
|
|
1315
|
+
padding: number;
|
|
1316
|
+
step: number;
|
|
1317
|
+
showCloseButton: boolean;
|
|
1318
|
+
showProgress: boolean;
|
|
1319
|
+
closeOnEscape: boolean;
|
|
1320
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1321
|
+
root: HTMLDivElement;
|
|
1322
|
+
card: HTMLDivElement;
|
|
1323
|
+
}, any>;
|
|
1324
|
+
|
|
1325
|
+
declare const __VLS_component_82: DefineComponent<WaterfallChartProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1326
|
+
"update:focused": (index: number | null) => any;
|
|
1327
|
+
"bar-enter": (bar: WaterfallBar, event: Event) => any;
|
|
1328
|
+
"bar-leave": (bar: WaterfallBar, event: Event) => any;
|
|
1329
|
+
"bar-click": (bar: WaterfallBar, event: Event) => any;
|
|
1330
|
+
}, string, PublicProps, Readonly<WaterfallChartProps> & Readonly<{
|
|
1331
|
+
"onUpdate:focused"?: ((index: number | null) => any) | undefined;
|
|
1332
|
+
"onBar-enter"?: ((bar: WaterfallBar, event: Event) => any) | undefined;
|
|
1333
|
+
"onBar-leave"?: ((bar: WaterfallBar, event: Event) => any) | undefined;
|
|
1334
|
+
"onBar-click"?: ((bar: WaterfallBar, event: Event) => any) | undefined;
|
|
1335
|
+
}>, {
|
|
1336
|
+
height: number;
|
|
1337
|
+
animated: boolean;
|
|
1338
|
+
tooltip: boolean;
|
|
1339
|
+
grid: boolean;
|
|
1340
|
+
interactive: boolean;
|
|
1341
|
+
barRadius: number;
|
|
1342
|
+
showXAxis: boolean;
|
|
1343
|
+
barGap: number;
|
|
1344
|
+
showYAxis: boolean;
|
|
1345
|
+
increaseColor: string;
|
|
1346
|
+
decreaseColor: string;
|
|
1347
|
+
totalColor: string;
|
|
1348
|
+
connectors: boolean;
|
|
1349
|
+
showValues: boolean;
|
|
1350
|
+
totalLabel: string;
|
|
1351
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1352
|
+
root: HTMLDivElement;
|
|
1353
|
+
}, HTMLDivElement>;
|
|
1354
|
+
|
|
1355
|
+
declare const __VLS_component_83: DefineComponent<CandlestickChartProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1356
|
+
"update:focused": (index: number | null) => any;
|
|
1357
|
+
"candle-enter": (candle: CandleItem, event: Event) => any;
|
|
1358
|
+
"candle-leave": (candle: CandleItem, event: Event) => any;
|
|
1359
|
+
"candle-click": (candle: CandleItem, event: Event) => any;
|
|
1360
|
+
}, string, PublicProps, Readonly<CandlestickChartProps> & Readonly<{
|
|
1361
|
+
"onUpdate:focused"?: ((index: number | null) => any) | undefined;
|
|
1362
|
+
"onCandle-enter"?: ((candle: CandleItem, event: Event) => any) | undefined;
|
|
1363
|
+
"onCandle-leave"?: ((candle: CandleItem, event: Event) => any) | undefined;
|
|
1364
|
+
"onCandle-click"?: ((candle: CandleItem, event: Event) => any) | undefined;
|
|
1365
|
+
}>, {
|
|
1366
|
+
height: number;
|
|
1367
|
+
animated: boolean;
|
|
1368
|
+
tooltip: boolean;
|
|
1369
|
+
grid: boolean;
|
|
1370
|
+
interactive: boolean;
|
|
1371
|
+
barRadius: number;
|
|
1372
|
+
showXAxis: boolean;
|
|
1373
|
+
barGap: number;
|
|
1374
|
+
showYAxis: boolean;
|
|
1375
|
+
upColor: string;
|
|
1376
|
+
downColor: string;
|
|
1377
|
+
maxBarWidth: number;
|
|
1378
|
+
showVolume: boolean;
|
|
1379
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1380
|
+
root: HTMLDivElement;
|
|
1381
|
+
}, HTMLDivElement>;
|
|
1382
|
+
|
|
1383
|
+
declare const __VLS_component_84: DefineComponent<SunburstProps, {
|
|
1384
|
+
zoomTo: typeof goTo_2;
|
|
1385
|
+
back: typeof back;
|
|
1386
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1387
|
+
"update:focused": (key: string | null) => any;
|
|
1388
|
+
"node-enter": (item: SunburstItem, event: Event) => any;
|
|
1389
|
+
"node-leave": (item: SunburstItem, event: Event) => any;
|
|
1390
|
+
"node-click": (item: SunburstItem, event: Event) => any;
|
|
1391
|
+
"update:zoom": (key: string | null) => any;
|
|
1392
|
+
}, string, PublicProps, Readonly<SunburstProps> & Readonly<{
|
|
1393
|
+
"onUpdate:focused"?: ((key: string | null) => any) | undefined;
|
|
1394
|
+
"onNode-enter"?: ((item: SunburstItem, event: Event) => any) | undefined;
|
|
1395
|
+
"onNode-leave"?: ((item: SunburstItem, event: Event) => any) | undefined;
|
|
1396
|
+
"onNode-click"?: ((item: SunburstItem, event: Event) => any) | undefined;
|
|
1397
|
+
"onUpdate:zoom"?: ((key: string | null) => any) | undefined;
|
|
1398
|
+
}>, {
|
|
1399
|
+
size: number;
|
|
1400
|
+
zoom: string | null;
|
|
1401
|
+
animated: boolean;
|
|
1402
|
+
gap: number;
|
|
1403
|
+
interactive: boolean;
|
|
1404
|
+
levels: number;
|
|
1405
|
+
showLabels: boolean;
|
|
1406
|
+
zoomable: boolean;
|
|
1407
|
+
innerRadius: number;
|
|
1408
|
+
cornerRadius: number;
|
|
1409
|
+
rootLabel: string;
|
|
1410
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1411
|
+
svg: SVGSVGElement;
|
|
1412
|
+
chart: SVGGElement;
|
|
1413
|
+
}, HTMLDivElement>;
|
|
1414
|
+
|
|
1415
|
+
declare const __VLS_component_85: DefineComponent<LightboxProps, {
|
|
1416
|
+
open: typeof open_4;
|
|
1417
|
+
close: typeof close_6;
|
|
1418
|
+
next: () => void;
|
|
1419
|
+
previous: () => void;
|
|
1420
|
+
goTo: typeof goTo_3;
|
|
1421
|
+
zoomIn: () => void;
|
|
1422
|
+
zoomOut: () => void;
|
|
1423
|
+
resetZoom: () => void;
|
|
1424
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1425
|
+
error: (image: LightboxImage, index: number) => any;
|
|
1426
|
+
close: () => any;
|
|
1427
|
+
"update:modelValue": (open: boolean) => any;
|
|
1428
|
+
"update:index": (index: number) => any;
|
|
1429
|
+
}, string, PublicProps, Readonly<LightboxProps> & Readonly<{
|
|
1430
|
+
onError?: ((image: LightboxImage, index: number) => any) | undefined;
|
|
1431
|
+
onClose?: (() => any) | undefined;
|
|
1432
|
+
"onUpdate:modelValue"?: ((open: boolean) => any) | undefined;
|
|
1433
|
+
"onUpdate:index"?: ((index: number) => any) | undefined;
|
|
1434
|
+
}>, {
|
|
1435
|
+
animated: boolean;
|
|
1436
|
+
modelValue: boolean;
|
|
1437
|
+
loop: boolean;
|
|
1438
|
+
index: number;
|
|
1439
|
+
swipeToClose: boolean;
|
|
1440
|
+
maxZoom: number;
|
|
1441
|
+
thumbnails: boolean;
|
|
1442
|
+
showCounter: boolean;
|
|
1443
|
+
zoomable: boolean;
|
|
1444
|
+
downloadable: boolean;
|
|
1445
|
+
closeOnBackdrop: boolean;
|
|
1446
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1447
|
+
root: HTMLDivElement;
|
|
1448
|
+
dialog: HTMLDivElement;
|
|
1449
|
+
stage: HTMLDivElement;
|
|
1450
|
+
frame: HTMLDivElement;
|
|
1451
|
+
image: HTMLImageElement;
|
|
1452
|
+
strip: HTMLDivElement;
|
|
1453
|
+
}, any>;
|
|
1454
|
+
|
|
1134
1455
|
declare const __VLS_component_9: DefineComponent<CardSubProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CardSubProps> & Readonly<{}>, {
|
|
1135
1456
|
as: string | Component;
|
|
1136
1457
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1157,7 +1478,12 @@ declare type __VLS_Props_4 = {
|
|
|
1157
1478
|
class?: string;
|
|
1158
1479
|
};
|
|
1159
1480
|
|
|
1160
|
-
declare function __VLS_template():
|
|
1481
|
+
declare function __VLS_template(): {
|
|
1482
|
+
attrs: Partial<{}>;
|
|
1483
|
+
slots: Readonly<ButtonSlots> & ButtonSlots;
|
|
1484
|
+
refs: {};
|
|
1485
|
+
rootEl: any;
|
|
1486
|
+
};
|
|
1161
1487
|
|
|
1162
1488
|
declare function __VLS_template_10(): {
|
|
1163
1489
|
attrs: Partial<{}>;
|
|
@@ -1495,6 +1821,10 @@ declare function __VLS_template_38(): {
|
|
|
1495
1821
|
attrs: Partial<{}>;
|
|
1496
1822
|
slots: {
|
|
1497
1823
|
start?(_: {}): any;
|
|
1824
|
+
chip?(_: {
|
|
1825
|
+
option: AutocompleteOption;
|
|
1826
|
+
disabled: boolean;
|
|
1827
|
+
}): any;
|
|
1498
1828
|
end?(_: {}): any;
|
|
1499
1829
|
option?(_: {
|
|
1500
1830
|
option: AutocompleteOption;
|
|
@@ -1742,6 +2072,7 @@ declare function __VLS_template_59(): {
|
|
|
1742
2072
|
footer?(_: {}): any;
|
|
1743
2073
|
};
|
|
1744
2074
|
refs: {
|
|
2075
|
+
scrollRef: HTMLDivElement;
|
|
1745
2076
|
tableRef: HTMLTableElement;
|
|
1746
2077
|
};
|
|
1747
2078
|
rootEl: HTMLDivElement;
|
|
@@ -2024,14 +2355,115 @@ declare function __VLS_template_74(): {
|
|
|
2024
2355
|
|
|
2025
2356
|
declare function __VLS_template_75(): {
|
|
2026
2357
|
attrs: Partial<{}>;
|
|
2027
|
-
slots:
|
|
2028
|
-
icon?(_: {}): any;
|
|
2029
|
-
text?(_: {}): any;
|
|
2030
|
-
};
|
|
2358
|
+
slots: Readonly<FileUploadSlots> & FileUploadSlots;
|
|
2031
2359
|
refs: {
|
|
2360
|
+
rootRef: HTMLDivElement;
|
|
2032
2361
|
fileInput: HTMLInputElement;
|
|
2362
|
+
editorDialog: CreateComponentPublicInstanceWithMixins<Readonly<ImageEditorDialogProps> & Readonly<{
|
|
2363
|
+
onCancel?: (() => any) | undefined;
|
|
2364
|
+
onSave?: ((file: File) => any) | undefined;
|
|
2365
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
2366
|
+
}>, {
|
|
2367
|
+
edit: (file: File, options?: ImageEditorEditOptions) => Promise<File | null>;
|
|
2368
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2369
|
+
cancel: () => any;
|
|
2370
|
+
save: (file: File) => any;
|
|
2371
|
+
"update:open": (open: boolean) => any;
|
|
2372
|
+
}, PublicProps, {
|
|
2373
|
+
title: string;
|
|
2374
|
+
type: CompressImageType;
|
|
2375
|
+
shape: ImageEditorShape;
|
|
2376
|
+
src: File | Blob | string;
|
|
2377
|
+
aspectRatio: number;
|
|
2378
|
+
quality: number;
|
|
2379
|
+
open: boolean;
|
|
2380
|
+
maxSize: number;
|
|
2381
|
+
maxDimension: number;
|
|
2382
|
+
aspectRatios: ImageEditorRatio[];
|
|
2383
|
+
hideOutputSettings: boolean;
|
|
2384
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
2385
|
+
editor: CreateComponentPublicInstanceWithMixins<Readonly<ImageEditorProps> & Readonly<{
|
|
2386
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
2387
|
+
onReady?: (() => any) | undefined;
|
|
2388
|
+
}>, {
|
|
2389
|
+
export: () => Promise<File>;
|
|
2390
|
+
reset: () => void;
|
|
2391
|
+
rotate: (clockwise?: boolean) => void;
|
|
2392
|
+
flip: (axis: "horizontal" | "vertical") => void;
|
|
2393
|
+
dirty: Ref<boolean, boolean>;
|
|
2394
|
+
ready: ComputedRef<boolean>;
|
|
2395
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2396
|
+
error: (error: unknown) => any;
|
|
2397
|
+
ready: () => any;
|
|
2398
|
+
}, PublicProps, {
|
|
2399
|
+
type: CompressImageType;
|
|
2400
|
+
shape: ImageEditorShape;
|
|
2401
|
+
src: File | Blob | string;
|
|
2402
|
+
aspectRatio: number;
|
|
2403
|
+
quality: number;
|
|
2404
|
+
maxSize: number;
|
|
2405
|
+
maxDimension: number;
|
|
2406
|
+
aspectRatios: ImageEditorRatio[];
|
|
2407
|
+
hideOutputSettings: boolean;
|
|
2408
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
2409
|
+
stage: HTMLDivElement;
|
|
2410
|
+
frame: HTMLDivElement;
|
|
2411
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
2412
|
+
P: {};
|
|
2413
|
+
B: {};
|
|
2414
|
+
D: {};
|
|
2415
|
+
C: {};
|
|
2416
|
+
M: {};
|
|
2417
|
+
Defaults: {};
|
|
2418
|
+
}, Readonly<ImageEditorProps> & Readonly<{
|
|
2419
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
2420
|
+
onReady?: (() => any) | undefined;
|
|
2421
|
+
}>, {
|
|
2422
|
+
export: () => Promise<File>;
|
|
2423
|
+
reset: () => void;
|
|
2424
|
+
rotate: (clockwise?: boolean) => void;
|
|
2425
|
+
flip: (axis: "horizontal" | "vertical") => void;
|
|
2426
|
+
dirty: Ref<boolean, boolean>;
|
|
2427
|
+
ready: ComputedRef<boolean>;
|
|
2428
|
+
}, {}, {}, {}, {
|
|
2429
|
+
type: CompressImageType;
|
|
2430
|
+
shape: ImageEditorShape;
|
|
2431
|
+
src: File | Blob | string;
|
|
2432
|
+
aspectRatio: number;
|
|
2433
|
+
quality: number;
|
|
2434
|
+
maxSize: number;
|
|
2435
|
+
maxDimension: number;
|
|
2436
|
+
aspectRatios: ImageEditorRatio[];
|
|
2437
|
+
hideOutputSettings: boolean;
|
|
2438
|
+
}> | null;
|
|
2439
|
+
}, any, ComponentProvideOptions, {
|
|
2440
|
+
P: {};
|
|
2441
|
+
B: {};
|
|
2442
|
+
D: {};
|
|
2443
|
+
C: {};
|
|
2444
|
+
M: {};
|
|
2445
|
+
Defaults: {};
|
|
2446
|
+
}, Readonly<ImageEditorDialogProps> & Readonly<{
|
|
2447
|
+
onCancel?: (() => any) | undefined;
|
|
2448
|
+
onSave?: ((file: File) => any) | undefined;
|
|
2449
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
2450
|
+
}>, {
|
|
2451
|
+
edit: (file: File, options?: ImageEditorEditOptions) => Promise<File | null>;
|
|
2452
|
+
}, {}, {}, {}, {
|
|
2453
|
+
title: string;
|
|
2454
|
+
type: CompressImageType;
|
|
2455
|
+
shape: ImageEditorShape;
|
|
2456
|
+
src: File | Blob | string;
|
|
2457
|
+
aspectRatio: number;
|
|
2458
|
+
quality: number;
|
|
2459
|
+
open: boolean;
|
|
2460
|
+
maxSize: number;
|
|
2461
|
+
maxDimension: number;
|
|
2462
|
+
aspectRatios: ImageEditorRatio[];
|
|
2463
|
+
hideOutputSettings: boolean;
|
|
2464
|
+
}> | null;
|
|
2033
2465
|
};
|
|
2034
|
-
rootEl:
|
|
2466
|
+
rootEl: any;
|
|
2035
2467
|
};
|
|
2036
2468
|
|
|
2037
2469
|
declare function __VLS_template_76(): {
|
|
@@ -2083,6 +2515,69 @@ declare function __VLS_template_8(): {
|
|
|
2083
2515
|
rootEl: any;
|
|
2084
2516
|
};
|
|
2085
2517
|
|
|
2518
|
+
declare function __VLS_template_80(): {
|
|
2519
|
+
attrs: Partial<{}>;
|
|
2520
|
+
slots: Readonly<SlideButtonSlots> & SlideButtonSlots;
|
|
2521
|
+
refs: {
|
|
2522
|
+
track: HTMLDivElement;
|
|
2523
|
+
labelElement: HTMLSpanElement;
|
|
2524
|
+
thumb: HTMLDivElement;
|
|
2525
|
+
};
|
|
2526
|
+
rootEl: HTMLDivElement;
|
|
2527
|
+
};
|
|
2528
|
+
|
|
2529
|
+
declare function __VLS_template_81(): {
|
|
2530
|
+
attrs: Partial<{}>;
|
|
2531
|
+
slots: Readonly<TourSlots> & TourSlots;
|
|
2532
|
+
refs: {
|
|
2533
|
+
root: HTMLDivElement;
|
|
2534
|
+
card: HTMLDivElement;
|
|
2535
|
+
};
|
|
2536
|
+
rootEl: any;
|
|
2537
|
+
};
|
|
2538
|
+
|
|
2539
|
+
declare function __VLS_template_82(): {
|
|
2540
|
+
attrs: Partial<{}>;
|
|
2541
|
+
slots: Readonly<WaterfallChartSlots> & WaterfallChartSlots;
|
|
2542
|
+
refs: {
|
|
2543
|
+
root: HTMLDivElement;
|
|
2544
|
+
};
|
|
2545
|
+
rootEl: HTMLDivElement;
|
|
2546
|
+
};
|
|
2547
|
+
|
|
2548
|
+
declare function __VLS_template_83(): {
|
|
2549
|
+
attrs: Partial<{}>;
|
|
2550
|
+
slots: Readonly<CandlestickChartSlots> & CandlestickChartSlots;
|
|
2551
|
+
refs: {
|
|
2552
|
+
root: HTMLDivElement;
|
|
2553
|
+
};
|
|
2554
|
+
rootEl: HTMLDivElement;
|
|
2555
|
+
};
|
|
2556
|
+
|
|
2557
|
+
declare function __VLS_template_84(): {
|
|
2558
|
+
attrs: Partial<{}>;
|
|
2559
|
+
slots: Readonly<SunburstSlots> & SunburstSlots;
|
|
2560
|
+
refs: {
|
|
2561
|
+
svg: SVGSVGElement;
|
|
2562
|
+
chart: SVGGElement;
|
|
2563
|
+
};
|
|
2564
|
+
rootEl: HTMLDivElement;
|
|
2565
|
+
};
|
|
2566
|
+
|
|
2567
|
+
declare function __VLS_template_85(): {
|
|
2568
|
+
attrs: Partial<{}>;
|
|
2569
|
+
slots: Readonly<LightboxSlots> & LightboxSlots;
|
|
2570
|
+
refs: {
|
|
2571
|
+
root: HTMLDivElement;
|
|
2572
|
+
dialog: HTMLDivElement;
|
|
2573
|
+
stage: HTMLDivElement;
|
|
2574
|
+
frame: HTMLDivElement;
|
|
2575
|
+
image: HTMLImageElement;
|
|
2576
|
+
strip: HTMLDivElement;
|
|
2577
|
+
};
|
|
2578
|
+
rootEl: any;
|
|
2579
|
+
};
|
|
2580
|
+
|
|
2086
2581
|
declare function __VLS_template_9(): {
|
|
2087
2582
|
attrs: Partial<{}>;
|
|
2088
2583
|
slots: {
|
|
@@ -2248,6 +2743,18 @@ declare type __VLS_TemplateResult_79 = ReturnType<typeof __VLS_template_79>;
|
|
|
2248
2743
|
|
|
2249
2744
|
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
2250
2745
|
|
|
2746
|
+
declare type __VLS_TemplateResult_80 = ReturnType<typeof __VLS_template_80>;
|
|
2747
|
+
|
|
2748
|
+
declare type __VLS_TemplateResult_81 = ReturnType<typeof __VLS_template_81>;
|
|
2749
|
+
|
|
2750
|
+
declare type __VLS_TemplateResult_82 = ReturnType<typeof __VLS_template_82>;
|
|
2751
|
+
|
|
2752
|
+
declare type __VLS_TemplateResult_83 = ReturnType<typeof __VLS_template_83>;
|
|
2753
|
+
|
|
2754
|
+
declare type __VLS_TemplateResult_84 = ReturnType<typeof __VLS_template_84>;
|
|
2755
|
+
|
|
2756
|
+
declare type __VLS_TemplateResult_85 = ReturnType<typeof __VLS_template_85>;
|
|
2757
|
+
|
|
2251
2758
|
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
2252
2759
|
|
|
2253
2760
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2718,6 +3225,42 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
|
2718
3225
|
};
|
|
2719
3226
|
};
|
|
2720
3227
|
|
|
3228
|
+
declare type __VLS_WithTemplateSlots_80<T, S> = T & {
|
|
3229
|
+
new (): {
|
|
3230
|
+
$slots: S;
|
|
3231
|
+
};
|
|
3232
|
+
};
|
|
3233
|
+
|
|
3234
|
+
declare type __VLS_WithTemplateSlots_81<T, S> = T & {
|
|
3235
|
+
new (): {
|
|
3236
|
+
$slots: S;
|
|
3237
|
+
};
|
|
3238
|
+
};
|
|
3239
|
+
|
|
3240
|
+
declare type __VLS_WithTemplateSlots_82<T, S> = T & {
|
|
3241
|
+
new (): {
|
|
3242
|
+
$slots: S;
|
|
3243
|
+
};
|
|
3244
|
+
};
|
|
3245
|
+
|
|
3246
|
+
declare type __VLS_WithTemplateSlots_83<T, S> = T & {
|
|
3247
|
+
new (): {
|
|
3248
|
+
$slots: S;
|
|
3249
|
+
};
|
|
3250
|
+
};
|
|
3251
|
+
|
|
3252
|
+
declare type __VLS_WithTemplateSlots_84<T, S> = T & {
|
|
3253
|
+
new (): {
|
|
3254
|
+
$slots: S;
|
|
3255
|
+
};
|
|
3256
|
+
};
|
|
3257
|
+
|
|
3258
|
+
declare type __VLS_WithTemplateSlots_85<T, S> = T & {
|
|
3259
|
+
new (): {
|
|
3260
|
+
$slots: S;
|
|
3261
|
+
};
|
|
3262
|
+
};
|
|
3263
|
+
|
|
2721
3264
|
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
2722
3265
|
new (): {
|
|
2723
3266
|
$slots: S;
|
|
@@ -3004,9 +3547,11 @@ export declare interface AspectRatioProps {
|
|
|
3004
3547
|
|
|
3005
3548
|
export declare const aspectRatioTheme = "relative w-full overflow-hidden";
|
|
3006
3549
|
|
|
3550
|
+
/** The values are typed loosely on purpose: `v-model` then takes a ref of one value, as it always
|
|
3551
|
+
* has, or of a list with `multiple`. */
|
|
3007
3552
|
export declare interface AutocompleteEmits {
|
|
3008
|
-
'update:modelValue': [value:
|
|
3009
|
-
'change': [value:
|
|
3553
|
+
'update:modelValue': [value: any];
|
|
3554
|
+
'change': [value: any];
|
|
3010
3555
|
'inputChange': [query: string];
|
|
3011
3556
|
'focus': [event: FocusEvent];
|
|
3012
3557
|
'blur': [event: FocusEvent];
|
|
@@ -3033,10 +3578,13 @@ export declare const autocompleteOptionTheme: (props?: ({
|
|
|
3033
3578
|
export declare const autocompletePopoverTheme: string;
|
|
3034
3579
|
|
|
3035
3580
|
export declare interface AutocompleteProps {
|
|
3036
|
-
/** Selected value (v-model). */
|
|
3037
|
-
modelValue?:
|
|
3581
|
+
/** Selected value (v-model). With `multiple`, an array in the order they were picked. */
|
|
3582
|
+
modelValue?: AutocompleteValue;
|
|
3038
3583
|
/** Default value when uncontrolled. */
|
|
3039
|
-
defaultValue?:
|
|
3584
|
+
defaultValue?: AutocompleteValue;
|
|
3585
|
+
/** Pick several: they show as chips in the field, and the list stays open. With
|
|
3586
|
+
* `allowCustomValue`, what is typed can be added too. */
|
|
3587
|
+
multiple?: boolean;
|
|
3040
3588
|
/** List of options to filter. */
|
|
3041
3589
|
options: AutocompleteOption[];
|
|
3042
3590
|
/** Placeholder text. */
|
|
@@ -3088,6 +3636,9 @@ export declare interface AutocompleteProps {
|
|
|
3088
3636
|
|
|
3089
3637
|
declare type AutocompleteShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
3090
3638
|
|
|
3639
|
+
/** One value, or with `multiple` a list of them. */
|
|
3640
|
+
export declare type AutocompleteValue = string | number | (string | number)[];
|
|
3641
|
+
|
|
3091
3642
|
export declare const autocompleteWrapperTheme = "flex w-full flex-col gap-1.5";
|
|
3092
3643
|
|
|
3093
3644
|
export declare interface AvatarProps {
|
|
@@ -3124,6 +3675,8 @@ export declare const avatarTheme: (props?: ({
|
|
|
3124
3675
|
shadow?: "none" | "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
3125
3676
|
} & ClassProp) | undefined) => string;
|
|
3126
3677
|
|
|
3678
|
+
declare function back(): void;
|
|
3679
|
+
|
|
3127
3680
|
export declare type BadgeColor = 'default' | 'accent' | 'success' | 'warning' | 'danger';
|
|
3128
3681
|
|
|
3129
3682
|
export declare type BadgePlacement = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
@@ -3405,7 +3958,7 @@ export declare const calendarHeaderCellTheme: string;
|
|
|
3405
3958
|
|
|
3406
3959
|
export declare const calendarHeaderTheme = "flex items-center gap-1 pb-3";
|
|
3407
3960
|
|
|
3408
|
-
export declare const calendarHeadingTheme = "flex-1 text-center text-sm font-semibold text-ousi-foreground";
|
|
3961
|
+
export declare const calendarHeadingTheme = "flex-1 whitespace-nowrap text-center text-sm font-semibold text-ousi-foreground";
|
|
3409
3962
|
|
|
3410
3963
|
export declare const calendarNavButtonTheme: string;
|
|
3411
3964
|
|
|
@@ -3441,6 +3994,43 @@ export declare interface CalendarProps {
|
|
|
3441
3994
|
|
|
3442
3995
|
export declare const calendarTheme = "w-72 max-w-full";
|
|
3443
3996
|
|
|
3997
|
+
export declare interface CandleDatum {
|
|
3998
|
+
/** Unique key. Falls back to the label. */
|
|
3999
|
+
id?: string;
|
|
4000
|
+
/** The period: a date, a time. */
|
|
4001
|
+
label: string;
|
|
4002
|
+
open: number;
|
|
4003
|
+
high: number;
|
|
4004
|
+
low: number;
|
|
4005
|
+
close: number;
|
|
4006
|
+
volume?: number;
|
|
4007
|
+
}
|
|
4008
|
+
|
|
4009
|
+
/** A candle with its derived values. Passed to slots and events. */
|
|
4010
|
+
export declare interface CandleItem {
|
|
4011
|
+
key: string;
|
|
4012
|
+
index: number;
|
|
4013
|
+
label: string;
|
|
4014
|
+
open: number;
|
|
4015
|
+
high: number;
|
|
4016
|
+
low: number;
|
|
4017
|
+
close: number;
|
|
4018
|
+
volume?: number;
|
|
4019
|
+
/** Closed at or above where it opened. */
|
|
4020
|
+
rising: boolean;
|
|
4021
|
+
/** Close less open, and that as a share of the open (0-100, two decimals). */
|
|
4022
|
+
change: number;
|
|
4023
|
+
changePercent: number;
|
|
4024
|
+
color: string;
|
|
4025
|
+
formatted: {
|
|
4026
|
+
open: string;
|
|
4027
|
+
high: string;
|
|
4028
|
+
low: string;
|
|
4029
|
+
close: string;
|
|
4030
|
+
volume?: string;
|
|
4031
|
+
};
|
|
4032
|
+
}
|
|
4033
|
+
|
|
3444
4034
|
export declare interface CandlePoint {
|
|
3445
4035
|
time: number;
|
|
3446
4036
|
open: number;
|
|
@@ -3449,6 +4039,42 @@ export declare interface CandlePoint {
|
|
|
3449
4039
|
close: number;
|
|
3450
4040
|
}
|
|
3451
4041
|
|
|
4042
|
+
export declare interface CandlestickChartProps {
|
|
4043
|
+
data: CandleDatum[];
|
|
4044
|
+
/** Chart height in px. Width is fluid. */
|
|
4045
|
+
height?: number;
|
|
4046
|
+
upColor?: string;
|
|
4047
|
+
downColor?: string;
|
|
4048
|
+
/** Corner radius of the candle bodies, in px. */
|
|
4049
|
+
barRadius?: number;
|
|
4050
|
+
/** Space between candles as a share of each slot, from 0 to 0.9. */
|
|
4051
|
+
barGap?: number;
|
|
4052
|
+
/** The widest a candle body gets, in px, when there are few of them. */
|
|
4053
|
+
maxBarWidth?: number;
|
|
4054
|
+
/** Bars of volume along the bottom, for data that has it. */
|
|
4055
|
+
showVolume?: boolean;
|
|
4056
|
+
grid?: boolean;
|
|
4057
|
+
showXAxis?: boolean;
|
|
4058
|
+
showYAxis?: boolean;
|
|
4059
|
+
formatValue?: (value: number) => string;
|
|
4060
|
+
formatVolume?: (value: number) => string;
|
|
4061
|
+
/** Words for the tooltip and screen readers. */
|
|
4062
|
+
labels?: Partial<Record<'open' | 'high' | 'low' | 'close' | 'volume', string>>;
|
|
4063
|
+
interactive?: boolean;
|
|
4064
|
+
tooltip?: boolean;
|
|
4065
|
+
/** Highlighted candle. Optional: the chart tracks hover by itself; bind v-model:focused to read or drive it. */
|
|
4066
|
+
focused?: number | null;
|
|
4067
|
+
animated?: boolean;
|
|
4068
|
+
label?: string;
|
|
4069
|
+
class?: string;
|
|
4070
|
+
}
|
|
4071
|
+
|
|
4072
|
+
export declare interface CandlestickChartSlots {
|
|
4073
|
+
tooltip?: (props: {
|
|
4074
|
+
candle: CandleItem;
|
|
4075
|
+
}) => unknown;
|
|
4076
|
+
}
|
|
4077
|
+
|
|
3452
4078
|
export declare const cardContentTheme = "flex flex-1 flex-col gap-1";
|
|
3453
4079
|
|
|
3454
4080
|
export declare const cardDescriptionTheme = "text-sm leading-5 text-ousi-muted";
|
|
@@ -3721,6 +4347,10 @@ declare function close_3(): void;
|
|
|
3721
4347
|
|
|
3722
4348
|
declare function close_4(): void;
|
|
3723
4349
|
|
|
4350
|
+
declare function close_5(): void;
|
|
4351
|
+
|
|
4352
|
+
declare function close_6(): void;
|
|
4353
|
+
|
|
3724
4354
|
/** Code scroll area. */
|
|
3725
4355
|
export declare const codeBlockBodyTheme = "overflow-x-auto font-mono text-[13px] leading-6";
|
|
3726
4356
|
|
|
@@ -3894,6 +4524,9 @@ export declare interface ColorPickerProps {
|
|
|
3894
4524
|
defaultValue?: ColorPickerValue;
|
|
3895
4525
|
/** Label shown next to the trigger swatch. */
|
|
3896
4526
|
label?: string;
|
|
4527
|
+
/** Without a label, show the hex value next to the trigger swatch. Turn it off when the hex
|
|
4528
|
+
* is already shown elsewhere (an editable hex field beside the picker). Defaults to `true`. */
|
|
4529
|
+
showValue?: boolean;
|
|
3897
4530
|
/** Show alpha slider. */
|
|
3898
4531
|
showAlpha?: boolean;
|
|
3899
4532
|
/** Show hex input field. */
|
|
@@ -4107,6 +4740,33 @@ export declare const commandPaletteTheme: (props?: ({
|
|
|
4107
4740
|
shadow?: "lg" | "xl" | "2xl" | null | undefined;
|
|
4108
4741
|
} & ClassProp) | undefined) => string;
|
|
4109
4742
|
|
|
4743
|
+
/**
|
|
4744
|
+
* Makes an image lighter in the browser: lowers the quality first, then the dimensions. Whatever it
|
|
4745
|
+
* cannot improve (a GIF, an SVG, a PDF, an animation) comes back as it was. It does its best within
|
|
4746
|
+
* `minQuality` and `minDimension`, so check `result.size` when the limit is strict.
|
|
4747
|
+
*
|
|
4748
|
+
* Writing an image again drops its metadata, such as the place and date of a photo.
|
|
4749
|
+
*/
|
|
4750
|
+
export declare function compressImage(file: File, options?: CompressImageOptions): Promise<File>;
|
|
4751
|
+
|
|
4752
|
+
export declare interface CompressImageOptions {
|
|
4753
|
+
/** Weight to reach, in bytes. */
|
|
4754
|
+
maxSize?: number;
|
|
4755
|
+
/** The longest side is brought down to this many pixels. */
|
|
4756
|
+
maxDimension?: number;
|
|
4757
|
+
/** Output format. Without it the format is kept, and changes only when the weight asks for it. */
|
|
4758
|
+
type?: CompressImageType;
|
|
4759
|
+
/** Quality of the first try, from 0 to 1. Defaults to 0.85. */
|
|
4760
|
+
quality?: number;
|
|
4761
|
+
/** Quality is not lowered past this: the image is made smaller instead. Defaults to 0.7. */
|
|
4762
|
+
minQuality?: number;
|
|
4763
|
+
/** To reach the weight the longest side is not shrunk below this, so text stays readable. Defaults to 800. */
|
|
4764
|
+
minDimension?: number;
|
|
4765
|
+
signal?: AbortSignal;
|
|
4766
|
+
}
|
|
4767
|
+
|
|
4768
|
+
export declare type CompressImageType = 'image/jpeg' | 'image/webp' | 'image/png';
|
|
4769
|
+
|
|
4110
4770
|
export declare interface ConfettiEmits {
|
|
4111
4771
|
'complete': [];
|
|
4112
4772
|
}
|
|
@@ -4467,7 +5127,7 @@ export declare interface DialogEmits {
|
|
|
4467
5127
|
'close': [];
|
|
4468
5128
|
}
|
|
4469
5129
|
|
|
4470
|
-
export declare const dialogFooterTheme = "mt-6 flex flex-row items-center justify-end gap-2 first:mt-0";
|
|
5130
|
+
export declare const dialogFooterTheme = "mt-6 flex flex-row flex-wrap items-center justify-end gap-2 first:mt-0";
|
|
4471
5131
|
|
|
4472
5132
|
export declare const dialogHeaderTheme = "flex flex-col gap-1";
|
|
4473
5133
|
|
|
@@ -4526,11 +5186,13 @@ export declare interface DonutChartProps {
|
|
|
4526
5186
|
size?: number;
|
|
4527
5187
|
/** Ring thickness in viewBox units (0-100 scale). Ignored by `pie`. */
|
|
4528
5188
|
thickness?: number;
|
|
4529
|
-
/**
|
|
5189
|
+
/** Space between segments, in degrees. With round ends it is a curve of even width. 0 joins them. */
|
|
4530
5190
|
gap?: number;
|
|
4531
|
-
/** Round
|
|
5191
|
+
/** Round ends, each fitted around the next. Defaults to true; false cuts them straight. Not for pies. */
|
|
4532
5192
|
rounded?: boolean;
|
|
4533
|
-
/**
|
|
5193
|
+
/** Segments touch, with no space between them. */
|
|
5194
|
+
joined?: boolean;
|
|
5195
|
+
/** How far the hovered segment moves outward, in viewBox units. A joined ring with round ends stays whole. */
|
|
4534
5196
|
explode?: number;
|
|
4535
5197
|
/** Show a legend under the chart: swatch, label and share. */
|
|
4536
5198
|
showLegend?: boolean;
|
|
@@ -4680,8 +5342,11 @@ export declare interface DrawerProps {
|
|
|
4680
5342
|
* lg 36rem, xl 42rem, 2xl 56rem, never wider than 85% of the viewport; full takes the
|
|
4681
5343
|
* viewport but a 4rem strip (2rem on phones), for documents. Defaults to 'sm'. */
|
|
4682
5344
|
size?: DrawerSize;
|
|
4683
|
-
/** Show
|
|
5345
|
+
/** Show the handle bar. Drawers from the top and bottom have one anyway while they can be swiped. */
|
|
4684
5346
|
showHandle?: boolean;
|
|
5347
|
+
/** Close by dragging the drawer back the way it came: a mouse by the handle, a finger from
|
|
5348
|
+
* anywhere, once the content under it has nothing left to scroll. Not for floating-center. */
|
|
5349
|
+
swipeToClose?: boolean;
|
|
4685
5350
|
/** Show the built-in close button. */
|
|
4686
5351
|
showCloseButton?: boolean;
|
|
4687
5352
|
/** Title text in the header. */
|
|
@@ -4754,6 +5419,13 @@ export declare const dropdownSeparatorTheme = "my-1 ml-[3%] h-px w-[94%] bg-ousi
|
|
|
4754
5419
|
|
|
4755
5420
|
declare type DropdownShadow = 'sm' | 'md' | 'lg' | 'xl';
|
|
4756
5421
|
|
|
5422
|
+
/**
|
|
5423
|
+
* Opens the editor on a file and resolves with the result, or with null if the user cancels. What
|
|
5424
|
+
* cannot be edited (a PDF, a GIF, an animation) resolves at once, as it is: made to be passed to the
|
|
5425
|
+
* `transform` of OFileUpload.
|
|
5426
|
+
*/
|
|
5427
|
+
declare function edit(file: File, options?: ImageEditorEditOptions): Promise<File | null>;
|
|
5428
|
+
|
|
4757
5429
|
export declare const elasticSliderBarTheme: (props?: ({
|
|
4758
5430
|
color?: "success" | "warning" | "primary" | "secondary" | "danger" | null | undefined;
|
|
4759
5431
|
active?: boolean | null | undefined;
|
|
@@ -4808,56 +5480,105 @@ declare function exportCSV(options?: {
|
|
|
4808
5480
|
includeHidden?: boolean;
|
|
4809
5481
|
}): void;
|
|
4810
5482
|
|
|
5483
|
+
/** The picture as it stands, written within the output settings. */
|
|
5484
|
+
declare function exportFile(): Promise<File>;
|
|
5485
|
+
|
|
4811
5486
|
export declare const fileUploadAreaTheme: (props?: ({
|
|
4812
5487
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4813
|
-
|
|
5488
|
+
state?: "invalid" | "disabled" | "active" | "idle" | null | undefined;
|
|
4814
5489
|
shadow?: "none" | "xs" | "sm" | "md" | null | undefined;
|
|
4815
5490
|
animated?: boolean | null | undefined;
|
|
4816
5491
|
} & ClassProp) | undefined) => string;
|
|
4817
5492
|
|
|
5493
|
+
/** Settings of the built-in editor, as in OImageEditorDialog. `maxSize` defaults to the component's. */
|
|
5494
|
+
export declare type FileUploadEditorOptions = Pick<ImageEditorDialogProps, 'title' | 'aspectRatio' | 'aspectRatios' | 'shape' | 'maxSize' | 'maxDimension' | 'type' | 'quality' | 'hideOutputSettings'>;
|
|
5495
|
+
|
|
4818
5496
|
export declare interface FileUploadEmits {
|
|
4819
5497
|
'update:modelValue': [files: File[]];
|
|
4820
5498
|
'change': [files: File[]];
|
|
4821
|
-
/** A file was rejected. Without a listener the message shows under the
|
|
5499
|
+
/** A file was rejected. Without a listener the message shows under the control. */
|
|
4822
5500
|
'error': [message: string];
|
|
4823
|
-
/** A file
|
|
5501
|
+
/** A new file left the list, removed or replaced by an edit. If it was uploading, abort here. */
|
|
4824
5502
|
'remove': [file: File];
|
|
4825
|
-
/** The retry button of a file whose
|
|
5503
|
+
/** The retry button of a file whose upload failed. */
|
|
4826
5504
|
'retry': [file: File];
|
|
5505
|
+
/** The name of a file was clicked. Listening to it turns every name into a button. */
|
|
5506
|
+
'open': [file: File | FileUploadUploadedFile];
|
|
5507
|
+
/** How many files are being transformed or waiting for approval: hold your submit while over 0. */
|
|
5508
|
+
'pendingChange': [count: number];
|
|
5509
|
+
/** `transform` threw. The user sees that the file could not be processed; the cause is here. */
|
|
5510
|
+
'transformError': [error: unknown, file: File];
|
|
5511
|
+
/** A new file was edited and took the place of the previous one. `remove` fires for that one. */
|
|
5512
|
+
'edited': [file: File, previous: File];
|
|
5513
|
+
/**
|
|
5514
|
+
* An uploaded image was edited. Nothing changes in the list: upload `file`, replace the record and
|
|
5515
|
+
* update `uploadedFiles` when your server has it. Listening to it shows their Edit button.
|
|
5516
|
+
*/
|
|
5517
|
+
'editUploaded': [uploaded: FileUploadUploadedFile, file: File];
|
|
5518
|
+
'update:uploadedFiles': [files: FileUploadUploadedFile[]];
|
|
5519
|
+
/** An uploaded file was taken off the list: delete it on the server from here. */
|
|
5520
|
+
'removeUploaded': [file: FileUploadUploadedFile];
|
|
4827
5521
|
}
|
|
4828
5522
|
|
|
5523
|
+
/** Sends one file. Resolve when the server has it; throw when it fails. */
|
|
5524
|
+
export declare type FileUploader<T> = (file: File, request: FileUploadRequest) => Promise<T>;
|
|
5525
|
+
|
|
5526
|
+
/** The family of a file, which picks the drawing of its icon. */
|
|
5527
|
+
export declare type FileUploadFileKind = 'doc' | 'pdf' | 'sheet' | 'slides' | 'image' | 'video' | 'audio' | 'archive' | 'code' | 'file';
|
|
5528
|
+
|
|
5529
|
+
/** A row of the list. Its actions wrap under the name only when the list is very narrow. */
|
|
4829
5530
|
export declare const fileUploadFileTheme: (props?: ({
|
|
4830
5531
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4831
5532
|
} & ClassProp) | undefined) => string;
|
|
4832
5533
|
|
|
4833
|
-
export declare const fileUploadHintTheme = "
|
|
5534
|
+
export declare const fileUploadHintTheme = "block text-xs text-ousi-muted text-pretty";
|
|
4834
5535
|
|
|
5536
|
+
/** The box of the illustration of the drop area. */
|
|
4835
5537
|
export declare const fileUploadIconTheme: (props?: ({
|
|
4836
5538
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4837
5539
|
active?: boolean | null | undefined;
|
|
5540
|
+
disabled?: boolean | null | undefined;
|
|
4838
5541
|
} & ClassProp) | undefined) => string;
|
|
4839
5542
|
|
|
4840
5543
|
export declare const fileUploadInlineTheme: (props?: ({
|
|
4841
5544
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4842
|
-
|
|
5545
|
+
state?: "invalid" | "disabled" | "active" | "idle" | null | undefined;
|
|
4843
5546
|
shadow?: "none" | "xs" | "sm" | "md" | null | undefined;
|
|
4844
5547
|
animated?: boolean | null | undefined;
|
|
4845
5548
|
} & ClassProp) | undefined) => string;
|
|
4846
5549
|
|
|
5550
|
+
export declare type FileUploadPaste = 'self' | 'page' | 'none';
|
|
5551
|
+
|
|
5552
|
+
export declare type FileUploadPreview = 'contain' | 'cover' | 'none';
|
|
5553
|
+
|
|
4847
5554
|
export declare interface FileUploadProps {
|
|
4848
5555
|
/** Selected files (v-model). Optional: without it the component keeps its own list. */
|
|
4849
5556
|
modelValue?: File[];
|
|
4850
|
-
/**
|
|
5557
|
+
/** Files already on the server (v-model:uploaded-files), listed before the new ones. */
|
|
5558
|
+
uploadedFiles?: FileUploadUploadedFile[];
|
|
5559
|
+
/** Label shown above the control. */
|
|
5560
|
+
label?: string;
|
|
5561
|
+
/** Help text shown below the control. */
|
|
5562
|
+
description?: string;
|
|
5563
|
+
/** Error message: activates the error state. */
|
|
5564
|
+
errorMessage?: string;
|
|
5565
|
+
/** Name of the native file input, also used to match form context errors. */
|
|
5566
|
+
name?: string;
|
|
5567
|
+
/** Whether a file is required. An uploaded file counts. */
|
|
5568
|
+
required?: boolean;
|
|
5569
|
+
/** Accepted file types (e.g. "image/*,.pdf"). Also shown in the hint. */
|
|
4851
5570
|
accept?: string;
|
|
4852
5571
|
/** Allow multiple files. */
|
|
4853
5572
|
multiple?: boolean;
|
|
4854
|
-
/** Max file size in bytes. Also shown
|
|
5573
|
+
/** Max file size in bytes. Also shown in the hint. */
|
|
4855
5574
|
maxSize?: number;
|
|
4856
|
-
/** Max number of files. */
|
|
5575
|
+
/** Max number of files, counting the uploaded ones. */
|
|
4857
5576
|
maxFiles?: number;
|
|
5577
|
+
/** Opens the camera on phones: 'user' for the front one, 'environment' for the back one. */
|
|
5578
|
+
capture?: 'user' | 'environment';
|
|
4858
5579
|
/** Size of the component. */
|
|
4859
5580
|
size?: FileUploadSize;
|
|
4860
|
-
/** Disable
|
|
5581
|
+
/** Disable adding, retrying and removing. Files can still be opened. */
|
|
4861
5582
|
disabled?: boolean;
|
|
4862
5583
|
/** Visual variant. */
|
|
4863
5584
|
variant?: FileUploadVariant;
|
|
@@ -4865,9 +5586,39 @@ export declare interface FileUploadProps {
|
|
|
4865
5586
|
shadow?: FileUploadShadow;
|
|
4866
5587
|
/** Enable tactile press animation (scale on focus). Defaults to false. */
|
|
4867
5588
|
animated?: boolean;
|
|
4868
|
-
/**
|
|
5589
|
+
/** Main text of the drop area, or the label of the button in the button variant. */
|
|
5590
|
+
text?: string;
|
|
5591
|
+
/** Replaces the line with the accepted formats and the max size. */
|
|
5592
|
+
hint?: string;
|
|
5593
|
+
/** Upload state of each new file, for progress or an error with a retry button. */
|
|
4869
5594
|
fileStatus?: (file: File) => FileUploadStatus | undefined;
|
|
4870
|
-
/**
|
|
5595
|
+
/**
|
|
5596
|
+
* How images show in the list, for new files and uploaded ones: 'contain' (default) the whole
|
|
5597
|
+
* image, 'cover' filling the box and cropping what does not fit, 'none' always the icon.
|
|
5598
|
+
*/
|
|
5599
|
+
preview?: FileUploadPreview;
|
|
5600
|
+
/**
|
|
5601
|
+
* Runs on each picked file after the type check and before the size check, one file at a time.
|
|
5602
|
+
* The file enters v-model only once it is done.
|
|
5603
|
+
*/
|
|
5604
|
+
transform?: FileUploadTransform;
|
|
5605
|
+
/** Ask the user before adding a file that `transform` changed. */
|
|
5606
|
+
confirmTransform?: boolean;
|
|
5607
|
+
/**
|
|
5608
|
+
* Adds an Edit button to the images of the list, which opens the built-in editor. Uploaded images
|
|
5609
|
+
* get it too when they have a `url` and you listen to `editUploaded`.
|
|
5610
|
+
*/
|
|
5611
|
+
editable?: boolean;
|
|
5612
|
+
/** Settings of that editor: shape, ratios, output size and format. */
|
|
5613
|
+
editorOptions?: FileUploadEditorOptions;
|
|
5614
|
+
/**
|
|
5615
|
+
* Add files with ⌘V / Ctrl+V: 'self' (default) while the pointer is over the component or focus is
|
|
5616
|
+
* inside, 'page' wherever the paste happens, 'none' never.
|
|
5617
|
+
*/
|
|
5618
|
+
paste?: FileUploadPaste;
|
|
5619
|
+
/** Hide the illustration or icon of the control. */
|
|
5620
|
+
hideIcon?: boolean;
|
|
5621
|
+
/** Hide the list of files, for apps that show their own. */
|
|
4871
5622
|
hideFileList?: boolean;
|
|
4872
5623
|
/** Hide the line with the accepted formats and the max size. */
|
|
4873
5624
|
hideHint?: boolean;
|
|
@@ -4875,24 +5626,103 @@ export declare interface FileUploadProps {
|
|
|
4875
5626
|
class?: string;
|
|
4876
5627
|
}
|
|
4877
5628
|
|
|
4878
|
-
|
|
5629
|
+
/** What your upload function gets along with the file. */
|
|
5630
|
+
export declare interface FileUploadRequest {
|
|
5631
|
+
/** Report how much has been sent, from 0 to 100. */
|
|
5632
|
+
onProgress: (percent: number) => void;
|
|
5633
|
+
/** Aborted when the file leaves the list or the component unmounts. Pass it to fetch or axios. */
|
|
5634
|
+
signal: AbortSignal;
|
|
5635
|
+
}
|
|
5636
|
+
|
|
5637
|
+
export declare type FileUploadShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
4879
5638
|
|
|
4880
5639
|
export declare type FileUploadSize = 'sm' | 'md' | 'lg';
|
|
4881
5640
|
|
|
4882
|
-
|
|
5641
|
+
export declare interface FileUploadSlots {
|
|
5642
|
+
/** Replaces the illustration (area) or the icon (inline and button). */
|
|
5643
|
+
icon?: (props: {
|
|
5644
|
+
active: boolean;
|
|
5645
|
+
disabled: boolean;
|
|
5646
|
+
}) => unknown;
|
|
5647
|
+
/** Main text of the control. */
|
|
5648
|
+
text?: (props: {
|
|
5649
|
+
active: boolean;
|
|
5650
|
+
}) => unknown;
|
|
5651
|
+
/** The line with the accepted formats and the max size. */
|
|
5652
|
+
hint?: () => unknown;
|
|
5653
|
+
/** The icon or thumbnail of a row. */
|
|
5654
|
+
'file-icon'?: (props: {
|
|
5655
|
+
file: File | FileUploadUploadedFile;
|
|
5656
|
+
kind: FileUploadFileKind;
|
|
5657
|
+
previewUrl: string | undefined;
|
|
5658
|
+
}) => unknown;
|
|
5659
|
+
/** Replaces the buttons that approve a transformed file. */
|
|
5660
|
+
review?: (props: {
|
|
5661
|
+
original: File;
|
|
5662
|
+
result: File;
|
|
5663
|
+
/** False when the original breaks `maxSize`. */
|
|
5664
|
+
canKeepOriginal: boolean;
|
|
5665
|
+
accept: () => void;
|
|
5666
|
+
keepOriginal: () => void;
|
|
5667
|
+
discard: () => void;
|
|
5668
|
+
/** Opens the comparison of both images; undefined for other files. */
|
|
5669
|
+
compare: (() => void) | undefined;
|
|
5670
|
+
}) => unknown;
|
|
5671
|
+
/** Extra actions of a row, before retry and remove. */
|
|
5672
|
+
'file-actions'?: (props: {
|
|
5673
|
+
file: File | FileUploadUploadedFile;
|
|
5674
|
+
state: FileUploadState;
|
|
5675
|
+
}) => unknown;
|
|
5676
|
+
}
|
|
5677
|
+
|
|
5678
|
+
export declare type FileUploadState = 'idle' | 'uploading' | 'done' | 'error';
|
|
5679
|
+
|
|
5680
|
+
/** What the app reports for a file it is sending. */
|
|
4883
5681
|
export declare interface FileUploadStatus {
|
|
5682
|
+
/**
|
|
5683
|
+
* Without it the state follows the rest: `error` means failed, a `progress` under 100 means
|
|
5684
|
+
* uploading and 100 means done. `{ state: 'uploading' }` alone shows a bar with no percentage.
|
|
5685
|
+
*/
|
|
5686
|
+
state?: FileUploadState;
|
|
5687
|
+
/** From 0 to 100. */
|
|
4884
5688
|
progress?: number;
|
|
5689
|
+
/** Why the upload failed. */
|
|
4885
5690
|
error?: string;
|
|
4886
5691
|
}
|
|
4887
5692
|
|
|
4888
5693
|
export declare const fileUploadTextTheme: (props?: ({
|
|
4889
5694
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5695
|
+
disabled?: boolean | null | undefined;
|
|
4890
5696
|
} & ClassProp) | undefined) => string;
|
|
4891
5697
|
|
|
4892
|
-
|
|
5698
|
+
/**
|
|
5699
|
+
* Processes a picked file before it is added: compress, crop, convert. Resolve with the file to add,
|
|
5700
|
+
* or with null to drop it. Abort whatever you opened when the signal does.
|
|
5701
|
+
*/
|
|
5702
|
+
export declare type FileUploadTransform = (file: File, context: {
|
|
5703
|
+
signal: AbortSignal;
|
|
5704
|
+
}) => File | null | Promise<File | null>;
|
|
5705
|
+
|
|
5706
|
+
/** A file that is already on the server, such as the attachments of a record being edited. */
|
|
5707
|
+
export declare interface FileUploadUploadedFile {
|
|
5708
|
+
id?: string | number;
|
|
5709
|
+
name: string;
|
|
5710
|
+
/** In bytes. */
|
|
5711
|
+
size?: number;
|
|
5712
|
+
/** MIME type. The extension of the name is enough to pick the icon. */
|
|
5713
|
+
type?: string;
|
|
5714
|
+
/** Turns the name into a link that opens in a new tab. */
|
|
5715
|
+
url?: string;
|
|
5716
|
+
/** Image shown in place of the icon. */
|
|
5717
|
+
previewUrl?: string;
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5720
|
+
export declare type FileUploadVariant = 'area' | 'inline' | 'button';
|
|
4893
5721
|
|
|
4894
5722
|
declare function fire(): void;
|
|
4895
5723
|
|
|
5724
|
+
declare function flip(axis: 'horizontal' | 'vertical'): void;
|
|
5725
|
+
|
|
4896
5726
|
declare function focusKey(key: string): void;
|
|
4897
5727
|
|
|
4898
5728
|
export declare function formatDateValue(value: DateFieldValue, pattern: string): string;
|
|
@@ -5036,6 +5866,12 @@ export declare function getFirstDayOfWeekForLocale(locale: string): WeekDay;
|
|
|
5036
5866
|
*/
|
|
5037
5867
|
export declare function getHour12ForLocale(locale: string): boolean;
|
|
5038
5868
|
|
|
5869
|
+
declare function goTo(step: number): void;
|
|
5870
|
+
|
|
5871
|
+
declare function goTo_2(key: string | null): void;
|
|
5872
|
+
|
|
5873
|
+
declare function goTo_3(index: number): void;
|
|
5874
|
+
|
|
5039
5875
|
export declare type GradientTextPreset = 'aurora' | 'sunset' | 'ocean' | 'candy' | 'neon';
|
|
5040
5876
|
|
|
5041
5877
|
export declare interface GradientTextProps {
|
|
@@ -5195,6 +6031,73 @@ export declare const imageCompareTheme: (props?: ({
|
|
|
5195
6031
|
shadow?: "none" | "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
5196
6032
|
} & ClassProp) | undefined) => string;
|
|
5197
6033
|
|
|
6034
|
+
export declare interface ImageEditorDialogEmits {
|
|
6035
|
+
'update:open': [open: boolean];
|
|
6036
|
+
/** Saved while opened with `open`. With `edit()` the file is what the promise resolves with. */
|
|
6037
|
+
'save': [file: File];
|
|
6038
|
+
'cancel': [];
|
|
6039
|
+
}
|
|
6040
|
+
|
|
6041
|
+
export declare interface ImageEditorDialogProps extends ImageEditorProps {
|
|
6042
|
+
/** Open state (v-model:open). Not needed when you use `edit()`. */
|
|
6043
|
+
open?: boolean;
|
|
6044
|
+
/** Heading of the dialog. */
|
|
6045
|
+
title?: string;
|
|
6046
|
+
}
|
|
6047
|
+
|
|
6048
|
+
export declare interface ImageEditorEditOptions {
|
|
6049
|
+
/** Cancels the edit: the promise resolves with null. */
|
|
6050
|
+
signal?: AbortSignal;
|
|
6051
|
+
/** The picture before earlier changes: the dialog offers to start from it again. */
|
|
6052
|
+
original?: File;
|
|
6053
|
+
/**
|
|
6054
|
+
* Saving without touching anything resolves with the very file that came in. Without it the output
|
|
6055
|
+
* settings and the shape still apply, as a first edit needs.
|
|
6056
|
+
*/
|
|
6057
|
+
keepUntouched?: boolean;
|
|
6058
|
+
}
|
|
6059
|
+
|
|
6060
|
+
export declare interface ImageEditorEmits {
|
|
6061
|
+
/** The picture is open and can be edited. */
|
|
6062
|
+
'ready': [];
|
|
6063
|
+
/** The picture could not be opened or written. */
|
|
6064
|
+
'error': [error: unknown];
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
/** What the editor writes out. Every setting is optional. */
|
|
6068
|
+
export declare type ImageEditorOutput = Pick<ImageEditorProps, 'maxSize' | 'maxDimension' | 'type' | 'quality'>;
|
|
6069
|
+
|
|
6070
|
+
export declare interface ImageEditorProps {
|
|
6071
|
+
/** The picture: a file, a blob or a URL. Another origin needs CORS. */
|
|
6072
|
+
src?: File | Blob | string;
|
|
6073
|
+
/** Fixes the shape of the crop (width / height) and hides the choice. */
|
|
6074
|
+
aspectRatio?: number;
|
|
6075
|
+
/** Shapes to choose from when it is not fixed. */
|
|
6076
|
+
aspectRatios?: ImageEditorRatio[];
|
|
6077
|
+
/** 'circle' draws a round, square crop, for avatars. The file written is square. */
|
|
6078
|
+
shape?: ImageEditorShape;
|
|
6079
|
+
/** Weight to reach, in bytes. */
|
|
6080
|
+
maxSize?: number;
|
|
6081
|
+
/** Longest side of the result, in pixels. */
|
|
6082
|
+
maxDimension?: number;
|
|
6083
|
+
/** Output format. Without it the format of the picture is kept when possible. */
|
|
6084
|
+
type?: CompressImageType;
|
|
6085
|
+
/** Quality, from 0 to 1. Defaults to 0.9. */
|
|
6086
|
+
quality?: number;
|
|
6087
|
+
/** Hide the size, format and quality settings. */
|
|
6088
|
+
hideOutputSettings?: boolean;
|
|
6089
|
+
/** Additional CSS classes. */
|
|
6090
|
+
class?: string;
|
|
6091
|
+
}
|
|
6092
|
+
|
|
6093
|
+
export declare interface ImageEditorRatio {
|
|
6094
|
+
label: string;
|
|
6095
|
+
/** Width divided by height; without it the crop is free. */
|
|
6096
|
+
value?: number;
|
|
6097
|
+
}
|
|
6098
|
+
|
|
6099
|
+
export declare type ImageEditorShape = 'rect' | 'circle';
|
|
6100
|
+
|
|
5198
6101
|
export declare interface InfiniteScrollEmits {
|
|
5199
6102
|
'load-more': [];
|
|
5200
6103
|
}
|
|
@@ -5348,6 +6251,8 @@ export declare interface InputProps {
|
|
|
5348
6251
|
required?: boolean;
|
|
5349
6252
|
/** Show a clear button when there is a value. */
|
|
5350
6253
|
clearable?: boolean;
|
|
6254
|
+
/** With `type="password"`, a button that shows what was typed and hides it again. */
|
|
6255
|
+
revealable?: boolean;
|
|
5351
6256
|
/** Show a loading spinner in the end slot. */
|
|
5352
6257
|
loading?: boolean;
|
|
5353
6258
|
/** Renders the wrapper as a different element or component. */
|
|
@@ -5360,6 +6265,9 @@ declare type InputShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
|
5360
6265
|
|
|
5361
6266
|
export declare function install(app: App, options?: OusiUIPluginOptions): void;
|
|
5362
6267
|
|
|
6268
|
+
/** Animated PNG and WebP files would come out of a canvas as a still picture. */
|
|
6269
|
+
export declare function isAnimatedImage(file: File): Promise<boolean>;
|
|
6270
|
+
|
|
5363
6271
|
export declare const kbdAbbrTheme = "flex items-center justify-center no-underline";
|
|
5364
6272
|
|
|
5365
6273
|
export declare const kbdContentTheme = "flex items-center justify-center";
|
|
@@ -5394,6 +6302,91 @@ export declare const labelTheme: (props?: ({
|
|
|
5394
6302
|
invalid?: boolean | null | undefined;
|
|
5395
6303
|
} & ClassProp) | undefined) => string;
|
|
5396
6304
|
|
|
6305
|
+
export declare const lightboxBackdropTheme = "absolute inset-0 bg-[var(--lightbox-backdrop,rgb(8_8_10_/_0.95))]";
|
|
6306
|
+
|
|
6307
|
+
export declare const lightboxButtonTheme: string;
|
|
6308
|
+
|
|
6309
|
+
export declare interface LightboxEmits {
|
|
6310
|
+
'update:modelValue': [open: boolean];
|
|
6311
|
+
'update:index': [index: number];
|
|
6312
|
+
'close': [];
|
|
6313
|
+
/** A picture did not load. */
|
|
6314
|
+
'error': [image: LightboxImage, index: number];
|
|
6315
|
+
}
|
|
6316
|
+
|
|
6317
|
+
export declare interface LightboxImage {
|
|
6318
|
+
/** Unique key. Falls back to the address. */
|
|
6319
|
+
id?: string | number;
|
|
6320
|
+
src: string;
|
|
6321
|
+
/** What the picture shows, for screen readers. */
|
|
6322
|
+
alt?: string;
|
|
6323
|
+
/** Shown under it. */
|
|
6324
|
+
caption?: string;
|
|
6325
|
+
/** A small version for the strip of thumbnails. Falls back to `src`. */
|
|
6326
|
+
thumbnail?: string;
|
|
6327
|
+
/** File name for the download button. */
|
|
6328
|
+
downloadName?: string;
|
|
6329
|
+
}
|
|
6330
|
+
|
|
6331
|
+
export declare interface LightboxProps {
|
|
6332
|
+
/** The pictures, or just their addresses. */
|
|
6333
|
+
images: (LightboxImage | string)[];
|
|
6334
|
+
/** Whether it is open (v-model). Optional: the `trigger` slot and `open()` work without it. */
|
|
6335
|
+
modelValue?: boolean;
|
|
6336
|
+
/** The picture on show, from 0 (v-model:index). */
|
|
6337
|
+
index?: number;
|
|
6338
|
+
/** From the last picture on to the first, and back. */
|
|
6339
|
+
loop?: boolean;
|
|
6340
|
+
/** A strip to jump between pictures, when there is more than one. */
|
|
6341
|
+
thumbnails?: boolean;
|
|
6342
|
+
/** "2 of 5". */
|
|
6343
|
+
showCounter?: boolean;
|
|
6344
|
+
zoomable?: boolean;
|
|
6345
|
+
/** The most a picture can be enlarged. */
|
|
6346
|
+
maxZoom?: number;
|
|
6347
|
+
/** A button that downloads the picture. From another site the browser opens it instead. */
|
|
6348
|
+
downloadable?: boolean;
|
|
6349
|
+
/** A tap or click beside the picture closes it. */
|
|
6350
|
+
closeOnBackdrop?: boolean;
|
|
6351
|
+
/** Dragging a picture downwards closes it. */
|
|
6352
|
+
swipeToClose?: boolean;
|
|
6353
|
+
/** Accessible name of the viewer. */
|
|
6354
|
+
label?: string;
|
|
6355
|
+
animated?: boolean;
|
|
6356
|
+
/** Additional CSS classes on the viewer. Its background follows `--lightbox-backdrop`. */
|
|
6357
|
+
class?: string;
|
|
6358
|
+
}
|
|
6359
|
+
|
|
6360
|
+
export declare interface LightboxSlotContext {
|
|
6361
|
+
image: LightboxImage;
|
|
6362
|
+
index: number;
|
|
6363
|
+
total: number;
|
|
6364
|
+
/** 1 at its normal size. */
|
|
6365
|
+
zoom: number;
|
|
6366
|
+
close: () => void;
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
export declare interface LightboxSlots {
|
|
6370
|
+
/** Drawn where the component is placed: what opens the viewer. */
|
|
6371
|
+
trigger?: (props: {
|
|
6372
|
+
open: (index?: number) => void;
|
|
6373
|
+
}) => unknown;
|
|
6374
|
+
/** Under the picture. Replaces its caption. */
|
|
6375
|
+
caption?: (props: LightboxSlotContext) => unknown;
|
|
6376
|
+
/** More buttons in the bar, such as share or delete. */
|
|
6377
|
+
actions?: (props: LightboxSlotContext) => unknown;
|
|
6378
|
+
/** In place of a picture that did not load. */
|
|
6379
|
+
error?: (props: LightboxSlotContext) => unknown;
|
|
6380
|
+
'close-icon'?: (props: LightboxSlotContext) => unknown;
|
|
6381
|
+
'previous-icon'?: (props: LightboxSlotContext) => unknown;
|
|
6382
|
+
'next-icon'?: (props: LightboxSlotContext) => unknown;
|
|
6383
|
+
'zoom-in-icon'?: (props: LightboxSlotContext) => unknown;
|
|
6384
|
+
'zoom-out-icon'?: (props: LightboxSlotContext) => unknown;
|
|
6385
|
+
'download-icon'?: (props: LightboxSlotContext) => unknown;
|
|
6386
|
+
}
|
|
6387
|
+
|
|
6388
|
+
export declare const lightboxThumbnailTheme: string;
|
|
6389
|
+
|
|
5397
6390
|
export declare const listboxTheme = "p-1.5 outline-none";
|
|
5398
6391
|
|
|
5399
6392
|
export declare interface MagneticButtonEmits {
|
|
@@ -5452,8 +6445,17 @@ export declare const meterLabelTheme = "w-fit text-sm font-medium text-ousi-fore
|
|
|
5452
6445
|
export declare const meterOutputTheme = "text-sm font-medium tabular-nums text-ousi-foreground [grid-area:output]";
|
|
5453
6446
|
|
|
5454
6447
|
export declare interface MeterProps {
|
|
5455
|
-
/** Current value
|
|
5456
|
-
value
|
|
6448
|
+
/** Current value. Required unless `segments` is given. */
|
|
6449
|
+
value?: number;
|
|
6450
|
+
/** Several amounts on one bar, in order: what takes up a quota, say. They replace `value` and
|
|
6451
|
+
* `color`. If they add up to more than the range, the bar is shared among them. */
|
|
6452
|
+
segments?: MeterSegment[];
|
|
6453
|
+
/** Space between segments, in px, curved around the round end of the next one. 0 joins them. */
|
|
6454
|
+
gap?: number;
|
|
6455
|
+
/** Segments touch, with no space between them. */
|
|
6456
|
+
joined?: boolean;
|
|
6457
|
+
/** With `segments`: list under the bar what each one is and how much. */
|
|
6458
|
+
showLegend?: boolean;
|
|
5457
6459
|
/** Minimum value. Default: 0. */
|
|
5458
6460
|
minValue?: number;
|
|
5459
6461
|
/** Maximum value. Default: 100. */
|
|
@@ -5482,6 +6484,16 @@ export declare interface MeterProps {
|
|
|
5482
6484
|
class?: string;
|
|
5483
6485
|
}
|
|
5484
6486
|
|
|
6487
|
+
export declare interface MeterSegment {
|
|
6488
|
+
/** Unique key. Falls back to the label. */
|
|
6489
|
+
id?: string;
|
|
6490
|
+
label: string;
|
|
6491
|
+
/** An amount, on the same scale as `maxValue`. */
|
|
6492
|
+
value: number;
|
|
6493
|
+
/** Token name or any CSS color. Defaults to the chart palette. */
|
|
6494
|
+
color?: string;
|
|
6495
|
+
}
|
|
6496
|
+
|
|
5485
6497
|
export declare type MeterSize = 'sm' | 'md' | 'lg';
|
|
5486
6498
|
|
|
5487
6499
|
export declare const meterTheme: (props?: ({
|
|
@@ -5494,6 +6506,8 @@ export declare const meterTrackTheme: (props?: ({
|
|
|
5494
6506
|
|
|
5495
6507
|
declare function next(): void;
|
|
5496
6508
|
|
|
6509
|
+
declare function next_2(): void;
|
|
6510
|
+
|
|
5497
6511
|
export declare const numberFieldDecrementTheme: string;
|
|
5498
6512
|
|
|
5499
6513
|
export declare const numberFieldDescriptionTheme = "text-xs text-ousi-muted";
|
|
@@ -5641,6 +6655,8 @@ export declare const OButtonGroupSeparator: DefineComponent< {}, {}, {}, {},
|
|
|
5641
6655
|
|
|
5642
6656
|
export declare const OCalendar: __VLS_WithTemplateSlots_41<typeof __VLS_component_41, __VLS_TemplateResult_41["slots"]>;
|
|
5643
6657
|
|
|
6658
|
+
export declare const OCandlestickChart: __VLS_WithTemplateSlots_83<typeof __VLS_component_83, __VLS_TemplateResult_83["slots"]>;
|
|
6659
|
+
|
|
5644
6660
|
export declare const OCard: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
5645
6661
|
|
|
5646
6662
|
export declare const OCardContent: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
@@ -5669,14 +6685,15 @@ y: number;
|
|
|
5669
6685
|
"onWindow-change"?: ((secs: number) => any) | undefined;
|
|
5670
6686
|
}>, {
|
|
5671
6687
|
fill: boolean;
|
|
6688
|
+
mode: "line" | "candle";
|
|
5672
6689
|
color: string;
|
|
5673
6690
|
padding: ChartPadding;
|
|
5674
|
-
mode: "line" | "candle";
|
|
5675
6691
|
cursor: string;
|
|
5676
6692
|
grid: boolean;
|
|
5677
6693
|
pulse: boolean;
|
|
5678
6694
|
formatValue: (v: number) => string;
|
|
5679
6695
|
series: ChartSeries[];
|
|
6696
|
+
showValue: boolean;
|
|
5680
6697
|
theme: "light" | "dark";
|
|
5681
6698
|
badge: boolean;
|
|
5682
6699
|
badgeVariant: "default" | "minimal";
|
|
@@ -5684,7 +6701,6 @@ badgeTail: boolean;
|
|
|
5684
6701
|
momentum: boolean | ChartMomentum;
|
|
5685
6702
|
scrub: boolean;
|
|
5686
6703
|
exaggerate: boolean;
|
|
5687
|
-
showValue: boolean;
|
|
5688
6704
|
valueMomentumColor: boolean;
|
|
5689
6705
|
degen: boolean | ChartDegenOptions;
|
|
5690
6706
|
window: number;
|
|
@@ -5765,6 +6781,7 @@ readonly disabled?: boolean | undefined;
|
|
|
5765
6781
|
readonly readonly?: boolean | undefined;
|
|
5766
6782
|
readonly required?: boolean | undefined;
|
|
5767
6783
|
readonly clearable?: boolean | undefined;
|
|
6784
|
+
readonly revealable?: boolean | undefined;
|
|
5768
6785
|
readonly loading?: boolean | undefined;
|
|
5769
6786
|
readonly as?: (string | Component) | undefined;
|
|
5770
6787
|
readonly class?: string | undefined;
|
|
@@ -5814,6 +6831,7 @@ animated: boolean;
|
|
|
5814
6831
|
required: boolean;
|
|
5815
6832
|
readonly: boolean;
|
|
5816
6833
|
clearable: boolean;
|
|
6834
|
+
revealable: boolean;
|
|
5817
6835
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
5818
6836
|
beforeCreate?: (() => void) | (() => void)[];
|
|
5819
6837
|
created?: (() => void) | (() => void)[];
|
|
@@ -5845,13 +6863,14 @@ animated: boolean;
|
|
|
5845
6863
|
required: boolean;
|
|
5846
6864
|
readonly: boolean;
|
|
5847
6865
|
clearable: boolean;
|
|
6866
|
+
revealable: boolean;
|
|
5848
6867
|
}> & Omit<Readonly<InputProps> & Readonly<{
|
|
5849
6868
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
5850
6869
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
5851
6870
|
onChange?: ((value: string | number) => any) | undefined;
|
|
5852
6871
|
onClear?: (() => any) | undefined;
|
|
5853
6872
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
5854
|
-
}>, "focus" | "blur" | ("variant" | "size" | "shadow" | "disabled" | "loading" | "type" | "animated" | "required" | "readonly" | "clearable")> & ShallowUnwrapRef< {
|
|
6873
|
+
}>, "focus" | "blur" | ("variant" | "size" | "shadow" | "disabled" | "loading" | "type" | "animated" | "required" | "readonly" | "clearable" | "revealable")> & ShallowUnwrapRef< {
|
|
5855
6874
|
focus(options?: FocusOptions): void;
|
|
5856
6875
|
blur(): void;
|
|
5857
6876
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -5871,6 +6890,7 @@ onChange?: ((value: ColorPickerValue) => any) | undefined;
|
|
|
5871
6890
|
}>, {
|
|
5872
6891
|
disabled: boolean;
|
|
5873
6892
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
6893
|
+
showValue: boolean;
|
|
5874
6894
|
showAlpha: boolean;
|
|
5875
6895
|
showHexInput: boolean;
|
|
5876
6896
|
showSwatches: boolean;
|
|
@@ -6066,6 +7086,115 @@ showDivider: boolean;
|
|
|
6066
7086
|
containerRef: HTMLDivElement;
|
|
6067
7087
|
}, HTMLDivElement>;
|
|
6068
7088
|
|
|
7089
|
+
export declare const OImageEditor: DefineComponent<ImageEditorProps, {
|
|
7090
|
+
export: typeof exportFile;
|
|
7091
|
+
reset: typeof reset;
|
|
7092
|
+
rotate: typeof rotate;
|
|
7093
|
+
flip: typeof flip;
|
|
7094
|
+
/** True once the user has changed something. */
|
|
7095
|
+
dirty: Ref<boolean, boolean>;
|
|
7096
|
+
/** True once the picture is open. */
|
|
7097
|
+
ready: ComputedRef<boolean>;
|
|
7098
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7099
|
+
error: (error: unknown) => any;
|
|
7100
|
+
ready: () => any;
|
|
7101
|
+
}, string, PublicProps, Readonly<ImageEditorProps> & Readonly<{
|
|
7102
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
7103
|
+
onReady?: (() => any) | undefined;
|
|
7104
|
+
}>, {
|
|
7105
|
+
type: CompressImageType;
|
|
7106
|
+
shape: ImageEditorShape;
|
|
7107
|
+
src: File | Blob | string;
|
|
7108
|
+
aspectRatio: number;
|
|
7109
|
+
quality: number;
|
|
7110
|
+
maxSize: number;
|
|
7111
|
+
maxDimension: number;
|
|
7112
|
+
aspectRatios: ImageEditorRatio[];
|
|
7113
|
+
hideOutputSettings: boolean;
|
|
7114
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
7115
|
+
stage: HTMLDivElement;
|
|
7116
|
+
frame: HTMLDivElement;
|
|
7117
|
+
}, HTMLDivElement>;
|
|
7118
|
+
|
|
7119
|
+
export declare const OImageEditorDialog: DefineComponent<ImageEditorDialogProps, {
|
|
7120
|
+
edit: typeof edit;
|
|
7121
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7122
|
+
cancel: () => any;
|
|
7123
|
+
save: (file: File) => any;
|
|
7124
|
+
"update:open": (open: boolean) => any;
|
|
7125
|
+
}, string, PublicProps, Readonly<ImageEditorDialogProps> & Readonly<{
|
|
7126
|
+
onCancel?: (() => any) | undefined;
|
|
7127
|
+
onSave?: ((file: File) => any) | undefined;
|
|
7128
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
7129
|
+
}>, {
|
|
7130
|
+
title: string;
|
|
7131
|
+
type: CompressImageType;
|
|
7132
|
+
shape: ImageEditorShape;
|
|
7133
|
+
src: File | Blob | string;
|
|
7134
|
+
aspectRatio: number;
|
|
7135
|
+
quality: number;
|
|
7136
|
+
open: boolean;
|
|
7137
|
+
maxSize: number;
|
|
7138
|
+
maxDimension: number;
|
|
7139
|
+
aspectRatios: ImageEditorRatio[];
|
|
7140
|
+
hideOutputSettings: boolean;
|
|
7141
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
7142
|
+
editor: CreateComponentPublicInstanceWithMixins<Readonly<ImageEditorProps> & Readonly<{
|
|
7143
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
7144
|
+
onReady?: (() => any) | undefined;
|
|
7145
|
+
}>, {
|
|
7146
|
+
export: () => Promise<File>;
|
|
7147
|
+
reset: () => void;
|
|
7148
|
+
rotate: (clockwise?: boolean) => void;
|
|
7149
|
+
flip: (axis: "horizontal" | "vertical") => void;
|
|
7150
|
+
dirty: Ref<boolean, boolean>;
|
|
7151
|
+
ready: ComputedRef<boolean>;
|
|
7152
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7153
|
+
error: (error: unknown) => any;
|
|
7154
|
+
ready: () => any;
|
|
7155
|
+
}, PublicProps, {
|
|
7156
|
+
type: CompressImageType;
|
|
7157
|
+
shape: ImageEditorShape;
|
|
7158
|
+
src: File | Blob | string;
|
|
7159
|
+
aspectRatio: number;
|
|
7160
|
+
quality: number;
|
|
7161
|
+
maxSize: number;
|
|
7162
|
+
maxDimension: number;
|
|
7163
|
+
aspectRatios: ImageEditorRatio[];
|
|
7164
|
+
hideOutputSettings: boolean;
|
|
7165
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
7166
|
+
stage: HTMLDivElement;
|
|
7167
|
+
frame: HTMLDivElement;
|
|
7168
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
7169
|
+
P: {};
|
|
7170
|
+
B: {};
|
|
7171
|
+
D: {};
|
|
7172
|
+
C: {};
|
|
7173
|
+
M: {};
|
|
7174
|
+
Defaults: {};
|
|
7175
|
+
}, Readonly<ImageEditorProps> & Readonly<{
|
|
7176
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
7177
|
+
onReady?: (() => any) | undefined;
|
|
7178
|
+
}>, {
|
|
7179
|
+
export: () => Promise<File>;
|
|
7180
|
+
reset: () => void;
|
|
7181
|
+
rotate: (clockwise?: boolean) => void;
|
|
7182
|
+
flip: (axis: "horizontal" | "vertical") => void;
|
|
7183
|
+
dirty: Ref<boolean, boolean>;
|
|
7184
|
+
ready: ComputedRef<boolean>;
|
|
7185
|
+
}, {}, {}, {}, {
|
|
7186
|
+
type: CompressImageType;
|
|
7187
|
+
shape: ImageEditorShape;
|
|
7188
|
+
src: File | Blob | string;
|
|
7189
|
+
aspectRatio: number;
|
|
7190
|
+
quality: number;
|
|
7191
|
+
maxSize: number;
|
|
7192
|
+
maxDimension: number;
|
|
7193
|
+
aspectRatios: ImageEditorRatio[];
|
|
7194
|
+
hideOutputSettings: boolean;
|
|
7195
|
+
}> | null;
|
|
7196
|
+
}, any>;
|
|
7197
|
+
|
|
6069
7198
|
export declare const OInfiniteScroll: __VLS_WithTemplateSlots_79<typeof __VLS_component_79, __VLS_TemplateResult_79["slots"]>;
|
|
6070
7199
|
|
|
6071
7200
|
export declare const OInput: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
@@ -6106,6 +7235,8 @@ containerRef: HTMLDivElement;
|
|
|
6106
7235
|
|
|
6107
7236
|
export declare const OKbd: __VLS_WithTemplateSlots_56<typeof __VLS_component_56, __VLS_TemplateResult_56["slots"]>;
|
|
6108
7237
|
|
|
7238
|
+
export declare const OLightbox: __VLS_WithTemplateSlots_85<typeof __VLS_component_85, __VLS_TemplateResult_85["slots"]>;
|
|
7239
|
+
|
|
6109
7240
|
export declare const OMagneticButton: __VLS_WithTemplateSlots_65<typeof __VLS_component_65, __VLS_TemplateResult_65["slots"]>;
|
|
6110
7241
|
|
|
6111
7242
|
export declare const OMarquee: __VLS_WithTemplateSlots_71<typeof __VLS_component_71, __VLS_TemplateResult_71["slots"]>;
|
|
@@ -6114,9 +7245,12 @@ export declare const OMeter: DefineComponent<MeterProps, {}, {}, {}, {}, Compone
|
|
|
6114
7245
|
size: MeterSize;
|
|
6115
7246
|
disabled: boolean;
|
|
6116
7247
|
color: MeterColor;
|
|
7248
|
+
gap: number;
|
|
6117
7249
|
minValue: number;
|
|
6118
7250
|
maxValue: number;
|
|
6119
7251
|
showValueLabel: boolean;
|
|
7252
|
+
showLegend: boolean;
|
|
7253
|
+
joined: boolean;
|
|
6120
7254
|
autoColor: boolean;
|
|
6121
7255
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6122
7256
|
|
|
@@ -6128,6 +7262,8 @@ declare function open_2(): void;
|
|
|
6128
7262
|
|
|
6129
7263
|
declare function open_3(): void;
|
|
6130
7264
|
|
|
7265
|
+
declare function open_4(at?: number): void;
|
|
7266
|
+
|
|
6131
7267
|
export declare const OPopover: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
6132
7268
|
|
|
6133
7269
|
export declare const OProgressBar: DefineComponent<ProgressBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
@@ -6203,6 +7339,8 @@ export declare const OSeparator: __VLS_WithTemplateSlots_35<typeof __VLS_compone
|
|
|
6203
7339
|
|
|
6204
7340
|
export declare const OSkeleton: __VLS_WithTemplateSlots_36<typeof __VLS_component_36, __VLS_TemplateResult_36["slots"]>;
|
|
6205
7341
|
|
|
7342
|
+
export declare const OSlideButton: __VLS_WithTemplateSlots_80<typeof __VLS_component_80, __VLS_TemplateResult_80["slots"]>;
|
|
7343
|
+
|
|
6206
7344
|
export declare const OSlider: DefineComponent<SliderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6207
7345
|
change: (value: SliderValue) => any;
|
|
6208
7346
|
"update:modelValue": (value: SliderValue) => any;
|
|
@@ -6233,6 +7371,8 @@ export declare const OStatus: __VLS_WithTemplateSlots_5<typeof __VLS_component_5
|
|
|
6233
7371
|
|
|
6234
7372
|
export declare const OStepper: __VLS_WithTemplateSlots_74<typeof __VLS_component_74, __VLS_TemplateResult_74["slots"]>;
|
|
6235
7373
|
|
|
7374
|
+
export declare const OSunburst: __VLS_WithTemplateSlots_84<typeof __VLS_component_84, __VLS_TemplateResult_84["slots"]>;
|
|
7375
|
+
|
|
6236
7376
|
export declare const OSwitch: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
6237
7377
|
|
|
6238
7378
|
export declare const OTable: __VLS_WithTemplateSlots_59<typeof __VLS_component_59, __VLS_TemplateResult_59["slots"]>;
|
|
@@ -6327,6 +7467,8 @@ maxVisible: number;
|
|
|
6327
7467
|
|
|
6328
7468
|
export declare const OTooltip: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
6329
7469
|
|
|
7470
|
+
export declare const OTour: __VLS_WithTemplateSlots_81<typeof __VLS_component_81, __VLS_TemplateResult_81["slots"]>;
|
|
7471
|
+
|
|
6330
7472
|
export declare interface OtpGroup {
|
|
6331
7473
|
slots: number;
|
|
6332
7474
|
}
|
|
@@ -6421,6 +7563,15 @@ export declare interface OusiMessages {
|
|
|
6421
7563
|
options: string;
|
|
6422
7564
|
clear: string;
|
|
6423
7565
|
clearInput: string;
|
|
7566
|
+
showPassword: string;
|
|
7567
|
+
slideToConfirm: string;
|
|
7568
|
+
confirmed: string;
|
|
7569
|
+
tourNext: string;
|
|
7570
|
+
tourBack: string;
|
|
7571
|
+
tourDone: string;
|
|
7572
|
+
tourClose: string;
|
|
7573
|
+
/** `{step}` and `{total}` are replaced. */
|
|
7574
|
+
tourProgress: string;
|
|
6424
7575
|
cancel: string;
|
|
6425
7576
|
ok: string;
|
|
6426
7577
|
loading: string;
|
|
@@ -6454,6 +7605,8 @@ export declare interface OusiMessages {
|
|
|
6454
7605
|
monthPlaceholder: string;
|
|
6455
7606
|
dayPlaceholder: string;
|
|
6456
7607
|
dateRangePicker: string;
|
|
7608
|
+
rangeStartPart: string;
|
|
7609
|
+
rangeEndPart: string;
|
|
6457
7610
|
dateRangeCalendar: string;
|
|
6458
7611
|
timePicker: string;
|
|
6459
7612
|
timeField: string;
|
|
@@ -6492,14 +7645,76 @@ export declare interface OusiMessages {
|
|
|
6492
7645
|
images: string;
|
|
6493
7646
|
videos: string;
|
|
6494
7647
|
audio: string;
|
|
7648
|
+
browseFilesMultiple: string;
|
|
6495
7649
|
removeFile: string;
|
|
7650
|
+
cancelUpload: string;
|
|
6496
7651
|
retryUpload: string;
|
|
6497
7652
|
uploadFailed: string;
|
|
7653
|
+
uploading: string;
|
|
7654
|
+
fileUploaded: string;
|
|
6498
7655
|
fileTypeRejected: string;
|
|
6499
7656
|
fileTooLarge: string;
|
|
6500
7657
|
tooManyFiles: string;
|
|
7658
|
+
maxFilesHint: string;
|
|
7659
|
+
duplicateFile: string;
|
|
7660
|
+
processing: string;
|
|
7661
|
+
processingFailed: string;
|
|
7662
|
+
couldNotReduce: string;
|
|
7663
|
+
wasSize: string;
|
|
7664
|
+
awaitingApproval: string;
|
|
7665
|
+
useNewVersion: string;
|
|
7666
|
+
keepOriginal: string;
|
|
7667
|
+
originalTooLarge: string;
|
|
7668
|
+
compare: string;
|
|
7669
|
+
compareTitle: string;
|
|
7670
|
+
originalVersion: string;
|
|
7671
|
+
newVersion: string;
|
|
7672
|
+
actualSize: string;
|
|
7673
|
+
discardFile: string;
|
|
7674
|
+
pendingFiles: string;
|
|
7675
|
+
/** Image editor. `{size}` is replaced. */
|
|
7676
|
+
editImage: string;
|
|
7677
|
+
cropArea: string;
|
|
7678
|
+
cropHint: string;
|
|
7679
|
+
aspectRatio: string;
|
|
7680
|
+
freeRatio: string;
|
|
7681
|
+
rotateLeft: string;
|
|
7682
|
+
rotateRight: string;
|
|
7683
|
+
flipHorizontal: string;
|
|
7684
|
+
flipVertical: string;
|
|
7685
|
+
zoom: string;
|
|
7686
|
+
resetEdit: string;
|
|
7687
|
+
maxSide: string;
|
|
7688
|
+
fullSize: string;
|
|
7689
|
+
outputFormat: string;
|
|
7690
|
+
automaticFormat: string;
|
|
7691
|
+
quality: string;
|
|
7692
|
+
calculating: string;
|
|
7693
|
+
stillOverLimit: string;
|
|
7694
|
+
cannotOpenImage: string;
|
|
7695
|
+
save: string;
|
|
7696
|
+
startFromOriginal: string;
|
|
7697
|
+
editFile: string;
|
|
7698
|
+
editFailed: string;
|
|
6501
7699
|
noResults: string;
|
|
6502
7700
|
typeToSearch: string;
|
|
7701
|
+
/** `{value}` is replaced in these, `{values}` in `selectedValues`. */
|
|
7702
|
+
removeValue: string;
|
|
7703
|
+
addValue: string;
|
|
7704
|
+
valueAdded: string;
|
|
7705
|
+
valueRemoved: string;
|
|
7706
|
+
selectedValues: string;
|
|
7707
|
+
lightbox: string;
|
|
7708
|
+
lightboxClose: string;
|
|
7709
|
+
zoomIn: string;
|
|
7710
|
+
zoomOut: string;
|
|
7711
|
+
download: string;
|
|
7712
|
+
/** `{index}` and `{total}` are replaced. */
|
|
7713
|
+
imagePosition: string;
|
|
7714
|
+
imageFailed: string;
|
|
7715
|
+
chooseImage: string;
|
|
7716
|
+
/** `{index}` is replaced. */
|
|
7717
|
+
showImage: string;
|
|
6503
7718
|
moreTabs: string;
|
|
6504
7719
|
}
|
|
6505
7720
|
|
|
@@ -6537,6 +7752,8 @@ export declare interface OusiUIPluginOptions extends OusiConfigInit {
|
|
|
6537
7752
|
*/
|
|
6538
7753
|
export declare type OverlayBackdrop = 'opaque' | 'subtle' | 'blur' | 'glass' | 'transparent';
|
|
6539
7754
|
|
|
7755
|
+
export declare const OWaterfallChart: __VLS_WithTemplateSlots_82<typeof __VLS_component_82, __VLS_TemplateResult_82["slots"]>;
|
|
7756
|
+
|
|
6540
7757
|
export declare const paginationContentTheme = "flex items-center gap-1 self-start sm:self-center";
|
|
6541
7758
|
|
|
6542
7759
|
export declare const paginationEllipsisTheme: (props?: ({
|
|
@@ -6624,6 +7841,9 @@ export declare interface PopoverProps {
|
|
|
6624
7841
|
shadow?: PopoverShadow;
|
|
6625
7842
|
/** Additional CSS classes on the panel. */
|
|
6626
7843
|
class?: string;
|
|
7844
|
+
/** Classes on the element that wraps the trigger, an `inline-flex` box by default. Pass
|
|
7845
|
+
* `flex min-w-0 flex-1` to let a full-width trigger fill and shrink inside a flex row. */
|
|
7846
|
+
triggerClass?: string;
|
|
6627
7847
|
}
|
|
6628
7848
|
|
|
6629
7849
|
declare type PopoverShadow = 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -6632,6 +7852,8 @@ export declare const popoverTriggerTheme = "inline-flex";
|
|
|
6632
7852
|
|
|
6633
7853
|
declare function prev(): void;
|
|
6634
7854
|
|
|
7855
|
+
declare function prev_2(): void;
|
|
7856
|
+
|
|
6635
7857
|
export declare type ProgressBarColor = 'default' | 'accent' | 'success' | 'warning' | 'danger';
|
|
6636
7858
|
|
|
6637
7859
|
export declare const progressBarColors: Record<string, string>;
|
|
@@ -6887,6 +8109,10 @@ export declare const ratingTheme: (props?: ({
|
|
|
6887
8109
|
/** Clear cached children for a node and re-fetch. */
|
|
6888
8110
|
declare function reload(key: string): Promise<void>;
|
|
6889
8111
|
|
|
8112
|
+
declare function reset(): void;
|
|
8113
|
+
|
|
8114
|
+
declare function reset_2(): void;
|
|
8115
|
+
|
|
6890
8116
|
export declare type ResizableDirection = 'horizontal' | 'vertical';
|
|
6891
8117
|
|
|
6892
8118
|
export declare interface ResizableEmits {
|
|
@@ -6907,6 +8133,8 @@ export declare interface ResizableProps {
|
|
|
6907
8133
|
|
|
6908
8134
|
export declare const resizableTheme = "flex w-full h-full overflow-hidden";
|
|
6909
8135
|
|
|
8136
|
+
declare function rotate(clockwise?: boolean): void;
|
|
8137
|
+
|
|
6910
8138
|
/** Focus keys look like `node:2` or `link:5`. */
|
|
6911
8139
|
export declare type SankeyFocus = string;
|
|
6912
8140
|
|
|
@@ -7093,8 +8321,13 @@ export declare interface SegmentedGaugeProps {
|
|
|
7093
8321
|
strokeWidth?: number;
|
|
7094
8322
|
/** Total angle of the gauge in degrees. 360 draws a full ring. */
|
|
7095
8323
|
sweep?: number;
|
|
7096
|
-
/**
|
|
8324
|
+
/**
|
|
8325
|
+
* Space between segments, in degrees: a curve of even width around the round end of the next one.
|
|
8326
|
+
* 0 joins them.
|
|
8327
|
+
*/
|
|
7097
8328
|
gap?: number;
|
|
8329
|
+
/** Segments touch, with no space between them. */
|
|
8330
|
+
joined?: boolean;
|
|
7098
8331
|
interactive?: boolean;
|
|
7099
8332
|
/** Highlighted segment index. Supports v-model:focused. */
|
|
7100
8333
|
focused?: number | null;
|
|
@@ -7236,6 +8469,82 @@ export declare interface SkeletonProps {
|
|
|
7236
8469
|
|
|
7237
8470
|
declare type SkeletonShadow = 'none' | 'xs' | 'sm';
|
|
7238
8471
|
|
|
8472
|
+
export declare interface SlideButtonEmits {
|
|
8473
|
+
'update:modelValue': [value: boolean];
|
|
8474
|
+
'confirm': [];
|
|
8475
|
+
}
|
|
8476
|
+
|
|
8477
|
+
export declare const slideButtonFillTheme: (props?: ({
|
|
8478
|
+
variant?: "success" | "primary" | "danger" | null | undefined;
|
|
8479
|
+
} & ClassProp) | undefined) => string;
|
|
8480
|
+
|
|
8481
|
+
export declare interface SlideButtonProps {
|
|
8482
|
+
/** Whether it has been slid to the end (v-model). Set it to false to send the thumb back, as
|
|
8483
|
+
* when the action fails. Optional: it keeps its own state. */
|
|
8484
|
+
modelValue?: boolean;
|
|
8485
|
+
/** What sliding will do. Also its accessible name. Defaults to "Slide to confirm". */
|
|
8486
|
+
label?: string;
|
|
8487
|
+
/** Shown once confirmed. Defaults to "Confirmed". */
|
|
8488
|
+
confirmedLabel?: string;
|
|
8489
|
+
/** Shown while `loading`. Defaults to `label`. */
|
|
8490
|
+
loadingLabel?: string;
|
|
8491
|
+
/** Colour of the thumb and of the confirmed track. */
|
|
8492
|
+
variant?: SlideButtonVariant;
|
|
8493
|
+
size?: SlideButtonSize;
|
|
8494
|
+
/** How far along it must be let go to confirm, from 0.5 to 1. */
|
|
8495
|
+
threshold?: number;
|
|
8496
|
+
/** A spinner in the thumb while the confirmed action runs. */
|
|
8497
|
+
loading?: boolean;
|
|
8498
|
+
disabled?: boolean;
|
|
8499
|
+
fullWidth?: boolean;
|
|
8500
|
+
shadow?: SlideButtonShadow;
|
|
8501
|
+
/** Vibration on confirming. Off unless set. */
|
|
8502
|
+
haptic?: HapticInput;
|
|
8503
|
+
/** Additional CSS classes. Its shape follows `--slide-radius`, its height `--slide-h`. */
|
|
8504
|
+
class?: string;
|
|
8505
|
+
}
|
|
8506
|
+
|
|
8507
|
+
export declare type SlideButtonShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
8508
|
+
|
|
8509
|
+
export declare type SlideButtonSize = 'sm' | 'md' | 'lg';
|
|
8510
|
+
|
|
8511
|
+
export declare interface SlideButtonSlotContext {
|
|
8512
|
+
/** From 0, at the start, to 1, at the end. */
|
|
8513
|
+
progress: number;
|
|
8514
|
+
confirmed: boolean;
|
|
8515
|
+
loading: boolean;
|
|
8516
|
+
}
|
|
8517
|
+
|
|
8518
|
+
/** One slot for the icon and one for the text of each state: replacing one leaves the rest. */
|
|
8519
|
+
export declare interface SlideButtonSlots {
|
|
8520
|
+
/** Icon in the thumb before confirming. Replaces the arrow. */
|
|
8521
|
+
icon?: (props: SlideButtonSlotContext) => unknown;
|
|
8522
|
+
/** Icon while `loading`. Replaces the spinner. */
|
|
8523
|
+
'loading-icon'?: (props: SlideButtonSlotContext) => unknown;
|
|
8524
|
+
/** Icon once confirmed. Replaces the check. */
|
|
8525
|
+
'confirmed-icon'?: (props: SlideButtonSlotContext) => unknown;
|
|
8526
|
+
/** Text on the track before confirming. Replaces `label`. */
|
|
8527
|
+
label?: (props: SlideButtonSlotContext) => unknown;
|
|
8528
|
+
/** Text while `loading`. Without it: `loadingLabel`, or else what shows before confirming. */
|
|
8529
|
+
'loading-label'?: (props: SlideButtonSlotContext) => unknown;
|
|
8530
|
+
/** Text once confirmed. Without it: `confirmedLabel`. */
|
|
8531
|
+
'confirmed-label'?: (props: SlideButtonSlotContext) => unknown;
|
|
8532
|
+
}
|
|
8533
|
+
|
|
8534
|
+
export declare const slideButtonTheme: (props?: ({
|
|
8535
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8536
|
+
fullWidth?: boolean | null | undefined;
|
|
8537
|
+
disabled?: boolean | null | undefined;
|
|
8538
|
+
shadow?: "none" | "xs" | "sm" | "md" | null | undefined;
|
|
8539
|
+
} & ClassProp) | undefined) => string;
|
|
8540
|
+
|
|
8541
|
+
export declare const slideButtonThumbTheme: (props?: ({
|
|
8542
|
+
variant?: "success" | "primary" | "danger" | null | undefined;
|
|
8543
|
+
grab?: boolean | null | undefined;
|
|
8544
|
+
} & ClassProp) | undefined) => string;
|
|
8545
|
+
|
|
8546
|
+
export declare type SlideButtonVariant = 'primary' | 'success' | 'danger';
|
|
8547
|
+
|
|
7239
8548
|
export declare type SliderColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
|
|
7240
8549
|
|
|
7241
8550
|
export declare interface SliderEmits {
|
|
@@ -7418,6 +8727,65 @@ export declare const stepperTheme = "flex gap-2";
|
|
|
7418
8727
|
|
|
7419
8728
|
declare type StepState = 'completed' | 'active' | 'upcoming';
|
|
7420
8729
|
|
|
8730
|
+
/** A sector with its derived values. Passed to slots and events. */
|
|
8731
|
+
export declare interface SunburstItem {
|
|
8732
|
+
/** `2` for the third top-level node, `2.0` for its first child. */
|
|
8733
|
+
key: string;
|
|
8734
|
+
name: string;
|
|
8735
|
+
value: number;
|
|
8736
|
+
/** Share of what is in view (0-100, one decimal). */
|
|
8737
|
+
percent: number;
|
|
8738
|
+
/** 1 for the ring next to the centre. */
|
|
8739
|
+
depth: number;
|
|
8740
|
+
/** Name of the parent, if it has one. */
|
|
8741
|
+
parent: string | null;
|
|
8742
|
+
color: string;
|
|
8743
|
+
formatted: string;
|
|
8744
|
+
hasChildren: boolean;
|
|
8745
|
+
}
|
|
8746
|
+
|
|
8747
|
+
/** The same shape as a treemap's, so the same data draws either. */
|
|
8748
|
+
export declare type SunburstNode = TreemapNode;
|
|
8749
|
+
|
|
8750
|
+
export declare interface SunburstProps {
|
|
8751
|
+
data: SunburstNode[];
|
|
8752
|
+
/** Diameter in px. It shrinks to fit. */
|
|
8753
|
+
size?: number;
|
|
8754
|
+
/** How many rings to draw at once. */
|
|
8755
|
+
levels?: number;
|
|
8756
|
+
/** Size of the hole as a share of the radius, from 0.2 to 0.8. */
|
|
8757
|
+
innerRadius?: number;
|
|
8758
|
+
/** Space between sectors and between rings, in viewBox units (0-100 scale). */
|
|
8759
|
+
gap?: number;
|
|
8760
|
+
/** Roundness of the sectors' corners, in viewBox units. 0 makes them sharp. */
|
|
8761
|
+
cornerRadius?: number;
|
|
8762
|
+
/** Write names on the sectors with room for them. */
|
|
8763
|
+
showLabels?: boolean;
|
|
8764
|
+
/** Clicking a sector with children brings it to the centre; the centre goes back. */
|
|
8765
|
+
zoomable?: boolean;
|
|
8766
|
+
/** Key of the node at the centre, or null for the whole (v-model:zoom). Optional. */
|
|
8767
|
+
zoom?: string | null;
|
|
8768
|
+
/** Name of the whole, shown in the centre. */
|
|
8769
|
+
rootLabel?: string;
|
|
8770
|
+
formatValue?: (value: number) => string;
|
|
8771
|
+
interactive?: boolean;
|
|
8772
|
+
/** Highlighted sector. Optional: the chart tracks hover by itself; bind v-model:focused to read or drive it. */
|
|
8773
|
+
focused?: string | null;
|
|
8774
|
+
animated?: boolean;
|
|
8775
|
+
label?: string;
|
|
8776
|
+
class?: string;
|
|
8777
|
+
}
|
|
8778
|
+
|
|
8779
|
+
export declare interface SunburstSlots {
|
|
8780
|
+
/** The centre. */
|
|
8781
|
+
default?: (props: {
|
|
8782
|
+
total: number;
|
|
8783
|
+
formattedTotal: string;
|
|
8784
|
+
focusedItem: SunburstItem | null;
|
|
8785
|
+
current: SunburstItem | null;
|
|
8786
|
+
}) => unknown;
|
|
8787
|
+
}
|
|
8788
|
+
|
|
7421
8789
|
export declare const switchContentTheme = "flex flex-col gap-0";
|
|
7422
8790
|
|
|
7423
8791
|
export declare const switchDescriptionTheme = "text-sm text-ousi-muted select-none";
|
|
@@ -7641,6 +9009,11 @@ export declare const tableScrollContainerTheme: (props?: ({
|
|
|
7641
9009
|
stickyHeader?: boolean | null | undefined;
|
|
7642
9010
|
} & ClassProp) | undefined) => string;
|
|
7643
9011
|
|
|
9012
|
+
/** Shadow over the side of the scroll area that still hides columns. */
|
|
9013
|
+
export declare const tableScrollEdgeTheme: (props?: ({
|
|
9014
|
+
side?: "start" | "end" | null | undefined;
|
|
9015
|
+
} & ClassProp) | undefined) => string;
|
|
9016
|
+
|
|
7644
9017
|
export declare type TableShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
7645
9018
|
|
|
7646
9019
|
export declare type TableVariant = 'primary' | 'secondary';
|
|
@@ -7681,16 +9054,20 @@ export declare interface TabsProps {
|
|
|
7681
9054
|
/** Stretch horizontal tabs to share the full width. Defaults to `false`: each tab is as wide
|
|
7682
9055
|
* as its label, and a secondary list scrolls when the tabs overflow. */
|
|
7683
9056
|
fullWidth?: boolean;
|
|
7684
|
-
/** What horizontal tabs do when they don't fit: 'scroll' sideways (default)
|
|
7685
|
-
* ones that don't fit under a "More" menu.
|
|
9057
|
+
/** What horizontal tabs do when they don't fit: 'scroll' sideways (default), with an arrow on
|
|
9058
|
+
* each side that still has tabs, or collect the ones that don't fit under a "More" menu.
|
|
9059
|
+
* 'menu' has no effect with `fullWidth`. */
|
|
7686
9060
|
overflow?: 'scroll' | 'menu';
|
|
7687
9061
|
/** Fill the width of the parent without making the parent wider. Use it inside grid cells, cards
|
|
7688
9062
|
* in a flex row and other flex/grid children, where a long list of tabs would otherwise stretch
|
|
7689
9063
|
* its column. Needs a parent with a defined width. Defaults to `false`. */
|
|
7690
9064
|
contained?: boolean;
|
|
7691
9065
|
/** Fade the edge(s) of a horizontal list that still has tabs beyond it, like OScrollShadow.
|
|
7692
|
-
* Only applies while the tabs scroll. Defaults to `true`. */
|
|
9066
|
+
* Only applies while the tabs scroll and `scrollArrows` is off. Defaults to `true`. */
|
|
7693
9067
|
scrollFade?: boolean;
|
|
9068
|
+
/** Show an arrow on each edge of a scrolling horizontal list that still has tabs beyond it;
|
|
9069
|
+
* a click scrolls that way. Defaults to `true`. */
|
|
9070
|
+
scrollArrows?: boolean;
|
|
7694
9071
|
/** Hide the secondary variant's track border (the long underline / left rail).
|
|
7695
9072
|
* Has no effect on `primary`. The active-tab indicator is unaffected. Defaults to `false`. */
|
|
7696
9073
|
hideBorder?: boolean;
|
|
@@ -8215,6 +9592,75 @@ export declare const tooltipTheme: (props?: ({
|
|
|
8215
9592
|
|
|
8216
9593
|
export declare const tooltipTriggerTheme: string;
|
|
8217
9594
|
|
|
9595
|
+
export declare const tourCardTheme: (props?: ({
|
|
9596
|
+
shadow?: "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
9597
|
+
} & ClassProp) | undefined) => string;
|
|
9598
|
+
|
|
9599
|
+
export declare interface TourEmits {
|
|
9600
|
+
'update:modelValue': [open: boolean];
|
|
9601
|
+
'update:step': [step: number];
|
|
9602
|
+
/** The last step was completed. */
|
|
9603
|
+
'finish': [];
|
|
9604
|
+
/** Left before the end, at this step. */
|
|
9605
|
+
'skip': [step: number];
|
|
9606
|
+
}
|
|
9607
|
+
|
|
9608
|
+
export declare type TourPlacement = Placement;
|
|
9609
|
+
|
|
9610
|
+
export declare interface TourProps {
|
|
9611
|
+
steps: TourStep[];
|
|
9612
|
+
/** Whether the tour is running (v-model). */
|
|
9613
|
+
modelValue?: boolean;
|
|
9614
|
+
/** The current step, from 0 (v-model:step). Optional: uncontrolled, every run starts at the first. */
|
|
9615
|
+
step?: number;
|
|
9616
|
+
/** Space between the target and the edge of the highlight, in px. */
|
|
9617
|
+
padding?: number;
|
|
9618
|
+
/** Show where the tour is: a dot per step and "2 of 5". */
|
|
9619
|
+
showProgress?: boolean;
|
|
9620
|
+
/** Show the button that leaves the tour. */
|
|
9621
|
+
showCloseButton?: boolean;
|
|
9622
|
+
/** Leave the tour with Escape. */
|
|
9623
|
+
closeOnEscape?: boolean;
|
|
9624
|
+
shadow?: TourShadow;
|
|
9625
|
+
/** Additional CSS classes on the card. The highlight's corners follow `--tour-radius`. */
|
|
9626
|
+
class?: string;
|
|
9627
|
+
}
|
|
9628
|
+
|
|
9629
|
+
export declare type TourShadow = 'md' | 'lg' | 'xl' | '2xl';
|
|
9630
|
+
|
|
9631
|
+
export declare interface TourSlotContext {
|
|
9632
|
+
step: TourStep;
|
|
9633
|
+
index: number;
|
|
9634
|
+
total: number;
|
|
9635
|
+
next: () => void;
|
|
9636
|
+
prev: () => void;
|
|
9637
|
+
close: () => void;
|
|
9638
|
+
}
|
|
9639
|
+
|
|
9640
|
+
export declare interface TourSlots {
|
|
9641
|
+
/** More content under the description. */
|
|
9642
|
+
default?: (props: TourSlotContext) => unknown;
|
|
9643
|
+
/** Replaces the progress and the buttons. */
|
|
9644
|
+
footer?: (props: TourSlotContext) => unknown;
|
|
9645
|
+
}
|
|
9646
|
+
|
|
9647
|
+
/** The cut-out: its own shadow, as large as the screen, is the scrim around it. */
|
|
9648
|
+
export declare const tourSpotlightTheme = "pointer-events-none fixed [--tour-radius:var(--ousi-radius-xl)] rounded-(--tour-radius) shadow-[0_0_0_200vmax_var(--ousi-backdrop)] outline-solid outline-[length:var(--ousi-border-width)] outline-ousi-border";
|
|
9649
|
+
|
|
9650
|
+
export declare interface TourStep {
|
|
9651
|
+
/** Unique key. Falls back to the position. */
|
|
9652
|
+
id?: string;
|
|
9653
|
+
/** The part of the page this step is about: a CSS selector, an element or a function returning
|
|
9654
|
+
* one. Without it, or if it cannot be found, the step shows in the middle of the screen. */
|
|
9655
|
+
target?: string | Element | (() => Element | null | undefined);
|
|
9656
|
+
title: string;
|
|
9657
|
+
description?: string;
|
|
9658
|
+
/** Preferred side of the target. It flips when there is no room. */
|
|
9659
|
+
placement?: TourPlacement;
|
|
9660
|
+
/** Lets the highlighted part be used during this step, with pointer and keyboard. */
|
|
9661
|
+
interactive?: boolean;
|
|
9662
|
+
}
|
|
9663
|
+
|
|
8218
9664
|
/** A tile with its derived values. Passed to slots and events. */
|
|
8219
9665
|
export declare interface TreemapItem {
|
|
8220
9666
|
/** `2` for a top-level node, `2.1` for its second child. */
|
|
@@ -8376,6 +9822,44 @@ export declare interface TypewriterProps {
|
|
|
8376
9822
|
|
|
8377
9823
|
export declare const typewriterTheme = "inline";
|
|
8378
9824
|
|
|
9825
|
+
/**
|
|
9826
|
+
* The upload side of OFileUpload: queue, progress, errors, retry and cancel.
|
|
9827
|
+
*
|
|
9828
|
+
* const { files, statusOf, retry } = useFileUpload((file, { onProgress, signal }) => send(file))
|
|
9829
|
+
* <OFileUpload v-model="files" :file-status="statusOf" multiple @retry="retry" />
|
|
9830
|
+
*/
|
|
9831
|
+
export declare function useFileUpload<T = unknown>(upload: FileUploader<T>, options?: UseFileUploadOptions<T>): UseFileUploadReturn<T>;
|
|
9832
|
+
|
|
9833
|
+
export declare interface UseFileUploadOptions<T> {
|
|
9834
|
+
/** Files sent at the same time; the rest wait their turn. Defaults to 3. */
|
|
9835
|
+
concurrency?: number;
|
|
9836
|
+
onSuccess?: (file: File, result: T) => void;
|
|
9837
|
+
/** An upload failed. A cancelled one is not a failure. */
|
|
9838
|
+
onError?: (file: File, error: unknown) => void;
|
|
9839
|
+
/**
|
|
9840
|
+
* The message of a failed row. Without it, or when it returns nothing, the row shows the translated
|
|
9841
|
+
* "Upload failed", so that technical errors never reach the user by accident.
|
|
9842
|
+
*/
|
|
9843
|
+
errorMessage?: (error: unknown, file: File) => string | undefined;
|
|
9844
|
+
}
|
|
9845
|
+
|
|
9846
|
+
export declare interface UseFileUploadReturn<T> {
|
|
9847
|
+
/** Bind with v-model: a file that enters is uploaded, one that leaves is aborted. */
|
|
9848
|
+
files: Ref<File[]>;
|
|
9849
|
+
/** Bind to `file-status`. */
|
|
9850
|
+
statusOf: (file: File) => FileUploadStatus | undefined;
|
|
9851
|
+
/** What the upload function resolved with. */
|
|
9852
|
+
resultOf: (file: File) => T | undefined;
|
|
9853
|
+
/** True while any file is waiting or being sent: disable your submit button with it. */
|
|
9854
|
+
isUploading: ComputedRef<boolean>;
|
|
9855
|
+
/** Bind to `@retry`. */
|
|
9856
|
+
retry: (file: File) => void;
|
|
9857
|
+
/** Aborts a file and takes it off the list. */
|
|
9858
|
+
cancel: (file: File) => void;
|
|
9859
|
+
/** Aborts everything and empties the list. */
|
|
9860
|
+
clear: () => void;
|
|
9861
|
+
}
|
|
9862
|
+
|
|
8379
9863
|
export declare function useFormContext(): FormContext | undefined;
|
|
8380
9864
|
|
|
8381
9865
|
/**
|
|
@@ -8395,6 +9879,8 @@ export declare function useOusiMessages(): ComputedRef<OusiMessages>;
|
|
|
8395
9879
|
export declare function useScrollFade(el: Ref<HTMLElement | null>, opts: ScrollFadeOptions): {
|
|
8396
9880
|
maskStyle: ComputedRef<Record<string, string>>;
|
|
8397
9881
|
update: () => void;
|
|
9882
|
+
start: Ref<boolean, boolean>;
|
|
9883
|
+
end: Ref<boolean, boolean>;
|
|
8398
9884
|
};
|
|
8399
9885
|
|
|
8400
9886
|
/**
|
|
@@ -8453,6 +9939,75 @@ declare const vTooltip: ObjectDirective<HTMLElement, TooltipDirectiveBinding | u
|
|
|
8453
9939
|
export { vTooltip as tooltipDirective }
|
|
8454
9940
|
export { vTooltip }
|
|
8455
9941
|
|
|
9942
|
+
/** A bar with its derived values. Passed to slots and events. */
|
|
9943
|
+
export declare interface WaterfallBar {
|
|
9944
|
+
key: string;
|
|
9945
|
+
index: number;
|
|
9946
|
+
label: string;
|
|
9947
|
+
kind: WaterfallKind;
|
|
9948
|
+
/** The change, or the total for a total. */
|
|
9949
|
+
value: number;
|
|
9950
|
+
/** The running total before and after. A total starts at 0. */
|
|
9951
|
+
start: number;
|
|
9952
|
+
end: number;
|
|
9953
|
+
color: string;
|
|
9954
|
+
/** The change with its sign, or the total. */
|
|
9955
|
+
formatted: string;
|
|
9956
|
+
/** The running total after this bar. */
|
|
9957
|
+
formattedEnd: string;
|
|
9958
|
+
}
|
|
9959
|
+
|
|
9960
|
+
export declare interface WaterfallChartProps {
|
|
9961
|
+
data: WaterfallDatum[];
|
|
9962
|
+
/** Chart height in px. Width is fluid. */
|
|
9963
|
+
height?: number;
|
|
9964
|
+
/** Corner radius of the bars, in px. */
|
|
9965
|
+
barRadius?: number;
|
|
9966
|
+
/** Space between bars as a share of each slot, from 0 to 0.9. */
|
|
9967
|
+
barGap?: number;
|
|
9968
|
+
increaseColor?: string;
|
|
9969
|
+
decreaseColor?: string;
|
|
9970
|
+
totalColor?: string;
|
|
9971
|
+
/** Dashed lines carrying the level from each bar to the next. */
|
|
9972
|
+
connectors?: boolean;
|
|
9973
|
+
/** Write each value above its bar, where there is room. */
|
|
9974
|
+
showValues?: boolean;
|
|
9975
|
+
grid?: boolean;
|
|
9976
|
+
showXAxis?: boolean;
|
|
9977
|
+
showYAxis?: boolean;
|
|
9978
|
+
formatValue?: (value: number) => string;
|
|
9979
|
+
/** Words for the tooltip and screen readers: the running total. */
|
|
9980
|
+
totalLabel?: string;
|
|
9981
|
+
interactive?: boolean;
|
|
9982
|
+
tooltip?: boolean;
|
|
9983
|
+
/** Highlighted bar. Optional: the chart tracks hover by itself; bind v-model:focused to read or drive it. */
|
|
9984
|
+
focused?: number | null;
|
|
9985
|
+
animated?: boolean;
|
|
9986
|
+
label?: string;
|
|
9987
|
+
class?: string;
|
|
9988
|
+
}
|
|
9989
|
+
|
|
9990
|
+
export declare interface WaterfallChartSlots {
|
|
9991
|
+
tooltip?: (props: {
|
|
9992
|
+
bar: WaterfallBar;
|
|
9993
|
+
}) => unknown;
|
|
9994
|
+
}
|
|
9995
|
+
|
|
9996
|
+
export declare interface WaterfallDatum {
|
|
9997
|
+
/** Unique key. Falls back to the label. */
|
|
9998
|
+
id?: string;
|
|
9999
|
+
label: string;
|
|
10000
|
+
/** The change to the running total, positive or negative. */
|
|
10001
|
+
value?: number;
|
|
10002
|
+
/** A bar from zero showing where things stand. With a `value`, it sets the running total to it,
|
|
10003
|
+
* as an opening balance does; without one, it shows what the changes have added up to. */
|
|
10004
|
+
total?: boolean;
|
|
10005
|
+
/** Token name or any CSS color, instead of the colour of its kind. */
|
|
10006
|
+
color?: string;
|
|
10007
|
+
}
|
|
10008
|
+
|
|
10009
|
+
export declare type WaterfallKind = 'increase' | 'decrease' | 'total';
|
|
10010
|
+
|
|
8456
10011
|
export declare type WeekDay = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
8457
10012
|
|
|
8458
10013
|
export { }
|