@owp/core 2.5.18 → 2.5.20

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 (53) hide show
  1. package/dist/components/OwpPageContent/OwpPageContent.js +14 -12
  2. package/dist/components/OwpPageContent/OwpPageContent.js.map +1 -1
  3. package/dist/components/OwpPageTitle/OwpPageTitle.js +37 -35
  4. package/dist/components/OwpPageTitle/OwpPageTitle.js.map +1 -1
  5. package/dist/components/OwpPicker/OwpDatePicker.js +339 -102
  6. package/dist/components/OwpPicker/OwpDatePicker.js.map +1 -1
  7. package/dist/components/OwpPicker/OwpDateRangePicker.js +89 -85
  8. package/dist/components/OwpPicker/OwpDateRangePicker.js.map +1 -1
  9. package/dist/components/OwpPicker/OwpTimePicker.js +494 -236
  10. package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
  11. package/dist/components/OwpPicker/constants/index.js +6 -5
  12. package/dist/components/OwpPicker/constants/index.js.map +1 -1
  13. package/dist/components/OwpPicker/internal/DatePickerInput.js +71 -47
  14. package/dist/components/OwpPicker/internal/DatePickerInput.js.map +1 -1
  15. package/dist/components/OwpSection/OwpSection.js +84 -62
  16. package/dist/components/OwpSection/OwpSection.js.map +1 -1
  17. package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js +42 -40
  18. package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js.map +1 -1
  19. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +307 -270
  20. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
  21. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +267 -276
  22. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  23. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +262 -182
  24. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  25. package/dist/constants/gridTheme.js +7 -6
  26. package/dist/constants/gridTheme.js.map +1 -1
  27. package/dist/constants/treeGrid.js +32 -31
  28. package/dist/constants/treeGrid.js.map +1 -1
  29. package/dist/constants.js +28 -27
  30. package/dist/features/themePreview/configs/grid.js +3 -1
  31. package/dist/features/themePreview/configs/grid.js.map +1 -1
  32. package/dist/features/themePreview/utils/themePreviewDefinitions.js +10 -0
  33. package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
  34. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  35. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/constants.js +1 -1
  36. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  37. package/dist/owp-app.css +1 -1
  38. package/dist/types/components/OwpPageContent/OwpPageContent.d.ts +3 -1
  39. package/dist/types/components/OwpPageTitle/OwpPageTitle.d.ts +3 -1
  40. package/dist/types/components/OwpPicker/constants/index.d.ts +1 -0
  41. package/dist/types/components/OwpPicker/internal/DatePickerInput.d.ts +7 -0
  42. package/dist/types/components/OwpSection/OwpSection.d.ts +3 -1
  43. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +1 -1
  44. package/dist/types/constants/gridTheme.d.ts +2 -0
  45. package/dist/types/constants/treeGrid.d.ts +2 -1
  46. package/dist/types/features/themePreview/configs/grid.d.ts +2 -0
  47. package/dist/types/features/themePreview/configs/settings.d.ts +2 -0
  48. package/dist/types/types/OwpGridThemeTypes.d.ts +1 -0
  49. package/dist/types/utils/treeGridUtil.d.ts +15 -3
  50. package/dist/utils/treeGridUtil.js +193 -147
  51. package/dist/utils/treeGridUtil.js.map +1 -1
  52. package/dist/utils.js +69 -67
  53. package/package.json +1 -1
package/dist/utils.js CHANGED
@@ -1,102 +1,104 @@
1
1
  import { generateBarcodeUrl as o } from "./utils/barcodeUtil.js";
2
2
  import { buildTreeGridEnumAttributesByCommonCodeList as d, transformCommonCodeBasedOnGroupId as i, transformGridEnumByCommonCodeList as a } from "./utils/commonCodeUtils.js";
3
- import { createDateRangeSearchParams as l } from "./utils/createDateRangeSearchParams.js";
4
- import { createFormDataBody as E, normalizeFormDataUploadParams as s } from "./utils/createFormDataBody.js";
5
- import { createJsonBody as p } from "./utils/createJsonBody.js";
6
- import { createJsonString as n } from "./utils/createJsonString.js";
7
- import { exportExcelByBuffer as L, getIndexByLetters as _, getLettersByIndex as x, setCellValue as R, setMergeCells as f } from "./utils/excelUtil.js";
8
- import { fetchFile as B } from "./utils/fetchFile.js";
9
- import { formatDateToYmd as y, getTodayYmd as u } from "./utils/formatDateToYmd.js";
3
+ import { createDateRangeSearchParams as m } from "./utils/createDateRangeSearchParams.js";
4
+ import { createFormDataBody as T, normalizeFormDataUploadParams as s } from "./utils/createFormDataBody.js";
5
+ import { createJsonBody as G } from "./utils/createJsonBody.js";
6
+ import { createJsonString as I } from "./utils/createJsonString.js";
7
+ import { exportExcelByBuffer as g, getIndexByLetters as _, getLettersByIndex as L, setCellValue as R, setMergeCells as C } from "./utils/excelUtil.js";
8
+ import { fetchFile as D } from "./utils/fetchFile.js";
9
+ import { formatDateToYmd as y, getTodayYmd as A } from "./utils/formatDateToYmd.js";
10
10
  import { formatNumber as h } from "./utils/formatNumber.js";
