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