aloha-vue 2.85.0 → 2.86.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 (244) hide show
  1. package/CHANGELOG.md +1208 -1200
  2. package/README.md +117 -117
  3. package/dist/aloha-vue.css +13806 -13601
  4. package/dist/aloha-vue.css.map +1 -1
  5. package/dist/aloha-vue.es.js +60168 -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 +223 -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 +697 -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 +139 -0
  147. package/src/ui/AColorPicker/__tests__/colorUtils.test.js +92 -0
  148. package/src/ui/AColorPicker/compositionAPI/ColorStateAPI.js +108 -0
  149. package/src/ui/AColorPicker/compositionAPI/ConfirmAPI.js +36 -0
  150. package/src/ui/AColorPicker/compositionAPI/InputAPI.js +63 -0
  151. package/src/ui/AColorPicker/compositionAPI/KeyboardStepAPI.js +42 -0
  152. package/src/ui/AColorPicker/compositionAPI/PointerDragAPI.js +70 -0
  153. package/src/ui/AColorPicker/compositionAPI/PopoverAPI.js +179 -0
  154. package/src/ui/AColorPicker/compositionAPI/PredefineAPI.js +42 -0
  155. package/src/ui/AColorPicker/compositionAPI/ToggleClassAPI.js +24 -0
  156. package/src/ui/AColorPicker/i18n/AColorPickerI18n.js +25 -0
  157. package/src/ui/AColorPicker/i18n/ar.json +13 -0
  158. package/src/ui/AColorPicker/i18n/de.json +13 -0
  159. package/src/ui/AColorPicker/i18n/en.json +13 -0
  160. package/src/ui/AColorPicker/i18n/es.json +13 -0
  161. package/src/ui/AColorPicker/i18n/fr.json +13 -0
  162. package/src/ui/AColorPicker/i18n/hr.json +13 -0
  163. package/src/ui/AColorPicker/i18n/it.json +13 -0
  164. package/src/ui/AColorPicker/i18n/nl.json +13 -0
  165. package/src/ui/AColorPicker/i18n/pl.json +13 -0
  166. package/src/ui/AColorPicker/i18n/ru.json +13 -0
  167. package/src/ui/AColorPicker/i18n/uk.json +13 -0
  168. package/src/ui/AColorPicker/utils/colorUtils.js +281 -0
  169. package/src/ui/ADatepicker/ADatepickerCalendarPanel/ADatepickerCalendarPanel.js +68 -68
  170. package/src/ui/ADatepicker/i18n/ADatepickerI18n.js +4 -0
  171. package/src/ui/ADatepicker/i18n/nl.json +58 -0
  172. package/src/ui/ADatepicker/i18n/pl.json +58 -0
  173. package/src/ui/ADatepicker/panel/APanelTime/APanelTime.js +147 -147
  174. package/src/ui/ADatepicker/panel/APanelYear/APanelYear.js +123 -123
  175. package/src/ui/ADatepickerAlt/ADatepickerCalendarPanel/ADatepickerCalendarPanel.js +804 -804
  176. package/src/ui/ADatepickerAlt/panel/APanelDate/APanelDate.js +353 -353
  177. package/src/ui/ADatepickerAlt/panel/APanelMonth/APanelMonth.js +187 -187
  178. package/src/ui/ADatepickerAlt/panel/APanelTime/APanelTime.js +303 -303
  179. package/src/ui/ADatepickerAlt/panel/APanelYear/APanelYear.js +162 -162
  180. package/src/ui/ADatepickerRange/i18n/ADatepickerRangeI18n.js +4 -0
  181. package/src/ui/ADatepickerRange/i18n/nl.json +4 -0
  182. package/src/ui/ADatepickerRange/i18n/pl.json +4 -0
  183. package/src/ui/AErrors/i18n/AErrorsI18n.js +4 -0
  184. package/src/ui/AErrors/i18n/nl.json +3 -0
  185. package/src/ui/AErrors/i18n/pl.json +3 -0
  186. package/src/ui/AFieldset/__tests__/AFieldset.ClassColumn.test.js +1 -0
  187. package/src/ui/AFieldset/i18n/AFieldsetI18n.js +4 -0
  188. package/src/ui/AFieldset/i18n/nl.json +4 -0
  189. package/src/ui/AFieldset/i18n/pl.json +4 -0
  190. package/src/ui/AFormElementBtnClear/i18n/AFormElementBtnClearI18n.js +4 -0
  191. package/src/ui/AFormElementBtnClear/i18n/nl.json +3 -0
  192. package/src/ui/AFormElementBtnClear/i18n/pl.json +3 -0
  193. package/src/ui/AInput/i18n/AInputI18n.js +4 -0
  194. package/src/ui/AInput/i18n/nl.json +4 -0
  195. package/src/ui/AInput/i18n/pl.json +4 -0
  196. package/src/ui/AInputCurrency/i18n/AInputCurrencyI18n.js +4 -0
  197. package/src/ui/AInputCurrency/i18n/nl.json +4 -0
  198. package/src/ui/AInputCurrency/i18n/pl.json +4 -0
  199. package/src/ui/AInputNumber/i18n/AInputNumberI18n.js +4 -0
  200. package/src/ui/AInputNumber/i18n/nl.json +4 -0
  201. package/src/ui/AInputNumber/i18n/pl.json +4 -0
  202. package/src/ui/AInputNumberRange/i18n/AInputNumberRangeI18n.js +4 -0
  203. package/src/ui/AInputNumberRange/i18n/nl.json +4 -0
  204. package/src/ui/AInputNumberRange/i18n/pl.json +4 -0
  205. package/src/ui/AJson/i18n/AJsonI18n.js +4 -0
  206. package/src/ui/AJson/i18n/nl.json +8 -0
  207. package/src/ui/AJson/i18n/pl.json +8 -0
  208. package/src/ui/AMultiselectOrdered/i18n/AMultiselectOrderedI18n.js +4 -0
  209. package/src/ui/AMultiselectOrdered/i18n/nl.json +12 -0
  210. package/src/ui/AMultiselectOrdered/i18n/pl.json +12 -0
  211. package/src/ui/ARadio/i18n/ARadioI18n.js +4 -0
  212. package/src/ui/ARadio/i18n/nl.json +5 -0
  213. package/src/ui/ARadio/i18n/pl.json +5 -0
  214. package/src/ui/ARequired/i18n/ARequiredI18n.js +4 -0
  215. package/src/ui/ARequired/i18n/nl.json +3 -0
  216. package/src/ui/ARequired/i18n/pl.json +3 -0
  217. package/src/ui/ARouterLinkConfig/i18n/ARouterLinkConfigI18n.js +4 -0
  218. package/src/ui/ARouterLinkConfig/i18n/nl.json +14 -0
  219. package/src/ui/ARouterLinkConfig/i18n/pl.json +14 -0
  220. package/src/ui/ASelect/i18n/ASelectI18n.js +4 -0
  221. package/src/ui/ASelect/i18n/ar.json +5 -5
  222. package/src/ui/ASelect/i18n/de.json +4 -4
  223. package/src/ui/ASelect/i18n/en.json +5 -5
  224. package/src/ui/ASelect/i18n/es.json +5 -5
  225. package/src/ui/ASelect/i18n/fr.json +5 -5
  226. package/src/ui/ASelect/i18n/hr.json +5 -5
  227. package/src/ui/ASelect/i18n/it.json +5 -5
  228. package/src/ui/ASelect/i18n/nl.json +11 -0
  229. package/src/ui/ASelect/i18n/pl.json +11 -0
  230. package/src/ui/ASelect/i18n/ru.json +5 -5
  231. package/src/ui/ASelectStyle/i18n/ASelectStyleI18n.js +4 -0
  232. package/src/ui/ASelectStyle/i18n/nl.json +292 -0
  233. package/src/ui/ASelectStyle/i18n/pl.json +292 -0
  234. package/src/ui/ASlider/i18n/ASliderI18n.js +4 -0
  235. package/src/ui/ASlider/i18n/nl.json +5 -0
  236. package/src/ui/ASlider/i18n/pl.json +5 -0
  237. package/src/ui/ASwitch/i18n/ASwitchI18n.js +4 -0
  238. package/src/ui/ASwitch/i18n/nl.json +5 -0
  239. package/src/ui/ASwitch/i18n/pl.json +5 -0
  240. package/src/ui/AUiComponents.js +2 -0
  241. package/src/ui/AValidatedJson/i18n/AValidatedJsonI18n.js +4 -0
  242. package/src/ui/AValidatedJson/i18n/nl.json +25 -0
  243. package/src/ui/AValidatedJson/i18n/pl.json +25 -0
  244. package/src/ui/compositionApi/__tests__/UiStyleHideAPI.test.js +9 -4
