Index

projects/netgrif-components/src/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.ts

baseFilterFactory
baseFilterFactory(dialogControl)
Parameters :
Name Optional
dialogControl No
Returns : BaseFilter
localAllowedNetsFactory
localAllowedNetsFactory(factory)
Parameters :
Name Optional
factory No
Returns : AllowedNetsService

projects/netgrif-components/src/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.ts

baseFilterFactory
baseFilterFactory(injectedTabData)
Parameters :
Name Optional
injectedTabData No

projects/netgrif-components/src/lib/side-menu/content-components/load-filter/load-filter.component.ts

baseFilterFactory
baseFilterFactory(sideMenuControl)
Parameters :
Name Optional
sideMenuControl No
Returns : BaseFilter
localAllowedNetsFactory
localAllowedNetsFactory(factory)
Parameters :
Name Optional
factory No
Returns : AllowedNetsService

projects/netgrif-components/src/lib/side-menu/content-components/save-filter/save-filter.component.ts

baseFilterFactory
baseFilterFactory(sideMenuControl)
Parameters :
Name Optional
sideMenuControl No
Returns : BaseFilter
localAllowedNetsFactory
localAllowedNetsFactory(factory)
Parameters :
Name Optional
factory No
Returns : AllowedNetsService

projects/netgrif-components/src/lib/side-menu/content-components/user-impersonate/user-impersonate.component.ts

baseFilterFactory
baseFilterFactory(sideMenuControl)
Parameters :
Name Optional
sideMenuControl No
Returns : BaseFilter
localAllowedNetsFactory
localAllowedNetsFactory(factory)
Parameters :
Name Optional
factory No
Returns : AllowedNetsService

projects/netgrif-components/src/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.ts

baseFilterFactory
baseFilterFactory(injectedTabData)
Parameters :
Name Optional
injectedTabData No

projects/netgrif-components/src/commons/angular-cli-devkit-core-strings.ts

camelize
camelize(str)

Returns the lowerCamelCase form of a string.

```javascript

  • camelize('innerHTML'); // 'innerHTML'
  • camelize('action_name'); // 'actionName'
  • camelize('css-class-name'); // 'cssClassName'
  • camelize('my favorite items'); // 'myFavoriteItems'
  • camelize('My Favorite Items'); // 'myFavoriteItems'
  • ```
Parameters :
Name Optional Description
str No

The string to camelize.

Returns : string

the camelized string.

capitalize
capitalize(str)

Returns the Capitalized form of a string

```javascript

  • 'innerHTML'.capitalize() // 'InnerHTML'
  • 'action_name'.capitalize() // 'Action_name'
  • 'css-class-name'.capitalize() // 'Css-class-name'
  • 'my favorite items'.capitalize() // 'My favorite items'
  • ```
Parameters :
Name Optional Description
str No

The string to capitalize.

Returns : string

The capitalized string.

classify
classify(str)

Returns the UpperCamelCase form of a string.

```javascript

  • 'innerHTML'.classify(); // 'InnerHTML'
  • 'action_name'.classify(); // 'ActionName'
  • 'css-class-name'.classify(); // 'CssClassName'
  • 'my favorite items'.classify(); // 'MyFavoriteItems'
  • ```
Parameters :
Name Optional Description
str No

the string to classify

Returns : string

the classified string

dasherize
dasherize(str)

Replaces underscores, spaces, or camelCase with dashes.

```javascript

  • dasherize('innerHTML'); // 'inner-html'
  • dasherize('action_name'); // 'action-name'
  • dasherize('css-class-name'); // 'css-class-name'
  • dasherize('my favorite items'); // 'my-favorite-items'
  • ```
Parameters :
Name Optional Description
str No

The string to dasherize.

Returns : string

the dasherized string.

decamelize
decamelize(str)

Converts a camelized string into all lower case separated by underscores.

```javascript

  • decamelize('innerHTML'); // 'inner_html'
  • decamelize('action_name'); // 'action_name'
  • decamelize('css-class-name'); // 'css-class-name'
  • decamelize('my favorite items'); // 'my favorite items'
  • ```
Parameters :
Name Optional Description
str No

The string to decamelize.

Returns : string

the decamelized string.

levenshtein
levenshtein(a, b)

Calculate the levenshtein distance of two strings. See https://en.wikipedia.org/wiki/Levenshtein_distance. Based off https://gist.github.com/andrei-m/982927 (for using the faster dynamic programming version).

Parameters :
Name Optional Description
a No

String a.

b No

String b.

Returns : number

A number that represents the distance between the two strings. The greater the number the more distant the strings are from each others.

underscore
underscore(str)

More general than decamelize. Returns the lower_case_and_underscored form of a string.

