From 2b3da349b07be0755a2a884343f1b93503f53646 Mon Sep 17 00:00:00 2001 From: Sergej Schwabauer Date: Thu, 13 Apr 2023 16:38:08 +0200 Subject: [PATCH] Added move and delete functionality --- .../passwordVault/components/AddNewModule.tsx | 11 +- .../passwordVault/components/NoteField.tsx | 2 +- .../components/PasswordVault.module.scss | 34 ++++++ .../components/PasswordVault.tsx | 107 +++++++++++++----- src/webparts/passwordVault/loc/de-de.js | 9 +- src/webparts/passwordVault/loc/en-us.js | 9 +- src/webparts/passwordVault/loc/mystrings.d.ts | 7 ++ 7 files changed, 145 insertions(+), 34 deletions(-) diff --git a/src/webparts/passwordVault/components/AddNewModule.tsx b/src/webparts/passwordVault/components/AddNewModule.tsx index 597e523d5..248d24e2d 100644 --- a/src/webparts/passwordVault/components/AddNewModule.tsx +++ b/src/webparts/passwordVault/components/AddNewModule.tsx @@ -3,6 +3,7 @@ import styles from './PasswordVault.module.scss'; import { cssClasses, isNullOrEmpty } from '@spfxappdev/utility'; import { ActionButton, Callout, Icon, TooltipHost, DirectionalHint } from 'office-ui-fabric-react'; import { ModuleType } from '@src/models'; +import * as strings from 'PasswordVaultWebPartStrings'; export interface IAddNewModuleProps { onModuleSelected(module: ModuleType): void; @@ -29,14 +30,14 @@ export default class AddNewModule extends React.Component