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.
Files changed (245) hide show
  1. package/CHANGELOG.md +1215 -1200
  2. package/README.md +117 -117
  3. package/dist/aloha-vue.css +13827 -13601
  4. package/dist/aloha-vue.css.map +1 -1
  5. package/dist/aloha-vue.es.js +60235 -57401
  6. package/dist/aloha-vue.umd.js +319 -319
  7. package/package.json +1 -1
  8. package/scss/components/AButton.scss +6 -6
  9. package/scss/components/ADivider.scss +9 -9
  10. package/scss/components/AElement.scss +6 -6
  11. package/scss/components/AGroupButtonDropdown.scss +4 -4
  12. package/scss/components/AIcon.scss +17 -17
  13. package/scss/components/ALoading.scss +18 -18
  14. package/scss/components/AMenu.scss +634 -634
  15. package/scss/components/AProgressCirle.scss +43 -43
  16. package/scss/components/AShowMore.scss +9 -9
  17. package/scss/components/ATableForm.scss +7 -7
  18. package/scss/components/ATabs.scss +186 -186
  19. package/scss/components/ui/AColorPicker.scss +243 -0
  20. package/scss/components/ui/AJson.scss +11 -11
  21. package/scss/components/ui/ui.scss +1 -0
  22. package/scss/text/text_line_height.scss +17 -17
  23. package/scss/text/text_size.scss +88 -88
  24. package/scss/utils/acordion.scss +173 -173
  25. package/scss/utils/alert.scss +81 -81
  26. package/scss/utils/aloha_prefix.scss +1 -1
  27. package/scss/utils/backdrop.scss +24 -24
  28. package/scss/utils/border.scss +65 -65
  29. package/scss/utils/breakpoint.scss +48 -48
  30. package/scss/utils/button_close.scss +22 -22
  31. package/scss/utils/button_group.scss +69 -69
  32. package/scss/utils/color_utils.scss +234 -234
  33. package/scss/utils/display.scss +67 -67
  34. package/scss/utils/flex.scss +141 -141
  35. package/scss/utils/float.scss +10 -10
  36. package/scss/utils/global.scss +44 -44
  37. package/scss/utils/global_variables.scss +26 -26
  38. package/scss/utils/grid.scss +95 -95
  39. package/scss/utils/list_columns.scss +31 -31
  40. package/scss/utils/list_group.scss +127 -127
  41. package/scss/utils/notification.scss +36 -36
  42. package/scss/utils/overflow.scss +40 -40
  43. package/scss/utils/pagination.scss +94 -94
  44. package/scss/utils/position.scss +90 -90
  45. package/scss/utils/progress.scss +70 -70
  46. package/scss/utils/screenreader.scss +16 -16
  47. package/scss/utils/spinner.scss +35 -35
  48. package/scss/utils/utils.scss +19 -19
  49. package/scss/utils/vars_global.scss +12 -12
  50. package/src/AAlert/i18n/AAlertI18n.js +4 -0
  51. package/src/AAlert/i18n/nl.json +3 -0
  52. package/src/AAlert/i18n/pl.json +3 -0
  53. package/src/ACarousel/i18n/ACarouselI18n.js +4 -0
  54. package/src/ACarousel/i18n/nl.json +9 -0
  55. package/src/ACarousel/i18n/pl.json +9 -0
  56. package/src/ACloak/i18n/ACloakI18n.js +4 -0
  57. package/src/ACloak/i18n/nl.json +3 -0
  58. package/src/ACloak/i18n/pl.json +3 -0
  59. package/src/ADisclosure/i18n/ADisclosureI18n.js +4 -0
  60. package/src/ADisclosure/i18n/nl.json +4 -0
  61. package/src/ADisclosure/i18n/pl.json +4 -0
  62. package/src/AFilters/i18n/AFiltersI18n.js +4 -0
  63. package/src/AFilters/i18n/nl.json +30 -0
  64. package/src/AFilters/i18n/pl.json +30 -0
  65. package/src/AGroupButtonDropdown/AGroupButtonDropdown.js +119 -119
  66. package/src/ALinkCopy/i18n/ALinkCopyI18n.js +4 -0
  67. package/src/ALinkCopy/i18n/nl.json +4 -0
  68. package/src/ALinkCopy/i18n/pl.json +4 -0
  69. package/src/ALoading/i18n/ALoadingI18n.js +4 -0
  70. package/src/ALoading/i18n/nl.json +3 -0
  71. package/src/ALoading/i18n/pl.json +3 -0
  72. package/src/AMenu/i18n/AMenu2I18n.js +4 -0
  73. package/src/AMenu/i18n/nl.json +14 -0
  74. package/src/AMenu/i18n/pl.json +14 -0
  75. package/src/AModal/compositionAPI/ZIndexAPI.js +48 -48
  76. package/src/AModal/i18n/AModalI18n.js +4 -0
  77. package/src/AModal/i18n/nl.json +7 -0
  78. package/src/AModal/i18n/pl.json +7 -0
  79. package/src/APagination/i18n/APaginationI18n.js +4 -0
  80. package/src/APagination/i18n/nl.json +12 -0
  81. package/src/APagination/i18n/pl.json +12 -0
  82. package/src/AProgress/AProgress.js +141 -141
  83. package/src/AProgressCircle/AProgressCircle.js +160 -160
  84. package/src/AShowMore/i18n/AShowMoreI18n.js +4 -0
  85. package/src/AShowMore/i18n/nl.json +6 -0
  86. package/src/AShowMore/i18n/pl.json +6 -0
  87. package/src/ASpinner/i18n/ASpinnerI18n.js +4 -0
  88. package/src/ASpinner/i18n/nl.json +3 -0
  89. package/src/ASpinner/i18n/pl.json +3 -0
  90. package/src/ATable/ATableHeaderTh/ATableHeaderTh.js +188 -188
  91. package/src/ATable/i18n/ATableI18n.js +4 -0
  92. package/src/ATable/i18n/nl.json +54 -0
  93. package/src/ATable/i18n/pl.json +54 -0
  94. package/src/ATableForm/i18n/ATableFormI18n.js +4 -0
  95. package/src/ATableForm/i18n/nl.json +18 -0
  96. package/src/ATableForm/i18n/pl.json +18 -0
  97. package/src/ATranslation/compositionAPI/UtilsAPI.js +6 -1
  98. package/src/ATranslation/compositionAPI/__tests__/UtilsAPI.getTranslatedText.test.js +38 -0
  99. package/src/AVerticalScroll/i18n/AVerticalScrollI18n.js +4 -0
  100. package/src/AVerticalScroll/i18n/nl.json +4 -0
  101. package/src/AVerticalScroll/i18n/pl.json +4 -0
  102. package/src/AWizard/i18n/AWizardI18n.js +4 -0
  103. package/src/AWizard/i18n/nl.json +16 -0
  104. package/src/AWizard/i18n/pl.json +16 -0
  105. package/src/PVP/new.txt +39 -39
  106. package/src/PuxDatepicker/PuxDatepicker.js +670 -670
  107. package/src/PuxDatepicker/PuxDatepicker.pug +131 -131
  108. package/src/PuxDatepicker/PuxDatepicker.vue +2 -2
  109. package/src/PuxDatepicker/PuxDatepickerCalendarPanel/PuxDatepickerCalendarPanel.pug +136 -136
  110. package/src/PuxDatepicker/PuxDatepickerCalendarPanel/PuxDatepickerCalendarPanel.vue +2 -2
  111. package/src/PuxDatepicker/PuxDatepickerIcon/PuxDatepickerIcon.js +30 -30
  112. package/src/PuxDatepicker/PuxDatepickerIcon/PuxDatepickerIcon.pug +6 -6
  113. package/src/PuxDatepicker/PuxDatepickerIcon/PuxDatepickerIcon.vue +2 -2
  114. package/src/PuxDatepicker/locale/languages.js +174 -174
  115. package/src/PuxDatepicker/mixins/PanelMixin.js +76 -76
  116. package/src/PuxDatepicker/panel/PanelDate/PanelDate.pug +41 -41
  117. package/src/PuxDatepicker/panel/PanelDate/PanelDate.vue +2 -2
  118. package/src/PuxDatepicker/panel/PanelMonth/PanelMonth.pug +16 -16
  119. package/src/PuxDatepicker/panel/PanelMonth/PanelMonth.vue +2 -2
  120. package/src/PuxDatepicker/panel/PanelTime/PanelTime.pug +20 -20
  121. package/src/PuxDatepicker/panel/PanelTime/PanelTime.vue +2 -2
  122. package/src/PuxDatepicker/panel/PanelYear/PanelYear.pug +16 -16
  123. package/src/PuxDatepicker/panel/PanelYear/PanelYear.vue +2 -2
  124. package/src/PuxDatepicker/panel/PanelYearItem/PanelYearItem.js +55 -55
  125. package/src/PuxDatepicker/panel/PanelYearItem/PanelYearItem.pug +9 -9
  126. package/src/PuxDatepicker/panel/PanelYearItem/PanelYearItem.vue +2 -2
  127. package/src/PuxDatepicker/utils/keysCode.js +9 -9
  128. package/src/PuxDatepicker/utils/scroll-into-view.js +23 -23
  129. package/src/PuxDatepicker/utils/transform.js +23 -23
  130. package/src/filters/i18n/Filters18n.js +4 -0
  131. package/src/filters/i18n/nl.json +11 -0
  132. package/src/filters/i18n/pl.json +11 -0
  133. package/src/i18n/allLanguages.js +96 -0
  134. package/src/i18n/nl.json +4 -0
  135. package/src/i18n/pl.json +4 -0
  136. package/src/index.js +4 -0
  137. package/src/ui/ACheckbox/ACheckbox.js +5 -0
  138. package/src/ui/ACheckbox/i18n/ACheckboxI18n.js +4 -0
  139. package/src/ui/ACheckbox/i18n/nl.json +5 -0
  140. package/src/ui/ACheckbox/i18n/pl.json +5 -0
  141. package/src/ui/AColorPicker/AColorPicker.js +743 -0
  142. package/src/ui/AColorPicker/AColorPickerSaturation/AColorPickerSaturation.js +102 -0
  143. package/src/ui/AColorPicker/AColorPickerSaturation/compositionAPI/SaturationAPI.js +77 -0
  144. package/src/ui/AColorPicker/AColorPickerSlider/AColorPickerSlider.js +125 -0
  145. package/src/ui/AColorPicker/AColorPickerSlider/compositionAPI/SliderAPI.js +73 -0
  146. package/src/ui/AColorPicker/__tests__/AColorPicker.test.js +204 -0
  147. package/src/ui/AColorPicker/__tests__/colorUtils.test.js +104 -0
  148. package/src/ui/AColorPicker/compositionAPI/ColorStateAPI.js +133 -0
  149. package/src/ui/AColorPicker/compositionAPI/ConfirmAPI.js +36 -0
  150. package/src/ui/AColorPicker/compositionAPI/FormatAPI.js +59 -0
  151. package/src/ui/AColorPicker/compositionAPI/InputAPI.js +63 -0
  152. package/src/ui/AColorPicker/compositionAPI/KeyboardStepAPI.js +42 -0
  153. package/src/ui/AColorPicker/compositionAPI/PointerDragAPI.js +70 -0
  154. package/src/ui/AColorPicker/compositionAPI/PopoverAPI.js +196 -0
  155. package/src/ui/AColorPicker/compositionAPI/PredefineAPI.js +42 -0
  156. package/src/ui/AColorPicker/compositionAPI/ToggleClassAPI.js +24 -0
  157. package/src/ui/AColorPicker/i18n/AColorPickerI18n.js +25 -0
  158. package/src/ui/AColorPicker/i18n/ar.json +14 -0
  159. package/src/ui/AColorPicker/i18n/de.json +14 -0
  160. package/src/ui/AColorPicker/i18n/en.json +14 -0
  161. package/src/ui/AColorPicker/i18n/es.json +14 -0
  162. package/src/ui/AColorPicker/i18n/fr.json +14 -0
  163. package/src/ui/AColorPicker/i18n/hr.json +14 -0
  164. package/src/ui/AColorPicker/i18n/it.json +14 -0
  165. package/src/ui/AColorPicker/i18n/nl.json +14 -0
  166. package/src/ui/AColorPicker/i18n/pl.json +14 -0
  167. package/src/ui/AColorPicker/i18n/ru.json +14 -0
  168. package/src/ui/AColorPicker/i18n/uk.json +14 -0
  169. package/src/ui/AColorPicker/utils/colorUtils.js +296 -0
  170. package/src/ui/ADatepicker/ADatepickerCalendarPanel/ADatepickerCalendarPanel.js +68 -68
  171. package/src/ui/ADatepicker/i18n/ADatepickerI18n.js +4 -0
  172. package/src/ui/ADatepicker/i18n/nl.json +58 -0
  173. package/src/ui/ADatepicker/i18n/pl.json +58 -0
  174. package/src/ui/ADatepicker/panel/APanelTime/APanelTime.js +147 -147
  175. package/src/ui/ADatepicker/panel/APanelYear/APanelYear.js +123 -123
  176. package/src/ui/ADatepickerAlt/ADatepickerCalendarPanel/ADatepickerCalendarPanel.js +804 -804
  177. package/src/ui/ADatepickerAlt/panel/APanelDate/APanelDate.js +353 -353
  178. package/src/ui/ADatepickerAlt/panel/APanelMonth/APanelMonth.js +187 -187
  179. package/src/ui/ADatepickerAlt/panel/APanelTime/APanelTime.js +303 -303
  180. package/src/ui/ADatepickerAlt/panel/APanelYear/APanelYear.js +162 -162
  181. package/src/ui/ADatepickerRange/i18n/ADatepickerRangeI18n.js +4 -0
  182. package/src/ui/ADatepickerRange/i18n/nl.json +4 -0
  183. package/src/ui/ADatepickerRange/i18n/pl.json +4 -0
  184. package/src/ui/AErrors/i18n/AErrorsI18n.js +4 -0
  185. package/src/ui/AErrors/i18n/nl.json +3 -0
  186. package/src/ui/AErrors/i18n/pl.json +3 -0
  187. package/src/ui/AFieldset/__tests__/AFieldset.ClassColumn.test.js +1 -0
  188. package/src/ui/AFieldset/i18n/AFieldsetI18n.js +4 -0
  189. package/src/ui/AFieldset/i18n/nl.json +4 -0
  190. package/src/ui/AFieldset/i18n/pl.json +4 -0
  191. package/src/ui/AFormElementBtnClear/i18n/AFormElementBtnClearI18n.js +4 -0
  192. package/src/ui/AFormElementBtnClear/i18n/nl.json +3 -0
  193. package/src/ui/AFormElementBtnClear/i18n/pl.json +3 -0
  194. package/src/ui/AInput/i18n/AInputI18n.js +4 -0
  195. package/src/ui/AInput/i18n/nl.json +4 -0
  196. package/src/ui/AInput/i18n/pl.json +4 -0
  197. package/src/ui/AInputCurrency/i18n/AInputCurrencyI18n.js +4 -0
  198. package/src/ui/AInputCurrency/i18n/nl.json +4 -0
  199. package/src/ui/AInputCurrency/i18n/pl.json +4 -0
  200. package/src/ui/AInputNumber/i18n/AInputNumberI18n.js +4 -0
  201. package/src/ui/AInputNumber/i18n/nl.json +4 -0
  202. package/src/ui/AInputNumber/i18n/pl.json +4 -0
  203. package/src/ui/AInputNumberRange/i18n/AInputNumberRangeI18n.js +4 -0
  204. package/src/ui/AInputNumberRange/i18n/nl.json +4 -0
  205. package/src/ui/AInputNumberRange/i18n/pl.json +4 -0
  206. package/src/ui/AJson/i18n/AJsonI18n.js +4 -0
  207. package/src/ui/AJson/i18n/nl.json +8 -0
  208. package/src/ui/AJson/i18n/pl.json +8 -0
  209. package/src/ui/AMultiselectOrdered/i18n/AMultiselectOrderedI18n.js +4 -0
  210. package/src/ui/AMultiselectOrdered/i18n/nl.json +12 -0
  211. package/src/ui/AMultiselectOrdered/i18n/pl.json +12 -0
  212. package/src/ui/ARadio/i18n/ARadioI18n.js +4 -0
  213. package/src/ui/ARadio/i18n/nl.json +5 -0
  214. package/src/ui/ARadio/i18n/pl.json +5 -0
  215. package/src/ui/ARequired/i18n/ARequiredI18n.js +4 -0
  216. package/src/ui/ARequired/i18n/nl.json +3 -0
  217. package/src/ui/ARequired/i18n/pl.json +3 -0
  218. package/src/ui/ARouterLinkConfig/i18n/ARouterLinkConfigI18n.js +4 -0
  219. package/src/ui/ARouterLinkConfig/i18n/nl.json +14 -0
  220. package/src/ui/ARouterLinkConfig/i18n/pl.json +14 -0
  221. package/src/ui/ASelect/i18n/ASelectI18n.js +4 -0
  222. package/src/ui/ASelect/i18n/ar.json +5 -5
  223. package/src/ui/ASelect/i18n/de.json +4 -4
  224. package/src/ui/ASelect/i18n/en.json +5 -5
  225. package/src/ui/ASelect/i18n/es.json +5 -5
  226. package/src/ui/ASelect/i18n/fr.json +5 -5
  227. package/src/ui/ASelect/i18n/hr.json +5 -5
  228. package/src/ui/ASelect/i18n/it.json +5 -5
  229. package/src/ui/ASelect/i18n/nl.json +11 -0
  230. package/src/ui/ASelect/i18n/pl.json +11 -0
  231. package/src/ui/ASelect/i18n/ru.json +5 -5
  232. package/src/ui/ASelectStyle/i18n/ASelectStyleI18n.js +4 -0
  233. package/src/ui/ASelectStyle/i18n/nl.json +292 -0
  234. package/src/ui/ASelectStyle/i18n/pl.json +292 -0
  235. package/src/ui/ASlider/i18n/ASliderI18n.js +4 -0
  236. package/src/ui/ASlider/i18n/nl.json +5 -0
  237. package/src/ui/ASlider/i18n/pl.json +5 -0
  238. package/src/ui/ASwitch/i18n/ASwitchI18n.js +4 -0
  239. package/src/ui/ASwitch/i18n/nl.json +5 -0
  240. package/src/ui/ASwitch/i18n/pl.json +5 -0
  241. package/src/ui/AUiComponents.js +2 -0
  242. package/src/ui/AValidatedJson/i18n/AValidatedJsonI18n.js +4 -0
  243. package/src/ui/AValidatedJson/i18n/nl.json +25 -0
  244. package/src/ui/AValidatedJson/i18n/pl.json +25 -0
  245. package/src/ui/compositionApi/__tests__/UiStyleHideAPI.test.js +9 -4
