/*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * 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 { OnInit } from '@angular/core'; import { MatSlideToggleChange } from '@angular/material/slide-toggle'; import { FormControl, FormGroup } from '@angular/forms'; import { ContentNodeShareSettings } from './content-node-share.settings'; import * as i0 from "@angular/core"; interface SharedDialogFormProps { sharedUrl: FormControl; time: FormControl; } export declare class ShareDialogComponent implements OnInit { private readonly sharedLinksApiService; private readonly dialogRef; private readonly dialog; private readonly contentService; private readonly renditionService; data: ContentNodeShareSettings; private readonly minDateValidator; minDate: Date; sharedId: string; fileName: string; baseShareUrl: string; isFileShared: boolean; isDisabled: boolean; isLinkWithExpiryDate: boolean; form: FormGroup; isExpiryDateToggleChecked: boolean; slideToggleExpirationDate: any; ngOnInit(): void; onTimeChanged(): void; get time(): FormControl; onSlideShareChange(event: MatSlideToggleChange): void; get canUpdate(): boolean; onToggleExpirationDate(slideToggle: MatSlideToggleChange): void; onDatePickerClosed(): void; preventIncorrectCharacters(e: KeyboardEvent): boolean; private openConfirmationDialog; private createSharedLinks; deleteSharedLink(sharedId: string, dialogOpenFlag?: boolean): void; private handleError; private updateForm; private updateNode; private sharedLinkWithExpirySettings; private updateEntryExpiryDate; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};