@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.
Files changed (52) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index12.js +2 -2
  3. package/dist/_virtual/index13.js +2 -2
  4. package/dist/_virtual/index14.js +2 -2
  5. package/dist/_virtual/index15.js +2 -2
  6. package/dist/_virtual/index16.js +4 -4
  7. package/dist/_virtual/index17.js +4 -4
  8. package/dist/_virtual/index18.js +4 -4
  9. package/dist/_virtual/index19.js +4 -4
  10. package/dist/_virtual/index5.js +2 -2
  11. package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js +39 -32
  12. package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js.map +1 -1
  13. package/dist/hooks/useFormDataUploadMutation.js +27 -0
  14. package/dist/hooks/useFormDataUploadMutation.js.map +1 -0
  15. package/dist/hooks.js +63 -61
  16. package/dist/hooks.js.map +1 -1
  17. package/dist/layout/components/navbar/NavbarToggleButton.js +21 -22
  18. package/dist/layout/components/navbar/NavbarToggleButton.js.map +1 -1
  19. package/dist/layout/components/navbar/style/NavbarStyle.js +41 -37
  20. package/dist/layout/components/navbar/style/NavbarStyle.js.map +1 -1
  21. package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
  22. package/dist/layout/components/toolbar/ToolbarLayout.js +57 -69
  23. package/dist/layout/components/toolbar/ToolbarLayout.js.map +1 -1
  24. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  25. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  26. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  27. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  28. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  29. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  30. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  31. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  32. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  33. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  34. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  35. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  36. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  37. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  38. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  39. 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
  40. package/dist/owp-app.css +1 -1
  41. package/dist/types/hooks/index.d.ts +1 -0
  42. package/dist/types/hooks/useFormDataUploadMutation.d.ts +29 -0
  43. package/dist/types/utils/createFormDataBody.d.ts +20 -0
  44. package/dist/types/utils/index.d.ts +1 -0
  45. package/dist/types/utils/zipUtil.d.ts +13 -0
  46. package/dist/utils/createFormDataBody.js +21 -0
  47. package/dist/utils/createFormDataBody.js.map +1 -0
  48. package/dist/utils/zipUtil.js +42 -29
  49. package/dist/utils/zipUtil.js.map +1 -1
  50. package/dist/utils.js +87 -82
  51. package/dist/utils.js.map +1 -1
  52. 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 m, transformGridEnumByCommonCodeList as i } from "./utils/commonCodeUtils.js";
