UNPKG

@progress/kendo-angular-schematics

Version:

Kendo UI Schematics for Angular

39 lines 1.59 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataSource = void 0; var DataSource; (function (DataSource) { /** * An example data source will be added to the project with predefined column definitions. * The data and column definitions can not be modified. * * This is the default. */ DataSource["Example"] = "Example"; /** * The user is expected to provide column definitions. * A mock data will be generated out of the column definitions. */ DataSource["Mock Data"] = "Mock Data"; // /** // * The user can specify a basic module to bind to and provide column definitions, // * but in general the user will have to author some code to connect the data. // */ // "Existing App Data" = "Existing App Data" })(DataSource || (exports.DataSource = DataSource = {})); // export interface Column { // field?: string, // title?: string, // hidden?: boolean, // locked?: boolean, // sticky?: boolean, // columnMenu?: boolean, // editable?: boolean, // width?: number; // } // export type KendoAngularGridOptions = Omit<KendoAngularGridSchema, "columns"> & { columns?: Column[] }; //# sourceMappingURL=schema.js.map