@owp/core 2.5.34 → 2.5.35

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 (108) hide show
  1. package/dist/_virtual/index3.js +2 -2
  2. package/dist/_virtual/index4.js +2 -2
  3. package/dist/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js +68 -62
  4. package/dist/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js.map +1 -1
  5. package/dist/components/OwpDialog/OwpAlertDialog.js +19 -18
  6. package/dist/components/OwpDialog/OwpAlertDialog.js.map +1 -1
  7. package/dist/components/OwpDialog/OwpDialog.js +34 -31
  8. package/dist/components/OwpDialog/OwpDialog.js.map +1 -1
  9. package/dist/components/OwpDialog/internal/useDialogOpenFocusCleanup.js +18 -0
  10. package/dist/components/OwpDialog/internal/useDialogOpenFocusCleanup.js.map +1 -0
  11. package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js +25 -15
  12. package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js.map +1 -1
  13. package/dist/components/OwpLayout/OwpLayout.js.map +1 -1
  14. package/dist/components/OwpNumberField/OwpNumberField.js +45 -24
  15. package/dist/components/OwpNumberField/OwpNumberField.js.map +1 -1
  16. package/dist/components/OwpScrollbars/OwpScrollbars.js +79 -52
  17. package/dist/components/OwpScrollbars/OwpScrollbars.js.map +1 -1
  18. package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js +157 -157
  19. package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js.map +1 -1
  20. package/dist/components/OwpTable/OwpDataTable.js +377 -342
  21. package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
  22. package/dist/components/OwpTable/OwpTable.js +20 -19
  23. package/dist/components/OwpTable/OwpTable.js.map +1 -1
  24. package/dist/components/OwpTable/internal/OwpTableBase.js +81 -78
  25. package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
  26. package/dist/components/OwpTable/internal/treeGridTableStyle.js +88 -31
  27. package/dist/components/OwpTable/internal/treeGridTableStyle.js.map +1 -1
  28. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +304 -262
  29. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  30. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +282 -277
  31. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  32. package/dist/configs/layoutConfig.js +0 -6
  33. package/dist/configs/layoutConfig.js.map +1 -1
  34. package/dist/constants/treeGrid.js +59 -46
  35. package/dist/constants/treeGrid.js.map +1 -1
  36. package/dist/constants.js +18 -18
  37. package/dist/constants.js.map +1 -1
  38. package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +15 -15
  39. package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
  40. package/dist/hooks/internal/useNavbar.js +4 -4
  41. package/dist/hooks/useConfirm.js +1 -1
  42. package/dist/hooks/useConfirm.js.map +1 -1
  43. package/dist/hooks/useOwpDialogs.js +19 -0
  44. package/dist/hooks/useOwpDialogs.js.map +1 -0
  45. package/dist/hooks.js +34 -32
  46. package/dist/hooks.js.map +1 -1
  47. package/dist/index.js +69 -71
  48. package/dist/index.js.map +1 -1
  49. package/dist/layout/Layout.js +23 -27
  50. package/dist/layout/Layout.js.map +1 -1
  51. package/dist/layout/components/layouts/FooterLayout.js.map +1 -1
  52. package/dist/layout/components/menus/PasswordChangeMenu.js +25 -25
  53. package/dist/layout/components/menus/PasswordChangeMenu.js.map +1 -1
  54. package/dist/layout/components/toggles/NavigationSearchToggle.js +1 -1
  55. package/dist/layout/components/toggles/NavigationSearchToggle.js.map +1 -1
  56. package/dist/layout/components/toggles/NavigationShortcutsToggle.js +1 -1
  57. package/dist/layout/components/toggles/NavigationShortcutsToggle.js.map +1 -1
  58. package/dist/layout/components/toggles/ThemePreviewToggle.js +14 -14
  59. package/dist/layout/components/toggles/ThemePreviewToggle.js.map +1 -1
  60. package/dist/node_modules/.pnpm/inko@1.1.1/node_modules/inko/index.js +1 -1
  61. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/index.js +1 -1
  62. package/dist/owp-app.css +1 -1
  63. package/dist/types/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts +5 -3
  64. package/dist/types/components/OwpDialog/OwpAlertDialog.d.ts +1 -1
  65. package/dist/types/components/OwpDialog/internal/useDialogOpenFocusCleanup.d.ts +5 -0
  66. package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +8 -14
  67. package/dist/types/components/OwpNumberField/OwpNumberField.d.ts +18 -4
  68. package/dist/types/components/OwpScrollbars/OwpScrollbars.d.ts +28 -14
  69. package/dist/types/components/OwpTable/internal/OwpTableBase.d.ts +3 -1
  70. package/dist/types/components/OwpTable/internal/treeGridTableStyle.d.ts +61 -2
  71. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +2 -1
  72. package/dist/types/configs/layoutConfig.d.ts +0 -6
  73. package/dist/types/constants/index.d.ts +0 -1
  74. package/dist/types/constants/treeGrid.d.ts +9 -0
  75. package/dist/types/features/themePreview/dialogs/ThemePreviewDialog.d.ts +1 -1
  76. package/dist/types/hooks/index.d.ts +1 -0
  77. package/dist/types/hooks/useOwpDialogs.d.ts +5 -0
  78. package/dist/types/hooks/useOwpSettings.d.ts +0 -6
  79. package/dist/types/index.d.ts +0 -1
  80. package/dist/types/store/atoms/owpSettingsAtoms.d.ts +0 -6
  81. package/dist/types/types/OwpDialogTypes.d.ts +1 -0
  82. package/dist/types/types/OwpRouteTypes.d.ts +25 -0
  83. package/dist/types/types/index.d.ts +2 -0
  84. package/dist/types/utils/index.d.ts +0 -1
  85. package/dist/types/utils/internal/blurActiveElement.d.ts +4 -0
  86. package/dist/utils/internal/blurActiveElement.js +12 -0
  87. package/dist/utils/internal/blurActiveElement.js.map +1 -0
  88. package/dist/utils/{navigationUtils.js → internal/navigationUtils.js} +3 -3
  89. package/dist/utils/internal/navigationUtils.js.map +1 -0
  90. package/dist/utils.js +23 -25
  91. package/dist/utils.js.map +1 -1
  92. package/package.json +1 -1
  93. package/dist/components/OwpEventEmitter/OwpEventEmitter.js +0 -51
  94. package/dist/components/OwpEventEmitter/OwpEventEmitter.js.map +0 -1
  95. package/dist/layout/components/layouts/LeftSideLayout.js +0 -13
  96. package/dist/layout/components/layouts/LeftSideLayout.js.map +0 -1
  97. package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/array/some.js +0 -66
  98. package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/array/some.js.map +0 -1
  99. package/dist/node_modules/.pnpm/perfect-scrollbar@1.5.6/node_modules/perfect-scrollbar/css/perfect-scrollbar.css +0 -1
  100. package/dist/types/components/OwpEventEmitter/OwpEventEmitter.d.ts +0 -27
  101. package/dist/types/components/OwpEventEmitter/index.d.ts +0 -1
  102. package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +0 -6
  103. package/dist/types/utils/common/OwpUtils.d.ts +0 -119
  104. package/dist/types/utils/common/index.d.ts +0 -1
  105. package/dist/utils/common/OwpUtils.js +0 -196
  106. package/dist/utils/common/OwpUtils.js.map +0 -1
  107. package/dist/utils/navigationUtils.js.map +0 -1
  108. /package/dist/types/utils/{navigationUtils.d.ts → internal/navigationUtils.d.ts} +0 -0
package/dist/hooks.js CHANGED
@@ -1,48 +1,50 @@
1
1
  import { useFilteredCommonCodeList as r, useGetCommonCodeList as o, useSetCommonCodeList as s } from "./hooks/useCommonCodeList.js";
