Index

init/src/lib/localized-messages.ts

ACCESS_TOKEN
Type : string

Access token loaded from the cookies on demand.

LOCALIZED_MESSAGES
Type : object
Default value : { /** * Localized messages table version */ INDEXDB_VERSION: 2, /** * Localized messages db name */ DB_NAME: 'cmf.core.caches.localizedMessages', /** * Localized messages main table name */ MAIN_TABLE_NAME: 'localizedMessages', /** * Localized messages main table index */ MAIN_TABLE_INDEX: 'name,type', /** * Localized messages main table type index */ MAIN_TABLE_TYPE_INDEX: 'type', /** * Localized messages main table name index */ MAIN_TABLE_NAME_INDEX: 'name' }

Localized messages IndexDB Constants

LOCALIZED_MESSAGES_DB
Type : Dexie

IndexedDB instance for localized messages cache.

LOCALIZED_UI_MESSAGES_LOCAL_STORAGE_KEY
Type : string
Default value : 'cmf.core.caches.localizedMessages.uiMessages'

Localstorage key for the localizedMessage checksum

src/lib/extensions/metadata/action/action-metadata.ts

ACTION_BUTTON_PLACEMENT_I18N
Default value : { [ActionButtonPlacement.MORE_OPTIONS]: $localize`:@@cmf-core/action-button-placement.MORE_OPTIONS:More Options`, [ActionButtonPlacement.STANDARD]: $localize`:@@cmf-core/action-button-placement.STANDARD:Standard`, [ActionButtonPlacement.PREFER_ACTION_BAR]: $localize`:@@cmf-core/action-button-placement.PREFER_ACTION_BAR:Prefer Action Bar`, } as const

src/lib/extensions/cache/action-indirection/action-indirection.service.ts

ACTION_INDIRECTION_SMART_TABLE
Type : string
Default value : 'UIPageContext'

src/lib/extensions/startup-configs.service.ts

ALLOW_DOUBLE_SPACES_CONFIG_PATH
Type : string
Default value : '/Cmf/System/Configuration/Framework/AllowDoubleSpacesInNames/'

Allow Double Spaces In Names config path

CURRENCY_DECIMAL_PLACES_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/CurrencyFormat/DecimalPlaces/'

Config path of the CurrencyFormat decimal places config.

CURRENCY_SYMBOL_CODE_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/CurrencyFormat/Symbol/'

Config path of the CurrencyFormat symbol config.

ERROR_DISPLAY_TIME_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/Common/UserMessages/ErrorDisplayTime/'

Config path that defines the user messages display time with error type

FEATURE_LEVEL_SECURITY_CONFIG_PATH
Type : string
Default value : '/Cmf/System/Configuration/SecurityLevel/FunctionalityLevel/'

Feature level security config path

INCLUDE_SYSTEM_NAME_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/Common/Title/IncludeSystemName/'

Config path that defines if the SystemName (EnvironmentName) will be included in the tab title.

INCLUDE_VERSION_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/Common/Title/IncludeVersion/'

Config path that defines if the Version will be included in the tab title.

INFO_DISPLAY_TIME_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/Common/UserMessages/InformationDisplayTime/'

Config path that defines the user messages display time with info type

LOOKUP_TABLE_LOAD_MODE
Type : string
Default value : '/Cmf/Guis/Configuration/Common/LookupTable/LoadMode/'

Config path that defines the lookup tables combo box load mode.

MESSAGE_LOG_SIZE_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/Common/UserMessages/MessageLogSize/'

Config path that defines the maximum number of messages to display in the Recent Messages side bar tab

NAME_TOKEN_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/Common/Title/Name/'

Config path of the Name token to add to the tab title.

SCIENTIFIC_NOTATION_DIGITS_THRESHOLD_CONFIG_KEY
Type : string
Default value : '/Cmf/System/Configuration/Business/ScientificNotationDigitsThreshold'

Config key to the digits threshold to show a number in scientific notation

SECURITY_ADMINISTRATOR_ROLE_PATH_DEFAULT
Type : string
Default value : '/Cmf/System/Configuration/AdministrationRole/'

Administrator role path

SECURITY_LEVEL_OBJECT_LEVEL_PATH_DEFAULT
Type : string
Default value : '/Cmf/System/Configuration/SecurityLevel/ObjectLevel/'

Security level object level path default of data groups manager

SERVICE_LEVEL_OBJECT_LEVEL_PATH_DEFAULT
Type : string
Default value : '/Cmf/System/Configuration/SecurityLevel/ServiceLevel/'

Security level service level path default of data groups manager

STARTUP_CONFIGS
Type : []
Default value : [ FEATURE_LEVEL_SECURITY_CONFIG_PATH, SECURITY_LEVEL_OBJECT_LEVEL_PATH_DEFAULT, SECURITY_ADMINISTRATOR_ROLE_PATH_DEFAULT, CURRENCY_SYMBOL_CODE_CONFIG_PATH, CURRENCY_DECIMAL_PLACES_CONFIG_PATH, SERVICE_LEVEL_OBJECT_LEVEL_PATH_DEFAULT, NAME_TOKEN_CONFIG_PATH, INCLUDE_SYSTEM_NAME_CONFIG_PATH, INCLUDE_VERSION_CONFIG_PATH, SCIENTIFIC_NOTATION_DIGITS_THRESHOLD_CONFIG_KEY, ALLOW_DOUBLE_SPACES_CONFIG_PATH, INFO_DISPLAY_TIME_CONFIG_PATH, WARNING_DISPLAY_TIME_CONFIG_PATH, SUCCESS_DISPLAY_TIME_CONFIG_PATH, ERROR_DISPLAY_TIME_CONFIG_PATH, MESSAGE_LOG_SIZE_CONFIG_PATH, LOOKUP_TABLE_LOAD_MODE ]

The list of config paths to load on start up

