@apia/speed-ui 5.0.0 → 5.0.1
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/data/SpeedUIExecution.d.ts +11 -0
- package/dist/data/SpeedUIExecution.d.ts.map +1 -0
- package/dist/data/SpeedUIExecution.js +13 -0
- package/dist/data/SpeedUIExecution.js.map +1 -0
- package/dist/data/SpeedUIForm.d.ts +13 -0
- package/dist/data/SpeedUIForm.d.ts.map +1 -0
- package/dist/data/SpeedUIForm.js +14 -0
- package/dist/data/SpeedUIForm.js.map +1 -0
- package/dist/data/SpeedUIRunable.d.ts +41 -0
- package/dist/data/SpeedUIRunable.d.ts.map +1 -0
- package/dist/data/SpeedUIRunable.js +35 -0
- package/dist/data/SpeedUIRunable.js.map +1 -0
- package/dist/data/SpeedUIScreen.d.ts +10 -0
- package/dist/data/SpeedUIScreen.d.ts.map +1 -0
- package/dist/data/SpeedUIScreen.js +12 -0
- package/dist/data/SpeedUIScreen.js.map +1 -0
- package/dist/graphLoader/graphLoader.d.ts +59 -0
- package/dist/graphLoader/graphLoader.d.ts.map +1 -0
- package/dist/graphLoader/graphLoader.js +52 -0
- package/dist/graphLoader/graphLoader.js.map +1 -0
- package/dist/index.d.ts +9 -173
- package/dist/index.js +9 -351
- package/dist/index.js.map +1 -1
- package/dist/ui/SpeedUIReact.d.ts +23 -0
- package/dist/ui/SpeedUIReact.d.ts.map +1 -0
- package/dist/ui/SpeedUIReact.js +54 -0
- package/dist/ui/SpeedUIReact.js.map +1 -0
- package/dist/ui/SpeedUIReactVisitor.d.ts +36 -0
- package/dist/ui/SpeedUIReactVisitor.d.ts.map +1 -0
- package/dist/ui/SpeedUIReactVisitor.js +8 -0
- package/dist/ui/SpeedUIReactVisitor.js.map +1 -0
- package/dist/ui/defaults/SpeedUIExecutionReact/SpeedUIExecutionReact.js +17 -0
- package/dist/ui/defaults/SpeedUIExecutionReact/SpeedUIExecutionReact.js.map +1 -0
- package/dist/ui/defaults/SpeedUIFormReact/SpeedUIFormReact.d.ts +9 -0
- package/dist/ui/defaults/SpeedUIFormReact/SpeedUIFormReact.d.ts.map +1 -0
- package/dist/ui/defaults/SpeedUIFormReact/SpeedUIFormReact.js +30 -0
- package/dist/ui/defaults/SpeedUIFormReact/SpeedUIFormReact.js.map +1 -0
- package/dist/ui/defaults/SpeedUIScreenReact/Selector.js +85 -0
- package/dist/ui/defaults/SpeedUIScreenReact/Selector.js.map +1 -0
- package/dist/ui/defaults/SpeedUIScreenReact/SpeedUIScreenReact.d.ts +11 -0
- package/dist/ui/defaults/SpeedUIScreenReact/SpeedUIScreenReact.d.ts.map +1 -0
- package/dist/ui/defaults/SpeedUIScreenReact/SpeedUIScreenReact.js +81 -0
- package/dist/ui/defaults/SpeedUIScreenReact/SpeedUIScreenReact.js.map +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Box } from '@apia/theme';
|
|
3
|
+
import { addBoundary } from '@apia/util';
|
|
4
|
+
import { useState, useRef, useEffect } from 'react';
|
|
5
|
+
|
|
6
|
+
function matches(str, search) {
|
|
7
|
+
if (str.match(new RegExp(search, "i"))) {
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
const separatedSearch = search.replaceAll(" ", ".*");
|
|
11
|
+
if (str.match(new RegExp(separatedSearch, "i"))) {
|
|
12
|
+
return true;
|
|
13
|
+
}
|
|
14
|
+
const extremeSearch = search.replaceAll(" ", "").split("").join(".*");
|
|
15
|
+
return !!str.match(new RegExp(extremeSearch, "i"));
|
|
16
|
+
}
|
|
17
|
+
const Selector = ({
|
|
18
|
+
label,
|
|
19
|
+
options
|
|
20
|
+
}) => {
|
|
21
|
+
const [filtered, setFiltered] = useState(options);
|
|
22
|
+
const [index, setIndex] = useState(0);
|
|
23
|
+
const willSelect = useRef(false);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
document.querySelector(
|
|
26
|
+
".speedui__selector .speedui__option.selected"
|
|
27
|
+
)?.scrollIntoView({
|
|
28
|
+
behavior: "auto",
|
|
29
|
+
block: "nearest",
|
|
30
|
+
inline: "nearest"
|
|
31
|
+
});
|
|
32
|
+
}, [index]);
|
|
33
|
+
return /* @__PURE__ */ jsxs(
|
|
34
|
+
Box,
|
|
35
|
+
{
|
|
36
|
+
className: "speedui__selector",
|
|
37
|
+
onKeyDown: (ev) => {
|
|
38
|
+
switch (ev.code) {
|
|
39
|
+
case "ArrowUp":
|
|
40
|
+
setIndex((c) => addBoundary(c - 1, 0, filtered.length - 1, true));
|
|
41
|
+
break;
|
|
42
|
+
case "ArrowDown":
|
|
43
|
+
setIndex((c) => addBoundary(c + 1, 0, filtered.length - 1, true));
|
|
44
|
+
break;
|
|
45
|
+
case "Enter":
|
|
46
|
+
filtered[index].action();
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ jsx(
|
|
52
|
+
"input",
|
|
53
|
+
{
|
|
54
|
+
className: "speedui__autocomplete",
|
|
55
|
+
placeholder: label,
|
|
56
|
+
onChange: (ev) => {
|
|
57
|
+
if (ev.target.value.toLowerCase() === filtered[0]?.label.toLowerCase() && filtered.length === 1 || willSelect.current && filtered.length === 1) {
|
|
58
|
+
filtered[0].action();
|
|
59
|
+
} else {
|
|
60
|
+
willSelect.current = filtered.length === 1;
|
|
61
|
+
setFiltered(
|
|
62
|
+
options.filter((c) => matches(c.label, ev.target.value))
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ jsx(Box, { children: filtered.map((c, i) => /* @__PURE__ */ jsx(
|
|
69
|
+
Box,
|
|
70
|
+
{
|
|
71
|
+
className: `speedui__option ${index === i ? "selected" : ""}`,
|
|
72
|
+
onClick: () => {
|
|
73
|
+
c.action();
|
|
74
|
+
},
|
|
75
|
+
children: c.label
|
|
76
|
+
},
|
|
77
|
+
c.label
|
|
78
|
+
)) })
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export { Selector };
|
|
85
|
+
//# sourceMappingURL=Selector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Selector.js","sources":["../../../../src/ui/defaults/SpeedUIScreenReact/Selector.tsx"],"sourcesContent":["import { Box } from '@apia/theme';\r\nimport { addBoundary } from '@apia/util';\r\nimport { useEffect, useRef, useState } from 'react';\r\n\r\nfunction matches(str: string, search: string) {\r\n if (str.match(new RegExp(search, 'i'))) {\r\n return true;\r\n }\r\n\r\n const separatedSearch = search.replaceAll(' ', '.*');\r\n if (str.match(new RegExp(separatedSearch, 'i'))) {\r\n return true;\r\n }\r\n\r\n const extremeSearch = search.replaceAll(' ', '').split('').join('.*');\r\n return !!str.match(new RegExp(extremeSearch, 'i'));\r\n}\r\n\r\nexport const Selector = ({\r\n label,\r\n options,\r\n}: {\r\n label: string;\r\n options: { label: string; action: () => unknown }[];\r\n}) => {\r\n const [filtered, setFiltered] = useState(options);\r\n const [index, setIndex] = useState(0);\r\n\r\n const willSelect = useRef(false);\r\n\r\n useEffect(() => {\r\n document\r\n .querySelector<HTMLElement>(\r\n '.speedui__selector .speedui__option.selected',\r\n )\r\n ?.scrollIntoView({\r\n behavior: 'auto',\r\n block: 'nearest',\r\n inline: 'nearest',\r\n });\r\n }, [index]);\r\n\r\n return (\r\n <Box\r\n className=\"speedui__selector\"\r\n onKeyDown={(ev) => {\r\n switch (ev.code) {\r\n case 'ArrowUp':\r\n setIndex((c) => addBoundary(c - 1, 0, filtered.length - 1, true));\r\n break;\r\n case 'ArrowDown':\r\n setIndex((c) => addBoundary(c + 1, 0, filtered.length - 1, true));\r\n break;\r\n case 'Enter':\r\n filtered[index].action();\r\n break;\r\n }\r\n }}\r\n >\r\n <input\r\n className=\"speedui__autocomplete\"\r\n placeholder={label}\r\n onChange={(ev) => {\r\n if (\r\n (ev.target.value.toLowerCase() ===\r\n filtered[0]?.label.toLowerCase() &&\r\n filtered.length === 1) ||\r\n (willSelect.current && filtered.length === 1)\r\n ) {\r\n filtered[0].action();\r\n } else {\r\n willSelect.current = filtered.length === 1;\r\n\r\n setFiltered(\r\n options.filter((c) => matches(c.label, ev.target.value)),\r\n );\r\n }\r\n }}\r\n />\r\n <Box>\r\n {filtered.map((c, i) => (\r\n <Box\r\n className={`speedui__option ${index === i ? 'selected' : ''}`}\r\n onClick={() => {\r\n c.action();\r\n }}\r\n key={c.label}\r\n >\r\n {c.label}\r\n </Box>\r\n ))}\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n"],"names":[],"mappings":";;;;;AAIA,SAAS,OAAA,CAAQ,KAAa,MAAA,EAAgB;AAC5C,EAAA,IAAI,IAAI,KAAA,CAAM,IAAI,OAAO,MAAA,EAAQ,GAAG,CAAC,CAAA,EAAG;AACtC,IAAA,OAAO,IAAA;AAAA;AAGT,EAAA,MAAM,eAAA,GAAkB,MAAA,CAAO,UAAA,CAAW,GAAA,EAAK,IAAI,CAAA;AACnD,EAAA,IAAI,IAAI,KAAA,CAAM,IAAI,OAAO,eAAA,EAAiB,GAAG,CAAC,CAAA,EAAG;AAC/C,IAAA,OAAO,IAAA;AAAA;AAGT,EAAA,MAAM,aAAA,GAAgB,MAAA,CAAO,UAAA,CAAW,GAAA,EAAK,EAAE,EAAE,KAAA,CAAM,EAAE,CAAA,CAAE,IAAA,CAAK,IAAI,CAAA;AACpE,EAAA,OAAO,CAAC,CAAC,GAAA,CAAI,KAAA,CAAM,IAAI,MAAA,CAAO,aAAA,EAAe,GAAG,CAAC,CAAA;AACnD;AAEO,MAAM,WAAW,CAAC;AAAA,EACvB,KAAA;AAAA,EACA;AACF,CAAA,KAGM;AACJ,EAAA,MAAM,CAAC,QAAA,EAAU,WAAW,CAAA,GAAI,SAAS,OAAO,CAAA;AAChD,EAAA,MAAM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,SAAS,MAAA,KAAW,CAAA,IACrB,WAAW,OAAA,IAAW,QAAA,CAAS,WAAW,CAAA,EAC3C;AACA,gBAAA,QAAA,CAAS,CAAC,EAAE,MAAA,EAAO;AAAA,eACrB,MAAO;AACL,gBAAA,UAAA,CAAW,OAAA,GAAU,SAAS,MAAA,KAAW,CAAA;AAEzC,gBAAA,WAAA;AAAA,kBACE,OAAA,CAAQ,MAAA,CAAO,CAAC,CAAA,KAAM,OAAA,CAAQ,EAAE,KAAA,EAAO,EAAA,CAAG,MAAA,CAAO,KAAK,CAAC;AAAA,iBACzD;AAAA;AACF;AACF;AAAA,SACF;AAAA,4BACC,GAAA,EAAA,EACE,QAAA,EAAA,QAAA,CAAS,GAAA,CAAI,CAAC,GAAG,CAAA,qBAChB,GAAA;AAAA,UAAC,GAAA;AAAA,UAAA;AAAA,YACC,SAAA,EAAW,CAAA,gBAAA,EAAmB,KAAA,KAAU,CAAA,GAAI,aAAa,EAAE,CAAA,CAAA;AAAA,YAC3D,SAAS,MAAM;AACb,cAAA,CAAA,CAAE,MAAA,EAAO;AAAA,aACX;AAAA,YAGC,QAAA,EAAA,CAAA,CAAE;AAAA,WAAA;AAAA,UAFE,CAAA,CAAE;AAAA,SAIV,CAAA,EACH;AAAA;AAAA;AAAA,GACF;AAEJ;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SpeedUIRunable } from '../../../data/SpeedUIRunable.js';
|
|
2
|
+
import { SpeedUIReactVisitor, SpeedUIReactVisitResult } from '../../SpeedUIReactVisitor.js';
|
|
3
|
+
|
|
4
|
+
declare class SpeedUIScreenReact implements SpeedUIReactVisitor {
|
|
5
|
+
private RenderUI;
|
|
6
|
+
private modal;
|
|
7
|
+
visit(host: SpeedUIRunable): Promise<SpeedUIReactVisitResult>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { SpeedUIScreenReact };
|
|
11
|
+
//# sourceMappingURL=SpeedUIScreenReact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpeedUIScreenReact.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { ApiaUtil } from '@apia/components';
|
|
3
|
+
import { SpeedUIScreen } from '../../../data/SpeedUIScreen.js';
|
|
4
|
+
import { SpeedUIReactVisitResult } from '../../SpeedUIReactVisitor.js';
|
|
5
|
+
import { Box } from '@apia/theme';
|
|
6
|
+
import { Selector } from './Selector.js';
|
|
7
|
+
|
|
8
|
+
var __defProp = Object.defineProperty;
|
|
9
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
+
var __publicField = (obj, key, value) => {
|
|
11
|
+
__defNormalProp(obj, key + "" , value);
|
|
12
|
+
return value;
|
|
13
|
+
};
|
|
14
|
+
class SpeedUIScreenReact {
|
|
15
|
+
constructor() {
|
|
16
|
+
__publicField(this, "modal", null);
|
|
17
|
+
}
|
|
18
|
+
RenderUI({
|
|
19
|
+
host,
|
|
20
|
+
resolve
|
|
21
|
+
}) {
|
|
22
|
+
return /* @__PURE__ */ jsx(Box, { className: "speedui-react__screen", children: /* @__PURE__ */ jsx(
|
|
23
|
+
Selector,
|
|
24
|
+
{
|
|
25
|
+
label: host.getLabel(),
|
|
26
|
+
options: host.getChildren().map((c) => ({
|
|
27
|
+
label: c.getLabel(),
|
|
28
|
+
action() {
|
|
29
|
+
const runable = c;
|
|
30
|
+
resolve(new SpeedUIReactVisitResult(runable || "finish"));
|
|
31
|
+
}
|
|
32
|
+
}))
|
|
33
|
+
}
|
|
34
|
+
) });
|
|
35
|
+
}
|
|
36
|
+
async visit(host) {
|
|
37
|
+
if (host instanceof SpeedUIScreen) {
|
|
38
|
+
return new Promise((resolve) => {
|
|
39
|
+
host.run();
|
|
40
|
+
let hasConfirmed = false;
|
|
41
|
+
this.modal = ApiaUtil.instance.modals.open({
|
|
42
|
+
variant: "layout.util.speedui.modal",
|
|
43
|
+
children: /* @__PURE__ */ jsx(
|
|
44
|
+
this.RenderUI,
|
|
45
|
+
{
|
|
46
|
+
host,
|
|
47
|
+
resolve: (v) => {
|
|
48
|
+
hasConfirmed = true;
|
|
49
|
+
this.modal?.close();
|
|
50
|
+
resolve(v);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
),
|
|
54
|
+
initialFocusGetter(modalInnerRef) {
|
|
55
|
+
return modalInnerRef.querySelector(
|
|
56
|
+
".autocomplete__search"
|
|
57
|
+
);
|
|
58
|
+
},
|
|
59
|
+
onExited: () => {
|
|
60
|
+
if (hasConfirmed) {
|
|
61
|
+
host.finish();
|
|
62
|
+
} else {
|
|
63
|
+
host.cancel();
|
|
64
|
+
}
|
|
65
|
+
resolve(new SpeedUIReactVisitResult("exit"));
|
|
66
|
+
},
|
|
67
|
+
title: host.getLabel(),
|
|
68
|
+
defaultPosition: {
|
|
69
|
+
top: "20px"
|
|
70
|
+
},
|
|
71
|
+
noHeader: true,
|
|
72
|
+
size: "flex"
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
return new SpeedUIReactVisitResult(null);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export { SpeedUIScreenReact };
|
|
81
|
+
//# sourceMappingURL=SpeedUIScreenReact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpeedUIScreenReact.js","sources":["../../../../src/ui/defaults/SpeedUIScreenReact/SpeedUIScreenReact.tsx"],"sourcesContent":["import { ApiaUtil, ApiaUtilModalHandler } from '@apia/components';\r\nimport { SpeedUIRunable } from '../../../data/SpeedUIRunable';\r\nimport { SpeedUIScreen } from '../../../data/SpeedUIScreen';\r\nimport {\r\n SpeedUIReactVisitor,\r\n SpeedUIReactVisitResult,\r\n} from '../../SpeedUIReactVisitor';\r\nimport { Box } from '@apia/theme';\r\nimport { Selector } from './Selector';\r\n\r\nexport class SpeedUIScreenReact implements SpeedUIReactVisitor {\r\n private RenderUI({\r\n host,\r\n resolve,\r\n }: {\r\n host: SpeedUIScreen;\r\n resolve: (value: SpeedUIReactVisitResult) => void;\r\n }) {\r\n return (\r\n <Box className=\"speedui-react__screen\">\r\n <Selector\r\n label={host.getLabel()}\r\n options={host.getChildren().map((c) => ({\r\n label: c.getLabel(),\r\n action() {\r\n const runable = c;\r\n\r\n resolve(new SpeedUIReactVisitResult(runable || 'finish'));\r\n },\r\n }))}\r\n />\r\n </Box>\r\n );\r\n }\r\n\r\n private modal: ApiaUtilModalHandler | null = null;\r\n\r\n async visit(host: SpeedUIRunable): Promise<SpeedUIReactVisitResult> {\r\n if (host instanceof SpeedUIScreen) {\r\n return new Promise<SpeedUIReactVisitResult>((resolve) => {\r\n host.run();\r\n\r\n let hasConfirmed = false;\r\n\r\n this.modal = ApiaUtil.instance.modals.open({\r\n variant: 'layout.util.speedui.modal',\r\n children: (\r\n <this.RenderUI\r\n host={host}\r\n resolve={(v) => {\r\n hasConfirmed = true;\r\n this.modal?.close();\r\n resolve(v);\r\n }}\r\n />\r\n ),\r\n initialFocusGetter(modalInnerRef) {\r\n return modalInnerRef.querySelector<HTMLElement>(\r\n '.autocomplete__search',\r\n );\r\n },\r\n onExited: () => {\r\n if (hasConfirmed) {\r\n host.finish();\r\n } else {\r\n host.cancel();\r\n }\r\n resolve(new SpeedUIReactVisitResult('exit'));\r\n },\r\n title: host.getLabel(),\r\n defaultPosition: {\r\n top: '20px',\r\n },\r\n noHeader: true,\r\n size: 'flex',\r\n });\r\n });\r\n }\r\n\r\n return new SpeedUIReactVisitResult(null);\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;AAUO,MAAM,kBAAA,CAAkD;AAAA,EAAxD,WAAA,GAAA;AAyBL,IAAA,aAAA,CAAA,IAAA,EAAQ,OAAA,EAAqC,IAAA,CAAA;AAAA;AAAA,EA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ACA,UAAU,MAAM;AACd,YAAA,IAAI,YAAA,EAAc;AAChB,cAAA,IAAA,CAAK,MAAA,EAAO;AAAA,aACd,MAAO;AACL,cAAA,IAAA,CAAK,MAAA,EAAO;AAAA;AAEd,YAAA,OAAA,CAAQ,IAAI,uBAAA,CAAwB,MAAM,CAAC,CAAA;AAAA,WAC7C;AAAA,UACA,KAAA,EAAO,KAAK,QAAA,EAAS;AAAA,UACrB,eAAA,EAAiB;AAAA,YACf,GAAA,EAAK;AAAA,WACP;AAAA,UACA,QAAA,EAAU,IAAA;AAAA,UACV,IAAA,EAAM;AAAA,SACP,CAAA;AAAA,OACF,CAAA;AAAA;AAGH,IAAA,OAAO,IAAI,wBAAwB,IAAI,CAAA;AAAA;AAE3C;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apia/speed-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"author": "Alexis Leite <alexisleite@live.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"registry": "https://registry.npmjs.org/"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@apia/components": "^5.0.
|
|
34
|
-
"@apia/theme": "^5.0.
|
|
35
|
-
"@apia/validations": "^5.0.
|
|
36
|
-
"mobx": "
|
|
37
|
-
"mobx-react-lite": "
|
|
33
|
+
"@apia/components": "^5.0.1",
|
|
34
|
+
"@apia/theme": "^5.0.1",
|
|
35
|
+
"@apia/validations": "^5.0.1",
|
|
36
|
+
"mobx": "6.12.3",
|
|
37
|
+
"mobx-react-lite": "3.4.3"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "6d9a616690ac8454136310af79a721a8ccd6588d"
|
|
40
40
|
}
|