BASE_MODULES |
BASE_MODULES:
|
Type : []
|
Default value : [CommonModule, FormsModule, ReactiveFormsModule, RouterModule, TranslateModule]
|
ENTRY_COMPONENTS |
ENTRY_COMPONENTS:
|
Type : []
|
Default value : [
ThemeSwitcherListComponent,
]
|
PIPES |
PIPES:
|
Type : []
|
Default value : [
CapitalizePipe,
PluralPipe,
RoundPipe,
TimingPipe,
]
|
components |
components:
|
Type : []
|
Default value : [
UsersComponent,
AddUserComponent,
DetailUserComponent,
EditUserComponent,
ListUserComponent,
ProfileComponent,
]
|
components |
components:
|
Type : []
|
Default value : [
ReviewsComponent,
AddReviewComponent,
DetailReviewComponent,
EditReviewComponent,
ListReviewComponent,
]
|
config |
config:
|
Type : ExtraOptions
|
Default value : {
useHash: false,
}
|
CONFIG |
CONFIG:
|
Type : object
|
Default value : {
env: ENV,
...ENV_CONFIG,
}
|
ENV |
ENV:
|
Type : string
|
Default value : 'development'
|
ENV_CONFIG |
ENV_CONFIG:
|
Default value : ENV === 'development' ? DevelopmentConfigConst : ProductionConfigConst
|
CORPORATE_THEME |
CORPORATE_THEME:
|
Type : object
|
Default value : {
name: 'corporate',
base: 'default',
variables: {
temperature: [
'#ffa36b',
'#ffa36b',
'#ff9e7a',
'#ff9888',
'#ff8ea0',
],
solar: {
gradientLeft: '#ff8ea0',
gradientRight: '#ffa36b',
shadowColor: 'rgba(0, 0, 0, 0)',
radius: ['80%', '90%'],
},
traffic: {
colorBlack: '#000000',
tooltipBg: '#eef2f5',
tooltipBorderColor: '#eef2f5',
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: '400',
lineBg: '#c0c8d1',
lineShadowBlur: '0',
itemColor: '#bcc3cc',
itemBorderColor: '#bcc3cc',
itemEmphasisBorderColor: '#74a2ff',
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
shadowLineShadow: 'rgba(0, 0, 0, 0)',
gradFrom: '#ffffff',
gradTo: '#ffffff',
},
electricity: {
tooltipBg: '#edf0f4',
tooltipLineColor: '#bdc4cd',
tooltipLineWidth: '0',
tooltipBorderColor: '#ebeef2',
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: 'bolder',
axisLineColor: 'rgba(0, 0, 0, 0)',
xAxisTextColor: '#2a2a2a',
yAxisSplitLine: '#ebeef2',
itemBorderColor: '#73a1ff',
lineStyle: 'solid',
lineWidth: '4',
lineGradFrom: '#bdc4cd',
lineGradTo: '#c0c8d1',
lineShadow: 'rgba(0, 0, 0, 0)',
areaGradFrom: 'rgba(255, 255, 255, 0)',
areaGradTo: 'rgba(255, 255, 255, 0)',
shadowLineDarkBg: 'rgba(255, 255, 255, 0)',
},
bubbleMap: {
titleColor: '#484848',
areaColor: '#dddddd',
areaHoverColor: '#cccccc',
areaBorderColor: '#ebeef2',
},
echarts: {
bg: '#ffffff',
textColor: '#484848',
axisLineColor: '#bbbbbb',
splitLineColor: '#ebeef2',
itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)',
tooltipBackgroundColor: '#6a7985',
areaOpacity: '0.7',
},
chartjs: {
axisLineColor: '#cccccc',
textColor: '#484848',
},
},
}
|
COSMIC_THEME |
COSMIC_THEME:
|
Type : object
|
Default value : {
name: 'cosmic',
base: 'default',
variables: {
temperature: [
'#2ec7fe',
'#31ffad',
'#7bff24',
'#fff024',
'#f7bd59',
],
solar: {
gradientLeft: '#7bff24',
gradientRight: '#2ec7fe',
shadowColor: '#19977E',
radius: ['70%', '90%'],
},
traffic: {
colorBlack: '#000000',
tooltipBg: 'rgba(0, 255, 170, 0.35)',
tooltipBorderColor: '#00d977',
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(0, 255, 170, 0.35); border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: '#ffffff',
tooltipFontWeight: 'normal',
lineBg: '#d1d1ff',
lineShadowBlur: '14',
itemColor: '#BEBBFF',
itemBorderColor: '#ffffff',
itemEmphasisBorderColor: '#ffffff',
shadowLineDarkBg: '#655ABD',
shadowLineShadow: 'rgba(33, 7, 77, 0.5)',
gradFrom: 'rgba(118, 89, 255, 0.4)',
gradTo: 'rgba(164, 84, 255, 0.5)',
},
electricity: {
tooltipBg: 'rgba(0, 255, 170, 0.35)',
tooltipLineColor: 'rgba(255, 255, 255, 0.1)',
tooltipLineWidth: '1',
tooltipBorderColor: '#00d977',
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(0, 255, 170, 0.35); border-radius: 10px; padding: 8px 24px;',
tooltipTextColor: '#ffffff',
tooltipFontWeight: 'normal',
axisLineColor: 'rgba(161, 161 ,229, 0.3)',
xAxisTextColor: '#a1a1e5',
yAxisSplitLine: 'rgba(161, 161 ,229, 0.2)',
itemBorderColor: '#ffffff',
lineStyle: 'dotted',
lineWidth: '6',
lineGradFrom: '#00ffaa',
lineGradTo: '#fff835',
lineShadow: 'rgba(14, 16, 48, 0.4)',
areaGradFrom: 'rgba(188, 92, 255, 0.5)',
areaGradTo: 'rgba(188, 92, 255, 0)',
shadowLineDarkBg: '#a695ff',
},
bubbleMap: {
titleColor: '#ffffff',
areaColor: '#2c2961',
areaHoverColor: '#a1a1e5',
areaBorderColor: '#654ddb',
},
echarts: {
bg: '#3d3780',
textColor: '#ffffff',
axisLineColor: '#a1a1e5',
splitLineColor: '#342e73',
itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)',
tooltipBackgroundColor: '#6a7985',
areaOpacity: '1',
},
chartjs: {
axisLineColor: '#a1a1e5',
textColor: '#ffffff',
},
},
}
|
counter |
counter:
|
Type : number
|
Default value : 0
|
DEFAULT_THEME |
DEFAULT_THEME:
|
Type : object
|
Default value : {
name: 'default',
base: null,
variables: {
// Safari fix
temperature: [
'#42db7d',
'#42db7d',
'#42db7d',
'#42db7d',
'#42db7d',
],
solar: {
gradientLeft: '#42db7d',
gradientRight: '#42db7d',
shadowColor: 'rgba(0, 0, 0, 0)',
radius: ['80%', '90%'],
},
traffic: {
colorBlack: '#000000',
tooltipBg: '#ffffff',
tooltipBorderColor: '#c0c8d1',
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: 'bolder',
lineBg: '#c0c8d1',
lineShadowBlur: '1',
itemColor: '#bcc3cc',
itemBorderColor: '#bcc3cc',
itemEmphasisBorderColor: '#42db7d',
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
shadowLineShadow: 'rgba(0, 0, 0, 0)',
gradFrom: '#ebeef2',
gradTo: '#ebeef2',
},
electricity: {
tooltipBg: '#ffffff',
tooltipLineColor: 'rgba(0, 0, 0, 0)',
tooltipLineWidth: '0',
tooltipBorderColor: '#ebeef2',
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: 'bolder',
axisLineColor: 'rgba(0, 0, 0, 0)',
xAxisTextColor: '#2a2a2a',
yAxisSplitLine: '#ebeef2',
itemBorderColor: '#42db7d',
lineStyle: 'solid',
lineWidth: '4',
lineGradFrom: '#42db7d',
lineGradTo: '#42db7d',
lineShadow: 'rgba(0, 0, 0, 0)',
areaGradFrom: 'rgba(235, 238, 242, 0.5)',
areaGradTo: 'rgba(235, 238, 242, 0.5)',
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
},
bubbleMap: {
titleColor: '#484848',
areaColor: '#dddddd',
areaHoverColor: '#cccccc',
areaBorderColor: '#ebeef2',
},
echarts: {
bg: '#ffffff',
textColor: '#484848',
axisLineColor: '#bbbbbb',
splitLineColor: '#ebeef2',
itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)',
tooltipBackgroundColor: '#6a7985',
areaOpacity: '0.7',
},
chartjs: {
axisLineColor: '#cccccc',
textColor: '#484848',
},
},
}
|
DefaultConfigConst |
DefaultConfigConst:
|
Type : object
|
Default value : {
server: {
host: 'http://localhost',
port: '3000',
baseApi: '/api',
get serverBaseURL() {
return `${this.host}:${this.port}${this.baseApi}`
},
},
}
|
DevelopmentConfigConst |
DevelopmentConfigConst:
|
Type : object
|
Default value : {
server: {
host: 'http://5b7403bca583740014190859.mockapi.io',
port: '80',
baseApi: '/api',
get serverBaseURL() {
return `${this.host}:${this.port}${this.baseApi}`
},
},
}
|
echarts |
echarts:
|
Type : any
|
echarts |
echarts:
|
Type : any
|
points |
points:
|
Type : []
|
Default value : [300, 520, 435, 530, 730, 620, 660, 860]
|
echarts |
echarts:
|
Type : any
|
environment |
environment:
|
Type : object
|
Default value : {
production: false
}
|
environment |
environment:
|
Type : object
|
Default value : {
production: true
}
|
exceptionList |
exceptionList:
|
Type : Array<any>
|
Default value : ['/assets/']
|
exceptionList |
exceptionList:
|
Type : Array<any>
|
Default value : ['/assets/', 'http']
|
ga |
ga:
|
Type : any
|
PAGES_COMPONENTS |
PAGES_COMPONENTS:
|
Type : []
|
Default value : [
PagesComponent,
]
|
ProductionConfigConst |
ProductionConfigConst:
|
Type : object
|
Default value : {
server: {
host: 'http://localhost',
port: '3000',
baseApi: '/api',
get serverBaseURL() {
return `${this.host}:${this.port}${this.baseApi}`
},
},
}
|
routedComponents |
routedComponents:
|
Type : []
|
Default value : [
MiscellaneousComponent,
NotFoundComponent,
]
|
SERVICES |
SERVICES:
|
Type : []
|
Default value : [
UserService,
ElectricityService,
StateService,
SmartTableService,
PlayerService,
]
|
TABLE_CONFIG |
TABLE_CONFIG:
|
Type : object
|
Default value : {
add: {
addButtonContent: '<i class="nb-plus"></i>',
createButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
edit: {
editButtonContent: '<i class="nb-edit"></i>',
saveButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
delete: {
deleteButtonContent: '<i class="nb-trash"></i>',
confirmDelete: true,
},
actions: {
add: true,
edit: true,
delete: true
},
columns: {
name: {
title: 'عنوان',
type: 'string',
},
status: {
title: 'وضعیت',
type: 'string',
},
createdAt: {
title: 'تاریخ ثبت نام',
type: 'date',
},
},
}
|
TABLE_CONFIG |
TABLE_CONFIG:
|
Type : object
|
Default value : {
mode: 'external',
add: {
addButtonContent: '<i class="nb-plus"></i>',
createButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
edit: {
editButtonContent: '<i class="nb-edit"></i>',
saveButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
confirmSave: true
},
delete: {
deleteButtonContent: '<i class="nb-trash"></i>',
confirmDelete: true,
},
actions: {
add: true,
edit: true,
delete: true,
},
columns: {
id: {
title: 'id',
type: 'string',
},
name: {
title: 'نام',
type: 'string',
},
createdAt: {
title: 'تاریخ ثبت نام',
type: 'date',
}
},
}
|
TOKEN_KEY |
TOKEN_KEY:
|
Default value : makeStateKey<string>('token')
|
USER_KEY |
USER_KEY:
|
Default value : makeStateKey<string>('user')
|
USER_KEY |
USER_KEY:
|
Default value : makeStateKey<string>('user')
|
VERSION |
VERSION:
|
Type : object
|
Default value : {
"dirty": true,
"raw": "v1.12-3-g1d9ebeb-dirty",
"hash": "g1d9ebeb",
"distance": 3,
"tag": "v1.12",
"semver": null,
"suffix": "3-g1d9ebeb-dirty",
"semverString": "",
"version": "1.13.7"
}
|
VIEW_BOX_SIZE |
VIEW_BOX_SIZE:
|
Type : number
|
Default value : 300
|