@bwg-ui/core 1.1.24 → 1.1.26
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-BQ3gHLbr.cjs +2 -0
- package/dist/chunks/AuthContext-BQ3gHLbr.cjs.map +1 -0
- package/dist/chunks/{AuthContext-Ei2P-z4d.js → AuthContext-CVizgYxY.js} +14 -10
- package/dist/chunks/AuthContext-CVizgYxY.js.map +1 -0
- package/dist/chunks/{BwgSpace-CnLM4qcg.js → BwgSpace-BPJARdOc.js} +4 -4
- package/dist/chunks/{BwgSpace-CnLM4qcg.js.map → BwgSpace-BPJARdOc.js.map} +1 -1
- package/dist/chunks/BwgSpace-Cw27d-XU.cjs +2 -0
- package/dist/chunks/{BwgSpace-b0hmM1Ht.cjs.map → BwgSpace-Cw27d-XU.cjs.map} +1 -1
- package/dist/chunks/BwgSwitch-BLtVdW44.cjs +2 -0
- package/dist/chunks/BwgSwitch-BLtVdW44.cjs.map +1 -0
- package/dist/chunks/{BwgSwitch-B79pseQM.js → BwgSwitch-DdHo4gYR.js} +66 -66
- package/dist/chunks/BwgSwitch-DdHo4gYR.js.map +1 -0
- package/dist/chunks/{BwgUploader-BcVlE61B.js → BwgUploader-BUmFmeuS.js} +639 -639
- package/dist/chunks/BwgUploader-BUmFmeuS.js.map +1 -0
- package/dist/chunks/BwgUploader-Djhl4lIt.cjs +3 -0
- package/dist/chunks/BwgUploader-Djhl4lIt.cjs.map +1 -0
- package/dist/chunks/LoadingOverlay-Uf6xy04v.js +19 -0
- package/dist/chunks/LoadingOverlay-Uf6xy04v.js.map +1 -0
- package/dist/chunks/LoadingOverlay-jdMzdB-z.cjs +2 -0
- package/dist/chunks/LoadingOverlay-jdMzdB-z.cjs.map +1 -0
- package/dist/chunks/{SSOHandler-CkPcSHIm.js → SSOHandler-CR0nR3rJ.js} +8132 -8085
- package/dist/chunks/SSOHandler-CR0nR3rJ.js.map +1 -0
- package/dist/chunks/{SSOHandler-DiW4Ft9i.cjs → SSOHandler-DQG0Jp4V.cjs} +53 -53
- package/dist/chunks/SSOHandler-DQG0Jp4V.cjs.map +1 -0
- package/dist/chunks/ScreenProtectContext-BMsPPcTX.js +154 -0
- package/dist/chunks/ScreenProtectContext-BMsPPcTX.js.map +1 -0
- package/dist/chunks/ScreenProtectContext-DrCGlcTs.cjs +2 -0
- package/dist/chunks/ScreenProtectContext-DrCGlcTs.cjs.map +1 -0
- package/dist/chunks/SearchBoxContext-DY6lES-W.cjs +2 -0
- package/dist/chunks/SearchBoxContext-DY6lES-W.cjs.map +1 -0
- package/dist/chunks/{SearchBoxContext-BCvEYyFk.js → SearchBoxContext-Dtzo_rJd.js} +25 -27
- package/dist/chunks/SearchBoxContext-Dtzo_rJd.js.map +1 -0
- package/dist/chunks/ViewContainer-BfiTFvLP.cjs +36 -0
- package/dist/chunks/ViewContainer-BfiTFvLP.cjs.map +1 -0
- package/dist/chunks/{ViewContainer-CjpJqoGG.js → ViewContainer-CTl3_56W.js} +128 -116
- package/dist/chunks/ViewContainer-CTl3_56W.js.map +1 -0
- package/dist/chunks/apiUtils-D9Vn1gwZ.cjs +3 -0
- package/dist/chunks/apiUtils-D9Vn1gwZ.cjs.map +1 -0
- package/dist/chunks/{apiUtils-DxzLqPhU.js → apiUtils-DPUgfmKk.js} +57 -48
- package/dist/chunks/apiUtils-DPUgfmKk.js.map +1 -0
- package/dist/chunks/{codeStore-CfI4Wh5M.js → codeStore-BrCfe9K3.js} +2 -2
- package/dist/chunks/{codeStore-CfI4Wh5M.js.map → codeStore-BrCfe9K3.js.map} +1 -1
- package/dist/chunks/{codeStore-il4-kZPe.cjs → codeStore-_b2fDZtD.cjs} +2 -2
- package/dist/chunks/{codeStore-il4-kZPe.cjs.map → codeStore-_b2fDZtD.cjs.map} +1 -1
- package/dist/chunks/{core-bHd8azE6.js → core-BBMCFpHx.js} +2 -2
- package/dist/chunks/{core-bHd8azE6.js.map → core-BBMCFpHx.js.map} +1 -1
- package/dist/chunks/{core-BHejg5iS.cjs → core-CM9MsJRf.cjs} +2 -2
- package/dist/chunks/{core-BHejg5iS.cjs.map → core-CM9MsJRf.cjs.map} +1 -1
- package/dist/chunks/{enc-base64-BQYwLKgk.js → enc-base64-DAsYWbA2.js} +3 -3
- package/dist/chunks/{enc-base64-BQYwLKgk.js.map → enc-base64-DAsYWbA2.js.map} +1 -1
- package/dist/chunks/{enc-base64-BkBtNBQV.cjs → enc-base64-DbK5VBfD.cjs} +2 -2
- package/dist/chunks/{enc-base64-BkBtNBQV.cjs.map → enc-base64-DbK5VBfD.cjs.map} +1 -1
- package/dist/chunks/{favoriteStore-CcKg_nEH.cjs → favoriteStore-BnQ2u-sa.cjs} +2 -2
- package/dist/chunks/{favoriteStore-CcKg_nEH.cjs.map → favoriteStore-BnQ2u-sa.cjs.map} +1 -1
- package/dist/chunks/{favoriteStore-Cemc-26t.js → favoriteStore-SyAjqLG8.js} +2 -2
- package/dist/chunks/{favoriteStore-Cemc-26t.js.map → favoriteStore-SyAjqLG8.js.map} +1 -1
- package/dist/chunks/{popupStore-Bi6o78lP.js → popupStore-BrKcPw7K.js} +2 -2
- package/dist/chunks/{popupStore-Bi6o78lP.js.map → popupStore-BrKcPw7K.js.map} +1 -1
- package/dist/chunks/{popupStore-DUApUBF2.cjs → popupStore-ChbYTqy1.cjs} +2 -2
- package/dist/chunks/{popupStore-DUApUBF2.cjs.map → popupStore-ChbYTqy1.cjs.map} +1 -1
- package/dist/chunks/{sha256-DiIRoCQ8.cjs → sha256-BnWVPP1K.cjs} +2 -2
- package/dist/chunks/{sha256-DiIRoCQ8.cjs.map → sha256-BnWVPP1K.cjs.map} +1 -1
- package/dist/chunks/{sha256-BZfJs28k.js → sha256-D80RpYO2.js} +3 -3
- package/dist/chunks/{sha256-BZfJs28k.js.map → sha256-D80RpYO2.js.map} +1 -1
- package/dist/chunks/{usePopup-BSqsnSz7.js → usePopup-DnfKRiYs.js} +27 -27
- package/dist/chunks/usePopup-DnfKRiYs.js.map +1 -0
- package/dist/chunks/usePopup-Domnpg55.cjs +2 -0
- package/dist/chunks/usePopup-Domnpg55.cjs.map +1 -0
- package/dist/components/common/BookmarkMngModal.d.ts +1 -1
- package/dist/components/common/BookmarkMngModal.d.ts.map +1 -1
- package/dist/components/common/BookmarkPopver.d.ts +2 -2
- package/dist/components/common/BookmarkPopver.d.ts.map +1 -1
- package/dist/components/common/BwgButtonGroup.d.ts +5 -5
- package/dist/components/common/BwgButtonGroup.d.ts.map +1 -1
- package/dist/components/common/BwgCmptArea.d.ts +7 -7
- package/dist/components/common/BwgCmptArea.d.ts.map +1 -1
- package/dist/components/common/BwgCol.d.ts +2 -1
- package/dist/components/common/BwgCol.d.ts.map +1 -1
- package/dist/components/common/BwgConfigProvider.d.ts +2 -2
- package/dist/components/common/BwgConfigProvider.d.ts.map +1 -1
- package/dist/components/common/BwgDetail.d.ts +2 -1
- package/dist/components/common/BwgDetail.d.ts.map +1 -1
- package/dist/components/common/BwgDraggable.d.ts +5 -5
- package/dist/components/common/BwgDraggable.d.ts.map +1 -1
- package/dist/components/common/BwgDrawer.d.ts +2 -1
- package/dist/components/common/BwgDrawer.d.ts.map +1 -1
- package/dist/components/common/BwgEditor.d.ts +5 -5
- package/dist/components/common/BwgEditor.d.ts.map +1 -1
- package/dist/components/common/BwgGrid.d.ts +8 -8
- package/dist/components/common/BwgGrid.d.ts.map +1 -1
- package/dist/components/common/BwgInfoArea.d.ts +4 -4
- package/dist/components/common/BwgInfoArea.d.ts.map +1 -1
- package/dist/components/common/BwgPopup.d.ts +3 -3
- package/dist/components/common/BwgPopup.d.ts.map +1 -1
- package/dist/components/common/BwgRow.d.ts +2 -1
- package/dist/components/common/BwgRow.d.ts.map +1 -1
- package/dist/components/common/BwgTitleBox.d.ts +5 -4
- package/dist/components/common/BwgTitleBox.d.ts.map +1 -1
- package/dist/components/common/BwgView.d.ts +4 -4
- package/dist/components/common/BwgView.d.ts.map +1 -1
- package/dist/components/common/ContentBox.d.ts +3 -3
- package/dist/components/common/ContentBox.d.ts.map +1 -1
- package/dist/components/common/ContentLayOut.d.ts +6 -5
- package/dist/components/common/ContentLayOut.d.ts.map +1 -1
- package/dist/components/common/GlobalConfigProvider.d.ts +2 -2
- package/dist/components/common/GlobalConfigProvider.d.ts.map +1 -1
- package/dist/components/common/QuickServiceToggle.d.ts +4 -4
- package/dist/components/common/QuickServiceToggle.d.ts.map +1 -1
- package/dist/components/common/SSOHandler.d.ts +2 -1
- package/dist/components/common/SSOHandler.d.ts.map +1 -1
- package/dist/components/common/SearchBox.d.ts +5 -4
- package/dist/components/common/SearchBox.d.ts.map +1 -1
- package/dist/components/common/index.cjs +1 -1
- package/dist/components/common/index.js +2 -2
- package/dist/components/core/BwgButton.d.ts +3 -2
- package/dist/components/core/BwgButton.d.ts.map +1 -1
- package/dist/components/core/BwgDatePicker.d.ts +3 -3
- package/dist/components/core/BwgDatePicker.d.ts.map +1 -1
- package/dist/components/core/BwgDownload.d.ts +2 -2
- package/dist/components/core/BwgDownload.d.ts.map +1 -1
- package/dist/components/core/BwgForm.d.ts +2 -1
- package/dist/components/core/BwgForm.d.ts.map +1 -1
- package/dist/components/core/BwgFormItem.d.ts +4 -4
- package/dist/components/core/BwgFormItem.d.ts.map +1 -1
- package/dist/components/core/BwgInput.d.ts +2 -2
- package/dist/components/core/BwgInput.d.ts.map +1 -1
- package/dist/components/core/BwgLargeUploader.d.ts +2 -2
- package/dist/components/core/BwgLargeUploader.d.ts.map +1 -1
- package/dist/components/core/BwgMaskedInput.d.ts +2 -2
- package/dist/components/core/BwgMaskedInput.d.ts.map +1 -1
- package/dist/components/core/BwgMaskedPicker.d.ts +2 -2
- package/dist/components/core/BwgMaskedPicker.d.ts.map +1 -1
- package/dist/components/core/BwgRangePicker.d.ts +3 -3
- package/dist/components/core/BwgRangePicker.d.ts.map +1 -1
- package/dist/components/core/BwgSearch.d.ts +1 -1
- package/dist/components/core/BwgSearch.d.ts.map +1 -1
- package/dist/components/core/BwgUploader.d.ts +2 -2
- package/dist/components/core/BwgUploader.d.ts.map +1 -1
- package/dist/components/core/index.cjs +1 -1
- package/dist/components/core/index.js +2 -2
- package/dist/components/guide/index.cjs +1 -1
- package/dist/components/guide/index.cjs.map +1 -1
- package/dist/components/guide/index.js +3 -3
- package/dist/components/guide/index.js.map +1 -1
- package/dist/components/layout/ErrorBound.d.ts +3 -3
- package/dist/components/layout/ErrorBound.d.ts.map +1 -1
- package/dist/components/layout/LoadingOverlay.d.ts +3 -2
- package/dist/components/layout/LoadingOverlay.d.ts.map +1 -1
- package/dist/components/layout/PrivateProtectedOverlay.d.ts +3 -2
- package/dist/components/layout/PrivateProtectedOverlay.d.ts.map +1 -1
- package/dist/components/layout/ProgressOverlay.d.ts +2 -2
- package/dist/components/layout/ProgressOverlay.d.ts.map +1 -1
- package/dist/components/layout/ViewContainer.d.ts +3 -3
- package/dist/components/layout/ViewContainer.d.ts.map +1 -1
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.js +2 -2
- package/dist/components/popup/MenuReport.d.ts +2 -2
- package/dist/components/popup/MenuReport.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +14 -14
- package/dist/provider/contexts/AuthContext.d.ts +3 -2
- package/dist/provider/contexts/AuthContext.d.ts.map +1 -1
- package/dist/provider/contexts/CommonCodeContext.d.ts +2 -2
- package/dist/provider/contexts/CommonCodeContext.d.ts.map +1 -1
- package/dist/provider/contexts/ScreenProtectContext.d.ts +5 -5
- package/dist/provider/contexts/ScreenProtectContext.d.ts.map +1 -1
- package/dist/provider/contexts/SearchBoxContext.d.ts +3 -3
- package/dist/provider/contexts/SearchBoxContext.d.ts.map +1 -1
- package/dist/provider/contexts/ServiceCodeContext.d.ts +2 -2
- package/dist/provider/contexts/ServiceCodeContext.d.ts.map +1 -1
- package/dist/provider/index.cjs +1 -1
- package/dist/provider/index.js +4 -4
- package/dist/stores/index.cjs +1 -1
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/stores/index.js +6 -6
- package/dist/stores/menuViewStore.d.ts +6 -5
- package/dist/stores/menuViewStore.d.ts.map +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +2 -3
- package/dist/chunks/AuthContext-CXng9fj0.cjs +0 -2
- package/dist/chunks/AuthContext-CXng9fj0.cjs.map +0 -1
- package/dist/chunks/AuthContext-Ei2P-z4d.js.map +0 -1
- package/dist/chunks/BwgSpace-b0hmM1Ht.cjs +0 -2
- package/dist/chunks/BwgSwitch-B79pseQM.js.map +0 -1
- package/dist/chunks/BwgSwitch-CAI-kEaM.cjs +0 -2
- package/dist/chunks/BwgSwitch-CAI-kEaM.cjs.map +0 -1
- package/dist/chunks/BwgUploader-BcVlE61B.js.map +0 -1
- package/dist/chunks/BwgUploader-DaNV2URT.cjs +0 -3
- package/dist/chunks/BwgUploader-DaNV2URT.cjs.map +0 -1
- package/dist/chunks/LoadingOverlay-DAZJF5wg.js +0 -19
- package/dist/chunks/LoadingOverlay-DAZJF5wg.js.map +0 -1
- package/dist/chunks/LoadingOverlay-DcmKvoZA.cjs +0 -2
- package/dist/chunks/LoadingOverlay-DcmKvoZA.cjs.map +0 -1
- package/dist/chunks/SSOHandler-CkPcSHIm.js.map +0 -1
- package/dist/chunks/SSOHandler-DiW4Ft9i.cjs.map +0 -1
- package/dist/chunks/ScreenProtectContext-3my4PHFa.js +0 -154
- package/dist/chunks/ScreenProtectContext-3my4PHFa.js.map +0 -1
- package/dist/chunks/ScreenProtectContext-CVuXrJm6.cjs +0 -2
- package/dist/chunks/ScreenProtectContext-CVuXrJm6.cjs.map +0 -1
- package/dist/chunks/SearchBoxContext-BCvEYyFk.js.map +0 -1
- package/dist/chunks/SearchBoxContext-DwFDOyYG.cjs +0 -2
- package/dist/chunks/SearchBoxContext-DwFDOyYG.cjs.map +0 -1
- package/dist/chunks/ViewContainer-Bhq22_B3.cjs +0 -36
- package/dist/chunks/ViewContainer-Bhq22_B3.cjs.map +0 -1
- package/dist/chunks/ViewContainer-CjpJqoGG.js.map +0 -1
- package/dist/chunks/apiUtils-BZ6s0_NI.cjs +0 -3
- package/dist/chunks/apiUtils-BZ6s0_NI.cjs.map +0 -1
- package/dist/chunks/apiUtils-DxzLqPhU.js.map +0 -1
- package/dist/chunks/jsx-runtime-CeSfJrVB.cjs +0 -31
- package/dist/chunks/jsx-runtime-CeSfJrVB.cjs.map +0 -1
- package/dist/chunks/jsx-runtime-Dpn_P65e.js +0 -634
- package/dist/chunks/jsx-runtime-Dpn_P65e.js.map +0 -1
- package/dist/chunks/usePopup-BSqsnSz7.js.map +0 -1
- package/dist/chunks/usePopup-D2JEuDrO.cjs +0 -2
- package/dist/chunks/usePopup-D2JEuDrO.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sha256-
|
|
1
|
+
{"version":3,"file":"sha256-BnWVPP1K.cjs","sources":["../../node_modules/crypto-js/sha256.js"],"sourcesContent":[";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Initialization and round constants tables\n\t var H = [];\n\t var K = [];\n\n\t // Compute constants\n\t (function () {\n\t function isPrime(n) {\n\t var sqrtN = Math.sqrt(n);\n\t for (var factor = 2; factor <= sqrtN; factor++) {\n\t if (!(n % factor)) {\n\t return false;\n\t }\n\t }\n\n\t return true;\n\t }\n\n\t function getFractionalBits(n) {\n\t return ((n - (n | 0)) * 0x100000000) | 0;\n\t }\n\n\t var n = 2;\n\t var nPrime = 0;\n\t while (nPrime < 64) {\n\t if (isPrime(n)) {\n\t if (nPrime < 8) {\n\t H[nPrime] = getFractionalBits(Math.pow(n, 1 / 2));\n\t }\n\t K[nPrime] = getFractionalBits(Math.pow(n, 1 / 3));\n\n\t nPrime++;\n\t }\n\n\t n++;\n\t }\n\t }());\n\n\t // Reusable object\n\t var W = [];\n\n\t /**\n\t * SHA-256 hash algorithm.\n\t */\n\t var SHA256 = C_algo.SHA256 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init(H.slice(0));\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var H = this._hash.words;\n\n\t // Working variables\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\t var e = H[4];\n\t var f = H[5];\n\t var g = H[6];\n\t var h = H[7];\n\n\t // Computation\n\t for (var i = 0; i < 64; i++) {\n\t if (i < 16) {\n\t W[i] = M[offset + i] | 0;\n\t } else {\n\t var gamma0x = W[i - 15];\n\t var gamma0 = ((gamma0x << 25) | (gamma0x >>> 7)) ^\n\t ((gamma0x << 14) | (gamma0x >>> 18)) ^\n\t (gamma0x >>> 3);\n\n\t var gamma1x = W[i - 2];\n\t var gamma1 = ((gamma1x << 15) | (gamma1x >>> 17)) ^\n\t ((gamma1x << 13) | (gamma1x >>> 19)) ^\n\t (gamma1x >>> 10);\n\n\t W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];\n\t }\n\n\t var ch = (e & f) ^ (~e & g);\n\t var maj = (a & b) ^ (a & c) ^ (b & c);\n\n\t var sigma0 = ((a << 30) | (a >>> 2)) ^ ((a << 19) | (a >>> 13)) ^ ((a << 10) | (a >>> 22));\n\t var sigma1 = ((e << 26) | (e >>> 6)) ^ ((e << 21) | (e >>> 11)) ^ ((e << 7) | (e >>> 25));\n\n\t var t1 = h + sigma1 + ch + K[i] + W[i];\n\t var t2 = sigma0 + maj;\n\n\t h = g;\n\t g = f;\n\t f = e;\n\t e = (d + t1) | 0;\n\t d = c;\n\t c = b;\n\t b = a;\n\t a = (t1 + t2) | 0;\n\t }\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t H[4] = (H[4] + e) | 0;\n\t H[5] = (H[5] + f) | 0;\n\t H[6] = (H[6] + g) | 0;\n\t H[7] = (H[7] + h) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n\t data.sigBytes = dataWords.length * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Return final computed hash\n\t return this._hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.SHA256('message');\n\t * var hash = CryptoJS.SHA256(wordArray);\n\t */\n\t C.SHA256 = Hasher._createHelper(SHA256);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacSHA256(message, key);\n\t */\n\t C.HmacSHA256 = Hasher._createHmacHelper(SHA256);\n\t}(Math));\n\n\n\treturn CryptoJS.SHA256;\n\n}));"],"names":["root","factory","module","require$$0","this","CryptoJS","Math","C","C_lib","WordArray","Hasher","C_algo","H","K","isPrime","n","sqrtN","factor","getFractionalBits","nPrime","W","SHA256","M","offset","a","b","c","d","e","f","g","h","i","gamma0x","gamma0","gamma1x","gamma1","ch","maj","sigma0","sigma1","t1","t2","data","dataWords","nBitsTotal","nBitsLeft","clone"],"mappings":"4fAAE,SAAUA,EAAMC,EAAS,CAGzBC,UAA2BD,EAAQE,EAAAA,aAAiB,CAUtD,GAAEC,EAAM,SAAUC,EAAU,CAE3B,OAAC,SAAUC,EAAM,CAEb,IAAIC,EAAIF,EACJG,EAAQD,EAAE,IACVE,EAAYD,EAAM,UAClBE,EAASF,EAAM,OACfG,EAASJ,EAAE,KAGXK,EAAI,CAAA,EACJC,EAAI,CAAA,GAGP,UAAY,CACT,SAASC,EAAQC,EAAG,CAEhB,QADIC,EAAQV,EAAK,KAAKS,CAAC,EACdE,EAAS,EAAGA,GAAUD,EAAOC,IAClC,GAAI,EAAEF,EAAIE,GACN,MAAO,GAIf,MAAO,EACpB,CAES,SAASC,EAAkBH,EAAG,CAC1B,OAASA,GAAKA,EAAI,IAAM,WAAe,CACpD,CAIS,QAFIA,EAAI,EACJI,EAAS,EACNA,EAAS,IACRL,EAAQC,CAAC,IACLI,EAAS,IACTP,EAAEO,CAAM,EAAID,EAAkBZ,EAAK,IAAIS,EAAG,EAAI,CAAC,CAAC,GAEpDF,EAAEM,CAAM,EAAID,EAAkBZ,EAAK,IAAIS,EAAG,EAAI,CAAC,CAAC,EAEhDI,KAGJJ,GAEb,GAAM,EAGD,IAAIK,EAAI,CAAA,EAKJC,EAASV,EAAO,OAASD,EAAO,OAAO,CACvC,SAAU,UAAY,CAClB,KAAK,MAAQ,IAAID,EAAU,KAAKG,EAAE,MAAM,CAAC,CAAC,CACvD,EAES,gBAAiB,SAAUU,EAAGC,EAAQ,CAelC,Q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Z,EAAE,CAAC,EAAKA,EAAE,CAAC,EAAIa,EAAK,EACpBb,EAAE,CAAC,EAAKA,EAAE,CAAC,EAAIc,EAAK,EACpBd,EAAE,CAAC,EAAKA,EAAE,CAAC,EAAIe,EAAK,EACpBf,EAAE,CAAC,EAAKA,EAAE,CAAC,EAAIgB,EAAK,EACpBhB,EAAE,CAAC,EAAKA,EAAE,CAAC,EAAIiB,EAAK,EACpBjB,EAAE,CAAC,EAAKA,EAAE,CAAC,EAAIkB,EAAK,EACpBlB,EAAE,CAAC,EAAKA,EAAE,CAAC,EAAImB,EAAK,CACjC,EAES,YAAa,UAAY,CAErB,IAAIY,EAAO,KAAK,MACZC,EAAYD,EAAK,MAEjBE,EAAa,KAAK,YAAc,EAChCC,EAAYH,EAAK,SAAW,EAGhC,OAAAC,EAAUE,IAAc,CAAC,GAAK,KAAS,GAAKA,EAAY,GACxDF,GAAaE,EAAY,KAAQ,GAAM,GAAK,EAAE,EAAIxC,EAAK,MAAMuC,EAAa,UAAW,EACrFD,GAAaE,EAAY,KAAQ,GAAM,GAAK,EAAE,EAAID,EAClDF,EAAK,SAAWC,EAAU,OAAS,EAGnC,KAAK,SAAQ,EAGN,KAAK,KACzB,EAES,MAAO,UAAY,CACf,IAAIG,EAAQrC,EAAO,MAAM,KAAK,IAAI,EAClC,OAAAqC,EAAM,MAAQ,KAAK,MAAM,MAAK,EAEvBA,CACpB,CACA,CAAM,EAgBDxC,EAAE,OAASG,EAAO,cAAcW,CAAM,EAgBtCd,EAAE,WAAaG,EAAO,kBAAkBW,CAAM,CACnD,GAAG,IAAI,EAGChB,EAAS,MAEjB,CAAC","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aQ as N } from "./apiUtils-
|
|
2
|
-
import { r as R } from "./core-
|
|
1
|
+
import { aQ as N } from "./apiUtils-DPUgfmKk.js";
|
|
2
|
+
import { r as R } from "./core-BBMCFpHx.js";
|
|
3
3
|
function T(p, g) {
|
|
4
4
|
for (var c = 0; c < g.length; c++) {
|
|
5
5
|
const t = g[c];
|
|
@@ -76,4 +76,4 @@ const Q = /* @__PURE__ */ N(x), U = /* @__PURE__ */ T({
|
|
|
76
76
|
export {
|
|
77
77
|
U as s
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=sha256-
|
|
79
|
+
//# sourceMappingURL=sha256-D80RpYO2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sha256-
|
|
1
|
+
{"version":3,"file":"sha256-D80RpYO2.js","sources":["../../node_modules/crypto-js/sha256.js"],"sourcesContent":[";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Initialization and round constants tables\n\t var H = [];\n\t var K = [];\n\n\t // Compute constants\n\t (function () {\n\t function isPrime(n) {\n\t var sqrtN = Math.sqrt(n);\n\t for (var factor = 2; factor <= sqrtN; factor++) {\n\t if (!(n % factor)) {\n\t return false;\n\t }\n\t }\n\n\t return true;\n\t }\n\n\t function getFractionalBits(n) {\n\t return ((n - (n | 0)) * 0x100000000) | 0;\n\t }\n\n\t var n = 2;\n\t var nPrime = 0;\n\t while (nPrime < 64) {\n\t if (isPrime(n)) {\n\t if (nPrime < 8) {\n\t H[nPrime] = getFractionalBits(Math.pow(n, 1 / 2));\n\t }\n\t K[nPrime] = getFractionalBits(Math.pow(n, 1 / 3));\n\n\t nPrime++;\n\t }\n\n\t n++;\n\t }\n\t }());\n\n\t // Reusable object\n\t var W = [];\n\n\t /**\n\t * SHA-256 hash algorithm.\n\t */\n\t var SHA256 = C_algo.SHA256 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init(H.slice(0));\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var H = this._hash.words;\n\n\t // Working variables\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\t var e = H[4];\n\t var f = H[5];\n\t var g = H[6];\n\t var h = H[7];\n\n\t // Computation\n\t for (var i = 0; i < 64; i++) {\n\t if (i < 16) {\n\t W[i] = M[offset + i] | 0;\n\t } else {\n\t var gamma0x = W[i - 15];\n\t var gamma0 = ((gamma0x << 25) | (gamma0x >>> 7)) ^\n\t ((gamma0x << 14) | (gamma0x >>> 18)) ^\n\t (gamma0x >>> 3);\n\n\t var gamma1x = W[i - 2];\n\t var gamma1 = ((gamma1x << 15) | (gamma1x >>> 17)) ^\n\t ((gamma1x << 13) | (gamma1x >>> 19)) ^\n\t (gamma1x >>> 10);\n\n\t W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];\n\t }\n\n\t var ch = (e & f) ^ (~e & g);\n\t var maj = (a & b) ^ (a & c) ^ (b & c);\n\n\t var sigma0 = ((a << 30) | (a >>> 2)) ^ ((a << 19) | (a >>> 13)) ^ ((a << 10) | (a >>> 22));\n\t var sigma1 = ((e << 26) | (e >>> 6)) ^ ((e << 21) | (e >>> 11)) ^ ((e << 7) | (e >>> 25));\n\n\t var t1 = h + sigma1 + ch + K[i] + W[i];\n\t var t2 = sigma0 + maj;\n\n\t h = g;\n\t g = f;\n\t f = e;\n\t e = (d + t1) | 0;\n\t d = c;\n\t c = b;\n\t b = a;\n\t a = (t1 + t2) | 0;\n\t }\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t H[4] = (H[4] + e) | 0;\n\t H[5] = (H[5] + f) | 0;\n\t H[6] = (H[6] + g) | 0;\n\t H[7] = (H[7] + h) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n\t data.sigBytes = dataWords.length * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Return final computed hash\n\t return this._hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.SHA256('message');\n\t * var hash = CryptoJS.SHA256(wordArray);\n\t */\n\t C.SHA256 = Hasher._createHelper(SHA256);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacSHA256(message, key);\n\t */\n\t C.HmacSHA256 = Hasher._createHmacHelper(SHA256);\n\t}(Math));\n\n\n\treturn CryptoJS.SHA256;\n\n}));"],"names":["root","factory","module","require$$0","this","CryptoJS","Math","C","C_lib","WordArray","Hasher","C_algo","H","K","isPrime","n","sqrtN","factor","getFractionalBits","nPrime","W","SHA256","M","offset","a","b","c","d","e","f","g","h","i","gamma0x","gamma0","gamma1x","gam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CAAC,IAAIc,IAAK,GACpBd,EAAE,CAAC,IAAKA,EAAE,CAAC,IAAIe,IAAK,GACpBf,EAAE,CAAC,IAAKA,EAAE,CAAC,IAAIgB,IAAK,GACpBhB,EAAE,CAAC,IAAKA,EAAE,CAAC,IAAIiB,IAAK,GACpBjB,EAAE,CAAC,IAAKA,EAAE,CAAC,IAAIkB,IAAK,GACpBlB,EAAE,CAAC,IAAKA,EAAE,CAAC,IAAImB,IAAK;AAAA,UACjC;AAAA,UAES,aAAa,WAAY;AAErB,gBAAIY,IAAO,KAAK,OACZC,IAAYD,EAAK,OAEjBE,IAAa,KAAK,cAAc,GAChCC,IAAYH,EAAK,WAAW;AAGhC,mBAAAC,EAAUE,MAAc,CAAC,KAAK,OAAS,KAAKA,IAAY,IACxDF,GAAaE,IAAY,OAAQ,KAAM,KAAK,EAAE,IAAIxC,EAAK,MAAMuC,IAAa,UAAW,GACrFD,GAAaE,IAAY,OAAQ,KAAM,KAAK,EAAE,IAAID,GAClDF,EAAK,WAAWC,EAAU,SAAS,GAGnC,KAAK,SAAQ,GAGN,KAAK;AAAA,UACzB;AAAA,UAES,OAAO,WAAY;AACf,gBAAIG,IAAQrC,EAAO,MAAM,KAAK,IAAI;AAClC,mBAAAqC,EAAM,QAAQ,KAAK,MAAM,MAAK,GAEvBA;AAAA,UACpB;AAAA,QACA,CAAM;AAgBD,QAAAxC,EAAE,SAASG,EAAO,cAAcW,CAAM,GAgBtCd,EAAE,aAAaG,EAAO,kBAAkBW,CAAM;AAAA,MACnD,GAAG,IAAI,GAGChB,EAAS;AAAA,IAEjB,CAAC;AAAA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as P } from "./codeStore-
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { u as
|
|
5
|
-
const
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { u as P } from "./codeStore-BrCfe9K3.js";
|
|
3
|
+
import { createContext as f, useContext as v, useCallback as h } from "react";
|
|
4
|
+
import { u as x } from "./popupStore-BrKcPw7K.js";
|
|
5
|
+
const p = f(
|
|
6
6
|
void 0
|
|
7
7
|
), B = ({
|
|
8
8
|
children: o
|
|
@@ -12,10 +12,10 @@ const C = x(
|
|
|
12
12
|
isLoading: t,
|
|
13
13
|
error: u,
|
|
14
14
|
lastUpdated: s,
|
|
15
|
-
getCodeList:
|
|
16
|
-
getCodeListByOption:
|
|
15
|
+
getCodeList: d,
|
|
16
|
+
getCodeListByOption: i,
|
|
17
17
|
getCodeName: a,
|
|
18
|
-
getCodeColor:
|
|
18
|
+
getCodeColor: C,
|
|
19
19
|
getCodeByOption: n,
|
|
20
20
|
getAvailableGroupCodes: c,
|
|
21
21
|
getGridLookup: m,
|
|
@@ -25,18 +25,18 @@ const C = x(
|
|
|
25
25
|
isLoading: t,
|
|
26
26
|
error: u,
|
|
27
27
|
lastUpdated: s,
|
|
28
|
-
getCodeList:
|
|
29
|
-
getCodeListByOption:
|
|
28
|
+
getCodeList: d,
|
|
29
|
+
getCodeListByOption: i,
|
|
30
30
|
getCodeName: a,
|
|
31
|
-
getCodeColor:
|
|
31
|
+
getCodeColor: C,
|
|
32
32
|
getCodeByOption: n,
|
|
33
33
|
getAvailableGroupCodes: c,
|
|
34
34
|
getGridLookup: m,
|
|
35
35
|
refreshCodes: g
|
|
36
36
|
};
|
|
37
|
-
return /* @__PURE__ */ l
|
|
37
|
+
return /* @__PURE__ */ l(p.Provider, { value: L, children: o });
|
|
38
38
|
}, r = () => {
|
|
39
|
-
const o =
|
|
39
|
+
const o = v(p);
|
|
40
40
|
if (o === void 0)
|
|
41
41
|
throw new Error("useCommonCode must be used within a CommonCodeProvider");
|
|
42
42
|
return o;
|
|
@@ -54,32 +54,32 @@ const C = x(
|
|
|
54
54
|
isLoading: e,
|
|
55
55
|
error: t
|
|
56
56
|
};
|
|
57
|
-
},
|
|
57
|
+
}, N = () => {
|
|
58
58
|
const { getCodeColor: o, isLoading: e, error: t } = r();
|
|
59
59
|
return {
|
|
60
60
|
getCodeColor: o,
|
|
61
61
|
isLoading: e,
|
|
62
62
|
error: t
|
|
63
63
|
};
|
|
64
|
-
},
|
|
64
|
+
}, A = () => {
|
|
65
65
|
const { getCodeListByOption: o, isLoading: e, error: t } = r();
|
|
66
66
|
return {
|
|
67
67
|
getCodeListByOption: o,
|
|
68
68
|
isLoading: e,
|
|
69
69
|
error: t
|
|
70
70
|
};
|
|
71
|
-
},
|
|
71
|
+
}, S = () => {
|
|
72
72
|
const { getGridLookup: o, isLoading: e, error: t } = r();
|
|
73
73
|
return {
|
|
74
74
|
getGridLookup: o,
|
|
75
75
|
isLoading: e,
|
|
76
76
|
error: t
|
|
77
77
|
};
|
|
78
|
-
},
|
|
79
|
-
const { popups: o, activePopupId: e, setActivePopup: t, closePopup: u, openPopup: s } =
|
|
80
|
-
async (
|
|
78
|
+
}, j = () => !1, D = () => {
|
|
79
|
+
const { popups: o, activePopupId: e, setActivePopup: t, closePopup: u, openPopup: s } = x(), d = h(
|
|
80
|
+
async (i, a, C) => {
|
|
81
81
|
try {
|
|
82
|
-
await s(
|
|
82
|
+
await s(i, a, C);
|
|
83
83
|
} catch (n) {
|
|
84
84
|
throw console.error("팝업 열기 실패:", n), n;
|
|
85
85
|
}
|
|
@@ -91,7 +91,7 @@ const C = x(
|
|
|
91
91
|
activePopupId: e,
|
|
92
92
|
setActivePopup: t,
|
|
93
93
|
closePopup: u,
|
|
94
|
-
showPopup:
|
|
94
|
+
showPopup: d,
|
|
95
95
|
isPopup: o.length > 0
|
|
96
96
|
};
|
|
97
97
|
};
|
|
@@ -99,11 +99,11 @@ export {
|
|
|
99
99
|
B as C,
|
|
100
100
|
G as a,
|
|
101
101
|
O as b,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
N as c,
|
|
103
|
+
A as d,
|
|
104
|
+
S as e,
|
|
105
|
+
j as f,
|
|
106
|
+
D as g,
|
|
107
107
|
r as u
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=usePopup-
|
|
109
|
+
//# sourceMappingURL=usePopup-DnfKRiYs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePopup-DnfKRiYs.js","sources":["../../src/provider/contexts/CommonCodeContext.tsx","../../src/provider/hooks/usePopup.ts"],"sourcesContent":["import {\r\n useCodeStore,\r\n type CommonCodeContextType,\r\n} from '../../stores/codeStore';\r\nimport { createContext, useContext, ReactNode, FC } from 'react';\r\n\r\n// 공통코드 컨텍스트 생성\r\nconst CommonCodeContext = createContext<CommonCodeContextType | undefined>(\r\n undefined\r\n);\r\n\r\n// 공통코드 컨텍스트 프로바이더 컴포넌트\r\ninterface CommonCodeProviderProps {\r\n children: ReactNode;\r\n}\r\n\r\nexport const CommonCodeProvider: FC<CommonCodeProviderProps> = ({\r\n children,\r\n}) => {\r\n const {\r\n codeData,\r\n isLoading,\r\n error,\r\n lastUpdated,\r\n getCodeList,\r\n getCodeListByOption,\r\n getCodeName,\r\n getCodeColor,\r\n getCodeByOption,\r\n getAvailableGroupCodes,\r\n getGridLookup,\r\n fetchCommonCodes,\r\n } = useCodeStore();\r\n\r\n const contextValue: CommonCodeContextType = {\r\n codeData,\r\n isLoading,\r\n error,\r\n lastUpdated,\r\n getCodeList,\r\n getCodeListByOption,\r\n getCodeName,\r\n getCodeColor,\r\n getCodeByOption,\r\n getAvailableGroupCodes,\r\n getGridLookup,\r\n refreshCodes: fetchCommonCodes,\r\n };\r\n\r\n return (\r\n <CommonCodeContext.Provider value={contextValue}>\r\n {children}\r\n </CommonCodeContext.Provider>\r\n );\r\n};\r\n\r\n// 공통코드 컨텍스트 사용 훅\r\nexport const useCommonCode = (): CommonCodeContextType => {\r\n const context = useContext(CommonCodeContext);\r\n if (context === undefined) {\r\n throw new Error('useCommonCode must be used within a CommonCodeProvider');\r\n }\r\n return context;\r\n};\r\n\r\n// 편의 훅들 (Fast Refresh 호환성을 위해 매개변수 없는 함수로 변경)\r\nexport const useCodeList = () => {\r\n const { getCodeList, isLoading, error } = useCommonCode();\r\n return {\r\n getCodeList,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport const useCodeName = () => {\r\n const { getCodeName, isLoading, error } = useCommonCode();\r\n return {\r\n getCodeName,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport const useCodeColor = () => {\r\n const { getCodeColor, isLoading, error } = useCommonCode();\r\n return {\r\n getCodeColor,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport const useCodeListByOption = () => {\r\n const { getCodeListByOption, isLoading, error } = useCommonCode();\r\n return {\r\n getCodeListByOption,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport const useGridLookup = () => {\r\n const { getGridLookup, isLoading, error } = useCommonCode();\r\n return {\r\n getGridLookup,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n","import { useCallback } from 'react';\r\nimport { usePopupStore, type PopupConfig } from '../../stores/popupStore';\r\n\r\n/**\r\n * 팝업 컨텍스트를 감지하는 훅\r\n * 팝업 내부에서 사용하면 true, 일반 페이지에서는 false 반환\r\n */\r\nexport const usePopupContext = (): boolean => {\r\n // 팝업 내부에서만 true를 반환하도록 수정\r\n // 현재는 팝업이 열려있으면 모든 컴포넌트가 팝업으로 인식되는 문제가 있음\r\n // 임시로 false 반환 (수동으로 isPopup prop 사용 권장)\r\n return false;\r\n};\r\n\r\n/**\r\n * 팝업 데이터와 이벤트를 관리하는 훅\r\n */\r\nexport const usePopup = () => {\r\n const { popups, activePopupId, setActivePopup, closePopup, openPopup } =\r\n usePopupStore();\r\n\r\n // 팝업 열기 함수\r\n const showPopup = useCallback(\r\n async (popupCode: string, popParams?: any, config?: PopupConfig) => {\r\n try {\r\n await openPopup(popupCode, popParams, config);\r\n } catch (error) {\r\n console.error('팝업 열기 실패:', error);\r\n throw error;\r\n }\r\n },\r\n [openPopup]\r\n );\r\n\r\n return {\r\n popups,\r\n activePopupId,\r\n setActivePopup,\r\n closePopup,\r\n showPopup,\r\n isPopup: popups.length > 0,\r\n };\r\n};\r\n"],"names":["CommonCodeContext","createContext","CommonCodeProvider","children","codeData","isLoading","error","lastUpdated","getCodeList","getCodeListByOption","getCodeName","getCodeColor","getCodeByOption","getAvailableGroupCodes","getGridLookup","fetchCommonCodes","useCodeStore","contextValue","useCommonCode","context","useContext","useCodeList","useCodeName","useCodeColor","useCodeListByOption","useGridLookup","usePopupContext","usePopup","popups","activePopupId","setActivePopup","closePopup","openPopup","usePopupStore","showPopup","useCallback","popupCode","popParams","config"],"mappings":";;;;AAOA,MAAMA,IAAoBC;AAAA,EACxB;AACF,GAOaC,IAAkD,CAAC;AAAA,EAC9D,UAAAC;AACF,MAAM;AACJ,QAAM;AAAA,IACJ,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,kBAAAC;AAAA,EAAA,IACEC,EAAA,GAEEC,IAAsC;AAAA,IAC1C,UAAAb;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAcC;AAAA,EAAA;AAGhB,2BACGf,EAAkB,UAAlB,EAA2B,OAAOiB,GAChC,UAAAd,GACH;AAEJ,GAGae,IAAgB,MAA6B;AACxD,QAAMC,IAAUC,EAAWpB,CAAiB;AAC5C,MAAImB,MAAY;AACd,UAAM,IAAI,MAAM,wDAAwD;AAE1E,SAAOA;AACT,GAGaE,IAAc,MAAM;AAC/B,QAAM,EAAE,aAAA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AA;AAGZ,SAAO;AAAA,IACL,QAAAJ;AAAA,IACA,eAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,WAAAG;AAAA,IACA,SAASN,EAAO,SAAS;AAAA,EAAA;AAE7B;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const P=require("react/jsx-runtime"),v=require("./codeStore-_b2fDZtD.cjs"),p=require("react"),x=require("./popupStore-ChbYTqy1.cjs"),a=p.createContext(void 0),h=({children:o})=>{const{codeData:e,isLoading:t,error:u,lastUpdated:s,getCodeList:d,getCodeListByOption:i,getCodeName:C,getCodeColor:c,getCodeByOption:n,getAvailableGroupCodes:m,getGridLookup:g,fetchCommonCodes:L}=v.useCodeStore(),l={codeData:e,isLoading:t,error:u,lastUpdated:s,getCodeList:d,getCodeListByOption:i,getCodeName:C,getCodeColor:c,getCodeByOption:n,getAvailableGroupCodes:m,getGridLookup:g,refreshCodes:L};return P.jsx(a.Provider,{value:l,children:o})},r=()=>{const o=p.useContext(a);if(o===void 0)throw new Error("useCommonCode must be used within a CommonCodeProvider");return o},y=()=>{const{getCodeList:o,isLoading:e,error:t}=r();return{getCodeList:o,isLoading:e,error:t}},w=()=>{const{getCodeName:o,isLoading:e,error:t}=r();return{getCodeName:o,isLoading:e,error:t}},k=()=>{const{getCodeColor:o,isLoading:e,error:t}=r();return{getCodeColor:o,isLoading:e,error:t}},B=()=>{const{getCodeListByOption:o,isLoading:e,error:t}=r();return{getCodeListByOption:o,isLoading:e,error:t}},G=()=>{const{getGridLookup:o,isLoading:e,error:t}=r();return{getGridLookup:o,isLoading:e,error:t}},O=()=>!1,f=()=>{const{popups:o,activePopupId:e,setActivePopup:t,closePopup:u,openPopup:s}=x.usePopupStore(),d=p.useCallback(async(i,C,c)=>{try{await s(i,C,c)}catch(n){throw console.error("팝업 열기 실패:",n),n}},[s]);return{popups:o,activePopupId:e,setActivePopup:t,closePopup:u,showPopup:d,isPopup:o.length>0}};exports.CommonCodeProvider=h;exports.useCodeColor=k;exports.useCodeList=y;exports.useCodeListByOption=B;exports.useCodeName=w;exports.useCommonCode=r;exports.useGridLookup=G;exports.usePopup=f;exports.usePopupContext=O;
|
|
2
|
+
//# sourceMappingURL=usePopup-Domnpg55.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePopup-Domnpg55.cjs","sources":["../../src/provider/contexts/CommonCodeContext.tsx","../../src/provider/hooks/usePopup.ts"],"sourcesContent":["import {\r\n useCodeStore,\r\n type CommonCodeContextType,\r\n} from '../../stores/codeStore';\r\nimport { createContext, useContext, ReactNode, FC } from 'react';\r\n\r\n// 공통코드 컨텍스트 생성\r\nconst CommonCodeContext = createContext<CommonCodeContextType | undefined>(\r\n undefined\r\n);\r\n\r\n// 공통코드 컨텍스트 프로바이더 컴포넌트\r\ninterface CommonCodeProviderProps {\r\n children: ReactNode;\r\n}\r\n\r\nexport const CommonCodeProvider: FC<CommonCodeProviderProps> = ({\r\n children,\r\n}) => {\r\n const {\r\n codeData,\r\n isLoading,\r\n error,\r\n lastUpdated,\r\n getCodeList,\r\n getCodeListByOption,\r\n getCodeName,\r\n getCodeColor,\r\n getCodeByOption,\r\n getAvailableGroupCodes,\r\n getGridLookup,\r\n fetchCommonCodes,\r\n } = useCodeStore();\r\n\r\n const contextValue: CommonCodeContextType = {\r\n codeData,\r\n isLoading,\r\n error,\r\n lastUpdated,\r\n getCodeList,\r\n getCodeListByOption,\r\n getCodeName,\r\n getCodeColor,\r\n getCodeByOption,\r\n getAvailableGroupCodes,\r\n getGridLookup,\r\n refreshCodes: fetchCommonCodes,\r\n };\r\n\r\n return (\r\n <CommonCodeContext.Provider value={contextValue}>\r\n {children}\r\n </CommonCodeContext.Provider>\r\n );\r\n};\r\n\r\n// 공통코드 컨텍스트 사용 훅\r\nexport const useCommonCode = (): CommonCodeContextType => {\r\n const context = useContext(CommonCodeContext);\r\n if (context === undefined) {\r\n throw new Error('useCommonCode must be used within a CommonCodeProvider');\r\n }\r\n return context;\r\n};\r\n\r\n// 편의 훅들 (Fast Refresh 호환성을 위해 매개변수 없는 함수로 변경)\r\nexport const useCodeList = () => {\r\n const { getCodeList, isLoading, error } = useCommonCode();\r\n return {\r\n getCodeList,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport const useCodeName = () => {\r\n const { getCodeName, isLoading, error } = useCommonCode();\r\n return {\r\n getCodeName,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport const useCodeColor = () => {\r\n const { getCodeColor, isLoading, error } = useCommonCode();\r\n return {\r\n getCodeColor,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport const useCodeListByOption = () => {\r\n const { getCodeListByOption, isLoading, error } = useCommonCode();\r\n return {\r\n getCodeListByOption,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport const useGridLookup = () => {\r\n const { getGridLookup, isLoading, error } = useCommonCode();\r\n return {\r\n getGridLookup,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n","import { useCallback } from 'react';\r\nimport { usePopupStore, type PopupConfig } from '../../stores/popupStore';\r\n\r\n/**\r\n * 팝업 컨텍스트를 감지하는 훅\r\n * 팝업 내부에서 사용하면 true, 일반 페이지에서는 false 반환\r\n */\r\nexport const usePopupContext = (): boolean => {\r\n // 팝업 내부에서만 true를 반환하도록 수정\r\n // 현재는 팝업이 열려있으면 모든 컴포넌트가 팝업으로 인식되는 문제가 있음\r\n // 임시로 false 반환 (수동으로 isPopup prop 사용 권장)\r\n return false;\r\n};\r\n\r\n/**\r\n * 팝업 데이터와 이벤트를 관리하는 훅\r\n */\r\nexport const usePopup = () => {\r\n const { popups, activePopupId, setActivePopup, closePopup, openPopup } =\r\n usePopupStore();\r\n\r\n // 팝업 열기 함수\r\n const showPopup = useCallback(\r\n async (popupCode: string, popParams?: any, config?: PopupConfig) => {\r\n try {\r\n await openPopup(popupCode, popParams, config);\r\n } catch (error) {\r\n console.error('팝업 열기 실패:', error);\r\n throw error;\r\n }\r\n },\r\n [openPopup]\r\n );\r\n\r\n return {\r\n popups,\r\n activePopupId,\r\n setActivePopup,\r\n closePopup,\r\n showPopup,\r\n isPopup: popups.length > 0,\r\n };\r\n};\r\n"],"names":["CommonCodeContext","createContext","CommonCodeProvider","children","codeData","isLoading","error","lastUpdated","getCodeList","getCodeListByOption","getCodeName","getCodeColor","getCodeByOption","getAvailableGroupCodes","getGridLookup","fetchCommonCodes","useCodeStore","contextValue","useCommonCode","context","useContext","useCodeList","useCodeName","useCodeColor","useCodeListByOption","useGridLookup","usePopupContext","usePopup","popups","activePopupId","setActivePopup","closePopup","openPopup","usePopupStore","showPopup","useCallback","popupCode","popParams","config"],"mappings":"kJAOMA,EAAoBC,EAAAA,cACxB,MACF,EAOaC,EAAkD,CAAC,CAC9D,SAAAC,CACF,IAAM,CACJ,KAAM,CACJ,SAAAC,EACA,UAAAC,EACA,MAAAC,EACA,YAAAC,EACA,YAAAC,EACA,oBAAAC,EACA,YAAAC,EACA,aAAAC,EACA,gBAAAC,EACA,uBAAAC,EACA,cAAAC,EACA,iBAAAC,CAAA,EACEC,eAAA,EAEEC,EAAsC,CAC1C,SAAAb,EACA,UAAAC,EACA,MAAAC,EACA,YAAAC,EACA,YAAAC,EACA,oBAAAC,EACA,YAAAC,EACA,aAAAC,EACA,gBAAAC,EACA,uBAAAC,EACA,cAAAC,EACA,aAAcC,CAAA,EAGhB,aACGf,EAAkB,SAAlB,CAA2B,MAAOiB,EAChC,SAAAd,EACH,CAEJ,EAGae,EAAgB,IAA6B,CACxD,MAAMC,EAAUC,EAAAA,WAAWpB,CAAiB,EAC5C,GAAImB,IAAY,OACd,MAAM,IAAI,MAAM,wDAAwD,EAE1E,OAAOA,CACT,EAGaE,EAAc,IAAM,CAC/B,KAAM,CAAE,YAAAb,EAAa,UAAAH,EAAW,MAAAC,CAAA,EAAUY,EAAA,EAC1C,MAAO,CACL,YAAAV,EACA,UAAAH,EACA,MAAAC,CAAA,CAEJ,EAEagB,EAA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AC;AAEjB,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,EAAE,CAAC;IACP,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,EAAE,GAAG,GAAG,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AA8DF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"BookmarkMngModal.d.ts","sourceRoot":"","sources":["../../../src/components/common/BookmarkMngModal.tsx"],"names":[],"mappings":"AA0BA,KAAK,EAAE,GAAG,MAAM,CAAC;AAEjB,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,EAAE,CAAC;IACP,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,EAAE,GAAG,GAAG,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AA8DF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,2CAuchE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
type Props = {
|
|
3
|
-
triggerIcon:
|
|
3
|
+
triggerIcon: ReactNode;
|
|
4
4
|
};
|
|
5
5
|
export default function BookmarkPopover({ triggerIcon }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookmarkPopver.d.ts","sourceRoot":"","sources":["../../../src/components/common/BookmarkPopver.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BookmarkPopver.d.ts","sourceRoot":"","sources":["../../../src/components/common/BookmarkPopver.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAO,SAAS,EAAgC,MAAM,OAAO,CAAC;AAOrE,KAAK,KAAK,GAAG;IACX,WAAW,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,WAAW,EAAE,EAAE,KAAK,2CA4c7D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CSSProperties, FC } from 'react';
|
|
2
2
|
export interface ButtonEvent {
|
|
3
3
|
[key: string]: () => void | Promise<void>;
|
|
4
4
|
}
|
|
@@ -17,9 +17,9 @@ export interface BwgButtonGroupProps {
|
|
|
17
17
|
btnEvent?: {
|
|
18
18
|
[key: string]: (params?: any) => void | Promise<void>;
|
|
19
19
|
};
|
|
20
|
-
layout?:
|
|
21
|
-
size?:
|
|
22
|
-
style?:
|
|
20
|
+
layout?: 'horizontal' | 'vertical';
|
|
21
|
+
size?: 'large' | 'middle' | 'small';
|
|
22
|
+
style?: CSSProperties;
|
|
23
23
|
className?: string;
|
|
24
24
|
onButtonClick?: (btnId: string, btnNm: string, grpId: string) => void;
|
|
25
25
|
}
|
|
@@ -27,6 +27,6 @@ export interface BwgButtonGroupProps {
|
|
|
27
27
|
* 재사용 가능한 커스텀 버튼 그룹 컴포넌트
|
|
28
28
|
* SCMSIGN00202 서비스를 통해 버튼 권한을 자동으로 조회하고 이벤트를 매핑
|
|
29
29
|
*/
|
|
30
|
-
declare const BwgButtonGroup:
|
|
30
|
+
declare const BwgButtonGroup: FC<BwgButtonGroupProps>;
|
|
31
31
|
export default BwgButtonGroup;
|
|
32
32
|
//# sourceMappingURL=BwgButtonGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgButtonGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"BwgButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgButtonGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAiB,aAAa,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAM9E,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3C;AAGD,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAGD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE;QACT,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;KACvD,CAAC;IACF,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACnC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvE;AAED;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA2N3C,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CSSProperties, FC, ReactNode } from 'react';
|
|
2
2
|
export interface BwgCmptAreaProps {
|
|
3
3
|
/**
|
|
4
4
|
* 동적 행 배열 또는 커스텀 ReactNode
|
|
5
|
-
* -
|
|
6
|
-
* -
|
|
5
|
+
* - ReactNode[][]: 무제한 행을 동적으로 구성 (각 행은 React 컴포넌트 배열)
|
|
6
|
+
* - ReactNode: 완전히 커스텀한 레이아웃을 직접 렌더링
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* // 무제한 행 방식
|
|
@@ -24,7 +24,7 @@ export interface BwgCmptAreaProps {
|
|
|
24
24
|
* </div>
|
|
25
25
|
* )}
|
|
26
26
|
*/
|
|
27
|
-
content?:
|
|
27
|
+
content?: ReactNode[][] | ReactNode;
|
|
28
28
|
/**
|
|
29
29
|
* 레이아웃 방식 선택
|
|
30
30
|
* - 'flex': Flexbox 기반 배치 (기본값)
|
|
@@ -57,8 +57,8 @@ export interface BwgCmptAreaProps {
|
|
|
57
57
|
* 입력 폼 영역을 동적으로 그리기 위한 컴포넌트
|
|
58
58
|
*
|
|
59
59
|
* @description
|
|
60
|
-
* - content가
|
|
61
|
-
* - content가
|
|
60
|
+
* - content가 ReactNode[][]이면 무제한 행을 동적으로 구성
|
|
61
|
+
* - content가 ReactNode면 완전히 커스텀한 레이아웃을 직접 렌더링
|
|
62
62
|
* - 각 행의 컴포넌트들은 자동으로 백분위 너비로 배치됨
|
|
63
63
|
* - data-colspan 속성을 통해 컴포넌트의 너비를 조절할 수 있음
|
|
64
64
|
*
|
|
@@ -90,6 +90,6 @@ export interface BwgCmptAreaProps {
|
|
|
90
90
|
* />
|
|
91
91
|
* ```
|
|
92
92
|
*/
|
|
93
|
-
declare const BwgCmptArea:
|
|
93
|
+
declare const BwgCmptArea: FC<BwgCmptAreaProps>;
|
|
94
94
|
export default BwgCmptArea;
|
|
95
95
|
//# sourceMappingURL=BwgCmptArea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgCmptArea.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgCmptArea.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"BwgCmptArea.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgCmptArea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,SAAS,EAAyB,MAAM,OAAO,CAAC;AAU5E,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,OAAO,CAAC,EAAE,SAAS,EAAE,EAAE,GAAG,SAAS,CAAC;IACpC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAC5C;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,eAAe;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAgMrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ColProps } from 'antd';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
/**
|
|
3
4
|
* BwgCol 컴포넌트는 Col 컴포넌트를 래핑하여 클래스 이름을 추가합니다.
|
|
4
5
|
* @param children - 컴포넌트의 자식 요소
|
|
@@ -6,7 +7,7 @@ import { ColProps } from 'antd';
|
|
|
6
7
|
* @returns 래핑된 Col 컴포넌트
|
|
7
8
|
*/
|
|
8
9
|
interface BwgColProps extends ColProps {
|
|
9
|
-
children:
|
|
10
|
+
children: ReactNode;
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
13
|
* BwgCol 컴포넌트는 Col 컴포넌트를 래핑하여 클래스 이름을 추가합니다.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgCol.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgCol.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BwgCol.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgCol.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC;;;;;GAKG;AACH,UAAU,WAAY,SAAQ,QAAQ;IACpC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;GAMG;AACH,QAAA,MAAM,MAAM,GAAI,wBAAwB,WAAW,4CAMlD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeConfig } from 'antd';
|
|
2
|
-
import {
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
3
|
export interface BwgConfigProviderProps {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
customTheme?: Partial<ThemeConfig>;
|
|
@@ -7,6 +7,6 @@ export interface BwgConfigProviderProps {
|
|
|
7
7
|
layout?: 'compact' | 'comfortable' | 'spacious';
|
|
8
8
|
getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement;
|
|
9
9
|
}
|
|
10
|
-
export declare const BwgConfigProvider:
|
|
10
|
+
export declare const BwgConfigProvider: FC<BwgConfigProviderProps>;
|
|
11
11
|
export default BwgConfigProvider;
|
|
12
12
|
//# sourceMappingURL=BwgConfigProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgConfigProvider.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgConfigProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAGxC,OAAO,
|
|
1
|
+
{"version":3,"file":"BwgConfigProvider.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgConfigProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAGxC,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,SAAS,CAAC;IAEpB,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACnC,mBAAmB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAEnD,MAAM,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC;IAChD,iBAAiB,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,KAAK,WAAW,CAAC;CAChE;AAGD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAsJxD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgDetail.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgDetail.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BwgDetail.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgDetail.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,QAAA,MAAM,SAAS,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAmCvD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CSSProperties, FC, ReactNode } from 'react';
|
|
2
2
|
export interface BwgDraggableButton {
|
|
3
3
|
key: string;
|
|
4
4
|
text: string;
|
|
@@ -14,12 +14,12 @@ export interface BwgDraggableProps {
|
|
|
14
14
|
minWidth?: number;
|
|
15
15
|
minHeight?: number;
|
|
16
16
|
onClose?: () => void;
|
|
17
|
-
children:
|
|
18
|
-
footer?:
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
footer?: ReactNode;
|
|
19
19
|
showMask?: boolean;
|
|
20
|
-
maskStyle?:
|
|
20
|
+
maskStyle?: CSSProperties;
|
|
21
21
|
buttons?: BwgDraggableButton[];
|
|
22
22
|
}
|
|
23
|
-
declare const BwgDraggable:
|
|
23
|
+
declare const BwgDraggable: FC<BwgDraggableProps>;
|
|
24
24
|
export default BwgDraggable;
|
|
25
25
|
//# sourceMappingURL=BwgDraggable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgDraggable.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgDraggable.tsx"],"names":[],"mappings":"AAOA,OAAO,
|
|
1
|
+
{"version":3,"file":"BwgDraggable.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgDraggable.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,SAAS,EAA6B,MAAM,OAAO,CAAC;AAchF,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4LvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { DrawerProps } from 'antd';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
export interface BwgDrawerProps extends DrawerProps {
|
|
3
4
|
/** 검색박스 영역 */
|
|
4
5
|
showSearchBox?: {
|
|
5
6
|
/** 검색박스 제목 */
|
|
6
|
-
title?: string |
|
|
7
|
+
title?: string | ReactNode;
|
|
7
8
|
/** 검색박스 영역 */
|
|
8
9
|
searchBox?: any;
|
|
9
10
|
/** 검색박스 영역 추가 버튼 */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgDrawer.tsx"],"names":[],"mappings":"AASA,OAAO,EAIL,WAAW,EAKZ,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BwgDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgDrawer.tsx"],"names":[],"mappings":"AASA,OAAO,EAIL,WAAW,EAKZ,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAI5C,MAAM,WAAW,cAAe,SAAQ,WAAW;IACjD,cAAc;IACd,aAAa,CAAC,EAAE;QACd,eAAe;QACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC3B,cAAc;QACd,SAAS,CAAC,EAAE,GAAG,CAAC;QAChB,oBAAoB;QACpB,KAAK,CAAC,EAAE,GAAG,CAAC;KACb,CAAC;IACF,qBAAqB;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,oBAAoB;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,QAAA,MAAM,SAAS,GAAI,mGAQhB,cAAc,4CA+OhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormItemProps } from 'antd';
|
|
2
|
-
import {
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
import { BwgTitleBoxProps } from './BwgTitleBox';
|
|
4
4
|
export type OnEditorChange = (html: string, delta?: any, source?: 'user' | 'api' | 'silent', editor?: any) => void;
|
|
5
5
|
export interface EditorViewProps {
|
|
@@ -47,13 +47,13 @@ export interface BwgEditorFormItemProps extends Omit<BwgEditorProps, 'value' | '
|
|
|
47
47
|
name: FormItemProps['name'];
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
export declare const BwgEditorFormItem:
|
|
50
|
+
export declare const BwgEditorFormItem: FC<BwgEditorFormItemProps>;
|
|
51
51
|
/**
|
|
52
52
|
* BwgEditor 컴포넌트
|
|
53
53
|
*/
|
|
54
|
-
declare const BwgEditor:
|
|
55
|
-
FormItem:
|
|
56
|
-
Core:
|
|
54
|
+
declare const BwgEditor: FC<BwgEditorProps> & {
|
|
55
|
+
FormItem: FC<BwgEditorFormItemProps>;
|
|
56
|
+
Core: import('react').ForwardRefExoticComponent<BwgEditorProps & import('react').RefAttributes<BwgEditorHandle>>;
|
|
57
57
|
};
|
|
58
58
|
export default BwgEditor;
|
|
59
59
|
//# sourceMappingURL=BwgEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgEditor.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,MAAM,CAAC;AAG3C,OAAO,
|
|
1
|
+
{"version":3,"file":"BwgEditor.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,MAAM,CAAC;AAG3C,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AAEf,OAAoB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AA8D9D,MAAM,MAAM,cAAc,GAAG,CAC3B,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,GAAG,EACX,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,EAClC,MAAM,CAAC,EAAE,GAAG,KACT,IAAI,CAAC;AAEV,MAAM,WAAW,eAAe;IAC9B,yBAAyB;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,+CAA+C;IAC/C,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,cAAc;IAC7B,aAAa;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gBAAgB;IAChB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc;IACd,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG;QAC5C,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;KAC9B,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc;IACd,OAAO,EAAE,MAAM,MAAM,CAAC;IACtB,aAAa;IACb,OAAO,EAAE,MAAM,MAAM,CAAC;IACtB,qBAAqB;IACrB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,oBAAoB;IACpB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,uBAAuB;IACvB,QAAQ,EAAE,MAAM,GAAG,GAAG,IAAI,CAAC;CAC5B;AAiKD,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,CAAC;IACnE,SAAS,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG;QAAE,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;CAC9E;AASD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAqBxD,CAAC;AA0CF;;GAEG;AACH,QAAA,MAAM,SAAS;;;CAGb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormInstance } from 'antd';
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentType, CSSProperties, MutableRefObject, Ref } from 'react';
|
|
3
3
|
import { default as RealGrid, CellIndex, ClickData, ColumnHeaderItemLocation, DataColumn, DataProviderBase, GridBase, GridColumn, GridExportOptions, GridFitStyle, GridView, LocalDataProvider, LocalTreeDataProvider, SelectionStyle, TreeView, ValidationError, ValueType } from 'realgrid';
|
|
4
4
|
import { RealGridReact, RealTreeReact } from 'realgrid-react';
|
|
5
5
|
interface BwgGridDataLoadOption {
|
|
@@ -263,9 +263,9 @@ interface BwgGridRef {
|
|
|
263
263
|
}
|
|
264
264
|
interface BwgGridProps {
|
|
265
265
|
/** 그리드 렌더 타입 */
|
|
266
|
-
type?:
|
|
266
|
+
type?: 'nrml' | 'tree';
|
|
267
267
|
/** 그리드영역 CSS 스타일 */
|
|
268
|
-
gridDivStyle?:
|
|
268
|
+
gridDivStyle?: CSSProperties;
|
|
269
269
|
/** 그리드영역 CSS 클래스 */
|
|
270
270
|
gridDivClassName?: string;
|
|
271
271
|
/** 그리드 컬럼 설정 */
|
|
@@ -294,7 +294,7 @@ interface BwgGridProps {
|
|
|
294
294
|
/** 그리드 초기화 콜백 */
|
|
295
295
|
gridInitCallback?: (grid?: BwgGridRef | null) => void;
|
|
296
296
|
/** ref prop for forwardRef */
|
|
297
|
-
ref?:
|
|
297
|
+
ref?: Ref<BwgGridRef>;
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
300
300
|
* BWG 그리드 옵션
|
|
@@ -470,7 +470,7 @@ interface BwgGridColProps extends DataColumn {
|
|
|
470
470
|
/** 편집여부 */
|
|
471
471
|
editable?: boolean;
|
|
472
472
|
/** 컬럼 데이터 정렬 */
|
|
473
|
-
align?:
|
|
473
|
+
align?: 'left' | 'center' | 'right';
|
|
474
474
|
/** 컬럼 필드 자료형 */
|
|
475
475
|
dataType?: ValueType | string;
|
|
476
476
|
/** 컬럼 필수 */
|
|
@@ -480,7 +480,7 @@ interface BwgGridColProps extends DataColumn {
|
|
|
480
480
|
/** 그룹핑 자식 컬럼헤더 */
|
|
481
481
|
children?: BwgGridColProps[];
|
|
482
482
|
/** 그룹핑 정렬 */
|
|
483
|
-
direction?:
|
|
483
|
+
direction?: 'vertical' | 'horizontal';
|
|
484
484
|
/** true시 lookupDisplay가 true인 컬럼은 value가 아닌 label 또는 labelField의 값을 복사 */
|
|
485
485
|
lookupDisplay?: boolean;
|
|
486
486
|
renderer?: any;
|
|
@@ -531,7 +531,7 @@ export interface BwgGridRenderType {
|
|
|
531
531
|
* BwgGrid 렌더러 생성 유틸리티
|
|
532
532
|
*/
|
|
533
533
|
export declare const createBwgGridRenderer: (renderFunction: (grid: any, model: any, w: any, h: any, root: any) => void) => BwgGridRenderType;
|
|
534
|
-
declare const _default:
|
|
534
|
+
declare const _default: ComponentType<BwgGridProps>;
|
|
535
535
|
export default _default;
|
|
536
|
-
export type { BwgGridColHeaderProps, BwgGridColProps, BwgGridDataLoadOption, BwgGridEventList, BwgGridOptions, BwgGridProps, BwgGridRef
|
|
536
|
+
export type { BwgGridColHeaderProps, BwgGridColProps, BwgGridDataLoadOption, BwgGridEventList, BwgGridOptions, BwgGridProps, BwgGridRef };
|
|
537
537
|
//# sourceMappingURL=BwgGrid.d.ts.map
|