@xwiki/cristal-uiextension-ui 0.21.1 → 0.23.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.
package/CHANGELOG.md CHANGED
@@ -1,13 +1,28 @@
1
1
  # @xwiki/cristal-uiextension-ui
2
2
 
3
- ## 0.21.1
3
+ ## 0.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Cristal 0.23 Release
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @xwiki/cristal-api@0.23.0
13
+ - @xwiki/cristal-uiextension-api@0.23.0
14
+
15
+ ## 0.22.0
16
+
17
+ ### Minor Changes
18
+
19
+ - Cristal 0.22 Release
4
20
 
5
21
  ### Patch Changes
6
22
 
7
- - Cristal 0.21.1 Release
8
23
  - Updated dependencies
9
- - @xwiki/cristal-api@0.21.1
10
- - @xwiki/cristal-uiextension-api@0.21.1
24
+ - @xwiki/cristal-api@0.22.0
25
+ - @xwiki/cristal-uiextension-api@0.22.0
11
26
 
12
27
  ## 0.21.0
13
28
 
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "../../../api-extractor.json"
4
+ }
package/dist/index.d.cts CHANGED
@@ -1,2 +1,29 @@
1
- import { default as UIExtensions } from './vue/UIExtensions.vue';
2
- export { UIExtensions };
1
+ /**
2
+ * See the LICENSE file distributed with this work for additional
3
+ * information regarding copyright ownership.
4
+ *
5
+ * This is free software; you can redistribute it and/or modify it
6
+ * under the terms of the GNU Lesser General Public License as
7
+ * published by the Free Software Foundation; either version 2.1 of
8
+ * the License, or (at your option) any later version.
9
+ *
10
+ * This software is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this software; if not, write to the Free
17
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
+ */
20
+ /**
21
+ * @since 0.11
22
+ * @beta
23
+ */
24
+ declare const UIExtensionsAnnotated: import('vue').DefineComponent<{
25
+ uixName: string;
26
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
27
+ uixName: string;
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ export { UIExtensionsAnnotated as UIExtensions };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,29 @@
1
- import { default as UIExtensions } from './vue/UIExtensions.vue';
2
- export { UIExtensions };
1
+ /**
2
+ * See the LICENSE file distributed with this work for additional
3
+ * information regarding copyright ownership.
4
+ *
5
+ * This is free software; you can redistribute it and/or modify it
6
+ * under the terms of the GNU Lesser General Public License as
7
+ * published by the Free Software Foundation; either version 2.1 of
8
+ * the License, or (at your option) any later version.
9
+ *
10
+ * This software is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this software; if not, write to the Free
17
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
+ */
20
+ /**
21
+ * @since 0.11
22
+ * @beta
23
+ */
24
+ declare const UIExtensionsAnnotated: import('vue').DefineComponent<{
25
+ uixName: string;
26
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
27
+ uixName: string;
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ export { UIExtensionsAnnotated as UIExtensions };
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as c, inject as m, withAsyncContext as i, createElementBlock as p, openBlock as l, Fragment as u, renderList as x, createVNode as _, resolveDynamicComponent as d } from "vue";
2
- const y = /* @__PURE__ */ c({
1
+ import { defineComponent as c, inject as m, withAsyncContext as i, createElementBlock as p, openBlock as l, Fragment as x, renderList as u, createVNode as _, resolveDynamicComponent as d } from "vue";
2
+ const E = /* @__PURE__ */ c({
3
3
  __name: "UIExtensions",
4
4
  props: {
5
5
  uixName: {}
@@ -12,12 +12,12 @@ const y = /* @__PURE__ */ c({
12
12
  id: t.id,
13
13
  component: ([e, n] = i(() => t.component()), e = await e, n(), e)
14
14
  });
15
- return (t, f) => (l(), p(u, null, x(o, (s) => _(d(s.component), {
15
+ return (t, g) => (l(), p(x, null, u(o, (s) => _(d(s.component), {
16
16
  key: s.id
17
17
  })), 64));
18
18
  }
19
- });
19
+ }), C = E;
20
20
  export {
21
- y as UIExtensions
21
+ C as UIExtensions
22
22
  };
23
23
  //# sourceMappingURL=index.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../src/vue/UIExtensions.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n\n<script lang=\"ts\" setup>\nimport { CristalApp } from \"@xwiki/cristal-api\";\nimport { UIExtensionsManager } from \"@xwiki/cristal-uiextension-api\";\nimport { inject } from \"vue\";\nimport type { Component } from \"vue\";\n//\nconst { uixName } = defineProps<{\n uixName: string;\n}>();\n\nconst cristal = inject<CristalApp>(\"cristal\")!;\n\nconst uixManager: UIExtensionsManager = cristal\n .getContainer()\n .get<UIExtensionsManager>(\"UIExtensionsManager\")!;\n\nconst uiExtensions: { id: string; component: Component }[] = [];\nfor (let uiExtension of await uixManager.list(uixName)) {\n uiExtensions.push({\n id: uiExtension.id,\n component: await uiExtension.component(),\n });\n}\n</script>\n\n<template>\n <component\n :is=\"uix.component\"\n v-for=\"uix in uiExtensions\"\n :key=\"uix.id\"\n ></component>\n</template>\n"],"names":["uixManager","inject","uiExtensions","uiExtension","__temp","__restore","_withAsyncContext","__props","_createElementBlock","_Fragment","_renderList","uix","_createVNode","_resolveDynamicComponent"],"mappings":";;;;;;;;AAgCA,UAAMA,IAFUC,EAAmB,SAAS,EAGzC,aAAA,EACA,IAAyB,qBAAqB,GAE3CC,IAAuD,CAAA;AAC7D,aAASC,MAAe,CAAAC,GAAAC,CAAA,IAAAC,EAAA,MAAMN,EAAW,KAAKO,EAAA,OAAO,CAAA;AACnD,MAAAL,EAAa,KAAK;AAAA,QAChB,IAAIC,EAAY;AAAA,QAChB,YAAW,CAAAC,GAAAC,CAAA,IAAAC,EAAA,MAAMH,EAAY,UAAA,CAAU;OACxC;2BAKDK,EAIaC,GAAA,MAAAC,EAFGR,GAAY,CAAnBS,MAFTC,EAIaC,EAHNF,EAAI,SAAS,GAAA;AAAA,MAEjB,KAAKA,EAAI;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"index.es.js","sources":["../src/vue/UIExtensions.vue","../src/index.ts"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n\n<script lang=\"ts\" setup>\nimport { inject } from \"vue\";\nimport type { CristalApp } from \"@xwiki/cristal-api\";\nimport type { UIExtensionsManager } from \"@xwiki/cristal-uiextension-api\";\nimport type { Component } from \"vue\";\n//\nconst { uixName } = defineProps<{\n uixName: string;\n}>();\n\nconst cristal = inject<CristalApp>(\"cristal\")!;\n\nconst uixManager: UIExtensionsManager = cristal\n .getContainer()\n .get<UIExtensionsManager>(\"UIExtensionsManager\")!;\n\nconst uiExtensions: { id: string; component: Component }[] = [];\nfor (let uiExtension of await uixManager.list(uixName)) {\n uiExtensions.push({\n id: uiExtension.id,\n component: await uiExtension.component(),\n });\n}\n</script>\n\n<template>\n <component\n :is=\"uix.component\"\n v-for=\"uix in uiExtensions\"\n :key=\"uix.id\"\n ></component>\n</template>\n","/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport UIExtensions from \"./vue/UIExtensions.vue\";\n\n/**\n * @since 0.11\n * @beta\n */\nconst UIExtensionsAnnotated = UIExtensions;\n\nexport { UIExtensionsAnnotated as UIExtensions };\n"],"names":["uixManager","inject","uiExtensions","uiExtension","__temp","__restore","_withAsyncContext","__props","_createElementBlock","_Fragment","_renderList","uix","_createVNode","_resolveDynamicComponent","UIExtensionsAnnotated","UIExtensions"],"mappings":";;;;;;;;AAgCA,UAAMA,IAFUC,EAAmB,SAAS,EAGzC,aAAA,EACA,IAAyB,qBAAqB,GAE3CC,IAAuD,CAAA;AAC7D,aAASC,MAAe,CAAAC,GAAAC,CAAA,IAAAC,EAAA,MAAMN,EAAW,KAAKO,EAAA,OAAO,CAAA;AACnD,MAAAL,EAAa,KAAK;AAAA,QAChB,IAAIC,EAAY;AAAA,QAChB,YAAW,CAAAC,GAAAC,CAAA,IAAAC,EAAA,MAAMH,EAAY,UAAA,CAAU;OACxC;2BAKDK,EAIaC,GAAA,MAAAC,EAFGR,GAAY,CAAnBS,MAFTC,EAIaC,EAHNF,EAAI,SAAS,GAAA;AAAA,MAEjB,KAAKA,EAAI;AAAA,IAAA;;ICvBRG,IAAwBC;"}
package/dist/index.umd.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["cristal_uiextension-ui"]={},t.Vue))})(this,function(t,e){"use strict";const c=e.defineComponent({__name:"UIExtensions",props:{uixName:{}},async setup(a){let n,i;const p=e.inject("cristal").getContainer().get("UIExtensionsManager"),s=[];for(let o of([n,i]=e.withAsyncContext(()=>p.list(a.uixName)),n=await n,i(),n))s.push({id:o.id,component:([n,i]=e.withAsyncContext(()=>o.component()),n=await n,i(),n)});return(o,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,r=>e.createVNode(e.resolveDynamicComponent(r.component),{key:r.id})),64))}});t.UIExtensions=c,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
1
+ (function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["cristal_uiextension-ui"]={},t.Vue))})(this,(function(t,e){"use strict";const r=e.defineComponent({__name:"UIExtensions",props:{uixName:{}},async setup(a){let n,i;const d=e.inject("cristal").getContainer().get("UIExtensionsManager"),s=[];for(let o of([n,i]=e.withAsyncContext(()=>d.list(a.uixName)),n=await n,i(),n))s.push({id:o.id,component:([n,i]=e.withAsyncContext(()=>o.component()),n=await n,i(),n)});return(o,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,c=>e.createVNode(e.resolveDynamicComponent(c.component),{key:c.id})),64))}});t.UIExtensions=r,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
2
2
  //# sourceMappingURL=index.umd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.umd.js","sources":["../src/vue/UIExtensions.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n\n<script lang=\"ts\" setup>\nimport { CristalApp } from \"@xwiki/cristal-api\";\nimport { UIExtensionsManager } from \"@xwiki/cristal-uiextension-api\";\nimport { inject } from \"vue\";\nimport type { Component } from \"vue\";\n//\nconst { uixName } = defineProps<{\n uixName: string;\n}>();\n\nconst cristal = inject<CristalApp>(\"cristal\")!;\n\nconst uixManager: UIExtensionsManager = cristal\n .getContainer()\n .get<UIExtensionsManager>(\"UIExtensionsManager\")!;\n\nconst uiExtensions: { id: string; component: Component }[] = [];\nfor (let uiExtension of await uixManager.list(uixName)) {\n uiExtensions.push({\n id: uiExtension.id,\n component: await uiExtension.component(),\n });\n}\n</script>\n\n<template>\n <component\n :is=\"uix.component\"\n v-for=\"uix in uiExtensions\"\n :key=\"uix.id\"\n ></component>\n</template>\n"],"names":["uixManager","inject","uiExtensions","uiExtension","__temp","__restore","_withAsyncContext","__props","_createElementBlock","_Fragment","_renderList","uix","_createVNode","_resolveDynamicComponent"],"mappings":"yWAgCA,MAAMA,EAFUC,EAAAA,OAAmB,SAAS,EAGzC,aAAA,EACA,IAAyB,qBAAqB,EAE3CC,EAAuD,CAAA,EAC7D,QAASC,KAAe,CAAAC,EAAAC,CAAA,EAAAC,EAAAA,iBAAA,IAAMN,EAAW,KAAKO,EAAA,OAAO,CAAA,mBACnDL,EAAa,KAAK,CAChB,GAAIC,EAAY,GAChB,WAAW,CAAAC,EAAAC,CAAA,EAAAC,EAAAA,iBAAA,IAAMH,EAAY,UAAA,CAAU,mBACxC,8BAKDK,EAAAA,mBAIaC,EAAAA,SAAA,KAAAC,aAFGR,EAAPS,GAFTC,cAIaC,EAAAA,wBAHNF,EAAI,SAAS,EAAA,CAEjB,IAAKA,EAAI,EAAA"}
1
+ {"version":3,"file":"index.umd.js","sources":["../src/index.ts","../src/vue/UIExtensions.vue"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport UIExtensions from \"./vue/UIExtensions.vue\";\n\n/**\n * @since 0.11\n * @beta\n */\nconst UIExtensionsAnnotated = UIExtensions;\n\nexport { UIExtensionsAnnotated as UIExtensions };\n","<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n\n<script lang=\"ts\" setup>\nimport { inject } from \"vue\";\nimport type { CristalApp } from \"@xwiki/cristal-api\";\nimport type { UIExtensionsManager } from \"@xwiki/cristal-uiextension-api\";\nimport type { Component } from \"vue\";\n//\nconst { uixName } = defineProps<{\n uixName: string;\n}>();\n\nconst cristal = inject<CristalApp>(\"cristal\")!;\n\nconst uixManager: UIExtensionsManager = cristal\n .getContainer()\n .get<UIExtensionsManager>(\"UIExtensionsManager\")!;\n\nconst uiExtensions: { id: string; component: Component }[] = [];\nfor (let uiExtension of await uixManager.list(uixName)) {\n uiExtensions.push({\n id: uiExtension.id,\n component: await uiExtension.component(),\n });\n}\n</script>\n\n<template>\n <component\n :is=\"uix.component\"\n v-for=\"uix in uiExtensions\"\n :key=\"uix.id\"\n ></component>\n</template>\n"],"names":["UIExtensionsAnnotated","uixManager","inject","uiExtensions","uiExtension","__temp","__restore","_withAsyncContext","__props","_createElementBlock","_Fragment","_renderList","uix","_createVNode","_resolveDynamicComponent"],"mappings":"+QA0BA,MAAMA,qFCMN,MAAMC,EAFUC,EAAAA,OAAmB,SAAS,EAGzC,aAAA,EACA,IAAyB,qBAAqB,EAE3CC,EAAuD,CAAA,EAC7D,QAASC,KAAe,CAAAC,EAAAC,CAAA,EAAAC,EAAAA,iBAAA,IAAMN,EAAW,KAAKO,EAAA,OAAO,CAAA,mBACnDL,EAAa,KAAK,CAChB,GAAIC,EAAY,GAChB,WAAW,CAAAC,EAAAC,CAAA,EAAAC,EAAAA,iBAAA,IAAMH,EAAY,UAAA,CAAU,mBACxC,8BAKDK,EAAAA,mBAIaC,EAAAA,SAAA,KAAAC,aAFGR,EAAPS,GAFTC,cAIaC,EAAAA,wBAHNF,EAAI,SAAS,EAAA,CAEjB,IAAKA,EAAI,EAAA"}
@@ -0,0 +1,21 @@
1
+ ## API Report File for "@xwiki/cristal-uiextension-ui"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { ComponentOptionsMixin } from 'vue';
8
+ import { ComponentProvideOptions } from 'vue';
9
+ import { DefineComponent } from 'vue';
10
+ import { PublicProps } from 'vue';
11
+
12
+ // @beta (undocumented)
13
+ export const UIExtensions: DefineComponent< {
14
+ uixName: string;
15
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
16
+ uixName: string;
17
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
+
19
+ // (No @packageDocumentation comment for this package)
20
+
21
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-uiextension-ui",
3
- "version": "0.21.1",
3
+ "version": "0.23.0",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -26,26 +26,28 @@
26
26
  }
27
27
  },
