@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.
- package/dist/components/OwpPageContent/OwpPageContent.js +14 -12
- package/dist/components/OwpPageContent/OwpPageContent.js.map +1 -1
- package/dist/components/OwpPageTitle/OwpPageTitle.js +37 -35
- package/dist/components/OwpPageTitle/OwpPageTitle.js.map +1 -1
- package/dist/components/OwpPicker/OwpDatePicker.js +339 -102
- package/dist/components/OwpPicker/OwpDatePicker.js.map +1 -1
- package/dist/components/OwpPicker/OwpDateRangePicker.js +89 -85
- package/dist/components/OwpPicker/OwpDateRangePicker.js.map +1 -1
- package/dist/components/OwpPicker/OwpTimePicker.js +494 -236
- package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
- package/dist/components/OwpPicker/constants/index.js +6 -5
- package/dist/components/OwpPicker/constants/index.js.map +1 -1
- package/dist/components/OwpPicker/internal/DatePickerInput.js +71 -47
- package/dist/components/OwpPicker/internal/DatePickerInput.js.map +1 -1
- package/dist/components/OwpSection/OwpSection.js +84 -62
- package/dist/components/OwpSection/OwpSection.js.map +1 -1
- package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js +42 -40
- package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +307 -270
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +267 -276
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +262 -182
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/constants/gridTheme.js +7 -6
- package/dist/constants/gridTheme.js.map +1 -1
- package/dist/constants/treeGrid.js +32 -31
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +28 -27
- package/dist/features/themePreview/configs/grid.js +3 -1
- package/dist/features/themePreview/configs/grid.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +10 -0
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/owp-app.css +1 -1
- package/dist/types/components/OwpPageContent/OwpPageContent.d.ts +3 -1
- package/dist/types/components/OwpPageTitle/OwpPageTitle.d.ts +3 -1
- package/dist/types/components/OwpPicker/constants/index.d.ts +1 -0
- package/dist/types/components/OwpPicker/internal/DatePickerInput.d.ts +7 -0
- package/dist/types/components/OwpSection/OwpSection.d.ts +3 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +1 -1
- package/dist/types/constants/gridTheme.d.ts +2 -0
- package/dist/types/constants/treeGrid.d.ts +2 -1
- package/dist/types/features/themePreview/configs/grid.d.ts +2 -0
- package/dist/types/features/themePreview/configs/settings.d.ts +2 -0
- package/dist/types/types/OwpGridThemeTypes.d.ts +1 -0
- package/dist/types/utils/treeGridUtil.d.ts +15 -3
- package/dist/utils/treeGridUtil.js +193 -147
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/dist/utils.js +69 -67
- 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
|
|
4
|
-
import { createFormDataBody as
|
|
5
|
-
import { createJsonBody as
|
|
6
|
-
import { createJsonString as
|
|
7
|
-
import { exportExcelByBuffer as
|
|
8
|
-
import { fetchFile as
|
|
9
|
-
import { formatDateToYmd as y, getTodayYmd as
|
|
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
|
|
12
|
-
import { getEstimatedTextCellWidth as
|
|
13
|
-
import { getFormDefaultValues as
|
|
14
|
-
import { getStartPagePath as
|
|
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
|
|
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
|
|
25
|
-
import { readZipEntryJson as
|
|
26
|
-
import { OwpUtils as
|
|
27
|
-
import { DEFAULT_CELL_ALIGNMENT as
|
|
28
|
-
import {
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
-
|
|
55
|
-
|
|
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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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
|
-
|
|
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
|
-
|
|
81
|
-
|
|
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
|
-
|
|
85
|
-
|
|
86
|
+
we as readZipEntryJson,
|
|
87
|
+
He as readZipEntryText,
|
|
86
88
|
Q as rebuildValue,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
97
|
+
Ne as saveAsZipFile,
|
|
96
98
|
R as setCellValue,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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,
|