diff --git a/angular.json b/angular.json index 6f8433c873..e75de7b52e 100644 --- a/angular.json +++ b/angular.json @@ -51,11 +51,6 @@ "input": "demo-shell/resources", "output": "/resources" }, - { - "glob": "**/*", - "input": "demo-shell/src/app/components/lazy-loading/i18n", - "output": "/resources/lazy-loading/i18n" - }, { "glob": "**/*", "input": "lib/core/src/lib/assets", @@ -113,51 +108,6 @@ } ], "styles": [ - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-blue-orange.scss", - "bundleName": "adf-blue-orange" - }, - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-blue-purple.scss", - "bundleName": "adf-blue-purple" - }, - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-cyan-orange.scss", - "bundleName": "adf-cyan-orange" - }, - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-cyan-purple.scss", - "bundleName": "adf-cyan-purple" - }, - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-green-orange.scss", - "bundleName": "adf-green-orange" - }, - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-green-purple.scss", - "bundleName": "adf-green-purple" - }, - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-indigo-pink.scss", - "bundleName": "adf-indigo-pink" - }, - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-pink-bluegrey.scss", - "bundleName": "adf-pink-bluegrey" - }, - { - "inject": false, - "input": "lib/core/src/lib/styles/prebuilt/adf-purple-green.scss", - "bundleName": "adf-purple-green" - }, "demo-shell/src/assets/fonts/muli/muli.css", "demo-shell/src/styles.scss", "demo-shell/src/custom-style-dev.scss", diff --git a/demo-shell/resources/i18n/ar.json b/demo-shell/resources/i18n/ar.json index 94279ae9ea..3ea3d8721b 100755 --- a/demo-shell/resources/i18n/ar.json +++ b/demo-shell/resources/i18n/ar.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "نوع المصادقة", - "BASIC": "مصادقة أساسية", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "موفر", - "REQUIRED": "هذا الحقل مطلوب", - "CS_URL_ERROR": "لا يتطابق عنوان Content Services مع تنسيق URL", - "PS_URL_ERROR": "لا يتطابق عنوان Process Services مع تنسيق URL", - "TITLE": "الإعدادات", - "CS-HOST": "عنوان URL لـ Content Services", - "BP-HOST": "عنوان URL لـ Process Services", - "BACK": "عودة", - "APPLY": "تطبيق", - "NOT_VALID": "لم يتم التعرف على http(s)://host|ip:port(/path)، جرّب عنوان URL مختلفًا.", - "REDIRECT": "إعادة توجيه URI", - "REDIRECT_LOGOUT": "إعادة توجيه خروج URI", - "SILENT": "دخول صامت", - "SCOPE": "نطاق", - "CLIENT": "معرف العميل", - "PUBLIC_URLS": "عناوين url العامة لتسجيل الدخول الصامت", - "SECRET": "سر" - }, - "ABOUT": { - "DEVELOPMENT": "وضع التطوير" - }, - "INFO_DRAWER": { - "TITLE": "التفاصيل", - "COMMENTS": "تعليقات", - "PROPERTIES": "الخصائص", - "VERSIONS": "الإصدارات" - }, - "HOME": { - "TITLE": "المكونات الزاوّية لـ Alfresco", - "DOCUMENTATION": "الوثائق" - }, - "LOGOUT": { - "TITLE": "صفحة الخروج", - "SUB_TITLE": "تم خروجك الآن", - "LOGIN": "دخول", - "HOME": "رئيسية" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "السماح بالحذف", - "SHOW_COMMENTS": "إظهار التعليقات على الإصدارات", - "ALLOW_DOWNLOAD": "تمكين تنزيل الإصدار", - "READ_ONLY": "للقراءة فقط", - "COMMENTS": "إظهار التعليقات", - "VERSION_COMPARISON": "إظهار مقارنة الإصدار" - }, - "PERSONAL-FILES": "الملفات الشخصية", - "WARN-MULTIPLE-UPLOADS": "عرض تحذير للتحميلات المتعددة.", - "CUSTOM-PERMISSION-MESSAGE": "تمكين رسالة إذن مخصصة", - "MEDIUM-TIME-FORMAT": "تمكين تنسيق وقت متوسط لقائمة المستندات", - "SEARCH": { - "RADIO": { - "NONE": "بلا", - "ALL": "الكل", - "FOLDER": "مجلد", - "DOCUMENT": "مستند" - } - } - }, "title": "مرحبًا", - "VERSION": { - "NO_PERMISSION": "ليس لديك إذن لإدارة إصدارات هذا المحتوى", - "NO_PERMISSION_EVENT": "ليس لديك إذن ${event.permission} ل${event.action} ${event.type}", - "CHOOSE_FILE": "حدد ملف لرؤية إصداراته", - "DIALOG": { - "CLOSE": "إغلاق", - "TITLE": "إدارة الإصدارات" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "إغلاق", - "TITLE": "بيانات تعريف" - } - }, - "APP_LAYOUT": { - "APP": "تطبيق", - "HEADER_TEXT_COLOR": "لون نص الرأس", - "APP_NAME": "تطبيق ADF التوضيحي", - "FILTERED_SEARCH": "رأس عامل التصفية", - "HOME": "رئيسية", - "NODE-SELECTOR": "محدد العقدة", - "SITES": "المواقع", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "مسار التنقل", - "NOTIFICATIONS": "إعلامات", - "TASK_LIST": "قائمة المهام", - "PROCESS_LIST": "مهام عملية", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "دخول", - "CUSTOM_SOURCES": "مصادر مخصصة", - "DATATABLE": "جدول بيانات", - "DATATABLE_LAZY": "جدول بيانات (بطيء)", - "DOCUMENT_LIST": "قائمة المستندات", - "TEMPLATE": "قالب", - "FORM": "نموذج", - "FORM_LIST": "قائمة النماذج", - "FORM_LOADING": "تحميل النموذج", - "UPLOADER": "مُحمِّل", - "WEBSCRIPT": "برنامج الويب النصي", - "TAG": "علامة", - "PIPES": "أنابيب", - "TRASHCAN": "سلة المحذوفات", - "SOCIAL": "اجتماعي", - "SETTINGS": "إعدادات", - "CONFIG-EDITOR": "محرر التكوين", - "OVERLAY_VIEWER": "عارض مركّب", - "ABOUT": "حول", - "SEARCH": "بحث ممتد", - "EXTENDED_SEARCH_QUERY_BODY": "بحث ممتد بنص الاستعلام", - "WORD_TO_SEARCH": "بحث عن كلمة", - "SEARCH_CREATED_BY": "تم الإنشاء بواسطة", - "SEARCH_SERVICE_APPROACH": "حدد هذا لتعطيل خاصية الإدخال والتكوين باستخدام الخدمة", - "HEADER_DATA": "بيانات الرأس", - "TREE_VIEW": "طريقة عرض الشجرة", - "EXPAND_LIST": "قائمة العناصر القابلة للتوسيع", - "ICONS": "أيقونات", - "PEOPLE_GROUPS_CLOUD": "سحابة الأشخاص/المجموعة", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "رأس مهمة السحابة", - "APP_NAME_INPUT": "اسم التطبيق", - "TASK_ID_INPUT": "معرف المهمة", - "FIND_TASK_BUTTON": "بحث عن المهمة" - }, - "PEOPLE_CLOUD": "مكون سحابة الأشخاص", - "GROUPS_CLOUD": "مكون سحابة المجموعة", - "CONFIRM-DIALOG": "مربع حوار التأكيد", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "قائمة مهام الخدمات", - "RICH_TEXT_EDITOR": "محرر نص منسق" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "حذف بشكل دائم", - "RESTORE": "استعادة" - }, - "EMPTY_STATE": { - "TITLE": "المهملات فارغة", - "FIRST_TEXT": "تم نقل العناصر المحذوفة إلى المهملات.", - "SECOND_TEXT": "أفرغ المهملات لحذف العناصر بشكل دائم." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "تحديد متعدد (مع خانات اختيارات)", - "THUMBNAILS": "تمكين الصور المصغرة", - "ALLOW_DROP_FILES": "تمكين إسقاط الملفات في مجلد أو ملف", - "MULTIPLE_FILE_UPLOAD": "تحميل ملفات متعددة", - "FOLDER_UPLOAD": "تحميل مجلد", - "CUSTOM_FILTER": "عامل تصفية امتدادات مخصص", - "MAX_SIZE": "عامل تصفية الحد الأقصى للحجم", - "ENABLE_VERSIONING": "تمكين تعيين الإصدار", - "DESCRIPTION_UPLOAD": "تمكين التحميل", - "ENABLE_INFINITE_SCROLL": "تمكين التمرير اللانهائي", - "MULTISELECT_DESCRIPTION": "استخدام Cmd (Mac) أو Ctrl (Windows) لتبديل تحديد العناصر المتعددة", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "قائمة أحدث الملفات فارغة" - }, - "TITLE": "أحدث الملفات" - }, - "COLUMNS": { - "DISPLAY_NAME": "اسم العرض", - "IS_LOCKED": "قفل", - "TAG": "علامة", - "NODE_ID": "معرف العقدة", - "CREATED_BY": "تم الإنشاء بواسطة", - "CREATED_ON": "تم الإنشاء في", - "CREATED": "تم الإنشاء", - "SIZE": "الحجم", - "DELETED_ON": "تم الحذف", - "DELETED_BY": "تم الحذف بواسطة" - }, - "TOOLBAR": { - "CARDVIEW": "وضع عرض البطاقة", - "SHARE_EDIT": "إعدادات التحرير", - "NEW_FOLDER": "مجلد جديد", - "EDIT_FOLDER": "تحرير مجلد", - "DOWNLOAD": "تنزيل", - "DELETE": "حذف", - "FAVORITES": "إضافة إلى المفضلات", - "SHARE": "مشاركة", - "THEME": "حدد نسق", - "SHOW_VERSION": "إظهار الإصدار", - "HIDE_VERSION": "إخفاء الإصدار", - "LISTVIEW": "وضع عرض القائمة", - "CREATE_LIBRARY": "إنشاء مكتبة" - }, - "ACTIONS": { - "VERSIONS": "إدارة الإصدارات", - "ASPECTS": "تحديث الجوانب", - "LOCK": "قفل", - "METADATA": "معلومات", - "DOWNLOAD": "تنزيل", - "PERMISSION": "إذن", - "FOLDER": { - "COPY": "نسخ", - "MOVE": "نقل", - "DELETE": "حذف" - }, - "DOCUMENT": { - "COPY": "نسخ", - "MOVE": "نقل", - "DELETE": "حذف", - "PROCESS_ACTION": "بدء العملية" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "إعادة تعيين إلى افتراضي", - "ADD_ROW": "إضافة صف", - "REPLACE_ROWS": "استبدال صفوف", - "REPLACE_COLUMNS": "استبدال أعمدة", - "LOAD_NODE": "تحميل عقدة", - "MULTISELECT": "تحديد متعدد", - "MULTISELECT_DESCRIPTION": "استخدام Cmd (Mac) أو Ctrl (Windows) لتبديل تحديد العناصر المتعددة", - "USE_CUSTOM_COLUMN_HEADER": "استخدم نموذج مخصص للرأس 'المستخدم'", - "CUSTOM_COLUMN_HEADER": "قالب رأس المستخدم المخصص" - }, - "PS-TAB": { - "TASKS-TAB": "المهام", - "PROCESSES-TAB": "العملية", - "SETTINGS-TAB": "إعدادات", - "START-TASK": "بدء مهمة", - "START-PROCESS": "بدء العملية", - "PROCESS-AUDIT-LOG": "سجل تدقيق العملية", - "TASK-AUDIT-LOG": "سجل تدقيق المهمة", - "TASK-SHOW-HEADER": "إظهار تفاصيل الرأس" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "تطبيق", - "SETTINGS_TAB": "إعدادات" - }, - "FORM-LIST": { - "STORE": "متجر", - "RESTORE": "استعادة" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "تم تعيين المهمة {{taskName}} إلى {{assignee}}", "PROCESS_STARTED": "تم بدء عملية {{processName}}", "TASK_UPDATED": "تم تحديث تفاصيل مهمة {{taskName}}", "TASK_CREATED": "تم إنشاء المهمة {{TaskName}}" }, - "FORM-LOADING": { - "FORM_DATA": "بيانات النموذج", - "FORM_DATA_MESSAGE": "إدخال قيم لملء النموذج", - "TYPEAHEAD_PLACEHOLDER": "التنبؤ بالحروف", - "RADIO_PLACEHOLDER": "زر الراديو", - "SELECT_PLACEHOLDER": "القائمة المنسدلة" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "تذييل الدخول", - "SHOW_REMEMBERME": "إظهار تذكرني", - "SHOW_SUCCESS_ROUTE": "إظهار طريق النجاح", - "CUSTOM_LOGO": "شعار مخصص" - }, "SEARCH": { "RESULTS": "نتائج البحث", "NO_RESULT": "لم يتم العثور على نتائج", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.الحجم: كبير XX" } }, - "SOCIAL": { - "LIKE": "مكون الإعجاب", - "RATING": "مكون التقييم" - }, - "TAG": { - "LIST": "Content Services علامات القائمة", - "INSERT": "إدراج معرف العقدة", - "NODE_LIST": "قائمة العلامات حسب معرف العقدة" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "إذن التوريث", - "INHERITED_PERMISSIONS_BUTTON": "تم توريث الإذن" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "إدراج معرف التطبيق", - "APP_ID_TYPE_ERROR": "يجب أن يكون معرف التطبيق رقمًا", - "NUMBER_TYPE_ERROR": "يجب أن تكون القيمة رقمًا", - "NUMBER_GREATER_THAN": "يجب أن تكون القيمة أكبر من {{ value }} أو تساويها" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "صفحة البدء" - }, - "TASK_CONTEXT_MENU": "قائمة سياق قائمة المهام" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "إدراج معرف التطبيق", - "APP_ID_TYPE_ERROR": "يجب أن يكون معرف التطبيق رقمًا", - "NUMBER_GREATER_THAN": "يجب أن تكون القيمة أكبر من {{ value }} أو تساويها" - }, - "PROCESS_CONTEXT_MENU": "قائمة سياق قائمة العمليات" - }, "GROUP-TITLE1-TRANSLATION-KEY": "الترجمة الأولى للعنوان المخصص", "GROUP-TITLE2-TRANSLATION-KEY": "الترجمة الثانية للعنوان المخصص", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "عودة إلى الرئيسية" - }, "507": { "TITLE": "قرص ACS ممتلئ", - "DESCRIPTION": "يتجاوز المحتوى حد سعة التخزين المكون للشبكة أو النظام", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "يتجاوز المحتوى حد سعة التخزين المكون للشبكة أو النظام" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "العرض التوضيحي لسحابة قائمة العملية", - "CUSTOMIZE_FILTERS": "تخصيص عامل التصفية" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "تخصيص عامل التصفية" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "تحديد واحد", - "MULTI": "تحديد متعدد", - "PRESELECTED_VALUE": "تحديد مسبق: ", - "ROLE": "الأدوار: ", - "APP_NAME": "اسم التطبيق", - "APP_FILTER_MODE": "التصفية حسب اسم التطبيق", - "ROLE_FILTER_MODE": "التصفية حسب الدور", - "PRESELECT_VALIDATION": "التحديد المسبق للتحقق من الصحة", - "ALL_PRESELECTED_USERS": "كل المستخدمين المحددين مسبقًا", - "ALL_PRESELECTED_GROUPS": "كل المجموعات المحددة مسبقًا", - "INVALID_USERS": "المستخدمون غير الصالحين", - "INVALID_GROUPS": "مجموعات غير صالحة", - "READONLY_MODE": "وضع القراءة فقط", - "GROUPS_RESTRICTION": "قيود المجموعات" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "تحديد متعدد", - "TESTING_MODE": "وضع الاختبار", - "SELECTION_MODE": "وضع التحديد", - "SELECTED_ROWS": "الصفوف المحدّدة", - "TASK_DETAILS_REDIRECTION": "عرض تفاصيل المهمة عند النقر فوق المهمة", - "PROCESS_DETAILS_REDIRECTION": "عرض تفاصيل العملية عند النقر على العملية", - "ACTION": { - "ACTION_TITLE": "إضافة إجراء", - "ACTION_MENU": "قائمة الإجراءات", - "CONTEX_MENU": "قائمة السياق", - "ACTION_VISIBLE": "مرئي", - "ACTION_DISABLE": "معطّل", - "ADD_BUTTON": "إضافة", - "KEY": "المفتاح", - "TITLE": "العنوان", - "ICON": "أيقونة", - "TASK_ID": "معرف المهمة", - "PROCESS_ID": "معرّف مثيل المعالجة", - "ACTION_TYPE": "نوع الإجراء" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "تم إنشاء زر مجلد جديد", - "EDIT_NODE_LABEL": "زر تحرير العقدة", - "DELETE_NODE_LABEL": "زر حذف أيقونة العقدة" - }, - "DEFAULT_SEARCH": "افتراضي", - "OPEN_DIALOG": "فتح الحوار", - "SHOW_LIST_LABEL": "انقر لعرض القائمة" + } } diff --git a/demo-shell/resources/i18n/cs.json b/demo-shell/resources/i18n/cs.json index 2272777ffd..80d86242cb 100755 --- a/demo-shell/resources/i18n/cs.json +++ b/demo-shell/resources/i18n/cs.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Typ ověřování", - "BASIC": "Základní ověřování", - "SSO": "Jednotné přihlášení", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Poskytovatel", - "REQUIRED": "Toto pole je povinné", - "CS_URL_ERROR": "Adresa Content Services neodpovídá formátu adresy URL", - "PS_URL_ERROR": "Adresa Process Services neodpovídá formátu adresy URL", - "TITLE": "Nastavení", - "CS-HOST": "Adresa URL pro Content Services", - "BP-HOST": "Adresa URL pro Process Services", - "BACK": "Zpět", - "APPLY": "Použít", - "NOT_VALID": "http(s)://host|ip:port(/path) nelze rozeznat. Použijte jinou adresu URL.", - "REDIRECT": "URI pro přesměrování", - "REDIRECT_LOGOUT": "URI pro přesměrování (odhlášení)", - "SILENT": "Přihlášení na pozadí", - "SCOPE": "Rozsah", - "CLIENT": "ID klienta", - "PUBLIC_URLS": "Veřejné adresy URL pro přihlášení na pozadí", - "SECRET": "Tajné" - }, - "ABOUT": { - "DEVELOPMENT": "Režim pro vývojáře" - }, - "INFO_DRAWER": { - "TITLE": "Podrobnosti", - "COMMENTS": "Poznámky", - "PROPERTIES": "Vlastnosti", - "VERSIONS": "Verze" - }, - "HOME": { - "TITLE": "Součásti Angular pro produkty Alfresco", - "DOCUMENTATION": "Dokumentace" - }, - "LOGOUT": { - "TITLE": "Stránka pro odhlášení", - "SUB_TITLE": "Byli jste odhlášeni", - "LOGIN": "Přihlášení", - "HOME": "Domů" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Povolit odstranění", - "SHOW_COMMENTS": "Zobrazit komentáře k verzím", - "ALLOW_DOWNLOAD": "Povolit stažení verze", - "READ_ONLY": "Pouze ke čtení", - "COMMENTS": "Zobrazit komentáře", - "VERSION_COMPARISON": "Zobrazit porovnání verzí" - }, - "PERSONAL-FILES": "Osobní soubory", - "WARN-MULTIPLE-UPLOADS": "Zobrazit upozornění v případě hromadného odesílání", - "CUSTOM-PERMISSION-MESSAGE": "Povolit přizpůsobené oznámení o oprávnění", - "MEDIUM-TIME-FORMAT": "Povolit střední formát času v seznamu dokumentů", - "SEARCH": { - "RADIO": { - "NONE": "Žádné", - "ALL": "Vše", - "FOLDER": "Složka", - "DOCUMENT": "Dokument" - } - } - }, "title": "Vítejte", - "VERSION": { - "NO_PERMISSION": "Nemáte potřebná oprávnění pro správu verzí tohoto obsahu", - "NO_PERMISSION_EVENT": "Nemáte oprávnění „${event.permission}“ potřebná k použití akce „${event.action}“ pro „${event.type}“", - "CHOOSE_FILE": "Vyberte soubor, jehož verze si chcete prohlédnout", - "DIALOG": { - "CLOSE": "Zavřít", - "TITLE": "Spravovat verze" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Zavřít", - "TITLE": "Metadata" - } - }, - "APP_LAYOUT": { - "APP": "Aplikace", - "HEADER_TEXT_COLOR": "Barva textu záhlaví", - "APP_NAME": "Ukázková aplikace ADF", - "FILTERED_SEARCH": "Záhlaví filtru", - "HOME": "Domů", - "NODE-SELECTOR": "Selektor uzlu", - "SITES": "Místa", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Popis cesty", - "NOTIFICATIONS": "Upozornění", - "TASK_LIST": "Seznam úkolů", - "PROCESS_LIST": "Seznam procesů", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "Zobrazení karty", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Přihlášení", - "CUSTOM_SOURCES": "Vlastní zdroje", - "DATATABLE": "Datová tabulka", - "DATATABLE_LAZY": "Datová tabulka (jednoduchá)", - "DOCUMENT_LIST": "Seznam dokumentů", - "TEMPLATE": "Šablona", - "FORM": "Formulář", - "FORM_LIST": "Seznam formulářů", - "FORM_LOADING": "Načítání formuláře", - "UPLOADER": "Nástroj pro odesílání", - "WEBSCRIPT": "Webový skript", - "TAG": "Tag", - "PIPES": "Potrubí", - "TRASHCAN": "Koš", - "SOCIAL": "Sociální", - "SETTINGS": "Nastavení", - "CONFIG-EDITOR": "Editor konfigurace", - "OVERLAY_VIEWER": "Zobrazení překrytí", - "ABOUT": "O aplikaci", - "SEARCH": "Rozšířené hledání", - "EXTENDED_SEARCH_QUERY_BODY": "Rozšířené hledání s textem dotazu", - "WORD_TO_SEARCH": "Hledat slovo", - "SEARCH_CREATED_BY": "Vytvořil(a)", - "SEARCH_SERVICE_APPROACH": "Označením této možnosti zakážete vstupní vlastnost a ke konfiguraci použijete službu", - "HEADER_DATA": "Data záhlaví", - "TREE_VIEW": "Stromová struktura", - "EXPAND_LIST": "Rozšiřitený seznam položek", - "ICONS": "Ikony", - "PEOPLE_GROUPS_CLOUD": "Cloud osob/skupin", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Záhlaví úkolu cloudové komponenty", - "APP_NAME_INPUT": "Název aplikace", - "TASK_ID_INPUT": "ID úkolu", - "FIND_TASK_BUTTON": "Najít úkol" - }, - "PEOPLE_CLOUD": "Součást cloudu osob", - "GROUPS_CLOUD": "Součást cloudu skupin", - "CONFIRM-DIALOG": "Dialogové okno s potvrzením", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Seznam úloh služby", - "RICH_TEXT_EDITOR": "Rich Text Editor" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Trvale odstranit", - "RESTORE": "Obnovit" - }, - "EMPTY_STATE": { - "TITLE": "Koš je prázdný", - "FIRST_TEXT": "Odstraněné položky se přesunou do koše.", - "SECOND_TEXT": "Vysypáním koše můžete položky trvale odstranit." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Hromadný výběr (pomocí zaškrtávacích polí)", - "THUMBNAILS": "Povolit miniatury", - "ALLOW_DROP_FILES": "Povolit přetahování souborů do složky nebo souboru", - "MULTIPLE_FILE_UPLOAD": "Odeslání více souborů", - "FOLDER_UPLOAD": "Odeslat složku", - "CUSTOM_FILTER": "Vlastní filtr rozšíření", - "MAX_SIZE": "Filtr max. velikosti", - "ENABLE_VERSIONING": "Povolit více verzí", - "DESCRIPTION_UPLOAD": "Povolit odeslání", - "ENABLE_INFINITE_SCROLL": "Povolit nekonečné procházení", - "MULTISELECT_DESCRIPTION": "Pomocí klávesy Ctrl (Windows) nebo Cmd (Mac) můžete přepínat výběr více položek", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Seznam nedávných souborů je prázdný" - }, - "TITLE": "Nedávné soubory" - }, - "COLUMNS": { - "DISPLAY_NAME": "Zobrazované jméno", - "IS_LOCKED": "Zamknout", - "TAG": "Tag", - "NODE_ID": "ID uzlu", - "CREATED_BY": "Vytvořil(a)", - "CREATED_ON": "Vytvořeno", - "CREATED": "Vytvořeno", - "SIZE": "Velikost", - "DELETED_ON": "Odstraněno", - "DELETED_BY": "Odstranil(a)" - }, - "TOOLBAR": { - "CARDVIEW": "Režim zobrazení karet", - "SHARE_EDIT": "Upravit nastavení", - "NEW_FOLDER": "Nová složka", - "EDIT_FOLDER": "Upravit složku", - "DOWNLOAD": "Stáhnout", - "DELETE": "Odstranit", - "FAVORITES": "Přidat mezi oblíbené", - "SHARE": "Sdílet", - "THEME": "Vybrat motiv", - "SHOW_VERSION": "Zobrazit verzi", - "HIDE_VERSION": "Skrýt verzi", - "LISTVIEW": "Režim zobrazení seznamu", - "CREATE_LIBRARY": "Vytvořit knihovnu" - }, - "ACTIONS": { - "VERSIONS": "Spravovat verze", - "ASPECTS": "Aktualizovat aspekty", - "LOCK": "Zamknout", - "METADATA": "Informace", - "DOWNLOAD": "Stáhnout", - "PERMISSION": "Oprávnění", - "FOLDER": { - "COPY": "Kopírovat", - "MOVE": "Přesunout", - "DELETE": "Odstranit" - }, - "DOCUMENT": { - "COPY": "Kopírovat", - "MOVE": "Přesunout", - "DELETE": "Odstranit", - "PROCESS_ACTION": "Zahájit proces" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Obnovit výchozí", - "ADD_ROW": "Přidat řádek", - "REPLACE_ROWS": "Nahradit řádky", - "REPLACE_COLUMNS": "Nahradit sloupce", - "LOAD_NODE": "Načíst uzel", - "MULTISELECT": "Hromadný výběr", - "MULTISELECT_DESCRIPTION": "Pomocí klávesy Ctrl (Windows) nebo Cmd (Mac) můžete přepínat výběr více položek", - "USE_CUSTOM_COLUMN_HEADER": "Použít vlastní šablonu pro záhlaví ,Uživatel‘", - "CUSTOM_COLUMN_HEADER": "Vlastní šablona záhlaví Uživatel" - }, - "PS-TAB": { - "TASKS-TAB": "Úkoly", - "PROCESSES-TAB": "Proces", - "SETTINGS-TAB": "Nastavení", - "START-TASK": "Zahájit úkol", - "START-PROCESS": "Zahájit proces", - "PROCESS-AUDIT-LOG": "Protokol auditu pro proces", - "TASK-AUDIT-LOG": "Protokol auditu pro úkol", - "TASK-SHOW-HEADER": "Zobrazit záhlaví podrobností" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Aplikace", - "SETTINGS_TAB": "Nastavení" - }, - "FORM-LIST": { - "STORE": "Uložit", - "RESTORE": "Obnovit" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "Úkol {{taskName}} byl přiřazen uživateli {{assignee}}", "PROCESS_STARTED": "Byl spuštěn proces {{processName}}", "TASK_UPDATED": "Byly aktualizovány podrobnosti úkolu {{taskName}}", "TASK_CREATED": "Úkol {{taskName}} byl vytvořen" }, - "FORM-LOADING": { - "FORM_DATA": "Data formuláře", - "FORM_DATA_MESSAGE": "Zadejte hodnoty do formuláře", - "TYPEAHEAD_PLACEHOLDER": "Začněte psát", - "RADIO_PLACEHOLDER": "Přepínač", - "SELECT_PLACEHOLDER": "Rozevírací seznam" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Zápatí přihlašování", - "SHOW_REMEMBERME": "Zobrazit tlačítko „Zapamatovat přihlášení“", - "SHOW_SUCCESS_ROUTE": "Zobrazit okna pro úspěšné přihlášení", - "CUSTOM_LOGO": "Vlastní logo" - }, "SEARCH": { "RESULTS": "Výsledky hledání", "NO_RESULT": "Nebyly nalezeny žádné výsledky", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.Velikost: XX velké" } }, - "SOCIAL": { - "LIKE": "Komponenta pro Líbí se mi", - "RATING": "Komponenta pro Hodnocení" - }, - "TAG": { - "LIST": "Uvádět tagy Content Services", - "INSERT": "Vložit ID uzlu", - "NODE_LIST": "Řadit tagy dle ID uzlu" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Dědění oprávnění", - "INHERITED_PERMISSIONS_BUTTON": "Oprávnění bylo zděděno" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Vložit ID aplikace", - "APP_ID_TYPE_ERROR": "ID aplikace musí být číslo", - "NUMBER_TYPE_ERROR": "Hodnota musí být číslo", - "NUMBER_GREATER_THAN": "Hodnota musí být rovna nebo větší než {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Počáteční strana" - }, - "TASK_CONTEXT_MENU": "Místní nabídka Seznam úkolů" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Vložit ID aplikace", - "APP_ID_TYPE_ERROR": "ID aplikace musí být číslo", - "NUMBER_GREATER_THAN": "Hodnota musí být rovna nebo větší než {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Místní nabídka Seznam procesů" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Vlastní překlad názvu 1", "GROUP-TITLE2-TRANSLATION-KEY": "Vlastní překlad názvu 2", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Zpět domů" - }, "507": { "TITLE": "Disk ACS plný", - "DESCRIPTION": "Obsah přesahuje celkovou kvótu úložiště nastavenou pro síť nebo systém", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Obsah přesahuje celkovou kvótu úložiště nastavenou pro síť nebo systém" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "Cloudová ukázka seznamu procesů", - "CUSTOMIZE_FILTERS": "Přizpůsobit filtr" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Přizpůsobit filtr" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Volba jedné položky", - "MULTI": "Volba více položek", - "PRESELECTED_VALUE": "Předvolená hodnota: ", - "ROLE": "Role: ", - "APP_NAME": "Název aplikace", - "APP_FILTER_MODE": "Filtrovat podle názvu aplikace", - "ROLE_FILTER_MODE": "Filtrovat podle role", - "PRESELECT_VALIDATION": "Ověření předvolené hodnoty", - "ALL_PRESELECTED_USERS": "Všichni předvolení uživatelé", - "ALL_PRESELECTED_GROUPS": "Všechny předvolené skupiny", - "INVALID_USERS": "Neplatní uživatelé", - "INVALID_GROUPS": "Neplatné skupiny", - "READONLY_MODE": "Režim jen pro čtení", - "GROUPS_RESTRICTION": "Omezení skupin" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Hromadný výběr", - "TESTING_MODE": "Testovací režim", - "SELECTION_MODE": "Režim výběru", - "SELECTED_ROWS": "Vybrané řádky", - "TASK_DETAILS_REDIRECTION": "Zobrazit podrobnosti o úkolu při kliknutí na úkol", - "PROCESS_DETAILS_REDIRECTION": "Zobrazit podrobnosti o průběhu při kliknutí na proces", - "ACTION": { - "ACTION_TITLE": "Přidat akci", - "ACTION_MENU": "Nabídka akcí", - "CONTEX_MENU": "Místní nabídka", - "ACTION_VISIBLE": "Viditelné", - "ACTION_DISABLE": "Zakázat", - "ADD_BUTTON": "Přidat", - "KEY": "Klíč", - "TITLE": "Označení", - "ICON": "Ikona", - "TASK_ID": "ID úkolu", - "PROCESS_ID": "ID instance procesu", - "ACTION_TYPE": "Typ akce" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Vytvořit tlačítko pro novou složku", - "EDIT_NODE_LABEL": "Upravit tlačítko uzlu", - "DELETE_NODE_LABEL": "Odebrat tlačítko ikony uzlu" - }, - "DEFAULT_SEARCH": "Výchozí", - "OPEN_DIALOG": "Otevřít dialogové okno", - "SHOW_LIST_LABEL": "Na seznam pro zobrazení klikněte" + } } diff --git a/demo-shell/resources/i18n/da.json b/demo-shell/resources/i18n/da.json index fa98da4927..7a0089a8bd 100755 --- a/demo-shell/resources/i18n/da.json +++ b/demo-shell/resources/i18n/da.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Godkendelsestype", - "BASIC": "Grundlæggende godkendelse", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Udbyder", - "REQUIRED": "Dette felt er påkrævet", - "CS_URL_ERROR": "Content Services-adressen matcher ikke URL-formatet", - "PS_URL_ERROR": "Process Services-adressen matcher ikke URL-adresseformatet", - "TITLE": "Indstillinger", - "CS-HOST": "Content Services-URL", - "BP-HOST": "Process Services-URL", - "BACK": "Tilbage", - "APPLY": "Anvend", - "NOT_VALID": "http(s)://vært|ip-adresse:port(/sti) blev ikke genkendt. Prøv en anden URL-adresse.", - "REDIRECT": "URI til omdirigering", - "REDIRECT_LOGOUT": "Omdiriger URI til aflogning", - "SILENT": "Uovervåget login", - "SCOPE": "Omfang", - "CLIENT": "Klient-id", - "PUBLIC_URLS": "Uovervåget login til offentlige URL-adresser", - "SECRET": "Hemmelig" - }, - "ABOUT": { - "DEVELOPMENT": "Udv. model" - }, - "INFO_DRAWER": { - "TITLE": "Detaljer", - "COMMENTS": "Kommentarer", - "PROPERTIES": "Egenskaber", - "VERSIONS": "Versioner" - }, - "HOME": { - "TITLE": "Angular-komponenter til Alfresco", - "DOCUMENTATION": "Dokumentation" - }, - "LOGOUT": { - "TITLE": "Side til at logge af", - "SUB_TITLE": "Du er nu logget af", - "LOGIN": "Log ind", - "HOME": "Hjem" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Tillad sletning", - "SHOW_COMMENTS": "Vis kommentarer til versioner", - "ALLOW_DOWNLOAD": "Aktivér versionsdownload", - "READ_ONLY": "Skrivebeskyttet", - "COMMENTS": "Vis kommentarer", - "VERSION_COMPARISON": "Vis sammenligningsversion" - }, - "PERSONAL-FILES": "Personlige filer", - "WARN-MULTIPLE-UPLOADS": "Vis advarsler for flere uploads.", - "CUSTOM-PERMISSION-MESSAGE": "Tillad meddelelse om brugerdefineret tilladelse", - "MEDIUM-TIME-FORMAT": "Tillad mellemlangt tidsformat for dokumentliste", - "SEARCH": { - "RADIO": { - "NONE": "Ingen", - "ALL": "Alle", - "FOLDER": "Mappe", - "DOCUMENT": "Dokument" - } - } - }, "title": "Velkommen", - "VERSION": { - "NO_PERMISSION": "Du har ikke tilladelse til at administrere versioner af dette indhold", - "NO_PERMISSION_EVENT": "Du har ikke tilladelsen ${event.permission} til at ${event.action} ${event.type}", - "CHOOSE_FILE": "Vælg en fil for at få vist dens versioner", - "DIALOG": { - "CLOSE": "Luk", - "TITLE": "Administrer versioner" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Luk", - "TITLE": "Metadata" - } - }, - "APP_LAYOUT": { - "APP": "App", - "HEADER_TEXT_COLOR": "Farve på tekst i overskrift", - "APP_NAME": "ADF-demoapp", - "FILTERED_SEARCH": "Filter-overskrift", - "HOME": "Hjem", - "NODE-SELECTOR": "Nodevælger", - "SITES": "Websteder", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Brødkrumme", - "NOTIFICATIONS": "Meddelelser", - "TASK_LIST": "Opgaveliste", - "PROCESS_LIST": "Procesliste", - "PROCESS_CLOUD": "Proces Cloud", - "CARD_VIEW": "Kortvisning", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Log ind", - "CUSTOM_SOURCES": "Brugerdefinerede kilder", - "DATATABLE": "Datatabel", - "DATATABLE_LAZY": "Datatabel (Lazy)", - "DOCUMENT_LIST": "Dokumentliste", - "TEMPLATE": "Skabelon", - "FORM": "Formular", - "FORM_LIST": "Formularliste", - "FORM_LOADING": "Formular indlæses", - "UPLOADER": "Uploader", - "WEBSCRIPT": "Webscript", - "TAG": "Tag", - "PIPES": "Rør", - "TRASHCAN": "Papirkurv", - "SOCIAL": "Social", - "SETTINGS": "Indstillinger", - "CONFIG-EDITOR": "Konfigurationseditor", - "OVERLAY_VIEWER": "Overlejringsfremviser", - "ABOUT": "Om", - "SEARCH": "Udvidet søgning", - "EXTENDED_SEARCH_QUERY_BODY": "Udvidet søgning med forespørgselstekst", - "WORD_TO_SEARCH": "Søg efter ord", - "SEARCH_CREATED_BY": "Oprettet af", - "SEARCH_SERVICE_APPROACH": "Vælg dette felt for at deaktivere inputegenskaben og konfigurere ved hjælp af tjenesten", - "HEADER_DATA": "Headerdata", - "TREE_VIEW": "Trævisning", - "EXPAND_LIST": "Udvidelig punktliste", - "ICONS": "Ikoner", - "PEOPLE_GROUPS_CLOUD": "Person/gruppecloud", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Opgaveheader for cloud", - "APP_NAME_INPUT": "Appnavn", - "TASK_ID_INPUT": "Opgave-id", - "FIND_TASK_BUTTON": "Find opgave" - }, - "PEOPLE_CLOUD": "Personcloudkomponent", - "GROUPS_CLOUD": "Gruppecloudkomponent", - "CONFIRM-DIALOG": "Bekræftelsesdialogboks", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Opgaveliste for tjeneste", - "RICH_TEXT_EDITOR": "Rich Text Editor" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Slet permanent", - "RESTORE": "Gendan" - }, - "EMPTY_STATE": { - "TITLE": "Papirkurven er tom", - "FIRST_TEXT": "De elementer, du sletter, flyttes til papirkurven.", - "SECOND_TEXT": "Tøm papirkurven for at slette elementerne permanent." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Vælg flere (med afkrydsningsfelter)", - "THUMBNAILS": "Aktivér miniaturevisninger", - "ALLOW_DROP_FILES": "Aktiver dropfiler i en mappe eller som en fil", - "MULTIPLE_FILE_UPLOAD": "Upload af flere filer", - "FOLDER_UPLOAD": "Upload af mappe", - "CUSTOM_FILTER": "Filter for brugerdefinerede udvidelser", - "MAX_SIZE": "Filtrer efter maksimal størrelse", - "ENABLE_VERSIONING": "Aktivér versionering", - "DESCRIPTION_UPLOAD": "Tillad upload", - "ENABLE_INFINITE_SCROLL": "Aktivér uendelig rulning", - "MULTISELECT_DESCRIPTION": "Brug Kommando (Mac) eller Ctrl (Windows) for at vælge flere elementer", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Listen over de seneste filer er tom" - }, - "TITLE": "Seneste filer" - }, - "COLUMNS": { - "DISPLAY_NAME": "Visningsnavn", - "IS_LOCKED": "Lås", - "TAG": "Tag", - "NODE_ID": "Node-id", - "CREATED_BY": "Oprettet af", - "CREATED_ON": "Oprettet den", - "CREATED": "Oprettet", - "SIZE": "Størrelse", - "DELETED_ON": "Slettet", - "DELETED_BY": "Slettet af" - }, - "TOOLBAR": { - "CARDVIEW": "Kortvisning", - "SHARE_EDIT": "Rediger indstillinger", - "NEW_FOLDER": "Ny mappe", - "EDIT_FOLDER": "Rediger mappe", - "DOWNLOAD": "Download", - "DELETE": "Slet", - "FAVORITES": "Angiv som favorit", - "SHARE": "Del", - "THEME": "Vælg et tema", - "SHOW_VERSION": "Vis version", - "HIDE_VERSION": "Skjul version", - "LISTVIEW": "Listevisning", - "CREATE_LIBRARY": "Opret bibliotek" - }, - "ACTIONS": { - "VERSIONS": "Administrer versioner", - "ASPECTS": "Opdater aspekter", - "LOCK": "Lås", - "METADATA": "Oplysninger", - "DOWNLOAD": "Download", - "PERMISSION": "Tilladelse", - "FOLDER": { - "COPY": "Kopiér", - "MOVE": "Flyt", - "DELETE": "Slet" - }, - "DOCUMENT": { - "COPY": "Kopiér", - "MOVE": "Flyt", - "DELETE": "Slet", - "PROCESS_ACTION": "Start proces" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Nulstil til standard", - "ADD_ROW": "Tilføj række", - "REPLACE_ROWS": "Erstat rækker", - "REPLACE_COLUMNS": "Erstat kolonner", - "LOAD_NODE": "Indlæs node", - "MULTISELECT": "Vælg flere", - "MULTISELECT_DESCRIPTION": "Brug Kommando (Mac) eller Ctrl (Windows) for at vælge flere elementer", - "USE_CUSTOM_COLUMN_HEADER": "Brug tilpasset skabelon til overskrift 'Bruger'", - "CUSTOM_COLUMN_HEADER": "Tilpasset brugeroverskriftskabelon" - }, - "PS-TAB": { - "TASKS-TAB": "Opgaver", - "PROCESSES-TAB": "Proces", - "SETTINGS-TAB": "Indstillinger", - "START-TASK": "Start opgave", - "START-PROCESS": "Start proces", - "PROCESS-AUDIT-LOG": "Procesovervågningslog", - "TASK-AUDIT-LOG": "Opgaveovervågningslog", - "TASK-SHOW-HEADER": "Vis detaljer for header" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "App", - "SETTINGS_TAB": "Indstillinger" - }, - "FORM-LIST": { - "STORE": "Gem", - "RESTORE": "Gendan" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "{{taskName}} opgave er blevet tildelt til {{assignee}}", "PROCESS_STARTED": "{{processName}} processen er startet", "TASK_UPDATED": "{{taskName}} opgavedetaljer er blevet opdateret", "TASK_CREATED": "Opgaven {{taskName}} blev oprettet" }, - "FORM-LOADING": { - "FORM_DATA": "Formulardata", - "FORM_DATA_MESSAGE": "Indtast værdier for at udfylde formularen", - "TYPEAHEAD_PLACEHOLDER": "Automatisk fuldførelse", - "RADIO_PLACEHOLDER": "Alternativknap", - "SELECT_PLACEHOLDER": "Rulleliste" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Sidefod til login", - "SHOW_REMEMBERME": "Vis Husk mig", - "SHOW_SUCCESS_ROUTE": "Vis succesrute", - "CUSTOM_LOGO": "Brugerdefineret logo" - }, "SEARCH": { "RESULTS": "Søgeresultater", "NO_RESULT": "Der blev ikke fundet nogen resultater", @@ -285,104 +28,12 @@ "XXTRALARGE": "8. Størrelse: XX large" } }, - "SOCIAL": { - "LIKE": "Synes om-komponent", - "RATING": "Bedømmelse-komponent" - }, - "TAG": { - "LIST": "Listetags Content Services", - "INSERT": "Indsæt node-id", - "NODE_LIST": "Tagliste efter node-id" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Nedarv tilladelse", - "INHERITED_PERMISSIONS_BUTTON": "Tilladelsen er nedarvet" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Indsæt app-id", - "APP_ID_TYPE_ERROR": "App-id'et skal være et tal", - "NUMBER_TYPE_ERROR": "Værdien skal være et tal", - "NUMBER_GREATER_THAN": "Værdien skal være større end eller lig med {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Startside" - }, - "TASK_CONTEXT_MENU": "Opgave Liste Kontekst Menu" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Indsæt app-id", - "APP_ID_TYPE_ERROR": "App-id'et skal være et tal", - "NUMBER_GREATER_THAN": "Værdien skal være større end eller lig med {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Proces Liste Kontekst Menu" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Brugerdefineret titel oversættelse et", "GROUP-TITLE2-TRANSLATION-KEY": "Brugerdefineret titel oversættelse to", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Tilbage til forsiden" - }, "507": { "TITLE": "ACS-disken er fuld", - "DESCRIPTION": "Indholdet overskrider den generelle lagerkvotegrænse, der er konfigureret for netværket eller systemet", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Indholdet overskrider den generelle lagerkvotegrænse, der er konfigureret for netværket eller systemet" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "CLOUDDEMO AF PROCESLISTE", - "CUSTOMIZE_FILTERS": "Tilpas dit filter" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Tilpas dit filter" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Enkeltvalg", - "MULTI": "Multivalg", - "PRESELECTED_VALUE": "Forudvælg: ", - "ROLE": "Roller: ", - "APP_NAME": "Appnavn", - "APP_FILTER_MODE": "Filtrer efter appnavn", - "ROLE_FILTER_MODE": "Filtrer efter rolle", - "PRESELECT_VALIDATION": "Forudvælg validering", - "ALL_PRESELECTED_USERS": "Alle forudvalgte brugere", - "ALL_PRESELECTED_GROUPS": "Alle forudvalgte grupper", - "INVALID_USERS": "Ugyldige brugere", - "INVALID_GROUPS": "Ugyldige grupper", - "READONLY_MODE": "Skrivebeskyttet tilstand", - "GROUPS_RESTRICTION": "Gruppebegrænsning" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Multivalg", - "TESTING_MODE": "Testtilstand", - "SELECTION_MODE": "Valgtilstand", - "SELECTED_ROWS": "Valgte rækker", - "TASK_DETAILS_REDIRECTION": "Vis opgavedetaljer på opgave ved at klikke", - "PROCESS_DETAILS_REDIRECTION": "Vis behandlingsdetaljer for processen ved at klikke", - "ACTION": { - "ACTION_TITLE": "Tilføj handling", - "ACTION_MENU": "Menuen Handling", - "CONTEX_MENU": "Genvejsmenu", - "ACTION_VISIBLE": "Synlig", - "ACTION_DISABLE": "Deaktiver", - "ADD_BUTTON": "Tilføj", - "KEY": "Nøgle", - "TITLE": "Titel", - "ICON": "Ikon", - "TASK_ID": "Opgave-id", - "PROCESS_ID": "Procesforekomst-id", - "ACTION_TYPE": "Handlingstype" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Knap Opret en ny mappe", - "EDIT_NODE_LABEL": "Knap Redigér knude", - "DELETE_NODE_LABEL": "Knap Slet knudeikon" - }, - "DEFAULT_SEARCH": "Standard", - "OPEN_DIALOG": "Åbn dialog", - "SHOW_LIST_LABEL": "Klik for at vise listen" + } } diff --git a/demo-shell/resources/i18n/de.json b/demo-shell/resources/i18n/de.json index 58ffdd5980..ca042c8cb0 100755 --- a/demo-shell/resources/i18n/de.json +++ b/demo-shell/resources/i18n/de.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Authentifizierungstyp", - "BASIC": "Basisauthentifizierung", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Provider", - "REQUIRED": "Dieses Feld ist erforderlich", - "CS_URL_ERROR": "Content Services-Adresse nicht im richtigen URL-Format", - "PS_URL_ERROR": "Process Services-Adresse nicht im richtigen URL-Format", - "TITLE": "Einstellungen", - "CS-HOST": "URL für Content Services", - "BP-HOST": "URL für Process Services", - "BACK": "Zurück", - "APPLY": "Anwenden", - "NOT_VALID": "http(s)://host|ip:port(/path) nicht erkannt. Probieren Sie es mit einer anderen URL.", - "REDIRECT": "Umleitungs-URI", - "REDIRECT_LOGOUT": "Umleitungs-URI zum Abmelden", - "SILENT": "Automatische Anmeldung", - "SCOPE": "Bereich", - "CLIENT": "Client-ID", - "PUBLIC_URLS": "Öffentliche URLs für automatische Anmeldung", - "SECRET": "Geheimnis" - }, - "ABOUT": { - "DEVELOPMENT": "Entwicklermodus" - }, - "INFO_DRAWER": { - "TITLE": "Details", - "COMMENTS": "Kommentare", - "PROPERTIES": "Eigenschaften", - "VERSIONS": "Versionen" - }, - "HOME": { - "TITLE": "Angular-Komponenten für Alfresco", - "DOCUMENTATION": "Dokumentation" - }, - "LOGOUT": { - "TITLE": "Seite 'Abmelden'", - "SUB_TITLE": "Sie sind nun abgemeldet.", - "LOGIN": "Anmelden", - "HOME": "Startseite" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Löschen zulassen", - "SHOW_COMMENTS": "Anmerkungen zu Versionen einblenden", - "ALLOW_DOWNLOAD": "Herunterladen von Version aktivieren", - "READ_ONLY": "Schreibgeschützt", - "COMMENTS": "Kommentare anzeigen", - "VERSION_COMPARISON": "Versionsvergleich anzeigen" - }, - "PERSONAL-FILES": "Persönliche Dateien", - "WARN-MULTIPLE-UPLOADS": "Warnung bei Mehrfach-Uploads anzeigen.", - "CUSTOM-PERMISSION-MESSAGE": "Meldung 'Benutzerdefinierte Berechtigung aktivieren'", - "MEDIUM-TIME-FORMAT": "Mittleres Zeitformat für Dokumentliste aktivieren", - "SEARCH": { - "RADIO": { - "NONE": "Keine", - "ALL": "Alle", - "FOLDER": "Ordner", - "DOCUMENT": "Dokument" - } - } - }, "title": "Willkommen", - "VERSION": { - "NO_PERMISSION": "Sie verfügen nicht über die nötige Berechtigung, um Versionen dieses Inhalts zu verwalten", - "NO_PERMISSION_EVENT": "Sie verfügen nicht über die nötige Berechtigung ('${event.permission}'), um ${event.action} zu ${event.type}", - "CHOOSE_FILE": "Wählen Sie eine Datei aus, um ihre Versionen anzuzeigen", - "DIALOG": { - "CLOSE": "Schließen", - "TITLE": "Versionen verwalten" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Schließen", - "TITLE": "Metadaten" - } - }, - "APP_LAYOUT": { - "APP": "Anwendung", - "HEADER_TEXT_COLOR": "Farbe des Überschriftstextes", - "APP_NAME": "ADF-Demoanwendung", - "FILTERED_SEARCH": "Filter-Header", - "HOME": "Startseite", - "NODE-SELECTOR": "Node-Auswahl", - "SITES": "Sites", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Breadcrumb", - "NOTIFICATIONS": "Benachrichtigungen", - "TASK_LIST": "Aufgabenliste", - "PROCESS_LIST": "Prozessliste", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Anmelden", - "CUSTOM_SOURCES": "Benutzerdefinierte Quellen", - "DATATABLE": "DataTable", - "DATATABLE_LAZY": "DataTable (Lazy)", - "DOCUMENT_LIST": "Dokumentliste", - "TEMPLATE": "Mustervorlage", - "FORM": "Formular", - "FORM_LIST": "Formularliste", - "FORM_LOADING": "Formular laden", - "UPLOADER": "Uploader", - "WEBSCRIPT": "Webscript", - "TAG": "Tag", - "PIPES": "Pipes", - "TRASHCAN": "Papierkorb", - "SOCIAL": "Soziale Funktionen", - "SETTINGS": "Einstellungen", - "CONFIG-EDITOR": "Konfigurations-Editor", - "OVERLAY_VIEWER": "Overlay-Viewer", - "ABOUT": "Info", - "SEARCH": "Erweiterte Suche", - "EXTENDED_SEARCH_QUERY_BODY": "Erweiterte Suche mit Abfragetext", - "WORD_TO_SEARCH": "Suchbegriff", - "SEARCH_CREATED_BY": "Erstellt von", - "SEARCH_SERVICE_APPROACH": "Aktivieren Sie diese Option, um die Eingabeeigenschaft zu deaktivieren und die Nutzung des Services zu konfigurieren", - "HEADER_DATA": "Headerdaten", - "TREE_VIEW": "Strukturansicht", - "EXPAND_LIST": "Erweiterbare Elementliste", - "ICONS": "Symbole", - "PEOPLE_GROUPS_CLOUD": "Personen-/Gruppen-Cloud", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Aufgaben-Header für Cloud", - "APP_NAME_INPUT": "Anwendungsname", - "TASK_ID_INPUT": "Aufgaben-ID", - "FIND_TASK_BUTTON": "Aufgabe suchen" - }, - "PEOPLE_CLOUD": "Personen-Cloud-Komponente", - "GROUPS_CLOUD": "Gruppen-Cloud-Komponente", - "CONFIRM-DIALOG": "Bestätigungsdialog", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Service-Aufgabenliste", - "RICH_TEXT_EDITOR": "Rich-Text-Editor" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Endgültig löschen", - "RESTORE": "Wiederherstellen" - }, - "EMPTY_STATE": { - "TITLE": "Papierkorb ist leer", - "FIRST_TEXT": "Gelöschte Elemente werden in den Papierkorb verschoben.", - "SECOND_TEXT": "Leeren Sie den Papierkorb, um die Elemente endgültig zu löschen." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Mehrfachauswahl (mit Kontrollkästchen)", - "THUMBNAILS": "Miniaturansichten aktivieren", - "ALLOW_DROP_FILES": "Ablegen von Dateien in einem Ordner oder einer Datei aktivieren", - "MULTIPLE_FILE_UPLOAD": "Mehrere Dateien hochladen", - "FOLDER_UPLOAD": "Ordner hochladen", - "CUSTOM_FILTER": "Filter für benutzerdefinierte Erweiterungen", - "MAX_SIZE": "Filter für max. Größe", - "ENABLE_VERSIONING": "Versionsverwaltung aktivieren", - "DESCRIPTION_UPLOAD": "Hochladen aktivieren", - "ENABLE_INFINITE_SCROLL": "Unendlich Scrollen aktivieren", - "MULTISELECT_DESCRIPTION": "Mit der Befehls- (Mac) oder der Steuerungstaste (Windows) können Sie die Auswahl mehrerer Elemente umschalten", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Die Liste der zuletzt verwendeten Dateien ist leer" - }, - "TITLE": "Zuletzt verwendete Dateien" - }, - "COLUMNS": { - "DISPLAY_NAME": "Namen anzeigen", - "IS_LOCKED": "Sperren", - "TAG": "Tag", - "NODE_ID": "Node-ID", - "CREATED_BY": "Erstellt von", - "CREATED_ON": "Erstellt am", - "CREATED": "Erstellt", - "SIZE": "Größe", - "DELETED_ON": "Gelöscht", - "DELETED_BY": "Gelöscht von" - }, - "TOOLBAR": { - "CARDVIEW": "Kartenansichtsmodus", - "SHARE_EDIT": "Einstellungen bearbeiten", - "NEW_FOLDER": "Neuer Ordner", - "EDIT_FOLDER": "Ordner bearbeiten", - "DOWNLOAD": "Herunterladen", - "DELETE": "Löschen", - "FAVORITES": "Zu Favoriten hinzufügen", - "SHARE": "Freigeben", - "THEME": "Farbschema auswählen", - "SHOW_VERSION": "Version anzeigen", - "HIDE_VERSION": "Version ausblenden", - "LISTVIEW": "Listenansichtsmodus", - "CREATE_LIBRARY": "Bibliothek erstellen" - }, - "ACTIONS": { - "VERSIONS": "Versionen verwalten", - "ASPECTS": "Aspekte aktualisieren", - "LOCK": "Sperren", - "METADATA": "Info", - "DOWNLOAD": "Herunterladen", - "PERMISSION": "Berechtigung", - "FOLDER": { - "COPY": "Kopieren", - "MOVE": "Verschieben", - "DELETE": "Löschen" - }, - "DOCUMENT": { - "COPY": "Kopieren", - "MOVE": "Verschieben", - "DELETE": "Löschen", - "PROCESS_ACTION": "Prozess starten" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Auf Standard zurücksetzen", - "ADD_ROW": "Zeile hinzufügen", - "REPLACE_ROWS": "Zeilen ersetzen", - "REPLACE_COLUMNS": "Spalten ersetzen", - "LOAD_NODE": "Node laden", - "MULTISELECT": "Mehrfachauswahl", - "MULTISELECT_DESCRIPTION": "Mit der Befehls- (Mac) oder der Steuerungstaste (Windows) können Sie die Auswahl mehrerer Elemente umschalten", - "USE_CUSTOM_COLUMN_HEADER": "Benutzerdefinierte Vorlage für 'Benutzer'-Kopfzeile verwenden", - "CUSTOM_COLUMN_HEADER": "Benutzerdefinierte Vorlage für Benutzer-Kopfzeile" - }, - "PS-TAB": { - "TASKS-TAB": "Aufgaben", - "PROCESSES-TAB": "Prozess", - "SETTINGS-TAB": "Einstellungen", - "START-TASK": "Aufgabe starten", - "START-PROCESS": "Prozess starten", - "PROCESS-AUDIT-LOG": "Prozess-Audit-Protokoll", - "TASK-AUDIT-LOG": "Aufgaben-Audit-Protokoll", - "TASK-SHOW-HEADER": "Detailsheader anzeigen" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Anwendung", - "SETTINGS_TAB": "Einstellungen" - }, - "FORM-LIST": { - "STORE": "Speichern", - "RESTORE": "Wiederherstellen" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "Aufgabe '{{taskName}}' wurde {{assignee}} zugewiesen", "PROCESS_STARTED": "Prozess '{{processName}}' wurde gestartet", "TASK_UPDATED": "Aufgabe '{{taskName}}' wurde aktualisiert", "TASK_CREATED": "Die Aufgabe {{taskName}} wurde erstellt" }, - "FORM-LOADING": { - "FORM_DATA": "Formulardaten", - "FORM_DATA_MESSAGE": "Geben Sie Werte ein, um das Formular auszufüllen", - "TYPEAHEAD_PLACEHOLDER": "Automatische Vervollständigung", - "RADIO_PLACEHOLDER": "Optionsschaltfläche", - "SELECT_PLACEHOLDER": "Dropdown" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Login-Fußzeile", - "SHOW_REMEMBERME": "'Benutzername und Passwort speichern' anzeigen", - "SHOW_SUCCESS_ROUTE": "Erfolgsroute anzeigen", - "CUSTOM_LOGO": "Benutzerdefiniertes Logo" - }, "SEARCH": { "RESULTS": "Ergebnisse durchsuchen", "NO_RESULT": "Keine Ergebnisse gefunden", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.Größe: extrem groß" } }, - "SOCIAL": { - "LIKE": "Like-Komponente", - "RATING": "Bewertungskomponente" - }, - "TAG": { - "LIST": "Content Services-Tagliste", - "INSERT": "Node-ID einfügen", - "NODE_LIST": "Tagliste nach Node-ID" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Berechtigungen erben", - "INHERITED_PERMISSIONS_BUTTON": "Berechtigungen geerbt" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "App-ID einfügen", - "APP_ID_TYPE_ERROR": "App-ID muss eine Zahl sein", - "NUMBER_TYPE_ERROR": "Wert muss Zahl sein", - "NUMBER_GREATER_THAN": "Wert muss größer oder gleich {{ value }} sein" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Startseite" - }, - "TASK_CONTEXT_MENU": "Aufgabenlisten-Kontextmenü" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "App-ID einfügen", - "APP_ID_TYPE_ERROR": "App-ID muss eine Zahl sein", - "NUMBER_GREATER_THAN": "Wert muss größer oder gleich {{ value }} sein" - }, - "PROCESS_CONTEXT_MENU": "Prozesslisten-Kontextmenü" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Übersetzung benutzerdefinierter Titel 1", "GROUP-TITLE2-TRANSLATION-KEY": "Übersetzung benutzerdefinierter Titel 2", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Zurück zur Startseite" - }, "507": { "TITLE": "ACS-Datenträger voll", - "DESCRIPTION": "Inhalt übersteigt die für das Netzwerk oder System konfigurierte Gesamtspeicherbegrenzung", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Inhalt übersteigt die für das Netzwerk oder System konfigurierte Gesamtspeicherbegrenzung" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Ihren Filter anpassen" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Ihren Filter anpassen" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Einzelauswahl", - "MULTI": "Mehrfachauswahl", - "PRESELECTED_VALUE": "Vorauswahl: ", - "ROLE": "Rollen: ", - "APP_NAME": "Anwendungsname", - "APP_FILTER_MODE": "Nach Anwendungsname filtern", - "ROLE_FILTER_MODE": "Nach Rolle filtern", - "PRESELECT_VALIDATION": "Vorauswahl-Prüfung", - "ALL_PRESELECTED_USERS": "Alle vorausgewählten Benutzer", - "ALL_PRESELECTED_GROUPS": "Alle vorausgewählten Gruppen", - "INVALID_USERS": "Unzulässige Benutzer", - "INVALID_GROUPS": "Unzulässige Gruppen", - "READONLY_MODE": "Schreibgeschützter Modus", - "GROUPS_RESTRICTION": "Gruppenbeschränkung" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Mehrfachauswahl", - "TESTING_MODE": "Testmodus", - "SELECTION_MODE": "Auswahlmodus", - "SELECTED_ROWS": "Ausgewählte Zeilen", - "TASK_DETAILS_REDIRECTION": "Bei Klicken auf Aufgabe Aufgabendetails einblenden", - "PROCESS_DETAILS_REDIRECTION": "Bei Klicken auf Prozess Prozessdetails anzeigen", - "ACTION": { - "ACTION_TITLE": "Aktion hinzufügen", - "ACTION_MENU": "Aktionsmenü", - "CONTEX_MENU": "Kontextmenü", - "ACTION_VISIBLE": "Sichtbar", - "ACTION_DISABLE": "Deaktivieren", - "ADD_BUTTON": "Hinzufügen", - "KEY": "Schlüssel", - "TITLE": "Titel", - "ICON": "Symbol", - "TASK_ID": "Aufgaben-ID", - "PROCESS_ID": "Prozessinstanz-ID", - "ACTION_TYPE": "Aktionstyp" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Schaltfläche für einen neuen Ordner erstellen", - "EDIT_NODE_LABEL": "Schaltfläche Node bearbeiten", - "DELETE_NODE_LABEL": "Schaltfläche für Node-Symbol löschen" - }, - "DEFAULT_SEARCH": "Standard", - "OPEN_DIALOG": "Dialog öffnen", - "SHOW_LIST_LABEL": "Klicken Sie, um die Liste anzuzeigen" + } } diff --git a/demo-shell/resources/i18n/en.json b/demo-shell/resources/i18n/en.json index 0ca6f07a18..bd4128db05 100644 --- a/demo-shell/resources/i18n/en.json +++ b/demo-shell/resources/i18n/en.json @@ -1,258 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Authentication type", - "BASIC": "Basic Authentication", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Provider", - "REQUIRED": "This field is required", - "CS_URL_ERROR": "Content Services address doesn't match the URL format", - "PS_URL_ERROR": "Process Services address doesn't match the URL format", - "TITLE": "Settings", - "CS-HOST": "Content Services URL", - "BP-HOST": "Process Services URL", - "BACK": "Back", - "APPLY": "APPLY", - "NOT_VALID": "http(s)://host|ip:port(/path) not recognized, try a different URL.", - "REDIRECT": "Redirect URI", - "REDIRECT_LOGOUT": "Redirect URI Logout", - "SILENT": "Silent Login", - "SCOPE": "Scope", - "CLIENT": "Client ID", - "PUBLIC_URLS": "Public urls silent Login", - "SECRET": "Secret" - }, - "ABOUT": { - "DEVELOPMENT":"Dev Mode" - }, - "INFO_DRAWER": { - "TITLE": "Details", - "COMMENTS": "Comments", - "PROPERTIES": "Properties", - "VERSIONS": "Versions" - }, - "HOME": { - "TITLE": "Angular components for Alfresco", - "DOCUMENTATION": "Documentation" - }, - "LOGOUT": { - "TITLE": "Logout Page", - "SUB_TITLE": "You are now logged out", - "LOGIN": "Login", - "HOME": "Home" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Allow delete", - "SHOW_COMMENTS": "Show comments on versions", - "ALLOW_DOWNLOAD": "Enable version download", - "READ_ONLY": "Read-only", - "COMMENTS": "Show comments", - "VERSION_COMPARISON": "Show version comparison" - }, - "PERSONAL-FILES": "Personal Files", - "WARN-MULTIPLE-UPLOADS": "Display warning for multiple uploads.", - "MEDIUM-TIME-FORMAT": "Enable medium time format for document list", - "SEARCH": { - "RADIO": { - "NONE": "None", - "ALL": "All", - "FOLDER": "Folder", - "DOCUMENT": "Document" - } - } - }, "title": "Welcome", - "VERSION": { - "NO_PERMISSION": "You don't have permission to manage versions of this content", - "NO_PERMISSION_EVENT": "You don't have ${event.permission} permission to ${event.action} the ${event.type}", - "CHOOSE_FILE": "Select a file to see its versions", - "DIALOG": { - "CLOSE": "Close", - "TITLE": "Manage Versions" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Close", - "TITLE": "Metadata" - } - }, - "APP_LAYOUT": { - "APP": "App", - "HEADER_TEXT_COLOR": "Header text color", - "APP_NAME": "ADF Demo Application", - "FILTERED_SEARCH": "Filter Header", - "HOME": "Home", - "NODE-SELECTOR": "Node Selector", - "SITES": "Sites", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Breadcrumb", - "NOTIFICATIONS": "Notifications", - "TASK_LIST": "Task List", - "PROCESS_LIST": "Process List", - "PROCESS_CLOUD": "Process Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Login", - "CUSTOM_SOURCES": "Custom Sources", - "DATATABLE": "Datatable", - "DATATABLE_LAZY": "Datatable (Lazy)", - "DOCUMENT_LIST": "Document List", - "TEMPLATE": "Template", - "FORM": "Form", - "FORM_LIST": "Form List", - "FORM_LOADING": "Form Loading", - "UPLOADER": "Uploader", - "WEBSCRIPT": "Webscript", - "TAG": "Tag", - "PIPES": "Pipes", - "TRASHCAN": "Trashcan", - "SOCIAL": "Social", - "SETTINGS": "Settings", - "CONFIG-EDITOR": "Configuration Editor", - "OVERLAY_VIEWER": "Overlay Viewer", - "ABOUT": "About", - "SEARCH": "Extended Search", - "EXTENDED_SEARCH_QUERY_BODY": "Extended Search with Query Body", - "WORD_TO_SEARCH": "Search Word", - "SEARCH_CREATED_BY": "Created By", - "SEARCH_SERVICE_APPROACH": "Check this to disable the input property and configure using the service", - "HEADER_DATA": "Header Data", - "TREE_VIEW": "Tree View", - "EXPAND_LIST": "Expandable item list", - "ICONS": "Icons", - "PEOPLE_GROUPS_CLOUD": "People/Group Cloud", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Task Header Cloud", - "APP_NAME_INPUT": "App name", - "TASK_ID_INPUT": "Task id", - "FIND_TASK_BUTTON": "Find Task" - }, - "PEOPLE_CLOUD": "People Cloud Component", - "GROUPS_CLOUD": "Groups Cloud Component", - "CONFIRM-DIALOG": "Confirmation Dialog", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Service Task List", - "RICH_TEXT_EDITOR": "Rich Text Editor" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Delete permanently", - "RESTORE": "Restore" - }, - "EMPTY_STATE": { - "TITLE": "Trash is empty", - "FIRST_TEXT": "Items you delete are moved to the Trash.", - "SECOND_TEXT": "Empty Trash to permanently delete items." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Multiselect (with checkboxes)", - "THUMBNAILS": "Enable Thumbnails", - "ALLOW_DROP_FILES": "Enable Drop Files in a folder or a file", - "MULTIPLE_FILE_UPLOAD": "Multiple File Upload", - "FOLDER_UPLOAD": "Folder upload", - "CUSTOM_FILTER": "Custom extensions filter", - "MAX_SIZE": "Max size filter", - "ENABLE_VERSIONING": "Enable versioning", - "DESCRIPTION_UPLOAD": "Enable upload", - "ENABLE_INFINITE_SCROLL": "Enable Infinite Scrolling", - "MULTISELECT_DESCRIPTION": "Use Cmd (Mac) or Ctrl (Windows) to toggle selection of multiple items", - "COLUMNS": { - "DISPLAY_NAME": "Display name", - "IS_LOCKED": "Lock", - "TAG": "Tag", - "NODE_ID": "Node id", - "CREATED_BY": "Created by", - "CREATED_ON": "Created on", - "CREATED": "Created", - "SIZE": "Size", - "DELETED_ON": "Deleted", - "DELETED_BY": "Deleted by" - }, - "TOOLBAR": { - "TOGGLE_DISPLAY_MODE": "Toggle display mode", - "TOGGLE_METADATA": "Toggle metadata", - "CARDVIEW": "Card view mode", - "SHARE_EDIT": "Edit settings", - "NEW_FOLDER": "New folder", - "EDIT_FOLDER": "Edit folder", - "DOWNLOAD": "Download", - "DELETE": "Delete", - "FAVORITES": "Add to favorites", - "SHARE": "Share", - "CREATE_LIBRARY": "Create Library" - }, - "ACTIONS": { - "VERSIONS": "Manage versions", - "ASPECTS": "Update Aspects", - "LOCK": "Lock", - "METADATA": "Info", - "DOWNLOAD": "Download", - "PERMISSION": "Permission", - "FOLDER": { - "COPY": "Copy", - "MOVE": "Move", - "DELETE": "Delete" - }, - "DOCUMENT": { - "COPY": "Copy", - "MOVE": "Move", - "DELETE": "Delete" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Reset to default", - "ADD_ROW": "Add row", - "REPLACE_ROWS": "Replace rows", - "REPLACE_COLUMNS": "Replace columns", - "LOAD_NODE": "Load Node", - "MULTISELECT": "Multiselect", - "MULTISELECT_DESCRIPTION": "Use Cmd (Mac) or Ctrl (Windows) to toggle selection of multiple items", - "USE_CUSTOM_COLUMN_HEADER": "Use custom template for 'User' header", - "CUSTOM_COLUMN_HEADER": "Custom User Header Template" - }, - "PS-TAB": { - "TASKS-TAB": "Tasks", - "PROCESSES-TAB": "Process", - "SETTINGS-TAB": "Settings", - "START-TASK": "Start task", - "START-PROCESS": "Start process", - "PROCESS-AUDIT-LOG": "Process Audit log", - "TASK-AUDIT-LOG": "Task Audit log", - "TASK-SHOW-HEADER": "Show details header" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "App", - "SETTINGS_TAB": "Settings" - }, - "FORM-LIST": { - "STORE": "Store", - "RESTORE": "Restore" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "{{taskName}} task has been assigned to {{assignee}}", "PROCESS_STARTED": "{{processName}} process has been started", "TASK_UPDATED": "{{taskName}} task details have been updated", "TASK_CREATED": "{{taskName}} task was created" }, - "FORM-LOADING": { - "FORM_DATA": "Form Data", - "FORM_DATA_MESSAGE": "Enter values to populate the form", - "TYPEAHEAD_PLACEHOLDER": "Typeahead", - "RADIO_PLACEHOLDER": "Radio Button", - "SELECT_PLACEHOLDER": "DropDown" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Login footer", - "SHOW_REMEMBERME": "Show remember me", - "SHOW_SUCCESS_ROUTE": "Show success route", - "CUSTOM_LOGO": "Custom Logo" - }, "SEARCH": { "RESULTS": "Search results", "NO_RESULT": "No results found", @@ -275,104 +28,12 @@ "XXTRALARGE": "8.Size: XX large" } }, - "SOCIAL": { - "LIKE": "Like component", - "RATING": "Rating component" - }, - "TAG": { - "LIST": "List Tags Content Services", - "INSERT": "Insert Node ID", - "NODE_LIST": "Tag list By Node ID" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Inherit Permission", - "INHERITED_PERMISSIONS_BUTTON": "Permission Inherited" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Insert App ID", - "APP_ID_TYPE_ERROR": "App ID must be a number", - "NUMBER_TYPE_ERROR": "Value must be a number", - "NUMBER_GREATER_THAN": "Value must be greater than or equal to {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Starting page" - }, - "TASK_CONTEXT_MENU": "Task List Context Menu" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Insert App ID", - "APP_ID_TYPE_ERROR": "App ID must be a number", - "NUMBER_GREATER_THAN": "Value must be greater than or equal to {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Process List Context Menu" - }, "GROUP-TITLE1-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION ONE", "GROUP-TITLE2-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION TWO", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Back to home" - }, "507": { "TITLE": "ACS Disk full", - "DESCRIPTION": "Content exceeds overall storage quota limit configured for the network or system", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Content exceeds overall storage quota limit configured for the network or system" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Customise your filter" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Customise your filter" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Single Selection", - "MULTI": "Multiple Selection", - "PRESELECTED_VALUE": "Preselect: ", - "ROLE": "Roles: ", - "APP_NAME": "Application Name", - "APP_FILTER_MODE": "Filter by application name", - "ROLE_FILTER_MODE": "Filter by role", - "PRESELECT_VALIDATION": "Preselect validation", - "ALL_PRESELECTED_USERS": "All Preselected Users", - "ALL_PRESELECTED_GROUPS": "All Preselected Groups", - "INVALID_USERS": "Invalid Users", - "INVALID_GROUPS": "Invalid Groups", - "READONLY_MODE": "Read-only Mode", - "GROUPS_RESTRICTION": "Groups Restriction" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Multiselection", - "TESTING_MODE": "Testing Mode", - "SELECTION_MODE": "Selection Mode", - "SELECTED_ROWS": "Selected Rows", - "TASK_DETAILS_REDIRECTION": "Display task details on task click", - "PROCESS_DETAILS_REDIRECTION": "Display process details on process click", - "ACTION": { - "ACTION_TITLE": "Add Action", - "ACTION_MENU": "Action Menu", - "CONTEX_MENU": "Context Menu", - "ACTION_VISIBLE": "Visible", - "ACTION_DISABLE": "Disable", - "ADD_BUTTON": "Add", - "KEY": "Key", - "TITLE": "Title", - "ICON": "Icon", - "TASK_ID": "Task ID", - "PROCESS_ID": "Process Instance ID", - "ACTION_TYPE": "Action Type" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Create a new folder button", - "EDIT_NODE_LABEL": "Edit node button", - "DELETE_NODE_LABEL": "Delete node icon button" - }, - "DEFAULT_SEARCH": "Default", - "OPEN_DIALOG": "Open dialog", - "SHOW_LIST_LABEL": "Click to show the list" + } } diff --git a/demo-shell/resources/i18n/es.json b/demo-shell/resources/i18n/es.json index f9226aec88..e7858f58d9 100755 --- a/demo-shell/resources/i18n/es.json +++ b/demo-shell/resources/i18n/es.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Tipo de autenticación", - "BASIC": "Autenticación básica", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Proveedor", - "REQUIRED": "Este campo es obligatorio", - "CS_URL_ERROR": "La dirección de Content Services no coincide con el formato de la URL", - "PS_URL_ERROR": "La dirección de Process Services no coincide con el formato de la URL", - "TITLE": "Configuración", - "CS-HOST": "URL de Content Services", - "BP-HOST": "URL de Process Services", - "BACK": "Volver", - "APPLY": "Aplicar", - "NOT_VALID": "http(s)://host|ip:port(/path) no reconocido; pruebe con una URL diferente.", - "REDIRECT": "URI de redireccionamiento", - "REDIRECT_LOGOUT": "Cierre de sesión de URI de redireccionamiento", - "SILENT": "Inicio de sesión silencioso", - "SCOPE": "Ámbito", - "CLIENT": "ID de cliente", - "PUBLIC_URLS": "URL públicas para inicio de sesión silencioso", - "SECRET": "Secreto" - }, - "ABOUT": { - "DEVELOPMENT": "Modo Dev" - }, - "INFO_DRAWER": { - "TITLE": "Detalles", - "COMMENTS": "Comentarios", - "PROPERTIES": "Propiedades", - "VERSIONS": "Versiones" - }, - "HOME": { - "TITLE": "Componentes angulares para Alfresco", - "DOCUMENTATION": "Documentación" - }, - "LOGOUT": { - "TITLE": "Página de cierre de sesión", - "SUB_TITLE": "Se ha cerrado su sesión", - "LOGIN": "Iniciar sesión", - "HOME": "Inicio" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Permitir eliminar", - "SHOW_COMMENTS": "Mostrar comentarios en las versiones", - "ALLOW_DOWNLOAD": "Habilitar descarga de versión", - "READ_ONLY": "Solo lectura", - "COMMENTS": "Mostrar comentarios", - "VERSION_COMPARISON": "Mostrar versión comparada" - }, - "PERSONAL-FILES": "Ficheros personales", - "WARN-MULTIPLE-UPLOADS": "Mostrar advertencia de múltiples cargas.", - "CUSTOM-PERMISSION-MESSAGE": "Habilitar mensaje de permiso personalizado", - "MEDIUM-TIME-FORMAT": "Habilitar formato de tiempo mediano para lista de documentos", - "SEARCH": { - "RADIO": { - "NONE": "Ninguno", - "ALL": "Todos", - "FOLDER": "Carpeta", - "DOCUMENT": "Documento" - } - } - }, "title": "Bienvenido", - "VERSION": { - "NO_PERMISSION": "No tiene permiso para administrar versiones de este contenido", - "NO_PERMISSION_EVENT": "No tiene permiso ${event.permission} para ${event.action} el ${event.type}", - "CHOOSE_FILE": "Seleccione un fichero para ver sus versiones", - "DIALOG": { - "CLOSE": "Cerrar", - "TITLE": "Gestionar versiones" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Cerrar", - "TITLE": "Metadatos" - } - }, - "APP_LAYOUT": { - "APP": "Aplicación", - "HEADER_TEXT_COLOR": "Color de texto de encabezado", - "APP_NAME": "Aplicación ADF Demo", - "FILTERED_SEARCH": "Filtros", - "HOME": "Inicio", - "NODE-SELECTOR": "Selector de nodo", - "SITES": "Sitios", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Ruta de navegación", - "NOTIFICATIONS": "Notificaciones", - "TASK_LIST": "Lista de tareas", - "PROCESS_LIST": "Lista de procesos", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Iniciar sesión", - "CUSTOM_SOURCES": "Fuentes personalizadas", - "DATATABLE": "Tabla de datos", - "DATATABLE_LAZY": "Tabla de datos (diferida)", - "DOCUMENT_LIST": "Lista de documentos", - "TEMPLATE": "Plantilla", - "FORM": "Formulario", - "FORM_LIST": "Lista de formularios", - "FORM_LOADING": "Carga de formulario", - "UPLOADER": "Cargador", - "WEBSCRIPT": "Webscript", - "TAG": "Etiqueta", - "PIPES": "Pipes", - "TRASHCAN": "Papelera", - "SOCIAL": "Social", - "SETTINGS": "Configuración", - "CONFIG-EDITOR": "Editor de configuración", - "OVERLAY_VIEWER": "Visor de superposición", - "ABOUT": "Acerca de", - "SEARCH": "Búsqueda ampliada", - "EXTENDED_SEARCH_QUERY_BODY": "Búsqueda ampliada con cuerpo de consulta", - "WORD_TO_SEARCH": "Buscar palabra", - "SEARCH_CREATED_BY": "Creado por", - "SEARCH_SERVICE_APPROACH": "Marque esto para desactivar la propiedad de entrada y configurar el uso del servicio", - "HEADER_DATA": "Datos de encabezado", - "TREE_VIEW": "Vista de árbol", - "EXPAND_LIST": "Lista de elementos expandible", - "ICONS": "Iconos", - "PEOPLE_GROUPS_CLOUD": "Personas/Grupos en la nube", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Encabezados de tareas en componente nube", - "APP_NAME_INPUT": "Nombre de aplicación", - "TASK_ID_INPUT": "ID de tarea", - "FIND_TASK_BUTTON": "Buscar tarea" - }, - "PEOPLE_CLOUD": "Componente en la nube de personas", - "GROUPS_CLOUD": "Componente en la nube de grupos", - "CONFIRM-DIALOG": "Cuadro de diálogo de confirmación", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Lista de tareas de servicio", - "RICH_TEXT_EDITOR": "Editor de texto enriquecido" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Eliminar permanentemente", - "RESTORE": "Restaurar" - }, - "EMPTY_STATE": { - "TITLE": "La papelera está vacía", - "FIRST_TEXT": "Los elementos que elimine se moverán a la papelera.", - "SECOND_TEXT": "Vacíe la papelera para eliminar los elementos permanentemente." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Selección múltiple (con casillas)", - "THUMBNAILS": "Habilitar miniaturas", - "ALLOW_DROP_FILES": "Habilitar arrastre de ficheros a una carpeta o fichero", - "MULTIPLE_FILE_UPLOAD": "Carga de varios ficheros", - "FOLDER_UPLOAD": "Carga de carpetas", - "CUSTOM_FILTER": "Filtro de extensiones personalizado", - "MAX_SIZE": "Filtro de tamaño máximo", - "ENABLE_VERSIONING": "Habilitar control de versiones", - "DESCRIPTION_UPLOAD": "Habilitar carga", - "ENABLE_INFINITE_SCROLL": "Habilitar desplazamiento infinito", - "MULTISELECT_DESCRIPTION": "Utilice Cmd (Mac) o Ctrl (Windows) para cambiar la selección de varios elementos", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "La lista de ficheros recientes está vacía" - }, - "TITLE": "Ficheros recientes" - }, - "COLUMNS": { - "DISPLAY_NAME": "Mostrar nombre", - "IS_LOCKED": "Bloquear", - "TAG": "Etiqueta", - "NODE_ID": "ID de nodo", - "CREATED_BY": "Creado por", - "CREATED_ON": "Creado", - "CREATED": "Creado", - "SIZE": "Tamaño", - "DELETED_ON": "Eliminado", - "DELETED_BY": "Eliminado por" - }, - "TOOLBAR": { - "CARDVIEW": "Modo de vista de tarjeta", - "SHARE_EDIT": "Editar configuración", - "NEW_FOLDER": "Nueva carpeta", - "EDIT_FOLDER": "Editar carpeta", - "DOWNLOAD": "Descargar", - "DELETE": "Eliminar", - "FAVORITES": "Añadir a Favoritos", - "SHARE": "Compartir", - "THEME": "Seleccionar un tema", - "SHOW_VERSION": "Mostrar versión", - "HIDE_VERSION": "Ocultar versión", - "LISTVIEW": "Modo de vista de lista", - "CREATE_LIBRARY": "Crear biblioteca" - }, - "ACTIONS": { - "VERSIONS": "Gestionar versiones", - "ASPECTS": "Actualizar aspectos", - "LOCK": "Bloquear", - "METADATA": "Información", - "DOWNLOAD": "Descargar", - "PERMISSION": "Permiso", - "FOLDER": { - "COPY": "Copiar", - "MOVE": "Mover", - "DELETE": "Eliminar" - }, - "DOCUMENT": { - "COPY": "Copiar", - "MOVE": "Mover", - "DELETE": "Eliminar", - "PROCESS_ACTION": "Iniciar proceso" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Restablecer a predeterminado", - "ADD_ROW": "Añadir fila", - "REPLACE_ROWS": "Sustituir filas", - "REPLACE_COLUMNS": "Sustituir columnas", - "LOAD_NODE": "Cargar nodo", - "MULTISELECT": "Selección múltiple", - "MULTISELECT_DESCRIPTION": "Utilice Cmd (Mac) o Ctrl (Windows) para cambiar la selección de varios elementos", - "USE_CUSTOM_COLUMN_HEADER": "Utilizar una plantilla personalizada para el encabezado 'Usuario'", - "CUSTOM_COLUMN_HEADER": "Plantilla de encabezado de usuario personalizado" - }, - "PS-TAB": { - "TASKS-TAB": "Tareas", - "PROCESSES-TAB": "Proceso", - "SETTINGS-TAB": "Configuración", - "START-TASK": "Iniciar tarea", - "START-PROCESS": "Iniciar proceso", - "PROCESS-AUDIT-LOG": "Registro de auditoría de procesos", - "TASK-AUDIT-LOG": "Registro de auditoría de tareas", - "TASK-SHOW-HEADER": "Mostrar encabezado de detalles" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Aplicación", - "SETTINGS_TAB": "Configuración" - }, - "FORM-LIST": { - "STORE": "Almacenar", - "RESTORE": "Restaurar" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "La tarea {{taskName}} ha sido asignada a {{assignee}}", "PROCESS_STARTED": "Se ha iniciado el proceso {{processName}}", "TASK_UPDATED": "Se actualizaron los detalles de la tarea {{taskName}}", "TASK_CREATED": "Se ha creado la tarea {{taskName}}" }, - "FORM-LOADING": { - "FORM_DATA": "Datos del formulario", - "FORM_DATA_MESSAGE": "Introduzca valores para rellenar el formulario", - "TYPEAHEAD_PLACEHOLDER": "Predictivo", - "RADIO_PLACEHOLDER": "Botón de opción", - "SELECT_PLACEHOLDER": "Desplegable" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Pie del inicio de sesión", - "SHOW_REMEMBERME": "Mostrar opción para recordarme", - "SHOW_SUCCESS_ROUTE": "Mostrar ruta correcta", - "CUSTOM_LOGO": "Logotipo personalizado" - }, "SEARCH": { "RESULTS": "Resultados de la búsqueda", "NO_RESULT": "Ningún resultado encontrado", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.Tamaño: extraextragrande" } }, - "SOCIAL": { - "LIKE": "Componente Me gusta", - "RATING": "Componente de calificación" - }, - "TAG": { - "LIST": "Lista de etiquetas de Content Services", - "INSERT": "Insertar ID del nodo", - "NODE_LIST": "Lista de etiquetas por ID de nodo" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Heredar permiso", - "INHERITED_PERMISSIONS_BUTTON": "Permiso heredado" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Insertar ID de aplicación", - "APP_ID_TYPE_ERROR": "El ID de aplicación debe ser un número", - "NUMBER_TYPE_ERROR": "El valor debe ser un número", - "NUMBER_GREATER_THAN": "El valor debe ser igual o superior a {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Inicio de página" - }, - "TASK_CONTEXT_MENU": "Menú de contexto Lista de tareas" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Insertar ID de aplicación", - "APP_ID_TYPE_ERROR": "El ID de aplicación debe ser un número", - "NUMBER_GREATER_THAN": "El valor debe ser igual o superior a {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Menú de contexto Lista de procesos" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Traducción de título personalizado 1", "GROUP-TITLE2-TRANSLATION-KEY": "Traducción de título personalizado 2", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Volver al inicio" - }, "507": { "TITLE": "Disco ACS lleno", - "DESCRIPTION": "El contenido supera el límite de la cuota de almacenamiento general configurado para la red o sistema.", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "El contenido supera el límite de la cuota de almacenamiento general configurado para la red o sistema." } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Personalice su filtro" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Personalice su filtro" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Selección individual", - "MULTI": "Selección múltiple", - "PRESELECTED_VALUE": "Preseleccionar: ", - "ROLE": "Funciones: ", - "APP_NAME": "Nombre de la aplicación", - "APP_FILTER_MODE": "Filtrar por nombre de la aplicación", - "ROLE_FILTER_MODE": "Filtrar por función", - "PRESELECT_VALIDATION": "Preseleccionar validación", - "ALL_PRESELECTED_USERS": "Todos los usuarios preseleccionados", - "ALL_PRESELECTED_GROUPS": "Todos los grupos preseleccionados", - "INVALID_USERS": "Usuarios no válidos", - "INVALID_GROUPS": "Grupos no válidos", - "READONLY_MODE": "Modo de solo lectura", - "GROUPS_RESTRICTION": "Restricción de grupos" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Selección múltiple", - "TESTING_MODE": "Modo de prueba", - "SELECTION_MODE": "Modo de selección", - "SELECTED_ROWS": "Filas seleccionadas", - "TASK_DETAILS_REDIRECTION": "Mostrar detalles de la tarea haciendo clic en la tarea", - "PROCESS_DETAILS_REDIRECTION": "Mostrar detalles del proceso al hacer clic en el proceso", - "ACTION": { - "ACTION_TITLE": "Añadir acción", - "ACTION_MENU": "Menú de acción", - "CONTEX_MENU": "Menú de contexto", - "ACTION_VISIBLE": "Visible", - "ACTION_DISABLE": "Desactivar", - "ADD_BUTTON": "Añadir", - "KEY": "Clave", - "TITLE": "Título", - "ICON": "Icono", - "TASK_ID": "ID de tarea", - "PROCESS_ID": "ID de instancia del proceso", - "ACTION_TYPE": "Tipo de acción" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Crear un nuevo botón de carpeta", - "EDIT_NODE_LABEL": "Editar botón de nodo", - "DELETE_NODE_LABEL": "Eliminar el botón del icono del nodo" - }, - "DEFAULT_SEARCH": "Predeterminado", - "OPEN_DIALOG": "Abrir cuadro de diálogo", - "SHOW_LIST_LABEL": "Hacer clic para mostrar la lista" + } } diff --git a/demo-shell/resources/i18n/fi.json b/demo-shell/resources/i18n/fi.json index c56d96fce3..711d1709af 100755 --- a/demo-shell/resources/i18n/fi.json +++ b/demo-shell/resources/i18n/fi.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Todennustyyppi", - "BASIC": "Perustodennus", - "SSO": "Kertakirjautuminen", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Palvelu", - "REQUIRED": "Tämä kenttä on pakollinen", - "CS_URL_ERROR": "Content Services -osoite ei täsmää URL-muodon kanssa", - "PS_URL_ERROR": "Process Services -osoite ei täsmää URL-muodon kanssa", - "TITLE": "Asetukset", - "CS-HOST": "Content Servicesin URL-osoite", - "BP-HOST": "Process Servicesin URL-osoite", - "BACK": "Takaisin", - "APPLY": "Käytä", - "NOT_VALID": "Osoitetta http(s)://host|ip:port(/path) ei tunnisteta. Kokeile toista URL-osoitetta.", - "REDIRECT": "Uudelleenohjauksen URI-osoite", - "REDIRECT_LOGOUT": "Uudelleenohjauksen URI-osoite – uloskirjautuminen", - "SILENT": "Hiljainen kirjautuminen", - "SCOPE": "Laajuus", - "CLIENT": "Asiakastunnus", - "PUBLIC_URLS": "Yleisten url-osoitteiden hiljainen sisäänkirjaus", - "SECRET": "Salainen" - }, - "ABOUT": { - "DEVELOPMENT": "Kehitystapa" - }, - "INFO_DRAWER": { - "TITLE": "Tiedot", - "COMMENTS": "Kommentit", - "PROPERTIES": "Ominaisuudet", - "VERSIONS": "Versiot" - }, - "HOME": { - "TITLE": "Angular-komponentit Alfrescolle", - "DOCUMENTATION": "Dokumentaatio" - }, - "LOGOUT": { - "TITLE": "Uloskirjautumissivu", - "SUB_TITLE": "Olet nyt kirjautunut ulos", - "LOGIN": "Kirjaudu sisään", - "HOME": "Aloitussivu" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Salli poistaminen", - "SHOW_COMMENTS": "Näytä kommentit versioissa", - "ALLOW_DOWNLOAD": "Ota version lataaminen käyttöön", - "READ_ONLY": "Vain luku", - "COMMENTS": "Näytä kommentit", - "VERSION_COMPARISON": "Näytä versiovertailu" - }, - "PERSONAL-FILES": "Omat tiedostot", - "WARN-MULTIPLE-UPLOADS": "Näytä varoitus useille latauksille.", - "CUSTOM-PERMISSION-MESSAGE": "Muokkaa omaa oikeusilmoitusta", - "MEDIUM-TIME-FORMAT": "Ota Medium-aikamuoto käyttöön asiakirjaluettelossa", - "SEARCH": { - "RADIO": { - "NONE": "Ei mitään", - "ALL": "Kaikki", - "FOLDER": "Kansio", - "DOCUMENT": "Asiakirja" - } - } - }, "title": "Tervetuloa", - "VERSION": { - "NO_PERMISSION": "Sinulla ei ole oikeutta hallita tämän sisällön versioita", - "NO_PERMISSION_EVENT": "Sinulla ei ole oikeutta ${event.permission} tapahtumalle ${event.action} tapahtumatyypissä ${event.type}", - "CHOOSE_FILE": "Jos haluat nähdä tiedoston versiot, valitse haluamasi tiedosto", - "DIALOG": { - "CLOSE": "Sulje", - "TITLE": "Hallitse versioita" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Sulje", - "TITLE": "Metatiedot" - } - }, - "APP_LAYOUT": { - "APP": "Sovellus", - "HEADER_TEXT_COLOR": "Otsikkotekstin väri", - "APP_NAME": "ADF-demosovellus", - "FILTERED_SEARCH": "Suodattimet", - "HOME": "Aloitussivu", - "NODE-SELECTOR": "Solmuvalitsin", - "SITES": "Sivustot", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Siirtymispolku", - "NOTIFICATIONS": "Ilmoitukset", - "TASK_LIST": "Tehtäväluettelo", - "PROCESS_LIST": "Prosessiluettelo", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "Korttinäkymä", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Kirjaudu sisään", - "CUSTOM_SOURCES": "Omat lähteet", - "DATATABLE": "Tietotaulukko", - "DATATABLE_LAZY": "Tietotaulukko (Lazy)", - "DOCUMENT_LIST": "Asiakirjaluettelo", - "TEMPLATE": "Malli", - "FORM": "Lomake", - "FORM_LIST": "Lomakeluettelo", - "FORM_LOADING": "Lomakelataus", - "UPLOADER": "Lataustoiminto", - "WEBSCRIPT": "Verkkokomentosarja", - "TAG": "Tunniste", - "PIPES": "Putket", - "TRASHCAN": "Roskakori", - "SOCIAL": "Sosiaalinen", - "SETTINGS": "Asetukset", - "CONFIG-EDITOR": "Määrityseditori", - "OVERLAY_VIEWER": "Peittokatselutoiminto", - "ABOUT": "Tietoja", - "SEARCH": "Laajennettu haku", - "EXTENDED_SEARCH_QUERY_BODY": "Laajennettu haku kyselyn rungon avulla", - "WORD_TO_SEARCH": "Hakusana", - "SEARCH_CREATED_BY": "Tekijä:", - "SEARCH_SERVICE_APPROACH": "Jos haluat poistaa käytöstä annetun ominaisuuden ja määrittää palvelun avulla, valitse tämä", - "HEADER_DATA": "Otsikkotiedot", - "TREE_VIEW": "Puunäkymä", - "EXPAND_LIST": "Laajennettava kohdelista", - "ICONS": "Kuvakkeet", - "PEOPLE_GROUPS_CLOUD": "Ihmispilvi/Ryhmäpilvi", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Tehtävänimikepilvi", - "APP_NAME_INPUT": "Sovelluksen nimi", - "TASK_ID_INPUT": "Tehtävän tunnus", - "FIND_TASK_BUTTON": "Etsi tehtävä" - }, - "PEOPLE_CLOUD": "Ihmispilvi-komponentti", - "GROUPS_CLOUD": "Ryhmäpilvi-komponentti", - "CONFIRM-DIALOG": "Vahvistusvalintaikkuna", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Palvelutehtäväluettelo", - "RICH_TEXT_EDITOR": "RTF-editori" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Poista pysyvästi", - "RESTORE": "Palauta" - }, - "EMPTY_STATE": { - "TITLE": "Roskakori on tyhjä", - "FIRST_TEXT": "Poistamasi kohteet siirretään roskakoriin.", - "SECOND_TEXT": "Jos haluat poistaa kohteet pysyvästi, tyhjennä roskakori." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Monivalinta (valintaruuduilla)", - "THUMBNAILS": "Ota pikkukuvat käyttöön", - "ALLOW_DROP_FILES": "Ota tiedostojen kansioon tai tiedostoon pudottaminen käyttöön", - "MULTIPLE_FILE_UPLOAD": "Useiden tiedostojen lataaminen", - "FOLDER_UPLOAD": "Kansion lataaminen", - "CUSTOM_FILTER": "Mukautettu tiedostomuotosuodatin", - "MAX_SIZE": "Enimmäiskoon suodatin", - "ENABLE_VERSIONING": "Ota versionhallinta käyttöön", - "DESCRIPTION_UPLOAD": "Ota lataus käyttöön", - "ENABLE_INFINITE_SCROLL": "Ota rajaton vieritys käyttöön", - "MULTISELECT_DESCRIPTION": "Voit valita useita kohteita Cmd- (Mac) tai Ctrl-näppäimen (Windows) avulla", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Viimeisimpien tiedostojen luettelo on tyhjä" - }, - "TITLE": "Viimeisimmät tiedostot" - }, - "COLUMNS": { - "DISPLAY_NAME": "Näyttönimi", - "IS_LOCKED": "Lukitse", - "TAG": "Tunniste", - "NODE_ID": "Solmutunnus", - "CREATED_BY": "Tekijä:", - "CREATED_ON": "Luotu", - "CREATED": "Luotu", - "SIZE": "Koko", - "DELETED_ON": "Poistettu", - "DELETED_BY": "Poistaja:" - }, - "TOOLBAR": { - "CARDVIEW": "Korttinäkymätila", - "SHARE_EDIT": "Muokkaa asetuksia", - "NEW_FOLDER": "Uusi kansio", - "EDIT_FOLDER": "Muokkaa kansiota", - "DOWNLOAD": "Lataa", - "DELETE": "Poista", - "FAVORITES": "Lisää suosikkeihin", - "SHARE": "Jaa", - "THEME": "Valitse teema", - "SHOW_VERSION": "Näytä versio", - "HIDE_VERSION": "Piilota versio", - "LISTVIEW": "Luettelonäkymätila", - "CREATE_LIBRARY": "Luo kirjasto" - }, - "ACTIONS": { - "VERSIONS": "Hallitse versioita", - "ASPECTS": "Päivitä ominaisuusjoukot", - "LOCK": "Lukitse", - "METADATA": "Tiedot", - "DOWNLOAD": "Lataa", - "PERMISSION": "Oikeus", - "FOLDER": { - "COPY": "Kopioi", - "MOVE": "Siirrä", - "DELETE": "Poista" - }, - "DOCUMENT": { - "COPY": "Kopioi", - "MOVE": "Siirrä", - "DELETE": "Poista", - "PROCESS_ACTION": "Käynnistä prosessi" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Palauta oletukseen", - "ADD_ROW": "Lisää rivi", - "REPLACE_ROWS": "Korvaa rivejä", - "REPLACE_COLUMNS": "Korvaa sarakkeita", - "LOAD_NODE": "Lataa solmu", - "MULTISELECT": "Monivalinta", - "MULTISELECT_DESCRIPTION": "Voit valita useita kohteita Cmd- (Mac) tai Ctrl-näppäimen (Windows) avulla", - "USE_CUSTOM_COLUMN_HEADER": "Käytä mukautettua mallia \"Käyttäjä\"-otsikolle", - "CUSTOM_COLUMN_HEADER": "Mukautettu käyttäjäotsikon malli" - }, - "PS-TAB": { - "TASKS-TAB": "Tehtävät", - "PROCESSES-TAB": "Prosessi", - "SETTINGS-TAB": "Asetukset", - "START-TASK": "Aloita tehtävä", - "START-PROCESS": "Käynnistä prosessi", - "PROCESS-AUDIT-LOG": "Prosessitarkastusloki", - "TASK-AUDIT-LOG": "Tehtävätarkastusloki", - "TASK-SHOW-HEADER": "Näytä tieto-otsikko" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Sovellus", - "SETTINGS_TAB": "Asetukset" - }, - "FORM-LIST": { - "STORE": "Tallenna", - "RESTORE": "Palauta" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "{{taskName}} -tehtävä on määritetty käyttäjälle {{assignee}}", "PROCESS_STARTED": "{{processName}} -prosessi on käynnistetty", "TASK_UPDATED": "{{taskName}} -tehtävän tiedot on päivitetty", "TASK_CREATED": "{{taskName}} -tehtävä luotiin" }, - "FORM-LOADING": { - "FORM_DATA": "Lomaketiedot", - "FORM_DATA_MESSAGE": "Anna lomakkeeseen lisättävät arvot", - "TYPEAHEAD_PLACEHOLDER": "Typeahead", - "RADIO_PLACEHOLDER": "Valintanappi", - "SELECT_PLACEHOLDER": "Avattava valikko" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Kirjautumisalatunniste", - "SHOW_REMEMBERME": "Näytä Muista minut -toiminto", - "SHOW_SUCCESS_ROUTE": "Näytä onnistumispolku", - "CUSTOM_LOGO": "Oma logo" - }, "SEARCH": { "RESULTS": "Hakutulokset", "NO_RESULT": "Tuloksia ei löydy", @@ -285,104 +28,12 @@ "XXTRALARGE": "8. Koko: XXL" } }, - "SOCIAL": { - "LIKE": "Tykkäyskomponentti", - "RATING": "Arviokomponentti" - }, - "TAG": { - "LIST": "Luettelotunnisteet – Content Services", - "INSERT": "Lisää solmutunnus", - "NODE_LIST": "Tunnisteluettelo solmutunnuksen mukaan" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Peri oikeus", - "INHERITED_PERMISSIONS_BUTTON": "Oikeus peritty" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Lisää sovellustunnus", - "APP_ID_TYPE_ERROR": "Sovellustunnuksen täytyy olla numero", - "NUMBER_TYPE_ERROR": "Arvon täytyy olla numero", - "NUMBER_GREATER_THAN": "Arvon täytyy olla yhtä suuri tai suurempi kuin {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Aloitussivu" - }, - "TASK_CONTEXT_MENU": "Tehtäväluettelon pikavalikko" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Lisää sovellustunnus", - "APP_ID_TYPE_ERROR": "Sovellustunnuksen täytyy olla numero", - "NUMBER_GREATER_THAN": "Arvon täytyy olla yhtä suuri tai suurempi kuin {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Prosessiluettelon pikavalikko" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Oma otsikkokäännös yksi", "GROUP-TITLE2-TRANSLATION-KEY": "Oma otsikkokäännös kaksi", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Takaisin aloitussivulle" - }, "507": { "TITLE": "ACS-levy täynnä", - "DESCRIPTION": "Sisältö ylittää verkolle tai järjestelmälle määritetyn tallennustilan kokonaisrajoituksen", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Sisältö ylittää verkolle tai järjestelmälle määritetyn tallennustilan kokonaisrajoituksen" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Muokkaa suodatinta" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Muokkaa suodatinta" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Yksittäinen valinta", - "MULTI": "Monivalinta", - "PRESELECTED_VALUE": "Esivalittu: ", - "ROLE": "Roolit: ", - "APP_NAME": "Sovelluksen nimi", - "APP_FILTER_MODE": "Suodata sovelluksen nimen perusteella", - "ROLE_FILTER_MODE": "Suodata roolin perusteella", - "PRESELECT_VALIDATION": "Vahvistus esivalittu", - "ALL_PRESELECTED_USERS": "Kaikki esivalitut käyttäjät", - "ALL_PRESELECTED_GROUPS": "Kaikki esivalitut ryhmät", - "INVALID_USERS": "Kelpaamattomat käyttäjät", - "INVALID_GROUPS": "Kelpaamattomat ryhmät", - "READONLY_MODE": "Vain luku -tila", - "GROUPS_RESTRICTION": "Ryhmärajoitus" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Monivalinta", - "TESTING_MODE": "Testaustila", - "SELECTION_MODE": "Valintatila", - "SELECTED_ROWS": "Valitut rivit", - "TASK_DETAILS_REDIRECTION": "Näytä tehtävätiedot tehtävää napsauttamalla", - "PROCESS_DETAILS_REDIRECTION": "Näyttää prosessin tiedot prosessia napsautettaessa", - "ACTION": { - "ACTION_TITLE": "Lisää toiminto", - "ACTION_MENU": "Toiminnon valikko", - "CONTEX_MENU": "Pikavalikko", - "ACTION_VISIBLE": "Näkyvissä", - "ACTION_DISABLE": "Poista käytöstä", - "ADD_BUTTON": "Lisää", - "KEY": "Avain", - "TITLE": "Otsikko", - "ICON": "Kuvake", - "TASK_ID": "Tehtävätunnus", - "PROCESS_ID": "Prosessiesiintymätunnus", - "ACTION_TYPE": "Toiminnon tyyppi" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Luo uusi kansio -painike", - "EDIT_NODE_LABEL": "Muokkaa solmua -painike", - "DELETE_NODE_LABEL": "Poista solmukuvake -painike" - }, - "DEFAULT_SEARCH": "Oletus", - "OPEN_DIALOG": "Avaa valintaikkuna", - "SHOW_LIST_LABEL": "Näytä luettelo napsauttamalla" + } } diff --git a/demo-shell/resources/i18n/fr.json b/demo-shell/resources/i18n/fr.json index 12f3e953ab..f2618ad2f8 100755 --- a/demo-shell/resources/i18n/fr.json +++ b/demo-shell/resources/i18n/fr.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Type d'authentification", - "BASIC": "Authentification de base", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Fournisseur", - "REQUIRED": "Ce champ est obligatoire", - "CS_URL_ERROR": "L'adresse Content Services ne correspond pas au format d'URL", - "PS_URL_ERROR": "L'adresse Process Services ne correspond pas au format d'URL", - "TITLE": "Paramètres", - "CS-HOST": "URL de Content Services", - "BP-HOST": "URL de Process Services", - "BACK": "Retour", - "APPLY": "Appliquer", - "NOT_VALID": "Adresse http(s)://host|ip:port(/path) non reconnue, essayez une autre URL.", - "REDIRECT": "URI de redirection", - "REDIRECT_LOGOUT": "Déconnexion URI de redirection", - "SILENT": "Connexion en mode silencieux", - "SCOPE": "Etendue", - "CLIENT": "ID client", - "PUBLIC_URLS": "URL publiques pour connexion en mode silencieux", - "SECRET": "Secret" - }, - "ABOUT": { - "DEVELOPMENT": "Mode développement" - }, - "INFO_DRAWER": { - "TITLE": "Détails", - "COMMENTS": "Commentaires", - "PROPERTIES": "Propriétés", - "VERSIONS": "Versions" - }, - "HOME": { - "TITLE": "Composants Angular pour Alfresco", - "DOCUMENTATION": "Documentation" - }, - "LOGOUT": { - "TITLE": "Page de déconnexion", - "SUB_TITLE": "Vous êtes bien déconnecté", - "LOGIN": "Connexion", - "HOME": "Accueil" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Autoriser la suppression", - "SHOW_COMMENTS": "Afficher les commentaires sur les versions", - "ALLOW_DOWNLOAD": "Activer le téléchargement de la version", - "READ_ONLY": "Lecture seule", - "COMMENTS": "Afficher les commentaires", - "VERSION_COMPARISON": "Afficher la comparaison des versions" - }, - "PERSONAL-FILES": "Fichiers personnels", - "WARN-MULTIPLE-UPLOADS": "Avertir en cas de téléchargements multiples.", - "CUSTOM-PERMISSION-MESSAGE": "Activer le message de droits d'accès personnalisés", - "MEDIUM-TIME-FORMAT": "Activer le format de date \"medium\" pour la liste de documents", - "SEARCH": { - "RADIO": { - "NONE": "Aucune", - "ALL": "Tout", - "FOLDER": "Dossier", - "DOCUMENT": "Document" - } - } - }, "title": "Bienvenue", - "VERSION": { - "NO_PERMISSION": "Vous n'avez pas les droits d'accès pour gérer les versions de ce contenu", - "NO_PERMISSION_EVENT": "Vous n'avez pas les droits d'accès ${event.permission} pour ${event.action} le/la ${event.type}", - "CHOOSE_FILE": "Sélectionnez un fichier pour afficher ses versions", - "DIALOG": { - "CLOSE": "Fermer", - "TITLE": "Gérer les versions" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Fermer", - "TITLE": "Métadonnées" - } - }, - "APP_LAYOUT": { - "APP": "Application", - "HEADER_TEXT_COLOR": "Couleur du texte de l'en-tête", - "APP_NAME": "Application Démo ADF", - "FILTERED_SEARCH": "En-tête du filtre", - "HOME": "Accueil", - "NODE-SELECTOR": "Sélecteur de nœud", - "SITES": "Sites", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Fil d'Ariane", - "NOTIFICATIONS": "Notifications", - "TASK_LIST": "Liste des tâches", - "PROCESS_LIST": "Liste des processus", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Connexion", - "CUSTOM_SOURCES": "Sources personnalisées", - "DATATABLE": "Table de données", - "DATATABLE_LAZY": "Table de données (différé)", - "DOCUMENT_LIST": "Liste de documents", - "TEMPLATE": "Modèle", - "FORM": "Formulaire", - "FORM_LIST": "Liste de formulaires", - "FORM_LOADING": "Chargement du formulaire", - "UPLOADER": "Chargeur", - "WEBSCRIPT": "Script Web", - "TAG": "Tag", - "PIPES": "Tuyaux", - "TRASHCAN": "Corbeille", - "SOCIAL": "Réseaux sociaux", - "SETTINGS": "Paramètres", - "CONFIG-EDITOR": "Editeur de configuration", - "OVERLAY_VIEWER": "Visualisation de la superposition", - "ABOUT": "À propos de", - "SEARCH": "Recherche globale", - "EXTENDED_SEARCH_QUERY_BODY": "Recherche globale sur le corps de la requête", - "WORD_TO_SEARCH": "Mot recherché", - "SEARCH_CREATED_BY": "Créé par", - "SEARCH_SERVICE_APPROACH": "Cochez cette option pour désactiver la propriété d'entrée et configurer à partir du service", - "HEADER_DATA": "Données d'en-tête", - "TREE_VIEW": "Arborescence", - "EXPAND_LIST": "Liste déroulante", - "ICONS": "Icônes", - "PEOPLE_GROUPS_CLOUD": "Cloud des personnes/groupes", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "En-tête de la tâche du composant cloud", - "APP_NAME_INPUT": "Nom de l'application", - "TASK_ID_INPUT": "ID de la tâche", - "FIND_TASK_BUTTON": "Trouver la tâche" - }, - "PEOPLE_CLOUD": "Composant cloud des personnes", - "GROUPS_CLOUD": "Composant cloud des groupes", - "CONFIRM-DIALOG": "Boîte de dialogue de confirmation", - "COMMUNITY": "Communauté", - "SERVICE_TASK_LIST": "Liste des tâches de service", - "RICH_TEXT_EDITOR": "Editeur de texte enrichi" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Supprimer définitivement", - "RESTORE": "Restaurer" - }, - "EMPTY_STATE": { - "TITLE": "La corbeille est vide", - "FIRST_TEXT": "Les éléments supprimés sont placés dans la corbeille.", - "SECOND_TEXT": "Videz la corbeille pour supprimer définitivement les éléments." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Sélection multiple (avec cases à cocher)", - "THUMBNAILS": "Activer les miniatures", - "ALLOW_DROP_FILES": "Activer la fonctionnalité Déposer les fichiers dans un dossier ou un fichier", - "MULTIPLE_FILE_UPLOAD": "Importation de fichiers multiples", - "FOLDER_UPLOAD": "Importation de dossier", - "CUSTOM_FILTER": "Filtre d'extensions personnalisées", - "MAX_SIZE": "Filtre de taille max", - "ENABLE_VERSIONING": "Activer le contrôle de version", - "DESCRIPTION_UPLOAD": "Activer l'importation", - "ENABLE_INFINITE_SCROLL": "Activer le défilement illimité", - "MULTISELECT_DESCRIPTION": "Utiliser Cmd (Mac) ou Ctrl (Windows) pour activer/désactiver la sélection d'éléments multiples", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "La liste des fichiers récents est vide" - }, - "TITLE": "Fichiers récents" - }, - "COLUMNS": { - "DISPLAY_NAME": "Nom affiché", - "IS_LOCKED": "Verrouiller", - "TAG": "Tag", - "NODE_ID": "ID du nœud", - "CREATED_BY": "Créé par", - "CREATED_ON": "Créé le", - "CREATED": "Créé", - "SIZE": "Taille", - "DELETED_ON": "Supprimé", - "DELETED_BY": "Supprimé par" - }, - "TOOLBAR": { - "CARDVIEW": "Mode d'affichage Carte", - "SHARE_EDIT": "Modifier les paramètres", - "NEW_FOLDER": "Nouveau Dossier", - "EDIT_FOLDER": "Modifier le dossier", - "DOWNLOAD": "Télécharger", - "DELETE": "Supprimer", - "FAVORITES": "Ajouter aux favoris", - "SHARE": "Partager", - "THEME": "Sélectionner un thème", - "SHOW_VERSION": "Afficher la version", - "HIDE_VERSION": "Masquer la version", - "LISTVIEW": "Mode Liste", - "CREATE_LIBRARY": "Créer une Bibliothèque" - }, - "ACTIONS": { - "VERSIONS": "Gérer les versions", - "ASPECTS": "Mettre à jour les aspects", - "LOCK": "Verrouiller", - "METADATA": "Informations", - "DOWNLOAD": "Télécharger", - "PERMISSION": "Droit d'accès", - "FOLDER": { - "COPY": "Copier", - "MOVE": "Déplacer", - "DELETE": "Supprimer" - }, - "DOCUMENT": { - "COPY": "Copier", - "MOVE": "Déplacer", - "DELETE": "Supprimer", - "PROCESS_ACTION": "Démarrer le processus" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Rétablir les valeurs par défaut", - "ADD_ROW": "Ajouter une ligne", - "REPLACE_ROWS": "Remplacer les lignes", - "REPLACE_COLUMNS": "Remplacer les colonnes", - "LOAD_NODE": "Charger le nœud", - "MULTISELECT": "Sélection multiple", - "MULTISELECT_DESCRIPTION": "Utiliser Cmd (Mac) ou Ctrl (Windows) pour activer/désactiver la sélection d'éléments multiples", - "USE_CUSTOM_COLUMN_HEADER": "Utiliser un modèle personnalisé pour l'en-tête 'Utilisateur'", - "CUSTOM_COLUMN_HEADER": "Modèle d'en-tête Utilisateur personnalisé" - }, - "PS-TAB": { - "TASKS-TAB": "Tâches", - "PROCESSES-TAB": "Processus", - "SETTINGS-TAB": "Paramètres", - "START-TASK": "Démarrer la tâche", - "START-PROCESS": "Démarrer le processus", - "PROCESS-AUDIT-LOG": "Journal d'audit des processus", - "TASK-AUDIT-LOG": "Journal d'audit des tâches", - "TASK-SHOW-HEADER": "Afficher l'en-tête de détail" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Application", - "SETTINGS_TAB": "Paramètres" - }, - "FORM-LIST": { - "STORE": "Stocker", - "RESTORE": "Restaurer" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "La tâche {{taskName}} a été assignée à {{assignee}}", "PROCESS_STARTED": "Le processus {{processName}} a été démarré", "TASK_UPDATED": "Les détails de la tâche {{taskName}} ont été mis à jour", "TASK_CREATED": "{{taskName}} tâche a été créée" }, - "FORM-LOADING": { - "FORM_DATA": "Données du formulaire", - "FORM_DATA_MESSAGE": "Entrez les valeurs pour remplir le formulaire", - "TYPEAHEAD_PLACEHOLDER": "Saisie semi-automatique", - "RADIO_PLACEHOLDER": "Case d'option", - "SELECT_PLACEHOLDER": "Liste déroulante" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Pied de la page connexion", - "SHOW_REMEMBERME": "Afficher Mémoriser mes informations", - "SHOW_SUCCESS_ROUTE": "Afficher la success route", - "CUSTOM_LOGO": "Logo personnalisé" - }, "SEARCH": { "RESULTS": "Résultats de la recherche", "NO_RESULT": "Aucun résultat trouvé", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.Taille : énorme" } }, - "SOCIAL": { - "LIKE": "Composant J'aime", - "RATING": "Composant d'évaluation" - }, - "TAG": { - "LIST": "Liste des tags Content Services", - "INSERT": "Insérer l'ID du nœud", - "NODE_LIST": "Liste des tags par ID de nœud" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Hériter des droits d'accès", - "INHERITED_PERMISSIONS_BUTTON": "Droits d'accès hérités" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Insérer l'ID d'application", - "APP_ID_TYPE_ERROR": "L'ID d'application doit être un numéro", - "NUMBER_TYPE_ERROR": "La valeur doit être un numéro", - "NUMBER_GREATER_THAN": "La valeur doit être égale ou supérieure à {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Démarrage de la page" - }, - "TASK_CONTEXT_MENU": "Menu contextuel Liste des tâches" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Insérer l'ID d'application", - "APP_ID_TYPE_ERROR": "L'ID d'application doit être un numéro", - "NUMBER_GREATER_THAN": "La valeur doit être égale ou supérieure à {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Menu contextuel Liste des processus" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Titre personnalisé traduction un", "GROUP-TITLE2-TRANSLATION-KEY": "Titre personnalisé traduction deux", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Retour à l'accueil" - }, "507": { "TITLE": "Disque ACS plein", - "DESCRIPTION": "Le contenu dépasse le quota maximum de stockage configuré pour le réseau ou système", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Le contenu dépasse le quota maximum de stockage configuré pour le réseau ou système" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "Process List Cloud Demo", - "CUSTOMIZE_FILTERS": "Personnaliser votre filtre" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Personnaliser votre filtre" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Sélection unique", - "MULTI": "Sélection multiple", - "PRESELECTED_VALUE": "Présélection : ", - "ROLE": "Rôles : ", - "APP_NAME": "Nom de l'application", - "APP_FILTER_MODE": "Filtrer par nom d'application", - "ROLE_FILTER_MODE": "Filtrer par rôle", - "PRESELECT_VALIDATION": "Validation présélectionnée", - "ALL_PRESELECTED_USERS": "Tous les utilisateurs présélectionnés", - "ALL_PRESELECTED_GROUPS": "Tous les groupes présélectionnés", - "INVALID_USERS": "Utilisateurs non valides", - "INVALID_GROUPS": "Groupes non valides", - "READONLY_MODE": "Mode lecture seule", - "GROUPS_RESTRICTION": "Restriction de groupes" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Multisélection", - "TESTING_MODE": "Mode de test", - "SELECTION_MODE": "Mode de sélection", - "SELECTED_ROWS": "Lignes sélectionnées", - "TASK_DETAILS_REDIRECTION": "Afficher les détails de la tâche en cliquant dessus", - "PROCESS_DETAILS_REDIRECTION": "Afficher les détails du processus en cliquant dessus", - "ACTION": { - "ACTION_TITLE": "Ajouter une action", - "ACTION_MENU": "Menu Action", - "CONTEX_MENU": "Menu contextuel", - "ACTION_VISIBLE": "Visible", - "ACTION_DISABLE": "Désactiver", - "ADD_BUTTON": "Ajouter", - "KEY": "Clé", - "TITLE": "Titre", - "ICON": "Icône", - "TASK_ID": "ID de la tâche", - "PROCESS_ID": "ID de l'instance de processus", - "ACTION_TYPE": "Type d'action" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Bouton Créer un nouveau dossier", - "EDIT_NODE_LABEL": "Bouton Modifier le nœud", - "DELETE_NODE_LABEL": "Bouton Supprimer l'icône du nœud" - }, - "DEFAULT_SEARCH": "Par défaut", - "OPEN_DIALOG": "Boîte de dialogue Ouvrir", - "SHOW_LIST_LABEL": "Cliquer pour afficher la liste" + } } diff --git a/demo-shell/resources/i18n/it.json b/demo-shell/resources/i18n/it.json index 18ebd88a5f..15271d5095 100755 --- a/demo-shell/resources/i18n/it.json +++ b/demo-shell/resources/i18n/it.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Tipo di autenticazione", - "BASIC": "Autenticazione di base", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Fornitore", - "REQUIRED": "Questo campo è obbligatorio", - "CS_URL_ERROR": "L'indirizzo Content Services non corrisponde al formato dell'URL", - "PS_URL_ERROR": "L'indirizzo Process Services non corrisponde al formato dell'URL", - "TITLE": "Impostazioni", - "CS-HOST": "URL Content Services", - "BP-HOST": "URL Process Services", - "BACK": "Indietro", - "APPLY": "Applica", - "NOT_VALID": "http(s)://host|ip:port(/path) non riconosciuto, provare un URL diverso.", - "REDIRECT": "Reindirizza URI", - "REDIRECT_LOGOUT": "Reindirizza logout URI", - "SILENT": "Login invisibile", - "SCOPE": "Ambito", - "CLIENT": "ID client", - "PUBLIC_URLS": "URL pubblici per login invisibile", - "SECRET": "Segreto" - }, - "ABOUT": { - "DEVELOPMENT": "Modalità sviluppo" - }, - "INFO_DRAWER": { - "TITLE": "Dettagli", - "COMMENTS": "Commenti", - "PROPERTIES": "Proprietà", - "VERSIONS": "Versioni" - }, - "HOME": { - "TITLE": "Componenti angolari per Alfresco", - "DOCUMENTATION": "Documentazione" - }, - "LOGOUT": { - "TITLE": "Pagina di logout", - "SUB_TITLE": "Utente disconnesso", - "LOGIN": "Login", - "HOME": "Home" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Consenti eliminazione", - "SHOW_COMMENTS": "Mostra commenti sulle versioni", - "ALLOW_DOWNLOAD": "Abilita scaricamento versioni", - "READ_ONLY": "Sola lettura", - "COMMENTS": "Mostra commenti", - "VERSION_COMPARISON": "Mostra confronto versioni" - }, - "PERSONAL-FILES": "File personali", - "WARN-MULTIPLE-UPLOADS": "Mostra avviso per caricamenti multipli.", - "CUSTOM-PERMISSION-MESSAGE": "Abilita messaggio di autorizzazione personalizzato", - "MEDIUM-TIME-FORMAT": "Abilita formato tempo medio per elenco documenti", - "SEARCH": { - "RADIO": { - "NONE": "Nessuno", - "ALL": "Tutti", - "FOLDER": "Cartella", - "DOCUMENT": "Documento" - } - } - }, "title": "Benvenuto", - "VERSION": { - "NO_PERMISSION": "Non si dispone dell'autorizzazione per gestire versioni di questo contenuto", - "NO_PERMISSION_EVENT": "Non si dispone dell'autorizzazione ${event.permission} per ${event.action} ${event.type}", - "CHOOSE_FILE": "Seleziona un file per visualizzarne le versioni", - "DIALOG": { - "CLOSE": "Chiudi", - "TITLE": "Gestione versioni" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Chiudi", - "TITLE": "Metadati" - } - }, - "APP_LAYOUT": { - "APP": "Applicazione", - "HEADER_TEXT_COLOR": "Colore testo intestazione", - "APP_NAME": "Applicazione demo ADF", - "FILTERED_SEARCH": "Intestazione filtro", - "HOME": "Home", - "NODE-SELECTOR": "Selezione nodo", - "SITES": "Siti", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Breadcrumb", - "NOTIFICATIONS": "Notifiche", - "TASK_LIST": "Elenco compiti", - "PROCESS_LIST": "Elenco processi", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Login", - "CUSTOM_SOURCES": "Fonti personalizzate", - "DATATABLE": "Datatable", - "DATATABLE_LAZY": "Caricamento dati (ottimizzato)", - "DOCUMENT_LIST": "Elenco documenti", - "TEMPLATE": "Modello", - "FORM": "Modulo", - "FORM_LIST": "Elenco moduli", - "FORM_LOADING": "Caricamento modulo", - "UPLOADER": "Uploader", - "WEBSCRIPT": "Webscript", - "TAG": "Tag", - "PIPES": "Tubi", - "TRASHCAN": "Cestino", - "SOCIAL": "Social", - "SETTINGS": "Impostazioni", - "CONFIG-EDITOR": "Editor configurazione", - "OVERLAY_VIEWER": "Visualizzatore overlay", - "ABOUT": "Informazioni su", - "SEARCH": "Ricerca estesa", - "EXTENDED_SEARCH_QUERY_BODY": "Ricerca estesa con corpo query", - "WORD_TO_SEARCH": "Termine di ricerca", - "SEARCH_CREATED_BY": "Creato da", - "SEARCH_SERVICE_APPROACH": "Selezionare per disattivare la proprietà di input ed eseguire la configurazione utilizzando il servizio", - "HEADER_DATA": "Dati intestazione", - "TREE_VIEW": "Vista struttura", - "EXPAND_LIST": "Elenco elementi espandibile", - "ICONS": "Icone", - "PEOPLE_GROUPS_CLOUD": "Cloud persone/gruppi", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Cloud intestazione compito", - "APP_NAME_INPUT": "Nome applicazione", - "TASK_ID_INPUT": "ID compito", - "FIND_TASK_BUTTON": "Trova compito" - }, - "PEOPLE_CLOUD": "Componente Cloud persone", - "GROUPS_CLOUD": "Componente Cloud gruppi", - "CONFIRM-DIALOG": "Finestra di conferma", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Elenco compiti servizio", - "RICH_TEXT_EDITOR": "Editor di testo RTF" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Elimina definitivamente", - "RESTORE": "Ripristina" - }, - "EMPTY_STATE": { - "TITLE": "Il cestino è vuoto", - "FIRST_TEXT": "Gli elementi eliminati vengono spostati nel cestino.", - "SECOND_TEXT": "Svuotare il cestino per eliminare definitivamente gli elementi." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Selezione multipla (con caselle di spunta)", - "THUMBNAILS": "Abilita miniature", - "ALLOW_DROP_FILES": "Abilita Rilascio file in una cartella o file", - "MULTIPLE_FILE_UPLOAD": "Caricamento di file multipli", - "FOLDER_UPLOAD": "Caricamento cartelle", - "CUSTOM_FILTER": "Filtro estensioni personalizzato", - "MAX_SIZE": "Filtro dimensioni max", - "ENABLE_VERSIONING": "Abilita controllo delle versioni", - "DESCRIPTION_UPLOAD": "Abilita caricamento", - "ENABLE_INFINITE_SCROLL": "Abilita scorrimento infinito", - "MULTISELECT_DESCRIPTION": "Usa Cmd (Mac) o Ctrl (Windows) per attivare/disattivare la selezione di più elementi", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "L'elenco File recenti è vuoto" - }, - "TITLE": "File recenti" - }, - "COLUMNS": { - "DISPLAY_NAME": "Nome visualizzato", - "IS_LOCKED": "Blocca", - "TAG": "Tag", - "NODE_ID": "ID nodo", - "CREATED_BY": "Creato da", - "CREATED_ON": "Creato il", - "CREATED": "Creato", - "SIZE": "Dimensione", - "DELETED_ON": "Eliminato", - "DELETED_BY": "Eliminato da" - }, - "TOOLBAR": { - "CARDVIEW": "Modalità di visualizzazione scheda", - "SHARE_EDIT": "Modifica impostazioni", - "NEW_FOLDER": "Nuova cartella", - "EDIT_FOLDER": "Modifica cartella", - "DOWNLOAD": "Scarica", - "DELETE": "Elimina", - "FAVORITES": "Aggiungi ai preferiti", - "SHARE": "Condividi", - "THEME": "Seleziona un tema", - "SHOW_VERSION": "Mostra versione", - "HIDE_VERSION": "Nascondi versione", - "LISTVIEW": "Modalità vista elenco", - "CREATE_LIBRARY": "Crea libreria" - }, - "ACTIONS": { - "VERSIONS": "Gestione versioni", - "ASPECTS": "Aggiorna aspetti", - "LOCK": "Blocca", - "METADATA": "Informazioni", - "DOWNLOAD": "Scarica", - "PERMISSION": "Autorizzazione", - "FOLDER": { - "COPY": "Copia", - "MOVE": "Sposta", - "DELETE": "Elimina" - }, - "DOCUMENT": { - "COPY": "Copia", - "MOVE": "Sposta", - "DELETE": "Elimina", - "PROCESS_ACTION": "Avvia processo" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Ripristina ai valori predefiniti", - "ADD_ROW": "Aggiungi riga", - "REPLACE_ROWS": "Sostituisci righe", - "REPLACE_COLUMNS": "Sostituisci colonne", - "LOAD_NODE": "Carica nodo", - "MULTISELECT": "Selezione multipla", - "MULTISELECT_DESCRIPTION": "Usa Cmd (Mac) o Ctrl (Windows) per attivare/disattivare la selezione di più elementi", - "USE_CUSTOM_COLUMN_HEADER": "Usa il modello personalizzato per l'intestazione \"Utente\"", - "CUSTOM_COLUMN_HEADER": "Modello personalizzato per intestazione Utente" - }, - "PS-TAB": { - "TASKS-TAB": "Compiti", - "PROCESSES-TAB": "Processo", - "SETTINGS-TAB": "Impostazioni", - "START-TASK": "Avvia compito", - "START-PROCESS": "Avvia processo", - "PROCESS-AUDIT-LOG": "Registro di audit processo", - "TASK-AUDIT-LOG": "Registro di audit compito", - "TASK-SHOW-HEADER": "Mostra intestazione dettagli" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Applicazione", - "SETTINGS_TAB": "Impostazioni" - }, - "FORM-LIST": { - "STORE": "Memorizza", - "RESTORE": "Ripristina" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "Il compito {{taskName}} è stato assegnato a {{assignee}}", "PROCESS_STARTED": "Il processo {{processName}} è stato avviato", "TASK_UPDATED": "I dettagli del compito {{taskName}} sono stati aggiornati", "TASK_CREATED": "Il compito {{taskName}} è stato creato" }, - "FORM-LOADING": { - "FORM_DATA": "Dati modulo", - "FORM_DATA_MESSAGE": "Inserire i dati per compilare il modulo", - "TYPEAHEAD_PLACEHOLDER": "Typeahead", - "RADIO_PLACEHOLDER": "Pulsante di opzione", - "SELECT_PLACEHOLDER": "Elenco a discesa" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Piè di pagina login", - "SHOW_REMEMBERME": "Mostra utente memorizzato", - "SHOW_SUCCESS_ROUTE": "Mostra percorso riuscito", - "CUSTOM_LOGO": "Logo personalizzato" - }, "SEARCH": { "RESULTS": "Risultati della ricerca", "NO_RESULT": "Nessun risultato trovato", @@ -285,104 +28,12 @@ "XXTRALARGE": "8. Dimensioni: extra extra grande" } }, - "SOCIAL": { - "LIKE": "Componente Like", - "RATING": "Componente valutazione" - }, - "TAG": { - "LIST": "Elenco tag Content Services", - "INSERT": "Inserisci ID nodo", - "NODE_LIST": "Elenco tag per ID nodo" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Eredita autorizzazione", - "INHERITED_PERMISSIONS_BUTTON": "Autorizzazione ereditata" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Inserisci ID applicazione", - "APP_ID_TYPE_ERROR": "L'ID applicazione deve essere un numero", - "NUMBER_TYPE_ERROR": "Il valore deve essere un numero", - "NUMBER_GREATER_THAN": "Il valore deve essere maggiore o uguale a {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Inizia da pagina" - }, - "TASK_CONTEXT_MENU": "Menu di scelta rapida Elenco compiti" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Inserisci ID applicazione", - "APP_ID_TYPE_ERROR": "L'ID applicazione deve essere un numero", - "NUMBER_GREATER_THAN": "Il valore deve essere maggiore o uguale a {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Menu di scelta rapida Elenco processi" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Custom Title Translation One", "GROUP-TITLE2-TRANSLATION-KEY": "Custom Title Translation Two", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Torna alla home" - }, "507": { "TITLE": "Dico ACS pieno", - "DESCRIPTION": "Il contenuto supera il limite di archiviazione complessivo configurato per la rete o il sistema", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Il contenuto supera il limite di archiviazione complessivo configurato per la rete o il sistema" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "DEMO CLOUD ELENCO PROCESSI", - "CUSTOMIZE_FILTERS": "Personalizza il filtro" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Personalizza il filtro" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Selezione singola", - "MULTI": "Selezione multipla", - "PRESELECTED_VALUE": "Preselezione: ", - "ROLE": "Ruoli: ", - "APP_NAME": "Nome applicazione", - "APP_FILTER_MODE": "Filtra per nome applicazione", - "ROLE_FILTER_MODE": "Filtra per ruolo", - "PRESELECT_VALIDATION": "Convalida preselezione", - "ALL_PRESELECTED_USERS": "Tutti gli utenti preselezionati", - "ALL_PRESELECTED_GROUPS": "Tutti i gruppi preselezionati", - "INVALID_USERS": "Utenti non validi", - "INVALID_GROUPS": "Gruppi non validi", - "READONLY_MODE": "Modalità sola lettura", - "GROUPS_RESTRICTION": "Limitazione gruppi" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Selezione multipla", - "TESTING_MODE": "Modalità di test", - "SELECTION_MODE": "Modalità di selezione", - "SELECTED_ROWS": "Righe selezionate", - "TASK_DETAILS_REDIRECTION": "Mostra dettagli compito dopo clic su compito", - "PROCESS_DETAILS_REDIRECTION": "Mostra i dettagli dopo il clic sul processo", - "ACTION": { - "ACTION_TITLE": "Aggiungi azione", - "ACTION_MENU": "Menu azione", - "CONTEX_MENU": "Menu contestuale", - "ACTION_VISIBLE": "Visibile", - "ACTION_DISABLE": "Disattiva", - "ADD_BUTTON": "Aggiungi", - "KEY": "Chiave", - "TITLE": "Titolo", - "ICON": "Icona", - "TASK_ID": "ID compito", - "PROCESS_ID": "ID istanza di processo", - "ACTION_TYPE": "Tipo di azione" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Crea pulsante nuova cartella", - "EDIT_NODE_LABEL": "Modifica pulsante nodo", - "DELETE_NODE_LABEL": "Elimina icona nodo" - }, - "DEFAULT_SEARCH": "Predefinito", - "OPEN_DIALOG": "Apri finestra di dialogo", - "SHOW_LIST_LABEL": "Fai clic per mostrare l'elenco" + } } diff --git a/demo-shell/resources/i18n/ja.json b/demo-shell/resources/i18n/ja.json index 12b31309fe..dab3430be9 100755 --- a/demo-shell/resources/i18n/ja.json +++ b/demo-shell/resources/i18n/ja.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "認証タイプ", - "BASIC": "基本認証", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "プロバイダ", - "REQUIRED": "このフィールドは必須です", - "CS_URL_ERROR": "Content Services のアドレスが URL 形式と一致しません", - "PS_URL_ERROR": "Process Services のアドレスが URL 形式と一致しません", - "TITLE": "設定", - "CS-HOST": "Content Services の URL", - "BP-HOST": "Process Services の URL", - "BACK": "戻る", - "APPLY": "適用", - "NOT_VALID": "http(s)://host|ip:port(/path) が認識されません。別の URL を指定してください。", - "REDIRECT": "リダイレクト URI", - "REDIRECT_LOGOUT": "リダイレクト URI のログアウト", - "SILENT": "サイレントログイン", - "SCOPE": "範囲", - "CLIENT": "クライアント ID", - "PUBLIC_URLS": "サイレントログインのパブリック URL", - "SECRET": "シークレット" - }, - "ABOUT": { - "DEVELOPMENT": "開発モード" - }, - "INFO_DRAWER": { - "TITLE": "詳細", - "COMMENTS": "コメント", - "PROPERTIES": "プロパティ", - "VERSIONS": "バージョン" - }, - "HOME": { - "TITLE": "Alfresco の Angular コンポーネント", - "DOCUMENTATION": "文書化" - }, - "LOGOUT": { - "TITLE": "ログアウトページ", - "SUB_TITLE": "ログアウトしました", - "LOGIN": "ログイン", - "HOME": "ホーム" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "削除を許可する", - "SHOW_COMMENTS": "バージョンに関するコメントを表示", - "ALLOW_DOWNLOAD": "バージョンのダウンロードを許可する", - "READ_ONLY": "読取り専用", - "COMMENTS": "コメントを表示する", - "VERSION_COMPARISON": "バージョンの比較を表示" - }, - "PERSONAL-FILES": "個人的なファイル", - "WARN-MULTIPLE-UPLOADS": "複数のアップロードの警告を表示します。", - "CUSTOM-PERMISSION-MESSAGE": "カスタムの権限メッセージを有効にする", - "MEDIUM-TIME-FORMAT": "文書リストの medium 時刻形式を有効にする", - "SEARCH": { - "RADIO": { - "NONE": "なし", - "ALL": "すべて", - "FOLDER": "フォルダ", - "DOCUMENT": "文書" - } - } - }, "title": "ようこそ", - "VERSION": { - "NO_PERMISSION": "このコンテンツのバージョンを管理する権限がありません", - "NO_PERMISSION_EVENT": "${event.type} を ${event.action} するための ${event.permission} 権限がありません", - "CHOOSE_FILE": "バージョンを表示するファイルを選択してください", - "DIALOG": { - "CLOSE": "閉じる", - "TITLE": "バージョンの管理" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "閉じる", - "TITLE": "メタデータ" - } - }, - "APP_LAYOUT": { - "APP": "アプリ", - "HEADER_TEXT_COLOR": "ヘッダーテキストカラー", - "APP_NAME": "ADF デモアプリケーション", - "FILTERED_SEARCH": "フィルタヘッダー", - "HOME": "ホーム", - "NODE-SELECTOR": "ノードセレクター", - "SITES": "サイト", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "階層リンク", - "NOTIFICATIONS": "通知", - "TASK_LIST": "タスクリスト", - "PROCESS_LIST": "プロセスリスト", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "ログイン", - "CUSTOM_SOURCES": "カスタムソース", - "DATATABLE": "Datatable", - "DATATABLE_LAZY": "Datatable (遅延読み込み)", - "DOCUMENT_LIST": "文書リスト", - "TEMPLATE": "テンプレート", - "FORM": "フォーム", - "FORM_LIST": "フォームリスト", - "FORM_LOADING": "フォームを読み込んでいます", - "UPLOADER": "アップローダー", - "WEBSCRIPT": "Webscript", - "TAG": "タグ", - "PIPES": "パイプ", - "TRASHCAN": "ごみ箱", - "SOCIAL": "ソーシャル", - "SETTINGS": "設定", - "CONFIG-EDITOR": "設定エディター", - "OVERLAY_VIEWER": "オーバーレイビューア", - "ABOUT": "バージョン情報", - "SEARCH": "詳細検索", - "EXTENDED_SEARCH_QUERY_BODY": "クエリ本体を使った詳細検索", - "WORD_TO_SEARCH": "語句の検索", - "SEARCH_CREATED_BY": "作成者", - "SEARCH_SERVICE_APPROACH": "入力プロパティを無効にし、サービスを使って設定する場合は、このチェックボックスをオンにします", - "HEADER_DATA": "ヘッダーの日付", - "TREE_VIEW": "ツリービュー", - "EXPAND_LIST": "拡張可能なアイテムリスト", - "ICONS": "アイコン", - "PEOPLE_GROUPS_CLOUD": "メンバー/グループのクラウド", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "クラウドのタスクヘッダー", - "APP_NAME_INPUT": "アプリケーション名", - "TASK_ID_INPUT": "タスク ID", - "FIND_TASK_BUTTON": "タスクの検索" - }, - "PEOPLE_CLOUD": "メンバーのクラウドコンポーネント", - "GROUPS_CLOUD": "グループのクラウドコンポーネント", - "CONFIRM-DIALOG": "確認ダイアログ", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "サービスタスクリスト", - "RICH_TEXT_EDITOR": "リッチテキストエディタ" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "完全に削除する", - "RESTORE": "復元" - }, - "EMPTY_STATE": { - "TITLE": "ごみ箱は空です", - "FIRST_TEXT": "削除するアイテムはごみ箱に移動されます。", - "SECOND_TEXT": "ごみ箱を空にするとアイテムが完全に削除されます。" - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "複数選択 (チェックボックスを使用)", - "THUMBNAILS": "サムネイルを有効化", - "ALLOW_DROP_FILES": "ファイルのドロップを許可", - "MULTIPLE_FILE_UPLOAD": "複数ファイルのアップロード", - "FOLDER_UPLOAD": "フォルダのアップロード", - "CUSTOM_FILTER": "カスタム拡張子フィルタ", - "MAX_SIZE": "最大サイズフィルタ", - "ENABLE_VERSIONING": "バージョン管理を有効化", - "DESCRIPTION_UPLOAD": "アップロードを有効にします", - "ENABLE_INFINITE_SCROLL": "無限スクロールを有効にする", - "MULTISELECT_DESCRIPTION": "複数選択の切り替えを行うには、Cmd (Mac) キーまたは Ctrl (Windows) キーを押します", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "[最近使ったファイル] 一覧は空です" - }, - "TITLE": "最近使ったファイル" - }, - "COLUMNS": { - "DISPLAY_NAME": "表示名", - "IS_LOCKED": "ロック", - "TAG": "タグ", - "NODE_ID": "ノード ID", - "CREATED_BY": "作成者", - "CREATED_ON": "作成日", - "CREATED": "作成日", - "SIZE": "サイズ", - "DELETED_ON": "削除済み", - "DELETED_BY": "削除者" - }, - "TOOLBAR": { - "CARDVIEW": "カード表示モード", - "SHARE_EDIT": "設定の編集", - "NEW_FOLDER": "新しいフォルダ", - "EDIT_FOLDER": "フォルダの編集", - "DOWNLOAD": "ダウンロード", - "DELETE": "削除", - "FAVORITES": "[お気に入り] に追加", - "SHARE": "共有", - "THEME": "テーマを選択してください", - "SHOW_VERSION": "バージョンを表示する", - "HIDE_VERSION": "バージョンの非表示", - "LISTVIEW": "一覧表示モード", - "CREATE_LIBRARY": "ライブラリの作成" - }, - "ACTIONS": { - "VERSIONS": "バージョンの管理", - "ASPECTS": "アスペクトを更新", - "LOCK": "ロック", - "METADATA": "情報", - "DOWNLOAD": "ダウンロード", - "PERMISSION": "権限", - "FOLDER": { - "COPY": "コピー", - "MOVE": "移動", - "DELETE": "削除" - }, - "DOCUMENT": { - "COPY": "コピー", - "MOVE": "移動", - "DELETE": "削除", - "PROCESS_ACTION": "プロセスの開始" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "デフォルトに戻す", - "ADD_ROW": "行の追加", - "REPLACE_ROWS": "行の置換", - "REPLACE_COLUMNS": "列の置換", - "LOAD_NODE": "ノードの読み込み", - "MULTISELECT": "複数選択", - "MULTISELECT_DESCRIPTION": "複数選択の切り替えを行うには、Cmd (Mac) キーまたは Ctrl (Windows) キーを押します", - "USE_CUSTOM_COLUMN_HEADER": "「ユーザー」ヘッダーにカスタムテンプレートを使用", - "CUSTOM_COLUMN_HEADER": "カスタムユーザーヘッダーテンプレート" - }, - "PS-TAB": { - "TASKS-TAB": "タスク", - "PROCESSES-TAB": "プロセス", - "SETTINGS-TAB": "設定", - "START-TASK": "タスクの開始", - "START-PROCESS": "プロセスの開始", - "PROCESS-AUDIT-LOG": "プロセスの監査ログ", - "TASK-AUDIT-LOG": "タスクの監査ログ", - "TASK-SHOW-HEADER": "詳細ヘッダーを表示する" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "アプリ", - "SETTINGS_TAB": "設定" - }, - "FORM-LIST": { - "STORE": "保存", - "RESTORE": "復元" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "{{taskName}}タスクが{{assignee}}に割り当てられました", "PROCESS_STARTED": "{{processName}}プロセスが開始しました", "TASK_UPDATED": "{{taskName}}タスクの詳細が更新されました", "TASK_CREATED": "{{taskName}}タスクが作成されました" }, - "FORM-LOADING": { - "FORM_DATA": "フォーム データ", - "FORM_DATA_MESSAGE": "フォームに入力する値を入力してください", - "TYPEAHEAD_PLACEHOLDER": "先行入力", - "RADIO_PLACEHOLDER": "ラジオ ボタン", - "SELECT_PLACEHOLDER": "ドロップダウン" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "ログインページのフッター", - "SHOW_REMEMBERME": "ログイン情報の保存オプションを表示する", - "SHOW_SUCCESS_ROUTE": "サクセスルートを表示する", - "CUSTOM_LOGO": "カスタムのロゴ" - }, "SEARCH": { "RESULTS": "検索結果", "NO_RESULT": "一致するアイテムはありません", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.サイズ: 超特大" } }, - "SOCIAL": { - "LIKE": "[いいね!] コンポーネント", - "RATING": "評価付けコンポーネント" - }, - "TAG": { - "LIST": "Content Services のタグリスト", - "INSERT": "ノード ID の挿入", - "NODE_LIST": "ノード ID 別タグリスト" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "権限の継承", - "INHERITED_PERMISSIONS_BUTTON": "継承された権限" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "アプリケーション ID を挿入する", - "APP_ID_TYPE_ERROR": "アプリケーション ID は数字でなければなりません", - "NUMBER_TYPE_ERROR": "値は数字でなければなりません", - "NUMBER_GREATER_THAN": "値は {{ value }} 以上でなければなりません" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "開始ページ" - }, - "TASK_CONTEXT_MENU": "タスクリストのコンテキストメニュー" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "アプリケーション ID を挿入する", - "APP_ID_TYPE_ERROR": "アプリケーション ID は数字でなければなりません", - "NUMBER_GREATER_THAN": "値は {{ value }} 以上でなければなりません" - }, - "PROCESS_CONTEXT_MENU": "プロセスリストのコンテキストメニュー" - }, "GROUP-TITLE1-TRANSLATION-KEY": "カスタムのタイトル翻訳 1", "GROUP-TITLE2-TRANSLATION-KEY": "カスタムのタイトル翻訳 2", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "ホームへ戻る" - }, "507": { "TITLE": "ACS のディスクがいっぱいです", - "DESCRIPTION": "コンテンツのサイズが、ネットワークまたはシステムに設定されているストレージクォータの上限を超えています。", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "コンテンツのサイズが、ネットワークまたはシステムに設定されているストレージクォータの上限を超えています。" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "フィルタのカスタマイズ" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "フィルタのカスタマイズ" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "1 つ選択", - "MULTI": "複数選択", - "PRESELECTED_VALUE": "事前選択: ", - "ROLE": "役割: ", - "APP_NAME": "アプリケーション名", - "APP_FILTER_MODE": "アプリケーション名でフィルタ", - "ROLE_FILTER_MODE": "役割でフィルタ", - "PRESELECT_VALIDATION": "事前選択の検証", - "ALL_PRESELECTED_USERS": "選択されている全ユーザー", - "ALL_PRESELECTED_GROUPS": "選択されている全グループ", - "INVALID_USERS": "無効なユーザー", - "INVALID_GROUPS": "無効なグループ", - "READONLY_MODE": "読み取り専用モード", - "GROUPS_RESTRICTION": "グループ制限" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "複数選択", - "TESTING_MODE": "テストモード", - "SELECTION_MODE": "選択モード", - "SELECTED_ROWS": "選択した行", - "TASK_DETAILS_REDIRECTION": "タスクのクリック時にタスクの詳細を表示", - "PROCESS_DETAILS_REDIRECTION": "プロセスのクリックでプロセスの詳細を表示", - "ACTION": { - "ACTION_TITLE": "処理の追加", - "ACTION_MENU": "処理メニュー", - "CONTEX_MENU": "コンテキストメニュー", - "ACTION_VISIBLE": "表示", - "ACTION_DISABLE": "無効", - "ADD_BUTTON": "追加", - "KEY": "キー", - "TITLE": "タイトル", - "ICON": "アイコン", - "TASK_ID": "タスク ID", - "PROCESS_ID": "プロセスインスタンス ID", - "ACTION_TYPE": "処理のタイプ" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "新しいフォルダボタンの作成", - "EDIT_NODE_LABEL": "ノードボタンの編集", - "DELETE_NODE_LABEL": "ノードアイコンボタンの削除" - }, - "DEFAULT_SEARCH": "デフォルト", - "OPEN_DIALOG": "ダイアログを開く", - "SHOW_LIST_LABEL": "クリックしてリストを表示" + } } diff --git a/demo-shell/resources/i18n/nb.json b/demo-shell/resources/i18n/nb.json index ce8ba76113..a13f434e11 100755 --- a/demo-shell/resources/i18n/nb.json +++ b/demo-shell/resources/i18n/nb.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Godkjenningstype", - "BASIC": "Grunnleggende godkjenning", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Leverandør", - "REQUIRED": "Dette feltet er påkrevd", - "CS_URL_ERROR": "Adressen til innholdstjenesten stemmer ikke med URL-formatet", - "PS_URL_ERROR": "Adressen til prosesstjenestene stemmer ikke med URL-formatet", - "TITLE": "Innstillinger", - "CS-HOST": "URL tinnholdstjenester", - "BP-HOST": "URL prosesstjenester", - "BACK": "Tilbake", - "APPLY": "Bruk", - "NOT_VALID": "http(s)://host|ip:port(/path) ikke gjenkjent, prøv en annen URL.", - "REDIRECT": "Omdirigerings-URI", - "REDIRECT_LOGOUT": "Omdirigerings-URI avlogging", - "SILENT": "Stille pålogging", - "SCOPE": "Område", - "CLIENT": "Klient-ID", - "PUBLIC_URLS": "Offentlige URL-er for stille pålogging", - "SECRET": "Hemmelig" - }, - "ABOUT": { - "DEVELOPMENT": "Utvikl.modus" - }, - "INFO_DRAWER": { - "TITLE": "Detaljer", - "COMMENTS": "Kommentarer", - "PROPERTIES": "Egenskaper", - "VERSIONS": "Versjoner" - }, - "HOME": { - "TITLE": "Vinkelkomponenter for Alfresco", - "DOCUMENTATION": "Dokumentasjon" - }, - "LOGOUT": { - "TITLE": "Avloggingsside", - "SUB_TITLE": "Du er nå logget av", - "LOGIN": "Logg på", - "HOME": "Hjem" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Tillat sletting", - "SHOW_COMMENTS": "Vis kommentarer om versjoner", - "ALLOW_DOWNLOAD": "Aktiver versjonsnedlasting", - "READ_ONLY": "Skrivebeskyttet", - "COMMENTS": "Vis kommentarer", - "VERSION_COMPARISON": "Vis sammenligning av versjoner" - }, - "PERSONAL-FILES": "Personlige filer", - "WARN-MULTIPLE-UPLOADS": "Vis advarsel for flere opplastinger.", - "CUSTOM-PERMISSION-MESSAGE": "Aktiver tilpasset tillatelsesmelding", - "MEDIUM-TIME-FORMAT": "Aktiver medium tidsformat for dokumentliste", - "SEARCH": { - "RADIO": { - "NONE": "Ingen", - "ALL": "Alle", - "FOLDER": "Mappe", - "DOCUMENT": "Dokument" - } - } - }, "title": "Velkommen", - "VERSION": { - "NO_PERMISSION": "Du har ikke tillatelse til å håndtere versjoner av dette innholdet", - "NO_PERMISSION_EVENT": "Du har ikke ${event.permission} tillatelse til å ${event.action} ${event.type}", - "CHOOSE_FILE": "Velg en fil for å se versjonene", - "DIALOG": { - "CLOSE": "Lukk", - "TITLE": "Håndtere versjoner" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Lukk", - "TITLE": "Metadata" - } - }, - "APP_LAYOUT": { - "APP": "App", - "HEADER_TEXT_COLOR": "Overskriftstekstfarge", - "APP_NAME": "ADF-demoprogam", - "FILTERED_SEARCH": "Filteroverskrift", - "HOME": "Hjem", - "NODE-SELECTOR": "Nodevelger", - "SITES": "Områder", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Søkebane", - "NOTIFICATIONS": "Varsler", - "TASK_LIST": "Oppgaveliste", - "PROCESS_LIST": "Prosessliste", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Logg på", - "CUSTOM_SOURCES": "Tilpassede kilder", - "DATATABLE": "Datatable", - "DATATABLE_LAZY": "Datatabell (avventende)", - "DOCUMENT_LIST": "Dokumentliste", - "TEMPLATE": "Mal", - "FORM": "Skjema", - "FORM_LIST": "Skjemaliste", - "FORM_LOADING": "Skjema lastes inn", - "UPLOADER": "Opplaster", - "WEBSCRIPT": "Webscript", - "TAG": "Tagg", - "PIPES": "Rør", - "TRASHCAN": "Søppelkurv", - "SOCIAL": "Sosial", - "SETTINGS": "Innstillinger", - "CONFIG-EDITOR": "Konfigurasjonsredigering", - "OVERLAY_VIEWER": "Overleggsfremviser", - "ABOUT": "Om", - "SEARCH": "Utvidet søk", - "EXTENDED_SEARCH_QUERY_BODY": "Utvidet søk med spørringsuttrykk", - "WORD_TO_SEARCH": "Søkeord", - "SEARCH_CREATED_BY": "Opprettet av", - "SEARCH_SERVICE_APPROACH": "Velg dette for å deaktivere inndataegenskapen og konfigurere ved hjelp av tjenesten", - "HEADER_DATA": "Overskriftsdata", - "TREE_VIEW": "Trevisning", - "EXPAND_LIST": "Utvidbar elementliste", - "ICONS": "Ikoner", - "PEOPLE_GROUPS_CLOUD": "Person-/gruppesky", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Oppgaveoverskrift for sky", - "APP_NAME_INPUT": "Navn på app", - "TASK_ID_INPUT": "Oppgave-ID", - "FIND_TASK_BUTTON": "Finn oppgave" - }, - "PEOPLE_CLOUD": "Personsky-komponent", - "GROUPS_CLOUD": "Gruppesky-kompontent", - "CONFIRM-DIALOG": "Bekreftelsesdialog", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Serviceoppgaveliste", - "RICH_TEXT_EDITOR": "Åpne rik teksteditor" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Slett for godt", - "RESTORE": "Gjenopprett" - }, - "EMPTY_STATE": { - "TITLE": "Søppelkurven er tom", - "FIRST_TEXT": "Elementer du sletter, flyttes til søppelkurven.", - "SECOND_TEXT": "Tøm søppelkurven for å slette elementer for godt." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Multivalg (med avskrysningsbokser)", - "THUMBNAILS": "Aktiver miniatyrbilder", - "ALLOW_DROP_FILES": "Aktiver Slipp filer i en mappe eller en fil", - "MULTIPLE_FILE_UPLOAD": "Opplasting av flere filer", - "FOLDER_UPLOAD": "Opplasting av mappe", - "CUSTOM_FILTER": "Tilpasset utvidelsesfilter", - "MAX_SIZE": "Maks. størrelsesfilter", - "ENABLE_VERSIONING": "Aktiver versjonering", - "DESCRIPTION_UPLOAD": "Aktiver opplasting", - "ENABLE_INFINITE_SCROLL": "Aktiver uendelig rulling", - "MULTISELECT_DESCRIPTION": "Bruk Cmd (Mac) eller Ctrl (Windows) for å veksle mellom valg av flere elementer", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Nylige filer-listen er tom" - }, - "TITLE": "Nylige filer" - }, - "COLUMNS": { - "DISPLAY_NAME": "Vis navn", - "IS_LOCKED": "Lås", - "TAG": "Tagg", - "NODE_ID": "Node-ID", - "CREATED_BY": "Opprettet av", - "CREATED_ON": "Opprettet", - "CREATED": "Opprettet", - "SIZE": "Størrelse", - "DELETED_ON": "Slettet", - "DELETED_BY": "Slettet av" - }, - "TOOLBAR": { - "CARDVIEW": "Kortvisningsmodus", - "SHARE_EDIT": "Rediger innstillinger", - "NEW_FOLDER": "Ny mappe", - "EDIT_FOLDER": "Rediger mappe", - "DOWNLOAD": "Last ned", - "DELETE": "Slett", - "FAVORITES": "Legg til favoritter", - "SHARE": "Del", - "THEME": "Velg et tema", - "SHOW_VERSION": "Vis versjon", - "HIDE_VERSION": "Skjul versjon", - "LISTVIEW": "Listevisningsmodus", - "CREATE_LIBRARY": "Opprett bibliotek" - }, - "ACTIONS": { - "VERSIONS": "Administrer versjoner", - "ASPECTS": "Oppdater aspekter", - "LOCK": "Lås", - "METADATA": "Info", - "DOWNLOAD": "Last ned", - "PERMISSION": "Tillatelse", - "FOLDER": { - "COPY": "Kopier", - "MOVE": "Flytt", - "DELETE": "Slett" - }, - "DOCUMENT": { - "COPY": "Kopier", - "MOVE": "Flytt", - "DELETE": "Slett", - "PROCESS_ACTION": "Start prosess" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Tilbakestill til standard", - "ADD_ROW": "Legg til rad", - "REPLACE_ROWS": "Erstatt rader", - "REPLACE_COLUMNS": "erstatt kolonner", - "LOAD_NODE": "Last node", - "MULTISELECT": "Multivalg", - "MULTISELECT_DESCRIPTION": "Bruk Cmd (Mac) eller Ctrl (Windows) for å veksle mellom valg av flere elementer", - "USE_CUSTOM_COLUMN_HEADER": "Bruk egendefinert mal for toppteksten 'bruker'", - "CUSTOM_COLUMN_HEADER": "Egendefinert topptekst for bruker" - }, - "PS-TAB": { - "TASKS-TAB": "Oppgaver", - "PROCESSES-TAB": "Prosess", - "SETTINGS-TAB": "Innstillinger", - "START-TASK": "Start oppgave", - "START-PROCESS": "Start prosess", - "PROCESS-AUDIT-LOG": "Prosessrevisjonslogg", - "TASK-AUDIT-LOG": "Oppgaverevisjonslogg", - "TASK-SHOW-HEADER": "Vis detaljoverskrift" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "App", - "SETTINGS_TAB": "Innstillinger" - }, - "FORM-LIST": { - "STORE": "Lagre", - "RESTORE": "Gjenopprett" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "{{taskName}}-oppgaven er tilordnet til {{assignee}}", "PROCESS_STARTED": "{{processName}}-prosessen er startet", "TASK_UPDATED": "{{taskName}}-oppgavedetaljene er oppdatert", "TASK_CREATED": "Oppgaven {{taskName}} ble opprettet" }, - "FORM-LOADING": { - "FORM_DATA": "Skjemadata", - "FORM_DATA_MESSAGE": "Skriv inn verdier for å fylle ut skjemaet", - "TYPEAHEAD_PLACEHOLDER": "Type-ahead", - "RADIO_PLACEHOLDER": "Alternativknapp", - "SELECT_PLACEHOLDER": "Nedtrekk" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Bunntekt pålogging", - "SHOW_REMEMBERME": "Vis husk meg", - "SHOW_SUCCESS_ROUTE": "Vis riktig rute", - "CUSTOM_LOGO": "Egendefinert logo" - }, "SEARCH": { "RESULTS": "Søkeresultater", "NO_RESULT": "Ingen resultater funnet", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.Størrelse: XX large" } }, - "SOCIAL": { - "LIKE": "Like komponent", - "RATING": "Rangering komponent" - }, - "TAG": { - "LIST": "Liste med tagger Innholdstjenester", - "INSERT": "Sett inn node-ID", - "NODE_LIST": "Tagg listen etter node-ID" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Arv tillatelse", - "INHERITED_PERMISSIONS_BUTTON": "Tillatelse arvet" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Sett inn app-ID", - "APP_ID_TYPE_ERROR": "App-ID må være et tall", - "NUMBER_TYPE_ERROR": "Verdien må være et tall", - "NUMBER_GREATER_THAN": "Verdien må være høyere enn eller lik {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Starter side" - }, - "TASK_CONTEXT_MENU": "Kontekstmeny for oppgaveliste" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Sett inn app-ID", - "APP_ID_TYPE_ERROR": "App-ID må være et tall", - "NUMBER_GREATER_THAN": "Verdien må være høyere enn eller lik {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Kontekstmeny for prosessliste" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Egendefinert tittel, oversettelse én", "GROUP-TITLE2-TRANSLATION-KEY": "Egendefinert tittel, oversettelse to", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Tilbake til startsiden" - }, "507": { "TITLE": "ACS-disk er full", - "DESCRIPTION": "Innhold overgår samlet lagringskvotegrense konfigurert for nettverket eller systemet", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Innhold overgår samlet lagringskvotegrense konfigurert for nettverket eller systemet" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Tilpass filteret ditt" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Tilpass filteret ditt" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Ett valg", - "MULTI": "Flere valg", - "PRESELECTED_VALUE": "Forhåndsvelg: ", - "ROLE": "Roller: ", - "APP_NAME": "Programnavn", - "APP_FILTER_MODE": "Filtrer etter programnavn", - "ROLE_FILTER_MODE": "Filtrer etter rolle", - "PRESELECT_VALIDATION": "Forhåndsvelg validering", - "ALL_PRESELECTED_USERS": "Alle forhåndsvalgte brukere", - "ALL_PRESELECTED_GROUPS": "Alle forhåndsvalgte grupper", - "INVALID_USERS": "Ugyldige brukere", - "INVALID_GROUPS": "Ugyldige grupper", - "READONLY_MODE": "Skrivebeskyttet modus", - "GROUPS_RESTRICTION": "Gruppebegrensning" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Flervalg", - "TESTING_MODE": "Testmodus", - "SELECTION_MODE": "Valgmodus", - "SELECTED_ROWS": "Valgte rader", - "TASK_DETAILS_REDIRECTION": "Vis oppgavedetaljer ved oppgaveklikk", - "PROCESS_DETAILS_REDIRECTION": "Vis prosessdetaljer ved prosessklikk", - "ACTION": { - "ACTION_TITLE": "Legg til handling", - "ACTION_MENU": "Handlingsmeny", - "CONTEX_MENU": "Kontekstmeny", - "ACTION_VISIBLE": "Synlig", - "ACTION_DISABLE": "Deaktiver", - "ADD_BUTTON": "Legg til", - "KEY": "Nøkkel", - "TITLE": "Tittel", - "ICON": "Ikon", - "TASK_ID": "Oppgave-ID", - "PROCESS_ID": "Prosesstilfelle-ID", - "ACTION_TYPE": "Handlingstype" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Opprett en ny mappe-knapp", - "EDIT_NODE_LABEL": "Rediger node-knapp", - "DELETE_NODE_LABEL": "Slett nodeikon-knapp" - }, - "DEFAULT_SEARCH": "Standard", - "OPEN_DIALOG": "Åpne dialog", - "SHOW_LIST_LABEL": "Klikk for å vise listen" + } } diff --git a/demo-shell/resources/i18n/nl.json b/demo-shell/resources/i18n/nl.json index 9d36ddafa8..5fe6e2ddea 100755 --- a/demo-shell/resources/i18n/nl.json +++ b/demo-shell/resources/i18n/nl.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Verificatietype", - "BASIC": "Basisverificatie", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Provider", - "REQUIRED": "Dit veld is vereist", - "CS_URL_ERROR": "Content Services-adres komt niet overeen met de URL-indeling", - "PS_URL_ERROR": "Process Services-adres komt niet overeen met de URL-indeling", - "TITLE": "Instellingen", - "CS-HOST": "Content Services-URL", - "BP-HOST": "Process Services-URL", - "BACK": "Terug", - "APPLY": "Toepassen", - "NOT_VALID": "http(s)://host|ip:port(/path) niet herkend, probeer een andere URL.", - "REDIRECT": "Omleidings-URI", - "REDIRECT_LOGOUT": "Omleidings-URI afmelden", - "SILENT": "Stille aanmelding", - "SCOPE": "Bereik", - "CLIENT": "Client-id", - "PUBLIC_URLS": "Openbare URL's voor stille aanmelding", - "SECRET": "Geheim" - }, - "ABOUT": { - "DEVELOPMENT": "Ontwikkelaarsmodus" - }, - "INFO_DRAWER": { - "TITLE": "Details", - "COMMENTS": "Opmerkingen", - "PROPERTIES": "Eigenschappen", - "VERSIONS": "Versies" - }, - "HOME": { - "TITLE": "Angular-componenten voor Alfresco", - "DOCUMENTATION": "Documentatie" - }, - "LOGOUT": { - "TITLE": "Afmeldingspagina", - "SUB_TITLE": "U bent nu afgemeld", - "LOGIN": "Aanmelden", - "HOME": "Home" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Verwijderen toestaan", - "SHOW_COMMENTS": "Opmerkingen over versies tonen", - "ALLOW_DOWNLOAD": "Versiedownload inschakelen", - "READ_ONLY": "Alleen-lezen", - "COMMENTS": "Opmerkingen weergeven", - "VERSION_COMPARISON": "Versievergelijking tonen" - }, - "PERSONAL-FILES": "Persoonlijke bestanden", - "WARN-MULTIPLE-UPLOADS": "Waarschuwing weergeven bij meerdere uploads.", - "CUSTOM-PERMISSION-MESSAGE": "Aangepast rechtenbericht inschakelen", - "MEDIUM-TIME-FORMAT": "Middellange tijdnotatie voor lijst met documenten inschakelen", - "SEARCH": { - "RADIO": { - "NONE": "Geen", - "ALL": "Alle", - "FOLDER": "Map", - "DOCUMENT": "Document" - } - } - }, "title": "Welkom", - "VERSION": { - "NO_PERMISSION": "U hebt geen rechten voor het beheren van versies van deze content", - "NO_PERMISSION_EVENT": "U hebt geen ${event.permission} rechten voor het ${event.action} van ${event.type}", - "CHOOSE_FILE": "Selecteer een bestand om de versies ervan te zien", - "DIALOG": { - "CLOSE": "Sluiten", - "TITLE": "Versies beheren" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Sluiten", - "TITLE": "Metagegevens" - } - }, - "APP_LAYOUT": { - "APP": "App", - "HEADER_TEXT_COLOR": "Kleur van koptekst", - "APP_NAME": "ADF-demotoepassing", - "FILTERED_SEARCH": "Filterkop", - "HOME": "Home", - "NODE-SELECTOR": "Selectiefunctie voor node", - "SITES": "Sites", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Navigatiepad", - "NOTIFICATIONS": "Meldingen", - "TASK_LIST": "Lijst met taken", - "PROCESS_LIST": "Lijst met processen", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Aanmelden", - "CUSTOM_SOURCES": "Aangepaste bronnen", - "DATATABLE": "Datatable", - "DATATABLE_LAZY": "Datatable (vertraagd)", - "DOCUMENT_LIST": "Lijst met documenten", - "TEMPLATE": "Sjabloon", - "FORM": "Formulier", - "FORM_LIST": "Formulierlijst", - "FORM_LOADING": "Formulier laden", - "UPLOADER": "Uploader", - "WEBSCRIPT": "Webscript", - "TAG": "Tag", - "PIPES": "Pipes", - "TRASHCAN": "Prullenbak", - "SOCIAL": "Sociaal", - "SETTINGS": "Instellingen", - "CONFIG-EDITOR": "Configuratie-editor", - "OVERLAY_VIEWER": "Overlay-viewer", - "ABOUT": "Info", - "SEARCH": "Uitgebreid zoeken", - "EXTENDED_SEARCH_QUERY_BODY": "Uitgebreid zoeken met queryhoofdcode", - "WORD_TO_SEARCH": "Zoekterm", - "SEARCH_CREATED_BY": "Gemaakt door", - "SEARCH_SERVICE_APPROACH": "Schakel dit in om de invoereigenschap uit te schakelen en om te configureren via de service", - "HEADER_DATA": "Koptekstgegevens", - "TREE_VIEW": "Structuurweergave", - "EXPAND_LIST": "Uitvouwbare itemlijst", - "ICONS": "Pictogrammen", - "PEOPLE_GROUPS_CLOUD": "Personen-/groepencloud", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Taakkop cloud", - "APP_NAME_INPUT": "App-naam", - "TASK_ID_INPUT": "Taak-id", - "FIND_TASK_BUTTON": "Taak zoeken" - }, - "PEOPLE_CLOUD": "Component Personencloud", - "GROUPS_CLOUD": "Component Groepencloud", - "CONFIRM-DIALOG": "Bevestigingsdialoogvenster", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Lijst met servicetaken", - "RICH_TEXT_EDITOR": "RTF-editor" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Definitief verwijderen", - "RESTORE": "Herstellen" - }, - "EMPTY_STATE": { - "TITLE": "Prullenbak is leeg", - "FIRST_TEXT": "Items die u verwijdert, worden verplaatst naar de prullenbak.", - "SECOND_TEXT": "Leeg de prullenmand om items definitief te verwijderen." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Multiselect (met selectievakjes)", - "THUMBNAILS": "Miniaturen inschakelen", - "ALLOW_DROP_FILES": "Bestanden neerzetten in een map of een bestand inschakelen", - "MULTIPLE_FILE_UPLOAD": "Meerdere bestanden uploaden", - "FOLDER_UPLOAD": "Map uploaden", - "CUSTOM_FILTER": "Aangepast extensiefilter", - "MAX_SIZE": "Max.formaat filter", - "ENABLE_VERSIONING": "Versiebeheer inschakelen", - "DESCRIPTION_UPLOAD": "Uploaden inschakelen", - "ENABLE_INFINITE_SCROLL": "Oneindig scrollen inschakelen", - "MULTISELECT_DESCRIPTION": "Cmd (Mac) of Ctrl (Windows) gebruiken om de selectie van meerdere items in of uit te schakelen", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Lijst met recente bestanden is leeg" - }, - "TITLE": "Recente bestanden" - }, - "COLUMNS": { - "DISPLAY_NAME": "Getoonde naam", - "IS_LOCKED": "Vergrendeling", - "TAG": "Tag", - "NODE_ID": "Node-id", - "CREATED_BY": "Gemaakt door", - "CREATED_ON": "Gemaakt op", - "CREATED": "Gemaakt", - "SIZE": "Grootte", - "DELETED_ON": "Verwijderd", - "DELETED_BY": "Verwijderd door" - }, - "TOOLBAR": { - "CARDVIEW": "Kaartweergavemodus", - "SHARE_EDIT": "Instellingen bewerken", - "NEW_FOLDER": "Nieuwe map", - "EDIT_FOLDER": "Map bewerken", - "DOWNLOAD": "Downloaden", - "DELETE": "Verwijderen", - "FAVORITES": "Toevoegen aan favorieten", - "SHARE": "Delen", - "THEME": "Een thema selecteren", - "SHOW_VERSION": "Versie weergeven", - "HIDE_VERSION": "Versie verbergen", - "LISTVIEW": "Lijstweergavemodus", - "CREATE_LIBRARY": "Bibliotheek maken" - }, - "ACTIONS": { - "VERSIONS": "Versies beheren", - "ASPECTS": "Aspecten bijwerken", - "LOCK": "Vergrendeling", - "METADATA": "Info", - "DOWNLOAD": "Downloaden", - "PERMISSION": "Rechten", - "FOLDER": { - "COPY": "Kopiëren", - "MOVE": "Verplaatsen", - "DELETE": "Verwijderen" - }, - "DOCUMENT": { - "COPY": "Kopiëren", - "MOVE": "Verplaatsen", - "DELETE": "Verwijderen", - "PROCESS_ACTION": "Proces starten" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Opnieuw instellen op standaardwaarden", - "ADD_ROW": "Rij toevoegen", - "REPLACE_ROWS": "Rijen vervangen", - "REPLACE_COLUMNS": "Kolommen vervangen", - "LOAD_NODE": "Node laden", - "MULTISELECT": "Multiselect", - "MULTISELECT_DESCRIPTION": "Cmd (Mac) of Ctrl (Windows) gebruiken om de selectie van meerdere items in of uit te schakelen", - "USE_CUSTOM_COLUMN_HEADER": "Aangepaste sjabloon voor 'User'-koptekst gebruiken", - "CUSTOM_COLUMN_HEADER": "Aangepaste sjabloon voor User-koptekst" - }, - "PS-TAB": { - "TASKS-TAB": "Taken", - "PROCESSES-TAB": "Proces", - "SETTINGS-TAB": "Instellingen", - "START-TASK": "Taak starten", - "START-PROCESS": "Proces starten", - "PROCESS-AUDIT-LOG": "Auditlog van proces", - "TASK-AUDIT-LOG": "Auditlog van taak", - "TASK-SHOW-HEADER": "Detailkoptekst weergeven" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "App", - "SETTINGS_TAB": "Instellingen" - }, - "FORM-LIST": { - "STORE": "Opslaan", - "RESTORE": "Herstellen" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "{{taskName}}-taak is toegewezen aan {{assignee}}", "PROCESS_STARTED": "{{processName}}-proces is gestart", "TASK_UPDATED": "{{taskName}}-taakdetails zijn bijgewerkt", "TASK_CREATED": "Taak {{taskName}} is gemaakt" }, - "FORM-LOADING": { - "FORM_DATA": "Formuliergegevens", - "FORM_DATA_MESSAGE": "Voer waarden in om het formulier in te vullen", - "TYPEAHEAD_PLACEHOLDER": "Automatische voltooiing", - "RADIO_PLACEHOLDER": "Keuzerondje", - "SELECT_PLACEHOLDER": "Dropdown" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Voettekst aanmeldingspagina", - "SHOW_REMEMBERME": "'Mij onthouden' weergeven", - "SHOW_SUCCESS_ROUTE": "Succesroute weergeven", - "CUSTOM_LOGO": "Aangepast logo" - }, "SEARCH": { "RESULTS": "Zoekresultaten", "NO_RESULT": "Geen resultaten gevonden", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.Grootte: XX groot" } }, - "SOCIAL": { - "LIKE": "'Vind ik leuk'-component", - "RATING": "Beoordelingscomponent" - }, - "TAG": { - "LIST": "Taglijst Content Services", - "INSERT": "Node-id invoegen", - "NODE_LIST": "Taglijst per node-id" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Rechten overnemen", - "INHERITED_PERMISSIONS_BUTTON": "Rechten overgenomen" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "App-id invoegen", - "APP_ID_TYPE_ERROR": "App-id moet een getal zijn", - "NUMBER_TYPE_ERROR": "Waarde moet een getal zijn", - "NUMBER_GREATER_THAN": "Waarde moet groter zijn dan of gelijk zijn aan {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Beginpagina" - }, - "TASK_CONTEXT_MENU": "Contextmenu lijst met taken" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "App-id invoegen", - "APP_ID_TYPE_ERROR": "App-id moet een getal zijn", - "NUMBER_GREATER_THAN": "Waarde moet groter zijn dan of gelijk zijn aan {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Contextmenu lijst met processen" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Aangepaste titel vertaling één", "GROUP-TITLE2-TRANSLATION-KEY": "Aangepaste titel vertaling twee", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Terug naar Home" - }, "507": { "TITLE": "ACS-schijf vol", - "DESCRIPTION": "Content overschrijdt de totale opslaglimiet die is geconfigureerd voor het netwerk of systeem", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Content overschrijdt de totale opslaglimiet die is geconfigureerd voor het netwerk of systeem" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Uw filter aanpassen" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Uw filter aanpassen" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Enkelvoudige selectie", - "MULTI": "Meervoudige selectie", - "PRESELECTED_VALUE": "Voorselecteren: ", - "ROLE": "Rollen: ", - "APP_NAME": "Toepassingsnaam", - "APP_FILTER_MODE": "Filteren op toepassingsnaam", - "ROLE_FILTER_MODE": "Filteren op rol", - "PRESELECT_VALIDATION": "Validatie voorselecteren", - "ALL_PRESELECTED_USERS": "Alle voorgeselecteerde gebruikers", - "ALL_PRESELECTED_GROUPS": "Alle voorgeselecteerde groepen", - "INVALID_USERS": "Ongeldige gebruikers", - "INVALID_GROUPS": "Ongeldige groepen", - "READONLY_MODE": "Alleen-lezenmodus", - "GROUPS_RESTRICTION": "Groepenbeperking" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Multiselectie", - "TESTING_MODE": "Testmodus", - "SELECTION_MODE": "Selectiemodus", - "SELECTED_ROWS": "Geselecteerde rijen", - "TASK_DETAILS_REDIRECTION": "Taakdetails weergeven bij klikken op taak", - "PROCESS_DETAILS_REDIRECTION": "Procesdetails weergeven bij klikken op proces", - "ACTION": { - "ACTION_TITLE": "Actie toevoegen", - "ACTION_MENU": "Actiemenu", - "CONTEX_MENU": "Contextmenu", - "ACTION_VISIBLE": "Zichtbaar", - "ACTION_DISABLE": "Uitschakelen", - "ADD_BUTTON": "Toevoegen", - "KEY": "Key", - "TITLE": "Titel", - "ICON": "Pictogram", - "TASK_ID": "Taak-id", - "PROCESS_ID": "Procesinstance-id", - "ACTION_TYPE": "Actietype" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Knop Nieuwe map maken", - "EDIT_NODE_LABEL": "Knop Node bewerken", - "DELETE_NODE_LABEL": "Pictogramknop Node verwijderen" - }, - "DEFAULT_SEARCH": "Standaard", - "OPEN_DIALOG": "Dialoogvenster Openen", - "SHOW_LIST_LABEL": "Klik om de lijst weer te geven" + } } diff --git a/demo-shell/resources/i18n/pl.json b/demo-shell/resources/i18n/pl.json index 62cc142d4d..3357571706 100755 --- a/demo-shell/resources/i18n/pl.json +++ b/demo-shell/resources/i18n/pl.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Typ uwierzytelnienia", - "BASIC": "Uwierzytelnienie podstawowe", - "SSO": "Logowanie jednokrotne", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Dostawca", - "REQUIRED": "To pole jest wymagane.", - "CS_URL_ERROR": "Adres usług Content Services jest niezgodny z formatem adresu URL.", - "PS_URL_ERROR": "Adres usług Process Services jest niezgodny z formatem adresu URL.", - "TITLE": "Ustawienia", - "CS-HOST": "Adres URL usług Content Services", - "BP-HOST": "Adres URL usług Process Services", - "BACK": "Wstecz", - "APPLY": "Zastosuj", - "NOT_VALID": "Nie rozpoznano adresu http(s)://host|ip:port(/path). Spróbuj użyć innego adresu URL.", - "REDIRECT": "Identyfikator URI przekierowania", - "REDIRECT_LOGOUT": "Identyfikator URI przekierowania — wylogowanie", - "SILENT": "Ciche logowanie", - "SCOPE": "Zakres", - "CLIENT": "Identyfikator klienta", - "PUBLIC_URLS": "Publiczne URL do cichego logowania", - "SECRET": "Klucz tajny" - }, - "ABOUT": { - "DEVELOPMENT": "Tryb progr." - }, - "INFO_DRAWER": { - "TITLE": "Szczegóły", - "COMMENTS": "Komentarze", - "PROPERTIES": "Właściwości", - "VERSIONS": "Wersje" - }, - "HOME": { - "TITLE": "Składniki Angular dla Alfresco", - "DOCUMENTATION": "Dokumentacja" - }, - "LOGOUT": { - "TITLE": "Strona wylogowywania", - "SUB_TITLE": "Wylogowanie przebiegło pomyślnie.", - "LOGIN": "Zaloguj", - "HOME": "Strona główna" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Zezwól na usunięcie", - "SHOW_COMMENTS": "Pokaż komentarze do wersji", - "ALLOW_DOWNLOAD": "Włącz pobieranie wersji", - "READ_ONLY": "Tylko do odczytu", - "COMMENTS": "Pokaż komentarze", - "VERSION_COMPARISON": "Pokaż porównanie wersji" - }, - "PERSONAL-FILES": "Pliki osobiste", - "WARN-MULTIPLE-UPLOADS": "Wyświetl ostrzeżenie dla wielu operacji przesyłania.", - "CUSTOM-PERMISSION-MESSAGE": "Włącz komunikat o niestandardowych uprawnieniach", - "MEDIUM-TIME-FORMAT": "Włącz format czasu nośnika dla listy dokumentów", - "SEARCH": { - "RADIO": { - "NONE": "Brak", - "ALL": "Wszystkie", - "FOLDER": "Folder", - "DOCUMENT": "Dokument" - } - } - }, "title": "Witaj", - "VERSION": { - "NO_PERMISSION": "Nie masz uprawnień do zarządzania wersjami tej zawartości", - "NO_PERMISSION_EVENT": "Nie masz uprawnienia ${event.permission} do akcji ${event.action} typu ${event.type}.", - "CHOOSE_FILE": "Wybierz plik, aby wyświetlić jego wersje.", - "DIALOG": { - "CLOSE": "Zamknij", - "TITLE": "Zarządzaj wersjami" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Zamknij", - "TITLE": "Metadane" - } - }, - "APP_LAYOUT": { - "APP": "Aplikacja", - "HEADER_TEXT_COLOR": "Kolor tekstu nagłówka", - "APP_NAME": "Wersja demonstracyjna aplikacji ADF", - "FILTERED_SEARCH": "Nagłówek filtra", - "HOME": "Strona główna", - "NODE-SELECTOR": "Selektor węzłów", - "SITES": "Witryny", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Ścieżka nawigacyjna", - "NOTIFICATIONS": "Powiadomienia", - "TASK_LIST": "Lista zadań", - "PROCESS_LIST": "Lista procesów", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Zaloguj", - "CUSTOM_SOURCES": "Źródła niestandardowe", - "DATATABLE": "Tabela danych", - "DATATABLE_LAZY": "Tabela danych (z opóźnieniem)", - "DOCUMENT_LIST": "Lista dokumentów", - "TEMPLATE": "Szablon", - "FORM": "Formularz", - "FORM_LIST": "Lista formularzy", - "FORM_LOADING": "Wczytywanie formularza", - "UPLOADER": "Program do przesyłania", - "WEBSCRIPT": "Skrypt internetowy", - "TAG": "Znacznik", - "PIPES": "Rury", - "TRASHCAN": "Kosz", - "SOCIAL": "Społecznościowy", - "SETTINGS": "Ustawienia", - "CONFIG-EDITOR": "Edytor konfiguracji", - "OVERLAY_VIEWER": "Przeglądarka nakładek", - "ABOUT": "Informacje", - "SEARCH": "Wyszukiwanie rozszerzone", - "EXTENDED_SEARCH_QUERY_BODY": "Wyszukiwanie rozszerzone z treścią zapytania", - "WORD_TO_SEARCH": "Szukany wyraz", - "SEARCH_CREATED_BY": "Utworzone przez", - "SEARCH_SERVICE_APPROACH": "Kliknij ten element, aby wyłączyć właściwość wejściową i skonfigurować korzystając z usługi", - "HEADER_DATA": "Dane nagłówka", - "TREE_VIEW": "Widok drzewa", - "EXPAND_LIST": "Lista pozycji rozszerzalnych", - "ICONS": "Ikony", - "PEOPLE_GROUPS_CLOUD": "Chmura dla osób/grup", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Chmura nagłówka zadania", - "APP_NAME_INPUT": "Nazwa aplikacji", - "TASK_ID_INPUT": "Identyfikator zadania", - "FIND_TASK_BUTTON": "Znajdź zadanie" - }, - "PEOPLE_CLOUD": "Składnik Chmura dla osób", - "GROUPS_CLOUD": "Składnik Chmura dla grup", - "CONFIRM-DIALOG": "Okno dialogowe potwierdzenia", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Lista zadań serwisowych", - "RICH_TEXT_EDITOR": "Edytor tekstu sformatowanego" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Usuń trwale", - "RESTORE": "Przywróć" - }, - "EMPTY_STATE": { - "TITLE": "Kosz jest pusty", - "FIRST_TEXT": "Usuwane elementy są przesyłane do kosza.", - "SECOND_TEXT": "Aby trwale usunąć elementy, opróżnij kosz." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Wybór wielokrotny (przy użyciu pól wyboru)", - "THUMBNAILS": "Włącz miniatury", - "ALLOW_DROP_FILES": "Włącz upuszczanie plików w folderze lub pliku", - "MULTIPLE_FILE_UPLOAD": "Przesyłanie wielu plików", - "FOLDER_UPLOAD": "Przesyłanie folderu", - "CUSTOM_FILTER": "Niestandardowy filtr rozszerzeń", - "MAX_SIZE": "Filtr rozmiaru maksymalnego", - "ENABLE_VERSIONING": "Włącz kontrolę wersji", - "DESCRIPTION_UPLOAD": "Włącz przesyłanie", - "ENABLE_INFINITE_SCROLL": "Włącz nieograniczone przewijanie", - "MULTISELECT_DESCRIPTION": "Używaj klawiszy Cmd (system Mac) lub Ctrl (system Windows), aby przełączać wybieranie wielu elementów.", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Lista bieżących plików jest pusta." - }, - "TITLE": "Bieżące pliki" - }, - "COLUMNS": { - "DISPLAY_NAME": "Nazwa wyświetlana", - "IS_LOCKED": "Blokada", - "TAG": "Znacznik", - "NODE_ID": "Identyfikator węzła", - "CREATED_BY": "Utworzone przez", - "CREATED_ON": "Data utworzenia", - "CREATED": "Utworzono", - "SIZE": "Rozmiar", - "DELETED_ON": "Usunięte", - "DELETED_BY": "Usunięte przez" - }, - "TOOLBAR": { - "CARDVIEW": "Tryb widoku karty", - "SHARE_EDIT": "Edytuj ustawienia", - "NEW_FOLDER": "Nowy folder", - "EDIT_FOLDER": "Edytuj folder", - "DOWNLOAD": "Pobierz", - "DELETE": "Usuń", - "FAVORITES": "Dodaj do ulubionych", - "SHARE": "Udostępnij", - "THEME": "Wybierz motyw", - "SHOW_VERSION": "Pokaż wersję", - "HIDE_VERSION": "Ukryj wersję", - "LISTVIEW": "Tryb widoku listy", - "CREATE_LIBRARY": "Utwórz bibliotekę" - }, - "ACTIONS": { - "VERSIONS": "Zarządzaj wersjami", - "ASPECTS": "Aktualizuj aspekty", - "LOCK": "Blokada", - "METADATA": "Informacje", - "DOWNLOAD": "Pobierz", - "PERMISSION": "Uprawnienie", - "FOLDER": { - "COPY": "Kopiuj", - "MOVE": "Przenieś", - "DELETE": "Usuń" - }, - "DOCUMENT": { - "COPY": "Kopiuj", - "MOVE": "Przenieś", - "DELETE": "Usuń", - "PROCESS_ACTION": "Rozpocznij proces" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Resetuj do domyślnych", - "ADD_ROW": "Dodaj wiersz", - "REPLACE_ROWS": "Zastąp wiersze", - "REPLACE_COLUMNS": "Zastąp kolumny", - "LOAD_NODE": "Wczytaj węzeł", - "MULTISELECT": "Wybór wielokrotny", - "MULTISELECT_DESCRIPTION": "Używaj klawiszy Cmd (system Mac) lub Ctrl (system Windows), aby przełączać wybieranie wielu elementów.", - "USE_CUSTOM_COLUMN_HEADER": "Użyj szablonu niestandardowego dla nagłówka 'Użytkownik'", - "CUSTOM_COLUMN_HEADER": "Szablon niestandardowy nagłówka Użytkownik" - }, - "PS-TAB": { - "TASKS-TAB": "Zadania", - "PROCESSES-TAB": "Proces", - "SETTINGS-TAB": "Ustawienia", - "START-TASK": "Rozpocznij zadanie", - "START-PROCESS": "Rozpocznij proces", - "PROCESS-AUDIT-LOG": "Dziennik inspekcji procesu", - "TASK-AUDIT-LOG": "Dziennik inspekcji zadania", - "TASK-SHOW-HEADER": "Pokaż nagłówek szczegółów" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Aplikacja", - "SETTINGS_TAB": "Ustawienia" - }, - "FORM-LIST": { - "STORE": "Magazyn", - "RESTORE": "Przywróć" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "Zadanie {{taskName}} zostało przydzielone do {{assignee}}", "PROCESS_STARTED": "Proces {{processName}} został uruchomiony", "TASK_UPDATED": "Szczegóły zadania {{taskName}} zostały zaktualizowane", "TASK_CREATED": "Zadanie {{taskName}} zostało utworzone" }, - "FORM-LOADING": { - "FORM_DATA": "Dane formularza", - "FORM_DATA_MESSAGE": "Wprowadź wartości, aby wypełnić formularz.", - "TYPEAHEAD_PLACEHOLDER": "Wpisywanie z wyprzedzeniem", - "RADIO_PLACEHOLDER": "Przycisk radiowy", - "SELECT_PLACEHOLDER": "Menu rozwijane" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Stopka logowania", - "SHOW_REMEMBERME": "Pokaż opcję „Zapamiętaj mnie”", - "SHOW_SUCCESS_ROUTE": "Pokaż ścieżkę powodzenia", - "CUSTOM_LOGO": "Logo niestandardowe" - }, "SEARCH": { "RESULTS": "Wyniki wyszukiwania", "NO_RESULT": "Brak wyników", @@ -285,104 +28,12 @@ "XXTRALARGE": "8. Rozmiar: wyjątkowo duży" } }, - "SOCIAL": { - "LIKE": "Składnik Like", - "RATING": "Składnik Rating" - }, - "TAG": { - "LIST": "Wyświetl znaczniki Content Services", - "INSERT": "Wstaw identyfikator węzła", - "NODE_LIST": "Lista znaczników według identyfikatora węzła" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Dziedzicz uprawnienie", - "INHERITED_PERMISSIONS_BUTTON": "Odziedziczone uprawnienie" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Wstaw identyfikator aplikacji", - "APP_ID_TYPE_ERROR": "Identyfikator aplikacji musi być liczbą.", - "NUMBER_TYPE_ERROR": "Wartość musi być liczbą.", - "NUMBER_GREATER_THAN": "Wartość musi być większa od lub równa wartości {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Strona początkowa" - }, - "TASK_CONTEXT_MENU": "Menu kontekstowe listy zadań" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Wstaw identyfikator aplikacji", - "APP_ID_TYPE_ERROR": "Identyfikator aplikacji musi być liczbą.", - "NUMBER_GREATER_THAN": "Wartość musi być większa od lub równa wartości {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Menu kontekstowe listy procesów" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie pierwsze", "GROUP-TITLE2-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie drugie", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Powrót do strony głównej" - }, "507": { "TITLE": "Dysk ACS pełny", - "DESCRIPTION": "Zawartość przekracza limit łącznego przydziału miejsca w magazynie skonfigurowany w sieci lub systemie", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Zawartość przekracza limit łącznego przydziału miejsca w magazynie skonfigurowany w sieci lub systemie" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Dostosuj swój filtr" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Dostosuj swój filtr" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Wybór pojedynczy", - "MULTI": "Wybór wielokrotny", - "PRESELECTED_VALUE": "Wstępny wybór: ", - "ROLE": "Role: ", - "APP_NAME": "Nazwa aplikacji", - "APP_FILTER_MODE": "Filtruj według nazwy aplikacji", - "ROLE_FILTER_MODE": "Filtruj według roli", - "PRESELECT_VALIDATION": "Sprawdzanie poprawności wstępnego wyboru", - "ALL_PRESELECTED_USERS": "Wszyscy wstępnie wybrani użytkownicy", - "ALL_PRESELECTED_GROUPS": "Wszystkie wstępnie wybrane grupy", - "INVALID_USERS": "Nieprawidłowi użytkownicy", - "INVALID_GROUPS": "Nieprawidłowe grupy", - "READONLY_MODE": "Tryb tylko do odczytu", - "GROUPS_RESTRICTION": "Ograniczenie grup" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Wybór wielokrotny", - "TESTING_MODE": "Tryb testowania", - "SELECTION_MODE": "Tryb wyboru", - "SELECTED_ROWS": "Wybrane wiersze", - "TASK_DETAILS_REDIRECTION": "Wyświetlaj szczegóły zadania po kliknięciu zadania", - "PROCESS_DETAILS_REDIRECTION": "Wyświetlaj szczegóły procesu po kliknięciu procesu", - "ACTION": { - "ACTION_TITLE": "Dodaj czynność", - "ACTION_MENU": "Menu czynności", - "CONTEX_MENU": "Menu kontekstowe", - "ACTION_VISIBLE": "Widoczne", - "ACTION_DISABLE": "Wyłącz", - "ADD_BUTTON": "Dodaj", - "KEY": "Klucz", - "TITLE": "Tytuł", - "ICON": "Ikona", - "TASK_ID": "Identyfikator zadania", - "PROCESS_ID": "Identyfikator wystąpienia procesu", - "ACTION_TYPE": "Typ czynności" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Przycisk Utwórz nowy folder", - "EDIT_NODE_LABEL": "Przycisk Edytuj węzeł", - "DELETE_NODE_LABEL": "Przycisk Usuń ikonę węzła" - }, - "DEFAULT_SEARCH": "Domyślne", - "OPEN_DIALOG": "Otwórz okno dialogowe", - "SHOW_LIST_LABEL": "Kliknij, aby wyświetlić listę" + } } diff --git a/demo-shell/resources/i18n/pt-BR.json b/demo-shell/resources/i18n/pt-BR.json index 9fd00f5d87..21d5d40164 100755 --- a/demo-shell/resources/i18n/pt-BR.json +++ b/demo-shell/resources/i18n/pt-BR.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Tipo de autenticação", - "BASIC": "Autenticação básica", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Provedor", - "REQUIRED": "Este campo é obrigatório", - "CS_URL_ERROR": "O endereço do Content Services não corresponde ao formato de URL", - "PS_URL_ERROR": "O endereço do Process Services não corresponde ao formato de URL", - "TITLE": "Configurações", - "CS-HOST": "URL do Content Services", - "BP-HOST": "URL do Process Services", - "BACK": "Voltar", - "APPLY": "Aplicar", - "NOT_VALID": "http(s)://host|ip:port(/path) não reconhecida, tente uma URL diferente.", - "REDIRECT": "Redirecionar URI", - "REDIRECT_LOGOUT": "Redirecionar logout de URI", - "SILENT": "Login silencioso", - "SCOPE": "Escopo", - "CLIENT": "ID de cliente", - "PUBLIC_URLS": "Login silencioso de URLs públicas", - "SECRET": "Segredo" - }, - "ABOUT": { - "DEVELOPMENT": "Modo de desenvolvimento" - }, - "INFO_DRAWER": { - "TITLE": "Detalhes", - "COMMENTS": "Comentários", - "PROPERTIES": "Propriedades", - "VERSIONS": "Versões" - }, - "HOME": { - "TITLE": "Componentes do Angular para Alfresco", - "DOCUMENTATION": "Documentação" - }, - "LOGOUT": { - "TITLE": "Página de logout", - "SUB_TITLE": "Você está desconectado", - "LOGIN": "Login", - "HOME": "Página Inicial" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Permitir exclusão", - "SHOW_COMMENTS": "Mostrar comentários em versões", - "ALLOW_DOWNLOAD": "Ativar descarregamento da versão", - "READ_ONLY": "Somente leitura", - "COMMENTS": "Mostrar comentários", - "VERSION_COMPARISON": "Mostrar comparação de versões" - }, - "PERSONAL-FILES": "Arquivos pessoais", - "WARN-MULTIPLE-UPLOADS": "Exibir alerta para vários carregamentos.", - "CUSTOM-PERMISSION-MESSAGE": "Ativar mensagem de permissão personalizada", - "MEDIUM-TIME-FORMAT": "Ativar formato de tempo regular para lista de documento", - "SEARCH": { - "RADIO": { - "NONE": "Nenhum", - "ALL": "Todos", - "FOLDER": "Pasta", - "DOCUMENT": "Documento" - } - } - }, "title": "Bem-vindo", - "VERSION": { - "NO_PERMISSION": "Você não tem permissão para gerenciar versões deste conteúdo", - "NO_PERMISSION_EVENT": "Você não tem a permissão ${event.permission} para ${event.action} o ${event.type}", - "CHOOSE_FILE": "Selecione um arquivo para ver suas versões", - "DIALOG": { - "CLOSE": "Fechar", - "TITLE": "Gerenciar versões" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Fechar", - "TITLE": "Metadados" - } - }, - "APP_LAYOUT": { - "APP": "Aplicativo", - "HEADER_TEXT_COLOR": "Cor do texto do cabeçalho", - "APP_NAME": "Aplicativo Demo ADF", - "FILTERED_SEARCH": "Filtros", - "HOME": "Página Inicial", - "NODE-SELECTOR": "Seletor de nó", - "SITES": "Sites", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Trilha de navegação", - "NOTIFICATIONS": "Notificações", - "TASK_LIST": "Lista de tarefas", - "PROCESS_LIST": "Lista de processos", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Login", - "CUSTOM_SOURCES": "Origens Personalizadas", - "DATATABLE": "Datatable", - "DATATABLE_LAZY": "Datatable (Sob demanda)", - "DOCUMENT_LIST": "Lista de Documento", - "TEMPLATE": "Modelo", - "FORM": "Formulário", - "FORM_LIST": "Lista de Formulário", - "FORM_LOADING": "Carregamento de formulário", - "UPLOADER": "Carregador", - "WEBSCRIPT": "Webscript", - "TAG": "Marca", - "PIPES": "Tubos", - "TRASHCAN": "Lixeira", - "SOCIAL": "Social", - "SETTINGS": "Configurações", - "CONFIG-EDITOR": "Editor de configuração", - "OVERLAY_VIEWER": "Visualizador de sobreposição", - "ABOUT": "Sobre", - "SEARCH": "Pesquisa estendida", - "EXTENDED_SEARCH_QUERY_BODY": "Pesquisa estendida com corpo de consulta", - "WORD_TO_SEARCH": "Pesquisar palavras", - "SEARCH_CREATED_BY": "Criado por", - "SEARCH_SERVICE_APPROACH": "Marque essa opção para desativar a inserção e configurar a utilização do serviço", - "HEADER_DATA": "Dados do cabeçalho", - "TREE_VIEW": "Exibição em árvore", - "EXPAND_LIST": "Lista de itens expansíveis", - "ICONS": "Ícones", - "PEOPLE_GROUPS_CLOUD": "Nuvem de Pessoas/Grupo", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Cabeçalho de tarefa da nuvem", - "APP_NAME_INPUT": "Nome do aplicativo", - "TASK_ID_INPUT": "ID da tarefa", - "FIND_TASK_BUTTON": "Localizar tarefa" - }, - "PEOPLE_CLOUD": "Componente da Nuvem de Pessoas", - "GROUPS_CLOUD": "Componente da Nuvem de Grupos", - "CONFIRM-DIALOG": "Caixa de diálogo de confirmação", - "COMMUNITY": "Comunidade", - "SERVICE_TASK_LIST": "Lista de tarefas de serviços", - "RICH_TEXT_EDITOR": "Editor de RTF" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Apagar permanentemente", - "RESTORE": "Restaurar" - }, - "EMPTY_STATE": { - "TITLE": "A lixeira está vazia", - "FIRST_TEXT": "Itens apagados são movidos para a Lixeira.", - "SECOND_TEXT": "Esvazie a Lixeira para apagar os itens permanentemente." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Seleção Múltipla (com caixas de seleção)", - "THUMBNAILS": "Ativar Miniaturas", - "ALLOW_DROP_FILES": "Ativar soltar arquivos em uma pasta ou um arquivo", - "MULTIPLE_FILE_UPLOAD": "Carregamento de Vários Arquivos", - "FOLDER_UPLOAD": "Carregamento de Pasta", - "CUSTOM_FILTER": "Filtro de extensões personalizado", - "MAX_SIZE": "Tamanho máximo do filtro", - "ENABLE_VERSIONING": "Ativar versões", - "DESCRIPTION_UPLOAD": "Ativar carregamento", - "ENABLE_INFINITE_SCROLL": "Ativar rolagem infinita", - "MULTISELECT_DESCRIPTION": "Use Cmd (Mac) ou Ctrl (Windows) para alternar a seleção de vários itens", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "A lista de Arquivos recentes está vazia" - }, - "TITLE": "Arquivos recentes" - }, - "COLUMNS": { - "DISPLAY_NAME": "Nome de exibição", - "IS_LOCKED": "Bloqueio", - "TAG": "Marca", - "NODE_ID": "ID do nó", - "CREATED_BY": "Criado por", - "CREATED_ON": "Criado em", - "CREATED": "Criado", - "SIZE": "Tamanho", - "DELETED_ON": "Excluído", - "DELETED_BY": "Excluído por" - }, - "TOOLBAR": { - "CARDVIEW": "Modo de visualização de cartão", - "SHARE_EDIT": "Editar configurações", - "NEW_FOLDER": "Nova pasta", - "EDIT_FOLDER": "Editar pasta", - "DOWNLOAD": "Baixar", - "DELETE": "Excluir", - "FAVORITES": "Adicionar aos favoritos", - "SHARE": "Compartilhar", - "THEME": "Selecionar um tema", - "SHOW_VERSION": "Mostrar versão", - "HIDE_VERSION": "Ocultar versão", - "LISTVIEW": "Modo de exibição em lista", - "CREATE_LIBRARY": "Criar biblioteca" - }, - "ACTIONS": { - "VERSIONS": "Gerenciar versões", - "ASPECTS": "Atualizar aspectos", - "LOCK": "Bloqueio", - "METADATA": "Informações", - "DOWNLOAD": "Baixar", - "PERMISSION": "Permissão", - "FOLDER": { - "COPY": "Copiar", - "MOVE": "Mover", - "DELETE": "Excluir" - }, - "DOCUMENT": { - "COPY": "Copiar", - "MOVE": "Mover", - "DELETE": "Excluir", - "PROCESS_ACTION": "Iniciar processo" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Redefinir para o padrão", - "ADD_ROW": "Adicionar linha", - "REPLACE_ROWS": "Substituir linhas", - "REPLACE_COLUMNS": "Substituir colunas", - "LOAD_NODE": "Carregar Nó", - "MULTISELECT": "Seleção Múltipla", - "MULTISELECT_DESCRIPTION": "Use Cmd (Mac) ou Ctrl (Windows) para alternar a seleção de vários itens", - "USE_CUSTOM_COLUMN_HEADER": "Usar modelo personalizado para o cabeçalho 'Usuário'", - "CUSTOM_COLUMN_HEADER": "Modelo personalizado do cabeçalho Usuário" - }, - "PS-TAB": { - "TASKS-TAB": "Tarefas", - "PROCESSES-TAB": "Processo", - "SETTINGS-TAB": "Configurações", - "START-TASK": "Iniciar tarefa", - "START-PROCESS": "Iniciar processo", - "PROCESS-AUDIT-LOG": "Log de auditoria de processo", - "TASK-AUDIT-LOG": "Log de auditoria de tarefa", - "TASK-SHOW-HEADER": "Mostrar cabeçalho de detalhes" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Aplicativo", - "SETTINGS_TAB": "Configurações" - }, - "FORM-LIST": { - "STORE": "Armazenar", - "RESTORE": "Restaurar" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "A tarefa {{taskName}} foi atribuída a {{assignee}}", "PROCESS_STARTED": "O processo {{processName}} foi iniciado", "TASK_UPDATED": "Os detalhes da tarefa {{taskName}} foram atualizados", "TASK_CREATED": "A tarefa {{taskName}} foi criada" }, - "FORM-LOADING": { - "FORM_DATA": "Dados do formulário", - "FORM_DATA_MESSAGE": "Insira os valores para preencher o formulário", - "TYPEAHEAD_PLACEHOLDER": "Campo de sugestão", - "RADIO_PLACEHOLDER": "Botão de opção", - "SELECT_PLACEHOLDER": "Lista suspensa" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Rodapé de login", - "SHOW_REMEMBERME": "Mostrar o recurso Lembrar-me", - "SHOW_SUCCESS_ROUTE": "Mostrar rota de sucesso", - "CUSTOM_LOGO": "Logo personalizada" - }, "SEARCH": { "RESULTS": "Resultados da pesquisa", "NO_RESULT": "Nenhum resultado encontrado", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.Tamanho: extragrande" } }, - "SOCIAL": { - "LIKE": "Componente Like", - "RATING": "Componente de classificação" - }, - "TAG": { - "LIST": "Lista de Marcas do Content Services", - "INSERT": "Inserir ID de Nó", - "NODE_LIST": "Lista de marcas por ID de Nó" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Herdar permissão", - "INHERITED_PERMISSIONS_BUTTON": "Permissão herdada" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Inserir ID do aplicativo", - "APP_ID_TYPE_ERROR": "O ID do aplicativo deve ser um número", - "NUMBER_TYPE_ERROR": "O valor deve ser um número", - "NUMBER_GREATER_THAN": "O valor deve ser maior ou igual a {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Iniciando a página" - }, - "TASK_CONTEXT_MENU": "Menu de contexto da lista de tarefas" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Inserir ID do aplicativo", - "APP_ID_TYPE_ERROR": "O ID do aplicativo deve ser um número", - "NUMBER_GREATER_THAN": "O valor deve ser maior ou igual a {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Menu de contexto da lista de processamento" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Tradução um de título personalizado", "GROUP-TITLE2-TRANSLATION-KEY": "Tradução dois de título personalizado", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Voltar para a página inicial" - }, "507": { "TITLE": "Disco ACS cheio", - "DESCRIPTION": "O conteúdo excede o limite de armazenamento geral configurado para a rede ou o sistema", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "O conteúdo excede o limite de armazenamento geral configurado para a rede ou o sistema" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Personalizar seu filtro" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Personalizar seu filtro" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Seleção única", - "MULTI": "Seleção múltipla", - "PRESELECTED_VALUE": "Pré-seleção: ", - "ROLE": "Funções: ", - "APP_NAME": "Nome do aplicativo", - "APP_FILTER_MODE": "Filtrar por nome do aplicativo", - "ROLE_FILTER_MODE": "Filtrar por função", - "PRESELECT_VALIDATION": "Validação de pré-seleção", - "ALL_PRESELECTED_USERS": "Todos os usuários pré-selecionados", - "ALL_PRESELECTED_GROUPS": "Todos os grupos pré-selecionados", - "INVALID_USERS": "Usuários inválidos", - "INVALID_GROUPS": "Grupos inválidos", - "READONLY_MODE": "Modo somente leitura", - "GROUPS_RESTRICTION": "Restrição de grupos" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Seleção Múltipla", - "TESTING_MODE": "Modo de Teste", - "SELECTION_MODE": "Modo de seleção", - "SELECTED_ROWS": "Linhas selecionadas", - "TASK_DETAILS_REDIRECTION": "Exibir detalhes da tarefa ao clicar na tarefa", - "PROCESS_DETAILS_REDIRECTION": "Exibir detalhes do processo ao clicar no processo", - "ACTION": { - "ACTION_TITLE": "Adicionar ação", - "ACTION_MENU": "Menu de ação", - "CONTEX_MENU": "Menu de contexto", - "ACTION_VISIBLE": "Visível", - "ACTION_DISABLE": "Desativar", - "ADD_BUTTON": "Adicionar", - "KEY": "Chave", - "TITLE": "Título", - "ICON": "Ícone", - "TASK_ID": "ID de tarefa", - "PROCESS_ID": "ID de instância de processo", - "ACTION_TYPE": "Tipo de ação" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Criar um novo botão de pasta", - "EDIT_NODE_LABEL": "Editar botão de nó", - "DELETE_NODE_LABEL": "Excluir botão de ícone de nó" - }, - "DEFAULT_SEARCH": "Padrão", - "OPEN_DIALOG": "Abrir caixa de diálogo", - "SHOW_LIST_LABEL": "Clique para mostrar a lista" + } } diff --git a/demo-shell/resources/i18n/ru.json b/demo-shell/resources/i18n/ru.json index 3344bfd31e..7d960b6681 100755 --- a/demo-shell/resources/i18n/ru.json +++ b/demo-shell/resources/i18n/ru.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Тип авторизации", - "BASIC": "Базовая авторизация", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Поставщик", - "REQUIRED": "Поле обязательно для заполнения", - "CS_URL_ERROR": "Адрес Content Services не соответствует формату URL", - "PS_URL_ERROR": "Адрес Process Services не соответствует формату URL", - "TITLE": "Параметры", - "CS-HOST": "URL-адрес Content Services", - "BP-HOST": "URL-адрес Process Services", - "BACK": "Назад", - "APPLY": "Применить", - "NOT_VALID": "http(s)://host|ip:port(/path) не распознан, используйте другой URL-адрес.", - "REDIRECT": "URI перенаправления", - "REDIRECT_LOGOUT": "Выход URI перенаправления", - "SILENT": "Автоматический вход", - "SCOPE": "Область применения", - "CLIENT": "Идентификатор клиента", - "PUBLIC_URLS": "Общедоступные URL-адреса с автоматическим входом", - "SECRET": "Секретный" - }, - "ABOUT": { - "DEVELOPMENT": "Режим разработки" - }, - "INFO_DRAWER": { - "TITLE": "Сведения", - "COMMENTS": "Комментарии", - "PROPERTIES": "Свойства", - "VERSIONS": "Версии" - }, - "HOME": { - "TITLE": "Угловые компоненты для Alfresco", - "DOCUMENTATION": "Документация" - }, - "LOGOUT": { - "TITLE": "Страница выхода из системы", - "SUB_TITLE": "Вы вышли из системы", - "LOGIN": "Войти", - "HOME": "Домашняя" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Разрешить удаление", - "SHOW_COMMENTS": "Показать комментарии к версиям", - "ALLOW_DOWNLOAD": "Включить загрузку версий", - "READ_ONLY": "Только чтение", - "COMMENTS": "Показать комментарии", - "VERSION_COMPARISON": "Показать сравнение версий" - }, - "PERSONAL-FILES": "Личные файлы", - "WARN-MULTIPLE-UPLOADS": "Показывать предупреждение для нескольких загрузок.", - "CUSTOM-PERMISSION-MESSAGE": "Включить сообщение о пользовательском разрешении", - "MEDIUM-TIME-FORMAT": "Включить средний формат времени для списка документов", - "SEARCH": { - "RADIO": { - "NONE": "Нет", - "ALL": "Все", - "FOLDER": "Папка", - "DOCUMENT": "Документ" - } - } - }, "title": "Добро пожаловать", - "VERSION": { - "NO_PERMISSION": "У вас нет разрешения на управление версиями этого контента", - "NO_PERMISSION_EVENT": "У вас нет разрешения ${event.permission} на ${event.action} ${event.type}", - "CHOOSE_FILE": "Чтобы просмотреть версии файла, выберите файл", - "DIALOG": { - "CLOSE": "Закрыть", - "TITLE": "Управление версиями" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Закрыть", - "TITLE": "Метаданные" - } - }, - "APP_LAYOUT": { - "APP": "Приложение", - "HEADER_TEXT_COLOR": "Цвет текста заголовка", - "APP_NAME": "Демонстрационное приложение ADF", - "FILTERED_SEARCH": "Заголовок фильтра", - "HOME": "Домашняя", - "NODE-SELECTOR": "Селектор узлов", - "SITES": "Сайты", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Иерархия", - "NOTIFICATIONS": "Оповещения", - "TASK_LIST": "Список задач", - "PROCESS_LIST": "Список процессов", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Войти", - "CUSTOM_SOURCES": "Пользовательские источники", - "DATATABLE": "Таблица данных", - "DATATABLE_LAZY": "Таблица данных (частичная загрузка)", - "DOCUMENT_LIST": "Список документов", - "TEMPLATE": "Шаблон", - "FORM": "Форма", - "FORM_LIST": "Список форм", - "FORM_LOADING": "Загрузка формы", - "UPLOADER": "Загрузчик", - "WEBSCRIPT": "Webscript", - "TAG": "Метка", - "PIPES": "Каналы", - "TRASHCAN": "Корзина", - "SOCIAL": "Социальный", - "SETTINGS": "Параметры", - "CONFIG-EDITOR": "Редактор конфигурации", - "OVERLAY_VIEWER": "Просмотр наложения", - "ABOUT": "О приложении", - "SEARCH": "Расширенный поиск", - "EXTENDED_SEARCH_QUERY_BODY": "Расширенный поиск с использованием тела запроса", - "WORD_TO_SEARCH": "Искать слово", - "SEARCH_CREATED_BY": "Создано пользователем", - "SEARCH_SERVICE_APPROACH": "Установите флажок, чтобы отключить свойство ввода и настроить, используя службу.", - "HEADER_DATA": "Данные заголовка", - "TREE_VIEW": "Иерархическое представление", - "EXPAND_LIST": "Расширяемый список элементов", - "ICONS": "Значки", - "PEOPLE_GROUPS_CLOUD": "Облако пользователей/групп", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Облако заголовков задач", - "APP_NAME_INPUT": "Название приложения", - "TASK_ID_INPUT": "Идентификатор задачи", - "FIND_TASK_BUTTON": "Найти задачу" - }, - "PEOPLE_CLOUD": "Компонент облака «Пользователи»", - "GROUPS_CLOUD": "Компонент облака «Группы»", - "CONFIRM-DIALOG": "Диалоговое окно подтверждения", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Список сервисных задач", - "RICH_TEXT_EDITOR": "Редактор форматированного текста" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Удалить навсегда", - "RESTORE": "Восстановить" - }, - "EMPTY_STATE": { - "TITLE": "Корзина пуста", - "FIRST_TEXT": "Элементы, которые вы удаляете, перемещаются в корзину.", - "SECOND_TEXT": "Очистите корзину, чтобы удалить элементы навсегда." - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Выбор нескольких вариантов (с флажками)", - "THUMBNAILS": "Включить эскизы", - "ALLOW_DROP_FILES": "Включите перетаскивание файлов в папке или файле", - "MULTIPLE_FILE_UPLOAD": "Загрузка нескольких файлов", - "FOLDER_UPLOAD": "Загрузка папки", - "CUSTOM_FILTER": "Пользовательский фильтр расширений", - "MAX_SIZE": "Фильтр максимального размера", - "ENABLE_VERSIONING": "Включить поддержку версий", - "DESCRIPTION_UPLOAD": "Включить загрузку", - "ENABLE_INFINITE_SCROLL": "Включить бесконечную прокрутку", - "MULTISELECT_DESCRIPTION": "Использовать кнопку Cmd (Mac) или Ctrl (Windows) для переключения выбора нескольких элементов", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Список последних файлов пуст" - }, - "TITLE": "Последние файлы" - }, - "COLUMNS": { - "DISPLAY_NAME": "Отображаемое имя", - "IS_LOCKED": "Блокировка", - "TAG": "Метка", - "NODE_ID": "Идентификатор узла", - "CREATED_BY": "Создано пользователем", - "CREATED_ON": "Дата создания", - "CREATED": "Создано", - "SIZE": "Размер", - "DELETED_ON": "Удаленные", - "DELETED_BY": "Удалено пользователем" - }, - "TOOLBAR": { - "CARDVIEW": "Режим просмотра карты", - "SHARE_EDIT": "Изменить параметры", - "NEW_FOLDER": "Новая папка", - "EDIT_FOLDER": "Редактировать папку", - "DOWNLOAD": "Скачать", - "DELETE": "Удалить", - "FAVORITES": "Добавить в избранное", - "SHARE": "Открыть доступ", - "THEME": "Выберите тему", - "SHOW_VERSION": "Показать версию", - "HIDE_VERSION": "Скрыть версию", - "LISTVIEW": "Режим просмотра списка", - "CREATE_LIBRARY": "Создание библиотеки" - }, - "ACTIONS": { - "VERSIONS": "Управление версиями", - "ASPECTS": "Обновить аспекты", - "LOCK": "Блокировка", - "METADATA": "Информация", - "DOWNLOAD": "Скачать", - "PERMISSION": "Право", - "FOLDER": { - "COPY": "Копировать", - "MOVE": "Переместить", - "DELETE": "Удалить" - }, - "DOCUMENT": { - "COPY": "Копировать", - "MOVE": "Переместить", - "DELETE": "Удалить", - "PROCESS_ACTION": "Начать процесс" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Установить значение по умолчанию", - "ADD_ROW": "Добавить строку", - "REPLACE_ROWS": "Заменить строки", - "REPLACE_COLUMNS": "Заменить столбцы", - "LOAD_NODE": "Загрузить узел", - "MULTISELECT": "Выбор нескольких вариантов", - "MULTISELECT_DESCRIPTION": "Использовать кнопку Cmd (Mac) или Ctrl (Windows) для переключения выбора нескольких элементов", - "USE_CUSTOM_COLUMN_HEADER": "Использовать пользовательский шаблон для заголовка «Пользователь»", - "CUSTOM_COLUMN_HEADER": "Пользовательский шаблон заголовка пользователя" - }, - "PS-TAB": { - "TASKS-TAB": "Задачи", - "PROCESSES-TAB": "Процесс", - "SETTINGS-TAB": "Параметры", - "START-TASK": "Начать задачу", - "START-PROCESS": "Начать процесс", - "PROCESS-AUDIT-LOG": "Журнал проверки процесса", - "TASK-AUDIT-LOG": "Журнал проверки задачи", - "TASK-SHOW-HEADER": "Показать подробности заголовка" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Приложение", - "SETTINGS_TAB": "Параметры" - }, - "FORM-LIST": { - "STORE": "Хранилище", - "RESTORE": "Восстановить" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "Задача {{taskName}} была назначена {{assignee}}", "PROCESS_STARTED": "Процесс {{processName}} запущен", "TASK_UPDATED": "Сведения о задаче {{taskName}} обновлены", "TASK_CREATED": "{{taskName}} задача создана" }, - "FORM-LOADING": { - "FORM_DATA": "Данные формы", - "FORM_DATA_MESSAGE": "Введите значения для заполнения формы", - "TYPEAHEAD_PLACEHOLDER": "Буфер клавиатуры", - "RADIO_PLACEHOLDER": "Селективная кнопка", - "SELECT_PLACEHOLDER": "Раскрывающееся меню" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Нижний колонтитул страницы входа в систему", - "SHOW_REMEMBERME": "Показывать «Запомнить меня»", - "SHOW_SUCCESS_ROUTE": "Показать успешный маршрут", - "CUSTOM_LOGO": "Пользовательский логотип" - }, "SEARCH": { "RESULTS": "Результаты поиска", "NO_RESULT": "Результаты не найдены", @@ -285,104 +28,12 @@ "XXTRALARGE": "8. Размер: огромный" } }, - "SOCIAL": { - "LIKE": "Компонент \"Нравится\"", - "RATING": "Компонент \"Рейтинг\"" - }, - "TAG": { - "LIST": "Список меток Content Services", - "INSERT": "Вставить идентификатор узла", - "NODE_LIST": "Список меток по идентификатору узла" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Наследовать разрешение", - "INHERITED_PERMISSIONS_BUTTON": "Разрешение унаследовано" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Вставить идентификатор приложения", - "APP_ID_TYPE_ERROR": "Идентификатор приложения должен быть числом", - "NUMBER_TYPE_ERROR": "Значение должно быть числом", - "NUMBER_GREATER_THAN": "Значение должно быть больше или равно {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Начальная страница" - }, - "TASK_CONTEXT_MENU": "Контекстное меню списка задач" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Вставить идентификатор приложения", - "APP_ID_TYPE_ERROR": "Идентификатор приложения должен быть числом", - "NUMBER_GREATER_THAN": "Значение должно быть больше или равно {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Контекстное меню списка процессов" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Перевод пользовательского заголовка один", "GROUP-TITLE2-TRANSLATION-KEY": "Перевод пользовательского заголовка два", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Назад на главную" - }, "507": { "TITLE": "Диск ACS заполнен", - "DESCRIPTION": "Объем данных превысил максимально допустимое значение, установленное для сети или системы", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Объем данных превысил максимально допустимое значение, установленное для сети или системы" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Настройка фильтра" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Настройка фильтра" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Единичный выбор", - "MULTI": "Групповой выбор", - "PRESELECTED_VALUE": "Предварительный выбор: ", - "ROLE": "Роли: ", - "APP_NAME": "Имя приложения", - "APP_FILTER_MODE": "Фильтровать по имени приложения", - "ROLE_FILTER_MODE": "Фильтровать по роли", - "PRESELECT_VALIDATION": "Проверка предварительного выбора", - "ALL_PRESELECTED_USERS": "Все заранее заданные пользователи", - "ALL_PRESELECTED_GROUPS": "Все заранее заданные группы", - "INVALID_USERS": "Недействительные пользователи", - "INVALID_GROUPS": "Недействительные группы", - "READONLY_MODE": "Режим только для чтения", - "GROUPS_RESTRICTION": "Ограничение для групп" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Выбор нескольких", - "TESTING_MODE": "Режим тестирования", - "SELECTION_MODE": "Режим выбора", - "SELECTED_ROWS": "Выбранные ряды", - "TASK_DETAILS_REDIRECTION": "Отображать подробные сведения о задаче при нажатии на задачу", - "PROCESS_DETAILS_REDIRECTION": "Показывать сведения о процессе при нажатии на процессе", - "ACTION": { - "ACTION_TITLE": "Добавить действие", - "ACTION_MENU": "Меню действий", - "CONTEX_MENU": "Контекстное меню", - "ACTION_VISIBLE": "Видимый", - "ACTION_DISABLE": "Отключить", - "ADD_BUTTON": "Добавить", - "KEY": "Ключ", - "TITLE": "Заголовок", - "ICON": "Значок", - "TASK_ID": "ИД задачи", - "PROCESS_ID": "Идентификатор экземпляра процесса", - "ACTION_TYPE": "Тип действия" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Кнопка \"Создать новую папку\"", - "EDIT_NODE_LABEL": "Кнопка \"Редактировать узел\"", - "DELETE_NODE_LABEL": "Кнопка \"Удалить значок узла\"" - }, - "DEFAULT_SEARCH": "По умолчанию", - "OPEN_DIALOG": "Открыть диалог", - "SHOW_LIST_LABEL": "Нажмите для отображения списка" + } } diff --git a/demo-shell/resources/i18n/sv.json b/demo-shell/resources/i18n/sv.json index 502e9ffaff..b12d1d4720 100755 --- a/demo-shell/resources/i18n/sv.json +++ b/demo-shell/resources/i18n/sv.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "Autentiseringstyp", - "BASIC": "Grundläggande autentisering", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "Leverantör", - "REQUIRED": "Detta fält krävs", - "CS_URL_ERROR": "Content Services-adressen matchar inte URL-formatet", - "PS_URL_ERROR": "Process Services-adressen matchar inte URL-formatet", - "TITLE": "Inställningar", - "CS-HOST": "Content Services-URL", - "BP-HOST": "Process Services-URL", - "BACK": "Tillbaka", - "APPLY": "Tillämpa", - "NOT_VALID": "http(s)://host|ip:port(/path) kändes inte igen, testa annan URL.", - "REDIRECT": "Omdirigera URI", - "REDIRECT_LOGOUT": "Omdirigera URI-utloggning", - "SILENT": "Tyst inloggning", - "SCOPE": "Definitionsområde", - "CLIENT": "Klient-ID", - "PUBLIC_URLS": "Offentliga url:er för tyst inloggning", - "SECRET": "Hemlig" - }, - "ABOUT": { - "DEVELOPMENT": "Utvecklarläge" - }, - "INFO_DRAWER": { - "TITLE": "Detaljer", - "COMMENTS": "Kommentarer", - "PROPERTIES": "Egenskaper", - "VERSIONS": "Versioner" - }, - "HOME": { - "TITLE": "Angular-komponenter till Alfresco", - "DOCUMENTATION": "Dokumentation" - }, - "LOGOUT": { - "TITLE": "Utloggningssida", - "SUB_TITLE": "Du är nu utloggad", - "LOGIN": "Inloggning", - "HOME": "Hem" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "Tillåt radering", - "SHOW_COMMENTS": "Visa kommentarer om versioner", - "ALLOW_DOWNLOAD": "Aktivera version nedladdning", - "READ_ONLY": "Skrivskyddad", - "COMMENTS": "Visa kommentarer", - "VERSION_COMPARISON": "Visa versionsjämförelse" - }, - "PERSONAL-FILES": "Personliga filer", - "WARN-MULTIPLE-UPLOADS": "Visa varning för flera uppladdningar", - "CUSTOM-PERMISSION-MESSAGE": "Aktivera anpassat behörighetsmeddelande", - "MEDIUM-TIME-FORMAT": "Aktivera mellantidsformat för dokumentlista", - "SEARCH": { - "RADIO": { - "NONE": "Ingen", - "ALL": "Alla", - "FOLDER": "Mapp", - "DOCUMENT": "Dokument" - } - } - }, "title": "Välkommen", - "VERSION": { - "NO_PERMISSION": "Du har inte behörighet att hantera versioner av det här innehållet", - "NO_PERMISSION_EVENT": "Du har inte ${event.permission} behörighet att ${event.action} ${event.type}", - "CHOOSE_FILE": "Välj en fil för att se dess versioner", - "DIALOG": { - "CLOSE": "Stäng", - "TITLE": "Hantera versioner" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "Stäng", - "TITLE": "Metadata" - } - }, - "APP_LAYOUT": { - "APP": "Program", - "HEADER_TEXT_COLOR": "Rubrikens textfärg", - "APP_NAME": "ADF-demoprogram", - "FILTERED_SEARCH": "Filter sidhuvud", - "HOME": "Hem", - "NODE-SELECTOR": "Nodväljare", - "SITES": "Webbplatser", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "Synlig sökväg", - "NOTIFICATIONS": "Aviseringar", - "TASK_LIST": "Uppgiftslista", - "PROCESS_LIST": "Processlista", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "Kortvy", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "Inloggning", - "CUSTOM_SOURCES": "Anpassade källor", - "DATATABLE": "Datatabell", - "DATATABLE_LAZY": "Datatabell (lat)", - "DOCUMENT_LIST": "Dokumentlista", - "TEMPLATE": "Mall", - "FORM": "Formulär", - "FORM_LIST": "Formulärlista", - "FORM_LOADING": "Formulär läses in", - "UPLOADER": "Uppladdad av", - "WEBSCRIPT": "Webbskript", - "TAG": "Tagg", - "PIPES": "Pipes", - "TRASHCAN": "Papperskorg", - "SOCIAL": "Social", - "SETTINGS": "Inställningar", - "CONFIG-EDITOR": "Konfigurationseditor", - "OVERLAY_VIEWER": "Överlagringssvisare", - "ABOUT": "Om", - "SEARCH": "Utvidgad sökning", - "EXTENDED_SEARCH_QUERY_BODY": "Utvidgad sökning med frågetext", - "WORD_TO_SEARCH": "Sökord", - "SEARCH_CREATED_BY": "Skapad av", - "SEARCH_SERVICE_APPROACH": "Kontrollera den här för att avaktivera indataegenskap och konfigurera genom att använda tjänsten", - "HEADER_DATA": "Sidhuvuddata", - "TREE_VIEW": "Trädvy", - "EXPAND_LIST": "Utökbar objektlista", - "ICONS": "Ikoner", - "PEOPLE_GROUPS_CLOUD": "Personer/grupp moln", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "Uppgiftsrubrik för moln eller molnkomponent", - "APP_NAME_INPUT": "Programnamn", - "TASK_ID_INPUT": "Uppgifts-ID", - "FIND_TASK_BUTTON": "Hitta uppgift" - }, - "PEOPLE_CLOUD": "Personer moln-komponent", - "GROUPS_CLOUD": "Grupper moln-komponent", - "CONFIRM-DIALOG": "Dialogruta för bekräftelse", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "Serviceuppgiftslista", - "RICH_TEXT_EDITOR": "RT-redigerare" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "Radera permanent", - "RESTORE": "Återställ" - }, - "EMPTY_STATE": { - "TITLE": "Papperskorgen är tom", - "FIRST_TEXT": "Objekt du raderar flyttas till papperskorgen.", - "SECOND_TEXT": "Töm papperskorgen för att radera objekt permanent" - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "Flerval (med kryssrutor)", - "THUMBNAILS": "Aktivera miniatyrbilder", - "ALLOW_DROP_FILES": "Gör det möjligt att dra in filer i en mapp eller en fil", - "MULTIPLE_FILE_UPLOAD": "Uppladdning av flera filer", - "FOLDER_UPLOAD": "Mappuppladdning", - "CUSTOM_FILTER": "Anpassade tilläggsfilter", - "MAX_SIZE": "Maxstorlek filter", - "ENABLE_VERSIONING": "Aktivera versionering", - "DESCRIPTION_UPLOAD": "Aktivera uppladdning", - "ENABLE_INFINITE_SCROLL": "Aktivera oändlig skrollning", - "MULTISELECT_DESCRIPTION": "Använd Cmd (Mac) eller Ctrl (Windows) för att växla val av flera objekt", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "Listan med de senaste filerna är tom" - }, - "TITLE": "De senaste filerna" - }, - "COLUMNS": { - "DISPLAY_NAME": "Visa namn", - "IS_LOCKED": "Lås", - "TAG": "Tagg", - "NODE_ID": "Nod-ID", - "CREATED_BY": "Skapad av", - "CREATED_ON": "Skapad den", - "CREATED": "Skapad", - "SIZE": "Storlek", - "DELETED_ON": "Raderad", - "DELETED_BY": "Raderad av" - }, - "TOOLBAR": { - "CARDVIEW": "Kortvyläge", - "SHARE_EDIT": "Redigera inställningar", - "NEW_FOLDER": "Ny mapp", - "EDIT_FOLDER": "Redigera mapp", - "DOWNLOAD": "Ladda ner", - "DELETE": "Radera", - "FAVORITES": "Lägg till favoriter", - "SHARE": "Dela", - "THEME": "Välj ett tema", - "SHOW_VERSION": "Visa version", - "HIDE_VERSION": "Dölj version", - "LISTVIEW": "Listvyläge", - "CREATE_LIBRARY": "Skapa bibliotek" - }, - "ACTIONS": { - "VERSIONS": "Hantera versioner", - "ASPECTS": "Uppdatera aspekter", - "LOCK": "Lås", - "METADATA": "Info", - "DOWNLOAD": "Ladda ner", - "PERMISSION": "Behörighet", - "FOLDER": { - "COPY": "Kopiera", - "MOVE": "Flytta", - "DELETE": "Radera" - }, - "DOCUMENT": { - "COPY": "Kopiera", - "MOVE": "Flytta", - "DELETE": "Radera", - "PROCESS_ACTION": "Starta process" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "Återställ till standard", - "ADD_ROW": "Lägg till rad", - "REPLACE_ROWS": "Ersätt rader", - "REPLACE_COLUMNS": "Ersätt kolumner", - "LOAD_NODE": "Läs in nod", - "MULTISELECT": "Flerval", - "MULTISELECT_DESCRIPTION": "Använd Cmd (Mac) eller Ctrl (Windows) för att växla val av flera objekt", - "USE_CUSTOM_COLUMN_HEADER": "Använd anpassad mall för \"Användare\"-rubrik", - "CUSTOM_COLUMN_HEADER": "Anpassad användarhuvudmall" - }, - "PS-TAB": { - "TASKS-TAB": "Uppgifter", - "PROCESSES-TAB": "Process", - "SETTINGS-TAB": "Inställningar", - "START-TASK": "Starta uppgift", - "START-PROCESS": "Starta process", - "PROCESS-AUDIT-LOG": "Processgranskningslogg", - "TASK-AUDIT-LOG": "Uppgiftsgranskningslogg", - "TASK-SHOW-HEADER": "Visa detaljer rubrik" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "Program", - "SETTINGS_TAB": "Inställningar" - }, - "FORM-LIST": { - "STORE": "Lagra", - "RESTORE": "Återställ" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "{{taskName}} uppgiften har tilldelats till {{assignee}}", "PROCESS_STARTED": "{{processName}} processen har startats", "TASK_UPDATED": "{{taskName}} uppgiftsinformation har uppdaterats", "TASK_CREATED": "Uppgiften {{taskName}} skapades" }, - "FORM-LOADING": { - "FORM_DATA": "Formulärdata", - "FORM_DATA_MESSAGE": "Ange värden för att fylla formuläret", - "TYPEAHEAD_PLACEHOLDER": "Typeahead", - "RADIO_PLACEHOLDER": "Radioknapp", - "SELECT_PLACEHOLDER": "Dropdown" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "Inloggningssidfot", - "SHOW_REMEMBERME": "Visa kom ihåg mig", - "SHOW_SUCCESS_ROUTE": "Visa framgångsväg", - "CUSTOM_LOGO": "Anpassad logotyp" - }, "SEARCH": { "RESULTS": "Sökresultat", "NO_RESULT": "Inga resultat hittades", @@ -285,104 +28,12 @@ "XXTRALARGE": "8.Storlek: XX large" } }, - "SOCIAL": { - "LIKE": "Som komponent", - "RATING": "Klassificeringskomponent" - }, - "TAG": { - "LIST": "Lista taggar Content Services", - "INSERT": "Infoga nod-ID", - "NODE_LIST": "Tagglista per nod-ID" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "Ärv behörighet", - "INHERITED_PERMISSIONS_BUTTON": "Behörighet ärvt" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Infoga program-ID", - "APP_ID_TYPE_ERROR": "Program-ID måste vara ett nummer", - "NUMBER_TYPE_ERROR": "Värdet måste vara ett nummer", - "NUMBER_GREATER_THAN": "Värdet måste vara större än eller lika med {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "Startsida" - }, - "TASK_CONTEXT_MENU": "Innehållsmeny till uppgiftslista" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "Infoga program-ID", - "APP_ID_TYPE_ERROR": "Program-ID måste vara ett nummer", - "NUMBER_GREATER_THAN": "Värdet måste vara större än eller lika med {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "Innehållsmeny för processlista" - }, "GROUP-TITLE1-TRANSLATION-KEY": "Anpassad titelöversättning ett", "GROUP-TITLE2-TRANSLATION-KEY": "Anpassad titelöversättning två", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "Tillbaka hem" - }, "507": { "TITLE": "ACS disk full", - "DESCRIPTION": "Innehållet överskrider övergripande kvotbegränsning som är konfigurerad för nätverket eller systemet", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "Innehållet överskrider övergripande kvotbegränsning som är konfigurerad för nätverket eller systemet" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "Anpassa ditt filter" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "Anpassa ditt filter" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "Enskilt val", - "MULTI": "Flerval", - "PRESELECTED_VALUE": "Förvälj: ", - "ROLE": "Roller: ", - "APP_NAME": "Programnamn", - "APP_FILTER_MODE": "Filterera på programnamn", - "ROLE_FILTER_MODE": "Filtrera på roll", - "PRESELECT_VALIDATION": "Förval validering", - "ALL_PRESELECTED_USERS": "Alla förvalda användare", - "ALL_PRESELECTED_GROUPS": "Alla förvalda grupper", - "INVALID_USERS": "Ogiltiga användare", - "INVALID_GROUPS": "Ogiltiga grupper", - "READONLY_MODE": "Skrivskyddat läge", - "GROUPS_RESTRICTION": "Gruppbegränsning" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "Flerval", - "TESTING_MODE": "Testläge", - "SELECTION_MODE": "Urvalsläge", - "SELECTED_ROWS": "Valda rader", - "TASK_DETAILS_REDIRECTION": "Visa uppgiftsdetaljer vid klick på uppgift", - "PROCESS_DETAILS_REDIRECTION": "Visa processinformation vid processklick", - "ACTION": { - "ACTION_TITLE": "Lägg till åtgärd", - "ACTION_MENU": "Åtgärdsmeny", - "CONTEX_MENU": "Innehållsmeny", - "ACTION_VISIBLE": "Synlig", - "ACTION_DISABLE": "Avaktivera", - "ADD_BUTTON": "Lägg till", - "KEY": "Nyckel", - "TITLE": "Titel", - "ICON": "Ikon", - "TASK_ID": "Uppgifts-ID", - "PROCESS_ID": "Processinstans-ID", - "ACTION_TYPE": "Åtgärdstyp" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "Knappen Skapa en ny mapp", - "EDIT_NODE_LABEL": "Knappen Redigera nod", - "DELETE_NODE_LABEL": "Knappen Radera nodikon" - }, - "DEFAULT_SEARCH": "Standard", - "OPEN_DIALOG": "Öppna dialogruta", - "SHOW_LIST_LABEL": "Klicka för att visa listan" + } } diff --git a/demo-shell/resources/i18n/zh-CN.json b/demo-shell/resources/i18n/zh-CN.json index 639339ecee..e694f735a0 100755 --- a/demo-shell/resources/i18n/zh-CN.json +++ b/demo-shell/resources/i18n/zh-CN.json @@ -1,268 +1,11 @@ { - "APP": { - "HOST_SETTINGS": { - "TYPE-AUTH": "身份验证类型", - "BASIC": "基本身份验证", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "PROVIDER": "提供程序", - "REQUIRED": "此字段为必填字段", - "CS_URL_ERROR": "Content Services 地址与 URL 格式不匹配", - "PS_URL_ERROR": "Process Services 地址与 URL 格式不匹配", - "TITLE": "设置", - "CS-HOST": "Content Services URL", - "BP-HOST": "Process Services URL", - "BACK": "返回", - "APPLY": "应用", - "NOT_VALID": "http(s)://host|ip:port(/path) 无法识别,请使用其他 URL。", - "REDIRECT": "重定向 URI", - "REDIRECT_LOGOUT": "重定向 URI 注销", - "SILENT": "静默登录", - "SCOPE": "范围", - "CLIENT": "客户端 ID", - "PUBLIC_URLS": "用于静默登录的公共 URL", - "SECRET": "机密" - }, - "ABOUT": { - "DEVELOPMENT": "Dev 模式" - }, - "INFO_DRAWER": { - "TITLE": "详细信息", - "COMMENTS": "注释", - "PROPERTIES": "属性", - "VERSIONS": "版本" - }, - "HOME": { - "TITLE": "Alfresco 的 Angular 组件", - "DOCUMENTATION": "文档" - }, - "LOGOUT": { - "TITLE": "注销页面", - "SUB_TITLE": "您现在已注销", - "LOGIN": "登录", - "HOME": "主页" - }, - "ADF_VERSION_MANAGER": { - "ALLOW_DELETE": "允许删除", - "SHOW_COMMENTS": "显示有关版本的注释", - "ALLOW_DOWNLOAD": "启用版本下载", - "READ_ONLY": "只读", - "COMMENTS": "显示注释", - "VERSION_COMPARISON": "显示版本对比" - }, - "PERSONAL-FILES": "个人文件", - "WARN-MULTIPLE-UPLOADS": "针对多个上传显示警告。", - "CUSTOM-PERMISSION-MESSAGE": "启用自定义权限消息", - "MEDIUM-TIME-FORMAT": "对文档列表启用中时间格式", - "SEARCH": { - "RADIO": { - "NONE": "无", - "ALL": "全部", - "FOLDER": "文件夹", - "DOCUMENT": "文档" - } - } - }, "title": "欢迎使用", - "VERSION": { - "NO_PERMISSION": "您没有管理此内容版本的权限", - "NO_PERMISSION_EVENT": "您没有${event.action}${event.type}的${event.permission}权限", - "CHOOSE_FILE": "选择一个文件,查看其版本", - "DIALOG": { - "CLOSE": "关闭", - "TITLE": "管理版本" - } - }, - "METADATA": { - "DIALOG": { - "CLOSE": "关闭", - "TITLE": "元数据" - } - }, - "APP_LAYOUT": { - "APP": "APP", - "HEADER_TEXT_COLOR": "标题文本颜色", - "APP_NAME": "ADF 演示应用程序", - "FILTERED_SEARCH": "筛选标题", - "HOME": "主页", - "NODE-SELECTOR": "节点选择器", - "SITES": "站点", - "CONTENT_SERVICES": "Content Services", - "BREADCRUMB": "面包屑", - "NOTIFICATIONS": "通知", - "TASK_LIST": "任务列表", - "PROCESS_LIST": "流程列表", - "PROCESS_CLOUD": "Activiti Cloud", - "CARD_VIEW": "CardView", - "PROCESS_SERVICES": "Process Services", - "LOGIN": "登录", - "CUSTOM_SOURCES": "自定义来源", - "DATATABLE": "Datatable", - "DATATABLE_LAZY": "Datatable(迟缓)", - "DOCUMENT_LIST": "文档列表", - "TEMPLATE": "模板", - "FORM": "表单", - "FORM_LIST": "表单列表", - "FORM_LOADING": "表单加载", - "UPLOADER": "上传程序", - "WEBSCRIPT": "Webscript", - "TAG": "标记", - "PIPES": "管道", - "TRASHCAN": "垃圾桶", - "SOCIAL": "社交", - "SETTINGS": "设置", - "CONFIG-EDITOR": "配置编辑器", - "OVERLAY_VIEWER": "重叠查看器", - "ABOUT": "关于", - "SEARCH": "扩展搜索", - "EXTENDED_SEARCH_QUERY_BODY": "包含查询主体的扩展搜索", - "WORD_TO_SEARCH": "搜索词", - "SEARCH_CREATED_BY": "创建者", - "SEARCH_SERVICE_APPROACH": "选中此项以禁用输入属性并使用服务进行配置", - "HEADER_DATA": "标头数据", - "TREE_VIEW": "树视图", - "EXPAND_LIST": "可扩展项目列表", - "ICONS": "图标", - "PEOPLE_GROUPS_CLOUD": "人员/一组云", - "TASK_HEADER_CLOUD": { - "COMPONENT_NAME": "云的任务标题", - "APP_NAME_INPUT": "App 名称", - "TASK_ID_INPUT": "任务 id", - "FIND_TASK_BUTTON": "查找任务" - }, - "PEOPLE_CLOUD": "人员云组件", - "GROUPS_CLOUD": "组云组件", - "CONFIRM-DIALOG": "确认对话", - "COMMUNITY": "Community", - "SERVICE_TASK_LIST": "服务任务列表", - "RICH_TEXT_EDITOR": "RTF 编辑器" - }, - "TRASHCAN": { - "ACTIONS": { - "DELETE_PERMANENT": "永久删除", - "RESTORE": "恢复" - }, - "EMPTY_STATE": { - "TITLE": "回收站为空", - "FIRST_TEXT": "您删除的项目已移至回收站。", - "SECOND_TEXT": "清空回收站以永久删除项目。" - } - }, - "DOCUMENT_LIST": { - "MULTISELECT_CHECKBOXES": "多选(含复选框)", - "THUMBNAILS": "启用缩略图", - "ALLOW_DROP_FILES": "在文件夹或文件中启用拖动文件", - "MULTIPLE_FILE_UPLOAD": "上传多个文件", - "FOLDER_UPLOAD": "文件夹上传", - "CUSTOM_FILTER": "自定义扩展筛选器", - "MAX_SIZE": "最大大小筛选器", - "ENABLE_VERSIONING": "启用版本控制", - "DESCRIPTION_UPLOAD": "启用上传", - "ENABLE_INFINITE_SCROLL": "启用无限滚动", - "MULTISELECT_DESCRIPTION": "使用 Cmd (Mac) 或 Ctrl (Windows) 切换多个项目的选择", - "RECENT": { - "EMPTY_STATE": { - "TITLE": "“最近的文件”列表为空" - }, - "TITLE": "最近的文件" - }, - "COLUMNS": { - "DISPLAY_NAME": "显示名称", - "IS_LOCKED": "锁定", - "TAG": "标记", - "NODE_ID": "节点 ID", - "CREATED_BY": "创建者", - "CREATED_ON": "创建日期", - "CREATED": "已创建", - "SIZE": "尺寸", - "DELETED_ON": "已删除", - "DELETED_BY": "删除人" - }, - "TOOLBAR": { - "CARDVIEW": "卡查看模式", - "SHARE_EDIT": "编辑设置", - "NEW_FOLDER": "新建文件夹", - "EDIT_FOLDER": "编辑文件夹", - "DOWNLOAD": "下载", - "DELETE": "删除", - "FAVORITES": "添加到收藏夹", - "SHARE": "共享", - "THEME": "选择一个主题", - "SHOW_VERSION": "显示版本", - "HIDE_VERSION": "隐藏版本", - "LISTVIEW": "列表视图模式", - "CREATE_LIBRARY": "创建库" - }, - "ACTIONS": { - "VERSIONS": "管理版本", - "ASPECTS": "更新方面", - "LOCK": "锁定", - "METADATA": "信息", - "DOWNLOAD": "下载", - "PERMISSION": "权限", - "FOLDER": { - "COPY": "复制", - "MOVE": "移动", - "DELETE": "删除" - }, - "DOCUMENT": { - "COPY": "复制", - "MOVE": "移动", - "DELETE": "删除", - "PROCESS_ACTION": "启动流程" - } - } - }, - "DATATABLE": { - "RESET_DEFAULT": "重设为默认值", - "ADD_ROW": "新增行", - "REPLACE_ROWS": "替换行", - "REPLACE_COLUMNS": "替换列", - "LOAD_NODE": "加载节点", - "MULTISELECT": "多选", - "MULTISELECT_DESCRIPTION": "使用 Cmd (Mac) 或 Ctrl (Windows) 切换多个项目的选择", - "USE_CUSTOM_COLUMN_HEADER": "为“用户”标题使用自定义模板", - "CUSTOM_COLUMN_HEADER": "自定义用户标题模板" - }, - "PS-TAB": { - "TASKS-TAB": "任务", - "PROCESSES-TAB": "流程", - "SETTINGS-TAB": "设置", - "START-TASK": "启动任务", - "START-PROCESS": "启动流程", - "PROCESS-AUDIT-LOG": "流程审计日志", - "TASK-AUDIT-LOG": "任务审计日志", - "TASK-SHOW-HEADER": "显示详细信息标头" - }, - "PS_CLOUD_TAB": { - "APPS_TAB": "APP", - "SETTINGS_TAB": "设置" - }, - "FORM-LIST": { - "STORE": "存储", - "RESTORE": "恢复" - }, "NOTIFICATIONS": { "TASK_ASSIGNED": "{{taskName}} 任务已分配给 {{assignee}}", "PROCESS_STARTED": "{{processName}} 进程已启动", "TASK_UPDATED": "{{taskName}} 任务详细信息已更新", "TASK_CREATED": "{{taskName}} 任务已创建" }, - "FORM-LOADING": { - "FORM_DATA": "表单数据", - "FORM_DATA_MESSAGE": "输入值以填充表单", - "TYPEAHEAD_PLACEHOLDER": "预先输入", - "RADIO_PLACEHOLDER": "单选按钮", - "SELECT_PLACEHOLDER": "下拉列表" - }, - "LOGIN": { - "CONTENT_SERVICES": "Content Services", - "PROCESS_SERVICES": "Process Services", - "LOGIN_FOOTER": "登录页脚", - "SHOW_REMEMBERME": "显示记住我", - "SHOW_SUCCESS_ROUTE": "显示成功路由", - "CUSTOM_LOGO": "自定义徽标" - }, "SEARCH": { "RESULTS": "搜索结果", "NO_RESULT": "未找到结果", @@ -285,104 +28,12 @@ "XXTRALARGE": "8. 字号:超大" } }, - "SOCIAL": { - "LIKE": "点赞组件", - "RATING": "评分组件" - }, - "TAG": { - "LIST": "列表标记 Content Services", - "INSERT": "插入节点 ID", - "NODE_LIST": "标记列表(按节点 ID 排序)" - }, - "DEMO_PERMISSION": { - "INHERIT_PERMISSION_BUTTON": "继承权限", - "INHERITED_PERMISSIONS_BUTTON": "已继承权限" - }, - "TASK_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "插入 App ID", - "APP_ID_TYPE_ERROR": "App ID 必须为数字", - "NUMBER_TYPE_ERROR": "值必须是数字", - "NUMBER_GREATER_THAN": "值必须大于或等于 {{ value }}" - }, - "TOOLTIP_MESSAGE": { - "START_INPUT": "开始页面" - }, - "TASK_CONTEXT_MENU": "任务列表上下文菜单" - }, - "PROCESS_LIST_DEMO": { - "ERROR_MESSAGE": { - "APP_ID_REQUIRED_ERROR": "插入 App ID", - "APP_ID_TYPE_ERROR": "App ID 必须为数字", - "NUMBER_GREATER_THAN": "值必须大于或等于 {{ value }}" - }, - "PROCESS_CONTEXT_MENU": "流程列表上下文菜单" - }, "GROUP-TITLE1-TRANSLATION-KEY": "自定义标题翻译 1", "GROUP-TITLE2-TRANSLATION-KEY": "自定义标题翻译 2", "ERROR_CONTENT": { - "RETURN_BUTTON": { - "TEXT": "返回到主页" - }, "507": { "TITLE": "ACS 磁盘已满", - "DESCRIPTION": "内容超出为网络或系统配置的总存储配额限制", - "SECONDARY_BUTTON": { - "TEXT": "" - } + "DESCRIPTION": "内容超出为网络或系统配置的总存储配额限制" } - }, - "PROCESS_LIST_CLOUD_DEMO": { - "TITLE": "PROCESS LIST CLOUD DEMO", - "CUSTOMIZE_FILTERS": "自定义您的筛选器" - }, - "TASK_LIST_CLOUD_DEMO": { - "CUSTOMIZE_FILTERS": "自定义您的筛选器" - }, - "PEOPLE_GROUPS_CLOUD": { - "SINGLE": "单个选择", - "MULTI": "多重选择", - "PRESELECTED_VALUE": "预先选择: ", - "ROLE": "角色: ", - "APP_NAME": "应用程序名称", - "APP_FILTER_MODE": "按应用程序名称筛选", - "ROLE_FILTER_MODE": "按角色筛选", - "PRESELECT_VALIDATION": "预先选择验证", - "ALL_PRESELECTED_USERS": "所有预选用户", - "ALL_PRESELECTED_GROUPS": "所有预选组", - "INVALID_USERS": "无效用户", - "INVALID_GROUPS": "无效组", - "READONLY_MODE": "只读模式", - "GROUPS_RESTRICTION": "组限制" - }, - "SETTINGS_CLOUD": { - "MULTISELECTION": "多重选择", - "TESTING_MODE": "测试模式", - "SELECTION_MODE": "选择模式", - "SELECTED_ROWS": "选定行", - "TASK_DETAILS_REDIRECTION": "单击任务时显示任务详情", - "PROCESS_DETAILS_REDIRECTION": "单击流程时显示流程详细信息", - "ACTION": { - "ACTION_TITLE": "添加操作", - "ACTION_MENU": "操作菜单", - "CONTEX_MENU": "上下文菜单", - "ACTION_VISIBLE": "可见", - "ACTION_DISABLE": "禁用", - "ADD_BUTTON": "添加", - "KEY": "Key", - "TITLE": "标题", - "ICON": "图标", - "TASK_ID": "任务 ID", - "PROCESS_ID": "流程实例 ID", - "ACTION_TYPE": "操作类型" - } - }, - "BREADCRUMB_DEMO": { - "NEW_FOLDER_LABEL": "创建一个新文件夹按钮", - "EDIT_NODE_LABEL": "编辑节点按钮", - "DELETE_NODE_LABEL": "删除节点图标按钮" - }, - "DEFAULT_SEARCH": "默认值", - "OPEN_DIALOG": "打开对话框", - "SHOW_LIST_LABEL": "单击以显示列表" + } } diff --git a/demo-shell/src/app.config.json b/demo-shell/src/app.config.json index d54ced5a3e..1a5062c329 100644 --- a/demo-shell/src/app.config.json +++ b/demo-shell/src/app.config.json @@ -350,20 +350,20 @@ "pageSize": 5, "options": [ { - "name": "APP.SEARCH.RADIO.NONE", + "name": "None", "value": "", "default": true }, { - "name": "APP.SEARCH.RADIO.ALL", + "name": "All", "value": "TYPE:'cm:folder' OR TYPE:'cm:content'" }, { - "name": "APP.SEARCH.RADIO.FOLDER", + "name": "Folder", "value": "TYPE:'cm:folder'" }, { - "name": "APP.SEARCH.RADIO.DOCUMENT", + "name": "Document", "value": "TYPE:'cm:content'" } ] @@ -386,7 +386,7 @@ } ] }, - "name": "DEFAULT_SEARCH", + "name": "Default", "default": true }, { diff --git a/demo-shell/src/app/app.module.ts b/demo-shell/src/app/app.module.ts index 251bb4f8aa..bab44084a5 100644 --- a/demo-shell/src/app/app.module.ts +++ b/demo-shell/src/app/app.module.ts @@ -38,13 +38,9 @@ import { AppLayoutComponent } from './components/app-layout/app-layout.component import { HomeComponent } from './components/home/home.component'; import { SearchBarComponent } from './components/search/search-bar.component'; import { SearchResultComponent } from './components/search/search-result.component'; -import { SearchExtendedComponent } from './components/search/search-extended.component'; -import { LogComponent } from './components/log/log.component'; import { FormComponent } from './components/form/form.component'; import { FormListComponent } from './components/form/form-list.component'; import { FormLoadingComponent } from './components/form/form-loading.component'; -import { OverlayViewerComponent } from './components/overlay-viewer/overlay-viewer.component'; - import { ProcessServiceComponent } from './components/process-service/process-service.component'; import { ShowDiagramComponent } from './components/process-service/show-diagram.component'; import { FormViewerComponent } from './components/process-service/form-viewer.component'; @@ -53,7 +49,6 @@ import { AppsViewComponent } from './components/process-service/apps-view.compon import { FilesComponent } from './components/files/files.component'; import { VersionManagerDialogAdapterComponent } from './components/files/version-manager-dialog-adapter.component'; import { MetadataDialogAdapterComponent } from './components/files/metadata-dialog-adapter.component'; -import { ThemePickerModule } from './components/theme-picker/theme-picker'; import { appRoutes } from './app.routes'; import { TaskAttachmentsComponent } from './components/process-service/task-attachments.component'; import { ProcessAttachmentsComponent } from './components/process-service/process-attachments.component'; @@ -77,22 +72,15 @@ import { StartTaskCloudDemoComponent } from './components/cloud/start-task-cloud import { StartProcessCloudDemoComponent } from './components/cloud/start-process-cloud-demo.component'; import { CloudBreadcrumbsComponent } from './components/cloud/cloud-breadcrumb-component'; import { CloudFiltersDemoComponent } from './components/cloud/cloud-filters-demo.component'; -import { TemplateDemoComponent } from './components/template-list/template-demo.component'; import { PeopleGroupCloudDemoComponent } from './components/cloud/people-groups-cloud-demo.component'; -import { ConfirmDialogExampleComponent } from './components/confirm-dialog/confirm-dialog-example.component'; import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/cloud-form-demo.component'; import { environment } from '../environments/environment'; import { AppCloudSharedModule } from './components/cloud/shared/cloud.shared.module'; import { DemoErrorComponent } from './components/error/demo-error.component'; import { ProcessServicesCloudModule } from '@alfresco/adf-process-services-cloud'; -import { FilteredSearchComponent } from './components/files/filtered-search.component'; import { RouterModule } from '@angular/router'; import { ProcessCloudLayoutComponent } from './components/cloud/process-cloud-layout.component'; -import { - CustomEditorComponent, - CustomWidgetComponent -} from './components/cloud/custom-form-components/custom-editor.component'; -import { AspectListSampleComponent } from './components/aspect-list-sample/aspect-list-sample.component'; +import { CustomEditorComponent, CustomWidgetComponent } from './components/cloud/custom-form-components/custom-editor.component'; import { registerLocaleData } from '@angular/common'; import localeFr from '@angular/common/locales/fr'; @@ -150,7 +138,6 @@ registerLocaleData(localeSv); ProcessModule.forRoot(), ProcessServicesCloudModule.forRoot(), ExtensionsModule.forRoot(), - ThemePickerModule, NgChartsModule, AppCloudSharedModule, MonacoEditorModule.forRoot() @@ -163,29 +150,24 @@ registerLocaleData(localeSv); HomeComponent, SearchBarComponent, SearchResultComponent, - SearchExtendedComponent, - LogComponent, ProcessServiceComponent, ShowDiagramComponent, FormViewerComponent, FormNodeViewerComponent, AppsViewComponent, FilesComponent, - FilteredSearchComponent, FormComponent, FormListComponent, VersionManagerDialogAdapterComponent, MetadataDialogAdapterComponent, TaskAttachmentsComponent, ProcessAttachmentsComponent, - OverlayViewerComponent, SharedLinkViewComponent, FormLoadingComponent, DemoPermissionComponent, DemoErrorComponent, FormLoadingComponent, TreeViewSampleComponent, - AspectListSampleComponent, CloudLayoutComponent, AppsCloudDemoComponent, TasksCloudDemoComponent, @@ -198,11 +180,8 @@ registerLocaleData(localeSv); StartProcessCloudDemoComponent, CloudBreadcrumbsComponent, CloudFiltersDemoComponent, - TemplateDemoComponent, PeopleGroupCloudDemoComponent, - ConfirmDialogExampleComponent, FormCloudDemoComponent, - ConfirmDialogExampleComponent, CustomEditorComponent, CustomWidgetComponent, ProcessCloudLayoutComponent, @@ -212,7 +191,6 @@ registerLocaleData(localeSv); providers: [ { provide: AppConfigService, useClass: DebugAppConfigService }, // not use this service in production provideTranslations('app', 'resources'), - provideTranslations('lazy-loading', 'resources/lazy-loading'), AppNotificationsService, { provide: APP_INITIALIZER, diff --git a/demo-shell/src/app/app.routes.ts b/demo-shell/src/app/app.routes.ts index 0f3612b8cd..faab98f444 100644 --- a/demo-shell/src/app/app.routes.ts +++ b/demo-shell/src/app/app.routes.ts @@ -26,11 +26,9 @@ import { FormViewerComponent } from './components/process-service/form-viewer.co import { FormNodeViewerComponent } from './components/process-service/form-node-viewer.component'; import { AppsViewComponent } from './components/process-service/apps-view.component'; import { SearchResultComponent } from './components/search/search-result.component'; -import { SearchExtendedComponent } from './components/search/search-extended.component'; import { FilesComponent } from './components/files/files.component'; import { FormComponent } from './components/form/form.component'; import { FormListComponent } from './components/form/form-list.component'; -import { OverlayViewerComponent } from './components/overlay-viewer/overlay-viewer.component'; import { SharedLinkViewComponent } from './components/shared-link-view/shared-link-view.component'; import { FormLoadingComponent } from './components/form/form-loading.component'; import { DemoPermissionComponent } from './components/permissions/demo-permissions.component'; @@ -46,15 +44,11 @@ import { StartProcessCloudDemoComponent } from './components/cloud/start-process import { TaskDetailsCloudDemoComponent } from './components/cloud/task-details-cloud-demo.component'; import { CloudViewerComponent } from './components/cloud/cloud-viewer.component'; import { ProcessDetailsCloudDemoComponent } from './components/cloud/process-details-cloud-demo.component'; -import { TemplateDemoComponent } from './components/template-list/template-demo.component'; import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/cloud-form-demo.component'; -import { ConfirmDialogExampleComponent } from './components/confirm-dialog/confirm-dialog-example.component'; import { DemoErrorComponent } from './components/error/demo-error.component'; import { TaskHeaderCloudDemoComponent } from './components/cloud/task-header-cloud-demo.component'; -import { FilteredSearchComponent } from './components/files/filtered-search.component'; import { ProcessCloudLayoutComponent } from './components/cloud/process-cloud-layout.component'; import { ServiceTaskListCloudDemoComponent } from './components/cloud/service-task-list-cloud-demo.component'; -import { AspectListSampleComponent } from './components/aspect-list-sample/aspect-list-sample.component'; import { SearchFilterChipsComponent } from './components/search/search-filter-chips.component'; export const appRoutes: Routes = [ @@ -70,12 +64,7 @@ export const appRoutes: Routes = [ canActivate: [AuthGuardEcm], canActivateChild: [AuthGuardEcm], outlet: 'overlay', - children: [ - { - path: '', - loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule) - } - ] + loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule) }, { path: 'files/:nodeId/:versionId/view', @@ -83,24 +72,14 @@ export const appRoutes: Routes = [ canActivate: [AuthGuardEcm], canActivateChild: [AuthGuardEcm], outlet: 'overlay', - children: [ - { - path: '', - loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule) - } - ] + loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule) }, { path: 'preview/blob', component: AppComponent, outlet: 'overlay', pathMatch: 'full', - children: [ - { - path: '', - loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule) - } - ] + loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule) }, { path: 'preview/s/:id', component: SharedLinkViewComponent }, { @@ -113,64 +92,13 @@ export const appRoutes: Routes = [ redirectTo: `/home`, pathMatch: 'full' }, - { - path: 'breadcrumb', - canActivate: [AuthGuardEcm], - loadChildren: () => import('./components/breadcrumb-demo/breadcrumb-demo.module').then(m => m.AppBreadcrumbModule) - }, - { - path: 'notifications', - children: [ - { - path: '', - loadChildren: () => import('./components/notifications/notifications.module').then(m => m.AppNotificationsModule) - } - ] - }, { path: 'config-editor', - children: [ - { - path: '', - loadChildren: () => import('./components/config-editor/config-editor.module').then(m => m.AppConfigEditorModule) - } - ] - }, - { - path: 'pipes', - children: [ - { - path: '', - loadChildren: () => import('./components/pipes/pipes.module').then(m => m.AppPipesModule) - } - ] + loadChildren: () => import('./components/config-editor/config-editor.module').then(m => m.AppConfigEditorModule) }, { path: 'card-view', - children: [ - { - path: '', - loadChildren: () => import('./components/card-view/card-view.module').then(m => m.AppCardViewModule) - } - ] - }, - { - path: 'sites', - children: [ - { - path: '', - loadChildren: () => import('./components/sites/sites.module').then(m => m.SitesModule) - } - ] - }, - { - path: 'header-data', - children: [ - { - path: '', - loadChildren: () => import('./components/header-data/header-data.module').then(m => m.AppHeaderDataModule) - } - ] + loadChildren: () => import('./components/card-view/card-view.module').then(m => m.AppCardViewModule) }, { path: '', @@ -255,14 +183,6 @@ export const appRoutes: Routes = [ } ] }, - { - path: 'node-selector', - loadChildren: () => import('./components/content-node-selector/content-node-selector.module').then(m => m.AppContentNodeSelectorModule) - }, - { - path: 'confirm-dialog', - component: ConfirmDialogExampleComponent - }, { path: 'settings-layout', loadChildren: () => import('./components/settings/settings.module').then(m => m.AppSettingsModule) @@ -277,26 +197,6 @@ export const appRoutes: Routes = [ component: FilesComponent, canActivate: [AuthGuardEcm] }, - { - path: 'filtered-search', - component: FilteredSearchComponent, - canActivate: [AuthGuardEcm] - }, - { - path: 'filtered-search/:id', - component: FilteredSearchComponent, - canActivate: [AuthGuardEcm] - }, - { - path: 'filtered-search/:id/display/:mode', - component: FilteredSearchComponent, - canActivate: [AuthGuardEcm] - }, - { - path: 'extensions/document-list/presets', - canActivate: [AuthGuardEcm], - loadChildren: () => import('./components/document-list/extension-presets/extension-presets.module').then(m => m.ExtensionPresetsModule) - }, { path: 'files/:id', component: FilesComponent, @@ -311,19 +211,6 @@ export const appRoutes: Routes = [ path: 'dl-custom-sources', canActivate: [AuthGuardEcm], loadChildren: () => import('./components/files/custom-sources.module').then(m => m.AppCustomSourcesModule) - - }, - { - path: 'datatable', - loadChildren: () => import('./components/datatable/datatable.module').then(m => m.AppDataTableModule) - }, - { - path: 'datatable/dnd', - loadChildren: () => import('./components/datatable/drag-and-drop/datatable-dnd.module').then(m => m.AppDataTableDndModule) - }, - { - path: 'rich-text-editor', - loadChildren: () => import('./components/rich-text-editor/rich-text-editor.module').then(m => m.AppRichTextEditorModule) }, { path: 'search', @@ -335,11 +222,6 @@ export const appRoutes: Routes = [ component: SearchFilterChipsComponent, canActivate: [AuthGuardEcm] }, - { - path: 'extendedSearch', - component: SearchExtendedComponent, - canActivate: [AuthGuardEcm] - }, { path: 'activiti', component: AppsViewComponent, @@ -399,21 +281,6 @@ export const appRoutes: Routes = [ component: FormNodeViewerComponent, canActivate: [AuthGuardBpm] }, - { - path: 'webscript', - canActivate: [AuthGuardEcm], - loadChildren: () => import('./components/webscript/webscript.module').then(m => m.AppWebScriptModule) - }, - { - path: 'tag', - canActivate: [AuthGuardEcm], - loadChildren: () => import('./components/tag/tag.module').then(m => m.AppTagModule) - }, - { - path: 'social', - canActivate: [AuthGuardEcm], - loadChildren: () => import('./components/social/social.module').then(m => m.AppSocialModule) - }, { path: 'permissions/:id', component: DemoPermissionComponent, @@ -424,40 +291,14 @@ export const appRoutes: Routes = [ component: TreeViewSampleComponent, canActivate: [AuthGuardEcm] }, - { - path: 'expandable-list', - component: AspectListSampleComponent, - canActivate: [AuthGuardEcm] - }, { path: 'about', loadChildren: () => import('./components/about/about.module').then(m => m.AppAboutModule) }, - { - path: 'icons', - loadChildren: () => import('./components/icons/icons.module').then(m => m.AppIconsModule) - }, { path: 'form-cloud', component: FormCloudDemoComponent }, { path: 'form', component: FormComponent }, { path: 'form-list', component: FormListComponent }, { path: 'form-loading', component: FormLoadingComponent }, - { - path: 'overlay-viewer', - component: OverlayViewerComponent, - canActivate: [AuthGuardEcm] - }, - { - path: 'datatable-lazy', - loadChildren: () => import('./components/lazy-loading/lazy-loading.module').then(m => m.LazyLoadingModule) - }, - { - path: 'copy-content', - loadChildren: () => import('./components/datatable/copy-content/datatable.module').then(m => m.AppDataTableCopyModule) - }, - { - path: 'template-list', - component: TemplateDemoComponent - }, { path: 'task-list', canActivate: [AuthGuardBpm], diff --git a/demo-shell/src/app/components/about/about.component.html b/demo-shell/src/app/components/about/about.component.html index a39f92d49e..dfb0cd9453 100644 --- a/demo-shell/src/app/components/about/about.component.html +++ b/demo-shell/src/app/components/about/about.component.html @@ -1,4 +1,4 @@ -{{'APP.ABOUT.DEVELOPMENT' | translate }} +Dev Mode diff --git a/demo-shell/src/app/components/app-layout/app-layout.component.html b/demo-shell/src/app/components/app-layout/app-layout.component.html index 2e4cea1640..214e1b5af4 100644 --- a/demo-shell/src/app/components/app-layout/app-layout.component.html +++ b/demo-shell/src/app/components/app-layout/app-layout.component.html @@ -1,30 +1,24 @@ - + - - + + title="ADF Demo Application" + redirectUrl="/home" + tooltip="ADF Demo Application" + [showSidenavToggle]="false">
-
- - @@ -33,7 +27,6 @@ -
@@ -78,7 +71,6 @@
- diff --git a/demo-shell/src/app/components/app-layout/app-layout.component.scss b/demo-shell/src/app/components/app-layout/app-layout.component.scss index 0c4d9fb74a..999b399ca6 100644 --- a/demo-shell/src/app/components/app-layout/app-layout.component.scss +++ b/demo-shell/src/app/components/app-layout/app-layout.component.scss @@ -1,15 +1,3 @@ -@media screen and (max-width: 599px) { - app-search-bar { - width: 150px; - } -} - -@media screen and (max-width: 350px) { - app-search-bar { - width: 100px; - } -} - adf-file-uploading-dialog { z-index: 1100; } @@ -33,21 +21,11 @@ adf-file-uploading-dialog { } } - .mat-nav-list .mat-list-item.app-sidenav-link { - height: 40px; - } - &-menu-spacer { flex: 1 1 auto; } } -@media screen and (max-width: 959px) { - .app-menu { - padding-top: 0; - } -} - mat-sidenav-content > div { display: flex; height: 100%; @@ -56,7 +34,3 @@ mat-sidenav-content > div { flex: auto; } } - -[dir='rtl'] .app-sidenav-link__expand-button { - transform: rotateY(180deg); -} diff --git a/demo-shell/src/app/components/app-layout/app-layout.component.ts b/demo-shell/src/app/components/app-layout/app-layout.component.ts index 476aed225c..d4088c8ab3 100644 --- a/demo-shell/src/app/components/app-layout/app-layout.component.ts +++ b/demo-shell/src/app/components/app-layout/app-layout.component.ts @@ -15,12 +15,8 @@ * limitations under the License. */ -import { Component, ViewEncapsulation, OnInit, OnDestroy } from '@angular/core'; -import { UserPreferencesService, AppConfigService, AlfrescoApiService, UserPreferenceValues } from '@alfresco/adf-core'; -import { HeaderDataService } from '../header-data/header-data.service'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; -import { ThemePalette } from '@angular/material/core'; +import { Component, ViewEncapsulation } from '@angular/core'; +import { AlfrescoApiService } from '@alfresco/adf-core'; @Component({ templateUrl: './app-layout.component.html', @@ -28,158 +24,43 @@ import { ThemePalette } from '@angular/material/core'; host: { class: 'app-layout' }, encapsulation: ViewEncapsulation.None }) -export class AppLayoutComponent implements OnInit, OnDestroy { - private onDestroy$ = new Subject(); - +export class AppLayoutComponent { links: Array = [ - { href: '/home', icon: 'home', title: 'APP_LAYOUT.HOME' }, + { href: '/home', icon: 'home', title: 'Home' }, + { href: '/files', icon: 'folder_open', title: 'Content Services' }, + { href: '/card-view', icon: 'view_headline', title: 'CardView' }, + { href: '/task-list', icon: 'assignment', title: 'Task List' }, { - href: '/extensions', icon: 'extension', title: 'Extensions', children: [ - { href: '/extensions/document-list/presets', icon: 'extension', title: 'Document List' } + href: '/cloud', icon: 'cloud', title: 'Process Cloud', children: [ + { href: '/cloud/', icon: 'cloud', title: 'Home' }, + { href: '/cloud/community', icon: 'cloud', title: 'Community' }, + { href: '/form-cloud', icon: 'poll', title: 'Form' }, + { href: '/cloud/people-group-cloud', icon: 'group', title: 'People/Group Cloud' }, + { href: '/cloud/task-header-cloud', icon: 'cloud', title: 'Task Header Cloud' }, + { href: '/cloud/service-task-list', icon: 'cloud', title: 'Service Task List' } ] }, - { href: '/files', icon: 'folder_open', title: 'APP_LAYOUT.CONTENT_SERVICES' }, - { href: '/filtered-search', icon: 'rowing', title: 'APP_LAYOUT.FILTERED_SEARCH' }, - { href: '/breadcrumb', icon: 'label', title: 'APP_LAYOUT.BREADCRUMB' }, - { href: '/notifications', icon: 'alarm', title: 'APP_LAYOUT.NOTIFICATIONS' }, - { href: '/card-view', icon: 'view_headline', title: 'APP_LAYOUT.CARD_VIEW' }, - { href: '/confirm-dialog', icon: 'view_headline', title: 'APP_LAYOUT.CONFIRM-DIALOG' }, - { href: '/header-data', icon: 'edit', title: 'APP_LAYOUT.HEADER_DATA' }, - { href: '/node-selector', icon: 'attachment', title: 'APP_LAYOUT.NODE-SELECTOR' }, - { href: '/sites', icon: 'format_list_bulleted', title: 'APP_LAYOUT.SITES' }, - { href: '/task-list', icon: 'assignment', title: 'APP_LAYOUT.TASK_LIST' }, - { - href: '/cloud', icon: 'cloud', title: 'APP_LAYOUT.PROCESS_CLOUD', children: [ - { href: '/cloud/', icon: 'cloud', title: 'APP_LAYOUT.HOME' }, - { href: '/cloud/community', icon: 'cloud', title: 'APP_LAYOUT.COMMUNITY' }, - { href: '/form-cloud', icon: 'poll', title: 'APP_LAYOUT.FORM' }, - { href: '/cloud/people-group-cloud', icon: 'group', title: 'APP_LAYOUT.PEOPLE_GROUPS_CLOUD' }, - { href: '/cloud/task-header-cloud', icon: 'cloud', title: 'APP_LAYOUT.TASK_HEADER_CLOUD.COMPONENT_NAME' }, - { href: '/cloud/service-task-list', icon: 'cloud', title: 'APP_LAYOUT.SERVICE_TASK_LIST' } - ] - }, - { href: '/activiti', icon: 'device_hub', title: 'APP_LAYOUT.PROCESS_SERVICES', children: [ - { href: '/activiti', icon: 'vpn_key', title: 'APP_LAYOUT.APP' }, - { href: '/process-list', icon: 'assignment', title: 'APP_LAYOUT.PROCESS_LIST' }, - { href: '/form', icon: 'poll', title: 'APP_LAYOUT.FORM' }, - { href: '/form-list', icon: 'library_books', title: 'APP_LAYOUT.FORM_LIST' }, - { href: '/form-loading', icon: 'cached', title: 'APP_LAYOUT.FORM_LOADING' } + { href: '/activiti', icon: 'device_hub', title: 'Process Services', children: [ + { href: '/activiti', icon: 'vpn_key', title: 'App' }, + { href: '/process-list', icon: 'assignment', title: 'Process List' }, + { href: '/form', icon: 'poll', title: 'Form' }, + { href: '/form-list', icon: 'library_books', title: 'Form List' }, + { href: '/form-loading', icon: 'cached', title: 'Form Loading' } ]}, - { href: '/login', icon: 'vpn_key', title: 'APP_LAYOUT.LOGIN' }, - { href: '/trashcan', icon: 'delete', title: 'APP_LAYOUT.TRASHCAN' }, - { href: '/dl-custom-sources', icon: 'extension', title: 'APP_LAYOUT.CUSTOM_SOURCES' }, - { href: '/datatable', icon: 'view_module', title: 'APP_LAYOUT.DATATABLE', children: [ - { href: '/datatable', icon: 'view_module', title: 'APP_LAYOUT.DATATABLE' }, - { href: '/datatable-lazy', icon: 'view_module', title: 'APP_LAYOUT.DATATABLE_LAZY' }, - { href: '/datatable/dnd', icon: 'view_module', title: 'Drag and Drop' }, - { href: '/copy-content', icon: 'view_module', title: 'Copy Content' } - ]}, - { href: '/rich-text-editor', icon: 'list_alt', title: 'APP_LAYOUT.RICH_TEXT_EDITOR' }, - { href: '/template-list', icon: 'list_alt', title: 'APP_LAYOUT.TEMPLATE' }, - { href: '/webscript', icon: 'extension', title: 'APP_LAYOUT.WEBSCRIPT' }, - { href: '/tag', icon: 'local_offer', title: 'APP_LAYOUT.TAG' }, - { href: '/social', icon: 'thumb_up', title: 'APP_LAYOUT.SOCIAL' }, - { href: '/pipes', icon: 'layers', title: 'APP_LAYOUT.PIPES' }, - { href: '/settings-layout', icon: 'settings', title: 'APP_LAYOUT.SETTINGS' }, - { href: '/config-editor', icon: 'code', title: 'APP_LAYOUT.CONFIG-EDITOR' }, - { href: '/extendedSearch', icon: 'search', title: 'APP_LAYOUT.SEARCH' }, - /* cspell:disable-next-line */ - { href: '/overlay-viewer', icon: 'pageview', title: 'APP_LAYOUT.OVERLAY_VIEWER' }, - { href: '/treeview', icon: 'nature', title: 'APP_LAYOUT.TREE_VIEW' }, - { href: '/expandable-list', icon: 'hot_tub', title: 'APP_LAYOUT.EXPAND_LIST' }, - { href: '/icons', icon: 'tag_faces', title: 'APP_LAYOUT.ICONS' }, - { href: '/about', icon: 'info_outline', title: 'APP_LAYOUT.ABOUT' } + { href: '/login', icon: 'vpn_key', title: 'Login' }, + { href: '/trashcan', icon: 'delete', title: 'Trashcan' }, + { href: '/dl-custom-sources', icon: 'extension', title: 'Custom Sources' }, + { href: '/settings-layout', icon: 'settings', title: 'Settings' }, + { href: '/config-editor', icon: 'code', title: 'Configuration Editor' }, + { href: '/treeview', icon: 'nature', title: 'Tree View' }, + { href: '/about', icon: 'info_outline', title: 'About' } ]; - expandedSidenav = false; - - position: 'start' | 'end' = 'start'; - direction = 'ltr'; - - hideSidenav = false; - showMenu = true; - enableRedirect = true; - color: ThemePalette = 'primary'; - title = 'APP_LAYOUT.APP_NAME'; - logo: string; - redirectUrl: string | any[] = ['/home']; - tooltip = 'APP_LAYOUT.APP_NAME'; - ngOnInit() { - const expand = this.config.get('sideNav.expandedSidenav'); - const preserveState = this.config.get('sideNav.preserveState'); - - if (preserveState && expand) { - this.expandedSidenav = (this.userPreferences.get('expandedSidenav', expand.toString()) === 'true'); - } else if (expand) { - this.expandedSidenav = expand; - } - - this.headerService.hideMenu - .pipe(takeUntil(this.onDestroy$)) - .subscribe(show => this.showMenu = show); - - this.headerService.color - .pipe(takeUntil(this.onDestroy$)) - .subscribe(color => { - if (['primary', 'accent', 'warn'].includes(color)) { - this.color = color; - } else { - this.color = undefined; - document.documentElement.style.setProperty('--theme-primary-color', color); - } - }); - - this.headerService.title - .pipe(takeUntil(this.onDestroy$)) - .subscribe(title => this.title = title); - - this.headerService.headerTextColor - .pipe(takeUntil(this.onDestroy$)) - .subscribe(headerTextColor => { - document.documentElement.style.setProperty('--theme-header-text-color', headerTextColor); - }); - - this.headerService.logo - .pipe(takeUntil(this.onDestroy$)) - .subscribe(path => this.logo = path); - - this.headerService.redirectUrl - .pipe(takeUntil(this.onDestroy$)) - .subscribe(redirectUrl => this.redirectUrl = redirectUrl); - - this.headerService.tooltip - .pipe(takeUntil(this.onDestroy$)) - .subscribe(tooltip => this.tooltip = tooltip); - - this.headerService.position - .pipe(takeUntil(this.onDestroy$)) - .subscribe(position => this.position = position); - - this.headerService.hideSidenav - .pipe(takeUntil(this.onDestroy$)) - .subscribe(hideSidenav => this.hideSidenav = hideSidenav); - } - - ngOnDestroy() { - this.onDestroy$.next(true); - this.onDestroy$.complete(); - } - - constructor( - private userPreferences: UserPreferencesService, - private config: AppConfigService, - private alfrescoApiService: AlfrescoApiService, - private headerService: HeaderDataService) { + constructor(private alfrescoApiService: AlfrescoApiService) { if (this.alfrescoApiService.getInstance().isOauthConfiguration()) { this.enableRedirect = false; } } - - setState(state) { - if (this.config.get('sideNav.preserveState')) { - this.userPreferences.set(UserPreferenceValues.ExpandedSideNavStatus, state); - } - } } diff --git a/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.html b/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.html deleted file mode 100644 index d96ae61426..0000000000 --- a/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.html +++ /dev/null @@ -1,18 +0,0 @@ -
-

ASPECT CHOSEN :

-

{{currentResult}}

-
- - Node Id For Aspects - - - - -
-
- -
diff --git a/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.scss b/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.scss deleted file mode 100644 index 6d633f50f3..0000000000 --- a/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.scss +++ /dev/null @@ -1,7 +0,0 @@ -.example-button-container { - width: 90%; -} - -.example-almost-full-width { - width: 70%; -} diff --git a/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.ts b/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.ts deleted file mode 100644 index cd0ffe3480..0000000000 --- a/demo-shell/src/app/components/aspect-list-sample/aspect-list-sample.component.ts +++ /dev/null @@ -1,47 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { DialogAspectListService } from '@alfresco/adf-content-services'; -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-expandable-menu', - templateUrl: './aspect-list-sample.component.html', - styleUrls: ['./aspect-list-sample.component.scss'] -}) -export class AspectListSampleComponent { - - currentNodeId: string = ''; - isShowed: boolean = false; - - currentResult: string[] = []; - - constructor(private dialogAspectListService: DialogAspectListService) { } - - showAspectForNode() { - this.isShowed = !this.isShowed; - } - - openAspectDialog() { - this.dialogAspectListService.openAspectListDialog(this.currentNodeId).subscribe((result) => this.currentResult = Array.from(result)); - } - - onValueChanged(aspects) { - this.currentResult = Array.from(aspects); - } - -} diff --git a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.html b/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.html deleted file mode 100644 index bf59cb6dba..0000000000 --- a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.html +++ /dev/null @@ -1,87 +0,0 @@ -
-

Breadcrumb

-
    -
  • Try creating and navigating long paths
  • -
  • Try resizing the browser width to ensure items are trimmed as expected
  • -
- -

1. Standalone (fixed size)

- Component is used in the fixed-width layout - -
- - -
- -

2. Standalone (full width)

- Component fits the parent container width - -
- - -
- -

2.1 Standalone with Dropdown (full width)

- - Component fits the parent container width but is limited to 3 items to display at once. - It should automatically switch to the Dropdown mode if the path exceeds 3 nodes. - - -
- - -
- -

3. Toolbar (standalone)

- Component used as a child of the Toolbar component - - - - - - -

4. Toolbar (title)

- Component is wrapped into the Toolbar Title component - - - - - - - - -

5. Toolbar with separators and buttons

- - Component is wrapped into the Toolbar Title component. - The toolbar also has separators and buttons that might provide impact on breadcrumb layout. - Buttons do nothing and are present for layout purposes. - - - - - - - - - - - - - -

6. Dropdown Breadcrumb

- - - - -
- - -
-
diff --git a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.scss b/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.scss deleted file mode 100644 index 44cdc619d2..0000000000 --- a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.scss +++ /dev/null @@ -1,21 +0,0 @@ -app-breadcrumb-demo { - .app-breadcrumb-container-restricted { - width: 800px; - max-width: 800px; - border: 1px solid lightgray; - } - - .app-content { - margin: 10px 0; - } - - .app-full-content-toolbar .app-toolbar-title .app-breadcrumb { - width: 0; - } - - @media screen and (min-width: 600px) { - .app-files-breadcrumb { - display: none; - } - } -} diff --git a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.ts b/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.ts deleted file mode 100644 index f03e0ef9e2..0000000000 --- a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.ts +++ /dev/null @@ -1,28 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, ViewEncapsulation } from '@angular/core'; - -@Component({ - selector: 'app-breadcrumb-demo', - templateUrl: './breadcrumb-demo.component.html', - styleUrls: [`./breadcrumb-demo.component.scss`], - encapsulation: ViewEncapsulation.None -}) -export class BreadcrumbDemoComponent { - -} diff --git a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.module.ts b/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.module.ts deleted file mode 100644 index e7b1affecc..0000000000 --- a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.module.ts +++ /dev/null @@ -1,42 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { BreadcrumbDemoComponent } from './breadcrumb-demo.component'; -import { CoreModule } from '@alfresco/adf-core'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { ContentModule } from '@alfresco/adf-content-services'; - -const routes: Routes = [ - { - path: '', - component: BreadcrumbDemoComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - CoreModule, - RouterModule.forChild(routes), - ContentModule.forChild() - ], - declarations: [BreadcrumbDemoComponent], - exports: [BreadcrumbDemoComponent] -}) -export class AppBreadcrumbModule {} diff --git a/demo-shell/src/app/components/cloud/cloud-layout.component.html b/demo-shell/src/app/components/cloud/cloud-layout.component.html index 8fb45cbb97..280f9f58f7 100644 --- a/demo-shell/src/app/components/cloud/cloud-layout.component.html +++ b/demo-shell/src/app/components/cloud/cloud-layout.component.html @@ -1,5 +1,5 @@ - + @@ -8,18 +8,18 @@ - + arrow_drop_down
@@ -33,7 +33,7 @@
- +
diff --git a/demo-shell/src/app/components/cloud/community/community-cloud.component.html b/demo-shell/src/app/components/cloud/community/community-cloud.component.html index bb850f61ab..63e0e88a6d 100644 --- a/demo-shell/src/app/components/cloud/community/community-cloud.component.html +++ b/demo-shell/src/app/components/cloud/community/community-cloud.component.html @@ -1,20 +1,20 @@ - + - + arrow_drop_down
@@ -28,7 +28,7 @@
- +
diff --git a/demo-shell/src/app/components/cloud/people-groups-cloud-demo.component.html b/demo-shell/src/app/components/cloud/people-groups-cloud-demo.component.html index b6a6d5e873..31e66d05fe 100644 --- a/demo-shell/src/app/components/cloud/people-groups-cloud-demo.component.html +++ b/demo-shell/src/app/components/cloud/people-groups-cloud-demo.component.html @@ -1,41 +1,33 @@ - - {{ 'APP_LAYOUT.PEOPLE_CLOUD' | translate}} - + People Cloud Component
- {{ - 'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }} - {{ - 'PEOPLE_GROUPS_CLOUD.MULTI' | translate }} + Single Selection + Multiple Selection
- {{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }} + Application Name - {{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ["ACTIVITI_ADMIN", "ACTIVITI_USER"] - + Roles: ["ACTIVITI_ADMIN", "ACTIVITI_USER"] + - {{ 'PEOPLE_GROUPS_CLOUD.GROUPS_RESTRICTION' | translate }} ["hr", "sales"] + Groups Restriction ["hr", "sales"] - {{ 'PEOPLE_GROUPS_CLOUD.PRESELECTED_VALUE' | translate }} {{ defaultPeoplePlaceholder }} + Preselect: {{ defaultPeoplePlaceholder }} - {{ - 'PEOPLE_GROUPS_CLOUD.PRESELECT_VALIDATION' | translate }} - {{ - 'PEOPLE_GROUPS_CLOUD.READONLY_MODE' | translate }} + Preselect validation + Read-only Mode
-

{{ 'PEOPLE_GROUPS_CLOUD.ALL_PRESELECTED_USERS' | translate }}

+

All Preselected Users

person @@ -60,7 +52,7 @@
-

{{ 'PEOPLE_GROUPS_CLOUD.INVALID_USERS' | translate }} warning

+

Invalid Users warning

person @@ -73,45 +65,33 @@ - - {{ 'APP_LAYOUT.GROUPS_CLOUD' | translate}} - + Groups Cloud Component
- {{ - 'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }} - {{ - 'PEOPLE_GROUPS_CLOUD.MULTI' | translate }} + Single Selection + Multiple Selection
- {{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }} - + Application Name + - {{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ["ACTIVITI_ADMIN", "ACTIVITI_USER"] - + Roles: ["ACTIVITI_ADMIN", "ACTIVITI_USER"] + Preselect: {{ defaultGroupPlaceholder }} - + - - {{ 'PEOPLE_GROUPS_CLOUD.PRESELECT_VALIDATION' | translate }} - + Preselect validation - {{ 'PEOPLE_GROUPS_CLOUD.READONLY_MODE' | translate }} + Read-only Mode
@@ -126,7 +106,7 @@
-

{{ 'PEOPLE_GROUPS_CLOUD.ALL_PRESELECTED_GROUPS' | translate }}

+

All Preselected Groups

group @@ -135,7 +115,7 @@
-

{{ 'PEOPLE_GROUPS_CLOUD.INVALID_GROUPS' | translate }} warning

+

Invalid Groups warning

group diff --git a/demo-shell/src/app/components/cloud/processes-cloud-demo.component.html b/demo-shell/src/app/components/cloud/processes-cloud-demo.component.html index bef74cc979..e375c9fd24 100644 --- a/demo-shell/src/app/components/cloud/processes-cloud-demo.component.html +++ b/demo-shell/src/app/components/cloud/processes-cloud-demo.component.html @@ -46,25 +46,25 @@
- {{ 'SETTINGS_CLOUD.SELECTED_ROWS' | translate }}: + Selected Rows:
  • {{ row.id }}
- {{ 'SETTINGS_CLOUD.ACTION.ACTION_MENU' | translate }}: + Action Menu:
- {{ 'SETTINGS_CLOUD.ACTION.PROCESS_ID' | translate }}: {{ selectedAction.id }}
- {{ 'SETTINGS_CLOUD.ACTION.ACTION_TYPE' | translate }}: {{ selectedAction.actionType }} + Process Instance ID: {{ selectedAction.id }}
+ Action Type: {{ selectedAction.actionType }}
- {{ 'SETTINGS_CLOUD.ACTION.CONTEX_MENU' | translate }}: + Context Menu:
- {{ 'SETTINGS_CLOUD.ACTION.PROCESS_ID' | translate }}: {{ selectedContextAction.id }}
- {{ 'SETTINGS_CLOUD.ACTION.ACTION_TYPE' | translate }}: {{ selectedContextAction.actionType }} + Process Instance ID: {{ selectedContextAction.id }}
+ Action Type}: {{ selectedContextAction.actionType }}
diff --git a/demo-shell/src/app/components/cloud/shared/cloud-settings.component.html b/demo-shell/src/app/components/cloud/shared/cloud-settings.component.html index c28264756a..8f353b4658 100644 --- a/demo-shell/src/app/components/cloud/shared/cloud-settings.component.html +++ b/demo-shell/src/app/components/cloud/shared/cloud-settings.component.html @@ -1,25 +1,23 @@ - - {{ 'SETTINGS_CLOUD.MULTISELECTION' | translate }} + + Multiselection - - {{ 'SETTINGS_CLOUD.ACTION.ACTION_MENU' | translate }} + + Action Menu - - {{ 'SETTINGS_CLOUD.ACTION.CONTEX_MENU' | translate }} + + Context Menu - - {{ 'SETTINGS_CLOUD.TESTING_MODE' | translate }} + + Testing Mode - - {{ 'SETTINGS_CLOUD.TASK_DETAILS_REDIRECTION' | translate }} + + Display task details on task click - - {{ 'SETTINGS_CLOUD.PROCESS_DETAILS_REDIRECTION' | translate }} + + Display process details on process click - - {{ 'SETTINGS_CLOUD.SELECTION_MODE' | translate }} - + Selection Mode {{ option.title }} @@ -28,38 +26,28 @@ - {{ 'SETTINGS_CLOUD.ACTION.ACTION_TITLE' | translate }} + Add Action
- + - + - + - - {{ 'SETTINGS_CLOUD.ACTION.ACTION_VISIBLE' | translate }} - - - {{ 'SETTINGS_CLOUD.ACTION.ACTION_DISABLE' | translate }} - - + Visible + Disable +
{{action.title}} - - cancel - + cancel
diff --git a/demo-shell/src/app/components/cloud/task-header-cloud-demo.component.html b/demo-shell/src/app/components/cloud/task-header-cloud-demo.component.html index 3bd0ad4e90..c5629072f1 100644 --- a/demo-shell/src/app/components/cloud/task-header-cloud-demo.component.html +++ b/demo-shell/src/app/components/cloud/task-header-cloud-demo.component.html @@ -1,7 +1,7 @@ -

{{ 'APP_LAYOUT.TASK_HEADER_CLOUD.COMPONENT_NAME' | translate }}

+

Task Header Cloud

- {{ 'APP_LAYOUT.TASK_HEADER_CLOUD.APP_NAME_INPUT' | translate }} + App name - {{ 'APP_LAYOUT.TASK_HEADER_CLOUD.TASK_ID_INPUT' | translate }} + Task id
- {{ 'SETTINGS_CLOUD.SELECTED_ROWS' | translate }}: + Selected Rows:
  • {{ row.name }}
- {{ 'SETTINGS_CLOUD.ACTION.ACTION_MENU' | translate }}: + Action Menu:
- {{ 'SETTINGS_CLOUD.ACTION.TASK_ID' | translate }}: {{ selectedAction.id }}
- {{ 'SETTINGS_CLOUD.ACTION.ACTION_TYPE' | translate }}: {{ selectedAction.actionType }} + Task ID: {{ selectedAction.id }}
+ Action Type: {{ selectedAction.actionType }}
- {{ 'SETTINGS_CLOUD.ACTION.CONTEX_MENU' | translate }}: + Context Menu:
- {{ 'SETTINGS_CLOUD.ACTION.TASK_ID' | translate }}: {{ selectedContextAction.id }}
- {{ 'SETTINGS_CLOUD.ACTION.ACTION_TYPE' | translate }}: {{ selectedContextAction.actionType }} + Task ID: {{ selectedContextAction.id }}
+ Action Type: {{ selectedContextAction.actionType }}
diff --git a/demo-shell/src/app/components/confirm-dialog/confirm-dialog-example.component.html b/demo-shell/src/app/components/confirm-dialog/confirm-dialog-example.component.html deleted file mode 100644 index dbe74d3a79..0000000000 --- a/demo-shell/src/app/components/confirm-dialog/confirm-dialog-example.component.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - Confirm Dialog Default Behaviour - - - - - - - - Confirm Dialog Custom Template - - - - - - - - Confirm Dialog Third Option - - - Provide extra button in the action section - - - - - diff --git a/demo-shell/src/app/components/confirm-dialog/confirm-dialog-example.component.ts b/demo-shell/src/app/components/confirm-dialog/confirm-dialog-example.component.ts deleted file mode 100644 index b1d2b2175b..0000000000 --- a/demo-shell/src/app/components/confirm-dialog/confirm-dialog-example.component.ts +++ /dev/null @@ -1,68 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component } from '@angular/core'; -import { MatDialog } from '@angular/material/dialog'; -import { ConfirmDialogComponent } from '@alfresco/adf-content-services'; - -@Component({ - selector: 'app-confirm-dialog-example', - templateUrl: './confirm-dialog-example.component.html' -}) -export class ConfirmDialogExampleComponent { - - constructor(private dialog: MatDialog) { } - - openConfirmDefaultDialog() { - this.dialog.open(ConfirmDialogComponent, { - data: { - title: 'Upload', - message: `This is the default message` - }, - minWidth: '250px' - }); - } - - openConfirmCustomDialog() { - this.dialog.open(ConfirmDialogComponent, { - data: { - title: 'Upload', - message: `This is the default message`, - htmlContent: '

A

Custom

Content

' - }, - minWidth: '250px' - }); - } - - openConfirmCustomActionDialog() { - const thirdOptionLabel = 'Yes. Don\'t Show it again'; - const dialog = this.dialog.open(ConfirmDialogComponent, { - data: { - title: 'Upload', - thirdOptionLabel, - message: `This is the default message` - }, - minWidth: '250px' - }); - dialog.afterClosed().subscribe((status) => { - // do the third option label operation - if ( status === thirdOptionLabel) { - // console.log('third option clicked'); - } - }); - } -} diff --git a/demo-shell/src/app/components/content-node-selector/content-node-selector.component.html b/demo-shell/src/app/components/content-node-selector/content-node-selector.component.html deleted file mode 100644 index 8968cb02b1..0000000000 --- a/demo-shell/src/app/components/content-node-selector/content-node-selector.component.html +++ /dev/null @@ -1,250 +0,0 @@ -
-

Object picker

- - - - - -

Plain picker

-
- - - -
- -
- - -
-
- - - -

Hide My files

-
- - - -
- -
- - -
-
- - - -

Custom Site List

-
- - - -
- -
- -

Add Site

-
- - - - - - - - - -
- - - - -

Custom Sites Added

- - shopping_basket -

{{customSite.entry.title}}

-

{{customSite.entry.guid}}

-
-
-
- - -
- - -
-
- - - -

Row Filtering

-
- - - -
- - - Show Files - - - Slide Folders - - -
- - -
-
- - - -

Exclude Site Content

-
- - - -
-
- -
-
- -
-
- - Show Files - - - Show Folders - - -
- - -
-
- - - -

Custom Image Resolving

-
- - - -
- - - Add Custom Images Resolver - - -
- - -
-
- - - -

Set Page Size

-
- - - -
-
- - -
-
- - - -

Is Valid Selection Function

-
- - - -
- - -
- - -
-
- - - -

BreadCrumb Transform Function

-
- - - -
- -
- - -
-
- - - -

shows files

-
- - - -
- -
- - -
-
-
-
diff --git a/demo-shell/src/app/components/content-node-selector/content-node-selector.component.scss b/demo-shell/src/app/components/content-node-selector/content-node-selector.component.scss deleted file mode 100644 index 9cbdd80de8..0000000000 --- a/demo-shell/src/app/components/content-node-selector/content-node-selector.component.scss +++ /dev/null @@ -1,26 +0,0 @@ -.app-content-node-selector-demo { - &-main { - display: flex; - flex-direction: column; - justify-content: space-around; - align-content: center; - align-self: center; - align-items: center; - } - - &-basic-table { - height: 400px; - width: 700px; - } - - &-basic-label { - display: flex; - align-self: center; - } - - &-example-form { - display: flex; - flex-direction: column; - align-items: flex-start; - } -} diff --git a/demo-shell/src/app/components/content-node-selector/content-node-selector.component.ts b/demo-shell/src/app/components/content-node-selector/content-node-selector.component.ts deleted file mode 100644 index de2a912184..0000000000 --- a/demo-shell/src/app/components/content-node-selector/content-node-selector.component.ts +++ /dev/null @@ -1,116 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, ViewEncapsulation } from '@angular/core'; -import { SitePaging, SiteEntry, MinimalNodeEntryEntity, Node } from '@alfresco/js-api'; -import { ContentNodeDialogService, ShareDataRow, RowFilter } from '@alfresco/adf-content-services'; -import { ThumbnailService } from '@alfresco/adf-core'; - -@Component({ - templateUrl: './content-node-selector.component.html', - styleUrls: [`./content-node-selector.component.scss`], - encapsulation: ViewEncapsulation.None -}) -export class ContentNodeSelectorComponent { - - constructor(private thumbnailService: ThumbnailService) { - } - - dropdownHideMyFiles = false; - showFiles = false; - showFolders = false; - enableImageResolver = false; - validSelection = false; - - customSideGuid = ''; - customSideTitle = ''; - actualPageSize = 2; - - rowFilterFunction: RowFilter = null; - excludeSiteContentList: string[] = ContentNodeDialogService.nonDocumentSiteContent; - customImageResolver: any = null; - - defaultSites: SiteEntry[] = [ - new SiteEntry({ entry: { title: 'MINE', guid: '-my-' } }), - new SiteEntry({ entry: { title: 'ROOTY', guid: '-root-' } })]; - - customSites: SitePaging = new SitePaging({ - list: { - entries: [ - { entry: { title: 'MINE', guid: '-my-' } }, - { entry: { title: 'ROOTY', guid: '-root-' } }], - pagination: {} - } - }); - - onClickAddSite() { - const newSiteEntry: SiteEntry = new SiteEntry({ entry: { title: this.customSideTitle, guid: this.customSideGuid } }); - this.customSites.list.entries.push(newSiteEntry); - this.customSideGuid = ''; - this.customSideTitle = ''; - } - - onClickResetSite() { - this.customSites.list.entries = this.defaultSites; - this.customSideGuid = ''; - this.customSideTitle = ''; - } - - recreateRowFilterFunction() { - this.rowFilterFunction = this.rowFilteringExample.bind(this); - } - - recreateImageResolverFunction() { - this.enableImageResolver = !this.enableImageResolver; - if (this.enableImageResolver) { - this.customImageResolver = this.customImageResolverExample.bind(this); - } else { - this.customImageResolver = null; - } - } - - rowFilteringExample(row: ShareDataRow) { - let showNode = true; - const node: MinimalNodeEntryEntity = row.node.entry; - if (this.showFiles) { - showNode = node.isFile; - } - if (this.showFolders) { - showNode = node.isFolder; - } - return showNode; - } - - customImageResolverExample() { - return this.thumbnailService.getMimeTypeIcon('video/quicktime'); - } - - onNodeSelect(selection: Node[]) { - this.validSelection = !!selection; - } - - customIsValidFunction(entry: MinimalNodeEntryEntity): boolean { - return entry.name.startsWith('a') || entry.name.startsWith('A'); - } - - customBreadcrumbFunction(node: MinimalNodeEntryEntity) { - if (node && node.path && node.path.elements) { - node.path.elements = node.path.elements.filter((element) => !element.name.toLocaleLowerCase().startsWith('d') ? element : null ); - } - return node; - } -} diff --git a/demo-shell/src/app/components/content-node-selector/content-node-selector.module.ts b/demo-shell/src/app/components/content-node-selector/content-node-selector.module.ts deleted file mode 100644 index 21169c3145..0000000000 --- a/demo-shell/src/app/components/content-node-selector/content-node-selector.module.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { ContentNodeSelectorComponent } from './content-node-selector.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; - -const routes: Routes = [ - { - path: '', - component: ContentNodeSelectorComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - RouterModule.forChild(routes), - CoreModule, - ContentModule.forChild() - ], - declarations: [ContentNodeSelectorComponent] -}) -export class AppContentNodeSelectorModule {} diff --git a/demo-shell/src/app/components/datatable/copy-content/datatable.component.html b/demo-shell/src/app/components/datatable/copy-content/datatable.component.html deleted file mode 100644 index 5a2e8ed808..0000000000 --- a/demo-shell/src/app/components/datatable/copy-content/datatable.component.html +++ /dev/null @@ -1,24 +0,0 @@ - -
- - -
- -
- Paste clipboard: - -
- -
- - - - - - - - -
diff --git a/demo-shell/src/app/components/datatable/copy-content/datatable.component.ts b/demo-shell/src/app/components/datatable/copy-content/datatable.component.ts deleted file mode 100644 index c7eaa16355..0000000000 --- a/demo-shell/src/app/components/datatable/copy-content/datatable.component.ts +++ /dev/null @@ -1,133 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, Input } from '@angular/core'; -import { DataColumn, DataRow, ObjectDataTableAdapter } from '@alfresco/adf-core'; - -export class FilteredDataAdapter extends ObjectDataTableAdapter { - - filterValue = ''; - filterKey = 'name'; - - getRows(): Array { - let rows = super.getRows(); - const filter = (this.filterValue || '').trim().toLowerCase(); - - if (this.filterKey && filter) { - rows = rows.filter((row) => { - const value = row.getValue(this.filterKey); - if (value !== undefined && value !== null) { - const stringValue: string = value.toString().trim().toLowerCase(); - return stringValue.startsWith(filter); - } - return false; - }); - } - return rows; - } - - constructor(data?: any[], schema?: DataColumn[]) { - super(data, schema); - } -} - -@Component({ - selector: 'app-datatable', - templateUrl: './datatable.component.html' -}) -export class DataTableComponent { - - @Input() - selectionMode = 'single'; - - dataForCopy = new FilteredDataAdapter( - [ - { - id: 1, - name: 'First', - createdBy: 'Created one', - json: null - }, - { - id: 2, - name: 'Second', - createdBy: 'Created two', - json: { - id: 4 - } - }, - { - id: 3, - name: 'Third', - createdBy: 'Created three', - json: { - id: 4, - name: 'Image 8', - createdOn: new Date(2016, 6, 2, 15, 8, 4) - } - } - ] -); - data = new FilteredDataAdapter( - [ - { - id: 1, - name: 'Name 1', - createdBy: 'Created One', - icon: 'material-icons://folder_open', - json: null - }, - { - id: 2, - name: 'Name 2', - createdBy: 'Created Two', - icon: 'material-icons://accessibility', - json: null - }, - { - id: 3, - name: 'Name 3', - createdBy: 'Created Three', - icon: 'material-icons://alarm', - json: null - }, - { - id: 4, - name: 'Image 8', - createdBy: 'Created Four', - icon: 'material-icons://alarm', - json: { - id: 4, - name: 'Image 8', - createdOn: new Date(2016, 6, 2, 15, 8, 4), - createdBy: { - name: 'Felipe', - lastname: 'Melo' - }, - icon: 'material-icons://alarm' - } - } - ], - [ - { type: 'image', key: 'icon', title: '', srTitle: 'Thumbnail' }, - { type: 'text', key: 'id', title: 'Id', sortable: true , cssClass: '', copyContent: true }, - { type: 'text', key: 'name', title: 'Name', cssClass: 'adf-ellipsis-cell', sortable: true, copyContent: false }, - { type: 'text', key: 'createdBy', title: 'Created By', sortable: true, cssClass: ''}, - { type: 'json', key: 'json', title: 'Json', cssClass: 'adf-expand-cell-2', copyContent: true} - ] -); -} diff --git a/demo-shell/src/app/components/datatable/copy-content/datatable.module.ts b/demo-shell/src/app/components/datatable/copy-content/datatable.module.ts deleted file mode 100644 index 45b4aab199..0000000000 --- a/demo-shell/src/app/components/datatable/copy-content/datatable.module.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { DataTableComponent } from './datatable.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; - -const routes: Routes = [ - { - path: '', - component: DataTableComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - CoreModule, - RouterModule.forChild(routes), - ContentModule.forChild() - ], - declarations: [DataTableComponent] -}) -export class AppDataTableCopyModule {} diff --git a/demo-shell/src/app/components/datatable/datatable.component.html b/demo-shell/src/app/components/datatable/datatable.component.html deleted file mode 100644 index 1d633ccd30..0000000000 --- a/demo-shell/src/app/components/datatable/datatable.component.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - Sticky header - - -
- - - - - - - - - - - - - - -
- - {{ 'DATATABLE.CUSTOM_COLUMN_HEADER'| translate }} - -
-
-
- -
- Selected items: {{ dataTable.selection?.length }} -
- -
- {{ 'DATATABLE.MULTISELECT'| translate }} -
- -
-

{{ 'DATATABLE.MULTISELECT_DESCRIPTION'| translate }}

- - - - {{mode.viewValue}} - - - -
- -
- - - - - -
diff --git a/demo-shell/src/app/components/datatable/datatable.component.scss b/demo-shell/src/app/components/datatable/datatable.component.scss deleted file mode 100644 index b271a061a2..0000000000 --- a/demo-shell/src/app/components/datatable/datatable.component.scss +++ /dev/null @@ -1,13 +0,0 @@ -.adf-datatable-demo-app { - height: 310px; - overflow-y: auto; - - &-actions { - display: flex; - column-gap: 4px; - } - - &-custom-user-header { - color: var(--theme-warn-color); - } -} diff --git a/demo-shell/src/app/components/datatable/datatable.component.ts b/demo-shell/src/app/components/datatable/datatable.component.ts deleted file mode 100644 index 902823dd85..0000000000 --- a/demo-shell/src/app/components/datatable/datatable.component.ts +++ /dev/null @@ -1,341 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, Input, ViewChild } from '@angular/core'; -import { - DataCellEvent, - DataColumn, - DataRow, - DataRowActionEvent, - DataSorting, - ObjectDataColumn, - ObjectDataRow, - ObjectDataTableAdapter -} from '@alfresco/adf-core'; - -export class FilteredDataAdapter extends ObjectDataTableAdapter { - - filterValue = ''; - filterKey = 'name'; - - getRows(): Array { - let rows = super.getRows(); - const filter = (this.filterValue || '').trim().toLowerCase(); - - if (this.filterKey && filter) { - rows = rows.filter((row) => { - const value = row.getValue(this.filterKey); - if (value !== undefined && value !== null) { - const stringValue: string = value.toString().trim().toLowerCase(); - return stringValue.startsWith(filter); - } - return false; - }); - } - return rows; - } - - constructor(data?: any[], schema?: DataColumn[]) { - super(data, schema); - } -} - -@Component({ - selector: 'app-datatable', - templateUrl: './datatable.component.html', - styleUrls: ['./datatable.component.scss'] -}) -export class DataTableComponent { - - @Input() - selectionMode = 'single'; - - @ViewChild('customColumnHeaderTemplate') customColumnHeaderTemplate; - - multiselect = false; - data: FilteredDataAdapter; - stickyHeader = false; - - selectionModes = [ - { value: 'none', viewValue: 'None' }, - { value: 'single', viewValue: 'Single' }, - { value: 'multiple', viewValue: 'Multiple' } - ]; - - private imageUrl = 'http://placehold.it/140x100'; - private createdBy: any = { - name: 'Administrator', - email: 'admin@alfresco.com' - }; - - constructor() { - this.reset(); - } - - resolver(row: DataRow, col: DataColumn): any { - const value = row.getValue(col.key); - if (col.key === 'users') { - return (value || []).map(user => `${user.firstName} ${user.lastName}`).toString(); - } - - if (col.key === 'status') { - const users = row.getValue('users'); - return (value || []).map((status, index) => ({ name: `${users[index].firstName} ${users[index].lastName}`, status })); - } - - return value; - } - - /* spellchecker: disable */ - reset() { - this.data = new FilteredDataAdapter( - [ - { - id: 1, - name: `Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. - nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. - Excepteur sint occaecat cupidatat non proident, - sunt in culpa qui officia deserunt mollit anim id est laborum.`, - createdOn: new Date(2016, 6, 2, 15, 8, 1), - createdBy: this.createdBy, - icon: 'material-icons://folder_open', - json: null, - users: [ - { - firstName: 'Super', - lastName: 'Man' - }, - { - firstName: 'Iron', - lastName: 'Man' - } - ], - status: [ - 'I am here to save the world.. By world means AMERICA', - 'That nobody is John Wick…' - ] - }, - { - id: 2, - name: 'Name 2', - createdOn: new Date(2016, 6, 2, 15, 8, 2), - createdBy: this.createdBy, - icon: 'material-icons://accessibility', - json: null, - users: [ - { - firstName: 'Mister', - lastName: 'Bean' - }, - { - firstName: 'Doctor', - lastName: 'Strange' - } - ], - status: [ - 'I am here to save the world.. By world means AMERICA', - 'That nobody is John Wick…' - ] - }, - { - id: 3, - name: 'Name 3', - createdOn: new Date(2016, 6, 2, 15, 8, 3), - createdBy: this.createdBy, - icon: 'material-icons://alarm', - json: null, - users: [ - { - firstName: 'Thunder', - lastName: 'Thor' - }, - { - firstName: 'Marvel', - lastName: 'Avenger' - } - ], - status: [ - 'I am here to save the world.. By world means AMERICA', - 'That nobody is John Wick…' - ] - }, - { - id: 4, - name: 'Image 8', - createdOn: new Date(2016, 6, 2, 15, 8, 4), - createdBy: this.createdBy, - icon: 'material-icons://alarm', - json: { - id: 4, - name: 'Image 8', - createdOn: new Date(2016, 6, 2, 15, 8, 4), - createdBy: { - name: 'Felipe', - lastName: 'Melo' - }, - icon: 'material-icons://alarm' - }, - users: [ - { - firstName: 'Spider', - lastName: 'Man' - }, - { - firstName: '17', - lastName: 'Again' - } - ], - status: [ - 'I am here to save the world.. By world means AMERICA', - 'That nobody is John Wick…' - ] - }, - { - id: 5, - name: 'I am using custom resolver', - createdOn: new Date(2016, 6, 2, 15, 8, 4), - createdBy: this.createdBy, - icon: 'material-icons://person_outline', - users: [ - { - firstName: 'Captain', - lastName: 'America' - }, - { - firstName: 'John', - lastName: 'Wick' - } - ], - status: [ - 'I am here to save the world.. By world means AMERICA', - 'That nobody is John Wick…' - ] - } - ], - [ - { type: 'image', key: 'icon', title: '', srTitle: 'Thumbnail' }, - { type: 'text', key: 'id', title: 'Id', sortable: true , cssClass: '', draggable: true}, - { type: 'date', key: 'createdOn', title: 'Created On', sortable: true, cssClass: 'adf-ellipsis-cell adf-expand-cell-2', draggable: true }, - { type: 'text', key: 'name', title: 'Name', cssClass: 'adf-ellipsis-cell', sortable: true, draggable: true }, - { type: 'text', key: 'createdBy.name', title: 'Created By', sortable: true, cssClass: '', draggable: true}, - { type: 'json', key: 'json', title: 'Json', cssClass: 'adf-expand-cell-2', draggable: true}, - { type: 'text', key: 'users', title: 'Users', cssClass: 'adf-expand-cell-2', draggable: true}, - { type: 'json', key: 'status', title: 'Status', cssClass: 'adf-expand-cell-2', draggable: true} - ] - ); - - this.data.setSorting(new DataSorting('id', 'asc')); - } - /* spellchecker: enable */ - - addRow() { - const id = this.data.getRows().length + 1; - const row = new ObjectDataRow({ - id, - name: 'Name ' + id, - createdOn: new Date(), - icon: 'material-icons://extension', - createdBy: this.createdBy - }); - this.data.getRows().push(row); - this.data.sort(); - } - - replaceRows() { - const objects = [ - { - id: 10, - name: 'Name 10', - createdBy: this.createdBy, - createdOn: new Date(2016, 6, 2, 15, 8, 5), - icon: 'material-icons://face' - }, - { - id: 11, - name: 'Name 11', - createdBy: this.createdBy, - createdOn: new Date(2016, 6, 2, 15, 8, 6), - icon: 'material-icons://language' - }, - { - id: 12, - name: 'Name 12', - createdBy: this.createdBy, - createdOn: new Date(2016, 6, 2, 15, 8, 7), - icon: 'material-icons://pets' - }, - { - id: 13, - name: 'Image 13', - createdBy: this.createdBy, - createdOn: new Date(2016, 6, 2, 15, 8, 8), - icon: this.imageUrl - } - ]; - const rows = objects.map((obj) => new ObjectDataRow(obj)); - this.data.setRows(rows); - } - - replaceColumns() { - const schema = [ - { type: 'text', key: 'id', title: 'Id', sortable: true }, - { type: 'text', key: 'name', title: 'Name', sortable: true, cssClass: 'full-width name-column' } - ]; - const columns = schema.map((col) => new ObjectDataColumn(col)); - this.data.setColumns(columns); - } - - showCustomHeaderColumn() { - const columns = this.data.getColumns().map(column => { - if (column.title === 'Users') { - return { - ...column, - header: this.customColumnHeaderTemplate - }; - } - - return column; - }); - - this.data.setColumns(columns); - } - - onShowRowActionsMenu(event: DataCellEvent) { - const myAction = { - title: 'Hello' - // you custom metadata needed for onExecuteRowAction - }; - event.value.actions = [ - myAction - ]; - } - - onColumnsVisibilityChange(columns: DataColumn[]): void { - this.data.setColumns(columns); - } - - onExecuteRowAction(event: DataRowActionEvent) { - const args = event.value; - window.alert(`My custom action: ${args.action.title}`); - } - - toggleStickyHeader() { - this.stickyHeader = !this.stickyHeader; - } -} diff --git a/demo-shell/src/app/components/datatable/datatable.module.ts b/demo-shell/src/app/components/datatable/datatable.module.ts deleted file mode 100644 index d55c2b616e..0000000000 --- a/demo-shell/src/app/components/datatable/datatable.module.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { DataTableComponent } from './datatable.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; - -const routes: Routes = [ - { - path: '', - component: DataTableComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - CoreModule, - RouterModule.forChild(routes), - ContentModule.forChild() - ], - declarations: [DataTableComponent] -}) -export class AppDataTableModule {} diff --git a/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.component.html b/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.component.html deleted file mode 100644 index a3eef74ba4..0000000000 --- a/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.component.html +++ /dev/null @@ -1,8 +0,0 @@ -

DataTable Drag and Drop Demo

-
- -
diff --git a/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.component.ts b/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.component.ts deleted file mode 100644 index e491135fc8..0000000000 --- a/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.component.ts +++ /dev/null @@ -1,103 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* cspell:disable */ - -import { Component, OnInit } from '@angular/core'; -import { ObjectDataTableAdapter, DataSorting, NotificationService, DataTableDropEvent } from '@alfresco/adf-core'; - -const createdBy = { - name: 'Administrator', - email: 'admin@alfresco.com' -}; - -@Component({ - selector: 'app-datatable-dnd', - templateUrl: './datatable-dnd.component.html' -}) -export class DataTableDnDComponent implements OnInit { - - data: ObjectDataTableAdapter; - - constructor(private notificationService: NotificationService) { - } - - ngOnInit() { - this.data = new ObjectDataTableAdapter( - [ - { - id: 1, - name: `Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. - nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. - Excepteur sint occaecat cupidatat non proident, - sunt in culpa qui officia deserunt mollit anim id est laborum.`, - createdOn: new Date(2016, 6, 2, 15, 8, 1), - createdBy, - icon: 'material-icons://folder_open', - json: null - }, - { - id: 2, - name: 'Name 2', - createdOn: new Date(2016, 6, 2, 15, 8, 2), - createdBy, - icon: 'material-icons://accessibility', - json: null - }, - { - id: 3, - name: 'Name 3', - createdOn: new Date(2016, 6, 2, 15, 8, 3), - createdBy, - icon: 'material-icons://alarm', - json: null - }, - { - id: 4, - name: 'Image 8', - createdOn: new Date(2016, 6, 2, 15, 8, 4), - createdBy, - icon: 'material-icons://alarm' - } - ], - [ - { type: 'image', key: 'icon', title: '', srTitle: 'Thumbnail' }, - { type: 'text', key: 'id', title: 'Id', sortable: true , cssClass: '' }, - { type: 'text', key: 'createdOn', title: 'Created On', sortable: true, cssClass: 'adf-ellipsis-cell adf-expand-cell-2' }, - { type: 'text', key: 'name', title: 'Name', cssClass: 'adf-ellipsis-cell', sortable: true }, - { type: 'text', key: 'createdBy.name', title: 'Created By', sortable: true, cssClass: ''} - ] - ); - - this.data.setSorting(new DataSorting('id', 'asc')); - } - - onDragOver(event: Event) { - event.preventDefault(); - } - - onDrop(event: DataTableDropEvent) { - event.preventDefault(); - - const { column, target } = event.detail; - const message = `Dropped data on [ ${column.key} ] ${target}`; - - this.notificationService.openSnackMessage(message); - } -} diff --git a/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.module.ts b/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.module.ts deleted file mode 100644 index 60db99479d..0000000000 --- a/demo-shell/src/app/components/datatable/drag-and-drop/datatable-dnd.module.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; -import { DataTableDnDComponent } from './datatable-dnd.component'; - -const routes: Routes = [ - { - path: '', - component: DataTableDnDComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - RouterModule.forChild(routes), - CoreModule, - ContentModule.forChild() - ], - declarations: [DataTableDnDComponent] -}) -export class AppDataTableDndModule {} diff --git a/demo-shell/src/app/components/document-list/extension-presets/extension-presets.component.html b/demo-shell/src/app/components/document-list/extension-presets/extension-presets.component.html deleted file mode 100644 index 29330acc92..0000000000 --- a/demo-shell/src/app/components/document-list/extension-presets/extension-presets.component.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/demo-shell/src/app/components/document-list/extension-presets/extension-presets.component.ts b/demo-shell/src/app/components/document-list/extension-presets/extension-presets.component.ts deleted file mode 100644 index 697a555304..0000000000 --- a/demo-shell/src/app/components/document-list/extension-presets/extension-presets.component.ts +++ /dev/null @@ -1,61 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, OnInit, OnDestroy } from '@angular/core'; -import { AppExtensionService, DocumentListPresetRef } from '@alfresco/adf-extensions'; -import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; - -@Component({ - selector: 'app-extension-presets', - templateUrl: './extension-presets.component.html' -}) -export class ExtensionPresetsComponent implements OnInit, OnDestroy { - onDestroy$ = new Subject(); - - columns: DocumentListPresetRef[] = []; - isSmallScreen = false; - - constructor( - private extensions: AppExtensionService, - private breakpointObserver: BreakpointObserver - ) {} - - ngOnInit() { - this.columns = this.extensions.getDocumentListPreset('files'); - - this.breakpointObserver - .observe([ - Breakpoints.HandsetPortrait, - Breakpoints.HandsetLandscape - ]) - .pipe(takeUntil(this.onDestroy$)) - .subscribe((result) => { - this.isSmallScreen = result.matches; - }); - } - - ngOnDestroy() { - this.onDestroy$.next(true); - this.onDestroy$.complete(); - } - - trackById(_: number, obj: DocumentListPresetRef): string { - return obj.id; - } -} diff --git a/demo-shell/src/app/components/document-list/extension-presets/extension-presets.module.ts b/demo-shell/src/app/components/document-list/extension-presets/extension-presets.module.ts deleted file mode 100644 index e17b6ae0fb..0000000000 --- a/demo-shell/src/app/components/document-list/extension-presets/extension-presets.module.ts +++ /dev/null @@ -1,53 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; -import { ExtensionPresetsComponent } from './extension-presets.component'; -import { ExtensionsModule, ExtensionService } from '@alfresco/adf-extensions'; -import { NameColumnComponent } from './name-column/name-column.component'; - -const routes: Routes = [ - { - path: '', - component: ExtensionPresetsComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - CoreModule, - RouterModule.forChild(routes), - ContentModule.forChild(), - ExtensionsModule - ], - declarations: [ - ExtensionPresetsComponent, - NameColumnComponent - ] -}) -export class ExtensionPresetsModule { - constructor(extensionService: ExtensionService) { - extensionService.setComponents({ - 'app.columns.name': NameColumnComponent - }); - } -} diff --git a/demo-shell/src/app/components/document-list/extension-presets/name-column/name-column.component.ts b/demo-shell/src/app/components/document-list/extension-presets/name-column/name-column.component.ts deleted file mode 100644 index c1201c2321..0000000000 --- a/demo-shell/src/app/components/document-list/extension-presets/name-column/name-column.component.ts +++ /dev/null @@ -1,99 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { - Component, - Input, - OnInit, - ChangeDetectionStrategy, - ViewEncapsulation, - ElementRef, - OnDestroy -} from '@angular/core'; -import { NodeEntry, Node } from '@alfresco/js-api'; -import { BehaviorSubject, Subject } from 'rxjs'; -import { NodesApiService } from '@alfresco/adf-content-services'; -import { takeUntil } from 'rxjs/operators'; - -@Component({ - selector: 'app-name-column', - template: ` - - {{ displayText$ | async }} - - `, - changeDetection: ChangeDetectionStrategy.OnPush, - encapsulation: ViewEncapsulation.None, - host: { class: 'adf-datatable-content-cell adf-datatable-link adf-name-column' } -}) -export class NameColumnComponent implements OnInit, OnDestroy { - @Input() - context: any; - - @Input() - key = 'name'; - - displayText$ = new BehaviorSubject(''); - node: NodeEntry; - - private onDestroy$ = new Subject(); - - constructor(private element: ElementRef, private nodesApiService: NodesApiService) {} - - ngOnInit() { - this.updateValue(); - - this.nodesApiService.nodeUpdated - .pipe(takeUntil(this.onDestroy$)) - .subscribe((node: Node) => { - const row = this.context.row; - if (row) { - const { entry } = row.node; - - if (entry === node) { - row.node = { entry }; - this.updateValue(); - } - } - }); - } - - protected updateValue() { - this.node = this.context.row.node; - - if (this.node && this.node.entry) { - const displayText = this.context.row.getValue(this.key); - this.displayText$.next(displayText || this.node.entry.id); - } - } - - onClick() { - this.element.nativeElement.dispatchEvent( - new CustomEvent('name-click', { - bubbles: true, - detail: { - node: this.node - } - }) - ); - } - - ngOnDestroy() { - this.onDestroy$.next(true); - this.onDestroy$.complete(); - } -} diff --git a/demo-shell/src/app/components/error/demo-error.component.html b/demo-shell/src/app/components/error/demo-error.component.html index f1bafd6f8b..4a6c79c833 100644 --- a/demo-shell/src/app/components/error/demo-error.component.html +++ b/demo-shell/src/app/components/error/demo-error.component.html @@ -1,7 +1,5 @@
- +
diff --git a/demo-shell/src/app/components/file-view/file-view.component.html b/demo-shell/src/app/components/file-view/file-view.component.html index 66345850a8..d5314941d7 100644 --- a/demo-shell/src/app/components/file-view/file-view.component.html +++ b/demo-shell/src/app/components/file-view/file-view.component.html @@ -68,17 +68,14 @@ - + - - + + - + Display Default Properties @@ -107,7 +103,6 @@

Display Empty Metadata @@ -117,7 +112,6 @@

Multi accordion @@ -127,7 +121,6 @@

Read Only @@ -137,7 +130,6 @@

Custom preset @@ -147,35 +139,24 @@

- + - +

- + - - - +

- + Url File @@ -217,7 +197,6 @@

Show Toolbar @@ -227,7 +206,6 @@

Allow GoBack @@ -237,7 +215,6 @@

Open With @@ -247,7 +224,6 @@

More Actions @@ -257,7 +233,6 @@

More Actions Menu @@ -267,7 +242,6 @@

Allow Download @@ -277,7 +251,6 @@

Allow Print @@ -287,7 +260,6 @@

Allow Right Sidebar @@ -297,7 +269,6 @@

Allow Left Sidebar @@ -307,7 +278,6 @@

Custom Toolbar @@ -317,7 +287,6 @@

Show tab with icon @@ -327,7 +296,6 @@

Show tab with icon and label @@ -335,15 +303,13 @@

-

-

diff --git a/demo-shell/src/app/components/files/custom-sources.component.html b/demo-shell/src/app/components/files/custom-sources.component.html index 4ebb97c10d..a0e235969c 100644 --- a/demo-shell/src/app/components/files/custom-sources.component.html +++ b/demo-shell/src/app/components/files/custom-sources.component.html @@ -11,7 +11,7 @@ diff --git a/demo-shell/src/app/components/files/files.component.html b/demo-shell/src/app/components/files/files.component.html index 12e9b45969..f7b4fc547e 100644 --- a/demo-shell/src/app/components/files/files.component.html +++ b/demo-shell/src/app/components/files/files.component.html @@ -24,14 +24,9 @@
- + - + @@ -41,7 +36,7 @@ @@ -49,7 +44,7 @@ data-automation-id="create-new-folder" mat-icon-button [disabled]="!canCreateContent(documentList.folderNode)" - title="{{ 'DOCUMENT_LIST.TOOLBAR.NEW_FOLDER' | translate }}" + title="New folder" (error)="openSnackMessageError($event)" (success)="documentList.reload()" [adf-create-folder]="currentFolderId"> @@ -57,7 +52,7 @@ @@ -83,7 +78,7 @@ adf-check-allowable-operation="delete" [permanent]="true" [adf-nodes]="documentList.selection" - title="{{ 'DOCUMENT_LIST.TOOLBAR.DELETE' | translate }}" + title="Delete" (delete)="onDeleteActionSuccess($event)" [adf-delete]="documentList.selection"> delete @@ -94,7 +89,7 @@ [disabled]="!documentList.selection.length" #favorite="adfFavorite" [adf-node-favorite]="documentList.selection" - title="{{ 'DOCUMENT_LIST.TOOLBAR.FAVORITES' | translate }}"> + title="Add to favorites"> {{ favorite.hasFavorites() ? 'star' :'star_border' }}
@@ -125,25 +116,25 @@ @@ -204,7 +195,7 @@ key="name" sortingKey="name" class="app-ellipsis-cell" - title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}" + title="Display name" [formatTooltip]="getNodeNameTooltip"> @@ -214,13 +205,13 @@ *ngIf="showNameColumn && !hyperlinkNavigation" key="name" sortingKey="name" - title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}" + title="Display name" [formatTooltip]="getNodeNameTooltip" class="app-ellipsis-cell adf-expand-cell-5"> @@ -238,13 +229,13 @@ @@ -322,7 +313,7 @@ + title="Lock"> @@ -382,13 +373,13 @@
face - {{'VERSION.CHOOSE_FILE' | translate}} + Select a file to see its versions
warning - {{'VERSION.NO_PERMISSION' | translate}} + You don't have permission to manage versions of this content
@@ -399,7 +390,6 @@
-

Current folder ID: {{ documentList.currentFolderId }}

@@ -413,7 +403,7 @@
- + Show Name Column
@@ -425,102 +415,97 @@
- - {{'DOCUMENT_LIST.MULTISELECT_CHECKBOXES' | translate}} + + Multiselect (with checkboxes)
- - {{'DOCUMENT_LIST.MULTIPLE_FILE_UPLOAD' | translate}} + + Multiple File Upload
- - {{'DOCUMENT_LIST.FOLDER_UPLOAD' | translate}} + + Folder upload
- - {{'DOCUMENT_LIST.CUSTOM_FILTER' | translate}} + + Custom extensions filter
- - {{'DOCUMENT_LIST.MAX_SIZE' | translate}} + + Max size filter
- - {{'DOCUMENT_LIST.THUMBNAILS' | translate}} + + Enable Thumbnails
- - {{'DOCUMENT_LIST.ALLOW_DROP_FILES' | translate}} + + Enable Drop Files in a folder or a file
- - {{'DOCUMENT_LIST.ENABLE_VERSIONING' | translate}} + + Enable versioning
- - {{'DOCUMENT_LIST.ENABLE_INFINITE_SCROLL' | translate}} + + Enable Infinite Scrolling
- - {{'APP.ADF_VERSION_MANAGER.SHOW_COMMENTS' | translate}} + + Show comments on versions
- - {{'APP.ADF_VERSION_MANAGER.ALLOW_DOWNLOAD' | translate}} + + Enable version download
- - {{'APP.WARN-MULTIPLE-UPLOADS' | translate}} + + Display warning for multiple uploads
- - {{'APP.MEDIUM-TIME-FORMAT' | translate}} + + Enable medium time format for document list
- + Display Empty Metadata
- + Sticky Header
- + Enable Download Prompt
@@ -531,8 +516,7 @@
- + Enable Download Prompt Reminders
@@ -543,8 +527,7 @@
- + Enable FileAutoDownload
@@ -604,15 +587,13 @@
- {{'DOCUMENT_LIST.DESCRIPTION_UPLOAD' | translate}} + Enable upload
-

- {{'DOCUMENT_LIST.MULTISELECT_DESCRIPTION' | translate}} -

+

Use Cmd (Mac) or Ctrl (Windows) to toggle selection of multiple items

diff --git a/demo-shell/src/app/components/files/filtered-search.component.html b/demo-shell/src/app/components/files/filtered-search.component.html deleted file mode 100644 index f02c2e95d5..0000000000 --- a/demo-shell/src/app/components/files/filtered-search.component.html +++ /dev/null @@ -1,9 +0,0 @@ - - diff --git a/demo-shell/src/app/components/files/filtered-search.component.ts b/demo-shell/src/app/components/files/filtered-search.component.ts deleted file mode 100644 index 79b3912444..0000000000 --- a/demo-shell/src/app/components/files/filtered-search.component.ts +++ /dev/null @@ -1,46 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, Optional } from '@angular/core'; -import { ActivatedRoute, Params } from '@angular/router'; - -@Component({ - selector: 'app-filtered-search-component', - templateUrl: './filtered-search.component.html' -}) -export class FilteredSearchComponent { - - navigationRoute = '/filtered-search'; - currentFolderId = '-my-'; - - queryParams = null; - - constructor(@Optional() private route: ActivatedRoute) { - - if (this.route) { - this.route.params.forEach((params: Params) => { - if (params['id'] && this.currentFolderId !== params['id']) { - this.currentFolderId = params['id']; - } - }); - - this.route.queryParamMap.subscribe((queryMap: Params) => { - this.queryParams = queryMap.params; - }); - } - } -} diff --git a/demo-shell/src/app/components/files/metadata-dialog-adapter.component.html b/demo-shell/src/app/components/files/metadata-dialog-adapter.component.html index 5b54c71fe1..77e15e0fc9 100644 --- a/demo-shell/src/app/components/files/metadata-dialog-adapter.component.html +++ b/demo-shell/src/app/components/files/metadata-dialog-adapter.component.html @@ -1,8 +1,10 @@ -
{{'METADATA.DIALOG.TITLE' | translate}}
+
Metadata
- + +
-
- +
+
diff --git a/demo-shell/src/app/components/files/metadata-dialog-adapter.component.scss b/demo-shell/src/app/components/files/metadata-dialog-adapter.component.scss deleted file mode 100644 index 8439ad71c0..0000000000 --- a/demo-shell/src/app/components/files/metadata-dialog-adapter.component.scss +++ /dev/null @@ -1,6 +0,0 @@ -.adf-metadata-dialog-actions { - display: flex; - max-height: 100%; - place-content: center flex-end; - align-items: center; -} diff --git a/demo-shell/src/app/components/files/version-manager-dialog-adapter.component.html b/demo-shell/src/app/components/files/version-manager-dialog-adapter.component.html index 01da383a20..bfeea6d6be 100644 --- a/demo-shell/src/app/components/files/version-manager-dialog-adapter.component.html +++ b/demo-shell/src/app/components/files/version-manager-dialog-adapter.component.html @@ -1,26 +1,26 @@ -
{{'VERSION.DIALOG.TITLE' | translate}}
+
Manage Versions
- - {{'APP.ADF_VERSION_MANAGER.READ_ONLY' | translate}} + + Read-only
- - {{'APP.ADF_VERSION_MANAGER.ALLOW_DOWNLOAD' | translate}} + + Enable version download
- - {{'APP.ADF_VERSION_MANAGER.COMMENTS' | translate}} + + Show comments
- - {{'APP.ADF_VERSION_MANAGER.VERSION_COMPARISON' | translate}} + + Show version comparison
@@ -40,6 +40,6 @@ -
- +
+
diff --git a/demo-shell/src/app/components/files/version-manager-dialog-adapter.component.scss b/demo-shell/src/app/components/files/version-manager-dialog-adapter.component.scss deleted file mode 100644 index d22ac70c18..0000000000 --- a/demo-shell/src/app/components/files/version-manager-dialog-adapter.component.scss +++ /dev/null @@ -1,6 +0,0 @@ -.adf-version-manager-dialog-actions { - display: flex; - max-height: 100%; - place-content: center flex-end; - align-items: center; -} diff --git a/demo-shell/src/app/components/form/form-list.component.html b/demo-shell/src/app/components/form/form-list.component.html index 09e5142878..3857562e36 100644 --- a/demo-shell/src/app/components/form/form-list.component.html +++ b/demo-shell/src/app/components/form/form-list.component.html @@ -4,10 +4,8 @@
- - + +
- - Show Validation Icon - + Show Validation Icon
diff --git a/demo-shell/src/app/components/form/form-loading.component.html b/demo-shell/src/app/components/form/form-loading.component.html index 88b4893da3..ce0d686ddc 100644 --- a/demo-shell/src/app/components/form/form-loading.component.html +++ b/demo-shell/src/app/components/form/form-loading.component.html @@ -2,33 +2,23 @@ - - {{'FORM-LOADING.FORM_DATA' | translate}} - - - {{'FORM-LOADING.FORM_DATA_MESSAGE' | translate}} - + Form Data + Enter values to populate the form - + - + - + diff --git a/demo-shell/src/app/components/header-data/header-data.component.html b/demo-shell/src/app/components/header-data/header-data.component.html deleted file mode 100644 index 1d4d7330b7..0000000000 --- a/demo-shell/src/app/components/header-data/header-data.component.html +++ /dev/null @@ -1,73 +0,0 @@ -
-

Header data

- -
- Show menu button -
- -
- - - OR - -

*Choose only one value at a time: either hex code or theme color.

-

*press enter for submitting new hex color

-
- -
- - -

*press enter for submitting new title

-
- -
- - -

*press enter for submitting new color text

-

*hex color

-
- -
- - -

*press enter for submitting new logo

-
- -
- - -

*Input JSON friendly array or explicit string. E.g. ["/test", 33, "user", 11] or "/test"

-

*press enter for submitting new link on logo

-
- -
- - -

*press enter for submitting new tooltip

-
- -
- - - - Start - End - -
-
-
-
- - Hide Sidebar - -
- -
-
diff --git a/demo-shell/src/app/components/header-data/header-data.component.scss b/demo-shell/src/app/components/header-data/header-data.component.scss deleted file mode 100644 index 968164ee12..0000000000 --- a/demo-shell/src/app/components/header-data/header-data.component.scss +++ /dev/null @@ -1,31 +0,0 @@ -.app-content { - padding: 10px; - - .mat-card { - padding: 16px 24px; - max-width: 100% !important; - max-height: 100% !important; - - div { - padding: 0; - margin-bottom: 30px; - - label { - font-weight: bold; - } - - .mat-form-field, - input, - select { - display: block; - width: 100%; - height: 30px; - margin-bottom: 5px; - } - - p { - margin: 0 0 5px; - } - } - } -} diff --git a/demo-shell/src/app/components/header-data/header-data.component.ts b/demo-shell/src/app/components/header-data/header-data.component.ts deleted file mode 100644 index 94c9b569b6..0000000000 --- a/demo-shell/src/app/components/header-data/header-data.component.ts +++ /dev/null @@ -1,88 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component } from '@angular/core'; -import { ThemePalette } from '@angular/material/core'; -import { HeaderDataService } from './header-data.service'; - -@Component({ - templateUrl: './header-data.component.html', - styleUrls: ['./header-data.component.scss'] -}) -export class HeaderDataComponent { - checkbox = true; - position: 'start' | 'end' = 'start'; - hideSidenavToggle = false; - colorsHashesTests = [ - /#[a-z0-9]{3}/i, - /#[a-z0-9]{4}/i, - /#[a-z0-9]{6}/i - ]; - - constructor(private headerService: HeaderDataService) { - } - - hideButton() { - this.headerService.hideMenuButton(); - } - - changeColor(color: ThemePalette) { - this.headerService.changeColor(color); - } - - submitTitle(title: string) { - if (title) { - this.headerService.changeTitle(title); - } - } - - submitHeaderTextColor(color: string): void { - const isColorHashValid = this.colorsHashesTests.some(colorTest => colorTest.test(color)); - - if (isColorHashValid || !color) { - this.headerService.changeHeaderTextColor(color); - } - } - - submitLogo(logoPath: string) { - if (logoPath) { - this.headerService.changeLogo(logoPath); - } - } - - submitRedirectUrl(value: string) { - const redirectUrl = JSON.parse(value); - if (redirectUrl) { - this.headerService.changeRedirectUrl(redirectUrl); - } - } - - submitTooltip(tooltip: string) { - if (tooltip) { - this.headerService.changeTooltip(tooltip); - } - } - - changePosition() { - this.headerService.changePosition(this.position); - } - - changeSidenavVisibility() { - this.hideSidenavToggle = !this.hideSidenavToggle; - this.headerService.changeSidenavVisibility(this.hideSidenavToggle); - } -} diff --git a/demo-shell/src/app/components/header-data/header-data.module.ts b/demo-shell/src/app/components/header-data/header-data.module.ts deleted file mode 100644 index d0cd09200e..0000000000 --- a/demo-shell/src/app/components/header-data/header-data.module.ts +++ /dev/null @@ -1,39 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { HeaderDataComponent } from './header-data.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; - -const routes: Routes = [ - { - path: '', - component: HeaderDataComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - RouterModule.forChild(routes), - CoreModule - ], - declarations: [HeaderDataComponent] -}) -export class AppHeaderDataModule {} diff --git a/demo-shell/src/app/components/header-data/header-data.service.ts b/demo-shell/src/app/components/header-data/header-data.service.ts deleted file mode 100644 index 113182da04..0000000000 --- a/demo-shell/src/app/components/header-data/header-data.service.ts +++ /dev/null @@ -1,75 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Injectable, Output, EventEmitter } from '@angular/core'; -import { ThemePalette } from '@angular/material/core'; - -@Injectable({ - providedIn: 'root' -}) -// eslint-disable-next-line @angular-eslint/directive-class-suffix -export class HeaderDataService { - - show = true; - - @Output() hideMenu = new EventEmitter(); - @Output() color = new EventEmitter(); - @Output() headerTextColor = new EventEmitter(); - @Output() title = new EventEmitter(); - @Output() logo = new EventEmitter(); - @Output() redirectUrl = new EventEmitter(); - @Output() tooltip = new EventEmitter(); - @Output() position = new EventEmitter<'start' | 'end'>(); - @Output() hideSidenav = new EventEmitter(); - - hideMenuButton() { - this.show = !this.show; - this.hideMenu.emit(this.show); - } - - changeColor(color: ThemePalette) { - this.color.emit(color); - } - - changeTitle(title: string) { - this.title.emit(title); - } - - changeLogo(logoPath: string) { - this.logo.emit(logoPath); - } - - changeHeaderTextColor(color: string): void { - this.headerTextColor.emit(color); - } - - changeRedirectUrl(redirectUrl: string | any[]) { - this.redirectUrl.emit(redirectUrl); - } - - changeTooltip(tooltip: string) { - this.tooltip.emit(tooltip); - } - - changePosition(position: 'start' | 'end') { - this.position.emit(position); - } - - changeSidenavVisibility(hideSidenav: boolean) { - this.hideSidenav.emit(hideSidenav); - } -} diff --git a/demo-shell/src/app/components/home/home.component.html b/demo-shell/src/app/components/home/home.component.html index 9c6f037f8c..c94433b2b7 100644 --- a/demo-shell/src/app/components/home/home.component.html +++ b/demo-shell/src/app/components/home/home.component.html @@ -1,12 +1,8 @@ -
-
-
-

ADF

-

{{ 'APP.HOME.TITLE' | translate}}

-
- - +
+
+

ADF

+

Angular components for Alfresco

-
+ + Documentation +
diff --git a/demo-shell/src/app/components/home/home.component.scss b/demo-shell/src/app/components/home/home.component.scss index a1ac8ea3b5..46999f70d5 100644 --- a/demo-shell/src/app/components/home/home.component.scss +++ b/demo-shell/src/app/components/home/home.component.scss @@ -1,35 +1,19 @@ -:host { +app-home-view { display: flex; justify-content: center; align-items: center; height: 100%; -} - -.app-home-header-background { - overflow: hidden; -} - -.app-home-section { text-align: center; - padding-top: 60px; -} -.app-home-headline { - h1 { - font-size: 56px; - font-weight: 300; - line-height: 56px; - margin: 15px 5px; - } + .app-home-headline { + h1 { + font-size: 56px; + font-weight: 300; + } - h2 { - font-size: 18px; - font-weight: 300; - line-height: 28px; - margin: 15px 0 25px; + h2 { + font-size: 18px; + font-weight: 300; + } } } - -.app-home-docs-button { - margin: 30px; -} diff --git a/demo-shell/src/app/components/home/home.component.ts b/demo-shell/src/app/components/home/home.component.ts index 42a373e187..1dd40f0048 100644 --- a/demo-shell/src/app/components/home/home.component.ts +++ b/demo-shell/src/app/components/home/home.component.ts @@ -15,11 +15,12 @@ * limitations under the License. */ -import { Component } from '@angular/core'; +import { Component, ViewEncapsulation } from '@angular/core'; @Component({ selector: 'app-home-view', templateUrl: './home.component.html', - styleUrls: ['./home.component.scss'] + styleUrls: ['./home.component.scss'], + encapsulation: ViewEncapsulation.None }) export class HomeComponent {} diff --git a/demo-shell/src/app/components/icons/icons.component.html b/demo-shell/src/app/components/icons/icons.component.html deleted file mode 100644 index 45cf6499a6..0000000000 --- a/demo-shell/src/app/components/icons/icons.component.html +++ /dev/null @@ -1,59 +0,0 @@ -

Icons

- -

Ligatures

- - See more details here: - Font icons with ligatures - - -
-
Markup:
-
-    <adf-icon value="folder"></adf-icon>
-
- -
-
Result:
- -
- -

Named icons

- - See more details here: - Named icons - - -
-
Code:
-
-    matIconRegistry.addSvgIconInNamespace(
-        'adf',
-        'move_file',
-        this.sanitizer.bypassSecurityTrustResourceUrl(
-            './assets/images/adf-move-file-24px.svg'
-        )
-    );
-
- -
-
Markup:
-
-    <adf-icon value="adf:move_file"></adf-icon>
-
- -
-
Result:
- -
- -

ADF Thumbnail Service

-
-
Markup:
-
-    <adf-icon value="adf:folder"></adf-icon>
-
- -
-
Result:
- -
diff --git a/demo-shell/src/app/components/icons/icons.component.ts b/demo-shell/src/app/components/icons/icons.component.ts deleted file mode 100644 index b6b3a3fa24..0000000000 --- a/demo-shell/src/app/components/icons/icons.component.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, OnInit } from '@angular/core'; -import { MatIconRegistry } from '@angular/material/icon'; -import { DomSanitizer } from '@angular/platform-browser'; - -@Component({ - selector: 'app-icons-demo', - templateUrl: './icons.component.html' -}) -export class IconsComponent implements OnInit { - constructor( - private matIconRegistry: MatIconRegistry, - private sanitizer: DomSanitizer - ) {} - - ngOnInit() { - this.matIconRegistry.addSvgIconInNamespace( - 'adf', - 'move_file', - this.sanitizer.bypassSecurityTrustResourceUrl( - './assets/images/adf-move-file-24px.svg' - ) - ); - } -} diff --git a/demo-shell/src/app/components/icons/icons.module.ts b/demo-shell/src/app/components/icons/icons.module.ts deleted file mode 100644 index f4b36b6a3c..0000000000 --- a/demo-shell/src/app/components/icons/icons.module.ts +++ /dev/null @@ -1,39 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { IconsComponent } from './icons.component'; - -const routes: Routes = [ - { - path: '', - component: IconsComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - CoreModule, - RouterModule.forChild(routes) - ], - declarations: [IconsComponent] -}) -export class AppIconsModule {} diff --git a/demo-shell/src/app/components/lazy-loading/i18n/ar.json b/demo-shell/src/app/components/lazy-loading/i18n/ar.json deleted file mode 100644 index 718b7f356c..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/ar.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Text from lazy component resources" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/cs.json b/demo-shell/src/app/components/lazy-loading/i18n/cs.json deleted file mode 100644 index 7025787197..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/cs.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Text ze zdrojů s opožděnými součástmi" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/da.json b/demo-shell/src/app/components/lazy-loading/i18n/da.json deleted file mode 100644 index 48b747be4c..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/da.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Tekst fra dovne komponentressourcer" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/de.json b/demo-shell/src/app/components/lazy-loading/i18n/de.json deleted file mode 100644 index 005adbe9c6..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/de.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Text aus Lazy-Komponentenressourcen" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/en.json b/demo-shell/src/app/components/lazy-loading/i18n/en.json deleted file mode 100644 index d0594e603a..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/en.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Text from lazy component resources" - } -} diff --git a/demo-shell/src/app/components/lazy-loading/i18n/es.json b/demo-shell/src/app/components/lazy-loading/i18n/es.json deleted file mode 100644 index b52277fe2f..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/es.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Texto de recursos de componentes lazy" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/fi.json b/demo-shell/src/app/components/lazy-loading/i18n/fi.json deleted file mode 100644 index 726f3db666..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/fi.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Teksti lazy-komponenttiresursseista" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/fr.json b/demo-shell/src/app/components/lazy-loading/i18n/fr.json deleted file mode 100644 index a4bc047b1a..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/fr.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Texte des ressources du composant lazy" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/it.json b/demo-shell/src/app/components/lazy-loading/i18n/it.json deleted file mode 100644 index 4c397133c0..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/it.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Testo risorse componenti lazy" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/ja.json b/demo-shell/src/app/components/lazy-loading/i18n/ja.json deleted file mode 100644 index 79c81d9cd7..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/ja.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Lazy コンポーネントリソースのテキスト" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/nb.json b/demo-shell/src/app/components/lazy-loading/i18n/nb.json deleted file mode 100644 index e6d90d1678..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/nb.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Tekst fra ressursene med lazy komponent" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/nl.json b/demo-shell/src/app/components/lazy-loading/i18n/nl.json deleted file mode 100644 index dcd1c11f6e..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/nl.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Tekst van vertraagde componentresources" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/pl.json b/demo-shell/src/app/components/lazy-loading/i18n/pl.json deleted file mode 100644 index 1dded5d60c..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/pl.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Tekst dotyczący elementów zasobów z opóźnieniem" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/pt-BR.json b/demo-shell/src/app/components/lazy-loading/i18n/pt-BR.json deleted file mode 100644 index 9271d23962..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/pt-BR.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Texto de recursos de componente lento" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/ru.json b/demo-shell/src/app/components/lazy-loading/i18n/ru.json deleted file mode 100644 index 88faff9039..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/ru.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Текст из ресурсов отложенного компонента" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/sv.json b/demo-shell/src/app/components/lazy-loading/i18n/sv.json deleted file mode 100644 index d8a35102f6..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/sv.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "Text från lata komponentresurser" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/i18n/zh-CN.json b/demo-shell/src/app/components/lazy-loading/i18n/zh-CN.json deleted file mode 100644 index 9465337f73..0000000000 --- a/demo-shell/src/app/components/lazy-loading/i18n/zh-CN.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "LAZY": { - "TEXT": "来自惰性组件资源的文本" - } -} \ No newline at end of file diff --git a/demo-shell/src/app/components/lazy-loading/lazy-loading.component.ts b/demo-shell/src/app/components/lazy-loading/lazy-loading.component.ts deleted file mode 100644 index 278fc97dcb..0000000000 --- a/demo-shell/src/app/components/lazy-loading/lazy-loading.component.ts +++ /dev/null @@ -1,66 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component } from '@angular/core'; -import { ObjectDataTableAdapter, AuthenticationService } from '@alfresco/adf-core'; - -@Component({ - selector: 'app-lazy-component', - template: ` - - -
    -
  • Global i18n: {{ 'APP_LAYOUT.DATATABLE_LAZY' | translate }}
  • -
  • Local i18n (work in progress): {{ 'LAZY.TEXT' | translate }}
  • -
  • isLoggedIn: {{ isLoggedIn }}
  • -
- ` -}) -export class LazyLoadingComponent { - - data: ObjectDataTableAdapter; - - get isLoggedIn(): boolean { - return this.auth.isLoggedIn(); - } - - constructor(private auth: AuthenticationService) { - this.data = new ObjectDataTableAdapter( - // data - [ - {id: 1, name: 'Name 1'}, - {id: 2, name: 'Name 2'} - ], - // schema - [ - { - type: 'text', - key: 'id', - title: 'Id', - sortable: true - }, - { - type: 'text', - key: 'name', - title: 'Name', - cssClass: 'full-width', - sortable: true - } - ] - ); - } -} diff --git a/demo-shell/src/app/components/lazy-loading/lazy-loading.module.ts b/demo-shell/src/app/components/lazy-loading/lazy-loading.module.ts deleted file mode 100644 index bf15ace8de..0000000000 --- a/demo-shell/src/app/components/lazy-loading/lazy-loading.module.ts +++ /dev/null @@ -1,33 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { CoreModule } from '@alfresco/adf-core'; - -import { LazyLoadingRoutes } from './lazy-loading.routes'; -import { LazyLoadingComponent } from './lazy-loading.component'; - -@NgModule({ - imports: [ - CoreModule, - LazyLoadingRoutes - ], - declarations: [ - LazyLoadingComponent - ] -}) -export class LazyLoadingModule {} diff --git a/demo-shell/src/app/components/lazy-loading/lazy-loading.routes.ts b/demo-shell/src/app/components/lazy-loading/lazy-loading.routes.ts deleted file mode 100644 index 4886dc1eb0..0000000000 --- a/demo-shell/src/app/components/lazy-loading/lazy-loading.routes.ts +++ /dev/null @@ -1,38 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { RouterModule, Routes } from '@angular/router'; -import { LazyLoadingComponent } from './lazy-loading.component'; - -export const routes: Routes = [ - { - path: '', - component: LazyLoadingComponent - } -]; - -@NgModule({ - imports: [ - RouterModule.forChild(routes) - ], - exports: [ - RouterModule - ] -}) -export class LazyLoadingRoutes { -} diff --git a/demo-shell/src/app/components/log/log.component.css b/demo-shell/src/app/components/log/log.component.css deleted file mode 100644 index 6d494ee66e..0000000000 --- a/demo-shell/src/app/components/log/log.component.css +++ /dev/null @@ -1,27 +0,0 @@ -.log-list-type { - float: left; -} - -.log-list-text { - float: left; -} - -.log-card { - min-width: 200px; - z-index: 1; - height: 20%; - width: 40%; - position: fixed; - top: 4em; - right: 1em; - opacity: 0.9; - overflow: scroll; -} - -.log-ERROR { - color: var(--theme-warn-color); -} - -.log-WARN { - color: var(--theme-accent-color); -} diff --git a/demo-shell/src/app/components/log/log.component.html b/demo-shell/src/app/components/log/log.component.html deleted file mode 100644 index 4947c75e8f..0000000000 --- a/demo-shell/src/app/components/log/log.component.html +++ /dev/null @@ -1,12 +0,0 @@ - - -

Log Service

-
- - -
- -
- -
-
diff --git a/demo-shell/src/app/components/log/log.component.ts b/demo-shell/src/app/components/log/log.component.ts deleted file mode 100644 index 2399609070..0000000000 --- a/demo-shell/src/app/components/log/log.component.ts +++ /dev/null @@ -1,79 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, HostListener, OnDestroy, OnInit } from '@angular/core'; -import { LogService, ObjectDataTableAdapter } from '@alfresco/adf-core'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; - -@Component({ - selector: 'app-log', - templateUrl: './log.component.html', - styleUrls: ['./log.component.css'] -}) -export class LogComponent implements OnInit, OnDestroy { - logs: any[] = []; - show = false; - ctrlLKey = 12; - logsData: ObjectDataTableAdapter; - - private onDestroy$ = new Subject(); - - constructor(public logService: LogService) {} - - ngOnInit() { - this.logService.onMessage - .pipe(takeUntil(this.onDestroy$)) - .subscribe(message => { - let contentMessage = ''; - try { - contentMessage = JSON.stringify(message.text); - } catch (error) { - return; - } - this.logs.push({ type: message.type, text: contentMessage }); - this.logsData = new ObjectDataTableAdapter(this.logs, [ - { - type: 'text', - key: 'type', - title: 'Log level', - sortable: true - }, - { - type: 'text', - key: 'text', - title: 'Message', - sortable: false - } - ]); - }); - } - - ngOnDestroy() { - this.onDestroy$.next(true); - this.onDestroy$.complete(); - } - - @HostListener('document:keypress', ['$event']) - handleKeyboardEvent(event: KeyboardEvent) { - const key = event.keyCode; - - if (key === this.ctrlLKey) { - this.show = !this.show; - } - } -} diff --git a/demo-shell/src/app/components/login/login.component.html b/demo-shell/src/app/components/login/login.component.html index c35a95d4ac..aa1dfa8a5c 100644 --- a/demo-shell/src/app/components/login/login.component.html +++ b/demo-shell/src/app/components/login/login.component.html @@ -1,116 +1,10 @@ - - -
-

- - CSRF - -

-

- - {{ 'LOGIN.LOGIN_FOOTER'| translate }} - -

-

- - {{ 'LOGIN.SHOW_REMEMBERME'| translate }} - -

-

- - {{ 'LOGIN.SHOW_SUCCESS_ROUTE'| translate }} - -

-

- - - - - -

- -

- -

-

- - - - - -

- -
- - - - + settings -
-

- - CSRF - -

-

- - {{ 'LOGIN.LOGIN_FOOTER'| translate }} - -

- - -
+ [successRoute]="'/home'" + [showLoginActions]="false" + [showRememberMe]="false" + copyrightText="{{ 'application.copyright' | adfAppConfig }}">
diff --git a/demo-shell/src/app/components/login/login.component.scss b/demo-shell/src/app/components/login/login.component.scss index cd7a7e687e..be6b5db41e 100644 --- a/demo-shell/src/app/components/login/login.component.scss +++ b/demo-shell/src/app/components/login/login.component.scss @@ -1,52 +1,6 @@ -.app-setting-button.mat-fab.mat-accent { +.app-setting-button.mat-fab { position: absolute; right: 10px; top: 10px; z-index: 1; } - -.app-settings { - border-radius: 8px; - position: absolute; - background-color: papayawhip; - color: cadetblue; - left: 10px; - top: 10px; - z-index: 1; -} - -.app-toggle { - width: auto; - margin: 5px; - padding: 5px; -} - -.app-mobile-settings, -.app-mobile-setting-button { - display: none; -} - -@media screen and (max-width: 959px) { - .app-settings, - .app-setting-button.mat-fab.mat-accent { - display: none; - } - - .app-mobile-settings, - .app-mobile-setting-button { - display: block; - } - - .app-mobile-setting-button { - width: 100%; - } - - .app-mobile-settings { - padding-bottom: 20px; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - } -} - -.app-settings ::ng-deep .mat-slide-toggle-thumb-container { - cursor: pointer; -} diff --git a/demo-shell/src/app/components/login/login.component.ts b/demo-shell/src/app/components/login/login.component.ts index 4425474dfc..46ceea9771 100644 --- a/demo-shell/src/app/components/login/login.component.ts +++ b/demo-shell/src/app/components/login/login.component.ts @@ -16,8 +16,6 @@ */ import { Component, ViewEncapsulation } from '@angular/core'; -import { Router } from '@angular/router'; -import { LogService } from '@alfresco/adf-core'; @Component({ selector: 'app-login', @@ -26,51 +24,4 @@ import { LogService } from '@alfresco/adf-core'; encapsulation: ViewEncapsulation.None }) export class LoginComponent { - - customSuccessRouteURI = '/home'; - customLogoImageURL = './assets/images/alfresco-logo.svg'; - - disableCsrf = false; - showFooter = true; - showRememberMe = true; - customSuccessRoute = false; - customLogoImage = false; - - constructor(private router: Router, - private logService: LogService) { - } - - onLogin() { - this.router.navigate(['/home']); - } - - onError(err: any) { - this.logService.error(err); - } - - toggleCSRF() { - this.disableCsrf = !this.disableCsrf; - } - - toggleFooter() { - this.showFooter = !this.showFooter; - } - - toggleRememberMe() { - this.showRememberMe = !this.showRememberMe; - } - - toggleSuccessRoute() { - this.customSuccessRoute = !this.customSuccessRoute; - if (!this.customSuccessRoute) { - this.customSuccessRouteURI = null; - } - } - - toggleLogo() { - this.customLogoImage = !this.customLogoImage; - if (!this.customLogoImage) { - this.customLogoImageURL = null; - } - } } diff --git a/demo-shell/src/app/components/logout/logout.component.html b/demo-shell/src/app/components/logout/logout.component.html index f517160e3c..71b22c099c 100644 --- a/demo-shell/src/app/components/logout/logout.component.html +++ b/demo-shell/src/app/components/logout/logout.component.html @@ -1,17 +1,15 @@
-

{{ 'APP.LOGOUT.TITLE' | translate}}

-

{{ 'APP.LOGOUT.SUB_TITLE' | translate}}

+

Logout Page

+

You are now logged out

diff --git a/demo-shell/src/app/components/notifications/notifications.component.html b/demo-shell/src/app/components/notifications/notifications.component.html deleted file mode 100644 index 8a925c0059..0000000000 --- a/demo-shell/src/app/components/notifications/notifications.component.html +++ /dev/null @@ -1,89 +0,0 @@ -
-

Notification Service

- -
    -
  • Try setting custom message with unicode characters, for example: I ♥️ ADF
  • -
  • Try setting custom i18n resource key, for example: APP_LAYOUT.NOTIFICATIONS
  • -
  • Try setting a decorative icon, for example info or folder
  • -
  • Try toggling the action button. Clicking the action within SnackBar should update the label under the toggle button.
  • -
  • All elements support data-automation-id attributes and can be automated.
  • -
- -
- Message: - - - -
- -
- Decorative icon: - - - -
- -
- - With action - -
- -
- {{ actionOutput }} -
- -

Custom Configuration

- -
- - - - {{ direction.title }} - - - - - - - - - - {{ horizontalPosition.title }} - - - - - - {{ verticalPosition.title }} - - - - -
-
-

SnackBar Config

-

- {{snackBarConfigObject}} -

-
-
-

Quick Messages

- - - -
-
diff --git a/demo-shell/src/app/components/notifications/notifications.component.scss b/demo-shell/src/app/components/notifications/notifications.component.scss deleted file mode 100644 index 078f6da7de..0000000000 --- a/demo-shell/src/app/components/notifications/notifications.component.scss +++ /dev/null @@ -1,7 +0,0 @@ -.app-main-content { - padding: 10px; - - .adf-label { - margin-right: 12px; - } -} diff --git a/demo-shell/src/app/components/notifications/notifications.component.ts b/demo-shell/src/app/components/notifications/notifications.component.ts deleted file mode 100644 index cc6d313641..0000000000 --- a/demo-shell/src/app/components/notifications/notifications.component.ts +++ /dev/null @@ -1,145 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, OnInit, OnDestroy } from '@angular/core'; -import { NotificationService } from '@alfresco/adf-core'; -import { MatSnackBarConfig } from '@angular/material/snack-bar'; -import { UntypedFormBuilder, UntypedFormGroup, UntypedFormControl } from '@angular/forms'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; - -@Component({ - templateUrl: './notifications.component.html', - styleUrls: ['./notifications.component.scss'] -}) -export class NotificationsComponent implements OnInit, OnDestroy { - - message = 'I ♥️ ADF'; - decorativeIcon = ''; - withAction = false; - actionOutput = ''; - snackBarConfigObject = ''; - - configForm: UntypedFormGroup; - - snackBarConfig: MatSnackBarConfig = new MatSnackBarConfig(); - - directions = [ - { value: 'ltr', title: 'Left to right' }, - { value: 'rtl', title: 'Right to left' } - ]; - - horizontalPositions = [ - { value: 'start', title: 'Start' }, - { value: 'center', title: 'Center' }, - { value: 'end', title: 'End' }, - { value: 'left', title: 'Left' }, - { value: 'right', title: 'Right' } - ]; - - verticalPositions = [ - { value: 'top', title: 'Top' }, - { value: 'bottom', title: 'Bottom' } - ]; - - defaultDuration = 20000; - - private onDestroy$ = new Subject(); - - constructor(private notificationService: NotificationService, - private formBuilder: UntypedFormBuilder) { - this.snackBarConfig.duration = this.defaultDuration; - } - - ngOnInit() { - this.configForm = this.formBuilder.group({ - direction: new UntypedFormControl(''), - horizontalPosition: new UntypedFormControl(''), - verticalPosition: new UntypedFormControl(''), - duration: new UntypedFormControl('') - }); - - this.configForm.valueChanges - .pipe(takeUntil(this.onDestroy$)) - .subscribe(configFormValues => - this.setSnackBarConfig(configFormValues) - ); - } - - ngOnDestroy() { - this.onDestroy$.next(true); - this.onDestroy$.complete(); - } - - setSnackBarConfig(configFormValues: any) { - - if (configFormValues.announcementMessage) { - this.snackBarConfig.announcementMessage = configFormValues.announcementMessage; - } - if (configFormValues.direction) { - this.snackBarConfig.direction = configFormValues.direction; - - } - if (configFormValues.duration) { - this.snackBarConfig.duration = configFormValues.duration; - - } - if (configFormValues.horizontalPosition) { - this.snackBarConfig.horizontalPosition = configFormValues.horizontalPosition; - } - if (configFormValues.verticalPosition) { - this.snackBarConfig.verticalPosition = configFormValues.verticalPosition; - } - } - - sendCustomConfig() { - this.actionOutput = ''; - this.snackBarConfigObject = `{"direction": "${this.snackBarConfig.direction}", - "duration": "${this.snackBarConfig.duration}", - "horizontalPosition": "${ this.snackBarConfig.horizontalPosition}", - "verticalPosition": "${ this.snackBarConfig.verticalPosition}"}`; - - this.snackBarConfig.data = { decorativeIcon: this.decorativeIcon }; - - if (this.message) { - if (this.withAction) { - this.notificationService - .openSnackMessageAction(this.message, 'Some action', this.snackBarConfig) - .onAction() - .subscribe(() => this.actionOutput = 'Action clicked'); - } else { - this.notificationService.openSnackMessage(this.message, this.snackBarConfig); - } - } - } - - dismissSnackBar() { - this.notificationService.dismissSnackMessageAction(); - } - - quickError() { - this.notificationService.showError(this.message, 'Fix'); - } - - quickInfo() { - this.notificationService.showInfo(this.message, 'Agree'); - } - - quickWarning() { - this.notificationService.showWarning(this.message, 'Undo'); - } -} diff --git a/demo-shell/src/app/components/notifications/notifications.module.ts b/demo-shell/src/app/components/notifications/notifications.module.ts deleted file mode 100644 index 667e5cd902..0000000000 --- a/demo-shell/src/app/components/notifications/notifications.module.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { NotificationsComponent } from './notifications.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { MatButtonModule } from '@angular/material/button'; - -const routes: Routes = [ - { - path: '', - component: NotificationsComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - CoreModule, - RouterModule.forChild(routes), - MatButtonModule - ], - declarations: [NotificationsComponent] -}) -export class AppNotificationsModule {} diff --git a/demo-shell/src/app/components/overlay-viewer/overlay-viewer.component.html b/demo-shell/src/app/components/overlay-viewer/overlay-viewer.component.html deleted file mode 100644 index f8a8306edb..0000000000 --- a/demo-shell/src/app/components/overlay-viewer/overlay-viewer.component.html +++ /dev/null @@ -1,22 +0,0 @@ -

Overlay Viewer

- -

- - Overlay - -

- - - - - - diff --git a/demo-shell/src/app/components/overlay-viewer/overlay-viewer.component.ts b/demo-shell/src/app/components/overlay-viewer/overlay-viewer.component.ts deleted file mode 100644 index 877d2a7ba1..0000000000 --- a/demo-shell/src/app/components/overlay-viewer/overlay-viewer.component.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, Input } from '@angular/core'; - -@Component({ - templateUrl: './overlay-viewer.component.html' -}) -export class OverlayViewerComponent { - - @Input() - showViewer = false; - - nodeId: string; - isOverlay = true; - - toggleOverlay() { - this.isOverlay = !this.isOverlay; - } - - showPreview(event) { - if (event.value.entry.isFile) { - this.nodeId = event.value.entry.id; - this.showViewer = true; - } - } -} diff --git a/demo-shell/src/app/components/pipes/pipes.component.html b/demo-shell/src/app/components/pipes/pipes.component.html deleted file mode 100644 index f4c9cb75f4..0000000000 --- a/demo-shell/src/app/components/pipes/pipes.component.html +++ /dev/null @@ -1,109 +0,0 @@ -

ADF Pipes

- - - - - - Localized dates - - - adfLocalizedDate - - - - - - - - - - - {{language.label}} - - - - -

AdfLocalizedDate Pipe - Default

-
{{ today | adfLocalizedDate }}
-
-

AdfLocalizedDate Pipe - Custom format

-
{{ today | adfLocalizedDate : format }}
-
-

AdfLocalizedDate Pipe - Custom format and locale

-
{{ today | adfLocalizedDate : format : locale }}
-
- - - - - Time ago - - - adfTimeAgo - - - - - - - - - - - {{language.label}} - - - -

AdfTimeAgo Pipe - Default

-
{{ today | adfTimeAgo }}
-
-

AdfTimeAgo Pipe - Custom locale

-
{{ today | adfTimeAgo : locale}}
-
- - - - - Decimal numbers - - - adfDecimalNumber - - - - - - - - - - - - - - - - - - - - {{language.label}} - - - - -

AdfDecimalNumber Pipe - Default

-
{{ numberValue | adfDecimalNumber }}
-
-

AdfDecimalNumber Pipe - Custom digits config

-
{{ numberValue | adfDecimalNumber : decimalValues }}
-
-

AdfDecimalNumber Pipe - Custom locale

-
{{ numberValue | adfDecimalNumber : null : locale }}
-
-

AdfDecimalNumber Pipe - Custom digits config and locale

-
{{ numberValue | adfDecimalNumber : decimalValues : locale }}
-
- -
-
diff --git a/demo-shell/src/app/components/pipes/pipes.component.scss b/demo-shell/src/app/components/pipes/pipes.component.scss deleted file mode 100644 index 2a5ddcae92..0000000000 --- a/demo-shell/src/app/components/pipes/pipes.component.scss +++ /dev/null @@ -1,7 +0,0 @@ -h2 { - padding: 20px; -} - -.app-input-field { - margin: 20px; -} diff --git a/demo-shell/src/app/components/pipes/pipes.component.ts b/demo-shell/src/app/components/pipes/pipes.component.ts deleted file mode 100644 index 7e3f7b1199..0000000000 --- a/demo-shell/src/app/components/pipes/pipes.component.ts +++ /dev/null @@ -1,42 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component } from '@angular/core'; -import { AppConfigService } from '@alfresco/adf-core'; - -@Component({ - selector: 'app-pipes-page', - templateUrl: './pipes.component.html', - styleUrls: ['./pipes.component.scss'] -}) -export class PipesComponent { - - today = new Date(); - locale: string; - format: string; - numberValue = 12345.56; - decimalValues = { - minIntegerDigits: undefined, - minFractionDigits: undefined, - maxFractionDigits: undefined - }; - languages: any[]; - - constructor(private appConfig: AppConfigService) { - this.languages = this.appConfig.get('languages', []); - } -} diff --git a/demo-shell/src/app/components/pipes/pipes.module.ts b/demo-shell/src/app/components/pipes/pipes.module.ts deleted file mode 100644 index ef451164d4..0000000000 --- a/demo-shell/src/app/components/pipes/pipes.module.ts +++ /dev/null @@ -1,39 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; -import { PipesComponent } from './pipes.component'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; - -const routes: Routes = [ - { - path: '', - component: PipesComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - CoreModule, - RouterModule.forChild(routes) - ], - declarations: [PipesComponent] -}) -export class AppPipesModule {} diff --git a/demo-shell/src/app/components/process-list-demo/process-list-demo.component.html b/demo-shell/src/app/components/process-list-demo/process-list-demo.component.html index 41262c99b8..da3ec4acd8 100644 --- a/demo-shell/src/app/components/process-list-demo/process-list-demo.component.html +++ b/demo-shell/src/app/components/process-list-demo/process-list-demo.component.html @@ -3,49 +3,40 @@
App Id - + - {{ 'PROCESS_LIST_DEMO.ERROR_MESSAGE.APP_ID_REQUIRED_ERROR' | translate }} + Insert App ID - {{ 'PROCESS_LIST_DEMO.ERROR_MESSAGE.APP_ID_TYPE_ERROR' | translate }} + App ID must be a number - {{ 'PROCESS_LIST_DEMO.ERROR_MESSAGE.NUMBER_GREATER_THAN' | translate: { value: minValue } }} + {{ 'Value must be greater than or equal to ' + minValue }} ProcessInstanceId - + SimpleProcess:1:2 ProcessDefinitionId - + SimpleProcess:1:2 State - + {{ stateOption.title }} Sort - + {{ sortOption.title }} @@ -53,27 +44,23 @@ Items per page - + - {{ 'PROCESS_LIST_DEMO.ERROR_MESSAGE.NUMBER_GREATER_THAN' | translate: { value: minValue } }} + {{ 'Value must be greater than or equal to ' + minValue }} - {{ 'PROCESS_LIST_DEMO.ERROR_MESSAGE.NUMBER_TYPE_ERROR' | translate }} + Value must be a number Page - + - {{ 'PROCESS_LIST_DEMO.ERROR_MESSAGE.NUMBER_GREATER_THAN' | translate: { value: minValue } }} + {{ 'Value must be greater than or equal to ' + minValue }} - {{ 'PROCESS_LIST_DEMO.ERROR_MESSAGE.NUMBER_TYPE_ERROR' | translate }} + Value must be a number @@ -95,7 +82,7 @@ [size]="size" [presetColumn]="presetColumn"> - +
{{getStatus(entry.row.obj.ended)}}
@@ -105,7 +92,6 @@
- +
diff --git a/demo-shell/src/app/components/process-service/form-viewer.component.html b/demo-shell/src/app/components/process-service/form-viewer.component.html index acda361721..d5997172b9 100644 --- a/demo-shell/src/app/components/process-service/form-viewer.component.html +++ b/demo-shell/src/app/components/process-service/form-viewer.component.html @@ -1,11 +1,3 @@
- - - - - - - -
diff --git a/demo-shell/src/app/components/process-service/process-service.component.html b/demo-shell/src/app/components/process-service/process-service.component.html index 392d8d7f84..01af5393a7 100644 --- a/demo-shell/src/app/components/process-service/process-service.component.html +++ b/demo-shell/src/app/components/process-service/process-service.component.html @@ -1,17 +1,16 @@ - +
- + arrow_drop_down
@@ -58,13 +57,6 @@ (row-dblclick)="onTaskRowDblClick($any($event))" [multiselect]="multiSelectTask" #taskList> - - - -
- {{'PS-TAB.TASK-AUDIT-LOG' | translate}} + Task Audit log
- +
- + arrow_drop_down
-
@@ -181,13 +170,6 @@ (row-dblclick)="onProcessRowDblClick($any($event))" [multiselect]="multiSelectProcess" (success)="onSuccessProcessList()"> - - - -
- {{'PS-TAB.PROCESS-AUDIT-LOG' | translate}} + Process Audit log
@@ -234,7 +216,7 @@ [appId]="applicationId" [processDefinitionName]="processDefinitionName" [showSelectApplicationDropdown]="showApplications" - [title]="'ADF_PROCESS_LIST.START_PROCESS.FORM.TITLE'" + [title]="'Start Process'" [name]="defaultProcessName" (formContentClicked)="onContentClick($event)" (start)="onStartProcessInstance($event)" @@ -245,8 +227,7 @@
- +

Settings Menu

@@ -261,25 +242,25 @@
- {{ 'PS-TAB.TASK-SHOW-HEADER'| translate }} + Show details header
- Multiselect Process List + Multiselect Process List
- Multiselect Task List + Multiselect Task List
- Show Task list Context menu + Show Task list Context menu
- Show Process list Context menu + Show Process list Context menu
- Show Application dropdown on start process + Show Application dropdown on start process Filter Process definitions diff --git a/demo-shell/src/app/components/process-service/process-service.component.ts b/demo-shell/src/app/components/process-service/process-service.component.ts index b6d264ede5..ddfc4ff507 100644 --- a/demo-shell/src/app/components/process-service/process-service.component.ts +++ b/demo-shell/src/app/components/process-service/process-service.component.ts @@ -527,7 +527,7 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit model: { key: 'taskDetails', icon: 'open', - title: 'TASK_LIST_DEMO.TASK_CONTEXT_MENU', + title: 'Task List Context Menu', visible: true }, subject: new Subject() @@ -542,7 +542,7 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit model: { key: 'processDetails', icon: 'open', - title: 'PROCESS_LIST_DEMO.PROCESS_CONTEXT_MENU', + title: 'Process List Context Menu', visible: true }, subject: new Subject() diff --git a/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.html b/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.html deleted file mode 100644 index 1ad3ac3bb7..0000000000 --- a/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.html +++ /dev/null @@ -1,10 +0,0 @@ -
-
-

Rich Text Editor

- -
-
-

Output Data

-
{{editorOutputData | json}}
-
-
diff --git a/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.scss b/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.scss deleted file mode 100644 index 06e87b1437..0000000000 --- a/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.scss +++ /dev/null @@ -1,26 +0,0 @@ -app-rich-text-editor { - .app-rich-text-editor-container { - display: flex; - - .app-rich-text-editor-col { - padding: 20px; - flex: 1 1 50%; - max-width: 50%; - box-sizing: border-box; - - &-rx { - border-left: 1px dashed var(--theme-primary-color); - border-spacing: 5px; - } - - &-title { - text-align: center; - } - } - - .app-rich-text-editor-output { - max-width: 30vw; - overflow-x: scroll; - } - } -} diff --git a/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.ts b/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.ts deleted file mode 100644 index 72d897fbdd..0000000000 --- a/demo-shell/src/app/components/rich-text-editor/rich-text-editor.component.ts +++ /dev/null @@ -1,108 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { AfterViewInit, Component, OnDestroy, ViewChild, ViewEncapsulation } from '@angular/core'; -import { OutputData } from '@editorjs/editorjs'; -import { RichTextEditorComponent as AdfRichTextEditorComponent } from '@alfresco/adf-process-services-cloud'; -import { takeUntil } from 'rxjs/operators'; -import { Subject } from 'rxjs'; - -@Component({ - selector: 'app-rich-text-editor', - templateUrl: './rich-text-editor.component.html', - styleUrls: ['./rich-text-editor.component.scss'], - encapsulation: ViewEncapsulation.None -}) -export class RichTextEditorComponent implements AfterViewInit, OnDestroy { - - @ViewChild('textEditor') - textEditor: AdfRichTextEditorComponent; - - onDestroy$ = new Subject(); - - editorOutputData: OutputData; - - sampleData = { - time: 1656674370891, - blocks: [ - { - id: '99jwc03ETP', - type: 'header', - data: { - text: 'Header', - level: 2 - } - }, - { - id: 'ffdulIdU1E', - type: 'paragraph', - data: { - text: `is simply dummy text of the printing and typesetting industry. - Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, - when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, - but also the leap into electronic typesetting, remaining essentially unchanged. - It was popularised in the 1960s with the release of sheets containing - Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem`, - alignment: 'left' - } - }, - { - id: 'rTcF4u0pr3', - type: 'list', - data: { - style: 'unordered', - items: [ - 'Unordered list example', - 'Unordered list example' - ] - } - }, - { - id: 'Kg2e_K1nHU', - type: 'list', - data: { - style: 'ordered', - items: [ - 'Ordered list example', - 'Ordered list example' - ] - } - }, - { - id: 'xqqk0DEmqh', - type: 'code', - data: { - code: '// Amazing code example\n\ncatch(Exception ex){\n // Houston, we have a problem\n}' - } - } - ] - }; - - ngAfterViewInit(): void { - this.textEditor.outputData$.pipe( - takeUntil(this.onDestroy$) - ).subscribe(outputData => { - this.editorOutputData = outputData; - }); - } - - ngOnDestroy(): void { - this.onDestroy$.next(true); - this.onDestroy$.complete(); - } - -} diff --git a/demo-shell/src/app/components/rich-text-editor/rich-text-editor.module.ts b/demo-shell/src/app/components/rich-text-editor/rich-text-editor.module.ts deleted file mode 100644 index eb7da3ec7c..0000000000 --- a/demo-shell/src/app/components/rich-text-editor/rich-text-editor.module.ts +++ /dev/null @@ -1,43 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { RichTextEditorComponent } from './rich-text-editor.component'; -import { ContentModule } from '@alfresco/adf-content-services'; -import { RichTextEditorModule } from '@alfresco/adf-process-services-cloud'; -import { CoreModule } from '@alfresco/adf-core'; -import { RouterModule, Routes } from '@angular/router'; - -const routes: Routes = [ - { - path: '', - component: RichTextEditorComponent - } -]; - -@NgModule({ - declarations: [RichTextEditorComponent], - imports: [ - CommonModule, - CoreModule, - RouterModule.forChild(routes), - ContentModule.forChild(), - RichTextEditorModule - ] -}) -export class AppRichTextEditorModule { } diff --git a/demo-shell/src/app/components/search/search-extended.component.html b/demo-shell/src/app/components/search/search-extended.component.html deleted file mode 100644 index f855401e48..0000000000 --- a/demo-shell/src/app/components/search/search-extended.component.html +++ /dev/null @@ -1,33 +0,0 @@ -
-
- - - - -
-
- - - - -
- {{ item?.entry.name }} - {{ item?.entry.createdAt }} -
- - -

- {{'APP_LAYOUT.SEARCH_CREATED_BY' | translate}}: {{item?.entry.createdByUser?.displayName}} -

-
-
- -

{{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm: searchedWord} }}

-
-
-
-
-
diff --git a/demo-shell/src/app/components/search/search-extended.component.scss b/demo-shell/src/app/components/search/search-extended.component.scss deleted file mode 100644 index 8ed56dada9..0000000000 --- a/demo-shell/src/app/components/search/search-extended.component.scss +++ /dev/null @@ -1,63 +0,0 @@ -div.app-search-results-container { - padding: 0 20px 20px; -} - -.app-search-title { - font-size: 22px; - padding: 15px 0; -} - -@media screen and (max-width: 600px) { - :host .app-col-display-name { - min-width: 100px; - } - - :host .app-col-modified-at, - :host .app-col-modified-by { - display: none; - } - - :host div.app-search-results-container table { - width: 100%; - } -} - -.app-search-results-content { - display: flex; -} - -.app-search-extended-input-containers { - display: flex; - flex-direction: row-reverse; - justify-content: space-evenly; -} - -.app-search-extended-input-textarea { - width: 300px; -} - -.app-search-extended-label-error { - display: flex; - flex-direction: column; -} - -.app-example-card { - width: 200px; - flex: 0 20%; - margin: 15px; -} - -.app-example-card-search-container { - display: flex; - flex-wrap: wrap; -} - -.example-header-image { - background-size: cover; - margin-bottom: 15px; -} - -.example-search-input { - width: 100px; - border: 1px solid black; -} diff --git a/demo-shell/src/app/components/search/search-extended.component.ts b/demo-shell/src/app/components/search/search-extended.component.ts deleted file mode 100644 index 29332607c6..0000000000 --- a/demo-shell/src/app/components/search/search-extended.component.ts +++ /dev/null @@ -1,65 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, ViewChild, ViewEncapsulation } from '@angular/core'; -import { Pagination, QueryBody, MinimalNodeEntity } from '@alfresco/js-api'; -import { ThumbnailService } from '@alfresco/adf-core'; -import { SearchService, SearchConfigurationService, SearchComponent } from '@alfresco/adf-content-services'; -import { TestSearchConfigurationService } from './search-config-test.service'; - -@Component({ - selector: 'app-search-extended-component', - templateUrl: './search-extended.component.html', - styleUrls: ['./search-extended.component.scss'], - encapsulation: ViewEncapsulation.None, - providers: [ - { provide: SearchConfigurationService, useClass: TestSearchConfigurationService }, - SearchService - ] -}) -export class SearchExtendedComponent { - - @ViewChild('search') - search: SearchComponent; - - queryParamName = 'q'; - searchedWord = ''; - queryBodyString = ''; - errorMessage = ''; - maxItems: number; - skipCount = 0; - pagination: Pagination; - queryBody: QueryBody; - - constructor(public thumbnailService: ThumbnailService) { - - } - - getMimeTypeIcon(node: MinimalNodeEntity): string { - let mimeType; - - if (node.entry.content && node.entry.content.mimeType) { - mimeType = node.entry.content.mimeType; - } - if (node.entry.isFolder) { - mimeType = 'folder'; - } - - return this.thumbnailService.getMimeTypeIcon(mimeType); - } - -} diff --git a/demo-shell/src/app/components/settings/host-settings.component.html b/demo-shell/src/app/components/settings/host-settings.component.html index 39d7bb6499..74162f4cef 100644 --- a/demo-shell/src/app/components/settings/host-settings.component.html +++ b/demo-shell/src/app/components/settings/host-settings.component.html @@ -1,9 +1,8 @@
- - + {{ provider }} @@ -11,44 +10,31 @@
-
{{'APP.HOST_SETTINGS.TYPE-AUTH' | translate }} :
+
Authentication type :
- {{'APP.HOST_SETTINGS.BASIC' | translate }} - - {{'APP.HOST_SETTINGS.SSO' | translate }} - + Basic Authentication + SSO
- {{'APP.HOST_SETTINGS.CS-HOST' | translate }} - - - {{ 'APP.HOST_SETTINGS.NOT_VALID'| translate }} - - - {{ 'APP.HOST_SETTINGS.REQUIRED'| translate }} - + Content Services URL + + {{ ERR_INVALID_URL }} + {{ ERR_REQUIRED }} -

- {{'APP.HOST_SETTINGS.BP-HOST' | translate }} - - - {{ 'APP.HOST_SETTINGS.NOT_VALID'| translate }} - - - {{ 'APP.HOST_SETTINGS.REQUIRED'| translate }} - + Process Services URL + + {{ ERR_INVALID_URL }} + {{ ERR_REQUIRED }} @@ -57,14 +43,9 @@ Identity Host - - - {{ 'APP.HOST_SETTINGS.NOT_VALID'| translate }} - - - {{ 'APP.HOST_SETTINGS.REQUIRED'| translate }} - + + {{ ERR_INVALID_URL }} + {{ ERR_REQUIRED }} @@ -73,91 +54,66 @@

Auth Host - - - {{ 'APP.HOST_SETTINGS.NOT_VALID'| translate }} - - - {{ 'APP.HOST_SETTINGS.REQUIRED'| translate }} - - - - {{ 'APP.HOST_SETTINGS.CLIENT'| translate }} - - - {{ 'APP.HOST_SETTINGS.REQUIRED'| translate }} - + + {{ ERR_INVALID_URL }} + {{ ERR_REQUIRED }} - {{ 'APP.HOST_SETTINGS.SCOPE'| translate }} - - - {{ 'APP.HOST_SETTINGS.REQUIRED'| translate }} - + Client ID + + {{ ERR_REQUIRED }} - {{ 'APP.HOST_SETTINGS.SECRET'| translate }} - - - {{ 'APP.HOST_SETTINGS.REQUIRED'| translate }} - + Scope Id + + {{ ERR_REQUIRED }} - - + + Secret + + {{ ERR_REQUIRED }} + + + Silent Login + - - + Implicit Flow + - - + Code Flow + - {{ 'APP.HOST_SETTINGS.REDIRECT'| translate }} - - - {{ 'APP.HOST_SETTINGS.REQUIRED'| translate }} - + Redirect URI + + {{ ERR_REQUIRED }} - {{ 'APP.HOST_SETTINGS.REDIRECT_LOGOUT'| translate }} - + Redirect URI Logout + - {{ 'APP.HOST_SETTINGS.PUBLIC_URLS'| translate }} - + Public urls silent Login +
- - + +
diff --git a/demo-shell/src/app/components/settings/host-settings.component.ts b/demo-shell/src/app/components/settings/host-settings.component.ts index 44ca02a74d..083a285a36 100644 --- a/demo-shell/src/app/components/settings/host-settings.component.ts +++ b/demo-shell/src/app/components/settings/host-settings.component.ts @@ -19,15 +19,15 @@ import { Component, EventEmitter, Output, ViewEncapsulation, OnInit, Input } fro import { Validators, UntypedFormGroup, UntypedFormBuilder, UntypedFormControl } from '@angular/forms'; import { AppConfigService, AppConfigValues, StorageService, AlfrescoApiService, AuthenticationService } from '@alfresco/adf-core'; import { ENTER } from '@angular/cdk/keycodes'; +import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field'; export const HOST_REGEX = '^(http|https):\/\/.*[^/]$'; @Component({ + providers: [{ provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { floatLabel: 'always' } }], selector: 'adf-host-settings', templateUrl: 'host-settings.component.html', - host: { - class: 'adf-host-settings' - }, + host: { class: 'adf-host-settings' }, styleUrls: ['./host-settings.component.scss'], encapsulation: ViewEncapsulation.None }) @@ -40,9 +40,12 @@ export class HostSettingsComponent implements OnInit { providers: string[] = ['BPM', 'ECM', 'ALL']; showSelectProviders = true; - form: UntypedFormGroup; + ERR_REQUIRED = 'This field is required'; + ERR_INVALID_URL = 'http(s)://host|ip:port(/path) not recognized, try a different URL.'; + PLACEHOLDER_URL: 'http(s)://host|ip:port(/path)'; + /** Emitted when the URL is invalid. */ @Output() // eslint-disable-next-line @angular-eslint/no-output-native @@ -268,14 +271,6 @@ export class HostSettingsComponent implements OnInit { return this.oauthConfig.get('secret') as UntypedFormControl; } - get implicitFlow(): UntypedFormControl { - return this.oauthConfig.get('implicitFlow') as UntypedFormControl; - } - - get codeFlow(): UntypedFormControl { - return this.oauthConfig.get('codeFlow') as UntypedFormControl; - } - get silentLogin(): UntypedFormControl { return this.oauthConfig.get('silentLogin') as UntypedFormControl; } @@ -284,14 +279,6 @@ export class HostSettingsComponent implements OnInit { return this.oauthConfig.get('redirectUri') as UntypedFormControl; } - get publicUrls(): UntypedFormControl { - return this.oauthConfig.get('publicUrls') as UntypedFormControl; - } - - get redirectUriLogout(): UntypedFormControl { - return this.oauthConfig.get('redirectUriLogout') as UntypedFormControl; - } - get oauthConfig(): UntypedFormControl { return this.form.get('oauthConfig') as UntypedFormControl; } diff --git a/demo-shell/src/app/components/sites/sites.component.html b/demo-shell/src/app/components/sites/sites.component.html deleted file mode 100644 index 487d40b193..0000000000 --- a/demo-shell/src/app/components/sites/sites.component.html +++ /dev/null @@ -1,28 +0,0 @@ -

Select Site

- - - -Current Selected Site {{currentSelectedSite}} - - -

Hide My Files

- - - - -

Select Default Site

- -
- - - - -
- - -
- - -
- - diff --git a/demo-shell/src/app/components/sites/sites.component.ts b/demo-shell/src/app/components/sites/sites.component.ts deleted file mode 100644 index 6d1e5a6aa1..0000000000 --- a/demo-shell/src/app/components/sites/sites.component.ts +++ /dev/null @@ -1,39 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-sites', - templateUrl: './sites.component.html' -}) -export class SitesComponent { - - currentSelectedSite: string; - hideMyFiles: boolean = false; - showDefaultSite: boolean = false; - defaultSite: string; - - onSiteChange($event: any) { - this.currentSelectedSite = JSON.stringify($event.entry); - } - - applySite() { - this.showDefaultSite = true; - } - -} diff --git a/demo-shell/src/app/components/sites/sites.module.ts b/demo-shell/src/app/components/sites/sites.module.ts deleted file mode 100644 index fd0f5b61f0..0000000000 --- a/demo-shell/src/app/components/sites/sites.module.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { SitesComponent } from './sites.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; - -const routes: Routes = [ - { - path: '', - component: SitesComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - RouterModule.forChild(routes), - CoreModule, - ContentModule.forChild() - ], - declarations: [SitesComponent] -}) -export class SitesModule {} diff --git a/demo-shell/src/app/components/social/social.component.html b/demo-shell/src/app/components/social/social.component.html deleted file mode 100644 index 5a98e62638..0000000000 --- a/demo-shell/src/app/components/social/social.component.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
- -
- -
- {{'SOCIAL.LIKE' | translate }} -
- -
- -
- {{'SOCIAL.RATING' | translate }} -
- -
-
diff --git a/demo-shell/src/app/components/social/social.component.scss b/demo-shell/src/app/components/social/social.component.scss deleted file mode 100644 index a318ca2676..0000000000 --- a/demo-shell/src/app/components/social/social.component.scss +++ /dev/null @@ -1,25 +0,0 @@ -app-social { - .app-social-example-areas { - flex-direction: column; - box-sizing: border-box; - display: flex; - place-content: stretch flex-start; - align-items: stretch; - - .app-social-example-area { - margin: 10px; - - .app-social-example-title { - padding-bottom: 12px; - } - } - - @media screen and (min-width: 1280px) { - flex-direction: row; - - .app-social-example-area { - flex: 1 1 auto; - } - } - } -} diff --git a/demo-shell/src/app/components/social/social.component.ts b/demo-shell/src/app/components/social/social.component.ts deleted file mode 100644 index 0c543dafe1..0000000000 --- a/demo-shell/src/app/components/social/social.component.ts +++ /dev/null @@ -1,32 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, ViewEncapsulation } from '@angular/core'; - -/** - * @deprecated This component uses Like and Rating components that are not used in ACA/ADW/ACC and can be removed. - */ -@Component({ - selector: 'app-social', - templateUrl: './social.component.html', - styleUrls: ['./social.component.scss'], - encapsulation: ViewEncapsulation.None -}) -export class SocialComponent { - - nodeId = '74cd8a96-8a21-47e5-9b3b-a1b3e296787d'; -} diff --git a/demo-shell/src/app/components/social/social.module.ts b/demo-shell/src/app/components/social/social.module.ts deleted file mode 100644 index 1d1c484889..0000000000 --- a/demo-shell/src/app/components/social/social.module.ts +++ /dev/null @@ -1,44 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { SocialComponent } from './social.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; - -const routes: Routes = [ - { - path: '', - component: SocialComponent - } -]; - -/** - * @deprecated This module uses Like and Rating components that are not used in ACA/ADW/ACC and can be removed. - */ -@NgModule({ - imports: [ - CommonModule, - RouterModule.forChild(routes), - CoreModule, - ContentModule.forChild() - ], - declarations: [SocialComponent] -}) -export class AppSocialModule {} diff --git a/demo-shell/src/app/components/tag/tag.component.html b/demo-shell/src/app/components/tag/tag.component.html deleted file mode 100644 index 40da020418..0000000000 --- a/demo-shell/src/app/components/tag/tag.component.html +++ /dev/null @@ -1,35 +0,0 @@ -
- - - -
-
- - - - -
- {{'TAG.LIST' | translate }} -
- -
-
- -
- {{'TAG.NODE_LIST' | translate }} -
- -
- -

- - Show Delete Button - -

- -
-
diff --git a/demo-shell/src/app/components/tag/tag.component.scss b/demo-shell/src/app/components/tag/tag.component.scss deleted file mode 100644 index b1bf34bcb7..0000000000 --- a/demo-shell/src/app/components/tag/tag.component.scss +++ /dev/null @@ -1,25 +0,0 @@ -app-tag { - .app-tag-example-areas { - flex-direction: column; - box-sizing: border-box; - display: flex; - place-content: stretch flex-start; - align-items: stretch; - - .app-tag-example-area { - margin: 10px; - - .app-tag-example-title { - padding-bottom: 12px; - } - } - - @media screen and (min-width: 1280px) { - flex-direction: row; - - .app-tag-example-area { - flex: 1 1 auto; - } - } - } -} diff --git a/demo-shell/src/app/components/tag/tag.component.ts b/demo-shell/src/app/components/tag/tag.component.ts deleted file mode 100644 index 7ba121fd00..0000000000 --- a/demo-shell/src/app/components/tag/tag.component.ts +++ /dev/null @@ -1,39 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, ViewEncapsulation } from '@angular/core'; - -@Component({ - selector: 'app-tag', - templateUrl: './tag.component.html', - styleUrls: ['./tag.component.scss'], - encapsulation: ViewEncapsulation.None -}) -export class TagComponent { - - nodeId = ''; - nodeIdInput = ''; - showDelete = true; - - toggleDeleteButton() { - this.showDelete = !this.showDelete; - } - - onSubmit() { - this.nodeId = this.nodeIdInput; - } -} diff --git a/demo-shell/src/app/components/tag/tag.module.ts b/demo-shell/src/app/components/tag/tag.module.ts deleted file mode 100644 index bc81a2f8f6..0000000000 --- a/demo-shell/src/app/components/tag/tag.module.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { TagComponent } from './tag.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; - -const routes: Routes = [ - { - path: '', - component: TagComponent - } -]; - -@NgModule({ - imports: [ - CommonModule, - RouterModule.forChild(routes), - CoreModule, - ContentModule.forChild() - ], - declarations: [TagComponent] -}) -export class AppTagModule {} diff --git a/demo-shell/src/app/components/task-list-demo/task-list-demo.component.html b/demo-shell/src/app/components/task-list-demo/task-list-demo.component.html index 3dc046024b..2721918a71 100644 --- a/demo-shell/src/app/components/task-list-demo/task-list-demo.component.html +++ b/demo-shell/src/app/components/task-list-demo/task-list-demo.component.html @@ -7,7 +7,7 @@ matInput [formControl]="taskAppId" data-automation-id="appId input"> - {{ 'TASK_LIST_DEMO.ERROR_MESSAGE.APP_ID_TYPE_ERROR' | translate }} + App ID must be a number @@ -30,10 +30,10 @@ - {{ 'TASK_LIST_DEMO.ERROR_MESSAGE.NUMBER_TYPE_ERROR' | translate }} + Value must be a number @@ -62,10 +62,10 @@ class="form-control" [formControl]="taskSize" data-automation-id="items per page"> - {{ 'TASK_LIST_DEMO.ERROR_MESSAGE.NUMBER_GREATER_THAN' | translate: { value: minValue } }} + {{ 'Value must be greater than or equal to ' + minValue }} - {{ 'TASK_LIST_DEMO.ERROR_MESSAGE.NUMBER_TYPE_ERROR' | translate }} + Value must be a number @@ -76,10 +76,10 @@ class="form-control" [formControl]="taskPage" data-automation-id="page"> - {{ 'TASK_LIST_DEMO.ERROR_MESSAGE.NUMBER_GREATER_THAN' | translate: { value: minValue } }} + {{ 'Value must be greater than or equal to ' + minValue }} - {{ 'TASK_LIST_DEMO.ERROR_MESSAGE.NUMBER_TYPE_ERROR' | translate }} + Value must be a number @@ -132,9 +132,7 @@ Sort - {{ sortOption.title - }} - + {{ sortOption.title }} diff --git a/demo-shell/src/app/components/template-list/template-demo.component.html b/demo-shell/src/app/components/template-list/template-demo.component.html deleted file mode 100644 index 901123610f..0000000000 --- a/demo-shell/src/app/components/template-list/template-demo.component.html +++ /dev/null @@ -1,35 +0,0 @@ -

Document List Demo Page

- -

Default Loading Template

- - - -

Custom Loading Template

- - - This is a custom loading template - - - - -

Default No Permission Template

- - - -

Custom No Permission Template

- - - This is a custom no permission templatepan_tool You shall not see the content - - - -

Default Empty Content Template

- - - -

Custom Empty Content Template

- - -
This is a custom no content template
-
-
diff --git a/demo-shell/src/app/components/template-list/template-demo.component.ts b/demo-shell/src/app/components/template-list/template-demo.component.ts deleted file mode 100644 index 18190d641e..0000000000 --- a/demo-shell/src/app/components/template-list/template-demo.component.ts +++ /dev/null @@ -1,57 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component, ViewChild, AfterViewChecked } from '@angular/core'; -import { DocumentListComponent } from '@alfresco/adf-content-services'; -import { ObjectDataTableAdapter } from '@alfresco/adf-core'; - -@Component({ - selector: 'app-template-list', - templateUrl: './template-demo.component.html' -}) -export class TemplateDemoComponent implements AfterViewChecked { - - @ViewChild('defaultDocumentList', { static: true }) - defaultDocumentListComponent: DocumentListComponent; - - @ViewChild('customLoadingDocumentList', { static: true }) - customLoadingDocumentList: DocumentListComponent; - - @ViewChild('customNoPermissionDocumentList', { static: true }) - customNoPermissionDocumentList: DocumentListComponent; - - @ViewChild('defaultNoPermissionDocumentList', { static: true }) - defaultNoPermissionDocumentList: DocumentListComponent; - - @ViewChild('customEmptyDocumentList', { static: true }) - customEmptyDocumentList: DocumentListComponent; - - @ViewChild('defaultEmptyDocumentList', { static: true }) - defaultEmptyDocumentList: DocumentListComponent; - - constructor() { - } - - ngAfterViewChecked(): void { - this.defaultDocumentListComponent.dataTable.loading = true; - this.customLoadingDocumentList.dataTable.loading = true; - this.customEmptyDocumentList.dataTable.data = new ObjectDataTableAdapter(); - this.defaultEmptyDocumentList.dataTable.data = new ObjectDataTableAdapter(); - this.customNoPermissionDocumentList.dataTable.noPermission = true; - this.defaultNoPermissionDocumentList.dataTable.noPermission = true; - } -} diff --git a/demo-shell/src/app/components/theme-picker/style-manager/style-manager.ts b/demo-shell/src/app/components/theme-picker/style-manager/style-manager.ts deleted file mode 100644 index a200d58f65..0000000000 --- a/demo-shell/src/app/components/theme-picker/style-manager/style-manager.ts +++ /dev/null @@ -1,63 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Injectable } from '@angular/core'; - -/** - * Class for managing stylesheets. Stylesheets are loaded into named slots so that they can be - * removed or changed later. - */ -@Injectable({ providedIn: 'root' }) -export class StyleManager { - /** - * Set the stylesheet with the specified key. - */ - setStyle(key: string, href: string) { - getLinkElementForKey(key).setAttribute('href', href); - } - - /** - * Remove the stylesheet with the specified key. - */ - removeStyle(key: string) { - const existingLinkElement = getExistingLinkElementByKey(key); - if (existingLinkElement) { - document.head.removeChild(existingLinkElement); - } - } -} - -function getLinkElementForKey(key: string) { - return getExistingLinkElementByKey(key) || createLinkElementWithKey(key); -} - -function getExistingLinkElementByKey(key: string) { - return document.head.querySelector(`link[rel="stylesheet"].${getClassNameForKey(key)}`); -} - -function createLinkElementWithKey(key: string) { - const linkEl = document.createElement('link'); - linkEl.setAttribute('rel', 'stylesheet'); - linkEl.setAttribute('type', 'text/css'); - linkEl.classList.add(getClassNameForKey(key)); - document.head.appendChild(linkEl); - return linkEl; -} - -function getClassNameForKey(key: string) { - return `style-manager-${key}`; -} diff --git a/demo-shell/src/app/components/theme-picker/theme-picker.css b/demo-shell/src/app/components/theme-picker/theme-picker.css deleted file mode 100644 index ce59d7181d..0000000000 --- a/demo-shell/src/app/components/theme-picker/theme-picker.css +++ /dev/null @@ -1,26 +0,0 @@ -.docs-theme-picker-menu .mat-menu-content { - padding: 8px; -} - -.docs-theme-picker-menu [mat-menu-item] { - flex: 0 0 auto; - padding: 0; - overflow: hidden; -} - - -.docs-theme-picker-menu .docs-theme-picker-primary { - width: 25px; - height: 25px; -} - -.docs-theme-picker-menu .docs-theme-picker-accent { - position: absolute; - bottom: 6px; - width: 100%; - height: 6px; - } - -.docs-theme-chosen-icon{ - border-radius: 13px; -} diff --git a/demo-shell/src/app/components/theme-picker/theme-picker.html b/demo-shell/src/app/components/theme-picker/theme-picker.html deleted file mode 100644 index 3913ebefa1..0000000000 --- a/demo-shell/src/app/components/theme-picker/theme-picker.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - diff --git a/demo-shell/src/app/components/theme-picker/theme-picker.ts b/demo-shell/src/app/components/theme-picker/theme-picker.ts deleted file mode 100644 index 5add8fc638..0000000000 --- a/demo-shell/src/app/components/theme-picker/theme-picker.ts +++ /dev/null @@ -1,152 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { CommonModule } from '@angular/common'; -import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core'; -import { MatButtonModule } from '@angular/material/button'; -import { MatGridListModule } from '@angular/material/grid-list'; -import { MatIconModule } from '@angular/material/icon'; -import { MatListModule } from '@angular/material/list'; -import { MatMenuModule } from '@angular/material/menu'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { StyleManager } from './style-manager/style-manager'; -import { DocsSiteTheme, ThemeStorage } from './theme-storage/theme-storage'; - -@Component({ - selector: 'app-theme-picker', - templateUrl: './theme-picker.html', - styleUrls: ['./theme-picker.css'], - changeDetection: ChangeDetectionStrategy.OnPush, - host: {'aria-hidden': 'true'} -}) -export class ThemePickerComponent { - currentTheme; - - themes = [ - { - primary: '#ff9800', - accent: '#3f51b5', - name: 'Developer Theme', - href: '', - isDefault: true - }, - { - primary: '#00bcd4', - accent: '#ff9800', - name: 'ECM Cyan Orange', - href: 'adf-cyan-orange.css', - isDark: false - }, - { - primary: '#00bcd4', - accent: '#3f51b5', - name: 'ECM Cyan Purple', - href: 'adf-cyan-purple.css', - isDark: false - }, - { - primary: '#8bc34a', - accent: '#ff9800', - name: 'BPM Green Orange', - href: 'adf-green-orange.css', - isDark: false - }, - { - primary: '#8bc34a', - accent: '#3f51b5', - name: 'BPM Green Purple', - href: 'adf-green-purple.css', - isDark: false - }, - { - primary: '#3f51b5', - accent: '#ff4081', - name: 'Indigo Pink', - href: 'adf-indigo-pink.css', - isDark: false - }, - { - primary: '#c2185b', - accent: '#b0bec5', - /* cspell:disable-next-line */ - name: 'Pink Bluegrey Dark', - /* cspell:disable-next-line */ - href: 'adf-pink-bluegrey.css', - isDark: false - }, - { - primary: '#7b1fa2', - accent: '#69f0ae', - name: 'Purple Green Dark', - href: 'adf-purple-green.css', - isDark: false - }, - { - primary: '#2196f3', - accent: '#ff9800', - name: 'ECM Blue Orange', - href: 'adf-blue-orange.css', - isDark: false - }, - { - primary: '#2196f3', - accent: '#3f51b5', - name: 'ECM Blue Purple', - href: 'adf-blue-purple.css', - isDark: false - } - ]; - - constructor(public styleManager: StyleManager, - private themeStorage: ThemeStorage) { - - } - - installTheme(theme: DocsSiteTheme) { - if (theme.isDefault === true) { - this.styleManager.setStyle('theme', ``); - } else { - this.currentTheme = this.getCurrentThemeFromHref(theme.href); - - this.styleManager.setStyle('theme', theme.href); - - if (this.currentTheme) { - this.themeStorage.storeTheme(this.currentTheme); - } - } - } - - private getCurrentThemeFromHref(href: string): DocsSiteTheme { - return this.themes.find((theme) => theme.href === href); - } -} - -@NgModule({ - imports: [ - MatButtonModule, - MatIconModule, - MatMenuModule, - MatGridListModule, - MatTooltipModule, - MatListModule, - CommonModule - ], - exports: [ThemePickerComponent], - declarations: [ThemePickerComponent] -}) -export class ThemePickerModule { -} diff --git a/demo-shell/src/app/components/theme-picker/theme-storage/theme-storage.ts b/demo-shell/src/app/components/theme-picker/theme-storage/theme-storage.ts deleted file mode 100644 index 0bd744a033..0000000000 --- a/demo-shell/src/app/components/theme-picker/theme-storage/theme-storage.ts +++ /dev/null @@ -1,56 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { EventEmitter, Injectable } from '@angular/core'; - -export interface DocsSiteTheme { - href: string; - name: string; - accent: string; - primary: string; - isDark?: boolean; - isDefault?: boolean; -} - -@Injectable({ providedIn: 'root' }) -export class ThemeStorage { - static storageKey = 'docs-theme-storage-current'; - - onThemeUpdate = new EventEmitter(); - - storeTheme(theme: DocsSiteTheme) { - try { - window.localStorage[ThemeStorage.storageKey] = JSON.stringify(theme); - } catch (e) { } - - this.onThemeUpdate.emit(theme); - } - - getStoredTheme(): DocsSiteTheme { - try { - return JSON.parse(window.localStorage[ThemeStorage.storageKey] || null); - } catch (e) { - return null; - } - } - - clearStorage() { - try { - window.localStorage.removeItem(ThemeStorage.storageKey); - } catch (e) { } - } -} diff --git a/demo-shell/src/app/components/trashcan/trashcan.component.html b/demo-shell/src/app/components/trashcan/trashcan.component.html index 8067864bc8..3757530d1c 100644 --- a/demo-shell/src/app/components/trashcan/trashcan.component.html +++ b/demo-shell/src/app/components/trashcan/trashcan.component.html @@ -1,7 +1,6 @@
- - + @@ -20,7 +19,7 @@ (restore)="onRestore($event)" [adf-restore]="$any(documentList).selection" *ngIf="documentList.selection.length" - title="{{ 'TRASHCAN.ACTIONS.RESTORE' | translate }}"> + title="Restore"> restore @@ -41,9 +40,9 @@ -
{{ 'TRASHCAN.EMPTY_STATE.FIRST_TEXT' | translate }}
-
{{ 'TRASHCAN.EMPTY_STATE.SECOND_TEXT' | translate }}
+ [title]="'Trash is empty'"> +
Items you delete are moved to the Trash.
+
Empty Trash to permanently delete items.
@@ -59,7 +58,7 @@ + title="Display name"> {{ value }} @@ -68,13 +67,13 @@ + title="Deleted on"> {{ value | adfTimeAgo: currentLocale }} @@ -84,14 +83,13 @@ + title="Deleted by"> - - + +
diff --git a/demo-shell/src/app/components/webscript/webscript.component.html b/demo-shell/src/app/components/webscript/webscript.component.html deleted file mode 100644 index aff4ccb9ce..0000000000 --- a/demo-shell/src/app/components/webscript/webscript.component.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-
-
- - diff --git a/demo-shell/src/app/components/webscript/webscript.component.ts b/demo-shell/src/app/components/webscript/webscript.component.ts deleted file mode 100644 index 1157b953b9..0000000000 --- a/demo-shell/src/app/components/webscript/webscript.component.ts +++ /dev/null @@ -1,41 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { Component } from '@angular/core'; -import { LogService } from '@alfresco/adf-core'; - -/** - * @deprecated Webscript component has never been turned into a product and has no UI/UX and no use cases in ACA/ADW/ACC. - */ -@Component({ - selector: 'app-webscript', - templateUrl: './webscript.component.html' -}) -export class WebscriptComponent { - - scriptPath = 'sample/folder/Company%20Home'; - contextRoot = 'alfresco'; - servicePath = 'service'; - scriptArgs = ''; - - constructor(private logService: LogService) { - } - - logData(data) { - this.logService.log(data); - } -} diff --git a/demo-shell/src/app/components/webscript/webscript.module.ts b/demo-shell/src/app/components/webscript/webscript.module.ts deleted file mode 100644 index 530e99c99f..0000000000 --- a/demo-shell/src/app/components/webscript/webscript.module.ts +++ /dev/null @@ -1,44 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { WebscriptComponent } from './webscript.component'; -import { Routes, RouterModule } from '@angular/router'; -import { CommonModule } from '@angular/common'; -import { CoreModule } from '@alfresco/adf-core'; -import { ContentModule } from '@alfresco/adf-content-services'; - -const routes: Routes = [ - { - path: '', - component: WebscriptComponent - } -]; - -/** - * @deprecated Webscript component has never been turned into a product and has no UI/UX and no use cases in ACA/ADW/ACC. - */ -@NgModule({ - imports: [ - CommonModule, - RouterModule.forChild(routes), - CoreModule, - ContentModule.forChild() - ], - declarations: [WebscriptComponent] -}) -export class AppWebScriptModule {} diff --git a/docs/core/components/data-column.component.md b/docs/core/components/data-column.component.md index 69dad28623..5825331a04 100644 --- a/docs/core/components/data-column.component.md +++ b/docs/core/components/data-column.component.md @@ -213,7 +213,7 @@ within the document list. ```html diff --git a/docs/core/pipes/node-name-tooltip.pipe.md b/docs/core/pipes/node-name-tooltip.pipe.md index 94677efd19..f19d0c12d9 100644 --- a/docs/core/pipes/node-name-tooltip.pipe.md +++ b/docs/core/pipes/node-name-tooltip.pipe.md @@ -15,7 +15,7 @@ Formats the tooltip for a [`Node`](https://github.com/Alfresco/alfresco-js-api/b ```html + title="Name"> {{ value }} diff --git a/docs/process-services/components/start-process.component.md b/docs/process-services/components/start-process.component.md index b39489df47..230d0a5e50 100644 --- a/docs/process-services/components/start-process.component.md +++ b/docs/process-services/components/start-process.component.md @@ -67,7 +67,7 @@ Starts a process. ```html @@ -186,7 +186,7 @@ Now you can start process based on selected application from the dropdown. The p ```html @@ -204,7 +204,7 @@ When an error occurs, the component will emit an error event that can be used to ```html diff --git a/docs/release-notes/RelNote170.md b/docs/release-notes/RelNote170.md index e320f54cfb..93dab19fde 100644 --- a/docs/release-notes/RelNote170.md +++ b/docs/release-notes/RelNote170.md @@ -85,7 +85,7 @@ Two new content actions have been added, the "copy" and the "move" for both fold @@ -93,7 +93,7 @@ Two new content actions have been added, the "copy" and the "move" for both fold diff --git a/e2e/content-services/components/permissions-component.e2e.ts b/e2e/content-services/components/permissions-component.e2e.ts index 7694844f5c..8e9372d345 100644 --- a/e2e/content-services/components/permissions-component.e2e.ts +++ b/e2e/content-services/components/permissions-component.e2e.ts @@ -18,7 +18,8 @@ import { PermissionsPage } from '../../content-services/pages/permissions.page'; import { ContentServicesPage } from '../../core/pages/content-services.page'; import { FileModel } from '../../models/ACS/file.model'; -import { createApiService, +import { + createApiService, BrowserActions, Logger, LoginPage, NotificationHistoryPage, @@ -28,14 +29,14 @@ import { createApiService, UploadActions, UserModel, UsersActions, - ViewerPage + ViewerPage, + SnackbarPage } from '@alfresco/adf-testing'; import { browser } from 'protractor'; import { FolderModel } from '../../models/ACS/folder.model'; import { MetadataViewPage } from '../../core/pages/metadata-view.page'; import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; import { UploadDialogPage } from '../../core/pages/dialog/upload-dialog.page'; -import { NotificationDemoPage } from '../../core/pages/notification.page'; import { GroupsApi } from '@alfresco/js-api'; describe('Permissions Component', () => { @@ -47,7 +48,7 @@ describe('Permissions Component', () => { const navigationBarPage = new NavigationBarPage(); const uploadActions = new UploadActions(apiService); const usersActions = new UsersActions(apiService); - const notificationPage = new NotificationDemoPage(); + const snackbarPage = new SnackbarPage(); const searchService = new SearchService(apiService); const permissionActions = new PermissionActions(apiService); const groupsApi = new GroupsApi(apiService.getInstance()); @@ -177,7 +178,7 @@ describe('Permissions Component', () => { await permissionsPage.addPermissionsDialog.selectRole(groupBody.displayName, 'Consumer'); await expect(await permissionsPage.addPermissionsDialog.addButtonIsEnabled()).toBe(true, 'button should be enabled'); await permissionsPage.addPermissionsDialog.clickAddButton(); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('Added 0 user(s) 1 group(s)'); + await expect(await snackbarPage.getSnackBarMessage()).toEqual('Added 0 user(s) 1 group(s)'); await permissionsPage.checkUserIsAdded(groupBody.id); }); @@ -198,8 +199,8 @@ describe('Permissions Component', () => { await permissionsPage.checkPermissionListDisplayed(); await expect(await permissionsPage.isInherited()).toBe(true, 'Inherited permission should be on'); await permissionsPage.toggleInheritPermission(); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toContain('Disabled inherited permission', 'Disabled notification not shown'); - await notificationPage.snackbarPage.waitForSnackBarToClose(); + await expect(await snackbarPage.getSnackBarMessage()).toContain('Disabled inherited permission', 'Disabled notification not shown'); + await snackbarPage.waitForSnackBarToClose(); await expect(await permissionsPage.isInherited()).toBe(false, 'Inherited permission should be off'); }); }); @@ -226,8 +227,8 @@ describe('Permissions Component', () => { await permissionsPage.addPermissionsDialog.selectRole(filePermissionUser.fullName, 'Contributor'); await expect(await permissionsPage.addPermissionsDialog.addButtonIsEnabled()).toBe(true, 'button should be enabled'); await permissionsPage.addPermissionsDialog.clickAddButton(); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('Added 1 user(s) 0 group(s)'); - await notificationPage.snackbarPage.waitForSnackBarToClose(); + await expect(await snackbarPage.getSnackBarMessage()).toEqual('Added 1 user(s) 0 group(s)'); + await snackbarPage.waitForSnackBarToClose(); await permissionsPage.checkUserIsAdded(filePermissionUser.username); }); @@ -250,19 +251,19 @@ describe('Permissions Component', () => { await BrowserActions.closeMenuAndDialogs(); await permissionsPage.changePermission(filePermissionUser.username, 'Collaborator'); - await notificationPage.snackbarPage.waitForSnackBarToClose(); + await snackbarPage.waitForSnackBarToClose(); await expect(await permissionsPage.getRoleCellValue(filePermissionUser.username)).toEqual('Collaborator'); await permissionsPage.changePermission(filePermissionUser.username, 'Coordinator'); - await notificationPage.snackbarPage.waitForSnackBarToClose(); + await snackbarPage.waitForSnackBarToClose(); await expect(await permissionsPage.getRoleCellValue(filePermissionUser.username)).toEqual('Coordinator'); await permissionsPage.changePermission(filePermissionUser.username, 'Editor'); - await notificationPage.snackbarPage.waitForSnackBarToClose(); + await snackbarPage.waitForSnackBarToClose(); await expect(await permissionsPage.getRoleCellValue(filePermissionUser.username)).toEqual('Editor'); await permissionsPage.changePermission(filePermissionUser.username, 'Consumer'); - await notificationPage.snackbarPage.waitForSnackBarToClose(); + await snackbarPage.waitForSnackBarToClose(); await expect(await permissionsPage.getRoleCellValue(filePermissionUser.username)).toEqual('Consumer'); }); @@ -281,7 +282,7 @@ describe('Permissions Component', () => { await expect(await permissionsPage.getRoleCellValue(filePermissionUser.username)).toEqual('Contributor'); await permissionsPage.clickDeletePermissionButton(filePermissionUser.username); await permissionsPage.checkUserIsDeleted(filePermissionUser.username); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('User/Group deleted'); + await expect(await snackbarPage.getSnackBarMessage()).toEqual('User/Group deleted'); }); }); @@ -303,11 +304,11 @@ describe('Permissions Component', () => { await BrowserActions.closeMenuAndDialogs(); await contentList.checkActionMenuIsNotDisplayed(); await contentServicesPage.metadataContent('RoleConsumer' + fileModel.name); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('You don\'t have access to do this.'); + await expect(await snackbarPage.getSnackBarMessage()).toEqual('You don\'t have access to do this.'); await notificationHistoryPage.checkNotifyContains('You don\'t have access to do this.'); await browser.sleep(3000); await contentServicesPage.uploadFile(fileLocation); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('You don\'t have the create permission to upload the content'); + await expect(await snackbarPage.getSnackBarMessage()).toEqual('You don\'t have the create permission to upload the content'); await notificationHistoryPage.checkNotifyContains('You don\'t have the create permission to upload the content'); }); diff --git a/e2e/content-services/components/site-permissions.e2e.ts b/e2e/content-services/components/site-permissions.e2e.ts index eb4b73c566..835902fbf7 100644 --- a/e2e/content-services/components/site-permissions.e2e.ts +++ b/e2e/content-services/components/site-permissions.e2e.ts @@ -16,7 +16,8 @@ */ import { PermissionsPage } from '../../content-services/pages/permissions.page'; -import { createApiService, +import { + createApiService, BrowserActions, Logger, LoginPage, NotificationHistoryPage, SearchService, @@ -24,7 +25,8 @@ import { createApiService, UploadActions, UserModel, UsersActions, - ViewerPage + ViewerPage, + SnackbarPage } from '@alfresco/adf-testing'; import { ContentServicesPage } from '../../core/pages/content-services.page'; import { FileModel } from '../../models/ACS/file.model'; @@ -35,7 +37,6 @@ import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; import { VersionManagePage } from '../../core/pages/version-manager.page'; import CONSTANTS = require('../../util/constants'); import { NodesApi, SitesApi } from '@alfresco/js-api'; -import { NotificationDemoPage } from '../../core/pages/notification.page'; describe('Permissions Component', () => { @@ -51,7 +52,7 @@ describe('Permissions Component', () => { const navigationBarPage = new NavigationBarPage(); const metadataViewPage = new MetadataViewPage(); const notificationHistoryPage = new NotificationHistoryPage(); - const notificationPage = new NotificationDemoPage(); + const snackbarPage = new SnackbarPage(); const uploadDialog = new UploadDialogPage(); const versionManagePage = new VersionManagePage(); @@ -213,8 +214,8 @@ describe('Permissions Component', () => { await expect(await permissionsPage.addPermissionsDialog.getRoleCellValue(consumerUser.fullName)).toEqual('Site Collaborator'); await expect(await permissionsPage.addPermissionsDialog.addButtonIsEnabled()).toBe(true, 'Add button should be enabled'); await permissionsPage.addPermissionsDialog.clickAddButton(); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('Added 1 user(s) 0 group(s)'); - await notificationPage.snackbarPage.waitForSnackBarToClose(); + await expect(await snackbarPage.getSnackBarMessage()).toEqual('Added 1 user(s) 0 group(s)'); + await snackbarPage.waitForSnackBarToClose(); await permissionsPage.checkUserIsAdded(consumerUser.username); diff --git a/e2e/content-services/components/social.component.e2e.ts b/e2e/content-services/components/social.component.e2e.ts deleted file mode 100644 index 0b425e4ecd..0000000000 --- a/e2e/content-services/components/social.component.e2e.ts +++ /dev/null @@ -1,205 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { createApiService, - LikePage, - LoginPage, - RatePage, - UploadActions, - UserModel, - UsersActions -} from '@alfresco/adf-testing'; -import { FileModel } from '../../models/ACS/file.model'; -import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; -import { SocialPage } from '../../content-services/pages/social.page'; -import { browser } from 'protractor'; -import { NodesApi } from '@alfresco/js-api'; - -describe('Social component', () => { - - const loginPage = new LoginPage(); - const likePage = new LikePage(); - const ratePage = new RatePage(); - const socialPage = new SocialPage(); - const navigationBarPage = new NavigationBarPage(); - const componentOwner = new UserModel(); - const componentVisitor = new UserModel(); - const secondComponentVisitor = new UserModel(); - - const apiService = createApiService(); - const usersActions = new UsersActions(apiService); - const uploadActions = new UploadActions(apiService); - const nodesApi = new NodesApi(apiService.getInstance()); - - const blueLikeColor = ('rgba(33, 150, 243, 1)'); - const greyLikeColor = ('rgba(128, 128, 128, 1)'); - const yellowRatedStarColor = ('rgba(255, 233, 68, 1)'); - const averageStarColor = ('rgba(128, 128, 128, 1)'); - - let emptyFile; - - const emptyFileModel = new FileModel({ - name: browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_name, - location: browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_path - }); - - beforeAll(async () => { - await apiService.loginWithProfile('admin'); - - await usersActions.createUser(componentOwner); - await usersActions.createUser(componentVisitor); - await usersActions.createUser(secondComponentVisitor); - - await apiService.login(componentOwner.username, componentOwner.password); - - emptyFile = await uploadActions.uploadFile(emptyFileModel.location, emptyFileModel.name, '-my-'); - - await nodesApi.updateNode(emptyFile.entry.id, - - { - permissions: { - locallySet: [{ - authorityId: componentVisitor.username, - name: 'Consumer', - accessStatus: 'ALLOWED' - }, { - authorityId: secondComponentVisitor.username, - name: 'Consumer', - accessStatus: 'ALLOWED' - }] - } - }); - }); - - afterAll(async () => { - await apiService.loginWithProfile('admin'); - await uploadActions.deleteFileOrFolder(emptyFile.entry.email); - }); - - describe('User interaction on their own components', () => { - beforeEach(async () => { - await loginPage.login(componentOwner.username, componentOwner.password); - await navigationBarPage.clickSocialButton(); - }); - - afterEach(async () => { - await navigationBarPage.clickLogoutButton(); - }); - - it('[C203006] Should be able to like and unlike their components but not rate them,', async () => { - await socialPage.writeCustomNodeId(emptyFile.entry.id); - await expect(await socialPage.getNodeIdFieldValue()).toEqual(emptyFile.entry.id); - await likePage.clickLike(); - await likePage.checkLikeCounter(1); - await likePage.removeHoverFromLikeButton(); - await expect(await likePage.getLikedIconColor()).toBe(blueLikeColor); - await ratePage.rateComponent(4); - await ratePage.checkRatingCounter(0); - await expect(await ratePage.isNotStarRated(4)); - await expect(await ratePage.getUnratedStarColor(4)).toBe(averageStarColor); - await likePage.clickUnlike(); - await likePage.checkLikeCounter(0); - await likePage.removeHoverFromLikeButton(); - await expect(await likePage.getUnLikedIconColor()).toBe(greyLikeColor); - }); - }); - - describe('User interaction on components that belong to other users', () => { - - beforeEach(async () => { - await loginPage.login(componentVisitor.username, componentVisitor.password); - await navigationBarPage.clickSocialButton(); - }); - - afterEach(async () => { - await navigationBarPage.clickLogoutButton(); - }); - - it('[C310198] Should be able to rate and unRate a component', async () => { - await socialPage.writeCustomNodeId(emptyFile.entry.id); - await expect(await socialPage.getNodeIdFieldValue()).toEqual(emptyFile.entry.id); - - await ratePage.checkRatingCounter(0); - await ratePage.rateComponent(4); - await ratePage.checkRatingCounter(1); - await expect(await ratePage.isStarRated(4)); - await expect(await ratePage.getRatedStarColor(4)).toBe(yellowRatedStarColor); - await ratePage.removeRating(4); - await ratePage.checkRatingCounter(0); - await expect(await ratePage.isNotStarRated(4)); - }); - }); - - describe('Multiple Users interaction', () => { - - beforeEach(async () => { - await loginPage.login(componentVisitor.username, componentVisitor.password); - await navigationBarPage.clickSocialButton(); - }); - - afterEach(async () => { - await navigationBarPage.clickLogoutButton(); - }); - - it('[C310197] Should be able to like, unLike, display total likes', async () => { - await socialPage.writeCustomNodeId(emptyFile.entry.id); - await expect(await socialPage.getNodeIdFieldValue()).toEqual(emptyFile.entry.id); - await expect(await likePage.getUnLikedIconColor()).toBe(greyLikeColor); - await likePage.clickLike(); - await likePage.checkLikeCounter(1); - await likePage.removeHoverFromLikeButton(); - await expect(await likePage.getLikedIconColor()).toBe(blueLikeColor); - - await navigationBarPage.clickLogoutButton(); - await loginPage.login(secondComponentVisitor.username, secondComponentVisitor.password); - await navigationBarPage.clickSocialButton(); - await socialPage.writeCustomNodeId(emptyFile.entry.id); - await expect(await likePage.getUnLikedIconColor()).toBe(greyLikeColor); - await likePage.clickLike(); - await likePage.checkLikeCounter(2); - await likePage.removeHoverFromLikeButton(); - await expect(await likePage.getLikedIconColor()).toBe(blueLikeColor); - await likePage.clickUnlike(); - await likePage.checkLikeCounter(1); - await likePage.removeHoverFromLikeButton(); - await expect(await likePage.getUnLikedIconColor()).toBe(greyLikeColor); - }); - - it('[C260327] Should be able to rate, unRate, display total ratings, display average rating', async () => { - await socialPage.writeCustomNodeId(emptyFile.entry.id); - await expect(await socialPage.getNodeIdFieldValue()).toEqual(emptyFile.entry.id); - await ratePage.rateComponent(4); - await ratePage.checkRatingCounter(1); - await expect(await ratePage.isStarRated(4)); - await expect(await ratePage.getRatedStarColor(4)).toBe(yellowRatedStarColor); - - await navigationBarPage.clickLogoutButton(); - await loginPage.login(secondComponentVisitor.username, secondComponentVisitor.password); - await navigationBarPage.clickSocialButton(); - await socialPage.writeCustomNodeId(emptyFile.entry.id); - await expect(await socialPage.getNodeIdFieldValue()).toEqual(emptyFile.entry.id); - await ratePage.checkRatingCounter(1); - await expect(await ratePage.getAverageStarColor(4)).toBe(averageStarColor); - await ratePage.rateComponent(0); - await ratePage.checkRatingCounter(2); - await expect(await ratePage.isStarRated(2)); - await ratePage.removeRating(0); - await ratePage.checkRatingCounter(1); - await expect(await ratePage.getAverageStarColor(4)).toBe(averageStarColor); - }); - }); -}); diff --git a/e2e/content-services/components/tag-component.e2e.ts b/e2e/content-services/components/tag-component.e2e.ts deleted file mode 100644 index 57b5d00713..0000000000 --- a/e2e/content-services/components/tag-component.e2e.ts +++ /dev/null @@ -1,160 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { FileModel } from '../../models/ACS/file.model'; -import { createApiService, - LoginPage, - StringUtil, - UploadActions, - UserModel, - UsersActions -} from '@alfresco/adf-testing'; -import { TagPage } from '../../content-services/pages/tag.page'; -import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; -import { browser } from 'protractor'; -import { TagsApi } from '@alfresco/js-api'; - -describe('Tag component', () => { - - const loginPage = new LoginPage(); - const tagPage = new TagPage(); - const navigationBarPage = new NavigationBarPage(); - - let acsUser: UserModel; - const apiService = createApiService(); - const usersActions = new UsersActions(apiService); - const tagsApi = new TagsApi(apiService.getInstance()); - - const uploadActions = new UploadActions(apiService); - const pdfFileModel = new FileModel({ name: browser.params.resources.Files.ADF_DOCUMENTS.PDF.file_name }); - const deleteFile = new FileModel({ name: StringUtil.generateRandomString() }); - const sameTag = StringUtil.generateRandomString().toLowerCase(); - - const tagList = [ - StringUtil.generateRandomString().toLowerCase(), - StringUtil.generateRandomString().toLowerCase(), - StringUtil.generateRandomString().toLowerCase(), - StringUtil.generateRandomString().toLowerCase()]; - - const tags = [ - { tag: 'test-tag-01' }, { tag: 'test-tag-02' }, { tag: 'test-tag-03' }, { tag: 'test-tag-04' }, { tag: 'test-tag-05' }, - { tag: 'test-tag-06' }, { tag: 'test-tag-07' }, { tag: 'test-tag-08' }, { tag: 'test-tag-09' }, { tag: 'test-tag-10' }, - { tag: 'test-tag-11' }]; - - let pdfUploadedFile; let nodeId; - - beforeAll(async () => { - await apiService.loginWithProfile('admin'); - - acsUser = await usersActions.createUser(); - - await apiService.login(acsUser.username, acsUser.password); - - pdfUploadedFile = await uploadActions.uploadFile(pdfFileModel.location, pdfFileModel.name, '-my-'); - - nodeId = pdfUploadedFile.entry.id; - - const uploadedDeleteFile = await uploadActions.uploadFile(deleteFile.location, deleteFile.name, '-my-'); - - Object.assign(pdfFileModel, pdfUploadedFile.entry); - - Object.assign(deleteFile, uploadedDeleteFile.entry); - - await tagsApi.createTagForNode(nodeId, tags); - - await loginPage.login(acsUser.username, acsUser.password); - await navigationBarPage.clickTagButton(); - }); - - afterAll(async () => { - await navigationBarPage.clickLogoutButton(); - await apiService.loginWithProfile('admin'); - await uploadActions.deleteFileOrFolder(pdfUploadedFile.entry.id); - }); - - it('[C268151] Should be possible to add a new tag to a Node', async () => { - await tagPage.insertNodeId(pdfFileModel.id); - await tagPage.addTag(tagList[0]); - - await tagPage.checkTagIsDisplayedInTagList(tagList[0]); - await tagPage.checkTagIsDisplayedInTagListByNodeId(tagList[0]); - }); - - it('[C260377] Should NOT be possible to add a tag that already exists', async () => { - await tagPage.insertNodeId(pdfFileModel.id); - await tagPage.addTag(sameTag); - await tagPage.checkTagIsDisplayedInTagList(sameTag); - await tagPage.addTag(sameTag); - await expect(await tagPage.errorMessage.getText()).toEqual('Tag already exists'); - }); - - it('[C260375] Should be possible to delete a tag', async () => { - const deleteTag = StringUtil.generateRandomString().toUpperCase(); - - await tagPage.insertNodeId(deleteFile.id); - - await tagPage.addTag(deleteTag); - - await tagPage.checkTagIsDisplayedInTagList(deleteTag.toLowerCase()); - await tagPage.checkTagIsDisplayedInTagListByNodeId(deleteTag.toLowerCase()); - - await tagPage.deleteTagFromTagListByNodeId(deleteTag.toLowerCase()); - - await tagPage.checkTagIsNotDisplayedInTagList(deleteTag.toLowerCase()); - await tagPage.checkTagIsNotDisplayedInTagListByNodeId(deleteTag.toLowerCase()); - - await tagPage.insertNodeId(deleteFile.id); - - await tagPage.addTag(deleteTag); - - await tagPage.checkTagIsDisplayedInTagList(deleteTag.toLowerCase()); - await tagPage.checkTagIsDisplayedInTagListByNodeId(deleteTag.toLowerCase()); - - await tagPage.deleteTagFromTagList(deleteTag.toLowerCase()); - - await tagPage.checkTagIsNotDisplayedInTagList(deleteTag.toLowerCase()); - await tagPage.checkTagIsNotDisplayedInTagListByNodeId(deleteTag.toLowerCase()); - }); - - it('[C286290] Should be able to hide the delete option from a tag component', async () => { - await tagPage.insertNodeId(pdfFileModel.id); - await tagPage.addTag(tagList[3]); - - await tagPage.checkTagIsDisplayedInTagListByNodeId(tagList[3]); - await tagPage.checkDeleteTagFromTagListByNodeIdIsDisplayed(tagList[3]); - - await tagPage.showDeleteButton.click(); - - await tagPage.checkDeleteTagFromTagListByNodeIdIsNotDisplayed(tagList[3]); - }); - - it('[C286472] Should be able to click Show more/less button on List Tags Content Services', async () => { - await tagPage.insertNodeId(pdfFileModel.id); - - await tagPage.showMoreButton.waitVisible(); - await tagPage.showLessButton.waitNotVisible(); - - await expect(await tagPage.tagsOnPage.count()).toEqual(10); - - await tagPage.showMoreButton.click(); - await tagPage.showLessButton.waitVisible(); - - await tagPage.showLessButton.click(); - await tagPage.showLessButton.waitNotVisible(); - }); - -}); diff --git a/e2e/content-services/directives/favorite-directive.e2e.ts b/e2e/content-services/directives/favorite-directive.e2e.ts index bd0c291240..8e65d19364 100644 --- a/e2e/content-services/directives/favorite-directive.e2e.ts +++ b/e2e/content-services/directives/favorite-directive.e2e.ts @@ -142,14 +142,14 @@ describe('Favorite directive', () => { await customSourcesPage.checkRowIsNotDisplayed(testFile.entry.name); await navigationBarPage.clickTrashcanButton(); - await trashcanPage.contentList.dataTablePage().waitTillContentLoaded(); + await trashcanPage.getDocumentList().dataTablePage().waitTillContentLoaded(); await expect(await trashcanPage.numberOfResultsDisplayed()).toBe(1); await trashcanPage.getDocumentList().dataTablePage().clickRowByContent(testFile.entry.name); await trashcanPage.getDocumentList().dataTablePage().checkRowByContentIsSelected(testFile.entry.name); await trashcanPage.clickRestore(); - await trashcanPage.contentList.dataTablePage().waitTillContentLoaded(); + await trashcanPage.getDocumentList().dataTablePage().waitTillContentLoaded(); await trashcanPage.checkTrashcanIsEmpty(); await navigationBarPage.navigateToContentServices(); diff --git a/e2e/content-services/document-list/document-list-component.e2e.ts b/e2e/content-services/document-list/document-list-component.e2e.ts index 5023f2fd42..b51c977945 100644 --- a/e2e/content-services/document-list/document-list-component.e2e.ts +++ b/e2e/content-services/document-list/document-list-component.e2e.ts @@ -21,10 +21,11 @@ import { createApiService, LoginPage, StringUtil, UploadActions, UsersActions, V import { FileModel } from '../../models/ACS/file.model'; import * as moment from 'moment'; import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; +import { NodeEntry } from '@alfresco/js-api'; describe('Document List Component', () => { - - let uploadedFolder; let uploadedFolderExtra; + let uploadedFolder: NodeEntry; + let uploadedFolderExtra: NodeEntry; const loginPage = new LoginPage(); const navigationBarPage = new NavigationBarPage(); @@ -35,7 +36,8 @@ describe('Document List Component', () => { const uploadActions = new UploadActions(apiService); let acsUser = null; - let testFileNode; let pdfBFileNode; + let testFileNode: any; + let pdfBFileNode: any; afterEach(async () => { await apiService.loginWithProfile('admin'); @@ -281,7 +283,7 @@ describe('Document List Component', () => { await contentServicesPage.checkLockIsDisplayedForElement(folderNameB); }); - it('[C269086] Should display Islocked field for files', async () => { + it('[C269086] Should display IsLocked field for files', async () => { const testFileA = new FileModel({ name: browser.params.resources.Files.ADF_DOCUMENTS.TEST.file_name, location: browser.params.resources.Files.ADF_DOCUMENTS.TEST.file_path @@ -306,7 +308,7 @@ describe('Document List Component', () => { }); describe('Once uploaded 20 folders', () => { - let folderCreated; + let folderCreated: NodeEntry[]; beforeAll(async () => { folderCreated = []; @@ -325,8 +327,8 @@ describe('Document List Component', () => { afterAll(async () => { await apiService.loginWithProfile('admin'); - for (let i = 0; i < folderCreated.length; i++) { - await uploadActions.deleteFileOrFolder(folderCreated[i].entry.id); + for (const item of folderCreated) { + await uploadActions.deleteFileOrFolder(item.entry.id); } await navigationBarPage.clickLogoutButton(); }); @@ -345,7 +347,7 @@ describe('Document List Component', () => { location: browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_path }); - let file; + let file: any; const viewer = new ViewerPage(); beforeAll(async () => { diff --git a/e2e/content-services/pages/social.page.ts b/e2e/content-services/pages/social.page.ts deleted file mode 100644 index c6e2e31c7b..0000000000 --- a/e2e/content-services/pages/social.page.ts +++ /dev/null @@ -1,33 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $ } from 'protractor'; -import { BrowserActions } from '@alfresco/adf-testing'; - -export class SocialPage { - - nodeIdField = $(`input[id="nodeId"]`); - - async getNodeIdFieldValue(): Promise { - return BrowserActions.getInputValue(this.nodeIdField); - } - - async writeCustomNodeId(nodeId: string): Promise { - await BrowserActions.clearSendKeys(this.nodeIdField, nodeId); - } - -} diff --git a/e2e/content-services/pages/tag.page.ts b/e2e/content-services/pages/tag.page.ts deleted file mode 100644 index 1322e685ad..0000000000 --- a/e2e/content-services/pages/tag.page.ts +++ /dev/null @@ -1,107 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { by, protractor, browser, $, $$ } from 'protractor'; -import { BrowserActions, TestElement } from '@alfresco/adf-testing'; - -export class TagPage { - - addTagButton = TestElement.byCss('#add-tag'); - insertNodeIdElement = $('input[id="nodeId"]'); - newTagInput = TestElement.byCss('input[id="new-tag-text"]'); - tagListRow = TestElement.byCss('adf-tag-node-actions-list mat-list-item'); - tagListByNodeIdRow = TestElement.byCss('adf-tag-node-list mat-chip'); - errorMessage = TestElement.byCss('mat-hint[data-automation-id="errorMessage"]'); - tagListContentServicesRowLocator = by.css('div[class*="adf-list-tag"]'); - showDeleteButton = TestElement.byCss('#adf-remove-button-tag'); - showMoreButton = TestElement.byCss('button[data-automation-id="show-more-tags"]'); - showLessButton = TestElement.byCss('button[data-automation-id="show-fewer-tags"]'); - tagsOnPage = $$('div[class*="adf-list-tag"]'); - confirmTag = TestElement.byCss('#adf-tag-node-send'); - - getNodeId(): Promise { - return BrowserActions.getInputValue(this.insertNodeIdElement); - } - - async insertNodeId(nodeId) { - await BrowserActions.clearSendKeys(this.insertNodeIdElement, nodeId); - - await browser.sleep(200); - await this.insertNodeIdElement.sendKeys(' '); - await browser.sleep(200); - await this.insertNodeIdElement.sendKeys(protractor.Key.BACK_SPACE); - await this.confirmTag.click(); - } - - async addTag(tag: string): Promise { - await this.newTagInput.typeText(tag); - return this.addTagButton.click(); - } - - deleteTagFromTagListByNodeId(name: string): Promise { - return TestElement.byId('tag_chips_delete_' + name).click(); - } - - deleteTagFromTagList(name: string): Promise { - return TestElement.byId('tag_chips_delete_' + name).click(); - } - - async addTagButtonIsEnabled(): Promise { - await this.addTagButton.waitVisible(); - return this.addTagButton.isEnabled(); - } - - async checkTagIsDisplayedInTagList(tagName: string): Promise { - try { - await TestElement.byText('div[id*="tag_name"]', tagName).waitVisible(); - return true; - } catch (error) { - if (await this.showMoreButton.isDisplayed()) { - await this.showMoreButton.click(); - await this.checkTagIsDisplayedInTagList(tagName); - return true; - } else { - throw new Error('Error'); - } - } - } - - async checkTagIsNotDisplayedInTagList(tagName: string): Promise { - try { - await TestElement.byText('div[id*="tag_name"]', tagName).waitNotVisible(); - return true; - } catch (error) { - return false; - } - } - - checkTagIsNotDisplayedInTagListByNodeId(tagName: string): Promise { - return TestElement.byText('span[id*="tag_name"]', tagName).waitNotVisible(); - } - - checkTagIsDisplayedInTagListByNodeId(tagName: string): Promise { - return TestElement.byText('span[id*="tag_name"]', tagName).waitVisible(); - } - - checkDeleteTagFromTagListByNodeIdIsDisplayed(name: string): Promise { - return TestElement.byId('tag_chips_delete_' + name).waitVisible(); - } - - checkDeleteTagFromTagListByNodeIdIsNotDisplayed(name: string): Promise { - return TestElement.byId('tag_chips_delete_' + name).waitNotVisible(); - } -} diff --git a/e2e/core/datatable/data-table-component-selection.e2e.ts b/e2e/core/datatable/data-table-component-selection.e2e.ts deleted file mode 100644 index 489ac797fb..0000000000 --- a/e2e/core/datatable/data-table-component-selection.e2e.ts +++ /dev/null @@ -1,67 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { createApiService, DataTableComponentPage, LoginPage, UserModel, UsersActions } from '@alfresco/adf-testing'; -import { DataTablePage } from '../../core/pages/data-table.page'; -import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; - -describe('Datatable component - selection', () => { - - const apiService = createApiService(); - const usersActions = new UsersActions(apiService); - - const dataTablePage = new DataTablePage(); - const loginPage = new LoginPage(); - const acsUser = new UserModel(); - const navigationBarPage = new NavigationBarPage(); - const dataTableComponent = new DataTableComponentPage(); - - beforeAll(async () => { - await apiService.loginWithProfile('admin'); - - await usersActions.createUser(acsUser); - - await loginPage.login(acsUser.username, acsUser.password); - - await navigationBarPage.navigateToDatatable(); - }); - - afterAll(async () => { - await navigationBarPage.clickLogoutButton(); - }); - - it('[C213258] Should be possible change the selection modes when change the selectionMode property', async () => { - await dataTablePage.selectRow('2'); - await dataTableComponent.checkRowIsSelected('Id', '2'); - await expect(await dataTablePage.getNumberOfSelectedRows()).toEqual(1); - await dataTablePage.selectRow('3'); - await dataTableComponent.checkRowIsSelected('Id', '3'); - await expect(await dataTablePage.getNumberOfSelectedRows()).toEqual(1); - await dataTablePage.selectSelectionMode('Multiple'); - await dataTablePage.selectRow('1'); - await dataTableComponent.checkRowIsSelected('Id', '1'); - await dataTablePage.selectRowWithKeyboard('3'); - await dataTableComponent.checkRowIsSelected('Id', '1'); - await dataTableComponent.checkRowIsSelected('Id', '3'); - await dataTablePage.checkRowIsNotSelected('2'); - await dataTablePage.checkRowIsNotSelected('4'); - await dataTablePage.selectSelectionMode('None'); - await dataTablePage.selectRow('1'); - await dataTablePage.checkNoRowIsSelected(); - }); - -}); diff --git a/e2e/core/datatable/data-table-component.e2e.ts b/e2e/core/datatable/data-table-component.e2e.ts deleted file mode 100644 index 2b29f2ee5b..0000000000 --- a/e2e/core/datatable/data-table-component.e2e.ts +++ /dev/null @@ -1,73 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { createApiService, - DropActions, - LoginPage, - NotificationHistoryPage, - UserModel, - UsersActions -} from '@alfresco/adf-testing'; -import { browser } from 'protractor'; -import { FileModel } from '../../models/ACS/file.model'; -import { DataTablePage } from '../../core/pages/data-table.page'; -import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; - -describe('Datatable component', () => { - - const dragAndDropDataTablePage = new DataTablePage(); - const loginPage = new LoginPage(); - const acsUser = new UserModel(); - const navigationBarPage = new NavigationBarPage(); - const notificationHistoryPage = new NotificationHistoryPage(); - const pngFile = new FileModel({ - name: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name, - location: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_location - }); - - const apiService = createApiService(); - const usersActions = new UsersActions(apiService); - - beforeAll(async () => { - await apiService.loginWithProfile('admin'); - - await usersActions.createUser(acsUser); - - await loginPage.login(acsUser.username, acsUser.password); - }); - - afterAll(async () => { - await navigationBarPage.clickLogoutButton(); - }); - - describe('Datatable component - Drag and Drop', () => { - beforeAll(async () => { - await navigationBarPage.navigateToDragAndDropDatatable(); - await dragAndDropDataTablePage.dataTable.waitForTableBody(); - }); - - it('[C307984] Should trigger the event handling header-drop and cell-drop', async () => { - const dragAndDropHeader = dragAndDropDataTablePage.getDropTargetIdColumnHeader(); - await DropActions.dropFile(dragAndDropHeader, pngFile.location); - await notificationHistoryPage.checkNotifyContains('Dropped data on [ id ] header'); - - const dragAndDropCell = dragAndDropDataTablePage.getDropTargetIdColumnCell(1); - await DropActions.dropFile(dragAndDropCell, pngFile.location); - await notificationHistoryPage.checkNotifyContains('Dropped data on [ id ] cell'); - }); - }); -}); diff --git a/e2e/core/login/login-component.e2e.ts b/e2e/core/login/login-component.e2e.ts deleted file mode 100644 index d049ba143a..0000000000 --- a/e2e/core/login/login-component.e2e.ts +++ /dev/null @@ -1,171 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { createApiService, - BrowserActions, - ErrorPage, - LocalStorageUtil, - UserInfoPage, - UserModel, - UsersActions -} from '@alfresco/adf-testing'; -import { browser } from 'protractor'; -import { ContentServicesPage } from '../../core/pages/content-services.page'; -import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; -import { LoginShellPage } from '../../core/pages/login-shell.page'; - -describe('Login component', () => { - - const navigationBarPage = new NavigationBarPage(); - const userInfoPage = new UserInfoPage(); - const contentServicesPage = new ContentServicesPage(); - const loginPage = new LoginShellPage(); - const errorPage = new ErrorPage(); - - const userA = new UserModel(); - const userB = new UserModel(); - - const errorMessages = { - username: 'Your username needs to be at least 2 characters.', - invalid_credentials: 'You\'ve entered an unknown username or password', - password: 'Enter your password to sign in', - required: 'Required' - }; - - const apiService = createApiService(); - const usersActions = new UsersActions(apiService); - - beforeAll(async () => { - await LocalStorageUtil.setStorageItem('authType', 'BASIC'); - - await apiService.loginWithProfile('admin'); - - await usersActions.createUser(userA); - await usersActions.createUser(userB); - }); - - afterEach(async () => { - await navigationBarPage.clickLogoutButton(); - }); - - it('[C276746] Should display the right information in user-info when a different users logs in', async () => { - await LocalStorageUtil.setStorageItem('providers', 'ECM'); - - await loginPage.login(userA.username, userA.password); - await userInfoPage.clickUserProfile(); - await expect(await userInfoPage.getContentHeaderTitle()).toEqual(`${userA.firstName} ${userA.lastName}`); - - await navigationBarPage.clickLogoutButton(); - await loginPage.login(userB.username, userB.password); - await userInfoPage.clickUserProfile(); - await expect(await userInfoPage.getContentHeaderTitle()).toEqual(`${userB.firstName} ${userB.lastName}`); - }); - - it('[C299206] Should redirect the user without the right access role on a forbidden page', async () => { - await loginPage.login(userA.username, userA.password); - await navigationBarPage.navigateToProcessServicesCloudPage(); - await expect(await errorPage.getErrorCode()).toBe('403'); - await expect(await errorPage.getErrorTitle()).toBe('You don\'t have permission to access this server.'); - await expect(await errorPage.getErrorDescription()).toBe('You\'re not allowed access to this resource on the server.'); - }); - - it('[C260036] Should require username', async () => { - await loginPage.goToLoginPage(); - await loginPage.checkUsernameInactive(); - await expect(await loginPage.getSignInButtonIsEnabled()).toBe(false); - await loginPage.enterUsername('A'); - await expect(await loginPage.getUsernameTooltip()).toEqual(errorMessages.username); - await loginPage.clearUsername(); - await expect(await loginPage.getUsernameTooltip()).toEqual(errorMessages.required); - await loginPage.checkUsernameHighlighted(); - await expect(await loginPage.getSignInButtonIsEnabled()).toBe(false); - }); - - it('[C260044] Username should be at least 2 characters long', async () => { - await loginPage.goToLoginPage(); - await expect(await loginPage.getSignInButtonIsEnabled()).toBe(false); - await loginPage.enterUsername('A'); - await expect(await loginPage.getUsernameTooltip()).toEqual(errorMessages.username); - await loginPage.enterUsername('AB'); - await loginPage.checkUsernameTooltipIsNotVisible(); - await expect(await loginPage.getSignInButtonIsEnabled()).toBe(false); - await loginPage.clearUsername(); - }); - - it('[C260045] Should enable login button after entering a valid username and a password', async () => { - await loginPage.goToLoginPage(); - await loginPage.enterUsername(browser.params.testConfig.users.admin.username); - await expect(await loginPage.getSignInButtonIsEnabled()).toBe(false); - await loginPage.enterPassword('a'); - await expect(await loginPage.getSignInButtonIsEnabled()).toBe(true); - await loginPage.clearUsername(); - await loginPage.clearPassword(); - }); - - it('[C260047] Password should be crypted', async () => { - await loginPage.goToLoginPage(); - await expect(await loginPage.getSignInButtonIsEnabled()).toBe(false); - await loginPage.enterPassword('test'); - await loginPage.showPassword(); - const tooltip = await loginPage.getShownPassword(); - await expect(tooltip).toEqual('test'); - await loginPage.hidePassword(); - await loginPage.checkPasswordIsHidden(); - await loginPage.clearPassword(); - }); - - it('[C260048] Should be possible to enable/disable login footer', async () => { - await loginPage.goToLoginPage(); - await loginPage.enableFooter(); - await loginPage.checkRememberIsDisplayed(); - await loginPage.checkNeedHelpIsDisplayed(); - await loginPage.checkRegisterDisplayed(); - await loginPage.disableFooter(); - await loginPage.checkRememberIsNotDisplayed(); - await loginPage.checkNeedHelpIsNotDisplayed(); - await loginPage.checkRegisterIsNotDisplayed(); - }); - - it('[C260050] Should be possible to login to Content Services with Process Services disabled', async () => { - await LocalStorageUtil.setStorageItem('providers', 'ECM'); - - await loginPage.goToLoginPage(); - await expect(await loginPage.getSignInButtonIsEnabled()).toBe(false); - await loginPage.loginWithProfile('admin'); - await navigationBarPage.navigateToContentServices(); - await contentServicesPage.checkAcsContainer(); - }); - - it('[C277754] Should the user be redirect to the login page when the Content Service session expire', async () => { - await LocalStorageUtil.setStorageItem('providers', 'ECM'); - - await loginPage.goToLoginPage(); - await loginPage.loginWithProfile('admin'); - await browser.executeScript('window.localStorage.removeItem("ADF_ticket-ECM");'); - await BrowserActions.getUrl(browser.baseUrl + '/files'); - await loginPage.waitForElements(); - - await LocalStorageUtil.setStorageItem('providers', 'ALL'); - }); - - it('[C279933] Should be possible change the login component logo when logoImageUrl is changed', async () => { - await loginPage.goToLoginPage(); - await loginPage.enableLogoSwitch(); - await loginPage.enterLogo('https://rawgit.com/Alfresco/alfresco-ng2-components/master/assets/angular2.png'); - await loginPage.checkLoginImgURL(); - }); -}); diff --git a/e2e/core/login/login-sso/logout-sso.e2e.ts b/e2e/core/login/login-sso/logout-sso.e2e.ts deleted file mode 100644 index 24a54dc238..0000000000 --- a/e2e/core/login/login-sso/logout-sso.e2e.ts +++ /dev/null @@ -1,39 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { LoginPage, SettingsPage } from '@alfresco/adf-testing'; -import { browser } from 'protractor'; -import { NavigationBarPage } from '../../pages/navigation-bar.page'; - -describe('Logout component - SSO', () => { - - const settingsPage = new SettingsPage(); - const loginSSOPage = new LoginPage(); - const navigationBarPage = new NavigationBarPage(); - - it('[C280665] Should be possible change the logout redirect URL', async () => { - await settingsPage.setProviderEcmSso(browser.params.testConfig.appConfig.ecmHost, - browser.params.testConfig.appConfig.oauth2.host, - browser.params.testConfig.appConfig.identityHost, false, true, browser.params.testConfig.appConfig.oauth2.clientId, '#/login'); - await loginSSOPage.loginSSOIdentityService(browser.params.testConfig.users.admin.username, browser.params.testConfig.users.admin.password); - - await navigationBarPage.clickLogoutButton(); - - const actualUrl = await browser.getCurrentUrl(); - await expect(actualUrl).toEqual(browser.baseUrl + '/login'); - }); -}); diff --git a/e2e/core/login/remember-me.e2e.ts b/e2e/core/login/remember-me.e2e.ts deleted file mode 100644 index 76065ba967..0000000000 --- a/e2e/core/login/remember-me.e2e.ts +++ /dev/null @@ -1,39 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SettingsPage, LocalStorageUtil } from '@alfresco/adf-testing'; -import { LoginShellPage } from '../../core/pages/login-shell.page'; - -describe('Login component - Remember Me', () => { - - const settingsPage = new SettingsPage(); - const loginPage = new LoginShellPage(); - - beforeAll(async () => { - await LocalStorageUtil.setStorageItem('authType', 'BASIC'); - - await loginPage.goToLoginPage(); - await loginPage.clickSettingsIcon(); - await settingsPage.setProviderEcmBpm(); - }); - - it('[C260501] Should Remember me checkbox not be present in the login if the property showRememberMe is false', async () => { - await loginPage.checkRememberIsDisplayed(); - await loginPage.disableRememberMe(); - await loginPage.checkRememberIsNotDisplayed(); - }); -}); diff --git a/e2e/core/notifications-component.e2e.ts b/e2e/core/notifications-component.e2e.ts deleted file mode 100644 index e067546942..0000000000 --- a/e2e/core/notifications-component.e2e.ts +++ /dev/null @@ -1,124 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { createApiService, LoginPage, UserModel, UsersActions } from '@alfresco/adf-testing'; -import { NotificationDemoPage } from '../core/pages/notification.page'; -import { browser } from 'protractor'; -import { NavigationBarPage } from '../core/pages/navigation-bar.page'; - -describe('Notifications Component', () => { - - const loginPage = new LoginPage(); - const notificationPage = new NotificationDemoPage(); - const navigationBarPage = new NavigationBarPage(); - const apiService = createApiService(); - const usersActions = new UsersActions(apiService); - - let acsUser: UserModel; - - beforeAll(async () => { - await apiService.loginWithProfile('admin'); - - acsUser = await usersActions.createUser(); - - await apiService.login(acsUser.username, acsUser.password); - - await loginPage.login(acsUser.username, acsUser.password); - - await notificationPage.goToNotificationsPage(); - }); - - afterAll(async () => { - await navigationBarPage.clickLogoutButton(); - }); - - beforeEach(async () => { - await notificationPage.enterDurationField(3000); - }); - - afterEach(async () => { - await notificationPage.snackbarPage.waitForSnackBarToClose(); - await browser.executeScript(`document.querySelector('button[data-automation-id="notification-custom-dismiss-button"]').click();`); - }); - - it('[C279979] Should not show notification when the message is empty and button is clicked', async () => { - await notificationPage.clearMessage(); - await notificationPage.clickNotificationButton(); - await expect(await notificationPage.snackbarPage.isNotificationSnackBarDisplayed()).toEqual(false); - }); - - it('[C279977] Should show notification when the message is not empty and button is clicked', async () => { - await notificationPage.enterMessageField('test'); - await notificationPage.clickNotificationButton(); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('test'); - }); - - it('[C279978] Should show notification with action when the message is not empty and button is clicked', async () => { - await notificationPage.enterMessageField('test'); - await notificationPage.clickActionToggle(); - await notificationPage.clickNotificationButton(); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('test'); - await notificationPage.clickActionButton(); - await notificationPage.checkActionEvent(); - await notificationPage.clickActionToggle(); - }); - - it('[C279981] Should show notification with action when the message is not empty and custom configuration button is clicked', async () => { - await notificationPage.enterMessageField('test'); - await notificationPage.clickNotificationButton(); - await expect(await notificationPage.snackbarPage.isNotificationSnackBarDisplayed()).toEqual(true); - }); - - it('[C280000] Should show notification with action when the message is not empty and custom button is clicked', async () => { - await notificationPage.enterMessageField('test'); - await notificationPage.clickActionToggle(); - await notificationPage.clickNotificationButton(); - await expect(await notificationPage.snackbarPage.isNotificationSnackBarDisplayed()).toEqual(true); - await expect(await notificationPage.snackbarPage.getSnackBarMessage()).toEqual('test'); - await notificationPage.snackbarPage.waitForSnackBarToClose(); - await notificationPage.clickNotificationButton(); - await notificationPage.clickActionButton(); - await notificationPage.checkActionEvent(); - await notificationPage.clickActionToggle(); - }); - - it('[C694098] Should show a decorative icon when the message and the icon fields are not empty and button is clicked', async () => { - await notificationPage.enterMessageField('test'); - await notificationPage.enterDecorativeIconField('folder'); - await notificationPage.clickNotificationButton(); - await expect(await notificationPage.snackbarPage.getSnackBarDecorativeIcon()).toEqual('folder'); - }); - - it('[C279987] Should show custom notification during a limited time when a duration is added', async () => { - await notificationPage.enterMessageField('test'); - await notificationPage.enterDurationField(1000); - await notificationPage.clickNotificationButton(); - await expect(await notificationPage.snackbarPage.isNotificationSnackBarDisplayed()).toEqual(true); - await browser.sleep(2000); - await expect(await notificationPage.snackbarPage.isNotificationSnackBarDisplayed()).toEqual(false); - }); - - it('[C280001] Should meet configuration when a custom notification is set', async () => { - await notificationPage.enterMessageField('test'); - await notificationPage.enterDurationField(1000); - await notificationPage.selectHorizontalPosition('Right'); - await notificationPage.selectVerticalPosition('Top'); - await notificationPage.selectDirection('Left to right'); - await notificationPage.clickNotificationButton(); - await expect(await notificationPage.getConfigObject()).toBe('{"direction": "ltr", "duration": "1000", "horizontalPosition": "right", "verticalPosition": "top"}'); - }); -}); diff --git a/e2e/core/pages/card-view-component.page.ts b/e2e/core/pages/card-view-component.page.ts deleted file mode 100644 index 7a9e155746..0000000000 --- a/e2e/core/pages/card-view-component.page.ts +++ /dev/null @@ -1,252 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $, by, element } from 'protractor'; -import { - BrowserVisibility, - BrowserActions, - CardTextItemPage, - DropdownPage, - CardBooleanItemPage -} from '@alfresco/adf-testing'; - -export class CardViewComponentPage { - - addButton = element(by.className('adf-card-view__key-value-pairs__add-btn')); - nameCardTextItem = new CardTextItemPage('name'); - booleanCardBooleanItem = new CardBooleanItemPage('boolean'); - intField = $(`input[data-automation-id='card-textitem-editinput-int']`); - floatField = $(`input[data-automation-id='card-textitem-editinput-float']`); - valueInputField = element(by.xpath(`//*[contains(@id,'input') and @placeholder='Value']`)); - nameInputField = element(by.xpath(`//*[contains(@id,'input') and @placeholder='Name']`)); - consoleLog = element(by.className('app-console')); - deleteButton = element.all(by.className('adf-card-view__key-value-pairs__remove-btn')).first(); - resetButton = $(`#adf-reset-card-log`); - editableSwitch = $('#app-toggle-editable'); - clearDateSwitch = $('#app-toggle-clear-date'); - noneOptionSwitch = $('#app-toggle-none-option'); - clickableField = $(`[data-automation-id="card-textitem-toggle-click"]`); - - selectDropdown = new DropdownPage($('mat-select[data-automation-class="select-box"]')); - - async clickOnAddButton(): Promise { - await BrowserActions.click(this.addButton); - } - - async checkNameTextLabelIsPresent(): Promise { - await this.nameCardTextItem.checkLabelIsPresent(); - } - - async getNameTextFieldText(): Promise { - return this.nameCardTextItem.getFieldValue(); - } - - async enterNameTextField(text: string): Promise { - await this.nameCardTextItem.enterTextField(text); - } - - async clickOnNameTextSaveIcon(): Promise { - await this.nameCardTextItem.clickOnSaveButton(); - } - - async clickOnNameTextClearIcon(): Promise { - await this.nameCardTextItem.clickOnClearButton(); - } - - async clickOnResetButton(): Promise { - await BrowserActions.click(this.resetButton); - } - - async clickOnIntField(): Promise { - const toggleText = $('div[data-automation-id="card-textitem-toggle-int"]'); - await BrowserActions.click(toggleText); - await BrowserVisibility.waitUntilElementIsVisible(this.intField); - } - - async clickOnIntClearIcon(): Promise { - const clearIcon = $('button[data-automation-id="card-textitem-reset-int"]'); - await BrowserActions.click(clearIcon); - } - - async clickOnIntSaveIcon(): Promise { - const saveIcon = $('button[data-automation-id="card-textitem-update-int"]'); - await BrowserActions.click(saveIcon); - } - - async enterIntField(text): Promise { - await BrowserActions.clearSendKeys(this.intField, text); - } - - getIntFieldText(): Promise { - const textField = $('span[data-automation-id="card-textitem-value-int"]'); - return BrowserActions.getText(textField); - } - - getErrorInt(): Promise { - const errorElement = $('mat-error[data-automation-id="card-textitem-error-int"]'); - return BrowserActions.getText(errorElement); - } - - async clickOnFloatField(): Promise { - const toggleText = $('div[data-automation-id="card-textitem-toggle-float"]'); - await BrowserActions.click(toggleText); - await BrowserVisibility.waitUntilElementIsVisible(this.floatField); - } - - async clickOnFloatClearIcon(): Promise { - const clearIcon = $(`button[data-automation-id="card-textitem-reset-float"]`); - await BrowserActions.click(clearIcon); - } - - async clickOnFloatSaveIcon(): Promise { - const saveIcon = $(`button[data-automation-id="card-textitem-update-float"]`); - await BrowserActions.click(saveIcon); - } - - async enterFloatField(text): Promise { - await BrowserActions.clearSendKeys(this.floatField, text); - } - - getFloatFieldText(): Promise { - const textField = $('span[data-automation-id="card-textitem-value-float"]'); - return BrowserActions.getText(textField); - } - - getErrorFloat(): Promise { - const errorElement = $('mat-error[data-automation-id="card-textitem-error-float"]'); - return BrowserActions.getText(errorElement); - } - - async setName(name: string): Promise { - await BrowserActions.clearSendKeys(this.nameInputField, name); - } - - async setValue(value): Promise { - await BrowserActions.clearSendKeys(this.valueInputField, value); - } - - async waitForOutput(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.consoleLog); - } - - getOutputText(index: number): Promise { - return BrowserActions.getText(this.consoleLog.$$('p').get(index)); - } - - async deletePairsValues(): Promise { - await BrowserActions.click(this.deleteButton); - } - - async clickSelectBox(): Promise { - await this.selectDropdown.clickDropdown(); - await this.selectDropdown.checkOptionsPanelIsDisplayed(); - } - - async checkboxClick(): Promise { - await this.booleanCardBooleanItem.checkboxClick(); - } - - async checkBooleanLabelIsPresent(): Promise { - await this.booleanCardBooleanItem.checkLabelIsPresent(); - } - - async selectValueFromComboBox(index): Promise { - await this.selectDropdown.selectOptionFromIndex(index); - } - - async disableEdit(): Promise { - const check = await BrowserActions.getAttribute(this.editableSwitch, 'class'); - if (check.indexOf('mat-checked') > -1) { - await BrowserActions.click(this.editableSwitch); - await expect(await BrowserActions.getAttribute(this.editableSwitch, 'class')).not.toContain('mat-checked'); - } - } - - async getDateValue(): Promise { - const dateValue = $('span[data-automation-id="card-date-value-date"]'); - return dateValue.getText(); - } - - async getDateTimeValue(): Promise { - const dateTimeValue = $('span[data-automation-id="card-datetime-value-datetime"]'); - return dateTimeValue.getText(); - } - - async clearDateField(): Promise { - const clearDateButton = $('mat-icon[data-automation-id="datepicker-date-clear-date"]'); - await BrowserActions.click(clearDateButton); - } - - async clearDateTimeField(): Promise { - const clearDateButton = $('mat-icon[data-automation-id="datepicker-date-clear-datetime"]'); - await BrowserActions.click(clearDateButton); - } - - async enableClearDate(): Promise { - const switchClass = await BrowserActions.getAttribute(this.editableSwitch, 'class'); - if (switchClass.indexOf('mat-checked') === -1) { - await this.clearDateSwitch.click(); - const clearDateChecked = $('mat-slide-toggle[id="app-toggle-clear-date"][class*="mat-checked"]'); - await BrowserVisibility.waitUntilElementIsVisible(clearDateChecked); - } - } - - async enableNoneOption(): Promise { - const switchClass = await BrowserActions.getAttribute(this.noneOptionSwitch, 'class'); - if (switchClass.indexOf('mat-checked') === -1) { - await this.noneOptionSwitch.click(); - const noneOptionChecked = $('mat-slide-toggle[id="app-toggle-none-option"][class*="mat-checked"]'); - await BrowserVisibility.waitUntilElementIsVisible(noneOptionChecked); - } - } - - async isErrorNotDisplayed(): Promise { - const errorElement = $('mat-error[data-automation-id="card-textitem-error-int"]'); - try { - await BrowserVisibility.waitUntilElementIsNotVisible(errorElement); - return true; - } catch { - return false; - } - } - - async getClickableValue(): Promise { - return this.clickableField.getText(); - } - - async updateClickableField(text: string): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.clickableField); - await BrowserActions.click(this.clickableField); - const inputField = $('input[data-automation-id="card-textitem-editinput-click"]'); - await BrowserVisibility.waitUntilElementIsPresent(inputField); - await BrowserActions.clearSendKeys(inputField, text); - const save = $('[data-automation-id="card-textitem-update-click"]'); - await BrowserVisibility.waitUntilElementIsVisible(save); - await BrowserActions.click(save); - } - - async hasCardViewConsoleLog(text: string): Promise { - const cardViewConsole = element(by.cssContainingText('.app-console', text)); - await BrowserVisibility.waitUntilElementIsVisible(cardViewConsole); - return cardViewConsole.getText(); - } - - async clearIntField(): Promise { - await this.intField.clear(); - } - -} diff --git a/e2e/core/pages/content-services.page.ts b/e2e/core/pages/content-services.page.ts index 005f52605f..9817f1acaa 100644 --- a/e2e/core/pages/content-services.page.ts +++ b/e2e/core/pages/content-services.page.ts @@ -69,17 +69,17 @@ export class ContentServicesPage { emptyFolderImage = $('.adf-empty-folder-image'); gridViewButton = $('button[data-automation-id="document-list-grid-view"]'); cardViewContainer = $('div.app-document-list-container div.adf-datatable-card'); - shareNodeButton = element(by.cssContainingText('mat-icon', ' share ')); + shareNodeButton = element(by.cssContainingText('mat-icon', 'share')); nameColumnHeader = 'name'; createdByColumnHeader = 'createdByUser.displayName'; createdColumnHeader = 'createdAt'; - deleteContentElement = $('button[data-automation-id*="DELETE"]'); - metadataAction = $('button[data-automation-id*="METADATA"]'); - versionManagerAction = $('button[data-automation-id*="VERSIONS"]'); - moveContentElement = $('button[data-automation-id*="MOVE"]'); - copyContentElement = $('button[data-automation-id*="COPY"]'); - lockContentElement = $('button[data-automation-id="DOCUMENT_LIST.ACTIONS.LOCK"]'); - downloadContent = $('button[data-automation-id*="DOWNLOAD"]'); + deleteContentElement = $('button[data-automation-id="Delete"]'); + metadataAction = $('button[data-automation-id="Info"]'); + versionManagerAction = $('button[data-automation-id="Manage versions"]'); + moveContentElement = $('button[data-automation-id="Move"]'); + copyContentElement = $('button[data-automation-id="Copy"]'); + lockContentElement = $('button[data-automation-id="Lock"]'); + downloadContent = $('button[data-automation-id="Download"]'); downloadButton = $('button[title="Download"]'); favoriteButton = $('button[data-automation-id="favorite"]'); markedFavorite = element(by.cssContainingText('button[data-automation-id="favorite"] mat-icon', 'star')); @@ -124,7 +124,7 @@ export class ContentServicesPage { async checkDeleteIsDisabled(content): Promise { await this.contentList.clickOnActionMenu(content); - const disabledDelete = $(`button[data-automation-id*='DELETE'][disabled='true']`); + const disabledDelete = $(`button[data-automation-id='Delete'][disabled='true']`); await BrowserVisibility.waitUntilElementIsVisible(disabledDelete); } diff --git a/e2e/core/pages/data-table.page.ts b/e2e/core/pages/data-table.page.ts deleted file mode 100644 index 4954400da7..0000000000 --- a/e2e/core/pages/data-table.page.ts +++ /dev/null @@ -1,86 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BrowserActions, BrowserVisibility, DataTableComponentPage, DropdownPage } from '@alfresco/adf-testing'; -import { $, $$, browser, by, element, ElementFinder, protractor } from 'protractor'; - -export class DataTablePage { - - columns = { - id: 'Id', - name: 'Name', - createdBy: 'Created By', - json: 'Json' - }; - - data = { - copyClipboardDataTable: 'copyClipboard-datatable', - defaultTable: 'datatable' - }; - - dataTable: DataTableComponentPage; - reset = element(by.xpath(`//span[contains(text(),'Reset to default')]/..`)); - allSelectedRows = $$(`adf-datatable-row[class*='is-selected']`); - selectedRowNumber = $(`adf-datatable-row[class*='is-selected'] div[data-automation-id*='text_']`); - idColumnHeader = $(`div[data-automation-id='auto_id_id']`); - selectModeDropdown = new DropdownPage($(`mat-select[data-automation-id='datatable-selection-mode']`)); - - constructor(data?) { - if (this.data[data]) { - this.dataTable = new DataTableComponentPage($(`div[data-automation-id='` + this.data[data] + `']`)); - } else { - this.dataTable = new DataTableComponentPage($(`div[data-automation-id='` + this.data.defaultTable + `']`)); - } - } - - async checkRowIsNotSelected(rowNumber: string): Promise { - const isRowSelected = this.dataTable.getCellElementByValue(this.columns.id, rowNumber) - .element(by.xpath(`ancestor::adf-datatable-row[contains(@class, 'adf-datatable-row custom-row-style ng-star-inserted is-selected')]`)); - await BrowserVisibility.waitUntilElementIsNotVisible(isRowSelected); - } - - async checkNoRowIsSelected(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.selectedRowNumber); - } - - async getNumberOfSelectedRows(): Promise { - return this.allSelectedRows.count(); - } - - async selectRow(rowNumber: string): Promise { - const row = this.dataTable.getCellElementByValue(this.columns.id, rowNumber); - await BrowserActions.click(row); - } - - async selectRowWithKeyboard(rowNumber: string): Promise { - await browser.actions().sendKeys(protractor.Key.COMMAND).perform(); - await this.selectRow(rowNumber); - await browser.actions().sendKeys(protractor.Key.NULL).perform(); - } - - async selectSelectionMode(selectionMode: string): Promise { - await this.selectModeDropdown.selectDropdownOption(selectionMode); - } - - getDropTargetIdColumnCell(rowNumber: number): ElementFinder { - return this.dataTable.getCellByRowNumberAndColumnName(rowNumber - 1, this.columns.id); - } - - getDropTargetIdColumnHeader(): ElementFinder { - return this.idColumnHeader; - } -} diff --git a/e2e/core/pages/dialog/share-dialog.page.ts b/e2e/core/pages/dialog/share-dialog.page.ts index 0a05af555d..fdef929519 100644 --- a/e2e/core/pages/dialog/share-dialog.page.ts +++ b/e2e/core/pages/dialog/share-dialog.page.ts @@ -96,14 +96,6 @@ export class ShareDialogPage { await this.dateTimePickerPage.setDate(tomorrow); } - async setDefaultHour(): Promise { - await this.dateTimePickerPage.dateTime.setDefaultEnabledHour(); - } - - async setDefaultMinutes() { - await this.dateTimePickerPage.dateTime.setDefaultEnabledMinutes(); - } - async dateTimePickerDialogIsClosed(): Promise { await BrowserVisibility.waitUntilElementIsStale($('mat-datetimepicker-content')); } diff --git a/e2e/core/pages/icons.page.ts b/e2e/core/pages/icons.page.ts deleted file mode 100644 index 3f287664ce..0000000000 --- a/e2e/core/pages/icons.page.ts +++ /dev/null @@ -1,43 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $, ElementFinder } from 'protractor'; -import { BrowserVisibility } from '@alfresco/adf-testing'; - -export class IconsPage { - - locateCustomIcon = (name: string): ElementFinder => $(`adf-icon[value='${name}'] svg`); - locateLigatureIcon = (name: string): ElementFinder => $(`adf-icon[value='${name}'] .material-icons`); - - async isCustomIconDisplayed(name: string) { - const present = await BrowserVisibility.waitUntilElementIsVisible(this.locateCustomIcon(name)); - if (present) { - return this.locateCustomIcon(name).isDisplayed(); - } else { - return false; - } - } - - async isLigatureIconDisplayed(name: string) { - const present = await BrowserVisibility.waitUntilElementIsVisible(this.locateLigatureIcon(name)); - if (present) { - return this.locateLigatureIcon(name).isDisplayed(); - } else { - return false; - } - } -} diff --git a/e2e/core/pages/login-shell.page.ts b/e2e/core/pages/login-shell.page.ts index e7df71cc48..908d51b669 100644 --- a/e2e/core/pages/login-shell.page.ts +++ b/e2e/core/pages/login-shell.page.ts @@ -15,41 +15,15 @@ * limitations under the License. */ -import { $, browser, by, element } from 'protractor'; -import { TogglePage, BrowserActions, BrowserVisibility, LoginPage } from '@alfresco/adf-testing'; +import { $ } from 'protractor'; +import { BrowserActions, BrowserVisibility } from '@alfresco/adf-testing'; export class LoginShellPage { - loginURL = browser.baseUrl + '/login'; - loginSSOPage = new LoginPage(); - - togglePage = new TogglePage(); - txtUsername = $('input[id="username"]'); - txtPassword = $('input[id="password"]'); - logoImg = $('img[id="adf-login-img-logo"]'); - logoTxt = $('input[data-automation-id="adf-url-logo"]'); - usernameError = $('span[data-automation-id="username-error"]'); - usernameInactive = $('input[id="username"][class*="ng-invalid"]'); - adfLogo = $('.adf-img-logo'); - - usernameHighlighted = $('input[id="username"][aria-invalid="true"]'); - signInButton = $('#login-button'); - showPasswordElement = $('button[data-automation-id="show_password"]'); - hidePasswordElement = $('button[data-automation-id="hide_password"]'); - rememberMe = $('mat-checkbox[id="adf-login-remember"]'); - needHelp = $('#adf-login-action-left'); - register = $('#adf-login-action-right'); - footerSwitch = $('#switch4'); - rememberMeSwitch = $('#adf-toggle-show-rememberme'); - logoSwitch = $('#adf-toggle-logo'); - header = $('#adf-header'); - settingsIcon = element(by.cssContainingText('a[data-automation-id="settings"] mat-icon', 'settings')); + private txtUsername = $('input[id="username"]'); + private txtPassword = $('input[id="password"]'); + private signInButton = $('#login-button'); sidenavLayout = $(`[data-automation-id="sidenav-layout"]`); - async goToLoginPage(): Promise { - await BrowserActions.getUrl(this.loginURL); - await this.waitForElements(); - } - async waitForElements(): Promise { await BrowserVisibility.waitUntilElementIsVisible(this.txtUsername); await BrowserVisibility.waitUntilElementIsVisible(this.txtPassword); @@ -63,114 +37,7 @@ export class LoginShellPage { await BrowserActions.clearSendKeys(this.txtPassword, password); } - async clearUsername(): Promise { - await BrowserActions.click(this.txtUsername); - await BrowserActions.clearWithBackSpace(this.txtUsername); - } - - async clearPassword(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.txtPassword); - await BrowserActions.clearWithBackSpace(this.txtPassword); - } - - async getUsernameTooltip(): Promise { - return BrowserActions.getText(this.usernameError); - } - - async checkLoginImgURL(): Promise { - return BrowserActions.getAttribute(this.logoImg, 'src'); - } - - async checkUsernameInactive(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.usernameInactive); - } - - async checkUsernameHighlighted(): Promise { - await BrowserActions.click(this.adfLogo); - await BrowserVisibility.waitUntilElementIsVisible(this.usernameHighlighted); - } - - async checkUsernameTooltipIsNotVisible(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.usernameError); - } - - async getSignInButtonIsEnabled(): Promise { - return this.signInButton.isEnabled(); - } - async clickSignInButton(): Promise { await BrowserActions.click(this.signInButton); } - - async clickSettingsIcon(): Promise { - await BrowserActions.click(this.settingsIcon); - } - - async showPassword(): Promise { - await BrowserActions.click(this.showPasswordElement); - } - - async hidePassword(): Promise { - await BrowserActions.click(this.hidePasswordElement); - } - - async getShownPassword(): Promise { - return BrowserActions.getInputValue(this.txtPassword); - } - - async checkPasswordIsHidden(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.txtPassword); - } - - async checkRememberIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.rememberMe); - } - - async checkRememberIsNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.rememberMe); - } - - async checkNeedHelpIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.needHelp); - } - - async checkNeedHelpIsNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.needHelp); - } - - async checkRegisterDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.register); - } - - async checkRegisterIsNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.register); - } - - async enableFooter(): Promise { - await this.togglePage.enableToggle(this.footerSwitch); - } - - async disableFooter(): Promise { - await this.togglePage.disableToggle(this.footerSwitch); - } - - async disableRememberMe(): Promise { - await this.togglePage.disableToggle(this.rememberMeSwitch); - } - - async enableLogoSwitch(): Promise { - await this.togglePage.enableToggle(this.logoSwitch); - } - - async enterLogo(logo: string): Promise { - await BrowserActions.clearSendKeys(this.logoTxt, logo); - } - - async login(username: string, password: string): Promise { - await this.loginSSOPage.login(username, password); - } - - async loginWithProfile(profile: string): Promise { - await this.loginSSOPage.loginWithProfile(profile); - } } diff --git a/e2e/core/pages/logout.page.ts b/e2e/core/pages/logout.page.ts deleted file mode 100644 index 388ca36b5b..0000000000 --- a/e2e/core/pages/logout.page.ts +++ /dev/null @@ -1,28 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $ } from 'protractor'; -import { BrowserVisibility } from '@alfresco/adf-testing'; - -export class LogoutPage { - - logoutSection = $('div[data-automation-id="adf-logout-section"]'); - - async checkLogoutSectionIsDisplayed() { - await BrowserVisibility.waitUntilElementIsVisible(this.logoutSection); - } -} diff --git a/e2e/core/pages/navigation-bar.page.ts b/e2e/core/pages/navigation-bar.page.ts index b1dbd15cab..96c3694a08 100644 --- a/e2e/core/pages/navigation-bar.page.ts +++ b/e2e/core/pages/navigation-bar.page.ts @@ -21,8 +21,6 @@ import { ProcessServicesPage } from '../../process-services/pages/process-servic export class NavigationBarPage { linkMenuChildrenContainer = $('.nestedMenu'); - dataTableNestedButton = this.linkMenuChildrenContainer.$('.app-sidenav-link[data-automation-id="Datatable"]'); - dataTableDragAndDropButton = this.linkMenuChildrenContainer.$('.app-sidenav-link[data-automation-id="Drag and Drop"]'); processServicesNestedButton = this.linkMenuChildrenContainer.$('.app-sidenav-link[data-automation-id="App"]'); processServicesCloudHomeButton = this.linkMenuChildrenContainer.$('.app-sidenav-link[data-automation-id="Home"]'); formButton = this.linkMenuChildrenContainer.$('.app-sidenav-link[data-automation-id="Form"]'); @@ -100,31 +98,6 @@ export class NavigationBarPage { await this.clickNavigationBarItem('Custom Sources'); } - async clickDataTable(): Promise { - await this.clickNavigationBarItem('Datatable'); - await BrowserVisibility.waitUntilElementIsVisible(this.linkMenuChildrenContainer); - } - - async navigateToDatatable(): Promise { - await this.clickDataTable(); - await BrowserActions.click(this.dataTableNestedButton); - await BrowserVisibility.waitUntilElementIsNotPresent(this.linkMenuChildrenContainer); - } - - async navigateToDragAndDropDatatable(): Promise { - await this.clickDataTable(); - await BrowserActions.click(this.dataTableDragAndDropButton); - await BrowserVisibility.waitUntilElementIsNotPresent(this.linkMenuChildrenContainer); - } - - async clickTagButton(): Promise { - await this.clickNavigationBarItem('Tag'); - } - - async clickSocialButton(): Promise { - await this.clickNavigationBarItem('Social'); - } - async clickOverlayViewerButton(): Promise { await this.clickNavigationBarItem('Overlay Viewer'); } diff --git a/e2e/core/pages/notification.page.ts b/e2e/core/pages/notification.page.ts deleted file mode 100644 index bb70e77eae..0000000000 --- a/e2e/core/pages/notification.page.ts +++ /dev/null @@ -1,95 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { element, by, browser, $, $$ } from 'protractor'; -import { BrowserVisibility, BrowserActions, DropdownPage, SnackbarPage } from '@alfresco/adf-testing'; - -export class NotificationDemoPage { - - snackbarPage = new SnackbarPage(); - - messageField = $('input[data-automation-id="notification-message"]'); - decorativeIconField = $('input[data-automation-id="notification-icon"]'); - durationField = $('input[data-automation-id="notification-duration"]'); - actionToggle = $('mat-slide-toggle[data-automation-id="notification-action-toggle"]'); - notificationSnackBar = $$('simple-snack-bar').first(); - actionOutput = $('div[data-automation-id="notification-action-output"]'); - notificationsPage = $('.app-sidenav-link[data-automation-id="Notifications"]'); - notificationConfig = $('p[data-automation-id="notification-custom-object"]'); - - horizontalPositionDropdown = new DropdownPage($('mat-select[data-automation-id="notification-horizontal-position"]')); - verticalPositionDropdown = new DropdownPage($('mat-select[data-automation-id="notification-vertical-position"]')); - directionDropdown = new DropdownPage($('mat-select[data-automation-id="notification-direction"]')); - - async checkNotifyContains(message): Promise { - await BrowserVisibility.waitUntilElementIsVisible(element.all(by.cssContainingText('simple-snack-bar', message)).first()); - } - - async goToNotificationsPage(): Promise { - await BrowserActions.click(this.notificationsPage); - } - - getConfigObject(): Promise { - return BrowserActions.getText(this.notificationConfig); - } - - async enterMessageField(text: string): Promise { - await BrowserActions.clearSendKeys(this.messageField, text); - } - - async enterDecorativeIconField(icon: string): Promise { - await BrowserActions.clearSendKeys(this.decorativeIconField, icon); - } - - async enterDurationField(time: number): Promise { - await BrowserActions.clearSendKeys(this.durationField, time.toString()); - } - - async selectHorizontalPosition(selectItem: string): Promise { - await this.horizontalPositionDropdown.selectDropdownOption(selectItem); - } - - async selectVerticalPosition(selectItem: string): Promise { - await this.verticalPositionDropdown.selectDropdownOption(selectItem); - } - - async selectDirection(selectItem: string): Promise { - await this.directionDropdown.selectDropdownOption(selectItem); - } - - async clickNotificationButton(): Promise { - const button = $('button[data-automation-id="notification-custom-config-button"]'); - await BrowserActions.click(button); - } - - async checkActionEvent(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.actionOutput); - } - - async clickActionToggle(): Promise { - await BrowserActions.click(this.actionToggle); - } - - async clickActionButton(): Promise { - await browser.executeScript(`document.querySelector("[data-automation-id='adf-snackbar-message-content-action-button']").click();`); - } - - async clearMessage(): Promise { - await BrowserActions.click(this.messageField); - await BrowserActions.clearWithBackSpace(this.messageField); - } -} diff --git a/e2e/core/pages/trashcan.page.ts b/e2e/core/pages/trashcan.page.ts index e939487a3a..428ccaf861 100644 --- a/e2e/core/pages/trashcan.page.ts +++ b/e2e/core/pages/trashcan.page.ts @@ -19,28 +19,21 @@ import { BrowserActions, BrowserVisibility, DocumentListPage } from '@alfresco/a import { browser, $$, $ } from 'protractor'; export class TrashcanPage { - - contentList = new DocumentListPage($('adf-document-list')); - rows = $$('adf-document-list div[class*="adf-datatable-body"] adf-datatable-row[class*="adf-datatable-row"]'); - tableBody = $$('adf-document-list .adf-datatable-body').first(); - pagination = $('adf-pagination'); - emptyTrashcan = $('adf-empty-content'); - restoreButton = $(`button[title='Restore']`); + private contentList = new DocumentListPage($('adf-document-list')); + private restoreButton = $(`button[title='Restore']`); async numberOfResultsDisplayed(): Promise { - return this.rows.count(); + const rows = $$('adf-document-list div[class*="adf-datatable-body"] adf-datatable-row[class*="adf-datatable-row"]'); + return rows.count(); } async waitForTableBody(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.tableBody); - } - - async waitForPagination(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.pagination); + const tableBody = $$('adf-document-list .adf-datatable-body').first(); + await BrowserVisibility.waitUntilElementIsVisible(tableBody); } async checkTrashcanIsEmpty(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.emptyTrashcan); + await BrowserVisibility.waitUntilElementIsVisible($('adf-empty-content')); } getDocumentList(): DocumentListPage { @@ -55,9 +48,4 @@ export class TrashcanPage { async checkRestoreButtonIsNotDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsNotVisible(this.restoreButton); } - - async checkRestoreButtonIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.restoreButton); - } - } diff --git a/e2e/core/viewer/viewer-properties.e2e.ts b/e2e/core/viewer/viewer-properties.e2e.ts index 4c3b0161c4..ac590a1153 100644 --- a/e2e/core/viewer/viewer-properties.e2e.ts +++ b/e2e/core/viewer/viewer-properties.e2e.ts @@ -17,7 +17,6 @@ import { browser } from 'protractor'; import { createApiService, - DataTableComponentPage, LoginPage, UploadActions, UserModel, @@ -35,7 +34,6 @@ describe('Viewer', () => { const contentServicesPage = new ContentServicesPage(); const loginPage = new LoginPage(); const navigationBarPage = new NavigationBarPage(); - const dataTable = new DataTableComponentPage(); const pngFile = new FileModel({ name: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name, @@ -168,28 +166,5 @@ describe('Viewer', () => { await viewerPage.checkLeftSideBarButtonIsNotDisplayed(); await viewerPage.checkLeftSideBarIsNotDisplayed(); }); - }); - - fit('[C260100] Should be possible to disable Overlay viewer', async () => { - await navigationBarPage.clickOverlayViewerButton(); - await dataTable.doubleClickRow('Name', fileForOverlay.name); - await viewerPage.checkOverlayViewerIsDisplayed(); - - await viewerPage.clickCloseButton(); - await dataTable.doubleClickRow('Name', pngFile.name); - - await viewerPage.checkOverlayViewerIsDisplayed(); - await viewerPage.clickCloseButton(); - - await viewerPage.disableOverlay(); - - await dataTable.doubleClickRow('Name', fileForOverlay.name); - await viewerPage.checkImgContainerIsDisplayed(); - await viewerPage.checkInlineViewerIsDisplayed(); - await dataTable.doubleClickRow('Name', pngFile.name); - await viewerPage.checkImgContainerIsDisplayed(); - await viewerPage.checkInlineViewerIsDisplayed(); - }); -}) -; +}); diff --git a/e2e/process-services-cloud/pages/people-group-cloud-component.page.ts b/e2e/process-services-cloud/pages/people-group-cloud-component.page.ts deleted file mode 100644 index aab68c23af..0000000000 --- a/e2e/process-services-cloud/pages/people-group-cloud-component.page.ts +++ /dev/null @@ -1,108 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { by, element, $, $$, browser } from 'protractor'; -import { BrowserVisibility, BrowserActions } from '@alfresco/adf-testing'; - -export class PeopleGroupCloudComponentPage { - - peopleCloudSingleSelectionChecked = $('mat-radio-button[data-automation-id="app-people-single-mode"][class*="mat-radio-checked"]'); - peopleCloudMultipleSelectionChecked = $('mat-radio-button[data-automation-id="app-people-multiple-mode"][class*="mat-radio-checked"]'); - peopleCloudSingleSelection = $('mat-radio-button[data-automation-id="app-people-single-mode"]'); - peopleCloudMultipleSelection = $('mat-radio-button[data-automation-id="app-people-multiple-mode"]'); - groupCloudSingleSelection = $('mat-radio-button[data-automation-id="app-group-single-mode"]'); - groupCloudMultipleSelection = $('mat-radio-button[data-automation-id="app-group-multiple-mode"]'); - peopleRoleInput = $('input[data-automation-id="app-people-roles-input"]'); - peopleAppInput = $('input[data-automation-id="app-people-app-input"]'); - peoplePreselect = $('input[data-automation-id="app-people-preselect-input"]'); - groupRoleInput = $('input[data-automation-id="app-group-roles-input"]'); - groupAppInput = $('input[data-automation-id="app-group-app-input"]'); - peopleCloudComponentTitle = element(by.cssContainingText('mat-card-title', 'People Cloud Component')); - groupCloudComponentTitle = element(by.cssContainingText('mat-card-title', 'Groups Cloud Component')); - preselectValidation = $$('mat-checkbox.app-preselect-value label').first(); - preselectValidationStatus = $$('mat-checkbox.app-preselect-value label input').first(); - - async navigateTo() { - await browser.get('#/cloud/people-group-cloud'); - await browser.waitForAngular(); - } - - async checkPeopleCloudComponentTitleIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.peopleCloudComponentTitle); - } - - async checkGroupsCloudComponentTitleIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.groupCloudComponentTitle); - } - - async clickPeopleCloudSingleSelection(): Promise { - await BrowserActions.click(this.peopleCloudSingleSelection); - } - - async clickPeopleCloudMultipleSelection(): Promise { - await BrowserActions.click(this.peopleCloudMultipleSelection); - } - - async checkPeopleCloudSingleSelectionIsSelected(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.peopleCloudSingleSelectionChecked); - } - - async checkPeopleCloudMultipleSelectionIsSelected(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.peopleCloudMultipleSelectionChecked); - } - - async enterPeopleRoles(roles: string): Promise { - await BrowserActions.clearSendKeys(this.peopleRoleInput, roles); - } - - async enterPeoplePreselect(preselect: string): Promise { - await BrowserActions.clearSendKeys(this.peoplePreselect, preselect); - } - - async clearField(locator): Promise { - await BrowserActions.clearSendKeys(locator, ''); - } - - async clickGroupCloudSingleSelection(): Promise { - await BrowserActions.click(this.groupCloudSingleSelection); - } - - async clickGroupCloudMultipleSelection(): Promise { - await BrowserActions.click(this.groupCloudMultipleSelection); - } - - async enterGroupRoles(roles): Promise { - await BrowserActions.clearSendKeys(this.groupRoleInput, roles); - } - - async clickPreselectValidation(): Promise { - await BrowserActions.click(this.preselectValidation); - } - - async getPreselectValidationStatus(): Promise { - return BrowserActions.getAttribute(this.preselectValidationStatus, 'aria-checked'); - } - - async enterPeopleAppName(appName: string): Promise { - await BrowserActions.clearSendKeys(this.peopleAppInput, appName); - } - - async enterGroupAppName(appName: string): Promise { - await BrowserActions.clearSendKeys(this.groupAppInput, appName); - } - -} diff --git a/e2e/process-services-cloud/pages/service-task-list.page.ts b/e2e/process-services-cloud/pages/service-task-list.page.ts deleted file mode 100644 index 529e014ece..0000000000 --- a/e2e/process-services-cloud/pages/service-task-list.page.ts +++ /dev/null @@ -1,74 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $ } from 'protractor'; -import { - BrowserVisibility, - BrowserActions, - DataTableComponentPage -} from '@alfresco/adf-testing'; - -export class ServiceTaskListPage { - dataTableComponentPage = new DataTableComponentPage(); - allServiceTaskButton = $('button[data-automation-id="my-service-tasks_filter"]'); - completedServiceTaskButton = $('button[data-automation-id="completed-tasks_filter"]'); - errorServiceTaskButton = $('button[data-automation-id="errored-service-tasks_filter"]'); - searchHeader = $('adf-cloud-edit-service-task-filter mat-expansion-panel-header'); - serviceTaskList = $('adf-cloud-service-task-list'); - activityNameField = $('input[data-automation-id="adf-cloud-edit-task-property-activityName"]'); - activityStatus = $('[data-automation-id="datatable-row-0"] div[aria-label="Status"]'); - activityName = $('[data-automation-id="datatable-row-0"] div[aria-label="Activity name"]'); - resultList = $('div[role="rowgroup"].adf-datatable-body'); - - async checkServiceTaskFiltersDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.allServiceTaskButton); - await BrowserVisibility.waitUntilElementIsVisible(this.completedServiceTaskButton); - await BrowserVisibility.waitUntilElementIsVisible(this.errorServiceTaskButton); - } - - async checkSearchServiceTaskFiltersDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.searchHeader); - } - - async checkServiceTaskListDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.serviceTaskList); - } - - async clickCompletedServiceTask(): Promise { - await BrowserActions.click(this.completedServiceTaskButton); - } - - async clickSearchHeaderServiceTask(): Promise { - await BrowserActions.click(this.searchHeader); - } - - async searchByActivityName(text: string): Promise { - await BrowserActions.clearSendKeys(this.activityNameField, text); - } - - async getActivityNameText(): Promise { - return BrowserActions.getText(this.activityName); - } - - async getStatusText(): Promise { - return BrowserActions.getText(this.activityStatus); - } - - async checkServiceTaskListResultsIsLoaded(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.resultList); - } -} diff --git a/e2e/process-services-cloud/pages/tasks-cloud-demo.page.ts b/e2e/process-services-cloud/pages/tasks-cloud-demo.page.ts index a98fc3d3b8..d06931a7ed 100644 --- a/e2e/process-services-cloud/pages/tasks-cloud-demo.page.ts +++ b/e2e/process-services-cloud/pages/tasks-cloud-demo.page.ts @@ -25,26 +25,16 @@ import { } from '@alfresco/adf-testing'; export class TasksCloudDemoPage { - createButton = TestElement.byCss('button[data-automation-id="create-button"'); newTaskButton = TestElement.byCss('button[data-automation-id="btn-start-task"]'); settingsButton = element.all(by.cssContainingText('div[class*="mat-tab-label"] .mat-tab-labels div', 'Settings')).first(); appButton = element.all(by.cssContainingText('div[class*="mat-tab-label"] .mat-tab-labels div', 'App')).first(); displayTaskDetailsToggle = $('mat-slide-toggle[data-automation-id="taskDetailsRedirection"]'); displayProcessDetailsToggle = $('mat-slide-toggle[data-automation-id="processDetailsRedirection"]'); - actionMenuToggle = $('mat-slide-toggle[data-automation-id="actionmenu"]'); - contextMenuToggle = $('mat-slide-toggle[data-automation-id="contextmenu"]'); multiSelectionToggle = $('mat-slide-toggle[data-automation-id="multiSelection"]'); testingModeToggle = $('mat-slide-toggle[data-automation-id="testingMode"]'); selectedRows = element(by.xpath('//div[text()=\' Selected Rows: \']')); noOfSelectedRows = element.all(by.xpath('//div[text()=\' Selected Rows: \']//li')); - addActionTitle = element(by.cssContainingText('.mat-card-title', 'Add Action')); - keyInputField = TestElement.byCss('input[data-placeholder="Key"]'); - titleInputField = TestElement.byCss('input[data-placeholder="Title"]'); - iconInputField = TestElement.byCss('input[data-placeholder="Icon"]'); - addActionButton = TestElement.byText('button span', 'Add'); - disableCheckbox = TestElement.byCss(`mat-checkbox[formcontrolname='disabled']`); - visibleCheckbox = TestElement.byCss(`mat-checkbox[formcontrolname='visible']`); spinner = TestElement.byTag('mat-progress-spinner'); modeDropdown = new DropdownPage($('mat-form-field[data-automation-id="selectionMode"]')); @@ -66,14 +56,6 @@ export class TasksCloudDemoPage { await this.togglePage.enableToggle(this.multiSelectionToggle); } - async enableActionMenu(): Promise { - await this.togglePage.enableToggle(this.actionMenuToggle); - } - - async enableContextMenu(): Promise { - await this.togglePage.enableToggle(this.contextMenuToggle); - } - async enableTestingMode(): Promise { await this.togglePage.enableToggle(this.testingModeToggle); } @@ -118,44 +100,6 @@ export class TasksCloudDemoPage { return BrowserActions.getText(row); } - addActionIsDisplayed(): Promise { - return new TestElement(this.addActionTitle).waitVisible(); - } - - async addAction(text: string): Promise { - await this.keyInputField.typeText(text); - await this.titleInputField.typeText(text); - await this.iconInputField.typeText(text); - await this.addActionButton.click(); - } - - async addDisabledAction(text: string): Promise { - await this.keyInputField.typeText(text); - await this.titleInputField.typeText(text); - await this.iconInputField.typeText(text); - await this.disableCheckbox.click(); - await this.addActionButton.click(); - } - - async addInvisibleAction(text: string): Promise { - await this.keyInputField.typeText(text); - await this.titleInputField.typeText(text); - await this.iconInputField.typeText(text); - await this.visibleCheckbox.click(); - await this.addActionButton.click(); - } - - actionAdded(action: string): Promise { - return TestElement.byText(`mat-chip`, action).waitVisible(); - } - - async checkActionExecuted(taskId: string, action: string): Promise { - await TestElement.byText(`span`, 'Action Menu:').waitVisible(); - await TestElement.byText(`span`, 'Context Menu:').waitVisible(); - await TestElement.byText(`span`, 'Task ID: ' + taskId).waitVisible(); - await TestElement.byText(`span`, 'Action Type: ' + action).waitVisible(); - } - async clickStartNewTaskButton() { await this.createButton.click(); await this.newTaskButton.click(); diff --git a/e2e/process-services-cloud/task-list/apps-section-cloud.e2e.ts b/e2e/process-services-cloud/task-list/apps-section-cloud.e2e.ts index 5c9998df74..59b5664474 100644 --- a/e2e/process-services-cloud/task-list/apps-section-cloud.e2e.ts +++ b/e2e/process-services-cloud/task-list/apps-section-cloud.e2e.ts @@ -33,7 +33,6 @@ describe('Applications list', () => { let testUser; const appNames = []; - let applications; beforeAll(async () => { await apiService.loginWithProfile('identityAdmin'); @@ -42,7 +41,7 @@ describe('Applications list', () => { await loginSSOPage.login(testUser.username, testUser.password); await apiService.login(testUser.username, testUser.password); - applications = await applicationsService.getApplicationsByStatus('RUNNING'); + const applications = await applicationsService.getApplicationsByStatus('RUNNING'); applications.list.entries.forEach(app => { appNames.push(app.entry.name.toLowerCase()); diff --git a/e2e/process-services/pages/attach-form.page.ts b/e2e/process-services/pages/attach-form.page.ts index eefa85b660..d00735430d 100644 --- a/e2e/process-services/pages/attach-form.page.ts +++ b/e2e/process-services/pages/attach-form.page.ts @@ -28,18 +28,10 @@ export class AttachFormPage { defaultTitle = $('.mat-card-title'); attachFormDropdown = new DropdownPage($('.adf-attach-form-row')); - async checkNoFormMessageIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.noFormMessage); - } - async checkAttachFormButtonIsDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsVisible(this.attachFormButton); } - async checkCompleteButtonIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.completeButton); - } - async clickAttachFormButton(): Promise { await BrowserActions.click(this.attachFormButton); } diff --git a/e2e/process-services/pages/process-details.page.ts b/e2e/process-services/pages/process-details.page.ts index 72ee942115..1939c0dfe6 100644 --- a/e2e/process-services/pages/process-details.page.ts +++ b/e2e/process-services/pages/process-details.page.ts @@ -29,7 +29,6 @@ export class ProcessDetailsPage { backButton = TestElement.byCss('app-show-diagram button.mat-mini-fab.mat-accent'); commentInput = TestElement.byId('comment-input'); auditLogButton = TestElement.byCss('button[adf-process-audit]'); - auditLogEmptyListMessage = TestElement.byCss('.app-empty-list-header'); cancelProcessButton = TestElement.byCss('div[data-automation-id="header-status"] > button'); activeTask = TestElement.byCss('div[data-automation-id="active-tasks"]'); completedTask = TestElement.byCss('div[data-automation-id="completed-tasks"]'); diff --git a/e2e/process-services/pages/process-filters.page.ts b/e2e/process-services/pages/process-filters.page.ts index 5b7df6f1b6..99e1ef04be 100644 --- a/e2e/process-services/pages/process-filters.page.ts +++ b/e2e/process-services/pages/process-filters.page.ts @@ -28,7 +28,6 @@ export class ProcessFiltersPage { buttonWindow = $('div > button[data-automation-id="btn-start-process"] > div'); noContentMessage = $$('.adf-empty-content__title').first(); rows = $$('adf-process-instance-list .adf-datatable-body adf-datatable-row[class*="adf-datatable-row"]'); - tableBody = $$('adf-datatable .adf-datatable-body').first(); processIcon = 'adf-icon[data-automation-id="adf-filter-icon"]'; startProcessEl = $('adf-start-process .adf-start-process'); diff --git a/e2e/process-services/pages/process-list-demo.page.ts b/e2e/process-services/pages/process-list-demo.page.ts index 11be7fdf13..f68b8247c2 100644 --- a/e2e/process-services/pages/process-list-demo.page.ts +++ b/e2e/process-services/pages/process-list-demo.page.ts @@ -26,8 +26,8 @@ export class ProcessListDemoPage { processDefinitionInput = $('input[data-automation-id="process-definition-id"]'); processInstanceInput = $('input[data-automation-id="process-instance-id"]'); - stateDropdown = new DropdownPage($('mat-select[data-automation-id="state"')); - sortDropdown = new DropdownPage($('mat-select[data-automation-id="sort"')); + stateDropdown = new DropdownPage($('mat-select[data-automation-id="state"]')); + sortDropdown = new DropdownPage($('mat-select[data-automation-id="sort"]')); dataTable = new DataTableComponentPage(); diff --git a/e2e/process-services/pages/process-list.page.ts b/e2e/process-services/pages/process-list.page.ts index a29d790b1e..1a6fe10175 100644 --- a/e2e/process-services/pages/process-list.page.ts +++ b/e2e/process-services/pages/process-list.page.ts @@ -19,7 +19,6 @@ import { BrowserVisibility, BrowserActions } from '@alfresco/adf-testing'; import { $ } from 'protractor'; export class ProcessListPage { - processListTitle = $('.adf-empty-content__title'); processInstanceList = $('adf-process-instance-list'); @@ -27,10 +26,6 @@ export class ProcessListPage { return BrowserActions.getText(this.processListTitle); } - titleNotPresent(): Promise { - return BrowserVisibility.waitUntilElementIsNotPresent(this.processListTitle); - } - async isProcessListDisplayed(): Promise { try { await BrowserVisibility.waitUntilElementIsVisible(this.processInstanceList); @@ -39,5 +34,4 @@ export class ProcessListPage { return false; } } - } diff --git a/e2e/process-services/pages/task-details.page.ts b/e2e/process-services/pages/task-details.page.ts index a2236e863e..d4029ed0a5 100644 --- a/e2e/process-services/pages/task-details.page.ts +++ b/e2e/process-services/pages/task-details.page.ts @@ -58,11 +58,8 @@ export class TaskDetailsPage { removeInvolvedPeople = $('button[data-automation-id="Remove"]'); peopleTitle = $('#people-title'); noFormMessage = $('span[id*="no-form-message"]'); - cancelAttachForm = $('#adf-no-form-cancel-button'); attachFormButton = $('#adf-no-form-attach-form-button'); - disabledAttachFormButton = $('button[id="adf-no-form-attach-form-button"][disabled]'); removeAttachForm = $('#adf-attach-form-remove-button'); - attachFormName = $('.adf-form-title'); emptyTaskDetails = $('adf-task-details > div > div'); priority = $('[data-automation-id*="card-textitem-value-priority"]'); editableAssignee = $('[data-automation-id="card-textitem-value-assignee"][class*="clickable"]'); @@ -94,22 +91,10 @@ export class TaskDetailsPage { await this.attachFormDropdown.checkOptionIsSelected(formName); } - async checkAttachFormButtonIsDisabled(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.disabledAttachFormButton); - } - async checkAttachFormButtonIsEnabled(): Promise { await BrowserVisibility.waitUntilElementIsClickable(this.attachFormButton); } - async checkAttachFormDropdownIsDisplayed(): Promise { - await this.attachFormDropdown.checkDropdownIsVisible(); - } - - async selectAttachFormOption(option): Promise { - await this.attachFormDropdown.selectDropdownOption(option); - } - async noFormIsDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsNotVisible(this.formContent); } @@ -139,10 +124,6 @@ export class TaskDetailsPage { await BrowserVisibility.waitUntilElementHasValue(this.formNameField, formName); } - getFormName(): Promise { - return BrowserActions.getInputValue(this.formNameField); - } - async waitFormNameEqual(formName: string): Promise { await BrowserVisibility.waitUntilElementHasValue(this.formNameField, formName); } diff --git a/e2e/process-services/pages/task-filters.page.ts b/e2e/process-services/pages/task-filters.page.ts index fcd69d4d06..e388c9a7c8 100644 --- a/e2e/process-services/pages/task-filters.page.ts +++ b/e2e/process-services/pages/task-filters.page.ts @@ -45,9 +45,4 @@ export class TaskFiltersPage { async clickTaskFilter(): Promise { return BrowserActions.click(this.filter); } - - async checkTaskFilterNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.filter); - } - } diff --git a/e2e/process-services/pages/task-list-demo.page.ts b/e2e/process-services/pages/task-list-demo.page.ts index ce5fc7e847..e05771efbb 100644 --- a/e2e/process-services/pages/task-list-demo.page.ts +++ b/e2e/process-services/pages/task-list-demo.page.ts @@ -83,10 +83,6 @@ export class TaskListDemoPage { await this.taskList().getDataTable().waitTillContentLoaded(); } - async getProcessDefinitionId(): Promise { - return BrowserActions.getInputValue(this.processInstanceId); - } - async typeProcessInstanceId(input: string): Promise { await BrowserActions.clearSendKeys(this.processInstanceId, input); } @@ -105,10 +101,6 @@ export class TaskListDemoPage { await BrowserActions.clearSendKeys(this.page, input.toString()); } - async getPage(): Promise { - return BrowserActions.getInputValue(this.page); - } - async getPageFieldErrorMessage(): Promise { await BrowserVisibility.waitUntilElementIsVisible(this.pageForm); const errorMessage = this.pageForm.$('mat-error'); @@ -123,11 +115,6 @@ export class TaskListDemoPage { await BrowserActions.clearSendKeys(this.dueBefore, input); } - async clearText(input): Promise { - await BrowserVisibility.waitUntilElementIsVisible(input); - await input.clear(); - } - async clickResetButton(): Promise { await BrowserActions.closeMenuAndDialogs(); await BrowserActions.click(this.resetButton); diff --git a/e2e/process-services/pages/tasks.page.ts b/e2e/process-services/pages/tasks.page.ts index 2284ab7e69..a9625802d1 100644 --- a/e2e/process-services/pages/tasks.page.ts +++ b/e2e/process-services/pages/tasks.page.ts @@ -53,10 +53,6 @@ export class TasksPage { await dialog.clickStartButton(); } - async newTaskButtonIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.newTaskButton); - } - async clickOnCreateButton(): Promise { await BrowserActions.click(this.createButton); } diff --git a/e2e/protractor.conf.js b/e2e/protractor.conf.js index bd0356aea0..dd77c554fe 100644 --- a/e2e/protractor.conf.js +++ b/e2e/protractor.conf.js @@ -106,8 +106,6 @@ exports.config = { suites: { smokeTestCore: [ "./core/login-sso/login-sso.e2e.ts", - "./core/login/login-component.e2e.ts", - "./core/login/remember-me.e2e.ts", "./core/viewer/**/*.e2e.ts" ], smokeTestCsSearch: [ diff --git a/e2e/search/components/search-date-range.e2e.ts b/e2e/search/components/search-date-range.e2e.ts index 9528ee81ee..424af603ba 100644 --- a/e2e/search/components/search-date-range.e2e.ts +++ b/e2e/search/components/search-date-range.e2e.ts @@ -176,15 +176,10 @@ describe('Search Date Range Filter', () => { }); describe('configuration change', () => { - let jsonFile; - - beforeAll(async () => { - jsonFile = SearchConfiguration.getConfiguration(); - }); - it('[C277117] Should be able to change date format', async () => { await navigationBar.navigateToContentServices(); + const jsonFile= SearchConfiguration.getConfiguration(); jsonFile.categories[4].component.settings.dateFormat = 'MM-DD-YY'; await LocalStorageUtil.setConfigField('search', JSON.stringify(jsonFile)); diff --git a/e2e/search/components/search-radio.e2e.ts b/e2e/search/components/search-radio.e2e.ts index 42a3e616d9..5d7e2e1725 100644 --- a/e2e/search/components/search-radio.e2e.ts +++ b/e2e/search/components/search-radio.e2e.ts @@ -141,7 +141,7 @@ describe('Search Radio Component', () => { for (let numberOfOptions = 0; numberOfOptions < 6; numberOfOptions++) { jsonFile.categories[5].component.settings.options.push({ - name: 'APP.SEARCH.RADIO.FOLDER', + name: 'Folder', value: 'TYPE:\'cm:folder\'' }); } @@ -199,7 +199,7 @@ describe('Search Radio Component', () => { for (let numberOfOptions = 0; numberOfOptions < 6; numberOfOptions++) { jsonFile.categories[5].component.settings.options.push({ - name: 'APP.SEARCH.RADIO.FOLDER', + name: 'Folder', value: 'TYPE:\'cm:folder\'' }); } diff --git a/e2e/search/components/search-text.e2e.ts b/e2e/search/components/search-text.e2e.ts index c9f12f4447..7ada68d729 100644 --- a/e2e/search/components/search-text.e2e.ts +++ b/e2e/search/components/search-text.e2e.ts @@ -76,12 +76,6 @@ describe('Search component - Text widget', () => { }); describe('configuration change', () => { - let jsonFile; - - beforeAll(async () => { - jsonFile = SearchConfiguration.getConfiguration(); - }); - it('[C289330] Should be able to change the Field setting', async () => { await BrowserActions.getUrl(browser.baseUrl + '/search;q=*'); await searchResultPage.tableIsLoaded(); @@ -99,6 +93,7 @@ describe('Search component - Text widget', () => { await searchFiltersPage.textFiltersPage().searchByName(newFolderModel.description); await searchResultPage.checkContentIsNotDisplayed(newFolderModel.name); + const jsonFile= SearchConfiguration.getConfiguration(); jsonFile.categories[0].component.settings.field = 'cm:description'; await navigationBarPage.navigateToContentServices(); diff --git a/e2e/search/pages/search-bar.page.ts b/e2e/search/pages/search-bar.page.ts index a1338bf9ae..87f6ad24e8 100644 --- a/e2e/search/pages/search-bar.page.ts +++ b/e2e/search/pages/search-bar.page.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { browser, ElementFinder, protractor, $ } from 'protractor'; +import { ElementFinder, protractor, $ } from 'protractor'; import { BrowserVisibility, BrowserActions, TestElement } from '@alfresco/adf-testing'; export class SearchBarPage { @@ -31,12 +31,6 @@ export class SearchBarPage { getRowByRowName = (name: string): ElementFinder => $(`mat-list-item[data-automation-id='autocomplete_for_${name}']`); - async pressDownArrowAndEnter(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.searchBar); - await BrowserActions.clearSendKeys(this.searchBar, protractor.Key.ARROW_DOWN); - await browser.actions().sendKeys(protractor.Key.ENTER).perform(); - } - async clickOnSearchIcon(): Promise { await BrowserActions.click(this.searchIcon); } diff --git a/e2e/search/search.config.ts b/e2e/search/search.config.ts index 89c50d1247..323641551c 100644 --- a/e2e/search/search.config.ts +++ b/e2e/search/search.config.ts @@ -169,10 +169,10 @@ export class SearchConfiguration { field: null, pageSize: 5, options: [ - {name: 'APP.SEARCH.RADIO.NONE', value: '', default: true}, - {name: 'APP.SEARCH.RADIO.ALL', value: 'TYPE:\'cm:folder\' OR TYPE:\'cm:content\''}, - {name: 'APP.SEARCH.RADIO.FOLDER', value: 'TYPE:\'cm:folder\''}, - {name: 'APP.SEARCH.RADIO.DOCUMENT', value: 'TYPE:\'cm:content\''} + {name: 'None', value: '', default: true}, + {name: 'All', value: 'TYPE:\'cm:folder\' OR TYPE:\'cm:content\''}, + {name: 'Folder', value: 'TYPE:\'cm:folder\''}, + {name: 'Document', value: 'TYPE:\'cm:content\''} ] } } @@ -188,8 +188,8 @@ export class SearchConfiguration { maxDate: 'today', field: 'cm:created, cm:modified', displayedLabelsByField: { - "cm:created": 'Created Date', - "cm:modified": 'Modified Date' + 'cm:created': 'Created Date', + 'cm:modified': 'Modified Date' } } } diff --git a/lib/core/src/lib/i18n/ar.json b/lib/core/src/lib/i18n/ar.json index 7556e783f4..72eb8b453a 100755 --- a/lib/core/src/lib/i18n/ar.json +++ b/lib/core/src/lib/i18n/ar.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "تعذر حذف {{ name }}", "ERROR_PLURAL": "تعذر حذف {{ number }} من العناصر" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "نوع المصادقة", - "BASIC": "مصادقة أساسية", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "موفر", - "REQUIRED": "هذا الحقل مطلوب", - "CS_URL_ERROR": "لا يتطابق عنوان Content Services مع تنسيق URL", - "PS_URL_ERROR": "لا يتطابق عنوان Process Services مع تنسيق URL", - "TITLE": "الإعدادات", - "CS-HOST": "عنوان URL لـ Content Services", - "BP-HOST": "عنوان URL لـ Process Services", - "BACK": "عودة", - "APPLY": "تطبيق", - "NOT_VALID": "لم يتم التعرف على http(s)://host|ip:port(/path)، جرّب عنوان URL مختلفًا.", - "REDIRECT": "إعادة توجيه URI", - "REDIRECT_LOGOUT": "إعادة توجيه خروج URI", - "SILENT": "دخول صامت", - "SCOPE": "نطاق", - "CLIENT": "معرف العميل", - "PUBLIC_URLS": "عناوين url العامة لتسجيل الدخول الصامت", - "SECRET": "سر" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "إضافة جديد", @@ -591,4 +567,4 @@ "LOADING": "جار التحميل...", "SELECTION_ARIA_LABEL": "{{placeholder}} مربع تحرير وسرد {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/cs.json b/lib/core/src/lib/i18n/cs.json index 8e3886c407..ae56bafda7 100755 --- a/lib/core/src/lib/i18n/cs.json +++ b/lib/core/src/lib/i18n/cs.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "„{{ name }}“ nebylo možné odstranit", "ERROR_PLURAL": "Některé položky ({{ number }}) nebylo možné odstranit" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Typ ověřování", - "BASIC": "Základní ověřování", - "SSO": "Jednotné přihlášení", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Poskytovatel", - "REQUIRED": "Toto pole je povinné", - "CS_URL_ERROR": "Adresa Content Services neodpovídá formátu adresy URL", - "PS_URL_ERROR": "Adresa Process Services neodpovídá formátu adresy URL", - "TITLE": "Nastavení", - "CS-HOST": "Adresa URL pro Content Services", - "BP-HOST": "Adresa URL pro Process Services", - "BACK": "Zpět", - "APPLY": "Použít", - "NOT_VALID": "http(s)://host|ip:port(/path) nelze rozeznat. Použijte jinou adresu URL.", - "REDIRECT": "URI pro přesměrování", - "REDIRECT_LOGOUT": "URI pro přesměrování (odhlášení)", - "SILENT": "Přihlášení na pozadí", - "SCOPE": "Rozsah", - "CLIENT": "ID klienta", - "PUBLIC_URLS": "Veřejné adresy URL pro přihlášení na pozadí", - "SECRET": "Tajné" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Přidat nové", @@ -591,4 +567,4 @@ "LOADING": "Načítání...", "SELECTION_ARIA_LABEL": "{{placeholder}} combobox {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/da.json b/lib/core/src/lib/i18n/da.json index d5b4c27c29..3a0fcc69f9 100755 --- a/lib/core/src/lib/i18n/da.json +++ b/lib/core/src/lib/i18n/da.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "{{ name }} kunne ikke slettes", "ERROR_PLURAL": "{{ number }} elementer kunne ikke slettes" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Godkendelsestype", - "BASIC": "Grundlæggende godkendelse", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Udbyder", - "REQUIRED": "Dette felt er påkrævet", - "CS_URL_ERROR": "Content Services-adressen matcher ikke URL-formatet", - "PS_URL_ERROR": "Process Services-adressen matcher ikke URL-adresseformatet", - "TITLE": "Indstillinger", - "CS-HOST": "Content Services-URL", - "BP-HOST": "Process Services-URL", - "BACK": "Tilbage", - "APPLY": "Anvend", - "NOT_VALID": "http(s)://vært|ip-adresse:port(/sti) blev ikke genkendt. Prøv en anden URL-adresse.", - "REDIRECT": "URI til omdirigering", - "REDIRECT_LOGOUT": "Omdiriger URI til aflogning", - "SILENT": "Uovervåget login", - "SCOPE": "Omfang", - "CLIENT": "Klient-id", - "PUBLIC_URLS": "Uovervåget login til offentlige URL-adresser", - "SECRET": "Hemmelig" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Tilføj ny(t)", @@ -591,4 +567,4 @@ "LOADING": "Indlæser...", "SELECTION_ARIA_LABEL": "{{placeholder}} kombiboks {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/de.json b/lib/core/src/lib/i18n/de.json index f19a2c8bc2..72aff2b9d6 100755 --- a/lib/core/src/lib/i18n/de.json +++ b/lib/core/src/lib/i18n/de.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "{{ name }} konnte nicht gelöscht werden", "ERROR_PLURAL": "{{ number }} Elemente konnten nicht gelöscht werden" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Authentifizierungstyp", - "BASIC": "Basisauthentifizierung", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Provider", - "REQUIRED": "Dieses Feld ist erforderlich", - "CS_URL_ERROR": "Content Services-Adresse nicht im richtigen URL-Format", - "PS_URL_ERROR": "Process Services-Adresse nicht im richtigen URL-Format", - "TITLE": "Einstellungen", - "CS-HOST": "URL für Content Services", - "BP-HOST": "URL für Process Services", - "BACK": "Zurück", - "APPLY": "Anwenden", - "NOT_VALID": "http(s)://host|ip:port(/path) nicht erkannt. Probieren Sie es mit einer anderen URL.", - "REDIRECT": "Umleitungs-URI", - "REDIRECT_LOGOUT": "Umleitungs-URI zum Abmelden", - "SILENT": "Automatische Anmeldung", - "SCOPE": "Bereich", - "CLIENT": "Client-ID", - "PUBLIC_URLS": "Öffentliche URLs für automatische Anmeldung", - "SECRET": "Geheimnis" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Neue hinzufügen", @@ -591,4 +567,4 @@ "LOADING": "Es wird geladen...", "SELECTION_ARIA_LABEL": "{{placeholder}} Kombinationsfeld {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/en.json b/lib/core/src/lib/i18n/en.json index 5e5afe8a89..dfb040f301 100644 --- a/lib/core/src/lib/i18n/en.json +++ b/lib/core/src/lib/i18n/en.json @@ -174,30 +174,6 @@ "ERROR_SINGULAR": "{{ name }} couldn't be deleted", "ERROR_PLURAL": "{{ number }} items couldn't be deleted" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Authentication type", - "BASIC": "Basic Authentication", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Provider", - "REQUIRED": "This field is required", - "CS_URL_ERROR": "Content Services address doesn't match the URL format", - "PS_URL_ERROR": "Process Services address doesn't match the URL format", - "TITLE": "Settings", - "CS-HOST": "Content Services URL", - "BP-HOST": "Process Services URL", - "BACK": "Back", - "APPLY": "APPLY", - "NOT_VALID": "http(s)://host|ip:port(/path) not recognized, try a different URL.", - "REDIRECT": "Redirect URI", - "REDIRECT_LOGOUT": "Redirect URI Logout", - "SILENT": "Silent Login", - "SCOPE": "Scope", - "CLIENT": "Client ID", - "PUBLIC_URLS": "Public urls silent Login", - "SECRET": "Secret" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Add New", diff --git a/lib/core/src/lib/i18n/es.json b/lib/core/src/lib/i18n/es.json index ec83733dad..3938168039 100755 --- a/lib/core/src/lib/i18n/es.json +++ b/lib/core/src/lib/i18n/es.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "{{ name }} no se ha podido eliminar", "ERROR_PLURAL": "{{ number }} elementos no se han podido eliminar" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Tipo de autenticación", - "BASIC": "Autenticación básica", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Proveedor", - "REQUIRED": "Este campo es obligatorio", - "CS_URL_ERROR": "La dirección de Content Services no coincide con el formato de la URL", - "PS_URL_ERROR": "La dirección de Process Services no coincide con el formato de la URL", - "TITLE": "Configuración", - "CS-HOST": "URL de Content Services", - "BP-HOST": "URL de Process Services", - "BACK": "Volver", - "APPLY": "Aplicar", - "NOT_VALID": "http(s)://host|ip:port(/path) no reconocido; pruebe con una URL diferente.", - "REDIRECT": "URI de redireccionamiento", - "REDIRECT_LOGOUT": "Cierre de sesión de URI de redireccionamiento", - "SILENT": "Inicio de sesión silencioso", - "SCOPE": "Ámbito", - "CLIENT": "ID de cliente", - "PUBLIC_URLS": "URL públicas para inicio de sesión silencioso", - "SECRET": "Secreto" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Añadir nuevo", @@ -591,4 +567,4 @@ "LOADING": "Cargando...", "SELECTION_ARIA_LABEL": "{{placeholder}} combobox {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/fi.json b/lib/core/src/lib/i18n/fi.json index 7220ba03b4..0f8e57f80f 100755 --- a/lib/core/src/lib/i18n/fi.json +++ b/lib/core/src/lib/i18n/fi.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "Kohteen {{ name }} poistaminen ei onnistunut", "ERROR_PLURAL": "{{ number }} kohteen poistaminen ei onnistunut" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Todennustyyppi", - "BASIC": "Perustodennus", - "SSO": "Kertakirjautuminen", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Palvelu", - "REQUIRED": "Tämä kenttä on pakollinen", - "CS_URL_ERROR": "Content Services -osoite ei täsmää URL-muodon kanssa", - "PS_URL_ERROR": "Process Services -osoite ei täsmää URL-muodon kanssa", - "TITLE": "Asetukset", - "CS-HOST": "Content Servicesin URL-osoite", - "BP-HOST": "Process Servicesin URL-osoite", - "BACK": "Takaisin", - "APPLY": "Käytä", - "NOT_VALID": "Osoitetta http(s)://host|ip:port(/path) ei tunnisteta. Kokeile toista URL-osoitetta.", - "REDIRECT": "Uudelleenohjauksen URI-osoite", - "REDIRECT_LOGOUT": "Uudelleenohjauksen URI-osoite – uloskirjautuminen", - "SILENT": "Hiljainen kirjautuminen", - "SCOPE": "Laajuus", - "CLIENT": "Asiakastunnus", - "PUBLIC_URLS": "Yleisten url-osoitteiden hiljainen sisäänkirjaus", - "SECRET": "Salainen" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Lisää uusi", @@ -591,4 +567,4 @@ "LOADING": "Ladataan...", "SELECTION_ARIA_LABEL": "{{placeholder}} yhdistelmäruutu {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/fr.json b/lib/core/src/lib/i18n/fr.json index 7acfded69b..e829e23bf8 100755 --- a/lib/core/src/lib/i18n/fr.json +++ b/lib/core/src/lib/i18n/fr.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "{{ name }} n'a pas pu être supprimé", "ERROR_PLURAL": "{{ number }} éléments n'ont pas pu être supprimés" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Type d'authentification", - "BASIC": "Authentification de base", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Fournisseur", - "REQUIRED": "Ce champ est obligatoire", - "CS_URL_ERROR": "L'adresse Content Services ne correspond pas au format d'URL", - "PS_URL_ERROR": "L'adresse Process Services ne correspond pas au format d'URL", - "TITLE": "Paramètres", - "CS-HOST": "URL de Content Services", - "BP-HOST": "URL de Process Services", - "BACK": "Retour", - "APPLY": "Appliquer", - "NOT_VALID": "Adresse http(s)://host|ip:port(/path) non reconnue, essayez une autre URL.", - "REDIRECT": "URI de redirection", - "REDIRECT_LOGOUT": "Déconnexion URI de redirection", - "SILENT": "Connexion en mode silencieux", - "SCOPE": "Etendue", - "CLIENT": "ID client", - "PUBLIC_URLS": "URL publiques pour connexion en mode silencieux", - "SECRET": "Secret" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Ajouter nouveau", @@ -591,4 +567,4 @@ "LOADING": "Chargement...", "SELECTION_ARIA_LABEL": "{{placeholder}} zone de liste déroulante {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/it.json b/lib/core/src/lib/i18n/it.json index cf863dea07..3fced9162d 100755 --- a/lib/core/src/lib/i18n/it.json +++ b/lib/core/src/lib/i18n/it.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "Impossibile eliminare {{ name }}", "ERROR_PLURAL": "Impossibile eliminare {{ number }} elementi" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Tipo di autenticazione", - "BASIC": "Autenticazione di base", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Fornitore", - "REQUIRED": "Questo campo è obbligatorio", - "CS_URL_ERROR": "L'indirizzo Content Services non corrisponde al formato dell'URL", - "PS_URL_ERROR": "L'indirizzo Process Services non corrisponde al formato dell'URL", - "TITLE": "Impostazioni", - "CS-HOST": "URL Content Services", - "BP-HOST": "URL Process Services", - "BACK": "Indietro", - "APPLY": "Applica", - "NOT_VALID": "http(s)://host|ip:port(/path) non riconosciuto, provare un URL diverso.", - "REDIRECT": "Reindirizza URI", - "REDIRECT_LOGOUT": "Reindirizza logout URI", - "SILENT": "Login invisibile", - "SCOPE": "Ambito", - "CLIENT": "ID client", - "PUBLIC_URLS": "URL pubblici per login invisibile", - "SECRET": "Segreto" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Aggiungi nuova", @@ -591,4 +567,4 @@ "LOADING": "Caricamento in corso...", "SELECTION_ARIA_LABEL": "{{placeholder}} casella combinata {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/ja.json b/lib/core/src/lib/i18n/ja.json index 41fd8b11ca..51c9dd802c 100755 --- a/lib/core/src/lib/i18n/ja.json +++ b/lib/core/src/lib/i18n/ja.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "{{ name }} を削除できませんでした", "ERROR_PLURAL": "{{ number }} 件のアイテムを削除できませんでした" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "認証タイプ", - "BASIC": "基本認証", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "プロバイダ", - "REQUIRED": "このフィールドは必須です", - "CS_URL_ERROR": "Content Services のアドレスが URL 形式と一致しません", - "PS_URL_ERROR": "Process Services のアドレスが URL 形式と一致しません", - "TITLE": "設定", - "CS-HOST": "Content Services の URL", - "BP-HOST": "Process Services の URL", - "BACK": "戻る", - "APPLY": "適用", - "NOT_VALID": "http(s)://host|ip:port(/path) が認識されません。別の URL を指定してください。", - "REDIRECT": "リダイレクト URI", - "REDIRECT_LOGOUT": "リダイレクト URI のログアウト", - "SILENT": "サイレントログイン", - "SCOPE": "範囲", - "CLIENT": "クライアント ID", - "PUBLIC_URLS": "サイレントログインのパブリック URL", - "SECRET": "シークレット" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "新規追加", @@ -591,4 +567,4 @@ "LOADING": "読み込んでいます...", "SELECTION_ARIA_LABEL": "{{placeholder}}コンボボックス{{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/nb.json b/lib/core/src/lib/i18n/nb.json index 92ddf2d062..e7988023b7 100755 --- a/lib/core/src/lib/i18n/nb.json +++ b/lib/core/src/lib/i18n/nb.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "{{ name }} kan ikke slettes", "ERROR_PLURAL": "{{ number }} elementer kan ikke slettes" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Godkjenningstype", - "BASIC": "Grunnleggende godkjenning", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Leverandør", - "REQUIRED": "Dette feltet er påkrevd", - "CS_URL_ERROR": "Adressen til innholdstjenesten stemmer ikke med URL-formatet", - "PS_URL_ERROR": "Adressen til prosesstjenestene stemmer ikke med URL-formatet", - "TITLE": "Innstillinger", - "CS-HOST": "URL tinnholdstjenester", - "BP-HOST": "URL prosesstjenester", - "BACK": "Tilbake", - "APPLY": "Bruk", - "NOT_VALID": "http(s)://host|ip:port(/path) ikke gjenkjent, prøv en annen URL.", - "REDIRECT": "Omdirigerings-URI", - "REDIRECT_LOGOUT": "Omdirigerings-URI avlogging", - "SILENT": "Stille pålogging", - "SCOPE": "Område", - "CLIENT": "Klient-ID", - "PUBLIC_URLS": "Offentlige URL-er for stille pålogging", - "SECRET": "Hemmelig" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Legg til ny", @@ -591,4 +567,4 @@ "LOADING": "Laster inn...", "SELECTION_ARIA_LABEL": "{{placeholder}} komboboks {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/nl.json b/lib/core/src/lib/i18n/nl.json index 7042519f25..b22c9d6888 100755 --- a/lib/core/src/lib/i18n/nl.json +++ b/lib/core/src/lib/i18n/nl.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "Kan {{ name }} niet verwijderen", "ERROR_PLURAL": "Kan {{ number }} items niet verwijderen" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Verificatietype", - "BASIC": "Basisverificatie", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Provider", - "REQUIRED": "Dit veld is vereist", - "CS_URL_ERROR": "Content Services-adres komt niet overeen met de URL-indeling", - "PS_URL_ERROR": "Process Services-adres komt niet overeen met de URL-indeling", - "TITLE": "Instellingen", - "CS-HOST": "Content Services-URL", - "BP-HOST": "Process Services-URL", - "BACK": "Terug", - "APPLY": "Toepassen", - "NOT_VALID": "http(s)://host|ip:port(/path) niet herkend, probeer een andere URL.", - "REDIRECT": "Omleidings-URI", - "REDIRECT_LOGOUT": "Omleidings-URI afmelden", - "SILENT": "Stille aanmelding", - "SCOPE": "Bereik", - "CLIENT": "Client-id", - "PUBLIC_URLS": "Openbare URL's voor stille aanmelding", - "SECRET": "Geheim" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Nieuwe toevoegen", @@ -591,4 +567,4 @@ "LOADING": "Laden...", "SELECTION_ARIA_LABEL": "{{placeholder}} keuzelijst met invoervak {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/pl.json b/lib/core/src/lib/i18n/pl.json index 6d1c592bb1..67818e8b68 100755 --- a/lib/core/src/lib/i18n/pl.json +++ b/lib/core/src/lib/i18n/pl.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "Nie można usunąć elementu {{ name }}.", "ERROR_PLURAL": "Nie można usunąć następującej liczby elementów: {{ number }}." }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Typ uwierzytelnienia", - "BASIC": "Uwierzytelnienie podstawowe", - "SSO": "Logowanie jednokrotne", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Dostawca", - "REQUIRED": "To pole jest wymagane.", - "CS_URL_ERROR": "Adres usług Content Services jest niezgodny z formatem adresu URL.", - "PS_URL_ERROR": "Adres usług Process Services jest niezgodny z formatem adresu URL.", - "TITLE": "Ustawienia", - "CS-HOST": "Adres URL usług Content Services", - "BP-HOST": "Adres URL usług Process Services", - "BACK": "Wstecz", - "APPLY": "Zastosuj", - "NOT_VALID": "Nie rozpoznano adresu http(s)://host|ip:port(/path). Spróbuj użyć innego adresu URL.", - "REDIRECT": "Identyfikator URI przekierowania", - "REDIRECT_LOGOUT": "Identyfikator URI przekierowania — wylogowanie", - "SILENT": "Ciche logowanie", - "SCOPE": "Zakres", - "CLIENT": "Identyfikator klienta", - "PUBLIC_URLS": "Publiczne URL do cichego logowania", - "SECRET": "Klucz tajny" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Dodaj nowe", @@ -591,4 +567,4 @@ "LOADING": "Wczytywanie...", "SELECTION_ARIA_LABEL": "{{placeholder}} - pole kombi - {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/pt-BR.json b/lib/core/src/lib/i18n/pt-BR.json index 6c4760a410..7b32dd4eb0 100755 --- a/lib/core/src/lib/i18n/pt-BR.json +++ b/lib/core/src/lib/i18n/pt-BR.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "Não foi possível excluir {{ name }}", "ERROR_PLURAL": "Não foi possível excluir {{ number }} itens" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Tipo de autenticação", - "BASIC": "Autenticação básica", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Provedor", - "REQUIRED": "Este campo é obrigatório", - "CS_URL_ERROR": "O endereço do Content Services não corresponde ao formato de URL", - "PS_URL_ERROR": "O endereço do Process Services não corresponde ao formato de URL", - "TITLE": "Configurações", - "CS-HOST": "URL do Content Services", - "BP-HOST": "URL do Process Services", - "BACK": "Voltar", - "APPLY": "Aplicar", - "NOT_VALID": "http(s)://host|ip:port(/path) não reconhecida, tente uma URL diferente.", - "REDIRECT": "Redirecionar URI", - "REDIRECT_LOGOUT": "Redirecionar logout de URI", - "SILENT": "Login silencioso", - "SCOPE": "Escopo", - "CLIENT": "ID de cliente", - "PUBLIC_URLS": "Login silencioso de URLs públicas", - "SECRET": "Segredo" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Adicionar", @@ -591,4 +567,4 @@ "LOADING": "Carregando...", "SELECTION_ARIA_LABEL": "{{placeholder}} caixa de combinação {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/ru.json b/lib/core/src/lib/i18n/ru.json index 112c316895..72c746c817 100755 --- a/lib/core/src/lib/i18n/ru.json +++ b/lib/core/src/lib/i18n/ru.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "Не удалось удалить {{ name }}", "ERROR_PLURAL": "Не удалось удалить элементов: {{ number }}" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Тип авторизации", - "BASIC": "Базовая авторизация", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Поставщик", - "REQUIRED": "Поле обязательно для заполнения", - "CS_URL_ERROR": "Адрес Content Services не соответствует формату URL", - "PS_URL_ERROR": "Адрес Process Services не соответствует формату URL", - "TITLE": "Параметры", - "CS-HOST": "URL-адрес Content Services", - "BP-HOST": "URL-адрес Process Services", - "BACK": "Назад", - "APPLY": "Применить", - "NOT_VALID": "http(s)://host|ip:port(/path) не распознан, используйте другой URL-адрес.", - "REDIRECT": "URI перенаправления", - "REDIRECT_LOGOUT": "Выход URI перенаправления", - "SILENT": "Автоматический вход", - "SCOPE": "Область применения", - "CLIENT": "Идентификатор клиента", - "PUBLIC_URLS": "Общедоступные URL-адреса с автоматическим входом", - "SECRET": "Секретный" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Добавить", @@ -591,4 +567,4 @@ "LOADING": "Загрузка...", "SELECTION_ARIA_LABEL": "{{placeholder}} выпадающий список {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/sv.json b/lib/core/src/lib/i18n/sv.json index 0027e32ecc..100e933e79 100755 --- a/lib/core/src/lib/i18n/sv.json +++ b/lib/core/src/lib/i18n/sv.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "{{ name }} kunde inte raderas", "ERROR_PLURAL": "{{ number }} objekt kunde inte raderas" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "Autentiseringstyp", - "BASIC": "Grundläggande autentisering", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "Leverantör", - "REQUIRED": "Detta fält krävs", - "CS_URL_ERROR": "Content Services-adressen matchar inte URL-formatet", - "PS_URL_ERROR": "Process Services-adressen matchar inte URL-formatet", - "TITLE": "Inställningar", - "CS-HOST": "Content Services-URL", - "BP-HOST": "Process Services-URL", - "BACK": "Tillbaka", - "APPLY": "Tillämpa", - "NOT_VALID": "http(s)://host|ip:port(/path) kändes inte igen, testa annan URL.", - "REDIRECT": "Omdirigera URI", - "REDIRECT_LOGOUT": "Omdirigera URI-utloggning", - "SILENT": "Tyst inloggning", - "SCOPE": "Definitionsområde", - "CLIENT": "Klient-ID", - "PUBLIC_URLS": "Offentliga url:er för tyst inloggning", - "SECRET": "Hemlig" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "Lägg till ny", @@ -591,4 +567,4 @@ "LOADING": "Läser in...", "SELECTION_ARIA_LABEL": "{{placeholder}} kombinationsrutan {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/core/src/lib/i18n/zh-CN.json b/lib/core/src/lib/i18n/zh-CN.json index 1f2fd92a12..9110b906ef 100755 --- a/lib/core/src/lib/i18n/zh-CN.json +++ b/lib/core/src/lib/i18n/zh-CN.json @@ -169,30 +169,6 @@ "ERROR_SINGULAR": "{{ name }} 无法删除", "ERROR_PLURAL": "{{ number }} 个项目无法删除" }, - "HOST_SETTINGS": { - "TYPE-AUTH": "身份验证类型", - "BASIC": "基本身份验证", - "SSO": "SSO", - "IMPLICIT-FLOW": "Implicit Flow", - "CODE-FLOW": "Code Flow", - "PROVIDER": "提供程序", - "REQUIRED": "此字段为必填字段", - "CS_URL_ERROR": "Content Services 地址与 URL 格式不匹配", - "PS_URL_ERROR": "Process Services 地址与 URL 格式不匹配", - "TITLE": "设置", - "CS-HOST": "Content Services URL", - "BP-HOST": "Process Services URL", - "BACK": "返回", - "APPLY": "应用", - "NOT_VALID": "http(s)://host|ip:port(/path) 无法识别,请使用其他 URL。", - "REDIRECT": "重定向 URI", - "REDIRECT_LOGOUT": "重定向 URI 注销", - "SILENT": "静默登录", - "SCOPE": "范围", - "CLIENT": "客户端 ID", - "PUBLIC_URLS": "用于静默登录的公共 URL", - "SECRET": "机密" - }, "CARDVIEW": { "KEYVALUEPAIRS": { "ADD": "新增", @@ -591,4 +567,4 @@ "LOADING": "加载...", "SELECTION_ARIA_LABEL": "{{placeholder}} 组合框 {{selectedOption}}" } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/ar.json b/lib/process-services/src/lib/i18n/ar.json index 52b6ab0ced..7512855bcf 100644 --- a/lib/process-services/src/lib/i18n/ar.json +++ b/lib/process-services/src/lib/i18n/ar.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "إنشاء", - "NEW_TASK": "مهمة جديدة", - "NEW_PROCESS": "عملية جديدة" - } - }, "APP": { "DIALOG": { "START": "متابعة", @@ -358,4 +351,4 @@ "SUBTITLE": "لا توجد نماذج لإضافتها" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/cs.json b/lib/process-services/src/lib/i18n/cs.json index 2c2fa582fe..1c0fb4411a 100644 --- a/lib/process-services/src/lib/i18n/cs.json +++ b/lib/process-services/src/lib/i18n/cs.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Vytvořit", - "NEW_TASK": "Nový úkol", - "NEW_PROCESS": "Nový proces" - } - }, "APP": { "DIALOG": { "START": "Pokračovat", @@ -358,4 +351,4 @@ "SUBTITLE": "Žádné formuláře určené k připojení" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/da.json b/lib/process-services/src/lib/i18n/da.json index 8d71a3e871..91100c346d 100644 --- a/lib/process-services/src/lib/i18n/da.json +++ b/lib/process-services/src/lib/i18n/da.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Opret", - "NEW_TASK": "Ny opgave", - "NEW_PROCESS": "Ny proces" - } - }, "APP": { "DIALOG": { "START": "Fortsæt", @@ -358,4 +351,4 @@ "SUBTITLE": "Der er ikke tilføjet nogen formularer" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/de.json b/lib/process-services/src/lib/i18n/de.json index cb6db5d719..c951c2ddfc 100644 --- a/lib/process-services/src/lib/i18n/de.json +++ b/lib/process-services/src/lib/i18n/de.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Erstellen", - "NEW_TASK": "Neue Aufgabe", - "NEW_PROCESS": "Neuer Prozess" - } - }, "APP": { "DIALOG": { "START": "Weiter", @@ -358,4 +351,4 @@ "SUBTITLE": "Keine Formulare, die hinzugefügt werden können" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/en.json b/lib/process-services/src/lib/i18n/en.json index 9ae652d442..a5501b28a0 100644 --- a/lib/process-services/src/lib/i18n/en.json +++ b/lib/process-services/src/lib/i18n/en.json @@ -278,7 +278,6 @@ "NO_START_FORM": "No start form", "NO_PROCESS_DEF_SELECTED": "No process definition selected", "FORM": { - "TITLE": "Start Process", "LABEL": { "SELECT_APPLICATION": "Select Application", "TYPE": "Select Process", @@ -315,13 +314,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "CREATE", - "NEW_TASK": "New Task", - "NEW_PROCESS": "New Process" - } - }, "APP":{ "DIALOG" :{ "START" : "Continue", diff --git a/lib/process-services/src/lib/i18n/es.json b/lib/process-services/src/lib/i18n/es.json index c7b954ba20..0fd98344db 100644 --- a/lib/process-services/src/lib/i18n/es.json +++ b/lib/process-services/src/lib/i18n/es.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Crear", - "NEW_TASK": "Nueva tarea", - "NEW_PROCESS": "Nuevo proceso" - } - }, "APP": { "DIALOG": { "START": "Continuar", @@ -358,4 +351,4 @@ "SUBTITLE": "No se han añadido formularios" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/fi.json b/lib/process-services/src/lib/i18n/fi.json index 19a9f91bcd..5f53fc12d5 100644 --- a/lib/process-services/src/lib/i18n/fi.json +++ b/lib/process-services/src/lib/i18n/fi.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Luo", - "NEW_TASK": "Uusi tehtävä", - "NEW_PROCESS": "Uusi prosessi" - } - }, "APP": { "DIALOG": { "START": "Jatka", @@ -358,4 +351,4 @@ "SUBTITLE": "Ei lisättäviä lomakkeita" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/fr.json b/lib/process-services/src/lib/i18n/fr.json index 49e1886581..48a0502752 100644 --- a/lib/process-services/src/lib/i18n/fr.json +++ b/lib/process-services/src/lib/i18n/fr.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Créer", - "NEW_TASK": "Nouvelle tâche", - "NEW_PROCESS": "Nouveau processus" - } - }, "APP": { "DIALOG": { "START": "Continuer", @@ -358,4 +351,4 @@ "SUBTITLE": "Aucun formulaire à ajouter" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/it.json b/lib/process-services/src/lib/i18n/it.json index bd1ed437ca..2a6de070fc 100644 --- a/lib/process-services/src/lib/i18n/it.json +++ b/lib/process-services/src/lib/i18n/it.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Crea", - "NEW_TASK": "Nuovo compito", - "NEW_PROCESS": "Nuovo processo" - } - }, "APP": { "DIALOG": { "START": "Continuare", @@ -358,4 +351,4 @@ "SUBTITLE": "Nessun modulo da aggiungere" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/ja.json b/lib/process-services/src/lib/i18n/ja.json index ffa3e43dd7..4e7535f18b 100644 --- a/lib/process-services/src/lib/i18n/ja.json +++ b/lib/process-services/src/lib/i18n/ja.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "作成", - "NEW_TASK": "新しいタスク", - "NEW_PROCESS": "新しいプロセス" - } - }, "APP": { "DIALOG": { "START": "続行", @@ -358,4 +351,4 @@ "SUBTITLE": "フォームは追加されません" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/nb.json b/lib/process-services/src/lib/i18n/nb.json index e00521e224..42db3e3dfc 100644 --- a/lib/process-services/src/lib/i18n/nb.json +++ b/lib/process-services/src/lib/i18n/nb.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Opprett", - "NEW_TASK": "Ny oppgave", - "NEW_PROCESS": "Ny prosess" - } - }, "APP": { "DIALOG": { "START": "Fortsett", @@ -358,4 +351,4 @@ "SUBTITLE": "Ingen skjemaer å legge til" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/nl.json b/lib/process-services/src/lib/i18n/nl.json index 6d0264b2e4..b9247e0260 100644 --- a/lib/process-services/src/lib/i18n/nl.json +++ b/lib/process-services/src/lib/i18n/nl.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Maken", - "NEW_TASK": "Nieuwe taak", - "NEW_PROCESS": "Nieuw proces" - } - }, "APP": { "DIALOG": { "START": "Doorgaan", @@ -358,4 +351,4 @@ "SUBTITLE": "Geen formulieren om toe te voegen" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/pl.json b/lib/process-services/src/lib/i18n/pl.json index 0962295ba5..64f401da95 100644 --- a/lib/process-services/src/lib/i18n/pl.json +++ b/lib/process-services/src/lib/i18n/pl.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Utwórz", - "NEW_TASK": "Nowe zadanie", - "NEW_PROCESS": "Nowy proces" - } - }, "APP": { "DIALOG": { "START": "Kontynuuj", @@ -358,4 +351,4 @@ "SUBTITLE": "Brak formularzy do dodania." } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/pt-BR.json b/lib/process-services/src/lib/i18n/pt-BR.json index 62b89ddf4b..f04dabb87d 100644 --- a/lib/process-services/src/lib/i18n/pt-BR.json +++ b/lib/process-services/src/lib/i18n/pt-BR.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Criar", - "NEW_TASK": "Nova tarefa", - "NEW_PROCESS": "Novo processo" - } - }, "APP": { "DIALOG": { "START": "Continuar", @@ -358,4 +351,4 @@ "SUBTITLE": "Sem formulários a serem adicionados" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/ru.json b/lib/process-services/src/lib/i18n/ru.json index 92cdf0364f..19c06aae55 100644 --- a/lib/process-services/src/lib/i18n/ru.json +++ b/lib/process-services/src/lib/i18n/ru.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Создать", - "NEW_TASK": "Новая задача", - "NEW_PROCESS": "Новый процесс" - } - }, "APP": { "DIALOG": { "START": "Продолжить", @@ -358,4 +351,4 @@ "SUBTITLE": "Нет форм для добавления" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/sv.json b/lib/process-services/src/lib/i18n/sv.json index a2b7c6dd39..53a6614b32 100644 --- a/lib/process-services/src/lib/i18n/sv.json +++ b/lib/process-services/src/lib/i18n/sv.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "Skapa", - "NEW_TASK": "Ny uppgift", - "NEW_PROCESS": "Ny process" - } - }, "APP": { "DIALOG": { "START": "Fortsätt", @@ -358,4 +351,4 @@ "SUBTITLE": "Inga formulär ska läggas till" } } -} \ No newline at end of file +} diff --git a/lib/process-services/src/lib/i18n/zh-CN.json b/lib/process-services/src/lib/i18n/zh-CN.json index 8732dac758..0d3a0f3c04 100644 --- a/lib/process-services/src/lib/i18n/zh-CN.json +++ b/lib/process-services/src/lib/i18n/zh-CN.json @@ -315,13 +315,6 @@ } } }, - "ADF_SIDEBAR_ACTION_MENU": { - "BUTTON": { - "CREATE": "创建", - "NEW_TASK": "新任务", - "NEW_PROCESS": "新流程" - } - }, "APP": { "DIALOG": { "START": "继续", @@ -358,4 +351,4 @@ "SUBTITLE": "没有要添加的表单" } } -} \ No newline at end of file +} diff --git a/lib/testing/src/lib/protractor/content-services/actions/permission.actions.ts b/lib/testing/src/lib/protractor/content-services/actions/permission.actions.ts index 2357fb15eb..106030e769 100644 --- a/lib/testing/src/lib/protractor/content-services/actions/permission.actions.ts +++ b/lib/testing/src/lib/protractor/content-services/actions/permission.actions.ts @@ -46,10 +46,4 @@ export class PermissionActions { const nodeBody = { permissions: { isInheritanceEnabled: false } }; return this.nodesApi.updateNode(nodeId, nodeBody, { include: ['permissions'] }); } - - enableInheritedPermissionsForNode(nodeId: string): Promise { - const nodeBody = { permissions: { isInheritanceEnabled: true } }; - return this.nodesApi.updateNode(nodeId, nodeBody, { include: ['permissions'] }); - } - } diff --git a/lib/testing/src/lib/protractor/content-services/dialog/add-permissions-dialog.page.ts b/lib/testing/src/lib/protractor/content-services/dialog/add-permissions-dialog.page.ts index 5f3831d819..36509d1d66 100644 --- a/lib/testing/src/lib/protractor/content-services/dialog/add-permissions-dialog.page.ts +++ b/lib/testing/src/lib/protractor/content-services/dialog/add-permissions-dialog.page.ts @@ -41,10 +41,6 @@ export class AddPermissionsDialogPage { return $$('.mat-option-text'); } - async clickCloseButton(): Promise { - await BrowserActions.click(this.closeButton); - } - async clickAddPermissionButton(): Promise { await BrowserActions.clickExecuteScript('button[data-automation-id="adf-add-permission-button"]'); } @@ -72,20 +68,11 @@ export class AddPermissionsDialogPage { await BrowserActions.click(this.addButton); } - async checkPermissionsDatatableIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible($('[class*="adf-datatable-permission"]')); - } - async getRoleCellValue(rowName: string): Promise { const locator = this.dataTableComponentPage.getCellByRowContentAndColumn('Users and Groups', rowName, column.role); return BrowserActions.getText(locator); } - async clickRoleDropdownByUserOrGroupName(name: string): Promise { - const row = this.dataTableComponentPage.getRow('Users and Groups', name); - await BrowserActions.click(row.$('adf-select-role-permission')); - } - async selectOption(name: string): Promise { await new DropdownPage().selectOption(name); } diff --git a/lib/testing/src/lib/protractor/content-services/dialog/download-dialog.page.ts b/lib/testing/src/lib/protractor/content-services/dialog/download-dialog.page.ts deleted file mode 100644 index a5a6eb68dd..0000000000 --- a/lib/testing/src/lib/protractor/content-services/dialog/download-dialog.page.ts +++ /dev/null @@ -1,28 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $ } from 'protractor'; -import { BrowserActions } from '../../core/utils/browser-actions'; - -export class DownloadDialogPage { - cancelButton = $(`#cancel-button`); - - async clickCancelButton(): Promise { - await BrowserActions.click(this.cancelButton); - } - -} diff --git a/lib/testing/src/lib/protractor/content-services/dialog/public-api.ts b/lib/testing/src/lib/protractor/content-services/dialog/public-api.ts index a13252d152..f8d68bd9cb 100644 --- a/lib/testing/src/lib/protractor/content-services/dialog/public-api.ts +++ b/lib/testing/src/lib/protractor/content-services/dialog/public-api.ts @@ -17,4 +17,3 @@ export * from './content-node-selector-dialog.page'; export * from './add-permissions-dialog.page'; -export * from './download-dialog.page'; diff --git a/lib/testing/src/lib/protractor/content-services/pages/document-list.page.ts b/lib/testing/src/lib/protractor/content-services/pages/document-list.page.ts index dc849f0f6c..7ba985e579 100644 --- a/lib/testing/src/lib/protractor/content-services/pages/document-list.page.ts +++ b/lib/testing/src/lib/protractor/content-services/pages/document-list.page.ts @@ -101,13 +101,4 @@ export class DocumentListPage { async doubleClickRow(nodeName: string): Promise { await this.dataTable.doubleClickRow('Display name', nodeName); } - - async isItemPresent(name: string): Promise { - return this.dataTable.getRow('Display name', name).isPresent(); - } - - async getLibraryRole(name: string): Promise { - return this.dataTable.getRow('Display name', name).$('adf-library-role-column').getText(); - } - } diff --git a/lib/testing/src/lib/protractor/content-services/pages/like.page.ts b/lib/testing/src/lib/protractor/content-services/pages/like.page.ts deleted file mode 100644 index 78eb6891f7..0000000000 --- a/lib/testing/src/lib/protractor/content-services/pages/like.page.ts +++ /dev/null @@ -1,51 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $, browser } from 'protractor'; -import { BrowserActions } from '../../core/utils/browser-actions'; -import { BrowserVisibility } from '../../core/utils/browser-visibility'; - -export class LikePage { - - likeCounter = $(`div[id="adf-like-counter"]`); - likeButton = $(`.adf-like-grey`); - unlikeButton = $(`.adf-like-select`); - - async checkLikeCounter(counter: number): Promise { - await BrowserVisibility.waitUntilElementHasText(this.likeCounter, counter); - } - - async clickLike(): Promise { - await BrowserActions.click(this.likeButton); - } - - async clickUnlike(): Promise { - await BrowserActions.click(this.unlikeButton); - } - - async removeHoverFromLikeButton(): Promise { - await browser.actions().mouseMove({ x: 200, y: 200 }).click().perform(); - } - - async getLikedIconColor(): Promise { - return BrowserActions.getColor(this.unlikeButton); - } - - async getUnLikedIconColor(): Promise { - return BrowserActions.getColor(this.likeButton); - } -} diff --git a/lib/testing/src/lib/protractor/content-services/pages/public-api.ts b/lib/testing/src/lib/protractor/content-services/pages/public-api.ts index af21285406..9393654db6 100644 --- a/lib/testing/src/lib/protractor/content-services/pages/public-api.ts +++ b/lib/testing/src/lib/protractor/content-services/pages/public-api.ts @@ -15,9 +15,6 @@ * limitations under the License. */ -export * from './like.page'; -export * from './rate.page'; export * from './document-list.page'; - export * from './breadcrumb/public-api'; export * from './search/public-api'; diff --git a/lib/testing/src/lib/protractor/content-services/pages/rate.page.ts b/lib/testing/src/lib/protractor/content-services/pages/rate.page.ts deleted file mode 100644 index 8b0aa22658..0000000000 --- a/lib/testing/src/lib/protractor/content-services/pages/rate.page.ts +++ /dev/null @@ -1,66 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $ } from 'protractor'; -import { BrowserVisibility } from '../../core/utils/browser-visibility'; -import { BrowserActions } from '../../core/utils/browser-actions'; - -export class RatePage { - private ratingsCounter = $(`div[id="adf-rating-counter"]`); - - async rateComponent(rateValue: number) { - const unratedStar = await this.coloredStar(rateValue); - await BrowserActions.click(unratedStar); - } - - async removeRating(rateValue: number): Promise { - const ratedStar = await this.coloredStar(rateValue); - await BrowserActions.click(ratedStar); - } - - async checkRatingCounter(rating: number): Promise { - await BrowserVisibility.waitUntilElementHasText(this.ratingsCounter, rating); - } - - async isStarRated(rateValue: number): Promise { - const ratedStar = await this.coloredStar(rateValue); - await BrowserVisibility.waitUntilElementIsVisible(ratedStar); - } - - async isNotStarRated(rateValue: number): Promise { - const unratedStar = await this.greyStar(rateValue); - await BrowserVisibility.waitUntilElementIsVisible(unratedStar); - } - - async getRatedStarColor(rateValue: number): Promise { - const ratedStar = await this.coloredStar(rateValue); - return BrowserActions.getColor(ratedStar); - } - - async getUnratedStarColor(rateValue: number): Promise { - const unratedStar = await this.greyStar(rateValue); - return BrowserActions.getColor(unratedStar); - } - - async getAverageStarColor(rateValue: number): Promise { - const coloredStar = await this.coloredStar(rateValue); - return BrowserActions.getColor(coloredStar); - } - - private coloredStar = async (rateValue: number) => $(`span[id="adf-rate-${rateValue}"] mat-icon`); - private greyStar = async (rateValue: number) => $(`mat-icon[id="adf-grey-star-${rateValue}"]`); -} diff --git a/lib/testing/src/lib/protractor/content-services/pages/upload-button.page.ts b/lib/testing/src/lib/protractor/content-services/pages/upload-button.page.ts index f3f841ac4e..5866b1284d 100644 --- a/lib/testing/src/lib/protractor/content-services/pages/upload-button.page.ts +++ b/lib/testing/src/lib/protractor/content-services/pages/upload-button.page.ts @@ -29,15 +29,4 @@ export class UploadButtonPage { await this.uploadButton.sendKeys(file.getLocation()); } } - - async isButtonNotDisplayed(): Promise { - let result = false; - - try { - await BrowserVisibility.waitUntilElementIsNotVisible(this.uploadButton); - result = true; - } catch (e) { /* do nothing */ } - - return result; - } } diff --git a/lib/testing/src/lib/protractor/core/pages/data-table-component.page.ts b/lib/testing/src/lib/protractor/core/pages/data-table-component.page.ts index a9c8e791e3..867d1e00b0 100644 --- a/lib/testing/src/lib/protractor/core/pages/data-table-component.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/data-table-component.page.ts @@ -32,7 +32,6 @@ export class DataTableComponentPage { selectedRowNumber: ElementFinder; allSelectedRows: ElementArrayFinder; selectAll: ElementFinder; - copyColumnTooltip: ElementFinder; emptyList: ElementFinder; emptyListTitle: ElementFinder; emptyListSubtitle: ElementFinder; @@ -51,7 +50,6 @@ export class DataTableComponentPage { this.selectedRowNumber = this.rootElement.$(`adf-datatable-row[class*='is-selected'] div[data-automation-id*='text_']`); this.allSelectedRows = this.rootElement.$$(`adf-datatable-row[class*='is-selected']`); this.selectAll = this.rootElement.$(`div[class*='adf-datatable-header'] mat-checkbox`); - this.copyColumnTooltip = this.rootElement.$(`adf-copy-content-tooltip span`); this.emptyList = this.rootElement.$(`adf-empty-content`); this.emptyListTitle = this.rootElement.$(`.adf-empty-content__title`); this.emptyListSubtitle = this.rootElement.$(`.adf-empty-content__subtitle`); @@ -114,28 +112,6 @@ export class DataTableComponentPage { await browser.actions().sendKeys(protractor.Key.NULL).perform(); } - async selectMultipleRows(columnName: string, items: string[]): Promise { - await browser.actions().sendKeys(protractor.Key.ESCAPE).perform(); - await this.clearRowsSelection(); - await browser.actions().sendKeys(protractor.Key.COMMAND).perform(); - for (const item of items) { - await this.selectRow(columnName, item); - } - await browser.actions().sendKeys(protractor.Key.NULL).perform(); - } - - async clearRowsSelection(): Promise { - try { - const count = await this.getNumberOfSelectedRows(); - if (count !== 0) { - await browser.refresh(); - await BrowserVisibility.waitUntilElementIsVisible(this.rootElement); - } - } catch (error) { - Logger.error('------ clearSelection catch : ', error); - } - } - async checkRowIsSelected(columnName: string, columnValue: string): Promise { const selectedRow = this.getCellElementByValue(columnName, columnValue).element(by.xpath(`ancestor::adf-datatable-row[contains(@class, 'is-selected')]`)); await BrowserVisibility.waitUntilElementIsVisible(selectedRow); @@ -228,12 +204,6 @@ export class DataTableComponentPage { return BrowserActions.getAttribute(this.getCellElementByValue(columnName, columnValue), 'title'); } - async rightClickOnRowByIndex(index: number): Promise { - const row = this.getRowByIndex(index); - await BrowserActions.rightClick(row); - await BrowserVisibility.waitUntilElementIsVisible($('#adf-context-menu-content')); - } - async rightClickOnItem(columnName: string, columnValue: string): Promise { const row = this.getRow(columnName, columnValue); await BrowserActions.rightClick(row); @@ -289,6 +259,7 @@ export class DataTableComponentPage { await BrowserVisibility.waitUntilElementIsVisible(this.tableBody); } + /** @deprecated Use Playwright API instead */ async getFirstElementDetail(detail: string): Promise { const firstNode = $$(`adf-datatable div[title="${detail}"] span`).first(); return BrowserActions.getText(firstNode); @@ -356,6 +327,7 @@ export class DataTableComponentPage { return this.rootElement.all(by.xpath(`//div[starts-with(@title, '${columnName}')]//div[contains(@data-automation-id, '${columnValue}')]//ancestor::adf-datatable-row[contains(@class, 'adf-datatable-row')]`)).first(); } + /** @deprecated use Playwright instead **/ getRowByIndex(index: number): ElementFinder { return this.rootElement.element(by.xpath(`//div[contains(@class,'adf-datatable-body')]//adf-datatable-row[contains(@class,'adf-datatable-row')][${index}]`)); } @@ -374,7 +346,6 @@ export class DataTableComponentPage { } async waitTillContentLoaded(): Promise { - if (await this.isSpinnerPresent()) { Logger.log('wait datatable loading spinner disappear'); await BrowserVisibility.waitUntilElementIsNotVisible(this.rootElement.element(by.tagName('mat-progress-spinner')), MAX_LOADING_TIME); @@ -429,10 +400,7 @@ export class DataTableComponentPage { } } - async checkColumnIsDisplayed(columnKey: string): Promise { - await BrowserVisibility.waitUntilElementIsVisible($(`div[data-automation-id="auto_id_${columnKey}"]`)); - } - + /** @deprecated use Playwright instead **/ async isColumnDisplayed(columnTitle: string): Promise { const isColumnDisplated = (await this.allColumns).some( async column => { @@ -444,10 +412,7 @@ export class DataTableComponentPage { return isColumnDisplated; } - async checkNoContentContainerIsDisplayed() { - await BrowserVisibility.waitUntilElementIsVisible(this.noContentContainer); - } - + /** @deprecated use Playwright instead **/ async getNumberOfColumns(): Promise { return this.allColumns.count(); } @@ -520,46 +485,6 @@ export class DataTableComponentPage { await browser.actions().sendKeys(protractor.Key.ENTER).perform(); } - async getCopyContentTooltip(): Promise { - return BrowserActions.getText(this.copyColumnTooltip); - } - - async copyContentTooltipIsNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsStale(this.copyColumnTooltip); - } - - async mouseOverColumn(columnName: string, columnValue: string): Promise { - const column = this.getCellElementByValue(columnName, columnValue); - await BrowserVisibility.waitUntilElementIsVisible(column); - await browser.actions().mouseMove(column).perform(); - } - - async clickColumn(columnName: string, columnValue: string): Promise { - await BrowserActions.clickExecuteScript(`div[title="${columnName}"] div[data-automation-id="text_${columnValue}"] span`); - } - - async selectMultipleItems(names: string[]): Promise { - await browser.actions().sendKeys(protractor.Key.ESCAPE).perform(); - - await browser.actions().sendKeys(protractor.Key.COMMAND).perform(); - for (const name of names) { - await this.selectRowByContent(name); - } - await this.clearSelection(); - } - - async clearSelection(): Promise { - await browser.actions().sendKeys(protractor.Key.NULL).perform(); - } - - async getEmptyListText(): Promise { - const isEmpty = await this.isEmpty(); - if (isEmpty) { - return this.rootElement.$('adf-custom-empty-content-template').getText(); - } - return ''; - } - async isEmpty(): Promise { await browser.sleep(500); @@ -576,26 +501,6 @@ export class DataTableComponentPage { return isDisplayed; } - async waitForEmptyState(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.emptyList); - } - - async getEmptyStateTitle(): Promise { - const isEmpty = await this.isEmpty(); - if (isEmpty) { - return this.emptyListTitle.getText(); - } - return ''; - } - - async getEmptyStateSubtitle(): Promise { - const isEmpty = await this.isEmpty(); - if (isEmpty) { - return this.emptyListSubtitle.getText(); - } - return ''; - } - private async isSpinnerPresent(): Promise { let isSpinnerPresent; diff --git a/lib/testing/src/lib/protractor/core/pages/login.page.ts b/lib/testing/src/lib/protractor/core/pages/login.page.ts index 1456f100c4..598345bb0e 100644 --- a/lib/testing/src/lib/protractor/core/pages/login.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/login.page.ts @@ -25,15 +25,12 @@ export interface LoginOptions { waitForUserIcon: boolean; } export class LoginPage { - loginUrl = `${browser.baseUrl}/login`; - ssoButton = $(`[data-automation-id="login-button-sso"]`); usernameField = $('#username'); passwordField = $('#password'); loginButton = $('input[type="submit"]'); - userIcon = $(`[data-automation-id*='user-initials']`); - loginError = $(`div[data-automation-id="login-error"]`); + userIcon = $(`[data-automation-id='user-initials-image']`); visibilityLabel = $('#v'); txtUsernameBasicAuth = $('input[id="username"]'); @@ -139,18 +136,9 @@ export class LoginPage { await BrowserActions.click(this.loginButton); } - async checkLoginErrorIsDisplayed() { - await BrowserVisibility.waitUntilElementIsVisible(this.loginError); - } - - async getLoginErrorMessage() { - return BrowserActions.getText(this.loginError); - } - async displayPassword(): Promise { await BrowserActions.click(this.visibilityLabel); const passwordInputTypeText = $(`input[name="password"][type="text"]`); await BrowserVisibility.waitUntilElementIsVisible(passwordInputTypeText); } - } diff --git a/lib/testing/src/lib/protractor/core/pages/notification-history.page.ts b/lib/testing/src/lib/protractor/core/pages/notification-history.page.ts index 635ec3c81b..9a084a2cd6 100644 --- a/lib/testing/src/lib/protractor/core/pages/notification-history.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/notification-history.page.ts @@ -40,23 +40,10 @@ export class NotificationHistoryPage { await BrowserVisibility.waitUntilElementIsVisible(notificationListButton); } - async checkNotificationIsNotPresent(text: string): Promise { - const notificationLisText = await BrowserActions.getText(this.notificationList); - await expect(notificationLisText).not.toContain(text); - } - async checkNotifyContains(text: string): Promise { await this.clickNotificationButton(); await this.checkNotificationIsPresent(text); await this.clickMarkAsRead(); await BrowserVisibility.waitUntilElementIsNotVisible(this.notificationList); } - - async checkNotifyNotContains(text: string): Promise { - await this.clickNotificationButton(); - await this.checkNotificationIsNotPresent(text); - await this.clickNotificationButton(); - await BrowserActions.closeMenuAndDialogs(); - await BrowserVisibility.waitUntilElementIsNotVisible(this.notificationList); - } } diff --git a/lib/testing/src/lib/protractor/core/pages/settings.page.ts b/lib/testing/src/lib/protractor/core/pages/settings.page.ts index 173f0a1164..cbc6e6938d 100644 --- a/lib/testing/src/lib/protractor/core/pages/settings.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/settings.page.ts @@ -21,24 +21,18 @@ import { BrowserActions } from '../utils/browser-actions'; import { DropdownPage } from '../../core/pages/material/dropdown.page'; export class SettingsPage { - settingsURL: string = browser.baseUrl + '/settings'; ecmText = $('input[data-automation-id*="ecmHost"]'); - bpmText = $('input[data-automation-id*="bpmHost"]'); clientIdText = $('input[id="clientId"]'); authHostText = $('input[id="oauthHost"]'); logoutUrlText = $('input[id="logout-url"]'); - basicAuthRadioButton = element(by.cssContainingText('mat-radio-button[id*="mat-radio"]', 'Basic Authentication')); identityHostText = $('input[id="identityHost"]'); ssoRadioButton = element(by.cssContainingText('[id*="mat-radio"]', 'SSO')); silentLoginToggleLabel = $('mat-slide-toggle[formcontrolname="silentLogin"] label'); silentLoginToggleElement = $('mat-slide-toggle[formcontrolname="silentLogin"]'); implicitFlowLabel = $('mat-slide-toggle[formcontrolname="implicitFlow"] label'); implicitFlowElement = $('mat-slide-toggle[formcontrolname="implicitFlow"]'); - applyButton = $('button[data-automation-id*="host-button"]'); - backButton = element(by.cssContainingText('button .mat-button-wrapper', 'Back')); - validationMessage = element(by.cssContainingText('mat-error', 'This field is required')); - + applyButton = $('button[data-automation-id="settings-apply-button"]'); providerDropdown = new DropdownPage($('mat-select[id="adf-provider-selector"]')); async goToSettingsPage(): Promise { @@ -60,49 +54,11 @@ export class SettingsPage { await this.providerDropdown.checkOptionIsSelected(option); } - async getSelectedOptionText(): Promise { - return this.providerDropdown.getSelectedOptionText(); - } - - async getBpmHostUrl() { - return BrowserActions.getInputValue(this.bpmText); - } - - async getEcmHostUrl() { - return BrowserActions.getInputValue(this.ecmText); - } - - async setProviderEcmBpm() { - await this.setProvider('ALL'); - await this.clickApply(); - } - - async setProviderBpm() { - await this.setProvider('BPM'); - await this.clickApply(); - } - - async setProviderEcm() { - await this.setProvider('ECM'); - await this.clickApply(); - } - - async setProviderOauth() { - await this.goToSettingsPage(); - await this.setProvider('OAUTH'); - await this.clickApply(); - } - - async clickBackButton() { - await BrowserActions.click(this.backButton); - } - async clickSsoRadioButton() { await BrowserActions.click(this.ssoRadioButton); } async setProviderEcmSso(contentServiceURL, authHost, identityHost, silentLogin = true, implicitFlow = true, clientId?: string, logoutUrl: string = '/logout') { - await this.goToSettingsPage(); await this.setProvider('ECM'); await this.clickSsoRadioButton(); @@ -117,48 +73,11 @@ export class SettingsPage { await browser.sleep(1000); } - async setProviderBpmSso(processServiceURL, authHost, identityHost, silentLogin = true, implicitFlow = true) { - await this.goToSettingsPage(); - await this.setProvider('BPM'); - await BrowserVisibility.waitUntilElementIsVisible(this.bpmText); - await BrowserVisibility.waitUntilElementIsNotVisible(this.ecmText); - await this.clickSsoRadioButton(); - await this.setClientId(); - await this.setProcessServicesURL(processServiceURL); - await this.setAuthHost(authHost); - await this.setIdentityHost(identityHost); - await this.setSilentLogin(silentLogin); - await this.setImplicitFlow(implicitFlow); - await this.clickApply(); - await browser.sleep(1000); - } - - async setProviderEcmBpmSso(contentServicesURL: string, processServiceURL, authHost, identityHost, clientId: string, silentLogin = true, implicitFlow = true) { - await this.goToSettingsPage(); - await this.setProvider('ALL'); - await BrowserVisibility.waitUntilElementIsVisible(this.bpmText); - await BrowserVisibility.waitUntilElementIsVisible(this.ecmText); - await this.clickSsoRadioButton(); - await this.setClientId(clientId); - await this.setContentServicesURL(contentServicesURL); - await this.setProcessServicesURL(processServiceURL); - await this.setAuthHost(authHost); - await this.setIdentityHost(identityHost); - await this.setSilentLogin(silentLogin); - await this.setImplicitFlow(implicitFlow); - await this.clickApply(); - await browser.sleep(1000); - } - async setLogoutUrl(logoutUrl) { await BrowserVisibility.waitUntilElementIsPresent(this.logoutUrlText); await BrowserActions.clearSendKeys(this.logoutUrlText, logoutUrl); } - async setProcessServicesURL(processServiceURL) { - await BrowserActions.clearSendKeys(this.bpmText, processServiceURL); - } - async setClientId(clientId: string = browser.params.testConfig.appConfig.oauth2.clientId) { await BrowserActions.clearSendKeys(this.clientIdText, clientId); } @@ -167,14 +86,6 @@ export class SettingsPage { await BrowserActions.clearSendKeys(this.ecmText, contentServiceURL); } - async clearContentServicesURL() { - await BrowserActions.clearWithBackSpace(this.ecmText); - } - - async clearProcessServicesURL() { - await BrowserActions.clearWithBackSpace(this.bpmText); - } - async setAuthHost(authHostURL) { await BrowserActions.clearSendKeys(this.authHostText, authHostURL); } @@ -206,50 +117,4 @@ export class SettingsPage { await BrowserActions.click(this.implicitFlowLabel); } } - - async checkApplyButtonIsDisabled() { - await BrowserVisibility.waitUntilElementIsVisible($('button[data-automation-id*="host-button"]:disabled')); - } - - async checkProviderDropdownIsDisplayed() { - await this.providerDropdown.checkDropdownIsVisible(); - } - - async checkValidationMessageIsDisplayed() { - await BrowserVisibility.waitUntilElementIsVisible(this.validationMessage); - } - - async checkProviderOptions() { - await this.providerDropdown.clickDropdown(); - await this.providerDropdown.checkOptionIsDisplayed('ALL'); - await this.providerDropdown.checkOptionIsDisplayed('ECM'); - await this.providerDropdown.checkOptionIsDisplayed('BPM'); - } - - getBasicAuthRadioButton() { - return this.basicAuthRadioButton; - } - - getSsoRadioButton() { - return this.ssoRadioButton; - } - - getBackButton() { - return this.backButton; - } - - getApplyButton() { - return this.applyButton; - } - - async checkBasicAuthRadioIsSelected() { - const radioButton = this.getBasicAuthRadioButton(); - - await expect(await BrowserActions.getAttribute(radioButton, 'class')).toContain('mat-radio-checked'); - } - - async checkSsoRadioIsNotSelected() { - const radioButton = this.getSsoRadioButton(); - await expect(await BrowserActions.getAttribute(radioButton, 'class')).not.toContain('mat-radio-checked'); - } } diff --git a/lib/testing/src/lib/protractor/core/pages/snackbar.page.ts b/lib/testing/src/lib/protractor/core/pages/snackbar.page.ts index fd27ac38f3..68e0b1e71b 100644 --- a/lib/testing/src/lib/protractor/core/pages/snackbar.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/snackbar.page.ts @@ -19,6 +19,7 @@ import { $, $$ } from 'protractor'; import { BrowserVisibility } from '../utils/browser-visibility'; import { BrowserActions } from '../utils/browser-actions'; +/** @deprecated Use Playwright API instead */ export class SnackbarPage { notificationSnackBar = $$(`[data-automation-id='adf-snackbar-message-content']`).first(); @@ -41,6 +42,7 @@ export class SnackbarPage { return this.notificationSnackBar.getText(); } + /** @deprecated Use Playwright API instead */ async getSnackBarActionMessage(): Promise { await this.waitForSnackBarToAppear(); return this.snackBarAction.getText(); @@ -51,6 +53,7 @@ export class SnackbarPage { return this.decorativeIconSnackBar.getText(); } + /** @deprecated Use Playwright API instead */ async clickSnackBarAction(): Promise { await this.waitForSnackBarToAppear(); await BrowserActions.click(this.snackBarAction); diff --git a/lib/testing/src/lib/protractor/core/pages/user-info.page.ts b/lib/testing/src/lib/protractor/core/pages/user-info.page.ts index 48b274c074..af3f87fde1 100644 --- a/lib/testing/src/lib/protractor/core/pages/user-info.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/user-info.page.ts @@ -17,33 +17,14 @@ import { $, $$ } from 'protractor'; import { BrowserVisibility } from '../utils/browser-visibility'; -import { TabsPage } from '../../core/pages/material/tabs.page'; import { BrowserActions } from '../utils/browser-actions'; export class UserInfoPage { - dialog = $$('mat-card[class*="adf-userinfo-card"]').first(); - userImage = $('div[id="user-initial-image"]'); - userInfoEcmHeaderTitle = $('div[id="ecm-username"]'); - userInfoEcmTitle = $('mat-card-content span[id="ecm-full-name"]'); - ecmEmail = $('span[id="ecm-email"]'); - ecmJobTitle = $('span[id="ecm-job-title"]'); - userInfoProcessHeaderTitle = $('div[id="bpm-username"]'); - userInfoProcessTitle = $('mat-card-content span[id="bpm-full-name"]'); - processEmail = $('span[id="bpm-email"]'); - processTenant = $('.detail-profile'); - apsImage = $('img[id="bpm-user-detail-image"]'); - acsImage = $('img[id="ecm-user-detail-image"]'); - initialImage = $$('div[data-automation-id="user-initials-image"]').first(); userInfoSsoHeaderTitle = this.dialog.$('div[id="identity-username"]'); userInfoSsoTitle = $('.adf-userinfo__detail-title'); ssoEmail = $('#identity-email'); userProfileButton = $('button[data-automation-id="adf-user-profile"]'); - tabsPage = new TabsPage(); - - async dialogIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.dialog); - } async dialogIsNotDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsNotVisible(this.dialog); @@ -53,59 +34,6 @@ export class UserInfoPage { await BrowserActions.click(this.userProfileButton); } - async clickOnContentServicesTab(): Promise { - await this.tabsPage.clickTabByTitle('Content Services'); - } - - async checkProcessServicesTabIsSelected(): Promise { - await this.tabsPage.checkTabIsSelectedByTitle('Process Services'); - } - - async checkContentServicesTabIsSelected(): Promise { - await this.tabsPage.checkTabIsSelectedByTitle('Content Services'); - } - - async clickOnProcessServicesTab(): Promise { - await this.tabsPage.clickTabByTitle('Process Services'); - } - - async userImageIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.userImage); - } - - async getContentHeaderTitle(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.dialog); - return BrowserActions.getText(this.userInfoEcmHeaderTitle); - } - - async getContentTitle(): Promise { - return BrowserActions.getText(this.userInfoEcmTitle); - } - - async getContentEmail(): Promise { - return BrowserActions.getText(this.ecmEmail); - } - - async getContentJobTitle(): Promise { - return BrowserActions.getText(this.ecmJobTitle); - } - - async getProcessHeaderTitle(): Promise { - return BrowserActions.getText(this.userInfoProcessHeaderTitle); - } - - async getProcessTitle(): Promise { - return BrowserActions.getText(this.userInfoProcessTitle); - } - - async getProcessEmail(): Promise { - return BrowserActions.getText(this.processEmail); - } - - async getProcessTenant(): Promise { - return BrowserActions.getText(this.processTenant); - } - async getSsoHeaderTitle(): Promise { return BrowserActions.getText(this.userInfoSsoHeaderTitle); } @@ -122,31 +50,4 @@ export class UserInfoPage { await BrowserVisibility.waitUntilElementIsVisible(this.dialog); await BrowserActions.closeMenuAndDialogs(); } - - async checkACSProfileImage(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.acsImage); - } - - async checkAPSProfileImage(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.apsImage); - } - - async checkInitialImage(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.initialImage); - } - - async initialImageNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.initialImage); - } - - // eslint-disable-next-line @typescript-eslint/naming-convention - async ACSProfileImageNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.acsImage); - } - - // eslint-disable-next-line @typescript-eslint/naming-convention - async APSProfileImageNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.apsImage); - } - } diff --git a/lib/testing/src/lib/protractor/core/pages/viewer.page.ts b/lib/testing/src/lib/protractor/core/pages/viewer.page.ts index 670216a02f..d0ee2407aa 100644 --- a/lib/testing/src/lib/protractor/core/pages/viewer.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/viewer.page.ts @@ -38,18 +38,16 @@ export class ViewerPage { zoomOutButton = $('#viewer-zoom-out-button'); scalePageButton = $('#viewer-scale-page-button'); fullScreenButton = $('button[data-automation-id="adf-toolbar-fullscreen"]'); - rotateLeft = $('button[id="viewer-rotate-left-button"]'); - rotateRight = $('button[id="viewer-rotate-right-button"]'); scaleImg = $('button[id="viewer-reset-button"]'); fileThumbnail = $('img[data-automation-id="adf-file-thumbnail"]'); pageSelectorInput = $('input[data-automation-id="adf-page-selector"]'); imgContainer = $('div[data-automation-id="adf-image-container"]'); mediaContainer = $('.adf-media-player'); - percentage = $('div[data-automation-id="adf-page-scale"'); + percentage = $('div[data-automation-id="adf-page-scale"]'); thumbnailsBtn = $('button[data-automation-id="adf-thumbnails-button"]'); thumbnailsContent = $('div[data-automation-id="adf-thumbnails-content"]'); thumbnailsClose = $('button[data-automation-id="adf-thumbnails-close"]'); - secondThumbnail = $('adf-pdf-thumb > img[title="Page 2"'); + secondThumbnail = $('adf-pdf-thumb > img[title="Page 2"]'); lastThumbnailDisplayed = $$('adf-pdf-thumb').last(); passwordDialog = $('adf-pdf-viewer-password-dialog'); passwordSubmit = $('button[data-automation-id="adf-password-dialog-submit"]'); @@ -60,7 +58,6 @@ export class ViewerPage { infoSideBar = $('#adf-right-sidebar'); leftSideBar = $('#adf-left-sidebar'); viewer = $('adf-viewer'); - pdfViewer = $('adf-pdf-viewer'); imgViewer = $('adf-img-viewer'); activeTab = $('div[class*="mat-tab-label-active"]'); toolbarSwitch = $('#adf-switch-toolbar'); @@ -75,7 +72,6 @@ export class ViewerPage { moreActionsMenuSwitch = $('#adf-switch-moreactionsmenu'); moreActionsMenu = $('button[data-automation-id="adf-toolbar-more-actions"]'); - customNameSwitch = $('#adf-switch-custoname'); customToolbarToggle = $('#adf-toggle-custom-toolbar'); customToolbar = $('adf-viewer-toolbar[data-automation-id="adf-viewer-custom-toolbar"]'); @@ -98,16 +94,8 @@ export class ViewerPage { timeButton = $('#adf-viewer-time'); bugButton = $('#adf-viewer-bug'); - codeViewer = $('#adf-monaco-file-editor'); - - showTabWithIconSwitch = $('#adf-tab-with-icon'); - showTabWithIconAndLabelSwitch = $('#adf-icon-and-label-tab'); unknownFormat = $(`adf-viewer-unknown-format .adf-viewer__unknown-format-view`); - async checkCodeViewerIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.codeViewer); - } - async viewFile(fileName: string): Promise { const fileView = $$(`#document-list-container div[data-automation-id="${fileName}"]`).first(); await BrowserActions.click(fileView); @@ -254,12 +242,6 @@ export class ViewerPage { await BrowserVisibility.waitUntilElementHasText(this.fileName, filename); } - async checkFileIsOpenedInViewerAndClose(filename: string): Promise { - await this.checkFileThumbnailIsDisplayed(); - await this.checkFileNameIsDisplayed(filename); - await this.clickCloseButton(); - } - async checkPreviousPageButtonIsDisplayed() { await BrowserVisibility.waitUntilElementIsVisible(this.previousPageButton); } @@ -284,7 +266,7 @@ export class ViewerPage { await BrowserVisibility.waitUntilElementIsVisible(this.scalePageButton); } - async checkPageSelectorInputIsDisplayed(checkNumber): Promise { + async checkPageSelectorInputIsDisplayed(checkNumber: string): Promise { await expect(await BrowserActions.getInputValue(this.pageSelectorInput)).toEqual(checkNumber); } @@ -312,10 +294,6 @@ export class ViewerPage { await BrowserVisibility.waitUntilElementIsVisible(this.fullScreenButton); } - async checkFullScreenButtonIsNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.fullScreenButton); - } - async checkPercentageIsDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsVisible(this.percentage); } @@ -328,23 +306,10 @@ export class ViewerPage { await expect(await BrowserActions.getText(this.percentage)).toBeLessThan(zoom); } - async checkRotateLeftButtonIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.rotateLeft); - } - - async checkRotateRightButtonIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.rotateRight); - } - async checkScaleImgButtonIsDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsVisible(this.scaleImg); } - async checkRotation(text): Promise { - const rotation = await BrowserActions.getAttribute(this.imgContainer, 'style'); - await expect(rotation).toEqual(text); - } - async checkInfoSideBarIsNotDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsNotVisible(this.infoSideBar); } @@ -406,10 +371,6 @@ export class ViewerPage { await BrowserActions.click(this.thumbnailsBtn); } - async clickScaleImgButton(): Promise { - await BrowserActions.click(this.scaleImg); - } - async clickDownloadButton(): Promise { await BrowserActions.click(this.downloadButton); } @@ -442,14 +403,6 @@ export class ViewerPage { await BrowserActions.click(this.fullScreenButton); } - async clickRotateLeftButton(): Promise { - await BrowserActions.click(this.rotateLeft); - } - - async clickRotateRightButton(): Promise { - await BrowserActions.click(this.rotateRight); - } - async getActiveTab(): Promise { return BrowserActions.getText(this.activeTab); } @@ -514,15 +467,6 @@ export class ViewerPage { await this.togglePage.enableToggle(this.openWithSwitch); } - async enableShowTabWithIcon(): Promise { - await browser.executeScript('arguments[0].scrollIntoView()', this.showTabWithIconSwitch); - await this.togglePage.enableToggle(this.showTabWithIconSwitch); - } - - async enableShowTabWithIconAndLabel(): Promise { - await this.togglePage.enableToggle(this.showTabWithIconAndLabelSwitch); - } - async checkDownloadButtonIsNotDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsNotVisible(this.downloadButton); } @@ -600,14 +544,6 @@ export class ViewerPage { await BrowserVisibility.waitUntilElementIsVisible(this.customToolbar); } - async disableCustomName(): Promise { - await this.togglePage.disableToggle(this.customNameSwitch); - } - - async enableCustomName(): Promise { - await this.togglePage.enableToggle(this.customNameSwitch); - } - async clickToggleRightSidebar(): Promise { await BrowserActions.click(this.showRightSidebarSwitch); } @@ -616,11 +552,6 @@ export class ViewerPage { await BrowserActions.click(this.showLeftSidebarSwitch); } - async enterCustomName(text: string): Promise { - const textField = $('input[data-automation-id="adf-text-custom-name"]'); - await BrowserActions.clearSendKeys(textField, text); - } - async disableOverlay(): Promise { await this.togglePage.disableToggle($('#adf-viewer-overlay')); } @@ -633,26 +564,6 @@ export class ViewerPage { await BrowserVisibility.waitUntilElementIsVisible($('div[class*="adf-viewer-inline-container"]')); } - async checkTabHasNoIcon(index: number): Promise { - const tab = $(`div[id="mat-tab-label-1-${index}"] .mat-tab-label-content mat-icon`); - await BrowserVisibility.waitUntilElementIsNotVisible(tab); - } - - async checkTabHasNoLabel(index: number): Promise { - const tab = $(`div[id="mat-tab-label-1-${index}"] .mat-tab-label-content span`); - await BrowserVisibility.waitUntilElementIsNotVisible(tab); - } - - async getTabLabelById(index: number): Promise { - const tab = $(`div[id="mat-tab-label-1-${index}"] .mat-tab-label-content span`); - return BrowserActions.getText(tab); - } - - async getTabIconById(index: number): Promise { - const tab = $(`div[id="mat-tab-label-1-${index}"] .mat-tab-label-content mat-icon`); - return BrowserActions.getText(tab); - } - async checkUnknownFormatIsDisplayed(): Promise { await BrowserVisibility.waitUntilElementIsVisible(this.unknownFormat); } diff --git a/lib/testing/src/lib/protractor/process-services/pages/external-node-selector-dialog.page.ts b/lib/testing/src/lib/protractor/process-services/pages/external-node-selector-dialog.page.ts deleted file mode 100644 index cfb4404871..0000000000 --- a/lib/testing/src/lib/protractor/process-services/pages/external-node-selector-dialog.page.ts +++ /dev/null @@ -1,72 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { $ } from 'protractor'; -import { BrowserActions } from '../../core/utils/browser-actions'; -import { BrowserVisibility } from '../../core/utils/browser-visibility'; -import { ContentNodeSelectorDialogPage } from '../../content-services/dialog/content-node-selector-dialog.page'; -import { DocumentListPage } from '../../content-services/pages/document-list.page'; -import { Logger } from '../../core/utils/logger'; -export class ExternalNodeSelectorDialogPage extends ContentNodeSelectorDialogPage { - txtUsername = $('input[id="username"]'); - txtPassword = $('input[id="password"]'); - loginElement = $('[data-automation-id="attach-file-dialog-actions-login"]'); - title = $('[data-automation-id="content-node-selector-title"]'); - - constructor() { - super(); - this.dialog = $(`adf-content-node-selector-panel`); - this.contentList = new DocumentListPage(this.dialog); - this.dataTable = this.contentList.dataTablePage(); - this.header = this.dialog.$(`header[data-automation-id='content-node-selector-title']`); - this.searchInputElement = this.dialog.$(`input[data-automation-id='content-node-selector-search-input']`); - this.selectedRow = this.dialog.$(`adf-datatable-row[class*="adf-is-selected"]`); - this.moveCopyButton = $(`button[data-automation-id="attach-file-dialog-actions-choose"]`); - } - - async getTitle(): Promise { - await BrowserVisibility.waitUntilElementIsPresent(this.title); - return this.title.getText(); - } - - async clickLoginButton() { - await BrowserActions.click(this.loginElement); - } - - async enterUsername(username): Promise { - await BrowserActions.clearSendKeys(this.txtUsername, username); - } - - async enterPassword(password): Promise { - await BrowserActions.clearSendKeys(this.txtPassword, password); - } - - async waitForLogInDialog(): Promise { - await BrowserVisibility.waitUntilElementIsPresent(this.title); - await BrowserVisibility.waitUntilElementIsPresent(this.txtUsername); - await BrowserVisibility.waitUntilElementIsPresent(this.txtPassword); - await BrowserVisibility.waitUntilElementIsPresent(this.loginElement); - } - - async login(username, password): Promise { - Logger.log('Login external With ' + username); - await this.waitForLogInDialog(); - await this.enterUsername(username); - await this.enterPassword(password); - await this.clickLoginButton(); - } -} diff --git a/lib/testing/src/lib/protractor/process-services/pages/public-api.ts b/lib/testing/src/lib/protractor/process-services/pages/public-api.ts index 267c3924dd..8ea889a38d 100644 --- a/lib/testing/src/lib/protractor/process-services/pages/public-api.ts +++ b/lib/testing/src/lib/protractor/process-services/pages/public-api.ts @@ -20,10 +20,7 @@ export * from './process-filters.page'; export * from './process-list.page'; export * from './task-list.page'; export * from './task-filters.page'; -export * from './task-header.page'; export * from './process-instance-tasks.page'; export * from './process-instance-header.page'; export * from './start-process.page'; -export * from './select-apps-dialog.page'; -export * from './external-node-selector-dialog.page'; export * from './task-form.page'; diff --git a/lib/testing/src/lib/protractor/process-services/pages/select-apps-dialog.page.ts b/lib/testing/src/lib/protractor/process-services/pages/select-apps-dialog.page.ts deleted file mode 100644 index 55331dfad9..0000000000 --- a/lib/testing/src/lib/protractor/process-services/pages/select-apps-dialog.page.ts +++ /dev/null @@ -1,52 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BrowserVisibility } from '../../core/utils/browser-visibility'; -import { $ } from 'protractor'; -import { BrowserActions } from '../../core/utils/browser-actions'; -import { DropdownPage } from '../../core/pages/material/dropdown.page'; - -export class SelectAppsDialog { - - selectAppsDialog = $('mat-dialog-container[aria-labelledby="adf-select-app-dialog-title"]'); - title = $('#adf-select-app-dialog-title'); - appsDropdown = new DropdownPage($('#adf-select-app-dialog-dropdown')); - continueButton = $('adf-select-apps-dialog .mat-button-wrapper'); - - async checkSelectAppsDialogIsDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsVisible(this.selectAppsDialog); - } - - async selectApp(appName: string): Promise { - await this.appsDropdown.selectDropdownOption(appName); - } - async getTitle(): Promise { - return BrowserActions.getText(this.title); - } - - async clickAppsDropdown(): Promise { - await this.appsDropdown.clickDropdown(); - } - - async clickContinueButton(): Promise { - await BrowserActions.click(this.continueButton); - } - - async checkSelectAppsDialogIsNotDisplayed(): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(this.selectAppsDialog); - } -} diff --git a/lib/testing/src/lib/protractor/process-services/pages/task-header.page.ts b/lib/testing/src/lib/protractor/process-services/pages/task-header.page.ts deleted file mode 100644 index b62633d00e..0000000000 --- a/lib/testing/src/lib/protractor/process-services/pages/task-header.page.ts +++ /dev/null @@ -1,91 +0,0 @@ -/*! - * @license - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { CardTextItemPage } from '../../core/pages/card-view/card-view-text-item.page'; -import { CardDateItemPage } from '../../core/pages/card-view/card-view-date-item.page'; - -export class TaskHeaderPage { - - assignee = new CardTextItemPage('assignee'); - status = new CardTextItemPage('status'); - priority = new CardTextItemPage('priority'); - dueDate = new CardDateItemPage('dueDate'); - category = new CardTextItemPage('category'); - parentName = new CardDateItemPage('parentName'); - createdDate = new CardDateItemPage('created'); - duration = new CardTextItemPage('duration'); - parentTaskId = new CardTextItemPage('parentTaskId'); - endDate = new CardDateItemPage('endDate'); - id = new CardTextItemPage('id'); - description = new CardTextItemPage('description'); - formName = new CardTextItemPage('formName'); - - async isIdFieldDisplayed(): Promise { - try { - await this.id.checkLabelIsVisible(); - return true; - } catch (e) { - return false; - } - } - - async getIdFieldValue(): Promise { - return this.id.getFieldValue(); - } - - async isStatusFieldDisplayed(): Promise { - try { - await this.status.checkLabelIsVisible(); - return true; - } catch (e) { - return false; - } - } - - async getStatusFieldValue(): Promise { - return this.status.getFieldValue(); - } - - async isPriorityFieldDisplayed(): Promise { - try { - await this.priority.checkLabelIsVisible(); - return true; - } catch (e) { - return false; - } - } - - async getPriorityFieldValue(): Promise { - return this.priority.getFieldValue(); - } - - async setPriorityFieldValue(priority): Promise { - await this.priority.enterTextField(priority); - } - - async getDueDateFieldValue(): Promise { - return this.dueDate.getDateValue(); - } - - async setDueDateFieldValue(date): Promise { - await this.dueDate.setDateValue(date); - } - - async setDueDateFieldValueToCurrentDate(): Promise { - await this.dueDate.setTodayDateValue(); - } -}