28
28
  "main": "./dist/index.es.js",
29
+ "types": "./dist/index.d.ts",
29
30
  "dependencies": {
30
- "@xwiki/cristal-uiextension-api": "0.21.1",
31
- "@xwiki/cristal-api": "0.21.1"
31
+ "@xwiki/cristal-api": "0.23.0",
32
+ "@xwiki/cristal-uiextension-api": "0.23.0"
32
33
  },
33
34
  "peerDependencies": {
34
35
  "reflect-metadata": "0.x",
35
36
  "vue": "3.x"
36
37
  },
37
38
  "devDependencies": {
38
- "typescript": "5.9.2",
39
- "vite": "7.0.6",
40
- "vue": "3.5.18",
39
+ "typescript": "5.9.3",
40
+ "vite": "7.1.9",
41
+ "vue": "3.5.22",
41
42
  "vue-tsc": "2.2.12",
42
- "@xwiki/cristal-dev-config": "0.21.1"
43
+ "@xwiki/cristal-dev-config": "0.23.0"
43
44
  },
44
45
  "scripts": {
45
- "build": "vue-tsc --project tsconfig.json && vite build",
46
+ "api-extractor:local": "api-extractor run --local",
47
+ "build": "vite build",
46
48
  "clean": "rimraf dist",
47
49
  "lint": "eslint \"./src/**/*.{ts,tsx,vue}\" --max-warnings=0",
48
- "test": "vitest --run"
49
- },
50
- "types": "./dist/index.d.ts"
50
+ "test": "vitest --run",
51
+ "typecheck": "vue-tsc"
52
+ }
51
53
  }
