@selfeesas/shared-components 0.3.1 → 0.3.3

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 +1 @@
1
- .row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-42c19597]{transition:transform .3s ease}.logo[data-v-67697ca7]{width:260px;height:auto}label[data-v-618766fa]{width:50%}
1
+ .row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-0094cb2e]{transition:transform .3s ease}.logo[data-v-ab7c0ff6]{width:260px;height:auto}label[data-v-40c069f1],label[data-v-fb17c0cd]{width:50%}.icon-same-size[data-v-fb17c0cd]{margin-left:10px;margin-top:10px;font-size:30px;height:30px;width:30px;opacity:.55;display:flex;align-items:center;justify-content:center}
@@ -16,6 +16,10 @@ declare const __VLS_component: DefineComponent<SelfeeHeaderProps, {}, {}, {}, {}
16
16
 
17
17
  declare const __VLS_component_2: DefineComponent<LayoutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
18
 
19
+ declare type __VLS_Props = CheckboxFilterProps & {
20
+ dataCy?: string;
21
+ };
22
+
19
23
  declare function __VLS_template(): {
20
24
  attrs: Partial<{}>;
21
25
  slots: {
@@ -111,12 +115,13 @@ export declare interface BreadcrumbOptions {
111
115
 
112
116
  export declare const Breadcrumbs: DefineComponent<CustomBreadcrumbsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CustomBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
113
117
 
114
- export declare const CheckboxFilter: DefineComponent<CheckboxFilterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
118
+ export declare const CheckboxFilter: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
115
119
  "update:modelValue": (value: CheckboxOption[]) => any;
116
- }, string, PublicProps, Readonly<CheckboxFilterProps> & Readonly<{
120
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
117
121
  "onUpdate:modelValue"?: ((value: CheckboxOption[]) => any) | undefined;
118
122
  }>, {
119
123
  label: string;
124
+ dataCy: string;
120
125
  modelValue: CheckboxOption[];
121
126
  scrollAreaHeight: string;
122
127
  scrollAreaWidth: string;
@@ -156,6 +161,8 @@ declare interface CustomBreadcrumbsProps extends QBreadcrumbsProps {
156
161
  breadcrumbConfig: BreadcrumbConfig[];
157
162
  }
158
163
 
164
+ export declare const DATE_FORMAT_REGEX: RegExp;
165
+
159
166
  export declare const DatePicker: DefineComponent<DatePickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
160
167
  "update:date": (value: string) => any;
161
168
  }, string, PublicProps, Readonly<DatePickerProps> & Readonly<{
@@ -188,8 +195,84 @@ declare interface DatePickerProps {
188
195
  closeLabel?: string;
189
196
  }
190
197
 
198
+ export declare const DateRange: DefineComponent<DateRangeProps, {
199
+ resetDate: () => void;
200
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
201
+ "update:dateRange": (value: {
202
+ from: string;
203
+ to: string;
204
+ }) => any;
205
+ }, string, PublicProps, Readonly<DateRangeProps> & Readonly<{
206
+ "onUpdate:dateRange"?: ((value: {
207
+ from: string;
208
+ to: string;
209
+ }) => any) | undefined;
210
+ }>, {
211
+ to: string;
212
+ from: string;
213
+ required: boolean;
214
+ disabled: boolean;
215
+ rules: Array<(val: string) => boolean | string>;
216
+ minDate: string;
217
+ maxDate: string;
218
+ datesDisabled: Array<string | DisabledDateObject>;
219
+ requiredErrorMessage: string;
220
+ closeLabel: string;
221
+ locale: DateRangeLocale;
222
+ labelStart: string;
223
+ labelEnd: string;
224
+ startDateHint: string;
225
+ resetLabel: string;
226
+ highlightEvents: string[];
227
+ idCy: string;
228
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
229
+
230
+ declare interface DateRangeLocale {
231
+ days?: string[];
232
+ daysShort?: string[];
233
+ months?: string[];
234
+ monthsShort?: string[];
235
+ firstDayOfWeek?: number;
236
+ format24h?: boolean;
237
+ pluralDay?: string;
238
+ }
239
+
240
+ declare interface DateRangeProps {
241
+ from?: string;
242
+ to?: string;
243
+ labelStart?: string;
244
+ labelEnd?: string;
245
+ startDateHint?: string;
246
+ resetLabel?: string;
247
+ closeLabel?: string;
248
+ locale?: DateRangeLocale;
249
+ required?: boolean;
250
+ requiredErrorMessage?: string;
251
+ rules?: Array<(val: string) => boolean | string>;
252
+ minDate?: string;
253
+ maxDate?: string;
254
+ datesDisabled?: Array<string | DisabledDateObject>;
255
+ highlightEvents?: string[];
256
+ disabled?: boolean;
257
+ idCy?: string;
258
+ }
259
+
260
+ export declare interface DateRangeType {
261
+ from: string;
262
+ to: string;
263
+ }
264
+
265
+ export declare const dateRangeUtils: {
266
+ validateAndUpdate(currentRange: DateRangeType, newValue: string, isStartDate: boolean): DateRangeType;
267
+ handlePickerUpdate(value: DateRangeType | string | null): DateRangeType;
268
+ reset(): DateRangeType;
269
+ handleInput(value: string | number | null, callback: (value: string) => void): void;
270
+ };
271
+
191
272
  export declare function dateWithoutTimezone(date: Date): Date;
192
273
 
274
+ export declare const defaultLocale: DateRangeLocale;
275
+
193
276
  export declare type DisabledDate = string | DisabledDateObject;
194
277
 
195
278
  export declare type DisabledDateObject = {