@social-mail/social-mail-client 1.2.422 → 1.2.424

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.
Files changed (117) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +19 -17
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +5 -5
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/public/channel/ChannelView.pack.js +4 -4
  6. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  7. package/dist/public/channel/ChannelView.pack.min.js +4 -4
  8. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  9. package/dist/public/contact-us/ContactUsApp.pack.js +3 -3
  10. package/dist/public/contact-us/ContactUsApp.pack.js.map +1 -1
  11. package/dist/public/contact-us/ContactUsApp.pack.min.js +3 -3
  12. package/dist/public/contact-us/ContactUsApp.pack.min.js.map +1 -1
  13. package/dist/public/store/Store.pack.js +4 -4
  14. package/dist/public/store/Store.pack.js.map +1 -1
  15. package/dist/public/store/Store.pack.min.js +4 -4
  16. package/dist/public/store/Store.pack.min.js.map +1 -1
  17. package/dist/public/store/StoreApp.pack.js +3 -3
  18. package/dist/public/store/StoreApp.pack.js.map +1 -1
  19. package/dist/public/store/StoreApp.pack.min.js +3 -3
  20. package/dist/public/store/StoreApp.pack.min.js.map +1 -1
  21. package/dist/site-editor/SiteEditorApp.pack.js +3 -3
  22. package/dist/site-editor/SiteEditorApp.pack.js.map +1 -1
  23. package/dist/site-editor/SiteEditorApp.pack.min.js +3 -3
  24. package/dist/site-editor/SiteEditorApp.pack.min.js.map +1 -1
  25. package/dist/web/AppIndex.pack.js +19 -17
  26. package/dist/web/AppIndex.pack.js.map +1 -1
  27. package/dist/web/AppIndex.pack.min.js +5 -5
  28. package/dist/web/AppIndex.pack.min.js.map +1 -1
  29. package/node_modules/@positron-js/context/.github/workflows/node.yml +23 -0
  30. package/node_modules/@positron-js/context/.vscode/settings.json +15 -0
  31. package/node_modules/{@web-atoms/hybrid-clr → @positron-js/context}/LICENSE +1 -1
  32. package/node_modules/@positron-js/context/README.md +2 -0
  33. package/node_modules/@positron-js/context/build.js +17 -0
  34. package/node_modules/@positron-js/context/dist/CLR.d.ts +7 -0
  35. package/node_modules/{@web-atoms/hybrid-clr/dist/RootObject.js → @positron-js/context/dist/CLR.js} +1 -7
  36. package/node_modules/@positron-js/context/dist/CLR.js.map +1 -0
  37. package/node_modules/@positron-js/context/dist/IClassOf.d.ts +3 -0
  38. package/node_modules/@positron-js/context/dist/IClassOf.js +13 -0
  39. package/node_modules/@positron-js/context/dist/IClassOf.js.map +1 -0
  40. package/node_modules/@positron-js/context/dist/IPositronContext.d.ts +4 -0
  41. package/node_modules/@positron-js/context/dist/IPositronContext.js +13 -0
  42. package/node_modules/@positron-js/context/dist/IPositronContext.js.map +1 -0
  43. package/node_modules/@positron-js/context/dist/PositronInBrowser.d.ts +17 -0
  44. package/node_modules/@positron-js/context/dist/PositronInBrowser.js +34 -0
  45. package/node_modules/@positron-js/context/dist/PositronInBrowser.js.map +1 -0
  46. package/node_modules/@positron-js/context/dist/clr/Microsoft.Maui.Essentials.d.ts +1350 -0
  47. package/node_modules/@positron-js/context/dist/clr/Microsoft.Maui.Essentials.js +13 -0
  48. package/node_modules/@positron-js/context/dist/clr/Microsoft.Maui.Essentials.js.map +1 -0
  49. package/node_modules/@positron-js/context/dist/clr/Microsoft.Maui.Graphics.d.ts +1362 -0
  50. package/node_modules/@positron-js/context/dist/clr/Microsoft.Maui.Graphics.js +13 -0
  51. package/node_modules/@positron-js/context/dist/clr/Microsoft.Maui.Graphics.js.map +1 -0
  52. package/node_modules/@positron-js/context/dist/clr/NeuroSpeech.Positron.d.ts +22 -0
  53. package/node_modules/@positron-js/context/dist/clr/NeuroSpeech.Positron.js +13 -0
  54. package/node_modules/@positron-js/context/dist/clr/NeuroSpeech.Positron.js.map +1 -0
  55. package/node_modules/@positron-js/context/dist/test/PTest.d.ts +1 -0
  56. package/node_modules/@positron-js/context/dist/test/PTest.js +24 -0
  57. package/node_modules/@positron-js/context/dist/test/PTest.js.map +1 -0
  58. package/node_modules/@positron-js/context/dist/tsconfig.tsbuildinfo +1 -0
  59. package/node_modules/@positron-js/context/index.d.ts +2 -0
  60. package/node_modules/@positron-js/context/index.js +2 -0
  61. package/node_modules/@positron-js/context/maui/SourceGenerator/AssemblyInfo.cs +103 -0
  62. package/node_modules/@positron-js/context/maui/SourceGenerator/DictionaryExtensions.cs +17 -0
  63. package/node_modules/@positron-js/context/maui/SourceGenerator/MethodExtensions.cs +21 -0
  64. package/node_modules/@positron-js/context/maui/SourceGenerator/Program.cs +145 -0
  65. package/node_modules/@positron-js/context/maui/SourceGenerator/SourceGenerator.csproj +15 -0
  66. package/node_modules/@positron-js/context/maui/SourceGenerator/SourceGenerator.sln +25 -0
  67. package/node_modules/@positron-js/context/maui/SourceGenerator/StringExtensions.cs +10 -0
  68. package/node_modules/@positron-js/context/maui/SourceGenerator/TypeExtensions.cs +95 -0
  69. package/node_modules/@positron-js/context/package.json +16 -0
  70. package/node_modules/@positron-js/context/src/CLR.ts +10 -0
  71. package/node_modules/@positron-js/context/src/IClassOf.ts +3 -0
  72. package/node_modules/@positron-js/context/src/IPositronContext.ts +5 -0
  73. package/node_modules/@positron-js/context/src/PositronInBrowser.ts +31 -0
  74. package/node_modules/@positron-js/context/src/clr/Microsoft.Maui.Essentials.ts +2215 -0
  75. package/node_modules/@positron-js/context/src/clr/Microsoft.Maui.Graphics.ts +1879 -0
  76. package/node_modules/@positron-js/context/src/clr/NeuroSpeech.Positron.ts +32 -0
  77. package/node_modules/@positron-js/context/src/test/PTest.ts +17 -0
  78. package/node_modules/@positron-js/context/tsconfig.json +26 -0
  79. package/node_modules/@web-atoms/core/dist/core/Command.d.ts.map +1 -1
  80. package/node_modules/@web-atoms/core/dist/core/Command.js +1 -1
  81. package/node_modules/@web-atoms/core/dist/core/Command.js.map +1 -1
  82. package/node_modules/@web-atoms/core/dist/tsconfig.tsbuildinfo +1 -1
  83. package/node_modules/@web-atoms/core/dist/web/core/HtmlNode.d.ts.map +1 -1
  84. package/node_modules/@web-atoms/core/dist/web/core/HtmlNode.js +5 -1
  85. package/node_modules/@web-atoms/core/dist/web/core/HtmlNode.js.map +1 -1
  86. package/node_modules/@web-atoms/core/dist/web/services/PopupWindow.js +2 -2
  87. package/node_modules/@web-atoms/core/package.json +1 -1
  88. package/node_modules/@web-atoms/core/src/core/Command.ts +1 -1
  89. package/node_modules/@web-atoms/core/src/web/core/HtmlNode.tsx +6 -1
  90. package/node_modules/@web-atoms/core/src/web/services/PopupWindow.tsx +2 -2
  91. package/node_modules/@web-atoms/web-controls/dist/basic/AtomRepeater.js +1 -1
  92. package/node_modules/@web-atoms/web-controls/dist/basic/AtomRepeater.js.map +1 -1
  93. package/node_modules/@web-atoms/web-controls/dist/basic/Select.d.ts.map +1 -1
  94. package/node_modules/@web-atoms/web-controls/dist/basic/Select.js +13 -11
  95. package/node_modules/@web-atoms/web-controls/dist/basic/Select.js.map +1 -1
  96. package/node_modules/@web-atoms/web-controls/dist/tsconfig.tsbuildinfo +1 -1
  97. package/node_modules/@web-atoms/web-controls/package.json +1 -1
  98. package/node_modules/@web-atoms/web-controls/src/basic/AtomRepeater.tsx +1 -1
  99. package/node_modules/@web-atoms/web-controls/src/basic/Select.tsx +13 -11
  100. package/package.json +4 -4
  101. package/node_modules/@web-atoms/hybrid-clr/.eslintrc.js +0 -233
  102. package/node_modules/@web-atoms/hybrid-clr/README.md +0 -1
  103. package/node_modules/@web-atoms/hybrid-clr/dist/DotNet.d.ts +0 -13
  104. package/node_modules/@web-atoms/hybrid-clr/dist/DotNet.d.ts.map +0 -1
  105. package/node_modules/@web-atoms/hybrid-clr/dist/DotNet.js +0 -49
  106. package/node_modules/@web-atoms/hybrid-clr/dist/DotNet.js.map +0 -1
  107. package/node_modules/@web-atoms/hybrid-clr/dist/RootObject.d.ts +0 -5
  108. package/node_modules/@web-atoms/hybrid-clr/dist/RootObject.d.ts.map +0 -1
  109. package/node_modules/@web-atoms/hybrid-clr/dist/RootObject.js.map +0 -1
  110. package/node_modules/@web-atoms/hybrid-clr/dist/WebAtoms.d.ts +0 -49
  111. package/node_modules/@web-atoms/hybrid-clr/dist/WebAtoms.d.ts.map +0 -1
  112. package/node_modules/@web-atoms/hybrid-clr/dist/WebAtoms.js +0 -118
  113. package/node_modules/@web-atoms/hybrid-clr/dist/WebAtoms.js.map +0 -1
  114. package/node_modules/@web-atoms/hybrid-clr/package.json +0 -23
  115. package/node_modules/@web-atoms/hybrid-clr/src/DotNet.ts +0 -49
  116. package/node_modules/@web-atoms/hybrid-clr/src/RootObject.ts +0 -5
  117. package/node_modules/@web-atoms/hybrid-clr/src/WebAtoms.ts +0 -83
