@salla.sa/twilight-components 2.11.30 → 2.11.31
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/cjs/salla-button_36.cjs.entry.js +2 -5
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +1 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +1 -4
- package/dist/components/salla-rating-stars2.js +1 -1
- package/dist/components/salla-scopes.js +1 -4
- package/dist/esm/salla-button_36.entry.js +2 -5
- package/dist/esm-es5/salla-button_36.entry.js +1 -1
- package/dist/twilight/p-1b87ab66.system.js +1 -1
- package/dist/twilight/{p-04bedf79.entry.js → p-6ce32e35.entry.js} +1 -1
- package/dist/twilight/{p-3a054cb1.system.entry.js → p-d428271d.system.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +2 -2
|
@@ -23855,7 +23855,7 @@ const SallaRatingStars = class {
|
|
|
23855
23855
|
}, innerHTML: Rate }));
|
|
23856
23856
|
}
|
|
23857
23857
|
if (this.reviews > 0) {
|
|
23858
|
-
stars.push(index.h("span", { class: "s-rating-reviews", ref: el => this.reviewsElement = el }, "(", salla.helpers.number(salla.lang.choice('pages.rating.reviews', this.reviews)), ")"));
|
|
23858
|
+
stars.push(index.h("span", { class: "s-rating-stars-reviews", ref: el => this.reviewsElement = el }, "(", salla.helpers.number(salla.lang.choice('pages.rating.reviews', this.reviews)), ")"));
|
|
23859
23859
|
}
|
|
23860
23860
|
return stars;
|
|
23861
23861
|
}
|
|
@@ -23987,10 +23987,7 @@ const SallaScopees = class {
|
|
|
23987
23987
|
'type': this.current_scope.type,
|
|
23988
23988
|
'id': this.current_scope.id
|
|
23989
23989
|
});
|
|
23990
|
-
|
|
23991
|
-
url.searchParams.set('scope', this.current_scope.id);
|
|
23992
|
-
window.location.href = url.toString();
|
|
23993
|
-
window.location.replace(url.toString());
|
|
23990
|
+
window.location.replace(salla.helpers.addParamToUrl('scope', this.current_scope.id));
|
|
23994
23991
|
}).catch(e => console.log(e))
|
|
23995
23992
|
.finally(() => {
|
|
23996
23993
|
this.changeBtn.stop();
|
|
@@ -64,7 +64,7 @@ export class SallaRatingStars {
|
|
|
64
64
|
}, innerHTML: Star2 }));
|
|
65
65
|
}
|
|
66
66
|
if (this.reviews > 0) {
|
|
67
|
-
stars.push(h("span", { class: "s-rating-reviews", ref: el => this.reviewsElement = el },
|
|
67
|
+
stars.push(h("span", { class: "s-rating-stars-reviews", ref: el => this.reviewsElement = el },
|
|
68
68
|
"(",
|
|
69
69
|
salla.helpers.number(salla.lang.choice('pages.rating.reviews', this.reviews)),
|
|
70
70
|
")"));
|
|
@@ -95,10 +95,7 @@ export class SallaScopees {
|
|
|
95
95
|
'type': this.current_scope.type,
|
|
96
96
|
'id': this.current_scope.id
|
|
97
97
|
});
|
|
98
|
-
|
|
99
|
-
url.searchParams.set('scope', this.current_scope.id);
|
|
100
|
-
window.location.href = url.toString();
|
|
101
|
-
window.location.replace(url.toString());
|
|
98
|
+
window.location.replace(salla.helpers.addParamToUrl('scope', this.current_scope.id));
|
|
102
99
|
}).catch(e => console.log(e))
|
|
103
100
|
.finally(() => {
|
|
104
101
|
this.changeBtn.stop();
|
|
@@ -69,7 +69,7 @@ const SallaRatingStars = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
69
69
|
}, innerHTML: Rate }));
|
|
70
70
|
}
|
|
71
71
|
if (this.reviews > 0) {
|
|
72
|
-
stars.push(h("span", { class: "s-rating-reviews", ref: el => this.reviewsElement = el }, "(", salla.helpers.number(salla.lang.choice('pages.rating.reviews', this.reviews)), ")"));
|
|
72
|
+
stars.push(h("span", { class: "s-rating-stars-reviews", ref: el => this.reviewsElement = el }, "(", salla.helpers.number(salla.lang.choice('pages.rating.reviews', this.reviews)), ")"));
|
|
73
73
|
}
|
|
74
74
|
return stars;
|
|
75
75
|
}
|
|
@@ -114,10 +114,7 @@ const SallaScopees = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
114
114
|
'type': this.current_scope.type,
|
|
115
115
|
'id': this.current_scope.id
|
|
116
116
|
});
|
|
117
|
-
|
|
118
|
-
url.searchParams.set('scope', this.current_scope.id);
|
|
119
|
-
window.location.href = url.toString();
|
|
120
|
-
window.location.replace(url.toString());
|
|
117
|
+
window.location.replace(salla.helpers.addParamToUrl('scope', this.current_scope.id));
|
|
121
118
|
}).catch(e => console.log(e))
|
|
122
119
|
.finally(() => {
|
|
123
120
|
this.changeBtn.stop();
|
|
@@ -23851,7 +23851,7 @@ const SallaRatingStars = class {
|
|
|
23851
23851
|
}, innerHTML: Rate }));
|
|
23852
23852
|
}
|
|
23853
23853
|
if (this.reviews > 0) {
|
|
23854
|
-
stars.push(h("span", { class: "s-rating-reviews", ref: el => this.reviewsElement = el }, "(", salla.helpers.number(salla.lang.choice('pages.rating.reviews', this.reviews)), ")"));
|
|
23854
|
+
stars.push(h("span", { class: "s-rating-stars-reviews", ref: el => this.reviewsElement = el }, "(", salla.helpers.number(salla.lang.choice('pages.rating.reviews', this.reviews)), ")"));
|
|
23855
23855
|
}
|
|
23856
23856
|
return stars;
|
|
23857
23857
|
}
|
|
@@ -23983,10 +23983,7 @@ const SallaScopees = class {
|
|
|
23983
23983
|
'type': this.current_scope.type,
|
|
23984
23984
|
'id': this.current_scope.id
|
|
23985
23985
|
});
|
|
23986
|
-
|
|
23987
|
-
url.searchParams.set('scope', this.current_scope.id);
|
|
23988
|
-
window.location.href = url.toString();
|
|
23989
|
-
window.location.replace(url.toString());
|
|
23986
|
+
window.location.replace(salla.helpers.addParamToUrl('scope', this.current_scope.id));
|
|
23990
23987
|
}).catch(e => console.log(e))
|
|
23991
23988
|
.finally(() => {
|
|
23992
23989
|
this.changeBtn.stop();
|