2
- import { useConfirm as n } from "./hooks/useConfirm.js";
2
+ import { useConfirm as m } from "./hooks/useConfirm.js";
3
3
  import { useGetLogoSrc as i, useSetLogoSrc as a } from "./hooks/useLogoSrc.js";
4
- import { useMinimumVisibleState as S } from "./hooks/useMinimumVisibleState.js";
4
+ import { useMinimumVisibleState as f } from "./hooks/useMinimumVisibleState.js";
5
5
  import { useGetCurrentUser as C, useSetCurrentUser as x } from "./hooks/useCurrentUser.js";
6
- import { useGetCurrentUserId as g, useSetCurrentUserId as d } from "./hooks/useCurrentUserId.js";
7
- import { useEnsureCurrentUserSeq as l, useGetCurrentUserSeq as T, useSetCurrentUserSeq as E } from "./hooks/useCurrentUserSeq.js";
6
+ import { useGetCurrentUserId as G, useSetCurrentUserId as d } from "./hooks/useCurrentUserId.js";
7
+ import { useEnsureCurrentUserSeq as L, useGetCurrentUserSeq as T, useSetCurrentUserSeq as E } from "./hooks/useCurrentUserSeq.js";
8
8
  import { useFormDataUploadMutation as c } from "./hooks/useFormDataUploadMutation.js";
9
9
  import { useInitApp as b } from "./hooks/useInitApp.js";
