From 87b04682fbc0e04281db0bf26657d41f82e7dbe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 22 Jul 2022 22:12:05 +0300 Subject: [PATCH] Refactor --- api-generator/components/password.js | 12 ------------ src/components/password/Password.d.ts | 14 +++----------- src/components/password/Password.vue | 4 +++- src/views/password/PasswordDoc.vue | 12 ------------ 4 files changed, 6 insertions(+), 36 deletions(-) diff --git a/api-generator/components/password.js b/api-generator/components/password.js index 0cb122793..b50fe93e8 100644 --- a/api-generator/components/password.js +++ b/api-generator/components/password.js @@ -89,18 +89,6 @@ const PasswordProps = [ default: "null", description: "Style class of the input field." }, - { - name: "class", - type: "string", - default: "null", - description: "Style class of the component." - }, - { - name: "style", - type: "any", - default: "null", - description: "Inline of the component." - }, { name: "panelClass", type: "string", diff --git a/src/components/password/Password.d.ts b/src/components/password/Password.d.ts index 3614b8e86..458b0938a 100755 --- a/src/components/password/Password.d.ts +++ b/src/components/password/Password.d.ts @@ -66,23 +66,15 @@ export interface PasswordProps extends InputHTMLAttributes { /** * Inline style of the input field. */ - inputStyle?: any; + inputStyle?: any | undefined; /** * Style class of the input field. */ - inputClass?: any; - /** - * Inline style of the component. - */ - style?: any; - /** - * Style class of the component input field. - */ - class?: any; + inputClass?: any | undefined; /** * Style class of the overlay panel. */ - panelClass?: any; + panelClass?: any | undefined; } export interface PasswordSlots { diff --git a/src/components/password/Password.vue b/src/components/password/Password.vue index 8512685e1..703cabb4c 100755 --- a/src/components/password/Password.vue +++ b/src/components/password/Password.vue @@ -1,6 +1,6 @@