Skip to content

Commit bd91cb5

Browse files
chore(release): set package.json to 3.7.0 [skip ci]
# [3.7.0](v3.6.6...v3.7.0) (2024-10-02) ### Bug Fixes * added dsShowEntries provider ([c9e0ef2](c9e0ef2)) * updated npm packages ([d71ffa9](d71ffa9)) ### Features * exposed dsSearch ([79c6db7](79c6db7))
1 parent 847e402 commit bd91cb5

File tree

4 files changed

+36
-23
lines changed

4 files changed

+36
-23
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# [3.7.0](https://github.com/kouts/vue-dataset/compare/v3.6.6...v3.7.0) (2024-10-02)
2+
3+
4+
### Bug Fixes
5+
6+
* added dsShowEntries provider ([c9e0ef2](https://github.com/kouts/vue-dataset/commit/c9e0ef2b826eb9fc78056a4828a52b217181f6d7))
7+
* updated npm packages ([d71ffa9](https://github.com/kouts/vue-dataset/commit/d71ffa9b234f4b679867bcaa593ded7901a8619c))
8+
9+
10+
### Features
11+
12+
* exposed dsSearch ([79c6db7](https://github.com/kouts/vue-dataset/commit/79c6db783b11c85291bfd1d712ea10291fa3bd2d))
13+
114
## [3.6.6](https://github.com/kouts/vue-dataset/compare/v3.6.5...v3.6.6) (2024-08-22)
215

316

coverage/coverage-summary.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{"total": {"lines":{"total":517,"covered":517,"skipped":0,"pct":100},"statements":{"total":517,"covered":517,"skipped":0,"pct":100},"functions":{"total":27,"covered":27,"skipped":0,"pct":100},"branches":{"total":133,"covered":131,"skipped":0,"pct":98.49},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
2-
,"/home/runner/work/vue-dataset/vue-dataset/src/Dataset.vue": {"lines":{"total":155,"covered":155,"skipped":0,"pct":100},"functions":{"total":12,"covered":12,"skipped":0,"pct":100},"statements":{"total":155,"covered":155,"skipped":0,"pct":100},"branches":{"total":33,"covered":33,"skipped":0,"pct":100}}
1+
{"total": {"lines":{"total":519,"covered":519,"skipped":0,"pct":100},"statements":{"total":519,"covered":519,"skipped":0,"pct":100},"functions":{"total":27,"covered":27,"skipped":0,"pct":100},"branches":{"total":133,"covered":131,"skipped":0,"pct":98.49},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
2+
,"/home/runner/work/vue-dataset/vue-dataset/src/Dataset.vue": {"lines":{"total":157,"covered":157,"skipped":0,"pct":100},"functions":{"total":12,"covered":12,"skipped":0,"pct":100},"statements":{"total":157,"covered":157,"skipped":0,"pct":100},"branches":{"total":33,"covered":33,"skipped":0,"pct":100}}
33
,"/home/runner/work/vue-dataset/vue-dataset/src/DatasetInfo.vue": {"lines":{"total":22,"covered":22,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":22,"covered":22,"skipped":0,"pct":100},"branches":{"total":7,"covered":7,"skipped":0,"pct":100}}
44
,"/home/runner/work/vue-dataset/vue-dataset/src/DatasetItem.vue": {"lines":{"total":31,"covered":31,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":31,"covered":31,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
55
,"/home/runner/work/vue-dataset/vue-dataset/src/DatasetPager.vue": {"lines":{"total":55,"covered":55,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":55,"covered":55,"skipped":0,"pct":100},"branches":{"total":23,"covered":21,"skipped":0,"pct":91.3}}

dist/vue-dataset.es.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ref as _, computed as f, watch as C, provide as u, renderSlot as R, nextTick as j, inject as i, openBlock as v, createElementBlock as h, toDisplayString as c, createBlock as L, resolveDynamicComponent as B, withCtx as M, Fragment as A, renderList as F, createCommentVNode as K, createElementVNode as w, normalizeClass as k, withModifiers as N } from "vue";
1+
import { ref as _, computed as f, watch as C, provide as c, renderSlot as R, nextTick as j, inject as i, openBlock as h, createElementBlock as v, toDisplayString as u, createBlock as L, resolveDynamicComponent as B, withCtx as M, Fragment as A, renderList as F, createCommentVNode as K, createElementVNode as w, normalizeClass as k, withModifiers as N } from "vue";
22
const V = "...";
33
function z(t, n, s) {
44
let e;
@@ -150,10 +150,10 @@ const J = {
150150
immediate: !0,
151151
deep: !0
152152
}
153-
), u("dsIndexes", a), u("search", d), u("showEntries", b), u("setActive", m), u("datasetI18n", o), u(
153+
), c("dsIndexes", a), c("search", d), c("showEntries", b), c("setActive", m), c("datasetI18n", o), c(
154154
"dsData",
155155
f(() => t.dsData)
156-
), u("dsRows", T), u("dsPages", y), u("dsResultsNumber", x), u("dsPagecount", S), u("dsFrom", D), u("dsTo", I), u("dsPage", s), {
156+
), c("dsRows", T), c("dsSearch", e), c("dsShowEntries", r), c("dsPages", y), c("dsResultsNumber", x), c("dsPagecount", S), c("dsFrom", D), c("dsTo", I), c("dsPage", s), {
157157
dsIndexes: a,
158158
dsShowEntries: r,
159159
dsResultsNumber: x,
@@ -201,7 +201,7 @@ const ge = /* @__PURE__ */ P(Q, [["render", U]]), X = {
201201
}
202202
};
203203
function Y(t, n, s, e, r, o) {
204-
return v(), h("div", null, c(e.datasetI18n.showing) + " " + c(e.showing) + " " + c(e.datasetI18n.showingTo) + " " + c(e.showingTo) + " " + c(e.datasetI18n.showingOf) + " " + c(e.dsResultsNumber) + " " + c(e.datasetI18n.showingEntries), 1);
204+
return h(), v("div", null, u(e.datasetI18n.showing) + " " + u(e.showing) + " " + u(e.datasetI18n.showingTo) + " " + u(e.showingTo) + " " + u(e.datasetI18n.showingOf) + " " + u(e.dsResultsNumber) + " " + u(e.datasetI18n.showingEntries), 1);
205205
}
206206
const me = /* @__PURE__ */ P(X, [["render", Y]]), Z = {
207207
name: "DatasetItem",
@@ -226,9 +226,9 @@ const me = /* @__PURE__ */ P(X, [["render", Y]]), Z = {
226226
}
227227
};
228228
function p(t, n, s, e, r, o) {
229-
return v(), L(B(s.tag), null, {
229+
return h(), L(B(s.tag), null, {
230230
default: M(() => [
231-
(v(!0), h(A, null, F(e.dsRows, (a, d) => R(t.$slots, "default", {
231+
(h(!0), v(A, null, F(e.dsRows, (a, d) => R(t.$slots, "default", {
232232
row: e.dsData[a],
233233
rowIndex: a,
234234
index: e.indexes[d]
@@ -258,7 +258,7 @@ const _e = /* @__PURE__ */ P(Z, [["render", p]]), $ = {
258258
class: "page-link"
259259
}, ae = ["tabindex", "aria-disabled"];
260260
function re(t, n, s, e, r, o) {
261-
return v(), h("ul", ee, [
261+
return h(), v("ul", ee, [
262262
w("li", {
263263
class: k(["page-item", e.disabledPrevious && "disabled"])
264264
}, [
@@ -268,18 +268,18 @@ function re(t, n, s, e, r, o) {
268268
tabindex: e.disabledPrevious ? "-1" : null,
269269
"aria-disabled": e.disabledPrevious ? "true" : null,
270270
onClick: n[0] || (n[0] = N((a) => e.setActive(e.dsPage !== 1 && e.dsPagecount !== 0 ? e.dsPage - 1 : e.dsPage), ["prevent"]))
271-
}, c(e.datasetI18n.previous), 9, te)
271+
}, u(e.datasetI18n.previous), 9, te)
272272
], 2),
273-
(v(!0), h(A, null, F(e.dsPages, (a, d) => (v(), h("li", {
273+
(h(!0), v(A, null, F(e.dsPages, (a, d) => (h(), v("li", {
274274
key: d,
275275
class: k(["page-item", a === e.dsPage && "active", a === e.morePages && "disabled"])
276276
}, [
277-
a !== e.morePages ? (v(), h("a", {
277+
a !== e.morePages ? (h(), v("a", {
278278
key: 0,
279279
class: "page-link",
280280
href: "#",
281281
onClick: N((b) => e.setActive(a), ["prevent"])
282-
}, c(a), 9, se)) : (v(), h("span", ne, c(a), 1))
282+
}, u(a), 9, se)) : (h(), v("span", ne, u(a), 1))
283283
], 2))), 128)),
284284
w("li", {
285285
class: k(["page-item", e.disabledNext && "disabled"])
@@ -290,7 +290,7 @@ function re(t, n, s, e, r, o) {
290290
tabindex: e.disabledNext ? "-1" : null,
291291
"aria-disabled": e.disabledNext ? "true" : null,
292292
onClick: n[1] || (n[1] = N((a) => e.setActive(e.dsPage !== e.dsPagecount && e.dsPagecount !== 0 ? e.dsPage + 1 : e.dsPage), ["prevent"]))
293-
}, c(e.datasetI18n.next), 9, ae)
293+
}, u(e.datasetI18n.next), 9, ae)
294294
], 2)
295295
]);
296296
}
@@ -317,7 +317,7 @@ const we = /* @__PURE__ */ P($, [["render", re]]), oe = {
317317
}
318318
}, de = ["placeholder", "value"];
319319
function le(t, n, s, e, r, o) {
320-
return v(), h("input", {
320+
return h(), v("input", {
321321
type: "text",
322322
placeholder: s.dsSearchPlaceholder,
323323
class: "form-control",
@@ -354,23 +354,23 @@ const be = /* @__PURE__ */ P(oe, [["render", le]]), ie = {
354354
};
355355
}
356356
}, ce = { class: "form-inline" }, ue = ["value"], fe = ["value"];
357-
function ve(t, n, s, e, r, o) {
358-
return v(), h("div", ce, [
359-
w("label", null, c(e.datasetI18n.show), 1),
357+
function he(t, n, s, e, r, o) {
358+
return h(), v("div", ce, [
359+
w("label", null, u(e.datasetI18n.show), 1),
360360
w("select", {
361361
value: s.dsShowEntries,
362362
class: "form-control mr-1 ml-1",
363363
onChange: n[0] || (n[0] = (...a) => e.change && e.change(...a))
364364
}, [
365-
(v(!0), h(A, null, F(s.dsShowEntriesLovs, (a) => (v(), h("option", {
365+
(h(!0), v(A, null, F(s.dsShowEntriesLovs, (a) => (h(), v("option", {
366366
key: a.value,
367367
value: a.value
368-
}, c(a.text), 9, fe))), 128))
368+
}, u(a.text), 9, fe))), 128))
369369
], 40, ue),
370-
w("label", null, c(e.datasetI18n.entries), 1)
370+
w("label", null, u(e.datasetI18n.entries), 1)
371371
]);
372372
}
373-
const Pe = /* @__PURE__ */ P(ie, [["render", ve]]);
373+
const Pe = /* @__PURE__ */ P(ie, [["render", he]]);
374374
export {
375375
ge as Dataset,
376376
me as DatasetInfo,

0 commit comments

Comments
 (0)