Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(frontend): remove naive-ui InputOtp patch (#20348)
boojack80b1d1a45886
diff --git a/frontend/patches/[email protected] b/frontend/patches/[email protected]deleted file mode 100644index f808859bc9..0000000000--- a/frontend/patches/[email protected]+++ /dev/null@@ -1,44 +0,0 @@-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 c65a809fde..8158d20498 100644--- a/frontend/pnpm-lock.yaml+++ b/frontend/pnpm-lock.yaml@@ -6,9 +6,6 @@ settings:pnpmfileChecksum: sha256-D+Oiltjq0mI5+T73et/+VdZYEDWjB/193i1+mwbpq0Y=-patchedDependencies:- [email protected]: 7792d0f673a1ab04f4c1ec54d7186880f3a3136b2b0a8335fbd5b62cc43eee31-importers:.:@@ -153,7 +150,7 @@ importers:version: 10.7.0naive-ui:specifier: 2.44.1- version: 2.44.1(patch_hash=7792d0f673a1ab04f4c1ec54d7186880f3a3136b2b0a8335fbd5b62cc43eee31)([email protected]([email protected]))+ version: 2.44.1([email protected]([email protected]))normalize-wheel:specifier: ^1.0.1version: 1.0.1@@ -9784,7 +9781,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/pnpm-workspace.yaml b/frontend/pnpm-workspace.yamlindex f99863c61a..fd42c05fc4 100644--- a/frontend/pnpm-workspace.yaml+++ b/frontend/pnpm-workspace.yaml@@ -1,6 +1,3 @@-patchedDependencies:- [email protected]: patches/[email protected]-peerDependencyRules:allowedVersions:typescript: '6'