@@ -0,0 +1,30 @@
1
+ {
2
+ "_A_FILTERS_ADD_FILTER_": "Nowe kryterium filtrowania",
3
+ "_A_FILTERS_DELETE_FILTER_BODY_{{name}}_": "Czy na pewno chcesz usunąć zapisany filtr <strong>{{ name }}</strong>?",
4
+ "_A_FILTERS_DELETE_FILTER_BTN_DELETE_": "Usuń",
5
+ "_A_FILTERS_DELETE_FILTER_HEADER_{{name}}_": "Usuń zapisany filtr",
6
+ "_A_FILTERS_DELETE_FILTER_MSG_ERROR_{{name}}_": "Nie można usunąć wybranego filtra <strong>{{ name }}</strong>.",
7
+ "_A_FILTERS_DELETE_FILTER_MSG_SUCCESS_{{name}}_": "Wybrany filtr <strong>{{ name }}</strong> został usunięty.",
8
+ "_A_FILTERS_DELETE_FILTER_SAVED_BTN_": "Usuń wybrany filtr",
9
+ "_A_FILTERS_DELETE_FILTER_SAVED_BTN_DISABLED_": "Nie można usunąć wybranego filtra. (Nie wybrano zapisanego filtra)",
10
+ "_A_FILTERS_DELETE_FILTER_SAVED_BTN_TEXT_": "Usuń filtr",
11
+ "_A_FILTERS_DESELECT_ALL_": "Resetuj",
12
+ "_A_FILTERS_FILTER_SAVED_GROUP_MY_": "Moje filtry",
13
+ "_A_FILTERS_HOR_CLOSE_DROPDOWN_": "Zamknij",
14
+ "_A_FILTERS_HOR_CLOSE_TITLE_{{filterLabel}}_{{filterValue}}_": "Wyczyść wartość filtra {{ filterValue }} dla filtra: {{ filterLabel }}",
15
+ "_A_FILTERS_HOR_FILTER_HEADER_": "Filtr:",
16
+ "_A_FILTERS_HOR_FILTER_NEW_": "Nowy",
17
+ "_A_FILTERS_HOR_GO_TO_TITLE_{{filterLabel}}_{{filterValue}}_": "Otwórz filtr: {{ filterLabel }} z wartością {{ filterValue }}",
18
+ "_A_FILTERS_SAVE_FILTER_SAVED_BTN_TEXT_": "Zapisz filtr",
19
+ "_A_FILTERS_SAVE_LABEL_NAME_": "Nazwa",
20
+ "_A_FILTERS_SAVE_MODAL_BODY_PREPEND_": "Wprowadź nazwę filtra do zapisania. Po wprowadzeniu istniejącej nazwy zapisany już filtr zostanie zaktualizowany. Po wprowadzeniu nowej nazwy zostanie zapisany nowy filtr.",
21
+ "_A_FILTERS_SAVE_MODAL_HEADER_": "Zapisz filtr",
22
+ "_A_FILTERS_SAVE_MODAL_NAME_HELP_TEXT_{{name}}_": "Filtr o nazwie <strong>\"{{ name }}\"</strong> zostanie zaktualizowany podczas zapisywania.",
23
+ "_A_FILTERS_SAVE_MSG_ERROR_": "Nie można zapisać filtra.",
24
+ "_A_FILTERS_SAVE_MSG_SUCCESS_CREATE_{{name}}_": "Nowy filtr <strong>\"{{ name }}\"</strong> został zapisany.",
25
+ "_A_FILTERS_SAVE_MSG_SUCCESS_UPDATE_{{name}}_": "Filtr <strong>\"{{ name }}\"</strong> został zaktualizowany.",
26
+ "_A_FILTERS_SAVE_SELECT_": "Zapisane filtry",
27
+ "_A_FILTERS_SELECTED_{{count}}_": "Wybrano: {{ count }}",
28
+ "_A_FILTERS_START_SEARCH_": "Szukaj",
29
+ "_A_FILTERS_TOP_CLOSE_": "Usuń kryterium filtrowania"
30
+ }
@@ -1,119 +1,119 @@
1
- import {
2
- h,
3
- watch,
4
- } from "vue";
5
-
6
- import AGroupButtonDropdownItem from "./AGroupButtonDropdownItem/AGroupButtonDropdownItem";
7
-
8
- import ActionsAPI from "./compositionAPI/ActionsAPI";
9
-
10
- import {
11
- groupButtonDropdownPluginOptions,
12
- } from "../plugins/AGroupButtonDropdownPlugin";
13
-
14
- export default {
15
- name: "AGroupButtonDropdown",
16
- props: {
17
- actions: {
18
- type: Array,
19
- required: false,
20
- default: () => [],
21
- },
22
- actionsClasses: {
23
- type: Array,
24
- required: false,
25
- default: () => groupButtonDropdownPluginOptions.value.propsDefault.actionsClasses,
26
- },
27
- actionsIds: {
28
- type: Array,
29
- required: false,
30
- default: () => [],
31
- },
32
- btnGroupClass: {
33
- type: [String, Array, Object],
34
- required: false,
35
- default: "a_btn_group",
36
- },
37
- disabled: {
38
- type: Boolean,
39
- required: false,
40
- },
41
- dropdownAttributes: {
42
- type: Object,
43
- required: false,
44
- default: () => groupButtonDropdownPluginOptions.value.propsDefault.dropdownAttributes,
45
- },
46
- hasDividerBeforeDropdown: {
47
- type: Boolean,
48
- required: false,
49
- default: () => groupButtonDropdownPluginOptions.value.propsDefault.hasDividerBeforeDropdown,
50
- },
51
- indexFirstDropdownAction: {
52
- type: Number,
53
- required: false,
54
- default: () => groupButtonDropdownPluginOptions.value.propsDefault.indexFirstDropdownAction,
55
- validator: value => value >= -1,
56
- },
57
- indexFirstDropdownActionMobile: {
58
- type: Number,
59
- required: false,
60
- default: () => groupButtonDropdownPluginOptions.value.propsDefault.indexFirstDropdownActionMobile,
61
- validator: value => value >= -1,
62
- },
63
- minDropdownActions: {
64
- type: Number,
65
- required: false,
66
- default: () => groupButtonDropdownPluginOptions.value.propsDefault.minDropdownActions,
67
- },
68
- innerFlagHasActions: {
69
- type: Boolean,
70
- required: false,
71
- },
72
- },
73
- emits: [
74
- "update:innerFlagHasActions",
75
- ],
76
- setup(props, { emit }) {
77
- const {
78
- actionsAllWithClassesFiltered,
79
- actionsGrouped,
80
- hasActionsAllFiltered,
81
- hasDropdownActions,
82
- } = ActionsAPI(props);
83
-
84
- watch(hasActionsAllFiltered, newValue => {
85
- emit("update:innerFlagHasActions", newValue);
86
- }, {
87
- immediate: true,
88
- });
89
-
90
- return {
91
- actionsAllWithClassesFiltered,
92
- actionsGrouped,
93
- hasActionsAllFiltered,
94
- hasDropdownActions,
95
- };
96
- },
97
- render() {
98
- if (this.hasActionsAllFiltered) {
99
- return h("div", {
100
- class: "aloha_group_btn_dropdown",
101
- }, [
102
- ...this.actionsGrouped.buttons.map((item, itemIndex) => {
103
- return h(AGroupButtonDropdownItem, {
104
- btnGroupClass: this.btnGroupClass,
105
- data: item,
106
- disabled: this.disabled,
107
- actionsDropdown: this.actionsGrouped.dropdown,
108
- hasDropdownActions: this.hasDropdownActions,
109
- dropdownAttributes: this.dropdownAttributes,
110
- actionsClasses: this.actionsClasses,
111
- actionsIds: this.actionsIds,
112
- isLast: itemIndex === this.actionsGrouped.buttons.length - 1,
113
- hasDividerBeforeDropdown: this.hasDividerBeforeDropdown,
114
- }, this.$slots);
115
- }),
116
- ]);
117
- }
118
- },
119
- };
1
+ import {
2
+ h,
3
+ watch,
4
+ } from "vue";
5
+
6
+ import AGroupButtonDropdownItem from "./AGroupButtonDropdownItem/AGroupButtonDropdownItem";
7
+
8
+ import ActionsAPI from "./compositionAPI/ActionsAPI";
9
+
10
+ import {
11
+ groupButtonDropdownPluginOptions,
12
+ } from "../plugins/AGroupButtonDropdownPlugin";
13
+
14
+ export default {
15
+ name: "AGroupButtonDropdown",
16
+ props: {
17
+ actions: {
18
+ type: Array,
19
+ required: false,
20
+ default: () => [],
21
+ },
22
+ actionsClasses: {
23
+ type: Array,
24
+ required: false,
25
+ default: () => groupButtonDropdownPluginOptions.value.propsDefault.actionsClasses,
26
+ },
27
+ actionsIds: {
28
+ type: Array,
29
+ required: false,
30
+ default: () => [],
31
+ },
32
+ btnGroupClass: {
33
+ type: [String, Array, Object],
34
+ required: false,
35
+ default: "a_btn_group",
36
+ },
37
+ disabled: {
38
+ type: Boolean,
39
+ required: false,
40
+ },
41
+ dropdownAttributes: {
42
+ type: Object,
43
+ required: false,
44
+ default: () => groupButtonDropdownPluginOptions.value.propsDefault.dropdownAttributes,
45
+ },
46
+ hasDividerBeforeDropdown: {
47
+ type: Boolean,
48
+ required: false,
49
+ default: () => groupButtonDropdownPluginOptions.value.propsDefault.hasDividerBeforeDropdown,
50
+ },
51
+ indexFirstDropdownAction: {
52
+ type: Number,
53
+ required: false,
54
+ default: () => groupButtonDropdownPluginOptions.value.propsDefault.indexFirstDropdownAction,
55
+ validator: value => value >= -1,
56
+ },
57
+ indexFirstDropdownActionMobile: {
58
+ type: Number,
59
+ required: false,
60
+ default: () => groupButtonDropdownPluginOptions.value.propsDefault.indexFirstDropdownActionMobile,
61
+ validator: value => value >= -1,
62
+ },
63
+ minDropdownActions: {
64
+ type: Number,
65
+ required: false,
66
+ default: () => groupButtonDropdownPluginOptions.value.propsDefault.minDropdownActions,
67
+ },
68
+ innerFlagHasActions: {
69
+ type: Boolean,
70
+ required: false,
71
+ },
72
+ },
73
+ emits: [
74
+ "update:innerFlagHasActions",
75
+ ],
76
+ setup(props, { emit }) {
77
+ const {
78
+ actionsAllWithClassesFiltered,
79
+ actionsGrouped,
80
+ hasActionsAllFiltered,
81
+ hasDropdownActions,
82
+ } = ActionsAPI(props);
83
+
84
+ watch(hasActionsAllFiltered, newValue => {
85
+ emit("update:innerFlagHasActions", newValue);
86
+ }, {
87
+ immediate: true,
88
+ });
89
+
90
+ return {
91
+ actionsAllWithClassesFiltered,
92
+ actionsGrouped,
93
+ hasActionsAllFiltered,
94
+ hasDropdownActions,
95
+ };
96
+ },
97
+ render() {
98
+ if (this.hasActionsAllFiltered) {
99
+ return h("div", {
100
+ class: "aloha_group_btn_dropdown",
101
+ }, [
102
+ ...this.actionsGrouped.buttons.map((item, itemIndex) => {
103
+ return h(AGroupButtonDropdownItem, {
104
+ btnGroupClass: this.btnGroupClass,
105
+ data: item,
106
+ disabled: this.disabled,
107
+ actionsDropdown: this.actionsGrouped.dropdown,
108
+ hasDropdownActions: this.hasDropdownActions,
109
+ dropdownAttributes: this.dropdownAttributes,
110
+ actionsClasses: this.actionsClasses,
111
+ actionsIds: this.actionsIds,
112
+ isLast: itemIndex === this.actionsGrouped.buttons.length - 1,
113
+ hasDividerBeforeDropdown: this.hasDividerBeforeDropdown,
114
+ }, this.$slots);
115
+ }),
116
+ ]);
117
+ }
118
+ },
119
+ };
@@ -5,6 +5,8 @@ import es from "./es.json";
5
5
  import fr from "./fr.json";
