oa-componentbook 1.0.1-stage.69 → 1.0.1-stage.70
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.
|
@@ -91,11 +91,11 @@ function ApprovalWidget(_ref) {
|
|
|
91
91
|
return /*#__PURE__*/_react.default.createElement(_styles.StyledContainer, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
92
92
|
className: "row"
|
|
93
93
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
94
|
-
className: approvalForm.hidden ?
|
|
94
|
+
className: approvalForm.hidden ? "col-sm-12 col-md-12 col-lg-12" : "col-sm-12 col-md-9 col-lg-9 gutter"
|
|
95
95
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
96
96
|
className: "row"
|
|
97
97
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
98
|
-
className: isQuestionStyleWidget ?
|
|
98
|
+
className: isQuestionStyleWidget ? "col-sm-12 col-md-12 col-lg-12" : "col-sm-12 col-md-8 col-lg-8 gutter flexCol12"
|
|
99
99
|
}, title && /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("h4", {
|
|
100
100
|
className: "type-b2-400"
|
|
101
101
|
}, title, isMandatory && /*#__PURE__*/_react.default.createElement(_styles.RedText, null, "*"))), description && /*#__PURE__*/_react.default.createElement(_styles.Styledescription, null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
@@ -176,7 +176,7 @@ function ApprovalWidget(_ref) {
|
|
|
176
176
|
}), /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
177
177
|
typography: "type-b2-400",
|
|
178
178
|
color: "secondary-content"
|
|
179
|
-
}, (_actionContent$label = actionContent === null || actionContent === void 0 ? void 0 : actionContent.label) !== null && _actionContent$label !== void 0 ? _actionContent$label : "-")), actionRenderType === "button" && /*#__PURE__*/_react.default.createElement(_CustomButton.default, actionContent), actionRenderType ===
|
|
179
|
+
}, (_actionContent$label = actionContent === null || actionContent === void 0 ? void 0 : actionContent.label) !== null && _actionContent$label !== void 0 ? _actionContent$label : "-")), actionRenderType === "button" && /*#__PURE__*/_react.default.createElement(_CustomButton.default, actionContent), actionRenderType === "radio" && /*#__PURE__*/_react.default.createElement("div", {
|
|
180
180
|
className: "col-sm-12 col-md-4 col-lg-4"
|
|
181
181
|
}, /*#__PURE__*/_react.default.createElement(_antd.Form.Item, {
|
|
182
182
|
name: "isApproved-".concat(questionId),
|
|
@@ -223,7 +223,7 @@ function ApprovalWidget(_ref) {
|
|
|
223
223
|
}] : []
|
|
224
224
|
})( /*#__PURE__*/_react.default.createElement(_CustomButton.default, actionContent))), actionRenderType === "radioWithForm" && /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_antd.Form.Item, {
|
|
225
225
|
className: "custom-radio-group"
|
|
226
|
-
}, getFieldDecorator("icQues_status_".concat(questionId
|
|
226
|
+
}, getFieldDecorator("icQues_status_".concat(questionId), {
|
|
227
227
|
rules: isMandatory ? [{
|
|
228
228
|
required: true,
|
|
229
229
|
message: dataTest ? /*#__PURE__*/_react.default.createElement("span", {
|