rsuite 5.77.1 → 5.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/cjs/CheckPicker/CheckPicker.d.ts +4 -2
- package/cjs/InputPicker/InputPicker.d.ts +2 -1
- package/cjs/MultiCascader/MultiCascader.d.ts +11 -4
- package/cjs/SelectPicker/SelectPicker.d.ts +2 -2
- package/cjs/SelectPicker/index.d.ts +1 -1
- package/cjs/TagPicker/index.d.ts +4 -1
- package/cjs/TagPicker/index.js +5 -2
- package/cjs/internals/types/index.d.ts +1 -1
- package/cjs/locales/index.d.ts +1 -0
- package/cjs/locales/index.js +4 -2
- package/cjs/locales/pl_PL.d.ts +151 -0
- package/cjs/locales/pl_PL.js +91 -0
- package/dist/rsuite.js +4 -4
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/CheckPicker/CheckPicker.d.ts +4 -2
- package/esm/InputPicker/InputPicker.d.ts +2 -1
- package/esm/MultiCascader/MultiCascader.d.ts +11 -4
- package/esm/SelectPicker/SelectPicker.d.ts +2 -2
- package/esm/SelectPicker/index.d.ts +1 -1
- package/esm/TagPicker/index.d.ts +4 -1
- package/esm/TagPicker/index.js +5 -2
- package/esm/internals/types/index.d.ts +1 -1
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +2 -1
- package/esm/locales/pl_PL.d.ts +151 -0
- package/esm/locales/pl_PL.js +86 -0
- package/locales/pl_PL/package.json +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [5.78.0](https://github.com/rsuite/rsuite/compare/v5.77.1...v5.78.0) (2025-02-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **pickers:** improve pickers `renderValue` property type definition ([#4144](https://github.com/rsuite/rsuite/issues/4144)) ([a6abf28](https://github.com/rsuite/rsuite/commit/a6abf28ac6084a112772503544de7528286f1ca8))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **locales:** add support for Polish ([#4153](https://github.com/rsuite/rsuite/issues/4153)) ([7959a71](https://github.com/rsuite/rsuite/commit/7959a71fba591233384947fe93be5845bc2886ee))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
1
15
|
## [5.77.1](https://github.com/rsuite/rsuite/compare/v5.77.0...v5.77.1) (2025-02-07)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -2,13 +2,15 @@ import React from 'react';
|
|
|
2
2
|
import { PickerLocale } from '../locales';
|
|
3
3
|
import { PickerHandle, PickerToggleProps } from '../internals/Picker';
|
|
4
4
|
import { ItemDataType, FormControlPickerProps } from '../internals/types';
|
|
5
|
-
import type {
|
|
5
|
+
import type { SelectProps } from '../SelectPicker';
|
|
6
6
|
export type ValueType = (number | string)[];
|
|
7
|
-
export interface CheckPickerProps<T = any> extends FormControlPickerProps<T[], PickerLocale, ItemDataType<T>>,
|
|
7
|
+
export interface CheckPickerProps<T = any> extends FormControlPickerProps<T[], PickerLocale, ItemDataType<T>>, Omit<SelectProps<T>, 'renderValue'>, Pick<PickerToggleProps, 'label' | 'caretAs' | 'loading'> {
|
|
8
8
|
/** Top the selected option in the options */
|
|
9
9
|
sticky?: boolean;
|
|
10
10
|
/** A picker that can be counted */
|
|
11
11
|
countable?: boolean;
|
|
12
|
+
/** Custom render selected items */
|
|
13
|
+
renderValue?: (value: T[], item: ItemDataType<T>[], selectedElement: React.ReactNode) => React.ReactNode;
|
|
12
14
|
}
|
|
13
15
|
export interface CheckPickerComponent {
|
|
14
16
|
<T>(props: CheckPickerProps<T> & {
|
|
@@ -5,7 +5,7 @@ import type { ItemDataType, FormControlPickerProps } from '../internals/types';
|
|
|
5
5
|
import type { InputPickerLocale } from '../locales';
|
|
6
6
|
import type { SelectProps } from '../SelectPicker';
|
|
7
7
|
export type ValueType = any;
|
|
8
|
-
export interface InputPickerProps<V = ValueType> extends FormControlPickerProps<V, InputPickerLocale, InputItemDataType>, SelectProps<V>, Pick<PickerToggleProps, 'caretAs' | 'loading'> {
|
|
8
|
+
export interface InputPickerProps<V = ValueType> extends FormControlPickerProps<V, InputPickerLocale, InputItemDataType>, Omit<SelectProps<V>, 'renderValue'>, Pick<PickerToggleProps, 'caretAs' | 'loading'> {
|
|
9
9
|
tabIndex?: number;
|
|
10
10
|
/** Settings can create new options */
|
|
11
11
|
creatable?: boolean;
|
|
@@ -26,6 +26,7 @@ export interface InputPickerProps<V = ValueType> extends FormControlPickerProps<
|
|
|
26
26
|
* @param filteredData The items filtered by the searchKeyword
|
|
27
27
|
*/
|
|
28
28
|
shouldDisplayCreateOption?: (searchKeyword: string, filteredData: InputItemDataType<V>[]) => boolean;
|
|
29
|
+
renderValue?: (value: V, item: ItemDataType<V>, selectedElement: React.ReactNode) => React.ReactNode;
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
32
|
* Single item selector with text box input.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PickerLocale } from '../locales';
|
|
3
|
-
import {
|
|
4
|
-
import { FormControlPickerProps, ItemDataType
|
|
3
|
+
import { PickerHandle, PickerToggleProps } from '../internals/Picker';
|
|
4
|
+
import { FormControlPickerProps, ItemDataType } from '../internals/types';
|
|
5
5
|
import type { MultiCascadeTreeProps } from '../MultiCascadeTree';
|
|
6
|
-
export interface MultiCascaderProps<T
|
|
6
|
+
export interface MultiCascaderProps<T = any> extends FormControlPickerProps<T[], PickerLocale, ItemDataType<T>, T>, MultiCascadeTreeProps<T, T[], PickerLocale>, Pick<PickerToggleProps, 'label' | 'caretAs' | 'loading'> {
|
|
7
7
|
/**
|
|
8
8
|
* A picker that can be counted
|
|
9
9
|
*/
|
|
@@ -62,9 +62,16 @@ export interface MultiCascaderProps<T extends DataItemValue = any> extends FormC
|
|
|
62
62
|
*/
|
|
63
63
|
onClean?: (event: React.SyntheticEvent) => void;
|
|
64
64
|
}
|
|
65
|
+
export interface MultiCascaderComponent {
|
|
66
|
+
<T>(props: MultiCascaderProps<T> & {
|
|
67
|
+
ref?: React.Ref<PickerHandle>;
|
|
68
|
+
}): JSX.Element | null;
|
|
69
|
+
displayName?: string;
|
|
70
|
+
propTypes?: React.WeakValidationMap<MultiCascaderProps<any>>;
|
|
71
|
+
}
|
|
65
72
|
/**
|
|
66
73
|
* The `MultiCascader` component is used to select multiple values from cascading options.
|
|
67
74
|
* @see https://rsuitejs.com/components/multi-cascader/
|
|
68
75
|
*/
|
|
69
|
-
declare const MultiCascader:
|
|
76
|
+
declare const MultiCascader: MultiCascaderComponent;
|
|
70
77
|
export default MultiCascader;
|
|
@@ -25,9 +25,9 @@ export interface SelectProps<T> {
|
|
|
25
25
|
/** Custom render menu group */
|
|
26
26
|
renderMenuGroup?: (title: React.ReactNode, item: ItemDataType) => React.ReactNode;
|
|
27
27
|
/** Custom render selected items */
|
|
28
|
-
renderValue?: (value: T, item: ItemDataType
|
|
28
|
+
renderValue?: (value: T, item: ItemDataType<T>, selectedElement: React.ReactNode) => React.ReactNode;
|
|
29
29
|
/** Called when the option is selected */
|
|
30
|
-
onSelect?: (value: any, item: ItemDataType
|
|
30
|
+
onSelect?: (value: any, item: ItemDataType<T>, event: React.SyntheticEvent) => void;
|
|
31
31
|
/** Called after clicking the group title */
|
|
32
32
|
onGroupTitleClick?: (event: React.SyntheticEvent) => void;
|
|
33
33
|
/** Called when searching */
|
package/cjs/TagPicker/index.d.ts
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { InputPickerProps } from '../InputPicker/InputPicker';
|
|
3
3
|
import { TagOnlyProps } from '../InputPicker/InputPickerContext';
|
|
4
|
+
import type { ItemDataType } from '../internals/types';
|
|
4
5
|
import type { PickerComponent } from '../internals/Picker/types';
|
|
5
6
|
import type { CheckboxProps } from '../Checkbox';
|
|
6
|
-
export interface TagPickerProps extends InputPickerProps
|
|
7
|
+
export interface TagPickerProps<V = any> extends Omit<InputPickerProps<V>, 'renderValue'>, Partial<TagOnlyProps> {
|
|
7
8
|
/**
|
|
8
9
|
* Custom render checkbox on menu item
|
|
9
10
|
* @version 5.47.0
|
|
10
11
|
**/
|
|
11
12
|
renderMenuItemCheckbox?: (checkboxProps: CheckboxProps) => React.ReactNode;
|
|
13
|
+
/** Custom render selected items */
|
|
14
|
+
renderValue?: (values: V[], items: ItemDataType<V>[], selectedElement: React.ReactNode) => React.ReactNode;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
17
|
* `TagPicker` component enables multi-selection by tags and supports new options.
|
package/cjs/TagPicker/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _InputPicker = _interopRequireDefault(require("../InputPicker/InputPicker"));
|
|
11
11
|
var _InputPickerContext = require("../InputPicker/InputPickerContext");
|
|
12
12
|
var _CustomProvider = require("../CustomProvider");
|
|
13
|
-
var _excluded = ["tagProps", "trigger", "onTagRemove", "renderMenuItemCheckbox"];
|
|
13
|
+
var _excluded = ["tagProps", "trigger", "onTagRemove", "renderMenuItemCheckbox", "renderValue"];
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
/**
|
|
@@ -27,6 +27,7 @@ var TagPicker = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
27
27
|
trigger = _propsWithDefaults$tr === void 0 ? 'Enter' : _propsWithDefaults$tr,
|
|
28
28
|
onTagRemove = propsWithDefaults.onTagRemove,
|
|
29
29
|
renderMenuItemCheckbox = propsWithDefaults.renderMenuItemCheckbox,
|
|
30
|
+
renderValue = propsWithDefaults.renderValue,
|
|
30
31
|
rest = (0, _objectWithoutPropertiesLoose2.default)(propsWithDefaults, _excluded);
|
|
31
32
|
var contextValue = (0, _react.useMemo)(function () {
|
|
32
33
|
return {
|
|
@@ -39,7 +40,9 @@ var TagPicker = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
39
40
|
}, [onTagRemove, renderMenuItemCheckbox, tagProps, trigger]);
|
|
40
41
|
return /*#__PURE__*/_react.default.createElement(_InputPickerContext.TagProvider, {
|
|
41
42
|
value: contextValue
|
|
42
|
-
}, /*#__PURE__*/_react.default.createElement(_InputPicker.default, (0, _extends2.default)({
|
|
43
|
+
}, /*#__PURE__*/_react.default.createElement(_InputPicker.default, (0, _extends2.default)({
|
|
44
|
+
renderValue: renderValue
|
|
45
|
+
}, rest, {
|
|
43
46
|
ref: ref
|
|
44
47
|
})));
|
|
45
48
|
});
|
|
@@ -179,7 +179,7 @@ export interface SVGIcon {
|
|
|
179
179
|
id: string;
|
|
180
180
|
}
|
|
181
181
|
export interface ItemDataType<T = number | string> extends Record<string, any> {
|
|
182
|
-
label?:
|
|
182
|
+
label?: React.ReactNode;
|
|
183
183
|
value?: T;
|
|
184
184
|
groupBy?: string;
|
|
185
185
|
parent?: ItemDataType<T>;
|
package/cjs/locales/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export { default as frFR } from './fr_FR';
|
|
|
25
25
|
export { default as jaJP } from './ja_JP';
|
|
26
26
|
export { default as neNP } from './ne_NP';
|
|
27
27
|
export { default as csCZ } from './cs_CZ';
|
|
28
|
+
export { default as plPL } from './pl_PL';
|
|
28
29
|
type PickKeys<T> = {
|
|
29
30
|
[keys in keyof T]?: T[keys];
|
|
30
31
|
};
|
package/cjs/locales/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports.zhTW = exports.zhCN = exports.trTR = exports.svSE = exports.ruRU = exports.ptBR = exports.nlNL = exports.neNP = exports.koKR = exports.kkKZ = exports.jaJP = exports.itIT = exports.huHU = exports.frFR = exports.fiFI = exports.faIR = exports.esES = exports.esAR = exports.enUS = exports.enGB = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.arEG = void 0;
|
|
6
|
+
exports.zhTW = exports.zhCN = exports.trTR = exports.svSE = exports.ruRU = exports.ptBR = exports.plPL = exports.nlNL = exports.neNP = exports.koKR = exports.kkKZ = exports.jaJP = exports.itIT = exports.huHU = exports.frFR = exports.fiFI = exports.faIR = exports.esES = exports.esAR = exports.enUS = exports.enGB = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.arEG = void 0;
|
|
7
7
|
var _ar_EG = _interopRequireDefault(require("./ar_EG"));
|
|
8
8
|
exports.arEG = _ar_EG.default;
|
|
9
9
|
var _da_DK = _interopRequireDefault(require("./da_DK"));
|
|
@@ -53,4 +53,6 @@ exports.jaJP = _ja_JP.default;
|
|
|
53
53
|
var _ne_NP = _interopRequireDefault(require("./ne_NP"));
|
|
54
54
|
exports.neNP = _ne_NP.default;
|
|
55
55
|
var _cs_CZ = _interopRequireDefault(require("./cs_CZ"));
|
|
56
|
-
exports.csCZ = _cs_CZ.default;
|
|
56
|
+
exports.csCZ = _cs_CZ.default;
|
|
57
|
+
var _pl_PL = _interopRequireDefault(require("./pl_PL"));
|
|
58
|
+
exports.plPL = _pl_PL.default;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
code: string;
|
|
3
|
+
common: {
|
|
4
|
+
loading: string;
|
|
5
|
+
emptyMessage: string;
|
|
6
|
+
remove: string;
|
|
7
|
+
clear: string;
|
|
8
|
+
};
|
|
9
|
+
Plaintext: {
|
|
10
|
+
unfilled: string;
|
|
11
|
+
notSelected: string;
|
|
12
|
+
notUploaded: string;
|
|
13
|
+
};
|
|
14
|
+
Pagination: {
|
|
15
|
+
more: string;
|
|
16
|
+
prev: string;
|
|
17
|
+
next: string;
|
|
18
|
+
first: string;
|
|
19
|
+
last: string;
|
|
20
|
+
limit: string;
|
|
21
|
+
total: string;
|
|
22
|
+
skip: string;
|
|
23
|
+
};
|
|
24
|
+
DateTimeFormats: {
|
|
25
|
+
sunday: string;
|
|
26
|
+
monday: string;
|
|
27
|
+
tuesday: string;
|
|
28
|
+
wednesday: string;
|
|
29
|
+
thursday: string;
|
|
30
|
+
friday: string;
|
|
31
|
+
saturday: string;
|
|
32
|
+
ok: string;
|
|
33
|
+
today: string;
|
|
34
|
+
yesterday: string;
|
|
35
|
+
now: string;
|
|
36
|
+
hours: string;
|
|
37
|
+
minutes: string;
|
|
38
|
+
seconds: string;
|
|
39
|
+
formattedMonthPattern: string;
|
|
40
|
+
formattedDayPattern: string;
|
|
41
|
+
shortDateFormat: string;
|
|
42
|
+
shortTimeFormat: string;
|
|
43
|
+
dateLocale: any;
|
|
44
|
+
};
|
|
45
|
+
Calendar: {
|
|
46
|
+
sunday: string;
|
|
47
|
+
monday: string;
|
|
48
|
+
tuesday: string;
|
|
49
|
+
wednesday: string;
|
|
50
|
+
thursday: string;
|
|
51
|
+
friday: string;
|
|
52
|
+
saturday: string;
|
|
53
|
+
ok: string;
|
|
54
|
+
today: string;
|
|
55
|
+
yesterday: string;
|
|
56
|
+
now: string;
|
|
57
|
+
hours: string;
|
|
58
|
+
minutes: string;
|
|
59
|
+
seconds: string;
|
|
60
|
+
formattedMonthPattern: string;
|
|
61
|
+
formattedDayPattern: string;
|
|
62
|
+
shortDateFormat: string;
|
|
63
|
+
shortTimeFormat: string;
|
|
64
|
+
dateLocale: any;
|
|
65
|
+
};
|
|
66
|
+
DatePicker: {
|
|
67
|
+
sunday: string;
|
|
68
|
+
monday: string;
|
|
69
|
+
tuesday: string;
|
|
70
|
+
wednesday: string;
|
|
71
|
+
thursday: string;
|
|
72
|
+
friday: string;
|
|
73
|
+
saturday: string;
|
|
74
|
+
ok: string;
|
|
75
|
+
today: string;
|
|
76
|
+
yesterday: string;
|
|
77
|
+
now: string;
|
|
78
|
+
hours: string;
|
|
79
|
+
minutes: string;
|
|
80
|
+
seconds: string;
|
|
81
|
+
formattedMonthPattern: string;
|
|
82
|
+
formattedDayPattern: string;
|
|
83
|
+
shortDateFormat: string;
|
|
84
|
+
shortTimeFormat: string;
|
|
85
|
+
dateLocale: any;
|
|
86
|
+
};
|
|
87
|
+
DateRangePicker: {
|
|
88
|
+
last7Days: string;
|
|
89
|
+
sunday: string;
|
|
90
|
+
monday: string;
|
|
91
|
+
tuesday: string;
|
|
92
|
+
wednesday: string;
|
|
93
|
+
thursday: string;
|
|
94
|
+
friday: string;
|
|
95
|
+
saturday: string;
|
|
96
|
+
ok: string;
|
|
97
|
+
today: string;
|
|
98
|
+
yesterday: string;
|
|
99
|
+
now: string;
|
|
100
|
+
hours: string;
|
|
101
|
+
minutes: string;
|
|
102
|
+
seconds: string;
|
|
103
|
+
formattedMonthPattern: string;
|
|
104
|
+
formattedDayPattern: string;
|
|
105
|
+
shortDateFormat: string;
|
|
106
|
+
shortTimeFormat: string;
|
|
107
|
+
dateLocale: any;
|
|
108
|
+
};
|
|
109
|
+
Combobox: {
|
|
110
|
+
noResultsText: string;
|
|
111
|
+
placeholder: string;
|
|
112
|
+
searchPlaceholder: string;
|
|
113
|
+
checkAll: string;
|
|
114
|
+
};
|
|
115
|
+
InputPicker: {
|
|
116
|
+
newItem: string;
|
|
117
|
+
createOption: string;
|
|
118
|
+
noResultsText: string;
|
|
119
|
+
placeholder: string;
|
|
120
|
+
searchPlaceholder: string;
|
|
121
|
+
checkAll: string;
|
|
122
|
+
};
|
|
123
|
+
TagPicker: {
|
|
124
|
+
newItem: string;
|
|
125
|
+
createOption: string;
|
|
126
|
+
noResultsText: string;
|
|
127
|
+
placeholder: string;
|
|
128
|
+
searchPlaceholder: string;
|
|
129
|
+
checkAll: string;
|
|
130
|
+
};
|
|
131
|
+
Uploader: {
|
|
132
|
+
inited: string;
|
|
133
|
+
progress: string;
|
|
134
|
+
error: string;
|
|
135
|
+
complete: string;
|
|
136
|
+
emptyFile: string;
|
|
137
|
+
upload: string;
|
|
138
|
+
removeFile: string;
|
|
139
|
+
};
|
|
140
|
+
CloseButton: {
|
|
141
|
+
closeLabel: string;
|
|
142
|
+
};
|
|
143
|
+
Breadcrumb: {
|
|
144
|
+
expandText: string;
|
|
145
|
+
};
|
|
146
|
+
Toggle: {
|
|
147
|
+
on: string;
|
|
148
|
+
off: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
export default _default;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
|
+
var _pl = _interopRequireDefault(require("date-fns/locale/pl"));
|
|
9
|
+
var DateTimeFormats = {
|
|
10
|
+
sunday: 'Ndz',
|
|
11
|
+
monday: 'Pon',
|
|
12
|
+
tuesday: 'Wt',
|
|
13
|
+
wednesday: 'Śr',
|
|
14
|
+
thursday: 'Czw',
|
|
15
|
+
friday: 'Pt',
|
|
16
|
+
saturday: 'Sob',
|
|
17
|
+
ok: 'OK',
|
|
18
|
+
today: 'Dzisiaj',
|
|
19
|
+
yesterday: 'Wczoraj',
|
|
20
|
+
now: 'Teraz',
|
|
21
|
+
hours: 'Godziny',
|
|
22
|
+
minutes: 'Minuty',
|
|
23
|
+
seconds: 'Sekundy',
|
|
24
|
+
formattedMonthPattern: 'MMM, yyyy',
|
|
25
|
+
formattedDayPattern: 'dd MMM, yyyy',
|
|
26
|
+
shortDateFormat: 'dd.MM.yyyy',
|
|
27
|
+
shortTimeFormat: 'HH:mm',
|
|
28
|
+
dateLocale: _pl.default
|
|
29
|
+
};
|
|
30
|
+
var Combobox = {
|
|
31
|
+
noResultsText: 'Nie znaleziono',
|
|
32
|
+
placeholder: 'Wybierz',
|
|
33
|
+
searchPlaceholder: 'Szukaj',
|
|
34
|
+
checkAll: 'Wszystkie'
|
|
35
|
+
};
|
|
36
|
+
var CreatableComboBox = (0, _extends2.default)({}, Combobox, {
|
|
37
|
+
newItem: 'Nowy item',
|
|
38
|
+
createOption: 'Stwórz opcję "{0}"'
|
|
39
|
+
});
|
|
40
|
+
var _default = exports.default = {
|
|
41
|
+
code: 'pl-PL',
|
|
42
|
+
common: {
|
|
43
|
+
loading: 'Ładowanie...',
|
|
44
|
+
emptyMessage: 'Nie znaleziono',
|
|
45
|
+
remove: 'Usuń',
|
|
46
|
+
clear: 'Wyczyść'
|
|
47
|
+
},
|
|
48
|
+
Plaintext: {
|
|
49
|
+
unfilled: 'Nie wypełnione',
|
|
50
|
+
notSelected: 'Nie wybrane',
|
|
51
|
+
notUploaded: 'Nie wysłane'
|
|
52
|
+
},
|
|
53
|
+
Pagination: {
|
|
54
|
+
more: 'Więcej',
|
|
55
|
+
prev: 'Poprzednie',
|
|
56
|
+
next: 'Następne',
|
|
57
|
+
first: 'Pierwsze',
|
|
58
|
+
last: 'Ostatnie',
|
|
59
|
+
limit: '{0} / stron',
|
|
60
|
+
total: 'Wierszy: {0}',
|
|
61
|
+
skip: 'Omiń{0}'
|
|
62
|
+
},
|
|
63
|
+
DateTimeFormats: DateTimeFormats,
|
|
64
|
+
Calendar: DateTimeFormats,
|
|
65
|
+
DatePicker: DateTimeFormats,
|
|
66
|
+
DateRangePicker: (0, _extends2.default)({}, DateTimeFormats, {
|
|
67
|
+
last7Days: 'Ostatnie 7 dni'
|
|
68
|
+
}),
|
|
69
|
+
Combobox: Combobox,
|
|
70
|
+
InputPicker: CreatableComboBox,
|
|
71
|
+
TagPicker: CreatableComboBox,
|
|
72
|
+
Uploader: {
|
|
73
|
+
inited: 'Początkowy',
|
|
74
|
+
progress: 'Wysyłanie',
|
|
75
|
+
error: 'Błąd',
|
|
76
|
+
complete: 'Ukończone',
|
|
77
|
+
emptyFile: 'Pusty',
|
|
78
|
+
upload: 'Wyślij',
|
|
79
|
+
removeFile: 'Usuń plik'
|
|
80
|
+
},
|
|
81
|
+
CloseButton: {
|
|
82
|
+
closeLabel: 'Zamknij'
|
|
83
|
+
},
|
|
84
|
+
Breadcrumb: {
|
|
85
|
+
expandText: 'Pokaż ścieżkę'
|
|
86
|
+
},
|
|
87
|
+
Toggle: {
|
|
88
|
+
on: 'Otwórz',
|
|
89
|
+
off: 'Zamknij'
|
|
90
|
+
}
|
|
91
|
+
};
|