@xwiki/cristal-uiextension-ui 0.11.0 → 0.12.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,5 +1,17 @@
1
1
  # @xwiki/cristal-uiextension-ui
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 681a9b7: Cristal 0.12 Release
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [681a9b7]
12
+ - @xwiki/cristal-api@0.12.0
13
+ - @xwiki/cristal-uiextension-api@0.12.0
14
+
3
15
  ## 0.11.0
4
16
 
5
17
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../src/vue/UIExtensions.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n\n<script lang=\"ts\" setup>\nimport { type Component, inject } from \"vue\";\nimport { CristalApp } from \"@xwiki/cristal-api\";\nimport { UIExtensionsManager } from \"@xwiki/cristal-uiextension-api\";\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"],"mappings":";;;;;;;;AA+BA,UAAMA,IAFUC,EAAmB,SAAS,EAGzC,aAAa,EACb,IAAyB,qBAAqB,GAE3CC,IAAuD,CAAA;AAC7D,aAASC,MAAe,CAAAC,GAAAC,CAAA,IAAAC,EAAA,MAAMN,EAAW,KAAKO,EAAO,OAAA,CAAA;AACnD,MAAAL,EAAa,KAAK;AAAA,QAChB,IAAIC,EAAY;AAAA,QAChB,YAAiB,CAAAC,GAAAC,CAAA,IAAAC,EAAA,MAAAH,EAAY,UAAU,CAAA;OACxC;;;;;;"}
1
+ {"version":3,"file":"index.es.js","sources":["../src/vue/UIExtensions.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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"],"mappings":";;;;;;;;AAgCA,UAAMA,IAFUC,EAAmB,SAAS,EAGzC,aAAa,EACb,IAAyB,qBAAqB,GAE3CC,IAAuD,CAAA;AAC7D,aAASC,MAAe,CAAAC,GAAAC,CAAA,IAAAC,EAAA,MAAMN,EAAW,KAAKO,EAAO,OAAA,CAAA;AACnD,MAAAL,EAAa,KAAK;AAAA,QAChB,IAAIC,EAAY;AAAA,QAChB,YAAiB,CAAAC,GAAAC,CAAA,IAAAC,EAAA,MAAAH,EAAY,UAAU,CAAA;OACxC;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.umd.js","sources":["../src/vue/UIExtensions.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n\n<script lang=\"ts\" setup>\nimport { type Component, inject } from \"vue\";\nimport { CristalApp } from \"@xwiki/cristal-api\";\nimport { UIExtensionsManager } from \"@xwiki/cristal-uiextension-api\";\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"],"mappings":"yWA+BA,MAAMA,EAFUC,SAAmB,SAAS,EAGzC,aAAa,EACb,IAAyB,qBAAqB,EAE3CC,EAAuD,CAAA,EAC7D,QAASC,KAAe,CAAAC,EAAAC,CAAA,EAAAC,EAAAA,iBAAA,IAAMN,EAAW,KAAKO,EAAO,OAAA,CAAA,mBACnDL,EAAa,KAAK,CAChB,GAAIC,EAAY,GAChB,WAAiB,CAAAC,EAAAC,CAAA,EAAAC,EAAAA,iBAAA,IAAAH,EAAY,UAAU,CAAA,mBACxC"}
1
+ {"version":3,"file":"index.umd.js","sources":["../src/vue/UIExtensions.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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"],"mappings":"yWAgCA,MAAMA,EAFUC,SAAmB,SAAS,EAGzC,aAAa,EACb,IAAyB,qBAAqB,EAE3CC,EAAuD,CAAA,EAC7D,QAASC,KAAe,CAAAC,EAAAC,CAAA,EAAAC,EAAAA,iBAAA,IAAMN,EAAW,KAAKO,EAAO,OAAA,CAAA,mBACnDL,EAAa,KAAK,CAChB,GAAIC,EAAY,GAChB,WAAiB,CAAAC,EAAAC,CAAA,EAAAC,EAAAA,iBAAA,IAAAH,EAAY,UAAU,CAAA,mBACxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-uiextension-ui",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "main": "./dist/index.es.js",
24
24
  "dependencies": {
25
- "@xwiki/cristal-api": "0.11.0",
26
25
  "vue": "3.5.12",
27
- "@xwiki/cristal-uiextension-api": "0.11.0"
26
+ "@xwiki/cristal-api": "0.12.0",
27
+ "@xwiki/cristal-uiextension-api": "0.12.0"
28
28
  },
29
29
  "devDependencies": {
30
- "vue-tsc": "2.1.6"
30
+ "vue-tsc": "2.1.10"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "vue-tsc --project tsconfig.json && vite build",
package/src/index.ts CHANGED
@@ -17,6 +17,7 @@
17
17
  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
18
  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
19
  */
20
+
20
21
  import UIExtensions from "./vue/UIExtensions.vue";
21
22
 
22
23
  export { UIExtensions };
@@ -19,9 +19,10 @@ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19
19
  -->
20
20
 
21
21
  <script lang="ts" setup>
22
- import { type Component, inject } from "vue";
23
22
  import { CristalApp } from "@xwiki/cristal-api";
24
23
  import { UIExtensionsManager } from "@xwiki/cristal-uiextension-api";
24
+ import { inject } from "vue";
25
+ import type { Component } from "vue";
25
26
  //
26
27
  const { uixName } = defineProps<{
27
28
  uixName: string;