@transferwise/components 45.20.0 → 45.21.1
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 +540 -236
- package/build/index.esm.js.map +1 -1
- package/build/index.js +540 -236
- 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.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/logo/Logo.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 +13 -1
- package/src/inputs/SelectInput.messages.ts +9 -0
- package/src/inputs/SelectInput.story.tsx +8 -5
- package/src/inputs/SelectInput.tsx +55 -22
- package/src/inputs/_BottomSheet.tsx +19 -19
- package/src/logo/Logo.js +5 -0
- 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.js
CHANGED
|
@@ -14,11 +14,11 @@ var reactTransitionGroup = require('react-transition-group');
|
|
|
14
14
|
var reactDom = require('react-dom');
|
|
15
15
|
var focus = require('@react-aria/focus');
|
|
16
16
|
var mergeRefs = require('react-merge-refs');
|
|
17
|
+
var shim = require('use-sync-external-store/shim');
|
|
17
18
|
var neptuneValidation = require('@transferwise/neptune-validation');
|
|
18
19
|
var reactPopper = require('react-popper');
|
|
19
20
|
var react$1 = require('@headlessui/react');
|
|
20
21
|
var mergeProps = require('merge-props');
|
|
21
|
-
var shim = require('use-sync-external-store/shim');
|
|
22
22
|
var react = require('@floating-ui/react');
|
|
23
23
|
var overlays = require('@react-aria/overlays');
|
|
24
24
|
var art = require('@wise/art');
|
|
@@ -192,6 +192,7 @@ exports.Priority = void 0;
|
|
|
192
192
|
|
|
193
193
|
exports.Breakpoint = void 0;
|
|
194
194
|
(function (Breakpoint) {
|
|
195
|
+
Breakpoint[Breakpoint["ZOOM_400"] = 320] = "ZOOM_400";
|
|
195
196
|
Breakpoint[Breakpoint["EXTRA_SMALL"] = 480] = "EXTRA_SMALL";
|
|
196
197
|
Breakpoint[Breakpoint["SMALL"] = 576] = "SMALL";
|
|
197
198
|
Breakpoint[Breakpoint["MEDIUM"] = 768] = "MEDIUM";
|
|
@@ -395,6 +396,11 @@ const DEFAULT_LOCALE = 'en-GB';
|
|
|
395
396
|
* @type {string[]}
|
|
396
397
|
*/
|
|
397
398
|
const RTL_LANGUAGES = ['ar', 'he'];
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @deprecated The source of truth for supported languages lives in Crab.
|
|
402
|
+
* @type {string[]}
|
|
403
|
+
*/
|
|
398
404
|
const SUPPORTED_LANGUAGES = [DEFAULT_LANG, 'de', 'es', 'fr', 'hu', 'id', 'it', 'ja', 'pl', 'pt', 'ro', 'ru', 'th', 'tr', 'uk', 'zh'];
|
|
399
405
|
|
|
400
406
|
/**
|
|
@@ -424,8 +430,13 @@ function adjustLocale(locale) {
|
|
|
424
430
|
* Provides corresponding lang (iso2) for provided locale
|
|
425
431
|
* if locale is invalid or language is unsupported returns null
|
|
426
432
|
*
|
|
433
|
+
* @deprecated The use of this function almost always breaks language variants
|
|
434
|
+
* e.g. Simplified and Traditional Chinese.
|
|
435
|
+
* There should be no use case for this function.
|
|
436
|
+
* To select the correct translations from a translations object, pass the
|
|
437
|
+
* locale directly into Crab's getLocalisedMessages.
|
|
427
438
|
* @param {string} locale (`es`, `es-ES`, `en-GB`, `en`, `ja`, `ja-JP` etc)
|
|
428
|
-
* @returns {string|null}
|
|
439
|
+
* @returns {string|null} two-letter ISO639-1 language
|
|
429
440
|
*/
|
|
430
441
|
function getLangFromLocale(locale) {
|
|
431
442
|
const adjustedLocale = adjustLocale(locale);
|
|
@@ -1740,58 +1751,6 @@ const DimmerContentWrapper = ({
|
|
|
1740
1751
|
};
|
|
1741
1752
|
var Dimmer$1 = withNextPortalWrapper(Dimmer);
|
|
1742
1753
|
|
|
1743
|
-
const EXIT_ANIMATION = 350;
|
|
1744
|
-
const SlidingPanel = /*#__PURE__*/React.forwardRef(({
|
|
1745
|
-
children,
|
|
1746
|
-
className,
|
|
1747
|
-
open,
|
|
1748
|
-
position,
|
|
1749
|
-
showSlidingPanelBorder,
|
|
1750
|
-
slidingPanelPositionFixed,
|
|
1751
|
-
...rest
|
|
1752
|
-
}, reference) => {
|
|
1753
|
-
/** @type {RefObject<HTMLDivElement>} */
|
|
1754
|
-
const localReference = React.useRef(null);
|
|
1755
|
-
return /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
|
|
1756
|
-
...rest,
|
|
1757
|
-
nodeRef: localReference,
|
|
1758
|
-
in: open
|
|
1759
|
-
// Wait for animation to finish before unmount.
|
|
1760
|
-
,
|
|
1761
|
-
timeout: {
|
|
1762
|
-
enter: 0,
|
|
1763
|
-
exit: EXIT_ANIMATION
|
|
1764
|
-
},
|
|
1765
|
-
classNames: classNames__default.default(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
|
|
1766
|
-
'sliding-panel--fixed': slidingPanelPositionFixed
|
|
1767
|
-
}, 'sliding-panel'),
|
|
1768
|
-
appear: true,
|
|
1769
|
-
unmountOnExit: true,
|
|
1770
|
-
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1771
|
-
ref: mergeRefs__default.default([reference, localReference]),
|
|
1772
|
-
className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, className),
|
|
1773
|
-
children: children
|
|
1774
|
-
})
|
|
1775
|
-
});
|
|
1776
|
-
});
|
|
1777
|
-
SlidingPanel.propTypes = {
|
|
1778
|
-
children: PropTypes__default.default.node,
|
|
1779
|
-
className: PropTypes__default.default.string,
|
|
1780
|
-
open: PropTypes__default.default.bool,
|
|
1781
|
-
position: PropTypes__default.default.oneOf(['top', 'bottom', 'left', 'right']),
|
|
1782
|
-
showSlidingPanelBorder: PropTypes__default.default.bool,
|
|
1783
|
-
slidingPanelPositionFixed: PropTypes__default.default.bool
|
|
1784
|
-
};
|
|
1785
|
-
SlidingPanel.defaultProps = {
|
|
1786
|
-
children: null,
|
|
1787
|
-
className: undefined,
|
|
1788
|
-
open: false,
|
|
1789
|
-
position: 'left',
|
|
1790
|
-
showSlidingPanelBorder: false,
|
|
1791
|
-
slidingPanelPositionFixed: false
|
|
1792
|
-
};
|
|
1793
|
-
var SlidingPanel$1 = SlidingPanel;
|
|
1794
|
-
|
|
1795
1754
|
const THROTTLE_MS = 100;
|
|
1796
1755
|
const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
|
1797
1756
|
const useClientWidth = ({
|
|
@@ -1962,6 +1921,137 @@ const useLayout = () => {
|
|
|
1962
1921
|
};
|
|
1963
1922
|
};
|
|
1964
1923
|
|
|
1924
|
+
const EXIT_ANIMATION = 350;
|
|
1925
|
+
const SlidingPanel = /*#__PURE__*/React.forwardRef(({
|
|
1926
|
+
children,
|
|
1927
|
+
className,
|
|
1928
|
+
open,
|
|
1929
|
+
position,
|
|
1930
|
+
showSlidingPanelBorder,
|
|
1931
|
+
slidingPanelPositionFixed,
|
|
1932
|
+
...rest
|
|
1933
|
+
}, reference) => {
|
|
1934
|
+
/** @type {RefObject<HTMLDivElement>} */
|
|
1935
|
+
const localReference = React.useRef(null);
|
|
1936
|
+
return /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
|
|
1937
|
+
...rest,
|
|
1938
|
+
nodeRef: localReference,
|
|
1939
|
+
in: open
|
|
1940
|
+
// Wait for animation to finish before unmount.
|
|
1941
|
+
,
|
|
1942
|
+
timeout: {
|
|
1943
|
+
enter: 0,
|
|
1944
|
+
exit: EXIT_ANIMATION
|
|
1945
|
+
},
|
|
1946
|
+
classNames: classNames__default.default(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
|
|
1947
|
+
'sliding-panel--fixed': slidingPanelPositionFixed
|
|
1948
|
+
}, 'sliding-panel'),
|
|
1949
|
+
appear: true,
|
|
1950
|
+
unmountOnExit: true,
|
|
1951
|
+
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1952
|
+
ref: mergeRefs__default.default([reference, localReference]),
|
|
1953
|
+
className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, className),
|
|
1954
|
+
children: children
|
|
1955
|
+
})
|
|
1956
|
+
});
|
|
1957
|
+
});
|
|
1958
|
+
SlidingPanel.propTypes = {
|
|
1959
|
+
children: PropTypes__default.default.node,
|
|
1960
|
+
className: PropTypes__default.default.string,
|
|
1961
|
+
open: PropTypes__default.default.bool,
|
|
1962
|
+
position: PropTypes__default.default.oneOf(['top', 'bottom', 'left', 'right']),
|
|
1963
|
+
showSlidingPanelBorder: PropTypes__default.default.bool,
|
|
1964
|
+
slidingPanelPositionFixed: PropTypes__default.default.bool
|
|
1965
|
+
};
|
|
1966
|
+
SlidingPanel.defaultProps = {
|
|
1967
|
+
children: null,
|
|
1968
|
+
className: undefined,
|
|
1969
|
+
open: false,
|
|
1970
|
+
position: 'left',
|
|
1971
|
+
showSlidingPanelBorder: false,
|
|
1972
|
+
slidingPanelPositionFixed: false
|
|
1973
|
+
};
|
|
1974
|
+
var SlidingPanel$1 = SlidingPanel;
|
|
1975
|
+
|
|
1976
|
+
const Drawer = ({
|
|
1977
|
+
children,
|
|
1978
|
+
className,
|
|
1979
|
+
footerContent,
|
|
1980
|
+
headerTitle,
|
|
1981
|
+
onClose,
|
|
1982
|
+
open,
|
|
1983
|
+
position
|
|
1984
|
+
}) => {
|
|
1985
|
+
logActionRequiredIf('Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.', !onClose);
|
|
1986
|
+
const {
|
|
1987
|
+
isMobile
|
|
1988
|
+
} = useLayout();
|
|
1989
|
+
return /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
|
|
1990
|
+
open: open,
|
|
1991
|
+
onClose: onClose,
|
|
1992
|
+
children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel$1, {
|
|
1993
|
+
open: open,
|
|
1994
|
+
position: isMobile ? exports.Position.BOTTOM : position,
|
|
1995
|
+
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1996
|
+
className: classNames__default.default('np-drawer', className),
|
|
1997
|
+
role: "dialog",
|
|
1998
|
+
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1999
|
+
className: classNames__default.default('np-drawer-header', {
|
|
2000
|
+
'np-drawer-header--withborder': headerTitle
|
|
2001
|
+
}),
|
|
2002
|
+
children: [headerTitle && /*#__PURE__*/jsxRuntime.jsx(Title, {
|
|
2003
|
+
type: exports.Typography.TITLE_BODY,
|
|
2004
|
+
children: headerTitle
|
|
2005
|
+
}), /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
|
|
2006
|
+
onClick: onClose
|
|
2007
|
+
})]
|
|
2008
|
+
}), children && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2009
|
+
className: classNames__default.default('np-drawer-content'),
|
|
2010
|
+
children: children
|
|
2011
|
+
}), footerContent && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2012
|
+
className: classNames__default.default('np-drawer-footer'),
|
|
2013
|
+
children: footerContent
|
|
2014
|
+
})]
|
|
2015
|
+
})
|
|
2016
|
+
})
|
|
2017
|
+
});
|
|
2018
|
+
};
|
|
2019
|
+
Drawer.propTypes = {
|
|
2020
|
+
/** The content to appear in the drawer body. */
|
|
2021
|
+
children: PropTypes__default.default.node,
|
|
2022
|
+
className: PropTypes__default.default.string,
|
|
2023
|
+
/** The content to appear in the drawer footer. */
|
|
2024
|
+
footerContent: PropTypes__default.default.node,
|
|
2025
|
+
/** The content to appear in the drawer header. */
|
|
2026
|
+
headerTitle: PropTypes__default.default.node,
|
|
2027
|
+
/** The action to perform on close click. */
|
|
2028
|
+
onClose: PropTypes__default.default.func,
|
|
2029
|
+
/** The status of Drawer either open or not. */
|
|
2030
|
+
open: PropTypes__default.default.bool,
|
|
2031
|
+
/** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */
|
|
2032
|
+
position: PropTypes__default.default.oneOf(['left', 'right', 'bottom'])
|
|
2033
|
+
};
|
|
2034
|
+
Drawer.defaultProps = {
|
|
2035
|
+
children: null,
|
|
2036
|
+
className: undefined,
|
|
2037
|
+
footerContent: null,
|
|
2038
|
+
headerTitle: null,
|
|
2039
|
+
onClose: null,
|
|
2040
|
+
open: false,
|
|
2041
|
+
position: exports.Position.RIGHT
|
|
2042
|
+
};
|
|
2043
|
+
var Drawer$1 = Drawer;
|
|
2044
|
+
|
|
2045
|
+
function useMedia(query) {
|
|
2046
|
+
return shim.useSyncExternalStore(onStoreChange => {
|
|
2047
|
+
const mediaQueryList = window.matchMedia(query);
|
|
2048
|
+
mediaQueryList.addEventListener('change', onStoreChange);
|
|
2049
|
+
return () => {
|
|
2050
|
+
mediaQueryList.removeEventListener('change', onStoreChange);
|
|
2051
|
+
};
|
|
2052
|
+
}, () => typeof window !== 'undefined' ? window.matchMedia(query).matches : undefined, () => undefined);
|
|
2053
|
+
}
|
|
2054
|
+
|
|
1965
2055
|
const INITIAL_Y_POSITION = 0;
|
|
1966
2056
|
const CONTENT_SCROLL_THRESHOLD = 1;
|
|
1967
2057
|
const MOVE_OFFSET_THRESHOLD = 50;
|
|
@@ -2089,7 +2179,13 @@ const BottomSheet$1 = props => {
|
|
|
2089
2179
|
maxHeight: `calc(${screenHeight} - ${safeZoneHeight} - ${topbarHeight})`
|
|
2090
2180
|
};
|
|
2091
2181
|
}
|
|
2092
|
-
|
|
2182
|
+
const is400Zoom = useMedia(`(max-width: ${exports.Breakpoint.ZOOM_400}px)`);
|
|
2183
|
+
return is400Zoom ? /*#__PURE__*/jsxRuntime.jsx(Drawer$1, {
|
|
2184
|
+
open: props.open,
|
|
2185
|
+
className: props.className,
|
|
2186
|
+
onClose: close,
|
|
2187
|
+
children: props.children
|
|
2188
|
+
}) : /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
|
|
2093
2189
|
open: props.open,
|
|
2094
2190
|
fadeContentOnEnter: true,
|
|
2095
2191
|
fadeContentOnExit: true,
|
|
@@ -3316,7 +3412,7 @@ const ResponsivePanel = /*#__PURE__*/React.forwardRef(({
|
|
|
3316
3412
|
});
|
|
3317
3413
|
var ResponsivePanel$1 = ResponsivePanel;
|
|
3318
3414
|
|
|
3319
|
-
var
|
|
3415
|
+
var dateTriggerMessages = reactIntl.defineMessages({
|
|
3320
3416
|
ariaLabel: {
|
|
3321
3417
|
id: "neptune.ClearButton.ariaLabel"
|
|
3322
3418
|
}
|
|
@@ -3379,7 +3475,7 @@ const DateTrigger = ({
|
|
|
3379
3475
|
className: "input-group-addon",
|
|
3380
3476
|
children: /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
|
|
3381
3477
|
className: `clear-btn clear-btn--${size}`,
|
|
3382
|
-
"aria-label": formatMessage(
|
|
3478
|
+
"aria-label": formatMessage(dateTriggerMessages.ariaLabel),
|
|
3383
3479
|
size: exports.Size.SMALL,
|
|
3384
3480
|
onClick: event => {
|
|
3385
3481
|
event.stopPropagation();
|
|
@@ -3409,7 +3505,7 @@ DateTrigger.defaultProps = {
|
|
|
3409
3505
|
};
|
|
3410
3506
|
var DateTrigger$1 = DateTrigger;
|
|
3411
3507
|
|
|
3412
|
-
var messages$
|
|
3508
|
+
var messages$6 = reactIntl.defineMessages({
|
|
3413
3509
|
next: {
|
|
3414
3510
|
id: "neptune.DateLookup.next"
|
|
3415
3511
|
},
|
|
@@ -3445,14 +3541,17 @@ const DateHeader = ({
|
|
|
3445
3541
|
dateMode
|
|
3446
3542
|
}) => {
|
|
3447
3543
|
const intl = reactIntl.useIntl();
|
|
3544
|
+
const {
|
|
3545
|
+
isMobile
|
|
3546
|
+
} = useLayout();
|
|
3448
3547
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
3449
|
-
className:
|
|
3548
|
+
className: classNames__default.default('text-xs-center', !isMobile && ['clearfix', 'p-y-1']),
|
|
3450
3549
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
3451
3550
|
className: "pull-left-single-direction",
|
|
3452
3551
|
children: /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
3453
3552
|
type: "button",
|
|
3454
3553
|
className: `d-inline-flex ${buttonClasses}`,
|
|
3455
|
-
"aria-label": `${intl.formatMessage(messages$
|
|
3554
|
+
"aria-label": `${intl.formatMessage(messages$6.previous)} ${dateMode}`,
|
|
3456
3555
|
onClick: onPreviousClick,
|
|
3457
3556
|
children: /*#__PURE__*/jsxRuntime.jsx(Chevron$1, {
|
|
3458
3557
|
orientation: exports.Position.LEFT,
|
|
@@ -3466,7 +3565,7 @@ const DateHeader = ({
|
|
|
3466
3565
|
children: /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
3467
3566
|
type: "button",
|
|
3468
3567
|
className: `tw-date-lookup-header-current ${buttonClasses}`,
|
|
3469
|
-
"aria-label": intl.formatMessage(messages$
|
|
3568
|
+
"aria-label": intl.formatMessage(messages$6.goTo20YearView),
|
|
3470
3569
|
onClick: onLabelClick,
|
|
3471
3570
|
children: label
|
|
3472
3571
|
})
|
|
@@ -3475,7 +3574,7 @@ const DateHeader = ({
|
|
|
3475
3574
|
children: /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
3476
3575
|
type: "button",
|
|
3477
3576
|
className: `d-inline-flex ${buttonClasses}`,
|
|
3478
|
-
"aria-label": `${reactIntl.useIntl().formatMessage(messages$
|
|
3577
|
+
"aria-label": `${reactIntl.useIntl().formatMessage(messages$6.next)} ${dateMode}`,
|
|
3479
3578
|
onClick: onNextClick,
|
|
3480
3579
|
children: /*#__PURE__*/jsxRuntime.jsx(Chevron$1, {
|
|
3481
3580
|
orientation: exports.Position.RIGHT,
|
|
@@ -3519,7 +3618,7 @@ class TableLink extends React.PureComponent {
|
|
|
3519
3618
|
};
|
|
3520
3619
|
calculateAriaLabel = (longTitle, title, active, type, formatMessage) => {
|
|
3521
3620
|
if (active) {
|
|
3522
|
-
return `${longTitle || title}, ${formatMessage(messages$
|
|
3621
|
+
return `${longTitle || title}, ${formatMessage(messages$6.selected)} ${formatMessage(messages$6[type])}`;
|
|
3523
3622
|
}
|
|
3524
3623
|
return longTitle || title;
|
|
3525
3624
|
};
|
|
@@ -3742,7 +3841,7 @@ class DayCalendar extends React.PureComponent {
|
|
|
3742
3841
|
month: monthFormat,
|
|
3743
3842
|
year: 'numeric'
|
|
3744
3843
|
}),
|
|
3745
|
-
dateMode: formatMessage(messages$
|
|
3844
|
+
dateMode: formatMessage(messages$6.month),
|
|
3746
3845
|
onLabelClick: onLabelClick,
|
|
3747
3846
|
onPreviousClick: this.selectPreviousMonth,
|
|
3748
3847
|
onNextClick: this.selectNextMonth
|
|
@@ -3870,7 +3969,7 @@ class MonthCalendar extends React.PureComponent {
|
|
|
3870
3969
|
} = this.props;
|
|
3871
3970
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
3872
3971
|
children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
|
|
3873
|
-
dateMode: formatMessage(messages$
|
|
3972
|
+
dateMode: formatMessage(messages$6.year),
|
|
3874
3973
|
label: formatting.formatDate(new Date(viewYear, 0), locale, {
|
|
3875
3974
|
year: 'numeric'
|
|
3876
3975
|
}),
|
|
@@ -3995,7 +4094,7 @@ class YearCalendar extends React.PureComponent {
|
|
|
3995
4094
|
} = this.props;
|
|
3996
4095
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
3997
4096
|
children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
|
|
3998
|
-
dateMode: formatMessage(messages$
|
|
4097
|
+
dateMode: formatMessage(messages$6.twentyYears),
|
|
3999
4098
|
onPreviousClick: this.selectPreviousYears,
|
|
4000
4099
|
onNextClick: this.selectNextYears
|
|
4001
4100
|
}), /*#__PURE__*/jsxRuntime.jsx(YearCalendarTable$1, {
|
|
@@ -4042,7 +4141,8 @@ class DateLookup extends React.PureComponent {
|
|
|
4042
4141
|
viewMonth: (props.value || new Date()).getMonth(),
|
|
4043
4142
|
viewYear: (props.value || new Date()).getFullYear(),
|
|
4044
4143
|
open: false,
|
|
4045
|
-
mode: MODE.DAY
|
|
4144
|
+
mode: MODE.DAY,
|
|
4145
|
+
isMobile: false
|
|
4046
4146
|
};
|
|
4047
4147
|
}
|
|
4048
4148
|
static getDerivedStateFromProps(props, state) {
|
|
@@ -4077,6 +4177,10 @@ class DateLookup extends React.PureComponent {
|
|
|
4077
4177
|
if (+this.props.value !== +previousProps.value && this.state.open) {
|
|
4078
4178
|
this.focusOn('.active');
|
|
4079
4179
|
}
|
|
4180
|
+
this.mediaQuery = window.matchMedia(`(max-width: ${exports.Breakpoint.SMALL}px)`);
|
|
4181
|
+
this.setState({
|
|
4182
|
+
isMobile: this.mediaQuery.matches
|
|
4183
|
+
});
|
|
4080
4184
|
}
|
|
4081
4185
|
componentWillUnmount() {
|
|
4082
4186
|
// Prevents memory leak by cleaning state.
|
|
@@ -4209,14 +4313,17 @@ class DateLookup extends React.PureComponent {
|
|
|
4209
4313
|
max,
|
|
4210
4314
|
viewMonth,
|
|
4211
4315
|
viewYear,
|
|
4212
|
-
mode
|
|
4316
|
+
mode,
|
|
4317
|
+
isMobile
|
|
4213
4318
|
} = this.state;
|
|
4214
4319
|
const {
|
|
4215
4320
|
placeholder,
|
|
4216
4321
|
monthFormat
|
|
4217
4322
|
} = this.props;
|
|
4218
4323
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
4219
|
-
className:
|
|
4324
|
+
className: classNames__default.default({
|
|
4325
|
+
'p-a-1': !isMobile
|
|
4326
|
+
}),
|
|
4220
4327
|
children: [mode === MODE.DAY && /*#__PURE__*/jsxRuntime.jsx(DayCalendar$1, {
|
|
4221
4328
|
selectedDate,
|
|
4222
4329
|
min,
|
|
@@ -4724,75 +4831,6 @@ function Display({
|
|
|
4724
4831
|
});
|
|
4725
4832
|
}
|
|
4726
4833
|
|
|
4727
|
-
const Drawer = ({
|
|
4728
|
-
children,
|
|
4729
|
-
className,
|
|
4730
|
-
footerContent,
|
|
4731
|
-
headerTitle,
|
|
4732
|
-
onClose,
|
|
4733
|
-
open,
|
|
4734
|
-
position
|
|
4735
|
-
}) => {
|
|
4736
|
-
logActionRequiredIf('Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.', !onClose);
|
|
4737
|
-
const {
|
|
4738
|
-
isMobile
|
|
4739
|
-
} = useLayout();
|
|
4740
|
-
return /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
|
|
4741
|
-
open: open,
|
|
4742
|
-
onClose: onClose,
|
|
4743
|
-
children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel$1, {
|
|
4744
|
-
open: open,
|
|
4745
|
-
position: isMobile ? exports.Position.BOTTOM : position,
|
|
4746
|
-
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
4747
|
-
className: classNames__default.default('np-drawer', className),
|
|
4748
|
-
role: "dialog",
|
|
4749
|
-
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
4750
|
-
className: classNames__default.default('np-drawer-header', {
|
|
4751
|
-
'np-drawer-header--withborder': headerTitle
|
|
4752
|
-
}),
|
|
4753
|
-
children: [headerTitle && /*#__PURE__*/jsxRuntime.jsx(Title, {
|
|
4754
|
-
type: exports.Typography.TITLE_BODY,
|
|
4755
|
-
children: headerTitle
|
|
4756
|
-
}), /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
|
|
4757
|
-
onClick: onClose
|
|
4758
|
-
})]
|
|
4759
|
-
}), children && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
4760
|
-
className: classNames__default.default('np-drawer-content'),
|
|
4761
|
-
children: children
|
|
4762
|
-
}), footerContent && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
4763
|
-
className: classNames__default.default('np-drawer-footer'),
|
|
4764
|
-
children: footerContent
|
|
4765
|
-
})]
|
|
4766
|
-
})
|
|
4767
|
-
})
|
|
4768
|
-
});
|
|
4769
|
-
};
|
|
4770
|
-
Drawer.propTypes = {
|
|
4771
|
-
/** The content to appear in the drawer body. */
|
|
4772
|
-
children: PropTypes__default.default.node,
|
|
4773
|
-
className: PropTypes__default.default.string,
|
|
4774
|
-
/** The content to appear in the drawer footer. */
|
|
4775
|
-
footerContent: PropTypes__default.default.node,
|
|
4776
|
-
/** The content to appear in the drawer header. */
|
|
4777
|
-
headerTitle: PropTypes__default.default.node,
|
|
4778
|
-
/** The action to perform on close click. */
|
|
4779
|
-
onClose: PropTypes__default.default.func,
|
|
4780
|
-
/** The status of Drawer either open or not. */
|
|
4781
|
-
open: PropTypes__default.default.bool,
|
|
4782
|
-
/** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */
|
|
4783
|
-
position: PropTypes__default.default.oneOf(['left', 'right', 'bottom'])
|
|
4784
|
-
};
|
|
4785
|
-
Drawer.defaultProps = {
|
|
4786
|
-
children: null,
|
|
4787
|
-
className: undefined,
|
|
4788
|
-
footerContent: null,
|
|
4789
|
-
headerTitle: null,
|
|
4790
|
-
onClose: null,
|
|
4791
|
-
open: false,
|
|
4792
|
-
position: exports.Position.RIGHT
|
|
4793
|
-
};
|
|
4794
|
-
var Drawer$1 = Drawer;
|
|
4795
|
-
|
|
4796
4834
|
const DropFade = ({
|
|
4797
4835
|
children,
|
|
4798
4836
|
show
|
|
@@ -5499,6 +5537,11 @@ const Logo = ({
|
|
|
5499
5537
|
});
|
|
5500
5538
|
const isSmall = clientWidth < exports.Breakpoint.SMALL;
|
|
5501
5539
|
const LogoSvg = isSmall ? svgPaths[`WISE_FLAG${inverse ? '_INVERSE' : ''}`] : svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
|
|
5540
|
+
|
|
5541
|
+
// If clientWidth is not defined, don't render anything
|
|
5542
|
+
if (clientWidth === null) {
|
|
5543
|
+
return null;
|
|
5544
|
+
}
|
|
5502
5545
|
return /*#__PURE__*/jsxRuntime.jsx(LogoSvg, {
|
|
5503
5546
|
className: classNames__default.default('np-logo-svg', className),
|
|
5504
5547
|
alt: type === exports.LogoType.WISE ? 'Wise' : 'Wise business'
|
|
@@ -5693,7 +5736,7 @@ const Stepper = ({
|
|
|
5693
5736
|
});
|
|
5694
5737
|
};
|
|
5695
5738
|
|
|
5696
|
-
var messages$
|
|
5739
|
+
var messages$5 = reactIntl.defineMessages({
|
|
5697
5740
|
back: {
|
|
5698
5741
|
id: "neptune.FlowNavigation.back"
|
|
5699
5742
|
}
|
|
@@ -5773,7 +5816,7 @@ const FlowNavigation = ({
|
|
|
5773
5816
|
className: "m-x-1",
|
|
5774
5817
|
labels: steps.map(step => step.label),
|
|
5775
5818
|
activeLabel: activeStep - 1,
|
|
5776
|
-
"aria-label": intl.formatMessage(messages$
|
|
5819
|
+
"aria-label": intl.formatMessage(messages$5.back)
|
|
5777
5820
|
}),
|
|
5778
5821
|
onClick: onGoBack
|
|
5779
5822
|
}) : logo
|
|
@@ -5925,13 +5968,14 @@ const Modal = ({
|
|
|
5925
5968
|
}) => {
|
|
5926
5969
|
const checkSpecialClasses = classToCheck => className?.split(' ').includes(classToCheck);
|
|
5927
5970
|
const {
|
|
5928
|
-
isMobile
|
|
5971
|
+
isMobile,
|
|
5972
|
+
isMedium: isTablet
|
|
5929
5973
|
} = useLayout();
|
|
5930
5974
|
// These should be replaced with props in breaking change.
|
|
5931
5975
|
const isCompact = checkSpecialClasses('compact');
|
|
5932
5976
|
const noDivider = checkSpecialClasses('no-divider');
|
|
5933
5977
|
const contentReference = React.useRef(null);
|
|
5934
|
-
return isMobile ? /*#__PURE__*/jsxRuntime.jsx(Drawer$1, {
|
|
5978
|
+
return isMobile || isTablet ? /*#__PURE__*/jsxRuntime.jsx(Drawer$1, {
|
|
5935
5979
|
open: open,
|
|
5936
5980
|
headerTitle: title,
|
|
5937
5981
|
footerContent: footer,
|
|
@@ -6354,16 +6398,6 @@ const SearchInput = /*#__PURE__*/React.forwardRef(function SearchInput({
|
|
|
6354
6398
|
});
|
|
6355
6399
|
});
|
|
6356
6400
|
|
|
6357
|
-
function useMedia(query) {
|
|
6358
|
-
return shim.useSyncExternalStore(onStoreChange => {
|
|
6359
|
-
const mediaQueryList = window.matchMedia(query);
|
|
6360
|
-
mediaQueryList.addEventListener('change', onStoreChange);
|
|
6361
|
-
return () => {
|
|
6362
|
-
mediaQueryList.removeEventListener('change', onStoreChange);
|
|
6363
|
-
};
|
|
6364
|
-
}, () => typeof window !== 'undefined' ? window.matchMedia(query).matches : undefined, () => undefined);
|
|
6365
|
-
}
|
|
6366
|
-
|
|
6367
6401
|
function useScreenSize(size) {
|
|
6368
6402
|
return useMedia(`(min-width: ${size}px)`);
|
|
6369
6403
|
}
|
|
@@ -6388,6 +6422,12 @@ function wrapInFragment(value) {
|
|
|
6388
6422
|
});
|
|
6389
6423
|
}
|
|
6390
6424
|
|
|
6425
|
+
var messages$4 = reactIntl.defineMessages({
|
|
6426
|
+
noResultsFound: {
|
|
6427
|
+
id: "neptune.SelectInput.noResultsFound"
|
|
6428
|
+
}
|
|
6429
|
+
});
|
|
6430
|
+
|
|
6391
6431
|
function PreventScroll() {
|
|
6392
6432
|
overlays.usePreventScroll();
|
|
6393
6433
|
return null;
|
|
@@ -6433,29 +6473,29 @@ function BottomSheet({
|
|
|
6433
6473
|
theme: theme,
|
|
6434
6474
|
screenMode: screenMode,
|
|
6435
6475
|
isNotRootProvider: true,
|
|
6436
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
6476
|
+
children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition, {
|
|
6437
6477
|
show: open,
|
|
6438
6478
|
className: "np-bottom-sheet-v2-container",
|
|
6439
6479
|
beforeEnter: () => {
|
|
6440
6480
|
setFloatingKey(prev => prev + 1);
|
|
6441
6481
|
},
|
|
6442
|
-
children:
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6482
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(FocusBoundary, {
|
|
6483
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
|
|
6484
|
+
enter: "np-bottom-sheet-v2-backdrop-container--enter",
|
|
6485
|
+
enterFrom: "np-bottom-sheet-v2-backdrop-container--enter-from",
|
|
6486
|
+
leave: "np-bottom-sheet-v2-backdrop-container--leave",
|
|
6487
|
+
leaveTo: "np-bottom-sheet-v2-backdrop-container--leave-to",
|
|
6488
|
+
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6489
|
+
className: "np-bottom-sheet-v2-backdrop"
|
|
6490
|
+
})
|
|
6491
|
+
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6492
|
+
className: "np-bottom-sheet-v2",
|
|
6493
|
+
children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
|
|
6494
|
+
className: "np-bottom-sheet-v2-content",
|
|
6495
|
+
enter: "np-bottom-sheet-v2-content--enter",
|
|
6496
|
+
enterFrom: "np-bottom-sheet-v2-content--enter-from",
|
|
6497
|
+
leave: "np-bottom-sheet-v2-content--leave",
|
|
6498
|
+
leaveTo: "np-bottom-sheet-v2-content--leave-to",
|
|
6459
6499
|
children: /*#__PURE__*/jsxRuntime.jsx(react.FloatingFocusManager, {
|
|
6460
6500
|
context: context,
|
|
6461
6501
|
initialFocus: initialFocusRef,
|
|
@@ -6489,8 +6529,8 @@ function BottomSheet({
|
|
|
6489
6529
|
}, floatingKey)
|
|
6490
6530
|
})
|
|
6491
6531
|
})
|
|
6492
|
-
})
|
|
6493
|
-
})
|
|
6532
|
+
})]
|
|
6533
|
+
})
|
|
6494
6534
|
})
|
|
6495
6535
|
})
|
|
6496
6536
|
})]
|
|
@@ -6641,14 +6681,14 @@ function useSelectInputItemCheckPadding() {
|
|
|
6641
6681
|
const SelectInputTriggerButtonPropsContext = /*#__PURE__*/React.createContext({});
|
|
6642
6682
|
const SelectInputOptionContentWithinTriggerContext = /*#__PURE__*/React.createContext(false);
|
|
6643
6683
|
function dedupeSelectInputOptionItem(item, existingValues) {
|
|
6644
|
-
if (existingValues.has(item.value)) {
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
value: undefined
|
|
6648
|
-
};
|
|
6684
|
+
if (!existingValues.has(item.value)) {
|
|
6685
|
+
existingValues.add(item.value);
|
|
6686
|
+
return item;
|
|
6649
6687
|
}
|
|
6650
|
-
|
|
6651
|
-
|
|
6688
|
+
return {
|
|
6689
|
+
...item,
|
|
6690
|
+
value: undefined
|
|
6691
|
+
};
|
|
6652
6692
|
}
|
|
6653
6693
|
function dedupeSelectInputItems(items) {
|
|
6654
6694
|
const existingValues = new Set();
|
|
@@ -6669,6 +6709,24 @@ function dedupeSelectInputItems(items) {
|
|
|
6669
6709
|
return item;
|
|
6670
6710
|
});
|
|
6671
6711
|
}
|
|
6712
|
+
function filterSelectInputOptionItem(item, needle) {
|
|
6713
|
+
return inferSearchableStrings(item.filterMatchers ?? item.value).some(haystack => haystack.includes(needle));
|
|
6714
|
+
}
|
|
6715
|
+
function filterSelectInputItems(items, needle) {
|
|
6716
|
+
return items.filter(item => {
|
|
6717
|
+
switch (item.type) {
|
|
6718
|
+
case 'option':
|
|
6719
|
+
{
|
|
6720
|
+
return filterSelectInputOptionItem(item, needle);
|
|
6721
|
+
}
|
|
6722
|
+
case 'group':
|
|
6723
|
+
{
|
|
6724
|
+
return item.options.some(option => filterSelectInputOptionItem(option, needle));
|
|
6725
|
+
}
|
|
6726
|
+
}
|
|
6727
|
+
return false;
|
|
6728
|
+
});
|
|
6729
|
+
}
|
|
6672
6730
|
const defaultRenderTrigger = ({
|
|
6673
6731
|
content,
|
|
6674
6732
|
placeholderShown,
|
|
@@ -6716,7 +6774,7 @@ function SelectInputClearButton({
|
|
|
6716
6774
|
const intl = reactIntl.useIntl();
|
|
6717
6775
|
return /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
6718
6776
|
type: "button",
|
|
6719
|
-
"aria-label": intl.formatMessage(
|
|
6777
|
+
"aria-label": intl.formatMessage(dateTriggerMessages.ariaLabel),
|
|
6720
6778
|
className: classNames__default.default(className, 'np-select-input-addon np-select-input-addon--interactive'),
|
|
6721
6779
|
onClick: onClick,
|
|
6722
6780
|
children: /*#__PURE__*/jsxRuntime.jsx(icons.Cross, {
|
|
@@ -6857,9 +6915,14 @@ const SelectInputOptionsContainer = /*#__PURE__*/React.forwardRef(function Selec
|
|
|
6857
6915
|
ref: ref,
|
|
6858
6916
|
onKeyDown: event => {
|
|
6859
6917
|
// Prevent absorbing dismissal requests too early
|
|
6860
|
-
if (event.key
|
|
6861
|
-
|
|
6918
|
+
if (event.key === 'Escape') {
|
|
6919
|
+
return;
|
|
6920
|
+
}
|
|
6921
|
+
// Prevent confirmation close without an active item
|
|
6922
|
+
if (event.key === 'Enter' && ariaActiveDescendant == null) {
|
|
6923
|
+
return;
|
|
6862
6924
|
}
|
|
6925
|
+
onKeyDown?.(event);
|
|
6863
6926
|
},
|
|
6864
6927
|
...restProps
|
|
6865
6928
|
})
|
|
@@ -6873,6 +6936,8 @@ function SelectInputOptions({
|
|
|
6873
6936
|
searchInputRef,
|
|
6874
6937
|
listboxRef
|
|
6875
6938
|
}) {
|
|
6939
|
+
const intl = reactIntl.useIntl();
|
|
6940
|
+
const controllerRef = filterable ? searchInputRef : listboxRef;
|
|
6876
6941
|
const [query, setQuery] = React.useState('');
|
|
6877
6942
|
const needle = React.useMemo(() => {
|
|
6878
6943
|
if (filterable) {
|
|
@@ -6880,14 +6945,16 @@ function SelectInputOptions({
|
|
|
6880
6945
|
}
|
|
6881
6946
|
return undefined;
|
|
6882
6947
|
}, [filterable, query]);
|
|
6948
|
+
const empty = needle != null && filterSelectInputItems(items, needle).length === 0;
|
|
6883
6949
|
const listboxContainerRef = React.useRef(null);
|
|
6884
6950
|
React.useEffect(() => {
|
|
6885
6951
|
if (listboxContainerRef.current != null) {
|
|
6886
6952
|
listboxContainerRef.current.style.setProperty('--initial-height', `${listboxContainerRef.current.offsetHeight}px`);
|
|
6887
6953
|
}
|
|
6888
6954
|
}, []);
|
|
6955
|
+
const showStatus = empty;
|
|
6956
|
+
const statusId = reactId.useId();
|
|
6889
6957
|
const listboxId = reactId.useId();
|
|
6890
|
-
const controllerRef = filterable ? searchInputRef : listboxRef;
|
|
6891
6958
|
return /*#__PURE__*/jsxRuntime.jsxs(react$1.Listbox.Options, {
|
|
6892
6959
|
as: SelectInputOptionsContainer,
|
|
6893
6960
|
static: true,
|
|
@@ -6909,6 +6976,7 @@ function SelectInputOptions({
|
|
|
6909
6976
|
placeholder: filterPlaceholder,
|
|
6910
6977
|
value: query,
|
|
6911
6978
|
"aria-controls": listboxId,
|
|
6979
|
+
"aria-describedby": showStatus ? statusId : undefined,
|
|
6912
6980
|
onKeyDown: event => {
|
|
6913
6981
|
// Prevent interfering with the matcher of Headless UI
|
|
6914
6982
|
// https://mathiasbynens.be/notes/javascript-unicode#regex
|
|
@@ -6920,24 +6988,31 @@ function SelectInputOptions({
|
|
|
6920
6988
|
setQuery(event.currentTarget.value);
|
|
6921
6989
|
}
|
|
6922
6990
|
})
|
|
6923
|
-
}) : null, /*#__PURE__*/jsxRuntime.
|
|
6991
|
+
}) : null, /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
6924
6992
|
ref: listboxContainerRef,
|
|
6925
6993
|
className: classNames__default.default('np-select-input-listbox-container', items.some(item => item.type === 'group') && 'np-select-input-listbox-container--has-group'),
|
|
6926
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
6994
|
+
children: [empty ? /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
6995
|
+
id: statusId,
|
|
6996
|
+
className: "np-select-input-options-status",
|
|
6997
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(icons.CrossCircle, {
|
|
6998
|
+
size: 16,
|
|
6999
|
+
className: "np-select-input-options-status-icon"
|
|
7000
|
+
}), intl.formatMessage(messages$4.noResultsFound)]
|
|
7001
|
+
}) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6927
7002
|
ref: listboxRef,
|
|
6928
7003
|
id: listboxId,
|
|
6929
7004
|
role: "listbox",
|
|
6930
7005
|
"aria-orientation": "vertical",
|
|
6931
7006
|
tabIndex: 0,
|
|
6932
7007
|
className: "np-select-input-listbox",
|
|
6933
|
-
children: (needle
|
|
7008
|
+
children: (needle != null ? dedupeSelectInputItems(items) : items).map((item, index) => /*#__PURE__*/jsxRuntime.jsx(SelectInputItemView
|
|
6934
7009
|
// eslint-disable-next-line react/no-array-index-key
|
|
6935
7010
|
, {
|
|
6936
7011
|
item: item,
|
|
6937
7012
|
renderValue: renderValue,
|
|
6938
7013
|
needle: needle
|
|
6939
7014
|
}, index))
|
|
6940
|
-
})
|
|
7015
|
+
})]
|
|
6941
7016
|
})]
|
|
6942
7017
|
});
|
|
6943
7018
|
}
|
|
@@ -6949,7 +7024,7 @@ function SelectInputItemView({
|
|
|
6949
7024
|
switch (item.type) {
|
|
6950
7025
|
case 'option':
|
|
6951
7026
|
{
|
|
6952
|
-
if (item.value != null && (
|
|
7027
|
+
if (item.value != null && (needle == null || filterSelectInputOptionItem(item, needle))) {
|
|
6953
7028
|
return /*#__PURE__*/jsxRuntime.jsx(SelectInputOption, {
|
|
6954
7029
|
value: item.value,
|
|
6955
7030
|
disabled: item.disabled,
|
|
@@ -10724,6 +10799,7 @@ var en = {
|
|
|
10724
10799
|
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
10725
10800
|
"neptune.MoneyInput.Select.placeholder": "Select an option...",
|
|
10726
10801
|
"neptune.Select.searchPlaceholder": "Search...",
|
|
10802
|
+
"neptune.SelectInput.noResultsFound": "No results found",
|
|
10727
10803
|
"neptune.Summary.statusDone": "Item done",
|
|
10728
10804
|
"neptune.Summary.statusNotDone": "Item to do",
|
|
10729
10805
|
"neptune.Summary.statusPending": "Item pending",
|
|
@@ -10951,7 +11027,7 @@ class RadioGroup extends React.Component {
|
|
|
10951
11027
|
const {
|
|
10952
11028
|
selectedValue
|
|
10953
11029
|
} = this.state;
|
|
10954
|
-
return radios && radios.length >
|
|
11030
|
+
return radios && radios.length > 0 ? /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
10955
11031
|
children: radios.map(({
|
|
10956
11032
|
id,
|
|
10957
11033
|
avatar,
|
|
@@ -14492,17 +14568,78 @@ function useSnackbar() {
|
|
|
14492
14568
|
return createSnackbar;
|
|
14493
14569
|
}
|
|
14494
14570
|
|
|
14571
|
+
var cs = {
|
|
14572
|
+
"neptune.Button.loadingAriaLabel": "načítání",
|
|
14573
|
+
"neptune.Chips.ariaLabel": "Vyčistit {choice}",
|
|
14574
|
+
"neptune.ClearButton.ariaLabel": "Vyčistit",
|
|
14575
|
+
"neptune.CloseButton.ariaLabel": "Zavřít",
|
|
14576
|
+
"neptune.DateInput.day.label": "Den",
|
|
14577
|
+
"neptune.DateInput.month.label": "Měsíc",
|
|
14578
|
+
"neptune.DateInput.year.label": "Rok",
|
|
14579
|
+
"neptune.DateLookup.day": "den",
|
|
14580
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
14581
|
+
"neptune.DateLookup.month": "měsíc",
|
|
14582
|
+
"neptune.DateLookup.next": "další",
|
|
14583
|
+
"neptune.DateLookup.previous": "předchozí",
|
|
14584
|
+
"neptune.DateLookup.selected": "vybráno",
|
|
14585
|
+
"neptune.DateLookup.twentyYears": "20 let",
|
|
14586
|
+
"neptune.DateLookup.year": "rok",
|
|
14587
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
14588
|
+
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
14589
|
+
"neptune.MoneyInput.Select.placeholder": "Vybrat možnost...",
|
|
14590
|
+
"neptune.Select.searchPlaceholder": "Hledat...",
|
|
14591
|
+
"neptune.Summary.statusDone": "Položka dokončena",
|
|
14592
|
+
"neptune.Summary.statusNotDone": "Položka k dokončení",
|
|
14593
|
+
"neptune.Summary.statusPending": "Čekající položka",
|
|
14594
|
+
"neptune.Upload.csButtonText": "Nahrát další soubor?",
|
|
14595
|
+
"neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
|
|
14596
|
+
"neptune.Upload.csSuccessText": "Úspěšně nahráno!",
|
|
14597
|
+
"neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
|
|
14598
|
+
"neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
|
|
14599
|
+
"neptune.Upload.psButtonText": "Zrušit",
|
|
14600
|
+
"neptune.Upload.psProcessingText": "Načítání...",
|
|
14601
|
+
"neptune.Upload.usButtonText": "Nebo vyberte soubor",
|
|
14602
|
+
"neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
|
|
14603
|
+
"neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
|
|
14604
|
+
"neptune.UploadButton.allFileTypes": "Všechny typy souborů",
|
|
14605
|
+
"neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
|
|
14606
|
+
"neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
|
|
14607
|
+
"neptune.UploadButton.uploadFile": "Nahrát soubor",
|
|
14608
|
+
"neptune.UploadButton.uploadFiles": "Nahrát soubory",
|
|
14609
|
+
"neptune.UploadInput.deleteModalBody": "Odstraněním tohoto souboru jej smažete z našeho systému.",
|
|
14610
|
+
"neptune.UploadInput.deleteModalCancelButtonText": "Zrušit",
|
|
14611
|
+
"neptune.UploadInput.deleteModalConfirmButtonText": "Odstranit",
|
|
14612
|
+
"neptune.UploadInput.deleteModalTitle": "Jistě chcete odstranit tento soubor?",
|
|
14613
|
+
"neptune.UploadInput.fileIsTooLarge": "Soubor je příliš velký",
|
|
14614
|
+
"neptune.UploadInput.fileTypeNotSupported": "Typ souboru není podporován",
|
|
14615
|
+
"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.",
|
|
14616
|
+
"neptune.UploadItem.deleting": "Mažeme...",
|
|
14617
|
+
"neptune.UploadItem.removeFile": "Odstranit soubor {filename}",
|
|
14618
|
+
"neptune.UploadItem.uploaded": "Nahráno",
|
|
14619
|
+
"neptune.UploadItem.uploadedFile": "Nahraný soubor",
|
|
14620
|
+
"neptune.UploadItem.uploading": "Nahrávání...",
|
|
14621
|
+
"neptune.UploadItem.uploadingFailed": "Nahrání se nezdařilo"
|
|
14622
|
+
};
|
|
14623
|
+
|
|
14495
14624
|
var de = {
|
|
14625
|
+
"neptune.Button.loadingAriaLabel": "wird geladen",
|
|
14496
14626
|
"neptune.Chips.ariaLabel": "{choice} zurücksetzen",
|
|
14497
14627
|
"neptune.ClearButton.ariaLabel": "Zurücksetzen",
|
|
14498
14628
|
"neptune.CloseButton.ariaLabel": "Schließen",
|
|
14499
14629
|
"neptune.DateInput.day.label": "Tag",
|
|
14500
14630
|
"neptune.DateInput.month.label": "Monat",
|
|
14501
14631
|
"neptune.DateInput.year.label": "Jahr",
|
|
14632
|
+
"neptune.DateLookup.day": "Tag",
|
|
14633
|
+
"neptune.DateLookup.goTo20YearView": "Zur 20-Jahres-Ansicht",
|
|
14634
|
+
"neptune.DateLookup.month": "Monat",
|
|
14635
|
+
"neptune.DateLookup.next": "weiter",
|
|
14636
|
+
"neptune.DateLookup.previous": "zurück",
|
|
14637
|
+
"neptune.DateLookup.selected": "ausgewählt",
|
|
14638
|
+
"neptune.DateLookup.twentyYears": "20 Jahre",
|
|
14639
|
+
"neptune.DateLookup.year": "Jahr",
|
|
14640
|
+
"neptune.FlowNavigation.back": "zurück zum vorherigen Schritt",
|
|
14641
|
+
"neptune.Link.opensInNewTab": "(wird in einem neuen Tab geöffnet)",
|
|
14502
14642
|
"neptune.MoneyInput.Select.placeholder": "Wähle eine der Möglichkeiten aus...",
|
|
14503
|
-
"neptune.Pagination.ariaLabel": "Seitennummer-Navigation",
|
|
14504
|
-
"neptune.PaginationLink.ariaLabel.active": "Weiter zur Seite {pageNumber}",
|
|
14505
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Aktuelle Seite – Seite {pageNumber}",
|
|
14506
14643
|
"neptune.Select.searchPlaceholder": "Wird gesucht...",
|
|
14507
14644
|
"neptune.Summary.statusDone": "Schritt erledigt",
|
|
14508
14645
|
"neptune.Summary.statusNotDone": "Schritt noch zu erledigen",
|
|
@@ -14538,16 +14675,24 @@ var de = {
|
|
|
14538
14675
|
};
|
|
14539
14676
|
|
|
14540
14677
|
var es = {
|
|
14678
|
+
"neptune.Button.loadingAriaLabel": "cargando",
|
|
14541
14679
|
"neptune.Chips.ariaLabel": "Descartar {choice}",
|
|
14542
14680
|
"neptune.ClearButton.ariaLabel": "Borrar",
|
|
14543
14681
|
"neptune.CloseButton.ariaLabel": "Cerrar",
|
|
14544
14682
|
"neptune.DateInput.day.label": "Día",
|
|
14545
14683
|
"neptune.DateInput.month.label": "Mes",
|
|
14546
14684
|
"neptune.DateInput.year.label": "Año",
|
|
14685
|
+
"neptune.DateLookup.day": "día",
|
|
14686
|
+
"neptune.DateLookup.goTo20YearView": "Ir a vista de 20 años",
|
|
14687
|
+
"neptune.DateLookup.month": "mes",
|
|
14688
|
+
"neptune.DateLookup.next": "siguiente",
|
|
14689
|
+
"neptune.DateLookup.previous": "anterior",
|
|
14690
|
+
"neptune.DateLookup.selected": "seleccionado",
|
|
14691
|
+
"neptune.DateLookup.twentyYears": "20 años",
|
|
14692
|
+
"neptune.DateLookup.year": "año",
|
|
14693
|
+
"neptune.FlowNavigation.back": "volver al paso anterior",
|
|
14694
|
+
"neptune.Link.opensInNewTab": "(se abre en una pestaña nueva)",
|
|
14547
14695
|
"neptune.MoneyInput.Select.placeholder": "Selecciona una opción...",
|
|
14548
|
-
"neptune.Pagination.ariaLabel": "Navegación por las páginas",
|
|
14549
|
-
"neptune.PaginationLink.ariaLabel.active": "Ve a la página {pageNumber}",
|
|
14550
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Página actual, página {pageNumber}",
|
|
14551
14696
|
"neptune.Select.searchPlaceholder": "Buscar...",
|
|
14552
14697
|
"neptune.Summary.statusDone": "Apartado listo",
|
|
14553
14698
|
"neptune.Summary.statusNotDone": "Apartado a completar",
|
|
@@ -14583,16 +14728,24 @@ var es = {
|
|
|
14583
14728
|
};
|
|
14584
14729
|
|
|
14585
14730
|
var fr = {
|
|
14731
|
+
"neptune.Button.loadingAriaLabel": "chargement",
|
|
14586
14732
|
"neptune.Chips.ariaLabel": "Effacer {choice}",
|
|
14587
14733
|
"neptune.ClearButton.ariaLabel": "Effacer",
|
|
14588
14734
|
"neptune.CloseButton.ariaLabel": "Fermer",
|
|
14589
14735
|
"neptune.DateInput.day.label": "Jour",
|
|
14590
14736
|
"neptune.DateInput.month.label": "Mois",
|
|
14591
14737
|
"neptune.DateInput.year.label": "Année",
|
|
14738
|
+
"neptune.DateLookup.day": "jour",
|
|
14739
|
+
"neptune.DateLookup.goTo20YearView": "Accéder à la vue sur 20 ans",
|
|
14740
|
+
"neptune.DateLookup.month": "mois",
|
|
14741
|
+
"neptune.DateLookup.next": "suivant",
|
|
14742
|
+
"neptune.DateLookup.previous": "précédent",
|
|
14743
|
+
"neptune.DateLookup.selected": "sélectionnée",
|
|
14744
|
+
"neptune.DateLookup.twentyYears": "20 ans",
|
|
14745
|
+
"neptune.DateLookup.year": "année",
|
|
14746
|
+
"neptune.FlowNavigation.back": "revenir à l'étape précédente",
|
|
14747
|
+
"neptune.Link.opensInNewTab": "(ouvre dans un nouvel onglet)",
|
|
14592
14748
|
"neptune.MoneyInput.Select.placeholder": "Sélectionner une option...",
|
|
14593
|
-
"neptune.Pagination.ariaLabel": "Navigation par pagination",
|
|
14594
|
-
"neptune.PaginationLink.ariaLabel.active": "Aller à la page {pageNumber}",
|
|
14595
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Page actuelle, page {pageNumber}",
|
|
14596
14749
|
"neptune.Select.searchPlaceholder": "Recherche...",
|
|
14597
14750
|
"neptune.Summary.statusDone": "Validé",
|
|
14598
14751
|
"neptune.Summary.statusNotDone": "À compléter",
|
|
@@ -14628,16 +14781,24 @@ var fr = {
|
|
|
14628
14781
|
};
|
|
14629
14782
|
|
|
14630
14783
|
var hu = {
|
|
14784
|
+
"neptune.Button.loadingAriaLabel": "betöltés",
|
|
14631
14785
|
"neptune.Chips.ariaLabel": "{choice} törlése",
|
|
14632
14786
|
"neptune.ClearButton.ariaLabel": "Törlés",
|
|
14633
14787
|
"neptune.CloseButton.ariaLabel": "Bezárás",
|
|
14634
14788
|
"neptune.DateInput.day.label": "Nap",
|
|
14635
14789
|
"neptune.DateInput.month.label": "Hónap",
|
|
14636
14790
|
"neptune.DateInput.year.label": "Év",
|
|
14791
|
+
"neptune.DateLookup.day": "nap",
|
|
14792
|
+
"neptune.DateLookup.goTo20YearView": "Ugrás a 20 éves nézetre",
|
|
14793
|
+
"neptune.DateLookup.month": "hónap",
|
|
14794
|
+
"neptune.DateLookup.next": "következő",
|
|
14795
|
+
"neptune.DateLookup.previous": "előző",
|
|
14796
|
+
"neptune.DateLookup.selected": "kiválasztva",
|
|
14797
|
+
"neptune.DateLookup.twentyYears": "20 év",
|
|
14798
|
+
"neptune.DateLookup.year": "év",
|
|
14799
|
+
"neptune.FlowNavigation.back": "vissza az előző lépéshez",
|
|
14800
|
+
"neptune.Link.opensInNewTab": "(új lapon nyílik meg)",
|
|
14637
14801
|
"neptune.MoneyInput.Select.placeholder": "Válassz ki egy lehetőséget...",
|
|
14638
|
-
"neptune.Pagination.ariaLabel": "Lapszámos navigáció",
|
|
14639
|
-
"neptune.PaginationLink.ariaLabel.active": "Ugrás a(z) {pageNumber}. oldalra",
|
|
14640
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Jelenlegi oldal, {pageNumber}. oldal",
|
|
14641
14802
|
"neptune.Select.searchPlaceholder": "Keresés...",
|
|
14642
14803
|
"neptune.Summary.statusDone": "Kész",
|
|
14643
14804
|
"neptune.Summary.statusNotDone": "Hátravan",
|
|
@@ -14673,16 +14834,24 @@ var hu = {
|
|
|
14673
14834
|
};
|
|
14674
14835
|
|
|
14675
14836
|
var id = {
|
|
14837
|
+
"neptune.Button.loadingAriaLabel": "memuat",
|
|
14676
14838
|
"neptune.Chips.ariaLabel": "Hapus {choice}",
|
|
14677
14839
|
"neptune.ClearButton.ariaLabel": "Hapus",
|
|
14678
14840
|
"neptune.CloseButton.ariaLabel": "Tutup",
|
|
14679
14841
|
"neptune.DateInput.day.label": "Hari",
|
|
14680
14842
|
"neptune.DateInput.month.label": "Bulan",
|
|
14681
14843
|
"neptune.DateInput.year.label": "Tahun",
|
|
14844
|
+
"neptune.DateLookup.day": "hari",
|
|
14845
|
+
"neptune.DateLookup.goTo20YearView": "Lihat tampilan 20 tahun",
|
|
14846
|
+
"neptune.DateLookup.month": "bulan",
|
|
14847
|
+
"neptune.DateLookup.next": "berikutnya",
|
|
14848
|
+
"neptune.DateLookup.previous": "sebelumnya",
|
|
14849
|
+
"neptune.DateLookup.selected": "terpilih",
|
|
14850
|
+
"neptune.DateLookup.twentyYears": "20 tahun",
|
|
14851
|
+
"neptune.DateLookup.year": "tahun",
|
|
14852
|
+
"neptune.FlowNavigation.back": "kembali ke langkah sebelumnya",
|
|
14853
|
+
"neptune.Link.opensInNewTab": "(terbuka di tab baru)",
|
|
14682
14854
|
"neptune.MoneyInput.Select.placeholder": "Pilih opsi...",
|
|
14683
|
-
"neptune.Pagination.ariaLabel": "Halaman navigasi",
|
|
14684
|
-
"neptune.PaginationLink.ariaLabel.active": "Lanjut ke halaman {pageNumber}",
|
|
14685
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Halaman saat ini, halaman {pageNumber}",
|
|
14686
14855
|
"neptune.Select.searchPlaceholder": "Cari...",
|
|
14687
14856
|
"neptune.Summary.statusDone": "Item selesai",
|
|
14688
14857
|
"neptune.Summary.statusNotDone": "Item yang harus dilakukan",
|
|
@@ -14718,16 +14887,24 @@ var id = {
|
|
|
14718
14887
|
};
|
|
14719
14888
|
|
|
14720
14889
|
var it = {
|
|
14890
|
+
"neptune.Button.loadingAriaLabel": "caricamento",
|
|
14721
14891
|
"neptune.Chips.ariaLabel": "Rimuovi {choice}",
|
|
14722
14892
|
"neptune.ClearButton.ariaLabel": "Elimina",
|
|
14723
14893
|
"neptune.CloseButton.ariaLabel": "Chiudi",
|
|
14724
14894
|
"neptune.DateInput.day.label": "Giorno",
|
|
14725
14895
|
"neptune.DateInput.month.label": "Mese",
|
|
14726
14896
|
"neptune.DateInput.year.label": "Anno",
|
|
14897
|
+
"neptune.DateLookup.day": "giorno",
|
|
14898
|
+
"neptune.DateLookup.goTo20YearView": "Vai alla vista su 20 anni",
|
|
14899
|
+
"neptune.DateLookup.month": "mese",
|
|
14900
|
+
"neptune.DateLookup.next": "continua",
|
|
14901
|
+
"neptune.DateLookup.previous": "indietro",
|
|
14902
|
+
"neptune.DateLookup.selected": "selezionata",
|
|
14903
|
+
"neptune.DateLookup.twentyYears": "20 anni",
|
|
14904
|
+
"neptune.DateLookup.year": "anno",
|
|
14905
|
+
"neptune.FlowNavigation.back": "torna al passaggio precedente",
|
|
14906
|
+
"neptune.Link.opensInNewTab": "(si apre in una nuova scheda)",
|
|
14727
14907
|
"neptune.MoneyInput.Select.placeholder": "Seleziona un'opzione...",
|
|
14728
|
-
"neptune.Pagination.ariaLabel": "Navigazione",
|
|
14729
|
-
"neptune.PaginationLink.ariaLabel.active": "Via a pagina {pageNumber}",
|
|
14730
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Pagina corrente, pagina {pageNumber}",
|
|
14731
14908
|
"neptune.Select.searchPlaceholder": "Cerca...",
|
|
14732
14909
|
"neptune.Summary.statusDone": "Completato",
|
|
14733
14910
|
"neptune.Summary.statusNotDone": "Da completare",
|
|
@@ -14763,16 +14940,24 @@ var it = {
|
|
|
14763
14940
|
};
|
|
14764
14941
|
|
|
14765
14942
|
var ja = {
|
|
14943
|
+
"neptune.Button.loadingAriaLabel": "読み込み中…",
|
|
14766
14944
|
"neptune.Chips.ariaLabel": "{choice} をクリア",
|
|
14767
14945
|
"neptune.ClearButton.ariaLabel": "消去",
|
|
14768
14946
|
"neptune.CloseButton.ariaLabel": "閉じる",
|
|
14769
14947
|
"neptune.DateInput.day.label": "日",
|
|
14770
14948
|
"neptune.DateInput.month.label": "月",
|
|
14771
14949
|
"neptune.DateInput.year.label": "年",
|
|
14950
|
+
"neptune.DateLookup.day": "日",
|
|
14951
|
+
"neptune.DateLookup.goTo20YearView": "20年表示に移動する",
|
|
14952
|
+
"neptune.DateLookup.month": "月",
|
|
14953
|
+
"neptune.DateLookup.next": "次",
|
|
14954
|
+
"neptune.DateLookup.previous": "前",
|
|
14955
|
+
"neptune.DateLookup.selected": "選択済み",
|
|
14956
|
+
"neptune.DateLookup.twentyYears": "20年",
|
|
14957
|
+
"neptune.DateLookup.year": "年",
|
|
14958
|
+
"neptune.FlowNavigation.back": "前のステップに戻る",
|
|
14959
|
+
"neptune.Link.opensInNewTab": "(新しいタブで開きます)",
|
|
14772
14960
|
"neptune.MoneyInput.Select.placeholder": "選択してください...",
|
|
14773
|
-
"neptune.Pagination.ariaLabel": "ページネーションナビゲーション",
|
|
14774
|
-
"neptune.PaginationLink.ariaLabel.active": "{pageNumber}のページへ移動します",
|
|
14775
|
-
"neptune.PaginationLink.ariaLabel.inactive": "現在のページ、{pageNumber}ページ",
|
|
14776
14961
|
"neptune.Select.searchPlaceholder": "検索... ",
|
|
14777
14962
|
"neptune.Summary.statusDone": "完了",
|
|
14778
14963
|
"neptune.Summary.statusNotDone": "未対応",
|
|
@@ -14808,16 +14993,24 @@ var ja = {
|
|
|
14808
14993
|
};
|
|
14809
14994
|
|
|
14810
14995
|
var pl = {
|
|
14996
|
+
"neptune.Button.loadingAriaLabel": "ładowanie",
|
|
14811
14997
|
"neptune.Chips.ariaLabel": "Wyczyść {choice}",
|
|
14812
14998
|
"neptune.ClearButton.ariaLabel": "Wyczyść",
|
|
14813
14999
|
"neptune.CloseButton.ariaLabel": "Zamknij",
|
|
14814
15000
|
"neptune.DateInput.day.label": "Dzień",
|
|
14815
15001
|
"neptune.DateInput.month.label": "Miesiąc",
|
|
14816
15002
|
"neptune.DateInput.year.label": "Rok",
|
|
15003
|
+
"neptune.DateLookup.day": "dzień",
|
|
15004
|
+
"neptune.DateLookup.goTo20YearView": "Przejdź do widoku 20-letniego",
|
|
15005
|
+
"neptune.DateLookup.month": "miesiąc",
|
|
15006
|
+
"neptune.DateLookup.next": "następny",
|
|
15007
|
+
"neptune.DateLookup.previous": "poprzedni",
|
|
15008
|
+
"neptune.DateLookup.selected": "wybrano",
|
|
15009
|
+
"neptune.DateLookup.twentyYears": "20 lat",
|
|
15010
|
+
"neptune.DateLookup.year": "rok",
|
|
15011
|
+
"neptune.FlowNavigation.back": "wróć do poprzedniego kroku",
|
|
15012
|
+
"neptune.Link.opensInNewTab": "(otworzy się w nowej zakładce)",
|
|
14817
15013
|
"neptune.MoneyInput.Select.placeholder": "Wybierz opcję...",
|
|
14818
|
-
"neptune.Pagination.ariaLabel": "Nawigacja w paginacji",
|
|
14819
|
-
"neptune.PaginationLink.ariaLabel.active": "Przejdź do strony {pageNumber}",
|
|
14820
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Obecna strona, strona {pageNumber}",
|
|
14821
15014
|
"neptune.Select.searchPlaceholder": "Wyszukaj...",
|
|
14822
15015
|
"neptune.Summary.statusDone": "Czynność wykonana",
|
|
14823
15016
|
"neptune.Summary.statusNotDone": "Czynność do wykonania",
|
|
@@ -14853,16 +15046,24 @@ var pl = {
|
|
|
14853
15046
|
};
|
|
14854
15047
|
|
|
14855
15048
|
var pt = {
|
|
15049
|
+
"neptune.Button.loadingAriaLabel": "carregando",
|
|
14856
15050
|
"neptune.Chips.ariaLabel": "Remover {choice}",
|
|
14857
15051
|
"neptune.ClearButton.ariaLabel": "Remover",
|
|
14858
15052
|
"neptune.CloseButton.ariaLabel": "Fechar",
|
|
14859
15053
|
"neptune.DateInput.day.label": "Dia",
|
|
14860
15054
|
"neptune.DateInput.month.label": "Mês",
|
|
14861
15055
|
"neptune.DateInput.year.label": "Ano",
|
|
15056
|
+
"neptune.DateLookup.day": "dia",
|
|
15057
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15058
|
+
"neptune.DateLookup.month": "mês",
|
|
15059
|
+
"neptune.DateLookup.next": "próximo",
|
|
15060
|
+
"neptune.DateLookup.previous": "anterior",
|
|
15061
|
+
"neptune.DateLookup.selected": "selecionada",
|
|
15062
|
+
"neptune.DateLookup.twentyYears": "20 anos",
|
|
15063
|
+
"neptune.DateLookup.year": "ano",
|
|
15064
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
15065
|
+
"neptune.Link.opensInNewTab": "(abrir a página em uma nova aba)",
|
|
14862
15066
|
"neptune.MoneyInput.Select.placeholder": "Escolha uma opção...",
|
|
14863
|
-
"neptune.Pagination.ariaLabel": "Navegação pelas páginas",
|
|
14864
|
-
"neptune.PaginationLink.ariaLabel.active": "Ir para a página {pageNumber}",
|
|
14865
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Página atual, página {pageNumber}",
|
|
14866
15067
|
"neptune.Select.searchPlaceholder": "Buscar...",
|
|
14867
15068
|
"neptune.Summary.statusDone": "Pronto",
|
|
14868
15069
|
"neptune.Summary.statusNotDone": "Não iniciado",
|
|
@@ -14898,16 +15099,24 @@ var pt = {
|
|
|
14898
15099
|
};
|
|
14899
15100
|
|
|
14900
15101
|
var ro = {
|
|
15102
|
+
"neptune.Button.loadingAriaLabel": "se încarcă",
|
|
14901
15103
|
"neptune.Chips.ariaLabel": "Șterge {choice}",
|
|
14902
15104
|
"neptune.ClearButton.ariaLabel": "Elimină",
|
|
14903
15105
|
"neptune.CloseButton.ariaLabel": "Închide",
|
|
14904
15106
|
"neptune.DateInput.day.label": "Zi",
|
|
14905
15107
|
"neptune.DateInput.month.label": "Lună",
|
|
14906
15108
|
"neptune.DateInput.year.label": "An",
|
|
15109
|
+
"neptune.DateLookup.day": "zi",
|
|
15110
|
+
"neptune.DateLookup.goTo20YearView": "Accesează vizualizarea pe 20 de ani",
|
|
15111
|
+
"neptune.DateLookup.month": "luna",
|
|
15112
|
+
"neptune.DateLookup.next": "înainte",
|
|
15113
|
+
"neptune.DateLookup.previous": "precedenta",
|
|
15114
|
+
"neptune.DateLookup.selected": "selectată",
|
|
15115
|
+
"neptune.DateLookup.twentyYears": "20 de ani",
|
|
15116
|
+
"neptune.DateLookup.year": "anul",
|
|
15117
|
+
"neptune.FlowNavigation.back": "înapoi la pasul anterior",
|
|
15118
|
+
"neptune.Link.opensInNewTab": "(se deschide într-o filă nouă)",
|
|
14907
15119
|
"neptune.MoneyInput.Select.placeholder": "Selectează o opţiune...",
|
|
14908
|
-
"neptune.Pagination.ariaLabel": "Navigare prin pagină",
|
|
14909
|
-
"neptune.PaginationLink.ariaLabel.active": "Du-te la pagina {pageNumber}",
|
|
14910
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Pagina curentă, pagina {pageNumber}",
|
|
14911
15120
|
"neptune.Select.searchPlaceholder": "Caută...",
|
|
14912
15121
|
"neptune.Summary.statusDone": "Finalizat",
|
|
14913
15122
|
"neptune.Summary.statusNotDone": "De făcut",
|
|
@@ -14943,16 +15152,24 @@ var ro = {
|
|
|
14943
15152
|
};
|
|
14944
15153
|
|
|
14945
15154
|
var ru = {
|
|
15155
|
+
"neptune.Button.loadingAriaLabel": "загрузка",
|
|
14946
15156
|
"neptune.Chips.ariaLabel": "Очистить {choice}",
|
|
14947
15157
|
"neptune.ClearButton.ariaLabel": "Очистить",
|
|
14948
15158
|
"neptune.CloseButton.ariaLabel": "Закрыть",
|
|
14949
15159
|
"neptune.DateInput.day.label": "День",
|
|
14950
15160
|
"neptune.DateInput.month.label": "Месяц",
|
|
14951
15161
|
"neptune.DateInput.year.label": "Год",
|
|
15162
|
+
"neptune.DateLookup.day": "день",
|
|
15163
|
+
"neptune.DateLookup.goTo20YearView": "Перейти к обзору 20 лет",
|
|
15164
|
+
"neptune.DateLookup.month": "месяц",
|
|
15165
|
+
"neptune.DateLookup.next": "далее",
|
|
15166
|
+
"neptune.DateLookup.previous": "предыдущий",
|
|
15167
|
+
"neptune.DateLookup.selected": "выбрано",
|
|
15168
|
+
"neptune.DateLookup.twentyYears": "20 лет",
|
|
15169
|
+
"neptune.DateLookup.year": "год",
|
|
15170
|
+
"neptune.FlowNavigation.back": "вернуться к предыдущему шагу",
|
|
15171
|
+
"neptune.Link.opensInNewTab": "(откроется в новой вкладке)",
|
|
14952
15172
|
"neptune.MoneyInput.Select.placeholder": "Выберите вариант...",
|
|
14953
|
-
"neptune.Pagination.ariaLabel": "Постраничная навигация",
|
|
14954
|
-
"neptune.PaginationLink.ariaLabel.active": "Перейти на страницу {pageNumber}",
|
|
14955
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Текущая страница, страница {pageNumber}",
|
|
14956
15173
|
"neptune.Select.searchPlaceholder": "Поиск...",
|
|
14957
15174
|
"neptune.Summary.statusDone": "Этап завершен",
|
|
14958
15175
|
"neptune.Summary.statusNotDone": "Этап к выполнению",
|
|
@@ -14988,16 +15205,24 @@ var ru = {
|
|
|
14988
15205
|
};
|
|
14989
15206
|
|
|
14990
15207
|
var th = {
|
|
15208
|
+
"neptune.Button.loadingAriaLabel": "กำลังโหลด",
|
|
14991
15209
|
"neptune.Chips.ariaLabel": "เคลียร์ {choice}",
|
|
14992
15210
|
"neptune.ClearButton.ariaLabel": "ชัดเจน",
|
|
14993
15211
|
"neptune.CloseButton.ariaLabel": "ปิด",
|
|
14994
15212
|
"neptune.DateInput.day.label": "วัน",
|
|
14995
15213
|
"neptune.DateInput.month.label": "เดือน",
|
|
14996
15214
|
"neptune.DateInput.year.label": "ปี",
|
|
15215
|
+
"neptune.DateLookup.day": "วัน",
|
|
15216
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15217
|
+
"neptune.DateLookup.month": "เดือน",
|
|
15218
|
+
"neptune.DateLookup.next": "ถัดไป",
|
|
15219
|
+
"neptune.DateLookup.previous": "ก่อนหน้า",
|
|
15220
|
+
"neptune.DateLookup.selected": "เลือกแล้ว",
|
|
15221
|
+
"neptune.DateLookup.twentyYears": "20 ปี",
|
|
15222
|
+
"neptune.DateLookup.year": "ปี",
|
|
15223
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
15224
|
+
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
14997
15225
|
"neptune.MoneyInput.Select.placeholder": "เลือกตัวเลือก...",
|
|
14998
|
-
"neptune.Pagination.ariaLabel": "การนำทางเลขหน้า",
|
|
14999
|
-
"neptune.PaginationLink.ariaLabel.active": "ไปที่หน้า {pageNumber}",
|
|
15000
|
-
"neptune.PaginationLink.ariaLabel.inactive": "หน้าปัจจุบัน หน้า {pageNumber}",
|
|
15001
15226
|
"neptune.Select.searchPlaceholder": "ค้นหา...",
|
|
15002
15227
|
"neptune.Summary.statusDone": "รายการที่ทำแล้ว",
|
|
15003
15228
|
"neptune.Summary.statusNotDone": "รายการที่ต้องทำ",
|
|
@@ -15033,16 +15258,24 @@ var th = {
|
|
|
15033
15258
|
};
|
|
15034
15259
|
|
|
15035
15260
|
var tr = {
|
|
15261
|
+
"neptune.Button.loadingAriaLabel": "yükleniyor",
|
|
15036
15262
|
"neptune.Chips.ariaLabel": "{choice} temizle",
|
|
15037
15263
|
"neptune.ClearButton.ariaLabel": "Sil",
|
|
15038
15264
|
"neptune.CloseButton.ariaLabel": "Kapat",
|
|
15039
15265
|
"neptune.DateInput.day.label": "Gün",
|
|
15040
15266
|
"neptune.DateInput.month.label": "Ay",
|
|
15041
15267
|
"neptune.DateInput.year.label": "Yıl",
|
|
15268
|
+
"neptune.DateLookup.day": "gün",
|
|
15269
|
+
"neptune.DateLookup.goTo20YearView": "20 yıl görünümüne git",
|
|
15270
|
+
"neptune.DateLookup.month": "ay",
|
|
15271
|
+
"neptune.DateLookup.next": "devam et",
|
|
15272
|
+
"neptune.DateLookup.previous": "önceki",
|
|
15273
|
+
"neptune.DateLookup.selected": "seçili",
|
|
15274
|
+
"neptune.DateLookup.twentyYears": "20 yıl",
|
|
15275
|
+
"neptune.DateLookup.year": "yıl",
|
|
15276
|
+
"neptune.FlowNavigation.back": "önceki adıma dön",
|
|
15277
|
+
"neptune.Link.opensInNewTab": "(yeni sekmede açılır)",
|
|
15042
15278
|
"neptune.MoneyInput.Select.placeholder": "Bir seçenek seçin...",
|
|
15043
|
-
"neptune.Pagination.ariaLabel": "Sayfalandırma gezintisi",
|
|
15044
|
-
"neptune.PaginationLink.ariaLabel.active": "{pageNumber} numaralı sayfaya git",
|
|
15045
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Mevcut sayfa, sayfa {pageNumber}",
|
|
15046
15279
|
"neptune.Select.searchPlaceholder": "Ara...",
|
|
15047
15280
|
"neptune.Summary.statusDone": "Tamamlanan aşama",
|
|
15048
15281
|
"neptune.Summary.statusNotDone": "Yapılacak",
|
|
@@ -15078,16 +15311,24 @@ var tr = {
|
|
|
15078
15311
|
};
|
|
15079
15312
|
|
|
15080
15313
|
var uk = {
|
|
15314
|
+
"neptune.Button.loadingAriaLabel": "завантаження",
|
|
15081
15315
|
"neptune.Chips.ariaLabel": "Очистити {choice}",
|
|
15082
15316
|
"neptune.ClearButton.ariaLabel": "Очистити",
|
|
15083
15317
|
"neptune.CloseButton.ariaLabel": "Закрити",
|
|
15084
15318
|
"neptune.DateInput.day.label": "День",
|
|
15085
15319
|
"neptune.DateInput.month.label": "Місяць",
|
|
15086
15320
|
"neptune.DateInput.year.label": "Рік",
|
|
15321
|
+
"neptune.DateLookup.day": "дня",
|
|
15322
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15323
|
+
"neptune.DateLookup.month": "місяць",
|
|
15324
|
+
"neptune.DateLookup.next": "уперед",
|
|
15325
|
+
"neptune.DateLookup.previous": "назад",
|
|
15326
|
+
"neptune.DateLookup.selected": "вибрано",
|
|
15327
|
+
"neptune.DateLookup.twentyYears": "20 років",
|
|
15328
|
+
"neptune.DateLookup.year": "рік",
|
|
15329
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
15330
|
+
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
15087
15331
|
"neptune.MoneyInput.Select.placeholder": "Виберіть варіант…",
|
|
15088
|
-
"neptune.Pagination.ariaLabel": "Перехід за сторінками",
|
|
15089
|
-
"neptune.PaginationLink.ariaLabel.active": "Перейти на сторінку {pageNumber}",
|
|
15090
|
-
"neptune.PaginationLink.ariaLabel.inactive": "Ця сторінка, сторінка {pageNumber}",
|
|
15091
15332
|
"neptune.Select.searchPlaceholder": "Пошук…",
|
|
15092
15333
|
"neptune.Summary.statusDone": "Виконано",
|
|
15093
15334
|
"neptune.Summary.statusNotDone": "Не виконано",
|
|
@@ -15122,17 +15363,78 @@ var uk = {
|
|
|
15122
15363
|
"neptune.UploadItem.uploadingFailed": "Не вдалося завантажити"
|
|
15123
15364
|
};
|
|
15124
15365
|
|
|
15125
|
-
var
|
|
15366
|
+
var zhCN = {
|
|
15367
|
+
"neptune.Button.loadingAriaLabel": "正在加载",
|
|
15368
|
+
"neptune.Chips.ariaLabel": "清除 {choice}",
|
|
15369
|
+
"neptune.ClearButton.ariaLabel": "清晰",
|
|
15370
|
+
"neptune.CloseButton.ariaLabel": "关闭",
|
|
15371
|
+
"neptune.DateInput.day.label": "日",
|
|
15372
|
+
"neptune.DateInput.month.label": "月",
|
|
15373
|
+
"neptune.DateInput.year.label": "年",
|
|
15374
|
+
"neptune.DateLookup.day": "日",
|
|
15375
|
+
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15376
|
+
"neptune.DateLookup.month": "月",
|
|
15377
|
+
"neptune.DateLookup.next": "下一页",
|
|
15378
|
+
"neptune.DateLookup.previous": "上一页",
|
|
15379
|
+
"neptune.DateLookup.selected": "已选",
|
|
15380
|
+
"neptune.DateLookup.twentyYears": "20年",
|
|
15381
|
+
"neptune.DateLookup.year": "年",
|
|
15382
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
15383
|
+
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
15384
|
+
"neptune.MoneyInput.Select.placeholder": "请选择...",
|
|
15385
|
+
"neptune.Select.searchPlaceholder": "搜索",
|
|
15386
|
+
"neptune.Summary.statusDone": "已完成",
|
|
15387
|
+
"neptune.Summary.statusNotDone": "未完成",
|
|
15388
|
+
"neptune.Summary.statusPending": "待处理",
|
|
15389
|
+
"neptune.Upload.csButtonText": "上传另一个文件?",
|
|
15390
|
+
"neptune.Upload.csFailureText": "上传失败。请重试",
|
|
15391
|
+
"neptune.Upload.csSuccessText": "上传完毕!",
|
|
15392
|
+
"neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
|
|
15393
|
+
"neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
|
|
15394
|
+
"neptune.Upload.psButtonText": "取消",
|
|
15395
|
+
"neptune.Upload.psProcessingText": "正在上传…",
|
|
15396
|
+
"neptune.Upload.usButtonText": "或选择文件",
|
|
15397
|
+
"neptune.Upload.usDropMessage": "拖放文件开始上传",
|
|
15398
|
+
"neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
|
|
15399
|
+
"neptune.UploadButton.allFileTypes": "所有文件类型",
|
|
15400
|
+
"neptune.UploadButton.dropFiles": "拖放文件开始上传",
|
|
15401
|
+
"neptune.UploadButton.instructions": "{fileTypes},小于 {size}MB",
|
|
15402
|
+
"neptune.UploadButton.uploadFile": "上传文件",
|
|
15403
|
+
"neptune.UploadButton.uploadFiles": "上传文件",
|
|
15404
|
+
"neptune.UploadInput.deleteModalBody": "删除此文件会将其从我们的系统中删除",
|
|
15405
|
+
"neptune.UploadInput.deleteModalCancelButtonText": "取消",
|
|
15406
|
+
"neptune.UploadInput.deleteModalConfirmButtonText": "删除",
|
|
15407
|
+
"neptune.UploadInput.deleteModalTitle": "确定要删除此文件吗?",
|
|
15408
|
+
"neptune.UploadInput.fileIsTooLarge": "文件太大",
|
|
15409
|
+
"neptune.UploadInput.fileTypeNotSupported": "文件类型不受支持",
|
|
15410
|
+
"neptune.UploadInput.maximumFilesAlreadyUploaded": "抱歉,此上传失败,因为我们一次只能接受 {maxFilesAllowed} 个文件。",
|
|
15411
|
+
"neptune.UploadItem.deleting": "正在删除…",
|
|
15412
|
+
"neptune.UploadItem.removeFile": "删除文件 {filename}",
|
|
15413
|
+
"neptune.UploadItem.uploaded": "已上传",
|
|
15414
|
+
"neptune.UploadItem.uploadedFile": "上传的文件",
|
|
15415
|
+
"neptune.UploadItem.uploading": "正在上传…",
|
|
15416
|
+
"neptune.UploadItem.uploadingFailed": "上传失败"
|
|
15417
|
+
};
|
|
15418
|
+
|
|
15419
|
+
var zhHK = {
|
|
15420
|
+
"neptune.Button.loadingAriaLabel": "載入中",
|
|
15126
15421
|
"neptune.Chips.ariaLabel": "清除{choice}",
|
|
15127
15422
|
"neptune.ClearButton.ariaLabel": "清除",
|
|
15128
15423
|
"neptune.CloseButton.ariaLabel": "關閉",
|
|
15129
15424
|
"neptune.DateInput.day.label": "日",
|
|
15130
15425
|
"neptune.DateInput.month.label": "月",
|
|
15131
15426
|
"neptune.DateInput.year.label": "年",
|
|
15427
|
+
"neptune.DateLookup.day": "日",
|
|
15428
|
+
"neptune.DateLookup.goTo20YearView": "切換至20年視圖",
|
|
15429
|
+
"neptune.DateLookup.month": "月",
|
|
15430
|
+
"neptune.DateLookup.next": "下一個",
|
|
15431
|
+
"neptune.DateLookup.previous": "上一個",
|
|
15432
|
+
"neptune.DateLookup.selected": "已選",
|
|
15433
|
+
"neptune.DateLookup.twentyYears": "20年",
|
|
15434
|
+
"neptune.DateLookup.year": "年",
|
|
15435
|
+
"neptune.FlowNavigation.back": "返回上一個步驟",
|
|
15436
|
+
"neptune.Link.opensInNewTab": "(在新分頁中開啟)",
|
|
15132
15437
|
"neptune.MoneyInput.Select.placeholder": "選擇一個選項…",
|
|
15133
|
-
"neptune.Pagination.ariaLabel": "分頁導航",
|
|
15134
|
-
"neptune.PaginationLink.ariaLabel.active": "前往第{pageNumber}頁",
|
|
15135
|
-
"neptune.PaginationLink.ariaLabel.inactive": "目前在第{pageNumber}頁",
|
|
15136
15438
|
"neptune.Select.searchPlaceholder": "搜尋…",
|
|
15137
15439
|
"neptune.Summary.statusDone": "已完成事項",
|
|
15138
15440
|
"neptune.Summary.statusNotDone": "未完成事項",
|
|
@@ -15168,6 +15470,7 @@ var zh = {
|
|
|
15168
15470
|
};
|
|
15169
15471
|
|
|
15170
15472
|
const translations = {
|
|
15473
|
+
cs,
|
|
15171
15474
|
de,
|
|
15172
15475
|
en,
|
|
15173
15476
|
es,
|
|
@@ -15183,7 +15486,8 @@ const translations = {
|
|
|
15183
15486
|
th,
|
|
15184
15487
|
tr,
|
|
15185
15488
|
uk,
|
|
15186
|
-
zh
|
|
15489
|
+
'zh-CN': zhCN,
|
|
15490
|
+
'zh-HK': zhHK
|
|
15187
15491
|
};
|
|
15188
15492
|
|
|
15189
15493
|
exports.Accordion = Accordion;
|