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