@profitliga/ui 1.2.73 → 1.2.74

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.
@@ -1,4 +1,4 @@
1
- import { nextTick, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
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"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
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"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
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"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
279
+ }>, "width" | "closeButton" | "position"> & {} & ComponentCustomProperties & {} & {
280
280
  $slots: {
281
281
  header?(_: {}): any;
282
282
  default?(_: {}): any;
@@ -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, ShallowUnwrapRef, ComponentCustomProperties, Ref, DefineComponent, PublicProps } from 'vue';
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"> & ShallowUnwrapRef<{
78
+ }> & Omit<Readonly<IScrollAreaRootProps> & Readonly<{}>, "forwared" | "height" | "maxHeight" | "ScrollAreaRoot"> & {
79
79
  ScrollAreaRoot: typeof ScrollAreaRoot;
80
- forwared: typeof forwared;
81
- height: typeof height;
82
- }> & {} & ComponentCustomProperties & {} & {
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"> & ShallowUnwrapRef<{
139
- viewport: Ref<HTMLElement | undefined, HTMLElement | undefined>;
148
+ }> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & {
149
+ viewport: HTMLElement | undefined;
140
150
  scrollTop: () => void;
141
151
  scrollTopLeft: () => void;
142
- }>) | null;
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"> & ShallowUnwrapRef<{
214
+ }> & Omit<Readonly<IScrollAreaRootProps> & Readonly<{}>, "forwared" | "height" | "maxHeight" | "ScrollAreaRoot"> & {
205
215
  ScrollAreaRoot: typeof ScrollAreaRoot;
206
- forwared: typeof forwared;
207
- height: typeof height;
208
- }> & {} & ComponentCustomProperties & {} & {
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"> & ShallowUnwrapRef<{
265
- viewport: Ref<HTMLElement | undefined, HTMLElement | undefined>;
284
+ }> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & {
285
+ viewport: HTMLElement | undefined;
266
286
  scrollTop: () => void;
267
287
  scrollTopLeft: () => void;
268
- }>) | null;
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, ShallowUnwrapRef, ComponentCustomProperties, WritableComputedRef, DefineComponent, ShallowRef, CreateComponentPublicInstanceWithMixins, PublicProps } from 'vue';
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"> & ShallowUnwrapRef<{
69
+ }>, "forwared" | "StepperRoot"> & {
70
70
  StepperRoot: typeof StepperRoot;
71
- forwared: typeof forwared;
72
- }> & {} & ComponentCustomProperties & {} & {
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"> & ShallowUnwrapRef<{
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: WritableComputedRef<number | undefined, number | undefined>;
152
- totalSteps: ComputedRef<number>;
153
- isNextDisabled: ComputedRef<boolean>;
154
- isPrevDisabled: ComputedRef<boolean>;
155
- isFirstStep: ComputedRef<boolean>;
156
- isLastStep: ComputedRef<boolean>;
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"> & ShallowUnwrapRef<{
330
+ }>, "forwared" | "StepperRoot"> & {
328
331
  StepperRoot: typeof StepperRoot;
329
- forwared: typeof forwared;
330
- }> & {} & ComponentCustomProperties & {} & {
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"> & ShallowUnwrapRef<{
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: WritableComputedRef<number | undefined, number | undefined>;
410
- totalSteps: ComputedRef<number>;
411
- isNextDisabled: ComputedRef<boolean>;
412
- isPrevDisabled: ComputedRef<boolean>;
413
- isFirstStep: ComputedRef<boolean>;
414
- isLastStep: ComputedRef<boolean>;
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;
@@ -5623,7 +5623,7 @@ const Si = { class: "input__wrapper" }, Ii = ["id", "placeholder", "name", "disa
5623
5623
  xl: 64
5624
5624
  }, Ce = [
5625
5625
  "Обрабатываем запрос...",
5626
- "Проверим детали...",
5626
+ "Проверяем детали...",
5627
5627
  "Почти готово...",
5628
5628
  "Завершаем обработку..."
5629
5629
  ], Pd = 3e3, Lc = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profitliga/ui",
3
- "version": "1.2.73",
3
+ "version": "1.2.74",
4
4
  "author": "Profit League<dev@pr-lg.ru>",
5
5
  "license": "MIT",
6
6
  "description": "Vue 3 UI component library with TypeScript and SCSS",