@websy/websy-designs 1.4.32 → 1.4.33
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/dist/server/helpers/v1/pdfHelper.js +26 -24
- package/dist/websy-designs-es6.debug.js +1 -1
- package/dist/websy-designs-es6.js +1 -1
- package/dist/websy-designs-es6.min.js +1 -1
- package/dist/websy-designs.debug.js +1 -1
- package/dist/websy-designs.js +1 -1
- package/dist/websy-designs.min.js +1 -1
- package/package.json +3 -3
- package/readme.md +4 -0
|
@@ -235,7 +235,7 @@ class ButtonGroup {
|
|
|
235
235
|
if (el && this.options.items) {
|
|
236
236
|
el.innerHTML = this.options.items.map((t, i) => {
|
|
237
237
|
let activeClass = ''
|
|
238
|
-
if (this.options.activeItem
|
|
238
|
+
if (this.options.activeItem !== -1) {
|
|
239
239
|
activeClass = i === this.options.activeItem ? 'active' : 'inactive'
|
|
240
240
|
}
|
|
241
241
|
return `
|
package/dist/websy-designs.js
CHANGED
|
@@ -325,7 +325,7 @@ var ButtonGroup = /*#__PURE__*/function () {
|
|
|
325
325
|
el.innerHTML = this.options.items.map(function (t, i) {
|
|
326
326
|
var activeClass = '';
|
|
327
327
|
|
|
328
|
-
if (_this.options.activeItem
|
|
328
|
+
if (_this.options.activeItem !== -1) {
|
|
329
329
|
activeClass = i === _this.options.activeItem ? 'active' : 'inactive';
|
|
330
330
|
}
|
|
331
331
|
|