ode-ts-client 1.2.1 → 1.2.3-develop-b2school.202506231605

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