@semcore/date-picker 4.58.0-prerelease.4 → 4.58.0-prerelease.5
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/lib/cjs/DatePicker.js +27 -36
- package/lib/cjs/DatePicker.js.map +1 -1
- package/lib/cjs/DateRangeComparator.js +38 -43
- package/lib/cjs/DateRangeComparator.js.map +1 -1
- package/lib/cjs/DateRangePicker.js +17 -22
- package/lib/cjs/DateRangePicker.js.map +1 -1
- package/lib/cjs/MonthDateRangeComparator.js +42 -47
- package/lib/cjs/MonthDateRangeComparator.js.map +1 -1
- package/lib/cjs/MonthPicker.js +16 -21
- package/lib/cjs/MonthPicker.js.map +1 -1
- package/lib/cjs/MonthRangePicker.js +18 -23
- package/lib/cjs/MonthRangePicker.js.map +1 -1
- package/lib/cjs/components/ButtonTrigger.js +8 -10
- package/lib/cjs/components/ButtonTrigger.js.map +1 -1
- package/lib/cjs/components/Calendar.js +109 -125
- package/lib/cjs/components/Calendar.js.map +1 -1
- package/lib/cjs/components/DateRangeComparatorAbstract.js +121 -104
- package/lib/cjs/components/DateRangeComparatorAbstract.js.map +1 -1
- package/lib/cjs/components/InputTrigger.js +179 -189
- package/lib/cjs/components/InputTrigger.js.map +1 -1
- package/lib/cjs/components/PickerAbstract.js +58 -57
- package/lib/cjs/components/PickerAbstract.js.map +1 -1
- package/lib/cjs/components/RangePickerAbstract.js +97 -76
- package/lib/cjs/components/RangePickerAbstract.js.map +1 -1
- package/lib/cjs/components/index.js +41 -46
- package/lib/cjs/components/index.js.map +1 -1
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/style/calendar.shadow.css +12 -14
- package/lib/cjs/style/date-picker.shadow.css +6 -7
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/translations/de.json +6 -2
- package/lib/cjs/translations/es.json +6 -2
- package/lib/cjs/translations/fr.json +6 -2
- package/lib/cjs/translations/it.json +6 -2
- package/lib/cjs/translations/ja.json +6 -2
- package/lib/cjs/translations/ko.json +6 -2
- package/lib/cjs/translations/nl.json +6 -2
- package/lib/cjs/translations/pl.json +6 -2
- package/lib/cjs/translations/pt.json +6 -2
- package/lib/cjs/translations/sv.json +6 -2
- package/lib/cjs/translations/tr.json +6 -2
- package/lib/cjs/translations/vi.json +6 -2
- package/lib/cjs/translations/zh.json +6 -2
- package/lib/cjs/utils/cronTabScheduler.js +8 -5
- package/lib/cjs/utils/cronTabScheduler.js.map +1 -1
- package/lib/cjs/utils/datesIntersects.js +3 -4
- package/lib/cjs/utils/datesIntersects.js.map +1 -1
- package/lib/cjs/utils/formatDate.js +3 -5
- package/lib/cjs/utils/formatDate.js.map +1 -1
- package/lib/cjs/utils/includesDate.js +2 -3
- package/lib/cjs/utils/includesDate.js.map +1 -1
- package/lib/cjs/utils/isBetweenPlugin.js +21 -0
- package/lib/cjs/utils/isBetweenPlugin.js.map +1 -0
- package/lib/cjs/utils/shortDateRangeFormat.js +2 -2
- package/lib/cjs/utils/shortDateRangeFormat.js.map +1 -1
- package/lib/es6/DatePicker.js +22 -28
- package/lib/es6/DatePicker.js.map +1 -1
- package/lib/es6/DateRangeComparator.js +23 -27
- package/lib/es6/DateRangeComparator.js.map +1 -1
- package/lib/es6/DateRangePicker.js +13 -17
- package/lib/es6/DateRangePicker.js.map +1 -1
- package/lib/es6/MonthDateRangeComparator.js +28 -32
- package/lib/es6/MonthDateRangeComparator.js.map +1 -1
- package/lib/es6/MonthPicker.js +13 -17
- package/lib/es6/MonthPicker.js.map +1 -1
- package/lib/es6/MonthRangePicker.js +14 -18
- package/lib/es6/MonthRangePicker.js.map +1 -1
- package/lib/es6/components/ButtonTrigger.js +5 -5
- package/lib/es6/components/ButtonTrigger.js.map +1 -1
- package/lib/es6/components/Calendar.js +100 -112
- package/lib/es6/components/Calendar.js.map +1 -1
- package/lib/es6/components/DateRangeComparatorAbstract.js +120 -101
- package/lib/es6/components/DateRangeComparatorAbstract.js.map +1 -1
- package/lib/es6/components/InputTrigger.js +173 -180
- package/lib/es6/components/InputTrigger.js.map +1 -1
- package/lib/es6/components/PickerAbstract.js +58 -55
- package/lib/es6/components/PickerAbstract.js.map +1 -1
- package/lib/es6/components/RangePickerAbstract.js +94 -71
- package/lib/es6/components/RangePickerAbstract.js.map +1 -1
- package/lib/es6/components/index.js +35 -38
- package/lib/es6/components/index.js.map +1 -1
- package/lib/es6/index.d.js.map +1 -1
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/style/calendar.shadow.css +12 -14
- package/lib/es6/style/date-picker.shadow.css +6 -7
- package/lib/es6/translations/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/translations/de.json +6 -2
- package/lib/es6/translations/es.json +6 -2
- package/lib/es6/translations/fr.json +6 -2
- package/lib/es6/translations/it.json +6 -2
- package/lib/es6/translations/ja.json +6 -2
- package/lib/es6/translations/ko.json +6 -2
- package/lib/es6/translations/nl.json +6 -2
- package/lib/es6/translations/pl.json +6 -2
- package/lib/es6/translations/pt.json +6 -2
- package/lib/es6/translations/sv.json +6 -2
- package/lib/es6/translations/tr.json +6 -2
- package/lib/es6/translations/vi.json +6 -2
- package/lib/es6/translations/zh.json +6 -2
- package/lib/es6/utils/cronTabScheduler.js +7 -4
- package/lib/es6/utils/cronTabScheduler.js.map +1 -1
- package/lib/es6/utils/datesIntersects.js +1 -1
- package/lib/es6/utils/datesIntersects.js.map +1 -1
- package/lib/es6/utils/formatDate.js.map +1 -1
- package/lib/es6/utils/includesDate.js.map +1 -1
- package/lib/es6/utils/isBetweenPlugin.js +16 -0
- package/lib/es6/utils/isBetweenPlugin.js.map +1 -0
- package/lib/es6/utils/shortDateRangeFormat.js +1 -1
- package/lib/es6/utils/shortDateRangeFormat.js.map +1 -1
- package/lib/esm/DatePicker.mjs +27 -33
- package/lib/esm/DateRangeComparator.mjs +26 -30
- package/lib/esm/DateRangePicker.mjs +17 -21
- package/lib/esm/MonthDateRangeComparator.mjs +31 -35
- package/lib/esm/MonthPicker.mjs +16 -20
- package/lib/esm/MonthRangePicker.mjs +18 -22
- package/lib/esm/components/ButtonTrigger.mjs +5 -5
- package/lib/esm/components/Calendar.mjs +103 -115
- package/lib/esm/components/DateRangeComparatorAbstract.mjs +105 -89
- package/lib/esm/components/InputTrigger.mjs +143 -181
- package/lib/esm/components/PickerAbstract.mjs +61 -62
- package/lib/esm/components/RangePickerAbstract.mjs +94 -73
- package/lib/esm/components/index.mjs +29 -33
- package/lib/esm/style/calendar.shadow.css +12 -14
- package/lib/esm/style/date-picker.shadow.css +6 -7
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/translations/de.json.mjs +18 -6
- package/lib/esm/translations/es.json.mjs +18 -6
- package/lib/esm/translations/fr.json.mjs +18 -6
- package/lib/esm/translations/it.json.mjs +18 -6
- package/lib/esm/translations/ja.json.mjs +18 -6
- package/lib/esm/translations/ko.json.mjs +18 -6
- package/lib/esm/translations/nl.json.mjs +18 -6
- package/lib/esm/translations/pl.json.mjs +18 -6
- package/lib/esm/translations/pt.json.mjs +18 -6
- package/lib/esm/translations/sv.json.mjs +18 -6
- package/lib/esm/translations/tr.json.mjs +18 -6
- package/lib/esm/translations/vi.json.mjs +18 -6
- package/lib/esm/translations/zh.json.mjs +18 -6
- package/lib/esm/utils/cronTabScheduler.mjs +4 -4
- package/lib/esm/utils/datesIntersects.mjs +1 -1
- package/lib/esm/utils/isBetweenPlugin.mjs +13 -0
- package/lib/esm/utils/shortDateRangeFormat.mjs +1 -2
- package/lib/types/index.d.ts +140 -171
- package/package.json +16 -16
|
@@ -2,20 +2,19 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
5
|
-
import
|
|
5
|
+
import _callSuper from "@babel/runtime/helpers/esm/callSuper";
|
|
6
6
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
7
|
-
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
8
7
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
9
8
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
10
9
|
import { assignProps, sstyled, Component } from "@semcore/core";
|
|
11
|
-
import
|
|
12
|
-
import dayjs from "dayjs";
|
|
13
|
-
import Dropdown from "@semcore/dropdown";
|
|
14
|
-
import { Box } from "@semcore/flex-box";
|
|
10
|
+
import { Box } from "@semcore/base-components";
|
|
15
11
|
import Button from "@semcore/button";
|
|
12
|
+
import { callAllEventHandlers } from "@semcore/core/lib/utils/assignProps";
|
|
13
|
+
import Dropdown from "@semcore/dropdown";
|
|
16
14
|
import ChevronLeft from "@semcore/icon/ChevronLeft/m";
|
|
17
15
|
import ChevronRight from "@semcore/icon/ChevronRight/m";
|
|
18
|
-
import
|
|
16
|
+
import dayjs from "dayjs";
|
|
17
|
+
import React from "react";
|
|
19
18
|
import ButtonTrigger from "./ButtonTrigger.mjs";
|
|
20
19
|
import InputTrigger$1 from "./InputTrigger.mjs";
|
|
21
20
|
var _excluded = ["value", "onClick", "onMouseEnter", "onMouseLeave"];
|
|
@@ -47,49 +46,45 @@ function Popper(props) {
|
|
|
47
46
|
}, _ref3))));
|
|
48
47
|
}
|
|
49
48
|
function Header(props) {
|
|
50
|
-
var _ref4 = arguments[0],
|
|
49
|
+
var _ref4 = arguments[0], _ref0;
|
|
51
50
|
var SHeader = Box;
|
|
52
|
-
return
|
|
51
|
+
return _ref0 = sstyled(props.styles), /* @__PURE__ */ React.createElement(SHeader, _ref0.cn("SHeader", _objectSpread({}, assignProps({}, _ref4))));
|
|
53
52
|
}
|
|
54
|
-
|
|
55
|
-
var _ref5 = arguments[0],
|
|
56
|
-
var Children =
|
|
53
|
+
function Title(_ref11) {
|
|
54
|
+
var _ref5 = arguments[0], _ref1;
|
|
55
|
+
var Children = _ref11.Children, styles = _ref11.styles;
|
|
57
56
|
var STitle = Box;
|
|
58
|
-
return
|
|
57
|
+
return _ref1 = sstyled(styles), /* @__PURE__ */ React.createElement(STitle, _ref1.cn("STitle", _objectSpread({}, assignProps({
|
|
59
58
|
"aria-live": "polite"
|
|
60
|
-
}, _ref5))), /* @__PURE__ */ React.createElement(Children,
|
|
61
|
-
}
|
|
62
|
-
function Prev(
|
|
59
|
+
}, _ref5))), /* @__PURE__ */ React.createElement(Children, _ref1.cn("Children", {})));
|
|
60
|
+
}
|
|
61
|
+
function Prev(_ref12) {
|
|
63
62
|
var _ref6 = arguments[0];
|
|
64
|
-
|
|
65
|
-
var children = _ref14.children, Children = _ref14.Children;
|
|
63
|
+
var children = _ref12.children, Children = _ref12.Children;
|
|
66
64
|
return /* @__PURE__ */ React.createElement(Button, assignProps({
|
|
67
65
|
"use": "tertiary",
|
|
68
66
|
"theme": "muted",
|
|
69
67
|
"size": "l"
|
|
70
68
|
}, _ref6), children ? /* @__PURE__ */ React.createElement(Children, null) : /* @__PURE__ */ React.createElement(Button.Addon, null, /* @__PURE__ */ React.createElement(ChevronLeft, null)));
|
|
71
69
|
}
|
|
72
|
-
function Next(
|
|
70
|
+
function Next(_ref13) {
|
|
73
71
|
var _ref7 = arguments[0];
|
|
74
|
-
|
|
75
|
-
var children = _ref15.children, Children = _ref15.Children;
|
|
72
|
+
var children = _ref13.children, Children = _ref13.Children;
|
|
76
73
|
return /* @__PURE__ */ React.createElement(Button, assignProps({
|
|
77
74
|
"use": "tertiary",
|
|
78
75
|
"theme": "muted",
|
|
79
76
|
"size": "l"
|
|
80
77
|
}, _ref7), children ? /* @__PURE__ */ React.createElement(Children, null) : /* @__PURE__ */ React.createElement(Button.Addon, null, /* @__PURE__ */ React.createElement(ChevronRight, null)));
|
|
81
78
|
}
|
|
82
|
-
var Period = /* @__PURE__ */ function(_Component) {
|
|
83
|
-
_inherits(Period2, _Component);
|
|
84
|
-
var _super = _createSuper(Period2);
|
|
79
|
+
var Period = /* @__PURE__ */ (function(_Component) {
|
|
85
80
|
function Period2() {
|
|
86
81
|
var _this;
|
|
87
82
|
_classCallCheck(this, Period2);
|
|
88
83
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
89
84
|
args[_key] = arguments[_key];
|
|
90
85
|
}
|
|
91
|
-
_this =
|
|
92
|
-
_defineProperty(
|
|
86
|
+
_this = _callSuper(this, Period2, [].concat(args));
|
|
87
|
+
_defineProperty(_this, "getActiveControl", function() {
|
|
93
88
|
var period = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
94
89
|
var value = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : void 0;
|
|
95
90
|
function compareMonth(monthOne, monthTwo) {
|
|
@@ -104,15 +99,17 @@ var Period = /* @__PURE__ */ function(_Component) {
|
|
|
104
99
|
});
|
|
105
100
|
return _this;
|
|
106
101
|
}
|
|
107
|
-
|
|
102
|
+
_inherits(Period2, _Component);
|
|
103
|
+
return _createClass(Period2, [{
|
|
108
104
|
key: "render",
|
|
109
105
|
value: function render() {
|
|
110
|
-
var _ref8 = this.asProps,
|
|
106
|
+
var _ref8 = this.asProps, _ref10, _this2 = this;
|
|
111
107
|
var SPeriod = Box;
|
|
112
|
-
var _this$asProps = this.asProps, styles = _this$asProps.styles, value = _this$asProps.value, onChange = _this$asProps.onChange, periods = _this$asProps.periods, onHighlightedChange = _this$asProps.onHighlightedChange, onDisplayedPeriodChange = _this$asProps.onDisplayedPeriodChange;
|
|
113
|
-
return
|
|
114
|
-
var period =
|
|
108
|
+
var _this$asProps = this.asProps, styles = _this$asProps.styles, value = _this$asProps.value, onChange = _this$asProps.onChange, periods = _this$asProps.periods, onHighlightedChange = _this$asProps.onHighlightedChange, onDisplayedPeriodChange = _this$asProps.onDisplayedPeriodChange, periodRef = _this$asProps.periodRef;
|
|
109
|
+
return _ref10 = sstyled(styles), /* @__PURE__ */ React.createElement(SPeriod, _ref10.cn("SPeriod", _objectSpread({}, assignProps({}, _ref8))), periods.map(function(_ref14, i) {
|
|
110
|
+
var period = _ref14.value, onClick = _ref14.onClick, onMouseEnter = _ref14.onMouseEnter, onMouseLeave = _ref14.onMouseLeave, other = _objectWithoutProperties(_ref14, _excluded);
|
|
115
111
|
return /* @__PURE__ */ React.createElement(Button, _extends({
|
|
112
|
+
ref: periodRef === null || periodRef === void 0 ? void 0 : periodRef(i),
|
|
116
113
|
key: i,
|
|
117
114
|
use: "tertiary",
|
|
118
115
|
theme: "muted",
|
|
@@ -134,8 +131,7 @@ var Period = /* @__PURE__ */ function(_Component) {
|
|
|
134
131
|
}));
|
|
135
132
|
}
|
|
136
133
|
}]);
|
|
137
|
-
|
|
138
|
-
}(Component);
|
|
134
|
+
})(Component);
|
|
139
135
|
export {
|
|
140
136
|
Header,
|
|
141
137
|
InputTrigger,
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
SCalendar {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
5
|
+
|
|
6
|
+
SCalendarUnit:focus-visible {
|
|
7
|
+
outline: none;
|
|
8
|
+
}
|
|
4
9
|
}
|
|
5
10
|
|
|
6
11
|
SGridDays {
|
|
@@ -59,7 +64,7 @@ SCalendarUnit {
|
|
|
59
64
|
min-height: 32px;
|
|
60
65
|
min-width: 32px;
|
|
61
66
|
position: relative;
|
|
62
|
-
transition:
|
|
67
|
+
transition: border-radius 0.15s 0.15s;
|
|
63
68
|
outline: none;
|
|
64
69
|
margin: 0;
|
|
65
70
|
margin-top: 4px;
|
|
@@ -95,7 +100,7 @@ SCalendarUnit[today]SCalendarUnit[endSelected] {
|
|
|
95
100
|
SCalendarUnit[selected] {
|
|
96
101
|
background-color: var(--intergalactic-date-picker-cell-range, oklch(0.959 0.021 267.8));
|
|
97
102
|
border-radius: 0;
|
|
98
|
-
transition:
|
|
103
|
+
transition: border-radius 0s 0s;
|
|
99
104
|
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
100
105
|
|
|
101
106
|
&:hover {
|
|
@@ -104,9 +109,9 @@ SCalendarUnit[selected] {
|
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
SCalendarUnit[highlighted] {
|
|
107
|
-
background-color: var(--intergalactic-date-picker-cell-range
|
|
112
|
+
background-color: var(--intergalactic-date-picker-cell-range, oklch(0.959 0.021 267.8));
|
|
108
113
|
border-radius: 0;
|
|
109
|
-
transition:
|
|
114
|
+
transition: border-radius 0s 0s;
|
|
110
115
|
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
111
116
|
|
|
112
117
|
&:hover {
|
|
@@ -233,19 +238,12 @@ SCalendarUnit[disabled] {
|
|
|
233
238
|
}
|
|
234
239
|
|
|
235
240
|
SCalendar:focus {
|
|
236
|
-
outline: none;
|
|
237
241
|
& SCalendarUnit[highlighted] {
|
|
238
242
|
z-index: 1;
|
|
239
|
-
box-shadow: var(
|
|
240
|
-
--intergalactic-keyboard-focus,
|
|
241
|
-
0px 0px 0px 3px oklch(0.424 0.269 264.2 / 0.469)
|
|
242
|
-
);
|
|
243
243
|
}
|
|
244
|
+
|
|
244
245
|
&:not(&:has(SCalendarUnit[highlighted])) {
|
|
245
|
-
|
|
246
|
-
--intergalactic-keyboard-focus,
|
|
247
|
-
0px 0px 0px 3px oklch(0.424 0.269 264.2 / 0.469)
|
|
248
|
-
);
|
|
246
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
249
247
|
}
|
|
250
248
|
}
|
|
251
249
|
|
|
@@ -256,4 +254,4 @@ SCalendar:focus {
|
|
|
256
254
|
SCalendarUnit[highlighted] {
|
|
257
255
|
transition: none;
|
|
258
256
|
}
|
|
259
|
-
}
|
|
257
|
+
}
|
|
@@ -10,13 +10,8 @@ SPopper {
|
|
|
10
10
|
&:active,
|
|
11
11
|
&:hover,
|
|
12
12
|
&:focus {
|
|
13
|
-
outline: 0;
|
|
14
13
|
text-decoration: none;
|
|
15
14
|
}
|
|
16
|
-
|
|
17
|
-
&:focus {
|
|
18
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.424 0.269 264.2 / 0.469));
|
|
19
|
-
}
|
|
20
15
|
}
|
|
21
16
|
|
|
22
17
|
SHeader {
|
|
@@ -63,6 +58,10 @@ SInputMask[animationsDisabled] {
|
|
|
63
58
|
|
|
64
59
|
SInputMask SValue {
|
|
65
60
|
letter-spacing: 0;
|
|
61
|
+
|
|
62
|
+
&:focus {
|
|
63
|
+
outline: none;
|
|
64
|
+
}
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
SIndicator {
|
|
@@ -138,7 +137,7 @@ SInputMask[noHumanizedDate] SMask {
|
|
|
138
137
|
}
|
|
139
138
|
|
|
140
139
|
SDateRange SInputMask:focus-within SMask {
|
|
141
|
-
background-color: var(--intergalactic-bg-highlight-focus, oklch(0.
|
|
140
|
+
background-color: var(--intergalactic-bg-highlight-focus, oklch(0.524 0.266 263.1 / 0.116));
|
|
142
141
|
}
|
|
143
142
|
|
|
144
143
|
SRangeSep[fulfilled],
|
|
@@ -176,4 +175,4 @@ SCompareToggle {
|
|
|
176
175
|
SInputMask {
|
|
177
176
|
transition: none;
|
|
178
177
|
}
|
|
179
|
-
}
|
|
178
|
+
}
|
|
@@ -6,13 +6,13 @@ import it from "./it.json.mjs";
|
|
|
6
6
|
import ja from "./ja.json.mjs";
|
|
7
7
|
import ko from "./ko.json.mjs";
|
|
8
8
|
import nl from "./nl.json.mjs";
|
|
9
|
+
import pl from "./pl.json.mjs";
|
|
9
10
|
import pt from "./pt.json.mjs";
|
|
10
11
|
import ru from "./ru.json.mjs";
|
|
12
|
+
import sv from "./sv.json.mjs";
|
|
11
13
|
import tr from "./tr.json.mjs";
|
|
12
14
|
import vi from "./vi.json.mjs";
|
|
13
15
|
import zh from "./zh.json.mjs";
|
|
14
|
-
import pl from "./pl.json.mjs";
|
|
15
|
-
import sv from "./sv.json.mjs";
|
|
16
16
|
var localizedMessages = {
|
|
17
17
|
de,
|
|
18
18
|
en,
|
|
@@ -9,13 +9,17 @@ const last2Months = "Letzte 2 Monate";
|
|
|
9
9
|
const last3Months = "Letzte 3 Monate";
|
|
10
10
|
const last6Months = "Letzte 6 Monate";
|
|
11
11
|
const last12Months = "Letzte 12 Monate";
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const prevYear = "Voriges Jahr";
|
|
13
|
+
const nextYear = "Folgejahr";
|
|
14
|
+
const prevMonth = "Vormonat";
|
|
15
|
+
const nextMonth = "Folgemonat";
|
|
14
16
|
const input = "Datumsfeld";
|
|
15
17
|
const compare = "Vergleichen mit";
|
|
16
18
|
const fromDate = "Vom {date}";
|
|
17
19
|
const toDate = "Bis {date}";
|
|
20
|
+
const fromDatePlaceholder = "Von-Datum";
|
|
18
21
|
const periods = "Vorgaben";
|
|
22
|
+
const toDatePlaceholder = "Bis-Datum";
|
|
19
23
|
const dateRange = "Datumsbereich";
|
|
20
24
|
const dateRange1 = "Erster Datumsbereich";
|
|
21
25
|
const dateRange2 = "Zweiter Datumsbereich";
|
|
@@ -37,13 +41,17 @@ const de = {
|
|
|
37
41
|
last3Months,
|
|
38
42
|
last6Months,
|
|
39
43
|
last12Months,
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
prevYear,
|
|
45
|
+
nextYear,
|
|
46
|
+
prevMonth,
|
|
47
|
+
nextMonth,
|
|
42
48
|
input,
|
|
43
49
|
compare,
|
|
44
50
|
fromDate,
|
|
45
51
|
toDate,
|
|
52
|
+
fromDatePlaceholder,
|
|
46
53
|
periods,
|
|
54
|
+
toDatePlaceholder,
|
|
47
55
|
dateRange,
|
|
48
56
|
dateRange1,
|
|
49
57
|
dateRange2,
|
|
@@ -65,6 +73,7 @@ export {
|
|
|
65
73
|
dateRange2,
|
|
66
74
|
de as default,
|
|
67
75
|
fromDate,
|
|
76
|
+
fromDatePlaceholder,
|
|
68
77
|
input,
|
|
69
78
|
last12Months,
|
|
70
79
|
last2Days,
|
|
@@ -74,13 +83,16 @@ export {
|
|
|
74
83
|
last6Months,
|
|
75
84
|
lastMonth,
|
|
76
85
|
lastWeek,
|
|
77
|
-
|
|
86
|
+
nextMonth,
|
|
87
|
+
nextYear,
|
|
78
88
|
periods,
|
|
79
|
-
|
|
89
|
+
prevMonth,
|
|
90
|
+
prevYear,
|
|
80
91
|
reset,
|
|
81
92
|
selectingFinished,
|
|
82
93
|
selectingStarted,
|
|
83
94
|
toDate,
|
|
95
|
+
toDatePlaceholder,
|
|
84
96
|
today,
|
|
85
97
|
unavailableDate,
|
|
86
98
|
unavailableEndDate,
|
|
@@ -9,13 +9,17 @@ const last2Months = "Últimos 2 meses";
|
|
|
9
9
|
const last3Months = "Últimos 3 meses";
|
|
10
10
|
const last6Months = "Últimos 6 meses";
|
|
11
11
|
const last12Months = "Últimos 12 meses";
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const prevYear = "Año anterior";
|
|
13
|
+
const nextYear = "Año siguiente";
|
|
14
|
+
const prevMonth = "Mes anterior";
|
|
15
|
+
const nextMonth = "Mes siguiente";
|
|
14
16
|
const input = "Campo de datos";
|
|
15
17
|
const compare = "Comparar con";
|
|
16
18
|
const fromDate = "Desde {date}";
|
|
17
19
|
const toDate = "Hasta {date}";
|
|
20
|
+
const fromDatePlaceholder = "Fecha de inicio";
|
|
18
21
|
const periods = "Predefinidos";
|
|
22
|
+
const toDatePlaceholder = "Fecha de fin";
|
|
19
23
|
const dateRange = "Rango de fechas";
|
|
20
24
|
const dateRange1 = "Primer rango de fechas";
|
|
21
25
|
const dateRange2 = "Segundo rango de fechas";
|
|
@@ -37,13 +41,17 @@ const es = {
|
|
|
37
41
|
last3Months,
|
|
38
42
|
last6Months,
|
|
39
43
|
last12Months,
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
prevYear,
|
|
45
|
+
nextYear,
|
|
46
|
+
prevMonth,
|
|
47
|
+
nextMonth,
|
|
42
48
|
input,
|
|
43
49
|
compare,
|
|
44
50
|
fromDate,
|
|
45
51
|
toDate,
|
|
52
|
+
fromDatePlaceholder,
|
|
46
53
|
periods,
|
|
54
|
+
toDatePlaceholder,
|
|
47
55
|
dateRange,
|
|
48
56
|
dateRange1,
|
|
49
57
|
dateRange2,
|
|
@@ -65,6 +73,7 @@ export {
|
|
|
65
73
|
dateRange2,
|
|
66
74
|
es as default,
|
|
67
75
|
fromDate,
|
|
76
|
+
fromDatePlaceholder,
|
|
68
77
|
input,
|
|
69
78
|
last12Months,
|
|
70
79
|
last2Days,
|
|
@@ -74,13 +83,16 @@ export {
|
|
|
74
83
|
last6Months,
|
|
75
84
|
lastMonth,
|
|
76
85
|
lastWeek,
|
|
77
|
-
|
|
86
|
+
nextMonth,
|
|
87
|
+
nextYear,
|
|
78
88
|
periods,
|
|
79
|
-
|
|
89
|
+
prevMonth,
|
|
90
|
+
prevYear,
|
|
80
91
|
reset,
|
|
81
92
|
selectingFinished,
|
|
82
93
|
selectingStarted,
|
|
83
94
|
toDate,
|
|
95
|
+
toDatePlaceholder,
|
|
84
96
|
today,
|
|
85
97
|
unavailableDate,
|
|
86
98
|
unavailableEndDate,
|
|
@@ -9,13 +9,17 @@ const last2Months = "2 derniers mois";
|
|
|
9
9
|
const last3Months = "3 derniers mois";
|
|
10
10
|
const last6Months = "6 derniers mois";
|
|
11
11
|
const last12Months = "12 derniers mois";
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const prevYear = "Année précédente";
|
|
13
|
+
const nextYear = "Année suivante";
|
|
14
|
+
const prevMonth = "Mois précédent";
|
|
15
|
+
const nextMonth = "Mois suivant";
|
|
14
16
|
const input = "Champ de date";
|
|
15
17
|
const compare = "Comparer à";
|
|
16
18
|
const fromDate = "Du {date}";
|
|
17
19
|
const toDate = "Au {date}";
|
|
20
|
+
const fromDatePlaceholder = "Date de début";
|
|
18
21
|
const periods = "Préréglages";
|
|
22
|
+
const toDatePlaceholder = "Date de fin";
|
|
19
23
|
const dateRange = "Plage de dates";
|
|
20
24
|
const dateRange1 = "Première plage de dates";
|
|
21
25
|
const dateRange2 = "Deuxième plage de dates";
|
|
@@ -37,13 +41,17 @@ const fr = {
|
|
|
37
41
|
last3Months,
|
|
38
42
|
last6Months,
|
|
39
43
|
last12Months,
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
prevYear,
|
|
45
|
+
nextYear,
|
|
46
|
+
prevMonth,
|
|
47
|
+
nextMonth,
|
|
42
48
|
input,
|
|
43
49
|
compare,
|
|
44
50
|
fromDate,
|
|
45
51
|
toDate,
|
|
52
|
+
fromDatePlaceholder,
|
|
46
53
|
periods,
|
|
54
|
+
toDatePlaceholder,
|
|
47
55
|
dateRange,
|
|
48
56
|
dateRange1,
|
|
49
57
|
dateRange2,
|
|
@@ -65,6 +73,7 @@ export {
|
|
|
65
73
|
dateRange2,
|
|
66
74
|
fr as default,
|
|
67
75
|
fromDate,
|
|
76
|
+
fromDatePlaceholder,
|
|
68
77
|
input,
|
|
69
78
|
last12Months,
|
|
70
79
|
last2Days,
|
|
@@ -74,13 +83,16 @@ export {
|
|
|
74
83
|
last6Months,
|
|
75
84
|
lastMonth,
|
|
76
85
|
lastWeek,
|
|
77
|
-
|
|
86
|
+
nextMonth,
|
|
87
|
+
nextYear,
|
|
78
88
|
periods,
|
|
79
|
-
|
|
89
|
+
prevMonth,
|
|
90
|
+
prevYear,
|
|
80
91
|
reset,
|
|
81
92
|
selectingFinished,
|
|
82
93
|
selectingStarted,
|
|
83
94
|
toDate,
|
|
95
|
+
toDatePlaceholder,
|
|
84
96
|
today,
|
|
85
97
|
unavailableDate,
|
|
86
98
|
unavailableEndDate,
|
|
@@ -9,13 +9,17 @@ const last2Months = "Ultimi 2 mesi";
|
|
|
9
9
|
const last3Months = "Ultimi 3 mesi";
|
|
10
10
|
const last6Months = "Ultimi 6 mesi";
|
|
11
11
|
const last12Months = "Ultimi 12 mesi";
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const prevYear = "Anno precedente";
|
|
13
|
+
const nextYear = "Anno successivo";
|
|
14
|
+
const prevMonth = "Mese precedente";
|
|
15
|
+
const nextMonth = "Mese successivo";
|
|
14
16
|
const input = "Campo data";
|
|
15
17
|
const compare = "Confronta con";
|
|
16
18
|
const fromDate = "Da {date}";
|
|
17
19
|
const toDate = "A {date}";
|
|
20
|
+
const fromDatePlaceholder = "Dalla data";
|
|
18
21
|
const periods = "Impostazioni predefinite";
|
|
22
|
+
const toDatePlaceholder = "Alla data";
|
|
19
23
|
const dateRange = "Intervallo temporale";
|
|
20
24
|
const dateRange1 = "Primo intervallo temporale";
|
|
21
25
|
const dateRange2 = "Secondo intervallo temporale";
|
|
@@ -37,13 +41,17 @@ const it = {
|
|
|
37
41
|
last3Months,
|
|
38
42
|
last6Months,
|
|
39
43
|
last12Months,
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
prevYear,
|
|
45
|
+
nextYear,
|
|
46
|
+
prevMonth,
|
|
47
|
+
nextMonth,
|
|
42
48
|
input,
|
|
43
49
|
compare,
|
|
44
50
|
fromDate,
|
|
45
51
|
toDate,
|
|
52
|
+
fromDatePlaceholder,
|
|
46
53
|
periods,
|
|
54
|
+
toDatePlaceholder,
|
|
47
55
|
dateRange,
|
|
48
56
|
dateRange1,
|
|
49
57
|
dateRange2,
|
|
@@ -65,6 +73,7 @@ export {
|
|
|
65
73
|
dateRange2,
|
|
66
74
|
it as default,
|
|
67
75
|
fromDate,
|
|
76
|
+
fromDatePlaceholder,
|
|
68
77
|
input,
|
|
69
78
|
last12Months,
|
|
70
79
|
last2Days,
|
|
@@ -74,13 +83,16 @@ export {
|
|
|
74
83
|
last6Months,
|
|
75
84
|
lastMonth,
|
|
76
85
|
lastWeek,
|
|
77
|
-
|
|
86
|
+
nextMonth,
|
|
87
|
+
nextYear,
|
|
78
88
|
periods,
|
|
79
|
-
|
|
89
|
+
prevMonth,
|
|
90
|
+
prevYear,
|
|
80
91
|
reset,
|
|
81
92
|
selectingFinished,
|
|
82
93
|
selectingStarted,
|
|
83
94
|
toDate,
|
|
95
|
+
toDatePlaceholder,
|
|
84
96
|
today,
|
|
85
97
|
unavailableDate,
|
|
86
98
|
unavailableEndDate,
|
|
@@ -9,13 +9,17 @@ const last2Months = "過去2か月間";
|
|
|
9
9
|
const last3Months = "過去3か月間";
|
|
10
10
|
const last6Months = "過去6か月間";
|
|
11
11
|
const last12Months = "過去12か月間";
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const prevYear = "前年";
|
|
13
|
+
const nextYear = "翌年";
|
|
14
|
+
const prevMonth = "前月";
|
|
15
|
+
const nextMonth = "翌月";
|
|
14
16
|
const input = "データフィールド";
|
|
15
17
|
const compare = "次と比較";
|
|
16
18
|
const fromDate = "{date}から";
|
|
17
19
|
const toDate = "{date}まで";
|
|
20
|
+
const fromDatePlaceholder = "開始日";
|
|
18
21
|
const periods = "プリセット";
|
|
22
|
+
const toDatePlaceholder = "終了日";
|
|
19
23
|
const dateRange = "日付範囲";
|
|
20
24
|
const dateRange1 = "一番目の日付範囲";
|
|
21
25
|
const dateRange2 = "二番目の日付範囲";
|
|
@@ -37,13 +41,17 @@ const ja = {
|
|
|
37
41
|
last3Months,
|
|
38
42
|
last6Months,
|
|
39
43
|
last12Months,
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
prevYear,
|
|
45
|
+
nextYear,
|
|
46
|
+
prevMonth,
|
|
47
|
+
nextMonth,
|
|
42
48
|
input,
|
|
43
49
|
compare,
|
|
44
50
|
fromDate,
|
|
45
51
|
toDate,
|
|
52
|
+
fromDatePlaceholder,
|
|
46
53
|
periods,
|
|
54
|
+
toDatePlaceholder,
|
|
47
55
|
dateRange,
|
|
48
56
|
dateRange1,
|
|
49
57
|
dateRange2,
|
|
@@ -65,6 +73,7 @@ export {
|
|
|
65
73
|
dateRange2,
|
|
66
74
|
ja as default,
|
|
67
75
|
fromDate,
|
|
76
|
+
fromDatePlaceholder,
|
|
68
77
|
input,
|
|
69
78
|
last12Months,
|
|
70
79
|
last2Days,
|
|
@@ -74,13 +83,16 @@ export {
|
|
|
74
83
|
last6Months,
|
|
75
84
|
lastMonth,
|
|
76
85
|
lastWeek,
|
|
77
|
-
|
|
86
|
+
nextMonth,
|
|
87
|
+
nextYear,
|
|
78
88
|
periods,
|
|
79
|
-
|
|
89
|
+
prevMonth,
|
|
90
|
+
prevYear,
|
|
80
91
|
reset,
|
|
81
92
|
selectingFinished,
|
|
82
93
|
selectingStarted,
|
|
83
94
|
toDate,
|
|
95
|
+
toDatePlaceholder,
|
|
84
96
|
today,
|
|
85
97
|
unavailableDate,
|
|
86
98
|
unavailableEndDate,
|
|
@@ -9,13 +9,17 @@ const last2Months = "최근 2개월";
|
|
|
9
9
|
const last3Months = "최근 3개월";
|
|
10
10
|
const last6Months = "최근 6개월";
|
|
11
11
|
const last12Months = "최근 12개월";
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const prevYear = "지난해";
|
|
13
|
+
const nextYear = "내년";
|
|
14
|
+
const prevMonth = "이전 달";
|
|
15
|
+
const nextMonth = "다음 달";
|
|
14
16
|
const input = "날짜 필드";
|
|
15
17
|
const compare = "비교 기간";
|
|
16
18
|
const fromDate = "{date}부터";
|
|
17
19
|
const toDate = "{date}까지";
|
|
20
|
+
const fromDatePlaceholder = "시작 날짜";
|
|
18
21
|
const periods = "사전 설정";
|
|
22
|
+
const toDatePlaceholder = "종료 날짜";
|
|
19
23
|
const dateRange = "날짜 범위";
|
|
20
24
|
const dateRange1 = "첫 번째 날짜 범위";
|
|
21
25
|
const dateRange2 = "두 번째 날짜 범위";
|
|
@@ -37,13 +41,17 @@ const ko = {
|
|
|
37
41
|
last3Months,
|
|
38
42
|
last6Months,
|
|
39
43
|
last12Months,
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
prevYear,
|
|
45
|
+
nextYear,
|
|
46
|
+
prevMonth,
|
|
47
|
+
nextMonth,
|
|
42
48
|
input,
|
|
43
49
|
compare,
|
|
44
50
|
fromDate,
|
|
45
51
|
toDate,
|
|
52
|
+
fromDatePlaceholder,
|
|
46
53
|
periods,
|
|
54
|
+
toDatePlaceholder,
|
|
47
55
|
dateRange,
|
|
48
56
|
dateRange1,
|
|
49
57
|
dateRange2,
|
|
@@ -65,6 +73,7 @@ export {
|
|
|
65
73
|
dateRange2,
|
|
66
74
|
ko as default,
|
|
67
75
|
fromDate,
|
|
76
|
+
fromDatePlaceholder,
|
|
68
77
|
input,
|
|
69
78
|
last12Months,
|
|
70
79
|
last2Days,
|
|
@@ -74,13 +83,16 @@ export {
|
|
|
74
83
|
last6Months,
|
|
75
84
|
lastMonth,
|
|
76
85
|
lastWeek,
|
|
77
|
-
|
|
86
|
+
nextMonth,
|
|
87
|
+
nextYear,
|
|
78
88
|
periods,
|
|
79
|
-
|
|
89
|
+
prevMonth,
|
|
90
|
+
prevYear,
|
|
80
91
|
reset,
|
|
81
92
|
selectingFinished,
|
|
82
93
|
selectingStarted,
|
|
83
94
|
toDate,
|
|
95
|
+
toDatePlaceholder,
|
|
84
96
|
today,
|
|
85
97
|
unavailableDate,
|
|
86
98
|
unavailableEndDate,
|