package/src/index.ts CHANGED
@@ -20,4 +20,10 @@
20
20
 
21
21
  import UIExtensions from "./vue/UIExtensions.vue";
22
22
 
23
- export { UIExtensions };
23
+ /**
24
+ * @since 0.11
25
+ * @beta
26
+ */
27
+ const UIExtensionsAnnotated = UIExtensions;
28
+
29
+ export { UIExtensionsAnnotated as UIExtensions };
@@ -19,9 +19,9 @@
19
19
  -->
20
20
 
21
21
  <script lang="ts" setup>
22
- import { CristalApp } from "@xwiki/cristal-api";
23
- import { UIExtensionsManager } from "@xwiki/cristal-uiextension-api";
24
22
  import { inject } from "vue";
23
+ import type { CristalApp } from "@xwiki/cristal-api";
24
+ import type { UIExtensionsManager } from "@xwiki/cristal-uiextension-api";
25
25
  import type { Component } from "vue";
26
26
  //
27
27
  const { uixName } = defineProps<{
package/tsdoc.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
3
+ "extends": ["../../../tsdoc.json"]
4
+ }
package/vitest.config.ts CHANGED
@@ -19,7 +19,7 @@
19
19
  */
20
20
 
21
21
  import localConfig from "./vite.config";
22
+ import { vitestVue as defaultConfig } from "@xwiki/cristal-dev-config";
22
23
  import { mergeConfig } from "vitest/config";
23
- import defaultConfig from "@xwiki/cristal-dev-config/vitest-vue.config";
24
24
 
25
25
  export default mergeConfig(defaultConfig, localConfig);