SUCCESS_DISPLAY_TIME_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/Common/UserMessages/SuccessDisplayTime/'

Config path that defines the user messages display time with success type

WARNING_DISPLAY_TIME_CONFIG_PATH
Type : string
Default value : '/Cmf/Guis/Configuration/Common/UserMessages/WarningDisplayTime/'

Config path that defines the user messages display time with warning type

src/lib/extensions/business-settings.service.ts

AUTH_CONFIG_MAP
Type : object
Default value : { '/Cmf/Guis/Configuration/Common/Authentication/DefaultAuthenticationMode/': 'defaultMode', '/Cmf/Guis/Configuration/Common/Authentication/TokenBasedIdentificationMode/': 'tokenMode', '/Cmf/Guis/Configuration/Common/Authentication/TokenBasedCameraScannerMode/': 'cameraMode', '/Cmf/Guis/Configuration/Common/Authentication/KeyboardWedgeIdSequenceLength/': 'keyboardWedgeIdSequenceLength', '/Cmf/Guis/Configuration/Common/Authentication/KeyboardWedgePINLength/': 'keyboardWedgePinLength', '/Cmf/Guis/Configuration/Common/Authentication/KeyboardWedgeSeparator/': 'keyboardWedgeSeparator', '/Cmf/Guis/Configuration/Common/Authentication/KeyboardWedgeTerminationSequence/': 'keyboardWedgeTerminationSequence', '/Cmf/Guis/Configuration/Common/Authentication/KeyboardWedgeMaximumDelay/': 'keyboardWedgeMaximumDelay' }

Authentication Configurations.

CultureConfig
Type : string
Default value : 'StartupCulture'
DEFAULT_SCIENTIFIC_NOTATION_DIGITS_THRESHOLD
Type : number
Default value : 15

Default number of results to show a number in scientific notation. It uses JavaScript number precision as default value to maintain compatibility with previous versions.

FontSizeConfig
Type : string
Default value : 'FontSize'
HomePageConfig
Type : string
Default value : 'HomePage'
PointerSizeConfig
Type : string
Default value : 'PointerSize'
ThemeConfig
Type : string
Default value : 'Theme'

User Configs

init/src/lib/bootstraper.ts

CACHEID_STORAGEKEY
Type : string
Default value : 'cmf.core.extensions.cacheManager.cacheId'

Key for storage the CacheId config.

CONFIG
Type : CoreConfig

Application Config

CONFIG_OVERRIDE_STORAGE_KEY
Type : string
Default value : 'cmf.core.extensions.cacheManager.configOverride'

Config Override Storage Key

CULTURE_STORAGE_KEY
Type : string
Default value : 'cmf.core.extensions.app-settings.culture'

Culture Key for storage the current culture

TRANSLATION_MODE_STORAGE_KEY
Type : string
Default value : 'cmf.core.extensions.translation.TranslationMode'

Translation Mode Key for storage if the user is in Translation Mode

src/lib/extensions/file.service.ts

CALCULATE_CHECKSUM_MAX_FILE_SIZE_IN_BYTES
Type : number
Default value : 500000000

Checksum calculation max file size The current checksum calculation method places the ENTIRE file in memory and if the file is too big it will return an exception. The present const is used to avoid this step

GET_FILE_AS_BASE64_STRING_MAX_FILE_SIZE_IN_BYTES
Type : number
Default value : 50000000

Generate file as base 64 string max file size If the file is too big with will take a lot of time to calculate the base 64 string Ence the user experience will detriorate The present const is used to avoid this step

THUMBNAIL_HEIGHT
Type : number
Default value : 128

Generated thumbnail height.

THUMBNAIL_WIDTH
Type : number
Default value : 128

Generated thumbnail width.

UPLOAD_FILE_API_PATH
Type : string
Default value : 'api/GenericService/UploadFile'

Api path where the upload file is made

UPLOAD_FILE_REQUEST_DATA_KEY
Type : string
Default value : 'attachment-file'

Key for the file in the upload request data

src/lib/extensions/metadata/entity-type/view.guard.ts

canActivateChildView
Type : CanActivateChildFn
Default value : function ( childRoute: ActivatedRouteSnapshot ): boolean | UrlTree | Promise<boolean | UrlTree> { return inject(ViewGuard).canActivateChild(childRoute); }

src/lib/extensions/interfaces/util.ts

CMF_DEFAULT_COLOR_ARRAY
Type : []
Default value : [ CmfDefaultColor.DarkBlue, CmfDefaultColor.LightGray, CmfDefaultColor.Orange, CmfDefaultColor.LightBlue, CmfDefaultColor.DarkGray, CmfDefaultColor.Gray, CmfDefaultColor.LightOrange, CmfDefaultColor.Blue, CmfDefaultColor.Yellow, CmfDefaultColor.LightTeal, CmfDefaultColor.Lime, CmfDefaultColor.Purple, CmfDefaultColor.LightPurple, CmfDefaultColor.LightYellow, CmfDefaultColor.Teal, CmfDefaultColor.Green, CmfDefaultColor.DarkYellow, CmfDefaultColor.Red, CmfDefaultColor.Black, CmfDefaultColor.White, CmfDefaultColor.LightRed, CmfDefaultColor.LightGreen ]

Cmf default colors array