3
- import { createDateRangeSearchParams as T } from "./utils/createDateRangeSearchParams.js";
4
- import { createJsonBody as l } from "./utils/createJsonBody.js";
5
- import { createJsonString as n } from "./utils/createJsonString.js";
6
- import { exportExcelByBuffer as E, getIndexByLetters as f, getLettersByIndex as I, setCellValue as L, setMergeCells as g } from "./utils/excelUtil.js";
7
- import { fetchFile as C } from "./utils/fetchFile.js";
8
- import { formatDateToYmd as y, getTodayYmd as B } from "./utils/formatDateToYmd.js";
9
- import { formatNumber as R } from "./utils/formatNumber.js";
10
- import { getDisplayValue as A } from "./utils/getDisplayValue.js";
11
- import { getEstimatedTextCellWidth as c } from "./utils/getEstimatedTextCellWidth.js";
12
- import { getFormDefaultValues as U } from "./utils/getFormDefaultValues.js";
13
- import { getStartPagePath as N } from "./utils/getStartPagePath.js";
14
- import { getTrimmedValue as V } from "./utils/getTrimmedValue.js";
15
- import { isEnterKeyEvent as w } from "./utils/isEnterKeyEvent.js";
16
- import { getApiLanguageCode as b, getI18nextLanguageCode as M } from "./utils/language.js";
17
- import { formatTimeInputToHourMinute as W, normalizeTimeToHourMinute as v } from "./utils/normalizeTimeToHourMinute.js";
18
- import { preloadOnIdle as Y } from "./utils/preloadOnIdle.js";
19
- import { generateQrCodeUrl as Q } from "./utils/qrCodeUtil.js";
20
- import { rebuildValue as j } from "./utils/rebuildValue.js";
21
- import { sanitizePasswordValue as q, sanitizeUserIdValue as X } from "./utils/sanitizeAuthInputValue.js";
22
- import { exportTreeGridExcel as ee } from "./utils/treeGridExportExcelUtil.js";
23
- import { addTreeGridRowById as oe, exportTreeGridToExcelById as te, getTreeGridById as de, getTreeGridDataRowsById as me, getTreeGridRowChangesById as ie, getTreeGridSelectedRowsById as ae, highlightTreeGridCellById as Te, reloadTreeGridBodyById as se, resetTreeGridChangesById as le, resetTreeGridChangesByIds as pe, resetTreeGridSelectionById as ne, resetTreeGridSelectionsByIds as xe, setTreeGridColumnEnumOptionsById as Ee, setTreeGridColumnVisibilityById as fe } from "./utils/treeGridUtil.js";
24
- import { saveAsZipFile as Le } from "./utils/zipUtil.js";
25
- import { OwpUtils as Ge } from "./utils/common/OwpUtils.js";
26
- import { DEFAULT_CELL_ALIGNMENT as ue, DEFAULT_HEADER_FILL as ye, DEFAULT_HEADER_FONT as Be, DEFAULT_THIN_BORDER as _e, DEFAULT_VALUE_FONT as Re, DEFAULT_WRAP_CELL_ALIGNMENT as De } from "./constants/excel.js";
27
- import { TREEGRID_CELL_HIGHLIGHT_CLASS as Oe, TREEGRID_CELL_HIGHLIGHT_COLOR as ce, TREEGRID_INPUT_CELL_COLOR as Fe, TREEGRID_WARNING_CELL_COLOR as Ue } from "./constants/treeGrid.js";
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
- ue as DEFAULT_CELL_ALIGNMENT,
30
- ye as DEFAULT_HEADER_FILL,
31
- Be as DEFAULT_HEADER_FONT,
32
- _e as DEFAULT_THIN_BORDER,
33
- Re as DEFAULT_VALUE_FONT,
34
- De as DEFAULT_WRAP_CELL_ALIGNMENT,
35
- Ge as OwpUtils,
36
- Oe as TREEGRID_CELL_HIGHLIGHT_CLASS,
37
- ce as TREEGRID_CELL_HIGHLIGHT_COLOR,
38
- Fe as TREEGRID_INPUT_CELL_COLOR,
39
- Ue as TREEGRID_WARNING_CELL_COLOR,
40
- oe as addTreeGridRowById,
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
- T as createDateRangeSearchParams,
43
- l as createJsonBody,
44
- n as createJsonString,
45
- E as exportExcelByBuffer,
46
- ee as exportTreeGridExcel,
47
- te as exportTreeGridToExcelById,
48
- C as fetchFile,
49
- y as formatDateToYmd,
50
- R as formatNumber,
51
- W as formatTimeInputToHourMinute,
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
- Q as generateQrCodeUrl,
54
- b as getApiLanguageCode,
55
- A as getDisplayValue,
56
- c as getEstimatedTextCellWidth,
57
- U as getFormDefaultValues,
58
- M as getI18nextLanguageCode,
59
- f as getIndexByLetters,
60
- I as getLettersByIndex,
61
- N as getStartPagePath,
62
- B as getTodayYmd,
63
- de as getTreeGridById,
64
- me as getTreeGridDataRowsById,
65
- ie as getTreeGridRowChangesById,
66
- ae as getTreeGridSelectedRowsById,
67
- V as getTrimmedValue,
68
- Te as highlightTreeGridCellById,
69
- w as isEnterKeyEvent,
70
- v as normalizeTimeToHourMinute,
71
- Y as preloadOnIdle,
72
- j as rebuildValue,
73
- se as reloadTreeGridBodyById,
74
- le as resetTreeGridChangesById,
75
- pe as resetTreeGridChangesByIds,
76
- ne as resetTreeGridSelectionById,
77
- xe as resetTreeGridSelectionsByIds,
78
- q as sanitizePasswordValue,
79
- X as sanitizeUserIdValue,
80
- Le as saveAsZipFile,
81
- L as setCellValue,
82
- g as setMergeCells,
83
- Ee as setTreeGridColumnEnumOptionsById,
84
- fe as setTreeGridColumnVisibilityById,
85
- m as transformCommonCodeBasedOnGroupId,
86
- i as transformGridEnumByCommonCodeList
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@owp/core",
3
3
  "private": false,
4
- "version": "2.5.1",
4
+ "version": "2.5.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",