diy-template-components 0.2.59 → 0.2.61
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/build/index.es.js +11 -10
- package/build/index.es.js.map +1 -1
- package/build/index.js +11 -10
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/build/650233e8e2d7dfee.png +0 -0
- package/build/d15660fcfffcc0c8.png +0 -0
package/build/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
function ___$insertStyle(css) {
|
|
2
|
-
if (!css ||
|
|
3
|
-
return;
|
|
4
|
-
}
|
|
5
|
-
const style = document.createElement('style');
|
|
6
|
-
style.setAttribute('type', 'text/css');
|
|
7
|
-
style.innerHTML = css;
|
|
8
|
-
document.head.appendChild(style);
|
|
9
|
-
return css;
|
|
1
|
+
function ___$insertStyle(css) {
|
|
2
|
+
if (!css || typeof window === 'undefined') {
|
|
3
|
+
return;
|
|
4
|
+
}
|
|
5
|
+
const style = document.createElement('style');
|
|
6
|
+
style.setAttribute('type', 'text/css');
|
|
7
|
+
style.innerHTML = css;
|
|
8
|
+
document.head.appendChild(style);
|
|
9
|
+
return css;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
import React, { createContext, useContext, forwardRef, useRef, useEffect, useState, useMemo, useLayoutEffect, Suspense, memo, lazy, Fragment } from 'react';
|
|
@@ -7423,6 +7423,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7423
7423
|
lineHeight: '24px',
|
|
7424
7424
|
wordBreak: 'break-word',
|
|
7425
7425
|
color: theme.palette.font.primary,
|
|
7426
|
+
whiteSpace: 'pre-wrap',
|
|
7426
7427
|
margin: '10px 0 20px'
|
|
7427
7428
|
},
|
|
7428
7429
|
courseDetailViewFullDetails: {
|
|
@@ -8065,7 +8066,7 @@ const FormPage = ({
|
|
|
8065
8066
|
}, /*#__PURE__*/React.createElement("input", {
|
|
8066
8067
|
// value={option.value}
|
|
8067
8068
|
type: "radio",
|
|
8068
|
-
name:
|
|
8069
|
+
name: `text_${item._id}`,
|
|
8069
8070
|
required: item.isRequired,
|
|
8070
8071
|
value: option.value,
|
|
8071
8072
|
checked: formData[item._id]?.solutionArray?.[0] === option.value
|