From fe8e309399d7f8f61e6a1388cf1820f07efc571f Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Tue, 20 May 2025 13:23:26 +0530 Subject: [PATCH] feat: added password control --- frontend/components.d.ts | 1 + frontend/src/components/Controls/Grid.vue | 8 +++++ frontend/src/components/Controls/Password.vue | 32 +++++++++++++++++++ frontend/src/components/FieldLayout/Field.vue | 8 +++++ .../components/Settings/ProfileSettings.vue | 3 +- frontend/src/components/SidePanelLayout.vue | 10 ++++++ 6 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 frontend/src/components/Controls/Password.vue diff --git a/frontend/components.d.ts b/frontend/components.d.ts index bfacdcf1..e6d532de 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -173,6 +173,7 @@ declare module 'vue' { OrganizationsIcon: typeof import('./src/components/Icons/OrganizationsIcon.vue')['default'] OrganizationsListView: typeof import('./src/components/ListViews/OrganizationsListView.vue')['default'] OutboundCallIcon: typeof import('./src/components/Icons/OutboundCallIcon.vue')['default'] + Password: typeof import('./src/components/Controls/Password.vue')['default'] PauseIcon: typeof import('./src/components/Icons/PauseIcon.vue')['default'] PhoneIcon: typeof import('./src/components/Icons/PhoneIcon.vue')['default'] PinIcon: typeof import('./src/components/Icons/PinIcon.vue')['default'] diff --git a/frontend/src/components/Controls/Grid.vue b/frontend/src/components/Controls/Grid.vue index e08cdd7d..54bc29dc 100644 --- a/frontend/src/components/Controls/Grid.vue +++ b/frontend/src/components/Controls/Grid.vue @@ -216,6 +216,13 @@ :options="field.options" @change="(e) => fieldChange(e.target.value, field, row)" /> + diff --git a/frontend/src/components/FieldLayout/Field.vue b/frontend/src/components/FieldLayout/Field.vue index 64ba37e7..a190817f 100644 --- a/frontend/src/components/FieldLayout/Field.vue +++ b/frontend/src/components/FieldLayout/Field.vue @@ -159,6 +159,13 @@ :description="field.description" @change="fieldChange($event.target.value, field)" /> +