prlg-ui 1.8.346 → 1.8.347

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/rekaUI.d.ts CHANGED
@@ -13,7 +13,6 @@ import { AllowedComponentProps } from 'vue';
13
13
  import { AsTag } from 'reka-ui';
14
14
  import { CalendarCell } from 'reka-ui';
15
15
  import { CalendarCellTriggerProps } from 'reka-ui';
16
- import { CalendarDateTime } from '@internationalized/date';
17
16
  import { CalendarGridBodyProps } from 'reka-ui';
18
17
  import { CalendarGridHead } from 'reka-ui';
19
18
  import { CalendarGridProps } from 'reka-ui';
@@ -203,8 +202,6 @@ import { TabsContent } from 'reka-ui';
203
202
  import { TabsIndicator } from 'reka-ui';
204
203
  import { TabsListProps } from 'reka-ui';
205
204
  import { TabsTriggerProps } from 'reka-ui';
206
- import { Time } from '@internationalized/date';
207
- import { TimeFieldRootProps } from 'reka-ui';
208
205
  import { ToastAction } from 'reka-ui';
209
206
  import { ToastCloseProps } from 'reka-ui';
210
207
  import { ToastDescriptionProps } from 'reka-ui';
@@ -225,7 +222,6 @@ import { WatchCallback } from 'vue';
225
222
  import { WatchOptions } from 'vue';
226
223
  import { WatchStopHandle } from 'vue';
227
224
  import { WritableComputedRef } from 'vue';
228
- import { ZonedDateTime } from '@internationalized/date';
229
225
 
230
226
  declare const __VLS_component: DefineComponent<IAccordionContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
231
227
 
@@ -802,10 +798,10 @@ declare const __VLS_component_8: DefineComponent<IAlertDialogContentProps, {}, {
802
798
  width: number;
803
799
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
804
800
 
805
- declare const __VLS_component_80: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
801
+ declare const __VLS_component_80: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
806
802
  "update:modelValue": (value: AcceptableValue) => any;
807
803
  "update:open": (value: boolean) => any;
808
- }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
804
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
809
805
  "onUpdate:modelValue"?: ((value: AcceptableValue) => any) | undefined;
810
806
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
811
807
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1148,12 +1144,14 @@ declare type __VLS_Props_14 = {
1148
1144
  minHeight?: string;
1149
1145
  };
1150
1146
 
