@xwiki/cristal-uiextension-ui 0.24.0 → 0.25.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.
@@ -1 +1 @@
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;"}
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 { UIExtensionsManager } from \"@xwiki/cristal-uiextension-api\";\nimport type { CristalApp } from \"@xwiki/platform-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;"}
@@ -1 +1 @@
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"}
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 { UIExtensionsManager } from \"@xwiki/cristal-uiextension-api\";\nimport type { CristalApp } from \"@xwiki/platform-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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-uiextension-ui",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -28,8 +28,8 @@
28
28
  "main": "./dist/index.es.js",
29
29
  "types": "./dist/index.d.ts",
30
30
  "dependencies": {
31
- "@xwiki/cristal-uiextension-api": "0.24.0",
32
- "@xwiki/cristal-api": "0.24.0"
31
+ "@xwiki/platform-api": "18.0.0-1766398944",
32
+ "@xwiki/cristal-uiextension-api": "0.25.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "reflect-metadata": "0.x",
@@ -37,10 +37,10 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "5.9.3",
40
- "vite": "7.1.12",
41
- "vue": "3.5.22",
42
- "vue-tsc": "3.1.3",
43
- "@xwiki/cristal-dev-config": "0.24.0"
40
+ "vite": "7.2.7",
41
+ "vue": "3.5.25",
42
+ "vue-tsc": "3.1.8",
43
+ "@xwiki/cristal-dev-config": "0.25.0"
44
44
  },
45
45
  "scripts": {
46
46
  "api-extractor:local": "api-extractor run --local",
@@ -20,8 +20,8 @@
20
20
 
21
21
  <script lang="ts" setup>
22
22
  import { inject } from "vue";
23
- import type { CristalApp } from "@xwiki/cristal-api";
24
23
  import type { UIExtensionsManager } from "@xwiki/cristal-uiextension-api";
24
+ import type { CristalApp } from "@xwiki/platform-api";
25
25
  import type { Component } from "vue";
26
26
  //
27
27
  const { uixName } = defineProps<{
package/CHANGELOG.md DELETED
@@ -1,169 +0,0 @@
1
- # @xwiki/cristal-uiextension-ui
2
-
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
20
-
21
- ### Patch Changes
22
-
23
- - Updated dependencies
24
- - @xwiki/cristal-api@0.22.0
25
- - @xwiki/cristal-uiextension-api@0.22.0
26
-
27
- ## 0.21.0
28
-
29
- ### Minor Changes
30
-
31
- - Cristal 0.21 Release
32
-
33
- ### Patch Changes
34
-
35
- - Updated dependencies
36
- - @xwiki/cristal-api@0.21.0
37
- - @xwiki/cristal-uiextension-api@0.21.0
38
-
39
- ## 0.20.0
40
-
41
- ### Minor Changes
42
-
43
- - Cristal 0.20 Release
44
-
45
- ### Patch Changes
46
-
47
- - Updated dependencies
48
- - @xwiki/cristal-api@0.20.0
49
- - @xwiki/cristal-uiextension-api@0.20.0
50
-
51
- ## 0.20.0-rc.0
52
-
53
- ### Minor Changes
54
-
55
- - Cristal 0.20-rc-1 Release
56
-
57
- ### Patch Changes
58
-
59
- - Updated dependencies
60
- - @xwiki/cristal-api@0.20.0-rc.0
61
- - @xwiki/cristal-uiextension-api@0.20.0-rc.0
62
-
63
- ## 0.19.0
64
-
65
- ### Minor Changes
66
-
67
- - 3eea53e: Cristal 0.19 Release
68
-
69
- ### Patch Changes
70
-
71
- - Updated dependencies [3eea53e]
72
- - @xwiki/cristal-api@0.19.0
73
- - @xwiki/cristal-uiextension-api@0.19.0
74
-
75
- ## 0.18.0
76
-
77
- ### Minor Changes
78
-
79
- - Cristal 0.18 Release
80
-
81
- ### Patch Changes
82
-
83
- - Updated dependencies
84
- - @xwiki/cristal-api@0.18.0
85
- - @xwiki/cristal-uiextension-api@0.18.0
86
-
87
- ## 0.17.0
88
-
89
- ### Minor Changes
90
-
91
- - Cristal 0.17 Release
92
-
93
- ### Patch Changes
94
-
95
- - Updated dependencies
96
- - @xwiki/cristal-api@0.17.0
97
- - @xwiki/cristal-uiextension-api@0.17.0
98
-
99
- ## 0.16.0
100
-
101
- ### Minor Changes
102
-
103
- - Cristal 0.16 Release
104
-
105
- ### Patch Changes
106
-
107
- - Updated dependencies
108
- - @xwiki/cristal-api@0.16.0
109
- - @xwiki/cristal-uiextension-api@0.16.0
110
-
111
- ## 0.15.0
112
-
113
- ### Minor Changes
114
-
115
- - Cristal 0.15 Release
116
-
117
- ### Patch Changes
118
-
119
- - Updated dependencies
120
- - @xwiki/cristal-api@0.15.0
121
- - @xwiki/cristal-uiextension-api@0.15.0
122
-
123
- ## 0.14.0
124
-
125
- ### Minor Changes
126
-
127
- - 3e5f853: Cristal 0.14 Release
128
-
129
- ### Patch Changes
130
-
131
- - Updated dependencies [3e5f853]
132
- - @xwiki/cristal-api@0.14.0
133
- - @xwiki/cristal-uiextension-api@0.14.0
134
-
135
- ## 0.13.0
136
-
137
- ### Minor Changes
138
-
139
- - 06a5d1b: Cristal 0.13 Release
140
-
141
- ### Patch Changes
142
-
143
- - Updated dependencies [06a5d1b]
144
- - @xwiki/cristal-api@0.13.0
145
- - @xwiki/cristal-uiextension-api@0.13.0
146
-
147
- ## 0.12.0
148
-
149
- ### Minor Changes
150
-
151
- - 681a9b7: Cristal 0.12 Release
152
-
153
- ### Patch Changes
154
-
155
- - Updated dependencies [681a9b7]
156
- - @xwiki/cristal-api@0.12.0
157
- - @xwiki/cristal-uiextension-api@0.12.0
158
-
159
- ## 0.11.0
160
-
161
- ### Minor Changes
162
-
163
- - d54422d: Cristal 0.11 Release
164
-
165
- ### Patch Changes
166
-
167
- - Updated dependencies [d54422d]
168
- - @xwiki/cristal-api@0.11.0
169
- - @xwiki/cristal-uiextension-api@0.11.0