@salla.sa/twilight-components 2.11.121 → 2.11.122
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-add-product-button_40.cjs.entry.js +3 -1
- package/dist/cjs/salla-add-product-button_40.cjs.entry.js.map +1 -1
- package/dist/collection/components/salla-map/salla-map.js +3 -1
- package/dist/collection/components/salla-map/salla-map.js.map +1 -1
- package/dist/components/salla-map2.js +3 -1
- package/dist/components/salla-map2.js.map +1 -1
- package/dist/esm/salla-add-product-button_40.entry.js +3 -1
- package/dist/esm/salla-add-product-button_40.entry.js.map +1 -1
- package/dist/esm-es5/salla-add-product-button_40.entry.js +1 -1
- package/dist/esm-es5/salla-add-product-button_40.entry.js.map +1 -1
- package/dist/twilight/p-1c36dab3.system.js +1 -1
- package/dist/twilight/{p-20ac725a.entry.js → p-3bf34571.entry.js} +2 -2
- package/dist/twilight/{p-20ac725a.entry.js.map → p-3bf34571.entry.js.map} +1 -1
- package/dist/twilight/{p-f842c791.system.entry.js → p-46759864.system.entry.js} +5 -5
- package/dist/twilight/{p-f842c791.system.entry.js.map → p-46759864.system.entry.js.map} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
|
@@ -21309,7 +21309,9 @@ const SallaMap = class {
|
|
|
21309
21309
|
this.locateButtonEdit = salla.lang.get('common.elements.edit');
|
|
21310
21310
|
this.searchPlaceholder = salla.lang.get('pages.checkout.search_for_address');
|
|
21311
21311
|
});
|
|
21312
|
-
|
|
21312
|
+
salla.onReady(() => {
|
|
21313
|
+
this.apiKey = salla.config.get('store.settings.keys.maps', 'AIzaSyBFgFISAizDP3YVWj0y5rF8JKKNQ2vohdc');
|
|
21314
|
+
});
|
|
21313
21315
|
}
|
|
21314
21316
|
formatAddress(address) {
|
|
21315
21317
|
return address.length > 25 ? address.substring(0, 25) + '...' : address;
|