@transferwise/components 0.0.0-experimental-9f2982a → 0.0.0-experimental-52c0a68
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/en.json +0 -1
- package/build/index.esm.js +145 -90
- package/build/index.esm.js.map +1 -1
- package/build/index.js +145 -90
- package/build/index.js.map +1 -1
- package/build/main.css +1 -1
- package/build/styles/inputs/SelectInput.css +1 -1
- package/build/styles/main.css +1 -1
- package/build/types/i18n/index.d.ts.map +1 -1
- package/build/types/inputs/SelectInput.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common/locale/index.spec.js +1 -34
- package/src/i18n/en.json +0 -1
- package/src/i18n/index.ts +6 -2
- package/src/inputs/SelectInput.css +1 -1
- package/src/inputs/SelectInput.less +0 -12
- package/src/inputs/SelectInput.tsx +20 -46
- package/src/inputs/_BottomSheet.tsx +25 -25
- package/src/main.css +1 -1
- package/build/i18n/zh_CN.json +0 -44
- package/build/types/inputs/SelectInput.messages.d.ts +0 -9
- package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
- package/src/i18n/zh_CN.json +0 -44
- package/src/inputs/SelectInput.messages.ts +0 -9
- /package/build/i18n/{zh.json → zh-HK.json} +0 -0
- /package/src/i18n/{zh.json → zh-HK.json} +0 -0
package/build/index.js
CHANGED
|
@@ -3316,7 +3316,7 @@ const ResponsivePanel = /*#__PURE__*/React.forwardRef(({
|
|
|
3316
3316
|
});
|
|
3317
3317
|
var ResponsivePanel$1 = ResponsivePanel;
|
|
3318
3318
|
|
|
3319
|
-
var
|
|
3319
|
+
var messages$6 = reactIntl.defineMessages({
|
|
3320
3320
|
ariaLabel: {
|
|
3321
3321
|
id: "neptune.ClearButton.ariaLabel"
|
|
3322
3322
|
}
|
|
@@ -3379,7 +3379,7 @@ const DateTrigger = ({
|
|
|
3379
3379
|
className: "input-group-addon",
|
|
3380
3380
|
children: /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
|
|
3381
3381
|
className: `clear-btn clear-btn--${size}`,
|
|
3382
|
-
"aria-label": formatMessage(
|
|
3382
|
+
"aria-label": formatMessage(messages$6.ariaLabel),
|
|
3383
3383
|
size: exports.Size.SMALL,
|
|
3384
3384
|
onClick: event => {
|
|
3385
3385
|
event.stopPropagation();
|
|
@@ -3409,7 +3409,7 @@ DateTrigger.defaultProps = {
|
|
|
3409
3409
|
};
|
|
3410
3410
|
var DateTrigger$1 = DateTrigger;
|
|
3411
3411
|
|
|
3412
|
-
var messages$
|
|
3412
|
+
var messages$5 = reactIntl.defineMessages({
|
|
3413
3413
|
next: {
|
|
3414
3414
|
id: "neptune.DateLookup.next"
|
|
3415
3415
|
},
|
|
@@ -3452,7 +3452,7 @@ const DateHeader = ({
|
|
|
3452
3452
|
children: /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
3453
3453
|
type: "button",
|
|
3454
3454
|
className: `d-inline-flex ${buttonClasses}`,
|
|
3455
|
-
"aria-label": `${intl.formatMessage(messages$
|
|
3455
|
+
"aria-label": `${intl.formatMessage(messages$5.previous)} ${dateMode}`,
|
|
3456
3456
|
onClick: onPreviousClick,
|
|
3457
3457
|
children: /*#__PURE__*/jsxRuntime.jsx(Chevron$1, {
|
|
3458
3458
|
orientation: exports.Position.LEFT,
|
|
@@ -3466,7 +3466,7 @@ const DateHeader = ({
|
|
|
3466
3466
|
children: /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
3467
3467
|
type: "button",
|
|
3468
3468
|
className: `tw-date-lookup-header-current ${buttonClasses}`,
|
|
3469
|
-
"aria-label": intl.formatMessage(messages$
|
|
3469
|
+
"aria-label": intl.formatMessage(messages$5.goTo20YearView),
|
|
3470
3470
|
onClick: onLabelClick,
|
|
3471
3471
|
children: label
|
|
3472
3472
|
})
|
|
@@ -3475,7 +3475,7 @@ const DateHeader = ({
|
|
|
3475
3475
|
children: /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
3476
3476
|
type: "button",
|
|
3477
3477
|
className: `d-inline-flex ${buttonClasses}`,
|
|
3478
|
-
"aria-label": `${reactIntl.useIntl().formatMessage(messages$
|
|
3478
|
+
"aria-label": `${reactIntl.useIntl().formatMessage(messages$5.next)} ${dateMode}`,
|
|
3479
3479
|
onClick: onNextClick,
|
|
3480
3480
|
children: /*#__PURE__*/jsxRuntime.jsx(Chevron$1, {
|
|
3481
3481
|
orientation: exports.Position.RIGHT,
|
|
@@ -3519,7 +3519,7 @@ class TableLink extends React.PureComponent {
|
|
|
3519
3519
|
};
|
|
3520
3520
|
calculateAriaLabel = (longTitle, title, active, type, formatMessage) => {
|
|
3521
3521
|
if (active) {
|
|
3522
|
-
return `${longTitle || title}, ${formatMessage(messages$
|
|
3522
|
+
return `${longTitle || title}, ${formatMessage(messages$5.selected)} ${formatMessage(messages$5[type])}`;
|
|
3523
3523
|
}
|
|
3524
3524
|
return longTitle || title;
|
|
3525
3525
|
};
|
|
@@ -3742,7 +3742,7 @@ class DayCalendar extends React.PureComponent {
|
|
|
3742
3742
|
month: monthFormat,
|
|
3743
3743
|
year: 'numeric'
|
|
3744
3744
|
}),
|
|
3745
|
-
dateMode: formatMessage(messages$
|
|
3745
|
+
dateMode: formatMessage(messages$5.month),
|
|
3746
3746
|
onLabelClick: onLabelClick,
|
|
3747
3747
|
onPreviousClick: this.selectPreviousMonth,
|
|
3748
3748
|
onNextClick: this.selectNextMonth
|
|
@@ -3870,7 +3870,7 @@ class MonthCalendar extends React.PureComponent {
|
|
|
3870
3870
|
} = this.props;
|
|
3871
3871
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
3872
3872
|
children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
|
|
3873
|
-
dateMode: formatMessage(messages$
|
|
3873
|
+
dateMode: formatMessage(messages$5.year),
|
|
3874
3874
|
label: formatting.formatDate(new Date(viewYear, 0), locale, {
|
|
3875
3875
|
year: 'numeric'
|
|
3876
3876
|
}),
|
|
@@ -3995,7 +3995,7 @@ class YearCalendar extends React.PureComponent {
|
|
|
3995
3995
|
} = this.props;
|
|
3996
3996
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
3997
3997
|
children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
|
|
3998
|
-
dateMode: formatMessage(messages$
|
|
3998
|
+
dateMode: formatMessage(messages$5.twentyYears),
|
|
3999
3999
|
onPreviousClick: this.selectPreviousYears,
|
|
4000
4000
|
onNextClick: this.selectNextYears
|
|
4001
4001
|
}), /*#__PURE__*/jsxRuntime.jsx(YearCalendarTable$1, {
|
|
@@ -5693,7 +5693,7 @@ const Stepper = ({
|
|
|
5693
5693
|
});
|
|
5694
5694
|
};
|
|
5695
5695
|
|
|
5696
|
-
var messages$
|
|
5696
|
+
var messages$4 = reactIntl.defineMessages({
|
|
5697
5697
|
back: {
|
|
5698
5698
|
id: "neptune.FlowNavigation.back"
|
|
5699
5699
|
}
|
|
@@ -5773,7 +5773,7 @@ const FlowNavigation = ({
|
|
|
5773
5773
|
className: "m-x-1",
|
|
5774
5774
|
labels: steps.map(step => step.label),
|
|
5775
5775
|
activeLabel: activeStep - 1,
|
|
5776
|
-
"aria-label": intl.formatMessage(messages$
|
|
5776
|
+
"aria-label": intl.formatMessage(messages$4.back)
|
|
5777
5777
|
}),
|
|
5778
5778
|
onClick: onGoBack
|
|
5779
5779
|
}) : logo
|
|
@@ -6388,12 +6388,6 @@ function wrapInFragment(value) {
|
|
|
6388
6388
|
});
|
|
6389
6389
|
}
|
|
6390
6390
|
|
|
6391
|
-
var messages$4 = reactIntl.defineMessages({
|
|
6392
|
-
noResultsFound: {
|
|
6393
|
-
id: "neptune.SelectInput.noResultsFound"
|
|
6394
|
-
}
|
|
6395
|
-
});
|
|
6396
|
-
|
|
6397
6391
|
function PreventScroll() {
|
|
6398
6392
|
overlays.usePreventScroll();
|
|
6399
6393
|
return null;
|
|
@@ -6439,34 +6433,34 @@ function BottomSheet({
|
|
|
6439
6433
|
theme: theme,
|
|
6440
6434
|
screenMode: screenMode,
|
|
6441
6435
|
isNotRootProvider: true,
|
|
6442
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
6436
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(react$1.Transition, {
|
|
6443
6437
|
show: open,
|
|
6444
6438
|
className: "np-bottom-sheet-v2-container",
|
|
6445
6439
|
beforeEnter: () => {
|
|
6446
6440
|
setFloatingKey(prev => prev + 1);
|
|
6447
6441
|
},
|
|
6448
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6442
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
|
|
6443
|
+
enter: "np-bottom-sheet-v2-backdrop-container--enter",
|
|
6444
|
+
enterFrom: "np-bottom-sheet-v2-backdrop-container--enter-from",
|
|
6445
|
+
leave: "np-bottom-sheet-v2-backdrop-container--leave",
|
|
6446
|
+
leaveTo: "np-bottom-sheet-v2-backdrop-container--leave-to",
|
|
6447
|
+
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6448
|
+
className: "np-bottom-sheet-v2-backdrop"
|
|
6449
|
+
})
|
|
6450
|
+
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6451
|
+
className: "np-bottom-sheet-v2",
|
|
6452
|
+
children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
|
|
6453
|
+
className: "np-bottom-sheet-v2-content",
|
|
6454
|
+
enter: "np-bottom-sheet-v2-content--enter",
|
|
6455
|
+
enterFrom: "np-bottom-sheet-v2-content--enter-from",
|
|
6456
|
+
leave: "np-bottom-sheet-v2-content--leave",
|
|
6457
|
+
leaveTo: "np-bottom-sheet-v2-content--leave-to",
|
|
6458
|
+
children: /*#__PURE__*/jsxRuntime.jsx(FocusBoundary, {
|
|
6459
|
+
children: /*#__PURE__*/jsxRuntime.jsx(react.FloatingFocusManager, {
|
|
6460
|
+
context: context,
|
|
6461
|
+
initialFocus: initialFocusRef,
|
|
6462
|
+
guards: false,
|
|
6463
|
+
modal: false,
|
|
6470
6464
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
6471
6465
|
// Force inner state invalidation on open
|
|
6472
6466
|
ref: refs.setFloating,
|
|
@@ -6495,8 +6489,8 @@ function BottomSheet({
|
|
|
6495
6489
|
}, floatingKey)
|
|
6496
6490
|
})
|
|
6497
6491
|
})
|
|
6498
|
-
})
|
|
6499
|
-
})
|
|
6492
|
+
})
|
|
6493
|
+
})]
|
|
6500
6494
|
})
|
|
6501
6495
|
})
|
|
6502
6496
|
})]
|
|
@@ -6647,14 +6641,14 @@ function useSelectInputItemCheckPadding() {
|
|
|
6647
6641
|
const SelectInputTriggerButtonPropsContext = /*#__PURE__*/React.createContext({});
|
|
6648
6642
|
const SelectInputOptionContentWithinTriggerContext = /*#__PURE__*/React.createContext(false);
|
|
6649
6643
|
function dedupeSelectInputOptionItem(item, existingValues) {
|
|
6650
|
-
if (
|
|
6651
|
-
|
|
6652
|
-
|
|
6644
|
+
if (existingValues.has(item.value)) {
|
|
6645
|
+
return {
|
|
6646
|
+
...item,
|
|
6647
|
+
value: undefined
|
|
6648
|
+
};
|
|
6653
6649
|
}
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
value: undefined
|
|
6657
|
-
};
|
|
6650
|
+
existingValues.add(item.value);
|
|
6651
|
+
return item;
|
|
6658
6652
|
}
|
|
6659
6653
|
function dedupeSelectInputItems(items) {
|
|
6660
6654
|
const existingValues = new Set();
|
|
@@ -6675,24 +6669,6 @@ function dedupeSelectInputItems(items) {
|
|
|
6675
6669
|
return item;
|
|
6676
6670
|
});
|
|
6677
6671
|
}
|
|
6678
|
-
function filterSelectInputOptionItem(item, needle) {
|
|
6679
|
-
return inferSearchableStrings(item.filterMatchers ?? item.value).some(haystack => haystack.includes(needle));
|
|
6680
|
-
}
|
|
6681
|
-
function filterSelectInputItems(items, needle) {
|
|
6682
|
-
return items.filter(item => {
|
|
6683
|
-
switch (item.type) {
|
|
6684
|
-
case 'option':
|
|
6685
|
-
{
|
|
6686
|
-
return filterSelectInputOptionItem(item, needle);
|
|
6687
|
-
}
|
|
6688
|
-
case 'group':
|
|
6689
|
-
{
|
|
6690
|
-
return item.options.some(option => filterSelectInputOptionItem(option, needle));
|
|
6691
|
-
}
|
|
6692
|
-
}
|
|
6693
|
-
return false;
|
|
6694
|
-
});
|
|
6695
|
-
}
|
|
6696
6672
|
const defaultRenderTrigger = ({
|
|
6697
6673
|
content,
|
|
6698
6674
|
placeholderShown,
|
|
@@ -6740,7 +6716,7 @@ function SelectInputClearButton({
|
|
|
6740
6716
|
const intl = reactIntl.useIntl();
|
|
6741
6717
|
return /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
6742
6718
|
type: "button",
|
|
6743
|
-
"aria-label": intl.formatMessage(
|
|
6719
|
+
"aria-label": intl.formatMessage(messages$6.ariaLabel),
|
|
6744
6720
|
className: classNames__default.default(className, 'np-select-input-addon np-select-input-addon--interactive'),
|
|
6745
6721
|
onClick: onClick,
|
|
6746
6722
|
children: /*#__PURE__*/jsxRuntime.jsx(icons.Cross, {
|
|
@@ -6897,8 +6873,6 @@ function SelectInputOptions({
|
|
|
6897
6873
|
searchInputRef,
|
|
6898
6874
|
listboxRef
|
|
6899
6875
|
}) {
|
|
6900
|
-
const intl = reactIntl.useIntl();
|
|
6901
|
-
const controllerRef = filterable ? searchInputRef : listboxRef;
|
|
6902
6876
|
const [query, setQuery] = React.useState('');
|
|
6903
6877
|
const needle = React.useMemo(() => {
|
|
6904
6878
|
if (filterable) {
|
|
@@ -6906,16 +6880,14 @@ function SelectInputOptions({
|
|
|
6906
6880
|
}
|
|
6907
6881
|
return undefined;
|
|
6908
6882
|
}, [filterable, query]);
|
|
6909
|
-
const empty = needle != null && filterSelectInputItems(items, needle).length === 0;
|
|
6910
6883
|
const listboxContainerRef = React.useRef(null);
|
|
6911
6884
|
React.useEffect(() => {
|
|
6912
6885
|
if (listboxContainerRef.current != null) {
|
|
6913
6886
|
listboxContainerRef.current.style.setProperty('--initial-height', `${listboxContainerRef.current.offsetHeight}px`);
|
|
6914
6887
|
}
|
|
6915
6888
|
}, []);
|
|
6916
|
-
const showStatus = empty;
|
|
6917
|
-
const statusId = reactId.useId();
|
|
6918
6889
|
const listboxId = reactId.useId();
|
|
6890
|
+
const controllerRef = filterable ? searchInputRef : listboxRef;
|
|
6919
6891
|
return /*#__PURE__*/jsxRuntime.jsxs(react$1.Listbox.Options, {
|
|
6920
6892
|
as: SelectInputOptionsContainer,
|
|
6921
6893
|
static: true,
|
|
@@ -6937,7 +6909,6 @@ function SelectInputOptions({
|
|
|
6937
6909
|
placeholder: filterPlaceholder,
|
|
6938
6910
|
value: query,
|
|
6939
6911
|
"aria-controls": listboxId,
|
|
6940
|
-
"aria-describedby": showStatus ? statusId : undefined,
|
|
6941
6912
|
onKeyDown: event => {
|
|
6942
6913
|
// Prevent interfering with the matcher of Headless UI
|
|
6943
6914
|
// https://mathiasbynens.be/notes/javascript-unicode#regex
|
|
@@ -6949,31 +6920,24 @@ function SelectInputOptions({
|
|
|
6949
6920
|
setQuery(event.currentTarget.value);
|
|
6950
6921
|
}
|
|
6951
6922
|
})
|
|
6952
|
-
}) : null, /*#__PURE__*/jsxRuntime.
|
|
6923
|
+
}) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6953
6924
|
ref: listboxContainerRef,
|
|
6954
6925
|
className: classNames__default.default('np-select-input-listbox-container', items.some(item => item.type === 'group') && 'np-select-input-listbox-container--has-group'),
|
|
6955
|
-
children:
|
|
6956
|
-
id: statusId,
|
|
6957
|
-
className: "np-select-input-options-status",
|
|
6958
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(icons.CrossCircle, {
|
|
6959
|
-
size: 16,
|
|
6960
|
-
className: "np-select-input-options-status-icon"
|
|
6961
|
-
}), intl.formatMessage(messages$4.noResultsFound)]
|
|
6962
|
-
}) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6926
|
+
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6963
6927
|
ref: listboxRef,
|
|
6964
6928
|
id: listboxId,
|
|
6965
6929
|
role: "listbox",
|
|
6966
6930
|
"aria-orientation": "vertical",
|
|
6967
6931
|
tabIndex: 0,
|
|
6968
6932
|
className: "np-select-input-listbox",
|
|
6969
|
-
children: (needle
|
|
6933
|
+
children: (needle == null ? items : dedupeSelectInputItems(items)).map((item, index) => /*#__PURE__*/jsxRuntime.jsx(SelectInputItemView
|
|
6970
6934
|
// eslint-disable-next-line react/no-array-index-key
|
|
6971
6935
|
, {
|
|
6972
6936
|
item: item,
|
|
6973
6937
|
renderValue: renderValue,
|
|
6974
6938
|
needle: needle
|
|
6975
6939
|
}, index))
|
|
6976
|
-
})
|
|
6940
|
+
})
|
|
6977
6941
|
})]
|
|
6978
6942
|
});
|
|
6979
6943
|
}
|
|
@@ -6985,7 +6949,7 @@ function SelectInputItemView({
|
|
|
6985
6949
|
switch (item.type) {
|
|
6986
6950
|
case 'option':
|
|
6987
6951
|
{
|
|
6988
|
-
if (item.value != null && (needle
|
|
6952
|
+
if (item.value != null && (!needle || inferSearchableStrings(item.filterMatchers ?? item.value).some(haystack => haystack.includes(needle)))) {
|
|
6989
6953
|
return /*#__PURE__*/jsxRuntime.jsx(SelectInputOption, {
|
|
6990
6954
|
value: item.value,
|
|
6991
6955
|
disabled: item.disabled,
|
|
@@ -10760,7 +10724,6 @@ var en = {
|
|
|
10760
10724
|
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
10761
10725
|
"neptune.MoneyInput.Select.placeholder": "Select an option...",
|
|
10762
10726
|
"neptune.Select.searchPlaceholder": "Search...",
|
|
10763
|
-
"neptune.SelectInput.noResultsFound": "No results found",
|
|
10764
10727
|
"neptune.Summary.statusDone": "Item done",
|
|
10765
10728
|
"neptune.Summary.statusNotDone": "Item to do",
|
|
10766
10729
|
"neptune.Summary.statusPending": "Item pending",
|
|
@@ -14529,6 +14492,51 @@ function useSnackbar() {
|
|
|
14529
14492
|
return createSnackbar;
|
|
14530
14493
|
}
|
|
14531
14494
|
|
|
14495
|
+
var cs = {
|
|
14496
|
+
"neptune.Chips.ariaLabel": "Vyčistit {choice}",
|
|
14497
|
+
"neptune.ClearButton.ariaLabel": "Vyčistit",
|
|
14498
|
+
"neptune.CloseButton.ariaLabel": "Zavřít",
|
|
14499
|
+
"neptune.DateInput.day.label": "Den",
|
|
14500
|
+
"neptune.DateInput.month.label": "Měsíc",
|
|
14501
|
+
"neptune.DateInput.year.label": "Rok",
|
|
14502
|
+
"neptune.MoneyInput.Select.placeholder": "Vybrat možnost...",
|
|
14503
|
+
"neptune.Pagination.ariaLabel": "Navigace v Pagination",
|
|
14504
|
+
"neptune.PaginationLink.ariaLabel.active": "Přejít na stránku {pageNumber}",
|
|
14505
|
+
"neptune.PaginationLink.ariaLabel.inactive": "Současná stránka, stránka {pageNumber}",
|
|
14506
|
+
"neptune.Select.searchPlaceholder": "Hledat...",
|
|
14507
|
+
"neptune.Summary.statusDone": "Položka dokončena",
|
|
14508
|
+
"neptune.Summary.statusNotDone": "Položka k dokončení",
|
|
14509
|
+
"neptune.Summary.statusPending": "Čekající položka",
|
|
14510
|
+
"neptune.Upload.csButtonText": "Nahrát další soubor?",
|
|
14511
|
+
"neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
|
|
14512
|
+
"neptune.Upload.csSuccessText": "Úspěšně nahráno!",
|
|
14513
|
+
"neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
|
|
14514
|
+
"neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
|
|
14515
|
+
"neptune.Upload.psButtonText": "Zrušit",
|
|
14516
|
+
"neptune.Upload.psProcessingText": "Načítání...",
|
|
14517
|
+
"neptune.Upload.usButtonText": "Nebo vyberte soubor",
|
|
14518
|
+
"neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
|
|
14519
|
+
"neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
|
|
14520
|
+
"neptune.UploadButton.allFileTypes": "Všechny typy souborů",
|
|
14521
|
+
"neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
|
|
14522
|
+
"neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
|
|
14523
|
+
"neptune.UploadButton.uploadFile": "Nahrát soubor",
|
|
14524
|
+
"neptune.UploadButton.uploadFiles": "Nahrát soubory",
|
|
14525
|
+
"neptune.UploadInput.deleteModalBody": "Odstraněním tohoto souboru jej smažete z našeho systému.",
|
|
14526
|
+
"neptune.UploadInput.deleteModalCancelButtonText": "Zrušit",
|
|
14527
|
+
"neptune.UploadInput.deleteModalConfirmButtonText": "Odstranit",
|
|
14528
|
+
"neptune.UploadInput.deleteModalTitle": "Jistě chcete odstranit tento soubor?",
|
|
14529
|
+
"neptune.UploadInput.fileIsTooLarge": "Soubor je příliš velký",
|
|
14530
|
+
"neptune.UploadInput.fileTypeNotSupported": "Typ souboru není podporován",
|
|
14531
|
+
"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.",
|
|
14532
|
+
"neptune.UploadItem.deleting": "Mažeme...",
|
|
14533
|
+
"neptune.UploadItem.removeFile": "Odstranit soubor {filename}",
|
|
14534
|
+
"neptune.UploadItem.uploaded": "Nahráno",
|
|
14535
|
+
"neptune.UploadItem.uploadedFile": "Nahraný soubor",
|
|
14536
|
+
"neptune.UploadItem.uploading": "Nahrávání...",
|
|
14537
|
+
"neptune.UploadItem.uploadingFailed": "Nahrání se nezdařilo"
|
|
14538
|
+
};
|
|
14539
|
+
|
|
14532
14540
|
var de = {
|
|
14533
14541
|
"neptune.Chips.ariaLabel": "{choice} zurücksetzen",
|
|
14534
14542
|
"neptune.ClearButton.ariaLabel": "Zurücksetzen",
|
|
@@ -15159,7 +15167,52 @@ var uk = {
|
|
|
15159
15167
|
"neptune.UploadItem.uploadingFailed": "Не вдалося завантажити"
|
|
15160
15168
|
};
|
|
15161
15169
|
|
|
15162
|
-
var
|
|
15170
|
+
var zhCN = {
|
|
15171
|
+
"neptune.Chips.ariaLabel": "清除 {choice}",
|
|
15172
|
+
"neptune.ClearButton.ariaLabel": "清晰",
|
|
15173
|
+
"neptune.CloseButton.ariaLabel": "关闭",
|
|
15174
|
+
"neptune.DateInput.day.label": "日",
|
|
15175
|
+
"neptune.DateInput.month.label": "月",
|
|
15176
|
+
"neptune.DateInput.year.label": "年",
|
|
15177
|
+
"neptune.MoneyInput.Select.placeholder": "请选择...",
|
|
15178
|
+
"neptune.Pagination.ariaLabel": "分页导航",
|
|
15179
|
+
"neptune.PaginationLink.ariaLabel.active": "转到第 {pageNumber} 页",
|
|
15180
|
+
"neptune.PaginationLink.ariaLabel.inactive": "当前页面,第 {pageNumber} 页",
|
|
15181
|
+
"neptune.Select.searchPlaceholder": "搜索",
|
|
15182
|
+
"neptune.Summary.statusDone": "已完成",
|
|
15183
|
+
"neptune.Summary.statusNotDone": "未完成",
|
|
15184
|
+
"neptune.Summary.statusPending": "待处理",
|
|
15185
|
+
"neptune.Upload.csButtonText": "上传另一个文件?",
|
|
15186
|
+
"neptune.Upload.csFailureText": "上传失败。请重试",
|
|
15187
|
+
"neptune.Upload.csSuccessText": "上传完毕!",
|
|
15188
|
+
"neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
|
|
15189
|
+
"neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
|
|
15190
|
+
"neptune.Upload.psButtonText": "取消",
|
|
15191
|
+
"neptune.Upload.psProcessingText": "正在上传…",
|
|
15192
|
+
"neptune.Upload.usButtonText": "或选择文件",
|
|
15193
|
+
"neptune.Upload.usDropMessage": "拖放文件开始上传",
|
|
15194
|
+
"neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
|
|
15195
|
+
"neptune.UploadButton.allFileTypes": "所有文件类型",
|
|
15196
|
+
"neptune.UploadButton.dropFiles": "拖放文件开始上传",
|
|
15197
|
+
"neptune.UploadButton.instructions": "{fileTypes},小于 {size}MB",
|
|
15198
|
+
"neptune.UploadButton.uploadFile": "上传文件",
|
|
15199
|
+
"neptune.UploadButton.uploadFiles": "上传文件",
|
|
15200
|
+
"neptune.UploadInput.deleteModalBody": "删除此文件会将其从我们的系统中删除",
|
|
15201
|
+
"neptune.UploadInput.deleteModalCancelButtonText": "取消",
|
|
15202
|
+
"neptune.UploadInput.deleteModalConfirmButtonText": "删除",
|
|
15203
|
+
"neptune.UploadInput.deleteModalTitle": "确定要删除此文件吗?",
|
|
15204
|
+
"neptune.UploadInput.fileIsTooLarge": "文件太大",
|
|
15205
|
+
"neptune.UploadInput.fileTypeNotSupported": "文件类型不受支持",
|
|
15206
|
+
"neptune.UploadInput.maximumFilesAlreadyUploaded": "抱歉,此上传失败,因为我们一次只能接受 {maxFilesAllowed} 个文件。",
|
|
15207
|
+
"neptune.UploadItem.deleting": "正在删除…",
|
|
15208
|
+
"neptune.UploadItem.removeFile": "删除文件 {filename}",
|
|
15209
|
+
"neptune.UploadItem.uploaded": "已上传",
|
|
15210
|
+
"neptune.UploadItem.uploadedFile": "上传的文件",
|
|
15211
|
+
"neptune.UploadItem.uploading": "正在上传…",
|
|
15212
|
+
"neptune.UploadItem.uploadingFailed": "上传失败"
|
|
15213
|
+
};
|
|
15214
|
+
|
|
15215
|
+
var zhHK = {
|
|
15163
15216
|
"neptune.Chips.ariaLabel": "清除{choice}",
|
|
15164
15217
|
"neptune.ClearButton.ariaLabel": "清除",
|
|
15165
15218
|
"neptune.CloseButton.ariaLabel": "關閉",
|
|
@@ -15205,6 +15258,7 @@ var zh = {
|
|
|
15205
15258
|
};
|
|
15206
15259
|
|
|
15207
15260
|
const translations = {
|
|
15261
|
+
cs,
|
|
15208
15262
|
de,
|
|
15209
15263
|
en,
|
|
15210
15264
|
es,
|
|
@@ -15220,7 +15274,8 @@ const translations = {
|
|
|
15220
15274
|
th,
|
|
15221
15275
|
tr,
|
|
15222
15276
|
uk,
|
|
15223
|
-
zh
|
|
15277
|
+
'zh-CN': zhCN,
|
|
15278
|
+
'zh-HK': zhHK
|
|
15224
15279
|
};
|
|
15225
15280
|
|
|
15226
15281
|
exports.Accordion = Accordion;
|