10
- import { useGetNavigationList as q, useSetNavigationList as w } from "./hooks/useNavigation.js";
11
- import { useChangeOwpTheme as F, useGetCurrentLayoutConfig as I, useGetCurrentSettings as M, useGetCustomScrollbarsEnabled as N, useGetDefaultSettings as O, useGetFooterTheme as k, useGetMainTheme as P, useGetNavbarTheme as y, useGetOwpSettings as A, useGetToolbarTheme as R, useResetSettings as V, useSetDefaultSettings as j, useSetSettings as z } from "./hooks/useOwpSettings.js";
12
- import { useOwpTranslation as H } from "./hooks/useOwpTranslation.js";
13
- import { useGetPageLockLoading as K, usePageLockLoading as Q } from "./hooks/usePageLockLoading.js";
14
- import { getEnv as X, setEnv as Y, useStorage as Z } from "./hooks/useStorage.js";
15
- import { useTreeGridCommonCodeEnums as $ } from "./hooks/useTreeGridCommonCodeEnums.js";
16
- import { useTreeGridEnums as te } from "./hooks/useTreeGridEnums.js";
17
- import { useTreeGridExcelExport as oe } from "./hooks/useTreeGridExcelExport.js";
10
+ import { useGetNavigationList as w, useSetNavigationList as D } from "./hooks/useNavigation.js";
11
+ import { useChangeOwpTheme as q, useGetCurrentLayoutConfig as F, useGetCurrentSettings as I, useGetCustomScrollbarsEnabled as M, useGetDefaultSettings as N, useGetFooterTheme as k, useGetMainTheme as P, useGetNavbarTheme as y, useGetOwpSettings as A, useGetToolbarTheme as R, useResetSettings as V, useSetDefaultSettings as j, useSetSettings as z } from "./hooks/useOwpSettings.js";
12
+ import { useOwpDialogs as H } from "./hooks/useOwpDialogs.js";
13
+ import { useOwpTranslation as K } from "./hooks/useOwpTranslation.js";
14
+ import { useGetPageLockLoading as W, usePageLockLoading as X } from "./hooks/usePageLockLoading.js";
15
+ import { getEnv as Z, setEnv as _, useStorage as $ } from "./hooks/useStorage.js";
16
+ import { useTreeGridCommonCodeEnums as te } from "./hooks/useTreeGridCommonCodeEnums.js";
17
+ import { useTreeGridEnums as oe } from "./hooks/useTreeGridEnums.js";
18
+ import { useTreeGridExcelExport as ue } from "./hooks/useTreeGridExcelExport.js";
18
19
  export {
19
- X as getEnv,
20
- Y as setEnv,
21
- F as useChangeOwpTheme,
22
- n as useConfirm,
23
- l as useEnsureCurrentUserSeq,
20
+ Z as getEnv,
21
+ _ as setEnv,
22
+ q as useChangeOwpTheme,
23
+ m as useConfirm,
24
+ L as useEnsureCurrentUserSeq,
24
25
  r as useFilteredCommonCodeList,
25
26
  c as useFormDataUploadMutation,
26
27
  o as useGetCommonCodeList,
27
- I as useGetCurrentLayoutConfig,
28
- M as useGetCurrentSettings,
28
+ F as useGetCurrentLayoutConfig,
29
+ I as useGetCurrentSettings,
29
30
  C as useGetCurrentUser,
30
- g as useGetCurrentUserId,
31
+ G as useGetCurrentUserId,
31
32
  T as useGetCurrentUserSeq,
32
- N as useGetCustomScrollbarsEnabled,
33
- O as useGetDefaultSettings,
33
+ M as useGetCustomScrollbarsEnabled,
34
+ N as useGetDefaultSettings,
34
35
  k as useGetFooterTheme,
35
36
  i as useGetLogoSrc,
36
37
  P as useGetMainTheme,
37
38
  y as useGetNavbarTheme,
38
- q as useGetNavigationList,
39
+ w as useGetNavigationList,
39
40
  A as useGetOwpSettings,
40
- K as useGetPageLockLoading,
41
+ W as useGetPageLockLoading,
41
42
  R as useGetToolbarTheme,
42
43
  b as useInitApp,
43
- S as useMinimumVisibleState,
44
- H as useOwpTranslation,
45
- Q as usePageLockLoading,
44
+ f as useMinimumVisibleState,
45
+ H as useOwpDialogs,
46
+ K as useOwpTranslation,
47
+ X as usePageLockLoading,
46
48
  V as useResetSettings,
47
49
  s as useSetCommonCodeList,
48
50
  x as useSetCurrentUser,
@@ -50,11 +52,11 @@ export {
50
52
  E as useSetCurrentUserSeq,
51
53
  j as useSetDefaultSettings,
52
54
  a as useSetLogoSrc,
53
- w as useSetNavigationList,
55
+ D as useSetNavigationList,
54
56
  z as useSetSettings,
55
- Z as useStorage,
56
- $ as useTreeGridCommonCodeEnums,
57
- te as useTreeGridEnums,
58
- oe as useTreeGridExcelExport
57
+ $ as useStorage,
58
+ te as useTreeGridCommonCodeEnums,
59
+ oe as useTreeGridEnums,
60
+ ue as useTreeGridExcelExport
59
61
  };
60
62
  //# sourceMappingURL=hooks.js.map
package/dist/hooks.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"hooks.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
package/dist/index.js CHANGED
@@ -7,8 +7,8 @@ import { OwpExportDataToExcelButton as P } from "./components/OwpExportExcelButt
7
7
  import { OwpFilePickerButton as D } from "./components/OwpFilePickerButton/OwpFilePickerButton.js";
8
8
  import { OwpMoreActionsButton as k } from "./components/OwpMoreActionsButton/OwpMoreActionsButton.js";
9
9
  import { OwpDatePicker as B } from "./components/OwpPicker/OwpDatePicker.js";
10
- import { OwpDateRangePicker as L } from "./components/OwpPicker/OwpDateRangePicker.js";
11
- import { OwpTimePicker as G } from "./components/OwpPicker/OwpTimePicker.js";
10
+ import { OwpDateRangePicker as F } from "./components/OwpPicker/OwpDateRangePicker.js";
11
+ import { OwpTimePicker as E } from "./components/OwpPicker/OwpTimePicker.js";
12
12
  import { OwpWeekDatePicker as v } from "./components/OwpPicker/OwpWeekDatePicker.js";
13
13
  import { OwpYearRangePicker as Q } from "./components/OwpPicker/OwpYearRangePicker.js";
14
14
  import { OwpDataTable as H } from "./components/OwpTable/OwpDataTable.js";
@@ -19,93 +19,91 @@ import { OwpTreeGridToolbar as z } from "./components/OwpTreeGrid/OwpTreeGridToo
19
19
  import { OwpZoomImageSlider as K } from "./components/OwpZoomImageSlider/OwpZoomImageSlider.js";
20
20
  import { default as V } from "./components/OwpPageBreadcrumb/OwpPageBreadcrumb.js";
21
21
  import { OwpErrorBoundary as _ } from "./components/OwpErrorBoundary/OwpErrorBoundary.js";
22
- import { OwpEventEmitter as ee } from "./components/OwpEventEmitter/OwpEventEmitter.js";
23
- import { OwpLanguageSwitcherSelect as re } from "./components/OwpLanguageSwitcherSelect/OwpLanguageSwitcherSelect.js";
24
- import { OwpAlertDialog as pe } from "./components/OwpDialog/OwpAlertDialog.js";
25
- import { OwpDialog as xe } from "./components/OwpDialog/OwpDialog.js";
26
- import { CommonCodeSelector as fe, OwpCommonCodeSelector as Oe } from "./components/OwpCommonCode/OwpCommonCodeSelector.js";
27
- import { CommonCodeQuerySelector as ie, OwpCommonCodeQuerySelector as le } from "./components/OwpCommonCode/OwpCommonCodeQuerySelector.js";
28
- import { CommonCodeRadioGroup as de, OwpCommonCodeRadioGroup as ue } from "./components/OwpCommonCode/OwpCommonCodeRadioGroup.js";
29
- import { OwpErrorStatusPage as ce } from "./components/OwpErrorStatusPage/OwpErrorStatusPage.js";
30
- import { OwpFieldHelperText as Se } from "./components/OwpFieldHelperText/OwpFieldHelperText.js";
31
- import { OwpLayout as Ce } from "./components/OwpLayout/OwpLayout.js";
32
- import { OwpLoading as he } from "./components/OwpLoading/OwpLoading.js";
33
- import { OwpNumberField as be } from "./components/OwpNumberField/OwpNumberField.js";
34
- import { OwpOptionSelector as ye } from "./components/OwpOptionSelector/OwpOptionSelector.js";
35
- import { OwpPageCarded as Ee } from "./components/OwpPageCarded/OwpPageCarded.js";
36
- import { OwpPageContent as Fe } from "./components/OwpPageContent/OwpPageContent.js";
37
- import { OwpPageLockLoading as Re } from "./components/OwpPageLockLoading/OwpPageLockLoading.js";
38
- import { OwpPageTitle as Ie } from "./components/OwpPageTitle/OwpPageTitle.js";
39
- import { OwpQuerySelector as Ae } from "./components/OwpQuerySelector/OwpQuerySelector.js";
40
- import { OwpScrollbars as Me } from "./components/OwpScrollbars/OwpScrollbars.js";
41
- import { OwpSearchFilter as We } from "./components/OwpSearchFilter/OwpSearchFilter.js";
42
- import { OwpSection as qe } from "./components/OwpSection/OwpSection.js";
43
- import { OwpStyleProvider as je } from "./components/OwpStyleProvider/OwpStyleProvider.js";
44
- import { OwpSuspense as Je } from "./components/OwpSuspense/OwpSuspense.js";
45
- import { OwpSvgIcon as Ue } from "./components/OwpSvgIcon/OwpSvgIcon.js";
46
- import { OwpRequiredHelperText as Xe } from "./components/OwpRequiredHelperText/OwpRequiredHelperText.js";
47
- import { OwpTab as $e } from "./components/OwpTabs/OwpTab.js";
48
- import { OwpTabs as oo } from "./components/OwpTabs/OwpTabs.js";
49
- import { OwpTreeGridExportExcelButton as to } from "./components/OwpTreeGridExportExcelButton/OwpTreeGridExportExcelButton.js";
50
- import { OwpTreeGridResetChangesButton as mo } from "./components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js";
51
- import { OwpTreeGrid as ao } from "./components/OwpTreeGrid/OwpTreeGrid.js";
52
- import { TreeGrid as Oo } from "./components/OwpTreeGrid/TreeGrid.js";
53
- import { OwpYesNoSelector as io } from "./components/OwpYesNoSelector/OwpYesNoSelector.js";
22
+ import { OwpLanguageSwitcherSelect as ee } from "./components/OwpLanguageSwitcherSelect/OwpLanguageSwitcherSelect.js";
23
+ import { OwpAlertDialog as re } from "./components/OwpDialog/OwpAlertDialog.js";
24
+ import { OwpDialog as pe } from "./components/OwpDialog/OwpDialog.js";
25
+ import { CommonCodeSelector as xe, OwpCommonCodeSelector as ae } from "./components/OwpCommonCode/OwpCommonCodeSelector.js";
26
+ import { CommonCodeQuerySelector as Oe, OwpCommonCodeQuerySelector as we } from "./components/OwpCommonCode/OwpCommonCodeQuerySelector.js";
27
+ import { CommonCodeRadioGroup as le, OwpCommonCodeRadioGroup as ne } from "./components/OwpCommonCode/OwpCommonCodeRadioGroup.js";
28
+ import { OwpErrorStatusPage as ue } from "./components/OwpErrorStatusPage/OwpErrorStatusPage.js";
29
+ import { OwpFieldHelperText as ce } from "./components/OwpFieldHelperText/OwpFieldHelperText.js";
30
+ import { OwpLayout as Se } from "./components/OwpLayout/OwpLayout.js";
31
+ import { OwpLoading as Ce } from "./components/OwpLoading/OwpLoading.js";
32
+ import { OwpNumberField as he } from "./components/OwpNumberField/OwpNumberField.js";
33
+ import { OwpOptionSelector as be } from "./components/OwpOptionSelector/OwpOptionSelector.js";
34
+ import { OwpPageCarded as ye } from "./components/OwpPageCarded/OwpPageCarded.js";
35
+ import { OwpPageContent as Le } from "./components/OwpPageContent/OwpPageContent.js";
36
+ import { OwpPageLockLoading as Ge } from "./components/OwpPageLockLoading/OwpPageLockLoading.js";
37
+ import { OwpPageTitle as Re } from "./components/OwpPageTitle/OwpPageTitle.js";
38
+ import { OwpQuerySelector as Ie } from "./components/OwpQuerySelector/OwpQuerySelector.js";
39
+ import { OwpScrollbars as Ae } from "./components/OwpScrollbars/OwpScrollbars.js";
40
+ import { OwpSearchFilter as Me } from "./components/OwpSearchFilter/OwpSearchFilter.js";
41
+ import { OwpSection as We } from "./components/OwpSection/OwpSection.js";
42
+ import { OwpStyleProvider as qe } from "./components/OwpStyleProvider/OwpStyleProvider.js";
43
+ import { OwpSuspense as je } from "./components/OwpSuspense/OwpSuspense.js";
44
+ import { OwpSvgIcon as Je } from "./components/OwpSvgIcon/OwpSvgIcon.js";
45
+ import { OwpRequiredHelperText as Ue } from "./components/OwpRequiredHelperText/OwpRequiredHelperText.js";
46
+ import { OwpTab as Xe } from "./components/OwpTabs/OwpTab.js";
47
+ import { OwpTabs as $e } from "./components/OwpTabs/OwpTabs.js";
48
+ import { OwpTreeGridExportExcelButton as oo } from "./components/OwpTreeGridExportExcelButton/OwpTreeGridExportExcelButton.js";
49
+ import { OwpTreeGridResetChangesButton as to } from "./components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js";
50
+ import { OwpTreeGrid as mo } from "./components/OwpTreeGrid/OwpTreeGrid.js";
51
+ import { TreeGrid as ao } from "./components/OwpTreeGrid/TreeGrid.js";
52
+ import { OwpYesNoSelector as Oo } from "./components/OwpYesNoSelector/OwpYesNoSelector.js";
54
53
  export {
55
- ie as CommonCodeQuerySelector,
56
- de as CommonCodeRadioGroup,
57
- fe as CommonCodeSelector,
54
+ Oe as CommonCodeQuerySelector,
55
+ le as CommonCodeRadioGroup,
56
+ xe as CommonCodeSelector,
58
57
  r as DialogsProvider,
59
- pe as OwpAlertDialog,
58
+ re as OwpAlertDialog,
60
59
  s as OwpAutoLogoutDialog,
61
60
  T as OwpBarcodeInputField,
62
- le as OwpCommonCodeQuerySelector,
63
- ue as OwpCommonCodeRadioGroup,
64
- Oe as OwpCommonCodeSelector,
61
+ we as OwpCommonCodeQuerySelector,
62
+ ne as OwpCommonCodeRadioGroup,
63
+ ae as OwpCommonCodeSelector,
65
64
  H as OwpDataTable,
66
65
  B as OwpDatePicker,
67
- L as OwpDateRangePicker,
68
- xe as OwpDialog,
66
+ F as OwpDateRangePicker,
67
+ pe as OwpDialog,
69
68
  _ as OwpErrorBoundary,
70
- ce as OwpErrorStatusPage,
71
- ee as OwpEventEmitter,
69
+ ue as OwpErrorStatusPage,
72
70
  P as OwpExportDataToExcelButton,
73
- Se as OwpFieldHelperText,
71
+ ce as OwpFieldHelperText,
74
72
  Y as OwpFieldTable,
75
73
  D as OwpFilePickerButton,
76
- re as OwpLanguageSwitcherSelect,
77
- Ce as OwpLayout,
78
- he as OwpLoading,
74
+ ee as OwpLanguageSwitcherSelect,
75
+ Se as OwpLayout,
76
+ Ce as OwpLoading,
79
77
  k as OwpMoreActionsButton,
80
- be as OwpNumberField,
81
- ye as OwpOptionSelector,
78
+ he as OwpNumberField,
79
+ be as OwpOptionSelector,
82
80
  V as OwpPageBreadcrumb,
83
- Ee as OwpPageCarded,
84
- Fe as OwpPageContent,
85
- Re as OwpPageLockLoading,
86
- Ie as OwpPageTitle,
87
- Ae as OwpQuerySelector,
88
- Xe as OwpRequiredHelperText,
89
- Me as OwpScrollbars,
90
- We as OwpSearchFilter,
91
- qe as OwpSection,
92
- je as OwpStyleProvider,
93
- Je as OwpSuspense,
94
- Ue as OwpSvgIcon,
95
- $e as OwpTab,
81
+ ye as OwpPageCarded,
82
+ Le as OwpPageContent,
83
+ Ge as OwpPageLockLoading,
84
+ Re as OwpPageTitle,
85
+ Ie as OwpQuerySelector,
86
+ Ue as OwpRequiredHelperText,
87
+ Ae as OwpScrollbars,
88
+ Me as OwpSearchFilter,
89
+ We as OwpSection,
90
+ qe as OwpStyleProvider,
91
+ je as OwpSuspense,
92
+ Je as OwpSvgIcon,
93
+ Xe as OwpTab,
96
94
  N as OwpTable,
97
- oo as OwpTabs,
95
+ $e as OwpTabs,
98
96
  Z as OwpTextMaskField,
99
- G as OwpTimePicker,
100
- ao as OwpTreeGrid,
101
- to as OwpTreeGridExportExcelButton,
102
- mo as OwpTreeGridResetChangesButton,
97
+ E as OwpTimePicker,
98
+ mo as OwpTreeGrid,
99
+ oo as OwpTreeGridExportExcelButton,
100
+ to as OwpTreeGridResetChangesButton,
103
101
  z as OwpTreeGridToolbar,
104
102
  v as OwpWeekDatePicker,
105
103
  Q as OwpYearRangePicker,
106
- io as OwpYesNoSelector,
104
+ Oo as OwpYesNoSelector,
107
105
  K as OwpZoomImageSlider,
108
- Oo as TreeGrid,
106
+ ao as TreeGrid,
109
107
  x as createInitialOwpSettings,
110
108
  a as defaultSettings,
111
109
  f as defaultSnackbarTheme,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,19 +1,18 @@
1
1
  var u = Object.defineProperty;
2
2
  var r = (i, a) => u(i, "name", { value: a, configurable: !0 });
3
- import { jsxs as e, jsx as t } from "../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
3
+ import { jsx as t, jsxs as e } from "../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
4
4
  import { useNavigationActiveRouteRemountKey as p } from "../hooks/internal/useNavigationActiveRouteRemount.js";
5
5
  import { useGetCurrentLayoutConfig as d } from "../hooks/useOwpSettings.js";
6
6
  import { LinearProgress as x } from "@mui/material";
7
- import { styled as y } from "@mui/material/styles";
8
- import { useIsFetching as h, useIsMutating as g } from "@tanstack/react-query";
7
+ import { styled as h } from "@mui/material/styles";
8
+ import { useIsFetching as y, useIsMutating as g } from "@tanstack/react-query";
9
9
  import { memo as v } from "react";
10
10
  import { Outlet as b } from "react-router-dom";
11
11
  import L from "./components/layouts/FooterLayout.js";
12
- import w from "./components/layouts/LeftSideLayout.js";
13
12
  import n from "./components/layouts/NavbarWrapperLayout.js";
14
- import N from "./components/toolbar/ToolbarLayout.js";
15
- import { OwpSuspense as R } from "../components/OwpSuspense/OwpSuspense.js";
16
- const W = y("div")(({ config: i }) => ({
13
+ import w from "./components/toolbar/ToolbarLayout.js";
14
+ import { OwpSuspense as N } from "../components/OwpSuspense/OwpSuspense.js";
15
+ const R = h("div")(({ config: i }) => ({
17
16
  ...i.mode === "boxed" && {
18
17
  clipPath: "inset(0)",
19
18
  maxWidth: i.containerWidth,
@@ -30,28 +29,25 @@ const W = y("div")(({ config: i }) => ({
30
29
  }
31
30
  }
32
31
  }));
33
- function C(i) {
34
- const { children: a, layoutConfig: l } = i, m = d(), s = p(), o = l ?? m, f = h(), c = g();
35
- return /* @__PURE__ */ e(W, { id: "owp-layout", config: o, className: "flex w-full", children: [
36
- o.leftSidePanel.display && /* @__PURE__ */ t(w, {}),
37
- /* @__PURE__ */ e("div", { className: "flex min-w-0 flex-auto", children: [
38
- o.navbar.display && o.navbar.position === "left" && /* @__PURE__ */ t(n, {}),
39
- /* @__PURE__ */ e("main", { id: "owp-main", className: "relative z-10 flex min-h-full min-w-0 flex-auto flex-col", children: [
40
- o.toolbar.display && /* @__PURE__ */ t(N, { className: o.toolbar.style === "fixed" ? "sticky top-0" : "" }),
41
- !!(f || c) && /* @__PURE__ */ t("div", { className: "fixed top-0 left-0 z-30 w-full", children: /* @__PURE__ */ t(x, { color: "secondary" }) }),
42
- /* @__PURE__ */ e("div", { className: "relative z-10 flex min-h-0 flex-auto flex-col", children: [
43
- /* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(b, {}, s) }),
44
- a
45
- ] }),
46
- o.footer.display && /* @__PURE__ */ t(L, { className: o.footer.style === "fixed" ? "sticky bottom-0" : "" })
32
+ function W(i) {
33
+ const { children: a, layoutConfig: l } = i, s = d(), m = p(), o = l ?? s, c = y(), f = g();
34
+ return /* @__PURE__ */ t(R, { id: "owp-layout", config: o, className: "flex w-full", children: /* @__PURE__ */ e("div", { className: "flex min-w-0 flex-auto", children: [
35
+ o.navbar.display && o.navbar.position === "left" && /* @__PURE__ */ t(n, {}),
36
+ /* @__PURE__ */ e("main", { id: "owp-main", className: "relative z-10 flex min-h-full min-w-0 flex-auto flex-col", children: [
37
+ o.toolbar.display && /* @__PURE__ */ t(w, { className: o.toolbar.style === "fixed" ? "sticky top-0" : "" }),
38
+ !!(c || f) && /* @__PURE__ */ t("div", { className: "fixed top-0 left-0 z-30 w-full", children: /* @__PURE__ */ t(x, { color: "secondary" }) }),
39
+ /* @__PURE__ */ e("div", { className: "relative z-10 flex min-h-0 flex-auto flex-col", children: [
40
+ /* @__PURE__ */ t(N, { children: /* @__PURE__ */ t(b, {}, m) }),
41
+ a
47
42
  ] }),
48
- o.navbar.display && o.navbar.position === "right" && /* @__PURE__ */ t(n, {})
49
- ] })
50
- ] });
43
+ o.footer.display && /* @__PURE__ */ t(L, { className: o.footer.style === "fixed" ? "sticky bottom-0" : "" })
44
+ ] }),
45
+ o.navbar.display && o.navbar.position === "right" && /* @__PURE__ */ t(n, {})
46
+ ] }) });
51
47
  }
52
- r(C, "Layout");
53
- const $ = v(C);
48
+ r(W, "Layout");
49
+ const G = v(W);
54
50
  export {
55
- $ as default
51
+ G as default
56
52
  };
57
53
  //# sourceMappingURL=Layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.js","sources":["../../src/layout/Layout.tsx"],"sourcesContent":["import { LayoutConfigDefaultsType } from '@/configs/layoutConfig';\nimport { OwpSuspense } from '@/components/OwpSuspense';\nimport { useNavigationActiveRouteRemountKey } from '@/hooks/internal/useNavigationActiveRouteRemount';\nimport { useGetCurrentLayoutConfig } from '@/hooks/useOwpSettings';\nimport { LinearProgress } from '@mui/material';\nimport { styled } from '@mui/material/styles';\nimport { useIsFetching, useIsMutating } from '@tanstack/react-query';\nimport { memo, ReactNode } from 'react';\nimport { Outlet } from 'react-router-dom';\nimport FooterLayout from './components/layouts/FooterLayout';\nimport LeftSideLayout from './components/layouts/LeftSideLayout';\nimport NavbarWrapperLayout from './components/layouts/NavbarWrapperLayout';\nimport ToolbarLayout from './components/toolbar/ToolbarLayout';\n\nconst Root = styled('div')(({ config }: { config: LayoutConfigDefaultsType }) => ({\n ...(config.mode === 'boxed' && {\n clipPath: 'inset(0)',\n maxWidth: config.containerWidth,\n marginLeft: 'auto',\n marginRight: 'auto',\n boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',\n }),\n ...(config.mode === 'container' && {\n '& .container': {\n maxWidth: config.containerWidth,\n width: '100%',\n marginLeft: 'auto',\n marginRight: 'auto',\n },\n }),\n}));\n\ntype LayoutProps = {\n layoutConfig?: LayoutConfigDefaultsType;\n children?: ReactNode;\n};\n\n/**\n * The layout.\n */\nfunction Layout(props: LayoutProps) {\n const { children, layoutConfig } = props;\n const currentLayoutConfig = useGetCurrentLayoutConfig() as LayoutConfigDefaultsType;\n const navigationActiveRouteRemountKey = useNavigationActiveRouteRemountKey();\n const config = layoutConfig ?? currentLayoutConfig;\n const isFetching = useIsFetching();\n const isMutating = useIsMutating();\n\n return (\n <Root id=\"owp-layout\" config={config} className=\"flex w-full\">\n {config.leftSidePanel.display && <LeftSideLayout />}\n\n <div className=\"flex min-w-0 flex-auto\">\n {config.navbar.display && config.navbar.position === 'left' && <NavbarWrapperLayout />}\n\n <main id=\"owp-main\" className=\"relative z-10 flex min-h-full min-w-0 flex-auto flex-col\">\n {config.toolbar.display && (\n <ToolbarLayout className={config.toolbar.style === 'fixed' ? 'sticky top-0' : ''} />\n )}\n {Boolean(isFetching || isMutating) && (\n <div className=\"fixed top-0 left-0 z-30 w-full\">\n <LinearProgress color=\"secondary\" />\n </div>\n )}\n\n <div className=\"relative z-10 flex min-h-0 flex-auto flex-col\">\n <OwpSuspense>\n <Outlet key={navigationActiveRouteRemountKey} />\n </OwpSuspense>\n {children}\n </div>\n\n {config.footer.display && (\n <FooterLayout className={config.footer.style === 'fixed' ? 'sticky bottom-0' : ''} />\n )}\n </main>\n\n {config.navbar.display && config.navbar.position === 'right' && <NavbarWrapperLayout />}\n </div>\n </Root>\n );\n}\n\nexport default memo(Layout);\n"],"names":["Root","styled","config","Layout","props","children","layoutConfig","currentLayoutConfig","useGetCurrentLayoutConfig","navigationActiveRouteRemountKey","useNavigationActiveRouteRemountKey","isFetching","useIsFetching","isMutating","useIsMutating","jsx","LeftSideLayout","jsxs","NavbarWrapperLayout","ToolbarLayout","LinearProgress","OwpSuspense","Outlet","FooterLayout","__name","Layout$1","memo"],"mappings":";;;;;;;;;;;;;;;AAcA,MAAMA,IAAOC,EAAO,KAAK,EAAE,CAAC,EAAE,QAAAC,SAAoD;AAAA,EAChF,GAAIA,EAAO,SAAS,WAAW;AAAA,IAC7B,UAAU;AAAA,IACV,UAAUA,EAAO;AAAA,IACjB,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,WAAW;AAAA,EAAA;AAAA,EAEb,GAAIA,EAAO,SAAS,eAAe;AAAA,IACjC,gBAAgB;AAAA,MACd,UAAUA,EAAO;AAAA,MACjB,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,aAAa;AAAA,IAAA;AAAA,EACf;AAEJ,EAAE;AAUF,SAASC,EAAOC,GAAoB;AAClC,QAAM,EAAE,UAAAC,GAAU,cAAAC,EAAA,IAAiBF,GAC7BG,IAAsBC,EAAA,GACtBC,IAAkCC,EAAA,GAClCR,IAASI,KAAgBC,GACzBI,IAAaC,EAAA,GACbC,IAAaC,EAAA;AAEnB,2BACGd,GAAA,EAAK,IAAG,cAAa,QAAAE,GAAgB,WAAU,eAC7C,UAAA;AAAA,IAAAA,EAAO,cAAc,WAAW,gBAAAa,EAACC,GAAA,CAAA,CAAe;AAAA,IAEjD,gBAAAC,EAAC,OAAA,EAAI,WAAU,0BACZ,UAAA;AAAA,MAAAf,EAAO,OAAO,WAAWA,EAAO,OAAO,aAAa,4BAAWgB,GAAA,EAAoB;AAAA,MAEpF,gBAAAD,EAAC,QAAA,EAAK,IAAG,YAAW,WAAU,4DAC3B,UAAA;AAAA,QAAAf,EAAO,QAAQ,WACd,gBAAAa,EAACI,GAAA,EAAc,WAAWjB,EAAO,QAAQ,UAAU,UAAU,iBAAiB,GAAA,CAAI;AAAA,QAEnF,GAAQS,KAAcE,MACrB,gBAAAE,EAAC,OAAA,EAAI,WAAU,kCACb,UAAA,gBAAAA,EAACK,GAAA,EAAe,OAAM,YAAA,CAAY,GACpC;AAAA,QAGF,gBAAAH,EAAC,OAAA,EAAI,WAAU,iDACb,UAAA;AAAA,UAAA,gBAAAF,EAACM,GAAA,EACC,UAAA,gBAAAN,EAACO,GAAA,CAAA,GAAYb,CAAiC,GAChD;AAAA,UACCJ;AAAA,QAAA,GACH;AAAA,QAECH,EAAO,OAAO,WACb,gBAAAa,EAACQ,GAAA,EAAa,WAAWrB,EAAO,OAAO,UAAU,UAAU,oBAAoB,GAAA,CAAI;AAAA,MAAA,GAEvF;AAAA,MAECA,EAAO,OAAO,WAAWA,EAAO,OAAO,aAAa,6BAAYgB,GAAA,CAAA,CAAoB;AAAA,IAAA,EAAA,CACvF;AAAA,EAAA,GACF;AAEJ;AAzCSM,EAAArB,GAAA;AA2CT,MAAAsB,IAAeC,EAAKvB,CAAM;"}
1
+ {"version":3,"file":"Layout.js","sources":["../../src/layout/Layout.tsx"],"sourcesContent":["import { LayoutConfigDefaultsType } from '@/configs/layoutConfig';\nimport { OwpSuspense } from '@/components/OwpSuspense';\nimport { useNavigationActiveRouteRemountKey } from '@/hooks/internal/useNavigationActiveRouteRemount';\nimport { useGetCurrentLayoutConfig } from '@/hooks/useOwpSettings';\nimport { LinearProgress } from '@mui/material';\nimport { styled } from '@mui/material/styles';\nimport { useIsFetching, useIsMutating } from '@tanstack/react-query';\nimport { memo, ReactNode } from 'react';\nimport { Outlet } from 'react-router-dom';\nimport FooterLayout from './components/layouts/FooterLayout';\nimport NavbarWrapperLayout from './components/layouts/NavbarWrapperLayout';\nimport ToolbarLayout from './components/toolbar/ToolbarLayout';\n\nconst Root = styled('div')(({ config }: { config: LayoutConfigDefaultsType }) => ({\n ...(config.mode === 'boxed' && {\n clipPath: 'inset(0)',\n maxWidth: config.containerWidth,\n marginLeft: 'auto',\n marginRight: 'auto',\n boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',\n }),\n ...(config.mode === 'container' && {\n '& .container': {\n maxWidth: config.containerWidth,\n width: '100%',\n marginLeft: 'auto',\n marginRight: 'auto',\n },\n }),\n}));\n\ntype LayoutProps = {\n layoutConfig?: LayoutConfigDefaultsType;\n children?: ReactNode;\n};\n\n/**\n * The layout.\n */\nfunction Layout(props: LayoutProps) {\n const { children, layoutConfig } = props;\n const currentLayoutConfig = useGetCurrentLayoutConfig() as LayoutConfigDefaultsType;\n const navigationActiveRouteRemountKey = useNavigationActiveRouteRemountKey();\n const config = layoutConfig ?? currentLayoutConfig;\n const isFetching = useIsFetching();\n const isMutating = useIsMutating();\n\n return (\n <Root id=\"owp-layout\" config={config} className=\"flex w-full\">\n <div className=\"flex min-w-0 flex-auto\">\n {config.navbar.display && config.navbar.position === 'left' && <NavbarWrapperLayout />}\n\n <main id=\"owp-main\" className=\"relative z-10 flex min-h-full min-w-0 flex-auto flex-col\">\n {config.toolbar.display && (\n <ToolbarLayout className={config.toolbar.style === 'fixed' ? 'sticky top-0' : ''} />\n )}\n {Boolean(isFetching || isMutating) && (\n <div className=\"fixed top-0 left-0 z-30 w-full\">\n <LinearProgress color=\"secondary\" />\n </div>\n )}\n\n <div className=\"relative z-10 flex min-h-0 flex-auto flex-col\">\n <OwpSuspense>\n <Outlet key={navigationActiveRouteRemountKey} />\n </OwpSuspense>\n {children}\n </div>\n\n {config.footer.display && (\n <FooterLayout className={config.footer.style === 'fixed' ? 'sticky bottom-0' : ''} />\n )}\n </main>\n\n {config.navbar.display && config.navbar.position === 'right' && <NavbarWrapperLayout />}\n </div>\n </Root>\n );\n}\n\nexport default memo(Layout);\n"],"names":["Root","styled","config","Layout","props","children","layoutConfig","currentLayoutConfig","useGetCurrentLayoutConfig","navigationActiveRouteRemountKey","useNavigationActiveRouteRemountKey","isFetching","useIsFetching","isMutating","useIsMutating","jsx","jsxs","NavbarWrapperLayout","ToolbarLayout","LinearProgress","OwpSuspense","Outlet","FooterLayout","__name","Layout$1","memo"],"mappings":";;;;;;;;;;;;;;AAaA,MAAMA,IAAOC,EAAO,KAAK,EAAE,CAAC,EAAE,QAAAC,SAAoD;AAAA,EAChF,GAAIA,EAAO,SAAS,WAAW;AAAA,IAC7B,UAAU;AAAA,IACV,UAAUA,EAAO;AAAA,IACjB,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,WAAW;AAAA,EAAA;AAAA,EAEb,GAAIA,EAAO,SAAS,eAAe;AAAA,IACjC,gBAAgB;AAAA,MACd,UAAUA,EAAO;AAAA,MACjB,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,aAAa;AAAA,IAAA;AAAA,EACf;AAEJ,EAAE;AAUF,SAASC,EAAOC,GAAoB;AAClC,QAAM,EAAE,UAAAC,GAAU,cAAAC,EAAA,IAAiBF,GAC7BG,IAAsBC,EAAA,GACtBC,IAAkCC,EAAA,GAClCR,IAASI,KAAgBC,GACzBI,IAAaC,EAAA,GACbC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACf,GAAA,EAAK,IAAG,cAAa,QAAAE,GAAgB,WAAU,eAC9C,UAAA,gBAAAc,EAAC,OAAA,EAAI,WAAU,0BACZ,UAAA;AAAA,IAAAd,EAAO,OAAO,WAAWA,EAAO,OAAO,aAAa,4BAAWe,GAAA,EAAoB;AAAA,IAEpF,gBAAAD,EAAC,QAAA,EAAK,IAAG,YAAW,WAAU,4DAC3B,UAAA;AAAA,MAAAd,EAAO,QAAQ,WACd,gBAAAa,EAACG,GAAA,EAAc,WAAWhB,EAAO,QAAQ,UAAU,UAAU,iBAAiB,GAAA,CAAI;AAAA,MAEnF,GAAQS,KAAcE,MACrB,gBAAAE,EAAC,OAAA,EAAI,WAAU,kCACb,UAAA,gBAAAA,EAACI,GAAA,EAAe,OAAM,YAAA,CAAY,GACpC;AAAA,MAGF,gBAAAH,EAAC,OAAA,EAAI,WAAU,iDACb,UAAA;AAAA,QAAA,gBAAAD,EAACK,GAAA,EACC,UAAA,gBAAAL,EAACM,GAAA,CAAA,GAAYZ,CAAiC,GAChD;AAAA,QACCJ;AAAA,MAAA,GACH;AAAA,MAECH,EAAO,OAAO,WACb,gBAAAa,EAACO,GAAA,EAAa,WAAWpB,EAAO,OAAO,UAAU,UAAU,oBAAoB,GAAA,CAAI;AAAA,IAAA,GAEvF;AAAA,IAECA,EAAO,OAAO,WAAWA,EAAO,OAAO,aAAa,6BAAYe,GAAA,CAAA,CAAoB;AAAA,EAAA,EAAA,CACvF,EAAA,CACF;AAEJ;AAvCSM,EAAApB,GAAA;AAyCT,MAAAqB,IAAeC,EAAKtB,CAAM;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FooterLayout.js","sources":["../../../../src/layout/components/layouts/FooterLayout.tsx"],"sourcesContent":["import { useGetFooterTheme } from '@/hooks/useOwpSettings';\nimport AppBar from '@mui/material/AppBar';\nimport { ThemeProvider } from '@mui/material/styles';\nimport Toolbar from '@mui/material/Toolbar';\nimport clsx from 'clsx';\nimport { memo } from 'react';\n\ntype FooterLayoutProps = { className?: string };\n\n/**\n * The footer layout.\n */\nfunction FooterLayout(props: FooterLayoutProps) {\n const { className } = props;\n\n const footerTheme = useGetFooterTheme();\n\n return (\n <ThemeProvider theme={footerTheme}>\n <AppBar\n id=\"owp-footer\"\n className={clsx('relative z-20 border-t', className)}\n color=\"default\"\n sx={(theme) => ({\n backgroundColor: 'var(--default-background-footerTheme-palette)',\n ...theme.applyStyles('light', {\n backgroundColor: 'var(--paper-background-footerTheme-palette)',\n }),\n '--paper-background-footerTheme-palette': (footerTheme as any).palette.background.paper,\n '--default-background-footerTheme-palette': (footerTheme as any).palette.background\n .default,\n })}\n elevation={0}\n >\n <Toolbar className=\"min-h-48 md:min-h-64 px-8 sm:px-12 py-0 flex items-center overflow-x-auto\">\n Footer\n </Toolbar>\n </AppBar>\n </ThemeProvider>\n );\n}\n\nexport default memo(FooterLayout);\n"],"names":["FooterLayout","props","className","footerTheme","useGetFooterTheme","jsx","ThemeProvider","AppBar","clsx","__name","theme","Toolbar","FooterLayout$1","memo"],"mappings":";;;;;;;;;AAYA,SAASA,EAAaC,GAA0B;AAC9C,QAAM,EAAE,WAAAC,MAAcD,GAEhBE,IAAcC,EAAA;AAEpB,SACE,gBAAAC,EAACC,GAAA,EAAc,OAAOH,GACpB,UAAA,gBAAAE;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,WAAWC,EAAK,0BAA0BN,CAAS;AAAA,MACnD,OAAM;AAAA,MACN,IAAI,gBAAAO,EAAA,CAACC,OAAW;AAAA,QACd,iBAAiB;AAAA,QACjB,GAAGA,EAAM,YAAY,SAAS;AAAA,UAC5B,iBAAiB;AAAA,QAAA,CAClB;AAAA,QACD,0CAA2CP,EAAoB,QAAQ,WAAW;AAAA,QAClF,4CAA6CA,EAAoB,QAAQ,WACtE;AAAA,MAAA,IAPD;AAAA,MASJ,WAAW;AAAA,MAEX,UAAA,gBAAAE,EAACM,GAAA,EAAQ,WAAU,6EAA4E,UAAA,SAAA,CAE/F;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;AA5BSF,EAAAT,GAAA;AA8BT,MAAAY,IAAeC,EAAKb,CAAY;"}
1
+ {"version":3,"file":"FooterLayout.js","sources":["../../../../src/layout/components/layouts/FooterLayout.tsx"],"sourcesContent":["import { useGetFooterTheme } from '@/hooks/useOwpSettings';\nimport AppBar from '@mui/material/AppBar';\nimport { ThemeProvider } from '@mui/material/styles';\nimport Toolbar from '@mui/material/Toolbar';\nimport clsx from 'clsx';\nimport { memo } from 'react';\n\ntype FooterLayoutProps = { className?: string };\n\n/**\n * The footer layout.\n */\nfunction FooterLayout(props: FooterLayoutProps) {\n const { className } = props;\n\n const footerTheme = useGetFooterTheme();\n\n return (\n <ThemeProvider theme={footerTheme}>\n <AppBar\n id=\"owp-footer\"\n className={clsx('relative z-20 border-t', className)}\n color=\"default\"\n sx={(theme) => ({\n backgroundColor: 'var(--default-background-footerTheme-palette)',\n ...theme.applyStyles('light', {\n backgroundColor: 'var(--paper-background-footerTheme-palette)',\n }),\n '--paper-background-footerTheme-palette': footerTheme.palette.background.paper,\n '--default-background-footerTheme-palette': footerTheme.palette.background.default,\n })}\n elevation={0}\n >\n <Toolbar className=\"min-h-48 md:min-h-64 px-8 sm:px-12 py-0 flex items-center overflow-x-auto\">\n Footer\n </Toolbar>\n </AppBar>\n </ThemeProvider>\n );\n}\n\nexport default memo(FooterLayout);\n"],"names":["FooterLayout","props","className","footerTheme","useGetFooterTheme","jsx","ThemeProvider","AppBar","clsx","__name","theme","Toolbar","FooterLayout$1","memo"],"mappings":";;;;;;;;;AAYA,SAASA,EAAaC,GAA0B;AAC9C,QAAM,EAAE,WAAAC,MAAcD,GAEhBE,IAAcC,EAAA;AAEpB,SACE,gBAAAC,EAACC,GAAA,EAAc,OAAOH,GACpB,UAAA,gBAAAE;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,WAAWC,EAAK,0BAA0BN,CAAS;AAAA,MACnD,OAAM;AAAA,MACN,IAAI,gBAAAO,EAAA,CAACC,OAAW;AAAA,QACd,iBAAiB;AAAA,QACjB,GAAGA,EAAM,YAAY,SAAS;AAAA,UAC5B,iBAAiB;AAAA,QAAA,CAClB;AAAA,QACD,0CAA0CP,EAAY,QAAQ,WAAW;AAAA,QACzE,4CAA4CA,EAAY,QAAQ,WAAW;AAAA,MAAA,IANzE;AAAA,MAQJ,WAAW;AAAA,MAEX,UAAA,gBAAAE,EAACM,GAAA,EAAQ,WAAU,6EAA4E,UAAA,SAAA,CAE/F;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;AA3BSF,EAAAT,GAAA;AA6BT,MAAAY,IAAeC,EAAKb,CAAY;"}
@@ -2,20 +2,20 @@ var Q = Object.defineProperty;
2
2
  var s = (e, r) => Q(e, "name", { value: r, configurable: !0 });
3
3
  import { jsxs as d, jsx as t } from "../../../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
4
4
  import { useGetCurrentUser as X } from "../../../hooks/useCurrentUser.js";
5
+ import { useOwpDialogs as Z } from "../../../hooks/useOwpDialogs.js";
5
6
  import { useOwpTranslation as b } from "../../../hooks/useOwpTranslation.js";
6
- import { useStorage as Z } from "../../../hooks/useStorage.js";
7
+ import { useStorage as q } from "../../../hooks/useStorage.js";
7
8
  import N from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Visibility.js";
8
9
  import T from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/VisibilityOff.js";
9
10
  import _ from "@mui/material/Alert";
10
- import q from "@mui/material/Button";
11
+ import J from "@mui/material/Button";
11
12
  import k from "@mui/material/IconButton";
12
13
  import L from "@mui/material/InputAdornment";
13
- import J from "@mui/material/ListItemIcon";
14
- import K from "@mui/material/ListItemText";
15
- import Y from "@mui/material/MenuItem";
14
+ import K from "@mui/material/ListItemIcon";
15
+ import Y from "@mui/material/ListItemText";
16
+ import ee from "@mui/material/MenuItem";
16
17
  import W from "@mui/material/TextField";
17
- import { useMutation as ee } from "@tanstack/react-query";
18
- import { useDialogs as te } from "@toolpad/core/useDialogs";
18
+ import { useMutation as te } from "@tanstack/react-query";
19
19
  import { useState as P, useMemo as D } from "react";
20
20
  import { useForm as ne, Controller as O } from "react-hook-form";
21
21
  import { OwpSvgIcon as se } from "../../../components/OwpSvgIcon/OwpSvgIcon.js";
@@ -33,27 +33,27 @@ function de() {
33
33
  Strong: e("Pages.ChangePassword.label.강력")
34
34
  }, { control: i, handleSubmit: c, watch: l, reset: B } = ne({
35
35
  defaultValues: { password: "", confirm: "" }
36
- }), [A, H] = P(!1), [E, j] = P(!1), [g, p] = P(null), f = X(), { getEnv: R } = Z(), S = D(() => {
36
+ }), [A, H] = P(!1), [E, j] = P(!1), [p, g] = P(null), f = X(), { getEnv: R } = q(), S = D(() => {
37
37
  try {
38
38
  return R();
39
39
  } catch (n) {
40
40
  return console.error("🚀 ~ getEnv ~ error:", n), {};
41
41
  }
42
42
  }, [R]), m = l("password"), v = l("confirm"), o = D(() => {
43
- const n = m.length >= 8, a = /[A-Za-z]/.test(m), x = /\d/.test(m), C = ce.test(m), F = m === v && m.length > 0, V = n && a && x && C, w = [n, a, x, C].filter(Boolean).length, G = w <= 2 ? "Weak" : w === 3 ? "Medium" : "Strong";
44
- return { len: n, hasLetter: a, hasNum: x, hasSpecial: C, match: F, valid: V, score: w, strength: G };
45
- }, [m, v]), z = oe(o.score / 4 * 100, 0, 100), M = { Weak: "bg-red-500", Medium: "bg-yellow-500", Strong: "bg-green-500" }, I = ee({
46
- mutationFn: /* @__PURE__ */ s(({ password: n }) => ge({
43
+ const n = m.length >= 8, a = /[A-Za-z]/.test(m), w = /\d/.test(m), x = ce.test(m), F = m === v && m.length > 0, V = n && a && w && x, C = [n, a, w, x].filter(Boolean).length, G = C <= 2 ? "Weak" : C === 3 ? "Medium" : "Strong";
44
+ return { len: n, hasLetter: a, hasNum: w, hasSpecial: x, match: F, valid: V, score: C, strength: G };
45
+ }, [m, v]), z = oe(o.score / 4 * 100, 0, 100), M = { Weak: "bg-red-500", Medium: "bg-yellow-500", Strong: "bg-green-500" }, I = te({
46
+ mutationFn: /* @__PURE__ */ s(({ password: n }) => pe({
47
47
  apiBaseUrl: S == null ? void 0 : S.apiBaseUrl,
48
48
  password: n,
49
49
  userSeq: f == null ? void 0 : f.USERSEQ
50
50
  }), "mutationFn"),
51
51
  onSuccess: /* @__PURE__ */ s((n) => {
52
- p(n), n === y && B();
52
+ g(n), n === y && B();
53
53
  }, "onSuccess")
54
54
  });
55
55
  return /* @__PURE__ */ d("form", { onSubmit: c(/* @__PURE__ */ s(async ({ password: n }) => {
56
- !o.valid || !o.match || (p(null), await I.mutateAsync({ password: n }));
56
+ !o.valid || !o.match || (g(null), await I.mutateAsync({ password: n }));
57
57
  }, "submit")), className: "w-full max-w-lg space-y-20", children: [
58
58
  /* @__PURE__ */ d("div", { className: "space-y-4", children: [
59
59
  /* @__PURE__ */ t(
@@ -84,7 +84,7 @@ function de() {
84
84
  }
85
85
  },
86
86
  onChange: /* @__PURE__ */ s((a) => {
87
- n.onChange(U(a.target.value)), g !== null && p(null);
87
+ n.onChange(U(a.target.value)), p !== null && g(null);
88
88
  }, "onChange"),
89
89
  helperText: e("Message.8자 이상, 영문·숫자·특수문자 포함")
90
90
  }
@@ -129,7 +129,7 @@ function de() {
129
129
  }
130
130
  },
131
131
  onChange: /* @__PURE__ */ s((a) => {
132
- n.onChange(U(a.target.value)), g !== null && p(null);
132
+ n.onChange(U(a.target.value)), p !== null && g(null);
133
133
  }, "onChange"),
134
134
  error: !!n.value && !o.match,
135
135
  helperText: n.value ? o.match ? e("Message.일치합니다.") : e("Message.비밀번호가 일치하지 않습니다.") : ""
@@ -145,7 +145,7 @@ function de() {
145
145
  /* @__PURE__ */ t(u, { ok: o.match, text: e("Message.비밀번호 일치") })
146
146
  ] }),
147
147
  /* @__PURE__ */ t(
148
- q,
148
+ J,
149
149
  {
150
150
  fullWidth: !0,
151
151
  type: "submit",
@@ -157,8 +157,8 @@ function de() {
157
157
  children: e("Button.변경")
158
158
  }
159
159
  ),
160
- g === y && /* @__PURE__ */ t(_, { severity: "success", children: e("Message.비밀번호가 변경되었습니다.") }),
161
- g === h && /* @__PURE__ */ t(_, { severity: "error", children: e("Message.변경에 실패했습니다. 다시 시도해주세요.") })
160
+ p === y && /* @__PURE__ */ t(_, { severity: "success", children: e("Message.비밀번호가 변경되었습니다.") }),
161
+ p === h && /* @__PURE__ */ t(_, { severity: "error", children: e("Message.변경에 실패했습니다. 다시 시도해주세요.") })
162
162
  ] });
163
163
  }
164
164
  s(de, "PasswordChangeContent");
@@ -179,17 +179,17 @@ function ue({ open: e, onClose: r }) {
179
179
  }
180
180
  s(ue, "PasswordChangeDialog");
181
181
  function Ue(e) {
182
- const { onAction: r } = e, { t: i } = b(), c = te();
182
+ const { onAction: r } = e, { t: i } = b(), c = Z();
183
183
  return /* @__PURE__ */ d(
184
- Y,
184
+ ee,
185
185
  {
186
186
  onClick: /* @__PURE__ */ s(async () => {
187
187
  r == null || r(), c.open(ue);
188
188
  }, "onClick"),
189
189
  children: [
190
- /* @__PURE__ */ t(J, { className: "min-w-36", children: /* @__PURE__ */ t(se, { children: "heroicons-outline:pencil-square" }) }),
190
+ /* @__PURE__ */ t(K, { className: "min-w-36", children: /* @__PURE__ */ t(se, { children: "heroicons-outline:pencil-square" }) }),
191
191
  /* @__PURE__ */ t(
192
- K,
192
+ Y,
193
193
  {
194
194
  primary: i("Button.패스워드 변경"),
195
195
  sx: { "& .MuiListItemText-primary": { letterSpacing: "0.02em" } }
@@ -204,7 +204,7 @@ const u = /* @__PURE__ */ s(({ ok: e, text: r }) => /* @__PURE__ */ d("div", { c
204
204
  /* @__PURE__ */ t("span", { className: `w-6 h-6 rounded-full ${e ? "bg-green-500" : "bg-gray-300"}` }),
205
205
  /* @__PURE__ */ t("span", { className: e ? "text-gray-800" : "text-gray-500", children: r })
206
206
  ] }), "Rule");
207
- async function ge({
207
+ async function pe({
208
208
  password: e,
209
209
  userSeq: r,
210
210
  apiBaseUrl: i
@@ -230,7 +230,7 @@ async function ge({
230
230
  }
231
231
  return h;
232
232
  }
233
- s(ge, "updateUserPassword");
233
+ s(pe, "updateUserPassword");
234
234
  export {
235
235
  Ue as default
236
236
  };