Index

upgrade/absolute-date.service.ts

absoluteDateServiceFactory
absoluteDateServiceFactory(datePipe)
Parameters :
Name Optional
datePipe No

polyfills/index.ts

addPolyfills
addPolyfills()

upgrade/auth-bridge.service.ts

authBridgeServiceFactory
authBridgeServiceFactory(injector: any, basicAuth, fetchClient, appState)
Parameters :
Name Type Optional
injector any No
basicAuth No
fetchClient No
appState No

upgrade/bridge.service.ts

bridgeServiceFactory
bridgeServiceFactory(injector: any, appState, router, ngZone, routerService, actionService)
Parameters :
Name Type Optional
injector any No
appState No
router No
ngZone No
routerService No
actionService No

upgrade/ng1/alert.decorator.ts

c8yAlertDecorator
c8yAlertDecorator($delegate, $rootScope, $injector)
Parameters :
Name Optional
$delegate No
$rootScope No
$injector No

upgrade/ng1/navigator.provider.ts

c8yNavigatorProvider
c8yNavigatorProvider()

upgrade/ng1/http.interceptor.ts

c8yNg1HttpInterceptor
c8yNg1HttpInterceptor($q, c8yLoadingIndicator, c8yApiService)
Parameters :
Name Optional
$q No
c8yLoadingIndicator No
c8yApiService No

upgrade/ng1/title.decorator.ts

c8yTitleDecorator
c8yTitleDecorator($q, $delegate, $injector, $rootScope, $location, $templateCache, $compile, c8yHeaderService)
Parameters :
Name Optional
$q No
$delegate No
$injector No
$rootScope No
$location No
$templateCache No
$compile No
c8yHeaderService No

upgrade/ng1/root.component.ts

c8yUiRootController
c8yUiRootController($rootScope, $timeout, c8yBase, c8yNavigator, c8yApplication, c8yHeaderService)
Parameters :
Name Optional
$rootScope No
$timeout No
c8yBase No
c8yNavigator No
c8yApplication No
c8yHeaderService No

core/dynamic-forms/validation/validation-config.factory.ts

c8yValidationConfigFactory
c8yValidationConfigFactory(translate)
Parameters :
Name Optional
translate No

upgrade/ng1/views.provider.ts

c8yViewsProvider
c8yViewsProvider($routeProvider, c8yTabsProvider, c8yPathUtils)
Parameters :
Name Optional
$routeProvider No
c8yTabsProvider No
c8yPathUtils No

upgrade/dashboard/dashboard-upgrade.module.ts

dashboardBridgeFactory
dashboardBridgeFactory(injector, ngZone, router, contextDashboardService, actionBarService)
Parameters :
Name Optional
injector No
ngZone No
router No
contextDashboardService No
actionBarService No

connectivity/sim/sim.module.ts

encodeFiles
encodeFiles(model, fields)
Parameters :
Name Optional
model No
fields No

core/data-grid/grid-data-source.ts

escapeRegExpPattern
escapeRegExpPattern(pattern: string)
Parameters :
Name Type Optional
pattern string No

core/dynamic-forms/dynamic-forms-ui-theme.module.ts

fieldTypeFactory
fieldTypeFactory()

core/common/extension-hooks.ts

fromFactories
fromFactories(factories?, router?, withFirstEmpty)
Parameters :
Name Optional
factories Yes
router Yes
withFirstEmpty No
fromTrigger
fromTrigger(router, refresh, factories)
Parameters :
Name Optional
router No
refresh No
factories No
getActivatedRoute
getActivatedRoute(router)

Helper function to get the activated route in a service (as ActivatedRoute injection only works in components). Works as long as we only use a tree and no child is active at the same time.

Parameters :
Name Optional Description
router No

The current router

isPromise
isPromise(obj: any)
Parameters :
Name Type Optional
obj any No
resolveInjectedFactories
resolveInjectedFactories(factories)
Parameters :
Name Optional
factories No
sortByPriority
sortByPriority(items)
Parameters :
Name Optional
items No
stateToFactory
stateToFactory(componentsState)
Parameters :
Name Optional
componentsState No
toObservable
toObservable(value)

Converts any value provided to an Observable that emits this value once and then completes. A convienience method to represent all the data as Observables rather than a mixture of Observables and other types.

Parameters :
Name Optional Description
value No

The value the resulting Observable will emit.

toObservableOfArrays
toObservableOfArrays(factoryResult, withFirstEmpty)
Parameters :
Name Optional
factoryResult No
withFirstEmpty No

core/i18n/i18n.module.ts

getAngularLocalesLanguageString
getAngularLocalesLanguageString(language)
Parameters :
Name Optional
language No
languagesFactory
languagesFactory(options)
Parameters :
Name Optional
options No
localeId
localeId(appStateService)
Parameters :
Name Optional
appStateService No
localePathFactory
localePathFactory(options)
Parameters :
Name Optional
options No
translateLoaderFactory
translateLoaderFactory(httpClient, optionsService, cachedLocaleDictionaryService, localePath, languages: any)
Parameters :
Name Type Optional
httpClient No
optionsService No
cachedLocaleDictionaryService No
localePath No
languages any No

core/i18n/gettext.ts

gettext
gettext(str)
Parameters :
Name Optional
str No

upgrade/ng1/gettextCatalog.decorator.ts

gettextCatalogDecorator
gettextCatalogDecorator($delegate, $interpolate, c8yTranslate)
Parameters :
Name Optional
$delegate No
$interpolate No
c8yTranslate No

upgrade/ng1/groupsHierarchyNavigator.decorator.ts

groupTypesHierarchyNavigatorDecorator
groupTypesHierarchyNavigatorDecorator($delegate, $q)
Parameters :
Name Optional
$delegate No
$q No

core/common/common.module.ts

initializeServices
initializeServices(translateService, state, userPreferences)
Parameters :
Name Optional
translateService No
state No
userPreferences No

core/i18n/__mocks__/load-locale.ts

loadLocale
loadLocale(moduleLang)
Parameters :
Name Optional
moduleLang No

core/common/memoize.decorator.ts

memoize
memoize(resolver?)

Decorator to memoize function results.

Parameters :
Name Optional Description
resolver Yes

Cache key resolver function, used by memoize from lodash.

core/i18n/parse-module.ts

parse
parse(moduleSrc)
Parameters :
Name Optional
moduleSrc No

core/dynamic-forms/i18n/translate.extension.ts

registerTranslateExtension
registerTranslateExtension(translate, parser)
Parameters :
Name Optional
translate No
parser No

core/common/retry-with-delay.operator.ts

retryWithDelay
retryWithDelay(delayTime, count: number)
Parameters :
Name Type Optional
delayTime No
count number No

core/common/throttle.decorator.ts

throttle
throttle(wait?, options?)

Decorator to throttle functions call.

Parameters :
Name Optional Description
wait Yes

throttle time.

options Yes

set triggers, eg on trailing edge or falling edge, see lodash documentation for details

api/data.module.ts

toProvider
toProvider(provide)
Parameters :
Name Optional
provide No

core/i18n/translate.loader.ts

trimTranslationKey
trimTranslationKey(key)
Parameters :
Name Optional
key No

result-matching ""

    No results matching ""