aq-fe-framework 0.1.83 → 0.1.85
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/{chunk-BNC4S63Y.mjs → chunk-EEQENBXZ.mjs} +7 -1
- package/dist/{chunk-WITBUG5F.mjs → chunk-XT3GL3UA.mjs} +1501 -1468
- package/dist/chunk-Y3YGC5IH.mjs +21 -0
- package/dist/components/index.d.mts +33 -15
- package/dist/components/index.mjs +5 -3
- package/dist/modules-features/index.d.mts +29 -12
- package/dist/modules-features/index.mjs +5 -5
- package/dist/stores/index.d.mts +1 -17
- package/dist/stores/index.mjs +3 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/{utils_excel-CP9z_HOI.d.mts → utils_excel-CLb5lfmI.d.mts} +1 -1
- package/package.json +2 -1
- package/dist/chunk-AL73DX37.mjs +0 -54
|
@@ -49,8 +49,14 @@ function utils_date_formatToDateTimeStartEnd(startDate, endDate) {
|
|
|
49
49
|
|
|
50
50
|
// src/utils/utils_excel.ts
|
|
51
51
|
import saveAs from "file-saver";
|
|
52
|
+
function isObjectPath(path) {
|
|
53
|
+
return /^[a-zA-Z_$][a-zA-Z0-9_$]*(\.[a-zA-Z_$][a-zA-Z0-9_$]*)+$/.test(path);
|
|
54
|
+
}
|
|
52
55
|
function getValueByPath(obj, path) {
|
|
53
|
-
|
|
56
|
+
if (isObjectPath(path)) {
|
|
57
|
+
return path.split(".").reduce((acc, key) => acc == null ? void 0 : acc[key], obj);
|
|
58
|
+
}
|
|
59
|
+
return obj == null ? void 0 : obj[path];
|
|
54
60
|
}
|
|
55
61
|
async function utils_excel_exportExcel({
|
|
56
62
|
workbook,
|