@@ -0,0 +1,23 @@
1
+ name: Build
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*'
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: 20
16
+ registry-url: https://registry.npmjs.org/
17
+ - run: npm install -g typescript
18
+ - run: npm install
19
+ - run: tsc
20
+ - run: npm run test
21
+ - run: npm publish --access public
22
+ env:
23
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -0,0 +1,15 @@
1
+ {
2
+ "terminal.integrated.profiles.windows": {
3
+ "PowerShell": {
4
+ "source": "PowerShell",
5
+ "args": [
6
+ "-ExecutionPolicy",
7
+ "Bypass"
8
+ ]
9
+ }
10
+ },
11
+ "terminal.integrated.defaultProfile.windows": "PowerShell",
12
+ "cSpell.words": [
13
+ "Neuro"
14
+ ]
15
+ }
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Web Atoms
3
+ Copyright (c) 2024 Positron JS
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,2 @@
1
+ # context
2
+ Positron Context definitions to access CLR inside a positron function
@@ -0,0 +1,17 @@
1
+ import { spawnSync } from 'node:child_process';
2
+ import { writeFileSync } from 'node:fs';
3
+
4
+ function run(name) {
5
+
6
+ const text = spawnSync("dotnet",[
7
+ "run",
8
+ "--project",
9
+ "./maui/SourceGenerator/SourceGenerator.csproj",
10
+ name
11
+ ]).output.filter((x) => x).map((x) => x.toString("utf8")).join("");
12
+
13
+ writeFileSync(`./src/clr/${name}.ts`, text);
14
+ }
15
+
16
+ run("Microsoft.Maui.Essentials");
17
+ run("Microsoft.Maui.Graphics");
@@ -0,0 +1,7 @@
1
+ import { INeuroSpeechPositron } from "./clr/NeuroSpeech.Positron";
2
+ export interface ICLR {
3
+ assembly<TA>(name: string): TA;
4
+ assembly(name: "NeuroSpeech.Positron"): INeuroSpeechPositron;
5
+ assembly(name: "Microsoft.Maui.Essentials"): import("./clr/Microsoft.Maui.Essentials").default;
6
+ assembly(name: "Microsoft.Maui.Graphics"): import("./clr/Microsoft.Maui.Graphics").default;
7
+ }
@@ -9,11 +9,5 @@
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- var RootObject = /** @class */ (function () {
13
- function RootObject() {
14
- }
15
- return RootObject;
16
- }());
17
- exports.default = RootObject;
18
12
  });