6
6
  import hr from "./hr.json";
7
7
  import it from "./it.json";
8
+ import nl from "./nl.json";
9
+ import pl from "./pl.json";
8
10
  import ru from "./ru.json";
9
11
  import uk from "./uk.json";
10
12
 
@@ -16,6 +18,8 @@ export default {
16
18
  fr,
17
19
  hr,
18
20
  it,
21
+ nl,
22
+ pl,
19
23
  ru,
20
24
  uk,
21
25
  };
@@ -0,0 +1,4 @@
1
+ {
2
+ "_A_LINK_COPY_BTN_TITLE_": "Kopiëren naar klembord",
3
+ "_A_LINK_COPY_COPIED_TO_CLIPBOARD_": "Gekopieerd naar klembord"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_A_LINK_COPY_BTN_TITLE_": "Kopiuj do schowka",
3
+ "_A_LINK_COPY_COPIED_TO_CLIPBOARD_": "Skopiowano do schowka"
4
+ }
@@ -5,6 +5,8 @@ import es from "./es.json";
5
5
  import fr from "./fr.json";
6
6
  import hr from "./hr.json";
7
7
  import it from "./it.json";
8
+ import nl from "./nl.json";
9
+ import pl from "./pl.json";
8
10
  import ru from "./ru.json";
