@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/i18n/en.json
CHANGED
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
19
19
|
"neptune.MoneyInput.Select.placeholder": "Select an option...",
|
|
20
20
|
"neptune.Select.searchPlaceholder": "Search...",
|
|
21
|
-
"neptune.SelectInput.noResultsFound": "No results found",
|
|
22
21
|
"neptune.Summary.statusDone": "Item done",
|
|
23
22
|
"neptune.Summary.statusNotDone": "Item to do",
|
|
24
23
|
"neptune.Summary.statusPending": "Item pending",
|
package/build/index.esm.js
CHANGED
|
@@ -3282,7 +3282,7 @@ const ResponsivePanel = /*#__PURE__*/forwardRef(({
|
|
|
3282
3282
|
});
|
|
3283
3283
|
var ResponsivePanel$1 = ResponsivePanel;
|
|
3284
3284
|
|
|
3285
|
-
var
|
|
3285
|
+
var messages$6 = defineMessages({
|
|
3286
3286
|
ariaLabel: {
|
|
3287
3287
|
id: "neptune.ClearButton.ariaLabel"
|
|
3288
3288
|
}
|
|
@@ -3345,7 +3345,7 @@ const DateTrigger = ({
|
|
|
3345
3345
|
className: "input-group-addon",
|
|
3346
3346
|
children: /*#__PURE__*/jsx(CloseButton, {
|
|
3347
3347
|
className: `clear-btn clear-btn--${size}`,
|
|
3348
|
-
"aria-label": formatMessage(
|
|
3348
|
+
"aria-label": formatMessage(messages$6.ariaLabel),
|
|
3349
3349
|
size: Size.SMALL,
|
|
3350
3350
|
onClick: event => {
|
|
3351
3351
|
event.stopPropagation();
|
|
@@ -3375,7 +3375,7 @@ DateTrigger.defaultProps = {
|
|
|
3375
3375
|
};
|
|
3376
3376
|
var DateTrigger$1 = DateTrigger;
|
|
3377
3377
|
|
|
3378
|
-
var messages$
|
|
3378
|
+
var messages$5 = defineMessages({
|
|
3379
3379
|
next: {
|
|
3380
3380
|
id: "neptune.DateLookup.next"
|
|
3381
3381
|
},
|
|
@@ -3418,7 +3418,7 @@ const DateHeader = ({
|
|
|
3418
3418
|
children: /*#__PURE__*/jsx("button", {
|
|
3419
3419
|
type: "button",
|
|
3420
3420
|
className: `d-inline-flex ${buttonClasses}`,
|
|
3421
|
-
"aria-label": `${intl.formatMessage(messages$
|
|
3421
|
+
"aria-label": `${intl.formatMessage(messages$5.previous)} ${dateMode}`,
|
|
3422
3422
|
onClick: onPreviousClick,
|
|
3423
3423
|
children: /*#__PURE__*/jsx(Chevron$1, {
|
|
3424
3424
|
orientation: Position.LEFT,
|
|
@@ -3432,7 +3432,7 @@ const DateHeader = ({
|
|
|
3432
3432
|
children: /*#__PURE__*/jsx("button", {
|
|
3433
3433
|
type: "button",
|
|
3434
3434
|
className: `tw-date-lookup-header-current ${buttonClasses}`,
|
|
3435
|
-
"aria-label": intl.formatMessage(messages$
|
|
3435
|
+
"aria-label": intl.formatMessage(messages$5.goTo20YearView),
|
|
3436
3436
|
onClick: onLabelClick,
|
|
3437
3437
|
children: label
|
|
3438
3438
|
})
|
|
@@ -3441,7 +3441,7 @@ const DateHeader = ({
|
|
|
3441
3441
|
children: /*#__PURE__*/jsx("button", {
|
|
3442
3442
|
type: "button",
|
|
3443
3443
|
className: `d-inline-flex ${buttonClasses}`,
|
|
3444
|
-
"aria-label": `${useIntl().formatMessage(messages$
|
|
3444
|
+
"aria-label": `${useIntl().formatMessage(messages$5.next)} ${dateMode}`,
|
|
3445
3445
|
onClick: onNextClick,
|
|
3446
3446
|
children: /*#__PURE__*/jsx(Chevron$1, {
|
|
3447
3447
|
orientation: Position.RIGHT,
|
|
@@ -3485,7 +3485,7 @@ class TableLink extends PureComponent {
|
|
|
3485
3485
|
};
|
|
3486
3486
|
calculateAriaLabel = (longTitle, title, active, type, formatMessage) => {
|
|
3487
3487
|
if (active) {
|
|
3488
|
-
return `${longTitle || title}, ${formatMessage(messages$
|
|
3488
|
+
return `${longTitle || title}, ${formatMessage(messages$5.selected)} ${formatMessage(messages$5[type])}`;
|
|
3489
3489
|
}
|
|
3490
3490
|
return longTitle || title;
|
|
3491
3491
|
};
|
|
@@ -3708,7 +3708,7 @@ class DayCalendar extends PureComponent {
|
|
|
3708
3708
|
month: monthFormat,
|
|
3709
3709
|
year: 'numeric'
|
|
3710
3710
|
}),
|
|
3711
|
-
dateMode: formatMessage(messages$
|
|
3711
|
+
dateMode: formatMessage(messages$5.month),
|
|
3712
3712
|
onLabelClick: onLabelClick,
|
|
3713
3713
|
onPreviousClick: this.selectPreviousMonth,
|
|
3714
3714
|
onNextClick: this.selectNextMonth
|
|
@@ -3836,7 +3836,7 @@ class MonthCalendar extends PureComponent {
|
|
|
3836
3836
|
} = this.props;
|
|
3837
3837
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
3838
3838
|
children: [/*#__PURE__*/jsx(DateHeader$1, {
|
|
3839
|
-
dateMode: formatMessage(messages$
|
|
3839
|
+
dateMode: formatMessage(messages$5.year),
|
|
3840
3840
|
label: formatDate(new Date(viewYear, 0), locale, {
|
|
3841
3841
|
year: 'numeric'
|
|
3842
3842
|
}),
|
|
@@ -3961,7 +3961,7 @@ class YearCalendar extends PureComponent {
|
|
|
3961
3961
|
} = this.props;
|
|
3962
3962
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
3963
3963
|
children: [/*#__PURE__*/jsx(DateHeader$1, {
|
|
3964
|
-
dateMode: formatMessage(messages$
|
|
3964
|
+
dateMode: formatMessage(messages$5.twentyYears),
|
|
3965
3965
|
onPreviousClick: this.selectPreviousYears,
|
|
3966
3966
|
onNextClick: this.selectNextYears
|
|
3967
3967
|
}), /*#__PURE__*/jsx(YearCalendarTable$1, {
|
|
@@ -5659,7 +5659,7 @@ const Stepper = ({
|
|
|
5659
5659
|
});
|
|
5660
5660
|
};
|
|
5661
5661
|
|
|
5662
|
-
var messages$
|
|
5662
|
+
var messages$4 = defineMessages({
|
|
5663
5663
|
back: {
|
|
5664
5664
|
id: "neptune.FlowNavigation.back"
|
|
5665
5665
|
}
|
|
@@ -5739,7 +5739,7 @@ const FlowNavigation = ({
|
|
|
5739
5739
|
className: "m-x-1",
|
|
5740
5740
|
labels: steps.map(step => step.label),
|
|
5741
5741
|
activeLabel: activeStep - 1,
|
|
5742
|
-
"aria-label": intl.formatMessage(messages$
|
|
5742
|
+
"aria-label": intl.formatMessage(messages$4.back)
|
|
5743
5743
|
}),
|
|
5744
5744
|
onClick: onGoBack
|
|
5745
5745
|
}) : logo
|
|
@@ -6354,12 +6354,6 @@ function wrapInFragment(value) {
|
|
|
6354
6354
|
});
|
|
6355
6355
|
}
|
|
6356
6356
|
|
|
6357
|
-
var messages$4 = defineMessages({
|
|
6358
|
-
noResultsFound: {
|
|
6359
|
-
id: "neptune.SelectInput.noResultsFound"
|
|
6360
|
-
}
|
|
6361
|
-
});
|
|
6362
|
-
|
|
6363
6357
|
function PreventScroll() {
|
|
6364
6358
|
usePreventScroll();
|
|
6365
6359
|
return null;
|
|
@@ -6405,34 +6399,34 @@ function BottomSheet({
|
|
|
6405
6399
|
theme: theme,
|
|
6406
6400
|
screenMode: screenMode,
|
|
6407
6401
|
isNotRootProvider: true,
|
|
6408
|
-
children: /*#__PURE__*/
|
|
6402
|
+
children: /*#__PURE__*/jsxs(Transition, {
|
|
6409
6403
|
show: open,
|
|
6410
6404
|
className: "np-bottom-sheet-v2-container",
|
|
6411
6405
|
beforeEnter: () => {
|
|
6412
6406
|
setFloatingKey(prev => prev + 1);
|
|
6413
6407
|
},
|
|
6414
|
-
children: /*#__PURE__*/
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6408
|
+
children: [/*#__PURE__*/jsx(Transition.Child, {
|
|
6409
|
+
enter: "np-bottom-sheet-v2-backdrop-container--enter",
|
|
6410
|
+
enterFrom: "np-bottom-sheet-v2-backdrop-container--enter-from",
|
|
6411
|
+
leave: "np-bottom-sheet-v2-backdrop-container--leave",
|
|
6412
|
+
leaveTo: "np-bottom-sheet-v2-backdrop-container--leave-to",
|
|
6413
|
+
children: /*#__PURE__*/jsx("div", {
|
|
6414
|
+
className: "np-bottom-sheet-v2-backdrop"
|
|
6415
|
+
})
|
|
6416
|
+
}), /*#__PURE__*/jsx("div", {
|
|
6417
|
+
className: "np-bottom-sheet-v2",
|
|
6418
|
+
children: /*#__PURE__*/jsx(Transition.Child, {
|
|
6419
|
+
className: "np-bottom-sheet-v2-content",
|
|
6420
|
+
enter: "np-bottom-sheet-v2-content--enter",
|
|
6421
|
+
enterFrom: "np-bottom-sheet-v2-content--enter-from",
|
|
6422
|
+
leave: "np-bottom-sheet-v2-content--leave",
|
|
6423
|
+
leaveTo: "np-bottom-sheet-v2-content--leave-to",
|
|
6424
|
+
children: /*#__PURE__*/jsx(FocusBoundary, {
|
|
6425
|
+
children: /*#__PURE__*/jsx(FloatingFocusManager, {
|
|
6426
|
+
context: context,
|
|
6427
|
+
initialFocus: initialFocusRef,
|
|
6428
|
+
guards: false,
|
|
6429
|
+
modal: false,
|
|
6436
6430
|
children: /*#__PURE__*/jsxs("div", {
|
|
6437
6431
|
// Force inner state invalidation on open
|
|
6438
6432
|
ref: refs.setFloating,
|
|
@@ -6461,8 +6455,8 @@ function BottomSheet({
|
|
|
6461
6455
|
}, floatingKey)
|
|
6462
6456
|
})
|
|
6463
6457
|
})
|
|
6464
|
-
})
|
|
6465
|
-
})
|
|
6458
|
+
})
|
|
6459
|
+
})]
|
|
6466
6460
|
})
|
|
6467
6461
|
})
|
|
6468
6462
|
})]
|
|
@@ -6613,14 +6607,14 @@ function useSelectInputItemCheckPadding() {
|
|
|
6613
6607
|
const SelectInputTriggerButtonPropsContext = /*#__PURE__*/createContext({});
|
|
6614
6608
|
const SelectInputOptionContentWithinTriggerContext = /*#__PURE__*/createContext(false);
|
|
6615
6609
|
function dedupeSelectInputOptionItem(item, existingValues) {
|
|
6616
|
-
if (
|
|
6617
|
-
|
|
6618
|
-
|
|
6610
|
+
if (existingValues.has(item.value)) {
|
|
6611
|
+
return {
|
|
6612
|
+
...item,
|
|
6613
|
+
value: undefined
|
|
6614
|
+
};
|
|
6619
6615
|
}
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
value: undefined
|
|
6623
|
-
};
|
|
6616
|
+
existingValues.add(item.value);
|
|
6617
|
+
return item;
|
|
6624
6618
|
}
|
|
6625
6619
|
function dedupeSelectInputItems(items) {
|
|
6626
6620
|
const existingValues = new Set();
|
|
@@ -6641,24 +6635,6 @@ function dedupeSelectInputItems(items) {
|
|
|
6641
6635
|
return item;
|
|
6642
6636
|
});
|
|
6643
6637
|
}
|
|
6644
|
-
function filterSelectInputOptionItem(item, needle) {
|
|
6645
|
-
return inferSearchableStrings(item.filterMatchers ?? item.value).some(haystack => haystack.includes(needle));
|
|
6646
|
-
}
|
|
6647
|
-
function filterSelectInputItems(items, needle) {
|
|
6648
|
-
return items.filter(item => {
|
|
6649
|
-
switch (item.type) {
|
|
6650
|
-
case 'option':
|
|
6651
|
-
{
|
|
6652
|
-
return filterSelectInputOptionItem(item, needle);
|
|
6653
|
-
}
|
|
6654
|
-
case 'group':
|
|
6655
|
-
{
|
|
6656
|
-
return item.options.some(option => filterSelectInputOptionItem(option, needle));
|
|
6657
|
-
}
|
|
6658
|
-
}
|
|
6659
|
-
return false;
|
|
6660
|
-
});
|
|
6661
|
-
}
|
|
6662
6638
|
const defaultRenderTrigger = ({
|
|
6663
6639
|
content,
|
|
6664
6640
|
placeholderShown,
|
|
@@ -6706,7 +6682,7 @@ function SelectInputClearButton({
|
|
|
6706
6682
|
const intl = useIntl();
|
|
6707
6683
|
return /*#__PURE__*/jsx("button", {
|
|
6708
6684
|
type: "button",
|
|
6709
|
-
"aria-label": intl.formatMessage(
|
|
6685
|
+
"aria-label": intl.formatMessage(messages$6.ariaLabel),
|
|
6710
6686
|
className: classNames(className, 'np-select-input-addon np-select-input-addon--interactive'),
|
|
6711
6687
|
onClick: onClick,
|
|
6712
6688
|
children: /*#__PURE__*/jsx(Cross, {
|
|
@@ -6863,8 +6839,6 @@ function SelectInputOptions({
|
|
|
6863
6839
|
searchInputRef,
|
|
6864
6840
|
listboxRef
|
|
6865
6841
|
}) {
|
|
6866
|
-
const intl = useIntl();
|
|
6867
|
-
const controllerRef = filterable ? searchInputRef : listboxRef;
|
|
6868
6842
|
const [query, setQuery] = useState('');
|
|
6869
6843
|
const needle = useMemo(() => {
|
|
6870
6844
|
if (filterable) {
|
|
@@ -6872,16 +6846,14 @@ function SelectInputOptions({
|
|
|
6872
6846
|
}
|
|
6873
6847
|
return undefined;
|
|
6874
6848
|
}, [filterable, query]);
|
|
6875
|
-
const empty = needle != null && filterSelectInputItems(items, needle).length === 0;
|
|
6876
6849
|
const listboxContainerRef = useRef(null);
|
|
6877
6850
|
useEffect(() => {
|
|
6878
6851
|
if (listboxContainerRef.current != null) {
|
|
6879
6852
|
listboxContainerRef.current.style.setProperty('--initial-height', `${listboxContainerRef.current.offsetHeight}px`);
|
|
6880
6853
|
}
|
|
6881
6854
|
}, []);
|
|
6882
|
-
const showStatus = empty;
|
|
6883
|
-
const statusId = useId();
|
|
6884
6855
|
const listboxId = useId();
|
|
6856
|
+
const controllerRef = filterable ? searchInputRef : listboxRef;
|
|
6885
6857
|
return /*#__PURE__*/jsxs(Listbox.Options, {
|
|
6886
6858
|
as: SelectInputOptionsContainer,
|
|
6887
6859
|
static: true,
|
|
@@ -6903,7 +6875,6 @@ function SelectInputOptions({
|
|
|
6903
6875
|
placeholder: filterPlaceholder,
|
|
6904
6876
|
value: query,
|
|
6905
6877
|
"aria-controls": listboxId,
|
|
6906
|
-
"aria-describedby": showStatus ? statusId : undefined,
|
|
6907
6878
|
onKeyDown: event => {
|
|
6908
6879
|
// Prevent interfering with the matcher of Headless UI
|
|
6909
6880
|
// https://mathiasbynens.be/notes/javascript-unicode#regex
|
|
@@ -6915,31 +6886,24 @@ function SelectInputOptions({
|
|
|
6915
6886
|
setQuery(event.currentTarget.value);
|
|
6916
6887
|
}
|
|
6917
6888
|
})
|
|
6918
|
-
}) : null, /*#__PURE__*/
|
|
6889
|
+
}) : null, /*#__PURE__*/jsx("div", {
|
|
6919
6890
|
ref: listboxContainerRef,
|
|
6920
6891
|
className: classNames('np-select-input-listbox-container', items.some(item => item.type === 'group') && 'np-select-input-listbox-container--has-group'),
|
|
6921
|
-
children:
|
|
6922
|
-
id: statusId,
|
|
6923
|
-
className: "np-select-input-options-status",
|
|
6924
|
-
children: [/*#__PURE__*/jsx(CrossCircle, {
|
|
6925
|
-
size: 16,
|
|
6926
|
-
className: "np-select-input-options-status-icon"
|
|
6927
|
-
}), intl.formatMessage(messages$4.noResultsFound)]
|
|
6928
|
-
}) : null, /*#__PURE__*/jsx("div", {
|
|
6892
|
+
children: /*#__PURE__*/jsx("div", {
|
|
6929
6893
|
ref: listboxRef,
|
|
6930
6894
|
id: listboxId,
|
|
6931
6895
|
role: "listbox",
|
|
6932
6896
|
"aria-orientation": "vertical",
|
|
6933
6897
|
tabIndex: 0,
|
|
6934
6898
|
className: "np-select-input-listbox",
|
|
6935
|
-
children: (needle
|
|
6899
|
+
children: (needle == null ? items : dedupeSelectInputItems(items)).map((item, index) => /*#__PURE__*/jsx(SelectInputItemView
|
|
6936
6900
|
// eslint-disable-next-line react/no-array-index-key
|
|
6937
6901
|
, {
|
|
6938
6902
|
item: item,
|
|
6939
6903
|
renderValue: renderValue,
|
|
6940
6904
|
needle: needle
|
|
6941
6905
|
}, index))
|
|
6942
|
-
})
|
|
6906
|
+
})
|
|
6943
6907
|
})]
|
|
6944
6908
|
});
|
|
6945
6909
|
}
|
|
@@ -6951,7 +6915,7 @@ function SelectInputItemView({
|
|
|
6951
6915
|
switch (item.type) {
|
|
6952
6916
|
case 'option':
|
|
6953
6917
|
{
|
|
6954
|
-
if (item.value != null && (needle
|
|
6918
|
+
if (item.value != null && (!needle || inferSearchableStrings(item.filterMatchers ?? item.value).some(haystack => haystack.includes(needle)))) {
|
|
6955
6919
|
return /*#__PURE__*/jsx(SelectInputOption, {
|
|
6956
6920
|
value: item.value,
|
|
6957
6921
|
disabled: item.disabled,
|
|
@@ -10726,7 +10690,6 @@ var en = {
|
|
|
10726
10690
|
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
10727
10691
|
"neptune.MoneyInput.Select.placeholder": "Select an option...",
|
|
10728
10692
|
"neptune.Select.searchPlaceholder": "Search...",
|
|
10729
|
-
"neptune.SelectInput.noResultsFound": "No results found",
|
|
10730
10693
|
"neptune.Summary.statusDone": "Item done",
|
|
10731
10694
|
"neptune.Summary.statusNotDone": "Item to do",
|
|
10732
10695
|
"neptune.Summary.statusPending": "Item pending",
|
|
@@ -14495,6 +14458,51 @@ function useSnackbar() {
|
|
|
14495
14458
|
return createSnackbar;
|
|
14496
14459
|
}
|
|
14497
14460
|
|
|
14461
|
+
var cs = {
|
|
14462
|
+
"neptune.Chips.ariaLabel": "Vyčistit {choice}",
|
|
14463
|
+
"neptune.ClearButton.ariaLabel": "Vyčistit",
|
|
14464
|
+
"neptune.CloseButton.ariaLabel": "Zavřít",
|
|
14465
|
+
"neptune.DateInput.day.label": "Den",
|
|
14466
|
+
"neptune.DateInput.month.label": "Měsíc",
|
|
14467
|
+
"neptune.DateInput.year.label": "Rok",
|
|
14468
|
+
"neptune.MoneyInput.Select.placeholder": "Vybrat možnost...",
|
|
14469
|
+
"neptune.Pagination.ariaLabel": "Navigace v Pagination",
|
|
14470
|
+
"neptune.PaginationLink.ariaLabel.active": "Přejít na stránku {pageNumber}",
|
|
14471
|
+
"neptune.PaginationLink.ariaLabel.inactive": "Současná stránka, stránka {pageNumber}",
|
|
14472
|
+
"neptune.Select.searchPlaceholder": "Hledat...",
|
|
14473
|
+
"neptune.Summary.statusDone": "Položka dokončena",
|
|
14474
|
+
"neptune.Summary.statusNotDone": "Položka k dokončení",
|
|
14475
|
+
"neptune.Summary.statusPending": "Čekající položka",
|
|
14476
|
+
"neptune.Upload.csButtonText": "Nahrát další soubor?",
|
|
14477
|
+
"neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
|
|
14478
|
+
"neptune.Upload.csSuccessText": "Úspěšně nahráno!",
|
|
14479
|
+
"neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
|
|
14480
|
+
"neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
|
|
14481
|
+
"neptune.Upload.psButtonText": "Zrušit",
|
|
14482
|
+
"neptune.Upload.psProcessingText": "Načítání...",
|
|
14483
|
+
"neptune.Upload.usButtonText": "Nebo vyberte soubor",
|
|
14484
|
+
"neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
|
|
14485
|
+
"neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
|
|
14486
|
+
"neptune.UploadButton.allFileTypes": "Všechny typy souborů",
|
|
14487
|
+
"neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
|
|
14488
|
+
"neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
|
|
14489
|
+
"neptune.UploadButton.uploadFile": "Nahrát soubor",
|
|
14490
|
+
"neptune.UploadButton.uploadFiles": "Nahrát soubory",
|
|
14491
|
+
"neptune.UploadInput.deleteModalBody": "Odstraněním tohoto souboru jej smažete z našeho systému.",
|
|
14492
|
+
"neptune.UploadInput.deleteModalCancelButtonText": "Zrušit",
|
|
14493
|
+
"neptune.UploadInput.deleteModalConfirmButtonText": "Odstranit",
|
|
14494
|
+
"neptune.UploadInput.deleteModalTitle": "Jistě chcete odstranit tento soubor?",
|
|
14495
|
+
"neptune.UploadInput.fileIsTooLarge": "Soubor je příliš velký",
|
|
14496
|
+
"neptune.UploadInput.fileTypeNotSupported": "Typ souboru není podporován",
|
|
14497
|
+
"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.",
|
|
14498
|
+
"neptune.UploadItem.deleting": "Mažeme...",
|
|
14499
|
+
"neptune.UploadItem.removeFile": "Odstranit soubor {filename}",
|
|
14500
|
+
"neptune.UploadItem.uploaded": "Nahráno",
|
|
14501
|
+
"neptune.UploadItem.uploadedFile": "Nahraný soubor",
|
|
14502
|
+
"neptune.UploadItem.uploading": "Nahrávání...",
|
|
14503
|
+
"neptune.UploadItem.uploadingFailed": "Nahrání se nezdařilo"
|
|
14504
|
+
};
|
|
14505
|
+
|
|
14498
14506
|
var de = {
|
|
14499
14507
|
"neptune.Chips.ariaLabel": "{choice} zurücksetzen",
|
|
14500
14508
|
"neptune.ClearButton.ariaLabel": "Zurücksetzen",
|
|
@@ -15125,7 +15133,52 @@ var uk = {
|
|
|
15125
15133
|
"neptune.UploadItem.uploadingFailed": "Не вдалося завантажити"
|
|
15126
15134
|
};
|
|
15127
15135
|
|
|
15128
|
-
var
|
|
15136
|
+
var zhCN = {
|
|
15137
|
+
"neptune.Chips.ariaLabel": "清除 {choice}",
|
|
15138
|
+
"neptune.ClearButton.ariaLabel": "清晰",
|
|
15139
|
+
"neptune.CloseButton.ariaLabel": "关闭",
|
|
15140
|
+
"neptune.DateInput.day.label": "日",
|
|
15141
|
+
"neptune.DateInput.month.label": "月",
|
|
15142
|
+
"neptune.DateInput.year.label": "年",
|
|
15143
|
+
"neptune.MoneyInput.Select.placeholder": "请选择...",
|
|
15144
|
+
"neptune.Pagination.ariaLabel": "分页导航",
|
|
15145
|
+
"neptune.PaginationLink.ariaLabel.active": "转到第 {pageNumber} 页",
|
|
15146
|
+
"neptune.PaginationLink.ariaLabel.inactive": "当前页面,第 {pageNumber} 页",
|
|
15147
|
+
"neptune.Select.searchPlaceholder": "搜索",
|
|
15148
|
+
"neptune.Summary.statusDone": "已完成",
|
|
15149
|
+
"neptune.Summary.statusNotDone": "未完成",
|
|
15150
|
+
"neptune.Summary.statusPending": "待处理",
|
|
15151
|
+
"neptune.Upload.csButtonText": "上传另一个文件?",
|
|
15152
|
+
"neptune.Upload.csFailureText": "上传失败。请重试",
|
|
15153
|
+
"neptune.Upload.csSuccessText": "上传完毕!",
|
|
15154
|
+
"neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
|
|
15155
|
+
"neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
|
|
15156
|
+
"neptune.Upload.psButtonText": "取消",
|
|
15157
|
+
"neptune.Upload.psProcessingText": "正在上传…",
|
|
15158
|
+
"neptune.Upload.usButtonText": "或选择文件",
|
|
15159
|
+
"neptune.Upload.usDropMessage": "拖放文件开始上传",
|
|
15160
|
+
"neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
|
|
15161
|
+
"neptune.UploadButton.allFileTypes": "所有文件类型",
|
|
15162
|
+
"neptune.UploadButton.dropFiles": "拖放文件开始上传",
|
|
15163
|
+
"neptune.UploadButton.instructions": "{fileTypes},小于 {size}MB",
|
|
15164
|
+
"neptune.UploadButton.uploadFile": "上传文件",
|
|
15165
|
+
"neptune.UploadButton.uploadFiles": "上传文件",
|
|
15166
|
+
"neptune.UploadInput.deleteModalBody": "删除此文件会将其从我们的系统中删除",
|
|
15167
|
+
"neptune.UploadInput.deleteModalCancelButtonText": "取消",
|
|
15168
|
+
"neptune.UploadInput.deleteModalConfirmButtonText": "删除",
|
|
15169
|
+
"neptune.UploadInput.deleteModalTitle": "确定要删除此文件吗?",
|
|
15170
|
+
"neptune.UploadInput.fileIsTooLarge": "文件太大",
|
|
15171
|
+
"neptune.UploadInput.fileTypeNotSupported": "文件类型不受支持",
|
|
15172
|
+
"neptune.UploadInput.maximumFilesAlreadyUploaded": "抱歉,此上传失败,因为我们一次只能接受 {maxFilesAllowed} 个文件。",
|
|
15173
|
+
"neptune.UploadItem.deleting": "正在删除…",
|
|
15174
|
+
"neptune.UploadItem.removeFile": "删除文件 {filename}",
|
|
15175
|
+
"neptune.UploadItem.uploaded": "已上传",
|
|
15176
|
+
"neptune.UploadItem.uploadedFile": "上传的文件",
|
|
15177
|
+
"neptune.UploadItem.uploading": "正在上传…",
|
|
15178
|
+
"neptune.UploadItem.uploadingFailed": "上传失败"
|
|
15179
|
+
};
|
|
15180
|
+
|
|
15181
|
+
var zhHK = {
|
|
15129
15182
|
"neptune.Chips.ariaLabel": "清除{choice}",
|
|
15130
15183
|
"neptune.ClearButton.ariaLabel": "清除",
|
|
15131
15184
|
"neptune.CloseButton.ariaLabel": "關閉",
|
|
@@ -15171,6 +15224,7 @@ var zh = {
|
|
|
15171
15224
|
};
|
|
15172
15225
|
|
|
15173
15226
|
const translations = {
|
|
15227
|
+
cs,
|
|
15174
15228
|
de,
|
|
15175
15229
|
en,
|
|
15176
15230
|
es,
|
|
@@ -15186,7 +15240,8 @@ const translations = {
|
|
|
15186
15240
|
th,
|
|
15187
15241
|
tr,
|
|
15188
15242
|
uk,
|
|
15189
|
-
zh
|
|
15243
|
+
'zh-CN': zhCN,
|
|
15244
|
+
'zh-HK': zhHK
|
|
15190
15245
|
};
|
|
15191
15246
|
|
|
15192
15247
|
export { Accordion, ActionButton, ActionOption, Alert$1 as Alert, ArrowPosition as AlertArrowPosition, Avatar, AvatarType, AvatarWrapper, Badge, Card as BaseCard, Body, BottomSheet$2 as BottomSheet, Breakpoint, Button, Card$2 as Card, Checkbox$1 as Checkbox, CheckboxButton$1 as CheckboxButton, CheckboxOption, Chevron$1 as Chevron, Chip, Chips, CircularButton$1 as CircularButton, ControlType, CriticalCommsBanner, DEFAULT_LANG, DEFAULT_LOCALE, DateInput$1 as DateInput, DateLookup$1 as DateLookup, DateMode, Decision$1 as Decision, Presentation as DecisionPresentation, Type as DecisionType, DefinitionList$1 as DefinitionList, Dimmer$1 as Dimmer, Direction, DirectionProvider, Display, Drawer$1 as Drawer, DropFade, DynamicFieldDefinitionList$1 as DynamicFieldDefinitionList, Emphasis, FileType, FlowNavigation, Header, Image, Info, InfoPresentation, InlineAlert, Input, InputGroup, InputWithDisplayFormat$1 as InputWithDisplayFormat, InstructionsList$1 as InstructionsList, LanguageProvider, Layout$1 as Layout, Link, ListItem$1 as ListItem, Loader$1 as Loader, Logo$1 as Logo, LogoType, Markdown$1 as Markdown, MarkdownNodeType, Modal, Money$1 as Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList$1 as NavigationOptionsList, Nudge, Option$2 as Option, OverlayHeader$1 as OverlayHeader, PhoneNumberInput$1 as PhoneNumberInput, Popover$2 as Popover, Position, Priority, ProcessIndicator$1 as ProcessIndicator, ProfileType, Progress, ProgressBar, PromoCard$1 as PromoCard, PromoCard$1 as PromoCardGroup, Provider$1 as Provider, RTL_LANGUAGES, Radio$1 as Radio, RadioGroup$1 as RadioGroup, RadioOption$1 as RadioOption, SUPPORTED_LANGUAGES, Scroll, SearchInput, Section, Select, SelectInput, SelectInputOptionContent, SelectInputTriggerButton, Sentiment, Size, SlidingPanel$1 as SlidingPanel, SnackbarConsumer, SnackbarContext, SnackbarPortal, SnackbarProvider$1 as SnackbarProvider, Status, StatusIcon, Stepper, Sticky$1 as Sticky, Summary, Switch, SwitchOption, Tabs$1 as Tabs, TextArea, TextareaWithDisplayFormat$1 as TextareaWithDisplayFormat, Theme, Title, Tooltip$1 as Tooltip, Type$1 as Type, Typeahead, Typography, Upload$1 as Upload, UploadInput, UploadStep, Variant, Width, adjustLocale, getCountryFromLocale, getDirectionFromLocale, getLangFromLocale, isBrowser, isServerSide, translations, useDirection, useLayout, useSnackbar };
|