src/ui/viewer/components/field/wrappers/icon-picker/smart-icon-picker.wrapper.component.ts
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | SmartIconPickerWrapper |
| templateUrl | ./smart-icon-picker.wrapper.component.html |
Properties |
Methods |
|
Inputs |
Outputs |
constructor(helperService: SmartViewerHelperService<AbstractFrameComponent>, renderer: Renderer2, elementRef: ElementRef)
|
||||||||||||
|
Parameters :
|
| buttons |
Type : EditorButton[]
|
Default value : []
|
| componentInstance |
Type : any
|
| contentStyle |
Type : any
|
| field |
Type : any
|
| fieldStyle |
Type : any
|
| hasAbsolutePosition |
Type : boolean
|
| isNumeric |
Type : boolean
|
| model |
Type : any
|
| selected |
Type : any
|
| showDateTimeZone |
Type : boolean
|
| useDateTimeZones |
Type : boolean
|
| modelChange |
Type : EventEmitter<any>
|
| Public updateValue | ||||||
updateValue(newValue: any)
|
||||||
|
Parameters :
Returns :
void
|
| container |
Type : ElementRef
|
Decorators :
@ViewChild('container', {static: true})
|
| iconPicker |
Type : SmartIconPickerComponent
|
Decorators :
@ViewChild(SmartIconPickerComponent, {static: true})
|
| Public elementRef |
Type : ElementRef
|
| enabledStateDirective |
Type : EnabledStateDirective
|
Decorators :
@ViewChild(EnabledStateDirective)
|
| Public helperService |
Type : SmartViewerHelperService<AbstractFrameComponent>
|
| smartWidgetDirective |
Type : InputFacadeDirective
|
Decorators :
@ViewChild(InputFacadeDirective)
|
<!--
**************************************************************************
* 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 : smart-icon-picker.wrapper.component.html
Purpose : Template for Smart Icon Picker.wrapper.
Author(s) : Oana Sucigan
Created : Apr 16, 2025
--------------------------------------------------------------------------
-->
<div #container>
<smart-icon-picker
smart-widget
[name]="field.fieldName"
[selected]="selected"
[enabledState]="field.enabledState"
[smartModel]="model"
(smartModelChange)="modelChange.next($event)"
[smart-viewer-unbound-field]="field.inputSettings.unbound"
[smart-help-url]="field.inputSettings.helpUrl"
[filePickerOptions]="
$safeNavigationMigration(field.inputSettings?.filePickerOptions)
"
[editorButtons]="buttons"
(onEditorButtonClicked)="handleEditorButtonClicked($event)"
></smart-icon-picker>
</div>