@avakhula/ui 0.0.264 → 0.0.267

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avakhula/ui",
3
- "version": "0.0.264",
3
+ "version": "0.0.267",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -23,15 +23,13 @@
23
23
  size="m"
24
24
  class="toggle-children button-prev"
25
25
  :disabled="currentPage === 1"
26
- v-tooltip="tooltipTextPrev"
26
+ v-tooltip="tooltipTextPrev ? tooltipTextNext : lang('prev_page', 'system')"
27
27
  @click="onSelect(currentPage - 1)"
28
28
  >
29
29
  <ib-icon name="chevron-back-outline"></ib-icon>
30
- <!-- <ib-tooltip v-if="tooltipTextPrev" :text="tooltipTextPrev"></ib-tooltip> -->
31
30
  </ib-icon-button>
32
31
 
33
32
  <ul class="pagination-wrapper">
34
- <!-- here -->
35
33
  <li
36
34
  v-for="(item, index) of countPagePagination"
37
35
  v-show="showItem(index + 1)"
@@ -55,11 +53,10 @@
55
53
  size="m"
56
54
  class="toggle-children button-next"
57
55
  :disabled="currentPage === countPagePagination"
58
- v-tooltip="tooltipTextNext"
56
+ v-tooltip="tooltipTextNext ? tooltipTextNext : lang('next_page', 'system')"
59
57
  @click="onSelect(currentPage + 1)"
60
58
  >
61
59
  <ib-icon name="chevron-forward-outline"></ib-icon>
62
- <!-- <ib-tooltip v-if="tooltipTextNext" :text="tooltipTextNext"></ib-tooltip> -->
63
60
  </ib-icon-button>
64
61
  </div>
65
62
  </div>
@@ -72,19 +69,15 @@ import IbInput from "../Form/Input/Input.vue";
72
69
  import IbLabel from "../Form/Label/Label.vue";
73
70
  import IbIcon from "../Icon.vue";
74
71
  import { TooltipDirective as Tooltip } from "../../directives/tooltip/tooltip";
75
- // import IbTooltip from "../Tooltip/Tooltip.vue";
76
-
77
72
 
78
73
  export default {
79
74
  name: "IbPagination",
80
75
  props: {
81
76
  tooltipTextPrev: {
82
77
  type: String,
83
- default: lang('prev_page', this.langComponents?.COMPONENT_SYSTEM),
84
78
  },
85
79
  tooltipTextNext: {
86
80
  type: String,
87
- default: lang('next_page', this.langComponents?.COMPONENT_SYSTEM),
88
81
  },
89
82
  labelInput: {
90
83
  type: String,