9
11
  import uk from "./uk.json";
10
12
 
@@ -16,6 +18,8 @@ export default {
16
18
  fr,
17
19
  hr,
18
20
  it,
21
+ nl,
22
+ pl,
19
23
  ru,
20
24
  uk,
21
25
  };
@@ -0,0 +1,3 @@
1
+ {
2
+ "_A_LOADING_LOADING_": "Laden"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "_A_LOADING_LOADING_": "Ładowanie"
3
+ }
@@ -5,6 +5,8 @@ import es from "./es.json";
5
5
  import fr from "./fr.json";
6
6
  import hr from "./hr.json";
7
7
  import it from "./it.json";
8
+ import nl from "./nl.json";
9
+ import pl from "./pl.json";
8
10
  import ru from "./ru.json";
9
11
  import uk from "./uk.json";
10
12
 
@@ -16,6 +18,8 @@ export default {
16
18
  fr,
17
19
  hr,
18
20
  it,
21
+ nl,
22
+ pl,
19
23
  ru,
20
24
  uk,
21
25
  };
@@ -0,0 +1,14 @@
1
+ {
2
+ "_A_MENU_2_BREADCRUMB_": "Broodkruimelpad",
3
+ "_A_MENU_2_BREADCRUMB_SHOW_BTN_": "Verborgen links tonen",
4
+ "_A_MENU_2_BTN_CLOSE_": "Menu sluiten",
5
+ "_A_MENU_2_BTN_OPEN_": "Menu openen",
6
+ "_A_MENU_2_CLOSE_SUBMENU_": "Submenu sluiten:",
7
+ "_A_MENU_2_MAIN_MENU_": "Hoofdmenu",
8
+ "_A_MENU_2_OPEN_SEARCH_": "Menuzoekfunctie openen",
9
+ "_A_MENU_2_OPEN_SUBMENU_": "Submenu openen:",
10
+ "_A_MENU_2_SEARCH_": "Menuzoekfunctie",
11
+ "_A_MENU_2_SEARCH_ELEMENTS_{{count}}_": "{{ count }} menu-items gevonden",
12
+ "_A_MENU_2_SEARCH_NONE_FOUND_": "Geen menu-items gevonden",
13
+ "_A_MENU_2_TO_MAIN_MENU_": "Naar hoofdmenu"
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "_A_MENU_2_BREADCRUMB_": "Ścieżka nawigacji",
3
+ "_A_MENU_2_BREADCRUMB_SHOW_BTN_": "Pokaż ukryte linki",
4
+ "_A_MENU_2_BTN_CLOSE_": "Zamknij menu",
5
+ "_A_MENU_2_BTN_OPEN_": "Otwórz menu",
6
+ "_A_MENU_2_CLOSE_SUBMENU_": "Zamknij podmenu:",
7
+ "_A_MENU_2_MAIN_MENU_": "Menu główne",
8
+ "_A_MENU_2_OPEN_SEARCH_": "Otwórz wyszukiwanie w menu",
9
+ "_A_MENU_2_OPEN_SUBMENU_": "Otwórz podmenu:",
10
+ "_A_MENU_2_SEARCH_": "Wyszukiwanie w menu",
11
+ "_A_MENU_2_SEARCH_ELEMENTS_{{count}}_": "Znalezione pozycje menu: {{ count }}",
12
+ "_A_MENU_2_SEARCH_NONE_FOUND_": "Nie znaleziono pozycji menu",
13
+ "_A_MENU_2_TO_MAIN_MENU_": "Do menu głównego"
14
+ }
@@ -1,48 +1,48 @@
1
- import {
2
- computed,
3
- ref,
4
- toRef,
5
- } from "vue";
6
-
7
- export default function ZIndexAPI(props) {
8
- const backdropZIndex = toRef(props, "backdropZIndex");
9
- const zIndex = toRef(props, "zIndex");
10
-
11
- const countOpenedModals = ref(0);
12
-
13
- const stylesZIndexModal = computed(() => {
14
- const STYLES = {};
15
-
16
- if (zIndex.value) {
17
- STYLES["--a_modal_zindex"] = zIndex.value;
18
- } else if (countOpenedModals.value > 1) {
19
- STYLES["--a_modal_zindex"] = 1055 + countOpenedModals.value - 1;
20
- }
21
-
22
- return STYLES;
23
- });
24
-
25
- const stylesBackdrop = computed(() => {
26
- const STYLES = {};
27
-
28
- if (backdropZIndex.value) {
29
- STYLES["--a__backdrop_zindex"] = backdropZIndex.value;
30
- } else if (countOpenedModals.value > 1) {
31
- STYLES["--a__backdrop_zindex"] = 1054 + countOpenedModals.value - 1;
32
- }
33
-
34
- return STYLES;
35
- });
36
-
37
- const checkOpenedModals = () => {
38
- const ELEMENTS = document.querySelectorAll(".a_backdrop");
39
- countOpenedModals.value = ELEMENTS?.length || 0;
40
- };
41
-
42
- return {
43
- checkOpenedModals,
44
- countOpenedModals,
45
- stylesBackdrop,
46
- stylesZIndexModal,
47
- };
48
- }
1
+ import {
2
+ computed,
3
+ ref,
4
+ toRef,
5
+ } from "vue";
6
+
7
+ export default function ZIndexAPI(props) {
8
+ const backdropZIndex = toRef(props, "backdropZIndex");
9
+ const zIndex = toRef(props, "zIndex");
10
+
11
+ const countOpenedModals = ref(0);
12
+
13
+ const stylesZIndexModal = computed(() => {
14
+ const STYLES = {};
15
+
16
+ if (zIndex.value) {
17
+ STYLES["--a_modal_zindex"] = zIndex.value;
18
+ } else if (countOpenedModals.value > 1) {
19
+ STYLES["--a_modal_zindex"] = 1055 + countOpenedModals.value - 1;
20
+ }
21
+
22
+ return STYLES;
23
+ });
24
+
25
+ const stylesBackdrop = computed(() => {
26
+ const STYLES = {};
27
+
28
+ if (backdropZIndex.value) {
29
+ STYLES["--a__backdrop_zindex"] = backdropZIndex.value;
30
+ } else if (countOpenedModals.value > 1) {
31
+ STYLES["--a__backdrop_zindex"] = 1054 + countOpenedModals.value - 1;
32
+ }
33
+
34
+ return STYLES;
35
+ });
36
+
37
+ const checkOpenedModals = () => {
38
+ const ELEMENTS = document.querySelectorAll(".a_backdrop");
39
+ countOpenedModals.value = ELEMENTS?.length || 0;
40
+ };
41
+
42
+ return {
43
+ checkOpenedModals,
44
+ countOpenedModals,
45
+ stylesBackdrop,
46
+ stylesZIndexModal,
47
+ };
48
+ }
@@ -5,6 +5,8 @@ import es from "./es.json";
5
5
  import fr from "./fr.json";
