From 930770581df031c9f7f6b956a4119998bc19f803 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 2 Nov 2026 19:14:25 -0800 Subject: [PATCH] pngx-bs-icon --- .../e2e/document-list/document-list.spec.ts | 2 +- .../admin/config/config.component.html | 6 +- .../admin/settings/settings.component.html | 18 ++--- .../admin/tasks/tasks.component.html | 22 +++--- .../admin/trash/trash.component.html | 16 ++--- .../users-groups/users-groups.component.html | 12 ++-- .../app-frame/app-frame.component.html | 72 +++++++++---------- .../app-frame/app-frame.component.scss | 16 ++--- .../global-search.component.html | 18 ++--- .../global-search.component.scss | 6 +- .../toasts-dropdown.component.html | 6 +- .../components/chat/chat/chat.component.html | 12 ++-- .../bootstrap-icon.component.ts | 4 +- .../components/common/bootstrap-icon/icons.ts | 2 +- .../clearable-badge.component.html | 4 +- .../confirm-button.component.html | 2 +- ...-as-versions-confirm-dialog.component.html | 2 +- .../merge-confirm-dialog.component.html | 2 +- ...word-removal-confirm-dialog.component.html | 4 +- .../rotate-confirm-dialog.component.html | 4 +- .../custom-field-display.component.html | 2 +- .../custom-fields-dropdown.component.html | 4 +- ...ustom-fields-query-dropdown.component.html | 16 ++--- .../dates-dropdown.component.html | 34 ++++----- .../custom-field-edit-dialog.component.html | 2 +- .../workflow-edit-dialog.component.html | 10 +-- .../filterable-dropdown.component.html | 8 +-- .../toggleable-dropdown-button.component.html | 6 +- .../common/input/check/check.component.html | 2 +- .../common/input/color/color.component.html | 2 +- .../custom-fields-values.component.html | 2 +- .../common/input/date/date.component.html | 6 +- .../document-link.component.html | 8 +-- .../document-link.component.scss | 2 +- .../input/entries/entries.component.html | 4 +- .../common/input/file/file.component.html | 4 +- .../input/monetary/monetary.component.html | 2 +- .../common/input/number/number.component.html | 2 +- .../input/password/password.component.html | 2 +- .../common/input/select/select.component.html | 10 +-- .../common/input/switch/switch.component.html | 6 +- .../common/input/tags/tags.component.html | 10 +-- .../common/input/text/text.component.html | 2 +- .../input/textarea/textarea.component.html | 2 +- .../common/input/url/url.component.html | 4 +- .../page-header/page-header.component.html | 6 +- .../pdf-editor/pdf-editor.component.html | 22 +++--- ...permissions-filter-dropdown.component.html | 16 ++--- .../permissions-select.component.html | 4 +- .../preview-popup.component.html | 2 +- .../preview-popup.component.spec.ts | 2 +- .../profile-edit-dialog.component.html | 12 ++-- .../share-link-bundle-dialog.component.html | 4 +- .../share-links-dialog.component.html | 10 +-- .../suggestions-dropdown.component.html | 16 ++--- .../system-status-dialog.component.html | 62 ++++++++-------- .../common/toast/toast.component.html | 10 +-- .../common/toast/toast.component.spec.ts | 6 +- .../upload-status-tray.component.html | 6 +- .../upload-status-tray.component.scss | 4 +- .../dashboard/dashboard.component.html | 4 +- .../saved-view-widget.component.html | 6 +- .../upload-file-widget.component.html | 2 +- .../upload-file-widget.component.scss | 2 +- .../widget-frame/widget-frame.component.html | 4 +- .../widget-frame/widget-frame.component.scss | 2 +- .../document-barcodes.component.html | 4 +- .../document-barcodes.component.spec.ts | 12 ++-- .../document-detail.component.html | 32 ++++----- .../document-version-dropdown.component.html | 14 ++-- .../metadata-collapse.component.html | 4 +- .../bulk-editor/bulk-editor.component.html | 24 +++---- ...tom-fields-bulk-edit-dialog.component.html | 2 +- .../document-card-large.component.html | 30 ++++---- .../document-card-small.component.html | 26 +++---- .../document-list.component.html | 34 ++++----- .../filter-editor.component.html | 4 +- .../document-notes.component.html | 2 +- .../custom-fields.component.html | 8 +-- .../document-attributes.component.html | 18 ++--- .../management-list.component.html | 8 +-- .../manage/mail/mail.component.html | 36 +++++----- .../processed-mail-dialog.component.html | 10 +-- .../saved-views/saved-views.component.html | 2 +- .../share-link-bundle-list.component.html | 8 +-- .../share-link-list.component.html | 6 +- .../manage/workflows/workflows.component.html | 10 +-- .../not-found/not-found.component.html | 2 +- src-ui/src/environments/environment.ts | 2 +- src-ui/src/styles.scss | 4 +- src-ui/src/theme.scss | 2 +- 91 files changed, 443 insertions(+), 445 deletions(-) diff --git a/src-ui/e2e/document-list/document-list.spec.ts b/src-ui/e2e/document-list/document-list.spec.ts index 5365b48268..b86ffa873f 100644 --- a/src-ui/e2e/document-list/document-list.spec.ts +++ b/src-ui/e2e/document-list/document-list.spec.ts @@ -123,7 +123,7 @@ test('sorting', async ({ page }) => { await page.getByRole('button', { name: 'Notes' }).click() await expect(page).toHaveURL(/sort=num_notes/) await page.getByRole('button', { name: 'Sort' }).click() - await page.locator('.w-100 > label > i-bs').first().click() + await page.locator('.w-100 > label > pngx-bs-icon').first().click() await expect(page).not.toHaveURL(/reverse=1/) }) diff --git a/src-ui/src/app/components/admin/config/config.component.html b/src-ui/src/app/components/admin/config/config.component.html index 31e9aecfa6..50ecb8ef03 100644 --- a/src-ui/src/app/components/admin/config/config.component.html +++ b/src-ui/src/app/components/admin/config/config.component.html @@ -28,7 +28,7 @@ {{option.title}} - + @if (isExternallyConfigured(option.config_key)) { @if (isSet(option.key)) { @@ -40,11 +40,11 @@ @if (isSet(option.key)) { @if (isExternallyConfigured(option.config_key)) { } @else { } } diff --git a/src-ui/src/app/components/admin/settings/settings.component.html b/src-ui/src/app/components/admin/settings/settings.component.html index 89ea62c3e1..c314f1afcc 100644 --- a/src-ui/src/app/components/admin/settings/settings.component.html +++ b/src-ui/src/app/components/admin/settings/settings.component.html @@ -5,7 +5,7 @@ i18n-info > @if (canViewSystemStatus) { @@ -181,7 +181,7 @@

@@ -263,9 +263,9 @@ - + - +

diff --git a/src-ui/src/app/components/admin/tasks/tasks.component.html b/src-ui/src/app/components/admin/tasks/tasks.component.html index 1e89963986..7424668d21 100644 --- a/src-ui/src/app/components/admin/tasks/tasks.component.html +++ b/src-ui/src/app/components/admin/tasks/tasks.component.html @@ -7,13 +7,13 @@ >
@@ -86,7 +86,7 @@
@if (filterText?.length) { } @@ -98,7 +98,7 @@ @if (isFiltered) { } @@ -125,7 +125,7 @@ @if (hasMore) { {{tasks.length}} of {{count}} tasks } @else { {count, plural, =1 {1 task} other {{{count}} tasks}} @@ -180,7 +180,7 @@ @if (taskShowsSeparateTypeLabel(task)) { {{ task.task_type_display }} } - {{ task.trigger_source_display }} + {{ task.trigger_source_display }}
{{ task.date_created | customDate:'short' }} @@ -197,7 +197,7 @@ } @if (duplicateDocumentId(task)) {
- + {{ duplicateTaskLabel(task) }}
} @@ -213,18 +213,18 @@ }
@if (task.related_document_ids?.[0]) { - Open Document + Open Document } diff --git a/src-ui/src/app/components/admin/trash/trash.component.html b/src-ui/src/app/components/admin/trash/trash.component.html index 8beb2129d1..372735efe3 100644 --- a/src-ui/src/app/components/admin/trash/trash.component.html +++ b/src-ui/src/app/components/admin/trash/trash.component.html @@ -5,16 +5,16 @@ i18n-info infoLink="usage/#document-trash"> @@ -59,7 +59,7 @@ {{ document.title }} - + {{ getDaysRemaining(document) }} days @@ -67,7 +67,7 @@
@@ -77,10 +77,10 @@
diff --git a/src-ui/src/app/components/admin/users-groups/users-groups.component.html b/src-ui/src/app/components/admin/users-groups/users-groups.component.html index cdabad926f..380b0e2c4f 100644 --- a/src-ui/src/app/components/admin/users-groups/users-groups.component.html +++ b/src-ui/src/app/components/admin/users-groups/users-groups.component.html @@ -11,7 +11,7 @@

Users

@@ -93,9 +93,9 @@ @if (canSaveSettings) { } @@ -105,7 +105,7 @@ - Dashboard + Dashboard @if (settingsService.organizingSidebarItems()) { @@ -117,7 +117,7 @@ (click)="closeMenu()" ngbPopover="Documents" i18n-ngbPopover [disablePopover]="!slimSidebarPopoversEnabled" placement="end" container="body" triggers="mouseenter:mouseleave" popoverClass="popover-slim"> - Documents + Documents @@ -136,7 +136,7 @@ routerLinkActive="active" (click)="closeMenu()" [ngbPopover]="view.name" [disablePopover]="!slimSidebarPopoversEnabled" placement="end" container="body" triggers="mouseenter:mouseleave" popoverClass="popover-slim"> -
{{view.name}}
+
{{view.name}}
@if (showSidebarCounts && !slimSidebarEnabled) { {{ savedViewService.getDocumentCount(view) }} } @@ -147,7 +147,7 @@ @if (settingsService.organizingSidebarSavedViews() && canSaveSettings) {
- +
} @@ -174,10 +174,10 @@ routerLinkActive="active" (click)="closeMenu()" [ngbPopover]="d.title | documentTitle" [disablePopover]="!slimSidebarPopoversEnabled" placement="end" container="body" triggers="mouseenter:mouseleave" popoverClass="popover-slim"> - {{d.title | documentTitle}} + {{d.title | documentTitle}} - + @@ -188,7 +188,7 @@ [class.text-truncate]="!slimSidebarEnabled" (click)="closeAll()" ngbPopover="Close all" i18n-ngbPopover [disablePopover]="!slimSidebarPopoversEnabled" placement="end" container="body" triggers="mouseenter:mouseleave" popoverClass="popover-slim"> - Close all + Close all } @@ -207,7 +207,7 @@ [routerLinkActiveOptions]="{ exact: !(slimSidebarEnabled || attributesSectionsCollapsed) }" (click)="closeMenu()" ngbPopover="Attributes" i18n-ngbPopover [disablePopover]="!slimSidebarPopoversEnabled" placement="end" container="body" triggers="mouseenter:mouseleave" popoverClass="popover-slim"> - Attributes + Attributes @if (!slimSidebarEnabled && canSaveSettings) { }
@@ -228,27 +228,27 @@ @@ -259,7 +259,7 @@ - Saved Views + Saved Views @if (settingsService.organizingSidebarItems()) { @@ -270,7 +270,7 @@ - Share links + Share links @if (settingsService.organizingSidebarItems()) { @@ -283,7 +283,7 @@ - Workflows + Workflows @if (settingsService.organizingSidebarItems()) { @@ -294,7 +294,7 @@ - Mail + Mail @if (settingsService.organizingSidebarItems()) { @@ -304,7 +304,7 @@ - Trash + Trash @@ -320,21 +320,21 @@ - Settings + Settings } @@ -366,7 +366,7 @@ target="_blank" rel="noopener noreferrer" href="https://docs.paperless-ngx.com" ngbPopover="Documentation" i18n-ngbPopover [disablePopover]="!slimSidebarPopoversEnabled" placement="end" container="body" triggers="mouseenter:mouseleave" popoverClass="popover-slim"> - Documentation + Documentation @if (settingsService.organizingSidebarItems()) { @@ -408,7 +408,7 @@ href="https://github.com/paperless-ngx/paperless-ngx/releases" [ngbPopover]="updateAvailablePopContent" popoverClass="shadow" triggers="mouseenter:mouseleave" container="body"> - + @if (appRemoteVersion()?.update_available) { Update available } @@ -418,7 +418,7 @@ - + }
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.scss b/src-ui/src/app/components/app-frame/app-frame.component.scss index 933dd93743..57e605eae1 100644 --- a/src-ui/src/app/components/app-frame/app-frame.component.scss +++ b/src-ui/src/app/components/app-frame/app-frame.component.scss @@ -142,7 +142,7 @@ main { padding-left: 0; padding-right: 0; - i-bs { + pngx-bs-icon { margin-right: 0 !important; } } @@ -268,7 +268,7 @@ main { } } - i-bs { + pngx-bs-icon { position: relative; top: -1px; } @@ -279,7 +279,7 @@ main { align-items: center; min-width: 0; - > i-bs { + > pngx-bs-icon { flex: 0 0 auto; } @@ -373,11 +373,11 @@ main { width: 1.8rem; height: 100%; - i-bs { + pngx-bs-icon { opacity: 0.5; } - &:hover i-bs { + &:hover pngx-bs-icon { opacity: 1; } } @@ -392,7 +392,7 @@ main { text-decoration: underline; } - i-bs { + pngx-bs-icon { margin-bottom: 2px; } } @@ -665,7 +665,7 @@ main { .navbar .dropdown-menu { font-size: 0.875rem; // body size - a i-bs, button i-bs { + a pngx-bs-icon, button pngx-bs-icon { opacity: 0.6; } } @@ -693,7 +693,7 @@ main { cursor: move; } -::ng-deep .navItemDrag .position-absolute i-bs { +::ng-deep .navItemDrag .position-absolute pngx-bs-icon { display: none; } diff --git a/src-ui/src/app/components/app-frame/global-search/global-search.component.html b/src-ui/src/app/components/app-frame/global-search/global-search.component.html index e2748709e0..8b8a4b7f42 100644 --- a/src-ui/src/app/components/app-frame/global-search/global-search.component.html +++ b/src-ui/src/app/components/app-frame/global-search/global-search.component.html @@ -1,7 +1,7 @@
- +
Search } - + }
@@ -35,7 +35,7 @@
- +
{{item[nameProp]}} @if (date) { @@ -49,13 +49,13 @@ [disabled]="disablePrimaryButton(type, item)" (mouseenter)="onButtonHover($event)"> @if (type === DataType.Document) { - Open + Open } @else if (type === DataType.SavedView) { - Open + Open } @else if (type === DataType.Workflow || type === DataType.CustomField || type === DataType.Group || type === DataType.User || type === DataType.MailAccount || type === DataType.MailRule) { - Open + Open } @else { - Filter documents + Filter documents } @if (type !== DataType.SavedView && type !== DataType.Workflow && type !== DataType.CustomField && type !== DataType.Group && type !== DataType.User && type !== DataType.MailAccount && type !== DataType.MailRule) { @@ -65,9 +65,9 @@ [disabled]="disableSecondaryButton(type, item)" (mouseenter)="onButtonHover($event)"> @if (type === DataType.Document) { - Download + Download } @else { - Open + Open } } diff --git a/src-ui/src/app/components/app-frame/global-search/global-search.component.scss b/src-ui/src/app/components/app-frame/global-search/global-search.component.scss index 0576a81db5..5e862fce0a 100644 --- a/src-ui/src/app/components/app-frame/global-search/global-search.component.scss +++ b/src-ui/src/app/components/app-frame/global-search/global-search.component.scss @@ -1,7 +1,7 @@ form { position: relative; - > i-bs[name="search"] { + > pngx-bs-icon[name="search"] { position: absolute; left: 0.6rem; top: .25rem; @@ -14,7 +14,7 @@ form { } &:focus-within { - i-bs[name="search"], + pngx-bs-icon[name="search"], .badge { display: none !important; } @@ -72,7 +72,7 @@ form { .dropdown.show { // Hide the search icon when the dropdown is shown - i-bs[name="search"] { + pngx-bs-icon[name="search"] { display: none !important; } diff --git a/src-ui/src/app/components/app-frame/toasts-dropdown/toasts-dropdown.component.html b/src-ui/src/app/components/app-frame/toasts-dropdown/toasts-dropdown.component.html index 53b28e15da..597690d157 100644 --- a/src-ui/src/app/components/app-frame/toasts-dropdown/toasts-dropdown.component.html +++ b/src-ui/src/app/components/app-frame/toasts-dropdown/toasts-dropdown.component.html @@ -4,7 +4,7 @@ {{ unread().length }} } diff --git a/src-ui/src/app/components/common/bootstrap-icon/bootstrap-icon.component.ts b/src-ui/src/app/components/common/bootstrap-icon/bootstrap-icon.component.ts index 24c4159a32..c470521e42 100644 --- a/src-ui/src/app/components/common/bootstrap-icon/bootstrap-icon.component.ts +++ b/src-ui/src/app/components/common/bootstrap-icon/bootstrap-icon.component.ts @@ -19,9 +19,7 @@ const toKey = (name: string) => * Icons must be registered in `./icons.ts`. */ @Component({ - // keep the selector of the ngx-bootstrap-icons - // eslint-disable-next-line @angular-eslint/component-selector - selector: 'i-bs', + selector: 'pngx-bs-icon', template: '', changeDetection: ChangeDetectionStrategy.OnPush, }) diff --git a/src-ui/src/app/components/common/bootstrap-icon/icons.ts b/src-ui/src/app/components/common/bootstrap-icon/icons.ts index adf91a6223..e4b9e3f0dc 100644 --- a/src-ui/src/app/components/common/bootstrap-icon/icons.ts +++ b/src-ui/src/app/components/common/bootstrap-icon/icons.ts @@ -154,7 +154,7 @@ import xLg from 'bootstrap-icons/icons/x-lg.svg' import x from 'bootstrap-icons/icons/x.svg' /** - * ``. Only icons registered here are bundled but can add + * ``. Only icons registered here are bundled but can add * new ones (any icon from the bootstrap-icons package) as needed. */ export const icons: Record = { diff --git a/src-ui/src/app/components/common/clearable-badge/clearable-badge.component.html b/src-ui/src/app/components/common/clearable-badge/clearable-badge.component.html index 7292ba8eaa..f4ade86cc0 100644 --- a/src-ui/src/app/components/common/clearable-badge/clearable-badge.component.html +++ b/src-ui/src/app/components/common/clearable-badge/clearable-badge.component.html @@ -1,11 +1,11 @@ @if (active()) { } diff --git a/src-ui/src/app/components/common/confirm-button/confirm-button.component.html b/src-ui/src/app/components/common/confirm-button/confirm-button.component.html index f046941231..46617e4bcd 100644 --- a/src-ui/src/app/components/common/confirm-button/confirm-button.component.html +++ b/src-ui/src/app/components/common/confirm-button/confirm-button.component.html @@ -10,7 +10,7 @@ popoverClass="popover-slim" > @if (iconName) { - + } {{label}} diff --git a/src-ui/src/app/components/common/confirm-dialog/merge-as-versions-confirm-dialog/merge-as-versions-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/merge-as-versions-confirm-dialog/merge-as-versions-confirm-dialog.component.html index 283a85bf17..ecd37ce56d 100644 --- a/src-ui/src/app/components/common/confirm-dialog/merge-as-versions-confirm-dialog/merge-as-versions-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/merge-as-versions-confirm-dialog/merge-as-versions-confirm-dialog.component.html @@ -22,7 +22,7 @@ @let document = getDocument(documentID); @if (document) {
  • - +
    @if (document.correspondent) { diff --git a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html index a55e63d320..bc30485f61 100644 --- a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html @@ -15,7 +15,7 @@ @let document = getDocument(documentID); @if (document) {
  • - +
    @if (document.correspondent) { diff --git a/src-ui/src/app/components/common/confirm-dialog/password-removal-confirm-dialog/password-removal-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/password-removal-confirm-dialog/password-removal-confirm-dialog.component.html index 56bf87433f..d351112f52 100644 --- a/src-ui/src/app/components/common/confirm-dialog/password-removal-confirm-dialog/password-removal-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/password-removal-confirm-dialog/password-removal-confirm-dialog.component.html @@ -18,7 +18,7 @@ (ngModelChange)="onUpdateDocumentChange($event)" />
    diff --git a/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html index bba27b1b60..3cf427f565 100644 --- a/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html @@ -7,7 +7,7 @@
    @@ -17,7 +17,7 @@
    diff --git a/src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html b/src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html index 656cae3392..3506b5ea28 100644 --- a/src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html +++ b/src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html @@ -20,7 +20,7 @@ @for (docId of value; track docId) { @if (getDocumentTitle(docId)) { - {{ getDocumentTitle(docId) }} + {{ getDocumentTitle(docId) }} } } diff --git a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html index 2adeaad9b0..11a5b56aae 100644 --- a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html +++ b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html @@ -1,6 +1,6 @@
    @@ -16,7 +16,7 @@ } @if (!filterText?.length || filteredFields.length === 0) { }
    diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html index b04b207adf..51b21b18d2 100644 --- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html +++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html @@ -1,7 +1,7 @@ @if (useDropdown) {
    @@ -187,7 +187,7 @@ }
    @@ -221,14 +221,14 @@
    @if (expression.depth > 0) { }
    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 cb540316f4..76e883fc18 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 @@ -1,6 +1,6 @@
  • diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html index 939ab6ba2a..ee27dc3454 100644 --- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html +++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html @@ -1,6 +1,6 @@
    } @if (filteredItems.length > 0) { } } @if (extraButtonTitle && (showExtraButtonIfEmpty || filteredItems?.length > 0)) { } @if (!editing && manyToOne) { diff --git a/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.html b/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.html index a940ac7335..f9da7f8ccc 100644 --- a/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.html +++ b/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.html @@ -6,13 +6,13 @@ [disabled]="disabled">
    @if (isChecked()) { - + } @if (isPartiallyChecked()) { - + } @if (isExcluded()) { - + }
    diff --git a/src-ui/src/app/components/common/input/check/check.component.html b/src-ui/src/app/components/common/input/check/check.component.html index e3dab36eae..3aa2c8927c 100644 --- a/src-ui/src/app/components/common/input/check/check.component.html +++ b/src-ui/src/app/components/common/input/check/check.component.html @@ -5,7 +5,7 @@ @if (removable) { }
    diff --git a/src-ui/src/app/components/common/input/color/color.component.html b/src-ui/src/app/components/common/input/color/color.component.html index 90e5c3ebf9..8a513a6f6c 100644 --- a/src-ui/src/app/components/common/input/color/color.component.html +++ b/src-ui/src/app/components/common/input/color/color.component.html @@ -15,7 +15,7 @@
    diff --git a/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html b/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html index 46dd4f5ab1..056ad0515c 100644 --- a/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html +++ b/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html @@ -75,7 +75,7 @@ } }
    } diff --git a/src-ui/src/app/components/common/input/date/date.component.html b/src-ui/src/app/components/common/input/date/date.component.html index a60cbf8baf..9eb7fb0d2c 100644 --- a/src-ui/src/app/components/common/input/date/date.component.html +++ b/src-ui/src/app/components/common/input/date/date.component.html @@ -4,7 +4,7 @@ @if (removable) { }
    @@ -14,7 +14,7 @@ (dateSelect)="onChange(value)" (change)="onChange(value)" (keypress)="onKeyPress($event)" (paste)="onPaste($event)" name="dp" [(ngModel)]="value" [ngModelOptions]="{standalone: true}" ngbDatepicker #datePicker="ngbDatepicker" #datePickerContent="ngModel" [disabled]="disabled" [footerTemplate]="datePickerFooterTemplate">
    @@ -24,7 +24,7 @@ @if (showFilter) { }
    diff --git a/src-ui/src/app/components/common/input/document-link/document-link.component.html b/src-ui/src/app/components/common/input/document-link/document-link.component.html index 4630422a96..39a84ac5c3 100644 --- a/src-ui/src/app/components/common/input/document-link/document-link.component.html +++ b/src-ui/src/app/components/common/input/document-link/document-link.component.html @@ -9,7 +9,7 @@ } @if (removable) { }
    @@ -41,15 +41,15 @@
    @if (!disabled) { - + } @if (document.title) { - {{document.title}} + {{document.title}} } @else { - Unavailable + Unavailable }
    diff --git a/src-ui/src/app/components/common/input/document-link/document-link.component.scss b/src-ui/src/app/components/common/input/document-link/document-link.component.scss index c838868444..e42769c71a 100644 --- a/src-ui/src/app/components/common/input/document-link/document-link.component.scss +++ b/src-ui/src/app/components/common/input/document-link/document-link.component.scss @@ -19,7 +19,7 @@ } } -i-bs { +pngx-bs-icon { cursor: pointer; } diff --git a/src-ui/src/app/components/common/input/entries/entries.component.html b/src-ui/src/app/components/common/input/entries/entries.component.html index ed69d87781..6e92ce202d 100644 --- a/src-ui/src/app/components/common/input/entries/entries.component.html +++ b/src-ui/src/app/components/common/input/entries/entries.component.html @@ -5,7 +5,7 @@ }
    @@ -14,7 +14,7 @@
    } diff --git a/src-ui/src/app/components/common/input/file/file.component.html b/src-ui/src/app/components/common/input/file/file.component.html index c23f31ef6a..bfbbab4ad4 100644 --- a/src-ui/src/app/components/common/input/file/file.component.html +++ b/src-ui/src/app/components/common/input/file/file.component.html @@ -6,7 +6,7 @@ } @if (removable) { } @@ -18,7 +18,7 @@
    {{filename}}
    } diff --git a/src-ui/src/app/components/common/input/monetary/monetary.component.html b/src-ui/src/app/components/common/input/monetary/monetary.component.html index be23eadaaf..a94cb1d73e 100644 --- a/src-ui/src/app/components/common/input/monetary/monetary.component.html +++ b/src-ui/src/app/components/common/input/monetary/monetary.component.html @@ -6,7 +6,7 @@ } @if (removable) { } diff --git a/src-ui/src/app/components/common/input/number/number.component.html b/src-ui/src/app/components/common/input/number/number.component.html index 3066d100ea..bbbf6fb576 100644 --- a/src-ui/src/app/components/common/input/number/number.component.html +++ b/src-ui/src/app/components/common/input/number/number.component.html @@ -6,7 +6,7 @@ } @if (removable) { } diff --git a/src-ui/src/app/components/common/input/password/password.component.html b/src-ui/src/app/components/common/input/password/password.component.html index 6d7266619e..a9335c3322 100644 --- a/src-ui/src/app/components/common/input/password/password.component.html +++ b/src-ui/src/app/components/common/input/password/password.component.html @@ -10,7 +10,7 @@ @if (showReveal) { } diff --git a/src-ui/src/app/components/common/input/select/select.component.html b/src-ui/src/app/components/common/input/select/select.component.html index 13f862b241..83d54618ca 100644 --- a/src-ui/src/app/components/common/input/select/select.component.html +++ b/src-ui/src/app/components/common/input/select/select.component.html @@ -7,7 +7,7 @@ } @if (removable) { } @@ -42,26 +42,26 @@ } @if (iconField && item[iconField]) { - + } {{item[bindLabel]}} @if (iconField && item[iconField]) { - + } {{item[bindLabel]}} @if (allowCreateNew && !hideAddButton) { } @if (showFilter) { } diff --git a/src-ui/src/app/components/common/input/switch/switch.component.html b/src-ui/src/app/components/common/input/switch/switch.component.html index 636356d644..4eafff201f 100644 --- a/src-ui/src/app/components/common/input/switch/switch.component.html +++ b/src-ui/src/app/components/common/input/switch/switch.component.html @@ -5,12 +5,12 @@ @if (removable) { } @@ -22,7 +22,7 @@ } diff --git a/src-ui/src/app/components/common/input/tags/tags.component.html b/src-ui/src/app/components/common/input/tags/tags.component.html index 85cf05f1bb..4254b0dca7 100644 --- a/src-ui/src/app/components/common/input/tags/tags.component.html +++ b/src-ui/src/app/components/common/input/tags/tags.component.html @@ -22,7 +22,7 @@ } @if (showFilter) { } diff --git a/src-ui/src/app/components/common/input/text/text.component.html b/src-ui/src/app/components/common/input/text/text.component.html index 95d4ad4da0..5c7c5742e4 100644 --- a/src-ui/src/app/components/common/input/text/text.component.html +++ b/src-ui/src/app/components/common/input/text/text.component.html @@ -6,7 +6,7 @@ } @if (removable) { } diff --git a/src-ui/src/app/components/common/input/textarea/textarea.component.html b/src-ui/src/app/components/common/input/textarea/textarea.component.html index eb6d7e3245..36e8a01ff9 100644 --- a/src-ui/src/app/components/common/input/textarea/textarea.component.html +++ b/src-ui/src/app/components/common/input/textarea/textarea.component.html @@ -6,7 +6,7 @@ } @if (removable) { } diff --git a/src-ui/src/app/components/common/input/url/url.component.html b/src-ui/src/app/components/common/input/url/url.component.html index b6d4b995d8..85a9074522 100644 --- a/src-ui/src/app/components/common/input/url/url.component.html +++ b/src-ui/src/app/components/common/input/url/url.component.html @@ -4,7 +4,7 @@ @if (removable) { } @@ -12,7 +12,7 @@
    - +
    {{error}} diff --git a/src-ui/src/app/components/common/page-header/page-header.component.html b/src-ui/src/app/components/common/page-header/page-header.component.html index 3be16747f4..cd573a6987 100644 --- a/src-ui/src/app/components/common/page-header/page-header.component.html +++ b/src-ui/src/app/components/common/page-header/page-header.component.html @@ -5,7 +5,7 @@ @if (id()) {

    @if (infoLink()) { Read more - + }
    } diff --git a/src-ui/src/app/components/common/pdf-editor/pdf-editor.component.html b/src-ui/src/app/components/common/pdf-editor/pdf-editor.component.html index 436ef5c44e..8d97f04c71 100644 --- a/src-ui/src/app/components/common/pdf-editor/pdf-editor.component.html +++ b/src-ui/src/app/components/common/pdf-editor/pdf-editor.component.html @@ -7,21 +7,21 @@
    @@ -31,18 +31,18 @@
    @@ -78,12 +78,12 @@
    diff --git a/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html b/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html index dc62d2e11d..28de73b665 100644 --- a/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html +++ b/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html @@ -1,6 +1,6 @@
    Copied! @@ -60,7 +60,7 @@
    } @if (!loading()) { - + } Create diff --git a/src-ui/src/app/components/common/suggestions-dropdown/suggestions-dropdown.component.html b/src-ui/src/app/components/common/suggestions-dropdown/suggestions-dropdown.component.html index 87411b8c51..3e66e8cf5f 100644 --- a/src-ui/src/app/components/common/suggestions-dropdown/suggestions-dropdown.component.html +++ b/src-ui/src/app/components/common/suggestions-dropdown/suggestions-dropdown.component.html @@ -4,9 +4,9 @@ @if (loading()) {
    } @else if (noSuggestions) { - + } @else { - + } @if (noSuggestions) { No suggestions @@ -31,19 +31,19 @@
    } @if (suggestions()?.suggested_tags?.length > 0) { - Tags + Tags @for (tag of suggestions().suggested_tags; track tag) { } } @if (suggestions()?.suggested_document_types?.length > 0) { -
    Document Types
    +
    Document Types
    @for (type of suggestions().suggested_document_types; track type) { } } @if (suggestions()?.suggested_correspondents?.length > 0) { -
    Correspondents
    +
    Correspondents
    @for (correspondent of suggestions().suggested_correspondents; track correspondent) { } @@ -61,7 +61,7 @@ @if (aiEnabled()) {
    diff --git a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html index 3724ee788c..fa69904465 100644 --- a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html +++ b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html @@ -24,7 +24,7 @@ {{status().pngx_version}} @if (versionMismatch()) { } @@ -60,9 +60,9 @@ @@ -77,9 +77,9 @@
    @@ -129,11 +129,11 @@ @@ -186,9 +186,9 @@
    @@ -205,14 +205,14 @@ {{status().tasks.classifier_status}} @if (status().tasks.classifier_status === 'OK') { @if (isStale(status().tasks.classifier_last_trained)) { - + } @else { - + } } @else { - + [class.text-warning]="status().tasks.classifier_status === SystemStatusItemStatus.WARNING"> } @if (currentUserIsSuperUser) { @@ -220,7 +220,7 @@
    } @else { } @@ -239,14 +239,14 @@ {{status().tasks.sanity_check_status}} @if (status().tasks.sanity_check_status === 'OK') { @if (isStale(status().tasks.sanity_check_last_run)) { - + } @else { - + } } @else { - + [class.text-warning]="status().tasks.sanity_check_status === SystemStatusItemStatus.WARNING"> } @if (currentUserIsSuperUser) { @@ -254,7 +254,7 @@
    } @else { } @@ -272,10 +272,10 @@ @if (status().websocket_connected === 'OK') { OK - + } @else { Error - + } @@ -286,15 +286,15 @@ {{status().tasks.llmindex_status}} @if (status().tasks.llmindex_status === 'OK') { @if (isStale(status().tasks.llmindex_last_modified)) { - + } @else { - + } } @else { - + [class.text-muted]="status().tasks.llmindex_status === SystemStatusItemStatus.DISABLED"> } @if (currentUserIsSuperUser) { @@ -302,7 +302,7 @@
    } @else { } @@ -326,10 +326,10 @@