@owp/core 1.14.0 → 1.15.0

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aZ as r, aX as o, a8 as i, a9 as l, F as n, h as p, i as d, aR as c, aS as w, aT as u, aU as g, aY as b, aW as O, aV as m, cl as C, bA as T, bB as S, a_ as G, a$ as L, b0 as h, aP as y, b1 as I, bJ as B, bK as D, b2 as E, b3 as v, b5 as N, b4 as R, be as P, b8 as k, b9 as x, ba as f, b7 as V, bb as A, bf as H, bd as _, bj as M, bk as F, bl as U, bh as z, bi as J, bm as K, bn as Q, b6 as W, bg as Y, bo as Z, bp as q, bq as j, br as X, bs as $, bt as ee, bu as ae, bv as se, bw as te, bx as re, by as oe, bz as ie, d as le, bF as ne, bG as pe, bH as de, bI as ce, aQ as we, ch as ue, ci as ge, cx as be, cj as Oe, ck as me, O as Ce, cB as Te, co as Se, cC as Ge, cq as Le, cr as he, cs as ye, bC as Ie, cu as Be, ct as De, cw as Ee, a0 as ve, cp as Ne, bD as Re, bE as Pe, cA as ke, cz as xe, cm as fe, cn as Ve, aj as Ae, ak as He, ai as _e, ah as Me, cv as Fe, ao as Ue, aC as ze, e as Je, $ as Ke, bN as Qe, as as We, X as Ye, a1 as Ze, a2 as qe, bM as je, a5 as Xe, ag as $e, aq as ea, aE as aa, aa as sa, Y as ta, ae as ra, bO as oa, ap as ia, am as la, bY as na, ab as pa, c0 as da, ac as ca, al as wa, a3 as ua, a4 as ga, bZ as ba, b_ as Oa, ar as ma, b$ as Ca, az as Ta, aA as Sa, aD as Ga, aF as La, aH as ha, ad as ya, bc as Ia, bL as Ba, V as Da, o as Ea, bQ as va, af as Na, an as Ra, aB as Pa, aw as ka, au as xa, ax as fa, av as Va, ce as Aa, aK as Ha, aL as _a, aI as Ma, aJ as Fa, aN as Ua, c1 as za, bX as Ja, cb as Ka, cc as Qa, cd as Wa, c2 as Ya, c3 as Za, c4 as qa, c5 as ja, c6 as Xa, c7 as $a, bR as es, bS as as, bW as ss, bT as ts, bV as rs, bU as os, c8 as is, c9 as ls, ca as ns, a6 as ps, bP as ds, ay as cs, at as ws, cf as us, a7 as gs, cg as bs, aM as Os, aG as ms, g as Cs, W as Ts, aO as Ss, _ as Gs, Z as Ls, cy as hs, n as ys, B as Is, K as Bs, L as Ds, J as Es, l as vs, q as Ns, v as Rs, x as Ps, z as ks, p as xs, C as fs, E as Vs, M as As, U as Hs, T as _s, k as Ms, I as Fs, G as Us, H as zs, m as Js, r as Ks, w as Qs, y as Ws, A as Ys, D as Zs, N as qs, P as js, Q as Xs, R as $s, S as et } from "./index-BugFZMYi.js";
1
+ import { aZ as r, aX as o, a8 as i, a9 as l, F as n, h as p, i as d, aR as c, aS as w, aT as u, aU as g, aY as b, aW as O, aV as m, cl as C, bA as T, bB as S, a_ as G, a$ as L, b0 as h, aP as y, b1 as I, bJ as B, bK as D, b2 as E, b3 as v, b5 as N, b4 as R, be as P, b8 as k, b9 as x, ba as f, b7 as V, bb as A, bf as H, bd as _, bj as M, bk as F, bl as U, bh as z, bi as J, bm as K, bn as Q, b6 as W, bg as Y, bo as Z, bp as q, bq as j, br as X, bs as $, bt as ee, bu as ae, bv as se, bw as te, bx as re, by as oe, bz as ie, d as le, bF as ne, bG as pe, bH as de, bI as ce, aQ as we, ch as ue, ci as ge, cx as be, cj as Oe, ck as me, O as Ce, cB as Te, co as Se, cC as Ge, cq as Le, cr as he, cs as ye, bC as Ie, cu as Be, ct as De, cw as Ee, a0 as ve, cp as Ne, bD as Re, bE as Pe, cA as ke, cz as xe, cm as fe, cn as Ve, aj as Ae, ak as He, ai as _e, ah as Me, cv as Fe, ao as Ue, aC as ze, e as Je, $ as Ke, bN as Qe, as as We, X as Ye, a1 as Ze, a2 as qe, bM as je, a5 as Xe, ag as $e, aq as ea, aE as aa, aa as sa, Y as ta, ae as ra, bO as oa, ap as ia, am as la, bY as na, ab as pa, c0 as da, ac as ca, al as wa, a3 as ua, a4 as ga, bZ as ba, b_ as Oa, ar as ma, b$ as Ca, az as Ta, aA as Sa, aD as Ga, aF as La, aH as ha, ad as ya, bc as Ia, bL as Ba, V as Da, o as Ea, bQ as va, af as Na, an as Ra, aB as Pa, aw as ka, au as xa, ax as fa, av as Va, ce as Aa, aK as Ha, aL as _a, aI as Ma, aJ as Fa, aN as Ua, c1 as za, bX as Ja, cb as Ka, cc as Qa, cd as Wa, c2 as Ya, c3 as Za, c4 as qa, c5 as ja, c6 as Xa, c7 as $a, bR as es, bS as as, bW as ss, bT as ts, bV as rs, bU as os, c8 as is, c9 as ls, ca as ns, a6 as ps, bP as ds, ay as cs, at as ws, cf as us, a7 as gs, cg as bs, aM as Os, aG as ms, g as Cs, W as Ts, aO as Ss, _ as Gs, Z as Ls, cy as hs, n as ys, B as Is, K as Bs, L as Ds, J as Es, l as vs, q as Ns, v as Rs, x as Ps, z as ks, p as xs, C as fs, E as Vs, M as As, U as Hs, T as _s, k as Ms, I as Fs, G as Us, H as zs, m as Js, r as Ks, w as Qs, y as Ws, A as Ys, D as Zs, N as qs, P as js, Q as Xs, R as $s, S as et } from "./index-Divy7WGa.js";
2
2
  import { DialogsProvider as st } from "@toolpad/core/useDialogs";
