@sandlada/mdk
Version:
A JavaScript library based on Material Design 3, providing data such as color, shape, shadow level, etc.
744 lines • 56.4 kB
JavaScript
import { DefaultPaletteContract } from '../consts/default-palette-contract.const';
class _Palette {
Key;
Value;
toJSON() { return ({ Key: this.Key, Value: this.Value }); }
ToCSSDeclaration({ Semicolon = false } = {}) {
return `${this.Key}: ${this.Value}${Semicolon ? ';' : ''}`;
}
ToCSSVariable() {
return `var(${this.Key}, ${this.Value})`;
}
toString() { return this.ToCSSDeclaration(); }
constructor(Key, Value) {
this.Key = Key;
this.Value = Value;
}
}
/**
* @example
* Usage:
* ```ts
* const YourAppPalette = Palette.From({
* // Optionally, you can override the default palette contract by providing a partial contract object to the `From` method.
* Primary40: { Key: `--custom-primary-40`, Value: `#abcdef` },
* })
*
* console.log(YourAppPalette.Primary40.Value) // #abcdef
* console.log(YourAppPalette.Primary40.Key) // --custom-primary-40
* console.log(YourAppPalette.Primary40.ToCSSDeclaration()) // --custom-primary-40: #abcdef
* console.log(YourAppPalette.Primary40.ToCSSVariable()) // var(--custom-primary-40, #abcdef)
* ```
*/
export class Palette {
contract;
constructor(contract) {
this.contract = contract;
}
static From(contract = {}) {
const raw = {
...DefaultPaletteContract,
...contract
};
const palettes = Object.fromEntries(Object.entries(raw).map(([property, Value]) => [
property,
new _Palette(Value.Key, Value.Value)
]));
return new Palette(palettes);
}
get Primary0() { return this.contract.Primary0; }
get Primary1() { return this.contract.Primary1; }
get Primary2() { return this.contract.Primary2; }
get Primary3() { return this.contract.Primary3; }
get Primary4() { return this.contract.Primary4; }
get Primary5() { return this.contract.Primary5; }
get Primary6() { return this.contract.Primary6; }
get Primary7() { return this.contract.Primary7; }
get Primary8() { return this.contract.Primary8; }
get Primary9() { return this.contract.Primary9; }
get Primary10() { return this.contract.Primary10; }
get Primary11() { return this.contract.Primary11; }
get Primary12() { return this.contract.Primary12; }
get Primary13() { return this.contract.Primary13; }
get Primary14() { return this.contract.Primary14; }
get Primary15() { return this.contract.Primary15; }
get Primary16() { return this.contract.Primary16; }
get Primary17() { return this.contract.Primary17; }
get Primary18() { return this.contract.Primary18; }
get Primary19() { return this.contract.Primary19; }
get Primary20() { return this.contract.Primary20; }
get Primary21() { return this.contract.Primary21; }
get Primary22() { return this.contract.Primary22; }
get Primary23() { return this.contract.Primary23; }
get Primary24() { return this.contract.Primary24; }
get Primary25() { return this.contract.Primary25; }
get Primary26() { return this.contract.Primary26; }
get Primary27() { return this.contract.Primary27; }
get Primary28() { return this.contract.Primary28; }
get Primary29() { return this.contract.Primary29; }
get Primary30() { return this.contract.Primary30; }
get Primary31() { return this.contract.Primary31; }
get Primary32() { return this.contract.Primary32; }
get Primary33() { return this.contract.Primary33; }
get Primary34() { return this.contract.Primary34; }
get Primary35() { return this.contract.Primary35; }
get Primary36() { return this.contract.Primary36; }
get Primary37() { return this.contract.Primary37; }
get Primary38() { return this.contract.Primary38; }
get Primary39() { return this.contract.Primary39; }
get Primary40() { return this.contract.Primary40; }
get Primary41() { return this.contract.Primary41; }
get Primary42() { return this.contract.Primary42; }
get Primary43() { return this.contract.Primary43; }
get Primary44() { return this.contract.Primary44; }
get Primary45() { return this.contract.Primary45; }
get Primary46() { return this.contract.Primary46; }
get Primary47() { return this.contract.Primary47; }
get Primary48() { return this.contract.Primary48; }
get Primary49() { return this.contract.Primary49; }
get Primary50() { return this.contract.Primary50; }
get Primary51() { return this.contract.Primary51; }
get Primary52() { return this.contract.Primary52; }
get Primary53() { return this.contract.Primary53; }
get Primary54() { return this.contract.Primary54; }
get Primary55() { return this.contract.Primary55; }
get Primary56() { return this.contract.Primary56; }
get Primary57() { return this.contract.Primary57; }
get Primary58() { return this.contract.Primary58; }
get Primary59() { return this.contract.Primary59; }
get Primary60() { return this.contract.Primary60; }
get Primary61() { return this.contract.Primary61; }
get Primary62() { return this.contract.Primary62; }
get Primary63() { return this.contract.Primary63; }
get Primary64() { return this.contract.Primary64; }
get Primary65() { return this.contract.Primary65; }
get Primary66() { return this.contract.Primary66; }
get Primary67() { return this.contract.Primary67; }
get Primary68() { return this.contract.Primary68; }
get Primary69() { return this.contract.Primary69; }
get Primary70() { return this.contract.Primary70; }
get Primary71() { return this.contract.Primary71; }
get Primary72() { return this.contract.Primary72; }
get Primary73() { return this.contract.Primary73; }
get Primary74() { return this.contract.Primary74; }
get Primary75() { return this.contract.Primary75; }
get Primary76() { return this.contract.Primary76; }
get Primary77() { return this.contract.Primary77; }
get Primary78() { return this.contract.Primary78; }
get Primary79() { return this.contract.Primary79; }
get Primary80() { return this.contract.Primary80; }
get Primary81() { return this.contract.Primary81; }
get Primary82() { return this.contract.Primary82; }
get Primary83() { return this.contract.Primary83; }
get Primary84() { return this.contract.Primary84; }
get Primary85() { return this.contract.Primary85; }
get Primary86() { return this.contract.Primary86; }
get Primary87() { return this.contract.Primary87; }
get Primary88() { return this.contract.Primary88; }
get Primary89() { return this.contract.Primary89; }
get Primary90() { return this.contract.Primary90; }
get Primary91() { return this.contract.Primary91; }
get Primary92() { return this.contract.Primary92; }
get Primary93() { return this.contract.Primary93; }
get Primary94() { return this.contract.Primary94; }
get Primary95() { return this.contract.Primary95; }
get Primary96() { return this.contract.Primary96; }
get Primary97() { return this.contract.Primary97; }
get Primary98() { return this.contract.Primary98; }
get Primary99() { return this.contract.Primary99; }
get Primary100() { return this.contract.Primary100; }
get Secondary0() { return this.contract.Secondary0; }
get Secondary1() { return this.contract.Secondary1; }
get Secondary2() { return this.contract.Secondary2; }
get Secondary3() { return this.contract.Secondary3; }
get Secondary4() { return this.contract.Secondary4; }
get Secondary5() { return this.contract.Secondary5; }
get Secondary6() { return this.contract.Secondary6; }
get Secondary7() { return this.contract.Secondary7; }
get Secondary8() { return this.contract.Secondary8; }
get Secondary9() { return this.contract.Secondary9; }
get Secondary10() { return this.contract.Secondary10; }
get Secondary11() { return this.contract.Secondary11; }
get Secondary12() { return this.contract.Secondary12; }
get Secondary13() { return this.contract.Secondary13; }
get Secondary14() { return this.contract.Secondary14; }
get Secondary15() { return this.contract.Secondary15; }
get Secondary16() { return this.contract.Secondary16; }
get Secondary17() { return this.contract.Secondary17; }
get Secondary18() { return this.contract.Secondary18; }
get Secondary19() { return this.contract.Secondary19; }
get Secondary20() { return this.contract.Secondary20; }
get Secondary21() { return this.contract.Secondary21; }
get Secondary22() { return this.contract.Secondary22; }
get Secondary23() { return this.contract.Secondary23; }
get Secondary24() { return this.contract.Secondary24; }
get Secondary25() { return this.contract.Secondary25; }
get Secondary26() { return this.contract.Secondary26; }
get Secondary27() { return this.contract.Secondary27; }
get Secondary28() { return this.contract.Secondary28; }
get Secondary29() { return this.contract.Secondary29; }
get Secondary30() { return this.contract.Secondary30; }
get Secondary31() { return this.contract.Secondary31; }
get Secondary32() { return this.contract.Secondary32; }
get Secondary33() { return this.contract.Secondary33; }
get Secondary34() { return this.contract.Secondary34; }
get Secondary35() { return this.contract.Secondary35; }
get Secondary36() { return this.contract.Secondary36; }
get Secondary37() { return this.contract.Secondary37; }
get Secondary38() { return this.contract.Secondary38; }
get Secondary39() { return this.contract.Secondary39; }
get Secondary40() { return this.contract.Secondary40; }
get Secondary41() { return this.contract.Secondary41; }
get Secondary42() { return this.contract.Secondary42; }
get Secondary43() { return this.contract.Secondary43; }
get Secondary44() { return this.contract.Secondary44; }
get Secondary45() { return this.contract.Secondary45; }
get Secondary46() { return this.contract.Secondary46; }
get Secondary47() { return this.contract.Secondary47; }
get Secondary48() { return this.contract.Secondary48; }
get Secondary49() { return this.contract.Secondary49; }
get Secondary50() { return this.contract.Secondary50; }
get Secondary51() { return this.contract.Secondary51; }
get Secondary52() { return this.contract.Secondary52; }
get Secondary53() { return this.contract.Secondary53; }
get Secondary54() { return this.contract.Secondary54; }
get Secondary55() { return this.contract.Secondary55; }
get Secondary56() { return this.contract.Secondary56; }
get Secondary57() { return this.contract.Secondary57; }
get Secondary58() { return this.contract.Secondary58; }
get Secondary59() { return this.contract.Secondary59; }
get Secondary60() { return this.contract.Secondary60; }
get Secondary61() { return this.contract.Secondary61; }
get Secondary62() { return this.contract.Secondary62; }
get Secondary63() { return this.contract.Secondary63; }
get Secondary64() { return this.contract.Secondary64; }
get Secondary65() { return this.contract.Secondary65; }
get Secondary66() { return this.contract.Secondary66; }
get Secondary67() { return this.contract.Secondary67; }
get Secondary68() { return this.contract.Secondary68; }
get Secondary69() { return this.contract.Secondary69; }
get Secondary70() { return this.contract.Secondary70; }
get Secondary71() { return this.contract.Secondary71; }
get Secondary72() { return this.contract.Secondary72; }
get Secondary73() { return this.contract.Secondary73; }
get Secondary74() { return this.contract.Secondary74; }
get Secondary75() { return this.contract.Secondary75; }
get Secondary76() { return this.contract.Secondary76; }
get Secondary77() { return this.contract.Secondary77; }
get Secondary78() { return this.contract.Secondary78; }
get Secondary79() { return this.contract.Secondary79; }
get Secondary80() { return this.contract.Secondary80; }
get Secondary81() { return this.contract.Secondary81; }
get Secondary82() { return this.contract.Secondary82; }
get Secondary83() { return this.contract.Secondary83; }
get Secondary84() { return this.contract.Secondary84; }
get Secondary85() { return this.contract.Secondary85; }
get Secondary86() { return this.contract.Secondary86; }
get Secondary87() { return this.contract.Secondary87; }
get Secondary88() { return this.contract.Secondary88; }
get Secondary89() { return this.contract.Secondary89; }
get Secondary90() { return this.contract.Secondary90; }
get Secondary91() { return this.contract.Secondary91; }
get Secondary92() { return this.contract.Secondary92; }
get Secondary93() { return this.contract.Secondary93; }
get Secondary94() { return this.contract.Secondary94; }
get Secondary95() { return this.contract.Secondary95; }
get Secondary96() { return this.contract.Secondary96; }
get Secondary97() { return this.contract.Secondary97; }
get Secondary98() { return this.contract.Secondary98; }
get Secondary99() { return this.contract.Secondary99; }
get Secondary100() { return this.contract.Secondary100; }
get Tertiary0() { return this.contract.Tertiary0; }
get Tertiary1() { return this.contract.Tertiary1; }
get Tertiary2() { return this.contract.Tertiary2; }
get Tertiary3() { return this.contract.Tertiary3; }
get Tertiary4() { return this.contract.Tertiary4; }
get Tertiary5() { return this.contract.Tertiary5; }
get Tertiary6() { return this.contract.Tertiary6; }
get Tertiary7() { return this.contract.Tertiary7; }
get Tertiary8() { return this.contract.Tertiary8; }
get Tertiary9() { return this.contract.Tertiary9; }
get Tertiary10() { return this.contract.Tertiary10; }
get Tertiary11() { return this.contract.Tertiary11; }
get Tertiary12() { return this.contract.Tertiary12; }
get Tertiary13() { return this.contract.Tertiary13; }
get Tertiary14() { return this.contract.Tertiary14; }
get Tertiary15() { return this.contract.Tertiary15; }
get Tertiary16() { return this.contract.Tertiary16; }
get Tertiary17() { return this.contract.Tertiary17; }
get Tertiary18() { return this.contract.Tertiary18; }
get Tertiary19() { return this.contract.Tertiary19; }
get Tertiary20() { return this.contract.Tertiary20; }
get Tertiary21() { return this.contract.Tertiary21; }
get Tertiary22() { return this.contract.Tertiary22; }
get Tertiary23() { return this.contract.Tertiary23; }
get Tertiary24() { return this.contract.Tertiary24; }
get Tertiary25() { return this.contract.Tertiary25; }
get Tertiary26() { return this.contract.Tertiary26; }
get Tertiary27() { return this.contract.Tertiary27; }
get Tertiary28() { return this.contract.Tertiary28; }
get Tertiary29() { return this.contract.Tertiary29; }
get Tertiary30() { return this.contract.Tertiary30; }
get Tertiary31() { return this.contract.Tertiary31; }
get Tertiary32() { return this.contract.Tertiary32; }
get Tertiary33() { return this.contract.Tertiary33; }
get Tertiary34() { return this.contract.Tertiary34; }
get Tertiary35() { return this.contract.Tertiary35; }
get Tertiary36() { return this.contract.Tertiary36; }
get Tertiary37() { return this.contract.Tertiary37; }
get Tertiary38() { return this.contract.Tertiary38; }
get Tertiary39() { return this.contract.Tertiary39; }
get Tertiary40() { return this.contract.Tertiary40; }
get Tertiary41() { return this.contract.Tertiary41; }
get Tertiary42() { return this.contract.Tertiary42; }
get Tertiary43() { return this.contract.Tertiary43; }
get Tertiary44() { return this.contract.Tertiary44; }
get Tertiary45() { return this.contract.Tertiary45; }
get Tertiary46() { return this.contract.Tertiary46; }
get Tertiary47() { return this.contract.Tertiary47; }
get Tertiary48() { return this.contract.Tertiary48; }
get Tertiary49() { return this.contract.Tertiary49; }
get Tertiary50() { return this.contract.Tertiary50; }
get Tertiary51() { return this.contract.Tertiary51; }
get Tertiary52() { return this.contract.Tertiary52; }
get Tertiary53() { return this.contract.Tertiary53; }
get Tertiary54() { return this.contract.Tertiary54; }
get Tertiary55() { return this.contract.Tertiary55; }
get Tertiary56() { return this.contract.Tertiary56; }
get Tertiary57() { return this.contract.Tertiary57; }
get Tertiary58() { return this.contract.Tertiary58; }
get Tertiary59() { return this.contract.Tertiary59; }
get Tertiary60() { return this.contract.Tertiary60; }
get Tertiary61() { return this.contract.Tertiary61; }
get Tertiary62() { return this.contract.Tertiary62; }
get Tertiary63() { return this.contract.Tertiary63; }
get Tertiary64() { return this.contract.Tertiary64; }
get Tertiary65() { return this.contract.Tertiary65; }
get Tertiary66() { return this.contract.Tertiary66; }
get Tertiary67() { return this.contract.Tertiary67; }
get Tertiary68() { return this.contract.Tertiary68; }
get Tertiary69() { return this.contract.Tertiary69; }
get Tertiary70() { return this.contract.Tertiary70; }
get Tertiary71() { return this.contract.Tertiary71; }
get Tertiary72() { return this.contract.Tertiary72; }
get Tertiary73() { return this.contract.Tertiary73; }
get Tertiary74() { return this.contract.Tertiary74; }
get Tertiary75() { return this.contract.Tertiary75; }
get Tertiary76() { return this.contract.Tertiary76; }
get Tertiary77() { return this.contract.Tertiary77; }
get Tertiary78() { return this.contract.Tertiary78; }
get Tertiary79() { return this.contract.Tertiary79; }
get Tertiary80() { return this.contract.Tertiary80; }
get Tertiary81() { return this.contract.Tertiary81; }
get Tertiary82() { return this.contract.Tertiary82; }
get Tertiary83() { return this.contract.Tertiary83; }
get Tertiary84() { return this.contract.Tertiary84; }
get Tertiary85() { return this.contract.Tertiary85; }
get Tertiary86() { return this.contract.Tertiary86; }
get Tertiary87() { return this.contract.Tertiary87; }
get Tertiary88() { return this.contract.Tertiary88; }
get Tertiary89() { return this.contract.Tertiary89; }
get Tertiary90() { return this.contract.Tertiary90; }
get Tertiary91() { return this.contract.Tertiary91; }
get Tertiary92() { return this.contract.Tertiary92; }
get Tertiary93() { return this.contract.Tertiary93; }
get Tertiary94() { return this.contract.Tertiary94; }
get Tertiary95() { return this.contract.Tertiary95; }
get Tertiary96() { return this.contract.Tertiary96; }
get Tertiary97() { return this.contract.Tertiary97; }
get Tertiary98() { return this.contract.Tertiary98; }
get Tertiary99() { return this.contract.Tertiary99; }
get Tertiary100() { return this.contract.Tertiary100; }
get Error0() { return this.contract.Error0; }
get Error1() { return this.contract.Error1; }
get Error2() { return this.contract.Error2; }
get Error3() { return this.contract.Error3; }
get Error4() { return this.contract.Error4; }
get Error5() { return this.contract.Error5; }
get Error6() { return this.contract.Error6; }
get Error7() { return this.contract.Error7; }
get Error8() { return this.contract.Error8; }
get Error9() { return this.contract.Error9; }
get Error10() { return this.contract.Error10; }
get Error11() { return this.contract.Error11; }
get Error12() { return this.contract.Error12; }
get Error13() { return this.contract.Error13; }
get Error14() { return this.contract.Error14; }
get Error15() { return this.contract.Error15; }
get Error16() { return this.contract.Error16; }
get Error17() { return this.contract.Error17; }
get Error18() { return this.contract.Error18; }
get Error19() { return this.contract.Error19; }
get Error20() { return this.contract.Error20; }
get Error21() { return this.contract.Error21; }
get Error22() { return this.contract.Error22; }
get Error23() { return this.contract.Error23; }
get Error24() { return this.contract.Error24; }
get Error25() { return this.contract.Error25; }
get Error26() { return this.contract.Error26; }
get Error27() { return this.contract.Error27; }
get Error28() { return this.contract.Error28; }
get Error29() { return this.contract.Error29; }
get Error30() { return this.contract.Error30; }
get Error31() { return this.contract.Error31; }
get Error32() { return this.contract.Error32; }
get Error33() { return this.contract.Error33; }
get Error34() { return this.contract.Error34; }
get Error35() { return this.contract.Error35; }
get Error36() { return this.contract.Error36; }
get Error37() { return this.contract.Error37; }
get Error38() { return this.contract.Error38; }
get Error39() { return this.contract.Error39; }
get Error40() { return this.contract.Error40; }
get Error41() { return this.contract.Error41; }
get Error42() { return this.contract.Error42; }
get Error43() { return this.contract.Error43; }
get Error44() { return this.contract.Error44; }
get Error45() { return this.contract.Error45; }
get Error46() { return this.contract.Error46; }
get Error47() { return this.contract.Error47; }
get Error48() { return this.contract.Error48; }
get Error49() { return this.contract.Error49; }
get Error50() { return this.contract.Error50; }
get Error51() { return this.contract.Error51; }
get Error52() { return this.contract.Error52; }
get Error53() { return this.contract.Error53; }
get Error54() { return this.contract.Error54; }
get Error55() { return this.contract.Error55; }
get Error56() { return this.contract.Error56; }
get Error57() { return this.contract.Error57; }
get Error58() { return this.contract.Error58; }
get Error59() { return this.contract.Error59; }
get Error60() { return this.contract.Error60; }
get Error61() { return this.contract.Error61; }
get Error62() { return this.contract.Error62; }
get Error63() { return this.contract.Error63; }
get Error64() { return this.contract.Error64; }
get Error65() { return this.contract.Error65; }
get Error66() { return this.contract.Error66; }
get Error67() { return this.contract.Error67; }
get Error68() { return this.contract.Error68; }
get Error69() { return this.contract.Error69; }
get Error70() { return this.contract.Error70; }
get Error71() { return this.contract.Error71; }
get Error72() { return this.contract.Error72; }
get Error73() { return this.contract.Error73; }
get Error74() { return this.contract.Error74; }
get Error75() { return this.contract.Error75; }
get Error76() { return this.contract.Error76; }
get Error77() { return this.contract.Error77; }
get Error78() { return this.contract.Error78; }
get Error79() { return this.contract.Error79; }
get Error80() { return this.contract.Error80; }
get Error81() { return this.contract.Error81; }
get Error82() { return this.contract.Error82; }
get Error83() { return this.contract.Error83; }
get Error84() { return this.contract.Error84; }
get Error85() { return this.contract.Error85; }
get Error86() { return this.contract.Error86; }
get Error87() { return this.contract.Error87; }
get Error88() { return this.contract.Error88; }
get Error89() { return this.contract.Error89; }
get Error90() { return this.contract.Error90; }
get Error91() { return this.contract.Error91; }
get Error92() { return this.contract.Error92; }
get Error93() { return this.contract.Error93; }
get Error94() { return this.contract.Error94; }
get Error95() { return this.contract.Error95; }
get Error96() { return this.contract.Error96; }
get Error97() { return this.contract.Error97; }
get Error98() { return this.contract.Error98; }
get Error99() { return this.contract.Error99; }
get Error100() { return this.contract.Error100; }
get Neutral0() { return this.contract.Neutral0; }
get Neutral1() { return this.contract.Neutral1; }
get Neutral2() { return this.contract.Neutral2; }
get Neutral3() { return this.contract.Neutral3; }
get Neutral4() { return this.contract.Neutral4; }
get Neutral5() { return this.contract.Neutral5; }
get Neutral6() { return this.contract.Neutral6; }
get Neutral7() { return this.contract.Neutral7; }
get Neutral8() { return this.contract.Neutral8; }
get Neutral9() { return this.contract.Neutral9; }
get Neutral10() { return this.contract.Neutral10; }
get Neutral11() { return this.contract.Neutral11; }
get Neutral12() { return this.contract.Neutral12; }
get Neutral13() { return this.contract.Neutral13; }
get Neutral14() { return this.contract.Neutral14; }
get Neutral15() { return this.contract.Neutral15; }
get Neutral16() { return this.contract.Neutral16; }
get Neutral17() { return this.contract.Neutral17; }
get Neutral18() { return this.contract.Neutral18; }
get Neutral19() { return this.contract.Neutral19; }
get Neutral20() { return this.contract.Neutral20; }
get Neutral21() { return this.contract.Neutral21; }
get Neutral22() { return this.contract.Neutral22; }
get Neutral23() { return this.contract.Neutral23; }
get Neutral24() { return this.contract.Neutral24; }
get Neutral25() { return this.contract.Neutral25; }
get Neutral26() { return this.contract.Neutral26; }
get Neutral27() { return this.contract.Neutral27; }
get Neutral28() { return this.contract.Neutral28; }
get Neutral29() { return this.contract.Neutral29; }
get Neutral30() { return this.contract.Neutral30; }
get Neutral31() { return this.contract.Neutral31; }
get Neutral32() { return this.contract.Neutral32; }
get Neutral33() { return this.contract.Neutral33; }
get Neutral34() { return this.contract.Neutral34; }
get Neutral35() { return this.contract.Neutral35; }
get Neutral36() { return this.contract.Neutral36; }
get Neutral37() { return this.contract.Neutral37; }
get Neutral38() { return this.contract.Neutral38; }
get Neutral39() { return this.contract.Neutral39; }
get Neutral40() { return this.contract.Neutral40; }
get Neutral41() { return this.contract.Neutral41; }
get Neutral42() { return this.contract.Neutral42; }
get Neutral43() { return this.contract.Neutral43; }
get Neutral44() { return this.contract.Neutral44; }
get Neutral45() { return this.contract.Neutral45; }
get Neutral46() { return this.contract.Neutral46; }
get Neutral47() { return this.contract.Neutral47; }
get Neutral48() { return this.contract.Neutral48; }
get Neutral49() { return this.contract.Neutral49; }
get Neutral50() { return this.contract.Neutral50; }
get Neutral51() { return this.contract.Neutral51; }
get Neutral52() { return this.contract.Neutral52; }
get Neutral53() { return this.contract.Neutral53; }
get Neutral54() { return this.contract.Neutral54; }
get Neutral55() { return this.contract.Neutral55; }
get Neutral56() { return this.contract.Neutral56; }
get Neutral57() { return this.contract.Neutral57; }
get Neutral58() { return this.contract.Neutral58; }
get Neutral59() { return this.contract.Neutral59; }
get Neutral60() { return this.contract.Neutral60; }
get Neutral61() { return this.contract.Neutral61; }
get Neutral62() { return this.contract.Neutral62; }
get Neutral63() { return this.contract.Neutral63; }
get Neutral64() { return this.contract.Neutral64; }
get Neutral65() { return this.contract.Neutral65; }
get Neutral66() { return this.contract.Neutral66; }
get Neutral67() { return this.contract.Neutral67; }
get Neutral68() { return this.contract.Neutral68; }
get Neutral69() { return this.contract.Neutral69; }
get Neutral70() { return this.contract.Neutral70; }
get Neutral71() { return this.contract.Neutral71; }
get Neutral72() { return this.contract.Neutral72; }
get Neutral73() { return this.contract.Neutral73; }
get Neutral74() { return this.contract.Neutral74; }
get Neutral75() { return this.contract.Neutral75; }
get Neutral76() { return this.contract.Neutral76; }
get Neutral77() { return this.contract.Neutral77; }
get Neutral78() { return this.contract.Neutral78; }
get Neutral79() { return this.contract.Neutral79; }
get Neutral80() { return this.contract.Neutral80; }
get Neutral81() { return this.contract.Neutral81; }
get Neutral82() { return this.contract.Neutral82; }
get Neutral83() { return this.contract.Neutral83; }
get Neutral84() { return this.contract.Neutral84; }
get Neutral85() { return this.contract.Neutral85; }
get Neutral86() { return this.contract.Neutral86; }
get Neutral87() { return this.contract.Neutral87; }
get Neutral88() { return this.contract.Neutral88; }
get Neutral89() { return this.contract.Neutral89; }
get Neutral90() { return this.contract.Neutral90; }
get Neutral91() { return this.contract.Neutral91; }
get Neutral92() { return this.contract.Neutral92; }
get Neutral93() { return this.contract.Neutral93; }
get Neutral94() { return this.contract.Neutral94; }
get Neutral95() { return this.contract.Neutral95; }
get Neutral96() { return this.contract.Neutral96; }
get Neutral97() { return this.contract.Neutral97; }
get Neutral98() { return this.contract.Neutral98; }
get Neutral99() { return this.contract.Neutral99; }
get Neutral100() { return this.contract.Neutral100; }
get NeutralVariant0() { return this.contract.NeutralVariant0; }
get NeutralVariant1() { return this.contract.NeutralVariant1; }
get NeutralVariant2() { return this.contract.NeutralVariant2; }
get NeutralVariant3() { return this.contract.NeutralVariant3; }
get NeutralVariant4() { return this.contract.NeutralVariant4; }
get NeutralVariant5() { return this.contract.NeutralVariant5; }
get NeutralVariant6() { return this.contract.NeutralVariant6; }
get NeutralVariant7() { return this.contract.NeutralVariant7; }
get NeutralVariant8() { return this.contract.NeutralVariant8; }
get NeutralVariant9() { return this.contract.NeutralVariant9; }
get NeutralVariant10() { return this.contract.NeutralVariant10; }
get NeutralVariant11() { return this.contract.NeutralVariant11; }
get NeutralVariant12() { return this.contract.NeutralVariant12; }
get NeutralVariant13() { return this.contract.NeutralVariant13; }
get NeutralVariant14() { return this.contract.NeutralVariant14; }
get NeutralVariant15() { return this.contract.NeutralVariant15; }
get NeutralVariant16() { return this.contract.NeutralVariant16; }
get NeutralVariant17() { return this.contract.NeutralVariant17; }
get NeutralVariant18() { return this.contract.NeutralVariant18; }
get NeutralVariant19() { return this.contract.NeutralVariant19; }
get NeutralVariant20() { return this.contract.NeutralVariant20; }
get NeutralVariant21() { return this.contract.NeutralVariant21; }
get NeutralVariant22() { return this.contract.NeutralVariant22; }
get NeutralVariant23() { return this.contract.NeutralVariant23; }
get NeutralVariant24() { return this.contract.NeutralVariant24; }
get NeutralVariant25() { return this.contract.NeutralVariant25; }
get NeutralVariant26() { return this.contract.NeutralVariant26; }
get NeutralVariant27() { return this.contract.NeutralVariant27; }
get NeutralVariant28() { return this.contract.NeutralVariant28; }
get NeutralVariant29() { return this.contract.NeutralVariant29; }
get NeutralVariant30() { return this.contract.NeutralVariant30; }
get NeutralVariant31() { return this.contract.NeutralVariant31; }
get NeutralVariant32() { return this.contract.NeutralVariant32; }
get NeutralVariant33() { return this.contract.NeutralVariant33; }
get NeutralVariant34() { return this.contract.NeutralVariant34; }
get NeutralVariant35() { return this.contract.NeutralVariant35; }
get NeutralVariant36() { return this.contract.NeutralVariant36; }
get NeutralVariant37() { return this.contract.NeutralVariant37; }
get NeutralVariant38() { return this.contract.NeutralVariant38; }
get NeutralVariant39() { return this.contract.NeutralVariant39; }
get NeutralVariant40() { return this.contract.NeutralVariant40; }
get NeutralVariant41() { return this.contract.NeutralVariant41; }
get NeutralVariant42() { return this.contract.NeutralVariant42; }
get NeutralVariant43() { return this.contract.NeutralVariant43; }
get NeutralVariant44() { return this.contract.NeutralVariant44; }
get NeutralVariant45() { return this.contract.NeutralVariant45; }
get NeutralVariant46() { return this.contract.NeutralVariant46; }
get NeutralVariant47() { return this.contract.NeutralVariant47; }
get NeutralVariant48() { return this.contract.NeutralVariant48; }
get NeutralVariant49() { return this.contract.NeutralVariant49; }
get NeutralVariant50() { return this.contract.NeutralVariant50; }
get NeutralVariant51() { return this.contract.NeutralVariant51; }
get NeutralVariant52() { return this.contract.NeutralVariant52; }
get NeutralVariant53() { return this.contract.NeutralVariant53; }
get NeutralVariant54() { return this.contract.NeutralVariant54; }
get NeutralVariant55() { return this.contract.NeutralVariant55; }
get NeutralVariant56() { return this.contract.NeutralVariant56; }
get NeutralVariant57() { return this.contract.NeutralVariant57; }
get NeutralVariant58() { return this.contract.NeutralVariant58; }
get NeutralVariant59() { return this.contract.NeutralVariant59; }
get NeutralVariant60() { return this.contract.NeutralVariant60; }
get NeutralVariant61() { return this.contract.NeutralVariant61; }
get NeutralVariant62() { return this.contract.NeutralVariant62; }
get NeutralVariant63() { return this.contract.NeutralVariant63; }
get NeutralVariant64() { return this.contract.NeutralVariant64; }
get NeutralVariant65() { return this.contract.NeutralVariant65; }
get NeutralVariant66() { return this.contract.NeutralVariant66; }
get NeutralVariant67() { return this.contract.NeutralVariant67; }
get NeutralVariant68() { return this.contract.NeutralVariant68; }
get NeutralVariant69() { return this.contract.NeutralVariant69; }
get NeutralVariant70() { return this.contract.NeutralVariant70; }
get NeutralVariant71() { return this.contract.NeutralVariant71; }
get NeutralVariant72() { return this.contract.NeutralVariant72; }
get NeutralVariant73() { return this.contract.NeutralVariant73; }
get NeutralVariant74() { return this.contract.NeutralVariant74; }
get NeutralVariant75() { return this.contract.NeutralVariant75; }
get NeutralVariant76() { return this.contract.NeutralVariant76; }
get NeutralVariant77() { return this.contract.NeutralVariant77; }
get NeutralVariant78() { return this.contract.NeutralVariant78; }
get NeutralVariant79() { return this.contract.NeutralVariant79; }
get NeutralVariant80() { return this.contract.NeutralVariant80; }
get NeutralVariant81() { return this.contract.NeutralVariant81; }
get NeutralVariant82() { return this.contract.NeutralVariant82; }
get NeutralVariant83() { return this.contract.NeutralVariant83; }
get NeutralVariant84() { return this.contract.NeutralVariant84; }
get NeutralVariant85() { return this.contract.NeutralVariant85; }
get NeutralVariant86() { return this.contract.NeutralVariant86; }
get NeutralVariant87() { return this.contract.NeutralVariant87; }
get NeutralVariant88() { return this.contract.NeutralVariant88; }
get NeutralVariant89() { return this.contract.NeutralVariant89; }
get NeutralVariant90() { return this.contract.NeutralVariant90; }
get NeutralVariant91() { return this.contract.NeutralVariant91; }
get NeutralVariant92() { return this.contract.NeutralVariant92; }
get NeutralVariant93() { return this.contract.NeutralVariant93; }
get NeutralVariant94() { return this.contract.NeutralVariant94; }
get NeutralVariant95() { return this.contract.NeutralVariant95; }
get NeutralVariant96() { return this.contract.NeutralVariant96; }
get NeutralVariant97() { return this.contract.NeutralVariant97; }
get NeutralVariant98() { return this.contract.NeutralVariant98; }
get NeutralVariant99() { return this.contract.NeutralVariant99; }
get NeutralVariant100() { return this.contract.NeutralVariant100; }
get AllEnums() {
return {
Primary0: this.Primary0, Primary1: this.Primary1, Primary2: this.Primary2, Primary3: this.Primary3, Primary4: this.Primary4,
Primary5: this.Primary5, Primary6: this.Primary6, Primary7: this.Primary7, Primary8: this.Primary8, Primary9: this.Primary9,
Primary10: this.Primary10, Primary11: this.Primary11, Primary12: this.Primary12, Primary13: this.Primary13, Primary14: this.Primary14,
Primary15: this.Primary15, Primary16: this.Primary16, Primary17: this.Primary17, Primary18: this.Primary18, Primary19: this.Primary19,
Primary20: this.Primary20, Primary21: this.Primary21, Primary22: this.Primary22, Primary23: this.Primary23, Primary24: this.Primary24,
Primary25: this.Primary25, Primary26: this.Primary26, Primary27: this.Primary27, Primary28: this.Primary28, Primary29: this.Primary29,
Primary30: this.Primary30, Primary31: this.Primary31, Primary32: this.Primary32, Primary33: this.Primary33, Primary34: this.Primary34,
Primary35: this.Primary35, Primary36: this.Primary36, Primary37: this.Primary37, Primary38: this.Primary38, Primary39: this.Primary39,
Primary40: this.Primary40, Primary41: this.Primary41, Primary42: this.Primary42, Primary43: this.Primary43, Primary44: this.Primary44,
Primary45: this.Primary45, Primary46: this.Primary46, Primary47: this.Primary47, Primary48: this.Primary48, Primary49: this.Primary49,
Primary50: this.Primary50, Primary51: this.Primary51, Primary52: this.Primary52, Primary53: this.Primary53, Primary54: this.Primary54,
Primary55: this.Primary55, Primary56: this.Primary56, Primary57: this.Primary57, Primary58: this.Primary58, Primary59: this.Primary59,
Primary60: this.Primary60, Primary61: this.Primary61, Primary62: this.Primary62, Primary63: this.Primary63, Primary64: this.Primary64,
Primary65: this.Primary65, Primary66: this.Primary66, Primary67: this.Primary67, Primary68: this.Primary68, Primary69: this.Primary69,
Primary70: this.Primary70, Primary71: this.Primary71, Primary72: this.Primary72, Primary73: this.Primary73, Primary74: this.Primary74,
Primary75: this.Primary75, Primary76: this.Primary76, Primary77: this.Primary77, Primary78: this.Primary78, Primary79: this.Primary79,
Primary80: this.Primary80, Primary81: this.Primary81, Primary82: this.Primary82, Primary83: this.Primary83, Primary84: this.Primary84,
Primary85: this.Primary85, Primary86: this.Primary86, Primary87: this.Primary87, Primary88: this.Primary88, Primary89: this.Primary89,
Primary90: this.Primary90, Primary91: this.Primary91, Primary92: this.Primary92, Primary93: this.Primary93, Primary94: this.Primary94,
Primary95: this.Primary95, Primary96: this.Primary96, Primary97: this.Primary97, Primary98: this.Primary98, Primary99: this.Primary99,
Primary100: this.Primary100, Secondary0: this.Secondary0, Secondary1: this.Secondary1, Secondary2: this.Secondary2, Secondary3: this.Secondary3,
Secondary4: this.Secondary4, Secondary5: this.Secondary5, Secondary6: this.Secondary6, Secondary7: this.Secondary7, Secondary8: this.Secondary8,
Secondary9: this.Secondary9, Secondary10: this.Secondary10, Secondary11: this.Secondary11, Secondary12: this.Secondary12, Secondary13: this.Secondary13,
Secondary14: this.Secondary14, Secondary15: this.Secondary15, Secondary16: this.Secondary16, Secondary17: this.Secondary17, Secondary18: this.Secondary18,
Secondary19: this.Secondary19, Secondary20: this.Secondary20, Secondary21: this.Secondary21, Secondary22: this.Secondary22, Secondary23: this.Secondary23,
Secondary24: this.Secondary24, Secondary25: this.Secondary25, Secondary26: this.Secondary26, Secondary27: this.Secondary27, Secondary28: this.Secondary28,
Secondary29: this.Secondary29, Secondary30: this.Secondary30, Secondary31: this.Secondary31, Secondary32: this.Secondary32, Secondary33: this.Secondary33,
Secondary34: this.Secondary34, Secondary35: this.Secondary35, Secondary36: this.Secondary36, Secondary37: this.Secondary37, Secondary38: this.Secondary38,
Secondary39: this.Secondary39, Secondary40: this.Secondary40, Secondary41: this.Secondary41, Secondary42: this.Secondary42, Secondary43: this.Secondary43,
Secondary44: this.Secondary44, Secondary45: this.Secondary45, Secondary46: this.Secondary46, Secondary47: this.Secondary47, Secondary48: this.Secondary48,
Secondary49: this.Secondary49, Secondary50: this.Secondary50, Secondary51: this.Secondary51, Secondary52: this.Secondary52, Secondary53: this.Secondary53,
Secondary54: this.Secondary54, Secondary55: this.Secondary55, Secondary56: this.Secondary56, Secondary57: this.Secondary57, Secondary58: this.Secondary58,
Secondary59: this.Secondary59, Secondary60: this.Secondary60, Secondary61: this.Secondary61, Secondary62: this.Secondary62, Secondary63: this.Secondary63,
Secondary64: this.Secondary64, Secondary65: this.Secondary65, Secondary66: this.Secondary66, Secondary67: this.Secondary67, Secondary68: this.Secondary68,
Secondary69: this.Secondary69, Secondary70: this.Secondary70, Secondary71: this.Secondary71, Secondary72: this.Secondary72, Secondary73: this.Secondary73,
Secondary74: this.Secondary74, Secondary75: this.Secondary75, Secondary76: this.Secondary76, Secondary77: this.Secondary77, Secondary78: this.Secondary78,
Secondary79: this.Secondary79, Secondary80: this.Secondary80, Secondary81: this.Secondary81, Secondary82: this.Secondary82, Secondary83: this.Secondary83,
Secondary84: this.Secondary84, Secondary85: this.Secondary85, Secondary86: this.Secondary86, Secondary87: this.Secondary87, Secondary88: this.Secondary88,
Secondary89: this.Secondary89, Secondary90: this.Secondary90, Secondary91: this.Secondary91, Secondary92: this.Secondary92, Secondary93: this.Secondary93,
Secondary94: this.Secondary94, Secondary95: this.Secondary95, Secondary96: this.Secondary96, Secondary97: this.Secondary97, Secondary98: this.Secondary98,
Secondary99: this.Secondary99, Secondary100: this.Secondary100, Tertiary0: this.Tertiary0, Tertiary1: this.Tertiary1, Tertiary2: this.Tertiary2,
Tertiary3: this.Tertiary3, Tertiary4: this.Tertiary4, Tertiary5: this.Tertiary5, Tertiary6: this.Tertiary6, Tertiary7: this.Tertiary7,
Tertiary8: this.Tertiary8, Tertiary9: this.Tertiary9, Tertiary10: this.Tertiary10, Tertiary11: this.Tertiary11, Tertiary12: this.Tertiary12,
Tertiary13: this.Tertiary13, Tertiary14: this.Tertiary14, Tertiary15: this.Tertiary15, Tertiary16: this.Tertiary16, Tertiary17: this.Tertiary17,
Tertiary18: this.Tertiary18, Tertiary19: this.Tertiary19, Tertiary20: this.Tertiary20, Tertiary21: this.Tertiary21, Tertiary22: this.Tertiary22,
Tertiary23: this.Tertiary23, Tertiary24: this.Tertiary24, Tertiary25: this.Tertiary25, Tertiary26: this.Tertiary26, Tertiary27: this.Tertiary27,
Tertiary28: this.Tertiary28, Tertiary29: this.Tertiary29, Tertiary30: this.Tertiary30, Tertiary31: this.Tertiary31, Tertiary32: this.Tertiary32,
Tertiary33: this.Tertiary33, Tertiary34: this.Tertiary34, Tertiary35: this.Tertiary35, Tertiary36: this.Tertiary36, Tertiary37: this.Tertiary37,
Tertiary38: this.Tertiary38, Tertiary39: this.Tertiary39, Tertiary40: this.Tertiary40, Tertiary41: this.Tertiary41, Tertiary42: this.Tertiary42,
Tertiary43: this.Tertiary43, Tertiary44: this.Tertiary44, Tertiary45: this.Tertiary45, Tertiary46: this.Tertiary46, Tertiary47: this.Tertiary47,
Tertiary48: this.Tertiary48, Tertiary49: this.Tertiary49, Tertiary50: this.Tertiary50, Tertiary51: this.Tertiary51, Tertiary52: this.Tertiary52,
Tertiary53: this.Tertiary53, Tertiary54: this.Tertiary54, Tertiary55: this.Tertiary55, Tertiary56: this.Tertiary56, Tertiary57: this.Tertiary57,
Tertiary58: this.Tertiary58, Tertiary59: this.Tertiary59, Tertiary60: this.Tertiary60, Tertiary61: this.Tertiary61, Tertiary62: this.Tertiary62,
Tertiary63: this.Tertiary63, Tertiary64: this.Tertiary64, Tertiary65: this.Tertiary65, Tertiary66: this.Tertiary66, Tertiary67: this.Tertiary67,
Tertiary68: this.Tertiary68, Tertiary69: this.Tertiary69, Tertiary70: this.Tertiary70, Tertiary71: this.Tertiary71, Tertiary72: this.Tertiary72,
Tertiary73: this.Tertiary73, Tertiary74: this.Tertiary74, Tertiary75: this.Tertiary75, Tertiary76: this.Tertiary76, Tertiary77: this.Tertiary77,
Tertiary78: this.Tertiary78, Tertiary79: this.Tertiary79, Tertiary80: this.Tertiary80, Tertiary81: this.Tertiary81, Tertiary82: this.Tertiary82,
Tertiary83: this.Tertiary83, Tertiary84: this.Tertiary84, Tertiary85: this.Tertiary85, Tertiary86: this.Tertiary86, Tertiary87: this.Tertiary87,
Tertiary88: this.Tertiary88, Tertiary89: this.Tertiary89, Tertiary90: this.Tertiary90, Tertiary91: this.Tertiary91, Tertiary92: this.Tertiary92,
Tertiary93: this.Tertiary93, Tertiary94: this.Tertiary94, Tertiary95: this.Tertiary95, Tertiary96: this.Tertiary96, Tertiary97: this.Tertiary97,
Tertiary98: this.Tertiary98, Tertiary99: this.Tertiary99, Tertiary100: this.Tertiary100, Error0: this.Error0, Error1: this.Error1,
Error2: this.Error2, Error3: this.Error3, Error4: this.Error4, Error5: this.Error5, Error6: this.Error6,
Error7: this.Error7, Error8: this.Error8, Error9: this.Error9, Error10: this.Error10, Error11: this.Error11,
Error12: this.Error12, Error13: this.Error13, Error14: this.Error14, Error15: this.Error15, Error16: this.Error16,
Error17: this.Error17, Error18: this.Error18, Error19: this.Error19, Error20: this.Error20, Error21: this.Error21,
Error22: this.Error22, Error23: this.Error23, Error24: this.Error24, Error25: this.Error25, Error26: this.Error26,
Error27: this.Error27, Error28: this.Error28, Error29: this.Error29, Error30: this.Error30, Error31: this.Error31,
Error32: this.Error32, Error33: this.Error33, Error34: this.Error34, Error35: this.Error35, Error36: this.Error36,
Error37: this.Error37, Error38: this.Error38, Error39: this.Error39, Error40: this.Error40, Error41: this.Error41,
Error42: this.Error42, Error43: this.Error43, Error44: this.Error44, Error45: this.Error45, Error46: this.Error46,
Error47: this.Error47, Error48: this.Error48, Error49: this.Error49, Error50: this.Error50, Error51: this.Error51,
Error52: this.Error52, Error53: this.Error53, Error54: this.Error54, Error55: this.Error55, Error56: this.Error56,
Error57: this.Error57, Error58: this.Error58, Error59: this.Error59, Error60: this.Error60, Error61: this.Error61,
Error62: this.Error62, Error63: this.Error63, Error64: this.Error64, Error65: this.Error65, Error66: this.Error66,
Error67: this.Error67, Error68: this.Error68, Error69: this.Error69, Error70: this.Error70, Error71: this.Error71,
Error72: this.Error72, Error73: this.Error73, Error74: this.Error74, Error75: this.Error75, Error76: this.Error76,
Error77: this.Error77, Error78: this.Error78, Error79: this.Error79, Error80: this.Error80, Error81: this.Error81,
Error82: this.Error82, Error83: this.Error83, Error84: this.Error84, Error85: this.Error85, Error86: this.Error86,
Error87: this.Error87, Error88: this.Error88, Error89: this.Error89, Error90: this.Error90, Error91: this.Error91,
Error92: this.Error92, Error93: this.Error93, Error94: this.Error94, Error95: this.Error95, Error96: this.Error96,
Error97: this.Error97, Error98: this.Error98, Error99: this.Error99, Error100: this.Error100, Neutral0: this.Neutral0,
Neutral1: this.Neutral1, Neutral2: this.Neutral2, Neutral3: this.Neutral3, Neutral4: this.Neutral4, Neutral5: this.Neutral5,
Neutral6: this.Neutral6, Neutral7: this.Neutral7, Neutral8: this.Neutral8, Neutral9: this.Neutral9, Neutral10: this.Neutral10,
Neutral11: this.Neutral11, Neutral12: this.Neutral12, Neutral13: this.Neutral13, Neutral14: this.Neutral14, Neutral15: this.Neutral15,
Neutral16: this.Neutral16, Neutral17: this.Neutral17, Neutral18: this.Neutral18, Neutral19: this.Neutral19, Neutral20: this.Neutral20,
Neutral21: this.Neutral21, Neutral22: this.Neutral22, Neutral23: this.Neutral23, Neutral24: this.Neutral24, Neutral25: this.Neutral25,
Neutral26: this.Neutral26, Neutral27: this.Neutral27, Neutral28: this.Neutral28, Neutral29: this.Neutral29, Neutral30: this.Neutral30,
Neutral31: this.Neu