@progress/kendo-angular-schematics
Version:
Kendo UI Schematics for Angular
22 lines (21 loc) • 1.19 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Rule, SchematicContext, Tree } from "@angular-devkit/schematics";
export interface Options {
project?: string;
}
export interface ProjectDefinition {
root: string;
}
export declare function computeDefaultStandalone(options: {
standalone?: boolean;
}, host: Tree, project: ProjectDefinition): void;
/**
* This method will check if there is any Kendo theme added to the project,
* and if we can't find any, will install and add the styles from the default kendo theme.
*/
export declare function checkOrAddKendoTheme(options: Options, project: ProjectDefinition): Rule;
export declare const npmi: (name: string, version?: string) => (tree: Tree, _context?: SchematicContext) => void;
export declare function ngAddLocalize(options: Options, project: ProjectDefinition): (tree: Tree, context: SchematicContext) => void;