@selfeesas/shared-components 0.3.2 → 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.
- package/dist/shared-components.cjs.js +1 -1
- package/dist/shared-components.css +1 -1
- package/dist/shared-components.d.ts +78 -0
- package/dist/shared-components.es.js +2570 -2383
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-0094cb2e]{transition:transform .3s ease}.logo[data-v-
|
|
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}
|
|
@@ -161,6 +161,8 @@ declare interface CustomBreadcrumbsProps extends QBreadcrumbsProps {
|
|
|
161
161
|
breadcrumbConfig: BreadcrumbConfig[];
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
export declare const DATE_FORMAT_REGEX: RegExp;
|
|
165
|
+
|
|
164
166
|
export declare const DatePicker: DefineComponent<DatePickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
165
167
|
"update:date": (value: string) => any;
|
|
166
168
|
}, string, PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
@@ -193,8 +195,84 @@ declare interface DatePickerProps {
|
|
|
193
195
|
closeLabel?: string;
|
|
194
196
|
}
|
|
195
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
|
+
|
|
196
272
|
export declare function dateWithoutTimezone(date: Date): Date;
|
|
197
273
|
|
|
274
|
+
export declare const defaultLocale: DateRangeLocale;
|
|
275
|
+
|
|
198
276
|
export declare type DisabledDate = string | DisabledDateObject;
|
|
199
277
|
|
|
200
278
|
export declare type DisabledDateObject = {
|