flameresttable 1.0.47 → 1.0.48

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,14 +1,14 @@
1
1
  {
2
2
  "name": "flameresttable",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "main": "./src/plugin.ts",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/FlameArt/resttable.git"
8
8
  },
9
9
  "scripts": {
10
- "install/update": "npm i && npm update --save",
11
- "push and publish": "git push && npm --no-git-tag-version version patch && npm publish"
10
+ "push and publish": "git push && npm --no-git-tag-version version patch && npm publish",
11
+ "install/update": "npm i && npm update --save"
12
12
  },
13
13
  "dependencies": {
14
14
  "@vuepic/vue-datepicker": "^7.2.1",
@@ -6,7 +6,7 @@ nav.relative.z-0.w-full.fc.flex-wrap.rounded-md.-space-x-px(aria-label='Paginati
6
6
  svg.h-5.w-5(xmlns='http://www.w3.org/2000/svg' viewbox='0 0 20 20' fill='currentColor' aria-hidden='true')
7
7
  path(fill-rule='evenodd' d='M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z' clip-rule='evenodd')
8
8
  // Current: "z-10 bg-indigo-50 border-indigo-500 text-indigo-600", Default: "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
9
- a.cursor-pointer.bg-white.border-gray-300.text-gray-500.relative.inline-flex.items-center.px-4.py-2.border.text-sm.font-medium(v-for="page in props.table.Pager.count" class="hover:bg-gray-50" :class="props.table.Pager.page === page ? 'z-10 bg-indigo-50 border-indigo-500 text-indigo-600' : ''" @click="goPage(page)")
9
+ a.cursor-pointer.bg-white.border-gray-300.text-gray-500.relative.inline-flex.items-center.px-4.py-2.border.text-sm.font-medium(v-for="page in props.table.Pager.count" class="hover:bg-gray-50" :class="props.table.Pager.page === page ? 'selectedPage' : ''" @click="goPage(page)")
10
10
  | {{ page }}
11
11
  //span.relative.inline-flex.items-center.px-4.py-2.border.border-gray-300.bg-white.text-sm.font-medium.text-gray-700 ...
12
12
  a.relative.inline-flex.items-center.px-2.py-2.rounded-r-md.border.border-gray-300.bg-white.text-sm.font-medium.text-gray-500(@click="goPage(props.table.Pager.page+1)" :class="props.table.Pager.page >= props.table.Pager.count ? 'opacity-30' : 'cursor-pointer'" class='hover:bg-gray-50')
@@ -53,4 +53,8 @@ const goPage = (page: number) => {
53
53
 
54
54
  </script>
55
55
 
56
- <style scoped lang="scss"></style>
56
+ <style scoped lang="scss">
57
+ .selectedPage {
58
+ @apply z-10 bg-indigo-50 border-indigo-500 text-indigo-600
59
+ }
60
+ </style>