6
6
  import hr from "./hr.json";
7
7
  import it from "./it.json";
8
+ import nl from "./nl.json";
9
+ import pl from "./pl.json";
8
10
  import ru from "./ru.json";
9
11
  import uk from "./uk.json";
10
12
 
@@ -16,6 +18,8 @@ export default {
16
18
  fr,
17
19
  hr,
18
20
  it,
21
+ nl,
22
+ pl,
19
23
  ru,
20
24
  uk,
21
25
  };
@@ -0,0 +1,7 @@
1
+ {
2
+ "_A_MODAL_BTN_CANCEL_": "annuleren",
3
+ "_A_MODAL_BTN_SAVE_": "opslaan",
4
+ "_A_MODAL_BTN_TEXT_SCREEN_READER_CLOSE_HEADER_": "Modaal venster sluiten (bevindt zich in de koptekst)",
5
+ "_A_MODAL_BTN_TEXT_SCREEN_READER_CLOSE_FOOTER_": "Modaal venster sluiten (bevindt zich in de voettekst)",
6
+ "_A_MODAL_BTN_TEXT_SCREEN_READER_SAVE_": "Gegevens in het modale venster opslaan"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "_A_MODAL_BTN_CANCEL_": "Anuluj",
3
+ "_A_MODAL_BTN_SAVE_": "Zapisz",
4
+ "_A_MODAL_BTN_TEXT_SCREEN_READER_CLOSE_HEADER_": "Zamknij okno modalne (w nagłówku)",
5
+ "_A_MODAL_BTN_TEXT_SCREEN_READER_CLOSE_FOOTER_": "Zamknij okno modalne (w stopce)",
6
+ "_A_MODAL_BTN_TEXT_SCREEN_READER_SAVE_": "Zapisz dane w oknie modalnym"
7
+ }
@@ -5,6 +5,8 @@ import es from "./es.json";
5
5
  import fr from "./fr.json";
