arlas-wui-toolkit / Exports / ArlasConfigurationUpdaterService
Class: ArlasConfigurationUpdaterService
Table of contents
Constructors
Methods
- getContributorsToRemove
- removeContributors
- removeTimelines
- removeWidgets
- updateChipSearchContributors
- updateContributors
- updateMapComponent
- updateMapContributors
- updateResultListContributor
Constructors
constructor
• new ArlasConfigurationUpdaterService()
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:26
Methods
getContributorsToRemove
▸ getContributorsToRemove(data
, availableFields
): Set
<string
>
Parses the configuration and returns a list of contributors that should be removed from the config.
Parameters
Name | Type | Description |
---|---|---|
data |
any |
configuration object |
availableFields |
Set <string > |
list of fields available for exploration |
Returns
Set
<string
>
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:35
removeContributors
▸ removeContributors(data
, contributorsToRemove
): any
Removes contributors that have non-available fields
Parameters
Name | Type | Description |
---|---|---|
data |
any |
configuration objects |
contributorsToRemove |
Set <string > |
list of contributors identifiers to remove from the configuration |
Returns
any
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:106
removeTimelines
▸ removeTimelines(data
, contributorsToRemove
): any
Removes timelines that are associated with removed timeline contributors
Parameters
Name | Type |
---|---|
data |
any |
contributorsToRemove |
Set <string > |
Returns
any
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:136
removeWidgets
▸ removeWidgets(data
, contributorsToRemove
): any
Removes widgets that are associated with removed contributors
Parameters
Name | Type |
---|---|
data |
any |
contributorsToRemove |
Set <string > |
Returns
any
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:120
updateChipSearchContributors
▸ updateChipSearchContributors(data
, availableFields
): any
Removes the properties -from ChipsearchContributor- that define fields not available for exploration
Parameters
Name | Type | Description |
---|---|---|
data |
any |
configuration object |
availableFields |
Set <string > |
List of available fields for exploration |
Returns
any
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:369
updateContributors
▸ updateContributors(data
, availableFields
): any
Removes the properties -from all contributors- including fields that are not available for exploration
Parameters
Name | Type | Description |
---|---|---|
data |
any |
configuration object |
availableFields |
Set <string > |
List of available fields for exploration |
Returns
any
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:162
updateMapComponent
▸ updateMapComponent(data
, availableFields
): any
Removes the properties -from map component - including fields that are not available for exploration
Parameters
Name | Type | Description |
---|---|---|
data |
any |
configuration object |
availableFields |
Set <string > |
List of available fields for exploration |
Returns
any
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:175
updateMapContributors
▸ updateMapContributors(data
, availableFields
): any
Removes the properties -from MapConributor- that define fields not available for exploration
Parameters
Name | Type | Description |
---|---|---|
data |
any |
configuration object |
availableFields |
Set <string > |
List of available fields for exploration |
Returns
any
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:300
updateResultListContributor
▸ updateResultListContributor(data
, availableFields
): any
Removes the properties -from ResultListContributor- that define fields not available for exploration
Parameters
Name | Type | Description |
---|---|---|
data |
any |
configuration object |
availableFields |
Set <string > |
List of available fields for exploration |
Returns
any
configuration object
Defined in
projects/arlas-toolkit/src/lib/services/configuration-updater/configurationUpdater.service.ts:211