CMF_DEFAULT_COLOR_NAMES
Type : Record<CmfDefaultColor, string>
Default value : { [CmfDefaultColor.Black]: CMF_DEFAULT_COLORS[CmfDefaultColor.Black], [CmfDefaultColor.Gray]: CMF_DEFAULT_COLORS[CmfDefaultColor.Gray], [CmfDefaultColor.White]: CMF_DEFAULT_COLORS[CmfDefaultColor.White], [CmfDefaultColor.LightGray]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightGray], [CmfDefaultColor.DarkBlue]: CMF_DEFAULT_COLORS[CmfDefaultColor.DarkBlue], [CmfDefaultColor.Blue]: CMF_DEFAULT_COLORS[CmfDefaultColor.Blue], [CmfDefaultColor.LightBlue]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightBlue], [CmfDefaultColor.Teal]: CMF_DEFAULT_COLORS[CmfDefaultColor.Teal], [CmfDefaultColor.Green]: CMF_DEFAULT_COLORS[CmfDefaultColor.Green], [CmfDefaultColor.DarkGray]: CMF_DEFAULT_COLORS[CmfDefaultColor.DarkGray], [CmfDefaultColor.Lime]: CMF_DEFAULT_COLORS[CmfDefaultColor.Lime], [CmfDefaultColor.LightYellow]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightYellow], [CmfDefaultColor.Yellow]: CMF_DEFAULT_COLORS[CmfDefaultColor.Yellow], [CmfDefaultColor.LightOrange]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightOrange], [CmfDefaultColor.Orange]: CMF_DEFAULT_COLORS[CmfDefaultColor.Orange], [CmfDefaultColor.Red]: CMF_DEFAULT_COLORS[CmfDefaultColor.Red], [CmfDefaultColor.DarkYellow]: CMF_DEFAULT_COLORS[CmfDefaultColor.DarkYellow], [CmfDefaultColor.LightTeal]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightTeal], [CmfDefaultColor.LightPurple]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightPurple], [CmfDefaultColor.Purple]: CMF_DEFAULT_COLORS[CmfDefaultColor.Purple], [CmfDefaultColor.LightRed]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightRed], [CmfDefaultColor.LightGreen]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightGreen], }

Default color names

CMF_DEFAULT_COLOR_USAGE_ORDER_ARRAY
Type : []
Default value : [ CmfDefaultColor.DarkBlue, CmfDefaultColor.LightGray, CmfDefaultColor.Orange, CmfDefaultColor.LightBlue, CmfDefaultColor.DarkGray, CmfDefaultColor.Gray, CmfDefaultColor.LightOrange, CmfDefaultColor.Blue, CmfDefaultColor.Yellow, CmfDefaultColor.LightTeal, CmfDefaultColor.Lime, CmfDefaultColor.Purple, CmfDefaultColor.Purple, CmfDefaultColor.LightPurple, CmfDefaultColor.LightYellow, CmfDefaultColor.Teal, CmfDefaultColor.Green, CmfDefaultColor.DarkYellow, CmfDefaultColor.Red, CmfDefaultColor.Black, CmfDefaultColor.White ]

Cmf default colors usage order array (for charts)

CMF_DEFAULT_COLORS
Type : []
Default value : [ '#0066A1', '#B8D1E0', '#E15532', '#3CAAF0', '#6C6C6C', '#AAAAAA', '#FF6E41', '#0F87C8', '#FFA528', '#26A69A', '#CDDC37', '#6A77C2', '#B969C8', '#E6B955', '#009BB9', '#6CAE6C', '#C89F27', '#B83128', '#000000', '#FFFFFF', '#F58C82', '#91CD91', '#F58C82', '#91CD91', ]

Cmf default colors values

CMF_DEFAULT_COLORS_PALETTE
Type : Record<CmfDefaultColor, string>
Default value : { [CmfDefaultColor.Black]: CMF_DEFAULT_COLORS[CmfDefaultColor.Black], [CmfDefaultColor.Gray]: CMF_DEFAULT_COLORS[CmfDefaultColor.Gray], [CmfDefaultColor.White]: CMF_DEFAULT_COLORS[CmfDefaultColor.White], [CmfDefaultColor.LightGray]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightGray], [CmfDefaultColor.DarkBlue]: CMF_DEFAULT_COLORS[CmfDefaultColor.DarkBlue], [CmfDefaultColor.Blue]: CMF_DEFAULT_COLORS[CmfDefaultColor.Blue], [CmfDefaultColor.LightBlue]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightBlue], [CmfDefaultColor.Teal]: CMF_DEFAULT_COLORS[CmfDefaultColor.Teal], [CmfDefaultColor.Green]: CMF_DEFAULT_COLORS[CmfDefaultColor.Green], [CmfDefaultColor.DarkGray]: CMF_DEFAULT_COLORS[CmfDefaultColor.DarkGray], [CmfDefaultColor.Lime]: CMF_DEFAULT_COLORS[CmfDefaultColor.Lime], [CmfDefaultColor.LightYellow]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightYellow], [CmfDefaultColor.Yellow]: CMF_DEFAULT_COLORS[CmfDefaultColor.Yellow], [CmfDefaultColor.LightOrange]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightOrange], [CmfDefaultColor.Orange]: CMF_DEFAULT_COLORS[CmfDefaultColor.Orange], [CmfDefaultColor.Red]: CMF_DEFAULT_COLORS[CmfDefaultColor.Red], [CmfDefaultColor.DarkYellow]: CMF_DEFAULT_COLORS[CmfDefaultColor.DarkYellow], [CmfDefaultColor.LightTeal]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightTeal], [CmfDefaultColor.LightPurple]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightPurple], [CmfDefaultColor.Purple]: CMF_DEFAULT_COLORS[CmfDefaultColor.Purple], [CmfDefaultColor.LightRed]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightRed], [CmfDefaultColor.LightGreen]: CMF_DEFAULT_COLORS[CmfDefaultColor.LightGreen], }

Cmf default colors pallete

DEFAULT_MIME_TYPE
Type : string
Default value : 'application/octet-stream'

Default mime type when extension is not recognized

DISTRIBUTION_LIST_REGEX
Default value : /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}?$/

Regex to validate that a Distribution List(email) is well formed

FILE_EXTENSION_COLUMN_NAME
Type : string
Default value : 'FileExtension'

File extension column name from ContentType generic table

