Protected_asyncProtected_asyncProtected_dataProtected_defaultProtected_defaultProtected_defaultProtected_defaultProtected_existingProtected_fieldProtected_loggerProtected_paperProtected_subgridProtected_subProtected_subProtected_taskReadonlyDEFAULT_ReadonlyDEFAULT_ReadonlyDEFAULT_ReadonlyDEFAULT_ReadonlyDEFAULT_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
ProtectedrowDefines the row height of one row in task content
Emits notifications about task events
StaticɵcmpStaticɵfacProtectedcloneCreates 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
ProtectedcloneProtectedcollapseApplies 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
ProtectedcompactMoves 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
ProtectedcomputeProtectedcomputeComputes 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
ProtectedcomputeComputes 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
ProtectedcomputeComputes 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
ProtectedcreateProtectedCreates 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
Optionaltitle: stringoptional title for taskref
ProtectedcreateProtectedflowLays 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
ProtectedgetDetermines 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
ProtectedhasProtectedinitializeProtectedisDetermines 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
Protectedisthe 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.
ProtectedisProtectednewProtectedoccupyFills 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
Optionalheight: numberthe height of the filled area
OptionalcheckOccupants: booleanwhether the filled area should be checked for other elements. If a check is performed an error will be thrown if elements are found.
ProtectedpreprocessProtectedIdentifies 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
ProtectedpreprocessClones 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
ProtectedrearrangeClones 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
ProtectedremoveRemoves 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
OptionalfirstRow: numberthe 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.
OptionallastRow: numberthe 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.
ProtectedrenderProtectedrenderProtectedshouldProtectedsplitProtectedSorts 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]SplitDataGroup#startGroup. If some fields appear after the first task ref they are extracted into a new [endGroup]SplitDataGroup#endGroup.
ProtectedspreadProtectedtrack
The data fields that are currently displayed