@owp/core 1.24.3 → 1.26.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.
Files changed (110) hide show
  1. package/colors.d.ts +1 -0
  2. package/colors.js +1 -0
  3. package/context.d.ts +1 -0
  4. package/context.js +1 -0
  5. package/dist/OwpAppProvider-F48yHfyI.js +22 -0
  6. package/dist/OwpAppProvider-F48yHfyI.js.map +1 -0
  7. package/dist/OwpStoreProvider-CqHkIIUm.js +34 -0
  8. package/dist/OwpStoreProvider-CqHkIIUm.js.map +1 -0
  9. package/dist/{OwpUtils-DgBOzRu6.js → OwpUtils-DxEd-Pjo.js} +183 -193
  10. package/dist/OwpUtils-DxEd-Pjo.js.map +1 -0
  11. package/dist/{QuickPanel-GgHx7ox9.js → QuickPanel-DNAisp_R.js} +3 -3
  12. package/dist/{QuickPanel-GgHx7ox9.js.map → QuickPanel-DNAisp_R.js.map} +1 -1
  13. package/dist/colors.js +38 -0
  14. package/dist/colors.js.map +1 -0
  15. package/dist/constants.js +9 -8
  16. package/dist/constants.js.map +1 -1
  17. package/dist/context.js +28 -0
  18. package/dist/context.js.map +1 -0
  19. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js +1751 -0
  20. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js.map +1 -0
  21. package/dist/hooks.js +28 -27
  22. package/dist/hooks.js.map +1 -1
  23. package/dist/{index-DP0dZ8Y6.js → index-fDrAKBzK.js} +18170 -20980
  24. package/dist/index-fDrAKBzK.js.map +1 -0
  25. package/dist/index.js +127 -134
  26. package/dist/index.js.map +1 -1
  27. package/dist/isTypedArray-DPyC49cI.js +411 -0
  28. package/dist/isTypedArray-DPyC49cI.js.map +1 -0
  29. package/dist/lazyLoadedSlices-CsgnywgU.js +2815 -0
  30. package/dist/lazyLoadedSlices-CsgnywgU.js.map +1 -0
  31. package/dist/owp-app.css +1 -1
  32. package/dist/storageKeys-DRzte9LZ.js +15 -0
  33. package/dist/storageKeys-DRzte9LZ.js.map +1 -0
  34. package/dist/store.js +7 -0
  35. package/dist/store.js.map +1 -0
  36. package/dist/toUpper-BhzrnIm3.js +16 -0
  37. package/dist/toUpper-BhzrnIm3.js.map +1 -0
  38. package/dist/treeGrid-CjB04cBq.js +35 -0
  39. package/dist/treeGrid-CjB04cBq.js.map +1 -0
  40. package/dist/treeGridUtil-DaqTz5v3.js +771 -0
  41. package/dist/treeGridUtil-DaqTz5v3.js.map +1 -0
  42. package/dist/types/colors/index.d.ts +2 -0
  43. package/dist/types/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  44. package/dist/types/components/OwpAutoLogoutDialog/index.d.ts +1 -0
  45. package/dist/types/components/OwpBarcodeInput/OwpBarcodeInput.d.ts +1 -0
  46. package/dist/types/components/OwpBarcodeInput/index.d.ts +1 -0
  47. package/dist/types/components/OwpButtonDelete/OwpButtonDelete.d.ts +12 -0
  48. package/dist/types/components/OwpButtonDelete/index.d.ts +1 -12
  49. package/dist/types/components/OwpButtonSave/OwpButtonSave.d.ts +12 -0
  50. package/dist/types/components/OwpButtonSave/index.d.ts +1 -12
  51. package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +26 -0
  52. package/dist/types/components/OwpCommonDialog/index.d.ts +1 -26
  53. package/dist/types/components/OwpExportExcelButton/index.d.ts +1 -0
  54. package/dist/types/components/OwpFileUploadButton/index.d.ts +1 -0
  55. package/dist/types/components/OwpMrtTable/OwpMrtTable.d.ts +9 -0
  56. package/dist/types/components/OwpMrtTable/index.d.ts +1 -9
  57. package/dist/types/components/OwpNumberField/OwpNumberField.d.ts +12 -0
  58. package/dist/types/components/OwpNumberField/index.d.ts +1 -12
  59. package/dist/types/components/OwpOptionSelector/OwpOptionSelector.d.ts +22 -0
  60. package/dist/types/components/OwpOptionSelector/index.d.ts +1 -22
  61. package/dist/types/components/OwpPageContent/OwpPageContent.d.ts +17 -0
  62. package/dist/types/components/OwpPageContent/index.d.ts +1 -17
  63. package/dist/types/components/OwpPageLockLoading/OwpPageLockLoading.d.ts +11 -0
  64. package/dist/types/components/OwpPageLockLoading/index.d.ts +1 -11
  65. package/dist/types/components/OwpPageTitle/OwpPageTitle.d.ts +15 -0
  66. package/dist/types/components/OwpPageTitle/index.d.ts +1 -15
  67. package/dist/types/components/OwpPicker/index.d.ts +5 -0
  68. package/dist/types/components/OwpSearchFilter/OwpSearchFilter.d.ts +17 -0
  69. package/dist/types/components/OwpSearchFilter/index.d.ts +1 -17
  70. package/dist/types/components/OwpSection/OwpSection.d.ts +24 -0
  71. package/dist/types/components/OwpSection/index.d.ts +1 -24
  72. package/dist/types/components/OwpTable/index.d.ts +3 -0
  73. package/dist/types/components/OwpTextField/index.d.ts +1 -0
  74. package/dist/types/components/OwpTreeGridExcelButton/OwpTreeGridExcelButton.d.ts +12 -0
  75. package/dist/types/components/OwpTreeGridExcelButton/index.d.ts +1 -12
  76. package/dist/types/components/OwpTreeView/index.d.ts +1 -0
  77. package/dist/types/components/OwpYesNoSelector/OwpYesNoSelector.d.ts +16 -0
  78. package/dist/types/components/OwpYesNoSelector/index.d.ts +1 -16
  79. package/dist/types/components/OwpZoomImageSlider/index.d.ts +1 -0
  80. package/dist/types/components/shared-components/tabs/OwpTab.d.ts +1 -1
  81. package/dist/types/components/shared-components/tabs/OwpTabs.d.ts +1 -1
  82. package/dist/types/context/OwpCoreProvider.d.ts +21 -0
  83. package/dist/types/context/index.d.ts +2 -0
  84. package/dist/types/index.d.ts +2 -6
  85. package/dist/types/store/OwpStoreProvider.d.ts +12 -0
  86. package/dist/types/store/index.d.ts +3 -0
  87. package/dist/useStorage-B4ZrPct1.js +65 -0
  88. package/dist/useStorage-B4ZrPct1.js.map +1 -0
  89. package/dist/useTreeGridExcelExport-BjyBdpz1.js +360 -0
  90. package/dist/useTreeGridExcelExport-BjyBdpz1.js.map +1 -0
  91. package/dist/utils.js +98 -96
  92. package/dist/utils.js.map +1 -1
  93. package/package.json +7 -1
  94. package/store.d.ts +1 -0
  95. package/store.js +1 -0
  96. package/dist/OwpUtils-DgBOzRu6.js.map +0 -1
  97. package/dist/index-DP0dZ8Y6.js.map +0 -1
  98. package/dist/treeGrid-4QKOKXZw.js +0 -46
  99. package/dist/treeGrid-4QKOKXZw.js.map +0 -1
  100. package/dist/treeGridUtil-CGze1rYA.js +0 -1176
  101. package/dist/treeGridUtil-CGze1rYA.js.map +0 -1
  102. package/dist/types/components/layouts/index.d.ts +0 -8
  103. package/dist/types/components/layouts/layout1/components/RightSideLayout1.d.ts +0 -6
  104. package/dist/types/components/layouts/shared-components/DemoLayoutFooterContent.d.ts +0 -5
  105. package/dist/types/components/layouts/shared-components/DocumentationButton.d.ts +0 -8
  106. package/dist/types/components/layouts/shared-components/PoweredByLinks.d.ts +0 -5
  107. package/dist/types/components/layouts/shared-components/PurchaseButton.d.ts +0 -8
  108. package/dist/types/components/layouts/shared-components/UserNavbarHeader.d.ts +0 -5
  109. package/dist/useTreeGridExcelExport-B_a3dFaL.js +0 -2160
  110. package/dist/useTreeGridExcelExport-B_a3dFaL.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTreeGridExcelExport-BjyBdpz1.js","sources":["../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/function/debounce.mjs","../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/string/trimEnd.mjs","../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/debounce.mjs","../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/string/trimEnd.mjs","../src/hooks/useCommonCodeList.ts","../src/hooks/useConfirm.tsx","../src/hooks/useCurrentLanguage.ts","../src/hooks/useCurrentLogoSrc.ts","../src/hooks/useDebounce.ts","../src/hooks/useDeepCompareEffect.ts","../src/hooks/useNavigation.ts","../src/hooks/useOwpTranslation.ts","../src/hooks/usePrevious.ts","../src/hooks/useShortcuts.ts","../src/hooks/useThemeMediaQuery.ts","../src/hooks/useTimeout.ts","../src/hooks/useTreeGridExcelExport.ts"],"sourcesContent":["function debounce(func, debounceMs, { signal, edges } = {}) {\n let pendingThis = undefined;\n let pendingArgs = null;\n const leading = edges != null && edges.includes('leading');\n const trailing = edges == null || edges.includes('trailing');\n const invoke = () => {\n if (pendingArgs !== null) {\n func.apply(pendingThis, pendingArgs);\n pendingThis = undefined;\n pendingArgs = null;\n }\n };\n const onTimerEnd = () => {\n if (trailing) {\n invoke();\n }\n cancel();\n };\n let timeoutId = null;\n const schedule = () => {\n if (timeoutId != null) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = null;\n onTimerEnd();\n }, debounceMs);\n };\n const cancelTimer = () => {\n if (timeoutId !== null) {\n clearTimeout(timeoutId);\n timeoutId = null;\n }\n };\n const cancel = () => {\n cancelTimer();\n pendingThis = undefined;\n pendingArgs = null;\n };\n const flush = () => {\n invoke();\n };\n const debounced = function (...args) {\n if (signal?.aborted) {\n return;\n }\n pendingThis = this;\n pendingArgs = args;\n const isFirstCall = timeoutId == null;\n schedule();\n if (leading && isFirstCall) {\n invoke();\n }\n };\n debounced.schedule = schedule;\n debounced.cancel = cancel;\n debounced.flush = flush;\n signal?.addEventListener('abort', cancel, { once: true });\n return debounced;\n}\n\nexport { debounce };\n","function trimEnd(str, chars) {\n if (chars === undefined) {\n return str.trimEnd();\n }\n let endIndex = str.length;\n switch (typeof chars) {\n case 'string': {\n if (chars.length !== 1) {\n throw new Error(`The 'chars' parameter should be a single character string.`);\n }\n while (endIndex > 0 && str[endIndex - 1] === chars) {\n endIndex--;\n }\n break;\n }\n case 'object': {\n while (endIndex > 0 && chars.includes(str[endIndex - 1])) {\n endIndex--;\n }\n }\n }\n return str.substring(0, endIndex);\n}\n\nexport { trimEnd };\n","import { debounce as debounce$1 } from '../../function/debounce.mjs';\n\nfunction debounce(func, debounceMs = 0, options = {}) {\n if (typeof options !== 'object') {\n options = {};\n }\n const { leading = false, trailing = true, maxWait } = options;\n const edges = Array(2);\n if (leading) {\n edges[0] = 'leading';\n }\n if (trailing) {\n edges[1] = 'trailing';\n }\n let result = undefined;\n let pendingAt = null;\n const _debounced = debounce$1(function (...args) {\n result = func.apply(this, args);\n pendingAt = null;\n }, debounceMs, { edges });\n const debounced = function (...args) {\n if (maxWait != null) {\n if (pendingAt === null) {\n pendingAt = Date.now();\n }\n if (Date.now() - pendingAt >= maxWait) {\n result = func.apply(this, args);\n pendingAt = Date.now();\n _debounced.cancel();\n _debounced.schedule();\n return result;\n }\n }\n _debounced.apply(this, args);\n return result;\n };\n const flush = () => {\n _debounced.flush();\n return result;\n };\n debounced.cancel = _debounced.cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport { debounce };\n","import { trimEnd as trimEnd$1 } from '../../string/trimEnd.mjs';\n\nfunction trimEnd(str, chars, guard) {\n if (str == null) {\n return '';\n }\n if (guard != null || chars == null) {\n return str.toString().trimEnd();\n }\n return trimEnd$1(str, chars.toString().split(''));\n}\n\nexport { trimEnd };\n","import { STORAGE_KEYS } from '@/constants/storageKeys';\nimport { CommonCode } from '@/utils/commonCodeUtils';\nimport { useAtomValue, useSetAtom } from 'jotai';\nimport { atomWithStorage } from 'jotai/utils';\n\nconst commonCodeAtom = atomWithStorage<\n | {\n [codeId: string]: Array<CommonCode>;\n }\n | undefined\n>(STORAGE_KEYS.commonCodeList, undefined);\n\n/**\n * 공통코드 목록 조회 훅\n */\nexport const useGetCommonCodeList = () => {\n return useAtomValue(commonCodeAtom);\n};\n\n/**\n * 공통코드 목록 설정 훅\n */\nexport const useSetCommonCodeList = () => {\n return useSetAtom(commonCodeAtom);\n};\n","import {\n Button,\n ButtonProps,\n Dialog,\n DialogActions,\n DialogContent,\n Typography,\n} from '@mui/material';\nimport { DialogProps, useDialogs } from '@toolpad/core/useDialogs';\nimport { ReactNode } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nexport interface ConfirmProps {\n title?: ReactNode | string;\n okText?: string;\n cancelText?: string;\n severity?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';\n useInfo?: boolean;\n okButtonProps?: ButtonProps;\n onClose?: (result: boolean) => Promise<void>;\n}\ninterface ConfirmBaseProps extends ConfirmProps {\n okButtonProps?: ButtonProps;\n cancelButtonProps?: ButtonProps;\n}\n\ninterface ConfirmTranslationConfig {\n primaryKey: string;\n fallbackKey: string;\n defaultValue: string;\n}\n\n/**\n * 확인 대화상자 번역 설정\n */\nconst CONFIRM_TRANSLATIONS = {\n infoTitle: {\n primaryKey: 'message.would_you_like_to_proceed',\n fallbackKey: 'Message.처리하시겠습니까',\n defaultValue: '처리하시겠습니까?',\n },\n infoOk: {\n primaryKey: 'button.ok',\n fallbackKey: 'Button.확인',\n defaultValue: '확인',\n },\n saveTitle: {\n primaryKey: 'message.do_you_want_to_save',\n fallbackKey: 'Message.저장하시겠습니까?',\n defaultValue: '저장하시겠습니까?',\n },\n saveOk: {\n primaryKey: 'button.save',\n fallbackKey: 'Button.저장',\n defaultValue: '저장',\n },\n updateTitle: {\n primaryKey: 'message.would_you_like_to_edit',\n fallbackKey: 'Message.수정하시겠습니까?',\n defaultValue: '수정하시겠습니까?',\n },\n updateOk: {\n primaryKey: 'button.edit',\n fallbackKey: 'Button.수정',\n defaultValue: '수정',\n },\n deleteTitle: {\n primaryKey: 'message.are_you_sure_you_want_to_delete',\n fallbackKey: 'Message.삭제하시겠습니까?',\n defaultValue: '삭제하시겠습니까?',\n },\n deleteOk: {\n primaryKey: 'button.delete',\n fallbackKey: 'Button.삭제',\n defaultValue: '삭제',\n },\n cancel: {\n primaryKey: 'button.cancel',\n fallbackKey: 'Button.취소',\n defaultValue: '취소',\n },\n} as const;\n\n/**\n * 확인 버튼 속성 병합\n * @param defaultColor 기본 버튼 색상\n * @param okButtonProps 사용자 버튼 속성\n */\nconst mergeOkButtonProps = (\n defaultColor: ButtonProps['color'] | undefined,\n okButtonProps?: ButtonProps,\n) => {\n if (!defaultColor) {\n return okButtonProps;\n }\n\n return {\n color: defaultColor,\n ...okButtonProps,\n } as ButtonProps;\n};\n/**\n * 확인 대화상자 훅\n */\nexport const useConfirm = () => {\n const dialogs = useDialogs();\n const { t, i18n } = useTranslation('owp');\n\n const translateConfirmText = ({\n primaryKey,\n fallbackKey,\n defaultValue,\n }: ConfirmTranslationConfig) => {\n return t(i18n.exists(primaryKey) ? primaryKey : fallbackKey, { defaultValue });\n };\n\n const confirmBase = (props: ConfirmBaseProps) => dialogs.open(ConfirmDialog, props);\n\n return {\n confirm: confirmBase,\n confirmInfo: async ({ title, okText, severity }: ConfirmProps | undefined = {}) => {\n return confirmBase({\n title:\n title ?? translateConfirmText(CONFIRM_TRANSLATIONS.infoTitle),\n okText: okText ?? translateConfirmText(CONFIRM_TRANSLATIONS.infoOk),\n severity: severity ?? 'primary',\n useInfo: true,\n });\n },\n confirmSave: async ({\n title,\n okText,\n cancelText,\n okButtonProps,\n }: ConfirmProps | undefined = {}) => {\n return confirmBase({\n title: title ?? translateConfirmText(CONFIRM_TRANSLATIONS.saveTitle),\n okText: okText ?? translateConfirmText(CONFIRM_TRANSLATIONS.saveOk),\n cancelText,\n okButtonProps: mergeOkButtonProps('secondary', okButtonProps),\n });\n },\n confirmUpdate: async ({\n title,\n okText,\n cancelText,\n okButtonProps,\n }: ConfirmProps | undefined = {}) => {\n return confirmBase({\n title: title ?? translateConfirmText(CONFIRM_TRANSLATIONS.updateTitle),\n okText: okText ?? translateConfirmText(CONFIRM_TRANSLATIONS.updateOk),\n cancelText,\n okButtonProps: mergeOkButtonProps('secondary', okButtonProps),\n });\n },\n confirmDelete: async ({\n title,\n okText,\n cancelText,\n okButtonProps,\n }: ConfirmProps | undefined = {}) => {\n return confirmBase({\n title: title ?? translateConfirmText(CONFIRM_TRANSLATIONS.deleteTitle),\n okText: okText ?? translateConfirmText(CONFIRM_TRANSLATIONS.deleteOk),\n cancelText,\n okButtonProps: mergeOkButtonProps('error', okButtonProps),\n });\n },\n };\n};\n\nconst ConfirmDialog = ({ payload, open, onClose }: DialogProps<ConfirmBaseProps, boolean>) => {\n const { title, okButtonProps, cancelButtonProps, severity, useInfo } = payload;\n\n const { t, i18n } = useTranslation('owp');\n\n const okText =\n payload?.okText ??\n t(i18n.exists(CONFIRM_TRANSLATIONS.infoOk.primaryKey) ? 'button.ok' : 'Button.확인', {\n defaultValue: CONFIRM_TRANSLATIONS.infoOk.defaultValue,\n });\n const cancelText =\n payload?.cancelText ??\n t(\n i18n.exists(CONFIRM_TRANSLATIONS.cancel.primaryKey)\n ? CONFIRM_TRANSLATIONS.cancel.primaryKey\n : CONFIRM_TRANSLATIONS.cancel.fallbackKey,\n { defaultValue: CONFIRM_TRANSLATIONS.cancel.defaultValue },\n );\n\n return (\n <Dialog fullWidth maxWidth=\"xs\" open={open} onClose={() => onClose(false)}>\n <DialogContent>\n <Typography className=\"mb-12\" variant=\"h6\">\n {title}\n </Typography>\n </DialogContent>\n <DialogActions>\n {!useInfo && (\n <Button {...cancelButtonProps} variant=\"outlined\" onClick={() => onClose(false)}>\n {cancelText}\n </Button>\n )}\n <Button\n color={severity ? severity : 'primary'}\n variant=\"contained\"\n {...okButtonProps}\n onClick={() => onClose(true)}\n >\n {okText}\n </Button>\n </DialogActions>\n </Dialog>\n );\n};\n","export { FALLBACK_LANGUAGE_LIST } from '@/constants/language';\nimport { STORAGE_KEYS } from '@/constants/storageKeys';\nimport { useAtomValue, useSetAtom } from 'jotai';\nimport { atomWithStorage } from 'jotai/utils';\nimport { useTranslation } from 'react-i18next';\n\nexport type CurrentLanguage = { id: 'en' | 'kr' | 'lc'; title: string; flag: string };\n\nconst currentLanguageAtom = atomWithStorage<CurrentLanguage>(STORAGE_KEYS.currentLanguage, {\n id: 'kr',\n title: '한국어',\n flag: 'KR',\n});\n\n/**\n * 언어 목록 조회 훅\n */\nexport const useGetLanguageList = () => {\n const { t } = useTranslation('owp');\n return [\n { id: 'kr', title: t('Common.한국어', { defaultValue: '한국어' }), flag: 'KR' },\n {\n id: 'en',\n title: t('Common.English', { defaultValue: 'English' }),\n flag: 'EN',\n },\n { id: 'lc', title: t('Common.Etc', { defaultValue: 'Etc' }), flag: 'LC' },\n ];\n};\n\n/**\n * 현재 언어 조회 훅\n */\nexport const useGetCurrentLanguage = () => {\n return useAtomValue(currentLanguageAtom);\n};\n\n/**\n * 현재 언어 설정 훅\n */\nexport const useSetCurrentLanguage = () => {\n return useSetAtom(currentLanguageAtom);\n};\n","import { STORAGE_KEYS } from '@/constants/storageKeys';\nimport { useAtomValue, useSetAtom } from 'jotai';\nimport { atomWithStorage } from 'jotai/utils';\n\nconst currentLogoSrcAtom = atomWithStorage<string>(\n STORAGE_KEYS.currentLogoSrc,\n 'assets/images/logo/daedong-door-logo-b.png',\n);\n\n/**\n * 현재 로고 경로 조회 훅\n */\nexport const useGetCurrentLogoSrc = () => {\n return useAtomValue(currentLogoSrcAtom);\n};\n\n/**\n * 현재 로고 경로 설정 훅\n */\nexport const useSetCurrentLogoSrc = () => {\n return useSetAtom(currentLogoSrcAtom);\n};\n","import { debounce } from 'es-toolkit/compat';\nimport { useCallback, useEffect, useRef } from 'react';\n\n/**\n * Debounce hook.\n * @param {T} callback\n * @param {number} delay\n * @returns {T}\n */\nexport function useDebounce<T extends (...args: never[]) => void>(callback: T, delay: number): T {\n const callbackRef = useRef<T>(callback);\n\n // Update the current callback each time it changes.\n useEffect(() => {\n callbackRef.current = callback;\n }, [callback]);\n\n const debouncedFn = useCallback(\n debounce((...args: never[]) => {\n callbackRef.current(...args);\n }, delay),\n [delay],\n );\n\n useEffect(() => {\n // Cleanup function to cancel any pending debounced calls\n return () => {\n debouncedFn.cancel();\n };\n }, [debouncedFn]);\n\n return debouncedFn as unknown as T;\n}\n","import { isEqual as deepEqual } from 'es-toolkit/compat';\nimport React from 'react';\n\ntype UseEffectParamsType = Parameters<typeof React.useEffect>;\ntype EffectCallbackType = UseEffectParamsType[0];\ntype DependencyListType = UseEffectParamsType[1];\n\n// yes, I know it's void, but I like what this communicates about\n// the intent of these functions: It's just like useEffect\ntype UseEffectReturn = ReturnType<typeof React.useEffect>;\n\n/**\n * The checkDeps function checks if the dependency list is valid for use with useDeepCompareEffect.\n * It throws an error if the dependency list is empty or contains only primitive values.\n */\nfunction checkDeps(deps: DependencyListType) {\n if (!deps || !deps.length) {\n throw new Error(\n 'useDeepCompareEffect should not be used with no dependencies. Use React.useEffect instead.',\n );\n }\n\n if (deps.every(isPrimitive)) {\n throw new Error(\n 'useDeepCompareEffect should not be used with dependencies that are all primitive values. Use React.useEffect instead.',\n );\n }\n}\n\n/**\n * The isPrimitive function checks if a value is a primitive type.\n * It returns true if the value is null, undefined, a string, a boolean, or a number.\n */\nfunction isPrimitive(val: unknown) {\n return val == null || /^[sbn]/.test(typeof val);\n}\n\n/**\n * The isPrimitive function checks if a value is a primitive type.\n * It returns true if the value is null, undefined, a string, a boolean, or a number.\n */\nexport function useDeepCompareMemoize<T>(value: T) {\n const ref = React.useRef<T>(value);\n const signalRef = React.useRef<number>(0);\n\n if (!deepEqual(value, ref.current)) {\n ref.current = value;\n signalRef.current += 1;\n }\n\n return React.useMemo(() => ref.current, [signalRef.current]);\n}\n\n/**\n * The isPrimitive function checks if a value is a primitive type.\n * It returns true if the value is null, undefined, a string, a boolean, or a number.\n */\nexport function useDeepCompareEffect(\n callback: EffectCallbackType,\n dependencies: DependencyListType,\n): UseEffectReturn {\n if (process.env.NODE_ENV !== 'production') {\n checkDeps(dependencies);\n }\n\n return React.useEffect(callback, useDeepCompareMemoize(dependencies));\n}\n\n/**\n * deep compare effect 훅\n * @param callback effect 콜백\n * @param dependencies 의존성 목록\n */\nexport function useDeepCompareEffectNoCheck(\n callback: EffectCallbackType,\n dependencies: DependencyListType,\n): UseEffectReturn {\n return React.useEffect(callback, useDeepCompareMemoize(dependencies));\n}\n","import { STORAGE_KEYS } from '@/constants/storageKeys';\nimport { useAtomValue, useSetAtom } from 'jotai';\nimport { atomWithStorage } from 'jotai/utils';\n\ntype Navigation = {\n id: string;\n title: string;\n translate: string;\n type: string;\n icon: string;\n};\nconst navigationAtom = atomWithStorage<\n Array<Navigation & { children?: Array<Navigation> }> | undefined\n>(STORAGE_KEYS.navigationList, undefined);\n\n/**\n * 내비게이션 목록 조회 훅\n */\nexport const useGetNavigationList = () => {\n return useAtomValue(navigationAtom);\n};\n\n/**\n * 내비게이션 목록 설정 훅\n */\nexport const useSetNavigationList = () => {\n return useSetAtom(navigationAtom);\n};\n","import { isPlainObject, trimEnd } from 'es-toolkit/compat';\nimport { useTranslation } from 'react-i18next';\n\n/**\n * 번역 키 기본 라벨 추출\n * @param key 번역 키\n */\nconst getDefaultValueFromKey = (key: string) => {\n if (!key.includes('.')) {\n return undefined;\n }\n\n const normalizedKey = trimEnd(key, '.');\n const lastSeparatorIndex = normalizedKey.lastIndexOf('.');\n\n if (lastSeparatorIndex < 0) {\n return key;\n }\n\n return key.slice(lastSeparatorIndex + 1);\n};\n\n/**\n * OWP 번역 훅\n */\nexport const useOwpTranslation = () => {\n const { t: i18nT, ...restProps } = useTranslation('owp');\n\n const t: typeof i18nT = ((...args: Parameters<typeof i18nT>) => {\n const [key, options] = args;\n const optionsObject = isPlainObject(options) ? (options as Record<string, unknown>) : undefined;\n const isOptionsObject = Boolean(optionsObject);\n const hasDefaultValue =\n isOptionsObject && Object.prototype.hasOwnProperty.call(optionsObject, 'defaultValue');\n const canInjectDefaultValue = options == null || isOptionsObject;\n\n if (canInjectDefaultValue && !hasDefaultValue && typeof key === 'string') {\n const defaultValue = getDefaultValueFromKey(key);\n\n if (defaultValue) {\n const nextOptions = isOptionsObject ? { ...optionsObject, defaultValue } : { defaultValue };\n\n return i18nT(...([key, nextOptions, ...args.slice(2)] as Parameters<typeof i18nT>));\n }\n }\n\n return i18nT(...args);\n }) as typeof i18nT;\n\n return { t, ...restProps };\n};\n","import { useEffect, useRef } from 'react';\n\n/**\n * The usePrevious function is a custom hook that returns the previous value of a variable.\n * It takes in a value as a parameter and returns the previous value.\n */\nexport function usePrevious<T>(value: T): T | undefined {\n const ref = useRef<T | undefined>();\n\n // Store current value in ref\n useEffect(() => {\n ref.current = value;\n }, [value]);\n\n // Return previous value (happens before update in useEffect above)\n return ref.current;\n}\n","import { STORAGE_KEYS } from '@/constants/storageKeys';\nimport { useAtomValue, useSetAtom } from 'jotai';\nimport { atomWithStorage } from 'jotai/utils';\n\nconst currentShortcutsAtom = atomWithStorage<Array<string> | []>(STORAGE_KEYS.currentShortcuts, []);\n\n/**\n * 바로가기 목록 조회 훅\n */\nexport const useGetShortcuts = () => {\n return useAtomValue(currentShortcutsAtom);\n};\n\n/**\n * 바로가기 목록 설정 훅\n */\nexport const useSetShortcuts = () => {\n return useSetAtom(currentShortcutsAtom);\n};\n","import { useTheme } from '@mui/material/styles';\nimport { Theme } from '@mui/system/createTheme/createTheme';\nimport { useEffect, useState } from 'react';\n\n/**\n * The useThemeMediaQuery function is a custom hook that returns a boolean indicating whether the current screen matches the specified media query.\n * It takes in a themeCallbackFunc as a parameter, which is a function that returns a string representing the media query to match.\n * It returns a boolean indicating whether the current screen matches the specified media query.\n */\nexport function useThemeMediaQuery(themeCallbackFunc: (theme: Theme) => string) {\n const theme = useTheme();\n\n const query = themeCallbackFunc(theme).replace('@media ', '');\n\n /**\n * The getMatches function checks if the current screen matches the specified media query.\n * It takes in a media query string as a parameter and returns a boolean indicating whether the screen matches the query.\n *\n */\n function getMatches(q: string) {\n return window.matchMedia(q).matches;\n }\n\n const [matches, setMatches] = useState(getMatches(query));\n\n useEffect(\n () => {\n const mediaQuery = window.matchMedia(query);\n\n // Update the state with the current value\n setMatches(getMatches(query));\n\n // Create an event listener\n const handler = (event: MediaQueryListEvent) => setMatches(event.matches);\n\n // Attach the event listener to know when the matches value changes\n mediaQuery.addEventListener('change', handler);\n\n // Remove the event listener on cleanup\n return () => mediaQuery.removeEventListener('change', handler);\n },\n [query], // Empty array ensures effect is only run on mount and unmount\n );\n\n return matches;\n}\n","import { useEffect, useRef } from 'react';\n\n/**\n * The useTimeout function is a custom hook that sets a timeout for a given callback function.\n * It takes in a callback function and a delay time in milliseconds as parameters.\n * It returns nothing.\n */\nexport function useTimeout(callback: () => void, delay: number) {\n const callbackRef = useRef(callback);\n\n useEffect(() => {\n callbackRef.current = callback;\n }, [callback]);\n\n useEffect(() => {\n let timer: NodeJS.Timeout | undefined;\n\n if (delay !== null && callback && typeof callback === 'function') {\n timer = setTimeout(callbackRef.current, delay);\n }\n\n return () => {\n if (timer) {\n clearTimeout(timer);\n }\n };\n }, [callback, delay]);\n}\n","import {\n ExportTreeGridExcelOptions,\n exportTreeGridExcel,\n} from '@/utils/treeGridExportExcelUtil';\nimport { getTreeGridById } from '@/utils/treeGridUtil';\nimport { useRef, useState } from 'react';\nimport { useOwpTranslation } from './useOwpTranslation';\n\nexport type UseTreeGridExcelExportOptions = Omit<ExportTreeGridExcelOptions, 't'> | string;\n\n/**\n * TreeGrid 엑셀 내보내기 훅\n * @param gridId TreeGrid 인스턴스 ID\n */\nexport const useTreeGridExcelExport = (gridId: string) => {\n const { t } = useOwpTranslation();\n const exportPendingRef = useRef(false);\n const [isExporting, setIsExporting] = useState(false);\n\n /**\n * TreeGrid 엑셀 내보내기 실행기\n * @param options 다운로드 옵션\n */\n const exportByTreeGrid = async (options?: UseTreeGridExcelExportOptions) => {\n if (exportPendingRef.current) {\n return;\n }\n\n exportPendingRef.current = true;\n setIsExporting(true);\n\n const grid = getTreeGridById(gridId);\n\n try {\n if (typeof options === 'string') {\n return await exportTreeGridExcel(grid, { exportName: options, t });\n }\n\n return await exportTreeGridExcel(grid, {\n ...options,\n t,\n });\n } finally {\n exportPendingRef.current = false;\n setIsExporting(false);\n }\n };\n\n return { exportByTreeGrid, isExporting };\n};\n"],"names":["debounce","func","debounceMs","signal","edges","pendingThis","pendingArgs","leading","trailing","invoke","__name","onTimerEnd","cancel","timeoutId","schedule","cancelTimer","flush","debounced","args","isFirstCall","trimEnd","str","chars","endIndex","options","maxWait","result","pendingAt","_debounced","debounce$1","guard","trimEnd$1","commonCodeAtom","atomWithStorage","STORAGE_KEYS","useGetCommonCodeList","useAtomValue","useSetCommonCodeList","useSetAtom","CONFIRM_TRANSLATIONS","mergeOkButtonProps","defaultColor","okButtonProps","useConfirm","dialogs","useDialogs","t","i18n","useTranslation","translateConfirmText","primaryKey","fallbackKey","defaultValue","confirmBase","props","ConfirmDialog","title","okText","severity","cancelText","payload","open","onClose","cancelButtonProps","useInfo","jsxs","Dialog","jsx","DialogContent","Typography","DialogActions","Button","currentLanguageAtom","useGetLanguageList","useGetCurrentLanguage","useSetCurrentLanguage","currentLogoSrcAtom","useGetCurrentLogoSrc","useSetCurrentLogoSrc","useDebounce","callback","delay","callbackRef","useRef","useEffect","debouncedFn","useCallback","checkDeps","deps","isPrimitive","val","useDeepCompareMemoize","value","ref","React","signalRef","deepEqual","useDeepCompareEffect","dependencies","useDeepCompareEffectNoCheck","navigationAtom","useGetNavigationList","useSetNavigationList","getDefaultValueFromKey","key","lastSeparatorIndex","useOwpTranslation","i18nT","restProps","optionsObject","isPlainObject","isOptionsObject","hasDefaultValue","nextOptions","usePrevious","currentShortcutsAtom","useGetShortcuts","useSetShortcuts","useThemeMediaQuery","themeCallbackFunc","theme","useTheme","query","getMatches","q","matches","setMatches","useState","mediaQuery","handler","event","useTimeout","timer","useTreeGridExcelExport","gridId","exportPendingRef","isExporting","setIsExporting","grid","getTreeGridById","exportTreeGridExcel"],"mappings":";;;;;;;;;;;;;AAAA,SAASA,EAASC,GAAMC,GAAY,EAAE,QAAAC,GAAQ,OAAAC,EAAK,IAAK,IAAI;AACxD,MAAIC,GACAC,IAAc;AAClB,QAAMC,IAAUH,KAAS,QAAQA,EAAM,SAAS,SAAS,GACnDI,IAAWJ,KAAS,QAAQA,EAAM,SAAS,UAAU,GACrDK,IAAS,gBAAAC,EAAA,MAAM;AACjB,IAAIJ,MAAgB,SAChBL,EAAK,MAAMI,GAAaC,CAAW,GACnCD,IAAc,QACdC,IAAc;AAAA,EAEtB,GANe,WAOTK,IAAa,gBAAAD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,EACF,GAAG,CAACpD,GAAUC,CAAK,CAAC;AACtB;AApBgBvE,EAAAyH,IAAA;ACOT,MAAME,KAAyB,gBAAA3H,EAAA,CAAC4H,MAAmB;AACxD,QAAM,EAAE,GAAAxF,EAAA,IAAM4D,GAAA,GACR6B,IAAmBpD,EAAO,EAAK,GAC/B,CAACqD,GAAaC,CAAc,IAAIV,EAAS,EAAK;AA+BpD,SAAO,EAAE,kBAzBgB,gBAAArH,EAAA,OAAOc,MAA4C;AAC1E,QAAI+G,EAAiB;AACnB;AAGF,IAAAA,EAAiB,UAAU,IAC3BE,EAAe,EAAI;AAEnB,UAAMC,IAAOC,EAAgBL,CAAM;AAEnC,QAAI;AACF,aAAI,OAAO9G,KAAY,WACd,MAAMoH,EAAoBF,GAAM,EAAE,YAAYlH,GAAS,GAAAsB,GAAG,IAG5D,MAAM8F,EAAoBF,GAAM;AAAA,QACrC,GAAGlH;AAAA,QACH,GAAAsB;AAAA,MAAA,CACD;AAAA,IACH,UAAA;AACE,MAAAyF,EAAiB,UAAU,IAC3BE,EAAe,EAAK;AAAA,IACtB;AAAA,EACF,GAvByB,qBAyBE,aAAAD,EAAA;AAC7B,GAnCsC;","x_google_ignoreList":[0,1,2,3]}
package/dist/utils.js CHANGED
@@ -1,14 +1,16 @@
1
1
  var _i = Object.defineProperty;
2
2
  var a = (e, t) => _i(e, "name", { value: t, configurable: !0 });
3
- import { e as fr, h as lr, b as vn, d as gi, t as mi, c as he } from "./OwpUtils-DgBOzRu6.js";
4
- import { O as Jc } from "./OwpUtils-DgBOzRu6.js";
5
- import { i as vi, h as ke, d as Oe } from "./treeGridUtil-CGze1rYA.js";
6
- import { N as th, C as eh, R as rh, j as nh, z as ih, P as ah, x as oh, n as sh, O as uh, L as fh, K as lh, y as ch, m as hh, Q as dh, w as ph, A as _h, D as gh, E as mh, F as vh, M as yh, B as bh, V as wh, T as Eh, W as Oh, U as kh, I as Sh, J as xh, G as Ah, H as Ch, l as Ih, X as Th, S as Rh, k as Bh, s as Ph, r as Dh } from "./treeGridUtil-CGze1rYA.js";
7
- import { S as qr } from "./treeGrid-4QKOKXZw.js";
8
- import { D as Mh, e as Lh, b as zh, d as Nh, c as Fh, a as Uh, g as jh, h as Gh, f as Hh, T as Vh } from "./treeGrid-4QKOKXZw.js";
3
+ import { d as fr, e as lr, b as vn, c as he } from "./OwpUtils-DxEd-Pjo.js";
4
+ import { O as th } from "./OwpUtils-DxEd-Pjo.js";
5
+ import { d as gi } from "./isTypedArray-DPyC49cI.js";
6
+ import { i as ke, t as Oe } from "./treeGridUtil-DaqTz5v3.js";
7
+ import { A as rh, k as nh, E as ih, c as ah, h as oh, C as sh, e as uh, m as fh, B as lh, y as ch, x as hh, a as dh, b as ph, D as _h, g as gh, j as mh, l as vh, n as yh, p as bh, z as wh, r as Eh, I as Oh, G as kh, J as Sh, H as xh, v as Ah, w as Ch, q as Ih, u as Th, d as Rh, K as Bh, F as Ph, f as Dh, s as $h, o as Mh } from "./treeGridUtil-DaqTz5v3.js";
8
+ import { S as qr } from "./storageKeys-DRzte9LZ.js";
9
+ import { i as mi, t as vi } from "./toUpper-BhzrnIm3.js";
9
10
  import cr from "dayjs";
10
11
  import { t as yi } from "i18next";
11
12
  import { enqueueSnackbar as bi } from "notistack";
13
+ import { D as zh, e as Nh, b as Fh, d as Uh, c as jh, a as Gh, g as Hh, h as Vh, f as Zh, T as Wh } from "./treeGrid-CjB04cBq.js";
12
14
  function wi(e, t) {
13
15
  const r = {};
14
16
  for (let n = 0; n < e.length; n++) {
@@ -18,13 +20,6 @@ function wi(e, t) {
18
20
  return r;
19
21
  }
20
22
  a(wi, "groupBy$1");
21
- function Ei(e, t) {
22
- if (e == null)
23
- return {};
24
- const r = vi(e) ? Array.from(e) : Object.values(e), n = fr(t ?? lr);
25
- return wi(r, n);
26
- }
27
- a(Ei, "groupBy");
28
23
  function yn(e, t) {
29
24
  const r = {}, n = Object.keys(e);
30
25
  for (let i = 0; i < n.length; i++) {
@@ -34,11 +29,7 @@ function yn(e, t) {
34
29
  return r;
35
30
  }
36
31
  a(yn, "mapKeys$1");
37
- function Oi(e, t = lr) {
38
- return e == null ? {} : yn(e, fr(t));
39
- }
40
- a(Oi, "mapKeys");
41
- function ki(e, t) {
32
+ function Ei(e, t) {
42
33
  const r = {}, n = Object.keys(e);
43
34
  for (let i = 0; i < n.length; i++) {
44
35
  const o = n[i], u = e[o];
@@ -46,12 +37,8 @@ function ki(e, t) {
46
37
  }
47
38
  return r;
48
39
  }
49
- a(ki, "mapValues$1");
50
- function Si(e, t = lr) {
51
- return e == null ? {} : ki(e, fr(t));
52
- }
53
- a(Si, "mapValues");
54
- function xi(e, t) {
40
+ a(Ei, "mapValues$1");
41
+ function Oi(e, t) {
55
42
  const r = {}, n = Object.keys(e);
56
43
  for (let i = 0; i < n.length; i++) {
57
44
  const o = n[i], u = e[o];
@@ -59,7 +46,22 @@ function xi(e, t) {
59
46
  }
60
47
  return r;
61
48
  }
62
- a(xi, "pickBy");
49
+ a(Oi, "pickBy");
50
+ function ki(e, t) {
51
+ if (e == null)
52
+ return {};
53
+ const r = gi(e) ? Array.from(e) : Object.values(e), n = fr(t ?? lr);
54
+ return wi(r, n);
55
+ }
56
+ a(ki, "groupBy");
57
+ function Si(e, t = lr) {
58
+ return e == null ? {} : yn(e, fr(t));
59
+ }
60
+ a(Si, "mapKeys");
61
+ function xi(e, t = lr) {
62
+ return e == null ? {} : Ei(e, fr(t));
63
+ }
64
+ a(xi, "mapValues");
63
65
  var hr = {}, Ce = {}, ht = {};
64
66
  Object.defineProperty(ht, "__esModule", {
65
67
  value: !0
@@ -2840,7 +2842,7 @@ const Il = /* @__PURE__ */ vn(Cl), Tl = "image/png", Rl = "CODE128", Bl = /* @__
2840
2842
  }
2841
2843
  t(n);
2842
2844
  }, Tl);
2843
- }), "convertCanvasToBlob"), zc = /* @__PURE__ */ a(async (e, t = Rl) => {
2845
+ }), "convertCanvasToBlob"), Fc = /* @__PURE__ */ a(async (e, t = Rl) => {
2844
2846
  if (typeof document > "u" || typeof URL > "u")
2845
2847
  throw new Error("Barcode generation is only available in browser environments.");
2846
2848
  const r = document.createElement("canvas");
@@ -2866,7 +2868,7 @@ const Il = /* @__PURE__ */ vn(Cl), Tl = "image/png", Rl = "CODE128", Bl = /* @__
2866
2868
  }, "appendTreeGridEnumAttributes"), $l = /* @__PURE__ */ a((e, t) => !ke(e) || !t ? {} : e.reduce(
2867
2869
  (r, n) => Dl(r, t, n),
2868
2870
  Pl(t)
2869
- ), "transformGridEnumByCommonCodeList"), Nc = /* @__PURE__ */ a((e) => Ei(e ?? [], (t) => t == null ? void 0 : t["IPX_COMMONCODE.GROUPID"]), "transformCommonCodeBasedOnGroupId"), Fc = $l, pn = /* @__PURE__ */ a((e, t) => {
2871
+ ), "transformGridEnumByCommonCodeList"), Uc = /* @__PURE__ */ a((e) => ki(e ?? [], (t) => t == null ? void 0 : t["IPX_COMMONCODE.GROUPID"]), "transformCommonCodeBasedOnGroupId"), jc = $l, pn = /* @__PURE__ */ a((e, t) => {
2870
2872
  if (!e)
2871
2873
  return t;
2872
2874
  try {
@@ -2916,26 +2918,26 @@ const Il = /* @__PURE__ */ vn(Cl), Tl = "image/png", Rl = "CODE128", Bl = /* @__
2916
2918
  if (ke(e))
2917
2919
  return e.map((n) => typeof n == "object" && n !== null ? Se(n, t, r) : Oe(n));
2918
2920
  if (typeof e == "object" && e !== null) {
2919
- const n = Si(
2921
+ const n = xi(
2920
2922
  e,
2921
2923
  (o) => Se(o, t, r)
2922
2924
  ), i = r != null && r.includeLogPayload ? Ll() : void 0;
2923
2925
  return t ? {
2924
2926
  ...i,
2925
- ...Oi(
2927
+ ...Si(
2926
2928
  n,
2927
- (o, u) => !(r != null && r.forceRebuildAll) && mi(String(u)) === "STATUS" ? String(u) : `${t}.${String(u)}`
2929
+ (o, u) => !(r != null && r.forceRebuildAll) && vi(String(u)) === "STATUS" ? String(u) : `${t}.${String(u)}`
2928
2930
  )
2929
2931
  } : {
2930
2932
  ...i,
2931
2933
  ...n
2932
2934
  };
2933
2935
  }
2934
- return r != null && r.forceRebuildNull ? gi(e) ? e : Oe(e) : Oe(e);
2935
- }, "rebuildValue"), Uc = /* @__PURE__ */ a((e, t, r) => Se(e, t, r), "createJsonBody"), jc = /* @__PURE__ */ a((e, t, r) => {
2936
+ return r != null && r.forceRebuildNull ? mi(e) ? e : Oe(e) : Oe(e);
2937
+ }, "rebuildValue"), Gc = /* @__PURE__ */ a((e, t, r) => Se(e, t, r), "createJsonBody"), Hc = /* @__PURE__ */ a((e, t, r) => {
2936
2938
  const n = Se(e, t, r);
2937
2939
  return JSON.stringify(n);
2938
- }, "createJsonString"), Gc = /* @__PURE__ */ a((e, t = "YYYY-MM-DD") => e == null || e === "" ? "" : cr(e).format(t), "formatDateToYmd"), Hc = /* @__PURE__ */ a((e = "YYYY-MM-DD") => cr().format(e), "getTodayYmd"), ve = /* @__PURE__ */ a((e, t = "") => e == null || e === "" ? t : e, "getDisplayValue"), Vc = /* @__PURE__ */ a((e, t) => {
2940
+ }, "createJsonString"), Vc = /* @__PURE__ */ a((e, t = "YYYY-MM-DD") => e == null || e === "" ? "" : cr(e).format(t), "formatDateToYmd"), Zc = /* @__PURE__ */ a((e = "YYYY-MM-DD") => cr().format(e), "getTodayYmd"), ve = /* @__PURE__ */ a((e, t = "") => e == null || e === "" ? t : e, "getDisplayValue"), Wc = /* @__PURE__ */ a((e, t) => {
2939
2941
  if (e === "" || e == null)
2940
2942
  return ve();
2941
2943
  const r = Number(e);
@@ -2953,13 +2955,13 @@ const Il = /* @__PURE__ */ vn(Cl), Tl = "image/png", Rl = "CODE128", Bl = /* @__
2953
2955
  maximumFractionDigits: i
2954
2956
  })
2955
2957
  );
2956
- }, "formatNumber"), Zc = /* @__PURE__ */ a((e, t = {}) => ({
2958
+ }, "formatNumber"), Xc = /* @__PURE__ */ a((e, t = {}) => ({
2957
2959
  ...e,
2958
- ...xi(
2960
+ ...Oi(
2959
2961
  yn(t, (r, n) => n.split(".").pop() ?? n),
2960
2962
  (r, n) => n in e
2961
2963
  )
2962
- }), "getFormDefaultValues"), Wc = /* @__PURE__ */ a((e) => !e.nativeEvent.isComposing && e.key === "Enter", "isEnterKeyEvent");
2964
+ }), "getFormDefaultValues"), Yc = /* @__PURE__ */ a((e) => !e.nativeEvent.isComposing && e.key === "Enter", "isEnterKeyEvent");
2963
2965
  var ue = {}, zl = /* @__PURE__ */ a(function() {
2964
2966
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
2965
2967
  }, "canPromise$1"), Xn = {}, gt = {};
@@ -4440,7 +4442,7 @@ ue.toDataURL = Xr.bind(null, fi.renderToDataURL);
4440
4442
  ue.toString = Xr.bind(null, function(e, t, r) {
4441
4443
  return kc.render(e, r);
4442
4444
  });
4443
- const Xc = /* @__PURE__ */ a(async (e, t = 256) => await ue.toDataURL(e, {
4445
+ const Kc = /* @__PURE__ */ a(async (e, t = 256) => await ue.toDataURL(e, {
4444
4446
  width: t,
4445
4447
  margin: 2,
4446
4448
  errorCorrectionLevel: "H"
@@ -6847,7 +6849,7 @@ const xc = /* @__PURE__ */ vn(Sc), Ee = {
6847
6849
  new Blob([n], { type: r.type })
6848
6850
  );
6849
6851
  });
6850
- }, "appendZipFiles"), Yc = /* @__PURE__ */ a(async (e, t) => {
6852
+ }, "appendZipFiles"), qc = /* @__PURE__ */ a(async (e, t) => {
6851
6853
  const r = Ac(t);
6852
6854
  if (!r.type) {
6853
6855
  er("type 이 선언되지 않았습니다");
@@ -6870,66 +6872,66 @@ const xc = /* @__PURE__ */ vn(Sc), Ee = {
6870
6872
  ), u.click(), URL.revokeObjectURL(o);
6871
6873
  }, "saveAsZipFile");
6872
6874
  export {
6873
- Mh as DEFAULT_CELL_ALIGNMENT,
6874
- Lh as DEFAULT_HEADER_FILL,
6875
- zh as DEFAULT_HEADER_FONT,
6876
- Nh as DEFAULT_THIN_BORDER,
6877
- Fh as DEFAULT_VALUE_FONT,
6878
- Uh as DEFAULT_WRAP_CELL_ALIGNMENT,
6879
- Jc as OwpUtils,
6880
- jh as TREEGRID_CELL_HIGHLIGHT_CLASS,
6881
- Gh as TREEGRID_CELL_HIGHLIGHT_COLOR,
6882
- Hh as TREEGRID_INPUT_CELL_COLOR,
6883
- Vh as TREEGRID_WARNING_CELL_COLOR,
6884
- th as addRowById,
6885
- eh as addTreeGridRowById,
6886
- Fc as buildTreeGridEnumAttributesByCommonCodeList,
6887
- rh as changeVisibleCellByGridId,
6888
- Uc as createJsonBody,
6889
- jc as createJsonString,
6890
- nh as exportExcelByBuffer,
6891
- ih as exportExcelByGrid,
6892
- ah as exportExcelById,
6893
- oh as exportTreeGridExcel,
6894
- sh as exportTreeGridToExcelById,
6895
- Gc as formatDateToYmd,
6896
- Vc as formatNumber,
6897
- zc as generateBarcodeUrl,
6898
- Xc as generateQrCodeUrl,
6899
- uh as getChangedDataRowsById,
6900
- fh as getDataRowsById,
6875
+ zh as DEFAULT_CELL_ALIGNMENT,
6876
+ Nh as DEFAULT_HEADER_FILL,
6877
+ Fh as DEFAULT_HEADER_FONT,
6878
+ Uh as DEFAULT_THIN_BORDER,
6879
+ jh as DEFAULT_VALUE_FONT,
6880
+ Gh as DEFAULT_WRAP_CELL_ALIGNMENT,
6881
+ th as OwpUtils,
6882
+ Hh as TREEGRID_CELL_HIGHLIGHT_CLASS,
6883
+ Vh as TREEGRID_CELL_HIGHLIGHT_COLOR,
6884
+ Zh as TREEGRID_INPUT_CELL_COLOR,
6885
+ Wh as TREEGRID_WARNING_CELL_COLOR,
6886
+ rh as addRowById,
6887
+ nh as addTreeGridRowById,
6888
+ jc as buildTreeGridEnumAttributesByCommonCodeList,
6889
+ ih as changeVisibleCellByGridId,
6890
+ Gc as createJsonBody,
6891
+ Hc as createJsonString,
6892
+ ah as exportExcelByBuffer,
6893
+ oh as exportExcelByGrid,
6894
+ sh as exportExcelById,
6895
+ uh as exportTreeGridExcel,
6896
+ fh as exportTreeGridToExcelById,
6897
+ Vc as formatDateToYmd,
6898
+ Wc as formatNumber,
6899
+ Fc as generateBarcodeUrl,
6900
+ Kc as generateQrCodeUrl,
6901
+ lh as getChangedDataRowsById,
6902
+ ch as getDataRowsById,
6901
6903
  ve as getDisplayValue,
6902
- Zc as getFormDefaultValues,
6903
- lh as getGridById,
6904
- ch as getIndexByLetters,
6905
- hh as getLettersByIndex,
6906
- dh as getSelectedRowsById,
6907
- Hc as getTodayYmd,
6908
- ph as getTreeGridById,
6909
- _h as getTreeGridDataRowsById,
6910
- gh as getTreeGridRowChangesById,
6911
- mh as getTreeGridSelectedRowsById,
6912
- vh as highlightTreeGridCellById,
6913
- Wc as isEnterKeyEvent,
6904
+ Xc as getFormDefaultValues,
6905
+ hh as getGridById,
6906
+ dh as getIndexByLetters,
6907
+ ph as getLettersByIndex,
6908
+ _h as getSelectedRowsById,
6909
+ Zc as getTodayYmd,
6910
+ gh as getTreeGridById,
6911
+ mh as getTreeGridDataRowsById,
6912
+ vh as getTreeGridRowChangesById,
6913
+ yh as getTreeGridSelectedRowsById,
6914
+ bh as highlightTreeGridCellById,
6915
+ Yc as isEnterKeyEvent,
6914
6916
  Se as rebuildValue,
6915
- yh as reloadBodyById,
6916
- bh as reloadTreeGridBodyById,
6917
- wh as resetGridChanges,
6918
- Eh as resetGridSelection,
6919
- Oh as resetGridsChanges,
6920
- kh as resetGridsSelection,
6921
- Sh as resetTreeGridChangesById,
6922
- xh as resetTreeGridChangesByIds,
6923
- Ah as resetTreeGridSelectionById,
6924
- Ch as resetTreeGridSelectionsByIds,
6925
- Yc as saveAsZipFile,
6926
- Ih as setCellValue,
6927
- Th as setGridEnum,
6928
- Rh as setHighlightTargetCellByGridId,
6929
- Bh as setMergeCells,
6930
- Ph as setTreeGridColumnEnumOptionsById,
6931
- Dh as setTreeGridColumnVisibilityById,
6932
- Nc as transformCommonCodeBasedOnGroupId,
6917
+ wh as reloadBodyById,
6918
+ Eh as reloadTreeGridBodyById,
6919
+ Oh as resetGridChanges,
6920
+ kh as resetGridSelection,
6921
+ Sh as resetGridsChanges,
6922
+ xh as resetGridsSelection,
6923
+ Ah as resetTreeGridChangesById,
6924
+ Ch as resetTreeGridChangesByIds,
6925
+ Ih as resetTreeGridSelectionById,
6926
+ Th as resetTreeGridSelectionsByIds,
6927
+ qc as saveAsZipFile,
6928
+ Rh as setCellValue,
6929
+ Bh as setGridEnum,
6930
+ Ph as setHighlightTargetCellByGridId,
6931
+ Dh as setMergeCells,
6932
+ $h as setTreeGridColumnEnumOptionsById,
6933
+ Mh as setTreeGridColumnVisibilityById,
6934
+ Uc as transformCommonCodeBasedOnGroupId,
6933
6935
  $l as transformGridEnumByCommonCodeList
6934
6936
  };
6935
6937
  //# sourceMappingURL=utils.js.map