prlg-ui 1.8.346 → 1.8.348

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: {
@@ -1703,6 +1705,7 @@ declare function __VLS_template_54(): {
1703
1705
  declare function __VLS_template_55(): {
1704
1706
  attrs: Partial<{}>;
1705
1707
  slots: {
1708
+ label?(_: {}): any;
1706
1709
  default?(_: {}): any;
1707
1710
  };
1708
1711
  refs: {};
@@ -3611,7 +3614,7 @@ alt?: string;
3611
3614
  open: () => void;
3612
3615
  close: () => void;
3613
3616
  }, {}, {}, {}, {}> | null;
3614
- }, any>;
3617
+ }, HTMLDivElement>;
3615
3618
  export { Image_2 as Image }
3616
3619
 
3617
3620
  export declare const InputNumber: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -3796,6 +3799,12 @@ export declare const priceFormat: (price: string | number, returnHtml?: boolean)
3796
3799
  [key: string]: any;
3797
3800
  }>;
3798
3801
 
3802
+ declare interface Props {
3803
+ disabled?: boolean;
3804
+ hourCycle?: 12 | 24;
3805
+ locale?: string;
3806
+ }
3807
+
3799
3808
  export declare const RadioGroupItem: DefineComponent<IRadioGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IRadioGroupItemProps> & Readonly<{}>, {
3800
3809
  size: "small" | "default" | "large";
3801
3810
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -3838,10 +3847,10 @@ iconOnly: boolean;
3838
3847
 
3839
3848
  export { RangeCalendarRoot }
3840
3849
 
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;
3850
+ export declare const Schedule: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3851
+ "update:modelValue": (value: Partial<Record<TDayWeek, TDaySchedule>> | null) => any;
3852
+ }, string, PublicProps, Readonly<__VLS_PublicProps_9> & Readonly<{
3853
+ "onUpdate:modelValue"?: ((value: Partial<Record<TDayWeek, TDaySchedule>> | null) => any) | undefined;
3845
3854
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3846
3855
 
3847
3856
  export declare const ScrollAreaRoot: __VLS_WithTemplateSlots_76<typeof __VLS_component_76, __VLS_TemplateResult_76["slots"]>;
@@ -3919,7 +3928,12 @@ declare interface TagProps {
3919
3928
  colors?: TagColors;
3920
3929
  }
3921
3930
 
3922
- export declare type TDayWeek = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
3931
+ declare type TDaySchedule = {
3932
+ active: boolean;
3933
+ time: TTimeValue[];
3934
+ };
3935
+
3936
+ export declare type TDayWeek = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
3923
3937
 
3924
3938
  export declare const Textarea: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3925
3939
  "update:modelValue": (value: string) => any;
@@ -3936,12 +3950,10 @@ onFocusOut?: ((value: FocusEvent) => any) | undefined;
3936
3950
  textareaRef: HTMLTextAreaElement;
3937
3951
  }, HTMLDivElement>;
3938
3952
 
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;
3953
+ export declare const TimeField: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3954
+ "update:modelValue": (value: TTimeValue | null) => any;
3955
+ }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
3956
+ "onUpdate:modelValue"?: ((value: TTimeValue | null) => any) | undefined;
3945
3957
  }>, {
3946
3958
  locale: string;
3947
3959
  hourCycle: 12 | 24;
@@ -3992,12 +4004,12 @@ export { TooltipRoot }
3992
4004
 
3993
4005
  export { TooltipTrigger }
3994
4006
 
3995
- export declare type TShedule = Record<TDayWeek, {
3996
- active: boolean;
3997
- time: TTimeValue[];
3998
- }>;
4007
+ export declare type TShedule = Partial<Record<TDayWeek, TDaySchedule>>;
3999
4008
 
4000
- export declare type TTimeValue = ZonedDateTime | Time | CalendarDateTime;
4009
+ export declare interface TTimeValue {
4010
+ hour: number;
4011
+ minute: number;
4012
+ }
4001
4013
 
4002
4014
  export declare function useToast(): {
4003
4015
  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.348",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",