@alfresco/aca-content 7.0.1 → 7.1.0-17236965490
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/about/aca-about.module.d.ts +25 -2
- package/assets/i18n/ar.json +3 -1
- package/assets/i18n/cs.json +3 -1
- package/assets/i18n/da.json +3 -1
- package/assets/i18n/de.json +3 -1
- package/assets/i18n/en.json +3 -1
- package/assets/i18n/es.json +3 -1
- package/assets/i18n/fi.json +3 -1
- package/assets/i18n/fr.json +3 -1
- package/assets/i18n/it.json +3 -1
- package/assets/i18n/ja.json +3 -1
- package/assets/i18n/nl.json +3 -1
- package/assets/i18n/no.json +3 -1
- package/assets/i18n/pl.json +3 -1
- package/assets/i18n/pt-BR.json +3 -1
- package/assets/i18n/ru.json +3 -1
- package/assets/i18n/sv.json +3 -1
- package/assets/i18n/zh-CN.json +3 -1
- package/fesm2022/alfresco-aca-content-about.mjs +17 -12
- package/fesm2022/alfresco-aca-content-about.mjs.map +1 -1
- package/fesm2022/alfresco-aca-content-folder-rules.mjs +36 -35
- package/fesm2022/alfresco-aca-content-folder-rules.mjs.map +1 -1
- package/fesm2022/alfresco-aca-content-ms-office.mjs +21 -16
- package/fesm2022/alfresco-aca-content-ms-office.mjs.map +1 -1
- package/fesm2022/alfresco-aca-content-viewer.mjs.map +1 -1
- package/fesm2022/alfresco-aca-content.mjs +4218 -4589
- package/fesm2022/alfresco-aca-content.mjs.map +1 -1
- package/folder-rules/folder-rules.module.d.ts +5 -2
- package/folder-rules/model/rule.model.d.ts +1 -0
- package/lib/aca-content.module.d.ts +4 -41
- package/lib/components/search/search-input/search-input.component.d.ts +2 -0
- package/lib/components/search/search-input-control/search-input-control.component.d.ts +13 -3
- package/lib/components/search/search-results/search-results.component.d.ts +1 -1
- package/lib/store/app-store.module.d.ts +1 -4
- package/ms-office/aos-extension.module.d.ts +3 -27
- package/package.json +5 -5
- package/public-api.d.ts +0 -2
- package/lib/components/common/index.d.ts +0 -29
- package/lib/components/common/language-picker/language-picker.component.d.ts +0 -5
- package/lib/components/search/index.d.ts +0 -30
- package/lib/components/sidenav/components/button-menu.component.d.ts +0 -37
- package/lib/components/sidenav/directives/expansion-panel.directive.d.ts +0 -43
- package/lib/components/sidenav/directives/menu-panel.directive.d.ts +0 -41
- package/lib/components/sidenav/index.d.ts +0 -33
- package/lib/components/toolbar/index.d.ts +0 -31
- package/lib/extensions/core.extensions.module.d.ts +0 -32
- package/lib/extensions/provide-extensions.d.ts +0 -25
|
@@ -1,7 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Provider } from '@angular/core';
|
|
2
25
|
import * as i0 from "@angular/core";
|
|
26
|
+
export declare function provideAboutExtension(): Provider[];
|
|
3
27
|
export declare class AcaAboutModule {
|
|
4
|
-
constructor(extensions: ExtensionService);
|
|
5
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcaAboutModule, never>;
|
|
6
29
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AcaAboutModule, never, never, never>;
|
|
7
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<AcaAboutModule>;
|
package/assets/i18n/ar.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "ملفات",
|
|
575
575
|
"FOLDERS": "مجلدات",
|
|
576
576
|
"LIBRARIES": "مكتبات",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "يجب أن يحتوي إدخال البحث على حرفين أبجديين رقميين على الأقل.",
|
|
578
|
+
"REQUIRED": "إدخال البحث مطلوب.",
|
|
579
|
+
"WHITESPACE": "لا يمكن لمدخلات البحث أن تكون مساحة بيضاء فقط."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "صنف حسب",
|
package/assets/i18n/cs.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Soubory",
|
|
575
575
|
"FOLDERS": "Složky",
|
|
576
576
|
"LIBRARIES": "Knihovny",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Hledaný výraz musí obsahovat kombinaci alespoň 2 písmen a číslic.",
|
|
578
|
+
"REQUIRED": "Je vyžadován vstup pro vyhledávání.",
|
|
579
|
+
"WHITESPACE": "Zadání hledání nemůže být pouze mezera."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Řadit podle",
|
package/assets/i18n/da.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Filer",
|
|
575
575
|
"FOLDERS": "Mapper",
|
|
576
576
|
"LIBRARIES": "Biblioteker",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Din søgetekst skal være på mindst 2 tal/bogstaver.",
|
|
578
|
+
"REQUIRED": "Søg input er påkrævet.",
|
|
579
|
+
"WHITESPACE": "Søg input kan ikke kun være mellemrum."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Sortér efter",
|
package/assets/i18n/de.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Dateien",
|
|
575
575
|
"FOLDERS": "Ordner",
|
|
576
576
|
"LIBRARIES": "Bibliotheken",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Die Sucheingabe muss mindestens zwei alphanumerische Zeichen umfassen.",
|
|
578
|
+
"REQUIRED": "Sucheingabe ist erforderlich.",
|
|
579
|
+
"WHITESPACE": "Sucheingabe darf nicht nur Leerzeichen sein."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Sortieren nach",
|
package/assets/i18n/en.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Files",
|
|
575
575
|
"FOLDERS": "Folders",
|
|
576
576
|
"LIBRARIES": "Libraries",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Search input must have at least 2 alphanumeric characters.",
|
|
578
|
+
"REQUIRED": "Search input is required.",
|
|
579
|
+
"WHITESPACE": "Search input cannot be only whitespace."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Sort by",
|
package/assets/i18n/es.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Ficheros",
|
|
575
575
|
"FOLDERS": "Carpetas",
|
|
576
576
|
"LIBRARIES": "Bibliotecas",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "La cadena de búsqueda debe contener al menos 2 caracteres alfanuméricos",
|
|
578
|
+
"REQUIRED": "Se requiere entrada de búsqueda.",
|
|
579
|
+
"WHITESPACE": "Entrada de búsqueda no puede ser solo espacio en blanco."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Clasificar por",
|
package/assets/i18n/fi.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Tiedostot",
|
|
575
575
|
"FOLDERS": "Kansiot",
|
|
576
576
|
"LIBRARIES": "Kirjastot",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Hakuehdoissa täytyy olla vähintään kaksi aakkosnumeerista merkkiä.",
|
|
578
|
+
"REQUIRED": "Hakusyöte on pakollinen.",
|
|
579
|
+
"WHITESPACE": "Hakusyöte ei voi olla vain valkoinen."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Järjestä",
|
package/assets/i18n/fr.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Fichiers",
|
|
575
575
|
"FOLDERS": "Dossiers",
|
|
576
576
|
"LIBRARIES": "Bibliothèques",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "L'élément de recherche doit comporter au moins 2 caractères alphanumériques.",
|
|
578
|
+
"REQUIRED": "La recherche est obligatoire.",
|
|
579
|
+
"WHITESPACE": "L'entrée de recherche ne peut pas être uniquement un espace."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Trier par",
|
package/assets/i18n/it.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "File",
|
|
575
575
|
"FOLDERS": "Cartelle",
|
|
576
576
|
"LIBRARIES": "Librerie",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "La stringa di ricerca deve contenere almeno 2 caratteri alfanumerici.",
|
|
578
|
+
"REQUIRED": "L'input di ricerca è obbligatorio.",
|
|
579
|
+
"WHITESPACE": "L'input di ricerca non può essere solo spazi bianchi."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Ordina per",
|
package/assets/i18n/ja.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "ファイル",
|
|
575
575
|
"FOLDERS": "フォルダ",
|
|
576
576
|
"LIBRARIES": "ライブラリ",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "検索する語句は、2 文字以上の英数字で入力してください。",
|
|
578
|
+
"REQUIRED": "検索入力が必要です。",
|
|
579
|
+
"WHITESPACE": "検索入力は空白にはできません。"
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "並べ替え",
|
package/assets/i18n/nl.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Bestanden",
|
|
575
575
|
"FOLDERS": "Mappen",
|
|
576
576
|
"LIBRARIES": "Bibliotheken",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Invoer voor een zoekopdracht moet uit minstens 2 alfanumerieke tekens bestaan.",
|
|
578
|
+
"REQUIRED": "Zoekinvoer is vereist.",
|
|
579
|
+
"WHITESPACE": "Zoekinvoer kan niet alleen witruimte zijn."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Sorteren op",
|
package/assets/i18n/no.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Filer",
|
|
575
575
|
"FOLDERS": "Mapper",
|
|
576
576
|
"LIBRARIES": "Biblioteker",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Søketeksten må bestå av minst 2 alfanumeriske tegn.",
|
|
578
|
+
"REQUIRED": "Søk i inndata er påkrevd.",
|
|
579
|
+
"WHITESPACE": "Søkeinndata kan ikke bare være i blanke rom."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Sorter etter",
|
package/assets/i18n/pl.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Pliki",
|
|
575
575
|
"FOLDERS": "Foldery",
|
|
576
576
|
"LIBRARIES": "Biblioteki",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Tekst do wyszukiwania musi mieć co najmniej 2 znaki alfanumeryczne.",
|
|
578
|
+
"REQUIRED": "Wymagane jest wyszukiwanie.",
|
|
579
|
+
"WHITESPACE": "Pole wyszukiwania nie może być tylko spacją białą."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Sortuj wg",
|
package/assets/i18n/pt-BR.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Arquivos",
|
|
575
575
|
"FOLDERS": "Pastas",
|
|
576
576
|
"LIBRARIES": "Bibliotecas",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "O termo da pesquisa deve ter no mínimo 2 caracteres alfanuméricos.",
|
|
578
|
+
"REQUIRED": "Campo de pesquisa é obrigatório",
|
|
579
|
+
"WHITESPACE": "Entrada de pesquisa não pode ser apenas espaço em branco."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Classificar por",
|
package/assets/i18n/ru.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Файлы",
|
|
575
575
|
"FOLDERS": "Папки",
|
|
576
576
|
"LIBRARIES": "Библиотеки",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Поисковый запрос должен содержать как минимум два буквенно-цифровых символа.",
|
|
578
|
+
"REQUIRED": "Требуется ввести введенный поиск.",
|
|
579
|
+
"WHITESPACE": "Поисковый запрос не может быть только пробелов."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Сортировать по",
|
package/assets/i18n/sv.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "Filer",
|
|
575
575
|
"FOLDERS": "Mappar",
|
|
576
576
|
"LIBRARIES": "Bibliotek",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "Sökindata måste ha minst 2 alfanumeriska tecken.",
|
|
578
|
+
"REQUIRED": "Sökindata måste fyllas i.",
|
|
579
|
+
"WHITESPACE": "Sökinmatningen kan inte bara vara blankt."
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "Sortera efter",
|
package/assets/i18n/zh-CN.json
CHANGED
|
@@ -574,7 +574,9 @@
|
|
|
574
574
|
"FILES": "文件",
|
|
575
575
|
"FOLDERS": "文件夹",
|
|
576
576
|
"LIBRARIES": "库",
|
|
577
|
-
"
|
|
577
|
+
"MIN_LENGTH": "搜索输入必须至少具有 2 个字母数字字符。",
|
|
578
|
+
"REQUIRED": "搜索输入是必需的。",
|
|
579
|
+
"WHITESPACE": "搜索输入不能仅为空格。"
|
|
578
580
|
},
|
|
579
581
|
"SORT": {
|
|
580
582
|
"SORTING_OPTION": "排序方式",
|
|
@@ -13,8 +13,7 @@ import * as i1 from '@angular/common';
|
|
|
13
13
|
import { CommonModule } from '@angular/common';
|
|
14
14
|
import * as i5 from '@angular/material/button';
|
|
15
15
|
import { MatButtonModule } from '@angular/material/button';
|
|
16
|
-
import
|
|
17
|
-
import { provideExtensionConfig } from '@alfresco/adf-extensions';
|
|
16
|
+
import { provideExtensionConfig, provideExtensions } from '@alfresco/adf-extensions';
|
|
18
17
|
|
|
19
18
|
/*!
|
|
20
19
|
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -140,22 +139,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
140
139
|
* You should have received a copy of the GNU Lesser General Public License
|
|
141
140
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
142
141
|
*/
|
|
142
|
+
function provideAboutExtension() {
|
|
143
|
+
return [
|
|
144
|
+
provideExtensionConfig(['about.plugin.json']),
|
|
145
|
+
provideExtensions({
|
|
146
|
+
components: {
|
|
147
|
+
'app.about.component': AboutComponent
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
];
|
|
151
|
+
}
|
|
152
|
+
/* @deprecated use `provideAboutExtension()` provider api instead */
|
|
143
153
|
class AcaAboutModule {
|
|
144
|
-
|
|
145
|
-
extensions.setComponents({
|
|
146
|
-
'app.about.component': AboutComponent
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, deps: [{ token: i1$1.ExtensionService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
154
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
150
155
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule });
|
|
151
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, providers: [
|
|
156
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, providers: [...provideAboutExtension()] });
|
|
152
157
|
}
|
|
153
158
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, decorators: [{
|
|
154
159
|
type: NgModule,
|
|
155
160
|
args: [{
|
|
156
|
-
providers: [
|
|
161
|
+
providers: [...provideAboutExtension()]
|
|
157
162
|
}]
|
|
158
|
-
}]
|
|
163
|
+
}] });
|
|
159
164
|
|
|
160
165
|
/*!
|
|
161
166
|
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -185,5 +190,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
185
190
|
* Generated bundle index. Do not edit.
|
|
186
191
|
*/
|
|
187
192
|
|
|
188
|
-
export { AboutComponent, AcaAboutModule, DEV_MODE_TOKEN, PACKAGE_JSON };
|
|
193
|
+
export { AboutComponent, AcaAboutModule, DEV_MODE_TOKEN, PACKAGE_JSON, provideAboutExtension };
|
|
189
194
|
//# sourceMappingURL=alfresco-aca-content-about.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alfresco-aca-content-about.mjs","sources":["../../../../projects/aca-content/about/src/dev-mode.tokens.ts","../../../../projects/aca-content/about/src/package-json.token.ts","../../../../projects/aca-content/about/src/about.component.ts","../../../../projects/aca-content/about/src/about.component.html","../../../../projects/aca-content/about/src/aca-about.module.ts","../../../../projects/aca-content/about/src/public-api.ts","../../../../projects/aca-content/about/src/alfresco-aca-content-about.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const DEV_MODE_TOKEN = new InjectionToken<boolean>('devMode');\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const PACKAGE_JSON = new InjectionToken<any>('PACKAGE_JSON');\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { AboutModule, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { AppExtensionService, AppSettingsService, PageLayoutComponent } from '@alfresco/aca-shared';\nimport { RouterModule } from '@angular/router';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n imports: [CommonModule, TranslatePipe, AboutModule, RouterModule, MatIconModule, MatButtonModule, PageLayoutComponent],\n selector: 'app-about-page',\n templateUrl: './about.component.html',\n styleUrls: ['./about.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class AboutComponent implements OnInit {\n private authService = inject(AuthenticationService);\n private appExtensions = inject(AppExtensionService);\n private appSettings = inject(AppSettingsService);\n private discovery = inject(DiscoveryApiService);\n public packageJson? = inject(PACKAGE_JSON, { optional: true });\n public dev = inject(DEV_MODE_TOKEN);\n\n extensions$ = this.appExtensions.references$;\n repository: RepositoryInfo = null;\n landingPage = this.appSettings.landingPage;\n\n ngOnInit(): void {\n if (this.authService.isEcmLoggedIn()) {\n this.setECMInfo();\n }\n }\n\n setECMInfo() {\n this.discovery.getEcmProductInfo().subscribe((repository) => {\n this.repository = repository as RepositoryInfo;\n });\n }\n}\n","<aca-page-layout>\n <div class=\"aca-page-layout-header\">\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </div>\n\n <div class=\"aca-page-layout-content aca-scrollable\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings />\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\" />\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\" />\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\" />\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </div>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { AboutComponent } from './about.component';\nimport { ExtensionService, provideExtensionConfig } from '@alfresco/adf-extensions';\n\n@NgModule({\n providers: [provideExtensionConfig(['about.plugin.json'])]\n})\nexport class AcaAboutModule {\n constructor(extensions: ExtensionService) {\n extensions.setComponents({\n 'app.about.component': AboutComponent\n });\n }\n}\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './about.component';\nexport * from './aca-about.module';\nexport * from './dev-mode.tokens';\nexport * from './package-json.token';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,cAAc,GAAG,IAAI,cAAc,CAAU,SAAS;;AC1BnE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,YAAY,GAAG,IAAI,cAAc,CAAM,cAAc;;AC1BlE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAqBU,cAAc,CAAA;AACjB,IAAA,WAAW,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAC3C,IAAA,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAC3C,IAAA,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACxC,IAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC;IACxC,WAAW,GAAI,MAAM,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACvD,IAAA,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC;AAEnC,IAAA,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW;IAC5C,UAAU,GAAmB,IAAI;AACjC,IAAA,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW;IAE1C,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,EAAE;YACpC,IAAI,CAAC,UAAU,EAAE;QACnB;IACF;IAEA,UAAU,GAAA;QACR,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,CAAC,SAAS,CAAC,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AAA,qzCAAA,EAAA,MAAA,EAAA,CAAA,qDAAA,CAAA,EAAA;;;AEzCvC;;;;;;;;;;;;;;;;;;;;;;AAsBG;MASU,cAAc,CAAA;AACzB,IAAA,WAAA,CAAY,UAA4B,EAAA;QACtC,UAAU,CAAC,aAAa,CAAC;AACvB,YAAA,qBAAqB,EAAE;AACxB,SAAA,CAAC;IACJ;uGALW,cAAc,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAd,cAAc,EAAA,CAAA;wGAAd,cAAc,EAAA,SAAA,EAFd,CAAC,sBAAsB,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAA,CAAA;;2FAE/C,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,SAAS,EAAE,CAAC,sBAAsB,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAC1D,iBAAA;;;AC9BD;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"alfresco-aca-content-about.mjs","sources":["../../../../projects/aca-content/about/src/dev-mode.tokens.ts","../../../../projects/aca-content/about/src/package-json.token.ts","../../../../projects/aca-content/about/src/about.component.ts","../../../../projects/aca-content/about/src/about.component.html","../../../../projects/aca-content/about/src/aca-about.module.ts","../../../../projects/aca-content/about/src/public-api.ts","../../../../projects/aca-content/about/src/alfresco-aca-content-about.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const DEV_MODE_TOKEN = new InjectionToken<boolean>('devMode');\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const PACKAGE_JSON = new InjectionToken<any>('PACKAGE_JSON');\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { AboutModule, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { AppExtensionService, AppSettingsService, PageLayoutComponent } from '@alfresco/aca-shared';\nimport { RouterModule } from '@angular/router';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n imports: [CommonModule, TranslatePipe, AboutModule, RouterModule, MatIconModule, MatButtonModule, PageLayoutComponent],\n selector: 'app-about-page',\n templateUrl: './about.component.html',\n styleUrls: ['./about.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class AboutComponent implements OnInit {\n private authService = inject(AuthenticationService);\n private appExtensions = inject(AppExtensionService);\n private appSettings = inject(AppSettingsService);\n private discovery = inject(DiscoveryApiService);\n public packageJson? = inject(PACKAGE_JSON, { optional: true });\n public dev = inject(DEV_MODE_TOKEN);\n\n extensions$ = this.appExtensions.references$;\n repository: RepositoryInfo = null;\n landingPage = this.appSettings.landingPage;\n\n ngOnInit(): void {\n if (this.authService.isEcmLoggedIn()) {\n this.setECMInfo();\n }\n }\n\n setECMInfo() {\n this.discovery.getEcmProductInfo().subscribe((repository) => {\n this.repository = repository as RepositoryInfo;\n });\n }\n}\n","<aca-page-layout>\n <div class=\"aca-page-layout-header\">\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </div>\n\n <div class=\"aca-page-layout-content aca-scrollable\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings />\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\" />\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\" />\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\" />\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </div>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule, Provider } from '@angular/core';\nimport { AboutComponent } from './about.component';\nimport { provideExtensionConfig, provideExtensions } from '@alfresco/adf-extensions';\n\nexport function provideAboutExtension(): Provider[] {\n return [\n provideExtensionConfig(['about.plugin.json']),\n provideExtensions({\n components: {\n 'app.about.component': AboutComponent\n }\n })\n ];\n}\n\n/* @deprecated use `provideAboutExtension()` provider api instead */\n@NgModule({\n providers: [...provideAboutExtension()]\n})\nexport class AcaAboutModule {}\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './about.component';\nexport * from './aca-about.module';\nexport * from './dev-mode.tokens';\nexport * from './package-json.token';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,cAAc,GAAG,IAAI,cAAc,CAAU,SAAS;;AC1BnE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,YAAY,GAAG,IAAI,cAAc,CAAM,cAAc;;AC1BlE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAqBU,cAAc,CAAA;AACjB,IAAA,WAAW,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAC3C,IAAA,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAC3C,IA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Q;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE,CAAC,GAAG,qBAAqB,EAAE;AACvC,iBAAA;;;AC1CD;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i2 from '@alfresco/adf-core';
|
|
2
2
|
import { CardViewSelectItemModel, CardViewTextItemModel, CardViewBoolItemModel, CardViewComponent, CardViewUpdateService, NotificationService, EmptyContentComponent, ConfirmDialogComponent, ToolbarTitleComponent, ToolbarComponent, provideTranslations } from '@alfresco/adf-core';
|
|
3
|
-
import
|
|
4
|
-
import { provideExtensionConfig } from '@alfresco/adf-extensions';
|
|
3
|
+
import { provideExtensionConfig, provideExtensions } from '@alfresco/adf-extensions';
|
|
5
4
|
import * as i0 from '@angular/core';
|
|
6
5
|
import { Injectable, forwardRef, ViewEncapsulation, Component, inject, DestroyRef, Input, HostBinding, EventEmitter, Output, Inject, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
6
|
import * as i3$2 from '@angular/router';
|
|
@@ -1533,6 +1532,7 @@ class RuleDetailsUiComponent {
|
|
|
1533
1532
|
id: newValue.id || FolderRulesService.emptyRule.id,
|
|
1534
1533
|
name: newValue.name || FolderRulesService.emptyRule.name,
|
|
1535
1534
|
description: newValue.description || FolderRulesService.emptyRule.description,
|
|
1535
|
+
isShared: newValue.isShared || FolderRulesService.emptyRule.isShared,
|
|
1536
1536
|
triggers: newValue.triggers || FolderRulesService.emptyRule.triggers,
|
|
1537
1537
|
conditions: newValue.conditions || FolderRulesService.emptyRule.conditions,
|
|
1538
1538
|
actions: newValue.actions || FolderRulesService.emptyRule.actions,
|
|
@@ -1584,6 +1584,7 @@ class RuleDetailsUiComponent {
|
|
|
1584
1584
|
id: new UntypedFormControl(this.value.id),
|
|
1585
1585
|
name: new UntypedFormControl(this.value.name || '', Validators.required),
|
|
1586
1586
|
description: new UntypedFormControl(this.value.description || ''),
|
|
1587
|
+
isShared: new UntypedFormControl(this.value.isShared || false),
|
|
1587
1588
|
triggers: new UntypedFormControl(this.value.triggers || ['inbound'], Validators.required),
|
|
1588
1589
|
conditions: new UntypedFormControl(this.value.conditions || {
|
|
1589
1590
|
inverted: false,
|
|
@@ -1976,7 +1977,7 @@ class FolderRuleSetsService {
|
|
|
1976
1977
|
if (!entry) {
|
|
1977
1978
|
return of(null);
|
|
1978
1979
|
}
|
|
1979
|
-
return combineLatest(this.currentFolder?.id === entry.owningFolder ? of(this.currentFolder) : this.getNodeInfo(entry.owningFolder || ''), this.folderRulesService.getRules(this.currentFolder
|
|
1980
|
+
return combineLatest(this.currentFolder?.id === entry.owningFolder ? of(this.currentFolder) : this.getNodeInfo(entry.owningFolder || ''), this.folderRulesService.getRules(this.currentFolder?.id || '', entry.id)).pipe(map(([owningFolderNodeInfo, getRulesRes]) => ({
|
|
1980
1981
|
id: entry.id,
|
|
1981
1982
|
isLinkedTo: entry.isLinkedTo || false,
|
|
1982
1983
|
owningFolder: owningFolderNodeInfo,
|
|
@@ -1987,29 +1988,22 @@ class FolderRuleSetsService {
|
|
|
1987
1988
|
})));
|
|
1988
1989
|
}
|
|
1989
1990
|
removeRuleFromMainRuleSet(ruleId) {
|
|
1990
|
-
if (this.mainRuleSet) {
|
|
1991
|
-
|
|
1992
|
-
if (index > -1) {
|
|
1993
|
-
if (this.mainRuleSet.rules.length > 1) {
|
|
1994
|
-
this.mainRuleSet.rules.splice(index, 1);
|
|
1995
|
-
}
|
|
1996
|
-
else {
|
|
1997
|
-
this.mainRuleSet = null;
|
|
1998
|
-
}
|
|
1999
|
-
this.mainRuleSetSource.next(this.mainRuleSet);
|
|
2000
|
-
this.folderRulesService.selectRule(this.mainRuleSet?.rules[0] ?? this.inheritedRuleSets[0]?.rules[0] ?? null);
|
|
2001
|
-
}
|
|
1991
|
+
if (!this.mainRuleSet) {
|
|
1992
|
+
return;
|
|
2002
1993
|
}
|
|
1994
|
+
const updatedRules = this.mainRuleSet.rules.filter((rule) => rule.id !== ruleId);
|
|
1995
|
+
const newMainRuleSet = updatedRules.length ? { ...this.mainRuleSet, rules: updatedRules } : null;
|
|
1996
|
+
this.mainRuleSet = newMainRuleSet;
|
|
1997
|
+
this.mainRuleSetSource.next(newMainRuleSet);
|
|
1998
|
+
const nextRule = newMainRuleSet?.rules[0] ?? this.inheritedRuleSets[0]?.rules[0] ?? null;
|
|
1999
|
+
this.folderRulesService.selectRule(nextRule);
|
|
2003
2000
|
}
|
|
2004
2001
|
addOrUpdateRuleInMainRuleSet(newRule) {
|
|
2005
2002
|
if (this.mainRuleSet) {
|
|
2006
|
-
const
|
|
2007
|
-
|
|
2008
|
-
this.mainRuleSet.rules
|
|
2009
|
-
}
|
|
2010
|
-
else {
|
|
2011
|
-
this.mainRuleSet.rules.push(newRule);
|
|
2012
|
-
}
|
|
2003
|
+
const updatedRules = this.mainRuleSet.rules.some((rule) => rule.id === newRule.id)
|
|
2004
|
+
? this.mainRuleSet.rules.map((rule) => (rule.id === newRule.id ? newRule : rule))
|
|
2005
|
+
: [...this.mainRuleSet.rules, newRule];
|
|
2006
|
+
this.mainRuleSet = { ...this.mainRuleSet, rules: updatedRules };
|
|
2013
2007
|
this.mainRuleSetSource.next(this.mainRuleSet);
|
|
2014
2008
|
this.folderRulesService.selectRule(newRule);
|
|
2015
2009
|
}
|
|
@@ -2622,7 +2616,7 @@ class ManageRulesSmartComponent {
|
|
|
2622
2616
|
});
|
|
2623
2617
|
}
|
|
2624
2618
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ManageRulesSmartComponent, deps: [{ token: i1$1.Location }, { token: FolderRulesService }, { token: i3$2.ActivatedRoute }, { token: i2$3.MatDialog }, { token: i2.NotificationService }, { token: ActionsService }, { token: FolderRuleSetsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2625
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ManageRulesSmartComponent, isStandalone: true, selector: "aca-manage-rules", host: { classAttribute: "aca-manage-rules" }, ngImport: i0, template: "<aca-page-layout>\n\n <div class=\"aca-page-layout-header\">\n <adf-toolbar class=\"adf-toolbar--inline\">\n <button mat-icon-button (click)=\"goBack()\" [attr.aria-label]=\"'ACA_FOLDER_RULES.ACTIONS.GO_BACK' | translate\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n </adf-toolbar>\n <h1 class=\"aca-page-title\">{{ 'ACA_FOLDER_RULES.ACTIONS.MANAGE_RULES' | translate }}</h1>\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"aca-main-content\">\n\n <ng-container *ngIf=\"((ruleSetsLoading$ | async) && (inheritedRuleSets$ | async).length === 0) || (actionsLoading$ | async); else onLoaded\">\n <mat-progress-bar color=\"primary\" mode=\"indeterminate\" />\n </ng-container>\n\n <ng-template #onLoaded>\n <ng-container *ngIf=\"folderInfo$ | async; else genericError\">\n <adf-toolbar class=\"adf-toolbar--inline aca-manage-rules__actions-bar\">\n\n <adf-toolbar-title class=\"aca-manage-rules__actions-bar__title\">\n <mat-icon class=\"icon-aligner\">folder</mat-icon>\n <h2 class=\"aca-page-title\">{{ (folderInfo$ | async).name }}:{{'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.BREADCRUMB.RULES' | translate}}</h2>\n </adf-toolbar-title>\n\n <mat-slide-toggle\n data-automation-id=\"manage-rules-inheritance-toggle-button\"\n class=\"aca-manage-rules__actions-bar__toggle\"\n [checked]=\"isInheritanceEnabled\"\n (change)=\"onInheritanceToggleChange($event)\"\n [disabled]=\"isInheritanceToggleDisabled\"\n [labelPosition]=\"'before'\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.INHERIT_RULES' | translate }}\n </mat-slide-toggle>\n\n <mat-divider vertical class=\"aca-manage-rules__actions-bar__vertical-divider\" />\n\n <div class=\"aca-manage-rules__actions-bar__buttons\">\n <button\n *ngIf=\"!(mainRuleSet$ | async)\"\n data-automation-id=\"manage-rules-link-button\"\n mat-stroked-button\n (click)=\"openLinkRulesDialog()\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.LINK_RULES' | translate }}\n </button>\n\n <button\n *ngIf=\"canEditMainRule\"\n data-automation-id=\"manage-rules-create-button\"\n mat-flat-button color=\"primary\"\n (click)=\"openCreateUpdateRuleDialog()\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.CREATE_RULE' | translate }}\n </button>\n </div>\n\n </adf-toolbar>\n <mat-divider />\n\n <div class=\"aca-manage-rules__container\" *ngIf=\"isMainRuleSetNotEmpty || isInheritedRuleSetsNotEmpty; else emptyContent\">\n <aca-rule-list\n [mainRuleSet$]=\"mainRuleSet$\"\n [folderId]=\"nodeId\"\n [inheritedRuleSets]=\"inheritedRuleSets$ | async\"\n [hasMoreRuleSets]=\"hasMoreRuleSets$ | async\"\n [ruleSetsLoading]=\"ruleSetsLoading$ | async\"\n [selectedRule]=\"selectedRule$ | async\"\n (loadMoreRuleSets)=\"onLoadMoreRuleSets()\"\n (loadMoreRules)=\"onLoadMoreRules($event)\"\n (selectRule)=\"onSelectRule($event)\"\n (ruleEnabledChanged)=\"onRuleEnabledToggle($event[0], $event[1])\"\n (ruleSetEditLinkClicked)=\"openLinkRulesDialog($event)\"\n (ruleSetUnlinkClicked)=\"onRuleSetUnlinkClicked($event)\" />\n\n <div class=\"aca-manage-rules__container__rule-details\">\n\n <div class=\"aca-manage-rules__container__rule-details__header\" *ngIf=\"(selectedRule$ | async) as selectedRule\">\n <div class=\"aca-manage-rules__container__rule-details__header__title\">\n <div class=\"aca-manage-rules__container__rule-details__header__title__name\">\n {{ selectedRule.name }}\n </div>\n <div class=\"aca-manage-rules__container__rule-details__header__title__description\">\n {{ selectedRule.description }}\n </div>\n </div>\n\n <div class=\"aca-manage-rules__container__rule-details__header__buttons\">\n <ng-container *ngIf=\"canEditSelectedRule; else goToFolderButton\">\n <button mat-stroked-button (click)=\"onRuleDeleteButtonClicked(selectedRule)\" id=\"delete-rule-btn\"\n [attr.aria-label]=\"'ACA_FOLDER_RULES.CONFIRMATION_DIALOG.DELETE_RULE.TITLE' | translate\">\n <mat-icon>delete_outline</mat-icon>\n </button>\n <button mat-stroked-button (click)=\"openCreateUpdateRuleDialog(selectedRule)\" id=\"edit-rule-btn\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.EDIT_RULE' | translate }}\n </button>\n </ng-container>\n\n <ng-template #goToFolderButton>\n <button mat-stroked-button [routerLink]=\"['/nodes', (selectedRuleSet$ | async).owningFolder.id, 'rules']\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.SEE_IN_FOLDER' | translate }}\n </button>\n </ng-template>\n </div>\n </div>\n\n <div class=\"aca-manage-rules__container__rule-details__content\" *ngIf=\"(selectedRule$ | async) as selectedRule\">\n <aca-rule-details\n [actionDefinitions]=\"actionDefinitions$ | async\"\n [parameterConstraints]=\"parameterConstraints$ | async\"\n [readOnly]=\"true\"\n [preview]=\"true\"\n [value]=\"selectedRule\"\n [nodeId]=\"nodeId\" />\n </div>\n </div>\n </div>\n\n <ng-template #emptyContent>\n <adf-empty-content\n icon=\"library_books\"\n [title]=\"'ACA_FOLDER_RULES.MANAGE_RULES.EMPTY_RULES_LIST.TITLE' | translate\"\n [subtitle]=\"'ACA_FOLDER_RULES.MANAGE_RULES.EMPTY_RULES_LIST.SUBTITLE' | translate\"\n />\n </ng-template>\n </ng-container>\n\n <ng-template #genericError>\n <div class=\"aca-page-layout-error\">\n <aca-generic-error />\n </div>\n </ng-template>\n\n </ng-template>\n\n </div>\n </div>\n\n</aca-page-layout>\n", styles: [".aca-manage-rules .mat-mdc-slide-toggle:is(mat-slide-toggle) .mdc-switch:enabled .mdc-switch__track:after{background:var(--mdc-switch-selected-track-color)}.aca-manage-rules .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle:before{background:var(--mdc-switch-selected-pressed-handle-color)}.aca-manage-rules__actions-bar{padding:0 30px;display:flex;align-items:center}.aca-manage-rules__actions-bar .aca-page-title{margin-left:18px}.aca-manage-rules__actions-bar__title{align-items:center;flex:1}.aca-manage-rules__actions-bar__buttons{display:flex;align-items:stretch;gap:12px}.aca-manage-rules__actions-bar__toggle{font-weight:600;font-size:14px}.aca-manage-rules__actions-bar__vertical-divider{height:50%;margin:0 12px}.aca-manage-rules__container{display:grid;grid-template-columns:minmax(250px,1fr) 3fr;padding:20px;gap:12px;overflow-y:auto;flex:1}.aca-manage-rules__container__rule-details{border:1px solid var(--theme-border-color);border-radius:12px;overflow-y:auto}.aca-manage-rules__container__rule-details__header{position:sticky;top:0;z-index:1;display:flex;flex-direction:row;align-items:flex-start;overflow-x:auto;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--theme-border-color);background-color:var(--theme-background-color);column-gap:20px}.aca-manage-rules__container__rule-details__header__title{display:flex;flex-direction:column;gap:4px;word-wrap:break-word;min-width:100px}.aca-manage-rules__container__rule-details__header__title__name{font-size:1.2em;font-weight:700}.aca-manage-rules__container__rule-details__header__title__description{font-size:.8em;font-style:italic}.aca-manage-rules__container__rule-details__header .aca-manage-rules__container__rule-details__header__buttons{display:flex;flex-direction:row;align-items:stretch;gap:4px}.aca-manage-rules__container__rule-details__header .aca-manage-rules__container__rule-details__header__buttons button{color:var(--theme-text-color)}.aca-manage-rules__container__rule-details__header .aca-manage-rules__container__rule-details__header__buttons button#delete-rule-btn{padding:0 8px;margin:0;min-width:unset}.aca-manage-rules__container__rule-details__header .aca-manage-rules__container__rule-details__header__buttons button#delete-rule-btn mat-icon{margin:0;padding:0;width:24px;height:24px;font-size:24px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i10.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i2$5.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i12.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: RuleListUiComponent, selector: "aca-rule-list", inputs: ["mainRuleSet$", "folderId", "inheritedRuleSets", "hasMoreRuleSets", "ruleSetsLoading", "selectedRule"], outputs: ["loadMoreRuleSets", "loadMoreRules", "selectRule", "ruleEnabledChanged", "ruleSetEditLinkClicked", "ruleSetUnlinkClicked"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: GenericErrorComponent, selector: "aca-generic-error", inputs: ["text"] }, { kind: "component", type: RuleDetailsUiComponent, selector: "aca-rule-details", inputs: ["readOnly", "value", "preview", "actionDefinitions", "parameterConstraints", "nodeId"], outputs: ["formValidationChanged", "formValueChanged"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "component", type: EmptyContentComponent, selector: "adf-empty-content", inputs: ["icon", "title", "subtitle"] }, { kind: "component", type: ToolbarTitleComponent, selector: "adf-toolbar-title" }, { kind: "component", type: ToolbarComponent, selector: "adf-toolbar", inputs: ["title", "color"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
2619
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ManageRulesSmartComponent, isStandalone: true, selector: "aca-manage-rules", host: { classAttribute: "aca-manage-rules" }, ngImport: i0, template: "<aca-page-layout>\n\n <div class=\"aca-page-layout-header\">\n <adf-toolbar class=\"adf-toolbar--inline\">\n <button mat-icon-button (click)=\"goBack()\" [attr.aria-label]=\"'ACA_FOLDER_RULES.ACTIONS.GO_BACK' | translate\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n </adf-toolbar>\n <h1 class=\"aca-page-title\">{{ 'ACA_FOLDER_RULES.ACTIONS.MANAGE_RULES' | translate }}</h1>\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"aca-main-content\">\n\n <ng-container *ngIf=\"((ruleSetsLoading$ | async) && (inheritedRuleSets$ | async).length === 0) || (actionsLoading$ | async); else onLoaded\">\n <mat-progress-bar color=\"primary\" mode=\"indeterminate\" />\n </ng-container>\n\n <ng-template #onLoaded>\n <ng-container *ngIf=\"folderInfo$ | async; else genericError\">\n <adf-toolbar class=\"adf-toolbar--inline aca-manage-rules__actions-bar\">\n\n <adf-toolbar-title class=\"aca-manage-rules__actions-bar__title\">\n <mat-icon class=\"icon-aligner\">folder</mat-icon>\n <h2 class=\"aca-page-title\">{{ (folderInfo$ | async).name }}:{{'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.BREADCRUMB.RULES' | translate}}</h2>\n </adf-toolbar-title>\n\n <mat-slide-toggle\n data-automation-id=\"manage-rules-inheritance-toggle-button\"\n class=\"aca-manage-rules__actions-bar__toggle\"\n [checked]=\"isInheritanceEnabled\"\n (change)=\"onInheritanceToggleChange($event)\"\n [disabled]=\"isInheritanceToggleDisabled\"\n [labelPosition]=\"'before'\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.INHERIT_RULES' | translate }}\n </mat-slide-toggle>\n\n <mat-divider vertical class=\"aca-manage-rules__actions-bar__vertical-divider\" />\n\n <div class=\"aca-manage-rules__actions-bar__buttons\">\n <button\n *ngIf=\"!(mainRuleSet$ | async)\"\n data-automation-id=\"manage-rules-link-button\"\n mat-stroked-button\n (click)=\"openLinkRulesDialog()\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.LINK_RULES' | translate }}\n </button>\n\n <button\n *ngIf=\"canEditMainRule\"\n data-automation-id=\"manage-rules-create-button\"\n mat-flat-button color=\"primary\"\n (click)=\"openCreateUpdateRuleDialog()\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.CREATE_RULE' | translate }}\n </button>\n </div>\n\n </adf-toolbar>\n <mat-divider />\n\n <div class=\"aca-manage-rules__container\" *ngIf=\"isMainRuleSetNotEmpty || isInheritedRuleSetsNotEmpty; else emptyContent\">\n <aca-rule-list\n [mainRuleSet$]=\"mainRuleSet$\"\n [folderId]=\"nodeId\"\n [inheritedRuleSets]=\"inheritedRuleSets$ | async\"\n [hasMoreRuleSets]=\"hasMoreRuleSets$ | async\"\n [ruleSetsLoading]=\"ruleSetsLoading$ | async\"\n [selectedRule]=\"selectedRule$ | async\"\n (loadMoreRuleSets)=\"onLoadMoreRuleSets()\"\n (loadMoreRules)=\"onLoadMoreRules($event)\"\n (selectRule)=\"onSelectRule($event)\"\n (ruleEnabledChanged)=\"onRuleEnabledToggle($event[0], $event[1])\"\n (ruleSetEditLinkClicked)=\"openLinkRulesDialog($event)\"\n (ruleSetUnlinkClicked)=\"onRuleSetUnlinkClicked($event)\" />\n\n <div class=\"aca-manage-rules__container__rule-details\">\n\n <div class=\"aca-manage-rules__container__rule-details__header\" *ngIf=\"(selectedRule$ | async) as selectedRule\">\n <div class=\"aca-manage-rules__container__rule-details__header__title\">\n <div class=\"aca-manage-rules__container__rule-details__header__title__name\">\n {{ selectedRule.name }}\n </div>\n <div class=\"aca-manage-rules__container__rule-details__header__title__description\">\n {{ selectedRule.description }}\n </div>\n </div>\n\n <div class=\"aca-manage-rules__container__rule-details__header__buttons\">\n <ng-container *ngIf=\"canEditSelectedRule; else goToFolderButton\">\n <button mat-stroked-button (click)=\"onRuleDeleteButtonClicked(selectedRule)\" id=\"delete-rule-btn\"\n [attr.aria-label]=\"'ACA_FOLDER_RULES.CONFIRMATION_DIALOG.DELETE_RULE.TITLE' | translate\">\n <mat-icon>delete_outline</mat-icon>\n </button>\n <button mat-stroked-button (click)=\"openCreateUpdateRuleDialog(selectedRule)\" id=\"edit-rule-btn\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.EDIT_RULE' | translate }}\n </button>\n </ng-container>\n\n <ng-template #goToFolderButton>\n <button mat-stroked-button [routerLink]=\"['/nodes', (selectedRuleSet$ | async).owningFolder.id, 'rules']\">\n {{ 'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.ACTIONS.SEE_IN_FOLDER' | translate }}\n </button>\n </ng-template>\n </div>\n </div>\n\n <div class=\"aca-manage-rules__container__rule-details__content\" *ngIf=\"(selectedRule$ | async) as selectedRule\">\n <aca-rule-details\n [actionDefinitions]=\"actionDefinitions$ | async\"\n [parameterConstraints]=\"parameterConstraints$ | async\"\n [readOnly]=\"true\"\n [preview]=\"true\"\n [value]=\"selectedRule\"\n [nodeId]=\"nodeId\" />\n </div>\n </div>\n </div>\n\n <ng-template #emptyContent>\n <adf-empty-content\n icon=\"library_books\"\n [title]=\"'ACA_FOLDER_RULES.MANAGE_RULES.EMPTY_RULES_LIST.TITLE' | translate\"\n [subtitle]=\"'ACA_FOLDER_RULES.MANAGE_RULES.EMPTY_RULES_LIST.SUBTITLE' | translate\"\n />\n </ng-template>\n </ng-container>\n\n <ng-template #genericError>\n <div class=\"aca-page-layout-error\">\n <aca-generic-error />\n </div>\n </ng-template>\n\n </ng-template>\n\n </div>\n </div>\n\n</aca-page-layout>\n", styles: [".aca-manage-rules .mat-mdc-slide-toggle:is(mat-slide-toggle) .mdc-switch:enabled .mdc-switch__track:after{background:var(--mdc-switch-selected-track-color)}.aca-manage-rules .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle:before{background:var(--mdc-switch-selected-pressed-handle-color)}.aca-manage-rules__actions-bar{padding:0 30px;display:flex;align-items:center}.aca-manage-rules__actions-bar .aca-page-title{margin-left:18px}.aca-manage-rules__actions-bar__title{align-items:center;flex:1}.aca-manage-rules__actions-bar__buttons{display:flex;align-items:stretch;gap:12px}.aca-manage-rules__actions-bar__toggle{font-weight:600;font-size:14px}.aca-manage-rules__actions-bar__vertical-divider{height:50%;margin:0 12px}.aca-manage-rules__container{display:grid;grid-template-columns:minmax(250px,1fr) 3fr;padding:20px;gap:12px;overflow-y:auto;flex:1}.aca-manage-rules__container__rule-details{border:1px solid var(--theme-border-color);border-radius:12px;overflow-y:auto}.aca-manage-rules__container__rule-details__header{position:sticky;top:0;z-index:1;display:flex;flex-direction:row;align-items:flex-start;overflow-x:auto;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--theme-border-color);background-color:var(--theme-background-color);column-gap:20px}.aca-manage-rules__container__rule-details__header__title{display:flex;flex-direction:column;gap:4px;word-wrap:break-word;min-width:100px}.aca-manage-rules__container__rule-details__header__title__name{font-size:1.2em;font-weight:700}.aca-manage-rules__container__rule-details__header__title__description{font-size:.8em;font-style:italic}.aca-manage-rules__container__rule-details__header .aca-manage-rules__container__rule-details__header__buttons{display:flex;flex-direction:row;align-items:stretch;gap:4px}.aca-manage-rules__container__rule-details__header .aca-manage-rules__container__rule-details__header__buttons button{color:var(--theme-text-color)}.aca-manage-rules__container__rule-details__header .aca-manage-rules__container__rule-details__header__buttons button#delete-rule-btn{padding:0 8px;margin:0;min-width:unset}.aca-manage-rules__container__rule-details__header .aca-manage-rules__container__rule-details__header__buttons button#delete-rule-btn mat-icon{margin:0;padding:0;width:24px;height:24px;font-size:24px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i10.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i2$5.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i12.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: RuleListUiComponent, selector: "aca-rule-list", inputs: ["mainRuleSet$", "folderId", "inheritedRuleSets", "hasMoreRuleSets", "ruleSetsLoading", "selectedRule"], outputs: ["loadMoreRuleSets", "loadMoreRules", "selectRule", "ruleEnabledChanged", "ruleSetEditLinkClicked", "ruleSetUnlinkClicked"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: GenericErrorComponent, selector: "aca-generic-error", inputs: ["text"] }, { kind: "component", type: RuleDetailsUiComponent, selector: "aca-rule-details", inputs: ["readOnly", "value", "preview", "actionDefinitions", "parameterConstraints", "nodeId"], outputs: ["formValidationChanged", "formValueChanged"] }, { kind: "component", type: EmptyContentComponent, selector: "adf-empty-content", inputs: ["icon", "title", "subtitle"] }, { kind: "component", type: ToolbarTitleComponent, selector: "adf-toolbar-title" }, { kind: "component", type: ToolbarComponent, selector: "adf-toolbar", inputs: ["title", "color"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
2626
2620
|
}
|
|
2627
2621
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ManageRulesSmartComponent, decorators: [{
|
|
2628
2622
|
type: Component,
|
|
@@ -2639,7 +2633,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
2639
2633
|
RouterModule,
|
|
2640
2634
|
GenericErrorComponent,
|
|
2641
2635
|
RuleDetailsUiComponent,
|
|
2642
|
-
MatDialogModule,
|
|
2643
2636
|
EmptyContentComponent,
|
|
2644
2637
|
ToolbarTitleComponent,
|
|
2645
2638
|
ToolbarComponent
|
|
@@ -2669,7 +2662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
2669
2662
|
* You should have received a copy of the GNU Lesser General Public License
|
|
2670
2663
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2671
2664
|
*/
|
|
2672
|
-
const
|
|
2665
|
+
const FOLDER_RULES_ROUTES = [
|
|
2673
2666
|
{
|
|
2674
2667
|
path: 'rules',
|
|
2675
2668
|
component: ManageRulesSmartComponent,
|
|
@@ -2679,22 +2672,30 @@ const routes = [
|
|
|
2679
2672
|
}
|
|
2680
2673
|
}
|
|
2681
2674
|
];
|
|
2675
|
+
function provideFolderRulesExtension() {
|
|
2676
|
+
return [
|
|
2677
|
+
provideTranslations('folder-rules', 'assets/folder-rules'),
|
|
2678
|
+
provideExtensionConfig(['folder-rules.plugin.json']),
|
|
2679
|
+
provideRouter(FOLDER_RULES_ROUTES),
|
|
2680
|
+
provideExtensions({
|
|
2681
|
+
evaluators: {
|
|
2682
|
+
'rules.isFolderRulesEnabled': isFolderRulesEnabled
|
|
2683
|
+
}
|
|
2684
|
+
})
|
|
2685
|
+
];
|
|
2686
|
+
}
|
|
2687
|
+
/** @deprecated use `provideFolderRulesExtension()` instead **/
|
|
2682
2688
|
class AcaFolderRulesModule {
|
|
2683
|
-
|
|
2684
|
-
extensions.setEvaluators({
|
|
2685
|
-
'rules.isFolderRulesEnabled': isFolderRulesEnabled
|
|
2686
|
-
});
|
|
2687
|
-
}
|
|
2688
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, deps: [{ token: i1$2.ExtensionService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2689
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2689
2690
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule });
|
|
2690
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, providers: [
|
|
2691
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, providers: [...provideFolderRulesExtension()] });
|
|
2691
2692
|
}
|
|
2692
2693
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, decorators: [{
|
|
2693
2694
|
type: NgModule,
|
|
2694
2695
|
args: [{
|
|
2695
|
-
providers: [
|
|
2696
|
+
providers: [...provideFolderRulesExtension()]
|
|
2696
2697
|
}]
|
|
2697
|
-
}]
|
|
2698
|
+
}] });
|
|
2698
2699
|
|
|
2699
2700
|
/*!
|
|
2700
2701
|
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -2724,5 +2725,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
2724
2725
|
* Generated bundle index. Do not edit.
|
|
2725
2726
|
*/
|
|
2726
2727
|
|
|
2727
|
-
export { AcaFolderRulesModule, ManageRulesSmartComponent };
|
|
2728
|
+
export { AcaFolderRulesModule, FOLDER_RULES_ROUTES, ManageRulesSmartComponent, provideFolderRulesExtension };
|
|
2728
2729
|
//# sourceMappingURL=alfresco-aca-content-folder-rules.mjs.map
|