carbon-components-angular
Version:
Next generation components
47 lines (43 loc) • 1.69 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | file.component.d.ts
*
* Copyright 2014, 2024 IBM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { EventEmitter, OnDestroy } from "@angular/core";
import { I18n } from "carbon-components-angular/i18n";
import { FileItem } from "./file-item.interface";
import * as i0 from "@angular/core";
export declare class FileComponent implements OnDestroy {
protected i18n: I18n;
/**
* Accessible translations for the close and complete icons
*/
translations: any;
/**
* A single `FileItem` from the set of `FileItem`s
*/
fileItem: FileItem;
size: "sm" | "md" | "lg";
remove: EventEmitter<any>;
selectedFile: boolean;
get isInvalidText(): string;
get fileSizeSmall(): boolean;
get fileSizeMedium(): boolean;
get fileSizeLarge(): boolean;
constructor(i18n: I18n);
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "cds-file, ibm-file", never, { "translations": "translations"; "fileItem": "fileItem"; "size": "size"; }, { "remove": "remove"; }, never, never, false>;
}