```javascript

  • 'innerHTML'.underscore(); // 'inner_html'
  • 'action_name'.underscore(); // 'action_name'
  • 'css-class-name'.underscore(); // 'css_class_name'
  • 'my favorite items'.underscore(); // 'my_favorite_items'
  • ```
Parameters :
Name Optional Description
str No

The string to underscore.

Returns : string

the underscored string.

projects/netgrif-components/src/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.ts

filterCaseTabbedDataAllowedNetsServiceFactory
filterCaseTabbedDataAllowedNetsServiceFactory(allowedNetsServiceFactory, baseAllowedNets, tabData)

Converts a navigation item case task data injected by the NAE_TAB_DATA injection token into an AllowedNetsService instance

Parameters :
Name Optional Description
allowedNetsServiceFactory No
baseAllowedNets No
tabData No

the injected data containing the navigation item case task data

Returns : AllowedNetsService
filterCaseTabbedDataFilterFactory
filterCaseTabbedDataFilterFactory(extractionService, tabData)

Converts a navigation item case task data injected by the NAE_TAB_DATA injection token into a BaseFilter instance

Parameters :
Name Optional Description
extractionService No
tabData No

the injected data containing the navigation item case task data

Returns : BaseFilter
filterCaseTabbedDataSearchCategoriesFactory
filterCaseTabbedDataSearchCategoriesFactory(categoryResolverService, tabData, defaultCaseSearchCategories, defaultTaskSearchCategories)

Converts a navigation item case task data injected by the NAE_TAB_DATA injection token into an array of Category classes

Parameters :
Name Optional Description
categoryResolverService No
tabData No

the injected data containing the navigation item case task data

defaultCaseSearchCategories No

the default case search categories

defaultTaskSearchCategories No

the default task search categories

Returns : Array<Type<Category<any>>>

projects/netgrif-components/src/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.ts

filterFieldAllowedNetsFactory
filterFieldAllowedNetsFactory(factory, filterField)
Parameters :
Name Optional
factory No
filterField No
Returns : AllowedNetsService
filterFieldBaseFilterFactory
filterFieldBaseFilterFactory(filterField)
Parameters :
Name Optional
filterField No
Returns : BaseFilter
filterFieldCategoriesFactory
filterFieldCategoriesFactory(factory, filterField)
Parameters :
Name Optional
factory No
filterField No
Returns : Array<Type<Category<any>>>

projects/netgrif-components/src/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.ts

filterTextAllowedNetsFactory
filterTextAllowedNetsFactory(factory, configuration)
Parameters :
Name Optional
factory No
configuration No
Returns : AllowedNetsService
filterTextBaseFilterFactory
filterTextBaseFilterFactory(configuration)
Parameters :
Name Optional
configuration No
Returns : BaseFilter
filterTextCategoriesFactory
filterTextCategoriesFactory(factory, configuration)
Parameters :
Name Optional
factory No
configuration No
Returns : Array<Category<any>>

projects/netgrif-components/src/lib/dialog/load-filter-dialog/load-filter-dialog.component.ts

loadBaseFilterFactory
loadBaseFilterFactory(dialogControl)
Parameters :
Name Optional
dialogControl No
Returns : BaseFilter

projects/netgrif-components/src/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.ts

localAllowedNetsFactory
localAllowedNetsFactory(factory)
Parameters :
Name Optional
factory No
Returns : AllowedNetsService

projects/netgrif-components/src/lib/dialog/save-filter-dialog/save-filter-dialog.component.ts

saveBaseFilterFactory
saveBaseFilterFactory(dialogControl)
Parameters :
Name Optional
dialogControl No
Returns : BaseFilter

projects/netgrif-components/src/lib/search/search-component/search.component.ts

searchCategoryConverter
searchCategoryConverter(categoryResolverService, baseFilter, defaultCaseSearchCategories, defaultTaskSearchCategories, naeSearchCategories)

Converts search categories provided by the NAE_SEARCH_CATEGORIES injection token in the old (pre 5.6.0) format, to the new format.

If no search categories are provided converts the default search categories into search categories based on the base filter filter type.

Parameters :
Name Optional Description
categoryResolverService No

service for serialisation and deserialization of search categories

baseFilter No

determines the default categories used if no categories are provided, injected by the {

defaultCaseSearchCategories No

the default case search categories, injected by the {

defaultTaskSearchCategories No

the default task search categories, injected by the {

naeSearchCategories No

optionally the search category instances, or the search category classes. Instances are converted to classes. If no categories are provided the default ones based on the base filter filter type will be returned. Injected by the {

Returns : Array<Type<Category<any>>>

projects/netgrif-components/src/lib/dialog/task-view-dialog/task-view-dialog.component.ts

taskViewFilterFactory
taskViewFilterFactory(dialogControl)
Parameters :
Name Optional
dialogControl No
Returns : BaseFilter

result-matching ""

    No results matching ""