@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
@@ -1,233 +0,0 @@
1
- /*
2
- 👋 Hi! This file was autogenerated by tslint-to-eslint-config.
3
- https://github.com/typescript-eslint/tslint-to-eslint-config
4
-
5
- It represents the closest reasonable ESLint configuration to this
6
- project's original TSLint configuration.
7
-
8
- We recommend eventually switching this configuration to extend from
9
- the recommended rulesets in typescript-eslint.
10
- https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md
11
-
12
- Happy linting! 💖
13
- */
14
- module.exports = {
15
- "env": {
16
- "browser": true,
17
- "es6": true
18
- },
19
- "extends": [
20
- "plugin:@typescript-eslint/recommended",
21
- "plugin:@typescript-eslint/recommended-requiring-type-checking",
22
- "prettier"
23
- ],
24
- "parser": "@typescript-eslint/parser",
25
- "parserOptions": {
26
- "project": "tsconfig.json",
27
- "sourceType": "module"
28
- },
29
- "plugins": [
30
- "eslint-plugin-jsdoc",
31
- "eslint-plugin-prefer-arrow",
32
- "@typescript-eslint"
33
- ],
34
- "rules": {
35
- "@typescript-eslint/adjacent-overload-signatures": "warn",
36
- "@typescript-eslint/array-type": [
37
- "warn",
38
- {
39
- "default": "array"
40
- }
41
- ],
42
- "@typescript-eslint/ban-types": [
43
- "warn",
44
- {
45
- "types": {
46
- "Object": {
47
- "message": "Avoid using the `Object` type. Did you mean `object`?"
48
- },
49
- "Function": {
50
- "message": "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."
51
- },
52
- "Boolean": {
53
- "message": "Avoid using the `Boolean` type. Did you mean `boolean`?"
54
- },
55
- "Number": {
56
- "message": "Avoid using the `Number` type. Did you mean `number`?"
57
- },
58
- "String": {
59
- "message": "Avoid using the `String` type. Did you mean `string`?"
60
- },
61
- "Symbol": {
62
- "message": "Avoid using the `Symbol` type. Did you mean `symbol`?"
63
- }
64
- }
65
- }
66
- ],
67
- "@typescript-eslint/consistent-type-assertions": "warn",
68
- "@typescript-eslint/dot-notation": "off",
69
- "@typescript-eslint/indent": "off",
70
- "@typescript-eslint/member-ordering": ["warn", {
71
- "default": [
72
- "public-static-field",
73
- "public-static-get",
74
- "public-static-set",
75
- "public-static-method",
76
-
77
- "protected-static-field",
78
- ["protected-static-get",
79
- "protected-static-set"],
80
- "protected-static-method",
81
-
82
- "private-static-field",
83
- ["private-static-get",
84
- "private-static-set"],
85
- "private-static-method",
86
-
87
- "public-field",
88
- ["public-get",
89
- "public-set"],
90
-
91
- "protected-field",
92
- ["protected-get",
93
- "protected-set"],
94
-
95
- "private-field",
96
- ["private-get",
97
- "private-set"],
98
-
99
- "constructor",
100
- "public-method",
101
- "protected-method",
102
- "private-method",
103
- ]
104
- }
105
- ],
106
- "@typescript-eslint/naming-convention": [
107
- "warn",
108
- {
109
- "selector": "interface",
110
- "format": ["PascalCase"],
111
- "custom": {
112
- "regex": "^I[A-Z]",
113
- "match": true
114
- }
115
- }
116
- ],
117
- "@typescript-eslint/no-empty-function": "warn",
118
- "@typescript-eslint/no-empty-interface": "warn",
119
- "@typescript-eslint/no-explicit-any": "off",
120
- "@typescript-eslint/no-floating-promises": "off",
121
- "@typescript-eslint/no-inferrable-types" : "off",
122
- "@typescript-eslint/no-misused-new": "warn",
123
- "@typescript-eslint/no-namespace": "warn",
124
- "@typescript-eslint/no-parameter-properties": "off",
125
- "@typescript-eslint/no-shadow": [
126
- "warn",
127
- {
128
- "hoist": "all"
129
- }
130
- ],
131
- "@typescript-eslint/no-unsafe-call": "off",
132
- "@typescript-eslint/no-this-alias": "off",
133
- "@typescript-eslint/no-unsafe-assignment": "off",
134
- "@typescript-eslint/no-unused-expressions": "warn",
135
- "@typescript-eslint/no-floating-promises": "warn",
136
- "@typescript-eslint/no-misused-promises": "off",
137
- "@typescript-eslint/no-use-before-define": "off",
138
- "@typescript-eslint/no-var-requires": "warn",
139
- "@typescript-eslint/no-unused-vars": "off",
140
- "@typescript-eslint/no-unsafe-member-access": "off",
141
- "@typescript-eslint/no-unsafe-return": "off",
142
- "@typescript-eslint/no-unsafe-argument": "off",
143
- "@typescript-eslint/prefer-for-of": "warn",
144
- "@typescript-eslint/prefer-function-type": "warn",
145
- "@typescript-eslint/prefer-namespace-keyword": "warn",
146
- "@typescript-eslint/require-await": "off",
147
- "@typescript-eslint/restrict-template-expressions": "off",
148
- "@typescript-eslint/restrict-plus-operands": "off",
149
- "@typescript-eslint/semi": ["warn"],
150
- "@typescript-eslint/triple-slash-reference": [
151
- "warn",
152
- {
153
- "path": "always",
154
- "types": "prefer-import",
155
- "lib": "always"
156
- }
157
- ],
158
- "@typescript-eslint/unbound-method": "off",
159
- "@typescript-eslint/unified-signatures": "warn",
160
- "arrow-parens": "warn",
161
- "brace-style": ["warn", "1tbs", { "allowSingleLine": true }],
162
- "comma-dangle": "off",
163
- "complexity": "off",
164
- "constructor-super": "warn",
165
- "curly": "warn",
166
- "dot-notation": "off",
167
- "eqeqeq": [
168
- "warn",
169
- "smart"
170
- ],
171
- "guard-for-in": "warn",
172
- "id-denylist": [
173
- "warn",
174
- "any",
175
- "Number",
176
- "number",
177
- "String",
178
- "string",
179
- "Boolean",
180
- "boolean",
181
- "Undefined",
182
- "undefined"
183
- ],
184
- "id-match": "warn",
185
- "indent": "off",
186
- "jsdoc/check-alignment": "warn",
187
- "jsdoc/check-indentation": "warn",
188
- "jsdoc/newline-after-description": "warn",
189
- "max-classes-per-file": "off",
190
- "new-parens": "warn",
191
- "no-bitwise": "warn",
192
- "no-caller": "warn",
193
- "no-cond-assign": "warn",
194
- "no-console": "warn",
195
- "no-debugger": "warn",
196
- "no-empty": "warn",
197
- "no-empty-function": "off",
198
- "no-eval": "warn",
199
- "no-fallthrough": "off",
200
- "no-invalid-this": "off",
201
- "no-new-wrappers": "warn",
202
- "no-shadow": "warn",
203
- "no-throw-literal": "warn",
204
- "no-trailing-spaces": "warn",
205
- "no-undef-init": "warn",
206
- "no-underscore-dangle": "off",
207
- "no-unsafe-finally": "warn",
208
- "no-unused-expressions": "warn",
209
- "no-unused-labels": "warn",
210
- "no-use-before-define": "off",
211
- "no-var": "warn",
212
- "object-shorthand": "warn",
213
- "one-var": [
214
- "warn",
215
- "never"
216
- ],
217
- "prefer-arrow/prefer-arrow-functions": "off",
218
- "prefer-const": "warn",
219
- "prefer-rest-params": "off",
220
- "radix": "warn",
221
- "spaced-comment": [
222
- "warn",
223
- "always",
224
- {
225
- "markers": [
226
- "/"
227
- ]
228
- }
229
- ],
230
- "use-isnan": "warn",
231
- "valid-typeof": "off"
232
- }
233
- };
@@ -1 +0,0 @@
1
- # hybrid-clr
@@ -1,13 +0,0 @@
1
- export interface IClassOf<T> {
2
- new (...a: any[]): T;
3
- }
4
- export interface IDotNet {
5
- getClass<T>(name: string): IClassOf<T>;
6
- }
7
- declare const DotNet: {
8
- isAvailable: boolean;
9
- getClass(name: string): any;
10
- };
11
- export declare function dotNetInit(a: any, ns: any, nsAssembly: any): void;
12
- export default DotNet;
13
- //# sourceMappingURL=DotNet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DotNet.d.ts","sourceRoot":"","sources":["../src/DotNet.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ,CAAC,CAAC;IACvB,KAAK,GAAI,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,OAAO;IACpB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;CAC1C;AAED,QAAA,MAAM,MAAM,EAAE;IACV,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CAK/B,CAAC;AAsBF,wBAAgB,UAAU,CAAC,CAAC,KAAA,EAAE,EAAE,KAAA,EAAE,UAAU,KAAA,QAS3C;AAED,eAAe,MAAM,CAAC"}
@@ -1,49 +0,0 @@
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
- var _a;
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.dotNetInit = void 0;
14
- var DotNet = (_a = window.dotNet) !== null && _a !== void 0 ? _a : {
15
- getClass: function (name) {
16
- throw new Error("dotNet is not available, the code is not running inside a WebAtoms.HybridWebView");
17
- }
18
- };
19
- DotNet.isAvailable = !!window.dotNet;
20
- function create(name, ns, nsAssembly) {
21
- return {
22
- configurable: true,
23
- enumerable: true,
24
- get: function () {
25
- var value = DotNet.getClass("".concat(ns, ".").concat(name, ", ").concat(nsAssembly));
26
- Object.defineProperty(this, name, {
27
- enumerable: true,
28
- configurable: true,
29
- writable: true,
30
- value: value
31
- });
32
- return value;
33
- }
34
- };
35
- }
36
- function dotNetInit(a, ns, nsAssembly) {
37
- for (var key in a) {
38
- if (key && Object.prototype.hasOwnProperty.call(a, key)) {
39
- var e = a[key];
40
- if (typeof e === "function") {
41
- Object.defineProperty(a, key, create(key, ns, nsAssembly));
42
- }
43
- }
44
- }
45
- }
46
- exports.dotNetInit = dotNetInit;
47
- exports.default = DotNet;
48
- });
49
- //# sourceMappingURL=DotNet.js.map
@@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;IAED,kBAAe,MAAM,CAAC"}
@@ -1,5 +0,0 @@
1
- declare class RootObject {
2
- [k: string]: any;
3
- }
4
- export default RootObject;
5
- //# sourceMappingURL=RootObject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RootObject.d.ts","sourceRoot":"","sources":["../src/RootObject.ts"],"names":[],"mappings":"AAAA,cAAM,UAAU;IACZ,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,eAAe,UAAU,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RootObject.js","sourceRoot":"","sources":["../src/RootObject.ts"],"names":[],"mappings":";;;;;;;;;;;IAAA;QAAA;QAEA,CAAC;QAAD,iBAAC;IAAD,CAAC,AAFD,IAEC;IAED,kBAAe,UAAU,CAAC"}
@@ -1,49 +0,0 @@
1
- import RootObject from "./RootObject";
2
- export declare namespace WebAtoms {
3
- namespace Hybrid {
4
- class HybridApplication extends RootObject {
5
- static current: HybridApplication;
6
- static deviceToken: string;
7
- static badge: number;
8
- static appUrl: string;
9
- static urlRequested: string;
10
- static shareRequested: string;
11
- static refreshApp: () => void;
12
- static invokeBackButton: () => void;
13
- }
14
- class FilePickerService extends RootObject {
15
- static pickFileAsync: (title: string, accept?: string) => Promise<File>;
16
- }
17
- namespace Media {
18
- enum Preset {
19
- LowQuality = "LowQuality",
20
- MediumQuality = "MediumQuality",
21
- HighestQuality = "HighestQuality",
22
- Preset640x480 = "Preset640x480",
23
- Preset960x540 = "Preset960x540",
24
- Preset1280x720 = "Preset1280x720",
25
- Preset1920x1080 = "Preset1920x1080",
26
- Preset3840x2160 = "Preset3840x2160",
27
- Passthrough = "Passthrough"
28
- }
29
- class HybridMedia extends RootObject {
30
- static instance: HybridMedia;
31
- chooseVideoAsync(preset: Preset, progress: (n: any) => void): Promise<File>;
32
- encodeMP4Async(inputFile: string, preset: Preset, progress: (n: any) => void): Promise<string>;
33
- }
34
- }
35
- namespace Api {
36
- class GeoLocation extends RootObject {
37
- static getLocationAsync(): Promise<{
38
- longitude: number;
39
- latitude: number;
40
- }>;
41
- }
42
- class FileService extends RootObject {
43
- static createFile(name: string): string;
44
- static append(path: string, dataUri: string): Promise<number>;
45
- }
46
- }
47
- }
48
- }
49
- //# sourceMappingURL=WebAtoms.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebAtoms.d.ts","sourceRoot":"","sources":["../src/WebAtoms.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,yBAAiB,QAAQ,CAAC;IAEtB,UAAiB,MAAM,CAAC;QACpB,MAAa,iBAAkB,SAAQ,UAAU;YAC7C,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAC;YAClC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC;YAC3B,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC;YACrB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;YACtB,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC;YAC5B,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC;YAE9B,MAAM,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC;YAC9B,MAAM,CAAC,gBAAgB,EAAE,MAAM,IAAI,CAAC;SACvC;QAED,MAAa,iBAAkB,SAAQ,UAAU;YAC7C,MAAM,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;SAC3E;QAED,UAAiB,KAAK,CAAC;YAEnB,KAAY,MAAM;gBACd,UAAU,eAAe;gBACzB,aAAa,kBAAkB;gBAC/B,cAAc,mBAAmB;gBACjC,aAAa,kBAAkB;gBAC/B,aAAa,kBAAkB;gBAC/B,cAAc,mBAAmB;gBACjC,eAAe,oBAAoB;gBACnC,eAAe,oBAAoB;gBACnC,WAAW,gBAAgB;aAC9B;YAED,MAAa,WAAY,SAAQ,UAAU;gBAEvC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC;gBAEtB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,KAAA,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;gBAItE,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,KAAA,KAAK,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;aAGnG;SACJ;QAED,UAAiB,GAAG,CAAC;YAEjB,MAAa,WAAY,SAAQ,UAAU;uBAGzB,gBAAgB;;;;aAOjC;YAED,MAAa,WAAY,SAAQ,UAAU;uBAEzB,UAAU,CAAC,IAAI,EAAE,MAAM;uBAIvB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;aAIrD;SACJ;KACJ;CAEJ"}
@@ -1,118 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- if (typeof b !== "function" && b !== null)
10
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
- extendStatics(d, b);
12
- function __() { this.constructor = d; }
13
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
- };
15
- })();
16
- (function (factory) {
17
- if (typeof module === "object" && typeof module.exports === "object") {
18
- var v = factory(require, exports);
19
- if (v !== undefined) module.exports = v;
20
- }
21
- else if (typeof define === "function" && define.amd) {
22
- define(["require", "exports", "./DotNet", "./RootObject"], factory);
23
- }
24
- })(function (require, exports) {
25
- "use strict";
26
- var _a, _b, _c;
27
- var _d, _e, _f;
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.WebAtoms = void 0;
30
- var DotNet_1 = require("./DotNet");
31
- var RootObject_1 = require("./RootObject");
32
- var WebAtoms;
33
- (function (WebAtoms) {
34
- var Hybrid;
35
- (function (Hybrid) {
36
- var HybridApplication = /** @class */ (function (_super) {
37
- __extends(HybridApplication, _super);
38
- function HybridApplication() {
39
- return _super !== null && _super.apply(this, arguments) || this;
40
- }
41
- return HybridApplication;
42
- }(RootObject_1.default));
43
- Hybrid.HybridApplication = HybridApplication;
44
- var FilePickerService = /** @class */ (function (_super) {
45
- __extends(FilePickerService, _super);
46
- function FilePickerService() {
47
- return _super !== null && _super.apply(this, arguments) || this;
48
- }
49
- return FilePickerService;
50
- }(RootObject_1.default));
51
- Hybrid.FilePickerService = FilePickerService;
52
- var Media;
53
- (function (Media) {
54
- var Preset;
55
- (function (Preset) {
56
- Preset["LowQuality"] = "LowQuality";
57
- Preset["MediumQuality"] = "MediumQuality";
58
- Preset["HighestQuality"] = "HighestQuality";
59
- Preset["Preset640x480"] = "Preset640x480";
60
- Preset["Preset960x540"] = "Preset960x540";
61
- Preset["Preset1280x720"] = "Preset1280x720";
62
- Preset["Preset1920x1080"] = "Preset1920x1080";
63
- Preset["Preset3840x2160"] = "Preset3840x2160";
64
- Preset["Passthrough"] = "Passthrough";
65
- })(Preset = Media.Preset || (Media.Preset = {}));
66
- var HybridMedia = /** @class */ (function (_super) {
67
- __extends(HybridMedia, _super);
68
- function HybridMedia() {
69
- return _super !== null && _super.apply(this, arguments) || this;
70
- }
71
- HybridMedia.prototype.chooseVideoAsync = function (preset, progress) {
72
- return null;
73
- };
74
- HybridMedia.prototype.encodeMP4Async = function (inputFile, preset, progress) {
75
- return null;
76
- };
77
- return HybridMedia;
78
- }(RootObject_1.default));
79
- Media.HybridMedia = HybridMedia;
80
- })(Media = Hybrid.Media || (Hybrid.Media = {}));
81
- var Api;
82
- (function (Api) {
83
- var GeoLocation = /** @class */ (function (_super) {
84
- __extends(GeoLocation, _super);
85
- function GeoLocation() {
86
- return _super !== null && _super.apply(this, arguments) || this;
87
- }
88
- GeoLocation.getLocationAsync = function () {
89
- return Promise.resolve({
90
- longitude: 0,
91
- latitude: 0
92
- });
93
- };
94
- return GeoLocation;
95
- }(RootObject_1.default));
96
- Api.GeoLocation = GeoLocation;
97
- var FileService = /** @class */ (function (_super) {
98
- __extends(FileService, _super);
99
- function FileService() {
100
- return _super !== null && _super.apply(this, arguments) || this;
101
- }
102
- FileService.createFile = function (name) {
103
- return name;
104
- };
105
- FileService.append = function (path, dataUri) {
106
- return Promise.resolve(0);
107
- };
108
- return FileService;
109
- }(RootObject_1.default));
110
- Api.FileService = FileService;
111
- })(Api = Hybrid.Api || (Hybrid.Api = {}));
112
- })(Hybrid = WebAtoms.Hybrid || (WebAtoms.Hybrid = {}));
113
- })(WebAtoms = exports.WebAtoms || (exports.WebAtoms = {}));
114
- (0, DotNet_1.dotNetInit)((_a = (_d = WebAtoms).Hybrid) !== null && _a !== void 0 ? _a : (_d.Hybrid = {}), "WebAtoms.Hybrid", "WebAtoms.Hybrid");
115
- (0, DotNet_1.dotNetInit)((_b = (_e = WebAtoms.Hybrid).Api) !== null && _b !== void 0 ? _b : (_e.Api = {}), "WebAtoms.Hybrid.Api", "WebAtoms.Hybrid");
116
- (0, DotNet_1.dotNetInit)((_c = (_f = WebAtoms.Hybrid).Media) !== null && _c !== void 0 ? _c : (_f.Media = {}), "WebAtoms.Hybrid.Media", "WebAtoms.Hybrid.Media");
117
- });
118
- //# sourceMappingURL=WebAtoms.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebAtoms.js","sourceRoot":"","sources":["../src/WebAtoms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA,mCAA8C;IAC9C,2CAAsC;IAEtC,IAAiB,QAAQ,CA2ExB;IA3ED,WAAiB,QAAQ;QAErB,IAAiB,MAAM,CAuEtB;QAvED,WAAiB,MAAM;YACnB;gBAAuC,qCAAU;gBAAjD;;gBAUA,CAAC;gBAAD,wBAAC;YAAD,CA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BAAU;oBAA3C;;oBAUA,CAAC;oBARiB,sBAAU,GAAxB,UAAyB,IAAY;wBACjC,OAAO,IAAI,CAAC;oBAChB,CAAC;oBAEa,kBAAM,GAApB,UAAqB,IAAY,EAAE,OAAe;wBAC9C,OAAO,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;oBAC9B,CAAC;oBAEL,kBAAC;gBAAD,CAAC,AAVD,CAAiC,oBAAU,GAU1C;gBAVY,eAAW,cAUvB,CAAA;YACL,CAAC,EAzBgB,GAAG,GAAH,UAAG,KAAH,UAAG,QAyBnB;QACL,CAAC,EAvEgB,MAAM,GAAN,eAAM,KAAN,eAAM,QAuEtB;IAEL,CAAC,EA3EgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA2ExB;IAED,IAAA,mBAAU,cAAE,QAAgB,EAAC,MAAM,uCAAN,MAAM,GAAK,EAAE,GAAE,iBAAiB,EAAE,iBAAiB,CAAC,CAAC;IAClF,IAAA,mBAAU,cAAE,QAAgB,CAAC,MAAM,EAAC,GAAG,uCAAH,GAAG,GAAK,EAAE,GAAE,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;IAC1F,IAAA,mBAAU,cAAE,QAAgB,CAAC,MAAM,EAAC,KAAK,uCAAL,KAAK,GAAK,EAAE,GAAE,uBAAuB,EAAE,uBAAuB,CAAC,CAAC"}
@@ -1,23 +0,0 @@
1
- {
2
- "name": "@web-atoms/hybrid-clr",
3
- "version": "1.0.23",
4
- "description": "CLR definitions",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "node dist/test.js",
8
- "postversion": "git push --follow-tags"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/web-atoms/hybrid-clr.git"
13
- },
14
- "author": "",
15
- "license": "MIT",
16
- "bugs": {
17
- "url": "https://github.com/web-atoms/hybrid-clr/issues"
18
- },
19
- "homepage": "https://github.com/web-atoms/hybrid-clr#readme",
20
- "devDependencies": {
21
- "@web-atoms/unit-test": "^1.0.8"
22
- }
23
- }
@@ -1,49 +0,0 @@
1
- export interface IClassOf<T> {
2
- new (... a: any[]): T;
3
- }
4
-
5
- export interface IDotNet {
6
- getClass<T>(name: string): IClassOf<T>;
7
- }
8
-
9
- const DotNet: {
10
- isAvailable: boolean;
11
- getClass(name: string): any;
12
- } = (window as any).dotNet ?? {
13
- getClass(name) {
14
- throw new Error("dotNet is not available, the code is not running inside a WebAtoms.HybridWebView")
15
- }
16
- };
17
-
18
- DotNet.isAvailable = !!(window as any).dotNet;
19
-
20
- function create(name: string, ns: string, nsAssembly: string) {
21
- return {
22
- configurable: true,
23
- enumerable: true,
24
- get() {
25
- const value = DotNet.getClass(`${ns}.${name}, ${nsAssembly}`);
26
- Object.defineProperty(this, name, {
27
- enumerable: true,
28
- configurable: true,
29
- writable: true,
30
- value
31
- });
32
- return value;
33
- }
34
- };
35
- }
36
-
37
-
38
- export function dotNetInit(a, ns, nsAssembly) {
39
- for (const key in a) {
40
- if (key && Object.prototype.hasOwnProperty.call(a, key)) {
41
- const e = a[key];
42
- if (typeof e === "function") {
43
- Object.defineProperty(a, key, create(key, ns, nsAssembly));
44
- }
45
- }
46
- }
47
- }
48
-
49
- export default DotNet;
@@ -1,5 +0,0 @@
1
- class RootObject {
2
- [k: string]: any;
3
- }
4
-
5
- export default RootObject;
@@ -1,83 +0,0 @@
1
- import DotNet, { dotNetInit } from "./DotNet";
2
- import RootObject from "./RootObject";
3
-
4
- export namespace WebAtoms {
5
-
6
- export namespace Hybrid {
7
- export class HybridApplication extends RootObject {
8
- static current: HybridApplication;
9
- static deviceToken: string;
10
- static badge: number;
11
- static appUrl: string;
12
- static urlRequested: string;
13
- static shareRequested: string;
14
-
15
- static refreshApp: () => void;
16
- static invokeBackButton: () => void;
17
- }
18
-
19
- export class FilePickerService extends RootObject {
20
- static pickFileAsync: (title: string, accept?: string) => Promise<File>;
21
- }
22
-
23
- export namespace Media {
24
-
25
- export enum Preset {
26
- LowQuality = "LowQuality",
27
- MediumQuality = "MediumQuality",
28
- HighestQuality = "HighestQuality",
29
- Preset640x480 = "Preset640x480",
30
- Preset960x540 = "Preset960x540",
31
- Preset1280x720 = "Preset1280x720",
32
- Preset1920x1080 = "Preset1920x1080",
33
- Preset3840x2160 = "Preset3840x2160",
34
- Passthrough = "Passthrough",
35
- }
36
-
37
- export class HybridMedia extends RootObject {
38
-
39
- static instance: HybridMedia;
40
-
41
- public chooseVideoAsync(preset: Preset, progress: (n) => void): Promise<File> {
42
- return null;
43
- }
44
-
45
- public encodeMP4Async(inputFile: string, preset: Preset, progress: (n) => void): Promise<string> {
46
- return null;
47
- }
48
- }
49
- }
50
-
51
- export namespace Api {
52
-
53
- export class GeoLocation extends RootObject {
54
-
55
-
56
- public static getLocationAsync() {
57
- return Promise.resolve({
58
- longitude: 0,
59
- latitude: 0
60
- });
61
- }
62
-
63
- }
64
-
65
- export class FileService extends RootObject {
66
-
67
- public static createFile(name: string) {
68
- return name;
69
- }
70
-
71
- public static append(path: string, dataUri: string) {
72
- return Promise.resolve(0);
73
- }
74
-
75
- }
76
- }
77
- }
78
-
79
- }
80
-
81
- dotNetInit((WebAtoms as any).Hybrid ??= {}, "WebAtoms.Hybrid", "WebAtoms.Hybrid");
82
- dotNetInit((WebAtoms as any).Hybrid.Api ??= {}, "WebAtoms.Hybrid.Api", "WebAtoms.Hybrid");
83
- dotNetInit((WebAtoms as any).Hybrid.Media ??= {}, "WebAtoms.Hybrid.Media", "WebAtoms.Hybrid.Media");