1151
- declare type __VLS_Props_15 = {
1147
+ declare type __VLS_Props_15 = Props;
1148
+
1149
+ declare type __VLS_Props_16 = {
1152
1150
  placeholder?: string;
1153
1151
  size?: 'small' | 'default' | 'large';
1154
1152
  };
1155
1153
 
1156
- declare type __VLS_Props_16 = SelectRootProps;
1154
+ declare type __VLS_Props_17 = SelectRootProps;
1157
1155
 
1158
1156
  declare type __VLS_Props_2 = {
1159
1157
  value?: string | number;
@@ -1240,9 +1238,13 @@ declare type __VLS_PublicProps_7 = {
1240
1238
  } & __VLS_Props_14;
1241
1239
 
1242
1240
  declare type __VLS_PublicProps_8 = {
1243
- modelValue: TShedule | null;
1241
+ modelValue?: TTimeValue | null;
1244
1242
  } & __VLS_Props_15;
1245
1243
 
1244
+ declare type __VLS_PublicProps_9 = {
1245
+ modelValue: TShedule | null;
1246
+ } & __VLS_Props_16;
1247
+
1246
1248
  declare function __VLS_template(): {
1247
1249
  attrs: Partial<{}>;
1248
1250
  slots: {
@@ -3796,6 +3798,12 @@ export declare const priceFormat: (price: string | number, returnHtml?: boolean)
3796
3798
  [key: string]: any;
3797
3799
  }>;
3798
3800
 
3801
+ declare interface Props {
3802
+ disabled?: boolean;
3803
+ hourCycle?: 12 | 24;
3804
+ locale?: string;
3805
+ }
3806
+
3799
3807
  export declare const RadioGroupItem: DefineComponent<IRadioGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IRadioGroupItemProps> & Readonly<{}>, {
3800
3808
  size: "small" | "default" | "large";
3801
3809
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -3838,10 +3846,10 @@ iconOnly: boolean;
3838
3846
 
3839
3847
  export { RangeCalendarRoot }
3840
3848
 
3841
- export declare const Schedule: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3842
- "update:modelValue": (value: TShedule | null) => any;
3843
- }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
3844
- "onUpdate:modelValue"?: ((value: TShedule | null) => any) | undefined;
3849
+ export declare const Schedule: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3850
+ "update:modelValue": (value: Partial<Record<TDayWeek, TDaySchedule>> | null) => any;
3851
+ }, string, PublicProps, Readonly<__VLS_PublicProps_9> & Readonly<{
3852
+ "onUpdate:modelValue"?: ((value: Partial<Record<TDayWeek, TDaySchedule>> | null) => any) | undefined;
3845
3853
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3846
3854
 
3847
3855
  export declare const ScrollAreaRoot: __VLS_WithTemplateSlots_76<typeof __VLS_component_76, __VLS_TemplateResult_76["slots"]>;
@@ -3919,7 +3927,12 @@ declare interface TagProps {
3919
3927
  colors?: TagColors;
3920
3928
  }
3921
3929
 
3922
- export declare type TDayWeek = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
3930
+ declare type TDaySchedule = {
3931
+ active: boolean;
3932
+ time: TTimeValue[];
3933
+ };
3934
+
3935
+ export declare type TDayWeek = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3923
3936
 
3924
3937
  export declare const Textarea: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3925
3938
  "update:modelValue": (value: string) => any;
@@ -3936,12 +3949,10 @@ onFocusOut?: ((value: FocusEvent) => any) | undefined;
3936
3949
  textareaRef: HTMLTextAreaElement;
3937
3950
  }, HTMLDivElement>;
3938
3951
 
3939
- export declare const TimeField: DefineComponent<TimeFieldRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3940
- "update:modelValue": (date: (CalendarDateTime | ZonedDateTime | Time) | undefined) => any;
3941
- "update:placeholder": (date: CalendarDateTime | ZonedDateTime | Time) => any;
3942
- }, string, PublicProps, Readonly<TimeFieldRootProps> & Readonly<{
3943
- "onUpdate:modelValue"?: ((date: (CalendarDateTime | ZonedDateTime | Time) | undefined) => any) | undefined;
3944
- "onUpdate:placeholder"?: ((date: CalendarDateTime | ZonedDateTime | Time) => any) | undefined;
3952
+ export declare const TimeField: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3953
+ "update:modelValue": (value: TTimeValue | null) => any;
3954
+ }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
3955
+ "onUpdate:modelValue"?: ((value: TTimeValue | null) => any) | undefined;
3945
3956
  }>, {
3946
3957
  locale: string;
3947
3958
  hourCycle: 12 | 24;
@@ -3992,12 +4003,12 @@ export { TooltipRoot }
3992
4003
 
3993
4004
  export { TooltipTrigger }
3994
4005
 
3995
- export declare type TShedule = Record<TDayWeek, {
3996
- active: boolean;
3997
- time: TTimeValue[];
3998
- }>;
4006
+ export declare type TShedule = Partial<Record<TDayWeek, TDaySchedule>>;
3999
4007
 
4000
- export declare type TTimeValue = ZonedDateTime | Time | CalendarDateTime;
4008
+ export declare interface TTimeValue {
4009
+ hour: number;
4010
+ minute: number;
4011
+ }
4001
4012
 
4002
4013
  export declare function useToast(): {
4003
4014
  toasts: ComputedRef< {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prlg-ui",
3
3
  "private": false,
4
- "version": "1.8.346",
4
+ "version": "1.8.347",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",