From 14b3f939c8cd883210c6697ae74a058541731af9 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, 12 Aug 2022 15:54:51 +0300 Subject: [PATCH] missing docs --- api-generator/components/calendar.js | 12 ++++++++++++ src/components/inputnumber/InputNumber.d.ts | 4 ++++ src/components/password/Password.d.ts | 4 ++++ src/views/calendar/CalendarDoc.vue | 12 ++++++++++++ src/views/inputnumber/InputNumberDoc.vue | 6 ++++++ src/views/password/PasswordDoc.vue | 6 ++++++ 6 files changed, 44 insertions(+) diff --git a/api-generator/components/calendar.js b/api-generator/components/calendar.js index 595067450..f1a19b36b 100644 --- a/api-generator/components/calendar.js +++ b/api-generator/components/calendar.js @@ -227,6 +227,18 @@ const CalendarProps = [ default: "body", description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.' }, + { + name: "disabled", + type: "boolean", + default: "false", + description: "When present, it specifies that the element should be disabled." + }, + { + name: "readonly", + type: "boolean", + default: "false", + description: "When present, it specifies that an input field is read-only." + }, { name: "placeholder", type: "string", diff --git a/src/components/inputnumber/InputNumber.d.ts b/src/components/inputnumber/InputNumber.d.ts index d61fdd492..efad211c0 100755 --- a/src/components/inputnumber/InputNumber.d.ts +++ b/src/components/inputnumber/InputNumber.d.ts @@ -133,6 +133,10 @@ export interface InputNumberProps { * Default value is true. */ allowEmpty?: boolean | undefined; + /** + * When present, it specifies that the component should be disabled. + */ + disabled?: boolean | undefined; /** * When present, it specifies that an input field is read-only. */ diff --git a/src/components/password/Password.d.ts b/src/components/password/Password.d.ts index 5b6c158d4..75ae82507 100755 --- a/src/components/password/Password.d.ts +++ b/src/components/password/Password.d.ts @@ -59,6 +59,10 @@ export interface PasswordProps extends InputHTMLAttributes { * Default value is 'pi pi-eye'. */ showIcon?: string | undefined; + /** + * When present, it specifies that the component should be disabled. + */ + disabled?: boolean | undefined; /** * Placeholder text for the input. */ diff --git a/src/views/calendar/CalendarDoc.vue b/src/views/calendar/CalendarDoc.vue index 399c684be..3b74e5ecb 100755 --- a/src/views/calendar/CalendarDoc.vue +++ b/src/views/calendar/CalendarDoc.vue @@ -429,6 +429,18 @@ export default { A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself. + + disabled + boolean + false + When present, it specifies that the element should be disabled. + + + readonly + boolean + false + When present, it specifies that an input field is read-only. + placeholder string diff --git a/src/views/inputnumber/InputNumberDoc.vue b/src/views/inputnumber/InputNumberDoc.vue index 34ecb1b8f..12ead6615 100755 --- a/src/views/inputnumber/InputNumberDoc.vue +++ b/src/views/inputnumber/InputNumberDoc.vue @@ -272,6 +272,12 @@ Vertical true Determines whether the input field is empty. + + disabled + boolean + false + When present, it specifies that the element should be disabled. + readonly boolean diff --git a/src/views/password/PasswordDoc.vue b/src/views/password/PasswordDoc.vue index d11430b1a..0cc3e5c2c 100755 --- a/src/views/password/PasswordDoc.vue +++ b/src/views/password/PasswordDoc.vue @@ -155,6 +155,12 @@ import Password from 'primevue/password'; pi pi-eye Icon to show displaying the password as plain text. + + disabled + boolean + false + When present, it specifies that the element should be disabled. + placeholder string