@profitliga/ui 1.2.73 → 1.2.75
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/components/BottomSheet/BottomSheet.vue.d.ts +4 -4
- package/dist/components/InputText/InputText.vue.d.ts +2 -0
- package/dist/components/RangeCalendar/RangeCalendarRoot.vue.d.ts +1 -2
- package/dist/components/ScrollArea/ScrollAreaRoot.vue.d.ts +35 -15
- package/dist/components/Stepper/StepperRoot.vue.d.ts +29 -23
- package/dist/components/index.js +922 -921
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nextTick, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { nextTick, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
|
2
2
|
import { IDrawerCloseProps, IDialogContentProps } from '../Drawer/DrawerContent.vue';
|
|
3
3
|
import { AsTag, PointerDownOutsideEvent, FocusOutsideEvent } from 'reka-ui';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -94,7 +94,7 @@ declare function __VLS_template(): {
|
|
|
94
94
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
95
95
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
96
96
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
97
|
-
}>, "width" | "closeButton" | "position"> &
|
|
97
|
+
}>, "width" | "closeButton" | "position"> & {} & ComponentCustomProperties & {} & {
|
|
98
98
|
$slots: {
|
|
99
99
|
header?(_: {}): any;
|
|
100
100
|
default?(_: {}): any;
|
|
@@ -185,7 +185,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
|
|
|
185
185
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
186
186
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
187
187
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
188
|
-
}>, "width" | "closeButton" | "position"> &
|
|
188
|
+
}>, "width" | "closeButton" | "position"> & {} & ComponentCustomProperties & {} & {
|
|
189
189
|
$slots: {
|
|
190
190
|
header?(_: {}): any;
|
|
191
191
|
default?(_: {}): any;
|
|
@@ -276,7 +276,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
|
|
|
276
276
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
277
277
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
278
278
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
279
|
-
}>, "width" | "closeButton" | "position"> &
|
|
279
|
+
}>, "width" | "closeButton" | "position"> & {} & ComponentCustomProperties & {} & {
|
|
280
280
|
$slots: {
|
|
281
281
|
header?(_: {}): any;
|
|
282
282
|
default?(_: {}): any;
|
|
@@ -28,6 +28,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
|
|
|
28
28
|
blur: (value: FocusEvent) => any;
|
|
29
29
|
focus: (value: FocusEvent) => any;
|
|
30
30
|
paste: (value: ClipboardEvent) => any;
|
|
31
|
+
enter: (value: Event) => any;
|
|
31
32
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
32
33
|
onInput?: ((value: Event) => any) | undefined;
|
|
33
34
|
onClear?: (() => any) | undefined;
|
|
@@ -35,6 +36,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
|
|
|
35
36
|
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
36
37
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
37
38
|
onPaste?: ((value: ClipboardEvent) => any) | undefined;
|
|
39
|
+
onEnter?: ((value: Event) => any) | undefined;
|
|
38
40
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
39
41
|
inputRef: HTMLInputElement;
|
|
40
42
|
}, HTMLDivElement>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DateRange, RangeCalendarRootProps } from 'reka-ui';
|
|
2
|
-
import { DateValue } from '@internationalized/date';
|
|
1
|
+
import { DateRange, RangeCalendarRootProps, DateValue } from 'reka-ui';
|
|
3
2
|
import { Grid, WeekDayFormat } from 'reka-ui/date';
|
|
4
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
4
|
type __VLS_Props = RangeCalendarRootProps & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScrollAreaRoot, ScrollAreaRootProps, AsTag } from 'reka-ui';
|
|
2
|
-
import { ComputedRef, Component, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
2
|
+
import { ComputedRef, Component, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, Ref, DefineComponent, PublicProps } from 'vue';
|
|
3
3
|
import { OnCleanup } from '@vue/reactivity';
|
|
4
4
|
export interface IScrollAreaRootProps extends ScrollAreaRootProps {
|
|
5
5
|
maxHeight?: number | string;
|
|
@@ -75,11 +75,21 @@ declare function __VLS_template(): {
|
|
|
75
75
|
$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;
|
|
76
76
|
} & Readonly<{
|
|
77
77
|
maxHeight: number | string;
|
|
78
|
-
}> & Omit<Readonly<IScrollAreaRootProps> & Readonly<{}>, "forwared" | "height" | "maxHeight" | "ScrollAreaRoot"> &
|
|
78
|
+
}> & Omit<Readonly<IScrollAreaRootProps> & Readonly<{}>, "forwared" | "height" | "maxHeight" | "ScrollAreaRoot"> & {
|
|
79
79
|
ScrollAreaRoot: typeof ScrollAreaRoot;
|
|
80
|
-
forwared:
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
forwared: Readonly<{
|
|
81
|
+
type: "auto" | "scroll" | "always" | "hover";
|
|
82
|
+
dir: "ltr" | "rtl";
|
|
83
|
+
scrollHideDelay: number;
|
|
84
|
+
asChild: boolean;
|
|
85
|
+
as: AsTag | Component;
|
|
86
|
+
}> & {
|
|
87
|
+
readonly maxHeight: string | number;
|
|
88
|
+
} & {
|
|
89
|
+
readonly asChild: boolean;
|
|
90
|
+
};
|
|
91
|
+
height: string;
|
|
92
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
83
93
|
$slots: {
|
|
84
94
|
default?(_: {}): any;
|
|
85
95
|
};
|
|
@@ -135,11 +145,11 @@ declare function __VLS_template(): {
|
|
|
135
145
|
} & Readonly<{
|
|
136
146
|
type: "auto" | "scroll" | "always" | "hover";
|
|
137
147
|
scrollHideDelay: number;
|
|
138
|
-
}> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> &
|
|
139
|
-
viewport:
|
|
148
|
+
}> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & {
|
|
149
|
+
viewport: HTMLElement | undefined;
|
|
140
150
|
scrollTop: () => void;
|
|
141
151
|
scrollTopLeft: () => void;
|
|
142
|
-
}
|
|
152
|
+
}) | null;
|
|
143
153
|
};
|
|
144
154
|
rootEl: any;
|
|
145
155
|
};
|
|
@@ -201,11 +211,21 @@ declare const __VLS_component: DefineComponent<IScrollAreaRootProps, {
|
|
|
201
211
|
$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;
|
|
202
212
|
} & Readonly<{
|
|
203
213
|
maxHeight: number | string;
|
|
204
|
-
}> & Omit<Readonly<IScrollAreaRootProps> & Readonly<{}>, "forwared" | "height" | "maxHeight" | "ScrollAreaRoot"> &
|
|
214
|
+
}> & Omit<Readonly<IScrollAreaRootProps> & Readonly<{}>, "forwared" | "height" | "maxHeight" | "ScrollAreaRoot"> & {
|
|
205
215
|
ScrollAreaRoot: typeof ScrollAreaRoot;
|
|
206
|
-
forwared:
|
|
207
|
-
|
|
208
|
-
|
|
216
|
+
forwared: Readonly<{
|
|
217
|
+
type: "auto" | "scroll" | "always" | "hover";
|
|
218
|
+
dir: "ltr" | "rtl";
|
|
219
|
+
scrollHideDelay: number;
|
|
220
|
+
asChild: boolean;
|
|
221
|
+
as: AsTag | Component;
|
|
222
|
+
}> & {
|
|
223
|
+
readonly maxHeight: string | number;
|
|
224
|
+
} & {
|
|
225
|
+
readonly asChild: boolean;
|
|
226
|
+
};
|
|
227
|
+
height: string;
|
|
228
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
209
229
|
$slots: {
|
|
210
230
|
default?(_: {}): any;
|
|
211
231
|
};
|
|
@@ -261,11 +281,11 @@ declare const __VLS_component: DefineComponent<IScrollAreaRootProps, {
|
|
|
261
281
|
} & Readonly<{
|
|
262
282
|
type: "auto" | "scroll" | "always" | "hover";
|
|
263
283
|
scrollHideDelay: number;
|
|
264
|
-
}> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> &
|
|
265
|
-
viewport:
|
|
284
|
+
}> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & {
|
|
285
|
+
viewport: HTMLElement | undefined;
|
|
266
286
|
scrollTop: () => void;
|
|
267
287
|
scrollTopLeft: () => void;
|
|
268
|
-
}
|
|
288
|
+
}) | null;
|
|
269
289
|
}, any>;
|
|
270
290
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
271
291
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StepperRoot, StepperRootProps, AsTag } from 'reka-ui';
|
|
2
|
-
import { ComputedRef, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
2
|
+
import { ComputedRef, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, WritableComputedRef, DefineComponent, ShallowRef, CreateComponentPublicInstanceWithMixins, PublicProps } from 'vue';
|
|
3
3
|
import { LooseRequired } from '@vue/shared';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
5
|
declare const forwared: ComputedRef<Readonly< LooseRequired<StepperRootProps>> & {
|
|
@@ -66,10 +66,13 @@ declare function __VLS_template(): {
|
|
|
66
66
|
$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;
|
|
67
67
|
} & Readonly<{}> & Omit<Readonly<StepperRootProps> & Readonly<{
|
|
68
68
|
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
69
|
-
}>, "forwared" | "StepperRoot"> &
|
|
69
|
+
}>, "forwared" | "StepperRoot"> & {
|
|
70
70
|
StepperRoot: typeof StepperRoot;
|
|
71
|
-
forwared:
|
|
72
|
-
|
|
71
|
+
forwared: Readonly< LooseRequired<StepperRootProps>> & {
|
|
72
|
+
readonly asChild: boolean;
|
|
73
|
+
readonly linear: boolean;
|
|
74
|
+
} & Record<string, any>;
|
|
75
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
73
76
|
$slots: {
|
|
74
77
|
default?(_: {}): any;
|
|
75
78
|
};
|
|
@@ -144,19 +147,19 @@ declare function __VLS_template(): {
|
|
|
144
147
|
linear: boolean;
|
|
145
148
|
}> & Omit<Readonly<StepperRootProps> & Readonly<{
|
|
146
149
|
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
147
|
-
}>, "defaultValue" | "orientation" | "modelValue" | "linear" | "goToStep" | "nextStep" | "prevStep" | "totalSteps" | "isNextDisabled" | "isPrevDisabled" | "isFirstStep" | "isLastStep" | "hasNext" | "hasPrev"> &
|
|
150
|
+
}>, "defaultValue" | "orientation" | "modelValue" | "linear" | "goToStep" | "nextStep" | "prevStep" | "totalSteps" | "isNextDisabled" | "isPrevDisabled" | "isFirstStep" | "isLastStep" | "hasNext" | "hasPrev"> & {
|
|
148
151
|
goToStep: (step: number) => void;
|
|
149
152
|
nextStep: () => void;
|
|
150
153
|
prevStep: () => void;
|
|
151
|
-
modelValue:
|
|
152
|
-
totalSteps:
|
|
153
|
-
isNextDisabled:
|
|
154
|
-
isPrevDisabled:
|
|
155
|
-
isFirstStep:
|
|
156
|
-
isLastStep:
|
|
154
|
+
modelValue: number | undefined;
|
|
155
|
+
totalSteps: number;
|
|
156
|
+
isNextDisabled: boolean;
|
|
157
|
+
isPrevDisabled: boolean;
|
|
158
|
+
isFirstStep: boolean;
|
|
159
|
+
isLastStep: boolean;
|
|
157
160
|
hasNext: () => boolean;
|
|
158
161
|
hasPrev: () => boolean;
|
|
159
|
-
}
|
|
162
|
+
} & {
|
|
160
163
|
$slots: {
|
|
161
164
|
default?: (props: {
|
|
162
165
|
modelValue: number | undefined;
|
|
@@ -324,10 +327,13 @@ declare const __VLS_component: DefineComponent<StepperRootProps, {
|
|
|
324
327
|
$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;
|
|
325
328
|
} & Readonly<{}> & Omit<Readonly<StepperRootProps> & Readonly<{
|
|
326
329
|
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
327
|
-
}>, "forwared" | "StepperRoot"> &
|
|
330
|
+
}>, "forwared" | "StepperRoot"> & {
|
|
328
331
|
StepperRoot: typeof StepperRoot;
|
|
329
|
-
forwared:
|
|
330
|
-
|
|
332
|
+
forwared: Readonly< LooseRequired<StepperRootProps>> & {
|
|
333
|
+
readonly asChild: boolean;
|
|
334
|
+
readonly linear: boolean;
|
|
335
|
+
} & Record<string, any>;
|
|
336
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
331
337
|
$slots: {
|
|
332
338
|
default?(_: {}): any;
|
|
333
339
|
};
|
|
@@ -402,19 +408,19 @@ declare const __VLS_component: DefineComponent<StepperRootProps, {
|
|
|
402
408
|
linear: boolean;
|
|
403
409
|
}> & Omit<Readonly<StepperRootProps> & Readonly<{
|
|
404
410
|
"onUpdate:modelValue"?: ((payload: number | undefined) => any) | undefined;
|
|
405
|
-
}>, "defaultValue" | "orientation" | "modelValue" | "linear" | "goToStep" | "nextStep" | "prevStep" | "totalSteps" | "isNextDisabled" | "isPrevDisabled" | "isFirstStep" | "isLastStep" | "hasNext" | "hasPrev"> &
|
|
411
|
+
}>, "defaultValue" | "orientation" | "modelValue" | "linear" | "goToStep" | "nextStep" | "prevStep" | "totalSteps" | "isNextDisabled" | "isPrevDisabled" | "isFirstStep" | "isLastStep" | "hasNext" | "hasPrev"> & {
|
|
406
412
|
goToStep: (step: number) => void;
|
|
407
413
|
nextStep: () => void;
|
|
408
414
|
prevStep: () => void;
|
|
409
|
-
modelValue:
|
|
410
|
-
totalSteps:
|
|
411
|
-
isNextDisabled:
|
|
412
|
-
isPrevDisabled:
|
|
413
|
-
isFirstStep:
|
|
414
|
-
isLastStep:
|
|
415
|
+
modelValue: number | undefined;
|
|
416
|
+
totalSteps: number;
|
|
417
|
+
isNextDisabled: boolean;
|
|
418
|
+
isPrevDisabled: boolean;
|
|
419
|
+
isFirstStep: boolean;
|
|
420
|
+
isLastStep: boolean;
|
|
415
421
|
hasNext: () => boolean;
|
|
416
422
|
hasPrev: () => boolean;
|
|
417
|
-
}
|
|
423
|
+
} & {
|
|
418
424
|
$slots: {
|
|
419
425
|
default?: (props: {
|
|
420
426
|
modelValue: number | undefined;
|