@selfeesas/shared-components 1.3.0 → 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.
- package/dist/assets/shared-components.css +1 -1
- package/dist/shared-components.cjs.js +2 -2
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +11 -11
- package/dist/shared-components.es.js +8 -7
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1104,8 +1104,6 @@ declare interface CustomTableServices_2 {
|
|
|
1104
1104
|
redirectToPrm?: (row: any) => void;
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
1107
|
-
export declare const CustomTableTest: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1108
|
-
|
|
1109
1107
|
export declare const DATE_FORMAT_REGEX: RegExp;
|
|
1110
1108
|
|
|
1111
1109
|
declare type DateInput = string | Date;
|
|
@@ -1305,6 +1303,11 @@ export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefau
|
|
|
1305
1303
|
}>;
|
|
1306
1304
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1307
1305
|
|
|
1306
|
+
declare interface DateRange_2 {
|
|
1307
|
+
from: string;
|
|
1308
|
+
to: string;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1308
1311
|
export declare interface DateRangeLocale {
|
|
1309
1312
|
days?: string[];
|
|
1310
1313
|
daysShort?: string[];
|
|
@@ -1345,16 +1348,11 @@ export declare interface DateRangeProps {
|
|
|
1345
1348
|
}>;
|
|
1346
1349
|
}
|
|
1347
1350
|
|
|
1348
|
-
export declare interface DateRangeType {
|
|
1349
|
-
from: string;
|
|
1350
|
-
to: string;
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
1351
|
export declare const dateRangeUtils: {
|
|
1354
|
-
validateAndUpdate(currentRange:
|
|
1352
|
+
validateAndUpdate(currentRange: DateRange_2, newValue: string, isStartDate: boolean): DateRange_2;
|
|
1355
1353
|
isEndDateValid(startDate: string, endDate: string, allowSameDate?: boolean): boolean;
|
|
1356
|
-
handlePickerUpdate(value:
|
|
1357
|
-
reset():
|
|
1354
|
+
handlePickerUpdate(value: DateRange_2 | string | null): DateRange_2;
|
|
1355
|
+
reset(): DateRange_2;
|
|
1358
1356
|
handleInput(value: string | number | null, callback: (value: string) => void): void;
|
|
1359
1357
|
};
|
|
1360
1358
|
|
|
@@ -1438,7 +1436,7 @@ export declare interface ExportButtonProps<T = any> {
|
|
|
1438
1436
|
|
|
1439
1437
|
export declare function formatDate(dateStr: string): string;
|
|
1440
1438
|
|
|
1441
|
-
export declare function formatDateToDDMMYYYY(date: Date): string;
|
|
1439
|
+
export declare function formatDateToDDMMYYYY(date: Date | string): string;
|
|
1442
1440
|
|
|
1443
1441
|
export declare function getFirstDayOfMonth(year: number, month: number): Date;
|
|
1444
1442
|
|
|
@@ -1852,6 +1850,8 @@ export declare interface SelfeeLoaderProps {
|
|
|
1852
1850
|
speed?: number;
|
|
1853
1851
|
}
|
|
1854
1852
|
|
|
1853
|
+
export declare const SelfeeTable: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1854
|
+
|
|
1855
1855
|
export declare const SmartFilters: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1856
1856
|
|
|
1857
1857
|
declare interface SmartFiltersProps {
|
|
@@ -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,
|
|
@@ -35493,7 +35494,7 @@ const bh = {
|
|
|
35493
35494
|
key: 1,
|
|
35494
35495
|
class: "text-no-wrap ellipsis"
|
|
35495
35496
|
}, Ih = { colspan: "100%" }, Oh = /* @__PURE__ */ Dt({
|
|
35496
|
-
__name: "
|
|
35497
|
+
__name: "SelfeeTable",
|
|
35497
35498
|
props: {
|
|
35498
35499
|
columns: {},
|
|
35499
35500
|
results: {},
|
|
@@ -35542,7 +35543,7 @@ const bh = {
|
|
|
35542
35543
|
defaultRowsPerPage: b.defaultRowsPerPage
|
|
35543
35544
|
},
|
|
35544
35545
|
b.initialParams
|
|
35545
|
-
) : null, k = Z(() => b.useBuiltInPagination && x ? x.results.value : b.results), M = Z(() => b.useBuiltInPagination && x ? x.loading.value : b.loading), j = Z({
|
|
35546
|
+
) : null, k = Z(() => b.useBuiltInPagination && x ? x.results.value || [] : b.results || []), M = Z(() => b.useBuiltInPagination && x ? x.loading.value : b.loading), j = Z({
|
|
35546
35547
|
get() {
|
|
35547
35548
|
return b.useBuiltInPagination && x ? x.pagination.value : b.pagination;
|
|
35548
35549
|
},
|
|
@@ -36102,13 +36103,12 @@ const bh = {
|
|
|
36102
36103
|
}, 8, ["pagination", "columns", "rows", "filter", "row-key", "rows-per-page-options", "loading", "hide-no-data"])
|
|
36103
36104
|
], 64));
|
|
36104
36105
|
}
|
|
36105
|
-
}), np = /* @__PURE__ */ vr(Oh, [["__scopeId", "data-v-
|
|
36106
|
+
}), np = /* @__PURE__ */ vr(Oh, [["__scopeId", "data-v-9884019f"]]);
|
|
36106
36107
|
export {
|
|
36107
36108
|
Fh as Breadcrumbs,
|
|
36108
36109
|
Ph as CheckboxFilter,
|
|
36109
36110
|
Zh as ConfirmDeleteDialog,
|
|
36110
36111
|
Yh as CustomTable,
|
|
36111
|
-
np as CustomTableTest,
|
|
36112
36112
|
of as DATE_FORMAT_REGEX,
|
|
36113
36113
|
Hh as DatePicker,
|
|
36114
36114
|
Af as DateRange,
|
|
@@ -36126,6 +36126,7 @@ export {
|
|
|
36126
36126
|
qh as SelfeeFooter,
|
|
36127
36127
|
Nh as SelfeeHeader,
|
|
36128
36128
|
Gh as SelfeeLoader,
|
|
36129
|
+
np as SelfeeTable,
|
|
36129
36130
|
tp as SmartFilters,
|
|
36130
36131
|
zh as UserAvatar,
|
|
36131
36132
|
Vh as createBreadcrumb,
|