ode-ts-client 1.2.6-develop-b2school.202606011547 → 1.2.6-develop-integration.202606031822
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.
- package/dist/ode-ts-client.esm.js +24 -12
- package/dist/ode-ts-client.esm.js.map +1 -1
- package/dist/ode-ts-client.js +3 -3
- package/dist/ode-ts-client.js.map +1 -1
- package/dist/ode-ts-client.mjs +24 -12
- package/dist/ode-ts-client.mjs.map +1 -1
- package/dist/ts/widget/interfaces.d.ts +4 -0
- package/dist/version.txt +1 -1
- package/package.json +1 -1
|
@@ -5493,8 +5493,12 @@ const WIDGET_POSITION = {
|
|
|
5493
5493
|
"school-widget": WIDGET_POSITION.LEFT,
|
|
5494
5494
|
"edumalin-widget": WIDGET_POSITION.RIGHT,
|
|
5495
5495
|
"mediacentre-widget": WIDGET_POSITION.RIGHT,
|
|
5496
|
+
"evaluation-widget": WIDGET_POSITION.LEFT,
|
|
5496
5497
|
"cantine-widget": WIDGET_POSITION.LEFT,
|
|
5497
|
-
"
|
|
5498
|
+
"ptit-observatoire-widget": WIDGET_POSITION.RIGHT,
|
|
5499
|
+
"screen-time-widget": WIDGET_POSITION.RIGHT,
|
|
5500
|
+
"bibliocollege-widget": WIDGET_POSITION.LEFT,
|
|
5501
|
+
"e-sidoc-widget": WIDGET_POSITION.LEFT
|
|
5498
5502
|
}, defaultWidgetOrder = {
|
|
5499
5503
|
"school-widget": 0,
|
|
5500
5504
|
"my-apps": 10,
|
|
@@ -5521,7 +5525,11 @@ const WIDGET_POSITION = {
|
|
|
5521
5525
|
"edumalin-widget": 35,
|
|
5522
5526
|
"mediacentre-widget": 145,
|
|
5523
5527
|
"cantine-widget": 21,
|
|
5524
|
-
"
|
|
5528
|
+
"evaluation-widget": 35,
|
|
5529
|
+
"ptit-observatoire-widget": 35,
|
|
5530
|
+
"screen-time-widget": 35,
|
|
5531
|
+
"bibliocollege-widget": 35,
|
|
5532
|
+
"e-sidoc-widget": 35
|
|
5525
5533
|
};
|
|
5526
5534
|
class WidgetFramework {
|
|
5527
5535
|
constructor() {
|
|
@@ -5647,8 +5655,12 @@ const WIDGET_NAME = {
|
|
|
5647
5655
|
SCHOOL: "school-widget",
|
|
5648
5656
|
EDUMALIN: "edumalin-widget",
|
|
5649
5657
|
MEDIACENTRE: "mediacentre-widget",
|
|
5658
|
+
EVALUATION: "evaluation-widget",
|
|
5650
5659
|
CANTINE: "cantine-widget",
|
|
5651
|
-
|
|
5660
|
+
PTIT_OBSERVATOIRE: "ptit-observatoire-widget",
|
|
5661
|
+
SCREEN_TIME: "screen-time-widget",
|
|
5662
|
+
BIBLIOCOLLEGE: "bibliocollege-widget",
|
|
5663
|
+
E_SIDOC: "e-sidoc-widget"
|
|
5652
5664
|
};
|
|
5653
5665
|
class WidgetFrameworkFactory {
|
|
5654
5666
|
//-------------------------------------
|
|
@@ -5774,7 +5786,7 @@ class ITimelineFactory {
|
|
|
5774
5786
|
return new TimelineApp();
|
|
5775
5787
|
}
|
|
5776
5788
|
}
|
|
5777
|
-
const
|
|
5789
|
+
const F = class F {
|
|
5778
5790
|
//
|
|
5779
5791
|
// IMPLEMENTATION
|
|
5780
5792
|
//
|
|
@@ -5793,13 +5805,13 @@ const x = class x {
|
|
|
5793
5805
|
application: e,
|
|
5794
5806
|
resourceType: t
|
|
5795
5807
|
}, n) {
|
|
5796
|
-
|
|
5808
|
+
F.registry.set(`${e}:main`, n), F.registry.set(`${e}:${t}`, n);
|
|
5797
5809
|
}
|
|
5798
5810
|
static findService({
|
|
5799
5811
|
application: e,
|
|
5800
5812
|
resourceType: t
|
|
5801
5813
|
}, n) {
|
|
5802
|
-
const i =
|
|
5814
|
+
const i = F.registry.get(
|
|
5803
5815
|
`${e}:${t}`
|
|
5804
5816
|
);
|
|
5805
5817
|
if (i === void 0)
|
|
@@ -5807,7 +5819,7 @@ const x = class x {
|
|
|
5807
5819
|
return i(n);
|
|
5808
5820
|
}
|
|
5809
5821
|
static findMainService({ application: e }, t) {
|
|
5810
|
-
const n =
|
|
5822
|
+
const n = F.registry.get(`${e}:main`);
|
|
5811
5823
|
if (n === void 0)
|
|
5812
5824
|
throw `Service not found: ${e}`;
|
|
5813
5825
|
return n(t);
|
|
@@ -6001,8 +6013,8 @@ const x = class x {
|
|
|
6001
6013
|
//
|
|
6002
6014
|
// STATIC REGISTRY
|
|
6003
6015
|
//
|
|
6004
|
-
v(
|
|
6005
|
-
let ResourceService =
|
|
6016
|
+
v(F, "registry", /* @__PURE__ */ new Map());
|
|
6017
|
+
let ResourceService = F;
|
|
6006
6018
|
class BlogResourceService extends ResourceService {
|
|
6007
6019
|
async create(e) {
|
|
6008
6020
|
const t = e.thumbnail ? await this.getThumbnailPath(e.thumbnail) : "", n = e.public ? "/blog/pub" : "/blog", i = await this.http.post(n, {
|
|
@@ -6971,7 +6983,7 @@ class ShareService {
|
|
|
6971
6983
|
}).sort((s, u) => s.priority - u.priority);
|
|
6972
6984
|
}
|
|
6973
6985
|
}
|
|
6974
|
-
const
|
|
6986
|
+
const x = class x {
|
|
6975
6987
|
constructor() {
|
|
6976
6988
|
v(this, "wordExtensions", /* @__PURE__ */ new Set());
|
|
6977
6989
|
v(this, "excelExtensions", /* @__PURE__ */ new Set());
|
|
@@ -7104,8 +7116,8 @@ const F = class F {
|
|
|
7104
7116
|
return n ? this.txtExtensions.has(n) : e == this.OCTET_STREAM && t ? this.txtExtensions.has(t) : !1;
|
|
7105
7117
|
}
|
|
7106
7118
|
};
|
|
7107
|
-
v(
|
|
7108
|
-
let MimeTypeUtils =
|
|
7119
|
+
v(x, "INSTANCE", new x());
|
|
7120
|
+
let MimeTypeUtils = x;
|
|
7109
7121
|
class FileTypeUtils {
|
|
7110
7122
|
static registerContentTypeToFileType(e) {
|
|
7111
7123
|
this.fileTypes.push(e);
|