3
3
  import "@mui/material/styles";
4
4
  import "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { CommonCode } from '@/utils/CommonCodeUtils';
1
+ import { CommonCode } from '@/utils/commonCodeUtils';
2
2
  import { FormControlProps, RadioGroupProps } from '@mui/material';
3
3
  export type OwpCommonCodeRadioGroupProps = FormControlProps & RadioGroupProps & {
4
4
  codeId: string;
@@ -1,4 +1,4 @@
1
- import { CommonCode } from '@/utils/CommonCodeUtils';
1
+ import { CommonCode } from '@/utils/commonCodeUtils';
2
2
  import { SelectProps } from '@mui/material';
3
3
  export type OwpCommonCodeSelectorProps = SelectProps<string> & {
4
4
  codeId: string;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * 스토리지 키 목록
3
+ */
4
+ export declare const STORAGE_KEYS: {
5
+ readonly commonCodeList: "commonCodeList";
6
+ readonly navigationList: "navigationList";
7
+ readonly lockLoadingProps: "lockLoadingProps";
8
+ readonly currentLogoSrc: "CurrentLogoSrc";
9
+ readonly currentLanguage: "CurrentLanguage";
10
+ readonly currentUser: "currentUser";
11
+ readonly currentUserId: "CurrentUserId";
12
+ readonly currentShortcuts: "CurrentShortcuts";
13
+ readonly owpEnv: "owpEnv";
14
+ };
@@ -1,4 +1,4 @@
1
- import { CommonCode } from '@/utils/CommonCodeUtils';
1
+ import { CommonCode } from '@/utils/commonCodeUtils';
2
2
  /**
3
3
  * 공통코드 목록 조회 훅
4
4
  */
@@ -23,7 +23,7 @@ export * from './hooks/useTreeGridCommonCodeEnum';
23
23
  export * from './hooks/useTreeGridInstance';
24
24
  export * from './store/store';
25
25
  export * from './utils/barcodeUtil';
26
- export * from './utils/CommonCodeUtils';
26
+ export * from './utils/commonCodeUtils';
27
27
  export * from './utils/common';
28
28
  export * from './utils/createJsonBody';
29
29
  export * from './utils/createJsonString';
@@ -1,5 +1,19 @@
1
1
  import ExcelJS from 'exceljs';
2
2
  type ExcelCellValue = string | number | boolean | Date | ExcelJS.CellValue | null;
3
+ type ExcelCellFont = ExcelJS.Cell['font'];
4
+ type ExcelCellAlignment = ExcelJS.Cell['alignment'];
5
+ type ExcelCellFill = ExcelJS.Cell['fill'];
6
+ type ExcelCellOptions = {
7
+ key: string;
8
+ value?: ExcelCellValue;
9
+ font?: ExcelCellFont;
10
+ alignment?: ExcelCellAlignment;
11
+ fill?: ExcelCellFill;
12
+ isHeader?: boolean;
13
+ };
14
+ type ExcelMergeCellOptions = Omit<ExcelCellOptions, 'key'> & {
15
+ range: string;
16
+ };
3
17
  /**
4
18
  * 엑셀 컬럼 문자 인덱스 변환
5
19
  * @param letters 엑셀 컬럼 문자
@@ -26,14 +40,7 @@ export declare const exportExcelByBuffer: (buffer: ExcelJS.Buffer, title?: strin
26
40
  * @param fill 채우기 옵션
27
41
  * @param isHeader 헤더 셀 여부
28
42
  */
29
- export declare const setCellValue: (ws: ExcelJS.Worksheet, { key, value, font, alignment, fill, isHeader, }: {
30
- key: string;
31
- value?: ExcelCellValue;
32
- font?: ExcelJS.Font;
33
- alignment?: ExcelJS.Alignment;
34
- fill?: ExcelJS.Fill;
35
- isHeader?: boolean;
36
- }) => void;
43
+ export declare const setCellValue: (ws: ExcelJS.Worksheet, { key, value, font, alignment, fill, isHeader }: ExcelCellOptions) => void;
37
44
  /**
38
45
  * 엑셀 병합 셀 값 및 스타일 반영
39
46
  * @param ws 엑셀 워크시트
@@ -44,12 +51,5 @@ export declare const setCellValue: (ws: ExcelJS.Worksheet, { key, value, font, a
44
51
  * @param fill 채우기 옵션
45
52
  * @param isHeader 헤더 셀 여부
46
53
  */
47
- export declare const setMergeCells: (ws: ExcelJS.Worksheet, { range, value, font, alignment, fill, isHeader, }: {
48
- range: string;
49
- value?: ExcelCellValue;
50
- font?: ExcelJS.Font;
51
- alignment?: ExcelJS.Alignment;
52
- fill?: ExcelJS.Fill;
53
- isHeader?: boolean;
54
- }) => void;
54
+ export declare const setMergeCells: (ws: ExcelJS.Worksheet, { range, value, font, alignment, fill, isHeader }: ExcelMergeCellOptions) => void;
55
55
  export {};
@@ -1,6 +1,7 @@
1
1
  export interface RebuildValueOptions {
2
2
  forceRebuildAll?: boolean;
3
3
  forceRebuildNull?: boolean;
4
+ includeLogPayload?: boolean;
4
5
  }
5
6
  /**
6
7
  * JSON 직렬화용 값 재구성
@@ -2,15 +2,16 @@ type BlobInfoData = {
2
2
  blob: Blob;
3
3
  fileName: string;
4
4
  };
5
+ export interface SaveAsZipFileOptions {
6
+ type?: string;
7
+ fileExtension?: string;
8
+ fileTitle?: string;
9
+ appendDatetime?: boolean;
10
+ }
5
11
  /**
6
12
  * ZIP 파일 저장
7
13
  * @param data 저장할 파일 데이터
8
14
  * @param options 저장 옵션
9
15
  */
10
- export declare const saveAsZipFile: (data: BlobInfoData[], options?: {
11
- type?: string;
12
- fileExtension?: string;
13
- fileTitle?: string;
14
- appendDatetime?: boolean;
15
- }) => Promise<void>;
16
+ export declare const saveAsZipFile: (data: BlobInfoData[], options?: SaveAsZipFileOptions) => Promise<void>;
16
17
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@owp/core",
3
3
  "private": false,
4
- "version": "1.14.0",
4
+ "version": "1.15.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",