Configuration items for specific openIMIS solutions

List of UI elements that could be configured for a package.

Configuration Property

Module

Description

Example

Configuration Property

Module

Description

Example

1

App.enablePublicPage

fe-core

Controls access to the Public Page of the OpenIMIS App. When enabled, any module can contribute a Public Page using the `core.PublicPage` contribution point. The Public Page will then be accessible via the /front path. Default: false.

Moldova’s Landing: GitHub - openimis/openimis-fe-moldova_landing_js: The openIMIS Frontend Moldova Landing Page reference module

2

showJournalSidebar

fe-core

Determines whether to render the Journal sidebar or not. IMPORTANT: The Journal provides crucial information about the state of mutations, including whether they succeeded or failed. If you choose to hide it, you must ensure the user is informed of the mutation outcome - consider using toast notifications. Default: true.

Moldova’s Voucher Management System

3

Input.disabledVisibilityBoost

fe-core

This setting enhances the visibility of disabled input fields (e.g., text/number inputs, date pickers). When enabled, the label color changes to `#181716`, and the input value color to `#5E5B50`. Default: false.

Moldova’s Voucher Management System

image-20241204-081500.png

4

isWorker

fe-core(Moldova Specific)

Specifies whether the individual should be classified and managed as a worker or a standard insuree. In Moldova, the Insuree entity is also used to represent workers. When set to true, the system displays 'Workers and Vouchers' menu instead of the default 'Insurees and Policies', aligning the interface with the specific needs of worker representation. Default: false.

Moldova’s Voucher Management System

image-20241204-082408.png

5

menuLeft

fe-core

Determines how to display the navigation. If set to true, the menu looks like Sidebar and is aligned to the left. Default: false.

CoreMIS

 

6

redirectToCoreMISConfluenceUrl

fe-core (CoreMIS Specific)

If enabled, clicking on question mark icon will take you to coreMIS confluence page. Default: false.

CoreMIS

7

AmountInput.currencyPosition

fe-core

Position of the currency for the AmountInput. Choices are `start` and `end`. By default: start.

-

8

AutoSuggestion.limitDisplay

fe-core

Threshold to limit the number of items in the auto suggestions (adding 'more options...' message). By default: 10.

-

9

App.economicUnitConfig

fe-core(Moldova Specific)

In the specified configuration, when the parameter is set to true, it necessitates that users are associated with an Economic Unit. If a user lacks this association, a modal will be displayed to prompt them to establish it. Until the user is linked to a unit, their only authorized action is to log out. By default: false.

Moldova’s Voucher Management System

10

LogoutButton.showMPassProvider

fe-core(Moldova Specific)

When activated, routes the user to the SAML logout page for secure session termination. By default: false.

Moldova’s Voucher Management System

11

LoginPage.showMPassProvider

fe-core (Moldova Specific)

If enabled, redirects users to the saml login page, facilitating access to mPass-protected resources. By default: false.

Moldova’s Voucher Management System

12

journalDrawer.pageSize

fe-core

Page size when loading (historical) mutations. By default: 5.

 

 

13

core.JournalDrawer.pollInterval

fe-core

Poll interval (in ms) to check for mutation status once submitted .By default: 2000.

-

14

core.KeepLegacyAlive.pollInterval

fe-core

Poll interval (in ms) to send the ping to legacy openIMIS (to prevent session timeout). By default: 300000.

-

15

useDynPermalinks

fe-core

Use ?dyn=<Base64-URL> when opening in new tab (prevent sending client-side routes to server while). Default: false.

-

16

calendarSwitch

fe-core (Nepal Specific)

Enable calendar switcher toggle on the navbar of the webpage. Currently supports nepali calendar. Default false.

Nepali Instance

17

secondCalendarFormatting

fe-core (Nepal Specific)

Formatting options for second calendar (both picker and display), default: DD-MM-YYYY.

Nepali Instance

18

secondCalendarFormattingLang

fe-core (Nepal Specific)

Formatting language for second calendar (when displayed as saved data, not in pickers), default: en.

Nepali Instance

19

secondCalendarType

fe-core (Nepal Specific)

Type of secondary calendar picker (if enabled), default nepali.

Nepali Instance

20

secondCalendarLocale

fe-core (Nepal Specific)

Locale for secondary calendar picker (if enabled). By default: nepali_en.

Nepali Instance

21

passwordGeneratorOptions

fe-admin

Array with possible configuration options for password generator, default: { length: 10, isNumberRequired: true, isLowerCaseRequired: true, isUpperCaseRequired: true, isSpecialSymbolRequired: true }

-

22

debounceTime

fe-admin

Determines the debounce time. By default: 200-500.

-

23

usersMinCharLookup

fe-admin

Determines how many chars do we need to enter to invoke query (Autocomplete). By default: 2.

-

24

debounceTime

fe-claim_batch

Determines the debounce time. By default: 400.

-

25

claim_batchFilter.rowsPerPageOptions

fe-claim_batch

Pagination page size options in Batch Searcher component. By default: [10, 20, 50, 100].

-

26

claim_batchFilter.defaultPageSize

fe-claim_batch

Pagination pre-selected page size options in Batch Searcher component. By default: 10.

-

27

debounceTime

fe-claim

Debounce time (ms) before triggering search in ClaimFilter. By default: 800.

-

28

newClaim.visitType

fe-claim

Default (pre-selected) visity type when creating a claim. By default: 'O' - Other.

-

29

newClaim.status

fe-claim

Default (pre-selected) status when creating a claim. By default: 2

-

30

claim.CreateClaim.feedbackStatus

fe-claim

Value set to feedback status when creating a claim. By default: 1 .

-

31

claim.CreateClaim.reviewStatus

fe-claim

Value set to review status when creating a claim. By default: 1 .

-