From b828424acab22ba0dad0ef0b53add70bed3f29ee Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 4 Mar 2025 23:39:39 -0800 Subject: [PATCH] Use ng select --- src-ui/messages.xlf | 51 ++++++----- .../dates-dropdown.component.html | 89 +++++++++++-------- .../dates-dropdown.component.spec.ts | 38 ++++++-- .../dates-dropdown.component.ts | 43 +++++---- 4 files changed, 142 insertions(+), 79 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 58d8d0d4c..5931ea867 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -1732,7 +1732,7 @@ src/app/components/common/dates-dropdown/dates-dropdown.component.html - 11 + 10 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts @@ -3344,19 +3344,19 @@ src/app/components/common/dates-dropdown/dates-dropdown.component.html - 50 + 56 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 76 + 82 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 126 + 137 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 152 + 163 src/app/components/common/input/date/date.component.html @@ -3371,19 +3371,19 @@ src/app/components/common/dates-dropdown/dates-dropdown.component.html - 51 + 57 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 77 + 83 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 127 + 138 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 153 + 164 src/app/components/common/input/date/date.component.html @@ -3502,44 +3502,55 @@ 168 + + Relative dates + + src/app/components/common/dates-dropdown/dates-dropdown.component.html + 27 + + + src/app/components/common/dates-dropdown/dates-dropdown.component.html + 110 + + now src/app/components/common/dates-dropdown/dates-dropdown.component.html - 25 + 32 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 101 + 114 From src/app/components/common/dates-dropdown/dates-dropdown.component.html - 42 + 48 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 118 + 129 To src/app/components/common/dates-dropdown/dates-dropdown.component.html - 68 + 74 src/app/components/common/dates-dropdown/dates-dropdown.component.html - 144 + 155 Added src/app/components/common/dates-dropdown/dates-dropdown.component.html - 86 + 92 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts @@ -3562,28 +3573,28 @@ Within 1 week src/app/components/common/dates-dropdown/dates-dropdown.component.ts - 67 + 70 Within 1 month src/app/components/common/dates-dropdown/dates-dropdown.component.ts - 72 + 75 Within 3 months src/app/components/common/dates-dropdown/dates-dropdown.component.ts - 77 + 80 Within 1 year src/app/components/common/dates-dropdown/dates-dropdown.component.ts - 82 + 85 diff --git a/src-ui/src/app/components/common/dates-dropdown/dates-dropdown.component.html b/src-ui/src/app/components/common/dates-dropdown/dates-dropdown.component.html index c3ff61ba8..2e113bd2a 100644 --- a/src-ui/src/app/components/common/dates-dropdown/dates-dropdown.component.html +++ b/src-ui/src/app/components/common/dates-dropdown/dates-dropdown.component.html @@ -7,27 +7,33 @@