@retailcrm/embed-ui-v1-components 0.9.11 → 0.9.13
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/host.cjs +638 -315
- package/dist/host.css +319 -0
- package/dist/host.d.ts +200 -8
- package/dist/host.js +639 -316
- package/dist/remote.cjs +667 -26
- package/dist/remote.d.ts +841 -17
- package/dist/remote.js +669 -28
- package/package.json +5 -3
package/dist/remote.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { Alignment } from '@floating-ui/dom';
|
|
2
2
|
import { AllowedComponentProps } from 'vue';
|
|
3
3
|
import { Channel } from '@omnicajs/vue-remote/remote';
|
|
4
|
+
import { ComponentCustomProperties } from 'vue';
|
|
4
5
|
import { ComponentCustomProps } from 'vue';
|
|
6
|
+
import { ComponentInternalInstance } from 'vue';
|
|
5
7
|
import { ComponentOptionsBase } from 'vue';
|
|
6
8
|
import { ComponentOptionsMixin } from 'vue';
|
|
7
9
|
import { ComponentProvideOptions } from 'vue';
|
|
10
|
+
import { ComponentPublicInstance } from 'vue';
|
|
8
11
|
import { ComputedOptions } from 'vue';
|
|
9
12
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
13
|
+
import { DebuggerEvent } from 'vue';
|
|
10
14
|
import { DefineComponent } from 'vue';
|
|
11
15
|
import { ExtractPropTypes } from 'vue';
|
|
12
16
|
import { GlobalComponents } from 'vue';
|
|
@@ -14,11 +18,15 @@ import { GlobalDirectives } from 'vue';
|
|
|
14
18
|
import { HTMLAttributes } from 'vue';
|
|
15
19
|
import { InjectionKey } from 'vue';
|
|
16
20
|
import { MethodOptions } from 'vue';
|
|
21
|
+
import { nextTick } from 'vue';
|
|
22
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
17
23
|
import { PropType } from 'vue';
|
|
18
24
|
import { PublicProps } from 'vue';
|
|
19
25
|
import { Ref } from 'vue';
|
|
20
26
|
import { RemoteCallable } from '@remote-ui/rpc';
|
|
21
27
|
import { RemoteRoot } from '@omnicajs/vue-remote/remote';
|
|
28
|
+
import { RendererElement } from 'vue';
|
|
29
|
+
import { RendererNode } from 'vue';
|
|
22
30
|
import { SchemaOf } from '@omnicajs/vue-remote/remote';
|
|
23
31
|
import { SchemaType } from '@omnicajs/vue-remote/remote';
|
|
24
32
|
import { SchemaType as SchemaType_2 } from '@omnicajs/vue-remote/dist/remote';
|
|
@@ -26,9 +34,14 @@ import { SerializedEvent } from '@omnicajs/vue-remote/types/events';
|
|
|
26
34
|
import { SerializedFocusEvent } from '@omnicajs/vue-remote/types/events';
|
|
27
35
|
import { SerializedInputEvent } from '@omnicajs/vue-remote/types/events';
|
|
28
36
|
import { SerializedKeyboardEvent } from '@omnicajs/vue-remote/types/events';
|
|
37
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
29
38
|
import { Side } from '@floating-ui/dom';
|
|
39
|
+
import { Slot } from 'vue';
|
|
30
40
|
import { Strategy } from '@floating-ui/dom';
|
|
41
|
+
import { VNode } from 'vue';
|
|
31
42
|
import { VNodeProps } from 'vue';
|
|
43
|
+
import { WatchOptions } from 'vue';
|
|
44
|
+
import { WatchStopHandle } from 'vue';
|
|
32
45
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
33
46
|
/** Id для связки label/control */
|
|
34
47
|
id: {
|
|
@@ -360,7 +373,90 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
|
|
|
360
373
|
textboxSize: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
361
374
|
popperFitTrigger: boolean;
|
|
362
375
|
equalsFn: (a: unknown, b: unknown) => boolean;
|
|
363
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
376
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
377
|
+
popper: ({
|
|
378
|
+
$: ComponentInternalInstance;
|
|
379
|
+
$data: {
|
|
380
|
+
[x: string]: never;
|
|
381
|
+
};
|
|
382
|
+
$props: Partial<{}> & Omit<{
|
|
383
|
+
readonly [x: string]: any;
|
|
384
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
385
|
+
$attrs: {
|
|
386
|
+
[x: string]: unknown;
|
|
387
|
+
};
|
|
388
|
+
$refs: {
|
|
389
|
+
[x: string]: unknown;
|
|
390
|
+
};
|
|
391
|
+
$slots: Readonly<{
|
|
392
|
+
[name: string]: Slot<any> | undefined;
|
|
393
|
+
}>;
|
|
394
|
+
$root: ComponentPublicInstance | null;
|
|
395
|
+
$parent: ComponentPublicInstance | null;
|
|
396
|
+
$host: Element | null;
|
|
397
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
398
|
+
$el: any;
|
|
399
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, {
|
|
400
|
+
[x: string]: unknown;
|
|
401
|
+
}, {
|
|
402
|
+
[x: string]: never;
|
|
403
|
+
}, {
|
|
404
|
+
[x: string]: never;
|
|
405
|
+
}, {
|
|
406
|
+
autoScroll: () => Promise<void>;
|
|
407
|
+
updateWidth: () => Promise<void>;
|
|
408
|
+
}, {
|
|
409
|
+
'update:visible': (visible: boolean) => boolean;
|
|
410
|
+
show: () => boolean;
|
|
411
|
+
hide: () => boolean;
|
|
412
|
+
shown: () => boolean;
|
|
413
|
+
hidden: () => boolean;
|
|
414
|
+
dispose: () => boolean;
|
|
415
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
416
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
417
|
+
created?: (() => void) | (() => void)[];
|
|
418
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
419
|
+
mounted?: (() => void) | (() => void)[];
|
|
420
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
421
|
+
updated?: (() => void) | (() => void)[];
|
|
422
|
+
activated?: (() => void) | (() => void)[];
|
|
423
|
+
deactivated?: (() => void) | (() => void)[];
|
|
424
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
425
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
426
|
+
destroyed?: (() => void) | (() => void)[];
|
|
427
|
+
unmounted?: (() => void) | (() => void)[];
|
|
428
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
429
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
430
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
431
|
+
};
|
|
432
|
+
$forceUpdate: () => void;
|
|
433
|
+
$nextTick: nextTick;
|
|
434
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
435
|
+
R,
|
|
436
|
+
R,
|
|
437
|
+
OnCleanup
|
|
438
|
+
]) => any : (...args: [
|
|
439
|
+
any,
|
|
440
|
+
any,
|
|
441
|
+
OnCleanup
|
|
442
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
443
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, string> & ShallowUnwrapRef<{
|
|
444
|
+
[x: string]: unknown;
|
|
445
|
+
}> & {
|
|
446
|
+
[x: string]: never;
|
|
447
|
+
} & {
|
|
448
|
+
[x: string]: unknown;
|
|
449
|
+
} & MethodOptions & {
|
|
450
|
+
autoScroll: () => Promise<void>;
|
|
451
|
+
updateWidth: () => Promise<void>;
|
|
452
|
+
} & ComponentCustomProperties & {} & {
|
|
453
|
+
$slots: {
|
|
454
|
+
[x: string]: never;
|
|
455
|
+
} & {
|
|
456
|
+
default?: (...args: never[]) => unknown;
|
|
457
|
+
};
|
|
458
|
+
}) | null;
|
|
459
|
+
}, any>;
|
|
364
460
|
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
365
461
|
/** Значение опции */
|
|
366
462
|
value: {
|
|
@@ -494,7 +590,90 @@ declare function __VLS_template_2(): {
|
|
|
494
590
|
slots: {
|
|
495
591
|
default?(_: {}): any;
|
|
496
592
|
};
|
|
497
|
-
refs: {
|
|
593
|
+
refs: {
|
|
594
|
+
popper: ({
|
|
595
|
+
$: ComponentInternalInstance;
|
|
596
|
+
$data: {
|
|
597
|
+
[x: string]: never;
|
|
598
|
+
};
|
|
599
|
+
$props: Partial<{}> & Omit<{
|
|
600
|
+
readonly [x: string]: any;
|
|
601
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
602
|
+
$attrs: {
|
|
603
|
+
[x: string]: unknown;
|
|
604
|
+
};
|
|
605
|
+
$refs: {
|
|
606
|
+
[x: string]: unknown;
|
|
607
|
+
};
|
|
608
|
+
$slots: Readonly<{
|
|
609
|
+
[name: string]: Slot<any> | undefined;
|
|
610
|
+
}>;
|
|
611
|
+
$root: ComponentPublicInstance | null;
|
|
612
|
+
$parent: ComponentPublicInstance | null;
|
|
613
|
+
$host: Element | null;
|
|
614
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
615
|
+
$el: any;
|
|
616
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, {
|
|
617
|
+
[x: string]: unknown;
|
|
618
|
+
}, {
|
|
619
|
+
[x: string]: never;
|
|
620
|
+
}, {
|
|
621
|
+
[x: string]: never;
|
|
622
|
+
}, {
|
|
623
|
+
autoScroll: () => Promise<void>;
|
|
624
|
+
updateWidth: () => Promise<void>;
|
|
625
|
+
}, {
|
|
626
|
+
'update:visible': (visible: boolean) => boolean;
|
|
627
|
+
show: () => boolean;
|
|
628
|
+
hide: () => boolean;
|
|
629
|
+
shown: () => boolean;
|
|
630
|
+
hidden: () => boolean;
|
|
631
|
+
dispose: () => boolean;
|
|
632
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
633
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
634
|
+
created?: (() => void) | (() => void)[];
|
|
635
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
636
|
+
mounted?: (() => void) | (() => void)[];
|
|
637
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
638
|
+
updated?: (() => void) | (() => void)[];
|
|
639
|
+
activated?: (() => void) | (() => void)[];
|
|
640
|
+
deactivated?: (() => void) | (() => void)[];
|
|
641
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
642
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
643
|
+
destroyed?: (() => void) | (() => void)[];
|
|
644
|
+
unmounted?: (() => void) | (() => void)[];
|
|
645
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
646
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
647
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
648
|
+
};
|
|
649
|
+
$forceUpdate: () => void;
|
|
650
|
+
$nextTick: nextTick;
|
|
651
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
652
|
+
R,
|
|
653
|
+
R,
|
|
654
|
+
OnCleanup
|
|
655
|
+
]) => any : (...args: [
|
|
656
|
+
any,
|
|
657
|
+
any,
|
|
658
|
+
OnCleanup
|
|
659
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
660
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, string> & ShallowUnwrapRef<{
|
|
661
|
+
[x: string]: unknown;
|
|
662
|
+
}> & {
|
|
663
|
+
[x: string]: never;
|
|
664
|
+
} & {
|
|
665
|
+
[x: string]: unknown;
|
|
666
|
+
} & MethodOptions & {
|
|
667
|
+
autoScroll: () => Promise<void>;
|
|
668
|
+
updateWidth: () => Promise<void>;
|
|
669
|
+
} & ComponentCustomProperties & {} & {
|
|
670
|
+
$slots: {
|
|
671
|
+
[x: string]: never;
|
|
672
|
+
} & {
|
|
673
|
+
default?: (...args: never[]) => unknown;
|
|
674
|
+
};
|
|
675
|
+
}) | null;
|
|
676
|
+
};
|
|
498
677
|
rootEl: any;
|
|
499
678
|
};
|
|
500
679
|
declare function __VLS_template_3(): {
|
|
@@ -555,7 +734,12 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
555
734
|
};
|
|
556
735
|
};
|
|
557
736
|
declare type Adaptation = 'flip' | 'shift';
|
|
558
|
-
declare enum ALIGN {
|
|
737
|
+
export declare enum ALIGN {
|
|
738
|
+
LEFT = "left",
|
|
739
|
+
CENTER = "center",
|
|
740
|
+
RIGHT = "right"
|
|
741
|
+
}
|
|
742
|
+
declare enum ALIGN_2 {
|
|
559
743
|
LEFT = "left",
|
|
560
744
|
RIGHT = "right"
|
|
561
745
|
}
|
|
@@ -582,6 +766,9 @@ declare enum APPEARANCE_4 {
|
|
|
582
766
|
POPUP = "popup",
|
|
583
767
|
HINT = "hint"
|
|
584
768
|
}
|
|
769
|
+
export declare const asRowAttrs: <T>(value: RowAttrsGetter<T>) => RowAttrsGetter<T>;
|
|
770
|
+
export declare const asRowClass: <T>(value: RowClassGetter<T>) => RowClassGetter<T>;
|
|
771
|
+
export declare const byRowKey: <T, K extends keyof T>(key: K) => RowKeyGetter<T>;
|
|
585
772
|
declare enum CLOSE_METHOD {
|
|
586
773
|
CLICK_CROSS = "Cross",
|
|
587
774
|
CLICK_OUTSIDE = "Outside",
|
|
@@ -607,18 +794,56 @@ declare enum COLOR_2 {
|
|
|
607
794
|
RED = "red",
|
|
608
795
|
YELLOW = "yellow"
|
|
609
796
|
}
|
|
797
|
+
export declare type Column<T> = {
|
|
798
|
+
id: string;
|
|
799
|
+
label: string;
|
|
800
|
+
width?: Numeric;
|
|
801
|
+
minWidth?: Numeric;
|
|
802
|
+
maxWidth?: Numeric;
|
|
803
|
+
align: ALIGN | `${ALIGN}`;
|
|
804
|
+
valign: VALIGN | `${VALIGN}`;
|
|
805
|
+
trim: boolean;
|
|
806
|
+
getColspan: (row: T, index: number) => number | undefined;
|
|
807
|
+
getRowspan: (row: T, index: number) => number | undefined;
|
|
808
|
+
};
|
|
610
809
|
export declare const createEndpointRoot: (channel: Channel) => Promise<RemoteRoot<SchemaOf<string>>>;
|
|
810
|
+
export declare type CssClass = string | Record<string, boolean> | Array<string | Record<string, boolean>>;
|
|
811
|
+
export declare type DataForCell<T> = {
|
|
812
|
+
row: T;
|
|
813
|
+
index: number;
|
|
814
|
+
key: RowKey;
|
|
815
|
+
expanded: boolean;
|
|
816
|
+
toggle: () => void;
|
|
817
|
+
column: Column<T>;
|
|
818
|
+
};
|
|
819
|
+
export declare type DataForFooter<T, GroupData> = {
|
|
820
|
+
columnsCount: number;
|
|
821
|
+
rowsCount: number;
|
|
822
|
+
groupsCount: number;
|
|
823
|
+
groups: readonly Group<T, GroupData>[];
|
|
824
|
+
};
|
|
825
|
+
export declare type DataForGroupHead<T, GroupData> = {
|
|
826
|
+
group: Group<T, GroupData>;
|
|
827
|
+
index: number;
|
|
828
|
+
};
|
|
829
|
+
export declare type DataForLabel<T> = {
|
|
830
|
+
column: Column<T>;
|
|
831
|
+
};
|
|
611
832
|
declare type DateFormatter = (date: Date, omitYear?: boolean) => string;
|
|
612
833
|
declare type Delay = {
|
|
613
834
|
show?: number;
|
|
614
835
|
hide?: number;
|
|
615
836
|
};
|
|
616
837
|
declare type Dimensions = `${number}x${number}` | `${number}x-` | `-x${number}`;
|
|
617
|
-
declare enum DIRECTION {
|
|
838
|
+
export declare enum DIRECTION {
|
|
839
|
+
ASC = "asc",
|
|
840
|
+
DESC = "desc"
|
|
841
|
+
}
|
|
842
|
+
declare enum DIRECTION_2 {
|
|
618
843
|
LEFT = "left",
|
|
619
844
|
RIGHT = "right"
|
|
620
845
|
}
|
|
621
|
-
declare enum
|
|
846
|
+
declare enum DIRECTION_3 {
|
|
622
847
|
HORIZONTAL = "horizontal",
|
|
623
848
|
VERTICAL = "vertical"
|
|
624
849
|
}
|
|
@@ -631,6 +856,12 @@ declare type FloatingOptions = {
|
|
|
631
856
|
export declare const formatDate: (date: Date | string, locale?: Locale | undefined) => string;
|
|
632
857
|
export declare const formatDateTime: (date: Date | string, locale?: Locale | undefined) => string;
|
|
633
858
|
export declare const formatTime: (date: Date | string) => string;
|
|
859
|
+
export declare type Group<T, GroupData> = {
|
|
860
|
+
key: RowKey;
|
|
861
|
+
data: GroupData;
|
|
862
|
+
rows: readonly T[];
|
|
863
|
+
};
|
|
864
|
+
export declare type GroupBy<T, GroupData> = (rows: readonly T[]) => Group<T, GroupData>[];
|
|
634
865
|
export declare const ImageWorkersKey: InjectionKey<Ref<string[]>>;
|
|
635
866
|
declare enum INPUTMODE {
|
|
636
867
|
DECIMAL = "decimal",
|
|
@@ -670,6 +901,25 @@ declare type QuickOption = {
|
|
|
670
901
|
value: Exclude<QuickDate, null>;
|
|
671
902
|
};
|
|
672
903
|
declare type RemoteProperties<T> = HTMLAttributes & T & Record<string, never>;
|
|
904
|
+
export declare type RowAttrs = Record<string, string | number | boolean | undefined> & {
|
|
905
|
+
class?: CssClass;
|
|
906
|
+
};
|
|
907
|
+
export declare type RowAttrsGetter<T> = (row: T, index: number) => RowAttrs;
|
|
908
|
+
export declare type RowClassGetter<T> = (row: T, index: number) => CssClass;
|
|
909
|
+
export declare type RowClickPayload<T> = {
|
|
910
|
+
row: T;
|
|
911
|
+
index: number;
|
|
912
|
+
key: RowKey;
|
|
913
|
+
expanded: boolean;
|
|
914
|
+
toggle: () => void;
|
|
915
|
+
};
|
|
916
|
+
export declare type RowKey = string | number;
|
|
917
|
+
export declare type RowKeyGetter<T> = (row: T, index: number) => RowKey;
|
|
918
|
+
export declare type RowRendererArgs<T> = {
|
|
919
|
+
row: T;
|
|
920
|
+
index: number;
|
|
921
|
+
key: RowKey;
|
|
922
|
+
};
|
|
673
923
|
declare enum SCROLLING {
|
|
674
924
|
NORMAL = "normal",
|
|
675
925
|
NATIVE = "native",
|
|
@@ -1546,7 +1796,11 @@ export declare const UiDatePicker: {
|
|
|
1546
1796
|
[x: string]: never;
|
|
1547
1797
|
}, {
|
|
1548
1798
|
[x: string]: never;
|
|
1549
|
-
},
|
|
1799
|
+
}, {
|
|
1800
|
+
open: () => Promise<void>;
|
|
1801
|
+
close: () => Promise<void>;
|
|
1802
|
+
toggle: () => Promise<void>;
|
|
1803
|
+
}, {
|
|
1550
1804
|
open: () => boolean;
|
|
1551
1805
|
close: () => boolean;
|
|
1552
1806
|
change: (value: Date | Date[] | null) => boolean;
|
|
@@ -1571,7 +1825,11 @@ export declare const UiDatePicker: {
|
|
|
1571
1825
|
[x: string]: never;
|
|
1572
1826
|
}, ComputedOptions & {
|
|
1573
1827
|
[x: string]: never;
|
|
1574
|
-
}, MethodOptions
|
|
1828
|
+
}, MethodOptions & {
|
|
1829
|
+
open: () => Promise<void>;
|
|
1830
|
+
close: () => Promise<void>;
|
|
1831
|
+
toggle: () => Promise<void>;
|
|
1832
|
+
}, {}>;
|
|
1575
1833
|
__isFragment?: never;
|
|
1576
1834
|
__isTeleport?: never;
|
|
1577
1835
|
__isSuspense?: never;
|
|
@@ -1581,7 +1839,11 @@ export declare const UiDatePicker: {
|
|
|
1581
1839
|
[x: string]: never;
|
|
1582
1840
|
}, {
|
|
1583
1841
|
[x: string]: never;
|
|
1584
|
-
},
|
|
1842
|
+
}, {
|
|
1843
|
+
open: () => Promise<void>;
|
|
1844
|
+
close: () => Promise<void>;
|
|
1845
|
+
toggle: () => Promise<void>;
|
|
1846
|
+
}, {
|
|
1585
1847
|
open: () => boolean;
|
|
1586
1848
|
close: () => boolean;
|
|
1587
1849
|
change: (value: Date | Date[] | null) => boolean;
|
|
@@ -1682,7 +1944,7 @@ export declare const UiError: {
|
|
|
1682
1944
|
});
|
|
1683
1945
|
declare type UiErrorProperties = {
|
|
1684
1946
|
message: string;
|
|
1685
|
-
align?:
|
|
1947
|
+
align?: ALIGN_2 | `${ALIGN_2}`;
|
|
1686
1948
|
ellipsis?: boolean;
|
|
1687
1949
|
};
|
|
1688
1950
|
export declare const UiErrorType: SchemaType<"UiError", RemoteProperties<UiErrorProperties>, Record<string, never>>;
|
|
@@ -2058,7 +2320,7 @@ declare type UiModalSidebarProperties = {
|
|
|
2058
2320
|
id?: string;
|
|
2059
2321
|
opened?: boolean;
|
|
2060
2322
|
closable?: boolean;
|
|
2061
|
-
direction?:
|
|
2323
|
+
direction?: DIRECTION_2 | `${DIRECTION_2}`;
|
|
2062
2324
|
disposeTimeout?: number | string | null;
|
|
2063
2325
|
fixed?: boolean;
|
|
2064
2326
|
scrolling?: SCROLLING | `${SCROLLING}`;
|
|
@@ -2297,7 +2559,7 @@ declare type UiNumberStepperProperties = {
|
|
|
2297
2559
|
disabled?: boolean;
|
|
2298
2560
|
readonly?: boolean;
|
|
2299
2561
|
required?: boolean;
|
|
2300
|
-
direction?:
|
|
2562
|
+
direction?: DIRECTION_3 | `${DIRECTION_3}`;
|
|
2301
2563
|
size?: SIZE_4 | `${SIZE_4}`;
|
|
2302
2564
|
outlined?: boolean;
|
|
2303
2565
|
textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
|
|
@@ -2736,6 +2998,524 @@ declare type UiSwitchProperties = {
|
|
|
2736
2998
|
disabled?: boolean;
|
|
2737
2999
|
};
|
|
2738
3000
|
export declare const UiSwitchType: SchemaType<"UiSwitch", RemoteProperties<UiSwitchProperties>, RemoteCallable<UiSwitchMethods>>;
|
|
3001
|
+
export declare const UiTable: DefineComponent<ExtractPropTypes<{
|
|
3002
|
+
rows: {
|
|
3003
|
+
type: PropType<readonly unknown[]>;
|
|
3004
|
+
default: () => never[];
|
|
3005
|
+
};
|
|
3006
|
+
rowKey: {
|
|
3007
|
+
type: PropType<string | number | RowKeyGetter<unknown>>;
|
|
3008
|
+
default: undefined;
|
|
3009
|
+
};
|
|
3010
|
+
headless: {
|
|
3011
|
+
type: BooleanConstructor;
|
|
3012
|
+
default: boolean;
|
|
3013
|
+
};
|
|
3014
|
+
bordered: {
|
|
3015
|
+
type: BooleanConstructor;
|
|
3016
|
+
default: boolean;
|
|
3017
|
+
};
|
|
3018
|
+
fixed: {
|
|
3019
|
+
type: BooleanConstructor;
|
|
3020
|
+
default: boolean;
|
|
3021
|
+
};
|
|
3022
|
+
rowClass: {
|
|
3023
|
+
type: PropType<CssClass | RowClassGetter<unknown>>;
|
|
3024
|
+
default: undefined;
|
|
3025
|
+
};
|
|
3026
|
+
rowAttrs: {
|
|
3027
|
+
type: PropType<RowAttrsGetter<unknown>>;
|
|
3028
|
+
default: undefined;
|
|
3029
|
+
};
|
|
3030
|
+
groupBy: {
|
|
3031
|
+
type: PropType<GroupBy<unknown, unknown>>;
|
|
3032
|
+
default: undefined;
|
|
3033
|
+
};
|
|
3034
|
+
groupHeadClass: {
|
|
3035
|
+
type: PropType<CssClass>;
|
|
3036
|
+
default: undefined;
|
|
3037
|
+
};
|
|
3038
|
+
groupBodyClass: {
|
|
3039
|
+
type: PropType<CssClass>;
|
|
3040
|
+
default: undefined;
|
|
3041
|
+
};
|
|
3042
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
3043
|
+
[key: string]: any;
|
|
3044
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3045
|
+
'row:click': (payload: RowClickPayload<unknown>, event: SerializedEvent) => true;
|
|
3046
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3047
|
+
rows: {
|
|
3048
|
+
type: PropType<readonly unknown[]>;
|
|
3049
|
+
default: () => never[];
|
|
3050
|
+
};
|
|
3051
|
+
rowKey: {
|
|
3052
|
+
type: PropType<string | number | RowKeyGetter<unknown>>;
|
|
3053
|
+
default: undefined;
|
|
3054
|
+
};
|
|
3055
|
+
headless: {
|
|
3056
|
+
type: BooleanConstructor;
|
|
3057
|
+
default: boolean;
|
|
3058
|
+
};
|
|
3059
|
+
bordered: {
|
|
3060
|
+
type: BooleanConstructor;
|
|
3061
|
+
default: boolean;
|
|
3062
|
+
};
|
|
3063
|
+
fixed: {
|
|
3064
|
+
type: BooleanConstructor;
|
|
3065
|
+
default: boolean;
|
|
3066
|
+
};
|
|
3067
|
+
rowClass: {
|
|
3068
|
+
type: PropType<CssClass | RowClassGetter<unknown>>;
|
|
3069
|
+
default: undefined;
|
|
3070
|
+
};
|
|
3071
|
+
rowAttrs: {
|
|
3072
|
+
type: PropType<RowAttrsGetter<unknown>>;
|
|
3073
|
+
default: undefined;
|
|
3074
|
+
};
|
|
3075
|
+
groupBy: {
|
|
3076
|
+
type: PropType<GroupBy<unknown, unknown>>;
|
|
3077
|
+
default: undefined;
|
|
3078
|
+
};
|
|
3079
|
+
groupHeadClass: {
|
|
3080
|
+
type: PropType<CssClass>;
|
|
3081
|
+
default: undefined;
|
|
3082
|
+
};
|
|
3083
|
+
groupBodyClass: {
|
|
3084
|
+
type: PropType<CssClass>;
|
|
3085
|
+
default: undefined;
|
|
3086
|
+
};
|
|
3087
|
+
}>> & Readonly<{
|
|
3088
|
+
"onRow:click"?: ((payload: RowClickPayload<unknown>, event: SerializedEvent) => any) | undefined;
|
|
3089
|
+
}>, {
|
|
3090
|
+
fixed: boolean;
|
|
3091
|
+
bordered: boolean;
|
|
3092
|
+
rows: readonly unknown[];
|
|
3093
|
+
rowKey: string | number | RowKeyGetter<unknown>;
|
|
3094
|
+
headless: boolean;
|
|
3095
|
+
rowClass: CssClass | RowClassGetter<unknown>;
|
|
3096
|
+
rowAttrs: RowAttrsGetter<unknown>;
|
|
3097
|
+
groupBy: GroupBy<unknown, unknown>;
|
|
3098
|
+
groupHeadClass: CssClass;
|
|
3099
|
+
groupBodyClass: CssClass;
|
|
3100
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3101
|
+
export declare const UiTableBodyCell: {
|
|
3102
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTableBodyCellProperties>>>, {
|
|
3103
|
+
[x: string]: unknown;
|
|
3104
|
+
}, {
|
|
3105
|
+
[x: string]: never;
|
|
3106
|
+
}, {
|
|
3107
|
+
[x: string]: never;
|
|
3108
|
+
}, MethodOptions, {
|
|
3109
|
+
[x: string]: never;
|
|
3110
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3111
|
+
P: {};
|
|
3112
|
+
B: {};
|
|
3113
|
+
D: {};
|
|
3114
|
+
C: ComputedOptions;
|
|
3115
|
+
M: MethodOptions;
|
|
3116
|
+
Defaults: {};
|
|
3117
|
+
} & {
|
|
3118
|
+
P: {};
|
|
3119
|
+
B: {};
|
|
3120
|
+
D: {};
|
|
3121
|
+
C: {};
|
|
3122
|
+
M: {};
|
|
3123
|
+
Defaults: {};
|
|
3124
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTableBodyCellProperties>>>, {
|
|
3125
|
+
[x: string]: unknown;
|
|
3126
|
+
}, {
|
|
3127
|
+
[x: string]: never;
|
|
3128
|
+
}, ComputedOptions & {
|
|
3129
|
+
[x: string]: never;
|
|
3130
|
+
}, MethodOptions, {}>;
|
|
3131
|
+
__isFragment?: never;
|
|
3132
|
+
__isTeleport?: never;
|
|
3133
|
+
__isSuspense?: never;
|
|
3134
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTableBodyCellProperties>>>, {
|
|
3135
|
+
[x: string]: unknown;
|
|
3136
|
+
}, {
|
|
3137
|
+
[x: string]: never;
|
|
3138
|
+
}, {
|
|
3139
|
+
[x: string]: never;
|
|
3140
|
+
}, MethodOptions, {
|
|
3141
|
+
[x: string]: never;
|
|
3142
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3143
|
+
$slots: {
|
|
3144
|
+
[x: string]: never;
|
|
3145
|
+
} & {
|
|
3146
|
+
default?: (...args: never[]) => unknown;
|
|
3147
|
+
};
|
|
3148
|
+
});
|
|
3149
|
+
export declare type UiTableBodyCellProperties = {
|
|
3150
|
+
align?: ALIGN | `${ALIGN}`;
|
|
3151
|
+
valign?: VALIGN | `${VALIGN}`;
|
|
3152
|
+
colspan?: number;
|
|
3153
|
+
rowspan?: number;
|
|
3154
|
+
trim?: boolean;
|
|
3155
|
+
theme?: UiTableBodyCellTheme;
|
|
3156
|
+
};
|
|
3157
|
+
export declare type UiTableBodyCellTheme = 'default' | 'group';
|
|
3158
|
+
export declare type UiTableColProperties = {
|
|
3159
|
+
width?: Numeric;
|
|
3160
|
+
minWidth?: Numeric;
|
|
3161
|
+
maxWidth?: Numeric;
|
|
3162
|
+
};
|
|
3163
|
+
export declare const UiTableColumn: DefineComponent<ExtractPropTypes<{
|
|
3164
|
+
label: {
|
|
3165
|
+
type: StringConstructor;
|
|
3166
|
+
default: string;
|
|
3167
|
+
};
|
|
3168
|
+
width: {
|
|
3169
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
3170
|
+
default: undefined;
|
|
3171
|
+
};
|
|
3172
|
+
minWidth: {
|
|
3173
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
3174
|
+
default: undefined;
|
|
3175
|
+
};
|
|
3176
|
+
maxWidth: {
|
|
3177
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
3178
|
+
default: undefined;
|
|
3179
|
+
};
|
|
3180
|
+
align: {
|
|
3181
|
+
type: PropType<ALIGN | `${ALIGN}`>;
|
|
3182
|
+
default: ALIGN;
|
|
3183
|
+
validator: (align: string) => boolean;
|
|
3184
|
+
};
|
|
3185
|
+
valign: {
|
|
3186
|
+
type: PropType<VALIGN | `${VALIGN}`>;
|
|
3187
|
+
default: VALIGN;
|
|
3188
|
+
validator: (valign: string) => boolean;
|
|
3189
|
+
};
|
|
3190
|
+
trim: {
|
|
3191
|
+
type: BooleanConstructor;
|
|
3192
|
+
default: boolean;
|
|
3193
|
+
};
|
|
3194
|
+
colspan: {
|
|
3195
|
+
type: PropType<(row: unknown, index: number) => number | undefined>;
|
|
3196
|
+
default: undefined;
|
|
3197
|
+
};
|
|
3198
|
+
rowspan: {
|
|
3199
|
+
type: PropType<(row: unknown, index: number) => number | undefined>;
|
|
3200
|
+
default: undefined;
|
|
3201
|
+
};
|
|
3202
|
+
}>, () => null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3203
|
+
label: {
|
|
3204
|
+
type: StringConstructor;
|
|
3205
|
+
default: string;
|
|
3206
|
+
};
|
|
3207
|
+
width: {
|
|
3208
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
3209
|
+
default: undefined;
|
|
3210
|
+
};
|
|
3211
|
+
minWidth: {
|
|
3212
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
3213
|
+
default: undefined;
|
|
3214
|
+
};
|
|
3215
|
+
maxWidth: {
|
|
3216
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
3217
|
+
default: undefined;
|
|
3218
|
+
};
|
|
3219
|
+
align: {
|
|
3220
|
+
type: PropType<ALIGN | `${ALIGN}`>;
|
|
3221
|
+
default: ALIGN;
|
|
3222
|
+
validator: (align: string) => boolean;
|
|
3223
|
+
};
|
|
3224
|
+
valign: {
|
|
3225
|
+
type: PropType<VALIGN | `${VALIGN}`>;
|
|
3226
|
+
default: VALIGN;
|
|
3227
|
+
validator: (valign: string) => boolean;
|
|
3228
|
+
};
|
|
3229
|
+
trim: {
|
|
3230
|
+
type: BooleanConstructor;
|
|
3231
|
+
default: boolean;
|
|
3232
|
+
};
|
|
3233
|
+
colspan: {
|
|
3234
|
+
type: PropType<(row: unknown, index: number) => number | undefined>;
|
|
3235
|
+
default: undefined;
|
|
3236
|
+
};
|
|
3237
|
+
rowspan: {
|
|
3238
|
+
type: PropType<(row: unknown, index: number) => number | undefined>;
|
|
3239
|
+
default: undefined;
|
|
3240
|
+
};
|
|
3241
|
+
}>> & Readonly<{}>, {
|
|
3242
|
+
trim: boolean;
|
|
3243
|
+
width: string | number;
|
|
3244
|
+
align: "left" | "right" | "center" | ALIGN;
|
|
3245
|
+
label: string;
|
|
3246
|
+
minWidth: string | number;
|
|
3247
|
+
maxWidth: string | number;
|
|
3248
|
+
valign: "bottom" | "top" | "middle" | VALIGN;
|
|
3249
|
+
colspan: (row: unknown, index: number) => number | undefined;
|
|
3250
|
+
rowspan: (row: unknown, index: number) => number | undefined;
|
|
3251
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3252
|
+
export declare type UiTableColumnProperties<T> = {
|
|
3253
|
+
label?: string;
|
|
3254
|
+
width?: Numeric;
|
|
3255
|
+
minWidth?: Numeric;
|
|
3256
|
+
maxWidth?: Numeric;
|
|
3257
|
+
align?: ALIGN | `${ALIGN}`;
|
|
3258
|
+
valign?: VALIGN | `${VALIGN}`;
|
|
3259
|
+
trim?: boolean;
|
|
3260
|
+
colspan?: (row: T, index: number) => number | undefined;
|
|
3261
|
+
rowspan?: (row: T, index: number) => number | undefined;
|
|
3262
|
+
};
|
|
3263
|
+
export declare type UiTableColumnSlots<T> = {
|
|
3264
|
+
default?: (props: DataForCell<T>) => unknown;
|
|
3265
|
+
cell?: (props: DataForCell<T>) => unknown;
|
|
3266
|
+
label?: (props: DataForLabel<T>) => unknown;
|
|
3267
|
+
};
|
|
3268
|
+
export declare type UiTableEmits<T> = {
|
|
3269
|
+
'row:click': [
|
|
3270
|
+
payload: RowClickPayload<T>,
|
|
3271
|
+
event: SerializedEvent
|
|
3272
|
+
];
|
|
3273
|
+
};
|
|
3274
|
+
export declare const UiTableFooterButton: {
|
|
3275
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTableFooterButtonProperties>>>, {
|
|
3276
|
+
[x: string]: unknown;
|
|
3277
|
+
}, {
|
|
3278
|
+
[x: string]: never;
|
|
3279
|
+
}, {
|
|
3280
|
+
[x: string]: never;
|
|
3281
|
+
}, MethodOptions, {
|
|
3282
|
+
click: (event: SerializedEvent) => boolean;
|
|
3283
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3284
|
+
P: {};
|
|
3285
|
+
B: {};
|
|
3286
|
+
D: {};
|
|
3287
|
+
C: ComputedOptions;
|
|
3288
|
+
M: MethodOptions;
|
|
3289
|
+
Defaults: {};
|
|
3290
|
+
} & {
|
|
3291
|
+
P: {};
|
|
3292
|
+
B: {};
|
|
3293
|
+
D: {};
|
|
3294
|
+
C: {};
|
|
3295
|
+
M: {};
|
|
3296
|
+
Defaults: {};
|
|
3297
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTableFooterButtonProperties>>>, {
|
|
3298
|
+
[x: string]: unknown;
|
|
3299
|
+
}, {
|
|
3300
|
+
[x: string]: never;
|
|
3301
|
+
}, ComputedOptions & {
|
|
3302
|
+
[x: string]: never;
|
|
3303
|
+
}, MethodOptions, {}>;
|
|
3304
|
+
__isFragment?: never;
|
|
3305
|
+
__isTeleport?: never;
|
|
3306
|
+
__isSuspense?: never;
|
|
3307
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTableFooterButtonProperties>>>, {
|
|
3308
|
+
[x: string]: unknown;
|
|
3309
|
+
}, {
|
|
3310
|
+
[x: string]: never;
|
|
3311
|
+
}, {
|
|
3312
|
+
[x: string]: never;
|
|
3313
|
+
}, MethodOptions, {
|
|
3314
|
+
click: (event: SerializedEvent) => boolean;
|
|
3315
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3316
|
+
$slots: {
|
|
3317
|
+
[x: string]: never;
|
|
3318
|
+
} & {
|
|
3319
|
+
default?: (...args: never[]) => unknown;
|
|
3320
|
+
};
|
|
3321
|
+
});
|
|
3322
|
+
export declare type UiTableFooterButtonProperties = {
|
|
3323
|
+
type?: UiTableFooterButtonType;
|
|
3324
|
+
};
|
|
3325
|
+
export declare type UiTableFooterButtonType = 'button' | 'submit' | 'reset';
|
|
3326
|
+
export declare const UiTableFooterSection: {
|
|
3327
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTableFooterSectionProperties>>>, {
|
|
3328
|
+
[x: string]: unknown;
|
|
3329
|
+
}, {
|
|
3330
|
+
[x: string]: never;
|
|
3331
|
+
}, {
|
|
3332
|
+
[x: string]: never;
|
|
3333
|
+
}, MethodOptions, {
|
|
3334
|
+
[x: string]: never;
|
|
3335
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3336
|
+
P: {};
|
|
3337
|
+
B: {};
|
|
3338
|
+
D: {};
|
|
3339
|
+
C: ComputedOptions;
|
|
3340
|
+
M: MethodOptions;
|
|
3341
|
+
Defaults: {};
|
|
3342
|
+
} & {
|
|
3343
|
+
P: {};
|
|
3344
|
+
B: {};
|
|
3345
|
+
D: {};
|
|
3346
|
+
C: {};
|
|
3347
|
+
M: {};
|
|
3348
|
+
Defaults: {};
|
|
3349
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTableFooterSectionProperties>>>, {
|
|
3350
|
+
[x: string]: unknown;
|
|
3351
|
+
}, {
|
|
3352
|
+
[x: string]: never;
|
|
3353
|
+
}, ComputedOptions & {
|
|
3354
|
+
[x: string]: never;
|
|
3355
|
+
}, MethodOptions, {}>;
|
|
3356
|
+
__isFragment?: never;
|
|
3357
|
+
__isTeleport?: never;
|
|
3358
|
+
__isSuspense?: never;
|
|
3359
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTableFooterSectionProperties>>>, {
|
|
3360
|
+
[x: string]: unknown;
|
|
3361
|
+
}, {
|
|
3362
|
+
[x: string]: never;
|
|
3363
|
+
}, {
|
|
3364
|
+
[x: string]: never;
|
|
3365
|
+
}, MethodOptions, {
|
|
3366
|
+
[x: string]: never;
|
|
3367
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3368
|
+
$slots: {
|
|
3369
|
+
[x: string]: never;
|
|
3370
|
+
} & {
|
|
3371
|
+
default?: (...args: never[]) => unknown;
|
|
3372
|
+
};
|
|
3373
|
+
});
|
|
3374
|
+
export declare type UiTableFooterSectionProperties = Record<string, never>;
|
|
3375
|
+
export declare const UiTableHeadCell: {
|
|
3376
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTableHeadCellProperties>>>, {
|
|
3377
|
+
[x: string]: unknown;
|
|
3378
|
+
}, {
|
|
3379
|
+
[x: string]: never;
|
|
3380
|
+
}, {
|
|
3381
|
+
[x: string]: never;
|
|
3382
|
+
}, MethodOptions, {
|
|
3383
|
+
[x: string]: never;
|
|
3384
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3385
|
+
P: {};
|
|
3386
|
+
B: {};
|
|
3387
|
+
D: {};
|
|
3388
|
+
C: ComputedOptions;
|
|
3389
|
+
M: MethodOptions;
|
|
3390
|
+
Defaults: {};
|
|
3391
|
+
} & {
|
|
3392
|
+
P: {};
|
|
3393
|
+
B: {};
|
|
3394
|
+
D: {};
|
|
3395
|
+
C: {};
|
|
3396
|
+
M: {};
|
|
3397
|
+
Defaults: {};
|
|
3398
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTableHeadCellProperties>>>, {
|
|
3399
|
+
[x: string]: unknown;
|
|
3400
|
+
}, {
|
|
3401
|
+
[x: string]: never;
|
|
3402
|
+
}, ComputedOptions & {
|
|
3403
|
+
[x: string]: never;
|
|
3404
|
+
}, MethodOptions, {}>;
|
|
3405
|
+
__isFragment?: never;
|
|
3406
|
+
__isTeleport?: never;
|
|
3407
|
+
__isSuspense?: never;
|
|
3408
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTableHeadCellProperties>>>, {
|
|
3409
|
+
[x: string]: unknown;
|
|
3410
|
+
}, {
|
|
3411
|
+
[x: string]: never;
|
|
3412
|
+
}, {
|
|
3413
|
+
[x: string]: never;
|
|
3414
|
+
}, MethodOptions, {
|
|
3415
|
+
[x: string]: never;
|
|
3416
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3417
|
+
$slots: {
|
|
3418
|
+
[x: string]: never;
|
|
3419
|
+
} & {
|
|
3420
|
+
default?: (...args: never[]) => unknown;
|
|
3421
|
+
};
|
|
3422
|
+
});
|
|
3423
|
+
export declare type UiTableHeadCellProperties = {
|
|
3424
|
+
align?: ALIGN | `${ALIGN}`;
|
|
3425
|
+
trim?: boolean;
|
|
3426
|
+
};
|
|
3427
|
+
export declare type UiTableMethods<RowKeyValue extends RowKey = RowKey> = {
|
|
3428
|
+
resetExpanded(): void;
|
|
3429
|
+
expand(key: RowKeyValue): void;
|
|
3430
|
+
collapse(key: RowKeyValue): void;
|
|
3431
|
+
toggle(key: RowKeyValue): void;
|
|
3432
|
+
};
|
|
3433
|
+
export declare type UiTableProperties<T, GroupData = undefined> = {
|
|
3434
|
+
rows: readonly T[];
|
|
3435
|
+
rowKey?: keyof T | RowKeyGetter<T>;
|
|
3436
|
+
headless?: boolean;
|
|
3437
|
+
bordered?: boolean;
|
|
3438
|
+
fixed?: boolean;
|
|
3439
|
+
rowClass?: CssClass | RowClassGetter<T>;
|
|
3440
|
+
rowAttrs?: RowAttrsGetter<T>;
|
|
3441
|
+
groupBy?: GroupBy<T, GroupData>;
|
|
3442
|
+
groupHeadClass?: CssClass;
|
|
3443
|
+
groupBodyClass?: CssClass;
|
|
3444
|
+
};
|
|
3445
|
+
export declare type UiTableRootProperties = {
|
|
3446
|
+
bordered?: boolean;
|
|
3447
|
+
fixed?: boolean;
|
|
3448
|
+
};
|
|
3449
|
+
export declare type UiTableRowProperties = {
|
|
3450
|
+
interactive?: boolean;
|
|
3451
|
+
expanded?: boolean;
|
|
3452
|
+
};
|
|
3453
|
+
export declare type UiTableSectionKind = 'head' | 'body' | 'foot';
|
|
3454
|
+
export declare type UiTableSectionProperties = {
|
|
3455
|
+
kind?: UiTableSectionKind;
|
|
3456
|
+
};
|
|
3457
|
+
export declare type UiTableSlots<T, GroupData = undefined> = {
|
|
3458
|
+
default?: () => unknown;
|
|
3459
|
+
expand?: (props: RowRendererArgs<T>) => unknown;
|
|
3460
|
+
footer?: (props: DataForFooter<T, GroupData>) => unknown;
|
|
3461
|
+
'footer-summary'?: (props: DataForFooter<T, GroupData>) => unknown;
|
|
3462
|
+
'footer-page-size'?: (props: DataForFooter<T, GroupData>) => unknown;
|
|
3463
|
+
'footer-export'?: (props: DataForFooter<T, GroupData>) => unknown;
|
|
3464
|
+
'footer-pagination'?: (props: DataForFooter<T, GroupData>) => unknown;
|
|
3465
|
+
'group-head'?: (props: DataForGroupHead<T, GroupData>) => unknown;
|
|
3466
|
+
empty?: () => unknown;
|
|
3467
|
+
};
|
|
3468
|
+
export declare const UiTableSorter: {
|
|
3469
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTableSorterProperties>>>, {
|
|
3470
|
+
[x: string]: unknown;
|
|
3471
|
+
}, {
|
|
3472
|
+
[x: string]: never;
|
|
3473
|
+
}, {
|
|
3474
|
+
[x: string]: never;
|
|
3475
|
+
}, MethodOptions, {
|
|
3476
|
+
click: (event: SerializedEvent) => boolean;
|
|
3477
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3478
|
+
P: {};
|
|
3479
|
+
B: {};
|
|
3480
|
+
D: {};
|
|
3481
|
+
C: ComputedOptions;
|
|
3482
|
+
M: MethodOptions;
|
|
3483
|
+
Defaults: {};
|
|
3484
|
+
} & {
|
|
3485
|
+
P: {};
|
|
3486
|
+
B: {};
|
|
3487
|
+
D: {};
|
|
3488
|
+
C: {};
|
|
3489
|
+
M: {};
|
|
3490
|
+
Defaults: {};
|
|
3491
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTableSorterProperties>>>, {
|
|
3492
|
+
[x: string]: unknown;
|
|
3493
|
+
}, {
|
|
3494
|
+
[x: string]: never;
|
|
3495
|
+
}, ComputedOptions & {
|
|
3496
|
+
[x: string]: never;
|
|
3497
|
+
}, MethodOptions, {}>;
|
|
3498
|
+
__isFragment?: never;
|
|
3499
|
+
__isTeleport?: never;
|
|
3500
|
+
__isSuspense?: never;
|
|
3501
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTableSorterProperties>>>, {
|
|
3502
|
+
[x: string]: unknown;
|
|
3503
|
+
}, {
|
|
3504
|
+
[x: string]: never;
|
|
3505
|
+
}, {
|
|
3506
|
+
[x: string]: never;
|
|
3507
|
+
}, MethodOptions, {
|
|
3508
|
+
click: (event: SerializedEvent) => boolean;
|
|
3509
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3510
|
+
$slots: {
|
|
3511
|
+
[x: string]: never;
|
|
3512
|
+
} & {
|
|
3513
|
+
default?: (...args: never[]) => unknown;
|
|
3514
|
+
};
|
|
3515
|
+
});
|
|
3516
|
+
export declare type UiTableSorterProperties = {
|
|
3517
|
+
direction?: DIRECTION | `${DIRECTION}` | null;
|
|
3518
|
+
};
|
|
2739
3519
|
export declare const UiTag: {
|
|
2740
3520
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTagProperties>>>, {
|
|
2741
3521
|
[x: string]: unknown;
|
|
@@ -2807,7 +3587,16 @@ export declare const UiTextbox: {
|
|
|
2807
3587
|
[x: string]: never;
|
|
2808
3588
|
}, {
|
|
2809
3589
|
[x: string]: never;
|
|
2810
|
-
},
|
|
3590
|
+
}, {
|
|
3591
|
+
getSelectionStart: () => Promise<number | null>;
|
|
3592
|
+
getSelectionEnd: () => Promise<number | null>;
|
|
3593
|
+
setSelectionRange: (start: number, end: number) => Promise<void>;
|
|
3594
|
+
focus: () => Promise<void>;
|
|
3595
|
+
blur: () => Promise<void>;
|
|
3596
|
+
select: () => Promise<void>;
|
|
3597
|
+
insert: (value: string) => Promise<void>;
|
|
3598
|
+
clear: () => Promise<void>;
|
|
3599
|
+
}, {
|
|
2811
3600
|
input: (event: SerializedInputEvent) => boolean;
|
|
2812
3601
|
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
2813
3602
|
paste: (event: SerializedEvent) => boolean;
|
|
@@ -2837,7 +3626,16 @@ export declare const UiTextbox: {
|
|
|
2837
3626
|
[x: string]: never;
|
|
2838
3627
|
}, ComputedOptions & {
|
|
2839
3628
|
[x: string]: never;
|
|
2840
|
-
}, MethodOptions
|
|
3629
|
+
}, MethodOptions & {
|
|
3630
|
+
getSelectionStart: () => Promise<number | null>;
|
|
3631
|
+
getSelectionEnd: () => Promise<number | null>;
|
|
3632
|
+
setSelectionRange: (start: number, end: number) => Promise<void>;
|
|
3633
|
+
focus: () => Promise<void>;
|
|
3634
|
+
blur: () => Promise<void>;
|
|
3635
|
+
select: () => Promise<void>;
|
|
3636
|
+
insert: (value: string) => Promise<void>;
|
|
3637
|
+
clear: () => Promise<void>;
|
|
3638
|
+
}, {}>;
|
|
2841
3639
|
__isFragment?: never;
|
|
2842
3640
|
__isTeleport?: never;
|
|
2843
3641
|
__isSuspense?: never;
|
|
@@ -2847,7 +3645,16 @@ export declare const UiTextbox: {
|
|
|
2847
3645
|
[x: string]: never;
|
|
2848
3646
|
}, {
|
|
2849
3647
|
[x: string]: never;
|
|
2850
|
-
},
|
|
3648
|
+
}, {
|
|
3649
|
+
getSelectionStart: () => Promise<number | null>;
|
|
3650
|
+
getSelectionEnd: () => Promise<number | null>;
|
|
3651
|
+
setSelectionRange: (start: number, end: number) => Promise<void>;
|
|
3652
|
+
focus: () => Promise<void>;
|
|
3653
|
+
blur: () => Promise<void>;
|
|
3654
|
+
select: () => Promise<void>;
|
|
3655
|
+
insert: (value: string) => Promise<void>;
|
|
3656
|
+
clear: () => Promise<void>;
|
|
3657
|
+
}, {
|
|
2851
3658
|
input: (event: SerializedInputEvent) => boolean;
|
|
2852
3659
|
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
2853
3660
|
paste: (event: SerializedEvent) => boolean;
|
|
@@ -2914,7 +3721,11 @@ export declare const UiTimePicker: {
|
|
|
2914
3721
|
[x: string]: never;
|
|
2915
3722
|
}, {
|
|
2916
3723
|
[x: string]: never;
|
|
2917
|
-
},
|
|
3724
|
+
}, {
|
|
3725
|
+
open: () => Promise<void>;
|
|
3726
|
+
close: () => Promise<void>;
|
|
3727
|
+
focus: () => Promise<void>;
|
|
3728
|
+
}, {
|
|
2918
3729
|
change: (value: string) => boolean;
|
|
2919
3730
|
'update:value': (value: string) => boolean;
|
|
2920
3731
|
focus: (event: FocusEvent) => boolean;
|
|
@@ -2939,7 +3750,11 @@ export declare const UiTimePicker: {
|
|
|
2939
3750
|
[x: string]: never;
|
|
2940
3751
|
}, ComputedOptions & {
|
|
2941
3752
|
[x: string]: never;
|
|
2942
|
-
}, MethodOptions
|
|
3753
|
+
}, MethodOptions & {
|
|
3754
|
+
open: () => Promise<void>;
|
|
3755
|
+
close: () => Promise<void>;
|
|
3756
|
+
focus: () => Promise<void>;
|
|
3757
|
+
}, {}>;
|
|
2943
3758
|
__isFragment?: never;
|
|
2944
3759
|
__isTeleport?: never;
|
|
2945
3760
|
__isSuspense?: never;
|
|
@@ -2949,7 +3764,11 @@ export declare const UiTimePicker: {
|
|
|
2949
3764
|
[x: string]: never;
|
|
2950
3765
|
}, {
|
|
2951
3766
|
[x: string]: never;
|
|
2952
|
-
},
|
|
3767
|
+
}, {
|
|
3768
|
+
open: () => Promise<void>;
|
|
3769
|
+
close: () => Promise<void>;
|
|
3770
|
+
focus: () => Promise<void>;
|
|
3771
|
+
}, {
|
|
2953
3772
|
change: (value: string) => boolean;
|
|
2954
3773
|
'update:value': (value: string) => boolean;
|
|
2955
3774
|
focus: (event: FocusEvent) => boolean;
|
|
@@ -3249,6 +4068,11 @@ export declare const usePreview: (workers?: Ref<string[]>) => {
|
|
|
3249
4068
|
workers: Ref<string[], string[]>;
|
|
3250
4069
|
preview: (url: string, resize?: Dimensions | undefined, crop?: Dimensions | undefined) => string;
|
|
3251
4070
|
};
|
|
4071
|
+
export declare enum VALIGN {
|
|
4072
|
+
TOP = "top",
|
|
4073
|
+
MIDDLE = "middle",
|
|
4074
|
+
BOTTOM = "bottom"
|
|
4075
|
+
}
|
|
3252
4076
|
declare enum VARIANT {
|
|
3253
4077
|
PRIMARY = "primary",
|
|
3254
4078
|
WARNING = "warning",
|