@owp/core 2.5.42 → 2.5.45

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 (60) 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/index3.js +2 -2
  6. package/dist/_virtual/index4.js +2 -2
  7. package/dist/components/OwpDialogsProvider/OwpDialogsContext.js +14 -0
  8. package/dist/components/OwpDialogsProvider/OwpDialogsContext.js.map +1 -0
  9. package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js +98 -0
  10. package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js.map +1 -0
  11. package/dist/components/OwpPicker/OwpTimePicker.js +286 -271
  12. package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
  13. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +264 -256
  14. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  15. package/dist/components/OwpTreeGrid/internal/OwpTreeGridAddedRowBoxOverlay.js +31 -0
  16. package/dist/components/OwpTreeGrid/internal/OwpTreeGridAddedRowBoxOverlay.js.map +1 -0
  17. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js +147 -0
  18. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js.map +1 -0
  19. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +459 -448
  20. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  21. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +2 -1
  22. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  23. package/dist/contexts/OwpUiProvider.js +15 -15
  24. package/dist/contexts/OwpUiProvider.js.map +1 -1
  25. package/dist/hooks/useOwpDialogs.js +5 -5
  26. package/dist/hooks/useOwpDialogs.js.map +1 -1
  27. package/dist/index.js +48 -48
  28. package/dist/node_modules/.pnpm/inko@1.1.1/node_modules/inko/index.js +1 -1
  29. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  30. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  31. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  32. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  33. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  34. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  35. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.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/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  38. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  39. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  40. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/index.js +1 -1
  41. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  42. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  43. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  44. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  45. package/dist/types/components/OwpDialog/OwpAlertDialog.d.ts +4 -4
  46. package/dist/types/components/OwpDialogsProvider/OwpDialogsContext.d.ts +6 -0
  47. package/dist/types/components/OwpDialogsProvider/OwpDialogsProvider.d.ts +6 -0
  48. package/dist/types/components/OwpDialogsProvider/index.d.ts +1 -0
  49. package/dist/types/components/OwpPicker/OwpTimePicker.d.ts +2 -2
  50. package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridAddedRowBoxOverlay.d.ts +10 -0
  51. package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.d.ts +21 -0
  52. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +1 -0
  53. package/dist/types/contexts/OwpUiProvider.d.ts +3 -3
  54. package/dist/types/index.d.ts +1 -1
  55. package/dist/types/types/OwpDialogTypes.d.ts +63 -1
  56. package/dist/utils/treeGridUtil.js +100 -91
  57. package/dist/utils/treeGridUtil.js.map +1 -1
  58. package/package.json +2 -5
  59. package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js +0 -13
  60. package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js.map +0 -1
@@ -1,19 +1,19 @@
1
1
  var s = Object.defineProperty;
2
- var e = (r, m) => s(r, "name", { value: m, configurable: !0 });
2
+ var e = (r, p) => s(r, "name", { value: p, configurable: !0 });
3
3
  import { blurActiveElement as n } from "../utils/internal/blurActiveElement.js";
4
- import { useDialogs as c } from "@toolpad/core/useDialogs";
4
+ import { useOwpDialogsContext as c } from "../components/OwpDialogsProvider/OwpDialogsContext.js";
5
5
  import { useMemo as i } from "react";
