@licklist/design 0.78.5-stage.6 → 0.78.5-stage.7
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.
|
@@ -476,11 +476,11 @@ var EmailTemplateControl = /*#__PURE__*/ forwardRef(function(param, ref) {
|
|
|
476
476
|
]
|
|
477
477
|
})
|
|
478
478
|
}),
|
|
479
|
-
|
|
479
|
+
/*#__PURE__*/ jsx(Row, {
|
|
480
480
|
children: /*#__PURE__*/ jsxs(Form.Group, {
|
|
481
481
|
as: Col,
|
|
482
482
|
children: [
|
|
483
|
-
/*#__PURE__*/ jsx(Form.Check, _object_spread_props(_object_spread({}, register('isActive')), {
|
|
483
|
+
!waiverType && /*#__PURE__*/ jsx(Form.Check, _object_spread_props(_object_spread({}, register('isActive')), {
|
|
484
484
|
name: "isActive",
|
|
485
485
|
label: t('Design:active'),
|
|
486
486
|
id: "formGroupIsActive",
|
|
@@ -577,7 +577,7 @@ var EmailTemplateControl = /*#__PURE__*/ forwardRef(function(param, ref) {
|
|
|
577
577
|
}));
|
|
578
578
|
}
|
|
579
579
|
// should show dropdown only if user want to include PDF file
|
|
580
|
-
if (option.type === OPTION_TYPE.files_selector) {
|
|
580
|
+
if (option.type === OPTION_TYPE.files_selector && !waiverType) {
|
|
581
581
|
var fileSelectors = (option === null || option === void 0 ? void 0 : option.defaultValue) ? JSON.parse(option.defaultValue) : '';
|
|
582
582
|
var fileNames = Object.values(fileSelectors);
|
|
583
583
|
var fileKeys = Object.keys(fileSelectors);
|
package/package.json
CHANGED
|
@@ -286,15 +286,15 @@ export const EmailTemplateControl = forwardRef(
|
|
|
286
286
|
</Form.Group>
|
|
287
287
|
</Row>
|
|
288
288
|
|
|
289
|
-
|
|
289
|
+
<Row>
|
|
290
290
|
<Form.Group as={Col}>
|
|
291
|
-
|
|
291
|
+
{!waiverType && (<Form.Check
|
|
292
292
|
{...register('isActive')}
|
|
293
293
|
name='isActive'
|
|
294
294
|
label={t('Design:active')}
|
|
295
295
|
id='formGroupIsActive'
|
|
296
296
|
custom
|
|
297
|
-
/>
|
|
297
|
+
/>)}
|
|
298
298
|
<Form.Check
|
|
299
299
|
{...register('isDefault')}
|
|
300
300
|
name='isDefault'
|
|
@@ -303,7 +303,7 @@ export const EmailTemplateControl = forwardRef(
|
|
|
303
303
|
custom
|
|
304
304
|
/>
|
|
305
305
|
</Form.Group>
|
|
306
|
-
</Row>
|
|
306
|
+
</Row>
|
|
307
307
|
<Row className='mb-4'>
|
|
308
308
|
<Form.Group as={Col}>
|
|
309
309
|
<Form.Label>{t('Design:emailBody')}</Form.Label>
|
|
@@ -375,9 +375,9 @@ export const EmailTemplateControl = forwardRef(
|
|
|
375
375
|
)
|
|
376
376
|
}
|
|
377
377
|
// should show dropdown only if user want to include PDF file
|
|
378
|
-
if (option.type === OPTION_TYPE.files_selector) {
|
|
378
|
+
if (option.type === OPTION_TYPE.files_selector && !waiverType) {
|
|
379
379
|
const fileSelectors = option?.defaultValue ? JSON.parse(option.defaultValue) : ''
|
|
380
|
-
const fileNames =
|
|
380
|
+
const fileNames = Object.values(fileSelectors) : []
|
|
381
381
|
const fileKeys = Object.keys(fileSelectors)
|
|
382
382
|
|
|
383
383
|
return (
|
package/yarn.lock
CHANGED
|
@@ -9884,9 +9884,9 @@ __metadata:
|
|
|
9884
9884
|
linkType: hard
|
|
9885
9885
|
|
|
9886
9886
|
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.173":
|
|
9887
|
-
version: 1.5.
|
|
9888
|
-
resolution: "electron-to-chromium@npm:1.5.
|
|
9889
|
-
checksum: 10c0/
|
|
9887
|
+
version: 1.5.198
|
|
9888
|
+
resolution: "electron-to-chromium@npm:1.5.198"
|
|
9889
|
+
checksum: 10c0/745ded4c4bf73c96d6a491c4ab6e573903242f3e414ebbaa27efbee7001a7a07e8f0f95bfea1b572e93e70a355caa65e5090f95a146e90bc397e8276d2da30de
|
|
9890
9890
|
languageName: node
|
|
9891
9891
|
linkType: hard
|
|
9892
9892
|
|
|
@@ -17017,11 +17017,11 @@ __metadata:
|
|
|
17017
17017
|
linkType: hard
|
|
17018
17018
|
|
|
17019
17019
|
"prosemirror-model@npm:^1.0.0, prosemirror-model@npm:^1.16.1, prosemirror-model@npm:^1.18.1, prosemirror-model@npm:^1.20.0, prosemirror-model@npm:^1.21.0, prosemirror-model@npm:^1.25.0":
|
|
17020
|
-
version: 1.25.
|
|
17021
|
-
resolution: "prosemirror-model@npm:1.25.
|
|
17020
|
+
version: 1.25.3
|
|
17021
|
+
resolution: "prosemirror-model@npm:1.25.3"
|
|
17022
17022
|
dependencies:
|
|
17023
17023
|
orderedmap: "npm:^2.0.0"
|
|
17024
|
-
checksum: 10c0/
|
|
17024
|
+
checksum: 10c0/459810fb36b470b6344858b8ae5c9c2983b16a2a966a45792ba72efd9bbbfae9035a37ce14e74883c97e4a9d42a21b93f6d0fb56aa999e0c58f5f24070f65c40
|
|
17025
17025
|
languageName: node
|
|
17026
17026
|
linkType: hard
|
|
17027
17027
|
|
|
@@ -19815,9 +19815,9 @@ __metadata:
|
|
|
19815
19815
|
linkType: hard
|
|
19816
19816
|
|
|
19817
19817
|
"spdx-license-ids@npm:^3.0.0":
|
|
19818
|
-
version: 3.0.
|
|
19819
|
-
resolution: "spdx-license-ids@npm:3.0.
|
|
19820
|
-
checksum: 10c0/
|
|
19818
|
+
version: 3.0.22
|
|
19819
|
+
resolution: "spdx-license-ids@npm:3.0.22"
|
|
19820
|
+
checksum: 10c0/4a85e44c2ccfc06eebe63239193f526508ebec1abc7cf7bca8ee43923755636234395447c2c87f40fb672cf580a9c8e684513a676bfb2da3d38a4983684bbb38
|
|
19821
19821
|
languageName: node
|
|
19822
19822
|
linkType: hard
|
|
19823
19823
|
|