aloha-vue 2.85.0 → 2.87.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 +1215 -1200
- package/README.md +117 -117
- package/dist/aloha-vue.css +13827 -13601
- package/dist/aloha-vue.css.map +1 -1
- package/dist/aloha-vue.es.js +60235 -57401
- package/dist/aloha-vue.umd.js +319 -319
- package/package.json +1 -1
- package/scss/components/AButton.scss +6 -6
- package/scss/components/ADivider.scss +9 -9
- package/scss/components/AElement.scss +6 -6
- package/scss/components/AGroupButtonDropdown.scss +4 -4
- package/scss/components/AIcon.scss +17 -17
- package/scss/components/ALoading.scss +18 -18
- package/scss/components/AMenu.scss +634 -634
- package/scss/components/AProgressCirle.scss +43 -43
- package/scss/components/AShowMore.scss +9 -9
- package/scss/components/ATableForm.scss +7 -7
- package/scss/components/ATabs.scss +186 -186
- package/scss/components/ui/AColorPicker.scss +243 -0
- package/scss/components/ui/AJson.scss +11 -11
- package/scss/components/ui/ui.scss +1 -0
- package/scss/text/text_line_height.scss +17 -17
- package/scss/text/text_size.scss +88 -88
- package/scss/utils/acordion.scss +173 -173
- package/scss/utils/alert.scss +81 -81
- package/scss/utils/aloha_prefix.scss +1 -1
- package/scss/utils/backdrop.scss +24 -24
- package/scss/utils/border.scss +65 -65
- package/scss/utils/breakpoint.scss +48 -48
- package/scss/utils/button_close.scss +22 -22
- package/scss/utils/button_group.scss +69 -69
- package/scss/utils/color_utils.scss +234 -234
- package/scss/utils/display.scss +67 -67
- package/scss/utils/flex.scss +141 -141
- package/scss/utils/float.scss +10 -10
- package/scss/utils/global.scss +44 -44
- package/scss/utils/global_variables.scss +26 -26
- package/scss/utils/grid.scss +95 -95
- package/scss/utils/list_columns.scss +31 -31
- package/scss/utils/list_group.scss +127 -127
- package/scss/utils/notification.scss +36 -36
- package/scss/utils/overflow.scss +40 -40
- package/scss/utils/pagination.scss +94 -94
- package/scss/utils/position.scss +90 -90
- package/scss/utils/progress.scss +70 -70
- package/scss/utils/screenreader.scss +16 -16
- package/scss/utils/spinner.scss +35 -35
- package/scss/utils/utils.scss +19 -19
- package/scss/utils/vars_global.scss +12 -12
- package/src/AAlert/i18n/AAlertI18n.js +4 -0
- package/src/AAlert/i18n/nl.json +3 -0
- package/src/AAlert/i18n/pl.json +3 -0
- package/src/ACarousel/i18n/ACarouselI18n.js +4 -0
- package/src/ACarousel/i18n/nl.json +9 -0
- package/src/ACarousel/i18n/pl.json +9 -0
- package/src/ACloak/i18n/ACloakI18n.js +4 -0
- package/src/ACloak/i18n/nl.json +3 -0
- package/src/ACloak/i18n/pl.json +3 -0
- package/src/ADisclosure/i18n/ADisclosureI18n.js +4 -0
- package/src/ADisclosure/i18n/nl.json +4 -0
- package/src/ADisclosure/i18n/pl.json +4 -0
- package/src/AFilters/i18n/AFiltersI18n.js +4 -0
- package/src/AFilters/i18n/nl.json +30 -0
- package/src/AFilters/i18n/pl.json +30 -0
- package/src/AGroupButtonDropdown/AGroupButtonDropdown.js +119 -119
- package/src/ALinkCopy/i18n/ALinkCopyI18n.js +4 -0
- package/src/ALinkCopy/i18n/nl.json +4 -0
- package/src/ALinkCopy/i18n/pl.json +4 -0
- package/src/ALoading/i18n/ALoadingI18n.js +4 -0
- package/src/ALoading/i18n/nl.json +3 -0
- package/src/ALoading/i18n/pl.json +3 -0
- package/src/AMenu/i18n/AMenu2I18n.js +4 -0
- package/src/AMenu/i18n/nl.json +14 -0
- package/src/AMenu/i18n/pl.json +14 -0
- package/src/AModal/compositionAPI/ZIndexAPI.js +48 -48
- package/src/AModal/i18n/AModalI18n.js +4 -0
- package/src/AModal/i18n/nl.json +7 -0
- package/src/AModal/i18n/pl.json +7 -0
- package/src/APagination/i18n/APaginationI18n.js +4 -0
- package/src/APagination/i18n/nl.json +12 -0
- package/src/APagination/i18n/pl.json +12 -0
- package/src/AProgress/AProgress.js +141 -141
- package/src/AProgressCircle/AProgressCircle.js +160 -160
- package/src/AShowMore/i18n/AShowMoreI18n.js +4 -0
- package/src/AShowMore/i18n/nl.json +6 -0
- package/src/AShowMore/i18n/pl.json +6 -0
- package/src/ASpinner/i18n/ASpinnerI18n.js +4 -0
- package/src/ASpinner/i18n/nl.json +3 -0
- package/src/ASpinner/i18n/pl.json +3 -0
- package/src/ATable/ATableHeaderTh/ATableHeaderTh.js +188 -188
- package/src/ATable/i18n/ATableI18n.js +4 -0
- package/src/ATable/i18n/nl.json +54 -0
- package/src/ATable/i18n/pl.json +54 -0
- package/src/ATableForm/i18n/ATableFormI18n.js +4 -0
- package/src/ATableForm/i18n/nl.json +18 -0
- package/src/ATableForm/i18n/pl.json +18 -0
- package/src/ATranslation/compositionAPI/UtilsAPI.js +6 -1
- package/src/ATranslation/compositionAPI/__tests__/UtilsAPI.getTranslatedText.test.js +38 -0
- package/src/AVerticalScroll/i18n/AVerticalScrollI18n.js +4 -0
- package/src/AVerticalScroll/i18n/nl.json +4 -0
- package/src/AVerticalScroll/i18n/pl.json +4 -0
- package/src/AWizard/i18n/AWizardI18n.js +4 -0
- package/src/AWizard/i18n/nl.json +16 -0
- package/src/AWizard/i18n/pl.json +16 -0
- package/src/PVP/new.txt +39 -39
- package/src/PuxDatepicker/PuxDatepicker.js +670 -670
- package/src/PuxDatepicker/PuxDatepicker.pug +131 -131
- package/src/PuxDatepicker/PuxDatepicker.vue +2 -2
- package/src/PuxDatepicker/PuxDatepickerCalendarPanel/PuxDatepickerCalendarPanel.pug +136 -136
- package/src/PuxDatepicker/PuxDatepickerCalendarPanel/PuxDatepickerCalendarPanel.vue +2 -2
- package/src/PuxDatepicker/PuxDatepickerIcon/PuxDatepickerIcon.js +30 -30
- package/src/PuxDatepicker/PuxDatepickerIcon/PuxDatepickerIcon.pug +6 -6
- package/src/PuxDatepicker/PuxDatepickerIcon/PuxDatepickerIcon.vue +2 -2
- package/src/PuxDatepicker/locale/languages.js +174 -174
- package/src/PuxDatepicker/mixins/PanelMixin.js +76 -76
- package/src/PuxDatepicker/panel/PanelDate/PanelDate.pug +41 -41
- package/src/PuxDatepicker/panel/PanelDate/PanelDate.vue +2 -2
- package/src/PuxDatepicker/panel/PanelMonth/PanelMonth.pug +16 -16
- package/src/PuxDatepicker/panel/PanelMonth/PanelMonth.vue +2 -2
- package/src/PuxDatepicker/panel/PanelTime/PanelTime.pug +20 -20
- package/src/PuxDatepicker/panel/PanelTime/PanelTime.vue +2 -2
- package/src/PuxDatepicker/panel/PanelYear/PanelYear.pug +16 -16
- package/src/PuxDatepicker/panel/PanelYear/PanelYear.vue +2 -2
- package/src/PuxDatepicker/panel/PanelYearItem/PanelYearItem.js +55 -55
- package/src/PuxDatepicker/panel/PanelYearItem/PanelYearItem.pug +9 -9
- package/src/PuxDatepicker/panel/PanelYearItem/PanelYearItem.vue +2 -2
- package/src/PuxDatepicker/utils/keysCode.js +9 -9
- package/src/PuxDatepicker/utils/scroll-into-view.js +23 -23
- package/src/PuxDatepicker/utils/transform.js +23 -23
- package/src/filters/i18n/Filters18n.js +4 -0
- package/src/filters/i18n/nl.json +11 -0
- package/src/filters/i18n/pl.json +11 -0
- package/src/i18n/allLanguages.js +96 -0
- package/src/i18n/nl.json +4 -0
- package/src/i18n/pl.json +4 -0
- package/src/index.js +4 -0
- package/src/ui/ACheckbox/ACheckbox.js +5 -0
- package/src/ui/ACheckbox/i18n/ACheckboxI18n.js +4 -0
- package/src/ui/ACheckbox/i18n/nl.json +5 -0
- package/src/ui/ACheckbox/i18n/pl.json +5 -0
- package/src/ui/AColorPicker/AColorPicker.js +743 -0
- package/src/ui/AColorPicker/AColorPickerSaturation/AColorPickerSaturation.js +102 -0
- package/src/ui/AColorPicker/AColorPickerSaturation/compositionAPI/SaturationAPI.js +77 -0
- package/src/ui/AColorPicker/AColorPickerSlider/AColorPickerSlider.js +125 -0
- package/src/ui/AColorPicker/AColorPickerSlider/compositionAPI/SliderAPI.js +73 -0
- package/src/ui/AColorPicker/__tests__/AColorPicker.test.js +204 -0
- package/src/ui/AColorPicker/__tests__/colorUtils.test.js +104 -0
- package/src/ui/AColorPicker/compositionAPI/ColorStateAPI.js +133 -0
- package/src/ui/AColorPicker/compositionAPI/ConfirmAPI.js +36 -0
- package/src/ui/AColorPicker/compositionAPI/FormatAPI.js +59 -0
- package/src/ui/AColorPicker/compositionAPI/InputAPI.js +63 -0
- package/src/ui/AColorPicker/compositionAPI/KeyboardStepAPI.js +42 -0
- package/src/ui/AColorPicker/compositionAPI/PointerDragAPI.js +70 -0
- package/src/ui/AColorPicker/compositionAPI/PopoverAPI.js +196 -0
- package/src/ui/AColorPicker/compositionAPI/PredefineAPI.js +42 -0
- package/src/ui/AColorPicker/compositionAPI/ToggleClassAPI.js +24 -0
- package/src/ui/AColorPicker/i18n/AColorPickerI18n.js +25 -0
- package/src/ui/AColorPicker/i18n/ar.json +14 -0
- package/src/ui/AColorPicker/i18n/de.json +14 -0
- package/src/ui/AColorPicker/i18n/en.json +14 -0
- package/src/ui/AColorPicker/i18n/es.json +14 -0
- package/src/ui/AColorPicker/i18n/fr.json +14 -0
- package/src/ui/AColorPicker/i18n/hr.json +14 -0
- package/src/ui/AColorPicker/i18n/it.json +14 -0
- package/src/ui/AColorPicker/i18n/nl.json +14 -0
- package/src/ui/AColorPicker/i18n/pl.json +14 -0
- package/src/ui/AColorPicker/i18n/ru.json +14 -0
- package/src/ui/AColorPicker/i18n/uk.json +14 -0
- package/src/ui/AColorPicker/utils/colorUtils.js +296 -0
- package/src/ui/ADatepicker/ADatepickerCalendarPanel/ADatepickerCalendarPanel.js +68 -68
- package/src/ui/ADatepicker/i18n/ADatepickerI18n.js +4 -0
- package/src/ui/ADatepicker/i18n/nl.json +58 -0
- package/src/ui/ADatepicker/i18n/pl.json +58 -0
- package/src/ui/ADatepicker/panel/APanelTime/APanelTime.js +147 -147
- package/src/ui/ADatepicker/panel/APanelYear/APanelYear.js +123 -123
- package/src/ui/ADatepickerAlt/ADatepickerCalendarPanel/ADatepickerCalendarPanel.js +804 -804
- package/src/ui/ADatepickerAlt/panel/APanelDate/APanelDate.js +353 -353
- package/src/ui/ADatepickerAlt/panel/APanelMonth/APanelMonth.js +187 -187
- package/src/ui/ADatepickerAlt/panel/APanelTime/APanelTime.js +303 -303
- package/src/ui/ADatepickerAlt/panel/APanelYear/APanelYear.js +162 -162
- package/src/ui/ADatepickerRange/i18n/ADatepickerRangeI18n.js +4 -0
- package/src/ui/ADatepickerRange/i18n/nl.json +4 -0
- package/src/ui/ADatepickerRange/i18n/pl.json +4 -0
- package/src/ui/AErrors/i18n/AErrorsI18n.js +4 -0
- package/src/ui/AErrors/i18n/nl.json +3 -0
- package/src/ui/AErrors/i18n/pl.json +3 -0
- package/src/ui/AFieldset/__tests__/AFieldset.ClassColumn.test.js +1 -0
- package/src/ui/AFieldset/i18n/AFieldsetI18n.js +4 -0
- package/src/ui/AFieldset/i18n/nl.json +4 -0
- package/src/ui/AFieldset/i18n/pl.json +4 -0
- package/src/ui/AFormElementBtnClear/i18n/AFormElementBtnClearI18n.js +4 -0
- package/src/ui/AFormElementBtnClear/i18n/nl.json +3 -0
- package/src/ui/AFormElementBtnClear/i18n/pl.json +3 -0
- package/src/ui/AInput/i18n/AInputI18n.js +4 -0
- package/src/ui/AInput/i18n/nl.json +4 -0
- package/src/ui/AInput/i18n/pl.json +4 -0
- package/src/ui/AInputCurrency/i18n/AInputCurrencyI18n.js +4 -0
- package/src/ui/AInputCurrency/i18n/nl.json +4 -0
- package/src/ui/AInputCurrency/i18n/pl.json +4 -0
- package/src/ui/AInputNumber/i18n/AInputNumberI18n.js +4 -0
- package/src/ui/AInputNumber/i18n/nl.json +4 -0
- package/src/ui/AInputNumber/i18n/pl.json +4 -0
- package/src/ui/AInputNumberRange/i18n/AInputNumberRangeI18n.js +4 -0
- package/src/ui/AInputNumberRange/i18n/nl.json +4 -0
- package/src/ui/AInputNumberRange/i18n/pl.json +4 -0
- package/src/ui/AJson/i18n/AJsonI18n.js +4 -0
- package/src/ui/AJson/i18n/nl.json +8 -0
- package/src/ui/AJson/i18n/pl.json +8 -0
- package/src/ui/AMultiselectOrdered/i18n/AMultiselectOrderedI18n.js +4 -0
- package/src/ui/AMultiselectOrdered/i18n/nl.json +12 -0
- package/src/ui/AMultiselectOrdered/i18n/pl.json +12 -0
- package/src/ui/ARadio/i18n/ARadioI18n.js +4 -0
- package/src/ui/ARadio/i18n/nl.json +5 -0
- package/src/ui/ARadio/i18n/pl.json +5 -0
- package/src/ui/ARequired/i18n/ARequiredI18n.js +4 -0
- package/src/ui/ARequired/i18n/nl.json +3 -0
- package/src/ui/ARequired/i18n/pl.json +3 -0
- package/src/ui/ARouterLinkConfig/i18n/ARouterLinkConfigI18n.js +4 -0
- package/src/ui/ARouterLinkConfig/i18n/nl.json +14 -0
- package/src/ui/ARouterLinkConfig/i18n/pl.json +14 -0
- package/src/ui/ASelect/i18n/ASelectI18n.js +4 -0
- package/src/ui/ASelect/i18n/ar.json +5 -5
- package/src/ui/ASelect/i18n/de.json +4 -4
- package/src/ui/ASelect/i18n/en.json +5 -5
- package/src/ui/ASelect/i18n/es.json +5 -5
- package/src/ui/ASelect/i18n/fr.json +5 -5
- package/src/ui/ASelect/i18n/hr.json +5 -5
- package/src/ui/ASelect/i18n/it.json +5 -5
- package/src/ui/ASelect/i18n/nl.json +11 -0
- package/src/ui/ASelect/i18n/pl.json +11 -0
- package/src/ui/ASelect/i18n/ru.json +5 -5
- package/src/ui/ASelectStyle/i18n/ASelectStyleI18n.js +4 -0
- package/src/ui/ASelectStyle/i18n/nl.json +292 -0
- package/src/ui/ASelectStyle/i18n/pl.json +292 -0
- package/src/ui/ASlider/i18n/ASliderI18n.js +4 -0
- package/src/ui/ASlider/i18n/nl.json +5 -0
- package/src/ui/ASlider/i18n/pl.json +5 -0
- package/src/ui/ASwitch/i18n/ASwitchI18n.js +4 -0
- package/src/ui/ASwitch/i18n/nl.json +5 -0
- package/src/ui/ASwitch/i18n/pl.json +5 -0
- package/src/ui/AUiComponents.js +2 -0
- package/src/ui/AValidatedJson/i18n/AValidatedJsonI18n.js +4 -0
- package/src/ui/AValidatedJson/i18n/nl.json +25 -0
- package/src/ui/AValidatedJson/i18n/pl.json +25 -0
- package/src/ui/compositionApi/__tests__/UiStyleHideAPI.test.js +9 -4
|
@@ -1,174 +1,174 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
en: {
|
|
3
|
-
days: [
|
|
4
|
-
{
|
|
5
|
-
shortName: "Sun",
|
|
6
|
-
longName: "Sunday",
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
shortName: "Mon",
|
|
10
|
-
longName: "Monday",
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
shortName: "Tue",
|
|
14
|
-
longName: "Tuesday",
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
shortName: "Wed",
|
|
18
|
-
longName: "Wednesday",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
shortName: "Thu",
|
|
22
|
-
longName: "Thursday",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
shortName: "Fri",
|
|
26
|
-
longName: "Friday",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
shortName: "Sat",
|
|
30
|
-
longName: "Saturday",
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
|
34
|
-
pickers: ["next 7 days", "next 30 days", "previous 7 days", "previous 30 days"],
|
|
35
|
-
placeholder: {
|
|
36
|
-
date: "Enter date in format DD.MM.YYYY",
|
|
37
|
-
time: "Enter time in format HH:MM",
|
|
38
|
-
dateRange: "Select Date Range",
|
|
39
|
-
regionDate: "Date picker",
|
|
40
|
-
regionTime: "Time picker",
|
|
41
|
-
},
|
|
42
|
-
today: "today",
|
|
43
|
-
buttons: {
|
|
44
|
-
lastYear: "Last year",
|
|
45
|
-
lastYears: "Last 10 years",
|
|
46
|
-
nextYear: "Next year",
|
|
47
|
-
nextYears: "Next 10 years",
|
|
48
|
-
lastMonth: "Last month",
|
|
49
|
-
nextMonth: "Next month",
|
|
50
|
-
monthsView: "Show detailed month view",
|
|
51
|
-
toDaysView: "Switch to the day selection",
|
|
52
|
-
toMonthsView: "Switch to the month selection",
|
|
53
|
-
toYearsView: "switch to the selection of the years",
|
|
54
|
-
},
|
|
55
|
-
hours: "Hours",
|
|
56
|
-
minutes: "Minutes",
|
|
57
|
-
seconds: "Seconds",
|
|
58
|
-
headerYears: (firstYear, lastYear) => `${ firstYear } to ${ lastYear }`,
|
|
59
|
-
},
|
|
60
|
-
ru: {
|
|
61
|
-
days: [
|
|
62
|
-
{
|
|
63
|
-
shortName: "Вс",
|
|
64
|
-
longName: "Воскресенье",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
shortName: "Пн",
|
|
68
|
-
longName: "Понедельник",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
shortName: "Вт",
|
|
72
|
-
longName: "Вторник",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
shortName: "Ср",
|
|
76
|
-
longName: "Среда",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
shortName: "Чт",
|
|
80
|
-
longName: "Четверг",
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
shortName: "Пт",
|
|
84
|
-
longName: "Пятница",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
shortName: "Сб",
|
|
88
|
-
longName: "Суббота",
|
|
89
|
-
},
|
|
90
|
-
],
|
|
91
|
-
months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
|
|
92
|
-
pickers: ["след. 7 дней", "след. 30 дней", "прош. 7 дней", "прош. 30 дней"],
|
|
93
|
-
placeholder: {
|
|
94
|
-
date: "Введите дату в формате ДД.ММ.ГГГГ",
|
|
95
|
-
time: "Enter время in format ЧЧ.ММ",
|
|
96
|
-
dateRange: "Выберите период",
|
|
97
|
-
regionDate: "Выбор даты",
|
|
98
|
-
regionTime: "Выбор времени",
|
|
99
|
-
},
|
|
100
|
-
today: "Сегодня",
|
|
101
|
-
buttons: {
|
|
102
|
-
lastYear: "Предыдущий год",
|
|
103
|
-
lastYears: "Предыдущие 10 лет",
|
|
104
|
-
nextYear: "Следующий год",
|
|
105
|
-
nextYears: "Следующие 10 лет",
|
|
106
|
-
lastMonth: "Предыдущий месяц",
|
|
107
|
-
nextMonth: "Следующий месяц",
|
|
108
|
-
toDaysView: "Перейти к выбору дня",
|
|
109
|
-
toMonthsView: "Перейти к выбору месяца",
|
|
110
|
-
toYearsView: "Перейти к выбору года",
|
|
111
|
-
},
|
|
112
|
-
hours: "Часы",
|
|
113
|
-
minutes: "Минуты",
|
|
114
|
-
seconds: "Секунды",
|
|
115
|
-
headerYears: (firstYear, lastYear) => `с ${ firstYear } по ${ lastYear }`,
|
|
116
|
-
},
|
|
117
|
-
de: {
|
|
118
|
-
days: [
|
|
119
|
-
{
|
|
120
|
-
shortName: "So",
|
|
121
|
-
longName: "Sontag",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
shortName: "Mo",
|
|
125
|
-
longName: "Montag",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
shortName: "Di",
|
|
129
|
-
longName: "Dienstag",
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
shortName: "Mi",
|
|
133
|
-
longName: "Mittwoch",
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
shortName: "Do",
|
|
137
|
-
longName: "Donnerstag",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
shortName: "Fr",
|
|
141
|
-
longName: "Freitag",
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
shortName: "Sa",
|
|
145
|
-
longName: "Samstag",
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
|
|
149
|
-
pickers: ["nächste 7 Tage", "nächste 30 Tage", "vorige 7 Tage", "vorige 30 Tage"],
|
|
150
|
-
placeholder: {
|
|
151
|
-
date: "Datum im Format TT.MM.JJJJ eingeben",
|
|
152
|
-
time: "Zeit im Format HH.MM eingeben",
|
|
153
|
-
dateRange: "Zeitraum auswählen",
|
|
154
|
-
regionDate: "Datumsauswahl",
|
|
155
|
-
regionTime: "Zeitauswahl",
|
|
156
|
-
},
|
|
157
|
-
today: "Heute",
|
|
158
|
-
buttons: {
|
|
159
|
-
lastYear: "Voriges Jahr",
|
|
160
|
-
lastYears: "Vorige 10 Jahre",
|
|
161
|
-
nextYear: "Nächstes Jahr",
|
|
162
|
-
nextYears: "Nächste 10 Jahre",
|
|
163
|
-
lastMonth: "Voriger Monat",
|
|
164
|
-
nextMonth: "Nächster Monat",
|
|
165
|
-
toDaysView: "Zur Auswahl der Tage wechseln",
|
|
166
|
-
toMonthsView: "Zur Auswahl der Monate wechseln",
|
|
167
|
-
toYearsView: "Zur Auswahl der Jahre wechseln",
|
|
168
|
-
},
|
|
169
|
-
hours: "Stunden",
|
|
170
|
-
minutes: "Minuten",
|
|
171
|
-
seconds: "Sekunden",
|
|
172
|
-
headerYears: (firstYear, lastYear) => `${ firstYear } bis ${ lastYear }`,
|
|
173
|
-
},
|
|
174
|
-
};
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
days: [
|
|
4
|
+
{
|
|
5
|
+
shortName: "Sun",
|
|
6
|
+
longName: "Sunday",
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
shortName: "Mon",
|
|
10
|
+
longName: "Monday",
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
shortName: "Tue",
|
|
14
|
+
longName: "Tuesday",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
shortName: "Wed",
|
|
18
|
+
longName: "Wednesday",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
shortName: "Thu",
|
|
22
|
+
longName: "Thursday",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
shortName: "Fri",
|
|
26
|
+
longName: "Friday",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
shortName: "Sat",
|
|
30
|
+
longName: "Saturday",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
|
34
|
+
pickers: ["next 7 days", "next 30 days", "previous 7 days", "previous 30 days"],
|
|
35
|
+
placeholder: {
|
|
36
|
+
date: "Enter date in format DD.MM.YYYY",
|
|
37
|
+
time: "Enter time in format HH:MM",
|
|
38
|
+
dateRange: "Select Date Range",
|
|
39
|
+
regionDate: "Date picker",
|
|
40
|
+
regionTime: "Time picker",
|
|
41
|
+
},
|
|
42
|
+
today: "today",
|
|
43
|
+
buttons: {
|
|
44
|
+
lastYear: "Last year",
|
|
45
|
+
lastYears: "Last 10 years",
|
|
46
|
+
nextYear: "Next year",
|
|
47
|
+
nextYears: "Next 10 years",
|
|
48
|
+
lastMonth: "Last month",
|
|
49
|
+
nextMonth: "Next month",
|
|
50
|
+
monthsView: "Show detailed month view",
|
|
51
|
+
toDaysView: "Switch to the day selection",
|
|
52
|
+
toMonthsView: "Switch to the month selection",
|
|
53
|
+
toYearsView: "switch to the selection of the years",
|
|
54
|
+
},
|
|
55
|
+
hours: "Hours",
|
|
56
|
+
minutes: "Minutes",
|
|
57
|
+
seconds: "Seconds",
|
|
58
|
+
headerYears: (firstYear, lastYear) => `${ firstYear } to ${ lastYear }`,
|
|
59
|
+
},
|
|
60
|
+
ru: {
|
|
61
|
+
days: [
|
|
62
|
+
{
|
|
63
|
+
shortName: "Вс",
|
|
64
|
+
longName: "Воскресенье",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
shortName: "Пн",
|
|
68
|
+
longName: "Понедельник",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
shortName: "Вт",
|
|
72
|
+
longName: "Вторник",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
shortName: "Ср",
|
|
76
|
+
longName: "Среда",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
shortName: "Чт",
|
|
80
|
+
longName: "Четверг",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
shortName: "Пт",
|
|
84
|
+
longName: "Пятница",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
shortName: "Сб",
|
|
88
|
+
longName: "Суббота",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
|
|
92
|
+
pickers: ["след. 7 дней", "след. 30 дней", "прош. 7 дней", "прош. 30 дней"],
|
|
93
|
+
placeholder: {
|
|
94
|
+
date: "Введите дату в формате ДД.ММ.ГГГГ",
|
|
95
|
+
time: "Enter время in format ЧЧ.ММ",
|
|
96
|
+
dateRange: "Выберите период",
|
|
97
|
+
regionDate: "Выбор даты",
|
|
98
|
+
regionTime: "Выбор времени",
|
|
99
|
+
},
|
|
100
|
+
today: "Сегодня",
|
|
101
|
+
buttons: {
|
|
102
|
+
lastYear: "Предыдущий год",
|
|
103
|
+
lastYears: "Предыдущие 10 лет",
|
|
104
|
+
nextYear: "Следующий год",
|
|
105
|
+
nextYears: "Следующие 10 лет",
|
|
106
|
+
lastMonth: "Предыдущий месяц",
|
|
107
|
+
nextMonth: "Следующий месяц",
|
|
108
|
+
toDaysView: "Перейти к выбору дня",
|
|
109
|
+
toMonthsView: "Перейти к выбору месяца",
|
|
110
|
+
toYearsView: "Перейти к выбору года",
|
|
111
|
+
},
|
|
112
|
+
hours: "Часы",
|
|
113
|
+
minutes: "Минуты",
|
|
114
|
+
seconds: "Секунды",
|
|
115
|
+
headerYears: (firstYear, lastYear) => `с ${ firstYear } по ${ lastYear }`,
|
|
116
|
+
},
|
|
117
|
+
de: {
|
|
118
|
+
days: [
|
|
119
|
+
{
|
|
120
|
+
shortName: "So",
|
|
121
|
+
longName: "Sontag",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
shortName: "Mo",
|
|
125
|
+
longName: "Montag",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
shortName: "Di",
|
|
129
|
+
longName: "Dienstag",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
shortName: "Mi",
|
|
133
|
+
longName: "Mittwoch",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
shortName: "Do",
|
|
137
|
+
longName: "Donnerstag",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
shortName: "Fr",
|
|
141
|
+
longName: "Freitag",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
shortName: "Sa",
|
|
145
|
+
longName: "Samstag",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
|
|
149
|
+
pickers: ["nächste 7 Tage", "nächste 30 Tage", "vorige 7 Tage", "vorige 30 Tage"],
|
|
150
|
+
placeholder: {
|
|
151
|
+
date: "Datum im Format TT.MM.JJJJ eingeben",
|
|
152
|
+
time: "Zeit im Format HH.MM eingeben",
|
|
153
|
+
dateRange: "Zeitraum auswählen",
|
|
154
|
+
regionDate: "Datumsauswahl",
|
|
155
|
+
regionTime: "Zeitauswahl",
|
|
156
|
+
},
|
|
157
|
+
today: "Heute",
|
|
158
|
+
buttons: {
|
|
159
|
+
lastYear: "Voriges Jahr",
|
|
160
|
+
lastYears: "Vorige 10 Jahre",
|
|
161
|
+
nextYear: "Nächstes Jahr",
|
|
162
|
+
nextYears: "Nächste 10 Jahre",
|
|
163
|
+
lastMonth: "Voriger Monat",
|
|
164
|
+
nextMonth: "Nächster Monat",
|
|
165
|
+
toDaysView: "Zur Auswahl der Tage wechseln",
|
|
166
|
+
toMonthsView: "Zur Auswahl der Monate wechseln",
|
|
167
|
+
toYearsView: "Zur Auswahl der Jahre wechseln",
|
|
168
|
+
},
|
|
169
|
+
hours: "Stunden",
|
|
170
|
+
minutes: "Minuten",
|
|
171
|
+
seconds: "Sekunden",
|
|
172
|
+
headerYears: (firstYear, lastYear) => `${ firstYear } bis ${ lastYear }`,
|
|
173
|
+
},
|
|
174
|
+
};
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EventBus,
|
|
3
|
-
} from "aloha-vue";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export default {
|
|
7
|
-
props: {
|
|
8
|
-
id: {
|
|
9
|
-
type: String,
|
|
10
|
-
required: true,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
computed: {
|
|
14
|
-
idForHeader() {
|
|
15
|
-
return `${ this.id }_header`;
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
nameForEventBusDestroyKeyDownEvent() {
|
|
19
|
-
return `${ this.id }DestroyKeyDown`;
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
attributesForMainElement() {
|
|
23
|
-
if (this.idForFocus) {
|
|
24
|
-
return {
|
|
25
|
-
"aria-activedescendant": this.idForFocus,
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
created() {
|
|
31
|
-
this.setEventBus();
|
|
32
|
-
},
|
|
33
|
-
beforeUnmount() {
|
|
34
|
-
this.destroyEventBus();
|
|
35
|
-
this.destroyListenerForPressButtons();
|
|
36
|
-
},
|
|
37
|
-
methods: {
|
|
38
|
-
setEventBus() {
|
|
39
|
-
EventBus.$on(this.nameForEventBusDestroyKeyDownEvent, this.destroyListenerForPressButtons);
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
emitEventBusDestroyAllListenerForPressButtonsForPanels() {
|
|
43
|
-
EventBus.$emit(this.nameForEventBusDestroyKeyDownEvent);
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
destroyEventBus() {
|
|
47
|
-
EventBus.$off(this.nameForEventBusDestroyKeyDownEvent, this.destroyListenerForPressButtons);
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
setListenerForPressButtons() {
|
|
51
|
-
document.addEventListener("keydown", this.pressButton);
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
destroyListenerForPressButtons() {
|
|
55
|
-
document.removeEventListener("keydown", this.pressButton);
|
|
56
|
-
this.destroyListenerForPressButtonsCallback();
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
stopCurrentEvent($event) {
|
|
60
|
-
$event.preventDefault();
|
|
61
|
-
$event.stopPropagation();
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
setFocusToElementWithTimeout(idForFocusElement) {
|
|
65
|
-
setTimeout(() => {
|
|
66
|
-
const ELEMENT = document.getElementById(idForFocusElement);
|
|
67
|
-
if (ELEMENT) {
|
|
68
|
-
ELEMENT.focus();
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
destroyListenerForPressButtonsCallback() {
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
};
|
|
1
|
+
import {
|
|
2
|
+
EventBus,
|
|
3
|
+
} from "aloha-vue";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
props: {
|
|
8
|
+
id: {
|
|
9
|
+
type: String,
|
|
10
|
+
required: true,
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
computed: {
|
|
14
|
+
idForHeader() {
|
|
15
|
+
return `${ this.id }_header`;
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
nameForEventBusDestroyKeyDownEvent() {
|
|
19
|
+
return `${ this.id }DestroyKeyDown`;
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
attributesForMainElement() {
|
|
23
|
+
if (this.idForFocus) {
|
|
24
|
+
return {
|
|
25
|
+
"aria-activedescendant": this.idForFocus,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
created() {
|
|
31
|
+
this.setEventBus();
|
|
32
|
+
},
|
|
33
|
+
beforeUnmount() {
|
|
34
|
+
this.destroyEventBus();
|
|
35
|
+
this.destroyListenerForPressButtons();
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
setEventBus() {
|
|
39
|
+
EventBus.$on(this.nameForEventBusDestroyKeyDownEvent, this.destroyListenerForPressButtons);
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
emitEventBusDestroyAllListenerForPressButtonsForPanels() {
|
|
43
|
+
EventBus.$emit(this.nameForEventBusDestroyKeyDownEvent);
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
destroyEventBus() {
|
|
47
|
+
EventBus.$off(this.nameForEventBusDestroyKeyDownEvent, this.destroyListenerForPressButtons);
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
setListenerForPressButtons() {
|
|
51
|
+
document.addEventListener("keydown", this.pressButton);
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
destroyListenerForPressButtons() {
|
|
55
|
+
document.removeEventListener("keydown", this.pressButton);
|
|
56
|
+
this.destroyListenerForPressButtonsCallback();
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
stopCurrentEvent($event) {
|
|
60
|
+
$event.preventDefault();
|
|
61
|
+
$event.stopPropagation();
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
setFocusToElementWithTimeout(idForFocusElement) {
|
|
65
|
+
setTimeout(() => {
|
|
66
|
+
const ELEMENT = document.getElementById(idForFocusElement);
|
|
67
|
+
if (ELEMENT) {
|
|
68
|
+
ELEMENT.focus();
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
destroyListenerForPressButtonsCallback() {
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
table.pux_datepicker__panel.pux_datepicker__panel_date(
|
|
2
|
-
role="grid"
|
|
3
|
-
aria-readonly="true"
|
|
4
|
-
:aria-labelledby="idForHeader"
|
|
5
|
-
v-bind="attributesForMainElement"
|
|
6
|
-
)
|
|
7
|
-
thead(
|
|
8
|
-
)
|
|
9
|
-
tr(
|
|
10
|
-
)
|
|
11
|
-
th(
|
|
12
|
-
v-for="(thData, thIndex) in ths"
|
|
13
|
-
:key="thIndex"
|
|
14
|
-
scope="col"
|
|
15
|
-
:aria-label="thData.longName"
|
|
16
|
-
) {{ thData.shortName }}
|
|
17
|
-
tbody(
|
|
18
|
-
)
|
|
19
|
-
tr(
|
|
20
|
-
v-for="(tdList, tdListIndex) in trsWithTds"
|
|
21
|
-
:key="tdListIndex"
|
|
22
|
-
)
|
|
23
|
-
td.cell(
|
|
24
|
-
v-for="(tdData, tdDataIndex) in tdList"
|
|
25
|
-
:key="tdDataIndex"
|
|
26
|
-
:class="[tdData.class, { pux_datepicker__panel__cell_focus: tdData.id === idForFocus }]"
|
|
27
|
-
)
|
|
28
|
-
a-button.pux_datepicker__panel__button(
|
|
29
|
-
:id="tdData.id"
|
|
30
|
-
tabindex="-1"
|
|
31
|
-
aria-hidden="true"
|
|
32
|
-
:aria-selected="tdData.isCurrentMonth && tdData.label === dayFromValue ? 'true' : 'false'"
|
|
33
|
-
@click="selectDate(tdData.date)"
|
|
34
|
-
)
|
|
35
|
-
span(
|
|
36
|
-
aria-hidden="true"
|
|
37
|
-
) {{ tdData.label }}
|
|
38
|
-
span.sr-only {{ tdData.fullDate }}
|
|
39
|
-
span.sr-only(
|
|
40
|
-
v-if="tdData.isToday"
|
|
41
|
-
) {{ todayTranslate }}
|
|
1
|
+
table.pux_datepicker__panel.pux_datepicker__panel_date(
|
|
2
|
+
role="grid"
|
|
3
|
+
aria-readonly="true"
|
|
4
|
+
:aria-labelledby="idForHeader"
|
|
5
|
+
v-bind="attributesForMainElement"
|
|
6
|
+
)
|
|
7
|
+
thead(
|
|
8
|
+
)
|
|
9
|
+
tr(
|
|
10
|
+
)
|
|
11
|
+
th(
|
|
12
|
+
v-for="(thData, thIndex) in ths"
|
|
13
|
+
:key="thIndex"
|
|
14
|
+
scope="col"
|
|
15
|
+
:aria-label="thData.longName"
|
|
16
|
+
) {{ thData.shortName }}
|
|
17
|
+
tbody(
|
|
18
|
+
)
|
|
19
|
+
tr(
|
|
20
|
+
v-for="(tdList, tdListIndex) in trsWithTds"
|
|
21
|
+
:key="tdListIndex"
|
|
22
|
+
)
|
|
23
|
+
td.cell(
|
|
24
|
+
v-for="(tdData, tdDataIndex) in tdList"
|
|
25
|
+
:key="tdDataIndex"
|
|
26
|
+
:class="[tdData.class, { pux_datepicker__panel__cell_focus: tdData.id === idForFocus }]"
|
|
27
|
+
)
|
|
28
|
+
a-button.pux_datepicker__panel__button(
|
|
29
|
+
:id="tdData.id"
|
|
30
|
+
tabindex="-1"
|
|
31
|
+
aria-hidden="true"
|
|
32
|
+
:aria-selected="tdData.isCurrentMonth && tdData.label === dayFromValue ? 'true' : 'false'"
|
|
33
|
+
@click="selectDate(tdData.date)"
|
|
34
|
+
)
|
|
35
|
+
span(
|
|
36
|
+
aria-hidden="true"
|
|
37
|
+
) {{ tdData.label }}
|
|
38
|
+
span.sr-only {{ tdData.fullDate }}
|
|
39
|
+
span.sr-only(
|
|
40
|
+
v-if="tdData.isToday"
|
|
41
|
+
) {{ todayTranslate }}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<template lang="pug" src="./PanelDate.pug"></template>
|
|
2
|
-
<script src="./PanelDate.js"></script>
|
|
1
|
+
<template lang="pug" src="./PanelDate.pug"></template>
|
|
2
|
+
<script src="./PanelDate.js"></script>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
ul.pux_datepicker__panel.pux_datepicker__panel_month.pux_datepicker__panel__list(
|
|
2
|
-
role="listbox"
|
|
3
|
-
:aria-labelledby="idForHeader"
|
|
4
|
-
v-bind="attributesForMainElement"
|
|
5
|
-
)
|
|
6
|
-
li.cell(
|
|
7
|
-
v-for="(month, monthIndex) in months"
|
|
8
|
-
:id="month.id"
|
|
9
|
-
:key="month.id"
|
|
10
|
-
:class="{ actived: month.isActive, disabled: month.isDisabled, pux_datepicker__panel__cell_focus: monthIndex === monthIndexForFocus }"
|
|
11
|
-
role="option"
|
|
12
|
-
:aria-selected="month.isActive ? 'true' : 'false'"
|
|
13
|
-
tabindex="-1"
|
|
14
|
-
@click="selectMonth(monthIndex)"
|
|
15
|
-
@keypress.enter.space.prevent.stop="selectMonth(monthIndex, true)"
|
|
16
|
-
) {{ month.label }}
|
|
1
|
+
ul.pux_datepicker__panel.pux_datepicker__panel_month.pux_datepicker__panel__list(
|
|
2
|
+
role="listbox"
|
|
3
|
+
:aria-labelledby="idForHeader"
|
|
4
|
+
v-bind="attributesForMainElement"
|
|
5
|
+
)
|
|
6
|
+
li.cell(
|
|
7
|
+
v-for="(month, monthIndex) in months"
|
|
8
|
+
:id="month.id"
|
|
9
|
+
:key="month.id"
|
|
10
|
+
:class="{ actived: month.isActive, disabled: month.isDisabled, pux_datepicker__panel__cell_focus: monthIndex === monthIndexForFocus }"
|
|
11
|
+
role="option"
|
|
12
|
+
:aria-selected="month.isActive ? 'true' : 'false'"
|
|
13
|
+
tabindex="-1"
|
|
14
|
+
@click="selectMonth(monthIndex)"
|
|
15
|
+
@keypress.enter.space.prevent.stop="selectMonth(monthIndex, true)"
|
|
16
|
+
) {{ month.label }}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<template lang="pug" src="./PanelMonth.pug"></template>
|
|
2
|
-
<script src="./PanelMonth.js"></script>
|
|
1
|
+
<template lang="pug" src="./PanelMonth.pug"></template>
|
|
2
|
+
<script src="./PanelMonth.js"></script>
|