ngx-angora-css
Version:
Angora CSS is a library that provides a set of CSS classes to help you build modern web applications. It is based on the [Boostrap Expanded Features Library](https://github.com/LynxPardelle/bootstrap-expanded-features) and the [Bootstrap](https://getboots
102 lines (101 loc) • 3.82 kB
TypeScript
import { IAbreviationTraductor, IConsoleParser } from './interfaces';
import { IPseudo } from './interfaces';
import { ValuesSingleton } from './singletons/valuesSingleton';
import * as i0 from "@angular/core";
export declare class NgxAngoraService {
values: ValuesSingleton;
indicatorClass: string;
colors: {
[key: string]: string;
};
abreviationsClasses: {
[key: string]: string;
};
abreviationsValues: {
[key: string]: string;
};
combos: {
[key: string]: string[];
};
combosCreated: {
[key: string]: string;
};
encryptCombo: boolean;
encryptComboCharacters: string;
encryptComboCreatedCharacters: string;
cssNamesParsed: any;
alreadyCreatedClasses: string[];
sheet: any;
isDebug: boolean;
bps: any;
bpsSpecifyOptions: string[];
limitBPS: boolean;
styleSheetToManage: string;
separator: string;
styleConsole: string;
pseudoClasses: string[];
pseudosHasSDED: string[];
pseudoElements: string[];
pseudos: IPseudo[];
importantActive: boolean;
abreviationTraductors: IAbreviationTraductor[];
lastCSSCreate: number;
lastTimeAsked2Create: number;
timesCSSCreated: number;
timeBetweenReCreate: number;
useTimer: boolean;
constructor();
checkSheet: () => void;
cssCreate: (updateBefs?: string[] | null, primordial?: boolean) => void;
createCSSRules: (rule: string) => void;
colorToRGB: (color: string) => number[];
RGBToRGBA: (rgb: number[], alpha: number) => string;
parseRGB: (rgba: string) => number[];
HexToRGB: (Hex: string) => string;
HSLToRGB: (HSL: string) => string;
HWBToRGB: (HWB: string) => string;
shadeTintColor: (rgb: number[], percent: number) => number[];
cssValidToCamel: (st: string) => string;
camelToCSSValid: (st: string) => string;
pushCssNamesParsed: (cssNamesParsed: any) => void;
pushBPS: (bps: any) => void;
pushColors: (newColors: any) => void | {
errors: string[];
} | {
success: boolean;
message: string;
};
pushAbreviationsValues: (abreviationsValues: any) => void;
pushAbreviationsClasses: (abreviationsClasses: any) => void;
pushCombos: (combos: any) => void;
getColors: () => {
[key: string]: string;
};
getBPS: () => import("./interfaces").IBPS[];
getAbreviationsValues: () => any;
getAbreviationsClasses: () => any;
getCombos: () => any;
getCssNamesParsed: () => any;
getColorsNames: () => string[];
getColorValue: (color: string) => string;
getAlreadyCreatedClasses: () => string[];
getSheet: () => CSSStyleSheet | undefined;
updateColor: (color: string, value: string) => void;
updateAbreviationsClass: (abreviationsClass: string, value: string) => void;
updateAbreviationsValue: (abreviationsValue: string, value: string) => void;
updateCombo: (combo: string, values: string[]) => void;
updateCssNamesParsed: (cssNameParsed: string, value: string) => void;
updateClasses: (classesToUpdate: string[]) => void;
deleteColor: (color: string) => void;
clearAllColors: () => void;
changeImportantActive: (active: boolean) => void;
changeDebugOption: (active?: boolean) => void;
changeUseTimerOption: (active?: boolean) => void;
setTimeBetweenReCreate: (time: number) => void;
unbefysize: (value: string) => string;
befysize: (value: string) => string;
consoleLog: (type: "log" | "info" | "trace" | "error" | undefined, thing: any, style?: string, line?: string | null, stoper?: boolean) => void;
consoleParser: (config: IConsoleParser) => void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxAngoraService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NgxAngoraService>;
}