From 7fbe4d0aad346e5c00e15f2899056b40c944155a Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 3 Jan 2025 16:55:35 -0800 Subject: [PATCH] Fix: found a couple more missing components --- src-ui/messages.xlf | 100 +++++++++--------- .../components/admin/tasks/tasks.component.ts | 2 + .../workflow-edit-dialog.component.ts | 4 + .../dashboard/dashboard.component.ts | 9 +- .../document-list/document-list.component.ts | 7 +- 5 files changed, 69 insertions(+), 53 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index e46c0b56a..c22fdc535 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -324,7 +324,7 @@ src/app/components/document-list/document-list.component.ts - 178 + 183 src/app/components/manage/custom-fields/custom-fields.component.html @@ -1589,7 +1589,7 @@ src/app/components/admin/tasks/tasks.component.ts - 42 + 43 src/app/components/admin/trash/trash.component.html @@ -1704,7 +1704,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 80 + 82 src/app/components/document-list/document-list.component.html @@ -1815,7 +1815,7 @@ src/app/components/admin/tasks/tasks.component.ts - 153 + 155 @@ -1871,63 +1871,63 @@ Result src/app/components/admin/tasks/tasks.component.ts - 43 + 44 Dismiss selected src/app/components/admin/tasks/tasks.component.ts - 100 + 102 Dismiss all src/app/components/admin/tasks/tasks.component.ts - 101 + 103 Confirm Dismiss All src/app/components/admin/tasks/tasks.component.ts - 150 + 152 Dismiss all tasks? src/app/components/admin/tasks/tasks.component.ts - 151 + 153 queued src/app/components/admin/tasks/tasks.component.ts - 236 + 238 started src/app/components/admin/tasks/tasks.component.ts - 238 + 240 completed src/app/components/admin/tasks/tasks.component.ts - 240 + 242 failed src/app/components/admin/tasks/tasks.component.ts - 242 + 244 @@ -3431,7 +3431,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 76 + 78 src/app/components/document-list/document-list.component.html @@ -4238,7 +4238,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 122 + 124 src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html @@ -4810,28 +4810,28 @@ Consume Folder src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 61 + 63 API Upload src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 65 + 67 Mail Fetch src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 69 + 71 Modified src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 84 + 86 src/app/data/document.ts @@ -4842,70 +4842,70 @@ Custom Field src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 88 + 90 Consumption Started src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 95 + 97 Document Added src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 99 + 101 Document Updated src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 103 + 105 Scheduled src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 107 + 109 Assignment src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 114 + 116 Removal src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 118 + 120 Webhook src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 126 + 128 Create new workflow src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 219 + 223 Edit workflow src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts - 223 + 227 @@ -5119,6 +5119,17 @@ 31 + + Add + + src/app/components/common/input/entries/entries.component.html + 8 + + + src/app/components/common/permissions-select/permissions-select.component.html + 17 + + Upload @@ -5308,13 +5319,6 @@ 45 - - Add - - src/app/components/common/permissions-select/permissions-select.component.html - 17 - - Change @@ -5870,28 +5874,28 @@ Hello , welcome to src/app/components/dashboard/dashboard.component.ts - 56 + 57 Welcome to src/app/components/dashboard/dashboard.component.ts - 58 + 59 Dashboard updated src/app/components/dashboard/dashboard.component.ts - 89 + 90 Error updating dashboard src/app/components/dashboard/dashboard.component.ts - 92 + 93 @@ -7330,7 +7334,7 @@ src/app/components/document-list/document-list.component.ts - 295 + 300 @@ -7341,7 +7345,7 @@ src/app/components/document-list/document-list.component.ts - 288 + 293 @@ -7598,42 +7602,42 @@ Reset filters / selection src/app/components/document-list/document-list.component.ts - 276 + 281 Open first [selected] document src/app/components/document-list/document-list.component.ts - 304 + 309 Previous page src/app/components/document-list/document-list.component.ts - 320 + 325 Next page src/app/components/document-list/document-list.component.ts - 332 + 337 View "" saved successfully. src/app/components/document-list/document-list.component.ts - 364 + 369 View "" created successfully. src/app/components/document-list/document-list.component.ts - 407 + 412 diff --git a/src-ui/src/app/components/admin/tasks/tasks.component.ts b/src-ui/src/app/components/admin/tasks/tasks.component.ts index b1b1f33ee..e172ed2eb 100644 --- a/src-ui/src/app/components/admin/tasks/tasks.component.ts +++ b/src-ui/src/app/components/admin/tasks/tasks.component.ts @@ -6,6 +6,7 @@ import { NgbCollapseModule, NgbModal, NgbNavModule, + NgbPaginationModule, NgbPopoverModule, } from '@ng-bootstrap/ng-bootstrap' import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons' @@ -57,6 +58,7 @@ const FILTER_TARGETS = [ NgTemplateOutlet, NgbCollapseModule, NgbNavModule, + NgbPaginationModule, NgbPopoverModule, NgxBootstrapIconsModule, ], diff --git a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts index 629042661..130529c03 100644 --- a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts +++ b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts @@ -45,6 +45,8 @@ import { UserService } from 'src/app/services/rest/user.service' import { WorkflowService } from 'src/app/services/rest/workflow.service' import { SettingsService } from 'src/app/services/settings.service' import { ConfirmButtonComponent } from '../../confirm-button/confirm-button.component' +import { CheckComponent } from '../../input/check/check.component' +import { EntriesComponent } from '../../input/entries/entries.component' import { NumberComponent } from '../../input/number/number.component' import { PermissionsGroupComponent } from '../../input/permissions/permissions-group/permissions-group.component' import { PermissionsUserComponent } from '../../input/permissions/permissions-user/permissions-user.component' @@ -136,6 +138,8 @@ const TRIGGER_MATCHING_ALGORITHMS = MATCHING_ALGORITHMS.filter( templateUrl: './workflow-edit-dialog.component.html', styleUrls: ['./workflow-edit-dialog.component.scss'], imports: [ + CheckComponent, + EntriesComponent, SwitchComponent, NumberComponent, TextComponent, diff --git a/src-ui/src/app/components/dashboard/dashboard.component.ts b/src-ui/src/app/components/dashboard/dashboard.component.ts index 8b45b6c8f..94637ba0f 100644 --- a/src-ui/src/app/components/dashboard/dashboard.component.ts +++ b/src-ui/src/app/components/dashboard/dashboard.component.ts @@ -6,7 +6,7 @@ import { moveItemInArray, } from '@angular/cdk/drag-drop' import { Component } from '@angular/core' -import { TourService } from 'ngx-ui-tour-ng-bootstrap' +import { TourNgBootstrapModule, TourService } from 'ngx-ui-tour-ng-bootstrap' import { SavedView } from 'src/app/data/saved-view' import { IfPermissionsDirective } from 'src/app/directives/if-permissions.directive' import { SavedViewService } from 'src/app/services/rest/saved-view.service' @@ -26,14 +26,15 @@ import { WelcomeWidgetComponent } from './widgets/welcome-widget/welcome-widget. templateUrl: './dashboard.component.html', styleUrls: ['./dashboard.component.scss'], imports: [ + LogoComponent, PageHeaderComponent, - UploadFileWidgetComponent, - WelcomeWidgetComponent, SavedViewWidgetComponent, StatisticsWidgetComponent, + UploadFileWidgetComponent, + WelcomeWidgetComponent, IfPermissionsDirective, DragDropModule, - LogoComponent, + TourNgBootstrapModule, ], }) export class DashboardComponent extends ComponentWithPermissions { diff --git a/src-ui/src/app/components/document-list/document-list.component.ts b/src-ui/src/app/components/document-list/document-list.component.ts index d10146ea1..0d4b5d8a3 100644 --- a/src-ui/src/app/components/document-list/document-list.component.ts +++ b/src-ui/src/app/components/document-list/document-list.component.ts @@ -14,7 +14,11 @@ import { Router, RouterModule, } from '@angular/router' -import { NgbDropdownModule, NgbModal } from '@ng-bootstrap/ng-bootstrap' +import { + NgbDropdownModule, + NgbModal, + NgbPaginationModule, +} from '@ng-bootstrap/ng-bootstrap' import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons' import { TourNgBootstrapModule } from 'ngx-ui-tour-ng-bootstrap' import { filter, first, map, Subject, switchMap, takeUntil } from 'rxjs' @@ -79,6 +83,7 @@ import { SaveViewConfigDialogComponent } from './save-view-config-dialog/save-vi ReactiveFormsModule, NgTemplateOutlet, NgbDropdownModule, + NgbPaginationModule, NgClass, RouterModule, TourNgBootstrapModule,