@pega/cosmos-react-core 2.1.1 → 3.0.0-dev.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/AppShell/Operator.d.ts.map +1 -1
- package/lib/components/AppShell/Operator.js +1 -1
- package/lib/components/AppShell/Operator.js.map +1 -1
- package/lib/components/Avatar/Avatar.d.ts +5 -1
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.js +13 -8
- package/lib/components/Avatar/Avatar.js.map +1 -1
- package/lib/components/Configuration/Configuration.js +1 -1
- package/lib/components/Configuration/Configuration.js.map +1 -1
- package/lib/components/EmojiPicker/EmojiDisplay.d.ts.map +1 -1
- package/lib/components/EmojiPicker/EmojiDisplay.js +1 -1
- package/lib/components/EmojiPicker/EmojiDisplay.js.map +1 -1
- package/lib/components/FormField/FormField.d.ts +10 -0
- package/lib/components/FormField/FormField.d.ts.map +1 -1
- package/lib/components/FormField/FormField.js +2 -2
- package/lib/components/FormField/FormField.js.map +1 -1
- package/lib/components/Label/Label.d.ts +6 -1
- package/lib/components/Label/Label.d.ts.map +1 -1
- package/lib/components/Label/Label.js +2 -2
- package/lib/components/Label/Label.js.map +1 -1
- package/lib/components/Modal/MinimizedModal.js +5 -5
- package/lib/components/Modal/MinimizedModal.js.map +1 -1
- package/lib/components/Number/NumberDisplay.js +1 -1
- package/lib/components/Number/NumberDisplay.js.map +1 -1
- package/lib/components/RadioCheck/RadioCheck.js +1 -1
- package/lib/components/RadioCheck/RadioCheck.js.map +1 -1
- package/lib/components/RadioCheckGroup/RadioCheckGroup.js +1 -1
- package/lib/components/RadioCheckGroup/RadioCheckGroup.js.map +1 -1
- package/lib/hooks/useArrows.d.ts +2 -2
- package/lib/hooks/useArrows.d.ts.map +1 -1
- package/lib/hooks/useArrows.js +19 -12
- package/lib/hooks/useArrows.js.map +1 -1
- package/lib/hooks/useI18n.d.ts +6 -0
- package/lib/hooks/useI18n.d.ts.map +1 -1
- package/lib/i18n/default.d.ts +6 -0
- package/lib/i18n/default.d.ts.map +1 -1
- package/lib/i18n/default.js +8 -1
- package/lib/i18n/default.js.map +1 -1
- package/lib/i18n/i18n.d.ts +12 -0
- package/lib/i18n/i18n.d.ts.map +1 -1
- package/lib/utils/utils.d.ts.map +1 -1
- package/lib/utils/utils.js +3 -1
- package/lib/utils/utils.js.map +1 -1
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioCheck.js","sourceRoot":"","sources":["../../../src/components/RadioCheck/RadioCheck.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EAGV,SAAS,EAMV,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EAAoB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AA4CjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,GAAG,CAC9C,KAAK,CAAC,EAAE;IACN,MAAM,EACJ,KAAK,EAAE,EACL,IAAI,EAAE,EACJ,OAAO,EACP,OAAO,EAAE,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,EACrD,EACD,UAAU,EAAE,EACV,YAAY,EAAE,SAAS,EACvB,aAAa,EAAE,EACb,IAAI,EACJ,YAAY,EAAE,S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AAG,EAAE,MAAM,WACX,WACQ,CACb,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["import {\n forwardRef,\n FC,\n Ref,\n useEffect,\n MouseEvent,\n KeyboardEvent,\n PropsWithoutRef,\n MouseEventHandler,\n KeyboardEventHandler\n} from 'react';\nimport styled, { css } from 'styled-components';\nimport { readableColor, hideVisually, mix } from 'polished';\n\nimport FormField from '../FormField';\nimport { FormControlProps, StyledFormControl } from '../FormControl';\nimport { defaultThemeProp } from '../../theme';\nimport { tryCatch } from '../../utils/utils';\nimport { BaseProps, ForwardProps, NoChildrenProp } from '../../types';\nimport { useConsolidatedRef, useDirection, useUID } from '../../hooks';\nimport { StyledLabel } from '../Label';\nimport { calculateFontSize } from '../../styles';\n\nexport interface RadioCheckProps extends BaseProps, NoChildrenProp {\n /**\n * Sets DOM id for the control and associates label element via 'for' attribute.\n * If an id is not pass, a random id will be generated for any render.\n */\n id?: FormControlProps['id'];\n /** Pass a string or a fragment with an Icon and string. */\n label?: FormControlProps['label'];\n /** Indicate if the field is required. The browser defaults to false. */\n required?: FormControlProps['required'];\n /** Disable the control. The browser defaults to false. */\n disabled?: FormControlProps['disabled'];\n /** Makes the input non editable and non clickable. The browser defaults to false. */\n readOnly?: FormControlProps['readOnly'];\n /** Set visual state based on a validation state. */\n status?: FormControlProps['status'];\n /** Sets html name attribute for the underlying control. Useful for mapping to a data field. */\n name?: FormControlProps['name'];\n /** Sets the type of input. */\n type: 'radio' | 'checkbox';\n /** Sets checked prop via onChange when using as controlled component. */\n checked?: boolean;\n /** Initialize checked prop when using as uncontrolled component. */\n defaultChecked?: boolean;\n /**\n * Sets control to an an indeterminate state.\n * @default false\n */\n indeterminate?: boolean;\n /**\n * Controls the styling of the RadioCheck.\n * @default 'simple'\n */\n variant?: 'simple' | 'card';\n /** Callback function for onClick events. */\n onClick?: MouseEventHandler<HTMLInputElement>;\n /** Callback function for onKeyDown events. */\n onKeyDown?: KeyboardEventHandler<HTMLInputElement>;\n /** Ref forwarded to the underlying input. */\n ref?: Ref<HTMLInputElement>;\n}\n\nexport const StyledPseudoRadioCheck = styled.div<Pick<RadioCheckProps, 'readOnly' | 'status'>>(\n props => {\n const {\n theme: {\n base: {\n spacing,\n palette: { 'primary-background': primaryBackground }\n },\n components: {\n 'form-field': formField,\n 'radio-check': {\n size,\n 'touch-size': touchSize,\n 'background-color': backgroundColor,\n 'border-color': borderColor,\n 'border-width': borderWidth\n }\n }\n },\n status\n } = props;\n\n const useBorderColor = status === 'error' ? formField.error['status-color'] : borderColor;\n const useBackgroundColor =\n status && formField[status]\n ? tryCatch(() => mix(0.8, primaryBackground, formField[status]['status-color']))\n : backgroundColor;\n\n return css`\n display: flex;\n flex-shrink: 0;\n position: relative;\n width: ${size};\n height: ${size};\n margin-inline-end: ${spacing};\n border: ${borderWidth} solid ${useBorderColor};\n background-color: ${useBackgroundColor};\n\n @media (pointer: coarse) {\n width: ${touchSize};\n height: ${touchSize};\n }\n\n &::after {\n content: '';\n display: none;\n }\n `;\n }\n);\n\nStyledPseudoRadioCheck.defaultProps = defaultThemeProp;\n\nexport const StyledRadioCheckInput = styled.input(props => {\n const {\n theme: {\n base: { 'border-radius': baseBorderRadius },\n components: {\n 'form-control': {\n ':focus': { 'box-shadow': shadow, 'border-color': focusBorderColor },\n ':read-only': { 'background-color': readOnlyBackgroundColor }\n },\n 'radio-check': {\n ':checked': {\n 'background-color': checkedBackgroundColor,\n 'border-color': checkedBorderColor\n }\n },\n checkbox: { 'border-radius': checkRadius },\n 'radio-button': { 'border-radius': radioRadius }\n }\n }\n } = props;\n\n const backgroundColor = props.readOnly ? readOnlyBackgroundColor : checkedBackgroundColor;\n const foreground = tryCatch(() => readableColor(backgroundColor));\n\n const prcSelector = `+ ${StyledLabel} ${StyledPseudoRadioCheck}`;\n const { ltr } = useDirection();\n\n return css`\n ${hideVisually}\n\n ${!(props.disabled || props.readOnly) &&\n css`\n &:focus ${prcSelector} {\n box-shadow: ${shadow};\n border-color: ${focusBorderColor};\n }\n `}\n\n &:checked\n ${prcSelector},\n &:checked:disabled\n ${prcSelector},\n &[type='checkbox']:indeterminate\n ${prcSelector},\n &[type='checkbox']:indeterminate:disabled\n ${prcSelector} {\n border-color: ${props.readOnly ? 'inherit' : checkedBorderColor};\n background-color: ${backgroundColor};\n\n &::after {\n display: block;\n }\n }\n\n &[type='radio'] ${prcSelector}, &[type='radio'] ${prcSelector}::after {\n border-radius: ${radioRadius};\n }\n\n &[type='radio'] ${prcSelector}::after {\n margin: auto;\n width: 100%;\n height: 100%;\n background-color: ${foreground};\n transform: scale(0.4);\n }\n\n &[type='checkbox'] ${prcSelector} {\n border-radius: min(calc(${baseBorderRadius} * ${checkRadius}), 0.25rem);\n }\n\n &[type='checkbox']:not(:indeterminate) ${prcSelector} {\n &::after {\n width: 40%;\n height: 75%;\n ${ltr\n ? css`\n transform: rotate(45deg) translate(50%, -30%);\n `\n : css`\n transform: rotate(45deg) translate(-50%, 30%);\n `}\n border-right: 0.15em solid ${foreground};\n border-bottom: 0.15em solid ${foreground};\n }\n }\n\n &[type='checkbox']:indeterminate ${prcSelector} {\n display: flex;\n &::after {\n width: 90%;\n height: 0.15em;\n margin: auto;\n background-color: ${foreground};\n }\n }\n `;\n});\n\nStyledRadioCheckInput.defaultProps = defaultThemeProp;\n\nexport const StyledRadioCheck = styled.div<Pick<RadioCheckProps, 'disabled' | 'readOnly'>>(\n props => {\n const {\n disabled,\n readOnly,\n theme: {\n base,\n components: {\n 'radio-check': {\n label: { color: labelColor, 'font-weight': labelFontWeight }\n },\n 'form-control': {\n ':hover': { 'border-color': hoverBorderColor }\n }\n }\n }\n } = props;\n\n const fontSize = calculateFontSize(base['font-size'], base['font-scale']);\n\n return css`\n > ${StyledLabel} {\n cursor: pointer;\n display: flex;\n align-items: center;\n font-weight: ${labelFontWeight};\n word-break: break-word;\n font-size: ${fontSize.s};\n color: ${labelColor};\n margin: 0;\n min-height: ${base['hit-area']['mouse-min']};\n\n @media (pointer: coarse) {\n min-height: ${base['hit-area']['finger-min']};\n }\n }\n\n ${!(disabled || readOnly) &&\n css`\n &:not(:focus-within) > ${StyledLabel}:hover ${StyledPseudoRadioCheck} {\n border-color: ${hoverBorderColor};\n }\n `}\n `;\n }\n);\n\nStyledRadioCheck.defaultProps = defaultThemeProp;\n\nexport const StyledRadioCheckCard = styled.label<\n Pick<RadioCheckProps, 'disabled' | 'readOnly' | 'status'>\n>(\n ({\n disabled,\n readOnly,\n status,\n theme: {\n base: { palette, shadow, spacing },\n components: {\n card,\n 'form-field': formField,\n 'radio-check': { label },\n 'form-control': {\n ':hover': { 'border-color': hoverBorderColor }\n }\n }\n }\n }) => {\n const useBorderColor =\n status === 'error' ? formField.error['status-color'] : palette['border-line'];\n\n return css`\n min-width: min-content;\n align-items: start;\n cursor: pointer;\n background-color: ${card.background};\n border-radius: ${card['border-radius']};\n border: 0.0625rem solid ${useBorderColor};\n padding: ${spacing};\n\n ${disabled &&\n css`\n cursor: not-allowed;\n `}\n\n ${!(disabled || readOnly) &&\n css`\n :hover:not(:focus-within) {\n border-color: ${hoverBorderColor};\n ${StyledLabel} ${StyledPseudoRadioCheck} {\n border-color: ${hoverBorderColor};\n }\n }\n\n :focus-within {\n box-shadow: ${shadow.focus};\n border-color: transparent;\n }\n `}\n\n > ${StyledLabel} {\n display: grid;\n grid-template-columns: auto 1fr;\n color: ${label.color};\n font-weight: ${label['font-weight']};\n }\n `;\n }\n);\n\nStyledRadioCheckCard.defaultProps = defaultThemeProp;\n\nconst RadioCheck: FC<RadioCheckProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<RadioCheckProps>, ref: RadioCheckProps['ref']) => {\n const uid = useUID();\n const {\n type,\n id = uid,\n label,\n required = false,\n disabled = false,\n indeterminate = false,\n readOnly = false,\n variant = 'simple',\n onClick,\n onKeyDown,\n status,\n ...restProps\n } = props;\n\n const isRadio = type === 'radio';\n const card = variant === 'card';\n const newRef = useConsolidatedRef(ref);\n\n useEffect(() => {\n if (!isRadio && newRef.current) {\n newRef.current.indeterminate = !!indeterminate;\n }\n }, [newRef, indeterminate, isRadio]);\n\n return (\n <FormField\n as={card ? StyledRadioCheckCard : StyledRadioCheck}\n label={\n <>\n <StyledPseudoRadioCheck\n status={status}\n isRadio={isRadio}\n as={StyledFormControl}\n required={required}\n disabled={disabled}\n readOnly={readOnly}\n />\n {label}\n </>\n }\n labelAs={card ? 'div' : undefined}\n id={id}\n required={required}\n disabled={disabled}\n readOnly={readOnly}\n status={status}\n inline\n labelAfter\n >\n <StyledRadioCheckInput\n {...restProps}\n id={id}\n type={type}\n required={required}\n disabled={disabled}\n readOnly={readOnly}\n aria-readonly={readOnly}\n onClick={(e: MouseEvent<HTMLInputElement>) => {\n if (readOnly) e.preventDefault();\n\n onClick?.(e);\n }}\n onKeyDown={(e: KeyboardEvent<HTMLInputElement>) => {\n if (type === 'checkbox' && readOnly && e.key === ' ') {\n e.preventDefault();\n }\n if (type === 'radio' && readOnly && e.key.includes('Arrow')) {\n e.preventDefault();\n }\n\n onKeyDown?.(e);\n }}\n ref={newRef}\n />\n </FormField>\n );\n }\n);\n\nexport default RadioCheck;\n"]}
|
|
1
|
+
{"version":3,"file":"RadioCheck.js","sourceRoot":"","sources":["../../../src/components/RadioCheck/RadioCheck.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EAGV,SAAS,EAMV,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EAAoB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,kBAAkB,E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C,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;YACf,CAAC,EACD,SAAS,EAAE,CAAC,CAAkC,EAAE,EAAE;gBAChD,IAAI,IAAI,KAAK,UAAU,IAAI,QAAQ,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,EAAE;oBACpD,CAAC,CAAC,cAAc,EAAE,CAAC;iBACpB;gBACD,IAAI,IAAI,KAAK,OAAO,IAAI,QAAQ,IAAI,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;oBAC3D,CAAC,CAAC,cAAc,EAAE,CAAC;iBACpB;gBAED,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;YACjB,CAAC,EACD,GAAG,EAAE,MAAM,WACX,WACQ,CACb,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["import {\n forwardRef,\n FC,\n Ref,\n useEffect,\n MouseEvent,\n KeyboardEvent,\n PropsWithoutRef,\n MouseEventHandler,\n KeyboardEventHandler\n} from 'react';\nimport styled, { css } from 'styled-components';\nimport { readableColor, hideVisually, mix } from 'polished';\n\nimport FormField from '../FormField';\nimport { FormControlProps, StyledFormControl } from '../FormControl';\nimport { defaultThemeProp } from '../../theme';\nimport { tryCatch } from '../../utils/utils';\nimport { BaseProps, ForwardProps, NoChildrenProp } from '../../types';\nimport { useConsolidatedRef, useDirection, useUID } from '../../hooks';\nimport { StyledLabel } from '../Label';\nimport { calculateFontSize } from '../../styles';\n\nexport interface RadioCheckProps extends BaseProps, NoChildrenProp {\n /**\n * Sets DOM id for the control and associates label element via 'for' attribute.\n * If an id is not pass, a random id will be generated for any render.\n */\n id?: FormControlProps['id'];\n /** Pass a string or a fragment with an Icon and string. */\n label?: FormControlProps['label'];\n /** Indicate if the field is required. The browser defaults to false. */\n required?: FormControlProps['required'];\n /** Disable the control. The browser defaults to false. */\n disabled?: FormControlProps['disabled'];\n /** Makes the input non editable and non clickable. The browser defaults to false. */\n readOnly?: FormControlProps['readOnly'];\n /** Set visual state based on a validation state. */\n status?: FormControlProps['status'];\n /** Sets html name attribute for the underlying control. Useful for mapping to a data field. */\n name?: FormControlProps['name'];\n /** Sets the type of input. */\n type: 'radio' | 'checkbox';\n /** Sets checked prop via onChange when using as controlled component. */\n checked?: boolean;\n /** Initialize checked prop when using as uncontrolled component. */\n defaultChecked?: boolean;\n /**\n * Sets control to an an indeterminate state.\n * @default false\n */\n indeterminate?: boolean;\n /**\n * Controls the styling of the RadioCheck.\n * @default 'simple'\n */\n variant?: 'simple' | 'card';\n /** Callback function for onClick events. */\n onClick?: MouseEventHandler<HTMLInputElement>;\n /** Callback function for onKeyDown events. */\n onKeyDown?: KeyboardEventHandler<HTMLInputElement>;\n /** Ref forwarded to the underlying input. */\n ref?: Ref<HTMLInputElement>;\n}\n\nexport const StyledPseudoRadioCheck = styled.div<Pick<RadioCheckProps, 'readOnly' | 'status'>>(\n props => {\n const {\n theme: {\n base: {\n spacing,\n palette: { 'primary-background': primaryBackground }\n },\n components: {\n 'form-field': formField,\n 'radio-check': {\n size,\n 'touch-size': touchSize,\n 'background-color': backgroundColor,\n 'border-color': borderColor,\n 'border-width': borderWidth\n }\n }\n },\n status\n } = props;\n\n const useBorderColor = status === 'error' ? formField.error['status-color'] : borderColor;\n const useBackgroundColor =\n status && formField[status]\n ? tryCatch(() => mix(0.8, primaryBackground, formField[status]['status-color']))\n : backgroundColor;\n\n return css`\n display: flex;\n flex-shrink: 0;\n position: relative;\n width: ${size};\n height: ${size};\n margin-inline-end: calc(${spacing} / 2);\n border: ${borderWidth} solid ${useBorderColor};\n background-color: ${useBackgroundColor};\n\n @media (pointer: coarse) {\n width: ${touchSize};\n height: ${touchSize};\n }\n\n &::after {\n content: '';\n display: none;\n }\n `;\n }\n);\n\nStyledPseudoRadioCheck.defaultProps = defaultThemeProp;\n\nexport const StyledRadioCheckInput = styled.input(props => {\n const {\n theme: {\n base: { 'border-radius': baseBorderRadius },\n components: {\n 'form-control': {\n ':focus': { 'box-shadow': shadow, 'border-color': focusBorderColor },\n ':read-only': { 'background-color': readOnlyBackgroundColor }\n },\n 'radio-check': {\n ':checked': {\n 'background-color': checkedBackgroundColor,\n 'border-color': checkedBorderColor\n }\n },\n checkbox: { 'border-radius': checkRadius },\n 'radio-button': { 'border-radius': radioRadius }\n }\n }\n } = props;\n\n const backgroundColor = props.readOnly ? readOnlyBackgroundColor : checkedBackgroundColor;\n const foreground = tryCatch(() => readableColor(backgroundColor));\n\n const prcSelector = `+ ${StyledLabel} ${StyledPseudoRadioCheck}`;\n const { ltr } = useDirection();\n\n return css`\n ${hideVisually}\n\n ${!(props.disabled || props.readOnly) &&\n css`\n &:focus ${prcSelector} {\n box-shadow: ${shadow};\n border-color: ${focusBorderColor};\n }\n `}\n\n &:checked\n ${prcSelector},\n &:checked:disabled\n ${prcSelector},\n &[type='checkbox']:indeterminate\n ${prcSelector},\n &[type='checkbox']:indeterminate:disabled\n ${prcSelector} {\n border-color: ${props.readOnly ? 'inherit' : checkedBorderColor};\n background-color: ${backgroundColor};\n\n &::after {\n display: block;\n }\n }\n\n &[type='radio'] ${prcSelector}, &[type='radio'] ${prcSelector}::after {\n border-radius: ${radioRadius};\n }\n\n &[type='radio'] ${prcSelector}::after {\n margin: auto;\n width: 100%;\n height: 100%;\n background-color: ${foreground};\n transform: scale(0.4);\n }\n\n &[type='checkbox'] ${prcSelector} {\n border-radius: min(calc(${baseBorderRadius} * ${checkRadius}), 0.25rem);\n }\n\n &[type='checkbox']:not(:indeterminate) ${prcSelector} {\n &::after {\n width: 40%;\n height: 75%;\n ${ltr\n ? css`\n transform: rotate(45deg) translate(50%, -30%);\n `\n : css`\n transform: rotate(45deg) translate(-50%, 30%);\n `}\n border-right: 0.15em solid ${foreground};\n border-bottom: 0.15em solid ${foreground};\n }\n }\n\n &[type='checkbox']:indeterminate ${prcSelector} {\n display: flex;\n &::after {\n width: 90%;\n height: 0.15em;\n margin: auto;\n background-color: ${foreground};\n }\n }\n `;\n});\n\nStyledRadioCheckInput.defaultProps = defaultThemeProp;\n\nexport const StyledRadioCheck = styled.div<Pick<RadioCheckProps, 'disabled' | 'readOnly'>>(\n props => {\n const {\n disabled,\n readOnly,\n theme: {\n base,\n components: {\n 'radio-check': {\n label: { color: labelColor, 'font-weight': labelFontWeight }\n },\n 'form-control': {\n ':hover': { 'border-color': hoverBorderColor }\n }\n }\n }\n } = props;\n\n const fontSize = calculateFontSize(base['font-size'], base['font-scale']);\n\n return css`\n > ${StyledLabel} {\n cursor: pointer;\n display: flex;\n align-items: center;\n font-weight: ${labelFontWeight};\n word-break: break-word;\n font-size: ${fontSize.s};\n color: ${labelColor};\n margin: 0;\n min-height: ${base['hit-area']['mouse-min']};\n\n @media (pointer: coarse) {\n min-height: ${base['hit-area']['finger-min']};\n }\n }\n\n ${!(disabled || readOnly) &&\n css`\n &:not(:focus-within) > ${StyledLabel}:hover ${StyledPseudoRadioCheck} {\n border-color: ${hoverBorderColor};\n }\n `}\n `;\n }\n);\n\nStyledRadioCheck.defaultProps = defaultThemeProp;\n\nexport const StyledRadioCheckCard = styled.label<\n Pick<RadioCheckProps, 'disabled' | 'readOnly' | 'status'>\n>(\n ({\n disabled,\n readOnly,\n status,\n theme: {\n base: { palette, shadow, spacing },\n components: {\n card,\n 'form-field': formField,\n 'radio-check': { label },\n 'form-control': {\n ':hover': { 'border-color': hoverBorderColor }\n }\n }\n }\n }) => {\n const useBorderColor =\n status === 'error' ? formField.error['status-color'] : palette['border-line'];\n\n return css`\n min-width: min-content;\n align-items: start;\n cursor: pointer;\n background-color: ${card.background};\n border-radius: ${card['border-radius']};\n border: 0.0625rem solid ${useBorderColor};\n padding: ${spacing};\n\n ${disabled &&\n css`\n cursor: not-allowed;\n `}\n\n ${!(disabled || readOnly) &&\n css`\n :hover:not(:focus-within) {\n border-color: ${hoverBorderColor};\n ${StyledLabel} ${StyledPseudoRadioCheck} {\n border-color: ${hoverBorderColor};\n }\n }\n\n :focus-within {\n box-shadow: ${shadow.focus};\n border-color: transparent;\n }\n `}\n\n > ${StyledLabel} {\n display: grid;\n grid-template-columns: auto 1fr;\n color: ${label.color};\n font-weight: ${label['font-weight']};\n }\n `;\n }\n);\n\nStyledRadioCheckCard.defaultProps = defaultThemeProp;\n\nconst RadioCheck: FC<RadioCheckProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<RadioCheckProps>, ref: RadioCheckProps['ref']) => {\n const uid = useUID();\n const {\n type,\n id = uid,\n label,\n required = false,\n disabled = false,\n indeterminate = false,\n readOnly = false,\n variant = 'simple',\n onClick,\n onKeyDown,\n status,\n ...restProps\n } = props;\n\n const isRadio = type === 'radio';\n const card = variant === 'card';\n const newRef = useConsolidatedRef(ref);\n\n useEffect(() => {\n if (!isRadio && newRef.current) {\n newRef.current.indeterminate = !!indeterminate;\n }\n }, [newRef, indeterminate, isRadio]);\n\n return (\n <FormField\n as={card ? StyledRadioCheckCard : StyledRadioCheck}\n label={\n <>\n <StyledPseudoRadioCheck\n status={status}\n isRadio={isRadio}\n as={StyledFormControl}\n required={required}\n disabled={disabled}\n readOnly={readOnly}\n />\n {label}\n </>\n }\n labelAs={card ? 'div' : undefined}\n id={id}\n required={required}\n disabled={disabled}\n readOnly={readOnly}\n status={status}\n inline\n labelAfter\n >\n <StyledRadioCheckInput\n {...restProps}\n id={id}\n type={type}\n required={required}\n disabled={disabled}\n readOnly={readOnly}\n aria-readonly={readOnly}\n onClick={(e: MouseEvent<HTMLInputElement>) => {\n if (readOnly) e.preventDefault();\n\n onClick?.(e);\n }}\n onKeyDown={(e: KeyboardEvent<HTMLInputElement>) => {\n if (type === 'checkbox' && readOnly && e.key === ' ') {\n e.preventDefault();\n }\n if (type === 'radio' && readOnly && e.key.includes('Arrow')) {\n e.preventDefault();\n }\n\n onKeyDown?.(e);\n }}\n ref={newRef}\n />\n </FormField>\n );\n }\n);\n\nexport default RadioCheck;\n"]}
|
|
@@ -55,7 +55,7 @@ const RadioCheckGroup = forwardRef((props, ref) => {
|
|
|
55
55
|
disabled,
|
|
56
56
|
...restProps
|
|
57
57
|
}, children: _jsx(Grid, { ref: setOptionsEl, container: {
|
|
58
|
-
colGap:
|
|
58
|
+
colGap: 2,
|
|
59
59
|
rowGap: variant === 'card' ? 1 : 0,
|
|
60
60
|
cols: renderInline ? 'repeat(auto-fit, minmax(1ch, max-content))' : '1fr'
|
|
61
61
|
}, children: Children.map(children, child => cloneElement(child, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioCheckGroup.js","sourceRoot":"","sources":["../../../src/components/RadioCheckGroup/RadioCheckGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,UAAU,EAEV,QAAQ,EACR,YAAY,EAGZ,QAAQ,EACR,SAAS,EACT,MAAM,EACP,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,OAAO,SAA6B,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGzD,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AA6CjD,MAAM,YAAY,GAAG;IACnB,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,qBAAqB,GAAG,MAAM,CAAC,QAAQ,CAAA;;QAErC,eAAe;;;;CAItB,CAAC;AAEF,MAAM,eAAe,GAA4C,UAAU,CACzE,CAAC,KAA4C,EAAE,GAAgC,EAAE,EAAE;IACjF,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,MAAM,EACJ,QAAQ,EACR,IAAI,GAAG,GAAG,EACV,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,MAAM,GAAG,KAAK,EACd,SAAS,GAAG,IAAI,EAChB,OAAO,GAAG,QAAQ,EAClB,GAAG,SAAS,EACb,GAAG,KAAK,CAAC;IAEV,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,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\n Ref,\n forwardRef,\n PropsWithoutRef,\n Children,\n cloneElement,\n ReactElement,\n ChangeEvent,\n useState,\n useEffect,\n useRef\n} from 'react';\nimport styled from 'styled-components';\n\nimport { ForwardProps } from '../../types';\nimport FormField, { FormFieldProps } from '../FormField';\nimport { StyledFormField } from '../FormField/FormField';\nimport { FormControlProps } from '../FormControl';\nimport { RadioCheckProps } from '../RadioCheck';\nimport Grid from '../Grid';\nimport { useElement, useUID } from '../../hooks';\n\nexport interface RadioCheckGroupProps {\n /** Accepts Checkboxes or RadioButtons as children. */\n children: ReactElement | ReactElement[];\n /**\n * Conveniently pass an onChange handler to the group to be notified when any of the inputs change.\n * Additionally, onChange can be passed to individual children.\n * Both handlers will be called, child followed by group.\n */\n onChange?: (e: ChangeEvent<HTMLInputElement>) => void;\n /** Set visual state based on a validation state. */\n status?: FormControlProps['status'];\n /** Pass a string or a fragment with an Icon and string. */\n label?: FormControlProps['label'];\n /** Visually hides the label region. */\n labelHidden?: FormControlProps['labelHidden'];\n /** It is recommended to pass a simple string to offer guidance. Text will be styled based on status prop. */\n info?: FormControlProps['info'];\n /** Indicate if the field is required. The browser defaults to false. */\n required?: FormControlProps['required'];\n /** Disable the control. The browser defaults to false. */\n disabled?: FormControlProps['disabled'];\n /** Makes the input non editable and non clickable. The browser defaults to false. */\n readOnly?: FormControlProps['readOnly'];\n /**\n * Layout field elements inline in a row.\n * @default false\n */\n inline?: FormFieldProps['inline'];\n /** Used to toggle the auto stacking feature of an inlined group.\n * @default true\n */\n autoStack?: boolean;\n /** Sets html name attribute for the underlying control. Useful for mapping to a data field. */\n name?: FormControlProps['name'];\n /**\n * Controls the styling of the child RadioChecks.\n * @default 'simple'\n */\n variant?: RadioCheckProps['variant'];\n /** Ref forwarded to the wrapping element. */\n ref?: Ref<HTMLElement>;\n}\n\nconst defaultProps = {\n required: false,\n disabled: false\n};\n\nconst StyledRadioCheckGroup = styled.fieldset`\n &[disabled] {\n > ${StyledFormField} {\n opacity: unset;\n }\n }\n`;\n\nconst RadioCheckGroup: FC<RadioCheckGroupProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<RadioCheckGroupProps>, ref: RadioCheckGroupProps['ref']) => {\n const uid = useUID();\n const {\n children,\n name = uid,\n disabled,\n onChange,\n readOnly,\n inline = false,\n autoStack = true,\n variant = 'simple',\n ...restProps\n } = props;\n\n const [optionsEl, setOptionsEl] = useElement<HTMLDivElement>();\n const [renderInline, setRenderInline] = useState(inline);\n const renderInlineRef = useRef(inline);\n const minInlineWidth = useRef(0);\n\n useEffect(() => {\n if (inline && optionsEl && autoStack) {\n const intersectionObserver = new IntersectionObserver(\n entries => {\n if (entries[0].intersectionRatio < 1) {\n if (entries[0].rootBounds) minInlineWidth.current = entries[0].rootBounds.width + 1;\n renderInlineRef.current = false;\n setRenderInline(false);\n }\n },\n { root: optionsEl, threshold: 1 }\n );\n\n const resizeObserver = new ResizeObserver(entries => {\n if (!renderInlineRef.current && entries[0].contentRect.width > minInlineWidth.current) {\n renderInlineRef.current = true;\n setRenderInline(true);\n }\n });\n\n intersectionObserver.observe(optionsEl.lastChild as Element);\n resizeObserver.observe(optionsEl);\n\n return () => {\n intersectionObserver.disconnect();\n resizeObserver.disconnect();\n };\n }\n }, [optionsEl, inline, autoStack]);\n\n return (\n <FormField\n {...{\n as: StyledRadioCheckGroup,\n labelAs: 'legend',\n ref,\n name,\n disabled,\n ...restProps\n }}\n >\n <Grid\n ref={setOptionsEl}\n container={{\n colGap:
|
|
1
|
+
{"version":3,"file":"RadioCheckGroup.js","sourceRoot":"","sources":["../../../src/components/RadioCheckGroup/RadioCheckGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,UAAU,EAEV,QAAQ,EACR,YAAY,EAGZ,QAAQ,EACR,SAAS,EACT,MAAM,EACP,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,OAAO,SAA6B,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,M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AK,EAAE;gBAClB,IAAI;gBACJ,QAAQ,EAAE,QAAQ,IAAI,KAAK,CAAC,KAAK,CAAC,QAAQ;gBAC1C,QAAQ,EAAE,QAAQ,IAAI,KAAK,CAAC,KAAK,CAAC,QAAQ;gBAC1C,OAAO;gBACP,QAAQ,EAAE,QAAQ;oBAChB,CAAC,CAAC,CAAC,CAAgC,EAAE,EAAE;wBACnC,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;4BACvC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC;4BAC1B,QAAQ,CAAC,CAAC,CAAC,CAAC;yBACb;oBACH,CAAC;oBACH,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ;aACzB,CAAC,CACH,WACI,WACG,CACb,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG,YAAY,CAAC;AAE5C,eAAe,eAAe,CAAC","sourcesContent":["import {\n FC,\n Ref,\n forwardRef,\n PropsWithoutRef,\n Children,\n cloneElement,\n ReactElement,\n ChangeEvent,\n useState,\n useEffect,\n useRef\n} from 'react';\nimport styled from 'styled-components';\n\nimport { ForwardProps } from '../../types';\nimport FormField, { FormFieldProps } from '../FormField';\nimport { StyledFormField } from '../FormField/FormField';\nimport { FormControlProps } from '../FormControl';\nimport { RadioCheckProps } from '../RadioCheck';\nimport Grid from '../Grid';\nimport { useElement, useUID } from '../../hooks';\n\nexport interface RadioCheckGroupProps {\n /** Accepts Checkboxes or RadioButtons as children. */\n children: ReactElement | ReactElement[];\n /**\n * Conveniently pass an onChange handler to the group to be notified when any of the inputs change.\n * Additionally, onChange can be passed to individual children.\n * Both handlers will be called, child followed by group.\n */\n onChange?: (e: ChangeEvent<HTMLInputElement>) => void;\n /** Set visual state based on a validation state. */\n status?: FormControlProps['status'];\n /** Pass a string or a fragment with an Icon and string. */\n label?: FormControlProps['label'];\n /** Visually hides the label region. */\n labelHidden?: FormControlProps['labelHidden'];\n /** It is recommended to pass a simple string to offer guidance. Text will be styled based on status prop. */\n info?: FormControlProps['info'];\n /** Indicate if the field is required. The browser defaults to false. */\n required?: FormControlProps['required'];\n /** Disable the control. The browser defaults to false. */\n disabled?: FormControlProps['disabled'];\n /** Makes the input non editable and non clickable. The browser defaults to false. */\n readOnly?: FormControlProps['readOnly'];\n /**\n * Layout field elements inline in a row.\n * @default false\n */\n inline?: FormFieldProps['inline'];\n /** Used to toggle the auto stacking feature of an inlined group.\n * @default true\n */\n autoStack?: boolean;\n /** Sets html name attribute for the underlying control. Useful for mapping to a data field. */\n name?: FormControlProps['name'];\n /**\n * Controls the styling of the child RadioChecks.\n * @default 'simple'\n */\n variant?: RadioCheckProps['variant'];\n /** Ref forwarded to the wrapping element. */\n ref?: Ref<HTMLElement>;\n}\n\nconst defaultProps = {\n required: false,\n disabled: false\n};\n\nconst StyledRadioCheckGroup = styled.fieldset`\n &[disabled] {\n > ${StyledFormField} {\n opacity: unset;\n }\n }\n`;\n\nconst RadioCheckGroup: FC<RadioCheckGroupProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<RadioCheckGroupProps>, ref: RadioCheckGroupProps['ref']) => {\n const uid = useUID();\n const {\n children,\n name = uid,\n disabled,\n onChange,\n readOnly,\n inline = false,\n autoStack = true,\n variant = 'simple',\n ...restProps\n } = props;\n\n const [optionsEl, setOptionsEl] = useElement<HTMLDivElement>();\n const [renderInline, setRenderInline] = useState(inline);\n const renderInlineRef = useRef(inline);\n const minInlineWidth = useRef(0);\n\n useEffect(() => {\n if (inline && optionsEl && autoStack) {\n const intersectionObserver = new IntersectionObserver(\n entries => {\n if (entries[0].intersectionRatio < 1) {\n if (entries[0].rootBounds) minInlineWidth.current = entries[0].rootBounds.width + 1;\n renderInlineRef.current = false;\n setRenderInline(false);\n }\n },\n { root: optionsEl, threshold: 1 }\n );\n\n const resizeObserver = new ResizeObserver(entries => {\n if (!renderInlineRef.current && entries[0].contentRect.width > minInlineWidth.current) {\n renderInlineRef.current = true;\n setRenderInline(true);\n }\n });\n\n intersectionObserver.observe(optionsEl.lastChild as Element);\n resizeObserver.observe(optionsEl);\n\n return () => {\n intersectionObserver.disconnect();\n resizeObserver.disconnect();\n };\n }\n }, [optionsEl, inline, autoStack]);\n\n return (\n <FormField\n {...{\n as: StyledRadioCheckGroup,\n labelAs: 'legend',\n ref,\n name,\n disabled,\n ...restProps\n }}\n >\n <Grid\n ref={setOptionsEl}\n container={{\n colGap: 2,\n rowGap: variant === 'card' ? 1 : 0,\n cols: renderInline ? 'repeat(auto-fit, minmax(1ch, max-content))' : '1fr'\n }}\n >\n {Children.map(children, child =>\n cloneElement(child, {\n name,\n disabled: disabled || child.props.disabled,\n readOnly: readOnly || child.props.readOnly,\n variant,\n onChange: onChange\n ? (e: ChangeEvent<HTMLInputElement>) => {\n if (!(readOnly || child.props.readOnly)) {\n child.props.onChange?.(e);\n onChange(e);\n }\n }\n : child.props.onChange\n })\n )}\n </Grid>\n </FormField>\n );\n }\n);\n\nRadioCheckGroup.defaultProps = defaultProps;\n\nexport default RadioCheckGroup;\n"]}
|
package/lib/hooks/useArrows.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
1
|
+
import { RefObject, DependencyList } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* @example useArrows(ref, { cycle, selector });
|
|
4
4
|
* @param ref - A reference to the element that will be navigated through. [React RefObject](https://reactjs.org/docs/refs-and-the-dom.html)
|
|
@@ -7,6 +7,6 @@ declare const useArrows: (ref: RefObject<HTMLElement>, { cycle, selector, dir }?
|
|
|
7
7
|
cycle?: boolean | undefined;
|
|
8
8
|
selector?: string | undefined;
|
|
9
9
|
dir?: "up-down" | "left-right" | undefined;
|
|
10
|
-
}) => void;
|
|
10
|
+
}, dependencies?: DependencyList) => void;
|
|
11
11
|
export default useArrows;
|
|
12
12
|
//# sourceMappingURL=useArrows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArrows.d.ts","sourceRoot":"","sources":["../../src/hooks/useArrows.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useArrows.d.ts","sourceRoot":"","sources":["../../src/hooks/useArrows.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW1E;;;GAGG;AACH,QAAA,MAAM,SAAS,QACR,UAAU,WAAW,CAAC;;;;yCAqG5B,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/lib/hooks/useArrows.js
CHANGED
|
@@ -16,20 +16,27 @@ cycle = true,
|
|
|
16
16
|
/** A query selector that will determine which elements to cycle through with the arrow keys. The selector will be used in conjunction with [querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll#selectors). */
|
|
17
17
|
selector = focusable,
|
|
18
18
|
/** Which keys are used to navigate through the list */
|
|
19
|
-
dir = 'up-down' } = {}
|
|
19
|
+
dir = 'up-down' } = {},
|
|
20
|
+
/** Pass this prop in the internal dependencies when list is dynamic */
|
|
21
|
+
dependencies = []) => {
|
|
20
22
|
const [NextKey, PrevKey] = dir === 'up-down' ? ['ArrowDown', 'ArrowUp'] : ['ArrowRight', 'ArrowLeft'];
|
|
21
23
|
const setTabIndexes = useCallback((el) => {
|
|
22
24
|
// don't set tabindex -1 for first element, or an element with a checked input inside of it to be able to focus it
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
.
|
|
26
|
-
if (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
item
|
|
25
|
+
// 0 second timeout added because DOM needs to be up to date after list is updated before running query
|
|
26
|
+
setTimeout(() => {
|
|
27
|
+
const focusableElements = Array.from(el.querySelectorAll(selector));
|
|
28
|
+
if (focusableElements.length > 0) {
|
|
29
|
+
focusableElements[0].tabIndex = 0;
|
|
30
|
+
focusableElements.slice(1).forEach(item => {
|
|
31
|
+
if (item instanceof HTMLElement) {
|
|
32
|
+
const checked = item.checked;
|
|
33
|
+
if (!checked)
|
|
34
|
+
item.tabIndex = -1;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
30
37
|
}
|
|
31
|
-
});
|
|
32
|
-
}, [selector]);
|
|
38
|
+
}, 0);
|
|
39
|
+
}, [selector, ...dependencies]);
|
|
33
40
|
const listener = useCallback((e) => {
|
|
34
41
|
if (['Home', 'End', NextKey, PrevKey].includes(e.key))
|
|
35
42
|
e.preventDefault();
|
|
@@ -81,7 +88,7 @@ dir = 'up-down' } = {}) => {
|
|
|
81
88
|
return;
|
|
82
89
|
}
|
|
83
90
|
items[newFocusIdx].focus();
|
|
84
|
-
}, [ref.current, cycle, selector]);
|
|
91
|
+
}, [ref.current, cycle, selector, ...dependencies]);
|
|
85
92
|
useEffect(() => {
|
|
86
93
|
const el = ref.current;
|
|
87
94
|
if (!el)
|
|
@@ -91,7 +98,7 @@ dir = 'up-down' } = {}) => {
|
|
|
91
98
|
return () => {
|
|
92
99
|
el.removeEventListener('keydown', listener);
|
|
93
100
|
};
|
|
94
|
-
}, [ref.current, selector, listener]);
|
|
101
|
+
}, [ref.current, selector, listener, ...dependencies]);
|
|
95
102
|
};
|
|
96
103
|
export default useArrows;
|
|
97
104
|
//# sourceMappingURL=useArrows.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArrows.js","sourceRoot":"","sources":["../../src/hooks/useArrows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"useArrows.js","sourceRoot":"","sources":["../../src/hooks/useArrows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAA6B,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,SAAS,GAAG;;;;;CAKjB,CAAC;A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,CAAC,GAAG,KAAK,OAAO,EAAE;YAC5B,IAAI,QAAQ,KAAK,OAAO,EAAE;gBACxB,IAAI,CAAC,KAAK;oBAAE,OAAO;gBACnB,WAAW,GAAG,CAAC,CAAC;aACjB;iBAAM;gBACL,WAAW,GAAG,QAAQ,GAAG,CAAC,CAAC;aAC5B;SACF;aAAM,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE;YAC5B,IAAI,QAAQ,KAAK,CAAC,EAAE;gBAClB,IAAI,CAAC,KAAK;oBAAE,OAAO;gBACnB,WAAW,GAAG,OAAO,CAAC;aACvB;iBAAM;gBACL,WAAW,GAAG,QAAQ,GAAG,CAAC,CAAC;aAC5B;SACF;aAAM;YACL,OAAO;SACR;QAED,KAAK,CAAC,WAAW,CAAC,CAAC,KAAK,EAAE,CAAC;IAC7B,CAAC,EACD,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC,CAChD,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE;YAAE,OAAO;QAEhB,aAAa,CAAC,EAAE,CAAC,CAAC;QAClB,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAEzC,OAAO,GAAG,EAAE;YACV,EAAE,CAAC,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAC9C,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC,CAAC,CAAC;AACzD,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["import { useEffect, useCallback, RefObject, DependencyList } from 'react';\n\nimport { documentIsAvailable } from '../utils';\n\nconst focusable = `\n a[href],\n button:enabled,\n input[type='checkbox']:enabled,\n input[type='radio']:enabled\n`;\n\n/**\n * @example useArrows(ref, { cycle, selector });\n * @param ref - A reference to the element that will be navigated through. [React RefObject](https://reactjs.org/docs/refs-and-the-dom.html)\n */\nconst useArrows = (\n ref: RefObject<HTMLElement>,\n {\n /** If true, the down or up arrow key will navigate to the first or last element if the element currently focused is the last or first index of the selected elements. */\n cycle = true,\n /** A query selector that will determine which elements to cycle through with the arrow keys. The selector will be used in conjunction with [querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll#selectors). */\n selector = focusable,\n /** Which keys are used to navigate through the list */\n dir = 'up-down'\n }: { cycle?: boolean; selector?: string; dir?: 'up-down' | 'left-right' } = {},\n /** Pass this prop in the internal dependencies when list is dynamic */\n dependencies: DependencyList = []\n) => {\n const [NextKey, PrevKey] =\n dir === 'up-down' ? ['ArrowDown', 'ArrowUp'] : ['ArrowRight', 'ArrowLeft'];\n\n const setTabIndexes = useCallback(\n (el: HTMLElement) => {\n // don't set tabindex -1 for first element, or an element with a checked input inside of it to be able to focus it\n\n // 0 second timeout added because DOM needs to be up to date after list is updated before running query\n setTimeout(() => {\n const focusableElements = Array.from(el.querySelectorAll(selector));\n\n if (focusableElements.length > 0) {\n (focusableElements[0] as HTMLElement).tabIndex = 0;\n focusableElements.slice(1).forEach(item => {\n if (item instanceof HTMLElement) {\n const checked = (item as HTMLInputElement).checked;\n if (!checked) item.tabIndex = -1;\n }\n });\n }\n }, 0);\n },\n [selector, ...dependencies]\n );\n\n const listener = useCallback(\n (e: KeyboardEvent) => {\n if (['Home', 'End', NextKey, PrevKey].includes(e.key)) e.preventDefault();\n\n if (!documentIsAvailable) return;\n\n const el = ref.current;\n if (!el) return;\n\n const items = Array.from(el.querySelectorAll(selector)).filter(\n (item): item is HTMLElement => item instanceof HTMLElement\n );\n\n if (!items.length) return;\n\n const rootNode = el.getRootNode();\n\n if (!(rootNode instanceof Document) && !(rootNode instanceof ShadowRoot)) return;\n\n const focusIdx = items.indexOf(rootNode.activeElement as HTMLElement);\n const lastIdx = items.length - 1;\n let newFocusIdx;\n\n if (e.key === 'Home' || (e.key === NextKey && focusIdx === -1)) {\n newFocusIdx = 0;\n } else if (e.key === 'End' || (e.key === PrevKey && focusIdx === -1)) {\n newFocusIdx = lastIdx;\n } else if (e.key === 'Enter') {\n setTabIndexes(el);\n return;\n } else if (e.key === NextKey) {\n if (focusIdx === lastIdx) {\n if (!cycle) return;\n newFocusIdx = 0;\n } else {\n newFocusIdx = focusIdx + 1;\n }\n } else if (e.key === PrevKey) {\n if (focusIdx === 0) {\n if (!cycle) return;\n newFocusIdx = lastIdx;\n } else {\n newFocusIdx = focusIdx - 1;\n }\n } else {\n return;\n }\n\n items[newFocusIdx].focus();\n },\n [ref.current, cycle, selector, ...dependencies]\n );\n\n useEffect(() => {\n const el = ref.current;\n if (!el) return;\n\n setTabIndexes(el);\n el.addEventListener('keydown', listener);\n\n return () => {\n el.removeEventListener('keydown', listener);\n };\n }, [ref.current, selector, listener, ...dependencies]);\n};\n\nexport default useArrows;\n"]}
|
package/lib/hooks/useI18n.d.ts
CHANGED
|
@@ -318,11 +318,14 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
318
318
|
dial_pad_keyboard: string;
|
|
319
319
|
dial_pad_phone_number_input_label: string;
|
|
320
320
|
dial_pad_call_button_label: string;
|
|
321
|
+
select_multiple: string;
|
|
321
322
|
dismiss_case: string;
|
|
322
323
|
task_manager_add_task: string;
|
|
323
324
|
task_manager_wrap_up: string;
|
|
324
325
|
task_manager_tasks: string;
|
|
325
326
|
add_tasks: string;
|
|
327
|
+
open_tasks: string;
|
|
328
|
+
resolved_tasks: string;
|
|
326
329
|
selected_tasks: string;
|
|
327
330
|
no_selected_tasks: string;
|
|
328
331
|
task_picker_close: string;
|
|
@@ -586,6 +589,9 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
586
589
|
dev_mode: string;
|
|
587
590
|
expand_navigation: string;
|
|
588
591
|
collapse_navigation: string;
|
|
592
|
+
branch_with_no_changes: string;
|
|
593
|
+
branch_with_no_potential_conflicts: string;
|
|
594
|
+
branch_with_potential_conflicts: string;
|
|
589
595
|
parallel: string;
|
|
590
596
|
stage: string;
|
|
591
597
|
alternate_stage: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/lib/i18n/default.d.ts
CHANGED
|
@@ -314,11 +314,14 @@ declare const _default: {
|
|
|
314
314
|
dial_pad_keyboard: string;
|
|
315
315
|
dial_pad_phone_number_input_label: string;
|
|
316
316
|
dial_pad_call_button_label: string;
|
|
317
|
+
select_multiple: string;
|
|
317
318
|
dismiss_case: string;
|
|
318
319
|
task_manager_add_task: string;
|
|
319
320
|
task_manager_wrap_up: string;
|
|
320
321
|
task_manager_tasks: string;
|
|
321
322
|
add_tasks: string;
|
|
323
|
+
open_tasks: string;
|
|
324
|
+
resolved_tasks: string;
|
|
322
325
|
selected_tasks: string;
|
|
323
326
|
no_selected_tasks: string;
|
|
324
327
|
task_picker_close: string;
|
|
@@ -582,6 +585,9 @@ declare const _default: {
|
|
|
582
585
|
dev_mode: string;
|
|
583
586
|
expand_navigation: string;
|
|
584
587
|
collapse_navigation: string;
|
|
588
|
+
branch_with_no_changes: string;
|
|
589
|
+
branch_with_no_potential_conflicts: string;
|
|
590
|
+
branch_with_potential_conflicts: string;
|
|
585
591
|
parallel: string;
|
|
586
592
|
stage: string;
|
|
587
593
|
alternate_stage: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/i18n/default.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/i18n/default.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwrBE"}
|
package/lib/i18n/default.js
CHANGED
|
@@ -355,15 +355,18 @@ export default {
|
|
|
355
355
|
dial_pad_phone_number_input_label: 'Phone number input',
|
|
356
356
|
dial_pad_call_button_label: 'Call {0}',
|
|
357
357
|
/* cs:TaskManager */
|
|
358
|
+
select_multiple: 'Select multiple',
|
|
358
359
|
dismiss_case: 'Dismiss case',
|
|
359
360
|
task_manager_add_task: 'Add task',
|
|
360
361
|
task_manager_wrap_up: 'Wrap up',
|
|
361
362
|
task_manager_tasks: 'Tasks',
|
|
362
363
|
add_tasks: 'Add tasks',
|
|
364
|
+
open_tasks: 'Open tasks',
|
|
365
|
+
resolved_tasks: 'Resolved tasks',
|
|
363
366
|
selected_tasks: 'Selected tasks',
|
|
364
367
|
no_selected_tasks: 'No selected tasks',
|
|
365
368
|
task_picker_close: 'Close task picker',
|
|
366
|
-
task_manager_overflow_menu: '
|
|
369
|
+
task_manager_overflow_menu: 'All tasks',
|
|
367
370
|
go_label: 'Go',
|
|
368
371
|
go_label_a11y: 'Go to {0}',
|
|
369
372
|
continue_label: 'Continue',
|
|
@@ -627,6 +630,10 @@ export default {
|
|
|
627
630
|
dev_mode: 'Dev mode',
|
|
628
631
|
expand_navigation: 'Expand navigation',
|
|
629
632
|
collapse_navigation: 'Collapse navigation',
|
|
633
|
+
/* build:BranchButton */
|
|
634
|
+
branch_with_no_changes: '{0} with no changes',
|
|
635
|
+
branch_with_no_potential_conflicts: '{0} with no potential conflicts and {1} unmerged changes',
|
|
636
|
+
branch_with_potential_conflicts: '{0} with potential conflicts',
|
|
630
637
|
/* build:Lifecycle */
|
|
631
638
|
parallel: 'Parallel',
|
|
632
639
|
stage: 'Stage',
|
package/lib/i18n/default.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.js","sourceRoot":"","sources":["../../src/i18n/default.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gFAAgF;IAChF,6BAA6B;IAC7B,gFAAgF;IAEhF,0CAA0C;IAC1C,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,eAAe,EAAE,iBAAiB;IAClC,0BAA0B,EAAE,SAAS;IAErC,WAAW;IACX,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IAEZ,sBAAsB;IACtB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,qBAAqB,EAAE,aAAa;IACpC,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IAEtB,yBAAyB;IACzB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBA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AqB;QAC1B,GAAG,EAAE,qBAAqB;QAC1B,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,qBAAqB;KAC7B;IACD,qCAAqC,EAAE;QACrC,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,kBAAkB;QACvB,GAAG,EAAE,uBAAuB;QAC5B,GAAG,EAAE,uBAAuB;QAC5B,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,uBAAuB;KAC/B;IACD,kCAAkC,EAAE;QAClC,IAAI,EAAE,cAAc;QACpB,GAAG,EAAE,eAAe;QACpB,GAAG,EAAE,oBAAoB;QACzB,GAAG,EAAE,oBAAoB;QACzB,IAAI,EAAE,oBAAoB;QAC1B,KAAK,EAAE,oBAAoB;KAC5B;IACD,mCAAmC,EAAE,aAAa;IAClD,kCAAkC,EAAE,MAAM;IAC1C,qCAAqC,EAAE,SAAS;IAChD,sCAAsC,EAAE,UAAU;IAClD,kCAAkC,EAAE,MAAM;IAC1C,6BAA6B,EAAE,OAAO;IAEtC,oBAAoB;IACpB,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,qBAAqB;IAE1C,qBAAqB;IACrB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,eAAe,EAAE,iBAAiB;IAClC,wBAAwB,EAAE,oBAAoB;IAC9C,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,WAAW;IACtB,mBAAmB,EAAE,qBAAqB;IAE1C,wBAAwB;IACxB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAE5B,qBAAqB;IACrB,UAAU,EAAE,YAAY;CACzB,CAAC","sourcesContent":["export default {\n // -----------------------------------------------------------------------------\n // Common translation entries\n // -----------------------------------------------------------------------------\n\n /* Nouns, Types, Terms, Phrases, etc... */\n filters: 'Filters',\n actions: 'Actions',\n status: 'Status',\n additional_info: 'Additional info',\n search_placeholder_default: 'Search…',\n\n /* Verbs */\n remove: 'Remove',\n follow: 'Follow',\n unfollow: 'Unfollow',\n add: 'Add',\n cancel: 'Cancel',\n try_again: 'Try again',\n update: 'Update',\n submit: 'Submit',\n edit: 'Edit',\n preview: 'Preview',\n delete: 'Delete',\n close: 'Close',\n activate: 'Activate',\n expand: 'Expand',\n collapse: 'Collapse',\n accept: 'Accept',\n clear: 'Clear',\n use: 'Use',\n undo: 'Undo',\n redo: 'Redo',\n\n /* Static verb noun */\n view_all: 'View all',\n view_less: 'View less',\n show_more: 'Show more',\n show_less: 'Show less',\n clear_all: 'Clear all',\n link_open_in_tab_text: 'Open in tab',\n edit_details: 'Edit details',\n add_emoji: 'Add emoji',\n\n /* Dynamic verb {noun} */\n close_noun: 'Close: {0}',\n view_all_noun: 'View all: {0}',\n view_less_noun: 'View less: {0}',\n expand_noun: 'Expand: {0}',\n add_noun: 'Add: {0}',\n collapse_noun: 'Collapse: {0}',\n checked_noun: '{0}: checked',\n selected_noun: '{0}: selected',\n deselected_noun: '{0}: unselected',\n use_input_value: 'Use {0}',\n preview_of_noun: 'Preview of: {0}',\n\n /* States */\n edited: 'Edited',\n done: 'Done',\n uploading: 'Uploading',\n loading: 'Loading…',\n submitting: 'Submitting…',\n no_items: 'No items',\n unknown_error: 'Unknown error',\n image_load_error: 'Error loading image',\n selected: 'Selected',\n\n /* Date and time */\n day_label_a11y: 'Day',\n day_placeholder: 'DD',\n quarter_label_a11y: 'Quarter',\n month_label_a11y: 'Month',\n month_placeholder: 'MM',\n year_label_a11y: 'Year',\n year_placeholder: 'YYYY',\n hour_label_a11y: 'Hour',\n hour_placeholder: 'hh',\n minute_label_a11y: 'Minute',\n minute_placeholder: 'mm',\n second_label_a11y: 'Second',\n second_placeholder: 'ss',\n meridiem_label_a11y: 'Meridiem',\n meridiem_value_am: 'AM',\n meridiem_value_pm: 'PM',\n week_label_a11y: 'Week',\n week_placeholder: 'ww',\n week_text: 'Week',\n seconds_text: 'Seconds',\n minutes_text: 'Minutes',\n hours_text: 'Hours',\n days_text: 'Days',\n time_text: 'Time',\n time_format_info: 'hh:mm:ss',\n week_text_short: 'Wk',\n day_text_short: 'd',\n hour_text_short: 'h',\n minute_text_short: 'm',\n second_text_short: 's',\n date_quarter_q1: 'Q1 {0}',\n date_quarter_q2: 'Q2 {0}',\n date_quarter_q3: 'Q3 {0}',\n date_quarter_q4: 'Q4 {0}',\n\n /* Count based types */\n attachments_count: {\n zero: 'No attachments',\n one: '{0} attachment',\n two: '{0} attachments',\n few: '{0} attachments',\n many: '{0} attachments',\n other: '{0} attachments'\n },\n results_count: {\n zero: 'No results',\n one: '{0} result',\n two: '{0} results',\n few: '{0} results',\n many: '{0} results',\n other: '{0} results'\n },\n new_emails_count: {\n zero: 'No new emails',\n one: '{0} new email',\n two: '{0} new emails',\n few: '{0} new emails',\n many: '{0} new emails',\n other: '{0} new emails'\n },\n\n /* Pagination */\n pagination_page_of: 'Page {0} of {1}',\n pagination_next: 'Next',\n pagination_prev: 'Previous',\n\n /* Miscellaneous */\n x_of_y: '{0} of {1}',\n\n // -----------------------------------------------------------------------------\n // {pkg}:{ComponentDir} entries\n // -----------------------------------------------------------------------------\n\n /* core:Link */\n preview_link_arrow_navigation: 'Arrow left or right for link options',\n\n /* core:SkipLinks */\n go_to_main_content: 'Go to main content',\n\n /* core:AppShell */\n app_shell_create: 'Create',\n app_shell_open_nav: 'Open navigation menu',\n\n /* core:ComboBox */\n combobox_open_close: 'Arrow down to open, press escape to close.',\n combobox_search_instructions: 'Start typing to search',\n combobox_open_list_button_a11y: 'Open combobox list',\n combobox_close_list_button_a11y: 'Close combobox list',\n\n /* core:Menu */\n menu_selection_instructions: 'Press enter to select items.',\n menu_item_expand_arrow: 'Arrow right to expand.',\n menu_item_collapse_arrow: 'Arrow left to collapse.',\n menu_item_collapse_shift_space: 'Press shift space to collapse.',\n menu_item_shift_space_expand_collapse: 'Press shift space to expand and collapse.',\n\n /* core:Modal */\n modal_minimize: 'Minimize modal',\n modal_maximize: 'Maximize modal',\n modal_dock: 'Dock Modal',\n modal_close: 'Close modal',\n\n /* core:Datetime */\n selected_date_a11y: 'Selected date:',\n open_calendar_button_a11y: 'Open calendar',\n close_calendar_button_a11y: 'Close calendar',\n open_time_button_a11y: 'Open time picker',\n close_time_button_a11y: 'Close time picker',\n picker_next_month: 'Next month',\n picker_prev_month: 'Previous month',\n picker_jump_to_month: 'Jump to month',\n calendar_assist: 'Use cursor keys to navigate dates',\n\n /* core:Boolean */\n boolean_display_true_label: 'Yes',\n boolean_display_false_label: 'No',\n\n /* core:Number */\n measured_in: 'measured in {0}',\n number_increment_value_by: 'Increment value by {0}',\n number_decrement_value_by: 'Decrement value by {0}',\n\n /* core:Banner */\n banner_dismiss_button_label_a11y: 'Dismiss banner',\n\n /* core:File */\n file_upload_text_main: 'Drag and drop or {0}',\n file_upload_text_one: 'choose file',\n file_upload_text_multiple: 'choose files',\n\n /* core:Location */\n my_current_location_button_a11y: 'Use my current location',\n location_input_placeholder: 'Enter a location',\n location_not_found_text: 'Location not found',\n allow_location_permissions_text:\n 'To get current location, allow location permissions for this app',\n\n /* work:CaseView */\n utilities_summary: 'Utilities summary',\n expand_summary_panel: 'Expand summary panel',\n collapse_summary_panel: 'Collapse summary panel',\n expand_utilities_panel: 'Expand utilities panel',\n collapse_utilities_panel: 'Collapse utilities panel',\n\n /* work:CasePreview */\n close_preview: 'Close preview',\n\n /* work:Confirmation */\n confirmation_details: 'Details',\n confirmation_whats_next: \"What's next\",\n confirmation_open_tasks: 'Open tasks',\n\n /* work:Stakeholders */\n add_stakeholders: 'Add stakeholder',\n edit_stakeholder: 'Edit stakeholder',\n view_stakeholders: 'Stakeholders',\n stakeholders_role: 'Role',\n stakeholders: {\n zero: '{0} stakeholders',\n one: '{0} stakeholder',\n two: '{0} stakeholders',\n few: '{0} stakeholders',\n many: '{0} stakeholders',\n other: '{0} stakeholders'\n },\n\n /* work:Tags */\n edit_tags: 'Edit tags',\n tags: 'Tags',\n\n /* work:AppAnnouncement */\n app_announcement_dismiss_button_label_a11y: 'Hide until next update',\n app_announcement_details_list_header: 'Announcements',\n app_announcement_whats_new_button_label: \"See what's new\",\n\n /* rte:RichTextEditor */\n rte_heading_style: 'Heading style',\n rte_bold: 'Bold',\n rte_italic: 'Italic',\n rte_strike_through: 'Strike-through',\n rte_cut: 'Cut',\n rte_copy: 'Copy',\n rte_paste: 'Paste',\n rte_bulleted_list: 'Bulleted list',\n rte_numbered_list: 'Numbered list',\n rte_indent: 'Indent',\n rte_unindent: 'Unindent',\n rte_table: 'Table',\n rte_anchor: 'Anchor',\n rte_image: 'Image',\n rte_invalid_html: 'Invalid HTML',\n rte_invalid_url: 'Invalid URL',\n rte_change_text_format: 'Change text format to',\n rte_toggle_unordered_list: 'Toggle unordered list',\n rte_indent_selection: 'Indent selection',\n rte_unindent_selection: 'Unindent selection',\n rte_toolbar_instructions: 'Hit tab to enter the editor toolbar',\n rte_text_formatting_toolbar: 'Text formatting toolbar',\n\n /* social:Feed */\n feed_new_post: 'New post',\n feed_cancel_conversation: 'Cancel conversation',\n feed_context: 'in {0}',\n feed_liked_by: 'Liked by {0}',\n feed_likes: 'Likes',\n feed_private_post: 'Private post',\n feed_public_post: 'Public post',\n feed_recipients: 'Recipients',\n feed_edit_post: 'Edit post',\n feed_post_likes: {\n zero: 'No likes',\n one: '{0} like',\n two: '{0} likes',\n few: '{0} likes',\n many: '{0} likes',\n other: '{0} likes'\n },\n feed_attachments_added: {\n zero: 'No attachments added',\n one: '{0} attachment added',\n two: '{0} attachments added',\n few: '{0} attachments added',\n many: '{0} attachments added',\n other: '{0} attachments added'\n },\n feed_attachments_removed: {\n zero: 'No attachments removed',\n one: '{0} attachment removed',\n two: '{0} attachments removed',\n few: '{0} attachments removed',\n many: '{0} attachments removed',\n other: '{0} attachments removed'\n },\n feed_post_liked: 'Post has been liked',\n feed_post_deliked: 'Post has been deliked',\n feed_post_removed: 'Post has been removed',\n feed_reply_removed: 'Reply has been removed',\n showing_num_of_num: 'Showing {0} of {1}',\n\n /* cs:Chat */\n scroll_to_latest_message: 'Scroll to latest message',\n scroll_to_unread_messages: 'Scroll to unread messages',\n suggested_replies_current_of_total: 'Suggested replies {0} of {1}',\n confidence_percentage: '{0}% confidence',\n next_suggested_reply: 'Next suggested reply',\n prev_suggested_reply: 'Previous suggested reply',\n dismiss_suggested_replies: 'Dismiss suggested replies',\n\n /* cs:Email */\n more_count: '{0} more…',\n empty_search: 'Enter a search term',\n new_messages: 'New messages',\n earlier_transcripts: 'Earlier transcripts',\n send_label: 'Send',\n enter_message: 'Enter message',\n download: 'Download',\n close_chat_utility: 'Close chat utility',\n subject: 'Subject',\n to: 'To',\n from: 'From',\n cc: 'Cc',\n bcc: 'Bcc',\n date: 'Date',\n reply: 'Reply',\n reply_all: 'Reply all',\n auto_reply: 'Auto-Reply',\n forward: 'Forward',\n email: 'Email',\n email_message: 'Email message',\n email_filters: 'Email filters',\n unread_email_count: 'unread email count is {0}',\n priority: 'Priority',\n inbox: 'Inbox',\n insert: 'Insert',\n email_add_attachment: 'Add attachment, the maximum number of attachments allowed is {0}.',\n email_disable_attachment:\n 'Adding attachments are disabled, the maximum number of attachments allowed is {0}.',\n email_remove_attachment: 'Remove attachment',\n\n /* cs:ArticleList */\n article_list_label_a11y: 'Article list',\n article_list_filter_label_a11y: 'Article lists filter',\n article_list_header_submit_label: 'Submit',\n\n /* cs:CallControlPanel */\n call_panel_heading: 'Pega call',\n call_panel_make_new_call: 'Make new call',\n call_panel_agent_status: 'Status',\n call_panel_pause_call_menu_item: 'Pause call',\n call_panel_resume_call_menu_item: 'Resume call',\n call_panel_mute_mic_menu_item: 'Mute microphone',\n call_panel_unmute_mic_menu_item: 'Unmute microphone',\n call_panel_call_on_hold: 'On hold {0}',\n call_panel_consult_call_menu_item: 'Consult',\n call_panel_transfer_call_menu_item: 'Transfer',\n call_panel_send_dtmf_menu_item: 'Send DTMF',\n call_panel_conference_call_menu_item: 'Conference',\n call_panel_hangup_call_menu_item: 'Hang up',\n call_panel_contacts_add_to_favorites: 'Add to favorites',\n call_panel_contacts_remove_from_favorites: 'Remove from favorites',\n call_panel_contacts_call_button_label: 'Call',\n call_panel_contacts_list_heading: 'Contacts',\n call_panel_contacts_favorites_heading: 'Favorites',\n call_panel_contacts_dial_pad_heading: 'Dial pad',\n call_panel_new_call_heading: 'New call',\n call_panel_consult_with_heading: 'Consult with',\n call_panel_conference_heading: 'Conference',\n call_panel_transfer_button_label: 'Transfer',\n call_panel_transfer_call_heading: 'Transfer call',\n call_panel_transfer_reason_label: 'Reason',\n call_panel_transfer_to_label: 'Transfer to',\n call_panel_transfer_comments_label: 'Comments',\n call_panel_transfer_call_option_label: 'Call option',\n call_panel_transfer_call_only_option: 'Call only',\n call_panel_transfer_call_and_interaction_option: 'Call and interaction',\n call_panel_merge_call_menu_item: 'Merge',\n call_panel_send_dtmf_heading: 'Send DTMF',\n call_panel_expand: 'Expand call control panel',\n call_panel_collapse: 'Collapse call control panel',\n\n /* cs:DialPad */\n dial_pad_keyboard: 'Dial pad keyboard',\n dial_pad_phone_number_input_label: 'Phone number input',\n dial_pad_call_button_label: 'Call {0}',\n\n /* cs:TaskManager */\n dismiss_case: 'Dismiss case',\n task_manager_add_task: 'Add task',\n task_manager_wrap_up: 'Wrap up',\n task_manager_tasks: 'Tasks',\n add_tasks: 'Add tasks',\n selected_tasks: 'Selected tasks',\n no_selected_tasks: 'No selected tasks',\n task_picker_close: 'Close task picker',\n task_manager_overflow_menu: 'Menu for added tasks',\n go_label: 'Go',\n go_label_a11y: 'Go to {0}',\n continue_label: 'Continue',\n continue_label_a11y: 'Continue with {0}',\n review_label: 'Review',\n review_label_a11y: 'Review {0}',\n dismiss_label: 'Dismiss',\n dismiss_label_a11y: 'Dismiss {0}',\n task_manager_search_results_empty_text: 'No tasks',\n task_manager_delete_task: 'Delete {0}',\n search_tasks: 'Search tasks…',\n task_manager_picker_add_label: {\n zero: 'No items to add',\n one: 'Add {0} new item',\n two: 'Add {0} new item',\n few: 'Add {0} new item',\n many: 'Add {0} new item',\n other: 'Add {0} new item'\n },\n\n /* cs:Sentiment */\n sentiment_positive: 'Positive',\n sentiment_negative: 'Negative',\n sentiment_neutral: 'Neutral',\n\n /* cs:IntelligentGuidance */\n expand_intelligent_guidance_button_a11y: 'Expand intelligent guidance',\n collapse_intelligent_guidance_button_a11y: 'Collapse intelligent guidance',\n no_recommendations: 'No recommendations',\n\n /* condition-builder:ConditionBuilder */\n condition_builder_advanced_condition_label: 'Advanced condition',\n condition_builder_advanced_condition_placeholder: 'Advanced condition',\n condition_builder_advanced_mode_button_label: 'Advanced mode',\n condition_builder_basic_mode_button_label: 'Basic mode',\n condition_builder_condition_select_info_default: 'No selection',\n condition_builder_possible_values_label: 'Values',\n condition_builder_selection_text_default: 'Select values',\n condition_builder_submit_button_label: 'Submit',\n condition_builder_add_button_label: 'Add new condition',\n condition_builder_remove_button_label: 'Remove condition',\n condition_builder_switch_banner_text:\n 'Switching from Advanced mode can reset all AND/OR/NOT operators. Do you want to continue?',\n condition_builder_confirm_button_label: 'OK',\n condition_builder_empty_selection_error_text: 'No selection',\n condition_builder_compare_with: 'Compare with',\n condition_builder_compare_with_another_field: 'Another field',\n condition_builder_compare_with_relative_date: 'Relative date',\n condition_builder_compare_with_text_value: 'Text value',\n condition_builder_compare_with_numeric_value: 'Numeric value',\n condition_builder_compare_with_date_value: 'Date value',\n condition_builder_compare_with_time_value: 'Time value',\n condition_builder_invalid_time_period: 'Invalid time period',\n condition_builder_invalid_relative_date: 'Invalid relative date',\n condition_builder_invalid_value: 'Invalid value',\n condition_builder_invalid_number: 'Invalid number',\n condition_builder_date_function_year: 'Year',\n condition_builder_date_function_quarter: 'Quarter',\n condition_builder_select_placeholder: 'Select…',\n condition_builder_day_number_of_month: {\n zero: '{0}th day of the month',\n one: '{0}st day of the month',\n two: '{0}nd day of the month',\n few: '{0}rd day of the month',\n many: '{0}th day of the month',\n other: '{0}th day of the month'\n },\n condition_builder_date_function_month: 'Month',\n condition_builder_date_function_week: 'Week',\n condition_builder_date_function_day: 'Day',\n condition_builder_date_function_hour: 'Hour',\n condition_builder_date_function_month_of_year: 'Month of year',\n condition_builder_date_function_day_of_month: 'Day of month',\n condition_builder_date_function_day_of_week: 'Day of week',\n condition_builder_date_part: 'Date part',\n condition_builder_relative_dates_minute: 'Minute(s)',\n condition_builder_relative_dates_hour: 'Hour(s)',\n condition_builder_relative_dates_day: 'Day(s)',\n condition_builder_relative_dates_week: 'Week(s)',\n condition_builder_relative_dates_month: 'Month(s)',\n condition_builder_relative_dates_quarter: 'Quarter(s)',\n condition_builder_relative_dates_year: 'Year(s)',\n condition_builder_current_minute: 'Current minute',\n condition_builder_current_hour: 'Current hour',\n condition_builder_current_day: 'Current day',\n condition_builder_current_week: 'Current week',\n condition_builder_current_month: 'Current month',\n condition_builder_current_quarter: 'Current quarter',\n condition_builder_current_year: 'Current year',\n condition_builder_last_X_minutes: {\n zero: 'Current minute',\n one: 'Last minute',\n two: 'Last {0} minutes',\n few: 'Last {0} minutes',\n many: 'Last {0} minutes',\n other: 'Last {0} minutes'\n },\n condition_builder_last_X_hours: {\n zero: 'Current hour',\n one: 'Last hour',\n two: 'Last {0} hours',\n few: 'Last {0} hours',\n many: 'Last {0} hours',\n other: 'Last {0} hours'\n },\n condition_builder_last_X_days: {\n zero: 'Current day',\n one: 'Last day',\n two: 'Last {0} days',\n few: 'Last {0} days',\n many: 'Last {0} days',\n other: 'Last {0} days'\n },\n condition_builder_last_X_weeks: {\n zero: 'Current week',\n one: 'Last week',\n two: 'Last {0} weeks',\n few: 'Last {0} weeks',\n many: 'Last {0} weeks',\n other: 'Last {0} weeks'\n },\n condition_builder_last_X_months: {\n zero: 'Current month',\n one: 'Last month',\n two: 'Last {0} months',\n few: 'Last {0} months',\n many: 'Last {0} months',\n other: 'Last {0} months'\n },\n condition_builder_last_X_quarters: {\n zero: 'Current quarter',\n one: 'Last quarter',\n two: 'Last {0} quarters',\n few: 'Last {0} quarters',\n many: 'Last {0} quarters',\n other: 'Last {0} quarters'\n },\n condition_builder_last_X_years: {\n zero: 'Current year',\n one: 'Last year',\n two: 'Last {0} years',\n few: 'Last {0} years',\n many: 'Last {0} years',\n other: 'Last {0} years'\n },\n condition_builder_next_X_minutes: {\n zero: 'Current minute',\n one: 'Next minute',\n two: 'Next {0} minutes',\n few: 'Next {0} minutes',\n many: 'Next {0} minutes',\n other: 'Next {0} minutes'\n },\n condition_builder_next_X_hours: {\n zero: 'Current hour',\n one: 'Next hour',\n two: 'Next {0} hours',\n few: 'Next {0} hours',\n many: 'Next {0} hours',\n other: 'Next {0} hours'\n },\n condition_builder_next_X_days: {\n zero: 'Current day',\n one: 'Next day',\n two: 'Next {0} days',\n few: 'Next {0} days',\n many: 'Next {0} days',\n other: 'Next {0} days'\n },\n condition_builder_next_X_weeks: {\n zero: 'Current week',\n one: 'Next week',\n two: 'Next {0} weeks',\n few: 'Next {0} weeks',\n many: 'Next {0} weeks',\n other: 'Next {0} weeks'\n },\n condition_builder_next_X_months: {\n zero: 'Current month',\n one: 'Next month',\n two: 'Next {0} months',\n few: 'Next {0} months',\n many: 'Next {0} months',\n other: 'Next {0} months'\n },\n condition_builder_next_X_quarters: {\n zero: 'Current quarter',\n one: 'Next quarter',\n two: 'Next {0} quarters',\n few: 'Next {0} quarters',\n many: 'Next {0} quarters',\n other: 'Next {0} quarters'\n },\n condition_builder_next_X_years: {\n zero: 'Current year',\n one: 'Next year',\n two: 'Next {0} years',\n few: 'Next {0} years',\n many: 'Next {0} years',\n other: 'Next {0} years'\n },\n condition_builder_previous_X_minutes: {\n zero: 'Current minute',\n one: 'Previous minute',\n two: 'Previous {0} minutes',\n few: 'Previous {0} minutes',\n many: 'Previous {0} minutes',\n other: 'Previous {0} minutes'\n },\n condition_builder_previous_X_hours: {\n zero: 'Current hour',\n one: 'Previous hour',\n two: 'Previous {0} hours',\n few: 'Previous {0} hours',\n many: 'Previous {0} hours',\n other: 'Previous {0} hours'\n },\n condition_builder_previous_X_days: {\n zero: 'Current day',\n one: 'Previous day',\n two: 'Previous {0} days',\n few: 'Previous {0} days',\n many: 'Previous {0} days',\n other: 'Previous {0} days'\n },\n condition_builder_previous_X_weeks: {\n zero: 'Current week',\n one: 'Previous week',\n two: 'Previous {0} weeks',\n few: 'Previous {0} weeks',\n many: 'Previous {0} weeks',\n other: 'Previous {0} weeks'\n },\n condition_builder_previous_X_months: {\n zero: 'Current month',\n one: 'Previous month',\n two: 'Previous {0} months',\n few: 'Previous {0} months',\n many: 'Previous {0} months',\n other: 'Previous {0} months'\n },\n condition_builder_previous_X_quarters: {\n zero: 'Current quarter',\n one: 'Previous quarter',\n two: 'Previous {0} quarters',\n few: 'Previous {0} quarters',\n many: 'Previous {0} quarters',\n other: 'Previous {0} quarters'\n },\n condition_builder_previous_X_years: {\n zero: 'Current year',\n one: 'Previous year',\n two: 'Previous {0} years',\n few: 'Previous {0} years',\n many: 'Previous {0} years',\n other: 'Previous {0} years'\n },\n condition_builder_time_period_label: 'Time period',\n condition_builder_time_period_last: 'Last',\n condition_builder_time_period_current: 'Current',\n condition_builder_time_period_previous: 'Previous',\n condition_builder_time_period_next: 'Next',\n condition_builder_value_label: 'Value',\n\n /* build:AppShell */\n dev_mode: 'Dev mode',\n expand_navigation: 'Expand navigation',\n collapse_navigation: 'Collapse navigation',\n\n /* build:Lifecycle */\n parallel: 'Parallel',\n stage: 'Stage',\n alternate_stage: 'Alternate stage',\n stage_see_full_lifecycle: 'See full lifecycle',\n lifecycle: '{0} lifecycle',\n add_stage: 'Add stage',\n add_alternate_stage: 'Add alternate stage',\n\n /* build:FlowModeller */\n add_node: 'Add node',\n search_nodes: 'Search nodes',\n\n /* build:Workbench */\n zoom_level: 'Zoom level'\n};\n"]}
|
|
1
|
+
{"version":3,"file":"default.js","sourceRoot":"","sources":["../../src/i18n/default.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gFAAgF;IAChF,6BAA6B;IAC7B,gFAAgF;IAEhF,0CAA0C;IAC1C,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,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uB;KAC/B;IACD,kCAAkC,EAAE;QAClC,IAAI,EAAE,cAAc;QACpB,GAAG,EAAE,eAAe;QACpB,GAAG,EAAE,oBAAoB;QACzB,GAAG,EAAE,oBAAoB;QACzB,IAAI,EAAE,oBAAoB;QAC1B,KAAK,EAAE,oBAAoB;KAC5B;IACD,mCAAmC,EAAE,aAAa;IAClD,kCAAkC,EAAE,MAAM;IAC1C,qCAAqC,EAAE,SAAS;IAChD,sCAAsC,EAAE,UAAU;IAClD,kCAAkC,EAAE,MAAM;IAC1C,6BAA6B,EAAE,OAAO;IAEtC,oBAAoB;IACpB,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,qBAAqB;IAE1C,wBAAwB;IACxB,sBAAsB,EAAE,qBAAqB;IAC7C,kCAAkC,EAAE,0DAA0D;IAC9F,+BAA+B,EAAE,8BAA8B;IAE/D,qBAAqB;IACrB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,eAAe,EAAE,iBAAiB;IAClC,wBAAwB,EAAE,oBAAoB;IAC9C,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,WAAW;IACtB,mBAAmB,EAAE,qBAAqB;IAE1C,wBAAwB;IACxB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAE5B,qBAAqB;IACrB,UAAU,EAAE,YAAY;CACzB,CAAC","sourcesContent":["export default {\n // -----------------------------------------------------------------------------\n // Common translation entries\n // -----------------------------------------------------------------------------\n\n /* Nouns, Types, Terms, Phrases, etc... */\n filters: 'Filters',\n actions: 'Actions',\n status: 'Status',\n additional_info: 'Additional info',\n search_placeholder_default: 'Search…',\n\n /* Verbs */\n remove: 'Remove',\n follow: 'Follow',\n unfollow: 'Unfollow',\n add: 'Add',\n cancel: 'Cancel',\n try_again: 'Try again',\n update: 'Update',\n submit: 'Submit',\n edit: 'Edit',\n preview: 'Preview',\n delete: 'Delete',\n close: 'Close',\n activate: 'Activate',\n expand: 'Expand',\n collapse: 'Collapse',\n accept: 'Accept',\n clear: 'Clear',\n use: 'Use',\n undo: 'Undo',\n redo: 'Redo',\n\n /* Static verb noun */\n view_all: 'View all',\n view_less: 'View less',\n show_more: 'Show more',\n show_less: 'Show less',\n clear_all: 'Clear all',\n link_open_in_tab_text: 'Open in tab',\n edit_details: 'Edit details',\n add_emoji: 'Add emoji',\n\n /* Dynamic verb {noun} */\n close_noun: 'Close: {0}',\n view_all_noun: 'View all: {0}',\n view_less_noun: 'View less: {0}',\n expand_noun: 'Expand: {0}',\n add_noun: 'Add: {0}',\n collapse_noun: 'Collapse: {0}',\n checked_noun: '{0}: checked',\n selected_noun: '{0}: selected',\n deselected_noun: '{0}: unselected',\n use_input_value: 'Use {0}',\n preview_of_noun: 'Preview of: {0}',\n\n /* States */\n edited: 'Edited',\n done: 'Done',\n uploading: 'Uploading',\n loading: 'Loading…',\n submitting: 'Submitting…',\n no_items: 'No items',\n unknown_error: 'Unknown error',\n image_load_error: 'Error loading image',\n selected: 'Selected',\n\n /* Date and time */\n day_label_a11y: 'Day',\n day_placeholder: 'DD',\n quarter_label_a11y: 'Quarter',\n month_label_a11y: 'Month',\n month_placeholder: 'MM',\n year_label_a11y: 'Year',\n year_placeholder: 'YYYY',\n hour_label_a11y: 'Hour',\n hour_placeholder: 'hh',\n minute_label_a11y: 'Minute',\n minute_placeholder: 'mm',\n second_label_a11y: 'Second',\n second_placeholder: 'ss',\n meridiem_label_a11y: 'Meridiem',\n meridiem_value_am: 'AM',\n meridiem_value_pm: 'PM',\n week_label_a11y: 'Week',\n week_placeholder: 'ww',\n week_text: 'Week',\n seconds_text: 'Seconds',\n minutes_text: 'Minutes',\n hours_text: 'Hours',\n days_text: 'Days',\n time_text: 'Time',\n time_format_info: 'hh:mm:ss',\n week_text_short: 'Wk',\n day_text_short: 'd',\n hour_text_short: 'h',\n minute_text_short: 'm',\n second_text_short: 's',\n date_quarter_q1: 'Q1 {0}',\n date_quarter_q2: 'Q2 {0}',\n date_quarter_q3: 'Q3 {0}',\n date_quarter_q4: 'Q4 {0}',\n\n /* Count based types */\n attachments_count: {\n zero: 'No attachments',\n one: '{0} attachment',\n two: '{0} attachments',\n few: '{0} attachments',\n many: '{0} attachments',\n other: '{0} attachments'\n },\n results_count: {\n zero: 'No results',\n one: '{0} result',\n two: '{0} results',\n few: '{0} results',\n many: '{0} results',\n other: '{0} results'\n },\n new_emails_count: {\n zero: 'No new emails',\n one: '{0} new email',\n two: '{0} new emails',\n few: '{0} new emails',\n many: '{0} new emails',\n other: '{0} new emails'\n },\n\n /* Pagination */\n pagination_page_of: 'Page {0} of {1}',\n pagination_next: 'Next',\n pagination_prev: 'Previous',\n\n /* Miscellaneous */\n x_of_y: '{0} of {1}',\n\n // -----------------------------------------------------------------------------\n // {pkg}:{ComponentDir} entries\n // -----------------------------------------------------------------------------\n\n /* core:Link */\n preview_link_arrow_navigation: 'Arrow left or right for link options',\n\n /* core:SkipLinks */\n go_to_main_content: 'Go to main content',\n\n /* core:AppShell */\n app_shell_create: 'Create',\n app_shell_open_nav: 'Open navigation menu',\n\n /* core:ComboBox */\n combobox_open_close: 'Arrow down to open, press escape to close.',\n combobox_search_instructions: 'Start typing to search',\n combobox_open_list_button_a11y: 'Open combobox list',\n combobox_close_list_button_a11y: 'Close combobox list',\n\n /* core:Menu */\n menu_selection_instructions: 'Press enter to select items.',\n menu_item_expand_arrow: 'Arrow right to expand.',\n menu_item_collapse_arrow: 'Arrow left to collapse.',\n menu_item_collapse_shift_space: 'Press shift space to collapse.',\n menu_item_shift_space_expand_collapse: 'Press shift space to expand and collapse.',\n\n /* core:Modal */\n modal_minimize: 'Minimize modal',\n modal_maximize: 'Maximize modal',\n modal_dock: 'Dock Modal',\n modal_close: 'Close modal',\n\n /* core:Datetime */\n selected_date_a11y: 'Selected date:',\n open_calendar_button_a11y: 'Open calendar',\n close_calendar_button_a11y: 'Close calendar',\n open_time_button_a11y: 'Open time picker',\n close_time_button_a11y: 'Close time picker',\n picker_next_month: 'Next month',\n picker_prev_month: 'Previous month',\n picker_jump_to_month: 'Jump to month',\n calendar_assist: 'Use cursor keys to navigate dates',\n\n /* core:Boolean */\n boolean_display_true_label: 'Yes',\n boolean_display_false_label: 'No',\n\n /* core:Number */\n measured_in: 'measured in {0}',\n number_increment_value_by: 'Increment value by {0}',\n number_decrement_value_by: 'Decrement value by {0}',\n\n /* core:Banner */\n banner_dismiss_button_label_a11y: 'Dismiss banner',\n\n /* core:File */\n file_upload_text_main: 'Drag and drop or {0}',\n file_upload_text_one: 'choose file',\n file_upload_text_multiple: 'choose files',\n\n /* core:Location */\n my_current_location_button_a11y: 'Use my current location',\n location_input_placeholder: 'Enter a location',\n location_not_found_text: 'Location not found',\n allow_location_permissions_text:\n 'To get current location, allow location permissions for this app',\n\n /* work:CaseView */\n utilities_summary: 'Utilities summary',\n expand_summary_panel: 'Expand summary panel',\n collapse_summary_panel: 'Collapse summary panel',\n expand_utilities_panel: 'Expand utilities panel',\n collapse_utilities_panel: 'Collapse utilities panel',\n\n /* work:CasePreview */\n close_preview: 'Close preview',\n\n /* work:Confirmation */\n confirmation_details: 'Details',\n confirmation_whats_next: \"What's next\",\n confirmation_open_tasks: 'Open tasks',\n\n /* work:Stakeholders */\n add_stakeholders: 'Add stakeholder',\n edit_stakeholder: 'Edit stakeholder',\n view_stakeholders: 'Stakeholders',\n stakeholders_role: 'Role',\n stakeholders: {\n zero: '{0} stakeholders',\n one: '{0} stakeholder',\n two: '{0} stakeholders',\n few: '{0} stakeholders',\n many: '{0} stakeholders',\n other: '{0} stakeholders'\n },\n\n /* work:Tags */\n edit_tags: 'Edit tags',\n tags: 'Tags',\n\n /* work:AppAnnouncement */\n app_announcement_dismiss_button_label_a11y: 'Hide until next update',\n app_announcement_details_list_header: 'Announcements',\n app_announcement_whats_new_button_label: \"See what's new\",\n\n /* rte:RichTextEditor */\n rte_heading_style: 'Heading style',\n rte_bold: 'Bold',\n rte_italic: 'Italic',\n rte_strike_through: 'Strike-through',\n rte_cut: 'Cut',\n rte_copy: 'Copy',\n rte_paste: 'Paste',\n rte_bulleted_list: 'Bulleted list',\n rte_numbered_list: 'Numbered list',\n rte_indent: 'Indent',\n rte_unindent: 'Unindent',\n rte_table: 'Table',\n rte_anchor: 'Anchor',\n rte_image: 'Image',\n rte_invalid_html: 'Invalid HTML',\n rte_invalid_url: 'Invalid URL',\n rte_change_text_format: 'Change text format to',\n rte_toggle_unordered_list: 'Toggle unordered list',\n rte_indent_selection: 'Indent selection',\n rte_unindent_selection: 'Unindent selection',\n rte_toolbar_instructions: 'Hit tab to enter the editor toolbar',\n rte_text_formatting_toolbar: 'Text formatting toolbar',\n\n /* social:Feed */\n feed_new_post: 'New post',\n feed_cancel_conversation: 'Cancel conversation',\n feed_context: 'in {0}',\n feed_liked_by: 'Liked by {0}',\n feed_likes: 'Likes',\n feed_private_post: 'Private post',\n feed_public_post: 'Public post',\n feed_recipients: 'Recipients',\n feed_edit_post: 'Edit post',\n feed_post_likes: {\n zero: 'No likes',\n one: '{0} like',\n two: '{0} likes',\n few: '{0} likes',\n many: '{0} likes',\n other: '{0} likes'\n },\n feed_attachments_added: {\n zero: 'No attachments added',\n one: '{0} attachment added',\n two: '{0} attachments added',\n few: '{0} attachments added',\n many: '{0} attachments added',\n other: '{0} attachments added'\n },\n feed_attachments_removed: {\n zero: 'No attachments removed',\n one: '{0} attachment removed',\n two: '{0} attachments removed',\n few: '{0} attachments removed',\n many: '{0} attachments removed',\n other: '{0} attachments removed'\n },\n feed_post_liked: 'Post has been liked',\n feed_post_deliked: 'Post has been deliked',\n feed_post_removed: 'Post has been removed',\n feed_reply_removed: 'Reply has been removed',\n showing_num_of_num: 'Showing {0} of {1}',\n\n /* cs:Chat */\n scroll_to_latest_message: 'Scroll to latest message',\n scroll_to_unread_messages: 'Scroll to unread messages',\n suggested_replies_current_of_total: 'Suggested replies {0} of {1}',\n confidence_percentage: '{0}% confidence',\n next_suggested_reply: 'Next suggested reply',\n prev_suggested_reply: 'Previous suggested reply',\n dismiss_suggested_replies: 'Dismiss suggested replies',\n\n /* cs:Email */\n more_count: '{0} more…',\n empty_search: 'Enter a search term',\n new_messages: 'New messages',\n earlier_transcripts: 'Earlier transcripts',\n send_label: 'Send',\n enter_message: 'Enter message',\n download: 'Download',\n close_chat_utility: 'Close chat utility',\n subject: 'Subject',\n to: 'To',\n from: 'From',\n cc: 'Cc',\n bcc: 'Bcc',\n date: 'Date',\n reply: 'Reply',\n reply_all: 'Reply all',\n auto_reply: 'Auto-Reply',\n forward: 'Forward',\n email: 'Email',\n email_message: 'Email message',\n email_filters: 'Email filters',\n unread_email_count: 'unread email count is {0}',\n priority: 'Priority',\n inbox: 'Inbox',\n insert: 'Insert',\n email_add_attachment: 'Add attachment, the maximum number of attachments allowed is {0}.',\n email_disable_attachment:\n 'Adding attachments are disabled, the maximum number of attachments allowed is {0}.',\n email_remove_attachment: 'Remove attachment',\n\n /* cs:ArticleList */\n article_list_label_a11y: 'Article list',\n article_list_filter_label_a11y: 'Article lists filter',\n article_list_header_submit_label: 'Submit',\n\n /* cs:CallControlPanel */\n call_panel_heading: 'Pega call',\n call_panel_make_new_call: 'Make new call',\n call_panel_agent_status: 'Status',\n call_panel_pause_call_menu_item: 'Pause call',\n call_panel_resume_call_menu_item: 'Resume call',\n call_panel_mute_mic_menu_item: 'Mute microphone',\n call_panel_unmute_mic_menu_item: 'Unmute microphone',\n call_panel_call_on_hold: 'On hold {0}',\n call_panel_consult_call_menu_item: 'Consult',\n call_panel_transfer_call_menu_item: 'Transfer',\n call_panel_send_dtmf_menu_item: 'Send DTMF',\n call_panel_conference_call_menu_item: 'Conference',\n call_panel_hangup_call_menu_item: 'Hang up',\n call_panel_contacts_add_to_favorites: 'Add to favorites',\n call_panel_contacts_remove_from_favorites: 'Remove from favorites',\n call_panel_contacts_call_button_label: 'Call',\n call_panel_contacts_list_heading: 'Contacts',\n call_panel_contacts_favorites_heading: 'Favorites',\n call_panel_contacts_dial_pad_heading: 'Dial pad',\n call_panel_new_call_heading: 'New call',\n call_panel_consult_with_heading: 'Consult with',\n call_panel_conference_heading: 'Conference',\n call_panel_transfer_button_label: 'Transfer',\n call_panel_transfer_call_heading: 'Transfer call',\n call_panel_transfer_reason_label: 'Reason',\n call_panel_transfer_to_label: 'Transfer to',\n call_panel_transfer_comments_label: 'Comments',\n call_panel_transfer_call_option_label: 'Call option',\n call_panel_transfer_call_only_option: 'Call only',\n call_panel_transfer_call_and_interaction_option: 'Call and interaction',\n call_panel_merge_call_menu_item: 'Merge',\n call_panel_send_dtmf_heading: 'Send DTMF',\n call_panel_expand: 'Expand call control panel',\n call_panel_collapse: 'Collapse call control panel',\n\n /* cs:DialPad */\n dial_pad_keyboard: 'Dial pad keyboard',\n dial_pad_phone_number_input_label: 'Phone number input',\n dial_pad_call_button_label: 'Call {0}',\n\n /* cs:TaskManager */\n select_multiple: 'Select multiple',\n dismiss_case: 'Dismiss case',\n task_manager_add_task: 'Add task',\n task_manager_wrap_up: 'Wrap up',\n task_manager_tasks: 'Tasks',\n add_tasks: 'Add tasks',\n open_tasks: 'Open tasks',\n resolved_tasks: 'Resolved tasks',\n selected_tasks: 'Selected tasks',\n no_selected_tasks: 'No selected tasks',\n task_picker_close: 'Close task picker',\n task_manager_overflow_menu: 'All tasks',\n go_label: 'Go',\n go_label_a11y: 'Go to {0}',\n continue_label: 'Continue',\n continue_label_a11y: 'Continue with {0}',\n review_label: 'Review',\n review_label_a11y: 'Review {0}',\n dismiss_label: 'Dismiss',\n dismiss_label_a11y: 'Dismiss {0}',\n task_manager_search_results_empty_text: 'No tasks',\n task_manager_delete_task: 'Delete {0}',\n search_tasks: 'Search tasks…',\n task_manager_picker_add_label: {\n zero: 'No items to add',\n one: 'Add {0} new item',\n two: 'Add {0} new item',\n few: 'Add {0} new item',\n many: 'Add {0} new item',\n other: 'Add {0} new item'\n },\n\n /* cs:Sentiment */\n sentiment_positive: 'Positive',\n sentiment_negative: 'Negative',\n sentiment_neutral: 'Neutral',\n\n /* cs:IntelligentGuidance */\n expand_intelligent_guidance_button_a11y: 'Expand intelligent guidance',\n collapse_intelligent_guidance_button_a11y: 'Collapse intelligent guidance',\n no_recommendations: 'No recommendations',\n\n /* condition-builder:ConditionBuilder */\n condition_builder_advanced_condition_label: 'Advanced condition',\n condition_builder_advanced_condition_placeholder: 'Advanced condition',\n condition_builder_advanced_mode_button_label: 'Advanced mode',\n condition_builder_basic_mode_button_label: 'Basic mode',\n condition_builder_condition_select_info_default: 'No selection',\n condition_builder_possible_values_label: 'Values',\n condition_builder_selection_text_default: 'Select values',\n condition_builder_submit_button_label: 'Submit',\n condition_builder_add_button_label: 'Add new condition',\n condition_builder_remove_button_label: 'Remove condition',\n condition_builder_switch_banner_text:\n 'Switching from Advanced mode can reset all AND/OR/NOT operators. Do you want to continue?',\n condition_builder_confirm_button_label: 'OK',\n condition_builder_empty_selection_error_text: 'No selection',\n condition_builder_compare_with: 'Compare with',\n condition_builder_compare_with_another_field: 'Another field',\n condition_builder_compare_with_relative_date: 'Relative date',\n condition_builder_compare_with_text_value: 'Text value',\n condition_builder_compare_with_numeric_value: 'Numeric value',\n condition_builder_compare_with_date_value: 'Date value',\n condition_builder_compare_with_time_value: 'Time value',\n condition_builder_invalid_time_period: 'Invalid time period',\n condition_builder_invalid_relative_date: 'Invalid relative date',\n condition_builder_invalid_value: 'Invalid value',\n condition_builder_invalid_number: 'Invalid number',\n condition_builder_date_function_year: 'Year',\n condition_builder_date_function_quarter: 'Quarter',\n condition_builder_select_placeholder: 'Select…',\n condition_builder_day_number_of_month: {\n zero: '{0}th day of the month',\n one: '{0}st day of the month',\n two: '{0}nd day of the month',\n few: '{0}rd day of the month',\n many: '{0}th day of the month',\n other: '{0}th day of the month'\n },\n condition_builder_date_function_month: 'Month',\n condition_builder_date_function_week: 'Week',\n condition_builder_date_function_day: 'Day',\n condition_builder_date_function_hour: 'Hour',\n condition_builder_date_function_month_of_year: 'Month of year',\n condition_builder_date_function_day_of_month: 'Day of month',\n condition_builder_date_function_day_of_week: 'Day of week',\n condition_builder_date_part: 'Date part',\n condition_builder_relative_dates_minute: 'Minute(s)',\n condition_builder_relative_dates_hour: 'Hour(s)',\n condition_builder_relative_dates_day: 'Day(s)',\n condition_builder_relative_dates_week: 'Week(s)',\n condition_builder_relative_dates_month: 'Month(s)',\n condition_builder_relative_dates_quarter: 'Quarter(s)',\n condition_builder_relative_dates_year: 'Year(s)',\n condition_builder_current_minute: 'Current minute',\n condition_builder_current_hour: 'Current hour',\n condition_builder_current_day: 'Current day',\n condition_builder_current_week: 'Current week',\n condition_builder_current_month: 'Current month',\n condition_builder_current_quarter: 'Current quarter',\n condition_builder_current_year: 'Current year',\n condition_builder_last_X_minutes: {\n zero: 'Current minute',\n one: 'Last minute',\n two: 'Last {0} minutes',\n few: 'Last {0} minutes',\n many: 'Last {0} minutes',\n other: 'Last {0} minutes'\n },\n condition_builder_last_X_hours: {\n zero: 'Current hour',\n one: 'Last hour',\n two: 'Last {0} hours',\n few: 'Last {0} hours',\n many: 'Last {0} hours',\n other: 'Last {0} hours'\n },\n condition_builder_last_X_days: {\n zero: 'Current day',\n one: 'Last day',\n two: 'Last {0} days',\n few: 'Last {0} days',\n many: 'Last {0} days',\n other: 'Last {0} days'\n },\n condition_builder_last_X_weeks: {\n zero: 'Current week',\n one: 'Last week',\n two: 'Last {0} weeks',\n few: 'Last {0} weeks',\n many: 'Last {0} weeks',\n other: 'Last {0} weeks'\n },\n condition_builder_last_X_months: {\n zero: 'Current month',\n one: 'Last month',\n two: 'Last {0} months',\n few: 'Last {0} months',\n many: 'Last {0} months',\n other: 'Last {0} months'\n },\n condition_builder_last_X_quarters: {\n zero: 'Current quarter',\n one: 'Last quarter',\n two: 'Last {0} quarters',\n few: 'Last {0} quarters',\n many: 'Last {0} quarters',\n other: 'Last {0} quarters'\n },\n condition_builder_last_X_years: {\n zero: 'Current year',\n one: 'Last year',\n two: 'Last {0} years',\n few: 'Last {0} years',\n many: 'Last {0} years',\n other: 'Last {0} years'\n },\n condition_builder_next_X_minutes: {\n zero: 'Current minute',\n one: 'Next minute',\n two: 'Next {0} minutes',\n few: 'Next {0} minutes',\n many: 'Next {0} minutes',\n other: 'Next {0} minutes'\n },\n condition_builder_next_X_hours: {\n zero: 'Current hour',\n one: 'Next hour',\n two: 'Next {0} hours',\n few: 'Next {0} hours',\n many: 'Next {0} hours',\n other: 'Next {0} hours'\n },\n condition_builder_next_X_days: {\n zero: 'Current day',\n one: 'Next day',\n two: 'Next {0} days',\n few: 'Next {0} days',\n many: 'Next {0} days',\n other: 'Next {0} days'\n },\n condition_builder_next_X_weeks: {\n zero: 'Current week',\n one: 'Next week',\n two: 'Next {0} weeks',\n few: 'Next {0} weeks',\n many: 'Next {0} weeks',\n other: 'Next {0} weeks'\n },\n condition_builder_next_X_months: {\n zero: 'Current month',\n one: 'Next month',\n two: 'Next {0} months',\n few: 'Next {0} months',\n many: 'Next {0} months',\n other: 'Next {0} months'\n },\n condition_builder_next_X_quarters: {\n zero: 'Current quarter',\n one: 'Next quarter',\n two: 'Next {0} quarters',\n few: 'Next {0} quarters',\n many: 'Next {0} quarters',\n other: 'Next {0} quarters'\n },\n condition_builder_next_X_years: {\n zero: 'Current year',\n one: 'Next year',\n two: 'Next {0} years',\n few: 'Next {0} years',\n many: 'Next {0} years',\n other: 'Next {0} years'\n },\n condition_builder_previous_X_minutes: {\n zero: 'Current minute',\n one: 'Previous minute',\n two: 'Previous {0} minutes',\n few: 'Previous {0} minutes',\n many: 'Previous {0} minutes',\n other: 'Previous {0} minutes'\n },\n condition_builder_previous_X_hours: {\n zero: 'Current hour',\n one: 'Previous hour',\n two: 'Previous {0} hours',\n few: 'Previous {0} hours',\n many: 'Previous {0} hours',\n other: 'Previous {0} hours'\n },\n condition_builder_previous_X_days: {\n zero: 'Current day',\n one: 'Previous day',\n two: 'Previous {0} days',\n few: 'Previous {0} days',\n many: 'Previous {0} days',\n other: 'Previous {0} days'\n },\n condition_builder_previous_X_weeks: {\n zero: 'Current week',\n one: 'Previous week',\n two: 'Previous {0} weeks',\n few: 'Previous {0} weeks',\n many: 'Previous {0} weeks',\n other: 'Previous {0} weeks'\n },\n condition_builder_previous_X_months: {\n zero: 'Current month',\n one: 'Previous month',\n two: 'Previous {0} months',\n few: 'Previous {0} months',\n many: 'Previous {0} months',\n other: 'Previous {0} months'\n },\n condition_builder_previous_X_quarters: {\n zero: 'Current quarter',\n one: 'Previous quarter',\n two: 'Previous {0} quarters',\n few: 'Previous {0} quarters',\n many: 'Previous {0} quarters',\n other: 'Previous {0} quarters'\n },\n condition_builder_previous_X_years: {\n zero: 'Current year',\n one: 'Previous year',\n two: 'Previous {0} years',\n few: 'Previous {0} years',\n many: 'Previous {0} years',\n other: 'Previous {0} years'\n },\n condition_builder_time_period_label: 'Time period',\n condition_builder_time_period_last: 'Last',\n condition_builder_time_period_current: 'Current',\n condition_builder_time_period_previous: 'Previous',\n condition_builder_time_period_next: 'Next',\n condition_builder_value_label: 'Value',\n\n /* build:AppShell */\n dev_mode: 'Dev mode',\n expand_navigation: 'Expand navigation',\n collapse_navigation: 'Collapse navigation',\n\n /* build:BranchButton */\n branch_with_no_changes: '{0} with no changes',\n branch_with_no_potential_conflicts: '{0} with no potential conflicts and {1} unmerged changes',\n branch_with_potential_conflicts: '{0} with potential conflicts',\n\n /* build:Lifecycle */\n parallel: 'Parallel',\n stage: 'Stage',\n alternate_stage: 'Alternate stage',\n stage_see_full_lifecycle: 'See full lifecycle',\n lifecycle: '{0} lifecycle',\n add_stage: 'Add stage',\n add_alternate_stage: 'Add alternate stage',\n\n /* build:FlowModeller */\n add_node: 'Add node',\n search_nodes: 'Search nodes',\n\n /* build:Workbench */\n zoom_level: 'Zoom level'\n};\n"]}
|
package/lib/i18n/i18n.d.ts
CHANGED
|
@@ -317,11 +317,14 @@ declare const create: (translations?: Partial<{
|
|
|
317
317
|
dial_pad_keyboard: string;
|
|
318
318
|
dial_pad_phone_number_input_label: string;
|
|
319
319
|
dial_pad_call_button_label: string;
|
|
320
|
+
select_multiple: string;
|
|
320
321
|
dismiss_case: string;
|
|
321
322
|
task_manager_add_task: string;
|
|
322
323
|
task_manager_wrap_up: string;
|
|
323
324
|
task_manager_tasks: string;
|
|
324
325
|
add_tasks: string;
|
|
326
|
+
open_tasks: string;
|
|
327
|
+
resolved_tasks: string;
|
|
325
328
|
selected_tasks: string;
|
|
326
329
|
no_selected_tasks: string;
|
|
327
330
|
task_picker_close: string;
|
|
@@ -585,6 +588,9 @@ declare const create: (translations?: Partial<{
|
|
|
585
588
|
dev_mode: string;
|
|
586
589
|
expand_navigation: string;
|
|
587
590
|
collapse_navigation: string;
|
|
591
|
+
branch_with_no_changes: string;
|
|
592
|
+
branch_with_no_potential_conflicts: string;
|
|
593
|
+
branch_with_potential_conflicts: string;
|
|
588
594
|
parallel: string;
|
|
589
595
|
stage: string;
|
|
590
596
|
alternate_stage: string;
|
|
@@ -913,11 +919,14 @@ export declare const DefaultTranslation: Readonly<Readonly<{
|
|
|
913
919
|
dial_pad_keyboard: string;
|
|
914
920
|
dial_pad_phone_number_input_label: string;
|
|
915
921
|
dial_pad_call_button_label: string;
|
|
922
|
+
select_multiple: string;
|
|
916
923
|
dismiss_case: string;
|
|
917
924
|
task_manager_add_task: string;
|
|
918
925
|
task_manager_wrap_up: string;
|
|
919
926
|
task_manager_tasks: string;
|
|
920
927
|
add_tasks: string;
|
|
928
|
+
open_tasks: string;
|
|
929
|
+
resolved_tasks: string;
|
|
921
930
|
selected_tasks: string;
|
|
922
931
|
no_selected_tasks: string;
|
|
923
932
|
task_picker_close: string;
|
|
@@ -1181,6 +1190,9 @@ export declare const DefaultTranslation: Readonly<Readonly<{
|
|
|
1181
1190
|
dev_mode: string;
|
|
1182
1191
|
expand_navigation: string;
|
|
1183
1192
|
collapse_navigation: string;
|
|
1193
|
+
branch_with_no_changes: string;
|
|
1194
|
+
branch_with_no_potential_conflicts: string;
|
|
1195
|
+
branch_with_potential_conflicts: string;
|
|
1184
1196
|
parallel: string;
|
|
1185
1197
|
stage: string;
|
|
1186
1198
|
alternate_stage: string;
|