aq-fe-framework 0.2.4 → 0.2.5
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-G75DH6JW.mjs → chunk-6VCC6SNB.mjs} +2 -1
- package/dist/{chunk-LZVUOVHO.mjs → chunk-EK56CXXU.mjs} +4 -2
- package/dist/{chunk-BDL36J6Y.mjs → chunk-YV2SXIKG.mjs} +11 -11
- package/dist/components/index.mjs +3 -3
- package/dist/core/index.mjs +3 -3
- package/dist/modules-features/index.mjs +3 -3
- package/dist/shared/index.mjs +3 -3
- package/dist/utils/index.mjs +1 -1
- package/dist/utils-v2/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -37,7 +37,8 @@ var utils_converter = {
|
|
|
37
37
|
// src/utils-v2/utils_excel.ts
|
|
38
38
|
import dayjs from "dayjs";
|
|
39
39
|
import customParseFormat from "dayjs/plugin/customParseFormat";
|
|
40
|
-
import
|
|
40
|
+
import pkg from "file-saver";
|
|
41
|
+
var { saveAs } = pkg;
|
|
41
42
|
dayjs.extend(customParseFormat);
|
|
42
43
|
function addSheet(props) {
|
|
43
44
|
const sheet = props.workbook.addWorksheet(props.sheetName);
|
|
@@ -124,8 +124,9 @@ function utils_date_formatToDateTimeString(date, WithSeconds) {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
// src/utils/utils_excel.ts
|
|
127
|
-
import
|
|
127
|
+
import pkg from "file-saver";
|
|
128
128
|
import { read, utils, writeFile } from "xlsx";
|
|
129
|
+
var { saveAs } = pkg;
|
|
129
130
|
function isObjectPath(path) {
|
|
130
131
|
return /^[a-zA-Z_$][a-zA-Z0-9_$]*(\.[a-zA-Z_$][a-zA-Z0-9_$]*)+$/.test(path);
|
|
131
132
|
}
|
|
@@ -268,8 +269,9 @@ function utils_field_extractAQBaseField(values) {
|
|
|
268
269
|
|
|
269
270
|
// src/utils/utils_file.ts
|
|
270
271
|
import Docxtemplater from "docxtemplater";
|
|
271
|
-
import
|
|
272
|
+
import pkg2 from "file-saver";
|
|
272
273
|
import PizZip from "pizzip";
|
|
274
|
+
var { saveAs: saveAs2 } = pkg2;
|
|
273
275
|
function utils_file_fileToAQDocumentType(file) {
|
|
274
276
|
return new Promise((resolve, reject) => {
|
|
275
277
|
const fileReader = new FileReader();
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
utils_converter_enumToSelectOptions,
|
|
3
|
-
utils_date_dateToDDMMYYYString,
|
|
4
|
-
utils_excel_download,
|
|
5
|
-
utils_excel_exportExcel,
|
|
6
|
-
utils_excel_handleExport,
|
|
7
|
-
utils_file_fileToAQDocumentType,
|
|
8
|
-
utils_notification_show,
|
|
9
|
-
utils_pdf_download
|
|
10
|
-
} from "./chunk-LZVUOVHO.mjs";
|
|
11
1
|
import {
|
|
12
2
|
utils_currency,
|
|
13
3
|
utils_date,
|
|
@@ -15,7 +5,7 @@ import {
|
|
|
15
5
|
utils_file,
|
|
16
6
|
utils_mantineReactTable,
|
|
17
7
|
utils_text
|
|
18
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6VCC6SNB.mjs";
|
|
19
9
|
import {
|
|
20
10
|
baseAxios_default,
|
|
21
11
|
useConfig,
|
|
@@ -31,6 +21,16 @@ import {
|
|
|
31
21
|
useStore_Permission,
|
|
32
22
|
useStore_ProjectInfo
|
|
33
23
|
} from "./chunk-CBZXSBNX.mjs";
|
|
24
|
+
import {
|
|
25
|
+
utils_converter_enumToSelectOptions,
|
|
26
|
+
utils_date_dateToDDMMYYYString,
|
|
27
|
+
utils_excel_download,
|
|
28
|
+
utils_excel_exportExcel,
|
|
29
|
+
utils_excel_handleExport,
|
|
30
|
+
utils_file_fileToAQDocumentType,
|
|
31
|
+
utils_notification_show,
|
|
32
|
+
utils_pdf_download
|
|
33
|
+
} from "./chunk-EK56CXXU.mjs";
|
|
34
34
|
import {
|
|
35
35
|
__objRest,
|
|
36
36
|
__restKey,
|
|
@@ -65,12 +65,12 @@ import {
|
|
|
65
65
|
getReadablePageIdSet,
|
|
66
66
|
useHeaderMegaMenuStore,
|
|
67
67
|
useStore_BasicAppShell
|
|
68
|
-
} from "../chunk-
|
|
69
|
-
import "../chunk-
|
|
70
|
-
import "../chunk-G75DH6JW.mjs";
|
|
68
|
+
} from "../chunk-YV2SXIKG.mjs";
|
|
69
|
+
import "../chunk-6VCC6SNB.mjs";
|
|
71
70
|
import "../chunk-YMMUWZA3.mjs";
|
|
72
71
|
import "../chunk-CBZXSBNX.mjs";
|
|
73
72
|
import "../chunk-WZ6PXGGC.mjs";
|
|
73
|
+
import "../chunk-EK56CXXU.mjs";
|
|
74
74
|
import "../chunk-JD6AELXS.mjs";
|
|
75
75
|
export {
|
|
76
76
|
AQButtonCreateByImportFile,
|
package/dist/core/index.mjs
CHANGED
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
MyStatsCard,
|
|
38
38
|
MyTextInput2 as MyTextInput,
|
|
39
39
|
MyWeeklySessionSchedulerPicker
|
|
40
|
-
} from "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-G75DH6JW.mjs";
|
|
40
|
+
} from "../chunk-YV2SXIKG.mjs";
|
|
41
|
+
import "../chunk-6VCC6SNB.mjs";
|
|
43
42
|
import "../chunk-YMMUWZA3.mjs";
|
|
44
43
|
import "../chunk-CBZXSBNX.mjs";
|
|
45
44
|
import "../chunk-WZ6PXGGC.mjs";
|
|
45
|
+
import "../chunk-EK56CXXU.mjs";
|
|
46
46
|
import "../chunk-JD6AELXS.mjs";
|
|
47
47
|
export {
|
|
48
48
|
CustomAutocomplete,
|
|
@@ -64,12 +64,12 @@ import {
|
|
|
64
64
|
UserAvatarMenu,
|
|
65
65
|
useS_moduleConfig,
|
|
66
66
|
useStore_Authenticate
|
|
67
|
-
} from "../chunk-
|
|
68
|
-
import "../chunk-
|
|
69
|
-
import "../chunk-G75DH6JW.mjs";
|
|
67
|
+
} from "../chunk-YV2SXIKG.mjs";
|
|
68
|
+
import "../chunk-6VCC6SNB.mjs";
|
|
70
69
|
import "../chunk-YMMUWZA3.mjs";
|
|
71
70
|
import "../chunk-CBZXSBNX.mjs";
|
|
72
71
|
import "../chunk-WZ6PXGGC.mjs";
|
|
72
|
+
import "../chunk-EK56CXXU.mjs";
|
|
73
73
|
import "../chunk-JD6AELXS.mjs";
|
|
74
74
|
export {
|
|
75
75
|
AcademicYearsCreate,
|
package/dist/shared/index.mjs
CHANGED
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
documentTypesObject,
|
|
9
9
|
genderEnum,
|
|
10
10
|
genderLabel
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-LZVUOVHO.mjs";
|
|
11
|
+
} from "../chunk-YV2SXIKG.mjs";
|
|
13
12
|
import {
|
|
14
13
|
utils_converter
|
|
15
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-6VCC6SNB.mjs";
|
|
16
15
|
import "../chunk-YMMUWZA3.mjs";
|
|
17
16
|
import {
|
|
18
17
|
createGenericStore
|
|
19
18
|
} from "../chunk-CBZXSBNX.mjs";
|
|
20
19
|
import "../chunk-WZ6PXGGC.mjs";
|
|
20
|
+
import "../chunk-EK56CXXU.mjs";
|
|
21
21
|
import {
|
|
22
22
|
__objRest,
|
|
23
23
|
__spreadValues
|
package/dist/utils/index.mjs
CHANGED
package/dist/utils-v2/index.mjs
CHANGED