6
6
  import hr from "./hr.json";
7
7
  import it from "./it.json";
8
+ import nl from "./nl.json";
9
+ import pl from "./pl.json";
8
10
  import ru from "./ru.json";
9
11
  import uk from "./uk.json";
10
12
 
@@ -16,6 +18,8 @@ export default {
16
18
  fr,
17
19
  hr,
18
20
  it,
21
+ nl,
22
+ pl,
19
23
  ru,
20
24
  uk,
21
25
  };
@@ -0,0 +1,12 @@
1
+ {
2
+ "_A_COUNT_PER_PAGE_": "Per pagina:",
3
+ "_A_COUNT_PER_PAGE_ITEM_{{count}}_": "Items per pagina:",
4
+ "_A_COUNT_PER_PAGE_{{start}}_{{current}}_{{count}}_": "{{ start }} tot {{ current }} van {{ count }}",
5
+ "_A_PAGINATION_FIRST_PAGE_": "Naar eerste pagina",
6
+ "_A_PAGINATION_LAST_PAGE_": "Naar laatste pagina",
7
+ "_A_PAGINATION_MOBILE_{{currentPage}}_{{allPages}}_": "{{ currentPage }} van {{ allPages }}",
8
+ "_A_PAGINATION_NAVIGATION_": "Paginanavigatie",
9
+ "_A_PAGINATION_NEXT_PAGE_": "Naar volgende pagina",
10
+ "_A_PAGINATION_PREVIOUS_PAGE_": "Naar vorige pagina",
11
+ "_A_PAGINATION_TO_PAGE_{{page}}_": "Naar pagina {{ page }}"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "_A_COUNT_PER_PAGE_": "Na stronę:",
3
+ "_A_COUNT_PER_PAGE_ITEM_{{count}}_": "Pozycji na stronę:",
4
+ "_A_COUNT_PER_PAGE_{{start}}_{{current}}_{{count}}_": "{{ start }} do {{ current }} z {{ count }}",
5
+ "_A_PAGINATION_FIRST_PAGE_": "Do pierwszej strony",
6
+ "_A_PAGINATION_LAST_PAGE_": "Do ostatniej strony",
7
+ "_A_PAGINATION_MOBILE_{{currentPage}}_{{allPages}}_": "{{ currentPage }} z {{ allPages }}",
8
+ "_A_PAGINATION_NAVIGATION_": "Nawigacja po stronach",
9
+ "_A_PAGINATION_NEXT_PAGE_": "Do następnej strony",
10
+ "_A_PAGINATION_PREVIOUS_PAGE_": "Do poprzedniej strony",
11
+ "_A_PAGINATION_TO_PAGE_{{page}}_": "Do strony {{ page }}"
12
+ }