@withwiz/toolkit 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ko.md +235 -0
- package/README.md +57 -26
- package/dist/{chunk-V6YD53NH.js → chunk-23LQJYZN.js} +5 -2
- package/dist/{chunk-ZTRASVGZ.js → chunk-34L7HTM7.js} +1 -1
- package/dist/{chunk-GSUCBWML.js → chunk-3RK3MKAR.js} +5 -2
- package/dist/{chunk-6JXHXIEH.js → chunk-3UIKCS56.js} +2 -2
- package/dist/{chunk-MNYVAEXK.js → chunk-4ROIPF33.js} +16 -3
- package/dist/{chunk-JKSABDFT.js → chunk-4TGPAUJV.js} +4 -4
- package/dist/{chunk-D2KXIKI4.js → chunk-4XPXZNBX.js} +18 -11
- package/dist/{chunk-LG3KM5V3.js → chunk-5I3EQHR4.js} +6 -2
- package/dist/chunk-63EKUOJH.js +72 -0
- package/dist/{chunk-N5VOFGF3.js → chunk-75UDFONR.js} +5 -4
- package/dist/{chunk-GORISA3L.js → chunk-7KIM5MHV.js} +1 -1
- package/dist/{chunk-4L6OSSSG.js → chunk-7S2PCYNT.js} +3 -3
- package/dist/{chunk-2SIBG5BG.js → chunk-7YWUKMZD.js} +7 -0
- package/dist/{chunk-7X2N4VZM.js → chunk-ATBYGPLP.js} +1 -1
- package/dist/{chunk-A74POWYY.js → chunk-B7AJJKOY.js} +1 -1
- package/dist/{chunk-W7PEL3DX.js → chunk-BRBOGLFT.js} +4 -4
- package/dist/{chunk-IOUNOHP7.js → chunk-BRFW2LL2.js} +1 -1
- package/dist/{chunk-I4NT6G2T.js → chunk-DRTJSTEV.js} +2 -2
- package/dist/{chunk-JIYLTMVL.js → chunk-DVCGAI5N.js} +2 -2
- package/dist/{chunk-AV7ELXHG.js → chunk-E5TDIRBJ.js} +2 -2
- package/dist/{chunk-UBASOMP5.js → chunk-HGVPZSWW.js} +18 -13
- package/dist/{chunk-7F5X6F7X.js → chunk-HV6A6Z5R.js} +1 -1
- package/dist/chunk-ILMPKSWS.js +125 -0
- package/dist/{chunk-J5NLAZV2.js → chunk-JHUWZ6YW.js} +2 -2
- package/dist/{chunk-LON5THYQ.js → chunk-KLMKCYIN.js} +1 -1
- package/dist/{chunk-4KJZRI74.js → chunk-KWUOLKDO.js} +1 -1
- package/dist/{chunk-GJO2MPC3.js → chunk-LCYDMYZS.js} +1 -1
- package/dist/{chunk-WIQAPWTY.js → chunk-LL3VWKY4.js} +1 -1
- package/dist/{chunk-IMAFMUZ7.js → chunk-LSS3GJUE.js} +3 -2
- package/dist/{chunk-2PFSRVVD.js → chunk-LWHLB2Y6.js} +84 -18
- package/dist/{chunk-BBE4RXR7.js → chunk-MTZXWVW3.js} +17 -6
- package/dist/{chunk-ORMEWXMH.js → chunk-N3ETBM74.js} +1 -14
- package/dist/{chunk-KYAHURXN.js → chunk-N3TCQ5BF.js} +4 -3
- package/dist/{chunk-G4SNTXJ3.js → chunk-NLV7IEYM.js} +7 -6
- package/dist/{chunk-HX4MPCVV.js → chunk-NTZBMWB6.js} +4 -4
- package/dist/{chunk-JRORMRVN.js → chunk-OII5BXCZ.js} +1 -1
- package/dist/{chunk-RJGYONRO.js → chunk-PRPMEHRE.js} +2 -2
- package/dist/{chunk-KG65BFPK.js → chunk-QAIN3WNN.js} +1 -1
- package/dist/{chunk-JJAIVUVD.js → chunk-R7EFDSPZ.js} +2 -2
- package/dist/{chunk-VJE4HA2C.js → chunk-RWCPRPEP.js} +3 -2
- package/dist/{chunk-B6L5XV7O.js → chunk-SCAFDDJP.js} +11 -11
- package/dist/{chunk-KXYDTC4A.js → chunk-SNFPZD6L.js} +11 -2
- package/dist/{chunk-MWBEE6VI.js → chunk-SXBDP3CK.js} +3 -3
- package/dist/{chunk-B5VRZ2VJ.js → chunk-TNDEYJEL.js} +25 -6
- package/dist/{chunk-GDTZMX3L.js → chunk-TRGFXIEF.js} +1 -1
- package/dist/{chunk-VNDL2E44.js → chunk-U52U5SK7.js} +2 -2
- package/dist/{chunk-54REXMTE.js → chunk-UWOWKOOQ.js} +3 -1
- package/dist/{chunk-4PROUAZ5.js → chunk-V3WZFUY3.js} +7 -7
- package/dist/{chunk-G4LJN4OZ.js → chunk-VH57Y5Z4.js} +1 -1
- package/dist/{chunk-5S7M2AJL.js → chunk-VWAB4PM7.js} +1 -1
- package/dist/{chunk-AQZPGOEZ.js → chunk-VWKZMGPJ.js} +5 -4
- package/dist/{chunk-4K27YLAE.js → chunk-VZ2PQA4U.js} +2 -2
- package/dist/{chunk-ZOWEW4GY.js → chunk-WBHX4MJV.js} +2 -2
- package/dist/{chunk-UMRKMF3E.js → chunk-WXOWI7BJ.js} +2 -2
- package/dist/chunk-XAGPZLRK.js +106 -0
- package/dist/{chunk-VPRTPW7C.js → chunk-XF3WUF3F.js} +2 -2
- package/dist/{chunk-6TRD7ZW4.js → chunk-XKIBJJA3.js} +25 -21
- package/dist/{chunk-ZLYBY3R4.js → chunk-XTGS6JJB.js} +10 -5
- package/dist/{chunk-BFZR62LZ.js → chunk-XXPB4C37.js} +7 -7
- package/dist/{chunk-LUIYCIF7.js → chunk-Y4ME3Q5K.js} +2 -2
- package/dist/{chunk-Q66VOVGN.js → chunk-Y4WPEIKW.js} +1 -1
- package/dist/{chunk-MREY2W7N.js → chunk-Y6CPPBJI.js} +1 -1
- package/dist/{chunk-6TUDUOGC.js → chunk-ZEHNCHIV.js} +2 -2
- package/dist/{chunk-D73ZJQMX.js → chunk-ZZABL54F.js} +13 -0
- package/dist/core/auth/config.d.ts +3 -0
- package/dist/core/auth/config.js +3 -3
- package/dist/core/auth/email/index.d.ts +3 -3
- package/dist/core/auth/email/index.js +3 -3
- package/dist/core/auth/email/sender.d.ts +1 -1
- package/dist/core/auth/email/sender.js +2 -2
- package/dist/core/auth/email/token-generator.d.ts +11 -0
- package/dist/core/auth/email/token-generator.js +2 -2
- package/dist/core/auth/errors/index.js +1 -1
- package/dist/core/auth/index.d.ts +11 -11
- package/dist/core/auth/index.js +27 -19
- package/dist/core/auth/jwt/client.js +3 -2
- package/dist/core/auth/jwt/cookie.d.ts +1 -1
- package/dist/core/auth/jwt/cookie.js +4 -4
- package/dist/core/auth/jwt/index.d.ts +41 -9
- package/dist/core/auth/jwt/index.js +6 -6
- package/dist/core/auth/jwt/types.d.ts +1 -1
- package/dist/core/auth/jwt/types.js +1 -1
- package/dist/core/auth/oauth/index.d.ts +6 -6
- package/dist/core/auth/oauth/index.js +8 -8
- package/dist/core/auth/oauth/providers/github.d.ts +1 -1
- package/dist/core/auth/oauth/providers/github.js +1 -1
- package/dist/core/auth/oauth/providers/google.d.ts +1 -1
- package/dist/core/auth/oauth/providers/google.js +1 -1
- package/dist/core/auth/oauth/providers/index.d.ts +5 -5
- package/dist/core/auth/oauth/providers/index.js +7 -7
- package/dist/core/auth/oauth/providers/kakao.d.ts +1 -1
- package/dist/core/auth/oauth/providers/kakao.js +1 -1
- package/dist/core/auth/oauth/providers/meta.d.ts +1 -1
- package/dist/core/auth/oauth/providers/meta.js +1 -1
- package/dist/core/auth/oauth/providers/microsoft.d.ts +1 -1
- package/dist/core/auth/oauth/providers/microsoft.js +1 -1
- package/dist/core/auth/oauth/state-cookie.js +1 -1
- package/dist/core/auth/password/client-helper.d.ts +9 -9
- package/dist/core/auth/password/client-helper.js +5 -3
- package/dist/core/auth/password/hasher.d.ts +83 -0
- package/dist/core/auth/password/hasher.js +14 -0
- package/dist/core/auth/password/index.d.ts +8 -6
- package/dist/core/auth/password/index.js +11 -2
- package/dist/core/auth/services/email-verification.service.d.ts +1 -1
- package/dist/core/auth/services/email-verification.service.js +3 -3
- package/dist/core/auth/services/index.d.ts +13 -12
- package/dist/core/auth/services/index.js +16 -16
- package/dist/core/auth/services/login.service.d.ts +15 -1
- package/dist/core/auth/services/login.service.js +6 -6
- package/dist/core/auth/services/oauth-callback.service.d.ts +7 -1
- package/dist/core/auth/services/oauth-callback.service.js +6 -6
- package/dist/core/auth/services/password-reset.service.d.ts +1 -1
- package/dist/core/auth/services/password-reset.service.js +3 -3
- package/dist/core/auth/services/refresh-token-store.d.ts +39 -0
- package/dist/core/auth/services/register.service.d.ts +1 -1
- package/dist/core/auth/services/register.service.js +3 -3
- package/dist/core/auth/services/token-refresh.service.d.ts +27 -1
- package/dist/core/auth/services/token-refresh.service.js +6 -6
- package/dist/core/auth/token-delivery.d.ts +47 -0
- package/dist/core/auth/token-delivery.js +14 -0
- package/dist/core/auth/types/index.d.ts +38 -4
- package/dist/core/auth/types/index.js +1 -1
- package/dist/core/cache/cache-config.js +4 -4
- package/dist/core/cache/cache-defaults.js +1 -1
- package/dist/core/cache/cache-env.d.ts +3 -3
- package/dist/core/cache/cache-env.js +3 -3
- package/dist/core/cache/cache-factory.d.ts +6 -6
- package/dist/core/cache/cache-factory.js +11 -11
- package/dist/core/cache/cache-invalidation.d.ts +4 -4
- package/dist/core/cache/cache-invalidation.js +12 -12
- package/dist/core/cache/cache-redis.js +5 -5
- package/dist/core/cache/cache-types.js +1 -1
- package/dist/core/cache/cache-wrapper.d.ts +1 -1
- package/dist/core/cache/cache-wrapper.js +12 -12
- package/dist/core/cache/cache.d.ts +2 -2
- package/dist/core/cache/cache.js +17 -17
- package/dist/core/cache/config.js +2 -2
- package/dist/core/cache/hybrid-cache-manager.d.ts +1 -1
- package/dist/core/cache/hybrid-cache-manager.js +7 -7
- package/dist/core/cache/index.d.ts +15 -15
- package/dist/core/cache/index.js +17 -17
- package/dist/core/cache/inmemory-cache-manager.d.ts +1 -1
- package/dist/core/cache/inmemory-cache-manager.js +3 -3
- package/dist/core/cache/noop-cache-manager.d.ts +1 -1
- package/dist/core/cache/noop-cache-manager.js +5 -5
- package/dist/core/cache/redis-cache-manager.d.ts +2 -2
- package/dist/core/cache/redis-cache-manager.js +6 -6
- package/dist/core/config/common.js +1 -1
- package/dist/core/config/errors.js +1 -1
- package/dist/core/config/registry.d.ts +7 -7
- package/dist/core/config/registry.js +1 -1
- package/dist/core/config/warn.js +1 -1
- package/dist/core/constants/error-codes.js +1 -1
- package/dist/core/constants/index.d.ts +5 -5
- package/dist/core/constants/index.js +4 -2
- package/dist/core/constants/messages.js +1 -1
- package/dist/core/constants/pagination.js +1 -1
- package/dist/core/constants/security.d.ts +15 -0
- package/dist/core/constants/security.js +4 -2
- package/dist/core/constants/validation.js +1 -1
- package/dist/core/cors/index.js +1 -1
- package/dist/core/error/app-error.d.ts +2 -2
- package/dist/core/error/app-error.js +1 -1
- package/dist/core/error/extract-error-info.js +1 -1
- package/dist/core/error/friendly-messages-v2.d.ts +3 -3
- package/dist/core/error/friendly-messages-v2.js +4 -4
- package/dist/core/error/friendly-messages.js +1 -1
- package/dist/core/error/index.d.ts +6 -6
- package/dist/core/error/index.js +4 -4
- package/dist/core/error/messages/en.d.ts +1 -1
- package/dist/core/error/messages/en.js +1 -1
- package/dist/core/error/messages/index.d.ts +2 -2
- package/dist/core/error/messages/index.js +3 -3
- package/dist/core/error/messages/ko.d.ts +1 -1
- package/dist/core/error/messages/ko.js +1 -1
- package/dist/core/geolocation/batch-processor.d.ts +1 -1
- package/dist/core/geolocation/batch-processor.js +3 -3
- package/dist/core/geolocation/config.js +1 -1
- package/dist/core/geolocation/index.d.ts +5 -5
- package/dist/core/geolocation/index.js +3 -3
- package/dist/core/geolocation/providers/base-provider.d.ts +2 -2
- package/dist/core/geolocation/providers/base-provider.js +1 -1
- package/dist/core/geolocation/providers/index.d.ts +6 -6
- package/dist/core/geolocation/providers/index.js +1 -1
- package/dist/core/geolocation/providers/ip-api-provider.d.ts +3 -3
- package/dist/core/geolocation/providers/ip-api-provider.js +1 -1
- package/dist/core/geolocation/providers/ipapi-co-provider.d.ts +3 -3
- package/dist/core/geolocation/providers/ipapi-co-provider.js +1 -1
- package/dist/core/geolocation/providers/ipgeolocation-provider.d.ts +3 -3
- package/dist/core/geolocation/providers/ipgeolocation-provider.js +1 -1
- package/dist/core/geolocation/providers/maxmind-provider.d.ts +3 -3
- package/dist/core/geolocation/providers/maxmind-provider.js +1 -1
- package/dist/core/logger/config.js +1 -1
- package/dist/core/logger/logger.js +2 -2
- package/dist/core/storage/config.js +1 -1
- package/dist/core/storage/r2-storage.js +1 -1
- package/dist/core/system/cpu.d.ts +1 -1
- package/dist/core/system/cpu.js +4 -4
- package/dist/core/system/disk.d.ts +1 -1
- package/dist/core/system/disk.js +4 -4
- package/dist/core/system/environment.d.ts +1 -1
- package/dist/core/system/environment.js +7 -7
- package/dist/core/system/health-check.d.ts +2 -2
- package/dist/core/system/health-check.js +5 -5
- package/dist/core/system/index.d.ts +7 -7
- package/dist/core/system/index.js +14 -14
- package/dist/core/system/memory.d.ts +1 -1
- package/dist/core/system/memory.js +4 -4
- package/dist/core/system/network.d.ts +1 -1
- package/dist/core/system/network.js +4 -4
- package/dist/core/system/utils.js +3 -3
- package/dist/core/types/geoip.d.ts +1 -1
- package/dist/core/types/qr-code.js +1 -1
- package/dist/core/utils/error-message-formatter.js +1 -1
- package/dist/core/utils/format-number.js +1 -1
- package/dist/core/utils/index.d.ts +3 -3
- package/dist/core/utils/index.js +2 -2
- package/dist/core/utils/input-validation.js +52 -16
- package/dist/core/utils/ip-utils.js +1 -1
- package/dist/core/utils/optimistic-lock.js +1 -1
- package/dist/core/utils/sanitizer.js +2 -2
- package/dist/core/utils/short-code-generator.js +1 -1
- package/dist/core/utils/timezone.js +121 -14
- package/dist/core/utils/type-guards.js +1 -1
- package/dist/core/utils/url-normalizer.js +1 -1
- package/dist/core/validators/index.d.ts +1 -1
- package/dist/core/validators/index.js +2 -2
- package/dist/core/validators/password-validator.d.ts +3 -3
- package/dist/core/validators/password-validator.js +2 -2
- package/dist/initialize.d.ts +10 -10
- package/dist/initialize.js +8 -8
- package/dist/next/auth-handlers/forgot-password.handler.d.ts +1 -1
- package/dist/next/auth-handlers/forgot-password.handler.js +4 -4
- package/dist/next/auth-handlers/index.d.ts +11 -11
- package/dist/next/auth-handlers/index.js +29 -28
- package/dist/next/auth-handlers/login.handler.d.ts +1 -1
- package/dist/next/auth-handlers/login.handler.js +7 -6
- package/dist/next/auth-handlers/logout.handler.d.ts +1 -1
- package/dist/next/auth-handlers/logout.handler.js +5 -5
- package/dist/next/auth-handlers/me.handler.d.ts +1 -1
- package/dist/next/auth-handlers/me.handler.js +7 -6
- package/dist/next/auth-handlers/oauth-authorize.handler.d.ts +1 -1
- package/dist/next/auth-handlers/oauth-authorize.handler.js +5 -5
- package/dist/next/auth-handlers/oauth-callback.handler.d.ts +1 -1
- package/dist/next/auth-handlers/oauth-callback.handler.js +10 -10
- package/dist/next/auth-handlers/refresh.handler.d.ts +1 -1
- package/dist/next/auth-handlers/refresh.handler.js +8 -7
- package/dist/next/auth-handlers/register.handler.d.ts +1 -1
- package/dist/next/auth-handlers/register.handler.js +4 -4
- package/dist/next/auth-handlers/reset-password.handler.d.ts +1 -1
- package/dist/next/auth-handlers/reset-password.handler.js +4 -4
- package/dist/next/auth-handlers/verify-email.handler.d.ts +1 -1
- package/dist/next/auth-handlers/verify-email.handler.js +4 -4
- package/dist/next/auth-types/handler-types.d.ts +5 -1
- package/dist/next/auth-types/handler-types.js +13 -1
- package/dist/next/auth-types/index.d.ts +1 -1
- package/dist/next/auth-types/index.js +13 -1
- package/dist/next/error/error-handler.js +3 -3
- package/dist/next/error/index.d.ts +3 -3
- package/dist/next/error/index.js +6 -6
- package/dist/next/error/locale-detector.d.ts +1 -1
- package/dist/next/error/locale-detector.js +1 -1
- package/dist/next/middleware/auth.d.ts +3 -3
- package/dist/next/middleware/auth.js +8 -7
- package/dist/next/middleware/cors.d.ts +2 -2
- package/dist/next/middleware/cors.js +3 -3
- package/dist/next/middleware/error-handler.d.ts +1 -1
- package/dist/next/middleware/error-handler.js +6 -6
- package/dist/next/middleware/index.d.ts +11 -11
- package/dist/next/middleware/index.js +18 -17
- package/dist/next/middleware/init-request.d.ts +1 -1
- package/dist/next/middleware/init-request.js +1 -1
- package/dist/next/middleware/middleware-chain.d.ts +1 -1
- package/dist/next/middleware/middleware-chain.js +3 -3
- package/dist/next/middleware/rate-limit.d.ts +2 -2
- package/dist/next/middleware/rate-limit.js +3 -3
- package/dist/next/middleware/response-logger.d.ts +1 -1
- package/dist/next/middleware/response-logger.js +3 -3
- package/dist/next/middleware/security.d.ts +1 -1
- package/dist/next/middleware/security.js +3 -3
- package/dist/next/middleware/types.d.ts +6 -3
- package/dist/next/middleware/wrappers.d.ts +2 -2
- package/dist/next/middleware/wrappers.js +18 -17
- package/dist/next/utils/api-helpers.d.ts +6 -2
- package/dist/next/utils/api-helpers.js +3 -2
- package/dist/next/utils/cors.js +2 -2
- package/dist/next/utils/csv-export-format.js +1 -1
- package/dist/next/utils/csv-export.js +3 -3
- package/dist/next/utils/error-processor.d.ts +1 -1
- package/dist/next/utils/error-processor.js +3 -3
- package/dist/next/utils/index.d.ts +5 -5
- package/dist/next/utils/index.js +16 -15
- package/dist/prisma/auth-adapter/index.d.ts +1 -1
- package/dist/prisma/auth-adapter/index.js +1 -1
- package/package.json +94 -51
- package/dist/chunk-2P4N4OK2.js +0 -150
- package/dist/chunk-4IQWQSEV.js +0 -27
- package/dist/chunk-4K76HG4V.js +0 -34
- package/dist/chunk-7EXSMZ2O.js +0 -29
- package/dist/chunk-7VXRBTRF.js +0 -110
- package/dist/chunk-ARXUKGZI.js +0 -58
- package/dist/chunk-B5OH43PR.js +0 -31
- package/dist/chunk-BW4QO7T6.js +0 -56
- package/dist/chunk-EK4TL7VW.js +0 -22
- package/dist/chunk-ERKJJDY6.js +0 -117
- package/dist/chunk-G4GT4X3J.js +0 -240
- package/dist/chunk-GPOSTBDQ.js +0 -193
- package/dist/chunk-IRUFNC4L.js +0 -26
- package/dist/chunk-J2MAXMIP.js +0 -105
- package/dist/chunk-MFMQO6IS.js +0 -127
- package/dist/chunk-PBQGXOVX.js +0 -31
- package/dist/chunk-STMAKLLG.js +0 -24
- package/dist/chunk-WP233RH2.js +0 -80
- package/dist/chunk-WWOYFWFB.js +0 -137
- package/dist/chunk-X7FGBUA4.js +0 -117
- package/dist/chunk-YSPIFSDI.js +0 -136
- package/dist/chunk-ZCLKRGZ4.js +0 -81
- package/dist/react/components/ui/Alert.d.ts +0 -12
- package/dist/react/components/ui/Alert.js +0 -10
- package/dist/react/components/ui/Badge.d.ts +0 -7
- package/dist/react/components/ui/Badge.js +0 -8
- package/dist/react/components/ui/Button.d.ts +0 -7
- package/dist/react/components/ui/Button.js +0 -8
- package/dist/react/components/ui/DataTable.d.ts +0 -8
- package/dist/react/components/ui/DataTable.js +0 -22
- package/dist/react/components/ui/DomainDisplay.d.ts +0 -12
- package/dist/react/components/ui/DomainDisplay.js +0 -31
- package/dist/react/components/ui/Input.d.ts +0 -5
- package/dist/react/components/ui/Input.js +0 -8
- package/dist/react/components/ui/Label.d.ts +0 -5
- package/dist/react/components/ui/Label.js +0 -8
- package/dist/react/components/ui/Pagination.d.ts +0 -42
- package/dist/react/components/ui/Pagination.js +0 -20
- package/dist/react/components/ui/Select.d.ts +0 -15
- package/dist/react/components/ui/Select.js +0 -27
- package/dist/react/components/ui/Skeleton.d.ts +0 -6
- package/dist/react/components/ui/Skeleton.js +0 -8
- package/dist/react/components/ui/TimezoneDisplay.d.ts +0 -22
- package/dist/react/components/ui/TimezoneDisplay.js +0 -83
- package/dist/react/components/ui/Tooltip.d.ts +0 -21
- package/dist/react/components/ui/Tooltip.js +0 -94
- package/dist/react/components/ui/data-table/DataTable.d.ts +0 -2
- package/dist/react/components/ui/data-table/DataTable.js +0 -22
- package/dist/react/components/ui/data-table/DataTableBody.d.ts +0 -19
- package/dist/react/components/ui/data-table/DataTableBody.js +0 -10
- package/dist/react/components/ui/data-table/DataTableBulkActions.d.ts +0 -17
- package/dist/react/components/ui/data-table/DataTableBulkActions.js +0 -12
- package/dist/react/components/ui/data-table/DataTableFilters.d.ts +0 -15
- package/dist/react/components/ui/data-table/DataTableFilters.js +0 -13
- package/dist/react/components/ui/data-table/DataTablePagination.d.ts +0 -10
- package/dist/react/components/ui/data-table/DataTablePagination.js +0 -11
- package/dist/react/components/ui/data-table/DataTableSearch.d.ts +0 -24
- package/dist/react/components/ui/data-table/DataTableSearch.js +0 -12
- package/dist/react/components/ui/data-table/index.d.ts +0 -13
- package/dist/react/components/ui/data-table/index.js +0 -42
- package/dist/react/components/ui/data-table/types.d.ts +0 -120
- package/dist/react/components/ui/data-table/types.js +0 -9
- package/dist/react/components/ui/loading-bar.d.ts +0 -20
- package/dist/react/components/ui/loading-bar.js +0 -15
- package/dist/react/error/error-display.d.ts +0 -48
- package/dist/react/error/error-display.js +0 -30
- package/dist/react/error/index.d.ts +0 -6
- package/dist/react/error/index.js +0 -30
- package/dist/react/hooks/useDataTable.d.ts +0 -96
- package/dist/react/hooks/useDataTable.js +0 -151
- package/dist/react/hooks/useDebounce.d.ts +0 -7
- package/dist/react/hooks/useDebounce.js +0 -7
- package/dist/react/hooks/useExitIntent.d.ts +0 -35
- package/dist/react/hooks/useExitIntent.js +0 -72
- package/dist/react/hooks/useTimezone.d.ts +0 -19
- package/dist/react/hooks/useTimezone.js +0 -11
- package/dist/react/utils/client-utils.d.ts +0 -3
- package/dist/react/utils/client-utils.js +0 -9
- package/dist/react/utils/qr-code.d.ts +0 -16
- package/dist/react/utils/qr-code.js +0 -215
- package/dist/{chunk-7PEVOMBO.js → chunk-AOWUPAPS.js} +0 -0
- package/dist/{chunk-UQ3Z3ZAF.js → chunk-ER6LSA4M.js} +6 -6
- package/dist/{chunk-7WG7XPXC.js → chunk-KKZCNF6U.js} +3 -3
- /package/dist/{chunk-M22Z2NO6.js → core/auth/services/refresh-token-store.js} +0 -0
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IPaginationProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IPaginationContentProps {
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IPaginationItemProps {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
className?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface IPaginationLinkProps {
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
href?: string;
|
|
17
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
18
|
-
isActive?: boolean;
|
|
19
|
-
className?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IPaginationPreviousProps {
|
|
22
|
-
href?: string;
|
|
23
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
24
|
-
className?: string;
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
}
|
|
27
|
-
export interface IPaginationNextProps {
|
|
28
|
-
href?: string;
|
|
29
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
30
|
-
className?: string;
|
|
31
|
-
children?: React.ReactNode;
|
|
32
|
-
}
|
|
33
|
-
export interface IPaginationEllipsisProps {
|
|
34
|
-
className?: string;
|
|
35
|
-
}
|
|
36
|
-
export declare function Pagination({ children, className }: IPaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
export declare function PaginationContent({ children, className }: IPaginationContentProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export declare function PaginationItem({ children, className }: IPaginationItemProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export declare function PaginationLink({ children, href, onClick, isActive, className }: IPaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export declare function PaginationPrevious({ href, onClick, className, children }: IPaginationPreviousProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
export declare function PaginationNext({ href, onClick, className, children }: IPaginationNextProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
export declare function PaginationEllipsis({ className }: IPaginationEllipsisProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Pagination,
|
|
3
|
-
PaginationContent,
|
|
4
|
-
PaginationEllipsis,
|
|
5
|
-
PaginationItem,
|
|
6
|
-
PaginationLink,
|
|
7
|
-
PaginationNext,
|
|
8
|
-
PaginationPrevious
|
|
9
|
-
} from "../../../chunk-J2MAXMIP.js";
|
|
10
|
-
import "../../../chunk-4K76HG4V.js";
|
|
11
|
-
import "../../../chunk-ORMEWXMH.js";
|
|
12
|
-
export {
|
|
13
|
-
Pagination,
|
|
14
|
-
PaginationContent,
|
|
15
|
-
PaginationEllipsis,
|
|
16
|
-
PaginationItem,
|
|
17
|
-
PaginationLink,
|
|
18
|
-
PaginationNext,
|
|
19
|
-
PaginationPrevious
|
|
20
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
-
declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
7
|
-
size?: "sm" | "default";
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Select,
|
|
4
|
-
SelectContent,
|
|
5
|
-
SelectGroup,
|
|
6
|
-
SelectItem,
|
|
7
|
-
SelectLabel,
|
|
8
|
-
SelectScrollDownButton,
|
|
9
|
-
SelectScrollUpButton,
|
|
10
|
-
SelectSeparator,
|
|
11
|
-
SelectTrigger,
|
|
12
|
-
SelectValue
|
|
13
|
-
} from "../../../chunk-GPOSTBDQ.js";
|
|
14
|
-
import "../../../chunk-4K76HG4V.js";
|
|
15
|
-
import "../../../chunk-ORMEWXMH.js";
|
|
16
|
-
export {
|
|
17
|
-
Select,
|
|
18
|
-
SelectContent,
|
|
19
|
-
SelectGroup,
|
|
20
|
-
SelectItem,
|
|
21
|
-
SelectLabel,
|
|
22
|
-
SelectScrollDownButton,
|
|
23
|
-
SelectScrollUpButton,
|
|
24
|
-
SelectSeparator,
|
|
25
|
-
SelectTrigger,
|
|
26
|
-
SelectValue
|
|
27
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
interface ITimezoneDisplayProps {
|
|
2
|
-
showIcon?: boolean;
|
|
3
|
-
showOffset?: boolean;
|
|
4
|
-
variant?: 'default' | 'secondary' | 'outline';
|
|
5
|
-
size?: 'sm' | 'md' | 'lg';
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* 사용자 타임존을 표시하는 컴포넌트
|
|
9
|
-
*/
|
|
10
|
-
export declare function TimezoneDisplay({ showIcon, showOffset, variant, size }: ITimezoneDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
/**
|
|
12
|
-
* 간단한 타임존 표시 (아이콘 없음)
|
|
13
|
-
*/
|
|
14
|
-
export declare function SimpleTimezoneDisplay({ showOffset, variant, size }: Omit<ITimezoneDisplayProps, 'showIcon'>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
/**
|
|
16
|
-
* 타임존 정보를 툴팁으로 표시하는 컴포넌트
|
|
17
|
-
*/
|
|
18
|
-
export declare function TimezoneTooltip({ children, className }: {
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
className?: string;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export {};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Skeleton
|
|
4
|
-
} from "../../../chunk-EK4TL7VW.js";
|
|
5
|
-
import {
|
|
6
|
-
Badge
|
|
7
|
-
} from "../../../chunk-STMAKLLG.js";
|
|
8
|
-
import {
|
|
9
|
-
useSimpleTimezone
|
|
10
|
-
} from "../../../chunk-WP233RH2.js";
|
|
11
|
-
import "../../../chunk-4K76HG4V.js";
|
|
12
|
-
import "../../../chunk-WWOYFWFB.js";
|
|
13
|
-
import "../../../chunk-ORMEWXMH.js";
|
|
14
|
-
|
|
15
|
-
// src/react/components/ui/TimezoneDisplay.tsx
|
|
16
|
-
import { Globe } from "lucide-react";
|
|
17
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
-
function TimezoneDisplay({
|
|
19
|
-
showIcon = true,
|
|
20
|
-
showOffset = true,
|
|
21
|
-
variant = "outline",
|
|
22
|
-
size = "md"
|
|
23
|
-
}) {
|
|
24
|
-
const { timezone, offsetFormatted, isLoading, display } = useSimpleTimezone();
|
|
25
|
-
if (isLoading) {
|
|
26
|
-
return /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-24" });
|
|
27
|
-
}
|
|
28
|
-
const sizeClasses = {
|
|
29
|
-
sm: "text-xs px-2 py-1",
|
|
30
|
-
md: "text-sm px-3 py-1.5",
|
|
31
|
-
lg: "text-base px-4 py-2"
|
|
32
|
-
};
|
|
33
|
-
return /* @__PURE__ */ jsxs(Badge, { variant, className: `${sizeClasses[size]} flex items-center gap-1.5`, children: [
|
|
34
|
-
showIcon && /* @__PURE__ */ jsx(Globe, { className: "h-3 w-3" }),
|
|
35
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium", children: timezone }),
|
|
36
|
-
showOffset && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
37
|
-
"(",
|
|
38
|
-
offsetFormatted,
|
|
39
|
-
")"
|
|
40
|
-
] })
|
|
41
|
-
] });
|
|
42
|
-
}
|
|
43
|
-
function SimpleTimezoneDisplay({
|
|
44
|
-
showOffset = true,
|
|
45
|
-
variant = "secondary",
|
|
46
|
-
size = "sm"
|
|
47
|
-
}) {
|
|
48
|
-
const { timezone, offsetFormatted, isLoading } = useSimpleTimezone();
|
|
49
|
-
if (isLoading) {
|
|
50
|
-
return /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-20" });
|
|
51
|
-
}
|
|
52
|
-
const sizeClasses = {
|
|
53
|
-
sm: "text-xs",
|
|
54
|
-
md: "text-sm",
|
|
55
|
-
lg: "text-base"
|
|
56
|
-
};
|
|
57
|
-
return /* @__PURE__ */ jsxs("span", { className: `${sizeClasses[size]} text-muted-foreground`, children: [
|
|
58
|
-
timezone,
|
|
59
|
-
showOffset && ` (${offsetFormatted})`
|
|
60
|
-
] });
|
|
61
|
-
}
|
|
62
|
-
function TimezoneTooltip({
|
|
63
|
-
children,
|
|
64
|
-
className = ""
|
|
65
|
-
}) {
|
|
66
|
-
const { timezone, offsetFormatted, isLoading } = useSimpleTimezone();
|
|
67
|
-
if (isLoading) {
|
|
68
|
-
return /* @__PURE__ */ jsx("span", { className, children });
|
|
69
|
-
}
|
|
70
|
-
return /* @__PURE__ */ jsx(
|
|
71
|
-
"span",
|
|
72
|
-
{
|
|
73
|
-
className,
|
|
74
|
-
title: `\uD604\uC7AC \uD0C0\uC784\uC874: ${timezone} (${offsetFormatted})`,
|
|
75
|
-
children
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
export {
|
|
80
|
-
SimpleTimezoneDisplay,
|
|
81
|
-
TimezoneDisplay,
|
|
82
|
-
TimezoneTooltip
|
|
83
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ITooltipProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
content: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
delayDuration?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface ITooltipTriggerProps {
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
asChild?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface ITooltipContentProps {
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
17
|
-
align?: 'start' | 'center' | 'end';
|
|
18
|
-
}
|
|
19
|
-
export declare function Tooltip({ children, content, className, delayDuration }: ITooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export declare function TooltipTrigger({ children, asChild, className }: ITooltipTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare function TooltipContent({ children, className, side, align }: ITooltipContentProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
cn
|
|
3
|
-
} from "../../../chunk-4K76HG4V.js";
|
|
4
|
-
import {
|
|
5
|
-
__spreadProps,
|
|
6
|
-
__spreadValues
|
|
7
|
-
} from "../../../chunk-ORMEWXMH.js";
|
|
8
|
-
|
|
9
|
-
// src/react/components/ui/Tooltip.tsx
|
|
10
|
-
import React, { useState, useRef, useEffect } from "react";
|
|
11
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
function Tooltip({
|
|
13
|
-
children,
|
|
14
|
-
content,
|
|
15
|
-
className,
|
|
16
|
-
delayDuration = 200
|
|
17
|
-
}) {
|
|
18
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
19
|
-
const [position, setPosition] = useState({ top: 0, left: 0 });
|
|
20
|
-
const triggerRef = useRef(null);
|
|
21
|
-
const contentRef = useRef(null);
|
|
22
|
-
const timeoutRef = useRef(null);
|
|
23
|
-
const showTooltip = () => {
|
|
24
|
-
if (timeoutRef.current) {
|
|
25
|
-
clearTimeout(timeoutRef.current);
|
|
26
|
-
}
|
|
27
|
-
timeoutRef.current = setTimeout(() => {
|
|
28
|
-
setIsOpen(true);
|
|
29
|
-
}, delayDuration);
|
|
30
|
-
};
|
|
31
|
-
const hideTooltip = () => {
|
|
32
|
-
if (timeoutRef.current) {
|
|
33
|
-
clearTimeout(timeoutRef.current);
|
|
34
|
-
}
|
|
35
|
-
setIsOpen(false);
|
|
36
|
-
};
|
|
37
|
-
useEffect(() => {
|
|
38
|
-
if (isOpen && triggerRef.current && contentRef.current) {
|
|
39
|
-
const triggerRect = triggerRef.current.getBoundingClientRect();
|
|
40
|
-
const contentRect = contentRef.current.getBoundingClientRect();
|
|
41
|
-
setPosition({
|
|
42
|
-
top: triggerRect.bottom + window.scrollY + 8,
|
|
43
|
-
left: triggerRect.left + window.scrollX + (triggerRect.width - contentRect.width) / 2
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
}, [isOpen]);
|
|
47
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("relative inline-block", className), children: [
|
|
48
|
-
/* @__PURE__ */ jsx(
|
|
49
|
-
"div",
|
|
50
|
-
{
|
|
51
|
-
ref: triggerRef,
|
|
52
|
-
onMouseEnter: showTooltip,
|
|
53
|
-
onMouseLeave: hideTooltip,
|
|
54
|
-
onFocus: showTooltip,
|
|
55
|
-
onBlur: hideTooltip,
|
|
56
|
-
children
|
|
57
|
-
}
|
|
58
|
-
),
|
|
59
|
-
isOpen && /* @__PURE__ */ jsx(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
ref: contentRef,
|
|
63
|
-
className: "absolute z-50 rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95",
|
|
64
|
-
style: {
|
|
65
|
-
top: position.top,
|
|
66
|
-
left: position.left
|
|
67
|
-
},
|
|
68
|
-
children: content
|
|
69
|
-
}
|
|
70
|
-
)
|
|
71
|
-
] });
|
|
72
|
-
}
|
|
73
|
-
function TooltipTrigger({ children, asChild = false, className }) {
|
|
74
|
-
if (asChild && React.isValidElement(children)) {
|
|
75
|
-
const childProps = children.props;
|
|
76
|
-
return React.cloneElement(children, __spreadProps(__spreadValues({}, childProps), {
|
|
77
|
-
className: cn(childProps.className, className)
|
|
78
|
-
}));
|
|
79
|
-
}
|
|
80
|
-
return /* @__PURE__ */ jsx("div", { className: cn("", className), children });
|
|
81
|
-
}
|
|
82
|
-
function TooltipContent({
|
|
83
|
-
children,
|
|
84
|
-
className,
|
|
85
|
-
side = "top",
|
|
86
|
-
align = "center"
|
|
87
|
-
}) {
|
|
88
|
-
return /* @__PURE__ */ jsx("div", { className: cn("", className), children });
|
|
89
|
-
}
|
|
90
|
-
export {
|
|
91
|
-
Tooltip,
|
|
92
|
-
TooltipContent,
|
|
93
|
-
TooltipTrigger
|
|
94
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { DataTableProps } from "./types";
|
|
2
|
-
export declare function DataTable<T>({ data, columns, loading, error, pagination, sort, bulkActions, filters, filterValues, onFilterChange, onClearFilters, selectable, onSelectionChange, selectedIds, getRowId, className, emptyMessage, searchPlaceholder, onSearch, onSearchValueChange, searchValue, showFilters, onToggleFilters, createButton, labels: customLabels, syncWithUrl, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
DataTable
|
|
4
|
-
} from "../../../../chunk-G4GT4X3J.js";
|
|
5
|
-
import "../../../../chunk-2P4N4OK2.js";
|
|
6
|
-
import "../../../../chunk-ZCLKRGZ4.js";
|
|
7
|
-
import "../../../../chunk-X7FGBUA4.js";
|
|
8
|
-
import "../../../../chunk-YSPIFSDI.js";
|
|
9
|
-
import "../../../../chunk-MFMQO6IS.js";
|
|
10
|
-
import "../../../../chunk-7VXRBTRF.js";
|
|
11
|
-
import "../../../../chunk-B5OH43PR.js";
|
|
12
|
-
import "../../../../chunk-4IQWQSEV.js";
|
|
13
|
-
import "../../../../chunk-IRUFNC4L.js";
|
|
14
|
-
import "../../../../chunk-J2MAXMIP.js";
|
|
15
|
-
import "../../../../chunk-GPOSTBDQ.js";
|
|
16
|
-
import "../../../../chunk-PBQGXOVX.js";
|
|
17
|
-
import "../../../../chunk-BW4QO7T6.js";
|
|
18
|
-
import "../../../../chunk-4K76HG4V.js";
|
|
19
|
-
import "../../../../chunk-ORMEWXMH.js";
|
|
20
|
-
export {
|
|
21
|
-
DataTable
|
|
22
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { ColumnDef, SortConfig } from "./types";
|
|
2
|
-
export interface DataTableBodyProps<T> {
|
|
3
|
-
data: T[];
|
|
4
|
-
visibleColumns: ColumnDef<T>[];
|
|
5
|
-
loading: boolean;
|
|
6
|
-
error: string | null;
|
|
7
|
-
emptyMessage: string;
|
|
8
|
-
selectable: boolean;
|
|
9
|
-
localSelectedIds: string[];
|
|
10
|
-
getRowId: (item: T) => string;
|
|
11
|
-
onSelectAll: (checked: boolean) => void;
|
|
12
|
-
onSelect: (id: string, checked: boolean) => void;
|
|
13
|
-
sort?: SortConfig;
|
|
14
|
-
onSort: (columnKey: string) => void;
|
|
15
|
-
labels: {
|
|
16
|
-
loading: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export declare function DataTableBody<T>({ data, visibleColumns, loading, error, emptyMessage, selectable, localSelectedIds, getRowId, onSelectAll, onSelect, sort, onSort, labels, }: DataTableBodyProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { BulkAction } from "./types";
|
|
2
|
-
export interface DataTableBulkActionsProps {
|
|
3
|
-
bulkActions: BulkAction[];
|
|
4
|
-
localSelectedIds: string[];
|
|
5
|
-
dataLength: number;
|
|
6
|
-
bulkActionLoading: string | null;
|
|
7
|
-
onSelectAll: (checked: boolean) => void;
|
|
8
|
-
onBulkAction: (action: BulkAction) => void;
|
|
9
|
-
labels: {
|
|
10
|
-
selectAll: string;
|
|
11
|
-
selectAllShort: string;
|
|
12
|
-
selected: string;
|
|
13
|
-
processing: string;
|
|
14
|
-
processingItems: string;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export declare function DataTableBulkActions({ bulkActions, localSelectedIds, dataLength, bulkActionLoading, onSelectAll, onBulkAction, labels, }: DataTableBulkActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
DataTableBulkActions
|
|
4
|
-
} from "../../../../chunk-ZCLKRGZ4.js";
|
|
5
|
-
import "../../../../chunk-X7FGBUA4.js";
|
|
6
|
-
import "../../../../chunk-B5OH43PR.js";
|
|
7
|
-
import "../../../../chunk-BW4QO7T6.js";
|
|
8
|
-
import "../../../../chunk-4K76HG4V.js";
|
|
9
|
-
import "../../../../chunk-ORMEWXMH.js";
|
|
10
|
-
export {
|
|
11
|
-
DataTableBulkActions
|
|
12
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { FilterConfig } from "./types";
|
|
2
|
-
export interface DataTableFiltersProps {
|
|
3
|
-
filters: FilterConfig[];
|
|
4
|
-
filterValues: Record<string, any>;
|
|
5
|
-
onFilterChange?: (key: string, value: any) => void;
|
|
6
|
-
onClearFilters?: () => void;
|
|
7
|
-
hasActiveFilters: boolean;
|
|
8
|
-
labels: {
|
|
9
|
-
all: string;
|
|
10
|
-
min: string;
|
|
11
|
-
max: string;
|
|
12
|
-
clearFilters: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export declare function DataTableFilters({ filters, filterValues, onFilterChange, onClearFilters, hasActiveFilters, labels, }: DataTableFiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
DataTableFilters
|
|
4
|
-
} from "../../../../chunk-YSPIFSDI.js";
|
|
5
|
-
import "../../../../chunk-4IQWQSEV.js";
|
|
6
|
-
import "../../../../chunk-IRUFNC4L.js";
|
|
7
|
-
import "../../../../chunk-GPOSTBDQ.js";
|
|
8
|
-
import "../../../../chunk-BW4QO7T6.js";
|
|
9
|
-
import "../../../../chunk-4K76HG4V.js";
|
|
10
|
-
import "../../../../chunk-ORMEWXMH.js";
|
|
11
|
-
export {
|
|
12
|
-
DataTableFilters
|
|
13
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PaginationConfig } from "./types";
|
|
2
|
-
export interface DataTablePaginationProps {
|
|
3
|
-
pagination: PaginationConfig;
|
|
4
|
-
labels: {
|
|
5
|
-
showing: string;
|
|
6
|
-
previous: string;
|
|
7
|
-
next: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export declare function DataTablePagination({ pagination, labels, }: DataTablePaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
DataTablePagination
|
|
4
|
-
} from "../../../../chunk-MFMQO6IS.js";
|
|
5
|
-
import "../../../../chunk-B5OH43PR.js";
|
|
6
|
-
import "../../../../chunk-J2MAXMIP.js";
|
|
7
|
-
import "../../../../chunk-4K76HG4V.js";
|
|
8
|
-
import "../../../../chunk-ORMEWXMH.js";
|
|
9
|
-
export {
|
|
10
|
-
DataTablePagination
|
|
11
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import type { PaginationConfig, FilterConfig } from "./types";
|
|
3
|
-
export interface DataTableSearchProps {
|
|
4
|
-
onSearch?: (search: string) => void;
|
|
5
|
-
onSearchValueChange?: (searchValue: string) => void;
|
|
6
|
-
searchValue: string;
|
|
7
|
-
searchPlaceholder: string;
|
|
8
|
-
labels: {
|
|
9
|
-
search: string;
|
|
10
|
-
filter: string;
|
|
11
|
-
filterActive: string;
|
|
12
|
-
perPage: string;
|
|
13
|
-
};
|
|
14
|
-
filters: FilterConfig[];
|
|
15
|
-
onToggleFilters?: (show: boolean) => void;
|
|
16
|
-
showFilters: boolean;
|
|
17
|
-
hasActiveFilters: boolean;
|
|
18
|
-
pagination?: PaginationConfig;
|
|
19
|
-
createButton?: ReactNode | {
|
|
20
|
-
label: string;
|
|
21
|
-
onClick: () => void;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export declare function DataTableSearch({ onSearch, onSearchValueChange, searchValue, searchPlaceholder, labels, filters, onToggleFilters, showFilters, hasActiveFilters, pagination, createButton, }: DataTableSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
DataTableSearch
|
|
4
|
-
} from "../../../../chunk-7VXRBTRF.js";
|
|
5
|
-
import "../../../../chunk-B5OH43PR.js";
|
|
6
|
-
import "../../../../chunk-4IQWQSEV.js";
|
|
7
|
-
import "../../../../chunk-BW4QO7T6.js";
|
|
8
|
-
import "../../../../chunk-4K76HG4V.js";
|
|
9
|
-
import "../../../../chunk-ORMEWXMH.js";
|
|
10
|
-
export {
|
|
11
|
-
DataTableSearch
|
|
12
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataTable
|
|
3
|
-
*
|
|
4
|
-
* Public API - 모든 DataTable 관련 타입과 컴포넌트 export
|
|
5
|
-
*/
|
|
6
|
-
export { DataTable } from "./DataTable";
|
|
7
|
-
export { DataTableSearch } from "./DataTableSearch";
|
|
8
|
-
export { DataTableFilters } from "./DataTableFilters";
|
|
9
|
-
export { DataTableBulkActions } from "./DataTableBulkActions";
|
|
10
|
-
export { DataTableBody } from "./DataTableBody";
|
|
11
|
-
export { DataTablePagination } from "./DataTablePagination";
|
|
12
|
-
export type { DataTableLabels, ColumnDef, BulkAction, FilterConfig, PaginationConfig, SortConfig, DataTableProps, } from "./types";
|
|
13
|
-
export { DEFAULT_LABELS, formatLabel } from "./types";
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import "../../../../chunk-7PEVOMBO.js";
|
|
2
|
-
import {
|
|
3
|
-
DataTable
|
|
4
|
-
} from "../../../../chunk-G4GT4X3J.js";
|
|
5
|
-
import {
|
|
6
|
-
DataTableBody
|
|
7
|
-
} from "../../../../chunk-2P4N4OK2.js";
|
|
8
|
-
import {
|
|
9
|
-
DataTableBulkActions
|
|
10
|
-
} from "../../../../chunk-ZCLKRGZ4.js";
|
|
11
|
-
import "../../../../chunk-X7FGBUA4.js";
|
|
12
|
-
import {
|
|
13
|
-
DataTableFilters
|
|
14
|
-
} from "../../../../chunk-YSPIFSDI.js";
|
|
15
|
-
import {
|
|
16
|
-
DataTablePagination
|
|
17
|
-
} from "../../../../chunk-MFMQO6IS.js";
|
|
18
|
-
import {
|
|
19
|
-
DataTableSearch
|
|
20
|
-
} from "../../../../chunk-7VXRBTRF.js";
|
|
21
|
-
import {
|
|
22
|
-
DEFAULT_LABELS,
|
|
23
|
-
formatLabel
|
|
24
|
-
} from "../../../../chunk-B5OH43PR.js";
|
|
25
|
-
import "../../../../chunk-4IQWQSEV.js";
|
|
26
|
-
import "../../../../chunk-IRUFNC4L.js";
|
|
27
|
-
import "../../../../chunk-J2MAXMIP.js";
|
|
28
|
-
import "../../../../chunk-GPOSTBDQ.js";
|
|
29
|
-
import "../../../../chunk-PBQGXOVX.js";
|
|
30
|
-
import "../../../../chunk-BW4QO7T6.js";
|
|
31
|
-
import "../../../../chunk-4K76HG4V.js";
|
|
32
|
-
import "../../../../chunk-ORMEWXMH.js";
|
|
33
|
-
export {
|
|
34
|
-
DEFAULT_LABELS,
|
|
35
|
-
DataTable,
|
|
36
|
-
DataTableBody,
|
|
37
|
-
DataTableBulkActions,
|
|
38
|
-
DataTableFilters,
|
|
39
|
-
DataTablePagination,
|
|
40
|
-
DataTableSearch,
|
|
41
|
-
formatLabel
|
|
42
|
-
};
|