File
Extends
Implements
Index
Properties
|
|
|
Methods
|
|
|
Inputs
|
|
|
|
smart-help-text
|
Type : string | undefined
|
Sets the HelpText value for this form child.
|
|
smart-instance-name
|
Type : string
|
The instance name of the component
|
|
smart-object-name
|
Type : string
|
The object name of the component
|
Methods
|
applySettings
|
applySettings()
|
|
|
|
Public
handleLayoutChange
|
handleLayoutChange(newLayout: any)
|
Parameters :
| Name |
Type |
Optional |
| newLayout |
any
|
No
|
|
|
toggleDebugMode
|
toggleDebugMode()
|
|
|
|
Public
notifyLoadingFinished
|
notifyLoadingFinished(objectName: string)
|
Notifies the parent Smart Form that this form child has finished loading
Parameters :
| Name |
Type |
Optional |
| objectName |
string
|
No
|
|
|
container
|
Type : ElementRef<HTMLElement>
|
Decorators :
@ViewChild('container', {read: ElementRef})
|
|
customLogEntryTypes
|
Type : string
|
Default value : ''
|
|
debugMode
|
Type : unknown
|
Default value : false
|
|
logEntryTypes
|
Type : string
|
Default value : ''
|
<!--
**************************************************************************
* Copyright © 2006-2026 by Consultingwerk Ltd. ("CW") - *
* www.consultingwerk.com and other contributors as listed *
* below. All Rights Reserved. *
* *
* Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY *
* KIND, either express or implied. *
* *
* Contributors: *
* *
**************************************************************************
--------------------------------------------------------------------------
File : serverside-logging.component.html
Purpose : Template for serverside logging.
Author(s) : Oana Sucigan
Created : Nov 27, 2020
--------------------------------------------------------------------------
-->
<div #container class="h-100">
<form class="k-form d-flex flex-column gap-2 h-100">
<kendo-formfield class="k-form-field form-field-label flex-grow-1 d-flex flex-column">
<kendo-label [for]="inputLogEntryTypes" text="LOG-MANAGER:LOG-ENTRY-TYPES:"></kendo-label>
<kendo-textarea
class="flex-grow-1"
#inputLogEntryTypes
placeholder="LOG-ENTRY-TYPES"
[rows]="4"
resizable="none"
name="inputLogEntryTypes"
id="inputLogEntryTypes"
[(ngModel)]="logEntryTypes"
></kendo-textarea>
</kendo-formfield>
<kendo-formfield class="k-form-field form-field-label flex-grow-1 d-flex flex-column">
<kendo-label [for]="inputCustomLogEntryTypes" text="LogManager:CustomLogEntryTypes:"></kendo-label>
<kendo-textarea
class="flex-grow-1"
#inputCustomLogEntryTypes
placeholder="CustomLogEntryTypes"
[rows]="4"
resizable="none"
name="inputCustomLogEntryTypes"
id="inputCustomLogEntryTypes"
[(ngModel)]="customLogEntryTypes"
></kendo-textarea>
</kendo-formfield>
<kendo-formfield class="k-form-field smart-checkbox margin">
<div class="smart-checkbox-container d-flex align-items-center">
<input #inputDebugMode kendoCheckBox type="checkbox" id="inputDebugMode" name="inputDebugMode" [checked]="debugMode" (click)="toggleDebugMode()">
<kendo-label class="k-checkbox-label ms-2 mb-0" [for]="inputDebugMode" text="Debug-Mode"></kendo-label>
</div>
</kendo-formfield>
<div class="text-right margin">
<button kendoButton (click)="applySettings()">Apply</button>
</div>
</form>
</div>
/**********************************************************************
* Copyright © 2006-2026 by Consultingwerk Ltd. ("CW") - *
* www.consultingwerk.com and other contributors as listed *
* below. All Rights Reserved. *
* *
* Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY *
* KIND, either express or implied. *
* *
* Contributors: *
* *
**********************************************************************/
/*------------------------------------------------------------------------
File : serverside-logging.component.css
Purpose : Styles for serverside logging.
Author(s) : Oana Sucigan
Created : Nov 27, 2020
----------------------------------------------------------------------*/
.editor {
width: 100%;
font-weight: normal;
}
.margin {
padding-bottom: 5px;
}
#debug-mode label {
padding-left: 5px;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: -moz-none;
-o-user-select: none;
user-select: none;
}
#debug-mode kendo-label {
padding-left: 5px;
}
#debug-mode .k-checkbox {
align-self: self-end;
}
#debug-mode {
display: flex;
}
.k-form {
padding: 0px 3px;
}
.log-entry {
padding-inline-start: 5px;
}
.log-entry-text {
padding-inline-start: 5px;
}
:host ::ng-deep kendo-formfield kendo-textarea, :host ::ng-deep kendo-formfield .k-form-field-wrap {
height: 100%;
.k-input-inner {
height: 100%;
}
}
Legend
Html element with directive