@selfeesas/shared-components 1.3.1 → 1.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.
|
@@ -1303,6 +1303,11 @@ export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefau
|
|
|
1303
1303
|
}>;
|
|
1304
1304
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1305
1305
|
|
|
1306
|
+
declare interface DateRange_2 {
|
|
1307
|
+
from: string;
|
|
1308
|
+
to: string;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1306
1311
|
export declare interface DateRangeLocale {
|
|
1307
1312
|
days?: string[];
|
|
1308
1313
|
daysShort?: string[];
|
|
@@ -1343,16 +1348,11 @@ export declare interface DateRangeProps {
|
|
|
1343
1348
|
}>;
|
|
1344
1349
|
}
|
|
1345
1350
|
|
|
1346
|
-
export declare interface DateRangeType {
|
|
1347
|
-
from: string;
|
|
1348
|
-
to: string;
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
1351
|
export declare const dateRangeUtils: {
|
|
1352
|
-
validateAndUpdate(currentRange:
|
|
1352
|
+
validateAndUpdate(currentRange: DateRange_2, newValue: string, isStartDate: boolean): DateRange_2;
|
|
1353
1353
|
isEndDateValid(startDate: string, endDate: string, allowSameDate?: boolean): boolean;
|
|
1354
|
-
handlePickerUpdate(value:
|
|
1355
|
-
reset():
|
|
1354
|
+
handlePickerUpdate(value: DateRange_2 | string | null): DateRange_2;
|
|
1355
|
+
reset(): DateRange_2;
|
|
1356
1356
|
handleInput(value: string | number | null, callback: (value: string) => void): void;
|
|
1357
1357
|
};
|
|
1358
1358
|
|
|
@@ -1436,7 +1436,7 @@ export declare interface ExportButtonProps<T = any> {
|
|
|
1436
1436
|
|
|
1437
1437
|
export declare function formatDate(dateStr: string): string;
|
|
1438
1438
|
|
|
1439
|
-
export declare function formatDateToDDMMYYYY(date: Date): string;
|
|
1439
|
+
export declare function formatDateToDDMMYYYY(date: Date | string): string;
|
|
1440
1440
|
|
|
1441
1441
|
export declare function getFirstDayOfMonth(year: number, month: number): Date;
|
|
1442
1442
|
|
|
@@ -8533,8 +8533,9 @@ function Wh(l) {
|
|
|
8533
8533
|
return new Date(b, t - 1, I);
|
|
8534
8534
|
}
|
|
8535
8535
|
function br(l) {
|
|
8536
|
-
|
|
8537
|
-
|
|
8536
|
+
if (!l) return "";
|
|
8537
|
+
const I = new Date(l), t = I.getFullYear(), b = String(I.getMonth() + 1).padStart(2, "0");
|
|
8538
|
+
return `${String(I.getDate()).padStart(2, "0")}-${b}-${t}`;
|
|
8538
8539
|
}
|
|
8539
8540
|
function ls(l, I) {
|
|
8540
8541
|
return new Date(l, I - 1, 1);
|
|
@@ -9064,7 +9065,7 @@ const cf = {
|
|
|
9064
9065
|
])) : at("", !0)
|
|
9065
9066
|
]));
|
|
9066
9067
|
}
|
|
9067
|
-
}), Af = /* @__PURE__ */ vr(Cf, [["__scopeId", "data-v-
|
|
9068
|
+
}), Af = /* @__PURE__ */ vr(Cf, [["__scopeId", "data-v-4b6fd6b7"]]), Ef = ["top", "middle", "bottom"], On = ct({
|
|
9068
9069
|
name: "QBadge",
|
|
9069
9070
|
props: {
|
|
9070
9071
|
color: String,
|