ode-ts-client 1.2.1-dev.202401121755 → 1.2.1-dev.202410221522

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.
@@ -2280,8 +2280,8 @@ function bufferTime(n) {
2280
2280
  var A = y.value, F = A.buffer;
2281
2281
  F.push(h), o <= F.length && f(A);
2282
2282
  }
2283
- } catch (C) {
2284
- E = { error: C };
2283
+ } catch (x) {
2284
+ E = { error: x };
2285
2285
  } finally {
2286
2286
  try {
2287
2287
  y && !y.done && (g = w.return) && g.call(w);
@@ -4128,7 +4128,7 @@ function requireXhr() {
4128
4128
  var b = i(a.baseURL, a.url);
4129
4129
  if (h.open(a.method.toUpperCase(), r(b, a.params, a.paramsSerializer), !0), h.timeout = a.timeout, h.onreadystatechange = function() {
4130
4130
  if (!(!h || h.readyState !== 4) && !(h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0))) {
4131
- var A = "getAllResponseHeaders" in h ? s(h.getAllResponseHeaders()) : null, F = !a.responseType || a.responseType === "text" ? h.responseText : h.response, C = {
4131
+ var A = "getAllResponseHeaders" in h ? s(h.getAllResponseHeaders()) : null, F = !a.responseType || a.responseType === "text" ? h.responseText : h.response, x = {
4132
4132
  data: F,
4133
4133
  status: h.status,
4134
4134
  statusText: h.statusText,
@@ -4136,7 +4136,7 @@ function requireXhr() {
4136
4136
  config: a,
4137
4137
  request: h
4138
4138
  };
4139
- e(p, f, C), h = null;
4139
+ e(p, f, x), h = null;
4140
4140
  }
4141
4141
  }, h.onabort = function() {
4142
4142
  !h || (f(o("Request aborted", a, "ECONNABORTED", h)), h = null);
@@ -5334,7 +5334,9 @@ const WIDGET_POSITION = {
5334
5334
  "maxicours-widget": WIDGET_POSITION.RIGHT,
5335
5335
  "universalis-widget": WIDGET_POSITION.RIGHT,
5336
5336
  "briefme-widget": WIDGET_POSITION.LEFT,
5337
- "school-widget": WIDGET_POSITION.LEFT
5337
+ "school-widget": WIDGET_POSITION.LEFT,
5338
+ "edumalin-widget": WIDGET_POSITION.RIGHT,
5339
+ "mediacentre-widget": WIDGET_POSITION.RIGHT
5338
5340
  }, defaultWidgetOrder = {
5339
5341
  "school-widget": 0,
5340
5342
  "my-apps": 10,
@@ -5353,7 +5355,9 @@ const WIDGET_POSITION = {
5353
5355
  mood: 110,
5354
5356
  birthday: 120,
5355
5357
  "calendar-widget": 130,
5356
- notes: 140
5358
+ notes: 140,
5359
+ "edumalin-widget": 35,
5360
+ "mediacentre-widget": 145
5357
5361
  };
5358
5362
  class WidgetFramework {
5359
5363
  constructor() {
@@ -5474,7 +5478,9 @@ const WIDGET_NAME = {
5474
5478
  MAXICOURS: "maxicours-widget",
5475
5479
  UNIVERSALIS: "universalis-widget",
5476
5480
  BRIEFME: "briefme-widget",
5477
- SCHOOL: "school-widget"
5481
+ SCHOOL: "school-widget",
5482
+ EDUMALIN: "edumalin-widget",
5483
+ MEDIACENTRE: "mediacentre-widget"
5478
5484
  };
5479
5485
  class WidgetFrameworkFactory {
5480
5486
  static instance() {
@@ -5596,7 +5602,7 @@ class ITimelineFactory {
5596
5602
  return new TimelineApp();
5597
5603
  }
5598
5604
  }
5599
- const x = class {
5605
+ const C = class {
5600
5606
  constructor(e) {
5601
5607
  v(this, "checkHttpResponse", (e) => {
5602
5608
  if (this.http.latestResponse.status >= 300)
@@ -5609,13 +5615,13 @@ const x = class {
5609
5615
  application: e,
5610
5616
  resourceType: t
5611
5617
  }, r) {
5612
- x.registry.set(`${e}:main`, r), x.registry.set(`${e}:${t}`, r);
5618
+ C.registry.set(`${e}:main`, r), C.registry.set(`${e}:${t}`, r);
5613
5619
  }
5614
5620
  static findService({
5615
5621
  application: e,
5616
5622
  resourceType: t
5617
5623
  }, r) {
5618
- const i = x.registry.get(
5624
+ const i = C.registry.get(
5619
5625
  `${e}:${t}`
5620
5626
  );
5621
5627
  if (i === void 0)
@@ -5623,7 +5629,7 @@ const x = class {
5623
5629
  return i(r);
5624
5630
  }
5625
5631
  static findMainService({ application: e }, t) {
5626
- const r = x.registry.get(`${e}:main`);
5632
+ const r = C.registry.get(`${e}:main`);
5627
5633
  if (r === void 0)
5628
5634
  throw `Service not found: ${e}`;
5629
5635
  return r(t);
@@ -5796,7 +5802,7 @@ const x = class {
5796
5802
  };
5797
5803
  }
5798
5804
  };
5799
- let ResourceService = x;
5805
+ let ResourceService = C;
5800
5806
  v(ResourceService, "registry", /* @__PURE__ */ new Map());
5801
5807
  class BlogResourceService extends ResourceService {
5802
5808
  async create(e) {