@dotcms/uve 1.2.1-next.15 → 1.2.1-next.16
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/package.json +1 -1
- package/public.cjs.js +3 -3
- package/public.esm.js +3 -3
package/package.json
CHANGED
package/public.cjs.js
CHANGED
|
@@ -238,8 +238,8 @@ function getDotContentletAttributes(contentlet, container) {
|
|
|
238
238
|
'data-dot-type': contentlet?.contentType,
|
|
239
239
|
'data-dot-container': container,
|
|
240
240
|
'data-dot-on-number-of-pages': contentlet?.['onNumberOfPages'] || '1',
|
|
241
|
-
...(contentlet?.
|
|
242
|
-
'data-dot-style-properties': JSON.stringify(contentlet.
|
|
241
|
+
...(contentlet?.dotStyleProperties && {
|
|
242
|
+
'data-dot-style-properties': JSON.stringify(contentlet.dotStyleProperties)
|
|
243
243
|
})
|
|
244
244
|
};
|
|
245
245
|
}
|
|
@@ -480,7 +480,7 @@ function onContentletHovered(callback) {
|
|
|
480
480
|
widgetTitle: foundElement.dataset?.['dotWidgetTitle'],
|
|
481
481
|
onNumberOfPages: foundElement.dataset?.['dotOnNumberOfPages'],
|
|
482
482
|
...(foundElement.dataset?.['dotStyleProperties'] && {
|
|
483
|
-
|
|
483
|
+
dotStyleProperties: JSON.parse(foundElement.dataset['dotStyleProperties'])
|
|
484
484
|
})
|
|
485
485
|
};
|
|
486
486
|
const vtlFiles = findDotCMSVTLData(foundElement);
|
package/public.esm.js
CHANGED
|
@@ -236,8 +236,8 @@ function getDotContentletAttributes(contentlet, container) {
|
|
|
236
236
|
'data-dot-type': contentlet?.contentType,
|
|
237
237
|
'data-dot-container': container,
|
|
238
238
|
'data-dot-on-number-of-pages': contentlet?.['onNumberOfPages'] || '1',
|
|
239
|
-
...(contentlet?.
|
|
240
|
-
'data-dot-style-properties': JSON.stringify(contentlet.
|
|
239
|
+
...(contentlet?.dotStyleProperties && {
|
|
240
|
+
'data-dot-style-properties': JSON.stringify(contentlet.dotStyleProperties)
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
}
|
|
@@ -478,7 +478,7 @@ function onContentletHovered(callback) {
|
|
|
478
478
|
widgetTitle: foundElement.dataset?.['dotWidgetTitle'],
|
|
479
479
|
onNumberOfPages: foundElement.dataset?.['dotOnNumberOfPages'],
|
|
480
480
|
...(foundElement.dataset?.['dotStyleProperties'] && {
|
|
481
|
-
|
|
481
|
+
dotStyleProperties: JSON.parse(foundElement.dataset['dotStyleProperties'])
|
|
482
482
|
})
|
|
483
483
|
};
|
|
484
484
|
const vtlFiles = findDotCMSVTLData(foundElement);
|