19
- //# sourceMappingURL=RootObject.js.map
13
+ //# sourceMappingURL=CLR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CLR.js","sourceRoot":"","sources":["../src/CLR.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type IClassOf<T> = {
2
+ new (...a: any): T;
3
+ } & T;
@@ -0,0 +1,13 @@
1
+ (function (factory) {
2
+ if (typeof module === "object" && typeof module.exports === "object") {
3
+ var v = factory(require, exports);
4
+ if (v !== undefined) module.exports = v;
5
+ }
6
+ else if (typeof define === "function" && define.amd) {
7
+ define(["require", "exports"], factory);
8
+ }
9
+ })(function (require, exports) {
10
+ "use strict";
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ });
13
+ //# sourceMappingURL=IClassOf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IClassOf.js","sourceRoot":"","sources":["../src/IClassOf.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { ICLR } from "./CLR";
2
+ export interface IPositronContext {
3
+ clr: ICLR;
4
+ }
@@ -0,0 +1,13 @@
1
+ (function (factory) {
2
+ if (typeof module === "object" && typeof module.exports === "object") {
3
+ var v = factory(require, exports);
4
+ if (v !== undefined) module.exports = v;
5
+ }
6
+ else if (typeof define === "function" && define.amd) {
7
+ define(["require", "exports"], factory);
8
+ }
9
+ })(function (require, exports) {
10
+ "use strict";
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ });
13
+ //# sourceMappingURL=IPositronContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPositronContext.js","sourceRoot":"","sources":["../src/IPositronContext.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { IPositronContext } from "./IPositronContext";
2
+ export default class PositronInBrowser {
3
+ static isAvailable: boolean;
4
+ /**
5
+ * This method does not accept any parameters.
6
+ * @param fx Function to be executed in Positron App
7
+ */
8
+ static run<T>(fx: (this: IPositronContext) => T): Promise<T>;
9
+ /**
10
+ * This method accepts parameters as an object with fields
11
+ * that does not contain any cyclic references. As this will
12
+ * be sent to Positron App as JSON.
13
+ * @param a Arguments object without any cyclic references.
14
+ * @param fx Function to be executed in Positron App.
15
+ */
16
+ static run<P, T>(a: P, fx: (this: IPositronContext, p: P) => T): Promise<T>;
17
+ }
@@ -0,0 +1,34 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ (function (factory) {
11
+ if (typeof module === "object" && typeof module.exports === "object") {
12
+ var v = factory(require, exports);
13
+ if (v !== undefined) module.exports = v;
14
+ }
15
+ else if (typeof define === "function" && define.amd) {
16
+ define(["require", "exports"], factory);
17
+ }
18
+ })(function (require, exports) {
19
+ "use strict";
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ class PositronInBrowser {
22
+ static run(p, fx) {
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ if (typeof p === "function") {
25
+ return positron.run(p);
26
+ }
27
+ return positron.run(fx, p);
28
+ });
29
+ }
30
+ }
31
+ PositronInBrowser.isAvailable = typeof positron !== "undefined";
32
+ exports.default = PositronInBrowser;
33
+ });
34
+ //# sourceMappingURL=PositronInBrowser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PositronInBrowser.js","sourceRoot":"","sources":["../src/PositronInBrowser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;IAIA,MAAqB,iBAAiB;QAkBlC,MAAM,CAAO,GAAG,CAAC,CAAC,EAAE,EAAG;;gBACnB,IAAI,OAAO,CAAC,KAAK,UAAU,EAAE,CAAC;oBAC1B,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;gBAC3B,CAAC;gBACD,OAAO,QAAQ,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;YAE/B,CAAC;SAAA;;IAtBM,6BAAW,GAAG,OAAO,QAAQ,KAAK,WAAW,CAAC;sBAFpC,iBAAiB"}