ose-plugin-addicto 0.3.0__py3-none-any.whl → 0.3.1__py3-none-any.whl

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,3 +1,10 @@
1
+ from importlib.metadata import version, PackageNotFoundError
2
+
3
+ try:
4
+ __version__ = version("ose-plugin-addicto")
5
+ except PackageNotFoundError:
6
+ __version__ = "unknown"
7
+
1
8
  from ose.model.Plugin import Plugin, PluginComponent
2
9
  from .AddictOVocabReleaseStep import AddictOVocabReleaseStep
3
10
 
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ose-plugin-addicto
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: OntoSpreadEd plugin for AddictO services and workflows
5
5
  Requires-Python: >=3.12
6
6
  Description-Content-Type: text/markdown
7
- Requires-Dist: ose-core==0.3.0
8
- Requires-Dist: ose-plugin-hbcp==0.3.0
7
+ Requires-Dist: ose-core==0.3.1
8
+ Requires-Dist: ose-plugin-hbcp==0.3.1
9
9
 
10
10
  # OSE Plugin: AddictO
11
11
 
@@ -1,12 +1,11 @@
1
1
  ose_plugin_addicto/AddictOVocabClient.py,sha256=q7QOdssY0ldX_DQubEJljBfi9-JYeA4rHytG3o-RX3o,2607
2
2
  ose_plugin_addicto/AddictOVocabReleaseStep.py,sha256=avYbCFiA3365vrmS7rriGeaC-eyykcW6pr2dt2k0Mlg,2821
3
3
  ose_plugin_addicto/AddictOVocabService.py,sha256=uVqtDsilIc335gW0pR99bpQkVT4KgTSc1rq3wldoW8k,1083
4
- ose_plugin_addicto/__init__.py,sha256=beWSaKyNq48XXqiF9mAjUZMyFQvaFVdHAZfn1DJb6L4,522
4
+ ose_plugin_addicto/__init__.py,sha256=5eMqy59R3dk_BXj_kkKoYiA3_bzEVhC_4vh4F40GRUY,695
5
5
  ose_plugin_addicto/main.py,sha256=s66rWqSfEmyTRIb-hvGBuVBN5VXpSDYeXfzOjENcnLU,85
6
- ose_plugin_addicto/static/ose-plugin-addicto.js,sha256=rTPLk5cKRqUrrF1l7Ppg1dExf2zYQ1ikvf_XZ1Y0X5k,1678
7
6
  ose_plugin_addicto/static/ose-plugin-addicto.umd.cjs,sha256=1kAMmpF2AxgpGujAJjBkxMHJpMMay6EkW1LcnL7OsVg,1848
8
- ose_plugin_addicto-0.3.0.dist-info/METADATA,sha256=_Wk-es9SkYpgFND85qCqKW9j6kVroBAjBeRNsAJzihU,971
9
- ose_plugin_addicto-0.3.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
10
- ose_plugin_addicto-0.3.0.dist-info/entry_points.txt,sha256=yZ0mEHZ1B8dYTjjLrSMjXN4KlkaOLc-1Tn36Bk5zzhw,57
11
- ose_plugin_addicto-0.3.0.dist-info/top_level.txt,sha256=e-YtOH03Ac8OgWqL7dv9rjC2ZRjaV2NGgyjXYJ9qVn4,19
12
- ose_plugin_addicto-0.3.0.dist-info/RECORD,,
7
+ ose_plugin_addicto-0.3.1.dist-info/METADATA,sha256=biSyJUbM1VAzyOYnPL1YZ5eWwUuwzltEbriupPIoDJg,971
8
+ ose_plugin_addicto-0.3.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
9
+ ose_plugin_addicto-0.3.1.dist-info/entry_points.txt,sha256=yZ0mEHZ1B8dYTjjLrSMjXN4KlkaOLc-1Tn36Bk5zzhw,57
10
+ ose_plugin_addicto-0.3.1.dist-info/top_level.txt,sha256=e-YtOH03Ac8OgWqL7dv9rjC2ZRjaV2NGgyjXYJ9qVn4,19
11
+ ose_plugin_addicto-0.3.1.dist-info/RECORD,,
@@ -1,39 +0,0 @@
1
- import { defineComponent as r, createElementBlock as a, openBlock as e, Fragment as o, createElementVNode as s, createBlock as d, createCommentVNode as c, renderList as u, toDisplayString as n, unref as h, withCtx as m, createTextVNode as p } from "vue";
2
- import { ProgressIndicator as g } from "@ose/js-core";
3
- const b = { class: "alert alert-danger" }, y = { key: 1 }, k = { key: 2 }, O = /* @__PURE__ */ r({
4
- __name: "AddictOVocab",
5
- props: {
6
- data: {},
7
- release: {},
8
- selectedSubStep: {}
9
- },
10
- emits: ["release-control"],
11
- setup(t) {
12
- return (f, i) => (e(), a(o, null, [
13
- i[1] || (i[1] = s("h3", null, "Publishing the release", -1)),
14
- t.release.state === "waiting-for-user" && t.data?.errors?.length > 0 ? (e(!0), a(o, { key: 0 }, u(t.data.errors, (l) => (e(), a("div", b, [
15
- l.details && l?.response?.["hydra:description"] ? (e(), a(o, { key: 0 }, [
16
- s("h4", null, n(l.response["hydra:title"]), 1),
17
- s("p", null, n(l.details), 1),
18
- s("p", null, n(l.response["hydra:description"]), 1)
19
- ], 64)) : (e(), a("pre", y, n(JSON.stringify(l, void 0, 2)), 1))
20
- ]))), 256)) : (e(), d(h(g), {
21
- key: 1,
22
- details: t.data,
23
- release: t.release
24
- }, {
25
- default: m(() => [...i[0] || (i[0] = [
26
- s("p", null, [
27
- p(" The ontologies are being published to AddictOVocab. This will take a while."),
28
- s("br")
29
- ], -1)
30
- ])]),
31
- _: 1
32
- }, 8, ["details", "release"])),
33
- t.release.state === "completed" ? (e(), a("p", k, " The ontologies were published to AddictOVocab. ")) : c("", !0)
34
- ], 64));
35
- }
36
- });
37
- export {
38
- O as AddictOVocab
39
- };