@mittwald/flow-remote-core 0.2.0-alpha.865 → 0.2.0-alpha.866
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/js/_virtual/_rolldown/runtime.mjs +13 -0
- package/dist/js/core/src/file.mjs +10 -14
- package/dist/js/core/src/file.mjs.map +1 -1
- package/dist/js/core/src/index.mjs +1 -0
- package/dist/js/index-node.mjs +15 -16
- package/dist/js/index.mjs +17 -15
- package/dist/js/remote-core/src/connection/connectHostRenderRoot.mjs +45 -55
- package/dist/js/remote-core/src/connection/connectHostRenderRoot.mjs.map +1 -1
- package/dist/js/remote-core/src/connection/connectRemoteIframe.mjs +56 -72
- package/dist/js/remote-core/src/connection/connectRemoteIframe.mjs.map +1 -1
- package/dist/js/remote-core/src/connection/index.mjs +3 -0
- package/dist/js/remote-core/src/connection/types.mjs +11 -9
- package/dist/js/remote-core/src/connection/types.mjs.map +1 -1
- package/dist/js/remote-core/src/error.mjs +10 -8
- package/dist/js/remote-core/src/error.mjs.map +1 -1
- package/dist/js/remote-core/src/ext-bridge/getWithMergedHostConfig.mjs +10 -8
- package/dist/js/remote-core/src/ext-bridge/getWithMergedHostConfig.mjs.map +1 -1
- package/dist/js/remote-core/src/ext-bridge/implementation.mjs +8 -12
- package/dist/js/remote-core/src/ext-bridge/implementation.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/FlowThreadSerialization.mjs +47 -59
- package/dist/js/remote-core/src/serialization/FlowThreadSerialization.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/Serializer.mjs +34 -35
- package/dist/js/remote-core/src/serialization/Serializer.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/index.mjs +9 -0
- package/dist/js/remote-core/src/serialization/serializers/dataTransferText.mjs +20 -21
- package/dist/js/remote-core/src/serialization/serializers/dataTransferText.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/serializers/date.mjs +13 -14
- package/dist/js/remote-core/src/serialization/serializers/date.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/serializers/file.mjs +29 -29
- package/dist/js/remote-core/src/serialization/serializers/file.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/serializers/fileList.mjs +20 -22
- package/dist/js/remote-core/src/serialization/serializers/fileList.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/serializers/formData.mjs +27 -34
- package/dist/js/remote-core/src/serialization/serializers/formData.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/serializers/index.mjs +23 -7
- package/dist/js/remote-core/src/serialization/serializers/index.mjs.map +1 -1
- package/dist/js/remote-core/src/serialization/serializers/passwordPolicy.mjs +13 -14
- package/dist/js/remote-core/src/serialization/serializers/passwordPolicy.mjs.map +1 -1
- package/dist/js/remote-core/src/shim.mjs +11 -12
- package/dist/js/remote-core/src/shim.mjs.map +1 -1
- package/package.json +16 -16
- package/dist/js/index-node.mjs.map +0 -1
- package/dist/js/index.mjs.map +0 -1
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { Serializer } from
|
|
2
|
-
import { Policy } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
apply: (policyDeclaration) => Policy.fromDeclaration(policyDeclaration)
|
|
12
|
-
}
|
|
1
|
+
import { Serializer } from "../Serializer.mjs";
|
|
2
|
+
import { Policy } from "@mittwald/flow-react-components/mittwald-password-tools-js";
|
|
3
|
+
//#region src/serialization/serializers/passwordPolicy.ts
|
|
4
|
+
var passwordPolicySerializer = new Serializer({
|
|
5
|
+
name: "PasswordPolicy",
|
|
6
|
+
serialize: {
|
|
7
|
+
isApplicable: (val) => Policy.isPolicy(val),
|
|
8
|
+
apply: (policy) => policy.toDeclaration()
|
|
9
|
+
},
|
|
10
|
+
deserialize: { apply: (policyDeclaration) => Policy.fromDeclaration(policyDeclaration) }
|
|
13
11
|
});
|
|
14
|
-
|
|
12
|
+
//#endregion
|
|
15
13
|
export { passwordPolicySerializer };
|
|
16
|
-
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=passwordPolicy.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passwordPolicy.mjs","sources":["../../../../../../src/serialization/serializers/passwordPolicy.ts"],"sourcesContent":["import { Serializer } from \"@/serialization/Serializer\";\nimport {\n Policy,\n type PolicyDeclaration,\n} from \"@mittwald/flow-react-components/mittwald-password-tools-js\";\n\nexport const passwordPolicySerializer = new Serializer<\n Policy,\n PolicyDeclaration\n>({\n name: \"PasswordPolicy\",\n serialize: {\n isApplicable: (val) => Policy.isPolicy(val),\n apply: (policy) => policy.toDeclaration(),\n },\n deserialize: {\n apply: (policyDeclaration) => Policy.fromDeclaration(policyDeclaration),\n },\n});\n"],"
|
|
1
|
+
{"version":3,"file":"passwordPolicy.mjs","names":[],"sources":["../../../../../../src/serialization/serializers/passwordPolicy.ts"],"sourcesContent":["import { Serializer } from \"@/serialization/Serializer\";\nimport {\n Policy,\n type PolicyDeclaration,\n} from \"@mittwald/flow-react-components/mittwald-password-tools-js\";\n\nexport const passwordPolicySerializer = new Serializer<\n Policy,\n PolicyDeclaration\n>({\n name: \"PasswordPolicy\",\n serialize: {\n isApplicable: (val) => Policy.isPolicy(val),\n apply: (policy) => policy.toDeclaration(),\n },\n deserialize: {\n apply: (policyDeclaration) => Policy.fromDeclaration(policyDeclaration),\n },\n});\n"],"mappings":";;;AAMA,IAAa,2BAA2B,IAAI,WAG1C;CACA,MAAM;CACN,WAAW;EACT,eAAe,QAAQ,OAAO,SAAS,GAAG;EAC1C,QAAQ,WAAW,OAAO,cAAc;CAC1C;CACA,aAAa,EACX,QAAQ,sBAAsB,OAAO,gBAAgB,iBAAiB,EACxE;AACF,CAAC"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { HTMLElement, customElements } from
|
|
2
|
-
|
|
1
|
+
import { HTMLElement, customElements } from "@lit-labs/ssr-dom-shim";
|
|
2
|
+
//#region src/shim.ts
|
|
3
3
|
globalThis.HTMLElement = HTMLElement;
|
|
4
4
|
globalThis.customElements = customElements;
|
|
5
5
|
globalThis.MutationObserver = class MutationObserver {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
takeRecords() {
|
|
13
|
-
return [];
|
|
14
|
-
}
|
|
6
|
+
constructor() {}
|
|
7
|
+
disconnect() {}
|
|
8
|
+
observe() {}
|
|
9
|
+
takeRecords() {
|
|
10
|
+
return [];
|
|
11
|
+
}
|
|
15
12
|
};
|
|
16
|
-
//#
|
|
13
|
+
//#endregion
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=shim.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.mjs","sources":["../../../../src/shim.ts"],"sourcesContent":["import { HTMLElement, customElements } from \"@lit-labs/ssr-dom-shim\";\n\nglobalThis.HTMLElement = HTMLElement;\nglobalThis.customElements = customElements;\nglobalThis.MutationObserver = class MutationObserver {\n public constructor() {\n // mocked\n }\n public disconnect() {\n // mocked\n }\n public observe() {\n // mocked\n }\n public takeRecords() {\n return [];\n }\n};\n"],"
|
|
1
|
+
{"version":3,"file":"shim.mjs","names":[],"sources":["../../../../src/shim.ts"],"sourcesContent":["import { HTMLElement, customElements } from \"@lit-labs/ssr-dom-shim\";\n\nglobalThis.HTMLElement = HTMLElement;\nglobalThis.customElements = customElements;\nglobalThis.MutationObserver = class MutationObserver {\n public constructor() {\n // mocked\n }\n public disconnect() {\n // mocked\n }\n public observe() {\n // mocked\n }\n public takeRecords() {\n return [];\n }\n};\n"],"mappings":";;AAEA,WAAW,cAAc;AACzB,WAAW,iBAAiB;AAC5B,WAAW,mBAAmB,MAAM,iBAAiB;CACnD,cAAqB,CAErB;CACA,aAAoB,CAEpB;CACA,UAAiB,CAEjB;CACA,cAAqB;EACnB,OAAO,CAAC;CACV;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-remote-core",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.866",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core functionality to setup a remote/host environment",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -26,38 +26,38 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@internationalized/date": "^3.12.2",
|
|
29
|
-
"@lit-labs/ssr-dom-shim": "^1.
|
|
29
|
+
"@lit-labs/ssr-dom-shim": "^1.6.0",
|
|
30
30
|
"@mittwald/remote-dom-core": "1.7.0-mittwald.10",
|
|
31
31
|
"@quilted/threads": "^3.3.1",
|
|
32
32
|
"@types/invariant": "^2.2.37",
|
|
33
33
|
"invariant": "^2.2.4",
|
|
34
|
-
"remeda": "^2.
|
|
34
|
+
"remeda": "^2.39.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@mittwald/ext-bridge": "0.2.0-alpha.
|
|
37
|
+
"@mittwald/ext-bridge": "0.2.0-alpha.866",
|
|
38
38
|
"@mittwald/flow-core": "",
|
|
39
|
-
"@mittwald/flow-react-components": "0.2.0-alpha.
|
|
39
|
+
"@mittwald/flow-react-components": "0.2.0-alpha.866",
|
|
40
40
|
"@mittwald/typescript-config": "",
|
|
41
|
-
"@types/node": "^
|
|
42
|
-
"nx": "^22.5
|
|
43
|
-
"prettier": "^3.8.
|
|
41
|
+
"@types/node": "^25.9.3",
|
|
42
|
+
"nx": "^22.7.5",
|
|
43
|
+
"prettier": "^3.8.4",
|
|
44
44
|
"rimraf": "^6.1.3",
|
|
45
45
|
"rollup-preserve-directives": "^1.1.3",
|
|
46
|
-
"typescript": "^
|
|
47
|
-
"vite": "^
|
|
48
|
-
"vite-plugin-checker": "^0.
|
|
49
|
-
"vite-plugin-dts": "^
|
|
46
|
+
"typescript": "^6.0.3",
|
|
47
|
+
"vite": "^8.0.16",
|
|
48
|
+
"vite-plugin-checker": "^0.14.1",
|
|
49
|
+
"vite-plugin-dts": "^5.0.2",
|
|
50
50
|
"vite-plugin-externalize-deps": "^0.10.0",
|
|
51
|
-
"vitest": "^4.
|
|
51
|
+
"vitest": "^4.1.9"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@mittwald/ext-bridge": "0.2.0-alpha.
|
|
55
|
-
"@mittwald/flow-react-components": "0.2.0-alpha.
|
|
54
|
+
"@mittwald/ext-bridge": "0.2.0-alpha.865",
|
|
55
|
+
"@mittwald/flow-react-components": "0.2.0-alpha.865"
|
|
56
56
|
},
|
|
57
57
|
"peerDependenciesMeta": {
|
|
58
58
|
"@mittwald/ext-bridge": {
|
|
59
59
|
"optional": true
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "a1e96368a69cc83562cd77102f537cbbfc1b7e76"
|
|
63
63
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/js/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|