prlg-ui 1.8.311 → 1.8.313
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/Image-A6kr2Mp0.js +200 -0
- package/dist/Image-MDiNezjY.cjs +1 -0
- package/dist/blocks/index.cjs.js +1 -1
- package/dist/blocks/index.es.js +74 -74
- package/dist/{dayjs.util-DVNMZ0pw.cjs → dayjs.util-BwrUD5bd.cjs} +1 -1
- package/dist/{dayjs.util-DSjkslnJ.js → dayjs.util-CjzwpJrv.js} +1 -1
- package/dist/eventBus.util-DHkO4j-V.cjs +1 -0
- package/dist/{eventBus.util-msbJpg6N.js → eventBus.util-DjOylFpN.js} +24 -24
- package/dist/{index-NJFcTcwk.js → index-BPZa5uFL.js} +6 -26
- package/dist/{index-Bart793F.cjs → index-DAoqDSY3.cjs} +2 -20
- package/dist/parseFileSize.util-B7mr_w32.js +639 -0
- package/dist/parseFileSize.util-DgxaYqGV.cjs +1 -0
- package/dist/prlg-ui.cjs.js +1 -1
- package/dist/prlg-ui.css +1 -1
- package/dist/prlg-ui.es.js +2765 -2765
- package/dist/reka-ui/index.cjs.js +5 -5
- package/dist/reka-ui/index.es.js +2708 -2705
- package/dist/rekaUI.d.ts +433 -5
- package/dist/{uploadFile.util-CaG3C2Ri.js → uploadFile.util-COEVam78.js} +1 -1
- package/dist/{uploadFile.util-C-KPiLD9.cjs → uploadFile.util-DAZ85cUN.cjs} +1 -1
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.es.js +4 -4
- package/package.json +1 -1
- package/dist/Image-bZf6ZaIG.js +0 -200
- package/dist/Image-kzSjYHy-.cjs +0 -1
- package/dist/eventBus.util-K9Yq6hZm.cjs +0 -1
- package/dist/fonts/Inter/.DS_Store +0 -0
- package/dist/parseFileSize.util-BAG-MLFl.js +0 -756
- package/dist/parseFileSize.util-zKz6zjwq.cjs +0 -1
package/dist/rekaUI.d.ts
CHANGED
|
@@ -189,10 +189,12 @@ import { SelectSeparatorProps } from 'reka-ui';
|
|
|
189
189
|
import { SelectTriggerProps } from 'reka-ui';
|
|
190
190
|
import { SelectValueProps } from 'reka-ui';
|
|
191
191
|
import { SelectViewportProps } from 'reka-ui';
|
|
192
|
+
import { ShallowRef } from 'vue';
|
|
192
193
|
import { ShallowUnwrapRef } from 'vue';
|
|
193
194
|
import { Slot } from 'vue';
|
|
194
195
|
import { SortingState } from '@tanstack/vue-table';
|
|
195
196
|
import { StepperItemProps } from 'reka-ui';
|
|
197
|
+
import { StepperRoot as StepperRoot_2 } from 'reka-ui';
|
|
196
198
|
import { StepperRootProps } from 'reka-ui';
|
|
197
199
|
import { SwitchRootProps } from 'reka-ui';
|
|
198
200
|
import { SwitchThumbProps } from 'reka-ui';
|
|
@@ -221,6 +223,7 @@ import { VNodeProps } from 'vue';
|
|
|
221
223
|
import { WatchCallback } from 'vue';
|
|
222
224
|
import { WatchOptions } from 'vue';
|
|
223
225
|
import { WatchStopHandle } from 'vue';
|
|
226
|
+
import { WritableComputedRef } from 'vue';
|
|
224
227
|
import { ZonedDateTime } from '@internationalized/date';
|
|
225
228
|
|
|
226
229
|
declare const __VLS_component: DefineComponent<IAccordionContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -755,11 +758,265 @@ declare const __VLS_component_77: DefineComponent<SelectViewportProps, {}, {}, {
|
|
|
755
758
|
|
|
756
759
|
declare const __VLS_component_78: DefineComponent<StepperItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<StepperItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
757
760
|
|
|
758
|
-
declare const __VLS_component_79: DefineComponent<StepperRootProps, {
|
|
761
|
+
declare const __VLS_component_79: DefineComponent<StepperRootProps, {
|
|
762
|
+
$el: Readonly<ShallowRef<({
|
|
763
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<StepperRootProps> & Readonly<{
|
|
764
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
765
|
+
}>, {
|
|
766
|
+
goToStep: (step: number) => void;
|
|
767
|
+
nextStep: () => void;
|
|
768
|
+
prevStep: () => void;
|
|
769
|
+
modelValue: WritableComputedRef<number | undefined, number | undefined>;
|
|
770
|
+
totalSteps: ComputedRef<number>;
|
|
771
|
+
isNextDisabled: ComputedRef<boolean>;
|
|
772
|
+
isPrevDisabled: ComputedRef<boolean>;
|
|
773
|
+
isFirstStep: ComputedRef<boolean>;
|
|
774
|
+
isLastStep: ComputedRef<boolean>;
|
|
775
|
+
hasNext: () => boolean;
|
|
776
|
+
hasPrev: () => boolean;
|
|
777
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
778
|
+
"update:modelValue": (payload: number | undefined) => any;
|
|
779
|
+
}, PublicProps, {
|
|
780
|
+
orientation: "horizontal" | "vertical";
|
|
781
|
+
defaultValue: number;
|
|
782
|
+
linear: boolean;
|
|
783
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
784
|
+
P: {};
|
|
785
|
+
B: {};
|
|
786
|
+
D: {};
|
|
787
|
+
C: {};
|
|
788
|
+
M: {};
|
|
789
|
+
Defaults: {};
|
|
790
|
+
}, Readonly<StepperRootProps> & Readonly<{
|
|
791
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
792
|
+
}>, {
|
|
793
|
+
goToStep: (step: number) => void;
|
|
794
|
+
nextStep: () => void;
|
|
795
|
+
prevStep: () => void;
|
|
796
|
+
modelValue: WritableComputedRef<number | undefined, number | undefined>;
|
|
797
|
+
totalSteps: ComputedRef<number>;
|
|
798
|
+
isNextDisabled: ComputedRef<boolean>;
|
|
799
|
+
isPrevDisabled: ComputedRef<boolean>;
|
|
800
|
+
isFirstStep: ComputedRef<boolean>;
|
|
801
|
+
isLastStep: ComputedRef<boolean>;
|
|
802
|
+
hasNext: () => boolean;
|
|
803
|
+
hasPrev: () => boolean;
|
|
804
|
+
}, {}, {}, {}, {
|
|
805
|
+
orientation: "horizontal" | "vertical";
|
|
806
|
+
defaultValue: number;
|
|
807
|
+
linear: boolean;
|
|
808
|
+
}>;
|
|
809
|
+
__isFragment?: never;
|
|
810
|
+
__isTeleport?: never;
|
|
811
|
+
__isSuspense?: never;
|
|
812
|
+
} & ComponentOptionsBase<Readonly<StepperRootProps> & Readonly<{
|
|
813
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
814
|
+
}>, {
|
|
815
|
+
goToStep: (step: number) => void;
|
|
816
|
+
nextStep: () => void;
|
|
817
|
+
prevStep: () => void;
|
|
818
|
+
modelValue: WritableComputedRef<number | undefined, number | undefined>;
|
|
819
|
+
totalSteps: ComputedRef<number>;
|
|
820
|
+
isNextDisabled: ComputedRef<boolean>;
|
|
821
|
+
isPrevDisabled: ComputedRef<boolean>;
|
|
822
|
+
isFirstStep: ComputedRef<boolean>;
|
|
823
|
+
isLastStep: ComputedRef<boolean>;
|
|
824
|
+
hasNext: () => boolean;
|
|
825
|
+
hasPrev: () => boolean;
|
|
826
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
827
|
+
"update:modelValue": (payload: number | undefined) => any;
|
|
828
|
+
}, string, {
|
|
829
|
+
orientation: "horizontal" | "vertical";
|
|
830
|
+
defaultValue: number;
|
|
831
|
+
linear: boolean;
|
|
832
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
833
|
+
$slots: {
|
|
834
|
+
default?: (props: {
|
|
835
|
+
modelValue: number | undefined;
|
|
836
|
+
totalSteps: number;
|
|
837
|
+
isNextDisabled: boolean;
|
|
838
|
+
isPrevDisabled: boolean;
|
|
839
|
+
isFirstStep: boolean;
|
|
840
|
+
isLastStep: boolean;
|
|
841
|
+
goToStep: (step: number) => void;
|
|
842
|
+
nextStep: () => void;
|
|
843
|
+
prevStep: () => void;
|
|
844
|
+
hasNext: () => boolean;
|
|
845
|
+
hasPrev: () => boolean;
|
|
846
|
+
}) => any;
|
|
847
|
+
};
|
|
848
|
+
})) | null>>;
|
|
849
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
759
850
|
"update:modelValue": (payload: number | undefined) => any;
|
|
760
851
|
}, string, PublicProps, Readonly<StepperRootProps> & Readonly<{
|
|
761
852
|
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
762
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
853
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
854
|
+
stepper: ({
|
|
855
|
+
$: ComponentInternalInstance;
|
|
856
|
+
$data: {};
|
|
857
|
+
$props: {
|
|
858
|
+
readonly defaultValue?: number | undefined;
|
|
859
|
+
readonly orientation?: ("horizontal" | "vertical") | undefined;
|
|
860
|
+
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
861
|
+
readonly modelValue?: number | undefined;
|
|
862
|
+
readonly linear?: boolean | undefined;
|
|
863
|
+
readonly asChild?: boolean | undefined;
|
|
864
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
865
|
+
readonly "onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
866
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
867
|
+
$attrs: {
|
|
868
|
+
[x: string]: unknown;
|
|
869
|
+
};
|
|
870
|
+
$refs: {
|
|
871
|
+
[x: string]: unknown;
|
|
872
|
+
};
|
|
873
|
+
$slots: Readonly<{
|
|
874
|
+
[name: string]: Slot<any> | undefined;
|
|
875
|
+
}>;
|
|
876
|
+
$root: ComponentPublicInstance | null;
|
|
877
|
+
$parent: ComponentPublicInstance | null;
|
|
878
|
+
$host: Element | null;
|
|
879
|
+
$emit: (event: "update:modelValue", payload: number | undefined) => void;
|
|
880
|
+
$el: any;
|
|
881
|
+
$options: ComponentOptionsBase<Readonly<StepperRootProps> & Readonly<{
|
|
882
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
883
|
+
}>, {
|
|
884
|
+
StepperRoot: typeof StepperRoot_2;
|
|
885
|
+
forwared: typeof forwared_2;
|
|
886
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
887
|
+
"update:modelValue": (payload: number | undefined) => any;
|
|
888
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
889
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
890
|
+
created?: (() => void) | (() => void)[];
|
|
891
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
892
|
+
mounted?: (() => void) | (() => void)[];
|
|
893
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
894
|
+
updated?: (() => void) | (() => void)[];
|
|
895
|
+
activated?: (() => void) | (() => void)[];
|
|
896
|
+
deactivated?: (() => void) | (() => void)[];
|
|
897
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
898
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
899
|
+
destroyed?: (() => void) | (() => void)[];
|
|
900
|
+
unmounted?: (() => void) | (() => void)[];
|
|
901
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
902
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
903
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
904
|
+
};
|
|
905
|
+
$forceUpdate: () => void;
|
|
906
|
+
$nextTick: nextTick;
|
|
907
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
908
|
+
} & Readonly<{}> & Omit<Readonly<StepperRootProps> & Readonly<{
|
|
909
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
910
|
+
}>, "forwared" | "StepperRoot"> & ShallowUnwrapRef< {
|
|
911
|
+
StepperRoot: typeof StepperRoot_2;
|
|
912
|
+
forwared: typeof forwared_2;
|
|
913
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
914
|
+
$slots: {
|
|
915
|
+
default?(_: {}): any;
|
|
916
|
+
};
|
|
917
|
+
} & {
|
|
918
|
+
$: ComponentInternalInstance;
|
|
919
|
+
$data: {};
|
|
920
|
+
$props: {
|
|
921
|
+
readonly defaultValue?: number | undefined;
|
|
922
|
+
readonly orientation?: ("horizontal" | "vertical") | undefined;
|
|
923
|
+
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
924
|
+
readonly modelValue?: number | undefined;
|
|
925
|
+
readonly linear?: boolean | undefined;
|
|
926
|
+
readonly asChild?: boolean | undefined;
|
|
927
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
928
|
+
readonly "onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined | undefined;
|
|
929
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
930
|
+
$attrs: {
|
|
931
|
+
[x: string]: unknown;
|
|
932
|
+
};
|
|
933
|
+
$refs: {
|
|
934
|
+
[x: string]: unknown;
|
|
935
|
+
};
|
|
936
|
+
$slots: Readonly<{
|
|
937
|
+
[name: string]: Slot<any> | undefined;
|
|
938
|
+
}>;
|
|
939
|
+
$root: ComponentPublicInstance | null;
|
|
940
|
+
$parent: ComponentPublicInstance | null;
|
|
941
|
+
$host: Element | null;
|
|
942
|
+
$emit: (event: "update:modelValue", payload: number | undefined) => void;
|
|
943
|
+
$el: any;
|
|
944
|
+
$options: ComponentOptionsBase<Readonly<StepperRootProps> & Readonly<{
|
|
945
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
946
|
+
}>, {
|
|
947
|
+
goToStep: (step: number) => void;
|
|
948
|
+
nextStep: () => void;
|
|
949
|
+
prevStep: () => void;
|
|
950
|
+
modelValue: WritableComputedRef<number | undefined, number | undefined>;
|
|
951
|
+
totalSteps: ComputedRef<number>;
|
|
952
|
+
isNextDisabled: ComputedRef<boolean>;
|
|
953
|
+
isPrevDisabled: ComputedRef<boolean>;
|
|
954
|
+
isFirstStep: ComputedRef<boolean>;
|
|
955
|
+
isLastStep: ComputedRef<boolean>;
|
|
956
|
+
hasNext: () => boolean;
|
|
957
|
+
hasPrev: () => boolean;
|
|
958
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
959
|
+
"update:modelValue": (payload: number | undefined) => any;
|
|
960
|
+
}, string, {
|
|
961
|
+
orientation: "horizontal" | "vertical";
|
|
962
|
+
defaultValue: number;
|
|
963
|
+
linear: boolean;
|
|
964
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
965
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
966
|
+
created?: (() => void) | (() => void)[];
|
|
967
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
968
|
+
mounted?: (() => void) | (() => void)[];
|
|
969
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
970
|
+
updated?: (() => void) | (() => void)[];
|
|
971
|
+
activated?: (() => void) | (() => void)[];
|
|
972
|
+
deactivated?: (() => void) | (() => void)[];
|
|
973
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
974
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
975
|
+
destroyed?: (() => void) | (() => void)[];
|
|
976
|
+
unmounted?: (() => void) | (() => void)[];
|
|
977
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
978
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
979
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
980
|
+
};
|
|
981
|
+
$forceUpdate: () => void;
|
|
982
|
+
$nextTick: nextTick;
|
|
983
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
984
|
+
} & Readonly<{
|
|
985
|
+
orientation: "horizontal" | "vertical";
|
|
986
|
+
defaultValue: number;
|
|
987
|
+
linear: boolean;
|
|
988
|
+
}> & Omit<Readonly<StepperRootProps> & Readonly<{
|
|
989
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
990
|
+
}>, "modelValue" | "linear" | "orientation" | "defaultValue" | "goToStep" | "nextStep" | "prevStep" | "totalSteps" | "isNextDisabled" | "isPrevDisabled" | "isFirstStep" | "isLastStep" | "hasNext" | "hasPrev"> & ShallowUnwrapRef< {
|
|
991
|
+
goToStep: (step: number) => void;
|
|
992
|
+
nextStep: () => void;
|
|
993
|
+
prevStep: () => void;
|
|
994
|
+
modelValue: WritableComputedRef<number | undefined, number | undefined>;
|
|
995
|
+
totalSteps: ComputedRef<number>;
|
|
996
|
+
isNextDisabled: ComputedRef<boolean>;
|
|
997
|
+
isPrevDisabled: ComputedRef<boolean>;
|
|
998
|
+
isFirstStep: ComputedRef<boolean>;
|
|
999
|
+
isLastStep: ComputedRef<boolean>;
|
|
1000
|
+
hasNext: () => boolean;
|
|
1001
|
+
hasPrev: () => boolean;
|
|
1002
|
+
}> & {
|
|
1003
|
+
$slots: {
|
|
1004
|
+
default?: (props: {
|
|
1005
|
+
modelValue: number | undefined;
|
|
1006
|
+
totalSteps: number;
|
|
1007
|
+
isNextDisabled: boolean;
|
|
1008
|
+
isPrevDisabled: boolean;
|
|
1009
|
+
isFirstStep: boolean;
|
|
1010
|
+
isLastStep: boolean;
|
|
1011
|
+
goToStep: (step: number) => void;
|
|
1012
|
+
nextStep: () => void;
|
|
1013
|
+
prevStep: () => void;
|
|
1014
|
+
hasNext: () => boolean;
|
|
1015
|
+
hasPrev: () => boolean;
|
|
1016
|
+
}) => any;
|
|
1017
|
+
};
|
|
1018
|
+
}) | null;
|
|
1019
|
+
}, any>;
|
|
763
1020
|
|
|
764
1021
|
declare const __VLS_component_8: DefineComponent<IAlertDialogContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IAlertDialogContentProps> & Readonly<{}>, {
|
|
765
1022
|
width: number;
|
|
@@ -1710,7 +1967,173 @@ declare function __VLS_template_79(): {
|
|
|
1710
1967
|
slots: {
|
|
1711
1968
|
default?(_: {}): any;
|
|
1712
1969
|
};
|
|
1713
|
-
refs: {
|
|
1970
|
+
refs: {
|
|
1971
|
+
stepper: ({
|
|
1972
|
+
$: ComponentInternalInstance;
|
|
1973
|
+
$data: {};
|
|
1974
|
+
$props: {
|
|
1975
|
+
readonly defaultValue?: number | undefined;
|
|
1976
|
+
readonly orientation?: ("horizontal" | "vertical") | undefined;
|
|
1977
|
+
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
1978
|
+
readonly modelValue?: number | undefined;
|
|
1979
|
+
readonly linear?: boolean | undefined;
|
|
1980
|
+
readonly asChild?: boolean | undefined;
|
|
1981
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
1982
|
+
readonly "onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
1983
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1984
|
+
$attrs: {
|
|
1985
|
+
[x: string]: unknown;
|
|
1986
|
+
};
|
|
1987
|
+
$refs: {
|
|
1988
|
+
[x: string]: unknown;
|
|
1989
|
+
};
|
|
1990
|
+
$slots: Readonly<{
|
|
1991
|
+
[name: string]: Slot<any> | undefined;
|
|
1992
|
+
}>;
|
|
1993
|
+
$root: ComponentPublicInstance | null;
|
|
1994
|
+
$parent: ComponentPublicInstance | null;
|
|
1995
|
+
$host: Element | null;
|
|
1996
|
+
$emit: (event: "update:modelValue", payload: number | undefined) => void;
|
|
1997
|
+
$el: any;
|
|
1998
|
+
$options: ComponentOptionsBase<Readonly<StepperRootProps> & Readonly<{
|
|
1999
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
2000
|
+
}>, {
|
|
2001
|
+
StepperRoot: typeof StepperRoot_2;
|
|
2002
|
+
forwared: typeof forwared_2;
|
|
2003
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2004
|
+
"update:modelValue": (payload: number | undefined) => any;
|
|
2005
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2006
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2007
|
+
created?: (() => void) | (() => void)[];
|
|
2008
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2009
|
+
mounted?: (() => void) | (() => void)[];
|
|
2010
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2011
|
+
updated?: (() => void) | (() => void)[];
|
|
2012
|
+
activated?: (() => void) | (() => void)[];
|
|
2013
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2014
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2015
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2016
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2017
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2018
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2019
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2020
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2021
|
+
};
|
|
2022
|
+
$forceUpdate: () => void;
|
|
2023
|
+
$nextTick: nextTick;
|
|
2024
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2025
|
+
} & Readonly<{}> & Omit<Readonly<StepperRootProps> & Readonly<{
|
|
2026
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
2027
|
+
}>, "forwared" | "StepperRoot"> & ShallowUnwrapRef< {
|
|
2028
|
+
StepperRoot: typeof StepperRoot_2;
|
|
2029
|
+
forwared: typeof forwared_2;
|
|
2030
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
2031
|
+
$slots: {
|
|
2032
|
+
default?(_: {}): any;
|
|
2033
|
+
};
|
|
2034
|
+
} & {
|
|
2035
|
+
$: ComponentInternalInstance;
|
|
2036
|
+
$data: {};
|
|
2037
|
+
$props: {
|
|
2038
|
+
readonly defaultValue?: number | undefined;
|
|
2039
|
+
readonly orientation?: ("horizontal" | "vertical") | undefined;
|
|
2040
|
+
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
2041
|
+
readonly modelValue?: number | undefined;
|
|
2042
|
+
readonly linear?: boolean | undefined;
|
|
2043
|
+
readonly asChild?: boolean | undefined;
|
|
2044
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
2045
|
+
readonly "onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined | undefined;
|
|
2046
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
2047
|
+
$attrs: {
|
|
2048
|
+
[x: string]: unknown;
|
|
2049
|
+
};
|
|
2050
|
+
$refs: {
|
|
2051
|
+
[x: string]: unknown;
|
|
2052
|
+
};
|
|
2053
|
+
$slots: Readonly<{
|
|
2054
|
+
[name: string]: Slot<any> | undefined;
|
|
2055
|
+
}>;
|
|
2056
|
+
$root: ComponentPublicInstance | null;
|
|
2057
|
+
$parent: ComponentPublicInstance | null;
|
|
2058
|
+
$host: Element | null;
|
|
2059
|
+
$emit: (event: "update:modelValue", payload: number | undefined) => void;
|
|
2060
|
+
$el: any;
|
|
2061
|
+
$options: ComponentOptionsBase<Readonly<StepperRootProps> & Readonly<{
|
|
2062
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
2063
|
+
}>, {
|
|
2064
|
+
goToStep: (step: number) => void;
|
|
2065
|
+
nextStep: () => void;
|
|
2066
|
+
prevStep: () => void;
|
|
2067
|
+
modelValue: WritableComputedRef<number | undefined, number | undefined>;
|
|
2068
|
+
totalSteps: ComputedRef<number>;
|
|
2069
|
+
isNextDisabled: ComputedRef<boolean>;
|
|
2070
|
+
isPrevDisabled: ComputedRef<boolean>;
|
|
2071
|
+
isFirstStep: ComputedRef<boolean>;
|
|
2072
|
+
isLastStep: ComputedRef<boolean>;
|
|
2073
|
+
hasNext: () => boolean;
|
|
2074
|
+
hasPrev: () => boolean;
|
|
2075
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2076
|
+
"update:modelValue": (payload: number | undefined) => any;
|
|
2077
|
+
}, string, {
|
|
2078
|
+
orientation: "horizontal" | "vertical";
|
|
2079
|
+
defaultValue: number;
|
|
2080
|
+
linear: boolean;
|
|
2081
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2082
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2083
|
+
created?: (() => void) | (() => void)[];
|
|
2084
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2085
|
+
mounted?: (() => void) | (() => void)[];
|
|
2086
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2087
|
+
updated?: (() => void) | (() => void)[];
|
|
2088
|
+
activated?: (() => void) | (() => void)[];
|
|
2089
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2090
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2091
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2092
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2093
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2094
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2095
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2096
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2097
|
+
};
|
|
2098
|
+
$forceUpdate: () => void;
|
|
2099
|
+
$nextTick: nextTick;
|
|
2100
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2101
|
+
} & Readonly<{
|
|
2102
|
+
orientation: "horizontal" | "vertical";
|
|
2103
|
+
defaultValue: number;
|
|
2104
|
+
linear: boolean;
|
|
2105
|
+
}> & Omit<Readonly<StepperRootProps> & Readonly<{
|
|
2106
|
+
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
2107
|
+
}>, "modelValue" | "linear" | "orientation" | "defaultValue" | "goToStep" | "nextStep" | "prevStep" | "totalSteps" | "isNextDisabled" | "isPrevDisabled" | "isFirstStep" | "isLastStep" | "hasNext" | "hasPrev"> & ShallowUnwrapRef< {
|
|
2108
|
+
goToStep: (step: number) => void;
|
|
2109
|
+
nextStep: () => void;
|
|
2110
|
+
prevStep: () => void;
|
|
2111
|
+
modelValue: WritableComputedRef<number | undefined, number | undefined>;
|
|
2112
|
+
totalSteps: ComputedRef<number>;
|
|
2113
|
+
isNextDisabled: ComputedRef<boolean>;
|
|
2114
|
+
isPrevDisabled: ComputedRef<boolean>;
|
|
2115
|
+
isFirstStep: ComputedRef<boolean>;
|
|
2116
|
+
isLastStep: ComputedRef<boolean>;
|
|
2117
|
+
hasNext: () => boolean;
|
|
2118
|
+
hasPrev: () => boolean;
|
|
2119
|
+
}> & {
|
|
2120
|
+
$slots: {
|
|
2121
|
+
default?: (props: {
|
|
2122
|
+
modelValue: number | undefined;
|
|
2123
|
+
totalSteps: number;
|
|
2124
|
+
isNextDisabled: boolean;
|
|
2125
|
+
isPrevDisabled: boolean;
|
|
2126
|
+
isFirstStep: boolean;
|
|
2127
|
+
isLastStep: boolean;
|
|
2128
|
+
goToStep: (step: number) => void;
|
|
2129
|
+
nextStep: () => void;
|
|
2130
|
+
prevStep: () => void;
|
|
2131
|
+
hasNext: () => boolean;
|
|
2132
|
+
hasPrev: () => boolean;
|
|
2133
|
+
}) => any;
|
|
2134
|
+
};
|
|
2135
|
+
}) | null;
|
|
2136
|
+
};
|
|
1714
2137
|
rootEl: any;
|
|
1715
2138
|
};
|
|
1716
2139
|
|
|
@@ -2726,6 +3149,11 @@ readonly maxHeight: string | number;
|
|
|
2726
3149
|
readonly asChild: boolean;
|
|
2727
3150
|
}>;
|
|
2728
3151
|
|
|
3152
|
+
declare const forwared_2: ComputedRef<Readonly<LooseRequired<StepperRootProps>> & {
|
|
3153
|
+
readonly linear: boolean;
|
|
3154
|
+
readonly asChild: boolean;
|
|
3155
|
+
} & Record<string, any>>;
|
|
3156
|
+
|
|
2729
3157
|
declare const height: ComputedRef<string>;
|
|
2730
3158
|
|
|
2731
3159
|
declare interface IAccordionContentProps {
|
|
@@ -3414,7 +3842,7 @@ export declare function useToast(): {
|
|
|
3414
3842
|
template?: string | object | undefined;
|
|
3415
3843
|
render?: Function | undefined;
|
|
3416
3844
|
components?: Record<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>> | undefined;
|
|
3417
|
-
directives?: Record<string, Directive<any, any, string,
|
|
3845
|
+
directives?: Record<string, Directive<any, any, string, any>> | undefined;
|
|
3418
3846
|
inheritAttrs?: boolean | undefined;
|
|
3419
3847
|
emits?: any;
|
|
3420
3848
|
slots?: {} | undefined;
|
|
@@ -3539,7 +3967,7 @@ export declare function useToast(): {
|
|
|
3539
3967
|
template?: string | object | undefined;
|
|
3540
3968
|
render?: Function | undefined;
|
|
3541
3969
|
components?: Record<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>> | undefined;
|
|
3542
|
-
directives?: Record<string, Directive<any, any, string,
|
|
3970
|
+
directives?: Record<string, Directive<any, any, string, any>> | undefined;
|
|
3543
3971
|
inheritAttrs?: boolean | undefined;
|
|
3544
3972
|
emits?: any;
|
|
3545
3973
|
slots?: {} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const p=require("./parseFileSize.util-
|
|
1
|
+
"use strict";const p=require("./parseFileSize.util-DgxaYqGV.cjs");function g(e){if(!e)return;const r=Array.isArray(e)?e:[e],n={image:["image/*"],pdf:["application/pdf"],excel:["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],word:["application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],all:["*/*"]};return r.flatMap(t=>n[t]||[]).join(",")}function h(e={}){return new Promise((r,n)=>{const t=document.createElement("input");t.type="file",t.style.display="none",e.multiple&&e.maxFiles&&e.maxFiles>1&&(t.multiple=!0);const m=g(e.accept);m&&(t.accept=m),t.addEventListener("change",async d=>{const c=d.target;let a=[];if(c.files&&c.files.length>0&&(a=Array.from(c.files),e.maxFiles&&a.length>e.maxFiles&&(a=a.slice(0,e.maxFiles)),e.maxFileSize)){const i=p.parseFileSize(e.maxFileSize);a=a.filter(s=>s.size<=i)}if(document.body.removeChild(t),"url"in e&&e.url){if(a.length===0){r([]);return}try{const i=new FormData,s=e.fieldName??(a.length>1?"files":"file");for(const u of a)i.append(s,u);const l=await fetch(e.url,{method:"POST",body:i,headers:e.headers,credentials:e.withCredentials?"include":"same-origin"});if(!l.ok)throw new Error(`Upload failed: ${l.status} ${l.statusText}`);const o=await l.json();r(o)}catch(i){n(i)}return}const f=a.map(i=>({id:crypto.randomUUID(),url:URL.createObjectURL(i),name:i.name,mime:i.type,size:i.size}));r(f)}),document.body.appendChild(t),t.click()})}exports.openFileDialog=h;
|