@social-mail/social-mail-client 1.2.162 → 1.2.164

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.
@@ -1,5 +1,10 @@
1
1
  import type { IUser } from "../model/model";
2
2
  export default class SocialMailApp {
3
3
  static user: IUser;
4
+ static config: {
5
+ path: string;
6
+ name: string;
7
+ externalLogin: string;
8
+ };
4
9
  }
5
10
  //# sourceMappingURL=SocialMailApp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SocialMailApp.d.ts","sourceRoot":"","sources":["../../src/common/SocialMailApp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,CAAC,OAAO,OAAO,aAAa;IAE9B,OAAc,IAAI,EAAE,KAAK,CAAC;CAE7B"}
1
+ {"version":3,"file":"SocialMailApp.d.ts","sourceRoot":"","sources":["../../src/common/SocialMailApp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAO5C,MAAM,CAAC,OAAO,OAAO,aAAa;IAE9B,OAAc,IAAI,EAAE,KAAK,CAAC;IAE1B,OAAc,MAAM;cAAyB,MAAM;cAAQ,MAAM;uBAAiB,MAAM;MAAG;CAE9F"}
@@ -1,12 +1,17 @@
1
1
  System.register([], function (_export, _context) {
2
2
  "use strict";
3
3
 
4
- var SocialMailApp;
4
+ var SocialMailApp, _a, socialMail;
5
5
  _export("default", void 0);
6
6
  return {
7
7
  setters: [],
8
8
  execute: function () {
9
+ socialMail = (_a = window.socialMail) !== null && _a !== void 0 ? _a : {
10
+ path: "/",
11
+ name: "Social Mail"
12
+ };
9
13
  _export("default", SocialMailApp = class SocialMailApp {});
14
+ SocialMailApp.config = socialMail;
10
15
  }
11
16
  };
12
17
  });
@@ -1 +1 @@
1
- {"version":3,"names":["SocialMailApp","_export","setters","execute"],"sources":["../../src/common/SocialMailApp.ts"],"sourcesContent":[null],"mappings":";;;MAEqBA,aAAa;EAAAC,OAAA;EAAA;IAAAC,OAAA;IAAAC,OAAA,WAAAA,CAAA;MAAAF,OAAA,YAAbD,aAAa,GAApB,MAAOA,aAAa,GAIjC;IAAA;EAAA;AAAA"}
1
+ {"version":3,"names":["SocialMailApp","_a","socialMail","_export","setters","execute","window","path","name","config"],"sources":["../../src/common/SocialMailApp.ts"],"sourcesContent":[null],"mappings":";;;MAOqBA,aAAa,EAAAC,EAAA,EAAAC,UAAA;EAAAC,OAAA;EAAA;IAAAC,OAAA;IAAAC,OAAA,WAAAA,CAAA;MAL5BH,UAAU,GAAG,CAAAD,EAAA,GAACK,MAAc,CAACJ,UAAU,cAAAD,EAAA,cAAAA,EAAA,GAAI;QAC7CM,IAAI,EAAE,GAAG;QACTC,IAAI,EAAE;OACT;MAAAL,OAAA,YAEoBH,aAAa,GAApB,MAAOA,aAAa,G;MAIhBA,aAAA,CAAAS,MAAM,GAAGP,UAAmE;IAAC;EAAA;AAAA"}
@@ -1,11 +1,11 @@
1
1
  System.register([], function (_export, _context) {
2
2
  "use strict";
3
3
 
4
- var root, apiPath, apiPathRoot;
4
+ var _a, root, apiPath, apiPathRoot;
5
5
  return {
6
6
  setters: [],
7
7
  execute: function () {
8
- root = window.socialMailRoot || "/";
8
+ root = ((_a = window.socialMail) === null || _a === void 0 ? void 0 : _a.path) || "/";
9
9
  if (root.endsWith("/")) {
10
10
  root = root.substring(0, root.length - 1);
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"names":["root","window","socialMailRoot","endsWith","substring","length","_export","apiPath","url","apiPathRoot"],"sources":["../../src/common/apiPath.ts"],"sourcesContent":[null],"mappings":";;;;;;;MAAIA,IAAI,GAAKC,MAAc,CAACC,cAAc,IAAI,GAAG;MACjD,IAAIF,IAAI,CAACG,QAAQ,CAAC,GAAG,CAAC,EAAE;QACpBH,IAAI,GAAGA,IAAI,CAACI,SAAS,CAAC,CAAC,EAAEJ,IAAI,CAACK,MAAM,GAAG,CAAC,CAAC;;MAC5CC,OAAA,YAEYC,OAAO,GAAGP,IAAI,GACpBQ,GAAG,IAAI;QACN,OAAOR,IAAI,GAAGQ,GAAG;MACrB,CAAC,GACEA,GAAG,IAAKA,GAAG;MAAAF,OAAA,gBAGLG,WAAW,GAAGT,IAAI;IAAA;EAAA;AAAA"}
1
+ {"version":3,"names":["root","_a","window","socialMail","path","endsWith","substring","length","_export","apiPath","url","apiPathRoot"],"sources":["../../src/common/apiPath.ts"],"sourcesContent":[null],"mappings":";;;;;;;MAAIA,IAAI,GAAI,EAAAC,EAAA,GAACC,MAAc,CAACC,UAAU,cAAAF,EAAA,uBAAAA,EAAA,CAAEG,IAAI,KAAI,GAAG;MACnD,IAAIJ,IAAI,CAACK,QAAQ,CAAC,GAAG,CAAC,EAAE;QACpBL,IAAI,GAAGA,IAAI,CAACM,SAAS,CAAC,CAAC,EAAEN,IAAI,CAACO,MAAM,GAAG,CAAC,CAAC;;MAC5CC,OAAA,YAEYC,OAAO,GAAGT,IAAI,GACpBU,GAAG,IAAI;QACN,OAAOV,IAAI,GAAGU,GAAG;MACrB,CAAC,GACEA,GAAG,IAAKA,GAAG;MAAAF,OAAA,gBAGLG,WAAW,GAAGX,IAAI;IAAA;EAAA;AAAA"}
@@ -9764,11 +9764,11 @@ System.register(["@web-atoms/core/dist/style/styled"], function (_export, _conte
9764
9764
  System.register([], function (_export, _context) {
9765
9765
  "use strict";
9766
9766
 
9767
- var root, apiPath, apiPathRoot;
9767
+ var _a, root, apiPath, apiPathRoot;
9768
9768
  return {
9769
9769
  setters: [],
9770
9770
  execute: function () {
9771
- root = window.socialMailRoot || "/";
9771
+ root = ((_a = window.socialMail) === null || _a === void 0 ? void 0 : _a.path) || "/";
9772
9772
  if (root.endsWith("/")) {
9773
9773
  root = root.substring(0, root.length - 1);
9774
9774
  }