@@ -0,0 +1,58 @@
1
+ {
2
+ "_A_DATEPICKER_DAY_LONG_SUNDAY_": "zondag",
3
+ "_A_DATEPICKER_DAY_SHORT_SUNDAY_": "zo",
4
+ "_A_DATEPICKER_DAY_LONG_MONDAY_": "maandag",
5
+ "_A_DATEPICKER_DAY_SHORT_MONDAY_": "ma",
6
+ "_A_DATEPICKER_DAY_LONG_TUESDAY_": "dinsdag",
7
+ "_A_DATEPICKER_DAY_SHORT_TUESDAY_": "di",
8
+ "_A_DATEPICKER_DAY_LONG_WEDNESDAY_": "woensdag",
9
+ "_A_DATEPICKER_DAY_SHORT_WEDNESDAY_": "wo",
10
+ "_A_DATEPICKER_DAY_LONG_THURSDAY_": "donderdag",
11
+ "_A_DATEPICKER_DAY_SHORT_THURSDAY_": "do",
12
+ "_A_DATEPICKER_DAY_LONG_FRIDAY_": "vrijdag",
13
+ "_A_DATEPICKER_DAY_SHORT_FRIDAY_": "vr",
14
+ "_A_DATEPICKER_DAY_LONG_SATURDAY_": "zaterdag",
15
+ "_A_DATEPICKER_DAY_SHORT_SATURDAY_": "za",
16
+ "_A_DATEPICKER_MONTH_JANUARY_": "januari",
17
+ "_A_DATEPICKER_MONTH_FEBRUARY_": "februari",
18
+ "_A_DATEPICKER_MONTH_MARCH_": "maart",
19
+ "_A_DATEPICKER_MONTH_APRIL_": "april",
20
+ "_A_DATEPICKER_MONTH_MAY_": "mei",
21
+ "_A_DATEPICKER_MONTH_JUNE_": "juni",
22
+ "_A_DATEPICKER_MONTH_JULY_": "juli",
23
+ "_A_DATEPICKER_MONTH_AUGUST_": "augustus",
24
+ "_A_DATEPICKER_MONTH_SEPTEMBER_": "september",
25
+ "_A_DATEPICKER_MONTH_OCTOBER_": "oktober",
26
+ "_A_DATEPICKER_MONTH_NOVEMBER_": "november",
27
+ "_A_DATEPICKER_MONTH_DECEMBER_": "december",
28
+ "_A_DATEPICKER_PICKER_NEXT_7_DAYS_": "volgende 7 dagen",
29
+ "_A_DATEPICKER_PICKER_NEXT_30_DAYS_": "volgende 30 dagen",
30
+ "_A_DATEPICKER_PICKER_PREVIOUS_7_DAYS_": "vorige 7 dagen",
31
+ "_A_DATEPICKER_PICKER_PREVIOUS_30_DAYS_": "vorige 30 dagen",
32
+ "_A_DATEPICKER_PLACEHOLDER_DATE_": "Voer de datum in met het formaat DD.MM.YYYY",
33
+ "_A_DATEPICKER_PLACEHOLDER_TIME_": "Voer de tijd in met het formaat HH:MM",
34
+ "_A_DATEPICKER_PLACEHOLDER_TIME_HOUR_": "Voer de tijd in met het formaat HH",
35
+ "_A_DATEPICKER_PLACEHOLDER_TIME_MINUTE_": "Voer de tijd in met het formaat HH:MM",
36
+ "_A_DATEPICKER_PLACEHOLDER_TIME_SECOND_": "Voer de tijd in met het formaat HH:MM:SS",
37
+ "_A_DATEPICKER_PLACEHOLDER_DATETIME_HOUR_": "Voer datum en tijd in met het formaat DD.MM.YYYY HH",
38
+ "_A_DATEPICKER_PLACEHOLDER_DATETIME_MINUTE_": "Voer datum en tijd in met het formaat DD.MM.YYYY HH:MM",
39
+ "_A_DATEPICKER_PLACEHOLDER_DATETIME_SECOND_": "Voer datum en tijd in met het formaat DD.MM.YYYY HH:MM:SS",
40
+ "_A_DATEPICKER_PLACEHOLDER_DATE_RANGE_": "Datumbereik selecteren",
41
+ "_A_DATEPICKER_PLACEHOLDER_REGION_DATE_": "Datumkiezer",
42
+ "_A_DATEPICKER_PLACEHOLDER_REGION_TIME_": "Tijdkiezer",
43
+ "_A_DATEPICKER_TODAY_": "Vandaag",
44
+ "_A_DATEPICKER_BUTTON_LAST_YEAR_": "Vorig jaar",
45
+ "_A_DATEPICKER_BUTTON_LAST_YEARS_": "Afgelopen 10 jaar",
46
+ "_A_DATEPICKER_BUTTON_NEXT_YEAR_": "Volgend jaar",
47
+ "_A_DATEPICKER_BUTTON_NEXT_YEARS_": "Volgende 10 jaar",
48
+ "_A_DATEPICKER_BUTTON_LAST_MONTH_": "Vorige maand",
49
+ "_A_DATEPICKER_BUTTON_NEXT_MONTH_": "Volgende maand",
50
+ "_A_DATEPICKER_BUTTON_MONTHS_VIEW_": "Gedetailleerde maandweergave tonen",
51
+ "_A_DATEPICKER_BUTTON_TO_DAYS_VIEW_": "Overschakelen naar dagselectie",
52
+ "_A_DATEPICKER_BUTTON_TO_MONTHS_VIEW_": "Overschakelen naar maandselectie",
53
+ "_A_DATEPICKER_BUTTON_TO_YEARS_VIEW_": "Overschakelen naar jaarselectie",
54
+ "_A_DATEPICKER_HOURS_": "Uren",
55
+ "_A_DATEPICKER_MINUTES_": "Minuten",
56
+ "_A_DATEPICKER_SECONDS_": "Seconden",
57
+ "_A_DATEPICKER_HEADER_YEARS_{{firstYear}}_{{lastYear}}_": "{{ firstYear }} tot {{ lastYear }}"
58
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "_A_DATEPICKER_DAY_LONG_SUNDAY_": "niedziela",
3
+ "_A_DATEPICKER_DAY_SHORT_SUNDAY_": "nd.",
4
+ "_A_DATEPICKER_DAY_LONG_MONDAY_": "poniedziałek",
5
+ "_A_DATEPICKER_DAY_SHORT_MONDAY_": "pn.",
6
+ "_A_DATEPICKER_DAY_LONG_TUESDAY_": "wtorek",
7
+ "_A_DATEPICKER_DAY_SHORT_TUESDAY_": "wt.",
8
+ "_A_DATEPICKER_DAY_LONG_WEDNESDAY_": "środa",
9
+ "_A_DATEPICKER_DAY_SHORT_WEDNESDAY_": "śr.",
10
+ "_A_DATEPICKER_DAY_LONG_THURSDAY_": "czwartek",
11
+ "_A_DATEPICKER_DAY_SHORT_THURSDAY_": "cz.",
12
+ "_A_DATEPICKER_DAY_LONG_FRIDAY_": "piątek",
13
+ "_A_DATEPICKER_DAY_SHORT_FRIDAY_": "pt.",
14
+ "_A_DATEPICKER_DAY_LONG_SATURDAY_": "sobota",
15
+ "_A_DATEPICKER_DAY_SHORT_SATURDAY_": "sb.",
16
+ "_A_DATEPICKER_MONTH_JANUARY_": "styczeń",
17
+ "_A_DATEPICKER_MONTH_FEBRUARY_": "luty",
18
+ "_A_DATEPICKER_MONTH_MARCH_": "marzec",
19
+ "_A_DATEPICKER_MONTH_APRIL_": "kwiecień",
20
+ "_A_DATEPICKER_MONTH_MAY_": "maj",
21
+ "_A_DATEPICKER_MONTH_JUNE_": "czerwiec",
22
+ "_A_DATEPICKER_MONTH_JULY_": "lipiec",
23
+ "_A_DATEPICKER_MONTH_AUGUST_": "sierpień",
24
+ "_A_DATEPICKER_MONTH_SEPTEMBER_": "wrzesień",
25
+ "_A_DATEPICKER_MONTH_OCTOBER_": "październik",
26
+ "_A_DATEPICKER_MONTH_NOVEMBER_": "listopad",
27
+ "_A_DATEPICKER_MONTH_DECEMBER_": "grudzień",
28
+ "_A_DATEPICKER_PICKER_NEXT_7_DAYS_": "następne 7 dni",
29
+ "_A_DATEPICKER_PICKER_NEXT_30_DAYS_": "następne 30 dni",
30
+ "_A_DATEPICKER_PICKER_PREVIOUS_7_DAYS_": "poprzednie 7 dni",
31
+ "_A_DATEPICKER_PICKER_PREVIOUS_30_DAYS_": "poprzednie 30 dni",
32
+ "_A_DATEPICKER_PLACEHOLDER_DATE_": "Wprowadź datę w formacie DD.MM.YYYY",
33
+ "_A_DATEPICKER_PLACEHOLDER_TIME_": "Wprowadź godzinę w formacie HH:MM",
34
+ "_A_DATEPICKER_PLACEHOLDER_TIME_HOUR_": "Wprowadź godzinę w formacie HH",
35
+ "_A_DATEPICKER_PLACEHOLDER_TIME_MINUTE_": "Wprowadź godzinę w formacie HH:MM",
36
+ "_A_DATEPICKER_PLACEHOLDER_TIME_SECOND_": "Wprowadź godzinę w formacie HH:MM:SS",
37
+ "_A_DATEPICKER_PLACEHOLDER_DATETIME_HOUR_": "Wprowadź datę i godzinę w formacie DD.MM.YYYY HH",
38
+ "_A_DATEPICKER_PLACEHOLDER_DATETIME_MINUTE_": "Wprowadź datę i godzinę w formacie DD.MM.YYYY HH:MM",
39
+ "_A_DATEPICKER_PLACEHOLDER_DATETIME_SECOND_": "Wprowadź datę i godzinę w formacie DD.MM.YYYY HH:MM:SS",
40
+ "_A_DATEPICKER_PLACEHOLDER_DATE_RANGE_": "Wybierz zakres dat",
41
+ "_A_DATEPICKER_PLACEHOLDER_REGION_DATE_": "Wybór daty",
42
+ "_A_DATEPICKER_PLACEHOLDER_REGION_TIME_": "Wybór godziny",
43
+ "_A_DATEPICKER_TODAY_": "Dzisiaj",
44
+ "_A_DATEPICKER_BUTTON_LAST_YEAR_": "Poprzedni rok",
45
+ "_A_DATEPICKER_BUTTON_LAST_YEARS_": "Poprzednie 10 lat",
46
+ "_A_DATEPICKER_BUTTON_NEXT_YEAR_": "Następny rok",
47
+ "_A_DATEPICKER_BUTTON_NEXT_YEARS_": "Następne 10 lat",
48
+ "_A_DATEPICKER_BUTTON_LAST_MONTH_": "Poprzedni miesiąc",
49
+ "_A_DATEPICKER_BUTTON_NEXT_MONTH_": "Następny miesiąc",
50
+ "_A_DATEPICKER_BUTTON_MONTHS_VIEW_": "Pokaż szczegółowy widok miesiąca",
51
+ "_A_DATEPICKER_BUTTON_TO_DAYS_VIEW_": "Przejdź do wyboru dnia",
52
+ "_A_DATEPICKER_BUTTON_TO_MONTHS_VIEW_": "Przejdź do wyboru miesiąca",
53
+ "_A_DATEPICKER_BUTTON_TO_YEARS_VIEW_": "Przejdź do wyboru roku",
54
+ "_A_DATEPICKER_HOURS_": "Godziny",
55
+ "_A_DATEPICKER_MINUTES_": "Minuty",
56
+ "_A_DATEPICKER_SECONDS_": "Sekundy",
57
+ "_A_DATEPICKER_HEADER_YEARS_{{firstYear}}_{{lastYear}}_": "{{ firstYear }} do {{ lastYear }}"
58
+ }
@@ -1,147 +1,147 @@
1
- /* eslint vue/component-api-style: off */
2
- import {
3
- h,
4
- onBeforeUnmount,
5
- } from "vue";
6
-
7
- import FocusAPI from "./compositionAPI/FocusAPI";
8
- import FocusActiveAPI from "./compositionAPI/FocusActiveAPI";
9
- import PanelAPI from "../compositionAPI/PanelAPI";
10
- import SelectAPI from "./compositionAPI/SelectAPI";
11
- import TimesAPI from "./compositionAPI/TimesAPI";
12
-
13
- // @vue/component
14
- export default {
15
- name: "APanelTime",
16
- props: {
17
- currentLanguage: {
18
- type: Object,
19
- required: true,
20
- },
21
- disabledTime: {
22
- type: Function,
23
- required: false,
24
- default: undefined,
25
- },
26
- id: {
27
- type: String,
28
- required: true,
29
- },
30
- minuteStep: {
31
- type: Number,
32
- default: 0,
33
- validator: val => val >= 0 && val <= 60,
34
- },
35
- timePrecision: {
36
- type: String,
37
- required: false,
38
- default: undefined,
39
- validator: value => ["hour", "minute", "second"].indexOf(value) !== -1,
40
- },
41
- timeType: {
42
- type: Array,
43
- default() {
44
- return ["24", "a"];
45
- },
46
- },
47
- value: {
48
- type: [String, Number, Boolean, Array, Object, Date, Function, Symbol],
49
- default: undefined,
50
- },
51
- },
52
- emits: [
53
- "select",
54
- ],
55
- setup(props, context) {
56
- const {
57
- getCurrentId,
58
- timesFiltered,
59
- } = TimesAPI(props);
60
-
61
- const {
62
- fullIndexForFocus,
63
- idForFocus,
64
- pressButton,
65
- setDefaultTimeForFocus,
66
- } = FocusAPI(props, {
67
- getCurrentId,
68
- timesFiltered,
69
- });
70
-
71
- const {
72
- keypress,
73
- selectTime,
74
- } = SelectAPI(props, context);
75
-
76
- const {
77
- attributesForMainElement,
78
- destroyEventBus,
79
- destroyListenerForPressButtons,
80
- idForHeader,
81
- setEventBus,
82
- setListenerForPressButtons,
83
- } = PanelAPI(props, {
84
- idForFocus,
85
- pressButton,
86
- });
87
-
88
- const {
89
- setFocusToActiveTime,
90
- } = FocusActiveAPI({
91
- idForFocus,
92
- setDefaultTimeForFocus,
93
- setListenerForPressButtons,
94
- });
95
-
96
- setEventBus();
97
-
98
- onBeforeUnmount(() => {
99
- destroyEventBus();
100
- destroyListenerForPressButtons();
101
- });
102
-
103
- return {
104
- attributesForMainElement,
105
- idForHeader,
106
- fullIndexForFocus,
107
- keypress,
108
- selectTime,
109
- setFocusToActiveTime,
110
- timesFiltered,
111
- };
112
- },
113
- render() {
114
- return h("div", {
115
- class: "pux_datepicker__panel pux_datepicker__panel_time",
116
- ...this.attributesForMainElement,
117
- }, [
118
- this.timesFiltered.map((timeList, timeListIndex) => {
119
- return h("ul", {
120
- key: timeListIndex,
121
- class: "pux_datepicker__time_list",
122
- role: "listbox",
123
- "aria-labelledby": this.idForHeader,
124
- style: { width: `${ 100 / this.timesFiltered.length }%` },
125
- }, [
126
- timeList.map((time, timeIndex) => {
127
- return h("li", {
128
- id: time.id,
129
- key: timeIndex,
130
- class: ["cell", {
131
- actived: time.isActive,
132
- disabled: time.isDisabled,
133
- pux_datepicker__panel__cell_focus: timeListIndex + "_" + timeIndex === this.fullIndexForFocus,
134
- }],
135
- tabindex: -1,
136
- role: "option",
137
- ariaSelected: !!time.isActive,
138
- ariaLabel: time.ariaLabel,
139
- onClick: () => this.selectTime(time.time),
140
- onKeypress: $event => this.keypress($event, time.time, timeListIndex === this.timesFiltered.length - 1),
141
- }, time.label);
142
- }),
143
- ]);
144
- }),
145
- ]);
146
- },
147
- };
1
+ /* eslint vue/component-api-style: off */
2
+ import {
3
+ h,
4
+ onBeforeUnmount,
5
+ } from "vue";
6
+
7
+ import FocusAPI from "./compositionAPI/FocusAPI";
8
+ import FocusActiveAPI from "./compositionAPI/FocusActiveAPI";
9
+ import PanelAPI from "../compositionAPI/PanelAPI";
10
+ import SelectAPI from "./compositionAPI/SelectAPI";
11
+ import TimesAPI from "./compositionAPI/TimesAPI";
12
+
13
+ // @vue/component
14
+ export default {
15
+ name: "APanelTime",
16
+ props: {
17
+ currentLanguage: {
18
+ type: Object,
19
+ required: true,
20
+ },
21
+ disabledTime: {
22
+ type: Function,
23
+ required: false,
24
+ default: undefined,
25
+ },
26
+ id: {
27
+ type: String,
28
+ required: true,
29
+ },
30
+ minuteStep: {
31
+ type: Number,
32
+ default: 0,
33
+ validator: val => val >= 0 && val <= 60,
34
+ },
35
+ timePrecision: {
36
+ type: String,
37
+ required: false,
38
+ default: undefined,
39
+ validator: value => ["hour", "minute", "second"].indexOf(value) !== -1,
40
+ },
41
+ timeType: {
42
+ type: Array,
43
+ default() {
44
+ return ["24", "a"];
45
+ },
46
+ },
47
+ value: {
48
+ type: [String, Number, Boolean, Array, Object, Date, Function, Symbol],
49
+ default: undefined,
50
+ },
51
+ },
52
+ emits: [
53
+ "select",
54
+ ],
55
+ setup(props, context) {
56
+ const {
57
+ getCurrentId,
58
+ timesFiltered,
59
+ } = TimesAPI(props);
60
+
61
+ const {
62
+ fullIndexForFocus,
63
+ idForFocus,
64
+ pressButton,
65
+ setDefaultTimeForFocus,
66
+ } = FocusAPI(props, {
67
+ getCurrentId,
68
+ timesFiltered,
69
+ });
70
+
71
+ const {
72
+ keypress,
73
+ selectTime,
74
+ } = SelectAPI(props, context);
75
+
76
+ const {
77
+ attributesForMainElement,
78
+ destroyEventBus,
79
+ destroyListenerForPressButtons,
80
+ idForHeader,
81
+ setEventBus,
82
+ setListenerForPressButtons,
83
+ } = PanelAPI(props, {
84
+ idForFocus,
85
+ pressButton,
86
+ });
87
+
88
+ const {
89
+ setFocusToActiveTime,
90
+ } = FocusActiveAPI({
91
+ idForFocus,
92
+ setDefaultTimeForFocus,
93
+ setListenerForPressButtons,
94
+ });
95
+
96
+ setEventBus();
97
+
98
+ onBeforeUnmount(() => {
99
+ destroyEventBus();
100
+ destroyListenerForPressButtons();
101
+ });
102
+
103
+ return {
104
+ attributesForMainElement,
105
+ idForHeader,
106
+ fullIndexForFocus,
107
+ keypress,
108
+ selectTime,
109
+ setFocusToActiveTime,
110
+ timesFiltered,
111
+ };
112
+ },
113
+ render() {
114
+ return h("div", {
115
+ class: "pux_datepicker__panel pux_datepicker__panel_time",
116
+ ...this.attributesForMainElement,
117
+ }, [
118
+ this.timesFiltered.map((timeList, timeListIndex) => {
119
+ return h("ul", {
120
+ key: timeListIndex,
121
+ class: "pux_datepicker__time_list",
122
+ role: "listbox",
123
+ "aria-labelledby": this.idForHeader,
124
+ style: { width: `${ 100 / this.timesFiltered.length }%` },
125
+ }, [
126
+ timeList.map((time, timeIndex) => {
127
+ return h("li", {
128
+ id: time.id,
129
+ key: timeIndex,
130
+ class: ["cell", {
131
+ actived: time.isActive,
132
+ disabled: time.isDisabled,
133
+ pux_datepicker__panel__cell_focus: timeListIndex + "_" + timeIndex === this.fullIndexForFocus,
134
+ }],
135
+ tabindex: -1,
136
+ role: "option",
137
+ ariaSelected: !!time.isActive,
138
+ ariaLabel: time.ariaLabel,
139
+ onClick: () => this.selectTime(time.time),
140
+ onKeypress: $event => this.keypress($event, time.time, timeListIndex === this.timesFiltered.length - 1),
141
+ }, time.label);
142
+ }),
143
+ ]);
144
+ }),
145
+ ]);
146
+ },
147
+ };
@@ -1,123 +1,123 @@
1
- /* eslint vue/component-api-style: off */
2
- import {
3
- h,
4
- onBeforeUnmount,
5
- } from "vue";
6
-
7
- import APanelYearItem from "../APanelYearItem/APanelYearItem";
8
-
9
- import FocusAPI from "./compositionAPI/FocusAPI";
10
- import FocusActiveAPI from "./compositionAPI/FocusActiveAPI";
11
- import PanelAPI from "../compositionAPI/PanelAPI";
12
- import SelectAPI from "./compositionAPI/SelectAPI";
13
-
14
- import {
15
- range,
16
- } from "lodash-es";
17
-
18
- // @vue/component
19
- export default {
20
- name: "APanelYear",
21
- props: {
22
- disabledYear: {
23
- type: Function,
24
- required: false,
25
- default: undefined,
26
- },
27
- firstYear: {
28
- type: Number,
29
- required: true,
30
- },
31
- id: {
32
- type: String,
33
- required: true,
34
- },
35
- value: {
36
- type: [String, Number, Boolean, Array, Object, Date, Function, Symbol],
37
- required: false,
38
- default: undefined,
39
- },
40
- },
41
- emits: [
42
- "handleIconYear",
43
- "select",
44
- ],
45
- setup(props, context) {
46
- const {
47
- isDisabled,
48
- selectYear,
49
- } = SelectAPI(props, context);
50
-
51
- const {
52
- idForFocus,
53
- prefixForId,
54
- pressButton,
55
- yearIndexForFocus,
56
- } = FocusAPI(props, context);
57
-
58
- const {
59
- attributesForMainElement,
60
- destroyEventBus,
61
- destroyListenerForPressButtons,
62
- idForHeader,
63
- setEventBus,
64
- setListenerForPressButtons,
65
- } = PanelAPI(props, {
66
- idForFocus,
67
- pressButton,
68
- });
69
-
70
- const {
71
- firstYearLocal,
72
- setFocusToActiveYear,
73
- yearFromValue,
74
- } = FocusActiveAPI(props, {
75
- idForFocus,
76
- setListenerForPressButtons,
77
- yearIndexForFocus,
78
- });
79
-
80
- setEventBus();
81
-
82
- onBeforeUnmount(() => {
83
- destroyEventBus();
84
- destroyListenerForPressButtons();
85
- });
86
-
87
- return {
88
- attributesForMainElement,
89
- firstYearLocal,
90
- idForFocus,
91
- idForHeader,
92
- isDisabled,
93
- prefixForId,
94
- selectYear,
95
- setFocusToActiveYear,
96
- yearFromValue,
97
- yearIndexForFocus,
98
- };
99
- },
100
- render() {
101
- return h("ul", {
102
- class: "pux_datepicker__panel pux_datepicker__panel_year pux_datepicker__panel__list",
103
- role: "listbox",
104
- "aria-labelledby": this.idForHeader,
105
- ...this.attributesForMainElement,
106
- }, [
107
- range(10).map(index => {
108
- return h(APanelYearItem, {
109
- key: index,
110
- class: {
111
- pux_datepicker__panel__cell_focus: index === this.yearIndexForFocus,
112
- },
113
- year: this.firstYearLocal + index,
114
- yearFromValue: this.yearFromValue,
115
- yearIndex: index,
116
- prefixForId: this.prefixForId,
117
- isDisabled: this.isDisabled,
118
- onSelectYear: this.selectYear,
119
- });
120
- }),
121
- ]);
122
- },
123
- };
1
+ /* eslint vue/component-api-style: off */
2
+ import {
3
+ h,
4
+ onBeforeUnmount,
5
+ } from "vue";
6
+
7
+ import APanelYearItem from "../APanelYearItem/APanelYearItem";
8
+
9
+ import FocusAPI from "./compositionAPI/FocusAPI";
10
+ import FocusActiveAPI from "./compositionAPI/FocusActiveAPI";
11
+ import PanelAPI from "../compositionAPI/PanelAPI";
12
+ import SelectAPI from "./compositionAPI/SelectAPI";
13
+
14
+ import {
15
+ range,
16
+ } from "lodash-es";
17
+
18
+ // @vue/component
19
+ export default {
20
+ name: "APanelYear",
21
+ props: {
22
+ disabledYear: {
23
+ type: Function,
24
+ required: false,
25
+ default: undefined,
26
+ },
27
+ firstYear: {
28
+ type: Number,
29
+ required: true,
30
+ },
31
+ id: {
32
+ type: String,
33
+ required: true,
34
+ },
35
+ value: {
36
+ type: [String, Number, Boolean, Array, Object, Date, Function, Symbol],
37
+ required: false,
38
+ default: undefined,
39
+ },
40
+ },
41
+ emits: [
42
+ "handleIconYear",
43
+ "select",
44
+ ],
45
+ setup(props, context) {
46
+ const {
47
+ isDisabled,
48
+ selectYear,
49
+ } = SelectAPI(props, context);
50
+
51
+ const {
52
+ idForFocus,
53
+ prefixForId,
54
+ pressButton,
55
+ yearIndexForFocus,
56
+ } = FocusAPI(props, context);
57
+
58
+ const {
59
+ attributesForMainElement,
60
+ destroyEventBus,
61
+ destroyListenerForPressButtons,
62
+ idForHeader,
63
+ setEventBus,
64
+ setListenerForPressButtons,
65
+ } = PanelAPI(props, {
66
+ idForFocus,
67
+ pressButton,
68
+ });
69
+
70
+ const {
71
+ firstYearLocal,
72
+ setFocusToActiveYear,
73
+ yearFromValue,
74
+ } = FocusActiveAPI(props, {
75
+ idForFocus,
76
+ setListenerForPressButtons,
77
+ yearIndexForFocus,
78
+ });
79
+
80
+ setEventBus();
81
+
82
+ onBeforeUnmount(() => {
83
+ destroyEventBus();
84
+ destroyListenerForPressButtons();
85
+ });
86
+
87
+ return {
88
+ attributesForMainElement,
89
+ firstYearLocal,
90
+ idForFocus,
91
+ idForHeader,
92
+ isDisabled,
93
+ prefixForId,
94
+ selectYear,
95
+ setFocusToActiveYear,
96
+ yearFromValue,
97
+ yearIndexForFocus,
98
+ };
99
+ },
100
+ render() {
101
+ return h("ul", {
102
+ class: "pux_datepicker__panel pux_datepicker__panel_year pux_datepicker__panel__list",
103
+ role: "listbox",
104
+ "aria-labelledby": this.idForHeader,
105
+ ...this.attributesForMainElement,
106
+ }, [
107
+ range(10).map(index => {
108
+ return h(APanelYearItem, {
109
+ key: index,
110
+ class: {
111
+ pux_datepicker__panel__cell_focus: index === this.yearIndexForFocus,
112
+ },
113
+ year: this.firstYearLocal + index,
114
+ yearFromValue: this.yearFromValue,
115
+ yearIndex: index,
116
+ prefixForId: this.prefixForId,
117
+ isDisabled: this.isDisabled,
118
+ onSelectYear: this.selectYear,
119
+ });
120
+ }),
121
+ ]);
122
+ },
123
+ };