@owp/core 2.5.54 → 2.5.57
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/OwpDialog/OwpDialog.js +26 -26
- package/dist/components/OwpDialog/OwpDialog.js.map +1 -1
- package/dist/components/OwpPicker/OwpTimePicker.js +152 -148
- package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +297 -315
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGridToolbar.js +57 -48
- package/dist/components/OwpTreeGrid/OwpTreeGridToolbar.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js +68 -38
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js +82 -67
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +280 -271
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridOverlayFrame.js +52 -53
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridOverlayFrame.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +845 -761
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/configs/defaultConfig.js +82 -81
- package/dist/configs/defaultConfig.js.map +1 -1
- package/dist/constants/input.js +6 -0
- package/dist/constants/input.js.map +1 -0
- package/dist/constants.js +55 -52
- package/dist/constants.js.map +1 -1
- package/dist/dayjs.js +17 -15
- package/dist/dayjs.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvas.js +247 -251
- package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +385 -356
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.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/EAN_UPC/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/OwpDialog/OwpDialog.d.ts +1 -1
- package/dist/types/components/OwpTreeGrid/OwpTreeGridToolbar.d.ts +3 -1
- package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.d.ts +2 -1
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/constants/input.d.ts +4 -0
- package/dist/types/dayjs.d.ts +0 -2
- package/dist/types/features/themePreview/components/ThemePreviewCanvasSections.d.ts +0 -2
- package/package.json +1 -1
- package/dist/_virtual/en.js +0 -3
- package/dist/_virtual/en.js.map +0 -1
- package/dist/_virtual/en2.js +0 -5
- package/dist/_virtual/en2.js.map +0 -1
- package/dist/_virtual/ko.js +0 -3
- package/dist/_virtual/ko.js.map +0 -1
- package/dist/_virtual/ko2.js +0 -5
- package/dist/_virtual/ko2.js.map +0 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/en.js +0 -21
- package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/en.js.map +0 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/ko.js +0 -28
- package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/ko.js.map +0 -1
|
@@ -2,7 +2,7 @@ var P = Object.defineProperty;
|
|
|
2
2
|
var n = (e, o) => P(e, "name", { value: o, configurable: !0 });
|
|
3
3
|
import { jsxs as l, jsx as r } 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 { useOwpTranslation as z } from "../../hooks/useOwpTranslation.js";
|
|
5
|
-
import { DialogContent as F, DialogActions as H, Dialog as R, DialogTitle as W, CircularProgress as q, Box as
|
|
5
|
+
import { DialogContent as F, DialogActions as H, Dialog as R, DialogTitle as W, CircularProgress as q, Box as m, Button as x } from "@mui/material";
|
|
6
6
|
import { forwardRef as E } from "react";
|
|
7
7
|
import { useDialogOpenFocusCleanup as G } from "./internal/useDialogOpenFocusCleanup.js";
|
|
8
8
|
const J = E(
|
|
@@ -10,43 +10,43 @@ const J = E(
|
|
|
10
10
|
title: e,
|
|
11
11
|
children: o,
|
|
12
12
|
loading: c = !1,
|
|
13
|
-
alertDialog:
|
|
14
|
-
canCancel:
|
|
15
|
-
canConfirm:
|
|
13
|
+
alertDialog: y = !1,
|
|
14
|
+
canCancel: h = !0,
|
|
15
|
+
canConfirm: g = !0,
|
|
16
16
|
confirmText: D,
|
|
17
17
|
cancelText: v,
|
|
18
|
-
onConfirm:
|
|
19
|
-
onCancel:
|
|
18
|
+
onConfirm: s,
|
|
19
|
+
onCancel: d,
|
|
20
20
|
onClose: t,
|
|
21
21
|
open: w,
|
|
22
22
|
useSubmit: a,
|
|
23
|
-
actions:
|
|
23
|
+
actions: p,
|
|
24
24
|
contentProps: T,
|
|
25
|
-
role:
|
|
26
|
-
...
|
|
27
|
-
},
|
|
28
|
-
const { t: f } = z(), b = D ?? f("Button.저장"), j = v ?? f(
|
|
25
|
+
role: O,
|
|
26
|
+
...k
|
|
27
|
+
}, B) => {
|
|
28
|
+
const { t: f } = z(), b = D ?? f("Button.저장"), j = v ?? f("Button.닫기"), A = G(w), { sx: i, ...I } = T ?? {}, K = [
|
|
29
29
|
{ position: "relative", minHeight: c ? 120 : void 0 },
|
|
30
30
|
...Array.isArray(i) ? i : i ? [i] : []
|
|
31
31
|
];
|
|
32
32
|
return /* @__PURE__ */ l(
|
|
33
33
|
R,
|
|
34
34
|
{
|
|
35
|
-
ref:
|
|
35
|
+
ref: B,
|
|
36
36
|
fullWidth: !0,
|
|
37
37
|
open: A,
|
|
38
38
|
component: a ? "form" : void 0,
|
|
39
|
-
role:
|
|
40
|
-
onClose: /* @__PURE__ */ n((N,
|
|
41
|
-
|
|
39
|
+
role: y ? "alertdialog" : O,
|
|
40
|
+
onClose: /* @__PURE__ */ n((N, u) => {
|
|
41
|
+
u !== "backdropClick" && (t == null || t(N, u));
|
|
42
42
|
}, "onClose"),
|
|
43
|
-
...
|
|
43
|
+
...k,
|
|
44
44
|
children: [
|
|
45
45
|
e && /* @__PURE__ */ r(W, { children: e }),
|
|
46
46
|
/* @__PURE__ */ l(F, { dividers: !0, "aria-busy": c, ...I, sx: K, children: [
|
|
47
47
|
o,
|
|
48
48
|
c && /* @__PURE__ */ r(
|
|
49
|
-
|
|
49
|
+
m,
|
|
50
50
|
{
|
|
51
51
|
"aria-hidden": "true",
|
|
52
52
|
sx: {
|
|
@@ -62,14 +62,14 @@ const J = E(
|
|
|
62
62
|
)
|
|
63
63
|
] }),
|
|
64
64
|
/* @__PURE__ */ l(H, { children: [
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
p && /* @__PURE__ */ r(m, { className: "flex w-full items-start", children: p }),
|
|
66
|
+
h && /* @__PURE__ */ r(
|
|
67
|
+
x,
|
|
68
68
|
{
|
|
69
69
|
variant: "outlined",
|
|
70
70
|
onClick: /* @__PURE__ */ n(() => {
|
|
71
|
-
if (typeof
|
|
72
|
-
|
|
71
|
+
if (typeof d == "function") {
|
|
72
|
+
d();
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
75
|
t == null || t({}, "escapeKeyDown");
|
|
@@ -77,16 +77,16 @@ const J = E(
|
|
|
77
77
|
children: j
|
|
78
78
|
}
|
|
79
79
|
),
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
g && /* @__PURE__ */ r(
|
|
81
|
+
x,
|
|
82
82
|
{
|
|
83
83
|
variant: "contained",
|
|
84
84
|
color: "secondary",
|
|
85
85
|
type: a ? "submit" : "button",
|
|
86
86
|
onClick: /* @__PURE__ */ n(() => {
|
|
87
87
|
if (!a) {
|
|
88
|
-
if (typeof
|
|
89
|
-
|
|
88
|
+
if (typeof s == "function") {
|
|
89
|
+
s();
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
t == null || t({}, "escapeKeyDown");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OwpDialog.js","sources":["../../../src/components/OwpDialog/OwpDialog.tsx"],"sourcesContent":null,"names":["OwpDialog","forwardRef","title","children","loading","alertDialog","canCancel","canConfirm","confirmTextProp","cancelTextProp","onConfirm","onCancel","onClose","open","useSubmit","actions","contentProps","roleProp","dialogProps","ref","t","useOwpTranslation","confirmText","cancelText","resolvedOpen","useDialogOpenFocusCleanup","contentSx","restContentProps","resolvedContentSx","jsxs","Dialog","__name","event","reason","jsx","DialogTitle","DialogContent","Box","CircularProgress","DialogActions","Button"],"mappings":";;;;;;;AAmDA,MAAMA,IAAYC;AAAA,EAChB,CACE;AAAA,IACE,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,aAAAC,IAAc;AAAA,IACd,WAAAC,IAAY;AAAA,IACZ,YAAAC,IAAa;AAAA,IACb,aAAaC;AAAA,IACb,YAAYC;AAAA,IACZ,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,SAAAC;AAAA,IACA,MAAAC;AAAA,IACA,WAAAC;AAAA,IACA,SAAAC;AAAA,IACA,cAAAC;AAAA,IACA,MAAMC;AAAA,IACN,GAAGC;AAAA,EAAA,GAELC,MACG;AACH,UAAM,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACRC,IAAcd,KAAmBY,EAAE,WAAW,GAC9CG,IAAad,KAAkBW,
|
|
1
|
+
{"version":3,"file":"OwpDialog.js","sources":["../../../src/components/OwpDialog/OwpDialog.tsx"],"sourcesContent":null,"names":["OwpDialog","forwardRef","title","children","loading","alertDialog","canCancel","canConfirm","confirmTextProp","cancelTextProp","onConfirm","onCancel","onClose","open","useSubmit","actions","contentProps","roleProp","dialogProps","ref","t","useOwpTranslation","confirmText","cancelText","resolvedOpen","useDialogOpenFocusCleanup","contentSx","restContentProps","resolvedContentSx","jsxs","Dialog","__name","event","reason","jsx","DialogTitle","DialogContent","Box","CircularProgress","DialogActions","Button"],"mappings":";;;;;;;AAmDA,MAAMA,IAAYC;AAAA,EAChB,CACE;AAAA,IACE,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,aAAAC,IAAc;AAAA,IACd,WAAAC,IAAY;AAAA,IACZ,YAAAC,IAAa;AAAA,IACb,aAAaC;AAAA,IACb,YAAYC;AAAA,IACZ,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,SAAAC;AAAA,IACA,MAAAC;AAAA,IACA,WAAAC;AAAA,IACA,SAAAC;AAAA,IACA,cAAAC;AAAA,IACA,MAAMC;AAAA,IACN,GAAGC;AAAA,EAAA,GAELC,MACG;AACH,UAAM,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACRC,IAAcd,KAAmBY,EAAE,WAAW,GAC9CG,IAAad,KAAkBW,EAAE,WAAW,GAC5CI,IAAeC,EAA0BZ,CAAI,GAC7C,EAAE,IAAIa,GAAW,GAAGC,EAAA,IAAqBX,KAAgB,CAAA,GACzDY,IAAoB;AAAA,MACxB,EAAE,UAAU,YAAY,WAAWxB,IAAU,MAAM,OAAA;AAAA,MACnD,GAAI,MAAM,QAAQsB,CAAS,IAAIA,IAAYA,IAAY,CAACA,CAAS,IAAI,CAAA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