@selfeesas/shared-components 0.3.0 → 0.3.2

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}
1
+ .row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-0094cb2e]{transition:transform .3s ease}.logo[data-v-67697ca7]{width:260px;height:auto}label[data-v-40c069f1]{width:50%}
@@ -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,51 @@ declare interface CustomBreadcrumbsProps extends QBreadcrumbsProps {
156
161
  breadcrumbConfig: BreadcrumbConfig[];
157
162
  }
158
163
 
164
+ export declare const DatePicker: DefineComponent<DatePickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
165
+ "update:date": (value: string) => any;
166
+ }, string, PublicProps, Readonly<DatePickerProps> & Readonly<{
167
+ "onUpdate:date"?: ((value: string) => any) | undefined;
168
+ }>, {
169
+ label: string;
170
+ required: boolean;
171
+ disabled: boolean;
172
+ outlined: boolean;
173
+ date: string;
174
+ minDate: string;
175
+ maxDate: string;
176
+ datesDisabled: DisabledDate[];
177
+ requiredErrorMessage: string;
178
+ placeholder: string;
179
+ closeLabel: string;
180
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
181
+
182
+ declare interface DatePickerProps {
183
+ label?: string;
184
+ date?: string;
185
+ required?: boolean;
186
+ minDate?: string;
187
+ maxDate?: string;
188
+ datesDisabled?: DisabledDate[];
189
+ requiredErrorMessage?: string;
190
+ disabled?: boolean;
191
+ outlined?: boolean;
192
+ placeholder?: string;
193
+ closeLabel?: string;
194
+ }
195
+
196
+ export declare function dateWithoutTimezone(date: Date): Date;
197
+
198
+ export declare type DisabledDate = string | DisabledDateObject;
199
+
200
+ export declare type DisabledDateObject = {
201
+ start_date: string | Date;
202
+ end_date: string | Date;
203
+ };
204
+
205
+ export declare function formatDate(dateStr: string): string;
206
+
207
+ export declare function isDateSelectable(date: string, minDateProps?: string | Date, maxDateProps?: string | Date, datesDisabled?: DisabledDate[]): boolean;
208
+
159
209
  export declare const Layout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
160
210
 
161
211
  declare interface LayoutProps {