11
- import { getDisplayValue as H } from "./utils/getDisplayValue.js";
12
- import { getEstimatedTextCellWidth as F } from "./utils/getEstimatedTextCellWidth.js";
13
- import { getFormDefaultValues as V } from "./utils/getFormDefaultValues.js";
14
- import { getStartPagePath as w } from "./utils/getStartPagePath.js";
11
+ import { getDisplayValue as c } from "./utils/getDisplayValue.js";
12
+ import { getEstimatedTextCellWidth as U } from "./utils/getEstimatedTextCellWidth.js";
13
+ import { getFormDefaultValues as w } from "./utils/getFormDefaultValues.js";
14
+ import { getStartPagePath as N } from "./utils/getStartPagePath.js";
15
15
  import { getTrimmedValue as P } from "./utils/getTrimmedValue.js";
16
16
  import { isEnterKeyEvent as W } from "./utils/isEnterKeyEvent.js";
17
- import { getApiLanguageCode as M, getI18nextLanguageCode as v } from "./utils/language.js";
17
+ import { getApiLanguageCode as z, getI18nextLanguageCode as M } from "./utils/language.js";
18
18
  import { preloadOnIdle as J } from "./utils/preloadOnIdle.js";
19
19
  import { generateQrCodeUrl as Z } from "./utils/qrCodeUtil.js";
20
20
  import { rebuildValue as Q } from "./utils/rebuildValue.js";
21
21
  import { sanitizePasswordValue as q, sanitizeUserIdValue as X } from "./utils/sanitizeAuthInputValue.js";
22
22
  import { exportTreeGridExcel as ee } from "./utils/treeGridExportExcelUtil.js";
23
23
  import { isTreeGridCheckedValue as oe, toTreeGridBoolValue as te, toTreeGridYnValue as de } from "./utils/treeGridYnUtils.js";