6
- const d = /* @__PURE__ */ e(() => {
6
+ const D = /* @__PURE__ */ e(() => {
7
7
  const r = c();
8
8
  return i(() => ({
9
9
  ...r,
10
10
  alert: /* @__PURE__ */ e((o, t) => (n(), r.alert(o, t)), "alert"),
11
11
  confirm: /* @__PURE__ */ e((o, t) => (n(), r.confirm(o, t)), "confirm"),
12
12
  prompt: /* @__PURE__ */ e((o, t) => (n(), r.prompt(o, t)), "prompt"),
13
- open: /* @__PURE__ */ e(((o, t, p) => (n(), r.open(o, t, p))), "open")
13
+ open: /* @__PURE__ */ e(((o, t, m) => (n(), r.open(o, t, m))), "open")
14
14
  }), [r]);
15
15
  }, "useOwpDialogs");
16
16
  export {
17
- d as useOwpDialogs
17
+ D as useOwpDialogs
18
18
  };
19
19
  //# sourceMappingURL=useOwpDialogs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useOwpDialogs.js","sources":["../../src/hooks/useOwpDialogs.ts"],"sourcesContent":null,"names":["useOwpDialogs","__name","dialogs","useDialogs","useMemo","msg","options","blurActiveElement","Component","payload"],"mappings":";;;;;AAQO,MAAMA,IAAgB,gBAAAC,EAAA,MAAkB;AAC7C,QAAMC,IAAUC,EAAA;AAEhB,SAAOC,EAAQ,OAsBN;AAAA,IACL,GAAGF;AAAA,IACH,OAvBiC,gBAAAD,EAAA,CAACI,GAAKC,OACvCC,EAAA,GACOL,EAAQ,MAAMG,GAAKC,CAAO,IAFA;AAAA,IAwBjC,SApBqC,gBAAAL,EAAA,CAACI,GAAKC,OAC3CC,EAAA,GACOL,EAAQ,QAAQG,GAAKC,CAAO,IAFE;AAAA,IAqBrC,QAjBmC,gBAAAL,EAAA,CAACI,GAAKC,OACzCC,EAAA,GACOL,EAAQ,OAAOG,GAAKC,CAAO,IAFC;AAAA,IAkBnC,MAdY,gBAAAL,GAAA,CACZO,GACAC,GACAH,OAEAC,EAAA,GACOL,EAAQ,KAAKM,GAAWC,GAASH,CAAO,KANnC;AAAA,EAcZ,IAED,CAACJ,CAAO,CAAC;AACd,GAjC6B;"}
1
+ {"version":3,"file":"useOwpDialogs.js","sources":["../../src/hooks/useOwpDialogs.ts"],"sourcesContent":null,"names":["useOwpDialogs","__name","dialogs","useOwpDialogsContext","useMemo","msg","options","blurActiveElement","Component","payload"],"mappings":";;;;;AAQO,MAAMA,IAAgB,gBAAAC,EAAA,MAAkB;AAC7C,QAAMC,IAAUC,EAAA;AAEhB,SAAOC,EAAQ,OAsBN;AAAA,IACL,GAAGF;AAAA,IACH,OAvBiC,gBAAAD,EAAA,CAACI,GAAKC,OACvCC,EAAA,GACOL,EAAQ,MAAMG,GAAKC,CAAO,IAFA;AAAA,IAwBjC,SApBqC,gBAAAL,EAAA,CAACI,GAAKC,OAC3CC,EAAA,GACOL,EAAQ,QAAQG,GAAKC,CAAO,IAFE;AAAA,IAqBrC,QAjBmC,gBAAAL,EAAA,CAACI,GAAKC,OACzCC,EAAA,GACOL,EAAQ,OAAOG,GAAKC,CAAO,IAFC;AAAA,IAkBnC,MAdY,gBAAAL,GAAA,CACZO,GACAC,GACAH,OAEAC,EAAA,GACOL,EAAQ,KAAKM,GAAWC,GAASH,CAAO,KANnC;AAAA,EAcZ,IAED,CAACJ,CAAO,CAAC;AACd,GAjC6B;"}
package/dist/index.js CHANGED
@@ -1,22 +1,22 @@
1
- import { DialogsProvider as r } from "@toolpad/core/useDialogs";
2
- import { themeLayouts as p } from "./layout/themeLayouts.js";
3
- import { createInitialOwpSettings as x, defaultSettings as a, defaultSnackbarTheme as f, defaultThemeOptions as O, defaultThemes as w, extendThemeWithMixins as i, generateSettings as l, getDefaultLayout as n, getDefaultThemeSettings as d, getParsedQuerySettings as u, mustHaveThemeOptions as g } from "./configs/defaultConfig.js";
4
- import { OwpAutoLogoutDialog as s } from "./components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js";
5
- import { OwpBarcodeInputField as T } from "./components/OwpBarcodeInput/OwpBarcodeInputField.js";
6
- import { OwpExportDataToExcelButton as P } from "./components/OwpExportExcelButton/OwpExportExcelButton.js";
7
- import { OwpFilePickerButton as D } from "./components/OwpFilePickerButton/OwpFilePickerButton.js";
8
- import { OwpMoreActionsButton as k } from "./components/OwpMoreActionsButton/OwpMoreActionsButton.js";
9
- import { OwpDatePicker as B } from "./components/OwpPicker/OwpDatePicker.js";
10
- import { OwpDateRangePicker as F } from "./components/OwpPicker/OwpDateRangePicker.js";
11
- import { OwpTimePicker as E } from "./components/OwpPicker/OwpTimePicker.js";
12
- import { OwpWeekDatePicker as v } from "./components/OwpPicker/OwpWeekDatePicker.js";
13
- import { OwpDataTable as Q } from "./components/OwpTable/OwpDataTable.js";
14
- import { OwpTable as H } from "./components/OwpTable/OwpTable.js";
15
- import { OwpFieldTable as N } from "./components/OwpTable/OwpFieldTable.js";
16
- import { OwpTextMaskField as q } from "./components/OwpTextField/OwpTextMaskField.js";
17
- import { OwpTreeGridToolbar as Z } from "./components/OwpTreeGrid/OwpTreeGridToolbar.js";
18
- import { OwpZoomImageSlider as z } from "./components/OwpZoomImageSlider/OwpZoomImageSlider.js";
19
- import { default as K } from "./components/OwpPageBreadcrumb/OwpPageBreadcrumb.js";
1
+ import { themeLayouts as r } from "./layout/themeLayouts.js";
2
+ import { createInitialOwpSettings as p, defaultSettings as m, defaultSnackbarTheme as x, defaultThemeOptions as a, defaultThemes as f, extendThemeWithMixins as O, generateSettings as w, getDefaultLayout as i, getDefaultThemeSettings as l, getParsedQuerySettings as n, mustHaveThemeOptions as d } from "./configs/defaultConfig.js";
3
+ import { OwpAutoLogoutDialog as g } from "./components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js";
4
+ import { OwpBarcodeInputField as s } from "./components/OwpBarcodeInput/OwpBarcodeInputField.js";
5
+ import { OwpExportDataToExcelButton as T } from "./components/OwpExportExcelButton/OwpExportExcelButton.js";
6
+ import { OwpFilePickerButton as P } from "./components/OwpFilePickerButton/OwpFilePickerButton.js";
7
+ import { OwpMoreActionsButton as D } from "./components/OwpMoreActionsButton/OwpMoreActionsButton.js";
8
+ import { OwpDatePicker as k } from "./components/OwpPicker/OwpDatePicker.js";
9
+ import { OwpDateRangePicker as B } from "./components/OwpPicker/OwpDateRangePicker.js";
10
+ import { OwpTimePicker as F } from "./components/OwpPicker/OwpTimePicker.js";
11
+ import { OwpWeekDatePicker as E } from "./components/OwpPicker/OwpWeekDatePicker.js";
12
+ import { OwpDataTable as v } from "./components/OwpTable/OwpDataTable.js";
13
+ import { OwpTable as Q } from "./components/OwpTable/OwpTable.js";
14
+ import { OwpFieldTable as H } from "./components/OwpTable/OwpFieldTable.js";
15
+ import { OwpTextMaskField as N } from "./components/OwpTextField/OwpTextMaskField.js";
16
+ import { OwpTreeGridToolbar as q } from "./components/OwpTreeGrid/OwpTreeGridToolbar.js";
17
+ import { OwpZoomImageSlider as Z } from "./components/OwpZoomImageSlider/OwpZoomImageSlider.js";
18
+ import { default as z } from "./components/OwpPageBreadcrumb/OwpPageBreadcrumb.js";
19
+ import { OwpDialogsProvider as K } from "./components/OwpDialogsProvider/OwpDialogsProvider.js";
20
20
  import { OwpErrorBoundary as V } from "./components/OwpErrorBoundary/OwpErrorBoundary.js";
21
21
  import { OwpLanguageSwitcherSelect as _ } from "./components/OwpLanguageSwitcherSelect/OwpLanguageSwitcherSelect.js";
22
22
  import { OwpAlertDialog as ee } from "./components/OwpDialog/OwpAlertDialog.js";
@@ -53,30 +53,30 @@ export {
53
53
  ae as CommonCodeQuerySelector,
54
54
  we as CommonCodeRadioGroup,
55
55
  pe as CommonCodeSelector,
56
- r as DialogsProvider,
57
56
  ee as OwpAlertDialog,
58
- s as OwpAutoLogoutDialog,
59
- T as OwpBarcodeInputField,
57
+ g as OwpAutoLogoutDialog,
58
+ s as OwpBarcodeInputField,
60
59
  fe as OwpCommonCodeQuerySelector,
61
60
  ie as OwpCommonCodeRadioGroup,
62
61
  me as OwpCommonCodeSelector,
63
- Q as OwpDataTable,
64
- B as OwpDatePicker,
65
- F as OwpDateRangePicker,
62
+ v as OwpDataTable,
63
+ k as OwpDatePicker,
64
+ B as OwpDateRangePicker,
66
65
  re as OwpDialog,
66
+ K as OwpDialogsProvider,
67
67
  V as OwpErrorBoundary,
68
68
  ne as OwpErrorStatusPage,
69
- P as OwpExportDataToExcelButton,
69
+ T as OwpExportDataToExcelButton,
70
70
  ue as OwpFieldHelperText,
71
- N as OwpFieldTable,
72
- D as OwpFilePickerButton,
71
+ H as OwpFieldTable,
72
+ P as OwpFilePickerButton,
73
73
  _ as OwpLanguageSwitcherSelect,
74
74
  ce as OwpLayout,
75
75
  Se as OwpLoading,
76
- k as OwpMoreActionsButton,
76
+ D as OwpMoreActionsButton,
77
77
  Ce as OwpNumberField,
78
78
  he as OwpOptionSelector,
79
- K as OwpPageBreadcrumb,
79
+ z as OwpPageBreadcrumb,
80
80
  be as OwpPageCarded,
81
81
  ye as OwpPageContent,
82
82
  Le as OwpPageLockLoading,
@@ -90,29 +90,29 @@ export {
90
90
  Ye as OwpSuspense,
91
91
  je as OwpSvgIcon,
92
92
  Ue as OwpTab,
93
- H as OwpTable,
93
+ Q as OwpTable,
94
94
  Xe as OwpTabs,
95
- q as OwpTextMaskField,
96
- E as OwpTimePicker,
95
+ N as OwpTextMaskField,
96
+ F as OwpTimePicker,
97
97
  to as OwpTreeGrid,
98
98
  $e as OwpTreeGridExportExcelButton,
99
99
  oo as OwpTreeGridResetChangesButton,
100
- Z as OwpTreeGridToolbar,
101
- v as OwpWeekDatePicker,
100
+ q as OwpTreeGridToolbar,
101
+ E as OwpWeekDatePicker,
102
102
  ao as OwpYesNoSelector,
103
- z as OwpZoomImageSlider,
103
+ Z as OwpZoomImageSlider,
104
104
  mo as TreeGrid,
105
- x as createInitialOwpSettings,
106
- a as defaultSettings,
107
- f as defaultSnackbarTheme,
108
- O as defaultThemeOptions,
109
- w as defaultThemes,
110
- i as extendThemeWithMixins,
111
- l as generateSettings,
112
- n as getDefaultLayout,
113
- d as getDefaultThemeSettings,
114
- u as getParsedQuerySettings,
115
- g as mustHaveThemeOptions,
116
- p as themeLayouts
105
+ p as createInitialOwpSettings,
106
+ m as defaultSettings,
107
+ x as defaultSnackbarTheme,
108
+ a as defaultThemeOptions,
109
+ f as defaultThemes,
110
+ O as extendThemeWithMixins,
111
+ w as generateSettings,
112
+ i as getDefaultLayout,
113
+ l as getDefaultThemeSettings,
114
+ n as getParsedQuerySettings,
115
+ d as mustHaveThemeOptions,
116
+ r as themeLayouts
117
117
  };
118
118
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  var Q = Object.defineProperty;
2
2
  var w = (k, D) => Q(k, "name", { value: D, configurable: !0 });
3
- import { __module as I } from "../../../../../_virtual/index4.js";
3
+ import { __module as I } from "../../../../../_virtual/index3.js";
4
4
  var F;
5
5
  function W() {
6
6
  return F ? I.exports : (F = 1, (function(k, D) {
@@ -1,6 +1,6 @@
1
1
  var f = Object.defineProperty;
2
2
  var t = (e, _) => f(e, "name", { value: _, configurable: !0 });
3
- import { __exports as r } from "../../../../../../../../_virtual/constants2.js";
3
+ import { __exports as r } from "../../../../../../../../_virtual/constants.js";
4
4
  var i;
5
5
  function E() {
6
6
  if (i) return r;
@@ -1,6 +1,6 @@
1
1
  var q = Object.defineProperty;
2
2
  var O = (C, _) => q(C, "name", { value: _, configurable: !0 });
3
- import { __exports as r } from "../../../../../../../../_virtual/index7.js";
3
+ import { __exports as r } from "../../../../../../../../_virtual/index6.js";
4
4
  import { __require as d } from "./CODE128_AUTO.js";
5
5
  import { __require as n } from "./CODE128A.js";
6
6
  import { __require as m } from "./CODE128B.js";
@@ -1,6 +1,6 @@
1
1
  var w = Object.defineProperty;
2
2
  var n = (f, a) => w(f, "name", { value: a, configurable: !0 });
3
- import { __exports as i } from "../../../../../../../../_virtual/index6.js";
3
+ import { __exports as i } from "../../../../../../../../_virtual/index5.js";
4
4
  import { __require as k } from "../Barcode.js";
5
5
  var _;
6
6
  function P() {
@@ -1,6 +1,6 @@
1
1
  var D = Object.defineProperty;
2
2
  var C = (u, t) => D(u, "name", { value: t, configurable: !0 });
3
- import { __exports as e } from "../../../../../../../../_virtual/index13.js";
3
+ import { __exports as e } from "../../../../../../../../_virtual/index12.js";
4
4
  import { __require as O } from "./CODE93.js";
5
5
  import { __require as E } from "./CODE93FullASCII.js";
6
6
  var l;
@@ -1,6 +1,6 @@
1
1
  var n = Object.defineProperty;
2
2
  var G = (r, t) => n(r, "name", { value: t, configurable: !0 });
3
- import { __exports as L } from "../../../../../../../../_virtual/constants3.js";
3
+ import { __exports as L } from "../../../../../../../../_virtual/constants2.js";
4
4
  var e;
5
5
  function o() {
6
6
  return e ? L : (e = 1, Object.defineProperty(L, "__esModule", {
@@ -1,6 +1,6 @@
1
1
  var C = Object.defineProperty;
2
2
  var i = (u, a) => C(u, "name", { value: a, configurable: !0 });
3
- import { __exports as r } from "../../../../../../../../_virtual/index8.js";
3
+ import { __exports as r } from "../../../../../../../../_virtual/index7.js";
4
4
  import { __require as U } from "./EAN13.js";
5
5
  import { __require as s } from "./EAN8.js";
6
6
  import { __require as l } from "./EAN5.js";
@@ -1,6 +1,6 @@
1
1
  var b = Object.defineProperty;
2
2
  var r = (a, f) => b(a, "name", { value: f, configurable: !0 });
3
- import { __exports as u } from "../../../../../../../../_virtual/index14.js";
3
+ import { __exports as u } from "../../../../../../../../_virtual/index13.js";
4
4
  import { __require as p } from "../Barcode.js";
5
5
  var c;
6
6
  function w() {
@@ -1,6 +1,6 @@
1
1
  var o = Object.defineProperty;
2
2
  var r = (n, s) => o(n, "name", { value: s, configurable: !0 });
3
- import { __exports as e } from "../../../../../../../../_virtual/constants.js";
3
+ import { __exports as e } from "../../../../../../../../_virtual/constants3.js";
4
4
  var t;
5
5
  function _() {
6
6
  return t ? e : (t = 1, Object.defineProperty(e, "__esModule", {
@@ -1,6 +1,6 @@
1
1
  var T = Object.defineProperty;
2
2
  var i = (u, t) => T(u, "name", { value: t, configurable: !0 });
3
- import { __exports as e } from "../../../../../../../../_virtual/index9.js";
3
+ import { __exports as e } from "../../../../../../../../_virtual/index8.js";
4
4
  import { __require as f } from "./ITF.js";
5
5
  import { __require as n } from "./ITF14.js";
6
6
  var a;
@@ -1,6 +1,6 @@
1
1
  var v = Object.defineProperty;
2
2
  var I = (M, _) => v(M, "name", { value: _, configurable: !0 });
3
- import { __exports as r } from "../../../../../../../../_virtual/index10.js";
3
+ import { __exports as r } from "../../../../../../../../_virtual/index9.js";
4
4
  import { __require as n } from "./MSI.js";
5
5
  import { __require as s } from "./MSI10.js";
6
6
  import { __require as l } from "./MSI11.js";
@@ -1,6 +1,6 @@
1
1
  var p = Object.defineProperty;
2
2
  var a = (f, c) => p(f, "name", { value: c, configurable: !0 });
3
- import { __exports as i } from "../../../../../../../../_virtual/index12.js";
3
+ import { __exports as i } from "../../../../../../../../_virtual/index11.js";
4
4
  import { __require as g } from "../Barcode.js";
5
5
  var h;
6
6
  function w() {
@@ -1,6 +1,6 @@
1
1
  var O = Object.defineProperty;
2
2
  var C = (i, r) => O(i, "name", { value: r, configurable: !0 });
3
- import { __exports as o } from "../../../../../../../_virtual/index3.js";
3
+ import { __exports as o } from "../../../../../../../_virtual/index4.js";
4
4
  import { __require as c } from "./CODE39/index.js";
5
5
  import { __require as D } from "./CODE128/index.js";
6
6
  import { __require as d } from "./EAN_UPC/index.js";
@@ -1,6 +1,6 @@
1
1
  var v = Object.defineProperty;
2
2
  var i = (u, f) => v(u, "name", { value: f, configurable: !0 });
3
- import { __exports as a } from "../../../../../../../../_virtual/index11.js";
3
+ import { __exports as a } from "../../../../../../../../_virtual/index10.js";
4
4
  import { __require as y } from "../Barcode.js";
5
5
  var c;
6
6
  function q() {
@@ -1,6 +1,6 @@
1
1
  var v = Object.defineProperty;
2
2
  var _ = (a, t) => v(a, "name", { value: t, configurable: !0 });
3
- import { __exports as r } from "../../../../../../../_virtual/index5.js";
3
+ import { __exports as r } from "../../../../../../../_virtual/index14.js";
4
4
  import { __require as f } from "./canvas.js";
5
5
  import { __require as q } from "./svg.js";
6
6
  import { __require as c } from "./object.js";
@@ -1,6 +1,6 @@
1
1
  var S = Object.defineProperty;
2
2
  var e = (r, i) => S(r, "name", { value: i, configurable: !0 });
3
- import { __exports as n } from "../../../../../../../_virtual/utils2.js";
3
+ import { __exports as n } from "../../../../../../../_virtual/utils.js";
4
4
  var u;
5
5
  function c() {
6
6
  if (u) return n;
@@ -1,6 +1,6 @@
1
1
  var M = Object.defineProperty;
2
2
  var a = (l, h) => M(l, "name", { value: h, configurable: !0 });
3
- import { __exports as s } from "../../../../../../../_virtual/utils.js";
3
+ import { __exports as s } from "../../../../../../../_virtual/utils2.js";
4
4
  var w;
5
5
  function _() {
6
6
  return w ? s : (w = 1, (function(l) {
@@ -3,10 +3,10 @@ import type { ButtonProps } from '@mui/material';
3
3
  import type { ReactNode } from 'react';
4
4
  export type OwpAlertDialogSeverity = 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
5
5
  export interface OwpAlertDialogPayload {
6
- title?: ReactNode | string;
7
- description?: ReactNode | string;
8
- okText?: string;
9
- cancelText?: string;
6
+ title?: ReactNode;
7
+ description?: ReactNode;
8
+ okText?: ReactNode;
9
+ cancelText?: ReactNode;
10
10
  severity?: OwpAlertDialogSeverity;
11
11
  useInfo?: boolean;
12
12
  okButtonProps?: ButtonProps;
@@ -0,0 +1,6 @@
1
+ import type { DialogHook } from '@/types/OwpDialogTypes';
2
+ export declare const OwpDialogsContext: import("react").Context<DialogHook>;
3
+ /**
4
+ * OWP dialog context 접근
5
+ */
6
+ export declare const useOwpDialogsContext: () => DialogHook;
@@ -0,0 +1,6 @@
1
+ import type { DialogProviderProps } from '@/types/OwpDialogTypes';
2
+ /**
3
+ * OWP dialog stack provider
4
+ * @param children 하위 콘텐츠
5
+ */
6
+ export declare function OwpDialogsProvider({ children }: DialogProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { OwpDialogsProvider } from './OwpDialogsProvider';
@@ -13,10 +13,10 @@ interface OwnProps {
13
13
  clearable?: boolean;
14
14
  fullWidth?: boolean;
15
15
  onChange?: (value?: string) => void;
16
- slotProps?: TimePickerProps<false>['slotProps'];
16
+ slotProps?: TimePickerProps['slotProps'];
17
17
  textFieldProps?: Omit<TextFieldProps, 'value' | 'defaultValue' | 'onChange'>;
18
18
  }
19
- type OwpTimePickerProps = OwnProps & Omit<TimePickerProps<false>, 'value' | 'onChange' | 'label' | 'format' | 'ampm' | 'slotProps' | 'enableAccessibleFieldDOMStructure'>;
19
+ type OwpTimePickerProps = OwnProps & Omit<TimePickerProps, 'value' | 'onChange' | 'label' | 'format' | 'ampm' | 'slotProps' | 'enableAccessibleFieldDOMStructure'>;
20
20
  /**
21
21
  * OwpTimePicker 컴포넌트
22
22
  * @param label 입력 라벨
@@ -0,0 +1,10 @@
1
+ import type { TreeGridAddedRowBoxFrame } from './hooks/useOwpTreeGridAddedRowBoxOverlay';
2
+ type OwpTreeGridAddedRowBoxOverlayProps = {
3
+ frames: readonly TreeGridAddedRowBoxFrame[];
4
+ };
5
+ /**
6
+ * TreeGrid 신규 행 row box overlay
7
+ * @param frames row box frame 목록
8
+ */
9
+ declare const OwpTreeGridAddedRowBoxOverlay: ({ frames }: OwpTreeGridAddedRowBoxOverlayProps) => import("react/jsx-runtime").JSX.Element;
10
+ export { OwpTreeGridAddedRowBoxOverlay };
@@ -0,0 +1,21 @@
1
+ import { type RefObject } from 'react';
2
+ export type TreeGridAddedRowBoxFrame = {
3
+ id: string;
4
+ left: number;
5
+ top: number;
6
+ width: number;
7
+ height: number;
8
+ };
9
+ type UseOwpTreeGridAddedRowBoxOverlayInput = {
10
+ containerRef: RefObject<HTMLDivElement | null>;
11
+ treeGridInstanceRef: RefObject<TGrid>;
12
+ enabled: boolean;
13
+ };
14
+ /**
15
+ * TreeGrid 신규 행 row box overlay frame 동기화
16
+ * @param containerRef TreeGrid wrapper ref
17
+ * @param treeGridInstanceRef TreeGrid instance ref
18
+ * @param enabled overlay 활성 여부
19
+ */
20
+ declare const useOwpTreeGridAddedRowBoxOverlay: ({ containerRef, treeGridInstanceRef, enabled, }: UseOwpTreeGridAddedRowBoxOverlayInput) => TreeGridAddedRowBoxFrame[];
21
+ export { useOwpTreeGridAddedRowBoxOverlay };
@@ -15,6 +15,7 @@ export declare const TREE_GRID_ERROR_CELL_CLASS = "owp-tree-grid-error-cell";
15
15
  export declare const TREE_GRID_ADDED_ROW_BOX_CELL_CLASS = "owp-tree-grid-added-row-box-cell";
16
16
  export declare const TREE_GRID_ADDED_ROW_BOX_START_CLASS = "owp-tree-grid-added-row-box-start";
17
17
  export declare const TREE_GRID_ADDED_ROW_BOX_END_CLASS = "owp-tree-grid-added-row-box-end";
18
+ export declare const TREE_GRID_STYLE_PREFIXES: readonly ["TS", "TW", "TB", "TM", "TT", "CF", "CL", "CO", "CG", "CB", "CQ", "CE", "CS", "CR", "CP", "CC"];
18
19
  export declare const treeGridThemeStyles: Record<string, CSSProperties>;
19
20
  /**
20
21
  * TreeGrid theme CSS 변수 컨테이너 스타일 생성
@@ -1,7 +1,7 @@
1
- import { DialogsProvider } from '@toolpad/core/useDialogs';
2
1
  import { SnackbarProvider } from 'notistack';
3
2
  import { ComponentProps, ReactNode } from 'react';
4
- type OwpDialogsProviderProps = Omit<ComponentProps<typeof DialogsProvider>, 'children'>;
3
+ import type { DialogProviderProps } from '@/types/OwpDialogTypes';
4
+ type OwpDialogsProviderProps = Omit<DialogProviderProps, 'children'>;
5
5
  type OwpSnackbarProviderProps = Omit<ComponentProps<typeof SnackbarProvider>, 'children'>;
6
6
  export interface OwpUiProviderProps {
7
7
  children?: ReactNode;
@@ -10,7 +10,7 @@ export interface OwpUiProviderProps {
10
10
  }
11
11
  /**
12
12
  * Dialog, snackbar provider composition
13
- * @param dialogsProviderProps DialogsProvider 옵션
13
+ * @param dialogsProviderProps OwpDialogsProvider 옵션
14
14
  * @param snackbarProviderProps SnackbarProvider 옵션
15
15
  */
16
16
  export declare function OwpUiProvider({ children, dialogsProviderProps, snackbarProviderProps, }: OwpUiProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- export { DialogsProvider } from '@toolpad/core/useDialogs';
2
1
  import './types/OwpMuiThemeTypes';
3
2
  export * from './layout/themeLayouts';
4
3
  export * from './configs/defaultConfig';
@@ -6,6 +5,7 @@ export * from './components/OwpLanguageSwitcherSelect';
6
5
  export * from './components/OwpAutoLogoutDialog/OwpAutoLogoutDialog';
7
6
  export * from './components/OwpBarcodeInput/OwpBarcodeInputField';
8
7
  export * from './components/OwpDialog';
8
+ export { OwpDialogsProvider } from './components/OwpDialogsProvider';
9
9
  export * from './components/OwpCommonCode';
10
10
  export * from './components/OwpExportExcelButton/OwpExportExcelButton';
11
11
  export { OwpErrorBoundary } from './components/OwpErrorBoundary';
@@ -1 +1,63 @@
1
- export type { AlertDialogPayload, AlertDialogProps, AlertOptions, CloseDialog, ConfirmDialogPayload, ConfirmDialogProps, ConfirmOptions, DialogComponent, DialogHook, DialogProviderProps, DialogProps, OpenAlertDialog, OpenConfirmDialog, OpenDialog, OpenDialogOptions, OpenPromptDialog, PromptDialogPayload, PromptDialogProps, PromptOptions, } from '@toolpad/core/useDialogs';
1
+ import type { ComponentType, ReactNode } from 'react';
2
+ export interface OpenDialogOptions<TResult = void> {
3
+ onClose?: (result?: TResult) => Promise<void> | void;
4
+ }
5
+ export interface AlertOptions extends OpenDialogOptions<void> {
6
+ title?: ReactNode;
7
+ okText?: ReactNode;
8
+ }
9
+ export interface ConfirmOptions extends OpenDialogOptions<boolean> {
10
+ title?: ReactNode;
11
+ okText?: ReactNode;
12
+ severity?: 'error' | 'info' | 'success' | 'warning';
13
+ cancelText?: ReactNode;
14
+ }
15
+ export interface PromptOptions extends OpenDialogOptions<string | null> {
16
+ title?: ReactNode;
17
+ okText?: ReactNode;
18
+ cancelText?: ReactNode;
19
+ }
20
+ export interface DialogProps<TPayload = void, TResult = void> {
21
+ payload: TPayload;
22
+ open: boolean;
23
+ onClose: (result?: TResult) => Promise<void>;
24
+ }
25
+ export type DialogComponent<TPayload = void, TResult = void> = ComponentType<DialogProps<TPayload, TResult>>;
26
+ export interface OpenAlertDialog {
27
+ (msg: ReactNode, options?: AlertOptions): Promise<void>;
28
+ }
29
+ export interface OpenConfirmDialog {
30
+ (msg: ReactNode, options?: ConfirmOptions): Promise<boolean>;
31
+ }
32
+ export interface OpenPromptDialog {
33
+ (msg: ReactNode, options?: PromptOptions): Promise<string | null>;
34
+ }
35
+ export interface OpenDialog {
36
+ <TPayload = void, TResult = void>(Component: DialogComponent<TPayload, TResult>, payload?: TPayload, options?: OpenDialogOptions<TResult>): Promise<TResult | undefined>;
37
+ }
38
+ export interface CloseDialog {
39
+ <TResult = void>(dialog: Promise<TResult | undefined>, result?: TResult): Promise<TResult | undefined>;
40
+ }
41
+ export interface DialogHook {
42
+ alert: OpenAlertDialog;
43
+ confirm: OpenConfirmDialog;
44
+ prompt: OpenPromptDialog;
45
+ open: OpenDialog;
46
+ close: CloseDialog;
47
+ }
48
+ export interface DialogProviderProps {
49
+ children?: ReactNode;
50
+ unmountAfter?: number;
51
+ }
52
+ export interface AlertDialogPayload extends AlertOptions {
53
+ msg: ReactNode;
54
+ }
55
+ export type AlertDialogProps = DialogProps<AlertDialogPayload, void>;
56
+ export interface ConfirmDialogPayload extends ConfirmOptions {
57
+ msg: ReactNode;
58
+ }
59
+ export type ConfirmDialogProps = DialogProps<ConfirmDialogPayload, boolean>;
60
+ export interface PromptDialogPayload extends PromptOptions {
61
+ msg: ReactNode;
62
+ }
63
+ export type PromptDialogProps = DialogProps<PromptDialogPayload, string | null>;