@xwiki/cristal-history-ui 1.0.0 → 1.1.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 (2) hide show
  1. package/dist/index.es.js +6 -6
  2. package/package.json +11 -11
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode("p[data-v-2d247591]{font-size:var(--cr-font-size-medium)}table[data-v-2d247591]{border-collapse:collapse}table tr[data-v-2d247591]:hover{background-color:var(--cr-color-neutral-200)}table td[data-v-2d247591]{vertical-align:top;padding:var(--cr-spacing-small)}table td[data-v-2d247591]:first-child{border-radius:var(--cr-border-radius-medium) 0 0 var(--cr-border-radius-medium)}table td[data-v-2d247591]:last-child{border-radius:0 var(--cr-border-radius-medium) var(--cr-border-radius-medium) 0}table .history-revision-cell[data-v-2d247591]{text-align:center}table .history-revision[data-v-2d247591]{background-color:var(--cr-color-neutral-300);border-radius:var(--cr-border-radius-pill);padding:var(--cr-spacing-2x-small);font-size:var(--cr-font-size-x-small)}")),document.head.appendChild(r)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
- import { defineComponent as f, inject as T, ref as m, onMounted as C, resolveComponent as P, createElementBlock as l, openBlock as c, Fragment as p, createElementVNode as u, createCommentVNode as k, toDisplayString as d, unref as y, renderList as R, createVNode as g, createTextVNode as S, withCtx as _ } from "vue";
2
+ import { defineComponent as f, inject as T, ref as m, onMounted as C, resolveComponent as P, openBlock as l, createElementBlock as c, Fragment as p, toDisplayString as d, unref as y, createElementVNode as u, renderList as k, createVNode as g, withCtx as _, createTextVNode as R, createCommentVNode as S } from "vue";
3
3
  import { User as j } from "@xwiki/cristal-user-ui";
4
4
  import { name as E } from "@xwiki/platform-document-api";
5
5
  import { useI18n as H } from "vue-i18n";
@@ -28,11 +28,11 @@ const L = {
28
28
  s.value && (n.value = await r.getContainer().get("PageRevisionManagerProvider").get().getRevisions(s.value)), a.value = !1;
29
29
  }), (K, h) => {
30
30
  const x = P("i18n-t");
31
- return c(), l(p, null, [
32
- a.value ? (c(), l("p", O, d(y(t)("history.extraTabs.loading")), 1)) : (c(), l("p", V, d(y(t)("history.extraTabs.header", { nRevisions: n.value.length })), 1)),
31
+ return l(), c(p, null, [
32
+ a.value ? (l(), c("p", O, d(y(t)("history.extraTabs.loading")), 1)) : (l(), c("p", V, d(y(t)("history.extraTabs.header", { nRevisions: n.value.length })), 1)),
33
33
  h[1] || (h[1] = u("br", null, null, -1)),
34
- a.value ? k("", !0) : (c(), l("table", I, [
35
- (c(!0), l(p, null, R(n.value, (i) => (c(), l("tr", {
34
+ a.value ? S("", !0) : (l(), c("table", I, [
35
+ (l(!0), c(p, null, k(n.value, (i) => (l(), c("tr", {
36
36
  key: i.version
37
37
  }, [
38
38
  u("td", B, [
@@ -59,7 +59,7 @@ const L = {
59
59
  _: 2
60
60
  }, 1024),
61
61
  h[0] || (h[0] = u("br", null, null, -1)),
62
- S(" " + d(i.comment), 1)
62
+ R(" " + d(i.comment), 1)
63
63
  ])
64
64
  ]))), 128))
65
65
  ]))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-history-ui",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -28,12 +28,12 @@
28
28
  "main": "./dist/index.es.js",
29
29
  "types": "./dist/index.d.ts",
30
30
  "dependencies": {
31
- "@xwiki/platform-api": "18.0.0",
32
- "@xwiki/platform-document-api": "18.0.0",
33
- "vue-i18n": "11.2.2",
34
- "@xwiki/cristal-extra-tabs-api": "1.0.0",
35
- "@xwiki/cristal-history-api": "1.0.0",
36
- "@xwiki/cristal-user-ui": "1.0.0"
31
+ "@xwiki/platform-api": "18.1.0",
32
+ "@xwiki/platform-document-api": "18.1.0",
33
+ "vue-i18n": "11.2.8",
34
+ "@xwiki/cristal-user-ui": "1.1.0",
35
+ "@xwiki/cristal-extra-tabs-api": "1.1.0",
36
+ "@xwiki/cristal-history-api": "1.1.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "inversify": "7.x",
@@ -42,15 +42,15 @@
42
42
  "vue-router": "4.x"
43
43
  },
44
44
  "devDependencies": {
45
- "@xwiki/platform-dsapi": "18.0.0",
45
+ "@xwiki/platform-dsapi": "18.1.0",
46
46
  "inversify": "7.11.0",
47
47
  "reflect-metadata": "0.2.2",
48
48
  "typescript": "5.9.3",
49
49
  "vite": "7.3.1",
50
- "vue": "3.5.26",
50
+ "vue": "3.5.28",
51
51
  "vue-router": "4.6.4",
52
- "vue-tsc": "3.2.2",
53
- "@xwiki/cristal-dev-config": "1.0.0"
52
+ "vue-tsc": "3.2.4",
53
+ "@xwiki/cristal-dev-config": "1.1.0"
54
54
  },
55
55
  "scripts": {
56
56
  "api-extractor:local": "api-extractor run --local",