FontFamilyI18n
Type : string[]
Default value : [ FontFamilyTypeI18n[FontFamily.Arial], FontFamilyTypeI18n[FontFamily.Verdana], FontFamilyTypeI18n[FontFamily.Tahoma], FontFamilyTypeI18n[FontFamily.TrebuchetMS], FontFamilyTypeI18n[FontFamily.TimesNewRoman], FontFamilyTypeI18n[FontFamily.Georgia], FontFamilyTypeI18n[FontFamily.Garamond], FontFamilyTypeI18n[FontFamily.CourierNew], FontFamilyTypeI18n[FontFamily.BrushScriptMT], ]
FontFamilyStyleValue
Type : Record<FontFamily, string>
Default value : { [FontFamily.Arial]: 'arial,sans-serif', [FontFamily.Verdana]: 'verdana,sans-serif', [FontFamily.Tahoma]: 'tahoma,sans-serif', [FontFamily.TrebuchetMS]: '\'trebuchet ms\',sans-serif', [FontFamily.TimesNewRoman]: '\'Times New Roman\',sans-serif', [FontFamily.Georgia]: 'georgia,sans-serif', [FontFamily.Garamond]: 'garamond,sans-serif', [FontFamily.CourierNew]: '\'courier new\',sans-serif', [FontFamily.BrushScriptMT]: '\'Brush Script MT\',sans-serif', }

Font Family style value

FontFamilyTypeI18n
Type : Record<FontFamily, string>
Default value : { [FontFamily.Arial]: $localize`:@@cmf-core/font-family#ARIAL:Arial (sans-serif)`, [FontFamily.Verdana]: $localize`:@@cmf-core/font-family#VERDANA:Verdana (sans-serif)`, [FontFamily.Tahoma]: $localize`:@@cmf-core/font-family#TAHOMA:Tahoma (sans-serif)`, [FontFamily.TrebuchetMS]: $localize`:@@cmf-core/font-family#TREBUCHET_MS:Trebuchet MS (sans-serif)`, [FontFamily.TimesNewRoman]: $localize`:@@cmf-core/font-family#TIMES_NEW_ROMAN:Times New Roman (serif)`, [FontFamily.Georgia]: $localize`:@@cmf-core/font-family#GEORGIA:Georgia (serif)`, [FontFamily.Garamond]: $localize`:@@cmf-core/font-family#GARAMOND:Garamond (serif)`, [FontFamily.CourierNew]: $localize`:@@cmf-core/font-family#COURIER_NEW:Courier New (monospace)`, [FontFamily.BrushScriptMT]: $localize`:@@cmf-core/font-family#BRUSH_SCRIPT_MT:Brush Script MT (cursive)`, }

Font Family i18n

FontSizeStyleValue
Type : Record<FontSize, string>
Default value : { [FontSize.ExtraSmall]: 'x-small', [FontSize.Small]: 'small', [FontSize.Normal]: '', [FontSize.Large]: 'large', [FontSize.ExtraLarge]: 'x-large', }

Font Size style value

FontSizeTypeI18n
Type : Record<FontSize, string>
Default value : { [FontSize.ExtraSmall]: $localize`:@@cmf-core/font-size#EXTRA_SMALL:Extra Small`, [FontSize.Small]: $localize`:@@cmf-core/font-size#SMALL:Small`, [FontSize.Normal]: $localize`:@@cmf-core/font-size#NORMAL:Normal`, [FontSize.Large]: $localize`:@@cmf-core/font-size#LARGE:Large`, [FontSize.ExtraLarge]: $localize`:@@cmf-core/font-size#EXTRA_LARGE:Extra Large`, }

Font Size Type i18n

HEX_LENGTH_DEFAULT
Type : number
Default value : 6

The hex color default value

IconSizeI18n
Type : Record<IconSize, string>
Default value : { [IconSize.Small]: $localize`:@@cmf-core/icon-size#SMALL:Small`, [IconSize.Large]: $localize`:@@cmf-core/icon-size#LARGE:Large`, }

Icon Size style value

IS_LOCAL_LINK
Default value : (href: string) => { try { const url = new URL(href, window.location.origin); return url.origin === window.location.origin; } catch { return false; } }

A method to test whether the link is local to this environment or not

MIME_TYPE_COLUMN_NAME
Type : string
Default value : 'MimeType'

Mime type column name from ContentType generic table

