ode-ts-client 1.2.1 → 1.2.2

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);
@@ -5335,7 +5335,8 @@ const WIDGET_POSITION = {
5335
5335
  "universalis-widget": WIDGET_POSITION.RIGHT,
5336
5336
  "briefme-widget": WIDGET_POSITION.LEFT,
5337
5337
  "school-widget": WIDGET_POSITION.LEFT,
5338
- "edumalin-widget": WIDGET_POSITION.RIGHT
5338
+ "edumalin-widget": WIDGET_POSITION.RIGHT,
5339
+ "mediacentre-widget": WIDGET_POSITION.RIGHT
5339
5340
  }, defaultWidgetOrder = {
5340
5341
  "school-widget": 0,
5341
5342
  "my-apps": 10,
@@ -5355,7 +5356,8 @@ const WIDGET_POSITION = {
5355
5356
  birthday: 120,
5356
5357
  "calendar-widget": 130,
5357
5358
  notes: 140,
5358
- "edumalin-widget": 35
5359
+ "edumalin-widget": 35,
5360
+ "mediacentre-widget": 145
5359
5361
  };
5360
5362
  class WidgetFramework {
5361
5363
  constructor() {
@@ -5477,7 +5479,8 @@ const WIDGET_NAME = {
5477
5479
  UNIVERSALIS: "universalis-widget",
5478
5480
  BRIEFME: "briefme-widget",
5479
5481
  SCHOOL: "school-widget",
5480
- EDUMALIN: "edumalin-widget"
5482
+ EDUMALIN: "edumalin-widget",
5483
+ MEDIACENTRE: "mediacentre-widget"
5481
5484
  };
5482
5485
  class WidgetFrameworkFactory {
5483
5486
  static instance() {
@@ -5599,7 +5602,7 @@ class ITimelineFactory {
5599
5602
  return new TimelineApp();
5600
5603
  }
5601
5604
  }
5602
- const x = class {
5605
+ const C = class {
5603
5606
  constructor(e) {
5604
5607
  v(this, "checkHttpResponse", (e) => {
5605
5608
  if (this.http.latestResponse.status >= 300)
@@ -5612,13 +5615,13 @@ const x = class {
5612
5615
  application: e,
5613
5616
  resourceType: t
5614
5617
  }, r) {
5615
- 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);
5616
5619
  }
5617
5620
  static findService({
5618
5621
  application: e,
5619
5622
  resourceType: t
5620
5623
  }, r) {
5621
- const i = x.registry.get(
5624
+ const i = C.registry.get(
5622
5625
  `${e}:${t}`
5623
5626
  );
5624
5627
  if (i === void 0)
@@ -5626,7 +5629,7 @@ const x = class {
5626
5629
  return i(r);
5627
5630
  }
5628
5631
  static findMainService({ application: e }, t) {
5629
- const r = x.registry.get(`${e}:main`);
5632
+ const r = C.registry.get(`${e}:main`);
5630
5633
  if (r === void 0)
5631
5634
  throw `Service not found: ${e}`;
5632
5635
  return r(t);
@@ -5799,7 +5802,7 @@ const x = class {
5799
5802
  };
5800
5803
  }
5801
5804
  };
5802
- let ResourceService = x;
5805
+ let ResourceService = C;
5803
5806
  v(ResourceService, "registry", /* @__PURE__ */ new Map());
5804
5807
  class BlogResourceService extends ResourceService {
5805
5808
  async create(e) {