parsec-libs 0.0.77 → 0.0.78
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.js +2 -3
- package/dist/questionnaire/api.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2102,7 +2102,6 @@ var QuestionFormItem = /*#__PURE__*/React.memo(parsecHooks.ContainerUseWrap(Ques
|
|
|
2102
2102
|
list = _ref4.list,
|
|
2103
2103
|
moveUpDisabled = _ref4.moveUpDisabled,
|
|
2104
2104
|
moveDownDisabled = _ref4.moveDownDisabled;
|
|
2105
|
-
console.log('item render');
|
|
2106
2105
|
|
|
2107
2106
|
var _ref5 = value || {},
|
|
2108
2107
|
questionType = _ref5.questionType;
|
|
@@ -2259,7 +2258,7 @@ var QuestionFormItem = /*#__PURE__*/React.memo(parsecHooks.ContainerUseWrap(Ques
|
|
|
2259
2258
|
moveDownDisabled: moveDownDisabled
|
|
2260
2259
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
2261
2260
|
className: "to-edit"
|
|
2262
|
-
}, "\
|
|
2261
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, "\u9898\u76EE\u63CF\u8FF0\uFF1A", value === null || value === void 0 ? void 0 : value.questionDesc), /*#__PURE__*/React__default['default'].createElement("div", null, "\u9898\u76EE\u7F16\u7801\uFF1A", value === null || value === void 0 ? void 0 : value.questionCode))));
|
|
2263
2262
|
}), function (oldProps, newProps) {
|
|
2264
2263
|
return JSON.stringify(oldProps) !== JSON.stringify(newProps);
|
|
2265
2264
|
});
|
|
@@ -2339,7 +2338,7 @@ var CardItem = function CardItem(_ref8) {
|
|
|
2339
2338
|
}, children);
|
|
2340
2339
|
};
|
|
2341
2340
|
|
|
2342
|
-
var QuestionFormItem$1 = styled__default['default'](parsecAdmin.OldForm)(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n cursor: pointer;\n > .", "-card {\n ", "\n }\n .to-edit {\n
|
|
2341
|
+
var QuestionFormItem$1 = styled__default['default'](parsecAdmin.OldForm)(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n cursor: pointer;\n > .", "-card {\n ", "\n }\n .to-edit {\n >div {\n margin-bottom: 24px;\n height: 32px;\n line-height: 32px;\n }\n"])), function (_ref14) {
|
|
2343
2342
|
var prefixCls = _ref14.theme.prefixCls;
|
|
2344
2343
|
return prefixCls;
|
|
2345
2344
|
}, function (_ref15) {
|
|
@@ -42,6 +42,7 @@ export declare type BaseQuestionItem = {
|
|
|
42
42
|
isMustAnswer: boolean;
|
|
43
43
|
questionType: QuestionType.填空;
|
|
44
44
|
questionPicUrl?: string;
|
|
45
|
+
questionCode?: string;
|
|
45
46
|
questionDesc: string;
|
|
46
47
|
};
|
|
47
48
|
export declare type GroupQuestionItem = Omit<BaseQuestionItem, 'questionType'> & {
|