NUMERIC_PRECISIONS
Type : object
Default value : { JS_NUMBER_PRECISION: 15, CSHARP_DECIMAL_PRECISION: 28, CSHARP_DECIMAL_MIN: -7.922816251426433e+28, // -79228162514264337593543950335 CSHARP_DECIMAL_MAX: 7.922816251426433e+28, // 79228162514264337593543950335 CSHARP_LONG_PRECISION: 19, CSHARP_LONG_MIN: -922337203685477e4, // -9223372036854775808 CSHARP_LONG_MAX: 922337203685477e4, // 9223372036854775807 CSHARP_INTEGER_PRECISION: 10, CSHARP_INTEGER_MIN: -2147483648, CSHARP_INTEGER_MAX: 2147483647, DB_COMMON_DECIMAL_MIN: -9999999999.99999, // sql server decimal(18,8) - always 8 decimals and a max of 10 significant digits DB_COMMON_DECIMAL_MAX: 9999999999.99999, // sql server decimal(18,8) - always 8 decimals and a max of 10 significant digits DB_COMMON_DECIMAL_SCALAR_SIZE: 8, // sql server decimal(18,8) }

Javascript and C# minimum/maximum values and precision for multiple types Some values are in scientific notation because of Javascript number precision is limit to 15 digits

PROPERTY_MIN_WIDTH
Type : number
Default value : 192 + 8 + 192

Size of the property that trigger the change from side-by-side to topLeft layout. 192 is the value of the 'label_size' and 'value_size'. '8' the margin between them 'label_size' + 'margin_size' + 'value_size'

RAW_DATA
Default value : Symbol(RAW_DATA_STRING)

Raw data symbol. Special symbol used to store raw data objects within a object.

RAW_DATA_STRING
Type : string
Default value : 'Raw_Data'

Raw data string. String used for symbol definition.

SUPPORTED_INTERNAL_AUDIO_MIME_TYPE_VIEW
Type : string[]
Default value : ['audio/wav', 'audio/mpeg', 'audio/mp4', 'audio/aac', 'audio/aacp', 'audio/ogg', 'audio/webm', 'audio/flac', 'audio/mpeg3', 'audio/mp3']
SUPPORTED_INTERNAL_DOCUMENT_MIME_TYPE_VIEW
Type : string[]
Default value : ['application/pdf', 'text/plain', 'text/html', 'text/htm']
SUPPORTED_INTERNAL_IMAGES_MIME_TYPE_VIEW
Type : string[]
Default value : ['image/jpeg', 'image/jpg', 'image/gif', 'image/png', 'image/bmp']
SUPPORTED_INTERNAL_MIME_TYPES_VIEW
Type : string[]
Default value : [ ...SUPPORTED_INTERNAL_IMAGES_MIME_TYPE_VIEW, ...SUPPORTED_INTERNAL_DOCUMENT_MIME_TYPE_VIEW, ...SUPPORTED_INTERNAL_VIDEO_MIME_TYPE_VIEW, ...SUPPORTED_INTERNAL_AUDIO_MIME_TYPE_VIEW ]
SUPPORTED_INTERNAL_VIDEO_MIME_TYPE_VIEW
Type : string[]
Default value : ['video/mp4', 'video/ogg', 'video/mpeg', 'video/webm']
TimeUnit
Default value : { Year: 0, Month: 1, Day: 2, Hour: 3, Minute: 3, Second: 5, Millisecond: 6 } as const

Time units

src/lib/extensions/config.service.ts

ConfigService
Default value : new InjectionToken<CoreConfig>('Application Configuration', { providedIn: 'root', factory: () => CONFIG })

src/lib/extensions/stores/gui-element-default-value.service.ts

CONTENT_TYPE_GENERIC_TABLE
Type : string
Default value : 'GUIElementDefaultValue'

src/lib/extensions/cache/generic-table/generic-table.service.ts

CONTEXT_RESOLUTION_GT_NAME
Type : string
Default value : 'ContextResolution'
CONTEXT_RESOLUTION_GT_RESOLUTION_TYPE_KEY
Type : string
Default value : 'ResolutionType'
CONTEXT_RESOLUTION_GT_RESOLVED_ST_NAME_KEY
Type : string
Default value : 'ResolveSmartTableName'
TABLE_COLUMNS_SUFFIX
Type : string
Default value : '_Columns'
TABLE_DATA_FIELD
Type : string
Default value : 'Data'
TABLE_NAME_PREFIX
Type : string
Default value : 'T_'

src/lib/extensions/metadata/entity-type/entity-type-metadata.service.ts

CONTEXT_TABLE_KEY_ID
Type : string
Default value : '__id'
MAIN_KEY_ID
Type : string
Default value : 'name'

src/lib/extensions/interfaces/formatter.ts

DATE_FORMATS
Type : literal type
Default value : { 'default': { name: 'default', moment: 'DD/MM/YYYY', picker: 'dd/MM/yyyy' }, 'en-US': { name: 'en-US', moment: 'MM/DD/YYYY', picker: 'MM/dd/yyyy' }, 'defaultNoYear': { name: 'defaultNoYear', moment: 'DD/MM', picker: 'dd/MM' }, 'en-USNoYear': { name: 'en-US', moment: 'MM/DD', picker: 'MM/dd' }, 'de-DE': { name: 'de-DE', moment: 'DD.MM.YYYY', picker: 'dd.MM.yyyy' }, 'zh-*': { name: 'zh-*', moment: 'YYYY/MM/DD', picker: 'yyyy/MM/dd' }, 'pl-PL': { name: 'pl-PL', moment: 'DD.MM.YYYY', picker: 'dd.MM.yyyy' }, 'sv-SE': { name: 'sv-SE', moment: 'YYYY-MM-DD', picker: 'yyyy-MM-dd' }, 'fr-FR': { name: 'fr-FR', moment: 'DD/MM/YYYY', picker: 'dd/MM/yyyy' } }

Supported date formats

DAYS_OF_WEEK
Type : literal type
Default value : { 'Sunday': 0, 'Monday': 1, 'Tuesday': 2, 'Wednesday': 3, 'Thursday': 4, 'Friday': 5, 'Saturday': 6 }

Suported Days of Week

DEFAULT_LOCALE
Type : string
Default value : 'en-US'

Default locale

TIME_FORMATS
Type : literal type
Default value : { 'default': { name: 'default', moment: 'HH:mm', picker: 'hh:mm', is12HoursFormat: false }, 'en-US': { name: 'en-US', moment: 'hh:mm A', picker: 'HH:mm PP', is12HoursFormat: true }, 'defaultFull': { name: 'default', moment: 'HH:mm:ss', picker: 'hh:mm:ss', is12HoursFormat: false }, 'en-USFull': { name: 'en-US', moment: 'hh:mm:ss A', picker: 'HH:mm:ss PP', is12HoursFormat: true }, }

Supported time formats

TIME_SCALE_TO_UNIT_OF_TIME
Type : literal type
Default value : { 0: 'ms', 1: 's', 2: 'm', 3: 'h', 4: 'd', 5: 'w', 6: 'M', 7: 'Q', 8: 'y' }

Time scale to duration format

src/lib/extensions/metadata/entity-type/view.ts

DEFAULT_COMPARE_VIEW_ID
Type : string
Default value : 'generic.compare'

The default compare view id. Used in metadata for id definition.

DEFAULT_CONTEXTS_VIEW_ID
Type : string
Default value : 'generic.contextTables'

Default generic contexts view id. Used in metadata for id definition.

DEFAULT_DETAILS_VIEW_ID
Type : string
Default value : 'generic.details'

Default generic details view id. Used in metadata for id definition.

DEFAULT_HISTORY_VIEW_ID
Type : string
Default value : 'generic.history'

The default history view id. Used in metadata for id definition.

DEFAULT_REFERENCES_VIEW_ID
Type : string
Default value : 'generic.references'

Default generic references view id. Used in metadata for id definition.

src/lib/extensions/formatter.service.ts

DEFAULT_PRECISION
Type : number
Default value : 3

Default precision for number of decimal places

src/lib/extensions/app-context.service.ts

DEFAULT_SYSTEM_NAME
Type : string
Default value : 'dev'

Default system name to be used in the tab title when not defined inthe package.json

HIGH_CURSOR_PATH
Type : string
Default value : '/assets/shell/cursor-high.png'

Represents the path to the cursor image of size 'High'

MEDIUM_CURSOR_PATH
Type : string
Default value : '/assets/shell/cursor-medium.png'

Represents the path to the cursor image of size 'Medium'

src/lib/extensions/lbo-generator.service.ts

DOWNLOAD_LBOS_URL
Type : string
Default value : 'Api/DownloadLbos'

API URL for downloading LBOs

GENERATION_STATE_URL
Type : string
Default value : 'Api/GenerationState'

API URL for LBO generation state

src/lib/extensions/entity-type-translation/entity-types.ts

ENTITIES
Type : literal type
Default value : { APP: $localize`:@@cmf-core-business-controls/main#entities.APP:App`, APPS: $localize`:@@cmf-core-business-controls/main#entities.APPS:Apps`, AUTOMATION_CONTROLLER: $localize`:@@cmf-core-business-controls/main#entities.AUTOMATION_CONTROLLER:Automation Controller`, BOM: $localize`:@@cmf-core-business-controls/main#entities.BOM:BOM`, BOM_INSTANCE: $localize`:@@cmf-core-business-controls/main#entities.BOM_INSTANCE:BOM Instance`, PRODUCT: $localize`:@@cmf-core-business-controls/main#entities.PRODUCT:Product`, CONFIGURATION: $localize`:@@cmf-core-business-controls/main#entities.CONFIGURATION:Configuration`, CHECKLIST: $localize`:@@cmf-core-business-controls/main#entities.CHECKLIST:Checklist`, DATA_COLLECTION: $localize`:@@cmf-core-business-controls/main#entities.DATA_COLLECTION:Data Collection`, DATA_COLLECTION_INSTANCE: $localize`:@@cmf-core-business-controls/main#entities.DATA_COLLECTION_INSTANCE:Data Collection Instance`, DATA_COLLECTION_PARAMETER: $localize`:@@cmf-core-business-controls/main#entities.DATA_COLLECTION_PARAMETER:Data Collection Parameter`, DATA_COLLECTION_PARAMETERS: $localize`:@@cmf-core-business-controls/main#entities.DATA_COLLECTION_PARAMETERS:Data Collection Parameters`, DATA_COLLECTION_POINTS: $localize`:@@cmf-core-business-controls/main#entities.DATA_COLLECTION_POINTS:Data Collection Points`, DOCUMENTS: $localize`:@@cmf-core-business-controls/main#entities.DOCUMENTS:Documents`, DOCUMENT: $localize`:@@cmf-core-business-controls/main#entities.DOCUMENT:Document`, INTEGRATION_ENTRY: $localize`:@@cmf-core-business-controls/main#entities.INTEGRATION_ENTRY:Integration Entry`, INTEGRATION_ENTRIES: $localize`:@@cmf-core-business-controls/main#entities.INTEGRATION_ENTRIES:Integration Entries`, UIPAGE: $localize`:@@cmf-core-business-controls/main#entities.UIPAGE:UI Page`, UIPAGES: $localize`:@@cmf-core-business-controls/main#entities.UIPAGES:UIPages`, UIPAGE_INSTANCE: $localize`:@@cmf-core-business-controls/main#entities.UIPAGE_INSTANCE:UI Page Instance`, QUERY: $localize`:@@cmf-core-business-controls/main#entities.QUERY:Query`, QUERIES: $localize`:@@cmf-core-business-controls/main#entities.QUERIES:Queries`, RULE: $localize`:@@cmf-core-business-controls/main#entities.RULE:Rule`, RULES: $localize`:@@cmf-core-business-controls/main#entities.RULES:Rules`, FABLIVE_3D: $localize`:@@cmf-core-business-controls/main#entities.FABLIVE_3D:FabLive`, FABLIVES_3D: $localize`:@@cmf-core-business-controls/main#entities.FABLIVES_3D:FabLives`, FABLIVE_3D_LAYER: $localize`:@@cmf-core-business-controls/entitities#FABLIVE_3D_MESH:Mesh`, FABLIVE_3D_MESHS: $localize`:@@cmf-core-business-controls/main#entities.FABLIVE_3D_MESHS:Meshes`, FACILITIES: $localize`:@@cmf-core-business-controls/entitiies#FABLIVE_3D_LAYER:Layer`, FABLIVE_3D_LAYERS: $localize`:@@cmf-core-business-controls/main#entities.FABLIVE_3D_LAYERS:Layers`, FABLIVE_3D_LIBRARY_MESH: $localize`:@@cmf-core-business-controls/main#entities.FABLIVE_3D_LIBRARY_MESH:Library`, FABLIVE_3D_MESH: $localize`:@@cmf-core-business-controls/entes#FACILITIES:Facilities`, FOLDER: $localize`:@@cmf-core-business-controls/main#entities.FOLDER:Folder`, FOLDERS: $localize`:@@cmf-core-business-controls/main#entities.FOLDERS:Folders`, PROTOCOL: $localize`:@@cmf-core-business-controls/main#entities.PROTOCOL:Protocol`, PROTOCOL_INSTANCES: $localize`:@@cmf-core-business-controls/main#entities.PROTOCOL_INSTANCES:Protocol Instances`, CHANGESET: $localize`:@@cmf-core-business-controls/main#entities.CHANGESET:Change Set`, USER: $localize`:@@cmf-core-business-controls/main#entities.USER:User`, SITE: $localize`:@@cmf-core-business-controls/main#entities.SITE:Site`, SITES: $localize`:@@cmf-core-business-controls/main#entities.SITES:Sites`, ENTERPRISE: $localize`:@@cmf-core-business-controls/main#entities.ENTERPRISE:Enterprise`, ENTERPRISES: $localize`:@@cmf-core-business-controls/main#entities.ENTERPRISES:Enterprises`, REASON: $localize`:@@cmf-core-business-controls/main#entities.REASON:Reason`, REASONS: $localize`:@@cmf-core-business-controls/main#entities.REASONS:Reasons`, NAME_GENERATOR: $localize`:@@cmf-core-business-controls/main#entities.NAME_GENERATOR:Name Generator`, NAME_GENERATORS: $localize`:@@cmf-core-business-controls/main#entities.NAME_GENERATORS:Name Generators`, MULTIMEDIA: $localize`:@@cmf-core-business-controls/main#entities.MULTIMEDIA:Multimedia`, IOT_EVENT: $localize`:@@cmf-core-business-controls/main#entities.IOT_EVENT:IoT Event Definition`, IOT_EVENTS: $localize`:@@cmf-core-business-controls/main#entities.IOT_EVENTS:IoT Events Definition`, IOT_SCHEMA: $localize`:@@cmf-core-business-controls/main#entities.IOT_SCHEMA:IoT Schema`, IOT_SCHEMAS: $localize`:@@cmf-core-business-controls/main#entities.IOT_SCHEMAS:IoT Schemas`, CMF_TIMER: $localize`:@@cmf-core-business-controls/main#entities.CMF_TIMER:Timer`, CMF_TIMERS: $localize`:@@cmf-core-business-controls/main#entities.CMF_TIMERS:Timers`, MASTER_DATA_PACKAGE: $localize`:@@cmf-core-business-controls/main#entities.MASTER_DATA_PACKAGE:Master Data Package`, PARAMETER: $localize`:@@cmf-core-business-controls/main#entities.PARAMETER:Parameter`, EVENT_RULE: $localize`:@@cmf-core-business-controls/main#entities.EVENT_RULE:Event Rule`, EVENT_RULES: $localize`:@@cmf-core-business-controls/main#entities.EVENT_RULES:Event Rules`, NOTIFICATION: $localize`:@@cmf-core-business-controls/main#entities.NOTIFICATION:Notification`, NOTIFICATIONS: $localize`:@@cmf-core-business-controls/main#entities.NOTIFICATIONS:Notifications`, EVENT_RULE_ACTION: $localize`:@@cmf-core-business-controls/main#entities.EVENT_RULE_ACTION:Event Rule Action`, EVENT_RULE_ACTIONS: $localize`:@@cmf-core-business-controls/main#entities.EVENT_RULE_ACTIONS:Event Rule Actions`, EMPLOYEE: $localize`:@@cmf-core-business-controls/main#entities.EMPLOYEE:Employee`, EMPLOYEES: $localize`:@@cmf-core-business-controls/main#entities.EMPLOYEES:Employees` }

src/lib/extensions/cache/entity-type/entity-type.service.ts

ENTITY_TYPE_STORE
Type : object
Default value : { 'entityTypes': 'Id, &Name, SourceRelationEntityTypeId, TargetRelationEntityTypeId', // & means Name is Unique. Id (because is the first and as so primary key doesn't need this) }

src/lib/core-defs/customizable.component.ts

FLEX_INDEX
Type : string
Default value : '__CMFInternal__FlexIndex'

Flex Index

HOST_COMPONENT
Default value : new InjectionToken<Type<any>>('HostComponent')

This abstract class is what is called as a "class-interface". It will work as a token. All components will use this token as to provide themselves for any directives that need to know its hosting element component

HOST_VIEW_COMPONENT
Default value : new InjectionToken<Type<any>>('HostViewComponent')

This abstract class is what is called as a "class-interface". It will work as a token. All components will use this token as to provide themselves for any directives that are declared on their on view. Thus providing access to the View parent of any directive.

src/lib/extensions/cache/cache.ts

INVALIDATE_CACHE_EVENT
Type : string
Default value : 'CMF.SYSTEM.ADMINISTRATION.INVALIDATECACHE'

Invalidate Cache event

src/lib/extensions/cache/localized-message/localized-message.ts

LOCALIZED_DB_NAME
Type : string
Default value : LOCALIZED_MESSAGES.DB_NAME

Localized messages db name

LOCALIZED_MESSAGES_INDEXDB_VERSION
Type : number
Default value : LOCALIZED_MESSAGES.INDEXDB_VERSION

Localized messages version

LOCALIZED_MESSAGES_MAIN_TABLE_INDEX
Type : string
Default value : LOCALIZED_MESSAGES.MAIN_TABLE_INDEX

Localized messages main table index name

LOCALIZED_MESSAGES_MAIN_TABLE_NAME
Type : string
Default value : LOCALIZED_MESSAGES.MAIN_TABLE_NAME

Localized messages main table name

LOCALIZED_MESSAGES_MAIN_TABLE_NAME_INDEX
Type : string
Default value : LOCALIZED_MESSAGES.MAIN_TABLE_NAME_INDEX

Localized messages path table index id

LOCALIZED_MESSAGES_MAIN_TABLE_TYPE_INDEX
Type : string
Default value : LOCALIZED_MESSAGES.MAIN_TABLE_TYPE_INDEX

Localized messages path table index id

SEPARATOR_KEYWORD
Type : string
Default value : '.'

Separator keyworkd used for localized messages

src/lib/extensions/cache/localized-message/localized-message.service.ts

LOCALIZED_MESSAGES_LOCAL_STORAGE_KEY
Type : string
Default value : 'cmf.core.caches.localizedMessages.checksum'

Localstorage key for the localizedMessage checksum

STORES
Type : object
Default value : { [LOCALIZED_MESSAGES_MAIN_TABLE_NAME]: LOCALIZED_MESSAGES_MAIN_TABLE_INDEX }

src/lib/extensions/stores/notification-store.service.ts

PAGE_SIZE
Type : number
Default value : 30

Size of page

testing/src/mocks/config.service.ts

provideConfigService
Default value : (): Provider[] => { return [ { provide: ConfigService, useValue: { ref: 'MockApp', debug: { isEnabled: false }, host: { rest: { timeout: 120000 }, tenant: { name: 'CM_TENANT' }, loadBalancer: { enableSsl: false, address: 'localhost', urlSuffix: 'discoveryservice', port: 80, timeout: 120000 }, isLoadBalancerEnabled: false }, general: { supportedCultures: [ 'en-US', 'pt-PT', 'de-DE', 'vi-VN', 'zh-CN', 'zh-TW', 'es-ES', 'pl-PL', 'sv-SE', 'fr-FR' ], environmentName: 'CMTest', supportedThemes: [ 'cmf.style.blue', 'cmf.style.blue.accessibility', 'cmf.style.dark', 'cmf.style.dark.accessibility', 'cmf.style.gray', 'cmf.style.gray.accessibility', 'cmf.style.contrast', 'cmf.style.contrast.accessibility' ], defaultDomain: 'CMF', startup: { startupCulture: 'en-US', startupTheme: 'cmf.style.blue' }, localizationFiles: 'assets' }, cacheId: '123456', version: '11.2.0' } } ]; }

src/lib/extensions/stores/recent-messages.service.ts

RECENT_MESSAGES_STORAGE_KEY
Type : string
Default value : '_recent_messages'

Recent Messages key to save and load information from the local storage

src/lib/extensions/security/security.ts

SecurityPortalAuthenticationIdentifierTypesMap
Type : SecurityPortalAuthenticationIdentifierTypes
Default value : { [AuthenticationMode.Credential]: 'UserAccount', [AuthenticationMode.Token]: 'Token' }

An object that contains all the mappings between the AuthenticationMode and the string value that is expected in the Security Portal

src/lib/extensions/metadata/side-bar/side-bar-metadata.ts

SIDEBAR_ACTIVE_TAB_CHANGE
Type : string
Default value : 'cmf.core.shell.sidebar.activeTabChange'

Event to know when the sidebar active tab changed

SIDEBAR_OPEN_ON_TAB
Type : string
Default value : 'cmf.core.shell.sidebar.openOnTab'

Event to know when the sidebar opened on a certain tab

SIDEBAR_TOGGLE_CHANGE
Type : string
Default value : 'cmf.core.shell.sidebar.menuToggleChange'

Event to toggle (expand or collapse) the sidebar

SIDEBAR_TOGGLE_STATE_CHANGED
Type : string
Default value : 'cmf.core.shell.sidebar.menuToggle'

Event to know when the sidebar was expanded or collapsed

src/lib/extensions/cache/functionality/functionality.service.ts

SKIP_LOCKED_VALIDATION_KEY
Type : string
Default value : 'skipLockedValidation'

Key for boolean that may appear in the context indicating that the validation for locked objects should be skipped

src/lib/extensions/interfaces/file.ts

SUPPORTED_EXTENSIONS
Type : Array<string>
Default value : [ ...SUPPORTED_MULTIMEDIA_PICTURE, ...SUPPORTED_MULTIMEDIA_AUDIO, ...SUPPORTED_MULTIMEDIA_VIDEO, ...SUPPORTED_MULTIMEDIA_DOCUMENT, ...SUPPORTED_MULTIMEDIA_URL, ]

Supported Multimedia extensions

SUPPORTED_MULTIMEDIA_AUDIO
Type : Array<string>
Default value : ['aac', 'mov', 'mp3', 'wav', 'wma']

Supported "Audio" extensions according to Multimedia spec

SUPPORTED_MULTIMEDIA_DOCUMENT
Type : Array<string>
Default value : ['doc', 'docx', 'pdf', 'ppt', 'pptx', 'txt', 'xls', 'xlsx']

Supported "Document" extensions according to Multimedia spec

SUPPORTED_MULTIMEDIA_PICTURE
Type : Array<string>
Default value : SUPPORTED_MULTIMEDIA_PICTURE_SUBSET.concat(['tif', 'wmf'])

Supported "Picture" extensions according to Multimedia spec

SUPPORTED_MULTIMEDIA_PICTURE_SUBSET
Type : Array<string>
Default value : ['jpeg', 'jpg', 'png']

Supported "Picture" extensions according to Multimedia spec

SUPPORTED_MULTIMEDIA_URL
Type : Array<string>
Default value : ['htm', 'html']

Supported "URL" extensions according to Multimedia spec

SUPPORTED_MULTIMEDIA_VIDEO
Type : Array<string>
Default value : ['asf', 'avi', 'mp4', 'mpeg', 'mpg']

Supported "Video" extensions according to Multimedia spec

src/lib/extensions/cache/smart-table/smart-table.service.ts

TABLE_COLUMNS_SUFFIX
Type : string
Default value : '_Columns'
TABLE_DATA_FIELD
Type : string
Default value : 'Data'
TABLE_NAME_PREFIX
Type : string
Default value : 'T_'

src/lib/extensions/lbo.service.ts

UPLOAD_ATTACHMENT_API_PATH
Type : string
Default value : 'api/GenericService/UploadAttachment'

Api path where the upload attachment is made

results matching ""

    No results matching ""