Whether an icon should be displayed when the no data message is shown.
An icon is displayed by default
Exists to allow references to the enum in the HTML
Emits true
if there is at least one data field, that should be displayed. Emits false
otherwise.
Indicates whether data is being loaded from backend, or if it is being processed.
The icon that should be displayed when the task contains no data.
If a falsy value is provided the default icon is displayed
The translate text that should be displayed when the task contains no data.
If a falsy value is provided the default text is displayed
Defines the row height of one row in task content
Emits notifications about task events
Creates a duplicate of the provided data group array and filters away any fields and data groups that are marked as hidden. Because of the duplication the filtering doesn't affect the original instances and they remain unchanged.
the data groups that should be filtered
the filtered duplicated data groups
Creates a duplicate of the provided data group array.
Only the data groups are cloned, the fields are only copied as references.
the data groups that should be cloned
the duplicated data groups
Applies the empty row removal and field compacting rules based on the provided layout configuration.
The input grid is modified in place.
the state of the grid that should be modified
configuration of the applied compacting rules
the object that holds the context of the computed layouting unit
Moves any element as far UP as it can go. Elements that were originally declared in the same row might end up in different rows. Resulting trailing empty rows are removed.
The input grid is modified in place.
the state of the grid that should be modified
configuration for empty row removal during the compacting process
the object that holds the context of the computed layouting unit
the default alignment for the displayed task that can be overridden by fields individual property. If te task specifies no default value the [global default]{@link AbstractTaskContentComponent#DEFAULT_FIELD_ALIGNMENT} value is returned.
Computes the layout data for a single data group with flow layout. The resulting layout is saved into the input objects.
the data group that should be laid out into a grid using the flow algorithm
the object that holds the context of the computed layouting unit
Computes the layout data for a single data group with grid layout. The resulting layout is saved into the input objects.
the data group that should be laid out into a grid
the object that holds the context of the computed layouting unit
Computes the layout data for the tasks grid layout and sets the result to the public properties of this class that are then bound to HTML.
the data groups that should be laid out
Computes the layout data for a single data group with legacy layout. The resulting layout is saved into the input objects.
The legacy layout forces the number of columns to be 4 and logs a warning if this was not the case.
the data group that should be laid out into a grid using the legacy algorithm used in NAE versions < 4.0.0
the object that holds the context of the computed layouting unit
Creates a new data group that contains only the passed task ref. The information about nesting and parent task/case are preserved from the passed original data group.
source of the information about parent task/case
the task ref that will be added to the new data group
optional title for taskref
Lays out the fields from left to right, from top to bottom. If the width is greater than 1 and the block of flowed fields doesn't fit neatly into the columns (if the width of a single field is not a divisor of column count), then the entire block of fields is left aligned. The last row of fields is aligned to the left, center or right based on the data groups property. If the last row cannot be aligned to the exact center it is offset one grid tile to the left.
the data group that should be laid out into a grid
the object that holds the context of the computed layouting unit
the number of grid tiles, that should be occupied by each field
Determines the dimensions of the element in the grid with its top-left corner at the specified position
the grid of elements
the X coordinate of the desired elements top-left corner
the Y coordinate of the desired elements top-left corner
the object that holds the context of the computed layouting unit
the width and height of the specified element
an object containing grid element information
the Angular flex layouts alignment property for individual data fields based on the layout configuration specified by the process
the number of columns as specified by the tasks layout property, or 4 if no value is specified.
Passes over all the fields in the provided data groups and if they are visible, initializes their local layout attribute.
the containers of the fields that should have their local layout initialized
Determines whether the specified area in the grid contains no elements, or not
the grid of elements
the X coordinate of the tested areas top-left corner
the Y coordinate of the tested areas top-left corner
the width of the tested area
the height of the tested area
the index of the checked element within its data group
the checked data group
the number of fields that is required to fill an entire row
whether the field at the given index is within the last row of elements of the provided data group.
Note that if the last row contains enough elements to be completely filled this method returns false
.
width of the row
the value that should be used to fill all elements in the row
Fills the specified rectangular area with the specified value in the provided grid.
If the specified area contains values other than the empty string an error will be thrown.
the grid that should be modified
the 0 based row index of the top-left corner of the filled area
the 0 based column index of the top-left corner of the filled area
the width of the filled area
the value that is set into every cell of the grid inside the specified area
the height of the filled area
whether the filled area should be checked for other elements. If a check is performed an error will be thrown if elements are found.
Identifies data groups that represent dashboard tiles, removes them from the data group array and passes them onto the task ref field instance.
an array of data group objects that does not contain dashboard tiles referenced by the dashboard task ref
Clones the content of the data groups to prevent unintentional memory accesses to source data. Rearranges the data groups to accommodate taskrefs. Filters out hidden and forbidden fields. Populates dashboard task ref fields with dashboard tile data.
the preprocessed data groups
Clones the content of the data groups to prevent unintentional memory accesses to source data. Rearranges the data groups to accommodate taskrefs. Determines if the data groups contain a dashboard task ref field.
the preprocessed data groups with metadata
Removes rows from the grid that only contain empty elements (are empty). The grid is modified in place.
the grid that should have it's empty rows removed
the 0 based index of the first row that should be checked. Use 0 to start from the beginning of the grid.
If no value is provided, the grid will be checked from the first row.
the 0 based index of the row where the checking should end. The row with this index is not checked.
If no value is provided the entire grid from the firstRow
will be checked.
If a value that is smaller or equal to the firstRow
is provided no checks will be preformed.
Destroys the previous content and pushes the new content into the stream
the new content
Computes component height if the rows attribute of task layout is set.
Decides whether there is a fixed number of rows and it need-s scrolling
Sorts the input data group based on the Y coordinate of the fields and splits it into parts on the first task ref. If some fields appear before the first task ref they are extracted into a new [startGroup]{@link SplitDataGroup#startGroup}. If some fields appear after the first task ref they are extracted into a new [endGroup]{@link SplitDataGroup#endGroup}.
Generated using TypeDoc
The data fields that are currently displayed