@selfeesas/shared-components 0.3.0 → 0.3.1
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/shared-components.cjs.js +1 -1
- package/dist/shared-components.css +1 -1
- package/dist/shared-components.d.ts +45 -0
- package/dist/shared-components.es.js +5318 -3004
- package/package.json +1 -1
|
@@ -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-42c19597]{transition:transform .3s ease}.logo[data-v-67697ca7]{width:260px;height:auto}label[data-v-618766fa]{width:50%}
|
|
@@ -156,6 +156,51 @@ declare interface CustomBreadcrumbsProps extends QBreadcrumbsProps {
|
|
|
156
156
|
breadcrumbConfig: BreadcrumbConfig[];
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
+
export declare const DatePicker: DefineComponent<DatePickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
160
|
+
"update:date": (value: string) => any;
|
|
161
|
+
}, string, PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
162
|
+
"onUpdate:date"?: ((value: string) => any) | undefined;
|
|
163
|
+
}>, {
|
|
164
|
+
label: string;
|
|
165
|
+
required: boolean;
|
|
166
|
+
disabled: boolean;
|
|
167
|
+
outlined: boolean;
|
|
168
|
+
date: string;
|
|
169
|
+
minDate: string;
|
|
170
|
+
maxDate: string;
|
|
171
|
+
datesDisabled: DisabledDate[];
|
|
172
|
+
requiredErrorMessage: string;
|
|
173
|
+
placeholder: string;
|
|
174
|
+
closeLabel: string;
|
|
175
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
176
|
+
|
|
177
|
+
declare interface DatePickerProps {
|
|
178
|
+
label?: string;
|
|
179
|
+
date?: string;
|
|
180
|
+
required?: boolean;
|
|
181
|
+
minDate?: string;
|
|
182
|
+
maxDate?: string;
|
|
183
|
+
datesDisabled?: DisabledDate[];
|
|
184
|
+
requiredErrorMessage?: string;
|
|
185
|
+
disabled?: boolean;
|
|
186
|
+
outlined?: boolean;
|
|
187
|
+
placeholder?: string;
|
|
188
|
+
closeLabel?: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export declare function dateWithoutTimezone(date: Date): Date;
|
|
192
|
+
|
|
193
|
+
export declare type DisabledDate = string | DisabledDateObject;
|
|
194
|
+
|
|
195
|
+
export declare type DisabledDateObject = {
|
|
196
|
+
start_date: string | Date;
|
|
197
|
+
end_date: string | Date;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
export declare function formatDate(dateStr: string): string;
|
|
201
|
+
|
|
202
|
+
export declare function isDateSelectable(date: string, minDateProps?: string | Date, maxDateProps?: string | Date, datesDisabled?: DisabledDate[]): boolean;
|
|
203
|
+
|
|
159
204
|
export declare const Layout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
160
205
|
|
|
161
206
|
declare interface LayoutProps {
|