ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
20 lines (19 loc) • 859 B
TypeScript
export type ExportExtensionType = 'csv' | 'xlsx';
export type DecimalSeparatorType = 'dot' | 'comma';
/**
* Settings model, used by the settings component to store data on user settings and preferences
*
* @property {boolean} dark the application theme, defaults to light
* @property {ExportExtensionType} exportExtension the preferred extension for data exports, either xlsx or csv
* @property {DecimalSeparatorType} decimalSeparator the user's decimal separator in Excel, used for exporting and
* importing data
* @property {any} extraData any extra data that you want the user to set and store via the settings component
*/
export declare class SettingsModel {
dark: boolean;
exportExtension: ExportExtensionType;
decimalSeparator: DecimalSeparatorType;
extraData: any;
constructor(objIn: any);
getCsvDelimiter(): string;
}