[ACS-3339] Manage Rules screen / listing - Manage rules screen template & minimal listing (#2596)

* First commit: rules listing

* [ACS-3339] Manage Rules screen / listing - Manage rules screen template & minimal listing

* some changes for rule model

* some changes requested for PR

* a couple more fixes

* removed initial value from aca-rule-details

* spelling error fixed
This commit is contained in:
Nikita Maliarchuk
2022-08-19 18:27:21 +02:00
committed by GitHub
parent 9a650f5265
commit 5f009e89fa
19 changed files with 683 additions and 34 deletions

View File

@@ -1,3 +1,28 @@
/*!
* @license
* Alfresco Example Content Application
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
import { Rule } from '../model/rule.model';
export const dummyResponse = {
@@ -12,12 +37,12 @@ export const dummyResponse = {
entries: [
{
entry: {
shared: false,
isShared: false,
cascade: false,
asynchronous: false,
name: 'rule1',
id: 'd388ed54-a522-410f-a158-6dbf5a833731',
triggers: ['INBOUND'],
triggers: ['inbound'],
actions: [
{
actionDefinitionId: 'copy',
@@ -33,12 +58,12 @@ export const dummyResponse = {
},
{
entry: {
shared: false,
isShared: false,
cascade: false,
asynchronous: false,
name: 'rule2',
id: 'e0e645ca-e6c0-47d4-9936-1a8872a6c30b',
triggers: ['INBOUND'],
triggers: ['inbound'],
actions: [
{
actionDefinitionId: 'move',
@@ -64,8 +89,8 @@ export const dummyRules: Rule[] = [
cascade: false,
asynchronous: false,
errorScript: '',
shared: false,
triggers: ['INBOUND'],
isShared: false,
triggers: ['inbound'],
conditions: null,
actions: [
{
@@ -86,8 +111,8 @@ export const dummyRules: Rule[] = [
cascade: false,
asynchronous: false,
errorScript: '',
shared: false,
triggers: ['INBOUND'],
isShared: false,
triggers: ['inbound'],
conditions: null,
actions: [
{