src/ui/viewer/components/field/wrappers/file-picker/smart-file-picker.wrapper.component.ts
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | smart-file-picker-wrapper |
| templateUrl | ./smart-file-picker.wrapper.component.html |
Properties |
Methods |
|
Inputs |
Outputs |
| 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})
|
| filePicker |
Type : SmartFilePickerComponent
|
Decorators :
@ViewChild(SmartFilePickerComponent, {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-file-picker.wrapper.component.html
Purpose : Template for Smart File Picker.wrapper.
Author(s) : Radu Nicoara
Created : Apr 07, 2025
--------------------------------------------------------------------------
-->
<div #container>
<smart-file-picker
smart-widget
[name]="field.fieldName"
[folderScope]="
$safeNavigationMigration(
field.inputSettings.filePickerOptions?.folderScope
)
"
[selectionMode]="
$safeNavigationMigration(
field.inputSettings.filePickerOptions?.selectionMode
)
"
[allowCreateFolder]="
$safeNavigationMigration(
field.inputSettings.filePickerOptions?.allowCreateFolder
)
"
[fileMustExist]="
$safeNavigationMigration(
field.inputSettings.filePickerOptions?.fileMustExist
)
"
[ngModel]="model"
(ngModelChange)="modelChange.next($event)"
(blur)="helperService.inputBlurred.next(field.fieldName)"
(focus)="helperService.inputFocused.next(field.fieldName)"
[editorButtons]="buttons"
(onEditorButtonClicked)="handleEditorButtonClicked($event)"
>
</smart-file-picker>
</div>