@transferwise/components 45.19.6 → 45.21.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/build/i18n/cs.json +11 -3
- package/build/i18n/de.json +11 -3
- package/build/i18n/en.json +1 -0
- package/build/i18n/es.json +11 -3
- package/build/i18n/fr.json +11 -3
- package/build/i18n/hu.json +11 -3
- package/build/i18n/id.json +11 -3
- package/build/i18n/it.json +11 -3
- package/build/i18n/ja.json +11 -3
- package/build/i18n/pl.json +11 -3
- package/build/i18n/pt.json +11 -3
- package/build/i18n/ro.json +11 -3
- package/build/i18n/ru.json +11 -3
- package/build/i18n/th.json +11 -3
- package/build/i18n/tr.json +11 -3
- package/build/i18n/uk.json +11 -3
- package/build/i18n/zh-CN.json +11 -3
- package/build/i18n/{zh.json → zh-HK.json} +11 -3
- package/build/index.esm.js +557 -248
- package/build/index.esm.js.map +1 -1
- package/build/index.js +557 -248
- package/build/index.js.map +1 -1
- package/build/main.css +1 -1
- package/build/styles/actionButton/ActionButton.css +1 -1
- package/build/styles/chips/Chip.css +1 -1
- package/build/styles/circularButton/CircularButton.css +1 -1
- package/build/styles/common/Option/Option.css +1 -1
- package/build/styles/common/bottomSheet/BottomSheet.css +1 -1
- package/build/styles/common/closeButton/CloseButton.css +1 -1
- package/build/styles/dateLookup/DateLookup.css +1 -1
- package/build/styles/drawer/Drawer.css +1 -1
- package/build/styles/flowNavigation/FlowNavigation.css +1 -1
- package/build/styles/inputs/SelectInput.css +1 -1
- package/build/styles/main.css +1 -1
- package/build/styles/overlayHeader/OverlayHeader.css +1 -1
- package/build/styles/statusIcon/StatusIcon.css +1 -1
- package/build/styles/summary/Summary.css +1 -1
- package/build/styles/typeahead/Typeahead.css +1 -1
- package/build/styles/uploadInput/UploadInput.css +1 -1
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -1
- package/build/types/common/locale/index.d.ts +10 -1
- package/build/types/common/locale/index.d.ts.map +1 -1
- package/build/types/common/propsValues/breakpoint.d.ts +1 -0
- package/build/types/common/propsValues/breakpoint.d.ts.map +1 -1
- package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -1
- package/build/types/i18n/index.d.ts.map +1 -1
- package/build/types/inputs/SelectInput.d.ts +6 -3
- package/build/types/inputs/SelectInput.d.ts.map +1 -1
- package/build/types/inputs/SelectInput.messages.d.ts +9 -0
- package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
- package/build/types/inputs/_Popover.d.ts +2 -2
- package/build/types/inputs/_Popover.d.ts.map +1 -1
- package/build/types/test-utils/story-config.d.ts +11 -1
- package/build/types/test-utils/story-config.d.ts.map +1 -1
- package/build/types/test-utils/window-mock.d.ts +2 -0
- package/build/types/test-utils/window-mock.d.ts.map +1 -0
- package/package.json +4 -4
- package/src/actionButton/ActionButton.css +1 -1
- package/src/actionButton/ActionButton.less +5 -1
- package/src/chips/Chip.css +1 -1
- package/src/chips/Chip.less +8 -0
- package/src/circularButton/CircularButton.css +1 -1
- package/src/circularButton/CircularButton.less +9 -3
- package/src/common/Option/Option.css +1 -1
- package/src/common/Option/Option.less +6 -0
- package/src/common/bottomSheet/BottomSheet.css +1 -1
- package/src/common/bottomSheet/BottomSheet.less +1 -1
- package/src/common/bottomSheet/BottomSheet.spec.tsx +4 -1
- package/src/common/bottomSheet/BottomSheet.story.tsx +4 -0
- package/src/common/bottomSheet/BottomSheet.tsx +10 -1
- package/src/common/closeButton/CloseButton.css +1 -1
- package/src/common/closeButton/CloseButton.less +12 -0
- package/src/common/hooks/useMedia.spec.ts +3 -17
- package/src/common/locale/index.js +10 -1
- package/src/common/locale/index.spec.js +1 -34
- package/src/common/propsValues/breakpoint.ts +1 -0
- package/src/dateLookup/DateLookup.css +1 -1
- package/src/dateLookup/DateLookup.js +7 -3
- package/src/dateLookup/DateLookup.keyboardEvents.spec.js +3 -0
- package/src/dateLookup/DateLookup.less +6 -0
- package/src/dateLookup/DateLookup.story.js +6 -1
- package/src/dateLookup/DateLookup.testingLibrary.spec.js +3 -1
- package/src/dateLookup/DateLookup.view.spec.js +4 -0
- package/src/dateLookup/dateHeader/DateHeader.js +4 -2
- package/src/drawer/Drawer.css +1 -1
- package/src/drawer/Drawer.less +6 -8
- package/src/drawer/Drawer.story.js +42 -2
- package/src/flowNavigation/FlowNavigation.css +1 -1
- package/src/i18n/cs.json +11 -3
- package/src/i18n/de.json +11 -3
- package/src/i18n/en.json +1 -0
- package/src/i18n/es.json +11 -3
- package/src/i18n/fr.json +11 -3
- package/src/i18n/hu.json +11 -3
- package/src/i18n/id.json +11 -3
- package/src/i18n/index.ts +6 -2
- package/src/i18n/it.json +11 -3
- package/src/i18n/ja.json +11 -3
- package/src/i18n/pl.json +11 -3
- package/src/i18n/pt.json +11 -3
- package/src/i18n/ro.json +11 -3
- package/src/i18n/ru.json +11 -3
- package/src/i18n/th.json +11 -3
- package/src/i18n/tr.json +11 -3
- package/src/i18n/uk.json +11 -3
- package/src/i18n/zh-CN.json +11 -3
- package/src/i18n/{zh.json → zh-HK.json} +11 -3
- package/src/inputs/SelectInput.css +1 -1
- package/src/inputs/SelectInput.less +29 -7
- package/src/inputs/SelectInput.messages.ts +9 -0
- package/src/inputs/SelectInput.story.tsx +8 -5
- package/src/inputs/SelectInput.tsx +91 -33
- package/src/inputs/_BottomSheet.tsx +19 -19
- package/src/inputs/_Popover.tsx +2 -2
- package/src/main.css +1 -1
- package/src/modal/Modal.tsx +2 -2
- package/src/overlayHeader/OverlayHeader.css +1 -1
- package/src/popover/Popover.spec.js +3 -1
- package/src/radioGroup/RadioGroup.js +1 -1
- package/src/radioGroup/RadioGroup.spec.js +18 -0
- package/src/select/Select.spec.js +6 -9
- package/src/statusIcon/StatusIcon.css +1 -1
- package/src/statusIcon/StatusIcon.less +10 -0
- package/src/summary/Summary.css +1 -1
- package/src/summary/Summary.less +1 -1
- package/src/test-utils/index.js +1 -0
- package/src/test-utils/story-config.ts +21 -7
- package/src/test-utils/window-mock.ts +19 -0
- package/src/typeahead/Typeahead.css +1 -1
- package/src/typeahead/Typeahead.less +5 -6
- package/src/uploadInput/UploadInput.css +1 -1
- package/src/uploadInput/UploadInput.less +5 -1
- package/build/i18n/zh_CN.json +0 -44
- package/src/i18n/zh_CN.json +0 -44
package/build/index.esm.js
CHANGED
|
@@ -13,11 +13,11 @@ import { CSSTransition } from 'react-transition-group';
|
|
|
13
13
|
import { createPortal } from 'react-dom';
|
|
14
14
|
import { FocusScope } from '@react-aria/focus';
|
|
15
15
|
import mergeRefs from 'react-merge-refs';
|
|
16
|
+
import { useSyncExternalStore } from 'use-sync-external-store/shim';
|
|
16
17
|
import { isUndefined, isKey, isNumber, isEmpty, isNull, isArray } from '@transferwise/neptune-validation';
|
|
17
18
|
import { usePopper } from 'react-popper';
|
|
18
19
|
import { Transition, Listbox } from '@headlessui/react';
|
|
19
20
|
import mergeProps from 'merge-props';
|
|
20
|
-
import { useSyncExternalStore } from 'use-sync-external-store/shim';
|
|
21
21
|
import { useFloating, useDismiss, useRole, useInteractions, FloatingPortal, FloatingFocusManager, offset, flip, shift, size, autoUpdate } from '@floating-ui/react';
|
|
22
22
|
import { usePreventScroll } from '@react-aria/overlays';
|
|
23
23
|
import { Illustration } from '@wise/art';
|
|
@@ -158,6 +158,7 @@ var Priority;
|
|
|
158
158
|
|
|
159
159
|
var Breakpoint;
|
|
160
160
|
(function (Breakpoint) {
|
|
161
|
+
Breakpoint[Breakpoint["ZOOM_400"] = 320] = "ZOOM_400";
|
|
161
162
|
Breakpoint[Breakpoint["EXTRA_SMALL"] = 480] = "EXTRA_SMALL";
|
|
162
163
|
Breakpoint[Breakpoint["SMALL"] = 576] = "SMALL";
|
|
163
164
|
Breakpoint[Breakpoint["MEDIUM"] = 768] = "MEDIUM";
|
|
@@ -361,6 +362,11 @@ const DEFAULT_LOCALE = 'en-GB';
|
|
|
361
362
|
* @type {string[]}
|
|
362
363
|
*/
|
|
363
364
|
const RTL_LANGUAGES = ['ar', 'he'];
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @deprecated The source of truth for supported languages lives in Crab.
|
|
368
|
+
* @type {string[]}
|
|
369
|
+
*/
|
|
364
370
|
const SUPPORTED_LANGUAGES = [DEFAULT_LANG, 'de', 'es', 'fr', 'hu', 'id', 'it', 'ja', 'pl', 'pt', 'ro', 'ru', 'th', 'tr', 'uk', 'zh'];
|
|
365
371
|
|
|
366
372
|
/**
|
|
@@ -390,8 +396,13 @@ function adjustLocale(locale) {
|
|
|
390
396
|
* Provides corresponding lang (iso2) for provided locale
|
|
391
397
|
* if locale is invalid or language is unsupported returns null
|
|
392
398
|
*
|
|
399
|
+
* @deprecated The use of this function almost always breaks language variants
|
|
400
|
+
* e.g. Simplified and Traditional Chinese.
|
|
401
|
+
* There should be no use case for this function.
|
|
402
|
+
* To select the correct translations from a translations object, pass the
|
|
403
|
+
* locale directly into Crab's getLocalisedMessages.
|
|
393
404
|
* @param {string} locale (`es`, `es-ES`, `en-GB`, `en`, `ja`, `ja-JP` etc)
|
|
394
|
-
* @returns {string|null}
|
|
405
|
+
* @returns {string|null} two-letter ISO639-1 language
|
|
395
406
|
*/
|
|
396
407
|
function getLangFromLocale(locale) {
|
|
397
408
|
const adjustedLocale = adjustLocale(locale);
|
|
@@ -1706,58 +1717,6 @@ const DimmerContentWrapper = ({
|
|
|
1706
1717
|
};
|
|
1707
1718
|
var Dimmer$1 = withNextPortalWrapper(Dimmer);
|
|
1708
1719
|
|
|
1709
|
-
const EXIT_ANIMATION = 350;
|
|
1710
|
-
const SlidingPanel = /*#__PURE__*/forwardRef(({
|
|
1711
|
-
children,
|
|
1712
|
-
className,
|
|
1713
|
-
open,
|
|
1714
|
-
position,
|
|
1715
|
-
showSlidingPanelBorder,
|
|
1716
|
-
slidingPanelPositionFixed,
|
|
1717
|
-
...rest
|
|
1718
|
-
}, reference) => {
|
|
1719
|
-
/** @type {RefObject<HTMLDivElement>} */
|
|
1720
|
-
const localReference = useRef(null);
|
|
1721
|
-
return /*#__PURE__*/jsx(CSSTransition, {
|
|
1722
|
-
...rest,
|
|
1723
|
-
nodeRef: localReference,
|
|
1724
|
-
in: open
|
|
1725
|
-
// Wait for animation to finish before unmount.
|
|
1726
|
-
,
|
|
1727
|
-
timeout: {
|
|
1728
|
-
enter: 0,
|
|
1729
|
-
exit: EXIT_ANIMATION
|
|
1730
|
-
},
|
|
1731
|
-
classNames: classNames(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
|
|
1732
|
-
'sliding-panel--fixed': slidingPanelPositionFixed
|
|
1733
|
-
}, 'sliding-panel'),
|
|
1734
|
-
appear: true,
|
|
1735
|
-
unmountOnExit: true,
|
|
1736
|
-
children: /*#__PURE__*/jsx("div", {
|
|
1737
|
-
ref: mergeRefs([reference, localReference]),
|
|
1738
|
-
className: classNames('sliding-panel', `sliding-panel--open-${position}`, className),
|
|
1739
|
-
children: children
|
|
1740
|
-
})
|
|
1741
|
-
});
|
|
1742
|
-
});
|
|
1743
|
-
SlidingPanel.propTypes = {
|
|
1744
|
-
children: PropTypes.node,
|
|
1745
|
-
className: PropTypes.string,
|
|
1746
|
-
open: PropTypes.bool,
|
|
1747
|
-
position: PropTypes.oneOf(['top', 'bottom', 'left', 'right']),
|
|
1748
|
-
showSlidingPanelBorder: PropTypes.bool,
|
|
1749
|
-
slidingPanelPositionFixed: PropTypes.bool
|
|
1750
|
-
};
|
|
1751
|
-
SlidingPanel.defaultProps = {
|
|
1752
|
-
children: null,
|
|
1753
|
-
className: undefined,
|
|
1754
|
-
open: false,
|
|
1755
|
-
position: 'left',
|
|
1756
|
-
showSlidingPanelBorder: false,
|
|
1757
|
-
slidingPanelPositionFixed: false
|
|
1758
|
-
};
|
|
1759
|
-
var SlidingPanel$1 = SlidingPanel;
|
|
1760
|
-
|
|
1761
1720
|
const THROTTLE_MS = 100;
|
|
1762
1721
|
const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;
|
|
1763
1722
|
const useClientWidth = ({
|
|
@@ -1928,6 +1887,137 @@ const useLayout = () => {
|
|
|
1928
1887
|
};
|
|
1929
1888
|
};
|
|
1930
1889
|
|
|
1890
|
+
const EXIT_ANIMATION = 350;
|
|
1891
|
+
const SlidingPanel = /*#__PURE__*/forwardRef(({
|
|
1892
|
+
children,
|
|
1893
|
+
className,
|
|
1894
|
+
open,
|
|
1895
|
+
position,
|
|
1896
|
+
showSlidingPanelBorder,
|
|
1897
|
+
slidingPanelPositionFixed,
|
|
1898
|
+
...rest
|
|
1899
|
+
}, reference) => {
|
|
1900
|
+
/** @type {RefObject<HTMLDivElement>} */
|
|
1901
|
+
const localReference = useRef(null);
|
|
1902
|
+
return /*#__PURE__*/jsx(CSSTransition, {
|
|
1903
|
+
...rest,
|
|
1904
|
+
nodeRef: localReference,
|
|
1905
|
+
in: open
|
|
1906
|
+
// Wait for animation to finish before unmount.
|
|
1907
|
+
,
|
|
1908
|
+
timeout: {
|
|
1909
|
+
enter: 0,
|
|
1910
|
+
exit: EXIT_ANIMATION
|
|
1911
|
+
},
|
|
1912
|
+
classNames: classNames(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
|
|
1913
|
+
'sliding-panel--fixed': slidingPanelPositionFixed
|
|
1914
|
+
}, 'sliding-panel'),
|
|
1915
|
+
appear: true,
|
|
1916
|
+
unmountOnExit: true,
|
|
1917
|
+
children: /*#__PURE__*/jsx("div", {
|
|
1918
|
+
ref: mergeRefs([reference, localReference]),
|
|
1919
|
+
className: classNames('sliding-panel', `sliding-panel--open-${position}`, className),
|
|
1920
|
+
children: children
|
|
1921
|
+
})
|
|
1922
|
+
});
|
|
1923
|
+
});
|
|
1924
|
+
SlidingPanel.propTypes = {
|
|
1925
|
+
children: PropTypes.node,
|
|
1926
|
+
className: PropTypes.string,
|
|
1927
|
+
open: PropTypes.bool,
|
|
1928
|
+
position: PropTypes.oneOf(['top', 'bottom', 'left', 'right']),
|
|
1929
|
+
showSlidingPanelBorder: PropTypes.bool,
|
|
1930
|
+
slidingPanelPositionFixed: PropTypes.bool
|
|
1931
|
+
};
|
|
1932
|
+
SlidingPanel.defaultProps = {
|
|
1933
|
+
children: null,
|
|
1934
|
+
className: undefined,
|
|
1935
|
+
open: false,
|
|
1936
|
+
position: 'left',
|
|
1937
|
+
showSlidingPanelBorder: false,
|
|
1938
|
+
slidingPanelPositionFixed: false
|
|
1939
|
+
};
|
|
1940
|
+
var SlidingPanel$1 = SlidingPanel;
|
|
1941
|
+
|
|
1942
|
+
const Drawer = ({
|
|
1943
|
+
children,
|
|
1944
|
+
className,
|
|
1945
|
+
footerContent,
|
|
1946
|
+
headerTitle,
|
|
1947
|
+
onClose,
|
|
1948
|
+
open,
|
|
1949
|
+
position
|
|
1950
|
+
}) => {
|
|
1951
|
+
logActionRequiredIf('Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.', !onClose);
|
|
1952
|
+
const {
|
|
1953
|
+
isMobile
|
|
1954
|
+
} = useLayout();
|
|
1955
|
+
return /*#__PURE__*/jsx(Dimmer$1, {
|
|
1956
|
+
open: open,
|
|
1957
|
+
onClose: onClose,
|
|
1958
|
+
children: /*#__PURE__*/jsx(SlidingPanel$1, {
|
|
1959
|
+
open: open,
|
|
1960
|
+
position: isMobile ? Position.BOTTOM : position,
|
|
1961
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
1962
|
+
className: classNames('np-drawer', className),
|
|
1963
|
+
role: "dialog",
|
|
1964
|
+
children: [/*#__PURE__*/jsxs("div", {
|
|
1965
|
+
className: classNames('np-drawer-header', {
|
|
1966
|
+
'np-drawer-header--withborder': headerTitle
|
|
1967
|
+
}),
|
|
1968
|
+
children: [headerTitle && /*#__PURE__*/jsx(Title, {
|
|
1969
|
+
type: Typography.TITLE_BODY,
|
|
1970
|
+
children: headerTitle
|
|
1971
|
+
}), /*#__PURE__*/jsx(CloseButton, {
|
|
1972
|
+
onClick: onClose
|
|
1973
|
+
})]
|
|
1974
|
+
}), children && /*#__PURE__*/jsx("div", {
|
|
1975
|
+
className: classNames('np-drawer-content'),
|
|
1976
|
+
children: children
|
|
1977
|
+
}), footerContent && /*#__PURE__*/jsx("div", {
|
|
1978
|
+
className: classNames('np-drawer-footer'),
|
|
1979
|
+
children: footerContent
|
|
1980
|
+
})]
|
|
1981
|
+
})
|
|
1982
|
+
})
|
|
1983
|
+
});
|
|
1984
|
+
};
|
|
1985
|
+
Drawer.propTypes = {
|
|
1986
|
+
/** The content to appear in the drawer body. */
|
|
1987
|
+
children: PropTypes.node,
|
|
1988
|
+
className: PropTypes.string,
|
|
1989
|
+
/** The content to appear in the drawer footer. */
|
|
1990
|
+
footerContent: PropTypes.node,
|
|
1991
|
+
/** The content to appear in the drawer header. */
|
|
1992
|
+
headerTitle: PropTypes.node,
|
|
1993
|
+
/** The action to perform on close click. */
|
|
1994
|
+
onClose: PropTypes.func,
|
|
1995
|
+
/** The status of Drawer either open or not. */
|
|
1996
|
+
open: PropTypes.bool,
|
|
1997
|
+
/** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */
|
|
1998
|
+
position: PropTypes.oneOf(['left', 'right', 'bottom'])
|
|
1999
|
+
};
|
|
2000
|
+
Drawer.defaultProps = {
|
|
2001
|
+
children: null,
|
|
2002
|
+
className: undefined,
|
|
2003
|
+
footerContent: null,
|
|
2004
|
+
headerTitle: null,
|
|
2005
|
+
onClose: null,
|
|
2006
|
+
open: false,
|
|
2007
|
+
position: Position.RIGHT
|
|
2008
|
+
};
|
|
2009
|
+
var Drawer$1 = Drawer;
|
|
2010
|
+
|
|
2011
|
+
function useMedia(query) {
|
|
2012
|
+
return useSyncExternalStore(onStoreChange => {
|
|
2013
|
+
const mediaQueryList = window.matchMedia(query);
|
|
2014
|
+
mediaQueryList.addEventListener('change', onStoreChange);
|
|
2015
|
+
return () => {
|
|
2016
|
+
mediaQueryList.removeEventListener('change', onStoreChange);
|
|
2017
|
+
};
|
|
2018
|
+
}, () => typeof window !== 'undefined' ? window.matchMedia(query).matches : undefined, () => undefined);
|
|
2019
|
+
}
|
|
2020
|
+
|
|
1931
2021
|
const INITIAL_Y_POSITION = 0;
|
|
1932
2022
|
const CONTENT_SCROLL_THRESHOLD = 1;
|
|
1933
2023
|
const MOVE_OFFSET_THRESHOLD = 50;
|
|
@@ -2055,7 +2145,13 @@ const BottomSheet$1 = props => {
|
|
|
2055
2145
|
maxHeight: `calc(${screenHeight} - ${safeZoneHeight} - ${topbarHeight})`
|
|
2056
2146
|
};
|
|
2057
2147
|
}
|
|
2058
|
-
|
|
2148
|
+
const is400Zoom = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);
|
|
2149
|
+
return is400Zoom ? /*#__PURE__*/jsx(Drawer$1, {
|
|
2150
|
+
open: props.open,
|
|
2151
|
+
className: props.className,
|
|
2152
|
+
onClose: close,
|
|
2153
|
+
children: props.children
|
|
2154
|
+
}) : /*#__PURE__*/jsx(Dimmer$1, {
|
|
2059
2155
|
open: props.open,
|
|
2060
2156
|
fadeContentOnEnter: true,
|
|
2061
2157
|
fadeContentOnExit: true,
|
|
@@ -3282,7 +3378,7 @@ const ResponsivePanel = /*#__PURE__*/forwardRef(({
|
|
|
3282
3378
|
});
|
|
3283
3379
|
var ResponsivePanel$1 = ResponsivePanel;
|
|
3284
3380
|
|
|
3285
|
-
var
|
|
3381
|
+
var dateTriggerMessages = defineMessages({
|
|
3286
3382
|
ariaLabel: {
|
|
3287
3383
|
id: "neptune.ClearButton.ariaLabel"
|
|
3288
3384
|
}
|
|
@@ -3345,7 +3441,7 @@ const DateTrigger = ({
|
|
|
3345
3441
|
className: "input-group-addon",
|
|
3346
3442
|
children: /*#__PURE__*/jsx(CloseButton, {
|
|
3347
3443
|
className: `clear-btn clear-btn--${size}`,
|
|
3348
|
-
"aria-label": formatMessage(
|
|
3444
|
+
"aria-label": formatMessage(dateTriggerMessages.ariaLabel),
|
|
3349
3445
|
size: Size.SMALL,
|
|
3350
3446
|
onClick: event => {
|
|
3351
3447
|
event.stopPropagation();
|
|
@@ -3375,7 +3471,7 @@ DateTrigger.defaultProps = {
|
|
|
3375
3471
|
};
|
|
3376
3472
|
var DateTrigger$1 = DateTrigger;
|
|
3377
3473
|
|
|
3378
|
-
var messages$
|
|
3474
|
+
var messages$6 = defineMessages({
|
|
3379
3475
|
next: {
|
|
3380
3476
|
id: "neptune.DateLookup.next"
|
|
3381
3477
|
},
|
|
@@ -3411,14 +3507,17 @@ const DateHeader = ({
|
|
|
3411
3507
|
dateMode
|
|
3412
3508
|
}) => {
|
|
3413
3509
|
const intl = useIntl();
|
|
3510
|
+
const {
|
|
3511
|
+
isMobile
|
|
3512
|
+
} = useLayout();
|
|
3414
3513
|
return /*#__PURE__*/jsxs("div", {
|
|
3415
|
-
className:
|
|
3514
|
+
className: classNames('text-xs-center', !isMobile && ['clearfix', 'p-y-1']),
|
|
3416
3515
|
children: [/*#__PURE__*/jsx("div", {
|
|
3417
3516
|
className: "pull-left-single-direction",
|
|
3418
3517
|
children: /*#__PURE__*/jsx("button", {
|
|
3419
3518
|
type: "button",
|
|
3420
3519
|
className: `d-inline-flex ${buttonClasses}`,
|
|
3421
|
-
"aria-label": `${intl.formatMessage(messages$
|
|
3520
|
+
"aria-label": `${intl.formatMessage(messages$6.previous)} ${dateMode}`,
|
|
3422
3521
|
onClick: onPreviousClick,
|
|
3423
3522
|
children: /*#__PURE__*/jsx(Chevron$1, {
|
|
3424
3523
|
orientation: Position.LEFT,
|
|
@@ -3432,7 +3531,7 @@ const DateHeader = ({
|
|
|
3432
3531
|
children: /*#__PURE__*/jsx("button", {
|
|
3433
3532
|
type: "button",
|
|
3434
3533
|
className: `tw-date-lookup-header-current ${buttonClasses}`,
|
|
3435
|
-
"aria-label": intl.formatMessage(messages$
|
|
3534
|
+
"aria-label": intl.formatMessage(messages$6.goTo20YearView),
|
|
3436
3535
|
onClick: onLabelClick,
|
|
3437
3536
|
children: label
|
|
3438
3537
|
})
|
|
@@ -3441,7 +3540,7 @@ const DateHeader = ({
|
|
|
3441
3540
|
children: /*#__PURE__*/jsx("button", {
|
|
3442
3541
|
type: "button",
|
|
3443
3542
|
className: `d-inline-flex ${buttonClasses}`,
|
|
3444
|
-
"aria-label": `${useIntl().formatMessage(messages$
|
|
3543
|
+
"aria-label": `${useIntl().formatMessage(messages$6.next)} ${dateMode}`,
|
|
3445
3544
|
onClick: onNextClick,
|
|
3446
3545
|
children: /*#__PURE__*/jsx(Chevron$1, {
|
|
3447
3546
|
orientation: Position.RIGHT,
|
|
@@ -3485,7 +3584,7 @@ class TableLink extends PureComponent {
|
|
|
3485
3584
|
};
|
|
3486
3585
|
calculateAriaLabel = (longTitle, title, active, type, formatMessage) => {
|
|
3487
3586
|
if (active) {
|
|
3488
|
-
return `${longTitle || title}, ${formatMessage(messages$
|
|
3587
|
+
return `${longTitle || title}, ${formatMessage(messages$6.selected)} ${formatMessage(messages$6[type])}`;
|
|
3489
3588
|
}
|
|
3490
3589
|
return longTitle || title;
|
|
3491
3590
|
};
|
|
@@ -3708,7 +3807,7 @@ class DayCalendar extends PureComponent {
|
|
|
3708
3807
|
month: monthFormat,
|
|
3709
3808
|
year: 'numeric'
|
|
3710
3809
|
}),
|
|
3711
|
-
dateMode: formatMessage(messages$
|
|
3810
|
+
dateMode: formatMessage(messages$6.month),
|
|
3712
3811
|
onLabelClick: onLabelClick,
|
|
3713
3812
|
onPreviousClick: this.selectPreviousMonth,
|
|
3714
3813
|
onNextClick: this.selectNextMonth
|
|
@@ -3836,7 +3935,7 @@ class MonthCalendar extends PureComponent {
|
|
|
3836
3935
|
} = this.props;
|
|
3837
3936
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
3838
3937
|
children: [/*#__PURE__*/jsx(DateHeader$1, {
|
|
3839
|
-
dateMode: formatMessage(messages$
|
|
3938
|
+
dateMode: formatMessage(messages$6.year),
|
|
3840
3939
|
label: formatDate(new Date(viewYear, 0), locale, {
|
|
3841
3940
|
year: 'numeric'
|
|
3842
3941
|
}),
|
|
@@ -3961,7 +4060,7 @@ class YearCalendar extends PureComponent {
|
|
|
3961
4060
|
} = this.props;
|
|
3962
4061
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
3963
4062
|
children: [/*#__PURE__*/jsx(DateHeader$1, {
|
|
3964
|
-
dateMode: formatMessage(messages$
|
|
4063
|
+
dateMode: formatMessage(messages$6.twentyYears),
|
|
3965
4064
|
onPreviousClick: this.selectPreviousYears,
|
|
3966
4065
|
onNextClick: this.selectNextYears
|
|
3967
4066
|
}), /*#__PURE__*/jsx(YearCalendarTable$1, {
|
|
@@ -4008,7 +4107,8 @@ class DateLookup extends PureComponent {
|
|
|
4008
4107
|
viewMonth: (props.value || new Date()).getMonth(),
|
|
4009
4108
|
viewYear: (props.value || new Date()).getFullYear(),
|
|
4010
4109
|
open: false,
|
|
4011
|
-
mode: MODE.DAY
|
|
4110
|
+
mode: MODE.DAY,
|
|
4111
|
+
isMobile: false
|
|
4012
4112
|
};
|
|
4013
4113
|
}
|
|
4014
4114
|
static getDerivedStateFromProps(props, state) {
|
|
@@ -4043,6 +4143,10 @@ class DateLookup extends PureComponent {
|
|
|
4043
4143
|
if (+this.props.value !== +previousProps.value && this.state.open) {
|
|
4044
4144
|
this.focusOn('.active');
|
|
4045
4145
|
}
|
|
4146
|
+
this.mediaQuery = window.matchMedia(`(max-width: ${Breakpoint.SMALL}px)`);
|
|
4147
|
+
this.setState({
|
|
4148
|
+
isMobile: this.mediaQuery.matches
|
|
4149
|
+
});
|
|
4046
4150
|
}
|
|
4047
4151
|
componentWillUnmount() {
|
|
4048
4152
|
// Prevents memory leak by cleaning state.
|
|
@@ -4175,14 +4279,17 @@ class DateLookup extends PureComponent {
|
|
|
4175
4279
|
max,
|
|
4176
4280
|
viewMonth,
|
|
4177
4281
|
viewYear,
|
|
4178
|
-
mode
|
|
4282
|
+
mode,
|
|
4283
|
+
isMobile
|
|
4179
4284
|
} = this.state;
|
|
4180
4285
|
const {
|
|
4181
4286
|
placeholder,
|
|
4182
4287
|
monthFormat
|
|
4183
4288
|
} = this.props;
|
|
4184
4289
|
return /*#__PURE__*/jsxs("div", {
|
|
4185
|
-
className:
|
|
4290
|
+
className: classNames({
|
|
4291
|
+
'p-a-1': !isMobile
|
|
4292
|
+
}),
|
|
4186
4293
|
children: [mode === MODE.DAY && /*#__PURE__*/jsx(DayCalendar$1, {
|
|
4187
4294
|
selectedDate,
|
|
4188
4295
|
min,
|
|
@@ -4690,75 +4797,6 @@ function Display({
|
|
|
4690
4797
|
});
|
|
4691
4798
|
}
|
|
4692
4799
|
|
|
4693
|
-
const Drawer = ({
|
|
4694
|
-
children,
|
|
4695
|
-
className,
|
|
4696
|
-
footerContent,
|
|
4697
|
-
headerTitle,
|
|
4698
|
-
onClose,
|
|
4699
|
-
open,
|
|
4700
|
-
position
|
|
4701
|
-
}) => {
|
|
4702
|
-
logActionRequiredIf('Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.', !onClose);
|
|
4703
|
-
const {
|
|
4704
|
-
isMobile
|
|
4705
|
-
} = useLayout();
|
|
4706
|
-
return /*#__PURE__*/jsx(Dimmer$1, {
|
|
4707
|
-
open: open,
|
|
4708
|
-
onClose: onClose,
|
|
4709
|
-
children: /*#__PURE__*/jsx(SlidingPanel$1, {
|
|
4710
|
-
open: open,
|
|
4711
|
-
position: isMobile ? Position.BOTTOM : position,
|
|
4712
|
-
children: /*#__PURE__*/jsxs("div", {
|
|
4713
|
-
className: classNames('np-drawer', className),
|
|
4714
|
-
role: "dialog",
|
|
4715
|
-
children: [/*#__PURE__*/jsxs("div", {
|
|
4716
|
-
className: classNames('np-drawer-header', {
|
|
4717
|
-
'np-drawer-header--withborder': headerTitle
|
|
4718
|
-
}),
|
|
4719
|
-
children: [headerTitle && /*#__PURE__*/jsx(Title, {
|
|
4720
|
-
type: Typography.TITLE_BODY,
|
|
4721
|
-
children: headerTitle
|
|
4722
|
-
}), /*#__PURE__*/jsx(CloseButton, {
|
|
4723
|
-
onClick: onClose
|
|
4724
|
-
})]
|
|
4725
|
-
}), children && /*#__PURE__*/jsx("div", {
|
|
4726
|
-
className: classNames('np-drawer-content'),
|
|
4727
|
-
children: children
|
|
4728
|
-
}), footerContent && /*#__PURE__*/jsx("div", {
|
|
4729
|
-
className: classNames('np-drawer-footer'),
|
|
4730
|
-
children: footerContent
|
|
4731
|
-
})]
|
|
4732
|
-
})
|
|
4733
|
-
})
|
|
4734
|
-
});
|
|
4735
|
-
};
|
|
4736
|
-
Drawer.propTypes = {
|
|
4737
|
-
/** The content to appear in the drawer body. */
|
|
4738
|
-
children: PropTypes.node,
|
|
4739
|
-
className: PropTypes.string,
|
|
4740
|
-
/** The content to appear in the drawer footer. */
|
|
4741
|
-
footerContent: PropTypes.node,
|
|
4742
|
-
/** The content to appear in the drawer header. */
|
|
4743
|
-
headerTitle: PropTypes.node,
|
|
4744
|
-
/** The action to perform on close click. */
|
|
4745
|
-
onClose: PropTypes.func,
|
|
4746
|
-
/** The status of Drawer either open or not. */
|
|
4747
|
-
open: PropTypes.bool,
|
|
4748
|
-
/** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */
|
|
4749
|
-
position: PropTypes.oneOf(['left', 'right', 'bottom'])
|
|
4750
|
-
};
|
|
4751
|
-
Drawer.defaultProps = {
|
|
4752
|
-
children: null,
|
|
4753
|
-
className: undefined,
|
|
4754
|
-
footerContent: null,
|
|
4755
|
-
headerTitle: null,
|
|
4756
|
-
onClose: null,
|
|
4757
|
-
open: false,
|
|
4758
|
-
position: Position.RIGHT
|
|
4759
|
-
};
|
|
4760
|
-
var Drawer$1 = Drawer;
|
|
4761
|
-
|
|
4762
4800
|
const DropFade = ({
|
|
4763
4801
|
children,
|
|
4764
4802
|
show
|
|
@@ -5659,7 +5697,7 @@ const Stepper = ({
|
|
|
5659
5697
|
});
|
|
5660
5698
|
};
|
|
5661
5699
|
|
|
5662
|
-
var messages$
|
|
5700
|
+
var messages$5 = defineMessages({
|
|
5663
5701
|
back: {
|
|
5664
5702
|
id: "neptune.FlowNavigation.back"
|
|
5665
5703
|
}
|
|
@@ -5739,7 +5777,7 @@ const FlowNavigation = ({
|
|
|
5739
5777
|
className: "m-x-1",
|
|
5740
5778
|
labels: steps.map(step => step.label),
|
|
5741
5779
|
activeLabel: activeStep - 1,
|
|
5742
|
-
"aria-label": intl.formatMessage(messages$
|
|
5780
|
+
"aria-label": intl.formatMessage(messages$5.back)
|
|
5743
5781
|
}),
|
|
5744
5782
|
onClick: onGoBack
|
|
5745
5783
|
}) : logo
|
|
@@ -5891,13 +5929,14 @@ const Modal = ({
|
|
|
5891
5929
|
}) => {
|
|
5892
5930
|
const checkSpecialClasses = classToCheck => className?.split(' ').includes(classToCheck);
|
|
5893
5931
|
const {
|
|
5894
|
-
isMobile
|
|
5932
|
+
isMobile,
|
|
5933
|
+
isMedium: isTablet
|
|
5895
5934
|
} = useLayout();
|
|
5896
5935
|
// These should be replaced with props in breaking change.
|
|
5897
5936
|
const isCompact = checkSpecialClasses('compact');
|
|
5898
5937
|
const noDivider = checkSpecialClasses('no-divider');
|
|
5899
5938
|
const contentReference = useRef(null);
|
|
5900
|
-
return isMobile ? /*#__PURE__*/jsx(Drawer$1, {
|
|
5939
|
+
return isMobile || isTablet ? /*#__PURE__*/jsx(Drawer$1, {
|
|
5901
5940
|
open: open,
|
|
5902
5941
|
headerTitle: title,
|
|
5903
5942
|
footerContent: footer,
|
|
@@ -6320,16 +6359,6 @@ const SearchInput = /*#__PURE__*/forwardRef(function SearchInput({
|
|
|
6320
6359
|
});
|
|
6321
6360
|
});
|
|
6322
6361
|
|
|
6323
|
-
function useMedia(query) {
|
|
6324
|
-
return useSyncExternalStore(onStoreChange => {
|
|
6325
|
-
const mediaQueryList = window.matchMedia(query);
|
|
6326
|
-
mediaQueryList.addEventListener('change', onStoreChange);
|
|
6327
|
-
return () => {
|
|
6328
|
-
mediaQueryList.removeEventListener('change', onStoreChange);
|
|
6329
|
-
};
|
|
6330
|
-
}, () => typeof window !== 'undefined' ? window.matchMedia(query).matches : undefined, () => undefined);
|
|
6331
|
-
}
|
|
6332
|
-
|
|
6333
6362
|
function useScreenSize(size) {
|
|
6334
6363
|
return useMedia(`(min-width: ${size}px)`);
|
|
6335
6364
|
}
|
|
@@ -6354,6 +6383,12 @@ function wrapInFragment(value) {
|
|
|
6354
6383
|
});
|
|
6355
6384
|
}
|
|
6356
6385
|
|
|
6386
|
+
var messages$4 = defineMessages({
|
|
6387
|
+
noResultsFound: {
|
|
6388
|
+
id: "neptune.SelectInput.noResultsFound"
|
|
6389
|
+
}
|
|
6390
|
+
});
|
|
6391
|
+
|
|
6357
6392
|
function PreventScroll() {
|
|
6358
6393
|
usePreventScroll();
|
|
6359
6394
|
return null;
|
|
@@ -6399,29 +6434,29 @@ function BottomSheet({
|
|
|
6399
6434
|
theme: theme,
|
|
6400
6435
|
screenMode: screenMode,
|
|
6401
6436
|
isNotRootProvider: true,
|
|
6402
|
-
children: /*#__PURE__*/
|
|
6437
|
+
children: /*#__PURE__*/jsx(Transition, {
|
|
6403
6438
|
show: open,
|
|
6404
6439
|
className: "np-bottom-sheet-v2-container",
|
|
6405
6440
|
beforeEnter: () => {
|
|
6406
6441
|
setFloatingKey(prev => prev + 1);
|
|
6407
6442
|
},
|
|
6408
|
-
children:
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6443
|
+
children: /*#__PURE__*/jsxs(FocusBoundary, {
|
|
6444
|
+
children: [/*#__PURE__*/jsx(Transition.Child, {
|
|
6445
|
+
enter: "np-bottom-sheet-v2-backdrop-container--enter",
|
|
6446
|
+
enterFrom: "np-bottom-sheet-v2-backdrop-container--enter-from",
|
|
6447
|
+
leave: "np-bottom-sheet-v2-backdrop-container--leave",
|
|
6448
|
+
leaveTo: "np-bottom-sheet-v2-backdrop-container--leave-to",
|
|
6449
|
+
children: /*#__PURE__*/jsx("div", {
|
|
6450
|
+
className: "np-bottom-sheet-v2-backdrop"
|
|
6451
|
+
})
|
|
6452
|
+
}), /*#__PURE__*/jsx("div", {
|
|
6453
|
+
className: "np-bottom-sheet-v2",
|
|
6454
|
+
children: /*#__PURE__*/jsx(Transition.Child, {
|
|
6455
|
+
className: "np-bottom-sheet-v2-content",
|
|
6456
|
+
enter: "np-bottom-sheet-v2-content--enter",
|
|
6457
|
+
enterFrom: "np-bottom-sheet-v2-content--enter-from",
|
|
6458
|
+
leave: "np-bottom-sheet-v2-content--leave",
|
|
6459
|
+
leaveTo: "np-bottom-sheet-v2-content--leave-to",
|
|
6425
6460
|
children: /*#__PURE__*/jsx(FloatingFocusManager, {
|
|
6426
6461
|
context: context,
|
|
6427
6462
|
initialFocus: initialFocusRef,
|
|
@@ -6455,8 +6490,8 @@ function BottomSheet({
|
|
|
6455
6490
|
}, floatingKey)
|
|
6456
6491
|
})
|
|
6457
6492
|
})
|
|
6458
|
-
})
|
|
6459
|
-
})
|
|
6493
|
+
})]
|
|
6494
|
+
})
|
|
6460
6495
|
})
|
|
6461
6496
|
})
|
|
6462
6497
|
})]
|
|
@@ -6597,18 +6632,24 @@ function inferSearchableStrings(value) {
|
|
|
6597
6632
|
}
|
|
6598
6633
|
return [];
|
|
6599
6634
|
}
|
|
6600
|
-
const
|
|
6635
|
+
const SelectInputItemCheckPaddingContext = /*#__PURE__*/createContext(false);
|
|
6636
|
+
function useSelectInputItemCheckPadding() {
|
|
6637
|
+
const checkPadding = useContext(SelectInputItemCheckPaddingContext);
|
|
6638
|
+
// Avoid layout shifts during transitions via caching
|
|
6639
|
+
const [initialCheckPadding] = useState(checkPadding);
|
|
6640
|
+
return initialCheckPadding;
|
|
6641
|
+
}
|
|
6601
6642
|
const SelectInputTriggerButtonPropsContext = /*#__PURE__*/createContext({});
|
|
6602
6643
|
const SelectInputOptionContentWithinTriggerContext = /*#__PURE__*/createContext(false);
|
|
6603
6644
|
function dedupeSelectInputOptionItem(item, existingValues) {
|
|
6604
|
-
if (existingValues.has(item.value)) {
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
value: undefined
|
|
6608
|
-
};
|
|
6645
|
+
if (!existingValues.has(item.value)) {
|
|
6646
|
+
existingValues.add(item.value);
|
|
6647
|
+
return item;
|
|
6609
6648
|
}
|
|
6610
|
-
|
|
6611
|
-
|
|
6649
|
+
return {
|
|
6650
|
+
...item,
|
|
6651
|
+
value: undefined
|
|
6652
|
+
};
|
|
6612
6653
|
}
|
|
6613
6654
|
function dedupeSelectInputItems(items) {
|
|
6614
6655
|
const existingValues = new Set();
|
|
@@ -6629,6 +6670,24 @@ function dedupeSelectInputItems(items) {
|
|
|
6629
6670
|
return item;
|
|
6630
6671
|
});
|
|
6631
6672
|
}
|
|
6673
|
+
function filterSelectInputOptionItem(item, needle) {
|
|
6674
|
+
return inferSearchableStrings(item.filterMatchers ?? item.value).some(haystack => haystack.includes(needle));
|
|
6675
|
+
}
|
|
6676
|
+
function filterSelectInputItems(items, needle) {
|
|
6677
|
+
return items.filter(item => {
|
|
6678
|
+
switch (item.type) {
|
|
6679
|
+
case 'option':
|
|
6680
|
+
{
|
|
6681
|
+
return filterSelectInputOptionItem(item, needle);
|
|
6682
|
+
}
|
|
6683
|
+
case 'group':
|
|
6684
|
+
{
|
|
6685
|
+
return item.options.some(option => filterSelectInputOptionItem(option, needle));
|
|
6686
|
+
}
|
|
6687
|
+
}
|
|
6688
|
+
return false;
|
|
6689
|
+
});
|
|
6690
|
+
}
|
|
6632
6691
|
const defaultRenderTrigger = ({
|
|
6633
6692
|
content,
|
|
6634
6693
|
placeholderShown,
|
|
@@ -6676,7 +6735,7 @@ function SelectInputClearButton({
|
|
|
6676
6735
|
const intl = useIntl();
|
|
6677
6736
|
return /*#__PURE__*/jsx("button", {
|
|
6678
6737
|
type: "button",
|
|
6679
|
-
"aria-label": intl.formatMessage(
|
|
6738
|
+
"aria-label": intl.formatMessage(dateTriggerMessages.ariaLabel),
|
|
6680
6739
|
className: classNames(className, 'np-select-input-addon np-select-input-addon--interactive'),
|
|
6681
6740
|
onClick: onClick,
|
|
6682
6741
|
children: /*#__PURE__*/jsx(Cross, {
|
|
@@ -6724,9 +6783,10 @@ function SelectInput({
|
|
|
6724
6783
|
children: ({
|
|
6725
6784
|
disabled: uiDisabled,
|
|
6726
6785
|
value
|
|
6727
|
-
}) => /*#__PURE__*/jsx(
|
|
6728
|
-
value: value != null,
|
|
6786
|
+
}) => /*#__PURE__*/jsx(SelectInputItemCheckPaddingContext.Provider, {
|
|
6787
|
+
value: Boolean(filterable) || value != null,
|
|
6729
6788
|
children: /*#__PURE__*/jsx(OptionsOverlay, {
|
|
6789
|
+
placement: "bottom-start",
|
|
6730
6790
|
open: open,
|
|
6731
6791
|
renderTrigger: ({
|
|
6732
6792
|
ref,
|
|
@@ -6816,9 +6876,14 @@ const SelectInputOptionsContainer = /*#__PURE__*/forwardRef(function SelectInput
|
|
|
6816
6876
|
ref: ref,
|
|
6817
6877
|
onKeyDown: event => {
|
|
6818
6878
|
// Prevent absorbing dismissal requests too early
|
|
6819
|
-
if (event.key
|
|
6820
|
-
|
|
6879
|
+
if (event.key === 'Escape') {
|
|
6880
|
+
return;
|
|
6881
|
+
}
|
|
6882
|
+
// Prevent confirmation close without an active item
|
|
6883
|
+
if (event.key === 'Enter' && ariaActiveDescendant == null) {
|
|
6884
|
+
return;
|
|
6821
6885
|
}
|
|
6886
|
+
onKeyDown?.(event);
|
|
6822
6887
|
},
|
|
6823
6888
|
...restProps
|
|
6824
6889
|
})
|
|
@@ -6827,11 +6892,13 @@ const SelectInputOptionsContainer = /*#__PURE__*/forwardRef(function SelectInput
|
|
|
6827
6892
|
function SelectInputOptions({
|
|
6828
6893
|
items,
|
|
6829
6894
|
renderValue = wrapInFragment,
|
|
6830
|
-
filterable,
|
|
6895
|
+
filterable = false,
|
|
6831
6896
|
filterPlaceholder,
|
|
6832
6897
|
searchInputRef,
|
|
6833
6898
|
listboxRef
|
|
6834
6899
|
}) {
|
|
6900
|
+
const intl = useIntl();
|
|
6901
|
+
const controllerRef = filterable ? searchInputRef : listboxRef;
|
|
6835
6902
|
const [query, setQuery] = useState('');
|
|
6836
6903
|
const needle = useMemo(() => {
|
|
6837
6904
|
if (filterable) {
|
|
@@ -6839,14 +6906,16 @@ function SelectInputOptions({
|
|
|
6839
6906
|
}
|
|
6840
6907
|
return undefined;
|
|
6841
6908
|
}, [filterable, query]);
|
|
6909
|
+
const empty = needle != null && filterSelectInputItems(items, needle).length === 0;
|
|
6842
6910
|
const listboxContainerRef = useRef(null);
|
|
6843
6911
|
useEffect(() => {
|
|
6844
6912
|
if (listboxContainerRef.current != null) {
|
|
6845
6913
|
listboxContainerRef.current.style.setProperty('--initial-height', `${listboxContainerRef.current.offsetHeight}px`);
|
|
6846
6914
|
}
|
|
6847
6915
|
}, []);
|
|
6916
|
+
const showStatus = empty;
|
|
6917
|
+
const statusId = useId();
|
|
6848
6918
|
const listboxId = useId();
|
|
6849
|
-
const controllerRef = filterable ? searchInputRef : listboxRef;
|
|
6850
6919
|
return /*#__PURE__*/jsxs(Listbox.Options, {
|
|
6851
6920
|
as: SelectInputOptionsContainer,
|
|
6852
6921
|
static: true,
|
|
@@ -6868,6 +6937,7 @@ function SelectInputOptions({
|
|
|
6868
6937
|
placeholder: filterPlaceholder,
|
|
6869
6938
|
value: query,
|
|
6870
6939
|
"aria-controls": listboxId,
|
|
6940
|
+
"aria-describedby": showStatus ? statusId : undefined,
|
|
6871
6941
|
onKeyDown: event => {
|
|
6872
6942
|
// Prevent interfering with the matcher of Headless UI
|
|
6873
6943
|
// https://mathiasbynens.be/notes/javascript-unicode#regex
|
|
@@ -6879,24 +6949,31 @@ function SelectInputOptions({
|
|
|
6879
6949
|
setQuery(event.currentTarget.value);
|
|
6880
6950
|
}
|
|
6881
6951
|
})
|
|
6882
|
-
}) : null, /*#__PURE__*/
|
|
6952
|
+
}) : null, /*#__PURE__*/jsxs("div", {
|
|
6883
6953
|
ref: listboxContainerRef,
|
|
6884
6954
|
className: classNames('np-select-input-listbox-container', items.some(item => item.type === 'group') && 'np-select-input-listbox-container--has-group'),
|
|
6885
|
-
children: /*#__PURE__*/
|
|
6955
|
+
children: [empty ? /*#__PURE__*/jsxs("div", {
|
|
6956
|
+
id: statusId,
|
|
6957
|
+
className: "np-select-input-options-status",
|
|
6958
|
+
children: [/*#__PURE__*/jsx(CrossCircle, {
|
|
6959
|
+
size: 16,
|
|
6960
|
+
className: "np-select-input-options-status-icon"
|
|
6961
|
+
}), intl.formatMessage(messages$4.noResultsFound)]
|
|
6962
|
+
}) : null, /*#__PURE__*/jsx("div", {
|
|
6886
6963
|
ref: listboxRef,
|
|
6887
6964
|
id: listboxId,
|
|
6888
6965
|
role: "listbox",
|
|
6889
6966
|
"aria-orientation": "vertical",
|
|
6890
6967
|
tabIndex: 0,
|
|
6891
6968
|
className: "np-select-input-listbox",
|
|
6892
|
-
children: (needle
|
|
6969
|
+
children: (needle != null ? dedupeSelectInputItems(items) : items).map((item, index) => /*#__PURE__*/jsx(SelectInputItemView
|
|
6893
6970
|
// eslint-disable-next-line react/no-array-index-key
|
|
6894
6971
|
, {
|
|
6895
6972
|
item: item,
|
|
6896
6973
|
renderValue: renderValue,
|
|
6897
6974
|
needle: needle
|
|
6898
6975
|
}, index))
|
|
6899
|
-
})
|
|
6976
|
+
})]
|
|
6900
6977
|
})]
|
|
6901
6978
|
});
|
|
6902
6979
|
}
|
|
@@ -6908,7 +6985,7 @@ function SelectInputItemView({
|
|
|
6908
6985
|
switch (item.type) {
|
|
6909
6986
|
case 'option':
|
|
6910
6987
|
{
|
|
6911
|
-
if (item.value != null && (
|
|
6988
|
+
if (item.value != null && (needle == null || filterSelectInputOptionItem(item, needle))) {
|
|
6912
6989
|
return /*#__PURE__*/jsx(SelectInputOption, {
|
|
6913
6990
|
value: item.value,
|
|
6914
6991
|
disabled: item.disabled,
|
|
@@ -6943,6 +7020,7 @@ function SelectInputGroupItemView({
|
|
|
6943
7020
|
needle
|
|
6944
7021
|
}) {
|
|
6945
7022
|
const headerId = useId();
|
|
7023
|
+
const checkPadding = useSelectInputItemCheckPadding();
|
|
6946
7024
|
return (
|
|
6947
7025
|
/*#__PURE__*/
|
|
6948
7026
|
// An empty container may be rendered when no options match `needle`
|
|
@@ -6951,11 +7029,13 @@ function SelectInputGroupItemView({
|
|
|
6951
7029
|
role: "group",
|
|
6952
7030
|
"aria-labelledby": headerId,
|
|
6953
7031
|
className: classNames(needle === null && 'np-select-input-group-item--without-needle'),
|
|
6954
|
-
children: [needle == null ? /*#__PURE__*/
|
|
7032
|
+
children: [needle == null ? /*#__PURE__*/jsxs("header", {
|
|
6955
7033
|
id: headerId,
|
|
6956
7034
|
role: "presentation",
|
|
6957
7035
|
className: "np-select-input-group-item-header np-text-title-group",
|
|
6958
|
-
children:
|
|
7036
|
+
children: [checkPadding ? /*#__PURE__*/jsx("span", {
|
|
7037
|
+
className: "np-select-input-option-check-placeholder"
|
|
7038
|
+
}) : null, item.label]
|
|
6959
7039
|
}) : null, item.options.map((option, index) => /*#__PURE__*/jsx(SelectInputItemView
|
|
6960
7040
|
// eslint-disable-next-line react/no-array-index-key
|
|
6961
7041
|
, {
|
|
@@ -6971,24 +7051,24 @@ function SelectInputOption({
|
|
|
6971
7051
|
disabled,
|
|
6972
7052
|
children
|
|
6973
7053
|
}) {
|
|
7054
|
+
const checkPadding = useSelectInputItemCheckPadding();
|
|
6974
7055
|
return /*#__PURE__*/jsx(Listbox.Option, {
|
|
6975
7056
|
as: "div",
|
|
6976
7057
|
value: value,
|
|
6977
7058
|
disabled: disabled,
|
|
6978
7059
|
className: ({
|
|
6979
7060
|
active,
|
|
6980
|
-
selected,
|
|
6981
7061
|
disabled: uiDisabled
|
|
6982
|
-
}) => classNames('np-select-input-option-container np-text-body-large', active && 'np-select-input-option-container--active',
|
|
7062
|
+
}) => classNames('np-select-input-option-container np-text-body-large', active && 'np-select-input-option-container--active', uiDisabled && 'np-select-input-option-container--disabled'),
|
|
6983
7063
|
children: ({
|
|
6984
7064
|
selected
|
|
6985
7065
|
}) => /*#__PURE__*/jsxs(Fragment, {
|
|
6986
|
-
children: [/*#__PURE__*/jsx(
|
|
7066
|
+
children: [checkPadding ? /*#__PURE__*/jsx(Check, {
|
|
7067
|
+
size: 16,
|
|
7068
|
+
className: classNames('np-select-input-option-check', !selected && 'np-select-input-option-check--not-selected')
|
|
7069
|
+
}) : null, /*#__PURE__*/jsx("div", {
|
|
6987
7070
|
className: "np-select-input-option",
|
|
6988
7071
|
children: children
|
|
6989
|
-
}), selected && /*#__PURE__*/jsx(Check, {
|
|
6990
|
-
size: 24,
|
|
6991
|
-
className: classNames('np-select-input-option-check')
|
|
6992
7072
|
})]
|
|
6993
7073
|
})
|
|
6994
7074
|
});
|
|
@@ -10680,6 +10760,7 @@ var en = {
|
|
|
10680
10760
|
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
10681
10761
|
"neptune.MoneyInput.Select.placeholder": "Select an option...",
|
|
10682
10762
|
"neptune.Select.searchPlaceholder": "Search...",
|
|
10763
|
+
"neptune.SelectInput.noResultsFound": "No results found",
|
|
10683
10764
|
"neptune.Summary.statusDone": "Item done",
|
|
10684
10765
|
"neptune.Summary.statusNotDone": "Item to do",
|
|
10685
10766
|
"neptune.Summary.statusPending": "Item pending",
|
|
@@ -10907,7 +10988,7 @@ class RadioGroup extends Component {
|
|
|
10907
10988
|
const {
|
|
10908
10989
|
selectedValue
|
|
10909
10990
|
} = this.state;
|
|
10910
|
-
return radios && radios.length >
|
|
10991
|
+
return radios && radios.length > 0 ? /*#__PURE__*/jsx(Fragment, {
|
|
10911
10992
|
children: radios.map(({
|
|
10912
10993
|
id,
|
|
10913
10994
|
avatar,
|
|
@@ -14448,17 +14529,78 @@ function useSnackbar() {
|
|
|
14448
14529
|
return createSnackbar;
|
|
14449
14530
|
}
|
|
14450
14531
|
|
|
14532
|
+
var cs = {
|
|
14533
|
+
"neptune.Button.loadingAriaLabel": "načítání",
|
|
14534
|
+
"neptune.Chips.ariaLabel": "Vyčistit {choice}",
|
|
14535
|
+
"neptune.ClearButton.ariaLabel": "Vyčistit",
|
|
14536
|
+
"neptune.CloseButton.ariaLabel": "Zavřít",
|
|
14537
|
+
"neptune.DateInput.day.label": "Den",
|
|
14538
|
+
"neptune.DateInput.month.label": "Měsíc",
|
|
14539
|
+
"neptune.DateInput.year.label": "Rok",
|
|
14540
|
+
"neptune.DateLookup.day": "den",
|
|
14541
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
14542
|
+
"neptune.DateLookup.month": "měsíc",
|
|
14543
|
+
"neptune.DateLookup.next": "další",
|
|
14544
|
+
"neptune.DateLookup.previous": "předchozí",
|
|
14545
|
+
"neptune.DateLookup.selected": "vybráno",
|
|
14546
|
+
"neptune.DateLookup.twentyYears": "20 let",
|
|
14547
|
+
"neptune.DateLookup.year": "rok",
|
|
14548
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
14549
|
+
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
14550
|
+
"neptune.MoneyInput.Select.placeholder": "Vybrat možnost...",
|
|
14551
|
+
"neptune.Select.searchPlaceholder": "Hledat...",
|
|
14552
|
+
"neptune.Summary.statusDone": "Položka dokončena",
|
|
14553
|
+
"neptune.Summary.statusNotDone": "Položka k dokončení",
|
|
14554
|
+
"neptune.Summary.statusPending": "Čekající položka",
|
|
14555
|
+
"neptune.Upload.csButtonText": "Nahrát další soubor?",
|
|
14556
|
+
"neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
|
|
14557
|
+
"neptune.Upload.csSuccessText": "Úspěšně nahráno!",
|
|
14558
|
+
"neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
|
|
14559
|
+
"neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
|
|
14560
|
+
"neptune.Upload.psButtonText": "Zrušit",
|
|
14561
|
+
"neptune.Upload.psProcessingText": "Načítání...",
|
|
14562
|
+
"neptune.Upload.usButtonText": "Nebo vyberte soubor",
|
|
14563
|
+
"neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
|
|
14564
|
+
"neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
|
|
14565
|
+
"neptune.UploadButton.allFileTypes": "Všechny typy souborů",
|
|
14566
|
+
"neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
|
|
14567
|
+
"neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
|
|
14568
|
+
"neptune.UploadButton.uploadFile": "Nahrát soubor",
|
|
14569
|
+
"neptune.UploadButton.uploadFiles": "Nahrát soubory",
|
|
14570
|
+
"neptune.UploadInput.deleteModalBody": "Odstraněním tohoto souboru jej smažete z našeho systému.",
|
|
14571
|
+
"neptune.UploadInput.deleteModalCancelButtonText": "Zrušit",
|
|
14572
|
+
"neptune.UploadInput.deleteModalConfirmButtonText": "Odstranit",
|
|
14573
|
+
"neptune.UploadInput.deleteModalTitle": "Jistě chcete odstranit tento soubor?",
|
|
14574
|
+
"neptune.UploadInput.fileIsTooLarge": "Soubor je příliš velký",
|
|
14575
|
+
"neptune.UploadInput.fileTypeNotSupported": "Typ souboru není podporován",
|
|
14576
|
+
"neptune.UploadInput.maximumFilesAlreadyUploaded": "Je nám líto, ale toto nahrání se nezdařilo, protože můžeme přijmout pouze {maxFilesAllowed} souborů najednou.",
|
|
14577
|
+
"neptune.UploadItem.deleting": "Mažeme...",
|
|
14578
|
+
"neptune.UploadItem.removeFile": "Odstranit soubor {filename}",
|
|
14579
|
+
"neptune.UploadItem.uploaded": "Nahráno",
|
|
14580
|
+
"neptune.UploadItem.uploadedFile": "Nahraný soubor",
|
|
14581
|
+
"neptune.UploadItem.uploading": "Nahrávání...",
|
|
14582
|
+
"neptune.UploadItem.uploadingFailed": "Nahrání se nezdařilo"
|
|
14583
|
+
};
|
|
14584
|
+
|
|
14451
14585
|
var de = {
|
|
14586
|
+
"neptune.Button.loadingAriaLabel": "wird geladen",
|
|
14452
14587
|
"neptune.Chips.ariaLabel": "{choice} zurücksetzen",
|
|
14453
14588
|
"neptune.ClearButton.ariaLabel": "Zurücksetzen",
|
|
14454
14589
|
"neptune.CloseButton.ariaLabel": "Schließen",
|
|
14455
14590
|
"neptune.DateInput.day.label": "Tag",
|
|
14456
14591
|
"neptune.DateInput.month.label": "Monat",
|
|
14457
14592
|
"neptune.DateInput.year.label": "Jahr",
|
|
14593
|
+
"neptune.DateLookup.day": "Tag",
|
|
14594
|
+
"neptune.DateLookup.goTo20YearView": "Zur 20-Jahres-Ansicht",
|
|
14595
|
+
"neptune.DateLookup.month": "Monat",
|
|
14596
|
+
"neptune.DateLookup.next": "weiter",
|
|
14597
|
+
"neptune.DateLookup.previous": "zurück",
|
|
14598
|
+
"neptune.DateLookup.selected": "ausgewählt",
|
|
14599
|
+
"neptune.DateLookup.twentyYears": "20 Jahre",
|
|
14600
|
+
"neptune.DateLookup.year": "Jahr",
|
|
14601
|
+
"neptune.FlowNavigation.back": "zurück zum vorherigen Schritt",
|
|
14602
|
+
"neptune.Link.opensInNewTab": "(wird in einem neuen Tab geöffnet)",
|
|
14458
14603
|
"neptune.MoneyInput.Select.placeholder": "Wähle eine der Möglichkeiten aus...",
|
|
14459
|
-
"neptune.Pagination.ariaLabel": "Seitennummer-Navigation",
|
|
14460
|
-
"neptune.PaginationLink.ariaLabel.active": "Weiter zur Seite {pageNumber}",
|
|
14461
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Aktuelle Seite – Seite {pageNumber}",
|
|
14462
14604
|
"neptune.Select.searchPlaceholder": "Wird gesucht...",
|
|
14463
14605
|
"neptune.Summary.statusDone": "Schritt erledigt",
|
|
14464
14606
|
"neptune.Summary.statusNotDone": "Schritt noch zu erledigen",
|
|
@@ -14494,16 +14636,24 @@ var de = {
|
|
|
14494
14636
|
};
|
|
14495
14637
|
|
|
14496
14638
|
var es = {
|
|
14639
|
+
"neptune.Button.loadingAriaLabel": "cargando",
|
|
14497
14640
|
"neptune.Chips.ariaLabel": "Descartar {choice}",
|
|
14498
14641
|
"neptune.ClearButton.ariaLabel": "Borrar",
|
|
14499
14642
|
"neptune.CloseButton.ariaLabel": "Cerrar",
|
|
14500
14643
|
"neptune.DateInput.day.label": "Día",
|
|
14501
14644
|
"neptune.DateInput.month.label": "Mes",
|
|
14502
14645
|
"neptune.DateInput.year.label": "Año",
|
|
14646
|
+
"neptune.DateLookup.day": "día",
|
|
14647
|
+
"neptune.DateLookup.goTo20YearView": "Ir a vista de 20 años",
|
|
14648
|
+
"neptune.DateLookup.month": "mes",
|
|
14649
|
+
"neptune.DateLookup.next": "siguiente",
|
|
14650
|
+
"neptune.DateLookup.previous": "anterior",
|
|
14651
|
+
"neptune.DateLookup.selected": "seleccionado",
|
|
14652
|
+
"neptune.DateLookup.twentyYears": "20 años",
|
|
14653
|
+
"neptune.DateLookup.year": "año",
|
|
14654
|
+
"neptune.FlowNavigation.back": "volver al paso anterior",
|
|
14655
|
+
"neptune.Link.opensInNewTab": "(se abre en una pestaña nueva)",
|
|
14503
14656
|
"neptune.MoneyInput.Select.placeholder": "Selecciona una opción...",
|
|
14504
|
-
"neptune.Pagination.ariaLabel": "Navegación por las páginas",
|
|
14505
|
-
"neptune.PaginationLink.ariaLabel.active": "Ve a la página {pageNumber}",
|
|
14506
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Página actual, página {pageNumber}",
|
|
14507
14657
|
"neptune.Select.searchPlaceholder": "Buscar...",
|
|
14508
14658
|
"neptune.Summary.statusDone": "Apartado listo",
|
|
14509
14659
|
"neptune.Summary.statusNotDone": "Apartado a completar",
|
|
@@ -14539,16 +14689,24 @@ var es = {
|
|
|
14539
14689
|
};
|
|
14540
14690
|
|
|
14541
14691
|
var fr = {
|
|
14692
|
+
"neptune.Button.loadingAriaLabel": "chargement",
|
|
14542
14693
|
"neptune.Chips.ariaLabel": "Effacer {choice}",
|
|
14543
14694
|
"neptune.ClearButton.ariaLabel": "Effacer",
|
|
14544
14695
|
"neptune.CloseButton.ariaLabel": "Fermer",
|
|
14545
14696
|
"neptune.DateInput.day.label": "Jour",
|
|
14546
14697
|
"neptune.DateInput.month.label": "Mois",
|
|
14547
14698
|
"neptune.DateInput.year.label": "Année",
|
|
14699
|
+
"neptune.DateLookup.day": "jour",
|
|
14700
|
+
"neptune.DateLookup.goTo20YearView": "Accéder à la vue sur 20 ans",
|
|
14701
|
+
"neptune.DateLookup.month": "mois",
|
|
14702
|
+
"neptune.DateLookup.next": "suivant",
|
|
14703
|
+
"neptune.DateLookup.previous": "précédent",
|
|
14704
|
+
"neptune.DateLookup.selected": "sélectionnée",
|
|
14705
|
+
"neptune.DateLookup.twentyYears": "20 ans",
|
|
14706
|
+
"neptune.DateLookup.year": "année",
|
|
14707
|
+
"neptune.FlowNavigation.back": "revenir à l'étape précédente",
|
|
14708
|
+
"neptune.Link.opensInNewTab": "(ouvre dans un nouvel onglet)",
|
|
14548
14709
|
"neptune.MoneyInput.Select.placeholder": "Sélectionner une option...",
|
|
14549
|
-
"neptune.Pagination.ariaLabel": "Navigation par pagination",
|
|
14550
|
-
"neptune.PaginationLink.ariaLabel.active": "Aller à la page {pageNumber}",
|
|
14551
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Page actuelle, page {pageNumber}",
|
|
14552
14710
|
"neptune.Select.searchPlaceholder": "Recherche...",
|
|
14553
14711
|
"neptune.Summary.statusDone": "Validé",
|
|
14554
14712
|
"neptune.Summary.statusNotDone": "À compléter",
|
|
@@ -14584,16 +14742,24 @@ var fr = {
|
|
|
14584
14742
|
};
|
|
14585
14743
|
|
|
14586
14744
|
var hu = {
|
|
14745
|
+
"neptune.Button.loadingAriaLabel": "betöltés",
|
|
14587
14746
|
"neptune.Chips.ariaLabel": "{choice} törlése",
|
|
14588
14747
|
"neptune.ClearButton.ariaLabel": "Törlés",
|
|
14589
14748
|
"neptune.CloseButton.ariaLabel": "Bezárás",
|
|
14590
14749
|
"neptune.DateInput.day.label": "Nap",
|
|
14591
14750
|
"neptune.DateInput.month.label": "Hónap",
|
|
14592
14751
|
"neptune.DateInput.year.label": "Év",
|
|
14752
|
+
"neptune.DateLookup.day": "nap",
|
|
14753
|
+
"neptune.DateLookup.goTo20YearView": "Ugrás a 20 éves nézetre",
|
|
14754
|
+
"neptune.DateLookup.month": "hónap",
|
|
14755
|
+
"neptune.DateLookup.next": "következő",
|
|
14756
|
+
"neptune.DateLookup.previous": "előző",
|
|
14757
|
+
"neptune.DateLookup.selected": "kiválasztva",
|
|
14758
|
+
"neptune.DateLookup.twentyYears": "20 év",
|
|
14759
|
+
"neptune.DateLookup.year": "év",
|
|
14760
|
+
"neptune.FlowNavigation.back": "vissza az előző lépéshez",
|
|
14761
|
+
"neptune.Link.opensInNewTab": "(új lapon nyílik meg)",
|
|
14593
14762
|
"neptune.MoneyInput.Select.placeholder": "Válassz ki egy lehetőséget...",
|
|
14594
|
-
"neptune.Pagination.ariaLabel": "Lapszámos navigáció",
|
|
14595
|
-
"neptune.PaginationLink.ariaLabel.active": "Ugrás a(z) {pageNumber}. oldalra",
|
|
14596
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Jelenlegi oldal, {pageNumber}. oldal",
|
|
14597
14763
|
"neptune.Select.searchPlaceholder": "Keresés...",
|
|
14598
14764
|
"neptune.Summary.statusDone": "Kész",
|
|
14599
14765
|
"neptune.Summary.statusNotDone": "Hátravan",
|
|
@@ -14629,16 +14795,24 @@ var hu = {
|
|
|
14629
14795
|
};
|
|
14630
14796
|
|
|
14631
14797
|
var id = {
|
|
14798
|
+
"neptune.Button.loadingAriaLabel": "memuat",
|
|
14632
14799
|
"neptune.Chips.ariaLabel": "Hapus {choice}",
|
|
14633
14800
|
"neptune.ClearButton.ariaLabel": "Hapus",
|
|
14634
14801
|
"neptune.CloseButton.ariaLabel": "Tutup",
|
|
14635
14802
|
"neptune.DateInput.day.label": "Hari",
|
|
14636
14803
|
"neptune.DateInput.month.label": "Bulan",
|
|
14637
14804
|
"neptune.DateInput.year.label": "Tahun",
|
|
14805
|
+
"neptune.DateLookup.day": "hari",
|
|
14806
|
+
"neptune.DateLookup.goTo20YearView": "Lihat tampilan 20 tahun",
|
|
14807
|
+
"neptune.DateLookup.month": "bulan",
|
|
14808
|
+
"neptune.DateLookup.next": "berikutnya",
|
|
14809
|
+
"neptune.DateLookup.previous": "sebelumnya",
|
|
14810
|
+
"neptune.DateLookup.selected": "terpilih",
|
|
14811
|
+
"neptune.DateLookup.twentyYears": "20 tahun",
|
|
14812
|
+
"neptune.DateLookup.year": "tahun",
|
|
14813
|
+
"neptune.FlowNavigation.back": "kembali ke langkah sebelumnya",
|
|
14814
|
+
"neptune.Link.opensInNewTab": "(terbuka di tab baru)",
|
|
14638
14815
|
"neptune.MoneyInput.Select.placeholder": "Pilih opsi...",
|
|
14639
|
-
"neptune.Pagination.ariaLabel": "Halaman navigasi",
|
|
14640
|
-
"neptune.PaginationLink.ariaLabel.active": "Lanjut ke halaman {pageNumber}",
|
|
14641
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Halaman saat ini, halaman {pageNumber}",
|
|
14642
14816
|
"neptune.Select.searchPlaceholder": "Cari...",
|
|
14643
14817
|
"neptune.Summary.statusDone": "Item selesai",
|
|
14644
14818
|
"neptune.Summary.statusNotDone": "Item yang harus dilakukan",
|
|
@@ -14674,16 +14848,24 @@ var id = {
|
|
|
14674
14848
|
};
|
|
14675
14849
|
|
|
14676
14850
|
var it = {
|
|
14851
|
+
"neptune.Button.loadingAriaLabel": "caricamento",
|
|
14677
14852
|
"neptune.Chips.ariaLabel": "Rimuovi {choice}",
|
|
14678
14853
|
"neptune.ClearButton.ariaLabel": "Elimina",
|
|
14679
14854
|
"neptune.CloseButton.ariaLabel": "Chiudi",
|
|
14680
14855
|
"neptune.DateInput.day.label": "Giorno",
|
|
14681
14856
|
"neptune.DateInput.month.label": "Mese",
|
|
14682
14857
|
"neptune.DateInput.year.label": "Anno",
|
|
14858
|
+
"neptune.DateLookup.day": "giorno",
|
|
14859
|
+
"neptune.DateLookup.goTo20YearView": "Vai alla vista su 20 anni",
|
|
14860
|
+
"neptune.DateLookup.month": "mese",
|
|
14861
|
+
"neptune.DateLookup.next": "continua",
|
|
14862
|
+
"neptune.DateLookup.previous": "indietro",
|
|
14863
|
+
"neptune.DateLookup.selected": "selezionata",
|
|
14864
|
+
"neptune.DateLookup.twentyYears": "20 anni",
|
|
14865
|
+
"neptune.DateLookup.year": "anno",
|
|
14866
|
+
"neptune.FlowNavigation.back": "torna al passaggio precedente",
|
|
14867
|
+
"neptune.Link.opensInNewTab": "(si apre in una nuova scheda)",
|
|
14683
14868
|
"neptune.MoneyInput.Select.placeholder": "Seleziona un'opzione...",
|
|
14684
|
-
"neptune.Pagination.ariaLabel": "Navigazione",
|
|
14685
|
-
"neptune.PaginationLink.ariaLabel.active": "Via a pagina {pageNumber}",
|
|
14686
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Pagina corrente, pagina {pageNumber}",
|
|
14687
14869
|
"neptune.Select.searchPlaceholder": "Cerca...",
|
|
14688
14870
|
"neptune.Summary.statusDone": "Completato",
|
|
14689
14871
|
"neptune.Summary.statusNotDone": "Da completare",
|
|
@@ -14719,16 +14901,24 @@ var it = {
|
|
|
14719
14901
|
};
|
|
14720
14902
|
|
|
14721
14903
|
var ja = {
|
|
14904
|
+
"neptune.Button.loadingAriaLabel": "読み込み中…",
|
|
14722
14905
|
"neptune.Chips.ariaLabel": "{choice} をクリア",
|
|
14723
14906
|
"neptune.ClearButton.ariaLabel": "消去",
|
|
14724
14907
|
"neptune.CloseButton.ariaLabel": "閉じる",
|
|
14725
14908
|
"neptune.DateInput.day.label": "日",
|
|
14726
14909
|
"neptune.DateInput.month.label": "月",
|
|
14727
14910
|
"neptune.DateInput.year.label": "年",
|
|
14911
|
+
"neptune.DateLookup.day": "日",
|
|
14912
|
+
"neptune.DateLookup.goTo20YearView": "20年表示に移動する",
|
|
14913
|
+
"neptune.DateLookup.month": "月",
|
|
14914
|
+
"neptune.DateLookup.next": "次",
|
|
14915
|
+
"neptune.DateLookup.previous": "前",
|
|
14916
|
+
"neptune.DateLookup.selected": "選択済み",
|
|
14917
|
+
"neptune.DateLookup.twentyYears": "20年",
|
|
14918
|
+
"neptune.DateLookup.year": "年",
|
|
14919
|
+
"neptune.FlowNavigation.back": "前のステップに戻る",
|
|
14920
|
+
"neptune.Link.opensInNewTab": "(新しいタブで開きます)",
|
|
14728
14921
|
"neptune.MoneyInput.Select.placeholder": "選択してください...",
|
|
14729
|
-
"neptune.Pagination.ariaLabel": "ページネーションナビゲーション",
|
|
14730
|
-
"neptune.PaginationLink.ariaLabel.active": "{pageNumber}のページへ移動します",
|
|
14731
|
-
"neptune.PaginationLink.ariaLabel.inactive": "現在のページ、{pageNumber}ページ",
|
|
14732
14922
|
"neptune.Select.searchPlaceholder": "検索... ",
|
|
14733
14923
|
"neptune.Summary.statusDone": "完了",
|
|
14734
14924
|
"neptune.Summary.statusNotDone": "未対応",
|
|
@@ -14764,16 +14954,24 @@ var ja = {
|
|
|
14764
14954
|
};
|
|
14765
14955
|
|
|
14766
14956
|
var pl = {
|
|
14957
|
+
"neptune.Button.loadingAriaLabel": "ładowanie",
|
|
14767
14958
|
"neptune.Chips.ariaLabel": "Wyczyść {choice}",
|
|
14768
14959
|
"neptune.ClearButton.ariaLabel": "Wyczyść",
|
|
14769
14960
|
"neptune.CloseButton.ariaLabel": "Zamknij",
|
|
14770
14961
|
"neptune.DateInput.day.label": "Dzień",
|
|
14771
14962
|
"neptune.DateInput.month.label": "Miesiąc",
|
|
14772
14963
|
"neptune.DateInput.year.label": "Rok",
|
|
14964
|
+
"neptune.DateLookup.day": "dzień",
|
|
14965
|
+
"neptune.DateLookup.goTo20YearView": "Przejdź do widoku 20-letniego",
|
|
14966
|
+
"neptune.DateLookup.month": "miesiąc",
|
|
14967
|
+
"neptune.DateLookup.next": "następny",
|
|
14968
|
+
"neptune.DateLookup.previous": "poprzedni",
|
|
14969
|
+
"neptune.DateLookup.selected": "wybrano",
|
|
14970
|
+
"neptune.DateLookup.twentyYears": "20 lat",
|
|
14971
|
+
"neptune.DateLookup.year": "rok",
|
|
14972
|
+
"neptune.FlowNavigation.back": "wróć do poprzedniego kroku",
|
|
14973
|
+
"neptune.Link.opensInNewTab": "(otworzy się w nowej zakładce)",
|
|
14773
14974
|
"neptune.MoneyInput.Select.placeholder": "Wybierz opcję...",
|
|
14774
|
-
"neptune.Pagination.ariaLabel": "Nawigacja w paginacji",
|
|
14775
|
-
"neptune.PaginationLink.ariaLabel.active": "Przejdź do strony {pageNumber}",
|
|
14776
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Obecna strona, strona {pageNumber}",
|
|
14777
14975
|
"neptune.Select.searchPlaceholder": "Wyszukaj...",
|
|
14778
14976
|
"neptune.Summary.statusDone": "Czynność wykonana",
|
|
14779
14977
|
"neptune.Summary.statusNotDone": "Czynność do wykonania",
|
|
@@ -14809,16 +15007,24 @@ var pl = {
|
|
|
14809
15007
|
};
|
|
14810
15008
|
|
|
14811
15009
|
var pt = {
|
|
15010
|
+
"neptune.Button.loadingAriaLabel": "carregando",
|
|
14812
15011
|
"neptune.Chips.ariaLabel": "Remover {choice}",
|
|
14813
15012
|
"neptune.ClearButton.ariaLabel": "Remover",
|
|
14814
15013
|
"neptune.CloseButton.ariaLabel": "Fechar",
|
|
14815
15014
|
"neptune.DateInput.day.label": "Dia",
|
|
14816
15015
|
"neptune.DateInput.month.label": "Mês",
|
|
14817
15016
|
"neptune.DateInput.year.label": "Ano",
|
|
15017
|
+
"neptune.DateLookup.day": "dia",
|
|
15018
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15019
|
+
"neptune.DateLookup.month": "mês",
|
|
15020
|
+
"neptune.DateLookup.next": "próximo",
|
|
15021
|
+
"neptune.DateLookup.previous": "anterior",
|
|
15022
|
+
"neptune.DateLookup.selected": "selecionada",
|
|
15023
|
+
"neptune.DateLookup.twentyYears": "20 anos",
|
|
15024
|
+
"neptune.DateLookup.year": "ano",
|
|
15025
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
15026
|
+
"neptune.Link.opensInNewTab": "(abrir a página em uma nova aba)",
|
|
14818
15027
|
"neptune.MoneyInput.Select.placeholder": "Escolha uma opção...",
|
|
14819
|
-
"neptune.Pagination.ariaLabel": "Navegação pelas páginas",
|
|
14820
|
-
"neptune.PaginationLink.ariaLabel.active": "Ir para a página {pageNumber}",
|
|
14821
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Página atual, página {pageNumber}",
|
|
14822
15028
|
"neptune.Select.searchPlaceholder": "Buscar...",
|
|
14823
15029
|
"neptune.Summary.statusDone": "Pronto",
|
|
14824
15030
|
"neptune.Summary.statusNotDone": "Não iniciado",
|
|
@@ -14854,16 +15060,24 @@ var pt = {
|
|
|
14854
15060
|
};
|
|
14855
15061
|
|
|
14856
15062
|
var ro = {
|
|
15063
|
+
"neptune.Button.loadingAriaLabel": "se încarcă",
|
|
14857
15064
|
"neptune.Chips.ariaLabel": "Șterge {choice}",
|
|
14858
15065
|
"neptune.ClearButton.ariaLabel": "Elimină",
|
|
14859
15066
|
"neptune.CloseButton.ariaLabel": "Închide",
|
|
14860
15067
|
"neptune.DateInput.day.label": "Zi",
|
|
14861
15068
|
"neptune.DateInput.month.label": "Lună",
|
|
14862
15069
|
"neptune.DateInput.year.label": "An",
|
|
15070
|
+
"neptune.DateLookup.day": "zi",
|
|
15071
|
+
"neptune.DateLookup.goTo20YearView": "Accesează vizualizarea pe 20 de ani",
|
|
15072
|
+
"neptune.DateLookup.month": "luna",
|
|
15073
|
+
"neptune.DateLookup.next": "înainte",
|
|
15074
|
+
"neptune.DateLookup.previous": "precedenta",
|
|
15075
|
+
"neptune.DateLookup.selected": "selectată",
|
|
15076
|
+
"neptune.DateLookup.twentyYears": "20 de ani",
|
|
15077
|
+
"neptune.DateLookup.year": "anul",
|
|
15078
|
+
"neptune.FlowNavigation.back": "înapoi la pasul anterior",
|
|
15079
|
+
"neptune.Link.opensInNewTab": "(se deschide într-o filă nouă)",
|
|
14863
15080
|
"neptune.MoneyInput.Select.placeholder": "Selectează o opţiune...",
|
|
14864
|
-
"neptune.Pagination.ariaLabel": "Navigare prin pagină",
|
|
14865
|
-
"neptune.PaginationLink.ariaLabel.active": "Du-te la pagina {pageNumber}",
|
|
14866
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Pagina curentă, pagina {pageNumber}",
|
|
14867
15081
|
"neptune.Select.searchPlaceholder": "Caută...",
|
|
14868
15082
|
"neptune.Summary.statusDone": "Finalizat",
|
|
14869
15083
|
"neptune.Summary.statusNotDone": "De făcut",
|
|
@@ -14899,16 +15113,24 @@ var ro = {
|
|
|
14899
15113
|
};
|
|
14900
15114
|
|
|
14901
15115
|
var ru = {
|
|
15116
|
+
"neptune.Button.loadingAriaLabel": "загрузка",
|
|
14902
15117
|
"neptune.Chips.ariaLabel": "Очистить {choice}",
|
|
14903
15118
|
"neptune.ClearButton.ariaLabel": "Очистить",
|
|
14904
15119
|
"neptune.CloseButton.ariaLabel": "Закрыть",
|
|
14905
15120
|
"neptune.DateInput.day.label": "День",
|
|
14906
15121
|
"neptune.DateInput.month.label": "Месяц",
|
|
14907
15122
|
"neptune.DateInput.year.label": "Год",
|
|
15123
|
+
"neptune.DateLookup.day": "день",
|
|
15124
|
+
"neptune.DateLookup.goTo20YearView": "Перейти к обзору 20 лет",
|
|
15125
|
+
"neptune.DateLookup.month": "месяц",
|
|
15126
|
+
"neptune.DateLookup.next": "далее",
|
|
15127
|
+
"neptune.DateLookup.previous": "предыдущий",
|
|
15128
|
+
"neptune.DateLookup.selected": "выбрано",
|
|
15129
|
+
"neptune.DateLookup.twentyYears": "20 лет",
|
|
15130
|
+
"neptune.DateLookup.year": "год",
|
|
15131
|
+
"neptune.FlowNavigation.back": "вернуться к предыдущему шагу",
|
|
15132
|
+
"neptune.Link.opensInNewTab": "(откроется в новой вкладке)",
|
|
14908
15133
|
"neptune.MoneyInput.Select.placeholder": "Выберите вариант...",
|
|
14909
|
-
"neptune.Pagination.ariaLabel": "Постраничная навигация",
|
|
14910
|
-
"neptune.PaginationLink.ariaLabel.active": "Перейти на страницу {pageNumber}",
|
|
14911
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Текущая страница, страница {pageNumber}",
|
|
14912
15134
|
"neptune.Select.searchPlaceholder": "Поиск...",
|
|
14913
15135
|
"neptune.Summary.statusDone": "Этап завершен",
|
|
14914
15136
|
"neptune.Summary.statusNotDone": "Этап к выполнению",
|
|
@@ -14944,16 +15166,24 @@ var ru = {
|
|
|
14944
15166
|
};
|
|
14945
15167
|
|
|
14946
15168
|
var th = {
|
|
15169
|
+
"neptune.Button.loadingAriaLabel": "กำลังโหลด",
|
|
14947
15170
|
"neptune.Chips.ariaLabel": "เคลียร์ {choice}",
|
|
14948
15171
|
"neptune.ClearButton.ariaLabel": "ชัดเจน",
|
|
14949
15172
|
"neptune.CloseButton.ariaLabel": "ปิด",
|
|
14950
15173
|
"neptune.DateInput.day.label": "วัน",
|
|
14951
15174
|
"neptune.DateInput.month.label": "เดือน",
|
|
14952
15175
|
"neptune.DateInput.year.label": "ปี",
|
|
15176
|
+
"neptune.DateLookup.day": "วัน",
|
|
15177
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15178
|
+
"neptune.DateLookup.month": "เดือน",
|
|
15179
|
+
"neptune.DateLookup.next": "ถัดไป",
|
|
15180
|
+
"neptune.DateLookup.previous": "ก่อนหน้า",
|
|
15181
|
+
"neptune.DateLookup.selected": "เลือกแล้ว",
|
|
15182
|
+
"neptune.DateLookup.twentyYears": "20 ปี",
|
|
15183
|
+
"neptune.DateLookup.year": "ปี",
|
|
15184
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
15185
|
+
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
14953
15186
|
"neptune.MoneyInput.Select.placeholder": "เลือกตัวเลือก...",
|
|
14954
|
-
"neptune.Pagination.ariaLabel": "การนำทางเลขหน้า",
|
|
14955
|
-
"neptune.PaginationLink.ariaLabel.active": "ไปที่หน้า {pageNumber}",
|
|
14956
|
-
"neptune.PaginationLink.ariaLabel.inactive": "หน้าปัจจุบัน หน้า {pageNumber}",
|
|
14957
15187
|
"neptune.Select.searchPlaceholder": "ค้นหา...",
|
|
14958
15188
|
"neptune.Summary.statusDone": "รายการที่ทำแล้ว",
|
|
14959
15189
|
"neptune.Summary.statusNotDone": "รายการที่ต้องทำ",
|
|
@@ -14989,16 +15219,24 @@ var th = {
|
|
|
14989
15219
|
};
|
|
14990
15220
|
|
|
14991
15221
|
var tr = {
|
|
15222
|
+
"neptune.Button.loadingAriaLabel": "yükleniyor",
|
|
14992
15223
|
"neptune.Chips.ariaLabel": "{choice} temizle",
|
|
14993
15224
|
"neptune.ClearButton.ariaLabel": "Sil",
|
|
14994
15225
|
"neptune.CloseButton.ariaLabel": "Kapat",
|
|
14995
15226
|
"neptune.DateInput.day.label": "Gün",
|
|
14996
15227
|
"neptune.DateInput.month.label": "Ay",
|
|
14997
15228
|
"neptune.DateInput.year.label": "Yıl",
|
|
15229
|
+
"neptune.DateLookup.day": "gün",
|
|
15230
|
+
"neptune.DateLookup.goTo20YearView": "20 yıl görünümüne git",
|
|
15231
|
+
"neptune.DateLookup.month": "ay",
|
|
15232
|
+
"neptune.DateLookup.next": "devam et",
|
|
15233
|
+
"neptune.DateLookup.previous": "önceki",
|
|
15234
|
+
"neptune.DateLookup.selected": "seçili",
|
|
15235
|
+
"neptune.DateLookup.twentyYears": "20 yıl",
|
|
15236
|
+
"neptune.DateLookup.year": "yıl",
|
|
15237
|
+
"neptune.FlowNavigation.back": "önceki adıma dön",
|
|
15238
|
+
"neptune.Link.opensInNewTab": "(yeni sekmede açılır)",
|
|
14998
15239
|
"neptune.MoneyInput.Select.placeholder": "Bir seçenek seçin...",
|
|
14999
|
-
"neptune.Pagination.ariaLabel": "Sayfalandırma gezintisi",
|
|
15000
|
-
"neptune.PaginationLink.ariaLabel.active": "{pageNumber} numaralı sayfaya git",
|
|
15001
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Mevcut sayfa, sayfa {pageNumber}",
|
|
15002
15240
|
"neptune.Select.searchPlaceholder": "Ara...",
|
|
15003
15241
|
"neptune.Summary.statusDone": "Tamamlanan aşama",
|
|
15004
15242
|
"neptune.Summary.statusNotDone": "Yapılacak",
|
|
@@ -15034,16 +15272,24 @@ var tr = {
|
|
|
15034
15272
|
};
|
|
15035
15273
|
|
|
15036
15274
|
var uk = {
|
|
15275
|
+
"neptune.Button.loadingAriaLabel": "завантаження",
|
|
15037
15276
|
"neptune.Chips.ariaLabel": "Очистити {choice}",
|
|
15038
15277
|
"neptune.ClearButton.ariaLabel": "Очистити",
|
|
15039
15278
|
"neptune.CloseButton.ariaLabel": "Закрити",
|
|
15040
15279
|
"neptune.DateInput.day.label": "День",
|
|
15041
15280
|
"neptune.DateInput.month.label": "Місяць",
|
|
15042
15281
|
"neptune.DateInput.year.label": "Рік",
|
|
15282
|
+
"neptune.DateLookup.day": "дня",
|
|
15283
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15284
|
+
"neptune.DateLookup.month": "місяць",
|
|
15285
|
+
"neptune.DateLookup.next": "уперед",
|
|
15286
|
+
"neptune.DateLookup.previous": "назад",
|
|
15287
|
+
"neptune.DateLookup.selected": "вибрано",
|
|
15288
|
+
"neptune.DateLookup.twentyYears": "20 років",
|
|
15289
|
+
"neptune.DateLookup.year": "рік",
|
|
15290
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
15291
|
+
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
15043
15292
|
"neptune.MoneyInput.Select.placeholder": "Виберіть варіант…",
|
|
15044
|
-
"neptune.Pagination.ariaLabel": "Перехід за сторінками",
|
|
15045
|
-
"neptune.PaginationLink.ariaLabel.active": "Перейти на сторінку {pageNumber}",
|
|
15046
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Ця сторінка, сторінка {pageNumber}",
|
|
15047
15293
|
"neptune.Select.searchPlaceholder": "Пошук…",
|
|
15048
15294
|
"neptune.Summary.statusDone": "Виконано",
|
|
15049
15295
|
"neptune.Summary.statusNotDone": "Не виконано",
|
|
@@ -15078,17 +15324,78 @@ var uk = {
|
|
|
15078
15324
|
"neptune.UploadItem.uploadingFailed": "Не вдалося завантажити"
|
|
15079
15325
|
};
|
|
15080
15326
|
|
|
15081
|
-
var
|
|
15327
|
+
var zhCN = {
|
|
15328
|
+
"neptune.Button.loadingAriaLabel": "正在加载",
|
|
15329
|
+
"neptune.Chips.ariaLabel": "清除 {choice}",
|
|
15330
|
+
"neptune.ClearButton.ariaLabel": "清晰",
|
|
15331
|
+
"neptune.CloseButton.ariaLabel": "关闭",
|
|
15332
|
+
"neptune.DateInput.day.label": "日",
|
|
15333
|
+
"neptune.DateInput.month.label": "月",
|
|
15334
|
+
"neptune.DateInput.year.label": "年",
|
|
15335
|
+
"neptune.DateLookup.day": "日",
|
|
15336
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15337
|
+
"neptune.DateLookup.month": "月",
|
|
15338
|
+
"neptune.DateLookup.next": "下一页",
|
|
15339
|
+
"neptune.DateLookup.previous": "上一页",
|
|
15340
|
+
"neptune.DateLookup.selected": "已选",
|
|
15341
|
+
"neptune.DateLookup.twentyYears": "20年",
|
|
15342
|
+
"neptune.DateLookup.year": "年",
|
|
15343
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
15344
|
+
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
15345
|
+
"neptune.MoneyInput.Select.placeholder": "请选择...",
|
|
15346
|
+
"neptune.Select.searchPlaceholder": "搜索",
|
|
15347
|
+
"neptune.Summary.statusDone": "已完成",
|
|
15348
|
+
"neptune.Summary.statusNotDone": "未完成",
|
|
15349
|
+
"neptune.Summary.statusPending": "待处理",
|
|
15350
|
+
"neptune.Upload.csButtonText": "上传另一个文件?",
|
|
15351
|
+
"neptune.Upload.csFailureText": "上传失败。请重试",
|
|
15352
|
+
"neptune.Upload.csSuccessText": "上传完毕!",
|
|
15353
|
+
"neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
|
|
15354
|
+
"neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
|
|
15355
|
+
"neptune.Upload.psButtonText": "取消",
|
|
15356
|
+
"neptune.Upload.psProcessingText": "正在上传…",
|
|
15357
|
+
"neptune.Upload.usButtonText": "或选择文件",
|
|
15358
|
+
"neptune.Upload.usDropMessage": "拖放文件开始上传",
|
|
15359
|
+
"neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
|
|
15360
|
+
"neptune.UploadButton.allFileTypes": "所有文件类型",
|
|
15361
|
+
"neptune.UploadButton.dropFiles": "拖放文件开始上传",
|
|
15362
|
+
"neptune.UploadButton.instructions": "{fileTypes},小于 {size}MB",
|
|
15363
|
+
"neptune.UploadButton.uploadFile": "上传文件",
|
|
15364
|
+
"neptune.UploadButton.uploadFiles": "上传文件",
|
|
15365
|
+
"neptune.UploadInput.deleteModalBody": "删除此文件会将其从我们的系统中删除",
|
|
15366
|
+
"neptune.UploadInput.deleteModalCancelButtonText": "取消",
|
|
15367
|
+
"neptune.UploadInput.deleteModalConfirmButtonText": "删除",
|
|
15368
|
+
"neptune.UploadInput.deleteModalTitle": "确定要删除此文件吗?",
|
|
15369
|
+
"neptune.UploadInput.fileIsTooLarge": "文件太大",
|
|
15370
|
+
"neptune.UploadInput.fileTypeNotSupported": "文件类型不受支持",
|
|
15371
|
+
"neptune.UploadInput.maximumFilesAlreadyUploaded": "抱歉,此上传失败,因为我们一次只能接受 {maxFilesAllowed} 个文件。",
|
|
15372
|
+
"neptune.UploadItem.deleting": "正在删除…",
|
|
15373
|
+
"neptune.UploadItem.removeFile": "删除文件 {filename}",
|
|
15374
|
+
"neptune.UploadItem.uploaded": "已上传",
|
|
15375
|
+
"neptune.UploadItem.uploadedFile": "上传的文件",
|
|
15376
|
+
"neptune.UploadItem.uploading": "正在上传…",
|
|
15377
|
+
"neptune.UploadItem.uploadingFailed": "上传失败"
|
|
15378
|
+
};
|
|
15379
|
+
|
|
15380
|
+
var zhHK = {
|
|
15381
|
+
"neptune.Button.loadingAriaLabel": "載入中",
|
|
15082
15382
|
"neptune.Chips.ariaLabel": "清除{choice}",
|
|
15083
15383
|
"neptune.ClearButton.ariaLabel": "清除",
|
|
15084
15384
|
"neptune.CloseButton.ariaLabel": "關閉",
|
|
15085
15385
|
"neptune.DateInput.day.label": "日",
|
|
15086
15386
|
"neptune.DateInput.month.label": "月",
|
|
15087
15387
|
"neptune.DateInput.year.label": "年",
|
|
15388
|
+
"neptune.DateLookup.day": "日",
|
|
15389
|
+
"neptune.DateLookup.goTo20YearView": "切換至20年視圖",
|
|
15390
|
+
"neptune.DateLookup.month": "月",
|
|
15391
|
+
"neptune.DateLookup.next": "下一個",
|
|
15392
|
+
"neptune.DateLookup.previous": "上一個",
|
|
15393
|
+
"neptune.DateLookup.selected": "已選",
|
|
15394
|
+
"neptune.DateLookup.twentyYears": "20年",
|
|
15395
|
+
"neptune.DateLookup.year": "年",
|
|
15396
|
+
"neptune.FlowNavigation.back": "返回上一個步驟",
|
|
15397
|
+
"neptune.Link.opensInNewTab": "(在新分頁中開啟)",
|
|
15088
15398
|
"neptune.MoneyInput.Select.placeholder": "選擇一個選項…",
|
|
15089
|
-
"neptune.Pagination.ariaLabel": "分頁導航",
|
|
15090
|
-
"neptune.PaginationLink.ariaLabel.active": "前往第{pageNumber}頁",
|
|
15091
|
-
"neptune.PaginationLink.ariaLabel.inactive": "目前在第{pageNumber}頁",
|
|
15092
15399
|
"neptune.Select.searchPlaceholder": "搜尋…",
|
|
15093
15400
|
"neptune.Summary.statusDone": "已完成事項",
|
|
15094
15401
|
"neptune.Summary.statusNotDone": "未完成事項",
|
|
@@ -15124,6 +15431,7 @@ var zh = {
|
|
|
15124
15431
|
};
|
|
15125
15432
|
|
|
15126
15433
|
const translations = {
|
|
15434
|
+
cs,
|
|
15127
15435
|
de,
|
|
15128
15436
|
en,
|
|
15129
15437
|
es,
|
|
@@ -15139,7 +15447,8 @@ const translations = {
|
|
|
15139
15447
|
th,
|
|
15140
15448
|
tr,
|
|
15141
15449
|
uk,
|
|
15142
|
-
zh
|
|
15450
|
+
'zh-CN': zhCN,
|
|
15451
|
+
'zh-HK': zhHK
|
|
15143
15452
|
};
|
|
15144
15453
|
|
|
15145
15454
|
export { Accordion, ActionButton, ActionOption, Alert$1 as Alert, ArrowPosition as AlertArrowPosition, Avatar, AvatarType, AvatarWrapper, Badge, Card as BaseCard, Body, BottomSheet$2 as BottomSheet, Breakpoint, Button, Card$2 as Card, Checkbox$1 as Checkbox, CheckboxButton$1 as CheckboxButton, CheckboxOption, Chevron$1 as Chevron, Chip, Chips, CircularButton$1 as CircularButton, ControlType, CriticalCommsBanner, DEFAULT_LANG, DEFAULT_LOCALE, DateInput$1 as DateInput, DateLookup$1 as DateLookup, DateMode, Decision$1 as Decision, Presentation as DecisionPresentation, Type as DecisionType, DefinitionList$1 as DefinitionList, Dimmer$1 as Dimmer, Direction, DirectionProvider, Display, Drawer$1 as Drawer, DropFade, DynamicFieldDefinitionList$1 as DynamicFieldDefinitionList, Emphasis, FileType, FlowNavigation, Header, Image, Info, InfoPresentation, InlineAlert, Input, InputGroup, InputWithDisplayFormat$1 as InputWithDisplayFormat, InstructionsList$1 as InstructionsList, LanguageProvider, Layout$1 as Layout, Link, ListItem$1 as ListItem, Loader$1 as Loader, Logo$1 as Logo, LogoType, Markdown$1 as Markdown, MarkdownNodeType, Modal, Money$1 as Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList$1 as NavigationOptionsList, Nudge, Option$2 as Option, OverlayHeader$1 as OverlayHeader, PhoneNumberInput$1 as PhoneNumberInput, Popover$2 as Popover, Position, Priority, ProcessIndicator$1 as ProcessIndicator, ProfileType, Progress, ProgressBar, PromoCard$1 as PromoCard, PromoCard$1 as PromoCardGroup, Provider$1 as Provider, RTL_LANGUAGES, Radio$1 as Radio, RadioGroup$1 as RadioGroup, RadioOption$1 as RadioOption, SUPPORTED_LANGUAGES, Scroll, SearchInput, Section, Select, SelectInput, SelectInputOptionContent, SelectInputTriggerButton, Sentiment, Size, SlidingPanel$1 as SlidingPanel, SnackbarConsumer, SnackbarContext, SnackbarPortal, SnackbarProvider$1 as SnackbarProvider, Status, StatusIcon, Stepper, Sticky$1 as Sticky, Summary, Switch, SwitchOption, Tabs$1 as Tabs, TextArea, TextareaWithDisplayFormat$1 as TextareaWithDisplayFormat, Theme, Title, Tooltip$1 as Tooltip, Type$1 as Type, Typeahead, Typography, Upload$1 as Upload, UploadInput, UploadStep, Variant, Width, adjustLocale, getCountryFromLocale, getDirectionFromLocale, getLangFromLocale, isBrowser, isServerSide, translations, useDirection, useLayout, useSnackbar };
|