Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: a tmp patch fix for naive-ui issue (#19206)
ecmadao287cb4797b77
diff --git a/frontend/package.json b/frontend/package.jsonindex d9809a88e4..02399538c4 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -146,5 +146,10 @@},"browserslist": ["> 0.08%, not dead"- ]+ ],+ "pnpm": {+ "patchedDependencies": {+ "[email protected]": "patches/[email protected]"+ }+ }}diff --git a/frontend/patches/[email protected] b/frontend/patches/[email protected]new file mode 100644index 0000000000..f808859bc9--- /dev/null+++ b/frontend/patches/[email protected]@@ -0,0 +1,44 @@+diff --git a/es/input-otp/src/InputOtp.mjs b/es/input-otp/src/InputOtp.mjs+index aaaaaaa..bbbbbbb 100644+--- a/es/input-otp/src/InputOtp.mjs++++ b/es/input-otp/src/InputOtp.mjs+@@ -92,7 +92,7 @@+ const inputTypeRef = computed(() => props.mask ? 'password' : 'text');+ const handleFocus = (e, index) => {+ // If it's focused from other input element inside the component, returns+- if (inputRefList === null || inputRefList === void 0 ? void 0 : inputRefList.value.some(inputInst => inputInst.inputElRef === e.relatedTarget)) {++ if (inputRefList === null || inputRefList === void 0 ? void 0 : inputRefList.value.some(inputInst => (inputInst === null || inputInst === void 0 ? void 0 : inputInst.inputElRef) === e.relatedTarget)) {+ return;+ }+ const {+@@ -108,7 +108,7 @@+ };+ const handleBlur = (e, index) => {+ // If it's blured to other input element inside the component, returns+- if (inputRefList === null || inputRefList === void 0 ? void 0 : inputRefList.value.some(inputInst => inputInst.inputElRef === e.relatedTarget)) {++ if (inputRefList === null || inputRefList === void 0 ? void 0 : inputRefList.value.some(inputInst => (inputInst === null || inputInst === void 0 ? void 0 : inputInst.inputElRef) === e.relatedTarget)) {+ return;+ }+ const {+diff --git a/lib/input-otp/src/InputOtp.js b/lib/input-otp/src/InputOtp.js+index aaaaaaa..bbbbbbb 100644+--- a/lib/input-otp/src/InputOtp.js++++ b/lib/input-otp/src/InputOtp.js+@@ -64,7 +64,7 @@+ const inputTypeRef = (0, vue_1.computed)(() => props.mask ? 'password' : 'text');+ const handleFocus = (e, index) => {+ // If it's focused from other input element inside the component, returns+- if (inputRefList === null || inputRefList === void 0 ? void 0 : inputRefList.value.some(inputInst => inputInst.inputElRef === e.relatedTarget)) {++ if (inputRefList === null || inputRefList === void 0 ? void 0 : inputRefList.value.some(inputInst => (inputInst === null || inputInst === void 0 ? void 0 : inputInst.inputElRef) === e.relatedTarget)) {+ return;+ }+ const { onFocus } = props;+@@ -76,7 +76,7 @@+ };+ const handleBlur = (e, index) => {+ // If it's blured to other input element inside the component, returns+- if (inputRefList === null || inputRefList === void 0 ? void 0 : inputRefList.value.some(inputInst => inputInst.inputElRef === e.relatedTarget)) {++ if (inputRefList === null || inputRefList === void 0 ? void 0 : inputRefList.value.some(inputInst => (inputInst === null || inputInst === void 0 ? void 0 : inputInst.inputElRef) === e.relatedTarget)) {+ return;+ }+ const { onBlur } = props;diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yamlindex bf8a8aeebe..c9769ee440 100644--- a/frontend/pnpm-lock.yaml+++ b/frontend/pnpm-lock.yaml@@ -6,6 +6,11 @@ settings:pnpmfileChecksum: sha256-D+Oiltjq0mI5+T73et/+VdZYEDWjB/193i1+mwbpq0Y=+patchedDependencies:+ hash: 7792d0f673a1ab04f4c1ec54d7186880f3a3136b2b0a8335fbd5b62cc43eee31+ path: patches/[email protected]+importers:.:@@ -120,7 +125,7 @@ importers:version: 10.6.0naive-ui:specifier: 2.43.2- version: 2.43.2([email protected]([email protected]))+ version: 2.43.2(patch_hash=7792d0f673a1ab04f4c1ec54d7186880f3a3136b2b0a8335fbd5b62cc43eee31)([email protected]([email protected]))normalize-wheel:specifier: ^1.0.1version: 1.0.1@@ -927,28 +932,24 @@ packages:engines: {node: '>=14.21.3'}cpu: [arm64]os: [linux]- libc: [musl]'@biomejs/[email protected]':resolution: {integrity: sha512-xvOiFkrDNu607MPMBUQ6huHmBG1PZLOrqhtK6pXJW3GjfVqJg0Z/qpTdhXfcqWdSZHcT+Nct2fOgewZvytESkw==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [linux]- libc: [glibc]'@biomejs/[email protected]':resolution: {integrity: sha512-0bdwFVSbbM//Sds6OjtnmQGp4eUjOTt6kHvR/1P0ieR9GcTUAlPNvPC3DiavTqq302W34Ae2T6u5VVNGuQtGlQ==}engines: {node: '>=14.21.3'}cpu: [x64]os: [linux]- libc: [musl]'@biomejs/[email protected]':resolution: {integrity: sha512-s+YsZlgiXNq8XkgHs6xdvKDFOj/bwTEevqEY6rC2I3cBHbxXYU1LOZstH3Ffw9hE5tE1sqT7U23C00MzkXztMw==}engines: {node: '>=14.21.3'}cpu: [x64]os: [linux]- libc: [glibc]'@biomejs/[email protected]':resolution: {integrity: sha512-QweDxY89fq0VvrxME+wS/BXKmqMrOTZlN9SqQ79kQSIc3FrEwvW/PvUegQF6XIVaekncDykB5dzPqjbwSKs9DA==}@@ -1826,79 +1827,66 @@ packages:resolution: {integrity: sha512-E8jKK87uOvLrrLN28jnAAAChNq5LeCd2mGgZF+fGF5D507WlG/Noct3lP/QzQ6MrqJ5BCKNwI9ipADB6jyiq2A==}cpu: [arm]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-jQosa5FMYF5Z6prEpTCCmzCXz6eKr/tCBssSmQGEeozA9tkRUty/5Vx06ibaOP9RCrW1Pvb8yp3gvZhHwTDsJw==}cpu: [arm]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-uQVoKkrC1KGEV6udrdVahASIsaF8h7iLG0U0W+Xn14ucFwi6uS539PsAr24IEF9/FoDtzMeeJXJIBo5RkbNWvQ==}cpu: [arm64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-vLZ1yJKLxhQLFKTs42RwTwa6zkGln+bnXc8ueFGMYmBTLfNu58sl5/eXyxRa2RarTkJbXl8TKPgfS6V5ijNqEA==}cpu: [arm64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-FWfHOCub564kSE3xJQLLIC/hbKqHSVxy8vY75/YHHzWvbJL7aYJkdgwD/xGfUlL5UV2SB7otapLrcCj2xnF1dg==}cpu: [loong64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-z1EkujxIh7nbrKL1lmIpqFTc/sr0u8Uk0zK/qIEFldbt6EDKWFk/pxFq3gYj4Bjn3aa9eEhYRlL3H8ZbPT1xvA==}cpu: [loong64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-iNFTluqgdoQC7AIE8Q34R3AuPrJGJirj5wMUErxj22deOcY7XwZRaqYmB6ZKFHoVGqRcRd0mqO+845jAibKCkw==}cpu: [ppc64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-MtMeFVlD2LIKjp2sE2xM2slq3Zxf9zwVuw0jemsxvh1QOpHSsSzfNOTH9uYW9i1MXFxUSMmLpeVeUzoNOKBaWg==}cpu: [ppc64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-in+v6wiHdzzVhYKXIk5U74dEZHdKN9KH0Q4ANHOTvyXPG41bajYRsy7a8TPKbYPl34hU7PP7hMVHRvv/5aCSew==}cpu: [riscv64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-yni2raKHB8m9NQpI9fPVwN754mn6dHQSbDTwxdr9SE0ks38DTjLMMBjrwvB5+mXrX+C0npX0CVeCUcvvvD8CNQ==}cpu: [riscv64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-zhLLJx9nQPu7wezbxt2ut+CI4YlXi68ndEve16tPc/iwoylWS9B3FxpLS2PkmfYgDQtosah07Mj9E0khc3Y+vQ==}cpu: [s390x]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-MVC6UDp16ZSH7x4rtuJPAEoE1RwS8N4oK9DLHy3FTEdFoUTCFVzMfJl/BVJ330C+hx8FfprA5Wqx4FhZXkj2Kw==}cpu: [x64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-ZhGH1eA4Qv0lxaV00azCIS1ChedK0V32952Md3FtnxSqZTBTd6tgil4nZT5cU8B+SIw3PFYkvyR4FKo2oyZIHA==}cpu: [x64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-O16XcmyDeFI9879pEcmtWvD/2nyxR9mF7Gs44lf1vGGx8Vg2DRNx11aVXBEqOQhWb92WN4z7fW/q4+2NYzCbBA==}@@ -1976,28 +1964,24 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [glibc]'@tailwindcss/[email protected]':resolution: {integrity: sha512-1px92582HkPQlaaCkdRcio71p8bc8i/ap5807tPRDK/uw953cauQBT8c5tVGkOwrHMfc2Yh6UuxaH4vtTjGvHg==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [musl]'@tailwindcss/[email protected]':resolution: {integrity: sha512-v3gyT0ivkfBLoZGF9LyHmts0Isc8jHZyVcbzio6Wpzifg/+5ZJpDiRiUhDLkcr7f/r38SWNe7ucxmGW3j3Kb/g==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [glibc]'@tailwindcss/[email protected]':resolution: {integrity: sha512-bhJ2y2OQNlcRwwgOAGMY0xTFStt4/wyU6pvI6LSuZpRgKQwxTec0/3Scu91O8ir7qCR3AuepQKLU/kX99FouqQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [musl]'@tailwindcss/[email protected]':resolution: {integrity: sha512-LffYTvPjODiP6PT16oNeUQJzNVyJl1cjIebq/rWWBF+3eDst5JGEFSc5cWxyRCJ0Mxl+KyIkqRxk1XPEs9x8TA==}@@ -3568,28 +3552,24 @@ packages:engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]- libc: [glibc]resolution: {integrity: sha512-5Vh9dGeblpTxWHpOx8iauV02popZDsCYMPIgiuw97OJ5uaDsL86cnqSFs5LZkG3ghHoX5isLgWzMs+eD1YzrnA==}engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]- libc: [musl]resolution: {integrity: sha512-Cfd46gdmj1vQ+lR6VRTTadNHu6ALuw2pKR9lYq4FnhvgBc4zWY1EtZcAc6EffShbb1MFrIPfLDXD6Xprbnni4w==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]- libc: [glibc]resolution: {integrity: sha512-XJaLUUFXb6/QG2lGIW6aIk6jKdtjtcffUT0NKvIqhSBY3hh9Ch+1LCeH80dR9q9LBjG3ewbDjnumefsLsP6aiA==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]- libc: [musl]resolution: {integrity: sha512-FZn+vaj7zLv//D/192WFFVA0RgHawIcHqLX9xuWiQt7P0PtdFEVaxgF9rjM/IRYHQXNnk61/H/gb2Ei+kUQ4xQ==}@@ -8802,7 +8782,7 @@ snapshots:+ [email protected](patch_hash=7792d0f673a1ab04f4c1ec54d7186880f3a3136b2b0a8335fbd5b62cc43eee31)([email protected]([email protected])):dependencies:'@css-render/plugin-bem': 0.15.14([email protected])'@css-render/vue3-ssr': 0.15.14([email protected]([email protected]))diff --git a/frontend/src/views/auth/MultiFactor.vue b/frontend/src/views/auth/MultiFactor.vueindex ffc09926a0..d895747794 100644--- a/frontend/src/views/auth/MultiFactor.vue+++ b/frontend/src/views/auth/MultiFactor.vue@@ -1,6 +1,6 @@<template><div- class="mx-auto w-full h-full py-6 flex flex-col justify-center items-center"+ class="mx-auto max-w-2xl h-full py-6 flex flex-col justify-center items-center"><NCard class="w-80 p-8 py-6 shadow-sm"><img