Member Junction
    Preparing search index...

    Reusable editor for MJ: Brand Kit Assets belonging to a given MJBrandKitEntity.

    Groups assets by AssetType, renders type-appropriate previews (minted image URLs via GraphQLFileStorageClient.CreateMediaAccessToken, <mj-storage-media-player> for audio/video, font display for fonts), edits metadata (Usage, IsPrimary, Sequence, LicenseNotes, and IsGenerationReference for visual asset types only), adds new assets via <mj-files-file-upload>, and deletes existing assets via asset.Delete() after confirmation.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Assets: MJBrandKitAssetEntity[] = []
    AssetsChanged: EventEmitter<MJBrandKitAssetEntity[]> = ...
    AssetTypeCatalog: readonly {
        Icon: string;
        Label: string;
        Type:
            | "Font"
            | "Image"
            | "Logo"
            | "LogoMark"
            | "Music"
            | "Other"
            | "Screenshot"
            | "SoundEffect"
            | "Video";
    }[] = ALL_BRAND_KIT_ASSET_TYPES
    DeletingAssetIds: Set<string> = ...
    Groups: BrandKitAssetGroup[] = []
    LoadError: string | null = null
    Loading: boolean = false
    NewAssetIsGenerationReference: boolean = false
    NewAssetIsPrimary: boolean = false
    NewAssetName: string = ''
    NewAssetType:
        | "Font"
        | "Image"
        | "Logo"
        | "LogoMark"
        | "Music"
        | "Other"
        | "Screenshot"
        | "SoundEffect"
        | "Video" = 'Logo'
    NewAssetUsage: string = ''
    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    Readonly: boolean = false
    SaveError: string | null = null
    SavingAssetIds: Set<string> = ...
    ThumbnailUrls: Map<string, string> = ...
    "ɵdir": unknown
    "ɵfac": ɵɵFactoryDeclaration<BaseAngularComponent, never>

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods

    • Parameters

      • assetType:
            | "Font"
            | "Image"
            | "Logo"
            | "LogoMark"
            | "Music"
            | "Other"
            | "Screenshot"
            | "SoundEffect"
            | "Video"

      Returns boolean

    • Parameters

      • assetType:
            | "Font"
            | "Image"
            | "Logo"
            | "LogoMark"
            | "Music"
            | "Other"
            | "Screenshot"
            | "SoundEffect"
            | "Video"

      Returns boolean

    • Parameters

      • assetType:
            | "Font"
            | "Image"
            | "Logo"
            | "LogoMark"
            | "Music"
            | "Other"
            | "Screenshot"
            | "SoundEffect"
            | "Video"

      Returns boolean

    • Parameters

      • assetType:
            | "Font"
            | "Image"
            | "Logo"
            | "LogoMark"
            | "Music"
            | "Other"
            | "Screenshot"
            | "SoundEffect"
            | "Video"

      Returns boolean

    • Parameters

      • assetType:
            | "Font"
            | "Image"
            | "Logo"
            | "LogoMark"
            | "Music"
            | "Other"
            | "Screenshot"
            | "SoundEffect"
            | "Video"

      Returns boolean