flowrix 1.0.1-beta.91 → 1.0.1-beta.92

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flowrix",
3
3
  "configKey": "flowrix",
4
- "version": "1.0.1-beta.91",
4
+ "version": "1.0.1-beta.92",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -240,7 +240,7 @@ export const useCustomScript = defineStore("CustomScript", {
240
240
  showValue(h_aid, h_vid) {
241
241
  const element = document.querySelector(`${this.attributeClass + h_aid} [data-value="${h_vid}"]`);
242
242
  if (element) {
243
- element.parentElement.style.display = "block";
243
+ element.parentElement.style.display = "";
244
244
  element.removeAttribute("disabled");
245
245
  element.style.display = "";
246
246
  }
@@ -316,10 +316,10 @@ export const useCustomScript = defineStore("CustomScript", {
316
316
  markSelected(h_aid, h_vid) {
317
317
  const element = document.querySelector(`${this.attributeClass}${h_aid} [data-value="${h_vid}"]`);
318
318
  if (element) {
319
- element.parentElement.style.display = "block";
319
+ element.parentElement.style.display = "";
320
320
  element.setAttribute("selected", true);
321
321
  element.checked = true;
322
- element.style.display = "block";
322
+ element.style.display = "";
323
323
  element.classList.add("active");
324
324
  if (element.getAttribute("customselect") == "true") {
325
325
  element.dispatchEvent(new Event("change"));
@@ -336,7 +336,7 @@ export const useCustomScript = defineStore("CustomScript", {
336
336
  if (dataValueElement) {
337
337
  dataValueElement.setAttribute("selected", true);
338
338
  dataValueElement.checked = true;
339
- dataValueElement.style.display = "block";
339
+ dataValueElement.style.display = "";
340
340
  dataValueElement.classList.add("active");
341
341
  }
342
342
  if (value == 0 || value == "0") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowrix",
3
- "version": "1.0.1-beta.91",
3
+ "version": "1.0.1-beta.92",
4
4
  "description": "Plug-and-play Nuxt eCommerce cart powered by FLOWRiX. Subscription required.",
5
5
  "license": "MIT",
6
6
  "type": "module",