File

src/ui/viewer/components/field/wrappers/file-picker/smart-file-picker.wrapper.component.ts

Extends

AbstractInputWrapperComponent

Metadata

Index

Properties
Methods
Inputs
Outputs

Inputs

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

Outputs

modelChange
Type : EventEmitter<any>

Methods

Public updateValue
updateValue(newValue: any)
Parameters :
Name Type Optional
newValue any No
Returns : void

Properties

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>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""