globals-shared
The schema defines the following additional types:
Properties of the ColorCondition object:
Property | Type | Required | Description |
when | Expression | boolean | true | |
color | primary | BasicColor | Expression | true | |
The object must be any of the following types:
The object must be any of the following types:
This element must be one of the following enum values:
- color1
- color2
- color3
- color4
- color5
- color6
- color7
- color8
- color9
- color10
- color11
- color12
- color13
- color14
This element must be one of the following enum values:
- number
- string
- boolean
- email
This element must be one of the following enum values:
- date
- time
- datetime
Type of field
The object must be any of the following types:
The object must be any of the following types:
This element must be one of the following enum values:
- positive
- negative
- warning
Swipeable actions used on jc-list-item
Properties of the SwipeableAction object:
Property | Type | Required | Description |
icon | Nullable<IconName> | false | Icon displayed on action |
label | TextValue | false | Label displayed on action |
color | SwipeableActionColor | false | Color of action |
onPress | true | Action executed when pressed |
Icon displayed on action
Label displayed on action
Color of action
Default: "primary"
Action executed when pressed
Nullable<IconName> (icon-name | null)
The object must be any of the following types:
Text that can be evaluated, translated, formatted
The object must be any of the following types:
Text that can be evaluated, translated, formatted
Properties of the TextWithFormat object:
Property | Type | Required | Description |
text | string | Expression | TextLocale | true | |
format | TextFormatExpressions | false | |
The object must be any of the following types:
Text that can be translated
Properties of the TextLocale object:
Property | Type | Required | Description |
id | string | true | |
defaultMessage | string | Expression | false | |
values | TextLocaleValues | false | |
The object must be any of the following types:
Properties of the TextFormatExpressions object:
Property | Type | Required | Description |
numberStyle | TextNumberStyle | Expression | false | Is one of the values `decimal`, `currency`, `percent` or `unit` identifying the type of quantity being measured.See https://developer.mozilla.org/en\-US/docs/Web/JavaScript/Reference/Global\_Objects/NumberFormat/NumberFormat |
minimumIntegerDigits | number | Expression | false | The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1.Numbers will be padded with leading zeroes if necessary. |
minimumFractionDigits | number | Expression | false | A non-negative integer value indicating the minimum fraction digits to be used.Numbers will be rounded or padded with trailing zeroes if necessary. |
maximumFractionDigits | number | Expression | false | A non-negative integer value indicating the maximum fraction digits to be used.Numbers will be rounded or padded with trailing zeroes if necessary. |
minimumSignificantDigits | number | Expression | false | A positive integer value indicating the minimum fraction digits to be shown.If present, the formatter uses however many fraction digits are required to display the specified number of significant digits. |
maximumSignificantDigits | number | Expression | false | A positive integer value indicating the maximum fraction digits to be shown.If present, the formatter uses however many fraction digits are required to display the specified number of significant digits. |
signDisplay | TextSignDisplay | Expression | false | Is one of the values `auto`, `always`, `never`, or `exceptZero`,specifying whether to show the sign on negative numbers only,positive and negative numbers including zero, neither positive nor negative numbers,or positive and negative numbers but not zero.In scientific notation, this slot affects the sign display of the mantissa but not the exponent. |
unit | NumberUnit | string | Expression | false | The unit to use in unit formatting. Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6.Pairs of simple units can be concatenated with "-per-" to make a compound unit.There is no default value; if the style is `unit`, the unit property must be provided.See https://tc39.es/ecma402/\#table\-sanctioned\-single\-unit\-identifiers |
unitDisplay | TextUnitDisplay | Expression | false | The unit formatting style to use in unit formatting, the defaults is `short`.Is one of the values `short`, `narrow`, or `long`,specifying whether to display the unit as a symbol, narrow symbol,or localized long name if formatting with the "unit" style.It is only used when `numberStyle` has the value "unit". |
numberingSystem | TextNumberingSystem | Expression | false | Is a value with the "type" given in Unicode Technical Standard 35 for the numbering system used for formatting. |
currency | string | Expression | false | Is a value with the currency code identifying the currency to be used if formatting with the "currency" unit type.It is only used when `numberStyle` has the value "currency". |
notation | TextNotation | Expression | false | Is one of the values `standard`, `scientific`, `engineering`, or `compact`,specifying whether the number should be displayed without scaling,scaled to the units place with the power of ten in scientific notation,scaled to the nearest thousand with the power of ten in scientific notation,or scaled to the nearest locale-dependent compact decimal notation power of tenwith the corresponding compact decimal notation affix. |
compactDisplay | TextCompactDisplay | Expression | false | Only used when notation is "compact". Takes either `short` (default) or `long`.It is only used when `notation` has the value `compact`. |
currencyDisplay | TextCurrencyDisplay | Expression | false | Is one of the values `code`, `symbol`, `narrowSymbol` or `name`,specifying whether to display the currency as an ISO 4217 alphabetic currency code,a localized currency symbol, or a localized currency name if formatting with the "currency" style.It is only used when `numberStyle` has the value `currency`. |
currencySign | TextCurrencySign | Expression | false | Is one of the values `standard` or `accounting`, specifying whether to render negative numbers in accounting format,often signified by parenthesis.It is only used when `numberStyle` has the value `currency` and when `signDisplay` is not `never`. |
dateFormat | TextDateFormat | Expression | false | |
Is one of the values decimal, currency, percent or unit identifying the type of quantity being measured. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/NumberFormat
The object must be any of the following types:
The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1. Numbers will be padded with leading zeroes if necessary.
The object must be any of the following types:
A non-negative integer value indicating the minimum fraction digits to be used. Numbers will be rounded or padded with trailing zeroes if necessary.
The object must be any of the following types:
A non-negative integer value indicating the maximum fraction digits to be used. Numbers will be rounded or padded with trailing zeroes if necessary.
The object must be any of the following types:
A positive integer value indicating the minimum fraction digits to be shown. If present, the formatter uses however many fraction digits are required to display the specified number of significant digits.
The object must be any of the following types:
A positive integer value indicating the maximum fraction digits to be shown. If present, the formatter uses however many fraction digits are required to display the specified number of significant digits.
The object must be any of the following types:
Is one of the values auto, always, never, or exceptZero, specifying whether to show the sign on negative numbers only, positive and negative numbers including zero, neither positive nor negative numbers, or positive and negative numbers but not zero. In scientific notation, this slot affects the sign display of the mantissa but not the exponent.
The object must be any of the following types:
The unit to use in unit formatting. Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6. Pairs of simple units can be concatenated with "-per-" to make a compound unit. There is no default value; if the style is unit, the unit property must be provided. See https://tc39.es/ecma402/#table-sanctioned-single-unit-identifiers
The object must be any of the following types:
The unit formatting style to use in unit formatting, the defaults is short. Is one of the values short, narrow, or long, specifying whether to display the unit as a symbol, narrow symbol, or localized long name if formatting with the "unit" style. It is only used when numberStyle has the value "unit".
The object must be any of the following types:
Is a value with the "type" given in Unicode Technical Standard 35 for the numbering system used for formatting.
The object must be any of the following types:
Is a value with the currency code identifying the currency to be used if formatting with the "currency" unit type. It is only used when numberStyle has the value "currency".
The object must be any of the following types:
Is one of the values standard, scientific, engineering, or compact, specifying whether the number should be displayed without scaling, scaled to the units place with the power of ten in scientific notation, scaled to the nearest thousand with the power of ten in scientific notation, or scaled to the nearest locale-dependent compact decimal notation power of ten with the corresponding compact decimal notation affix.
The object must be any of the following types:
Only used when notation is "compact". Takes either short (default) or long. It is only used when notation has the value compact.
The object must be any of the following types:
Is one of the values code, symbol, narrowSymbol or name, specifying whether to display the currency as an ISO 4217 alphabetic currency code, a localized currency symbol, or a localized currency name if formatting with the "currency" style. It is only used when numberStyle has the value currency.
The object must be any of the following types:
Is one of the values standard or accounting, specifying whether to render negative numbers in accounting format, often signified by parenthesis. It is only used when numberStyle has the value currency and when signDisplay is not never.
The object must be any of the following types:
The object must be any of the following types:
Properties of the NumberFormatExpressions object:
Property | Type | Required | Description |
numberStyle | TextNumberStyle | Expression | false | Is one of the values `decimal`, `currency`, `percent` or `unit` identifying the type of quantity being measured.See https://developer.mozilla.org/en\-US/docs/Web/JavaScript/Reference/Global\_Objects/NumberFormat/NumberFormat |
minimumIntegerDigits | number | Expression | false | The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1.Numbers will be padded with leading zeroes if necessary. |
minimumFractionDigits | number | Expression | false | A non-negative integer value indicating the minimum fraction digits to be used.Numbers will be rounded or padded with trailing zeroes if necessary. |
maximumFractionDigits | number | Expression | false | A non-negative integer value indicating the maximum fraction digits to be used.Numbers will be rounded or padded with trailing zeroes if necessary. |
minimumSignificantDigits | number | Expression | false | A positive integer value indicating the minimum fraction digits to be shown.If present, the formatter uses however many fraction digits are required to display the specified number of significant digits. |
maximumSignificantDigits | number | Expression | false | A positive integer value indicating the maximum fraction digits to be shown.If present, the formatter uses however many fraction digits are required to display the specified number of significant digits. |
signDisplay | TextSignDisplay | Expression | false | Is one of the values `auto`, `always`, `never`, or `exceptZero`,specifying whether to show the sign on negative numbers only,positive and negative numbers including zero, neither positive nor negative numbers,or positive and negative numbers but not zero.In scientific notation, this slot affects the sign display of the mantissa but not the exponent. |
unit | NumberUnit | string | Expression | false | The unit to use in unit formatting. Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6.Pairs of simple units can be concatenated with "-per-" to make a compound unit.There is no default value; if the style is `unit`, the unit property must be provided.See https://tc39.es/ecma402/\#table\-sanctioned\-single\-unit\-identifiers |
unitDisplay | TextUnitDisplay | Expression | false | The unit formatting style to use in unit formatting, the defaults is `short`.Is one of the values `short`, `narrow`, or `long`,specifying whether to display the unit as a symbol, narrow symbol,or localized long name if formatting with the "unit" style.It is only used when `numberStyle` has the value "unit". |
numberingSystem | TextNumberingSystem | Expression | false | Is a value with the "type" given in Unicode Technical Standard 35 for the numbering system used for formatting. |
currency | string | Expression | false | Is a value with the currency code identifying the currency to be used if formatting with the "currency" unit type.It is only used when `numberStyle` has the value "currency". |
notation | TextNotation | Expression | false | Is one of the values `standard`, `scientific`, `engineering`, or `compact`,specifying whether the number should be displayed without scaling,scaled to the units place with the power of ten in scientific notation,scaled to the nearest thousand with the power of ten in scientific notation,or scaled to the nearest locale-dependent compact decimal notation power of tenwith the corresponding compact decimal notation affix. |
compactDisplay | TextCompactDisplay | Expression | false | Only used when notation is "compact". Takes either `short` (default) or `long`.It is only used when `notation` has the value `compact`. |
currencyDisplay | TextCurrencyDisplay | Expression | false | Is one of the values `code`, `symbol`, `narrowSymbol` or `name`,specifying whether to display the currency as an ISO 4217 alphabetic currency code,a localized currency symbol, or a localized currency name if formatting with the "currency" style.It is only used when `numberStyle` has the value `currency`. |
currencySign | TextCurrencySign | Expression | false | Is one of the values `standard` or `accounting`, specifying whether to render negative numbers in accounting format,often signified by parenthesis.It is only used when `numberStyle` has the value `currency` and when `signDisplay` is not `never`. |
Is one of the values decimal, currency, percent or unit identifying the type of quantity being measured. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/NumberFormat
The object must be any of the following types:
The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1. Numbers will be padded with leading zeroes if necessary.
The object must be any of the following types:
A non-negative integer value indicating the minimum fraction digits to be used. Numbers will be rounded or padded with trailing zeroes if necessary.
The object must be any of the following types:
A non-negative integer value indicating the maximum fraction digits to be used. Numbers will be rounded or padded with trailing zeroes if necessary.
The object must be any of the following types:
A positive integer value indicating the minimum fraction digits to be shown. If present, the formatter uses however many fraction digits are required to display the specified number of significant digits.
The object must be any of the following types:
A positive integer value indicating the maximum fraction digits to be shown. If present, the formatter uses however many fraction digits are required to display the specified number of significant digits.
The object must be any of the following types:
Is one of the values auto, always, never, or exceptZero, specifying whether to show the sign on negative numbers only, positive and negative numbers including zero, neither positive nor negative numbers, or positive and negative numbers but not zero. In scientific notation, this slot affects the sign display of the mantissa but not the exponent.
The object must be any of the following types:
The unit to use in unit formatting. Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6. Pairs of simple units can be concatenated with "-per-" to make a compound unit. There is no default value; if the style is unit, the unit property must be provided. See https://tc39.es/ecma402/#table-sanctioned-single-unit-identifiers
The object must be any of the following types:
The unit formatting style to use in unit formatting, the defaults is short. Is one of the values short, narrow, or long, specifying whether to display the unit as a symbol, narrow symbol, or localized long name if formatting with the "unit" style. It is only used when numberStyle has the value "unit".
The object must be any of the following types:
Is a value with the "type" given in Unicode Technical Standard 35 for the numbering system used for formatting.
The object must be any of the following types:
Is a value with the currency code identifying the currency to be used if formatting with the "currency" unit type. It is only used when numberStyle has the value "currency".
The object must be any of the following types:
Is one of the values standard, scientific, engineering, or compact, specifying whether the number should be displayed without scaling, scaled to the units place with the power of ten in scientific notation, scaled to the nearest thousand with the power of ten in scientific notation, or scaled to the nearest locale-dependent compact decimal notation power of ten with the corresponding compact decimal notation affix.
The object must be any of the following types:
Only used when notation is "compact". Takes either short (default) or long. It is only used when notation has the value compact.
The object must be any of the following types:
Is one of the values code, symbol, narrowSymbol or name, specifying whether to display the currency as an ISO 4217 alphabetic currency code, a localized currency symbol, or a localized currency name if formatting with the "currency" style. It is only used when numberStyle has the value currency.
The object must be any of the following types:
Is one of the values standard or accounting, specifying whether to render negative numbers in accounting format, often signified by parenthesis. It is only used when numberStyle has the value currency and when signDisplay is not never.
The object must be any of the following types:
The formatting style to use, the default is decimal.
This element must be one of the following enum values:
- decimal
- currency
- percent
- unit
When to display the sign for the number; defaults to "auto".
This element must be one of the following enum values:
- auto
- always
- never
The unit to use in unit formatting. Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6. Pairs of simple units can be concatenated with "-per-" to make a compound unit. There is no default value; if the style is unit, the unit property must be provided. See https://tc39.es/ecma402/#table-sanctioned-single-unit-identifiers
This element must be one of the following enum values:
- acre
- bit
- byte
- celsius
- centimeter
- day
- degree
- fahrenheit
- fluid-ounce
- foot
- gallon
- gigabit
- gigabyte
- gram
- hectare
- hour
- inch
- kilobit
- kilobyte
- kilogram
- kilometer
- liter
- megabit
- megabyte
- meter
- mile
- mile-scandinavian
- milliliter
- millimeter
- millisecond
- minute
- month
- ounce
- percent
- petabyte
- pound
- second
- stone
- terabit
- terabyte
- week
- yard
- year
The unit formatting style to use in unit formatting, the default is short.
This element must be one of the following enum values:
- long
- short
- narrow
This element must be one of the following enum values:
- arab
- arabext
- bali
- beng
- deva
- fullwide
- gujr
- guru
- hanidec
- khmr
- knda
- laoo
- latn
- limb
- mlym
- mong
- mymr
- orya
- tamldec
- telu
- thai
- tibt
The formatting that should be displayed for the number, the default is standard
This element must be one of the following enum values:
- standard
- scientific
- engineering
- compact
Only used when notation is compact. Takes either short (default) or long.
This element must be one of the following enum values:
- short
- long
How to display the currency in currency formatting.
This element must be one of the following enum values:
- symbol
- code
- name
- narrowSymbol
In many locales, accounting format means to wrap the number with parentheses instead of appending a minus sign. You can enable this formatting by setting the currencySign option to "accounting". The default value is "standard".
This element must be one of the following enum values:
- standard
- accounting
The object must be any of the following types:
This element must be one of the following enum values:
- default
- fromNow
- toNow
The object must be any of the following types:
Additional restrictions:
- Regex pattern: ^([a-zA-Z][a-zA-Z0-9_-]{0,48}[a-zA-Z0-9])|(=[\s]*[\S][\S\s]*)$
If the property is set to 'false', the component won't be displayed. Default is 'true'.
The object must be any of the following types:
Named parameters with values or expressions
Specify where we go next.
This element must be one of the following enum values:
- previous
- home
- stay
Default: "previous"
Properties of the IconElement object:
Property | Type | Required | Description |
element | icon | true | Type of element |
icon | icon-name | Expression | true | Icon name/id |
isContained | boolean | Expression | false | Whether or not has background |
isDuotone | boolean | Expression | false | Displays background and icon in the same color |
onPress | false | Action Keg component that will be triggered by pressing on this button. |
icon (icon-name | Expression, required)
Icon name/id
The object must be any of the following types:
Whether or not has background
The object must be any of the following types:
Displays background and icon in the same color
The object must be any of the following types:
Action Keg component that will be triggered by pressing on this button.
Properties of the NumberWithFormat object:
Property | Type | Required | Description |
value | number | Expression | true | Value |
format | NumberFormatExpressions | false | Format of value |
Value
The object must be any of the following types:
Format of value
Properties of the JigSummaryConfiguration object:
Property | Type | Required | Description |
children | true | Configuration of children |
Configuration of children
Properties of the JigPlaceholders object:
Property | Type | Required | Description |
when | Expression | boolean | false | Whether or not these placeholders are displayed on the screen / jig |
title | TextValue | true | Custom placeholder title |
icon | PlaceholderIcon | false | Define custom icon on placeholders |
onPress | false | Define action that triggers after pressing placeholder button |
Whether or not these placeholders are displayed on the screen / jig
The object must be any of the following types:
Custom placeholder title
Default: "No data to display"
Define custom icon on placeholders
Default: "missing-data"
Define action that triggers after pressing placeholder button
This element must be one of the following enum values:
- missing-data
- loading-data
- is-offline
- oil-drop
- helicopter
- scan-qr
Value for badge:
- number: only integer number is displayed. When 0, no batch is displayed.
- Expression: see Expression details
- empty: display empty badge (red circle)
The object must be any of the following types:
Display badge close to jig widget.
Properties of the JigBadge object:
Property | Type | Required | Description |
when | Expression | boolean | false | |
value | JigBadgeValue | true | |
The object must be any of the following types:
Properties of the TextFormat object:
Property | Type | Required | Description |
numberStyle | TextNumberStyle | false | |
minimumIntegerDigits | number | false | |
minimumFractionDigits | number | false | |
maximumFractionDigits | number | false | |
minimumSignificantDigits | number | false | |
maximumSignificantDigits | number | false | |
signDisplay | TextSignDisplay | false | |
unit | NumberUnit | false | |
unitDisplay | TextUnitDisplay | false | |
numberingSystem | TextNumberingSystem | false | |
currency | string | false | |
notation | TextNotation | false | |
compactDisplay | TextCompactDisplay | false | |
currencyDisplay | TextCurrencyDisplay | false | |
currencySign | TextCurrencySign | false | |
dateFormat | TextDateFormat | false | |