From c2d700b4d676096287aa0f203c3d80ffc1674595 Mon Sep 17 00:00:00 2001 From: Gayan Ramya Kumara Date: Fri, 4 Oct 2024 11:08:15 +0530 Subject: [PATCH 1/2] TAR-1935: Added pre-boarding related icons to OXD Icons (#795) * added preboarding feature related icons list * Revert "added preboarding feature related icons list" This reverts commit 15c4f9e5f2459055c23bae0bdc1afa6590321950. * Added preboarding feature related icons list * updated readme file --- changelog.md | 2 + components/src/core/components/Icon/icons.ts | 202 +++++++++++++++++++ 2 files changed, 204 insertions(+) diff --git a/changelog.md b/changelog.md index cd2ea4d9e..85f7ea90f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +2024-10-03 - 15c4f9e5f2459055c23bae0bdc1afa6590321950 - Icon/icons.ts - Added preboarding feature related icons list + 2024-09-12 - 80222890b5422b9913bc84a4e8dff1831b7272f9 - Icon/icons.ts - Add oxd-outline-drip-dry icon 2024-08-02 - 2529c40ce428a16f6ef2f062b13797ac856a95c9 - components/ListTable/ListTable.vue - Fix rows flashing while loading issue diff --git a/components/src/core/components/Icon/icons.ts b/components/src/core/components/Icon/icons.ts index f477e3e8a..b56b4c443 100644 --- a/components/src/core/components/Icon/icons.ts +++ b/components/src/core/components/Icon/icons.ts @@ -1700,6 +1700,191 @@ export const oxdOutlineDripDry: icon = { `, }; +export const oxdfiles: icon = { + name: 'oxd-files', + value: ` + + + + + + + +`, +}; + +export const oxdDependents: icon = { + name: 'oxd-dependents', + value: ` + + + + + + + + +`, +}; + +export const oxdMemeberships: icon = { + name: 'oxd-memeberships', + value: ` + +`, +}; + +export const oxdNewHire: icon = { + name: 'oxd-new-hire', + value: ` + +`, +}; + +export const oxdOfficeWorker: icon = { + name: 'oxd-office-worker', + value: ` + + + + + +`, +}; + +export const oxdPreBoardingNew: icon = { + name: 'oxd-pre-boarding-new', + value: ` + + + + +`, +}; + +export const oxdPersonal: icon = { + name:'oxd-personal', + value: ` + + + +`, +}; + +export const oxdQualification: icon = { + name: 'oxd-qualification', + value: ` + + + + +`, +}; + +export const oxdRefer: icon = { + name: 'oxd-refer', + value: ` + + + + +`, +}; + +export const oxdReferees: icon = { + name: 'oxd-referees', + value: ` + + + + +`, +}; + +export const oxdBackToCandidateProfile: icon = { + name: 'oxd-back-to-candidate-profile', + value: ` + + + + + + + + + + + + + +`, +}; + +export const oxdContacts: icon = { + name: 'oxd-contacts', + value: ` + + + + + + + + + + +`, +}; + +export const oxdEmergencyContacts: icon = { + name: 'oxd-emergency contacts', + value: ` + + + + + + + + + +`, +}; + +export const oxdJoinEmail: icon = { + name: 'oxd-join-email', + value: ` + +`, +}; + +export const oxdMigration: icon = { + name: 'oxd-migration', + value: ` + + + +`, +}; + +export const oxdSelfIntro: icon = { + name: 'oxd-self-intro', + value: ` + + + + +`, +}; + +export const oxdWelcomeEmail: icon = { + name: 'oxd-welcome-email', + value: ` + + +`, +}; + const icons: Icons = { 'oxd-likes': oxdLikes, 'oxd-birthday': oxdBirthday, @@ -1892,6 +2077,23 @@ const icons: Icons = { 'oxd-email': oxdEmail, 'oxd-document-text-3': oxdDocumentText3, 'oxd-outline-drip-dry': oxdOutlineDripDry, + 'oxd-files': oxdfiles, + 'oxd-dependents': oxdDependents, + 'oxd-memeberships': oxdMemeberships, + 'oxd-new-hire': oxdNewHire, + 'oxd-office-worker': oxdOfficeWorker, + 'oxd-pre-boarding-new': oxdPreBoardingNew, + 'oxd-personal': oxdPersonal, + 'oxd-qualification':oxdQualification, + 'oxd-refer': oxdRefer, + 'oxd-referees': oxdReferees, + 'oxd-back-to-candidate-profile': oxdBackToCandidateProfile, + 'oxd-contacts': oxdContacts, + 'oxd-emergency contacts': oxdEmergencyContacts, + 'oxd-join-email': oxdJoinEmail, + 'oxd-migration': oxdMigration, + 'oxd-self-intro': oxdSelfIntro, + 'oxd-welcome-email':oxdWelcomeEmail }; export default icons; From 660014e0dde40bc6988d177761037de6d87ab858 Mon Sep 17 00:00:00 2001 From: dilansisitha1 <148753344+dilansisitha1@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:26:48 +0530 Subject: [PATCH 2/2] SF-97: Fix form validation not updating when form fields are unmounted (#797) * fix form validation when filed visibility toggled * update read me --- changelog.md | 2 ++ components/src/composables/useFormValidation.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/changelog.md b/changelog.md index 85f7ea90f..e48b5b909 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ 2024-10-03 - 15c4f9e5f2459055c23bae0bdc1afa6590321950 - Icon/icons.ts - Added preboarding feature related icons list +2024-09-26 - a459c2c09ae2ddb76a3c38fe5cf26b3e98eb7c98 - composables/useFormValidation.ts - Fix form validation error not removed when field is toggled + 2024-09-12 - 80222890b5422b9913bc84a4e8dff1831b7272f9 - Icon/icons.ts - Add oxd-outline-drip-dry icon 2024-08-02 - 2529c40ce428a16f6ef2f062b13797ac856a95c9 - components/ListTable/ListTable.vue - Fix rows flashing while loading issue diff --git a/components/src/composables/useFormValidation.ts b/components/src/composables/useFormValidation.ts index 14d85dbde..b8d730b90 100644 --- a/components/src/composables/useFormValidation.ts +++ b/components/src/composables/useFormValidation.ts @@ -65,6 +65,7 @@ export default function useFormValidation() { }), ) .then(results => { + formState.errorbag = []; results.map(errorField => { addError(errorField); });