@salla.sa/twilight-components 2.13.49 → 2.13.51
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/{app-globals-0efa4587.js → app-globals-d9d497e9.js} +2 -2
- package/dist/cjs/{app-globals-0efa4587.js.map → app-globals-d9d497e9.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-add-product-button_47.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_47.cjs.entry.js.map +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +1 -1
- package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/salla-bottom-alert.js +1 -1
- package/dist/components/salla-bottom-alert.js.map +1 -1
- package/dist/components/salla-quick-buy2.js.map +1 -1
- package/dist/esm/{app-globals-32c0b133.js → app-globals-470d9b14.js} +2 -2
- package/dist/esm/{app-globals-32c0b133.js.map → app-globals-470d9b14.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/salla-add-product-button_47.entry.js +1 -1
- package/dist/esm/salla-add-product-button_47.entry.js.map +1 -1
- package/dist/esm/twilight.js +1 -1
- package/dist/esm-es5/{app-globals-32c0b133.js → app-globals-470d9b14.js} +2 -2
- package/dist/esm-es5/app-globals-470d9b14.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/salla-add-product-button_47.entry.js +1 -1
- package/dist/esm-es5/salla-add-product-button_47.entry.js.map +1 -1
- package/dist/esm-es5/twilight.js +1 -1
- package/dist/twilight/{p-b9c7fc02.system.js → p-1db74ef1.system.js} +2 -2
- package/dist/twilight/{p-8b339f33.entry.js → p-429870cc.entry.js} +2 -2
- package/dist/twilight/p-429870cc.entry.js.map +1 -0
- package/dist/twilight/{p-1abe5188.system.entry.js → p-b0585915.system.entry.js} +2 -2
- package/dist/twilight/p-b0585915.system.entry.js.map +1 -0
- package/dist/twilight/{p-93a162ca.js → p-c0689408.js} +2 -2
- package/dist/twilight/{p-93a162ca.js.map → p-c0689408.js.map} +1 -1
- package/dist/twilight/{p-44a3fce3.system.js → p-d02cb4e6.system.js} +2 -2
- package/dist/twilight/p-d02cb4e6.system.js.map +1 -0
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/twilight/twilight.js +1 -1
- package/package.json +5 -5
- package/dist/esm-es5/app-globals-32c0b133.js.map +0 -1
- package/dist/twilight/p-1abe5188.system.entry.js.map +0 -1
- package/dist/twilight/p-44a3fce3.system.js.map +0 -1
- package/dist/twilight/p-8b339f33.entry.js.map +0 -1
- /package/dist/twilight/{p-b9c7fc02.system.js.map → p-1db74ef1.system.js.map} +0 -0
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-44391cfe.js');
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
9
|
+
const appGlobals = require('./app-globals-d9d497e9.js');
|
|
10
10
|
require('./_commonjsHelpers-691dd63b.js');
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = (win, options) => {
|
|
@@ -297,7 +297,7 @@ const SallaBottomAlert = class {
|
|
|
297
297
|
const hasTemplate = this.template && typeof this.template === 'object' && Object.keys(this.template).length > 0;
|
|
298
298
|
const developer = hasTemplate && this.template.developer;
|
|
299
299
|
const hasDeveloper = developer !== undefined;
|
|
300
|
-
const developerName = hasDeveloper && developer.name;
|
|
300
|
+
const developerName = hasDeveloper && (developer === null || developer === void 0 ? void 0 : developer.name);
|
|
301
301
|
const developerUrl = null; //hasDeveloper && developer.url;
|
|
302
302
|
return (index.h(index.Host, { class: "s-bottom-alert-wrapper" }, index.h("div", { class: "s-bottom-alert-content" }, index.h("div", { class: "s-bottom-alert-icon" }, this.icon ? index.h("i", { class: this.icon }) : index.h("i", { innerHTML: infoIcon })), index.h("div", { class: "s-bottom-alert-message" }, this.message ? (this.message) : hasTemplate ? (index.h("span", null, this.getDefaultMessage(), " ", index.h("a", { href: "#", class: {
|
|
303
303
|
"s-bottom-alert-message-highlight": true,
|