Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vipera-npm-registry / motif-web-admin-core   js

Repository URL to install this package:

Version: 0.3.1 

/ lib / sections / ApplicationContent / components / tabs / assets / assets-appcontent-tab-component.d.ts

import { WCGridEditorCommandComponentEvent, WCConfirmationTitleProvider, WCGridEditorCommandsConfig } from 'web-console-ui-kit';
import { OnInit, Renderer2, OnDestroy } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { AssetsService, AssetBundleEntity } from '@wa-motif-open-api/app-content-service';
import { MobileApplicaton } from '../../../data/model';
import { GridDataResult } from '@progress/kendo-angular-grid';
import { State } from '@progress/kendo-data-query';
import { Observable } from 'rxjs/Observable';
import { DataResult } from '@progress/kendo-data-query';
import { DomainSelectorComboBoxComponent } from '../../../../../components/UI/selectors/domain-selector-combobox-component';
import { WCEditService } from 'web-console-ui-kit';
import { Domain } from '@wa-motif-open-api/platform-service';
import { WCNotificationCenter } from 'web-console-ui-kit';
import { ConfirmationDialogComponent } from '../../../../../components/ConfirmationDialog/confirmation-dialog-component';
import { WCUploadPanelEvent } from '../../../../../components/UI/wc-upload-panel-component/wc-upload-panel-component';
export declare class AssetsTabComponent implements OnInit, OnDestroy {
    private logger;
    private notificationCenter;
    private assetsService;
    private renderer2;
    faEyeSlash: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faEye: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faCloudUploadAlt: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faDownload: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faMobile: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faMobileAlt: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faCoffee: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faAdjust: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faBatteryHalf: import("@fortawesome/fontawesome-common-types").IconDefinition;
    faCircleNotch: import("@fortawesome/fontawesome-common-types").IconDefinition;
    fas: import("@fortawesome/fontawesome-common-types").IconPack;
    publishConfirmationTitleProvider: WCConfirmationTitleProvider;
    commands: WCGridEditorCommandsConfig;
    view: Observable<GridDataResult>;
    gridState: State;
    changes: any;
    editDataItem: MobileApplicaton;
    gridView: DataResult;
    loading: boolean;
    domainSelector: DomainSelectorComboBoxComponent;
    confirmationDialog: ConfirmationDialogComponent;
    private _editServiceConfig;
    editService: WCEditService;
    private _subHandler;
    canRefresh: boolean;
    canAddBundle: boolean;
    constructor(logger: NGXLogger, notificationCenter: WCNotificationCenter, assetsService: AssetsService, renderer2: Renderer2);
    /**
     * Angular ngOnInit
     */
    ngOnInit(): void;
    ngOnDestroy(): void;
    freeMem(): void;
    /**
     * Triggered by the grid component
     * @param state
     */
    onStateChange(state: State): void;
    onDomainSelected(domain: Domain): void;
    loadData(domain: Domain): void;
    /**
      * Enable or disable buttons
      * @param canSave
      * @param canRefresh
      * @param canExport
      * @param canAddBundle
      */
    private setOptions;
    /**
    * Button event
    */
    onRefreshClicked(): void;
    refreshData(): void;
    onDeleteOKPressed(assetBundle: AssetBundleEntity): void;
    onUploadError(error: any): void;
    /**
     * Event emitted by the confirmation dialog
     * @param userData
     */
    onConfirmationOK(userData: any): void;
    /**
     * Button event
     */
    onSaveClicked(): void;
    /**
 * Save all pending chenges remotely
 */
    private saveAllChanges;
    /**
     * Button Event
     */
    onDiscardClicked(): void;
    uploadAssetBundle(event: WCUploadPanelEvent): void;
    onPublishClicked(dataItem: any): void;
    onDownloadClicked(dataItem: any): void;
    private doDeleteAssetBundle;
    private doDownloadAssetsBundle;
    doPublishAssetsBundle(dataItem: any): void;
    onCommandConfirm(event: WCGridEditorCommandComponentEvent): void;
    onCommandClick(event: WCGridEditorCommandComponentEvent): void;
    onConfirmationCancel(event: any): void;
}