@bwg-ui/core 1.0.0 → 1.1.1
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/chunks/AuthContext-CXng9fj0.cjs +1 -0
- package/dist/chunks/AuthContext-Ei2P-z4d.js +52 -0
- package/dist/chunks/BwgLargeUploader-BOf905_l.cjs +2 -0
- package/dist/chunks/BwgLargeUploader-BeI8oV8y.js +3315 -0
- package/dist/chunks/FileUtils-BcnoJ2zn.js +140 -0
- package/dist/chunks/FileUtils-CCBueCSG.cjs +1 -0
- package/dist/chunks/PublicLayout-BiTPwkVq.cjs +35 -0
- package/dist/chunks/PublicLayout-g9WMtoZ0.js +138 -0
- package/dist/chunks/{QuickServiceToggle-y7esp1kp.js → SSOHandler-DVa4JKKb.js} +14831 -14630
- package/dist/chunks/SSOHandler-DiwKoTdN.cjs +183 -0
- package/dist/chunks/ScreenProtectContext-ofv2QgMp.cjs +1 -0
- package/dist/chunks/ScreenProtectContext-zByHldrr.js +114 -0
- package/dist/chunks/SearchBoxContext-B1nxG-Wd.cjs +1 -0
- package/dist/chunks/{ServiceCodeContext-CDZMr3Mm.js → SearchBoxContext-DhKP2pQj.js} +39 -39
- package/dist/chunks/{UtilsContext-B16Gh9LL.cjs → UtilsContext-CLJwXO1Q.cjs} +1 -1
- package/dist/chunks/{UtilsContext-BbfZYiMR.js → UtilsContext-CwVwmfrg.js} +9 -9
- package/dist/chunks/{codeStore-bxk_q1sl.js → codeStore-9alVvK1W.js} +1 -1
- package/dist/chunks/{codeStore-Dt6j826J.cjs → codeStore-B_4WPxpS.cjs} +1 -1
- package/dist/chunks/envUtils-C9Gf5aek.js +29 -0
- package/dist/chunks/envUtils-CduTHoHu.cjs +1 -0
- package/dist/chunks/menuStore-BwLORbDu.cjs +1 -0
- package/dist/chunks/{favoriteStore-CguRSEcH.js → menuStore-DXn19Xnr.js} +136 -123
- package/dist/chunks/{popupStore-CVD8SPTa.cjs → popupStore-D_-Wpcao.cjs} +1 -1
- package/dist/chunks/{popupStore-Dp_fqtim.js → popupStore-JBIRLYTL.js} +1 -1
- package/dist/chunks/{serviceConfig-BJBsdee_.js → serviceConfig-4iBLfLzF.js} +176 -205
- package/dist/chunks/serviceConfig-B5UJqk4b.cjs +2 -0
- package/dist/components/common/BwgCmptArea.d.ts +84 -6
- package/dist/components/common/BwgCol.d.ts +19 -0
- package/dist/components/common/BwgConfigProvider.d.ts +2 -1
- package/dist/components/common/BwgGrid.d.ts +9 -4
- package/dist/components/common/BwgInfoArea.d.ts +2 -1
- package/dist/components/common/BwgRow.d.ts +19 -0
- package/dist/components/common/BwgTitleBox.d.ts +5 -1
- package/dist/components/common/BwgView.d.ts +2 -13
- package/dist/components/common/SSOHandler.d.ts +2 -0
- package/dist/components/common/SearchBox.d.ts +59 -7
- package/dist/components/common/index.cjs +1 -1
- package/dist/components/common/index.d.ts +19 -16
- package/dist/components/common/index.js +20 -17
- package/dist/components/core/BwgLargeUploader.d.ts +4 -1
- package/dist/components/core/BwgSearch.d.ts +4 -0
- package/dist/components/core/BwgUploader.d.ts +30 -7
- package/dist/components/core/index.cjs +1 -1
- package/dist/components/core/index.js +1 -1
- package/dist/components/layout/ProgressOverlay.d.ts +10 -0
- package/dist/components/layout/ProtectLayout.d.ts +6 -0
- package/dist/components/layout/PublicLayout.d.ts +6 -0
- package/dist/components/layout/index.cjs +1 -0
- package/dist/components/layout/index.d.ts +3 -0
- package/dist/components/layout/index.js +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +304 -289
- package/dist/provider/contexts/AuthContext.d.ts +12 -0
- package/dist/provider/contexts/ScreenProtectContext.d.ts +21 -0
- package/dist/provider/contexts/index.d.ts +2 -0
- package/dist/provider/index.cjs +1 -1
- package/dist/provider/index.js +25 -19
- package/dist/stores/index.cjs +1 -1
- package/dist/stores/index.js +5 -5
- package/dist/styles/assets/images/backgrounds/krx_login_bg.png +0 -0
- package/dist/styles/assets/images/contents/icon/ico-lockscreen.svg +44 -0
- package/dist/styles/assets/images/logos/krx-logo-full.svg +35 -0
- package/dist/styles/components.css +130 -17
- package/dist/styles/global.css +19 -0
- package/dist/styles/layout.css +108 -35
- package/dist/styles/login.css +39 -33
- package/dist/styles/variables.css +221 -5
- package/dist/types/global.d.ts +2 -0
- package/dist/utils/FileUtils.d.ts +7 -0
- package/dist/utils/envUtils.d.ts +8 -0
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +105 -103
- package/package.json +32 -5
- package/dist/chunks/BwgLargeUploader-ByN1XWV4.js +0 -809
- package/dist/chunks/BwgLargeUploader-CU0-MVk4.cjs +0 -1
- package/dist/chunks/QuickServiceToggle-CiCuWfCF.cjs +0 -183
- package/dist/chunks/ServiceCodeContext--ZnMtjzD.cjs +0 -1
- package/dist/chunks/favoriteStore-TgeeY32l.cjs +0 -1
- package/dist/chunks/messageUtils-9DXOwada.js +0 -117
- package/dist/chunks/messageUtils-RjJD_ArW.cjs +0 -1
- package/dist/chunks/serviceConfig-Cr2P4yr4.cjs +0 -2
package/dist/utils/envUtils.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 현재 코드가 실행되는 최종 애플리케이션의 환경이 개발 환경인지 여부를 반환합니다.
|
|
3
|
+
* 이 라이브러리를 사용하는 프로젝트의 빌드 도구(Vite 등)가 이 값을 결정합니다.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* // 최종 앱이 `npm run dev`로 실행될 때: isLocal === true
|
|
7
|
+
* // 최종 앱이 `npm run build`로 빌드될 때: isLocal === false
|
|
8
|
+
*/
|
|
1
9
|
export declare const isLocal: boolean;
|
|
2
10
|
export declare function configureEnvUtils(opts: {
|
|
3
11
|
devHosts?: string[];
|
package/dist/utils/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/commonUtils-L9Jgc5y-.cjs"),t=require("../chunks/serviceConfig-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/commonUtils-L9Jgc5y-.cjs"),t=require("../chunks/serviceConfig-B5UJqk4b.cjs"),r=require("../chunks/FileUtils-CCBueCSG.cjs"),o=require("../chunks/realFormat-Cha7OTd9.cjs"),a=require("../chunks/envUtils-CduTHoHu.cjs");exports.average=e.average;exports.calculateAge=e.calculateAge;exports.chunk=e.chunk;exports.clamp=e.clamp;exports.clearLocalStorage=e.clearLocalStorage;exports.clearSessionStorage=e.clearSessionStorage;exports.copyToClipboard=e.copyToClipboard;exports.count=e.count;exports.debounce=e.debounce;exports.deepClone=e.deepClone;exports.delay=e.delay;exports.difference=e.difference;exports.downloadFile=e.downloadFile;exports.duplicates=e.duplicates;exports.entries=e.entries;exports.find=e.find;exports.findLast=e.findLast;exports.flattenArray=e.flattenArray;exports.flattenDeep=e.flattenDeep;exports.formatDate=e.formatDate;exports.formatDateKST=e.formatDateKST;exports.formatDateKorean=e.formatDateKorean;exports.formatDateTimeKorean=e.formatDateTimeKorean;exports.formatTimeKorean=e.formatTimeKorean;exports.generateRandomColor=e.generateRandomColor;exports.getAllKeys=e.getAllKeys;exports.getCurrentDate=e.getCurrentDate;exports.getCurrentDateString=e.getCurrentDateString;exports.getDateDiff=e.getDateDiff;exports.getDateRange=e.getDateRange;exports.getDateRangeForPicker=e.getDateRangeForPicker;exports.getDeviceType=e.getDeviceType;exports.getLocalStorage=e.getLocalStorage;exports.getMonthEnd=e.getMonthEnd;exports.getMonthStart=e.getMonthStart;exports.getRelativeTime=e.getRelativeTime;exports.getSessionStorage=e.getSessionStorage;exports.getWeekEnd=e.getWeekEnd;exports.getWeekStart=e.getWeekStart;exports.groupBy=e.groupBy;exports.has=e.has;exports.includes=e.includes;exports.intersection=e.intersection;exports.isArray=e.isArray;exports.isBoolean=e.isBoolean;exports.isDesktop=e.isDesktop;exports.isEqual=e.isEqual;exports.isFunction=e.isFunction;exports.isInViewport=e.isInViewport;exports.isMobile=e.isMobile;exports.isNull=e.isNull;exports.isNullOrUndefined=e.isNullOrUndefined;exports.isNumber=e.isNumber;exports.isObject=e.isObject;exports.isString=e.isString;exports.isTablet=e.isTablet;exports.isThisMonth=e.isThisMonth;exports.isThisWeek=e.isThisWeek;exports.isToday=e.isToday;exports.isUndefined=e.isUndefined;exports.isValidDate=e.isValidDate;exports.keys=e.keys;exports.lastIndexOf=e.lastIndexOf;exports.map=e.map;exports.max=e.max;exports.merge=e.merge;exports.min=e.min;exports.omit=e.omit;exports.pick=e.pick;exports.random=e.random;exports.randomChoice=e.randomChoice;exports.randomFromArray=e.randomFromArray;exports.randomInt=e.randomInt;exports.randomMultiple=e.randomMultiple;exports.range=e.range;exports.remove=e.remove;exports.removeAt=e.removeAt;exports.removeEmptyStrings=e.removeEmptyStrings;exports.removeLocalStorage=e.removeLocalStorage;exports.removeNullValues=e.removeNullValues;exports.removeSessionStorage=e.removeSessionStorage;exports.removeWhere=e.removeWhere;exports.round=e.round;exports.scrollToElement=e.scrollToElement;exports.scrollToTop=e.scrollToTop;exports.set=e.set;exports.setLocalStorage=e.setLocalStorage;exports.setSessionStorage=e.setSessionStorage;exports.shuffle=e.shuffle;exports.size=e.size;exports.sortBy=e.sortBy;exports.sortNumbers=e.sortNumbers;exports.sum=e.sum;exports.throttle=e.throttle;exports.union=e.union;exports.unique=e.unique;exports.uniqueBy=e.uniqueBy;exports.values=e.values;exports.apiDelete=t.apiDelete;exports.apiGet=t.apiGet;exports.apiPatch=t.apiPatch;exports.apiPost=t.apiPost;exports.apiPut=t.apiPut;exports.base64Decode=t.base64Decode;exports.base64Encode=t.base64Encode;exports.br2nl=t.br2nl;exports.bxmDecrypt=t.bxmDecrypt;exports.bxmEncrypt=t.bxmEncrypt;exports.callService=t.callService;exports.capitalize=t.capitalize;exports.capitalizeWords=t.capitalizeWords;exports.center=t.center;exports.closeNotification=t.closeNotification;exports.countChar=t.countChar;exports.countWords=t.countWords;exports.destroyNotifications=t.destroyNotifications;exports.encryptSha256=t.encryptSha256;exports.extractNumbers=t.extractNumbers;exports.findPattern=t.findPattern;exports.formatPhoneNumber=t.formatPhoneNumber;exports.generateAlphanumericUID=t.generateAlphanumericUID;exports.generateCustomUID=t.generateCustomUID;exports.generateGUID=t.generateGUID;exports.generateGUIDWithoutHyphens=t.generateGUIDWithoutHyphens;exports.generateLongUID=t.generateLongUID;exports.generateNumericUID=t.generateNumericUID;exports.generateRandomString=t.generateRandomString;exports.generateShortUID=t.generateShortUID;exports.generateTimestampUID=t.generateTimestampUID;exports.generateUID=t.generateUID;exports.getAllServiceCodes=t.getAllServiceCodes;exports.getClientIp=t.getClientIp;exports.getCrprCd=t.getCrprCd;exports.getDepartmentInfo=t.getDepartmentInfo;exports.getDisplayName=t.getDisplayName;exports.getDprtCd=t.getDprtCd;exports.getDprtNm=t.getDprtNm;exports.getEmplNo=t.getEmplNo;exports.getGuid=t.getGuid;exports.getRoleList=t.getRoleList;exports.getServiceCode=t.getServiceCode;exports.getUserDvsn=t.getUserDvsn;exports.getUserId=t.getUserId;exports.getUserInfo=t.getUserInfo;exports.getUserNm=t.getUserNm;exports.hasAllRoles=t.hasAllRoles;exports.hasAnyRole=t.hasAnyRole;exports.hasRole=t.hasRole;exports.hasUserInfo=t.hasUserInfo;exports.isEmpty=t.isEmpty;exports.isLoggedIn=t.isLoggedIn;exports.isSafeEmpty=t.isSafeEmpty;exports.isValidEmail=t.isValidEmail;exports.isValidUrl=t.isValidUrl;exports.md5Hash=t.md5Hash;exports.nl2br=t.nl2br;exports.notificationService=t.notificationService;exports.padLeft=t.padLeft;exports.padRight=t.padRight;exports.removeHtmlTags=t.removeHtmlTags;exports.removeSpecialChars=t.removeSpecialChars;exports.reverse=t.reverse;exports.setClientIp=t.setClientIp;exports.setServiceCodeOverrides=t.setServiceCodeOverrides;exports.sha256Hash=t.sha256Hash;exports.showError=t.showError;exports.showInfo=t.showInfo;exports.showSuccess=t.showSuccess;exports.showWarning=t.showWarning;exports.simpleDecrypt=t.simpleDecrypt;exports.simpleEncrypt=t.simpleEncrypt;exports.toCamelCase=t.toCamelCase;exports.toKebabCase=t.toKebabCase;exports.toSnakeCase=t.toSnakeCase;exports.truncate=t.truncate;exports.verifyClientIp=t.verifyClientIp;exports.THEME_COOKIE_NAME=r.THEME_COOKIE_NAME;exports.closeAllMessages=r.closeAllMessages;exports.closeMessage=r.closeMessage;exports.convertImageFormat=r.convertImageFormat;exports.deleteCookie=r.deleteCookie;exports.downloadByFileKey=r.downloadByFileKey;exports.generateSrcSet=r.generateSrcSet;exports.getAvatarImage=r.getAvatarImage;exports.getBackgroundImage=r.getBackgroundImage;exports.getCookie=r.getCookie;exports.getDefaultBackgroundImage=r.getDefaultBackgroundImage;exports.getIconImage=r.getIconImage;exports.getLogoImage=r.getLogoImage;exports.getOptimizedImageUrl=r.getOptimizedImageUrl;exports.handleImageError=r.handleImageError;exports.preloadImage=r.preloadImage;exports.resizeImage=r.resizeImage;exports.setCookie=r.setCookie;exports.showApiError=r.showApiError;exports.showDuplicateError=r.showDuplicateError;exports.showLoading=r.showLoading;exports.showRequiredError=r.showRequiredError;exports.showSaveError=r.showSaveError;exports.showSaveSuccess=r.showSaveSuccess;exports.useImageLoader=r.useImageLoader;exports.realFormat=o.realFormat;exports.getEnvCode=a.getEnvCode;exports.isDev=a.isDev;exports.isLocal=a.isLocal;exports.isProd=a.isProd;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { getCrprCd, getDepartmentInfo, getDisplayName, getDprtCd, getDprtNm, get
|
|
|
9
9
|
export { closeNotification, destroyNotifications, notificationService, showError, showInfo, showSuccess, showWarning, } from './notificationUtils';
|
|
10
10
|
export { deleteCookie, getCookie, setCookie, THEME_COOKIE_NAME, } from './cookieUtils';
|
|
11
11
|
export { showLoading, closeMessage, closeAllMessages, showApiError, showSaveSuccess, showSaveError, showDuplicateError, showRequiredError, } from './messageUtils';
|
|
12
|
+
export { downloadByFileKey } from './FileUtils';
|
|
12
13
|
export { default as realFormat } from './realFormat';
|
|
13
14
|
export { getAllServiceCodes, getServiceCode, setServiceCodeOverrides, } from './serviceConfig';
|
|
14
15
|
export { isLocal, isDev, isProd, getEnvCode } from './envUtils';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Y as e, t, J as r, a9 as o, aa as i, ab as n, ac as g, _ as l, ad as m, u as c, ae as d, K as p, af as u, L as h, v as f, a0 as D, a1 as S, a6 as I, a7 as v, f as
|
|
2
|
-
import { Q as _a, R as Ja, S as Qa, T as Xa, U as Ya, b as Za, a as $a, c as as, d as ss, e as es, V as ts, f as rs, g as os, h as is, ae as ns, i as gs, j as ls, af as ms, k as cs, l as ds, m as ps, n as us, o as hs, p as fs, q as Ds, r as Ss, s as Is, t as vs, u as
|
|
3
|
-
import { T as
|
|
4
|
-
import { r as
|
|
1
|
+
import { Y as e, t, J as r, a9 as o, aa as i, ab as n, ac as g, _ as l, ad as m, u as c, ae as d, K as p, af as u, L as h, v as f, a0 as D, a1 as S, a6 as I, a7 as v, f as y, a as C, b as E, c as b, d as U, ag as k, w as T, g as w, e as A, h as N, i as L, j as x, ah as R, ai as M, k as B, l as F, m as K, aj as W, n as O, o as P, M as q, x as z, a5 as H, N as G, ak as V, al as j, am as _, y as J, an as Q, ao as X, ap as Y, aq as Z, ar as $, as as aa, at as sa, au as ea, av as ta, p as ra, q as oa, r as ia, aw as na, s as ga, z as la, $ as ma, A as ca, W as da, B as pa, X as ua, C as ha, D as fa, ax as Da, ay as Sa, T as Ia, az as va, U as ya, a8 as Ca, a2 as Ea, a3 as ba, E as Ua, aA as ka, F as Ta, aB as wa, a4 as Aa, aC as Na, aD as La, aE as xa, G as Ra, aF as Ma, aG as Ba, O as Fa, H as Ka, P as Wa, V as Oa, Z as Pa, aH as qa, Q as za, R as Ha, S as Ga, I as Va } from "../chunks/commonUtils-BV6WFv-z.js";
|
|
2
|
+
import { Q as _a, R as Ja, S as Qa, T as Xa, U as Ya, b as Za, a as $a, c as as, d as ss, e as es, V as ts, f as rs, g as os, h as is, ae as ns, i as gs, j as ls, af as ms, k as cs, l as ds, m as ps, n as us, o as hs, p as fs, q as Ds, r as Ss, s as Is, t as vs, u as ys, v as Cs, w as Es, x as bs, al as Us, W as ks, _ as Ts, $ as ws, a0 as As, a1 as Ns, a2 as Ls, a3 as xs, X as Rs, a4 as Ms, am as Bs, a5 as Fs, a6 as Ks, a7 as Ws, a8 as Os, a9 as Ps, aa as qs, ab as zs, ac as Hs, y as Gs, ad as Vs, z as js, A as _s, B as Js, C as Qs, D as Xs, ag as Ys, E as Zs, F as $s, G as ae, H as se, I as ee, Y as te, an as re, J as oe, ah as ie, ai as ne, aj as ge, ak as le, K as me, L as ce, M as de, N as pe, O as ue, P as he, Z as fe } from "../chunks/serviceConfig-4iBLfLzF.js";
|
|
3
|
+
import { T as Se, n as Ie, m as ve, c as ye, j as Ce, x as Ee, g as be, a as Ue, b as ke, k as Te, d as we, e as Ae, f as Ne, h as Le, i as xe, p as Re, r as Me, s as Be, o as Fe, v as Ke, l as We, w as Oe, t as Pe, q as qe, u as ze } from "../chunks/FileUtils-BcnoJ2zn.js";
|
|
4
|
+
import { r as Ge } from "../chunks/realFormat-DRGLFabQ.js";
|
|
5
|
+
import { g as je, a as _e, i as Je, b as Qe } from "../chunks/envUtils-C9Gf5aek.js";
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
Se as THEME_COOKIE_NAME,
|
|
7
8
|
_a as apiDelete,
|
|
8
9
|
Ja as apiGet,
|
|
9
10
|
Qa as apiPatch,
|
|
@@ -24,10 +25,10 @@ export {
|
|
|
24
25
|
o as clamp,
|
|
25
26
|
i as clearLocalStorage,
|
|
26
27
|
n as clearSessionStorage,
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
Ie as closeAllMessages,
|
|
29
|
+
ve as closeMessage,
|
|
29
30
|
ns as closeNotification,
|
|
30
|
-
|
|
31
|
+
ye as convertImageFormat,
|
|
31
32
|
g as copyToClipboard,
|
|
32
33
|
l as count,
|
|
33
34
|
gs as countChar,
|
|
@@ -35,9 +36,10 @@ export {
|
|
|
35
36
|
m as debounce,
|
|
36
37
|
c as deepClone,
|
|
37
38
|
d as delay,
|
|
38
|
-
|
|
39
|
+
Ce as deleteCookie,
|
|
39
40
|
ms as destroyNotifications,
|
|
40
41
|
p as difference,
|
|
42
|
+
Ee as downloadByFileKey,
|
|
41
43
|
u as downloadFile,
|
|
42
44
|
h as duplicates,
|
|
43
45
|
cs as encryptSha256,
|
|
@@ -48,8 +50,8 @@ export {
|
|
|
48
50
|
ps as findPattern,
|
|
49
51
|
I as flattenArray,
|
|
50
52
|
v as flattenDeep,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
y as formatDate,
|
|
54
|
+
C as formatDateKST,
|
|
53
55
|
E as formatDateKorean,
|
|
54
56
|
b as formatDateTimeKorean,
|
|
55
57
|
us as formatPhoneNumber,
|
|
@@ -61,74 +63,74 @@ export {
|
|
|
61
63
|
Is as generateLongUID,
|
|
62
64
|
vs as generateNumericUID,
|
|
63
65
|
k as generateRandomColor,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
ys as generateRandomString,
|
|
67
|
+
Cs as generateShortUID,
|
|
68
|
+
be as generateSrcSet,
|
|
67
69
|
Es as generateTimestampUID,
|
|
68
70
|
bs as generateUID,
|
|
69
71
|
T as getAllKeys,
|
|
70
72
|
Us as getAllServiceCodes,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
Ue as getAvatarImage,
|
|
74
|
+
ke as getBackgroundImage,
|
|
73
75
|
ks as getClientIp,
|
|
74
|
-
|
|
76
|
+
Te as getCookie,
|
|
75
77
|
Ts as getCrprCd,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
w as getCurrentDate,
|
|
79
|
+
A as getCurrentDateString,
|
|
80
|
+
N as getDateDiff,
|
|
79
81
|
L as getDateRange,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
x as getDateRangeForPicker,
|
|
83
|
+
we as getDefaultBackgroundImage,
|
|
84
|
+
ws as getDepartmentInfo,
|
|
85
|
+
R as getDeviceType,
|
|
86
|
+
As as getDisplayName,
|
|
87
|
+
Ns as getDprtCd,
|
|
86
88
|
Ls as getDprtNm,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
xs as getEmplNo,
|
|
90
|
+
je as getEnvCode,
|
|
91
|
+
Rs as getGuid,
|
|
92
|
+
Ae as getIconImage,
|
|
91
93
|
M as getLocalStorage,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
94
|
+
Ne as getLogoImage,
|
|
95
|
+
B as getMonthEnd,
|
|
96
|
+
F as getMonthStart,
|
|
97
|
+
Le as getOptimizedImageUrl,
|
|
98
|
+
K as getRelativeTime,
|
|
99
|
+
Ms as getRoleList,
|
|
100
|
+
Bs as getServiceCode,
|
|
101
|
+
W as getSessionStorage,
|
|
102
|
+
Fs as getUserDvsn,
|
|
103
|
+
Ks as getUserId,
|
|
104
|
+
Ws as getUserInfo,
|
|
103
105
|
Os as getUserNm,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
O as getWeekEnd,
|
|
107
|
+
P as getWeekStart,
|
|
108
|
+
q as groupBy,
|
|
109
|
+
xe as handleImageError,
|
|
108
110
|
z as has,
|
|
109
111
|
Ps as hasAllRoles,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
qs as hasAnyRole,
|
|
113
|
+
zs as hasRole,
|
|
114
|
+
Hs as hasUserInfo,
|
|
113
115
|
H as includes,
|
|
114
116
|
G as intersection,
|
|
115
117
|
V as isArray,
|
|
116
118
|
j as isBoolean,
|
|
117
119
|
_ as isDesktop,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
_e as isDev,
|
|
121
|
+
Gs as isEmpty,
|
|
120
122
|
J as isEqual,
|
|
121
123
|
Q as isFunction,
|
|
122
124
|
X as isInViewport,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
+
Je as isLocal,
|
|
126
|
+
Vs as isLoggedIn,
|
|
125
127
|
Y as isMobile,
|
|
126
128
|
Z as isNull,
|
|
127
129
|
$ as isNullOrUndefined,
|
|
128
130
|
aa as isNumber,
|
|
129
131
|
sa as isObject,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
Qe as isProd,
|
|
133
|
+
js as isSafeEmpty,
|
|
132
134
|
ea as isString,
|
|
133
135
|
ta as isTablet,
|
|
134
136
|
ra as isThisMonth,
|
|
@@ -136,76 +138,76 @@ export {
|
|
|
136
138
|
ia as isToday,
|
|
137
139
|
na as isUndefined,
|
|
138
140
|
ga as isValidDate,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
_s as isValidEmail,
|
|
142
|
+
Js as isValidUrl,
|
|
141
143
|
la as keys,
|
|
142
144
|
ma as lastIndexOf,
|
|
143
145
|
ca as map,
|
|
144
146
|
da as max,
|
|
145
|
-
|
|
147
|
+
Qs as md5Hash,
|
|
146
148
|
pa as merge,
|
|
147
149
|
ua as min,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
+
Xs as nl2br,
|
|
151
|
+
Ys as notificationService,
|
|
150
152
|
ha as omit,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
+
Zs as padLeft,
|
|
154
|
+
$s as padRight,
|
|
153
155
|
fa as pick,
|
|
154
|
-
|
|
156
|
+
Re as preloadImage,
|
|
155
157
|
Da as random,
|
|
156
158
|
Sa as randomChoice,
|
|
157
159
|
Ia as randomFromArray,
|
|
158
160
|
va as randomInt,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
ya as randomMultiple,
|
|
162
|
+
Ca as range,
|
|
163
|
+
Ge as realFormat,
|
|
162
164
|
Ea as remove,
|
|
163
165
|
ba as removeAt,
|
|
164
166
|
Ua as removeEmptyStrings,
|
|
165
|
-
|
|
167
|
+
ae as removeHtmlTags,
|
|
166
168
|
ka as removeLocalStorage,
|
|
167
169
|
Ta as removeNullValues,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
wa as removeSessionStorage,
|
|
171
|
+
se as removeSpecialChars,
|
|
172
|
+
Aa as removeWhere,
|
|
173
|
+
Me as resizeImage,
|
|
174
|
+
ee as reverse,
|
|
175
|
+
Na as round,
|
|
174
176
|
La as scrollToElement,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
xa as scrollToTop,
|
|
178
|
+
Ra as set,
|
|
179
|
+
te as setClientIp,
|
|
180
|
+
Be as setCookie,
|
|
179
181
|
Ma as setLocalStorage,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
182
|
+
re as setServiceCodeOverrides,
|
|
183
|
+
Ba as setSessionStorage,
|
|
184
|
+
oe as sha256Hash,
|
|
185
|
+
Fe as showApiError,
|
|
186
|
+
Ke as showDuplicateError,
|
|
187
|
+
ie as showError,
|
|
188
|
+
ne as showInfo,
|
|
189
|
+
We as showLoading,
|
|
190
|
+
Oe as showRequiredError,
|
|
191
|
+
Pe as showSaveError,
|
|
192
|
+
qe as showSaveSuccess,
|
|
193
|
+
ge as showSuccess,
|
|
194
|
+
le as showWarning,
|
|
195
|
+
Fa as shuffle,
|
|
196
|
+
me as simpleDecrypt,
|
|
197
|
+
ce as simpleEncrypt,
|
|
198
|
+
Ka as size,
|
|
199
|
+
Wa as sortBy,
|
|
200
|
+
Oa as sortNumbers,
|
|
201
|
+
Pa as sum,
|
|
202
|
+
qa as throttle,
|
|
203
|
+
de as toCamelCase,
|
|
204
|
+
pe as toKebabCase,
|
|
205
|
+
ue as toSnakeCase,
|
|
206
|
+
he as truncate,
|
|
205
207
|
za as union,
|
|
206
208
|
Ha as unique,
|
|
207
209
|
Ga as uniqueBy,
|
|
208
|
-
|
|
210
|
+
ze as useImageLoader,
|
|
209
211
|
Va as values,
|
|
210
|
-
|
|
212
|
+
fe as verifyClientIp
|
|
211
213
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bwg-ui/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"import": "./dist/components/core/index.js",
|
|
22
22
|
"require": "./dist/components/core/index.cjs"
|
|
23
23
|
},
|
|
24
|
+
"./layout": {
|
|
25
|
+
"types": "./dist/components/layout/index.d.ts",
|
|
26
|
+
"import": "./dist/components/layout/index.js",
|
|
27
|
+
"require": "./dist/components/layout/index.cjs"
|
|
28
|
+
},
|
|
24
29
|
"./guide": {
|
|
25
30
|
"types": "./dist/components/guide/index.d.ts",
|
|
26
31
|
"import": "./dist/components/guide/index.js",
|
|
@@ -52,6 +57,9 @@
|
|
|
52
57
|
"core": [
|
|
53
58
|
"./dist/components/core/index.d.ts"
|
|
54
59
|
],
|
|
60
|
+
"layout": [
|
|
61
|
+
"./dist/components/layout/index.d.ts"
|
|
62
|
+
],
|
|
55
63
|
"utils": [
|
|
56
64
|
"./dist/utils/index.d.ts"
|
|
57
65
|
],
|
|
@@ -86,7 +94,11 @@
|
|
|
86
94
|
"type-check": "tsc --noEmit",
|
|
87
95
|
"pack": "npm run build && npm pack && move *.tgz libs/",
|
|
88
96
|
"copy-tgz-to-dev": "node scripts/copy-tgz-to-dev.js",
|
|
89
|
-
"copy-tgz-to-release": "node scripts/copy-tgz-to-release.js"
|
|
97
|
+
"copy-tgz-to-release": "node scripts/copy-tgz-to-release.js",
|
|
98
|
+
"publish:npm": "npm run build && npm publish",
|
|
99
|
+
"publish:patch": "npm version patch && npm run publish:npm",
|
|
100
|
+
"publish:minor": "npm version minor && npm run publish:npm",
|
|
101
|
+
"publish:major": "npm version major && npm run publish:npm"
|
|
90
102
|
},
|
|
91
103
|
"devDependencies": {
|
|
92
104
|
"@types/node": "^20.0.0",
|
|
@@ -97,7 +109,9 @@
|
|
|
97
109
|
"vite": "^7.1.3",
|
|
98
110
|
"vite-plugin-dts": "^4.5.4",
|
|
99
111
|
"vite-plugin-static-copy": "^3.1.2",
|
|
100
|
-
"vite-tsconfig-paths": "^4.0.0"
|
|
112
|
+
"vite-tsconfig-paths": "^4.0.0",
|
|
113
|
+
"react-dnd": "^16.0.1",
|
|
114
|
+
"react-dnd-html5-backend": "^16.0.1"
|
|
101
115
|
},
|
|
102
116
|
"peerDependencies": {
|
|
103
117
|
"@ant-design/icons": "^6.0.0",
|
|
@@ -115,9 +129,22 @@
|
|
|
115
129
|
"react-router-dom": "^7.6.3",
|
|
116
130
|
"realgrid": "^2.9.2",
|
|
117
131
|
"realgrid-react": "^0.9.6",
|
|
118
|
-
"zustand": "^5.0.6"
|
|
132
|
+
"zustand": "^5.0.6",
|
|
133
|
+
"react-dnd": "^16.0.1",
|
|
134
|
+
"react-dnd-html5-backend": "^16.0.1"
|
|
119
135
|
},
|
|
120
136
|
"author": "kyeongdon.park",
|
|
121
137
|
"license": "ISC",
|
|
122
|
-
"description": "Vite로 만든 React UI 라이브러리"
|
|
138
|
+
"description": "Vite로 만든 React UI 라이브러리",
|
|
139
|
+
"repository": {
|
|
140
|
+
"type": "git",
|
|
141
|
+
"url": "https://github.com/your-username/dev_core.git"
|
|
142
|
+
},
|
|
143
|
+
"homepage": "https://github.com/your-username/dev_core#readme",
|
|
144
|
+
"bugs": {
|
|
145
|
+
"url": "https://github.com/your-username/dev_core/issues"
|
|
146
|
+
},
|
|
147
|
+
"publishConfig": {
|
|
148
|
+
"access": "public"
|
|
149
|
+
}
|
|
123
150
|
}
|