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 / WebContent / components / webcontent-section-component.d.ts

import { WCGridEditorCommandsConfig, WCConfirmationTitleProvider, WCGridEditorCommandComponentEvent } from 'web-console-ui-kit';
import { OnInit, OnDestroy, ElementRef } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { WCNotificationCenter } from 'web-console-ui-kit';
import { BundlesService, BundleStatus } from '@wa-motif-open-api/web-content-service';
import { WebContentUpdateDialogComponent, UpdateDialogResult } from './dialog/webcontent-update-dialog';
import { WCUploadPanelEvent } from '../../../components/UI/wc-upload-panel-component/wc-upload-panel-component';
import { WCStatsInfoModel } from '../../../components/Stats/stats-info-component';
export declare class WebContentSectionComponent implements OnInit, OnDestroy {
    private logger;
    private notificationCenter;
    private elem;
    private webContentService;
    statsModel: WCStatsInfoModel;
    faUpload: import("@fortawesome/fontawesome-common-types").IconDefinition;
    gridData: BundleStatus[];
    private _subHandler;
    _updateDialog: WebContentUpdateDialogComponent;
    private _pollers;
    loading: boolean;
    publishConfirmationTitleProvider: WCConfirmationTitleProvider;
    commands: WCGridEditorCommandsConfig;
    constructor(logger: NGXLogger, notificationCenter: WCNotificationCenter, elem: ElementRef, webContentService: BundlesService);
    /**
     * Angular ngOnInit
     */
    ngOnInit(): void;
    ngOnDestroy(): void;
    freeMem(): void;
    onRefreshClicked(): void;
    updateModelWith(bundleStatus: BundleStatus): void;
    refreshData(): void;
    private clearStatsInfo;
    private rebuildStatsInfo;
    doTogglePublishBundle(item: BundleStatus): void;
    doPublishBundle(item: BundleStatus): void;
    doUnpublishBundle(item: BundleStatus): void;
    doDownloadBundle(item: BundleStatus): void;
    doDeleteBundle(item: BundleStatus): void;
    onCommandConfirm(event: WCGridEditorCommandComponentEvent): void;
    onCommandClick(event: WCGridEditorCommandComponentEvent): void;
    doEditBundle(event: WCGridEditorCommandComponentEvent): void;
    onUploadError(error: any): void;
    uploadAssetBundle(event: WCUploadPanelEvent): void;
    onUpdateConfirm(event: UpdateDialogResult): void;
}