@owp/core 2.5.1 → 2.5.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/_virtual/index10.js +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +4 -4
- package/dist/_virtual/index17.js +4 -4
- package/dist/_virtual/index18.js +4 -4
- package/dist/_virtual/index19.js +4 -4
- package/dist/_virtual/index5.js +2 -2
- package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js +39 -32
- package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js.map +1 -1
- package/dist/hooks/useFormDataUploadMutation.js +27 -0
- package/dist/hooks/useFormDataUploadMutation.js.map +1 -0
- package/dist/hooks.js +63 -61
- package/dist/hooks.js.map +1 -1
- package/dist/layout/components/navbar/NavbarToggleButton.js +21 -22
- package/dist/layout/components/navbar/NavbarToggleButton.js.map +1 -1
- package/dist/layout/components/navbar/style/NavbarStyle.js +41 -37
- package/dist/layout/components/navbar/style/NavbarStyle.js.map +1 -1
- package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
- package/dist/layout/components/toolbar/ToolbarLayout.js +57 -69
- package/dist/layout/components/toolbar/ToolbarLayout.js.map +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/.pnpm/react-overlays@5.2.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-overlays/esm/Portal.js +1 -1
- package/dist/owp-app.css +1 -1
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/useFormDataUploadMutation.d.ts +29 -0
- package/dist/types/utils/createFormDataBody.d.ts +20 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/zipUtil.d.ts +13 -0
- package/dist/utils/createFormDataBody.js +21 -0
- package/dist/utils/createFormDataBody.js.map +1 -0
- package/dist/utils/zipUtil.js +42 -29
- package/dist/utils/zipUtil.js.map +1 -1
- package/dist/utils.js +87 -82
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
package/dist/utils.js
CHANGED
|
@@ -1,88 +1,93 @@
|
|
|
1
1
|
import { generateBarcodeUrl as o } from "./utils/barcodeUtil.js";
|
|
2
|
-
import { buildTreeGridEnumAttributesByCommonCodeList as d, transformCommonCodeBasedOnGroupId as
|
|
3
|
-
import { createDateRangeSearchParams as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
2
|
+
import { buildTreeGridEnumAttributesByCommonCodeList as d, transformCommonCodeBasedOnGroupId as a, transformGridEnumByCommonCodeList as m } from "./utils/commonCodeUtils.js";
|
|
3
|
+
import { createDateRangeSearchParams as s } from "./utils/createDateRangeSearchParams.js";
|
|
4
|
+
import { createFormDataBody as p, normalizeFormDataUploadParams as n } from "./utils/createFormDataBody.js";
|
|
5
|
+
import { createJsonBody as x } from "./utils/createJsonBody.js";
|
|
6
|
+
import { createJsonString as f } from "./utils/createJsonString.js";
|
|
7
|
+
import { exportExcelByBuffer as L, getIndexByLetters as g, getLettersByIndex as G, setCellValue as y, setMergeCells as C } from "./utils/excelUtil.js";
|
|
8
|
+
import { fetchFile as B } from "./utils/fetchFile.js";
|
|
9
|
+
import { formatDateToYmd as R, getTodayYmd as D } from "./utils/formatDateToYmd.js";
|
|
10
|
+
import { formatNumber as F } from "./utils/formatNumber.js";
|
|
11
|
+
import { getDisplayValue as O } from "./utils/getDisplayValue.js";
|
|
12
|
+
import { getEstimatedTextCellWidth as H } from "./utils/getEstimatedTextCellWidth.js";
|
|
13
|
+
import { getFormDefaultValues as h } from "./utils/getFormDefaultValues.js";
|
|
14
|
+
import { getStartPagePath as S } from "./utils/getStartPagePath.js";
|
|
15
|
+
import { getTrimmedValue as w } from "./utils/getTrimmedValue.js";
|
|
16
|
+
import { isEnterKeyEvent as M } from "./utils/isEnterKeyEvent.js";
|
|
17
|
+
import { getApiLanguageCode as J, getI18nextLanguageCode as W } from "./utils/language.js";
|
|
18
|
+
import { formatTimeInputToHourMinute as v, normalizeTimeToHourMinute as Y } from "./utils/normalizeTimeToHourMinute.js";
|
|
19
|
+
import { preloadOnIdle as Q } from "./utils/preloadOnIdle.js";
|
|
20
|
+
import { generateQrCodeUrl as k } from "./utils/qrCodeUtil.js";
|
|
21
|
+
import { rebuildValue as X } from "./utils/rebuildValue.js";
|
|
22
|
+
import { sanitizePasswordValue as ee, sanitizeUserIdValue as re } from "./utils/sanitizeAuthInputValue.js";
|
|
23
|
+
import { exportTreeGridExcel as te } from "./utils/treeGridExportExcelUtil.js";
|
|
24
|
+
import { addTreeGridRowById as ae, exportTreeGridToExcelById as me, getTreeGridById as ie, getTreeGridDataRowsById as se, getTreeGridRowChangesById as Te, getTreeGridSelectedRowsById as pe, highlightTreeGridCellById as ne, reloadTreeGridBodyById as le, resetTreeGridChangesById as xe, resetTreeGridChangesByIds as Ee, resetTreeGridSelectionById as fe, resetTreeGridSelectionsByIds as Ie, setTreeGridColumnEnumOptionsById as Le, setTreeGridColumnVisibilityById as ge } from "./utils/treeGridUtil.js";
|
|
25
|
+
import { readZipEntryJson as ye, readZipEntryText as Ce, saveAsZipFile as ue } from "./utils/zipUtil.js";
|
|
26
|
+
import { OwpUtils as _e } from "./utils/common/OwpUtils.js";
|
|
27
|
+
import { DEFAULT_CELL_ALIGNMENT as De, DEFAULT_HEADER_FILL as Ae, DEFAULT_HEADER_FONT as Fe, DEFAULT_THIN_BORDER as ce, DEFAULT_VALUE_FONT as Oe, DEFAULT_WRAP_CELL_ALIGNMENT as Ue } from "./constants/excel.js";
|
|
28
|
+
import { TREEGRID_CELL_HIGHLIGHT_CLASS as Ne, TREEGRID_CELL_HIGHLIGHT_COLOR as he, TREEGRID_INPUT_CELL_COLOR as Ve, TREEGRID_WARNING_CELL_COLOR as Se } from "./constants/treeGrid.js";
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
30
|
+
De as DEFAULT_CELL_ALIGNMENT,
|
|
31
|
+
Ae as DEFAULT_HEADER_FILL,
|
|
32
|
+
Fe as DEFAULT_HEADER_FONT,
|
|
33
|
+
ce as DEFAULT_THIN_BORDER,
|
|
34
|
+
Oe as DEFAULT_VALUE_FONT,
|
|
35
|
+
Ue as DEFAULT_WRAP_CELL_ALIGNMENT,
|
|
36
|
+
_e as OwpUtils,
|
|
37
|
+
Ne as TREEGRID_CELL_HIGHLIGHT_CLASS,
|
|
38
|
+
he as TREEGRID_CELL_HIGHLIGHT_COLOR,
|
|
39
|
+
Ve as TREEGRID_INPUT_CELL_COLOR,
|
|
40
|
+
Se as TREEGRID_WARNING_CELL_COLOR,
|
|
41
|
+
ae as addTreeGridRowById,
|
|
41
42
|
d as buildTreeGridEnumAttributesByCommonCodeList,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
te as
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
R as
|
|
51
|
-
|
|
43
|
+
s as createDateRangeSearchParams,
|
|
44
|
+
p as createFormDataBody,
|
|
45
|
+
x as createJsonBody,
|
|
46
|
+
f as createJsonString,
|
|
47
|
+
L as exportExcelByBuffer,
|
|
48
|
+
te as exportTreeGridExcel,
|
|
49
|
+
me as exportTreeGridToExcelById,
|
|
50
|
+
B as fetchFile,
|
|
51
|
+
R as formatDateToYmd,
|
|
52
|
+
F as formatNumber,
|
|
53
|
+
v as formatTimeInputToHourMinute,
|
|
52
54
|
o as generateBarcodeUrl,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
Y as
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
xe as
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
55
|
+
k as generateQrCodeUrl,
|
|
56
|
+
J as getApiLanguageCode,
|
|
57
|
+
O as getDisplayValue,
|
|
58
|
+
H as getEstimatedTextCellWidth,
|
|
59
|
+
h as getFormDefaultValues,
|
|
60
|
+
W as getI18nextLanguageCode,
|
|
61
|
+
g as getIndexByLetters,
|
|
62
|
+
G as getLettersByIndex,
|
|
63
|
+
S as getStartPagePath,
|
|
64
|
+
D as getTodayYmd,
|
|
65
|
+
ie as getTreeGridById,
|
|
66
|
+
se as getTreeGridDataRowsById,
|
|
67
|
+
Te as getTreeGridRowChangesById,
|
|
68
|
+
pe as getTreeGridSelectedRowsById,
|
|
69
|
+
w as getTrimmedValue,
|
|
70
|
+
ne as highlightTreeGridCellById,
|
|
71
|
+
M as isEnterKeyEvent,
|
|
72
|
+
n as normalizeFormDataUploadParams,
|
|
73
|
+
Y as normalizeTimeToHourMinute,
|
|
74
|
+
Q as preloadOnIdle,
|
|
75
|
+
ye as readZipEntryJson,
|
|
76
|
+
Ce as readZipEntryText,
|
|
77
|
+
X as rebuildValue,
|
|
78
|
+
le as reloadTreeGridBodyById,
|
|
79
|
+
xe as resetTreeGridChangesById,
|
|
80
|
+
Ee as resetTreeGridChangesByIds,
|
|
81
|
+
fe as resetTreeGridSelectionById,
|
|
82
|
+
Ie as resetTreeGridSelectionsByIds,
|
|
83
|
+
ee as sanitizePasswordValue,
|
|
84
|
+
re as sanitizeUserIdValue,
|
|
85
|
+
ue as saveAsZipFile,
|
|
86
|
+
y as setCellValue,
|
|
87
|
+
C as setMergeCells,
|
|
88
|
+
Le as setTreeGridColumnEnumOptionsById,
|
|
89
|
+
ge as setTreeGridColumnVisibilityById,
|
|
90
|
+
a as transformCommonCodeBasedOnGroupId,
|
|
91
|
+
m as transformGridEnumByCommonCodeList
|
|
87
92
|
};
|
|
88
93
|
//# sourceMappingURL=utils.js.map
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|