@f1studio/form-spec 5.0.0-alpha.101
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/Designer.d.ts +89 -0
- package/FormSpec.TS/Components/HelloComponent.js +68 -0
- package/FormSpec.TS/Components/HelloComponent.js.map +1 -0
- package/FormSpec.TS/Components/HelloComponent.ts.map +1 -0
- package/FormSpec.TS/Designer.js +526 -0
- package/FormSpec.TS/Designer.js.map +1 -0
- package/FormSpec.TS/Designer.ts.map +1 -0
- package/FormSpec.TS/FormSpec.js +5400 -0
- package/FormSpec.TS/FormSpec.js.map +1 -0
- package/FormSpec.TS/FormSpec.ts.map +1 -0
- package/FormSpec.TS/FormSpecHelpers.js +382 -0
- package/FormSpec.TS/FormSpecHelpers.js.map +1 -0
- package/FormSpec.TS/FormSpecHelpers.ts.map +1 -0
- package/FormSpec.TS/Helpers.js +732 -0
- package/FormSpec.TS/Helpers.js.map +1 -0
- package/FormSpec.TS/Helpers.ts.map +1 -0
- package/FormSpec.TS/Interfaces.js +257 -0
- package/FormSpec.TS/Interfaces.js.map +1 -0
- package/FormSpec.TS/Interfaces.ts.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js +854 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Helpers.ts.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Option.js +1961 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Option.js.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Option.ts.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js +1367 -0
- package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
- package/FormSpec.TS/Logging/LogTypes.js +347 -0
- package/FormSpec.TS/Logging/LogTypes.js.map +1 -0
- package/FormSpec.TS/Logging/LogTypes.ts.map +1 -0
- package/FormSpec.TS/Migrator.js +230 -0
- package/FormSpec.TS/Migrator.js.map +1 -0
- package/FormSpec.TS/Migrator.ts.map +1 -0
- package/FormSpec.TS/PathwayDataExtractor.js +361 -0
- package/FormSpec.TS/PathwayDataExtractor.js.map +1 -0
- package/FormSpec.TS/PathwayDataExtractor.ts.map +1 -0
- package/FormSpec.TS/PathwayExecutor.js +1321 -0
- package/FormSpec.TS/PathwayExecutor.js.map +1 -0
- package/FormSpec.TS/PathwayExecutor.ts.map +1 -0
- package/FormSpec.TS/PathwayValidator.js +346 -0
- package/FormSpec.TS/PathwayValidator.js.map +1 -0
- package/FormSpec.TS/PathwayValidator.ts.map +1 -0
- package/FormSpec.TS/PluginInterface.js +171 -0
- package/FormSpec.TS/PluginInterface.js.map +1 -0
- package/FormSpec.TS/PluginInterface.ts.map +1 -0
- package/FormSpec.TS/Prelude.js +59 -0
- package/FormSpec.TS/Prelude.js.map +1 -0
- package/FormSpec.TS/Prelude.ts.map +1 -0
- package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js +958 -0
- package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js.map +1 -0
- package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
- package/FormSpec.TS/Renderers/MermaidRenderer.js +228 -0
- package/FormSpec.TS/Renderers/MermaidRenderer.js.map +1 -0
- package/FormSpec.TS/Renderers/MermaidRenderer.ts.map +1 -0
- package/FormSpec.TS/Renderers/PathwayRenderers.js +190 -0
- package/FormSpec.TS/Renderers/PathwayRenderers.js.map +1 -0
- package/FormSpec.TS/Renderers/PathwayRenderers.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs +511 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js +437 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs +16 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js +73 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs +50 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js +72 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Fable.Form.fableproj +28 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs +24 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js +56 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Fable.Form.Simple.fableproj +31 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs +178 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js +464 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Extensions.fs +17 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs +152 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js +25 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Types.fableproj +28 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs +218 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js +37 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.Types.fableproj +27 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs +82 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/BorderStyle.fs +59 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs +154 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.js +32 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Feliz.fableproj +42 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Fonts.fs +240 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/GridTypes.fs +24 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Html.fs +826 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs +83 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js +292 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs +65 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.js +229 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Length.fs +91 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Locale.fs +876 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs +4080 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.js +133 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs +656 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js +561 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs +25 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.js +46 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactInterop.js +63 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactInterop.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs +41 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs +53 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Styles.fs +5740 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs +1455 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.js +39 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/TextDecorationLine.fs +13 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/TextDecorationStyle.fs +33 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Transform.fs +181 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/TransformOrigin.fs +17 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/TransitionProperty.fs +162 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs +13 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs +1768 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.js +2337 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs +811 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js +465 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs +47 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.js +18 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Thoth.Json.fableproj +34 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs +68 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.js +355 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/project_cracked.json +1 -0
- package/FormSpec.d.ts +1257 -0
- package/FormSpecHelpers.d.ts +50 -0
- package/Helpers.d.ts +147 -0
- package/Interfaces.d.ts +70 -0
- package/Interop/FormSpec.Api.Helpers.d.ts +247 -0
- package/Interop/FormSpec.Api.Helpers.d.ts.map +1 -0
- package/Interop/FormSpec.Api.Option.d.ts +384 -0
- package/Interop/FormSpec.Api.Option.d.ts.map +1 -0
- package/Interop/FormSpec.Values.Api.Option.d.ts +324 -0
- package/Interop/FormSpec.Values.Api.Option.d.ts.map +1 -0
- package/Migrator.d.ts +59 -0
- package/PathwayDataExtractor.d.ts +19 -0
- package/PathwayExecutor.d.ts +210 -0
- package/PathwayValidator.d.ts +52 -0
- package/PluginInterface.d.ts +36 -0
- package/Prelude.d.ts +11 -0
- package/README.TS.md +622 -0
- package/README.md +85 -0
- package/package.json +39 -0
- package/src/Components/HelloComponent.ts +48 -0
- package/src/Components/HelloComponent.ts.map +1 -0
- package/src/Designer.ts +389 -0
- package/src/Designer.ts.map +1 -0
- package/src/FormSpec.ts +3114 -0
- package/src/FormSpec.ts.map +1 -0
- package/src/FormSpecHelpers.ts +374 -0
- package/src/FormSpecHelpers.ts.map +1 -0
- package/src/Helpers.ts +765 -0
- package/src/Helpers.ts.map +1 -0
- package/src/Interfaces.ts +166 -0
- package/src/Interfaces.ts.map +1 -0
- package/src/Interop/FormSpec.Api.Helpers.ts +872 -0
- package/src/Interop/FormSpec.Api.Helpers.ts.map +1 -0
- package/src/Interop/FormSpec.Api.Option.ts +1618 -0
- package/src/Interop/FormSpec.Api.Option.ts.map +1 -0
- package/src/Interop/FormSpec.Values.Api.Option.ts +1214 -0
- package/src/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
- package/src/Logging/LogTypes.ts +212 -0
- package/src/Logging/LogTypes.ts.map +1 -0
- package/src/Migrator.ts +156 -0
- package/src/Migrator.ts.map +1 -0
- package/src/PathwayDataExtractor.ts +290 -0
- package/src/PathwayDataExtractor.ts.map +1 -0
- package/src/PathwayExecutor.ts +1102 -0
- package/src/PathwayExecutor.ts.map +1 -0
- package/src/PathwayValidator.ts +244 -0
- package/src/PathwayValidator.ts.map +1 -0
- package/src/PluginInterface.ts +79 -0
- package/src/PluginInterface.ts.map +1 -0
- package/src/Prelude.ts +21 -0
- package/src/Prelude.ts.map +1 -0
- package/src/Renderers/FormSpecMarkdownRenderer.ts +874 -0
- package/src/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
- package/src/Renderers/MermaidRenderer.ts +218 -0
- package/src/Renderers/MermaidRenderer.ts.map +1 -0
- package/src/Renderers/PathwayRenderers.ts +200 -0
- package/src/Renderers/PathwayRenderers.ts.map +1 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get PropHelpers_createClockValue () {
|
|
13
|
+
return PropHelpers_createClockValue;
|
|
14
|
+
},
|
|
15
|
+
get PropHelpers_createKeySplines () {
|
|
16
|
+
return PropHelpers_createKeySplines;
|
|
17
|
+
},
|
|
18
|
+
get PropHelpers_createOnKey () {
|
|
19
|
+
return PropHelpers_createOnKey;
|
|
20
|
+
},
|
|
21
|
+
get PropHelpers_createPointsFloat () {
|
|
22
|
+
return PropHelpers_createPointsFloat;
|
|
23
|
+
},
|
|
24
|
+
get PropHelpers_createPointsInt () {
|
|
25
|
+
return PropHelpers_createPointsInt;
|
|
26
|
+
},
|
|
27
|
+
get PropHelpers_createSvgPathFloat () {
|
|
28
|
+
return PropHelpers_createSvgPathFloat;
|
|
29
|
+
},
|
|
30
|
+
get PropHelpers_createSvgPathInt () {
|
|
31
|
+
return PropHelpers_createSvgPathInt;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
const _String = require("@fable-org/fable-library-js/String.js");
|
|
35
|
+
const _List = require("@fable-org/fable-library-js/List.js");
|
|
36
|
+
const _TimeSpan = require("@fable-org/fable-library-js/TimeSpan.js");
|
|
37
|
+
const _Seq = require("@fable-org/fable-library-js/Seq.js");
|
|
38
|
+
function PropHelpers_createClockValue(duration) {
|
|
39
|
+
let i_1;
|
|
40
|
+
return (0, _String.join)(":", (0, _List.map)((i)=>i < 10 ? "0" + i : i, (0, _List.ofArray)([
|
|
41
|
+
(0, _TimeSpan.hours)(duration),
|
|
42
|
+
(0, _TimeSpan.minutes)(duration),
|
|
43
|
+
(0, _TimeSpan.seconds)(duration)
|
|
44
|
+
]))) + "." + (i_1 = (0, _TimeSpan.milliseconds)(duration) | 0, i_1 < 10 ? "0" + i_1 : i_1);
|
|
45
|
+
}
|
|
46
|
+
function PropHelpers_createKeySplines(values) {
|
|
47
|
+
return (0, _String.join)("; ", (0, _Seq.map)((tupledArg)=>tupledArg[0] + " " + tupledArg[1] + " " + tupledArg[2] + " " + tupledArg[3], values));
|
|
48
|
+
}
|
|
49
|
+
function PropHelpers_createOnKey(key, handler, ev) {
|
|
50
|
+
const patternInput = key;
|
|
51
|
+
const shift = patternInput[2];
|
|
52
|
+
const pressedKey = patternInput[0];
|
|
53
|
+
let matchResult;
|
|
54
|
+
if (patternInput[1]) {
|
|
55
|
+
if (shift) {
|
|
56
|
+
if (pressedKey.toLocaleLowerCase() === ev.key.toLocaleLowerCase() && ev.ctrlKey && ev.shiftKey) {
|
|
57
|
+
matchResult = 0;
|
|
58
|
+
} else {
|
|
59
|
+
matchResult = 4;
|
|
60
|
+
}
|
|
61
|
+
} else if (pressedKey.toLocaleLowerCase() === ev.key.toLocaleLowerCase() && ev.ctrlKey) {
|
|
62
|
+
matchResult = 1;
|
|
63
|
+
} else {
|
|
64
|
+
matchResult = 4;
|
|
65
|
+
}
|
|
66
|
+
} else if (shift) {
|
|
67
|
+
if (pressedKey.toLocaleLowerCase() === ev.key.toLocaleLowerCase() && ev.shiftKey) {
|
|
68
|
+
matchResult = 2;
|
|
69
|
+
} else {
|
|
70
|
+
matchResult = 4;
|
|
71
|
+
}
|
|
72
|
+
} else if (pressedKey.toLocaleLowerCase() === ev.key.toLocaleLowerCase()) {
|
|
73
|
+
matchResult = 3;
|
|
74
|
+
} else {
|
|
75
|
+
matchResult = 4;
|
|
76
|
+
}
|
|
77
|
+
switch(matchResult){
|
|
78
|
+
case 0:
|
|
79
|
+
{
|
|
80
|
+
handler(ev);
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
case 1:
|
|
84
|
+
{
|
|
85
|
+
handler(ev);
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
case 2:
|
|
89
|
+
{
|
|
90
|
+
handler(ev);
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
case 3:
|
|
94
|
+
{
|
|
95
|
+
handler(ev);
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
case 4:
|
|
99
|
+
{
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function PropHelpers_createPointsFloat(coordinates) {
|
|
105
|
+
return (0, _String.join)(" ", (0, _Seq.map)((tupledArg)=>tupledArg[0] + "," + tupledArg[1], coordinates));
|
|
106
|
+
}
|
|
107
|
+
function PropHelpers_createPointsInt(coordinates) {
|
|
108
|
+
return (0, _String.join)(" ", (0, _Seq.map)((tupledArg)=>tupledArg[0] + "," + tupledArg[1], coordinates));
|
|
109
|
+
}
|
|
110
|
+
function PropHelpers_createSvgPathFloat(path) {
|
|
111
|
+
return (0, _String.join)("\n", (0, _Seq.map)((tupledArg)=>{
|
|
112
|
+
const cmdType = tupledArg[0];
|
|
113
|
+
const cmds = tupledArg[1];
|
|
114
|
+
if ((0, _List.length)(cmds) === 0) {
|
|
115
|
+
return cmdType;
|
|
116
|
+
} else {
|
|
117
|
+
return cmdType + " " + (0, _String.join)(" ", (0, _Seq.map)((arg)=>(0, _String.join)(",", arg), cmds));
|
|
118
|
+
}
|
|
119
|
+
}, path));
|
|
120
|
+
}
|
|
121
|
+
function PropHelpers_createSvgPathInt(path) {
|
|
122
|
+
return (0, _String.join)("\n", (0, _Seq.map)((tupledArg)=>{
|
|
123
|
+
const cmdType = tupledArg[0];
|
|
124
|
+
const cmds = tupledArg[1];
|
|
125
|
+
if ((0, _List.length)(cmds) === 0) {
|
|
126
|
+
return cmdType;
|
|
127
|
+
} else {
|
|
128
|
+
return cmdType + " " + (0, _String.join)(" ", (0, _Seq.map)((arg)=>(0, _String.join)(",", arg), cmds));
|
|
129
|
+
}
|
|
130
|
+
}, path));
|
|
131
|
+
} //# sourceMappingURL=Properties.fs.ts.map
|
|
132
|
+
|
|
133
|
+
//# sourceMappingURL=Properties.fs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.ts"],"names":["i","duration","tupledArg","values","patternInput","key","shift","pressedKey","ev","handler","coordinates","cmdType","cmds","path"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA6C6BA;WASP,IADX,YAAA,EAAc,SADd,SAAA,EAAA,CAAA,IANC,AAAGA,IAAI,KAAQ,MAAqBA,IACjBA,OAEvB,aAAA,EAAA;YAAE,eAAA,EAAAC;YACA,iBAAA,EAAAA;YACA,iBAAA,EAAAA;KAAAA,MAGkB,OATCD,UASgB,sBAAA,EAAAC,YAAAA,GARjC,AAAGD,MAAI,KAAQ,MAAqBA,MACjBA,GAAAA;;;eAgBpB,YAAA,EAAc,MALd,YAAA,EAAA,CAAA,YAAcE,AACb,CAAA,CAAA,CAAA,CAAA,KADaA,CAAAA,EAAAA,GACQ,MADRA,SAAAA,CAAAA,EAAAA,GAEQ,MAFRA,SAAAA,CAAAA,EAAAA,GAGQ,MAHRA,SAAAA,CAAAA,EAAAA,EADjBC;;;IAUQC,MAAAA,eAAsDC;IAArBC,MAAAA,QAAjCF,YAAAA,CAAAA,EAAAA;IAACG,MAAAA,aAADH,YAAAA,CAAAA,EAAAA;;IACE,IADFA,YAAAA,CAAAA,EAAAA,EAAAA;QACE,IAAME,OAAAA;YAAN,IACY,AAAAC,CAAA,UAAAA,iBAAAA,OAAuBC,GAAAA,GAAAA,CAAAA,iBAAAA,MAAoBA,GAAAA,OAAAA,IAAcA,GAAAA,QAAAA,EAAAA;;;;;eADrE,IAEa,AAAAD,WAAAA,iBAAAA,OAAuBC,GAAAA,GAAAA,CAAAA,iBAAAA,MAAoBA,GAAAA,OAAAA,EAAAA;;;;;WAFxD,IAAMF,OAAAA;QAAN,IAGa,AAAAC,WAAAA,iBAAAA,OAAuBC,GAAAA,GAAAA,CAAAA,iBAAAA,MAAoBA,GAAAA,QAAAA,EAAAA;;;;;WAHxD,IAIcD,WAAAA,iBAAAA,OAAuBC,GAAAA,GAAAA,CAAAA,iBAAAA,IAAAA;;;;;;;;gBAH+CC,QAAQD;;;;;gBACtBC,QAAQD;;;;;gBACPC,QAAQD;;;;;gBACtBC,QAAQD;;;;;;;;;;eAMxE,YAAA,EAAc,SADd,QAAA,EAAA,CAAA,YAAsB,AAARN,SAAAA,CAAAA,EAAAA,GAA4B,MAA5BA,SAAAA,CAAAA,EAAAA,EADjBQ;;;eAOG,YAAA,EAAc,SADd,QAAA,EAAA,CAAA,YAAsB,AAARR,SAAAA,CAAAA,EAAAA,GAA4B,MAA5BA,SAAAA,CAAAA,EAAAA,EADjBQ;;;eAaG,YAAA,EAAA,UAPA,QAAA,EAAA,CAAA;QAAcC,MAAAA,UAAAT,SAAAA,CAAAA,EAAAA;QAASU,MAAAA,OAATV,SAAAA,CAAAA,EAAAA;QACb,QAAG,YAAA,EAAAU,UAAc,GAAA;mBAAqBD;;YAKpB,OAAA,AAAeA,UAAW,UADrC,YAAA,EAAc,SADd,QAAA,EAAA,CAAA,UAA+B,YAAA,EAAc,KAAA,MADhDC;;OAJRC;;;eAmBG,YAAA,EAAA,UAPA,QAAA,EAAA,CAAA;QAAcF,MAAAA,UAAAT,SAAAA,CAAAA,EAAAA;QAASU,MAAAA,OAATV,SAAAA,CAAAA,EAAAA;QACb,QAAG,YAAA,EAAAU,UAAc,GAAA;mBAAqBD;;YAKpB,OAAA,AAAeA,UAAW,UADrC,YAAA,EAAc,SADd,QAAA,EAAA,CAAA,UAA+B,YAAA,EAAc,KAAA,MADhDC;;OAJRC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["./Properties.fs"],"names":["i","duration","tupledArg","values","patternInput","key","shift","pressedKey","ev","handler","coordinates","cmdType","cmds","path"],"mappings":";;;;;;;;;;;;;;;;;;;;;;QA6C6BA;WASP,CAAA,AADX,KAAc,KADd,0CANC,CAAG,AAAAA,IAAI,OAAQ,MAAqBA,KACjBA,IAEvB,SAAE,MAAAC,WACA,QAAAA,WACA,QAAAA,gBAGkB,SATCD,OASgB,aAAAC,gBARjC,CAAG,AAAAD,MAAI,OAAQ,MAAqBA,OACjBA;;;;WAgBpB,KAAc,MALd,kHACC,CAAA,CAAA,CAAA,CAAA,CAAA,AADa,AAAAE,eACQ,OADR,AAAAA,gBAEQ,OAFR,AAAAA,gBAGQ,OAHR,AAAAA,eADjBC;;;;AAUQC,qDAAsDC;AAArBC,2BAAjC,AAAAF;AAACG,\u002BBAAD,AAAAH;;AACE,QADF,AAAAA;AACE,YAAME;AAAN,gBACY,CAAA,CAAA,AAAAC,mCAAuB,AAAAC,\u002BBAAoB,AAAAA,eAAc,AAAAA;;;;;;;aADrE,IAEa,CAAA,AAAAD,mCAAuB,AAAAC,\u002BBAAoB,AAAAA;;;;;;;SAFxD,IAAMF;AAAN,YAGa,CAAA,AAAAC,mCAAuB,AAAAC,\u002BBAAoB,AAAAA;;;;;;;SAHxD,IAIc,AAAAD,mCAAuB,AAAAC;;;;;;;;AAH\u002BC,AAAAC,oBAAQD;;;;AACtB,AAAAC,oBAAQD;;;;AACP,AAAAC,oBAAQD;;;;AACtB,AAAAC,oBAAQD;;;;;;;;;;WAMxE,KAAc,KADd,8EAAsB,CAAA,AAAR,AAAAN,eAA4B,OAA5B,AAAAA,eADjBQ;;;;WAOG,KAAc,KADd,sEAAsB,CAAA,AAAR,AAAAR,eAA4B,OAA5B,AAAAA,eADjBQ;;;;WAaG,WAPA;AAAcC,gCAAA,AAAAT;AAASU,sDAAT,AAAAV;AACb,YAAG,OAAAU,UAAc;mBAAqBD;;;AAKpB,mBAAA,CAAA,AAAeA,UAAW,OADrC,KAAc,KADd,yEAA\u002BB,KAAc,WADhDC;;OAJRC;;;;WAmBG,WAPA;AAAcF,gCAAA,AAAAT;AAASU,oDAAT,AAAAV;AACb,YAAG,OAAAU,UAAc;mBAAqBD;;;AAKpB,mBAAA,CAAA,AAAeA,UAAW,OADrC,KAAc,KADd,qEAA\u002BB,KAAc,WADhDC;;OAJRC","file":null,"sourcesContent":null,"sourceRoot":null}
|