24
- import { TREEGRID_ADDED_ROW_BASELINE_VALUES_KEY as ae, TREEGRID_ADDED_ROW_BY_ID_FLAG as me, TREEGRID_ADDED_ROW_HIGHLIGHT_COLUMNS_KEY as le, addTreeGridRowById as Te, appendTreeGridAddedRowHighlightColumn as Ee, clearTreeGridCellHighlightById as se, exportTreeGridToExcelById as Ge, getTreeGridAddedRowBaselineValue as pe, getTreeGridAddedRowHighlightColumns as Ie, getTreeGridById as ne, getTreeGridCellComparableValue as ge, getTreeGridDataRowsById as Le, getTreeGridRowChangesById as _e, getTreeGridSelectedRowsById as xe, highlightTreeGridCellById as Re, isTreeGridRowAddedById as fe, markTreeGridRowAddedById as Ce, reloadTreeGridBodyById as Be, removeTreeGridAddedRowHighlightColumn as De, resetTreeGridChangesById as ye, resetTreeGridChangesByIds as ue, resetTreeGridSelectionById as Ae, resetTreeGridSelectionsByIds as he, setTreeGridColumnEnumOptionsById as Oe, setTreeGridColumnVisibilityById as He } from "./utils/treeGridUtil.js";
25
- import { readZipEntryJson as Fe, readZipEntryText as Ue, saveAsZipFile as Ve } from "./utils/zipUtil.js";
26
- import { OwpUtils as we } from "./utils/common/OwpUtils.js";
27
- import { DEFAULT_CELL_ALIGNMENT as Pe, DEFAULT_HEADER_FILL as be, DEFAULT_HEADER_FONT as We, DEFAULT_THIN_BORDER as Ye, DEFAULT_VALUE_FONT as Me, DEFAULT_WRAP_CELL_ALIGNMENT as ve } from "./constants/excel.js";
28
- import { TREEGRID_CELL_HIGHLIGHT_CLASS as Je, TREEGRID_CELL_HIGHLIGHT_COLOR as Ke, TREEGRID_INPUT_CELL_COLOR as Ze, TREEGRID_WARNING_CELL_COLOR as ke } from "./constants/treeGrid.js";
24
+ import { TREEGRID_ADDED_ROW_BASELINE_VALUES_KEY as ae, TREEGRID_ADDED_ROW_BY_ID_FLAG as le, TREEGRID_ADDED_ROW_HIGHLIGHT_COLUMNS_KEY as me, addTreeGridRowById as Ee, appendTreeGridAddedRowHighlightColumn as Te, clearTreeGridCellHighlightById as se, exportTreeGridToExcelById as ne, getTreeGridAddedRowBaselineValue as Ge, getTreeGridAddedRowHighlightColumns as pe, getTreeGridById as Ie, getTreeGridCellComparableValue as xe, getTreeGridDataRowsById as ge, getTreeGridRowChangesById as _e, getTreeGridSelectedRowsById as Le, highlightTreeGridCellById as Re, isTreeGridRowAddedById as Ce, markTreeGridRowAddedById as fe, normalizeTreeGridExternalRow as De, normalizeTreeGridExternalRows as Be, reloadTreeGridBodyById as ye, removeTreeGridAddedRowHighlightColumn as Ae, resetTreeGridChangesById as ue, resetTreeGridChangesByIds as he, resetTreeGridSelectionById as Oe, resetTreeGridSelectionsByIds as ce, setTreeGridColumnEnumOptionsById as Fe, setTreeGridColumnVisibilityById as Ue } from "./utils/treeGridUtil.js";
25
+ import { readZipEntryJson as we, readZipEntryText as He, saveAsZipFile as Ne } from "./utils/zipUtil.js";
26
+ import { OwpUtils as Pe } from "./utils/common/OwpUtils.js";
27
+ import { DEFAULT_CELL_ALIGNMENT as We, DEFAULT_HEADER_FILL as Ye, DEFAULT_HEADER_FONT as ze, DEFAULT_THIN_BORDER as Me, DEFAULT_VALUE_FONT as ve, DEFAULT_WRAP_CELL_ALIGNMENT as Je } from "./constants/excel.js";
28
+ import { TREEGRID_CELL_CHANGED_CLASS as Ze, TREEGRID_CELL_HIGHLIGHT_COLOR as ke, TREEGRID_INPUT_CELL_COLOR as Qe, TREEGRID_WARNING_CELL_COLOR as je } from "./constants/treeGrid.js";
29
29
  export {
30
- Pe as DEFAULT_CELL_ALIGNMENT,
31
- be as DEFAULT_HEADER_FILL,
32
- We as DEFAULT_HEADER_FONT,
33
- Ye as DEFAULT_THIN_BORDER,
34
- Me as DEFAULT_VALUE_FONT,
35
- ve as DEFAULT_WRAP_CELL_ALIGNMENT,
36
- we as OwpUtils,
30
+ We as DEFAULT_CELL_ALIGNMENT,
31
+ Ye as DEFAULT_HEADER_FILL,
32
+ ze as DEFAULT_HEADER_FONT,
33
+ Me as DEFAULT_THIN_BORDER,
34
+ ve as DEFAULT_VALUE_FONT,
35
+ Je as DEFAULT_WRAP_CELL_ALIGNMENT,
36
+ Pe as OwpUtils,
37
37
  ae as TREEGRID_ADDED_ROW_BASELINE_VALUES_KEY,
38
- me as TREEGRID_ADDED_ROW_BY_ID_FLAG,
39
- le as TREEGRID_ADDED_ROW_HIGHLIGHT_COLUMNS_KEY,
40
- Je as TREEGRID_CELL_HIGHLIGHT_CLASS,
41
- Ke as TREEGRID_CELL_HIGHLIGHT_COLOR,
42
- Ze as TREEGRID_INPUT_CELL_COLOR,
43
- ke as TREEGRID_WARNING_CELL_COLOR,
44
- Te as addTreeGridRowById,
45
- Ee as appendTreeGridAddedRowHighlightColumn,
38
+ le as TREEGRID_ADDED_ROW_BY_ID_FLAG,
39
+ me as TREEGRID_ADDED_ROW_HIGHLIGHT_COLUMNS_KEY,
40
+ Ze as TREEGRID_CELL_CHANGED_CLASS,
41
+ ke as TREEGRID_CELL_HIGHLIGHT_COLOR,
42
+ Qe as TREEGRID_INPUT_CELL_COLOR,
43
+ je as TREEGRID_WARNING_CELL_COLOR,
44
+ Ee as addTreeGridRowById,
45
+ Te as appendTreeGridAddedRowHighlightColumn,
46
46
  d as buildTreeGridEnumAttributesByCommonCodeList,
47
47
  se as clearTreeGridCellHighlightById,
48
- l as createDateRangeSearchParams,
49
- E as createFormDataBody,
50
- p as createJsonBody,
51
- n as createJsonString,
52
- L as exportExcelByBuffer,
48
+ m as createDateRangeSearchParams,
49
+ T as createFormDataBody,
50
+ G as createJsonBody,
51
+ I as createJsonString,
52
+ g as exportExcelByBuffer,
53
53
  ee as exportTreeGridExcel,
54
- Ge as exportTreeGridToExcelById,
55
- B as fetchFile,
54
+ ne as exportTreeGridToExcelById,
55
+ D as fetchFile,
56
56
  y as formatDateToYmd,
57
57
  h as formatNumber,
58
58
  o as generateBarcodeUrl,
59
59
  Z as generateQrCodeUrl,
60
- M as getApiLanguageCode,
61
- H as getDisplayValue,
62
- F as getEstimatedTextCellWidth,
63
- V as getFormDefaultValues,
64
- v as getI18nextLanguageCode,
60
+ z as getApiLanguageCode,
61
+ c as getDisplayValue,
62
+ U as getEstimatedTextCellWidth,
63
+ w as getFormDefaultValues,
64
+ M as getI18nextLanguageCode,
65
65
  _ as getIndexByLetters,
66
- x as getLettersByIndex,
67
- w as getStartPagePath,
68
- u as getTodayYmd,
69
- pe as getTreeGridAddedRowBaselineValue,
70
- Ie as getTreeGridAddedRowHighlightColumns,
71
- ne as getTreeGridById,
72
- ge as getTreeGridCellComparableValue,
73
- Le as getTreeGridDataRowsById,
66
+ L as getLettersByIndex,
67
+ N as getStartPagePath,
68
+ A as getTodayYmd,
69
+ Ge as getTreeGridAddedRowBaselineValue,
70
+ pe as getTreeGridAddedRowHighlightColumns,
71
+ Ie as getTreeGridById,
72
+ xe as getTreeGridCellComparableValue,
73
+ ge as getTreeGridDataRowsById,
74
74
  _e as getTreeGridRowChangesById,
75
- xe as getTreeGridSelectedRowsById,
75
+ Le as getTreeGridSelectedRowsById,
76
76
  P as getTrimmedValue,
77
77
  Re as highlightTreeGridCellById,
78
78
  W as isEnterKeyEvent,
79
79
  oe as isTreeGridCheckedValue,
80
- fe as isTreeGridRowAddedById,
81
- Ce as markTreeGridRowAddedById,
80
+ Ce as isTreeGridRowAddedById,
81
+ fe as markTreeGridRowAddedById,
82
82
  s as normalizeFormDataUploadParams,
83
+ De as normalizeTreeGridExternalRow,
84
+ Be as normalizeTreeGridExternalRows,
83
85
  J as preloadOnIdle,
84
- Fe as readZipEntryJson,
85
- Ue as readZipEntryText,
86
+ we as readZipEntryJson,
87
+ He as readZipEntryText,
86
88
  Q as rebuildValue,
87
- Be as reloadTreeGridBodyById,
88
- De as removeTreeGridAddedRowHighlightColumn,
89
- ye as resetTreeGridChangesById,
90
- ue as resetTreeGridChangesByIds,
91
- Ae as resetTreeGridSelectionById,
92
- he as resetTreeGridSelectionsByIds,
89
+ ye as reloadTreeGridBodyById,
90
+ Ae as removeTreeGridAddedRowHighlightColumn,
91
+ ue as resetTreeGridChangesById,
92
+ he as resetTreeGridChangesByIds,
93
+ Oe as resetTreeGridSelectionById,
94
+ ce as resetTreeGridSelectionsByIds,
93
95
  q as sanitizePasswordValue,
94
96
  X as sanitizeUserIdValue,
95
- Ve as saveAsZipFile,
97
+ Ne as saveAsZipFile,
96
98
  R as setCellValue,
97
- f as setMergeCells,
98
- Oe as setTreeGridColumnEnumOptionsById,
99
- He as setTreeGridColumnVisibilityById,
99
+ C as setMergeCells,
100
+ Fe as setTreeGridColumnEnumOptionsById,
101
+ Ue as setTreeGridColumnVisibilityById,
100
102
  te as toTreeGridBoolValue,
101
103
  de as toTreeGridYnValue,
102
104
  i as transformCommonCodeBasedOnGroupId,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@owp/core",
3
3
  "private": false,
4
- "version": "2.5.18",
4
+ "version": "2.5.20",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",