Showing
1 changed file
with
86 additions
and
86 deletions
... | ... | @@ -24,7 +24,7 @@ export const alarmDataHref = '<a href="https://github.com/thingsboard/thingsboar |
24 | 24 | |
25 | 25 | export const alarmDataQueryHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/query/query.models.ts#L558">Alarm data query</a>'; |
26 | 26 | |
27 | -export const attributeScopeHref ='<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/telemetry/telemetry.models.ts#L37">Attribute scope</a>'; | |
27 | +export const attributeScopeHref = '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/telemetry/telemetry.models.ts#L37">Attribute scope</a>'; | |
28 | 28 | |
29 | 29 | export const entityTypeHref = '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/entity-type.models.ts#L36">EntityType</a>'; |
30 | 30 | |
... | ... | @@ -32,7 +32,7 @@ export const pageDataHref = '<a href="https://github.com/thingsboard/thingsboard |
32 | 32 | |
33 | 33 | export const deviceInfoHref = '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/device.models.ts#L33">DeviceInfo</a>'; |
34 | 34 | |
35 | -export const assetInfoHref = '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/asset.models.ts#L32">AssetInfo</a>' | |
35 | +export const assetInfoHref = '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/asset.models.ts#L32">AssetInfo</a>'; | |
36 | 36 | |
37 | 37 | export const entityViewInfoHref = '<a href = "https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/entity-view.models.ts#L47">EntityViewInfo</a>'; |
38 | 38 | |
... | ... | @@ -84,15 +84,15 @@ export const stateParamsHref = '<a href="https://github.com/thingsboard/thingsbo |
84 | 84 | |
85 | 85 | export const aliasInfoHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/core/api/widget-api.models.ts#L88">Alias info</a>'; |
86 | 86 | |
87 | -export const entityAliasFilterHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/alias.models.ts#L134">Entity alias filter</a>' | |
87 | +export const entityAliasFilterHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/alias.models.ts#L134">Entity alias filter</a>'; | |
88 | 88 | |
89 | -export const entityAliasFilterResultHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/alias.models.ts#L158">Entity alias filter result</a>' | |
89 | +export const entityAliasFilterResultHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/alias.models.ts#L158">Entity alias filter result</a>'; | |
90 | 90 | |
91 | -export const importEntityDataHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/entity.models.ts#L28">Import entity data</a>' | |
91 | +export const importEntityDataHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/entity.models.ts#L28">Import entity data</a>'; | |
92 | 92 | |
93 | -export const importEntitiesResultInfoHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/entity.models.ts#L42">Import entities result info</a>' | |
93 | +export const importEntitiesResultInfoHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/entity.models.ts#L42">Import entities result info</a>'; | |
94 | 94 | |
95 | -export const customDialogComponentHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.component.ts#L48">CustomDialogComponent</a>' | |
95 | +export const customDialogComponentHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.component.ts#L48">CustomDialogComponent</a>'; | |
96 | 96 | |
97 | 97 | export const pageLinkArg: FunctionArg = { |
98 | 98 | name: 'pageLink', |
... | ... | @@ -885,7 +885,7 @@ export const serviceCompletions: TbEditorCompletions = { |
885 | 885 | {name: 'userId', type: 'string', description: 'Id of the user'}, |
886 | 886 | requestConfigArg |
887 | 887 | ], |
888 | - return:observableReturnTypeVariable('string') | |
888 | + return: observableReturnTypeVariable('string') | |
889 | 889 | }, |
890 | 890 | sendActivationEmail: { |
891 | 891 | description: 'Send activation email', |
... | ... | @@ -1033,7 +1033,7 @@ export const serviceCompletions: TbEditorCompletions = { |
1033 | 1033 | args: [ |
1034 | 1034 | {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, |
1035 | 1035 | {name: 'attributeScope', type: attributeScopeHref, description: 'Atribute scope'}, |
1036 | - {name: 'keys', type:`Array<string>`, description: 'Array of the keys'}, | |
1036 | + {name: 'keys', type: `Array<string>`, description: 'Array of the keys'}, | |
1037 | 1037 | requestConfigArg |
1038 | 1038 | ], |
1039 | 1039 | return: observableArrayReturnType(attributeDataHref) |
... | ... | @@ -1055,10 +1055,10 @@ export const serviceCompletions: TbEditorCompletions = { |
1055 | 1055 | args: [ |
1056 | 1056 | {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, |
1057 | 1057 | {name: 'timeseries', type: `Array<${attributeDataHref}>>`, description: 'Array of the timeseries'}, |
1058 | - {name: 'deleteAllDataForKeys', type: 'boolean',optional: true, description: 'Delete all data for keys'}, | |
1058 | + {name: 'deleteAllDataForKeys', type: 'boolean', optional: true, description: 'Delete all data for keys'}, | |
1059 | 1059 | requestConfigArg |
1060 | 1060 | ], |
1061 | - return:observableReturnTypeVariable('any') | |
1061 | + return: observableReturnTypeVariable('any') | |
1062 | 1062 | }, |
1063 | 1063 | saveEntityAttributes: { |
1064 | 1064 | description: 'Save entity attributes', |
... | ... | @@ -1080,7 +1080,7 @@ export const serviceCompletions: TbEditorCompletions = { |
1080 | 1080 | {name: 'timeseries', type: `Array<attributeDataHref>`, description: 'Array of the timeseries'}, |
1081 | 1081 | requestConfigArg |
1082 | 1082 | ], |
1083 | - return:observableReturnTypeVariable('any') | |
1083 | + return: observableReturnTypeVariable('any') | |
1084 | 1084 | }, |
1085 | 1085 | } |
1086 | 1086 | }, |
... | ... | @@ -1098,7 +1098,7 @@ export const serviceCompletions: TbEditorCompletions = { |
1098 | 1098 | {name: 'entityId', type: 'string', description: 'Id of the entity'}, |
1099 | 1099 | requestConfigArg |
1100 | 1100 | ], |
1101 | - return:observableBaseDataReturnType(entityIdHref) | |
1101 | + return: observableBaseDataReturnType(entityIdHref) | |
1102 | 1102 | }, |
1103 | 1103 | getEntities: { |
1104 | 1104 | description: 'Get entities by ids', |
... | ... | @@ -1108,7 +1108,7 @@ export const serviceCompletions: TbEditorCompletions = { |
1108 | 1108 | {name: 'entityIds', type: `Array<string>`, description: 'Ids of the entities'}, |
1109 | 1109 | requestConfigArg |
1110 | 1110 | ], |
1111 | - return:observableArrayBaseDataReturnType(entityIdHref) | |
1111 | + return: observableArrayBaseDataReturnType(entityIdHref) | |
1112 | 1112 | }, |
1113 | 1113 | getEntitiesByNameFilter: { |
1114 | 1114 | description: 'Get entities by name filter', |
... | ... | @@ -1117,10 +1117,10 @@ export const serviceCompletions: TbEditorCompletions = { |
1117 | 1117 | {name: 'entityType', type: entityTypeHref, description: 'Entity type'}, |
1118 | 1118 | {name: 'entityNameFilter', type: 'string', description: 'Name filter of the entity'}, |
1119 | 1119 | {name: 'pageSize', type: 'number', description: 'Size of the page'}, |
1120 | - {name: 'subType', type: 'string',optional: true, description: 'Subtype'}, | |
1120 | + {name: 'subType', type: 'string', optional: true, description: 'Subtype'}, | |
1121 | 1121 | requestConfigArg |
1122 | 1122 | ], |
1123 | - return:observableArrayBaseDataReturnType(entityIdHref) | |
1123 | + return: observableArrayBaseDataReturnType(entityIdHref) | |
1124 | 1124 | }, |
1125 | 1125 | findEntityDataByQuery: { |
1126 | 1126 | description: 'Find entity data by query', |
... | ... | @@ -1130,7 +1130,7 @@ export const serviceCompletions: TbEditorCompletions = { |
1130 | 1130 | |
1131 | 1131 | requestConfigArg |
1132 | 1132 | ], |
1133 | - return:observablePageDataReturnType(entityDataHref) | |
1133 | + return: observablePageDataReturnType(entityDataHref) | |
1134 | 1134 | }, |
1135 | 1135 | findAlarmDataByQuery: { |
1136 | 1136 | description: 'Find alarm data by query', |
... | ... | @@ -1139,7 +1139,7 @@ export const serviceCompletions: TbEditorCompletions = { |
1139 | 1139 | {name: 'query', type: alarmDataQueryHref, description: 'Query'}, |
1140 | 1140 | requestConfigArg |
1141 | 1141 | ], |
1142 | - return:observablePageDataReturnType(alarmDataHref) | |
1142 | + return: observablePageDataReturnType(alarmDataHref) | |
1143 | 1143 | }, |
1144 | 1144 | findEntityInfosByFilterAndName: { |
1145 | 1145 | description: 'Find entity infos by filter and name', |
... | ... | @@ -1149,7 +1149,7 @@ export const serviceCompletions: TbEditorCompletions = { |
1149 | 1149 | {name: 'searchText', type: 'string', description: 'Search text'}, |
1150 | 1150 | requestConfigArg |
1151 | 1151 | ], |
1152 | - return:observablePageDataReturnType(entityInfoHref) | |
1152 | + return: observablePageDataReturnType(entityInfoHref) | |
1153 | 1153 | }, |
1154 | 1154 | findSingleEntityInfoByEntityFilter: { |
1155 | 1155 | description: 'Find single entity infos by filter of the entity ', |
... | ... | @@ -1159,56 +1159,56 @@ export const serviceCompletions: TbEditorCompletions = { |
1159 | 1159 | {name: 'searchText', type: 'string', description: 'search text'}, |
1160 | 1160 | requestConfigArg |
1161 | 1161 | ], |
1162 | - return:observableReturnType(entityInfoHref) | |
1162 | + return: observableReturnType(entityInfoHref) | |
1163 | 1163 | }, |
1164 | 1164 | getAliasFilterTypesByEntityTypes: { |
1165 | 1165 | description: 'Get alias filter types by entity type', |
1166 | 1166 | meta: 'function', |
1167 | 1167 | args: [ |
1168 | - {name: 'entityTypes', type:`Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'}, | |
1168 | + {name: 'entityTypes', type: `Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'}, | |
1169 | 1169 | {name: 'searchText', type: 'string', description: 'Search text'} |
1170 | 1170 | ], |
1171 | - return:{ | |
1172 | - type:`Array<${aliasFilterTypeHref}$gt;`, | |
1173 | - description:`Array of ${aliasFilterTypeHref} objects` | |
1171 | + return: { | |
1172 | + type: `Array<${aliasFilterTypeHref}$gt;`, | |
1173 | + description: `Array of ${aliasFilterTypeHref} objects` | |
1174 | 1174 | } |
1175 | 1175 | }, |
1176 | 1176 | filterAliasByEntityTypes: { |
1177 | 1177 | description: 'Filter alias by entity type', |
1178 | 1178 | meta: 'function', |
1179 | 1179 | args: [ |
1180 | - {name: 'entityAlias', type:entityAliasHref, description: 'Alias of the entity'}, | |
1181 | - {name: 'entityTypes', type:`Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'} | |
1180 | + {name: 'entityAlias', type: entityAliasHref, description: 'Alias of the entity'}, | |
1181 | + {name: 'entityTypes', type: `Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'} | |
1182 | 1182 | ], |
1183 | - return:{ | |
1184 | - type:'boolean', | |
1185 | - description:`Returns <code>boolean</code> variable based on the filter` | |
1183 | + return: { | |
1184 | + type: 'boolean', | |
1185 | + description: `Returns <code>boolean</code> variable based on the filter` | |
1186 | 1186 | } |
1187 | 1187 | }, |
1188 | 1188 | prepareAllowedEntityTypesList: { |
1189 | 1189 | description: 'Prepare allowed types of the entity list', |
1190 | 1190 | meta: 'function', |
1191 | 1191 | args: [ |
1192 | - {name: 'allowedEntityTypes', type:`Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'}, | |
1193 | - {name: 'useAliasEntityTypes', type:'boolean', description: 'Use alias entity types'}, | |
1192 | + {name: 'allowedEntityTypes', type: `Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'}, | |
1193 | + {name: 'useAliasEntityTypes', type: 'boolean', description: 'Use alias entity types'}, | |
1194 | 1194 | ], |
1195 | - return:{ | |
1196 | - type:`Array<${entityTypeHref}|${aliasEntityTypeHref}>`, | |
1197 | - description:`Returns entity types array` | |
1195 | + return: { | |
1196 | + type: `Array<${entityTypeHref}|${aliasEntityTypeHref}>`, | |
1197 | + description: `Returns entity types array` | |
1198 | 1198 | } |
1199 | 1199 | }, |
1200 | 1200 | getEntityKeys: { |
1201 | 1201 | description: 'Get entity keys by id', |
1202 | 1202 | meta: 'function', |
1203 | 1203 | args: [ |
1204 | - {name: 'entityId', type:entityIdHref, description: 'id of the entity'}, | |
1205 | - {name: 'query', type:'string', description: 'Query'}, | |
1206 | - {name: 'type', type:dataKeyTypeHref, description: 'Query'}, | |
1204 | + {name: 'entityId', type: entityIdHref, description: 'id of the entity'}, | |
1205 | + {name: 'query', type: 'string', description: 'Query'}, | |
1206 | + {name: 'type', type: dataKeyTypeHref, description: 'Query'}, | |
1207 | 1207 | requestConfigArg |
1208 | 1208 | ], |
1209 | - return:{ | |
1210 | - type:`Observable<Array<string>>`, | |
1211 | - description:`An <code>Observable</code> of <code>string</code> variable.` | |
1209 | + return: { | |
1210 | + type: `Observable<Array<string>>`, | |
1211 | + description: `An <code>Observable</code> of <code>string</code> variable.` | |
1212 | 1212 | } |
1213 | 1213 | // observableArrayReturnType('string') |
1214 | 1214 | }, |
... | ... | @@ -1216,71 +1216,71 @@ export const serviceCompletions: TbEditorCompletions = { |
1216 | 1216 | description: 'Create database from subscriptions info', |
1217 | 1217 | meta: 'function', |
1218 | 1218 | args: [ |
1219 | - {name: 'subscriptionsInfo', type:'array<subscriptionInfoHref>', description: 'Subscriptions info'} | |
1219 | + {name: 'subscriptionsInfo', type: 'array<subscriptionInfoHref>', description: 'Subscriptions info'} | |
1220 | 1220 | ], |
1221 | - return:{ | |
1222 | - type:`Array<${dataSourceHref}>`, | |
1223 | - description:`Array of <code>${dataSourceHref}</code> objects` | |
1221 | + return: { | |
1222 | + type: `Array<${dataSourceHref}>`, | |
1223 | + description: `Array of <code>${dataSourceHref}</code> objects` | |
1224 | 1224 | } |
1225 | 1225 | }, |
1226 | 1226 | createAlarmSourceFromSubscriptionInfo: { |
1227 | 1227 | description: 'Create alarm source from subscriptions info', |
1228 | 1228 | meta: 'function', |
1229 | 1229 | args: [ |
1230 | - {name: 'subscriptionInfo', type:subscriptionInfoHref, description: 'Subscription info'} | |
1230 | + {name: 'subscriptionInfo', type: subscriptionInfoHref, description: 'Subscription info'} | |
1231 | 1231 | ], |
1232 | - return:{ | |
1233 | - type:`${dataSourceHref}`, | |
1234 | - description:`<code>${dataSourceHref}</code> object` | |
1232 | + return: { | |
1233 | + type: `${dataSourceHref}`, | |
1234 | + description: `<code>${dataSourceHref}</code> object` | |
1235 | 1235 | } |
1236 | 1236 | }, |
1237 | 1237 | resolveAlias: { |
1238 | 1238 | description: 'Resolve alias', |
1239 | 1239 | meta: 'function', |
1240 | 1240 | args: [ |
1241 | - {name: 'entityAlias', type:entityAliasHref, description: 'Alias of the entity'}, | |
1242 | - {name: 'stateParams', type:stateParamsHref, description: 'State params'}, | |
1241 | + {name: 'entityAlias', type: entityAliasHref, description: 'Alias of the entity'}, | |
1242 | + {name: 'stateParams', type: stateParamsHref, description: 'State params'}, | |
1243 | 1243 | ], |
1244 | - return:observableReturnType(aliasInfoHref) | |
1244 | + return: observableReturnType(aliasInfoHref) | |
1245 | 1245 | }, |
1246 | 1246 | resolveAliasFilter: { |
1247 | 1247 | description: 'Resolve alias filter', |
1248 | 1248 | meta: 'function', |
1249 | 1249 | args: [ |
1250 | - {name: 'filter', type:entityAliasFilterHref, description: 'Entity alias filter'}, | |
1251 | - {name: 'stateParams', type:stateParamsHref, description: 'State params'}, | |
1250 | + {name: 'filter', type: entityAliasFilterHref, description: 'Entity alias filter'}, | |
1251 | + {name: 'stateParams', type: stateParamsHref, description: 'State params'}, | |
1252 | 1252 | ], |
1253 | - return:observableReturnType(entityAliasFilterResultHref) | |
1253 | + return: observableReturnType(entityAliasFilterResultHref) | |
1254 | 1254 | }, |
1255 | 1255 | checkEntityAlias: { |
1256 | 1256 | description: 'Check entity alias', |
1257 | 1257 | meta: 'function', |
1258 | 1258 | args: [ |
1259 | - {name: 'entityAlias', type:entityAliasHref, description: 'Alias of the entity'}, | |
1259 | + {name: 'entityAlias', type: entityAliasHref, description: 'Alias of the entity'}, | |
1260 | 1260 | ], |
1261 | - return:observableReturnTypeVariable('boolean') | |
1261 | + return: observableReturnTypeVariable('boolean') | |
1262 | 1262 | // observableReturnType('boolean') |
1263 | 1263 | }, |
1264 | 1264 | saveEntityParameters: { |
1265 | 1265 | description: 'Save entity parameters', |
1266 | 1266 | meta: 'function', |
1267 | 1267 | args: [ |
1268 | - {name: 'entityType', type:entityTypeHref, description: 'Entity type'}, | |
1269 | - {name: 'entityData', type:importEntityDataHref, description: 'Data of the entity'}, | |
1270 | - {name: 'update', type:'boolean', description: 'Update'}, | |
1268 | + {name: 'entityType', type: entityTypeHref, description: 'Entity type'}, | |
1269 | + {name: 'entityData', type: importEntityDataHref, description: 'Data of the entity'}, | |
1270 | + {name: 'update', type: 'boolean', description: 'Update'}, | |
1271 | 1271 | requestConfigArg |
1272 | 1272 | ], |
1273 | - return:observableReturnType(importEntitiesResultInfoHref) | |
1273 | + return: observableReturnType(importEntitiesResultInfoHref) | |
1274 | 1274 | }, |
1275 | 1275 | saveEntityData: { |
1276 | 1276 | description: 'Save entity data', |
1277 | 1277 | meta: 'function', |
1278 | 1278 | args: [ |
1279 | - {name: 'entityId', type:entityIdHref, description: 'Id of the entity'}, | |
1280 | - {name: 'entityData', type:importEntityDataHref, description: 'Data of the entity'}, | |
1279 | + {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, | |
1280 | + {name: 'entityData', type: importEntityDataHref, description: 'Data of the entity'}, | |
1281 | 1281 | requestConfigArg |
1282 | 1282 | ], |
1283 | - return:observableReturnTypeVariable('any') | |
1283 | + return: observableReturnTypeVariable('any') | |
1284 | 1284 | |
1285 | 1285 | // observableReturnType('any') |
1286 | 1286 | }, |
... | ... | @@ -1296,54 +1296,54 @@ export const serviceCompletions: TbEditorCompletions = { |
1296 | 1296 | description: 'Confirm', |
1297 | 1297 | meta: 'function', |
1298 | 1298 | args: [ |
1299 | - {name: 'title', type:'string', description: 'Title'}, | |
1300 | - {name: 'message', type:'string', description: 'Message'}, | |
1301 | - {name: 'cancel', type:'string',optional: true, description: 'Cancel'}, | |
1302 | - {name: 'ok', type:'string',optional: true, description: 'Ok'}, | |
1303 | - {name: 'fullscreen', type:'boolean',optional: true, description: 'Fullscreen'}, | |
1299 | + {name: 'title', type: 'string', description: 'Title'}, | |
1300 | + {name: 'message', type: 'string', description: 'Message'}, | |
1301 | + {name: 'cancel', type: 'string', optional: true, description: 'Cancel'}, | |
1302 | + {name: 'ok', type: 'string', optional: true, description: 'Ok'}, | |
1303 | + {name: 'fullscreen', type: 'boolean', optional: true, description: 'Fullscreen'}, | |
1304 | 1304 | ], |
1305 | - return:observableReturnTypeVariable('boolean') | |
1305 | + return: observableReturnTypeVariable('boolean') | |
1306 | 1306 | }, |
1307 | 1307 | alert: { |
1308 | 1308 | description: 'Alert', |
1309 | 1309 | meta: 'function', |
1310 | 1310 | args: [ |
1311 | - {name: 'title', type:'string', description: 'Title'}, | |
1312 | - {name: 'message', type:'string', description: 'Message'}, | |
1313 | - {name: 'ok', type:'string',optional: true, description: 'Ok'}, | |
1314 | - {name: 'fullscreen', type:'boolean',optional: true, description: 'Fullscreen'}, | |
1311 | + {name: 'title', type: 'string', description: 'Title'}, | |
1312 | + {name: 'message', type: 'string', description: 'Message'}, | |
1313 | + {name: 'ok', type: 'string', optional: true, description: 'Ok'}, | |
1314 | + {name: 'fullscreen', type: 'boolean', optional: true, description: 'Fullscreen'}, | |
1315 | 1315 | ], |
1316 | - return:observableReturnTypeVariable('boolean') | |
1316 | + return: observableReturnTypeVariable('boolean') | |
1317 | 1317 | }, |
1318 | 1318 | colorPicker: { |
1319 | 1319 | description: 'Color picker', |
1320 | 1320 | meta: 'function', |
1321 | 1321 | args: [ |
1322 | - {name: 'color', type:'string', description: 'Сolor'}, | |
1322 | + {name: 'color', type: 'string', description: 'Сolor'}, | |
1323 | 1323 | ], |
1324 | - return:observableReturnTypeVariable('string') | |
1324 | + return: observableReturnTypeVariable('string') | |
1325 | 1325 | }, |
1326 | 1326 | materialIconPicker: { |
1327 | 1327 | description: 'Material icon picker', |
1328 | 1328 | meta: 'function', |
1329 | 1329 | args: [ |
1330 | - {name: 'icon', type:'string', description: 'Icon'}, | |
1330 | + {name: 'icon', type: 'string', description: 'Icon'}, | |
1331 | 1331 | ], |
1332 | - return:observableReturnTypeVariable('string') | |
1332 | + return: observableReturnTypeVariable('string') | |
1333 | 1333 | }, |
1334 | 1334 | forbidden: { |
1335 | 1335 | description: 'Forbidden', |
1336 | 1336 | meta: 'function', |
1337 | 1337 | args: [ |
1338 | 1338 | ], |
1339 | - return:observableReturnTypeVariable('boolean') | |
1339 | + return: observableReturnTypeVariable('boolean') | |
1340 | 1340 | }, |
1341 | 1341 | todo: { |
1342 | 1342 | description: 'To do', |
1343 | 1343 | meta: 'function', |
1344 | 1344 | args: [ |
1345 | 1345 | ], |
1346 | - return:observableReturnTypeVariable('any') | |
1346 | + return: observableReturnTypeVariable('any') | |
1347 | 1347 | }, |
1348 | 1348 | } |
1349 | 1349 | }, |
... | ... | @@ -1352,16 +1352,16 @@ export const serviceCompletions: TbEditorCompletions = { |
1352 | 1352 | 'See <a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.service.ts#L33">CustomDialogService</a> for API reference.', |
1353 | 1353 | meta: 'service', |
1354 | 1354 | type: '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.service.ts#L33">CustomDialogService</a>', |
1355 | - children:{ | |
1355 | + children: { | |
1356 | 1356 | customDialog: { |
1357 | 1357 | description: 'Custom Dialog', |
1358 | 1358 | meta: 'function', |
1359 | 1359 | args: [ |
1360 | - {name: 'template', type:'string', description: 'Template'}, | |
1361 | - {name: 'controller', type:customDialogComponentHref, description: 'Controller'}, | |
1362 | - {name: 'data', type:'any', description: 'Data'}, | |
1360 | + {name: 'template', type: 'string', description: 'Template'}, | |
1361 | + {name: 'controller', type: customDialogComponentHref, description: 'Controller'}, | |
1362 | + {name: 'data', type: 'any', description: 'Data'}, | |
1363 | 1363 | ], |
1364 | - return:observableReturnTypeVariable('any') | |
1364 | + return: observableReturnTypeVariable('any') | |
1365 | 1365 | }, |
1366 | 1366 | } |
1367 | 1367 | }, |
... | ... | @@ -1389,4 +1389,4 @@ export const serviceCompletions: TbEditorCompletions = { |
1389 | 1389 | meta: 'service', |
1390 | 1390 | type: '<a href="https://angular.io/api/platform-browser/DomSanitizer">DomSanitizer</a>' |
1391 | 1391 | } |
1392 | -} | |
1392 | +}; | ... | ... |