@opensumi/ide-components 3.4.6-next-1730347271.0 → 3.4.6-next-1730692409.0
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/index.css +26 -4
- package/dist/index.js +1 -1
- package/lib/dialog/index.d.ts +1 -0
- package/lib/dialog/index.d.ts.map +1 -1
- package/lib/dialog/index.js +5 -5
- package/lib/dialog/index.js.map +1 -1
- package/lib/dialog/styles.less +1 -1
- package/lib/message/style.less +11 -0
- package/lib/notification/notification.less +1 -1
- package/package.json +5 -5
package/dist/index.css
CHANGED
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
}
|
|
340
340
|
.kt-dialog-content .kt-dialog-content_area .kt-dialog-content_title {
|
|
341
341
|
line-height: 22px;
|
|
342
|
-
font-size:
|
|
342
|
+
font-size: 15px;
|
|
343
343
|
margin: 0px 0px 8px 0px;
|
|
344
344
|
}
|
|
345
345
|
.kt-dialog-content .kt-dialog-icon {
|
|
@@ -660,6 +660,17 @@
|
|
|
660
660
|
background: var(--notifications-background);
|
|
661
661
|
color: var(--notifications-foreground);
|
|
662
662
|
}
|
|
663
|
+
.kt-message-custom-content {
|
|
664
|
+
display: flex;
|
|
665
|
+
align-items: flex-start;
|
|
666
|
+
justify-content: center;
|
|
667
|
+
}
|
|
668
|
+
.kt-message-custom-content .anticon {
|
|
669
|
+
height: 21px;
|
|
670
|
+
display: flex;
|
|
671
|
+
align-items: center;
|
|
672
|
+
justify-content: center;
|
|
673
|
+
}
|
|
663
674
|
.kt-message-success .anticon {
|
|
664
675
|
color: #52c41a;
|
|
665
676
|
}
|
|
@@ -921,7 +932,7 @@
|
|
|
921
932
|
overflow: hidden;
|
|
922
933
|
text-overflow: ellipsis;
|
|
923
934
|
padding: 0 5px;
|
|
924
|
-
box-sizing:
|
|
935
|
+
box-sizing: content-box;
|
|
925
936
|
display: inline-block;
|
|
926
937
|
}
|
|
927
938
|
.kt-overlay.kt-modal {
|
|
@@ -2893,7 +2904,7 @@
|
|
|
2893
2904
|
}
|
|
2894
2905
|
.kt-dialog-content .kt-dialog-content_area .kt-dialog-content_title {
|
|
2895
2906
|
line-height: 22px;
|
|
2896
|
-
font-size:
|
|
2907
|
+
font-size: 15px;
|
|
2897
2908
|
margin: 0px 0px 8px 0px;
|
|
2898
2909
|
}
|
|
2899
2910
|
.kt-dialog-content .kt-dialog-icon {
|
|
@@ -3184,7 +3195,7 @@
|
|
|
3184
3195
|
overflow: hidden;
|
|
3185
3196
|
text-overflow: ellipsis;
|
|
3186
3197
|
padding: 0 5px;
|
|
3187
|
-
box-sizing:
|
|
3198
|
+
box-sizing: content-box;
|
|
3188
3199
|
display: inline-block;
|
|
3189
3200
|
}
|
|
3190
3201
|
|
|
@@ -3431,6 +3442,17 @@
|
|
|
3431
3442
|
background: var(--notifications-background);
|
|
3432
3443
|
color: var(--notifications-foreground);
|
|
3433
3444
|
}
|
|
3445
|
+
.kt-message-custom-content {
|
|
3446
|
+
display: flex;
|
|
3447
|
+
align-items: flex-start;
|
|
3448
|
+
justify-content: center;
|
|
3449
|
+
}
|
|
3450
|
+
.kt-message-custom-content .anticon {
|
|
3451
|
+
height: 21px;
|
|
3452
|
+
display: flex;
|
|
3453
|
+
align-items: center;
|
|
3454
|
+
justify-content: center;
|
|
3455
|
+
}
|
|
3434
3456
|
.kt-message-success .anticon {
|
|
3435
3457
|
color: #52c41a;
|
|
3436
3458
|
}
|
package/dist/index.js
CHANGED
|
@@ -5286,7 +5286,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
|
5286
5286
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5287
5287
|
|
|
5288
5288
|
"use strict";
|
|
5289
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Dialog = exports.DialogContent = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\nconst classnames_1 = tslib_1.__importDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nconst react_1 = tslib_1.__importDefault(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\nconst ide_core_common_1 = __webpack_require__(/*! @opensumi/ide-core-common */ \"../core-common/lib/index.js\");\nconst button_1 = __webpack_require__(/*! ../button */ \"./src/button/index.tsx\");\nconst common_1 = __webpack_require__(/*! ../common */ \"./src/common.ts\");\nconst icon_1 = __webpack_require__(/*! ../icon */ \"./src/icon/index.ts\");\nconst overlay_1 = __webpack_require__(/*! ../overlay */ \"./src/overlay/index.tsx\");\n__webpack_require__(/*! ./styles.less */ \"./src/dialog/styles.less\");\nconst DefaultButtons = ({ onCancel, onOk, cancelText, okText }) => (react_1.default.createElement(react_1.default.Fragment, null,\n react_1.default.createElement(button_1.Button, { onClick: onCancel, type: 'secondary' }, cancelText || (0, ide_core_common_1.localize)('ButtonCancel')),\n react_1.default.createElement(button_1.Button, { onClick: onOk }, okText || (0, ide_core_common_1.localize)('ButtonOK'))));\nconst DialogContent = ({ onClose, closable, messageType = common_1.MessageType.Info, icon, message, buttons,
|
|
5289
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Dialog = exports.DialogContent = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\nconst classnames_1 = tslib_1.__importDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nconst react_1 = tslib_1.__importDefault(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\nconst ide_core_common_1 = __webpack_require__(/*! @opensumi/ide-core-common */ \"../core-common/lib/index.js\");\nconst button_1 = __webpack_require__(/*! ../button */ \"./src/button/index.tsx\");\nconst common_1 = __webpack_require__(/*! ../common */ \"./src/common.ts\");\nconst icon_1 = __webpack_require__(/*! ../icon */ \"./src/icon/index.ts\");\nconst overlay_1 = __webpack_require__(/*! ../overlay */ \"./src/overlay/index.tsx\");\n__webpack_require__(/*! ./styles.less */ \"./src/dialog/styles.less\");\nconst DefaultButtons = ({ onCancel, onOk, cancelText, okText }) => (react_1.default.createElement(react_1.default.Fragment, null,\n react_1.default.createElement(button_1.Button, { onClick: onCancel, type: 'secondary' }, cancelText || (0, ide_core_common_1.localize)('ButtonCancel')),\n react_1.default.createElement(button_1.Button, { onClick: onOk }, okText || (0, ide_core_common_1.localize)('ButtonOK'))));\nconst DialogContent = ({ onClose, closable, type = 'confirm', messageType = common_1.MessageType.Info, icon, message, buttons, title, onOk, onCancel, okText, cancelText, }) => {\n const { getIcon: getContextIcon } = react_1.default.useContext(icon_1.IconContext);\n return (react_1.default.createElement(react_1.default.Fragment, null,\n react_1.default.createElement(\"div\", { className: 'kt-dialog-content' },\n icon && (react_1.default.createElement(\"div\", { style: { color: icon.color }, className: (0, classnames_1.default)('kt-dialog-icon', (0, icon_1.getIcon)(icon.className) || getContextIcon(icon.className)) })),\n react_1.default.createElement(\"div\", { className: 'kt-dialog-content_area' },\n react_1.default.createElement(\"p\", { className: 'kt-dialog-content_title' }, title),\n message && react_1.default.createElement(\"span\", { className: 'kt-dialog-message' }, message)),\n closable && type !== 'basic' && (react_1.default.createElement(\"button\", { className: (0, classnames_1.default)('kt-dialog-closex', (0, icon_1.getIcon)('close')), onClick: onClose }))),\n messageType !== common_1.MessageType.Empty && type !== 'basic' && (react_1.default.createElement(\"div\", { className: 'kt-dialog-buttonWrap' }, type === 'confirm' ? (buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })) : (react_1.default.createElement(button_1.Button, { onClick: onClose }, \"OK\"))))));\n};\nexports.DialogContent = DialogContent;\nconst Dialog = (_a) => {\n var { visible, onClose, closable, afterClose, messageType, icon, message, detail, buttons, type = 'confirm', title, onOk, onCancel, okText, cancelText, getContainer, keyboard } = _a, restProps = tslib_1.__rest(_a, [\"visible\", \"onClose\", \"closable\", \"afterClose\", \"messageType\", \"icon\", \"message\", \"detail\", \"buttons\", \"type\", \"title\", \"onOk\", \"onCancel\", \"okText\", \"cancelText\", \"getContainer\", \"keyboard\"]);\n return (react_1.default.createElement(overlay_1.Overlay, Object.assign({ visible: visible, onClose: onClose, title: type === 'basic' ? title : null, closable: type === 'basic', getContainer: getContainer, keyboard: keyboard, footer: type === 'basic'\n ? buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })\n : undefined, afterClose: afterClose }, restProps),\n react_1.default.createElement(exports.DialogContent, Object.assign({ title: message, message: detail, buttons: buttons, visible: visible, icon: icon }, restProps))));\n};\nexports.Dialog = Dialog;\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/dialog/index.tsx?");
|
|
5290
5290
|
|
|
5291
5291
|
/***/ }),
|
|
5292
5292
|
|
package/lib/dialog/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,aAAa,EAAW,MAAM,YAAY,CAAC;AAEpD,OAAO,eAAe,CAAC;AAEvB,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,OAAO,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC;AAElD,MAAM,WAAW,YAAa,SAAQ,aAAa;IACjD,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO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G,GAAG,CAAC,OAAO,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,gBAAgB,GAAG,KAAK,GAAG,IAAI,CAAC;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAWD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA4ChD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAqCzC,CAAC"}
|
package/lib/dialog/index.js
CHANGED
|
@@ -13,24 +13,24 @@ require("./styles.less");
|
|
|
13
13
|
const DefaultButtons = ({ onCancel, onOk, cancelText, okText }) => (react_1.default.createElement(react_1.default.Fragment, null,
|
|
14
14
|
react_1.default.createElement(button_1.Button, { onClick: onCancel, type: 'secondary' }, cancelText || (0, ide_core_common_1.localize)('ButtonCancel')),
|
|
15
15
|
react_1.default.createElement(button_1.Button, { onClick: onOk }, okText || (0, ide_core_common_1.localize)('ButtonOK'))));
|
|
16
|
-
const DialogContent = ({ onClose, closable, messageType = common_1.MessageType.Info, icon, message, buttons,
|
|
16
|
+
const DialogContent = ({ onClose, closable, type = 'confirm', messageType = common_1.MessageType.Info, icon, message, buttons, title, onOk, onCancel, okText, cancelText, }) => {
|
|
17
17
|
const { getIcon: getContextIcon } = react_1.default.useContext(icon_1.IconContext);
|
|
18
18
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
19
19
|
react_1.default.createElement("div", { className: 'kt-dialog-content' },
|
|
20
20
|
icon && (react_1.default.createElement("div", { style: { color: icon.color }, className: (0, classnames_1.default)('kt-dialog-icon', (0, icon_1.getIcon)(icon.className) || getContextIcon(icon.className)) })),
|
|
21
21
|
react_1.default.createElement("div", { className: 'kt-dialog-content_area' },
|
|
22
|
-
|
|
23
|
-
react_1.default.createElement("span", { className: 'kt-dialog-message' }, message)),
|
|
22
|
+
react_1.default.createElement("p", { className: 'kt-dialog-content_title' }, title),
|
|
23
|
+
message && react_1.default.createElement("span", { className: 'kt-dialog-message' }, message)),
|
|
24
24
|
closable && type !== 'basic' && (react_1.default.createElement("button", { className: (0, classnames_1.default)('kt-dialog-closex', (0, icon_1.getIcon)('close')), onClick: onClose }))),
|
|
25
25
|
messageType !== common_1.MessageType.Empty && type !== 'basic' && (react_1.default.createElement("div", { className: 'kt-dialog-buttonWrap' }, type === 'confirm' ? (buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })) : (react_1.default.createElement(button_1.Button, { onClick: onClose }, "OK"))))));
|
|
26
26
|
};
|
|
27
27
|
exports.DialogContent = DialogContent;
|
|
28
28
|
const Dialog = (_a) => {
|
|
29
|
-
var { visible, onClose, closable, afterClose, messageType, icon, message, buttons, type = 'confirm', title, onOk, onCancel, okText, cancelText, getContainer, keyboard } = _a, restProps = tslib_1.__rest(_a, ["visible", "onClose", "closable", "afterClose", "messageType", "icon", "message", "buttons", "type", "title", "onOk", "onCancel", "okText", "cancelText", "getContainer", "keyboard"]);
|
|
29
|
+
var { visible, onClose, closable, afterClose, messageType, icon, message, detail, buttons, type = 'confirm', title, onOk, onCancel, okText, cancelText, getContainer, keyboard } = _a, restProps = tslib_1.__rest(_a, ["visible", "onClose", "closable", "afterClose", "messageType", "icon", "message", "detail", "buttons", "type", "title", "onOk", "onCancel", "okText", "cancelText", "getContainer", "keyboard"]);
|
|
30
30
|
return (react_1.default.createElement(overlay_1.Overlay, Object.assign({ visible: visible, onClose: onClose, title: type === 'basic' ? title : null, closable: type === 'basic', getContainer: getContainer, keyboard: keyboard, footer: type === 'basic'
|
|
31
31
|
? buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })
|
|
32
32
|
: undefined, afterClose: afterClose }, restProps),
|
|
33
|
-
react_1.default.createElement(exports.DialogContent, Object.assign({
|
|
33
|
+
react_1.default.createElement(exports.DialogContent, Object.assign({ title: message, message: detail, buttons: buttons, visible: visible, icon: icon }, restProps))));
|
|
34
34
|
};
|
|
35
35
|
exports.Dialog = Dialog;
|
|
36
36
|
//# sourceMappingURL=index.js.map
|
package/lib/dialog/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":";;;;AAAA,oEAA6B;AAC7B,0DAA0B;AAE1B,+DAAqD;AAErD,sCAAmC;AACnC,sCAAwC;AACxC,kCAA+C;AAC/C,wCAAoD;AAEpD,yBAAuB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":";;;;AAAA,oEAA6B;AAC7B,0DAA0B;AAE1B,+DAAqD;AAErD,sCAAmC;AACnC,sCAAwC;AACxC,kCAA+C;AAC/C,wCAAoD;AAEpD,yBAAuB;AA2BvB,MAAM,cAAc,GAAG,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACjE;IACE,8BAAC,eAAM,IAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAC,WAAW,IACxC,UAAU,IAAI,IAAA,0BAAQ,EAAC,cAAc,CAAC,CAChC;IACT,8BAAC,eAAM,IAAC,OAAO,EAAE,IAAI,IAAG,MAAM,IAAI,IAAA,0BAAQ,EAAC,UAAU,CAAC,CAAU,CAC/D,CACJ,CAAC;AAEK,MAAM,aAAa,GAA2B,CAAC,EACpD,OAAO,EACP,QAAQ,EACR,IAAI,GAAG,SAAS,EAChB,WAAW,GAAG,oBAAW,CAAC,IAAI,EAC9B,IAAI,EACJ,OAAO,EACP,OAAO,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,MAAM,GAA2B,CAAC,EAmB9C,EAAE,EAAE;QAnB0C,EAC7C,OAAO,EACP,OAAO,EACP,QAAQ,EACR,UAAU,EACV,WAAW,EACX,IAAI,EACJ,OAAO,EACP,MAAM,EACN,OAAO,EACP,IAAI,GAAG,SAAS,EAChB,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,UAAU,EACV,YAAY,EACZ,QAAQ,OAET,EADI,SAAS,sBAlBiC,gMAmB9C,CADa;IACR,OAAA,CACJ,8BAAC,iBAAO,kBACN,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EACtC,QAAQ,EAAE,IAAI,KAAK,OAAO,EAC1B,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,QAAQ,EAClB,MAAM,EACJ,IAAI,KAAK,OAAO;YACd,CAAC,CAAC,OAAO,IAAI,8BAAC,cAAc,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAI;YACvG,CAAC,CAAC,SAAS,EAEf,UAAU,EAAE,UAAU,IAClB,SAAS;QAEb,8BAAC,qBAAa,kBAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,IAAM,SAAS,EAAI,CACzG,CACX,CAAA;CAAA,CAAC;AArCW,QAAA,MAAM,UAqCjB"}
|
package/lib/dialog/styles.less
CHANGED
package/lib/message/style.less
CHANGED
|
@@ -30,6 +30,17 @@
|
|
|
30
30
|
background: var(--notifications-background);
|
|
31
31
|
color: var(--notifications-foreground);
|
|
32
32
|
}
|
|
33
|
+
&-custom-content {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
.anticon {
|
|
38
|
+
height: 21px;
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
33
44
|
|
|
34
45
|
&-success .@{iconfont-css-prefix} {
|
|
35
46
|
color: @success-color;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-components",
|
|
3
|
-
"version": "3.4.6-next-
|
|
3
|
+
"version": "3.4.6-next-1730692409.0",
|
|
4
4
|
"description": "@opensumi/ide-components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@ant-design/icons": "^4.6.4",
|
|
19
|
-
"@opensumi/ide-core-common": "3.4.6-next-
|
|
20
|
-
"@opensumi/ide-utils": "3.4.6-next-
|
|
19
|
+
"@opensumi/ide-core-common": "3.4.6-next-1730692409.0",
|
|
20
|
+
"@opensumi/ide-utils": "3.4.6-next-1730692409.0",
|
|
21
21
|
"@opensumi/react-custom-scrollbars-2": "^4.3.4",
|
|
22
22
|
"@rc-component/mini-decimal": "^1.0.1",
|
|
23
23
|
"fuzzy": "^0.1.3",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"react-window": "^1.8.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@opensumi/ide-dev-tool": "3.4.6-next-
|
|
41
|
+
"@opensumi/ide-dev-tool": "3.4.6-next-1730692409.0",
|
|
42
42
|
"@types/marked": "^4.0.7",
|
|
43
43
|
"@types/react-window": "^1.8.5",
|
|
44
44
|
"prop-types": "^15.8.1"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "c24cd87e36a803b6cddd66d975610fc31697066d"
|
|
47
47
|
}
|