authscape 1.0.660 → 1.0.664
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/index.js
CHANGED
|
@@ -435,7 +435,7 @@ function AuthScapeApp(_ref) {
|
|
|
435
435
|
rel: "stylesheet"
|
|
436
436
|
}), /*#__PURE__*/_react["default"].createElement("link", {
|
|
437
437
|
rel: "icon",
|
|
438
|
-
href: "/
|
|
438
|
+
href: process.env.apiUri + "/api/PrivateLabel/GetFavIcon?oemCompanyId=" + pageProps.oemCompanyId
|
|
439
439
|
})) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("link", {
|
|
440
440
|
rel: "icon",
|
|
441
441
|
href: "/favicon.ico"
|
|
@@ -6553,6 +6553,8 @@ var Editor = (0, _dynamic["default"])(function () {
|
|
|
6553
6553
|
var RichTextEditor = function RichTextEditor(_ref) {
|
|
6554
6554
|
var html = _ref.html,
|
|
6555
6555
|
onSave = _ref.onSave,
|
|
6556
|
+
_ref$height = _ref.height,
|
|
6557
|
+
height = _ref$height === void 0 ? 400 : _ref$height,
|
|
6556
6558
|
_ref$isDisabled = _ref.isDisabled,
|
|
6557
6559
|
isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled;
|
|
6558
6560
|
var _useState = (0, _react.useState)(_draftJs.EditorState.createEmpty()),
|
|
@@ -6579,7 +6581,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
|
|
|
6579
6581
|
editorClassName: "editorClassName",
|
|
6580
6582
|
readOnly: isDisabled,
|
|
6581
6583
|
editorStyle: {
|
|
6582
|
-
height:
|
|
6584
|
+
height: height
|
|
6583
6585
|
},
|
|
6584
6586
|
onEditorStateChange: onEditorStateChange
|
|
6585
6587
|
// mention={{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "authscape",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.664",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"html2canvas": "^1.4.1",
|
|
32
32
|
"js-cookie": "^3.0.5",
|
|
33
33
|
"js-file-download": "^0.4.12",
|
|
34
|
-
"jspdf": "^
|
|
34
|
+
"jspdf": "^3.0.0",
|
|
35
35
|
"next": "^14.1.0",
|
|
36
36
|
"query-string": "^7.1.1",
|
|
37
37
|
"react": "^18.2.0",
|
|
@@ -443,7 +443,7 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
|
|
|
443
443
|
href={process.env.apiUri + "/api/PrivateLabel/GetDataFromRecord?oemCompanyId=" + pageProps.oemCompanyId}
|
|
444
444
|
rel="stylesheet"
|
|
445
445
|
/>
|
|
446
|
-
<link rel="icon" href="/
|
|
446
|
+
<link rel="icon" href={process.env.apiUri + "/api/PrivateLabel/GetFavIcon?oemCompanyId=" + pageProps.oemCompanyId} />
|
|
447
447
|
</>
|
|
448
448
|
:
|
|
449
449
|
<>
|
|
@@ -10,7 +10,7 @@ const Editor = dynamic(
|
|
|
10
10
|
{ ssr: false }
|
|
11
11
|
)
|
|
12
12
|
|
|
13
|
-
export const RichTextEditor = ({html, onSave, isDisabled = false}) => {
|
|
13
|
+
export const RichTextEditor = ({html, onSave, height = 400, isDisabled = false}) => {
|
|
14
14
|
|
|
15
15
|
const [editorState, setEditorState] = useState(EditorState.createEmpty());
|
|
16
16
|
const onEditorStateChange = function (editorState) {
|
|
@@ -39,7 +39,7 @@ const Editor = dynamic(
|
|
|
39
39
|
wrapperClassName="wrapperClassName"
|
|
40
40
|
editorClassName="editorClassName"
|
|
41
41
|
readOnly={isDisabled}
|
|
42
|
-
editorStyle={{height:
|
|
42
|
+
editorStyle={{height:height}}
|
|
43
43
|
onEditorStateChange={onEditorStateChange}
|
|
44
44
|
// mention={{
|
|
45
45
|
// separator: " ",
|
|
@@ -224,7 +224,6 @@ export function PrivateLabelEditor({loadedUser, notification, showAllDomains = f
|
|
|
224
224
|
<Tabs value={value} onChange={handleChange} aria-label="basic tabs example">
|
|
225
225
|
<Tab label="App Icon / Colors" />
|
|
226
226
|
<Tab label="Fonts" />
|
|
227
|
-
{/* <Tab label="Content" /> */}
|
|
228
227
|
<Tab label="Style Sheet Editor" />
|
|
229
228
|
<Tab label="HTML Import Editor" />
|
|
230
229
|
</Tabs>
|
|
@@ -372,20 +371,6 @@ export function PrivateLabelEditor({loadedUser, notification, showAllDomains = f
|
|
|
372
371
|
</Box>
|
|
373
372
|
}
|
|
374
373
|
|
|
375
|
-
{/* {value == 2 &&
|
|
376
|
-
<Box value={value} index={2}>
|
|
377
|
-
<Grid container spacing={2}>
|
|
378
|
-
<Grid item xs={6}>
|
|
379
|
-
<h4 style={{marginBottom:"0px"}}>Content</h4>
|
|
380
|
-
<small>You can adjust the content within your site</small>
|
|
381
|
-
</Grid>
|
|
382
|
-
</Grid>
|
|
383
|
-
<Box sx={{paddingTop:2}}>
|
|
384
|
-
<TextField id="outlined-basic" label="Outlined" variant="outlined" />
|
|
385
|
-
</Box>
|
|
386
|
-
</Box>
|
|
387
|
-
} */}
|
|
388
|
-
|
|
389
374
|
{value == 2 &&
|
|
390
375
|
<Box value={value} index={3}>
|
|
391
376
|
|