@salla.sa/twilight-components 2.14.277 → 2.14.278
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/{filepond-CJdn3F-U.js → filepond-B8IS5fc4.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-9Fr-RmFL.js → filepond-plugin-file-poster-wZ73Ekkr.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DZ0GCSMB.js → filepond-plugin-file-validate-size-B_DKZXnt.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DcP1-B8x.js → filepond-plugin-file-validate-type-DDrvV_Am.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-8HFGaBO3.js → filepond-plugin-image-edit-CWJKXKBc.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-5iHIwDRh.js → filepond-plugin-image-exif-orientation-B7u7IA2t.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DKEgagP8.js → filepond-plugin-image-preview-CAeV0T5l.js} +1 -1
- package/dist/cjs/{index-dH3wWzhA.js → index-C-Dr3I5Z.js} +1 -1
- package/dist/cjs/{index-CkjvdkQC.js → index-DaEGq3bI.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion_62.cjs.entry.js +13 -13
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-reviews-page.cjs.entry.js +1 -1
- package/dist/cjs/salla-reviews.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +4 -4
- package/dist/components/index.js +2 -2
- package/dist/components/salla-bottom-alert.js +4 -4
- package/dist/esm/{filepond-BxL3IX03.js → filepond-D71oyZeF.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-deEpH5Ae.js → filepond-plugin-file-poster-mqcA0lQ1.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BEa39Iuj.js → filepond-plugin-file-validate-size-CI4m6HOe.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BMYP0roS.js → filepond-plugin-file-validate-type-C8WKqVms.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-pSxPuxEL.js → filepond-plugin-image-edit-CuYRyuol.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CyonCi7h.js → filepond-plugin-image-exif-orientation-D9xkUYAH.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-AHE_PMa1.js → filepond-plugin-image-preview-BxK2q711.js} +1 -1
- package/dist/esm/{index-j9Uu6Y6I.js → index-CWOBjklM.js} +2 -2
- package/dist/esm/{index-BfGzZMRH.js → index-DWaaT-rO.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion_62.entry.js +13 -13
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-review-card.entry.js +1 -1
- package/dist/esm/salla-reviews-page.entry.js +1 -1
- package/dist/esm/salla-reviews.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/twilight/{p-4308ad1a.entry.js → p-0197b69d.entry.js} +1 -1
- package/dist/twilight/{p-32a6377d.entry.js → p-01eda274.entry.js} +1 -1
- package/dist/twilight/{p-d4ceb38c.entry.js → p-032b0e85.entry.js} +1 -1
- package/dist/twilight/{p-574b9f8e.entry.js → p-102f88f6.entry.js} +1 -1
- package/dist/twilight/{p-7c25b506.entry.js → p-12525a9e.entry.js} +1 -1
- package/dist/twilight/{p-2c1e7550.entry.js → p-1588164a.entry.js} +1 -1
- package/dist/twilight/{p-6c37f18d.entry.js → p-1ca4a338.entry.js} +1 -1
- package/dist/twilight/{p-a5120a42.entry.js → p-2602ecb4.entry.js} +1 -1
- package/dist/twilight/{p-0484443e.entry.js → p-309f3ecb.entry.js} +2 -2
- package/dist/twilight/{p-2b2e15b5.entry.js → p-4b9cd5d6.entry.js} +1 -1
- package/dist/twilight/{p-3769fd33.entry.js → p-4f150940.entry.js} +1 -1
- package/dist/twilight/{p-11723fa9.entry.js → p-4fb5361e.entry.js} +1 -1
- package/dist/twilight/{p-0f171baf.entry.js → p-60a30891.entry.js} +1 -1
- package/dist/twilight/{p-3f276d19.entry.js → p-676b1050.entry.js} +1 -1
- package/dist/twilight/{p-e21f1df5.entry.js → p-698397ba.entry.js} +1 -1
- package/dist/twilight/{p-af2f1b66.entry.js → p-7832ea04.entry.js} +1 -1
- package/dist/twilight/{p-85f642e3.entry.js → p-7bbc70c5.entry.js} +1 -1
- package/dist/twilight/{p-b1d7d63c.entry.js → p-8cd68089.entry.js} +1 -1
- package/dist/twilight/{p-d7e75ed2.entry.js → p-928d763c.entry.js} +1 -1
- package/dist/twilight/{p-b45bc7b9.entry.js → p-9a4778f1.entry.js} +1 -1
- package/dist/twilight/{p-BrlV1D3Z.js → p-BJ4No-vd.js} +1 -1
- package/dist/twilight/{p-DEpf3XmE.js → p-BXBRVFbS.js} +1 -1
- package/dist/twilight/{p-CKxrWB22.js → p-C6FJtlXc.js} +1 -1
- package/dist/twilight/{p-Bo2EdZkn.js → p-C6Q-Q-d0.js} +1 -1
- package/dist/twilight/{p-j9Uu6Y6I.js → p-CWOBjklM.js} +1 -1
- package/dist/twilight/{p-CnkghUch.js → p-D0yi-XSr.js} +1 -1
- package/dist/twilight/{p-D4skofjP.js → p-D2TJIH9B.js} +1 -1
- package/dist/twilight/{p-Di4wL4Pj.js → p-DWN70F99.js} +1 -1
- package/dist/twilight/{p-scg1-EfX.js → p-Tyr8jfMa.js} +1 -1
- package/dist/twilight/{p-9d7d937d.entry.js → p-a05862ff.entry.js} +1 -1
- package/dist/twilight/{p-5b347a60.entry.js → p-a4b88291.entry.js} +1 -1
- package/dist/twilight/{p-634c65ef.entry.js → p-a70a57a7.entry.js} +1 -1
- package/dist/twilight/{p-13613c85.entry.js → p-a738d467.entry.js} +1 -1
- package/dist/twilight/{p-6b5416da.entry.js → p-ae04bc91.entry.js} +1 -1
- package/dist/twilight/{p-91d1a93a.entry.js → p-b481aa01.entry.js} +1 -1
- package/dist/twilight/{p-6f1aed9c.entry.js → p-bb20894f.entry.js} +1 -1
- package/dist/twilight/{p-d4873584.entry.js → p-caa4f6d7.entry.js} +1 -1
- package/dist/twilight/{p-79ced751.entry.js → p-db1f98e2.entry.js} +1 -1
- package/dist/twilight/{p-3ee548e4.entry.js → p-e257b430.entry.js} +1 -1
- package/dist/twilight/{p-74eef3e7.entry.js → p-ed1a958a.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaEGq3bI.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var specialDiscount = require('./special-discount-OVG_9Kf9.js');
|
|
9
9
|
var check = require('./check-CLRvuniI.js');
|
|
@@ -612,7 +612,7 @@ const SallaBottomAlert = class {
|
|
|
612
612
|
this.template = salla.config.get('store.template');
|
|
613
613
|
this.loading = false;
|
|
614
614
|
this.templateData = {};
|
|
615
|
-
this.defaultMessage = salla.lang.getWithDefault('common.elements.store_is_available_for_purchase', 'هذا المتجر
|
|
615
|
+
this.defaultMessage = salla.lang.getWithDefault('common.elements.store_is_available_for_purchase', 'هذا المتجر تطويري ومتاح للشراء من');
|
|
616
616
|
this.defaultActionLabel = salla.lang.get('common.elements.know_more');
|
|
617
617
|
this.storeFeatures = salla.lang.get('common.elements.store_features');
|
|
618
618
|
this.storeDetails = salla.lang.get('common.elements.store_details');
|
|
@@ -625,7 +625,7 @@ const SallaBottomAlert = class {
|
|
|
625
625
|
this.storeName = salla.config.get('store.name');
|
|
626
626
|
this.salla = salla.lang.getWithDefault('common.elements.salla', 'سلة');
|
|
627
627
|
this.readyStores = salla.lang.getWithDefault('common.elements.ready_stores', 'المتاجر الجاهزة');
|
|
628
|
-
this.moreDetailsLabel = salla.lang.getWithDefault('common.elements.more_details', '
|
|
628
|
+
this.moreDetailsLabel = salla.lang.getWithDefault('common.elements.more_details', 'تفاصيل أكثر');
|
|
629
629
|
/**
|
|
630
630
|
* Alert Type
|
|
631
631
|
* */
|
|
@@ -723,9 +723,9 @@ const SallaBottomAlert = class {
|
|
|
723
723
|
}
|
|
724
724
|
render() {
|
|
725
725
|
const hasTemplate = this.template && typeof this.template === 'object' && Object.keys(this.template).length > 0;
|
|
726
|
-
return (index.h(index.Host, { key: '
|
|
726
|
+
return (index.h(index.Host, { key: 'e5f273d72875760e30d99d419b247137583bc450', class: `s-bottom-alert-wrapper ${hasTemplate ? 's-bottom-alert-wrapper-with-template' : ''}` }, hasTemplate && (index.h("div", { key: '1db37d7c67aae449f41a9a3ed83489b2a0653cef', class: "s-bottom-alert-logo-section" }, index.h("img", { key: '18701cd3d807042b4d852f283d43a6855282f791', src: "https://cdn.salla.network/images/logo/logo-light.svg", alt: "Salla", class: "s-bottom-alert-logo" }), index.h("span", { key: '66bb3f9b3c00aee5c2694d5ddb142e753ae7fa1a', class: "s-bottom-alert-logo-text" }, this.readyStores))), index.h("div", { key: '01d47c9ec38370b83bdb3fdc29291f55e1b3aa42', class: "s-bottom-alert-content" }, index.h("div", { key: '5380873bf9d393c0fa18da196e1bfb675a8c9c9b', class: "flex items-center gap-2" }, index.h("div", { key: '882382de35a7c9a767e2eb90305c8a973d01ac21', class: "s-bottom-alert-icon" }, this.icon ? index.h("i", { class: this.icon }) : index.h("i", { innerHTML: infoIcon })), index.h("div", { key: 'dfbaa427fd4e8b755a479e0b5459422e44a95f59', class: "s-bottom-alert-message" }, this.message ? (this.message) : hasTemplate ? (index.h("span", { class: "flex flex-wrap items-center gap-1" }, this.defaultMessage, index.h("span", { class: {
|
|
727
727
|
's-bottom-alert-message-highlight': true,
|
|
728
|
-
}, "aria-label": "Developer" }, this.salla), index.h("span", { innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage))), this.type !== 'banner' && (index.h("div", { key: '
|
|
728
|
+
}, "aria-label": "Developer" }, this.salla), index.h("span", { innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage))), this.type !== 'banner' && (index.h("div", { key: '327ef4b5ecdab7d994418c033a78c2531eb28de5', class: hasTemplate ? 's-bottom-alert-actions-group' : 's-bottom-alert-action' }, hasTemplate ? (this.loading ? (index.h("salla-loading", { size: "20" })) : (index.h("div", { class: "s-bottom-alert-actions-group-container" }, index.h("a", { class: "s-bottom-alert-action-link", onClick: () => this.handleAction() }, this.actionLabel || this.moreDetailsLabel), this.templateData?.link ? (index.h("button", { type: "button", class: "s-bottom-alert-action-purchase-button", onClick: () => window.open(this.templateData?.link, '_blank') }, this.buyTheTemplate)) : null))) : (index.h("salla-button", { href: this.actionUrl, size: "medium", onClick: () => this.handleAction(), width: "normal" }, this.actionLabel || this.defaultActionLabel)))), this.type === 'popup' && this.popup())));
|
|
729
729
|
}
|
|
730
730
|
get host() { return index.getElement(this); }
|
|
731
731
|
};
|
|
@@ -3543,13 +3543,13 @@ const SallaFileUpload = class {
|
|
|
3543
3543
|
return;
|
|
3544
3544
|
try {
|
|
3545
3545
|
const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
|
|
3546
|
-
Promise.resolve().then(function () { return require('./filepond-
|
|
3547
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-
|
|
3548
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-
|
|
3549
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-
|
|
3550
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-
|
|
3551
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-
|
|
3552
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-
|
|
3546
|
+
Promise.resolve().then(function () { return require('./filepond-B8IS5fc4.js'); }).then(function (n) { return n.filepond; }),
|
|
3547
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-B_DKZXnt.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
|
|
3548
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-B7u7IA2t.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
|
|
3549
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-CAeV0T5l.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
|
|
3550
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-CWJKXKBc.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
|
|
3551
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-DDrvV_Am.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
|
|
3552
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-wZ73Ekkr.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
|
|
3553
3553
|
]);
|
|
3554
3554
|
this.FilePond = FilePondModule;
|
|
3555
3555
|
// Register plugins
|
|
@@ -12433,7 +12433,7 @@ const SallaTelInput = class {
|
|
|
12433
12433
|
if (this.TelInput)
|
|
12434
12434
|
return;
|
|
12435
12435
|
try {
|
|
12436
|
-
const telInputModule = await Promise.resolve().then(function () { return require('./index-
|
|
12436
|
+
const telInputModule = await Promise.resolve().then(function () { return require('./index-C-Dr3I5Z.js'); }).then(function (n) { return n.index; });
|
|
12437
12437
|
this.TelInput = telInputModule.default;
|
|
12438
12438
|
}
|
|
12439
12439
|
catch (error) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaEGq3bI.js');
|
|
7
7
|
|
|
8
8
|
const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaEGq3bI.js');
|
|
7
7
|
var check = require('./check-CLRvuniI.js');
|
|
8
8
|
|
|
9
9
|
var IconStar2 = ` <svg width="18" height="17" view-box="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaEGq3bI.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaEGq3bI.js');
|
|
7
7
|
|
|
8
8
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
9
9
|
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -13,7 +13,7 @@ export class SallaBottomAlert {
|
|
|
13
13
|
this.template = salla.config.get('store.template');
|
|
14
14
|
this.loading = false;
|
|
15
15
|
this.templateData = {};
|
|
16
|
-
this.defaultMessage = salla.lang.getWithDefault('common.elements.store_is_available_for_purchase', 'هذا المتجر
|
|
16
|
+
this.defaultMessage = salla.lang.getWithDefault('common.elements.store_is_available_for_purchase', 'هذا المتجر تطويري ومتاح للشراء من');
|
|
17
17
|
this.defaultActionLabel = salla.lang.get('common.elements.know_more');
|
|
18
18
|
this.storeFeatures = salla.lang.get('common.elements.store_features');
|
|
19
19
|
this.storeDetails = salla.lang.get('common.elements.store_details');
|
|
@@ -26,7 +26,7 @@ export class SallaBottomAlert {
|
|
|
26
26
|
this.storeName = salla.config.get('store.name');
|
|
27
27
|
this.salla = salla.lang.getWithDefault('common.elements.salla', 'سلة');
|
|
28
28
|
this.readyStores = salla.lang.getWithDefault('common.elements.ready_stores', 'المتاجر الجاهزة');
|
|
29
|
-
this.moreDetailsLabel = salla.lang.getWithDefault('common.elements.more_details', '
|
|
29
|
+
this.moreDetailsLabel = salla.lang.getWithDefault('common.elements.more_details', 'تفاصيل أكثر');
|
|
30
30
|
/**
|
|
31
31
|
* Alert Type
|
|
32
32
|
* */
|
|
@@ -124,9 +124,9 @@ export class SallaBottomAlert {
|
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
126
|
const hasTemplate = this.template && typeof this.template === 'object' && Object.keys(this.template).length > 0;
|
|
127
|
-
return (h(Host, { key: '
|
|
127
|
+
return (h(Host, { key: 'e5f273d72875760e30d99d419b247137583bc450', class: `s-bottom-alert-wrapper ${hasTemplate ? 's-bottom-alert-wrapper-with-template' : ''}` }, hasTemplate && (h("div", { key: '1db37d7c67aae449f41a9a3ed83489b2a0653cef', class: "s-bottom-alert-logo-section" }, h("img", { key: '18701cd3d807042b4d852f283d43a6855282f791', src: "https://cdn.salla.network/images/logo/logo-light.svg", alt: "Salla", class: "s-bottom-alert-logo" }), h("span", { key: '66bb3f9b3c00aee5c2694d5ddb142e753ae7fa1a', class: "s-bottom-alert-logo-text" }, this.readyStores))), h("div", { key: '01d47c9ec38370b83bdb3fdc29291f55e1b3aa42', class: "s-bottom-alert-content" }, h("div", { key: '5380873bf9d393c0fa18da196e1bfb675a8c9c9b', class: "flex items-center gap-2" }, h("div", { key: '882382de35a7c9a767e2eb90305c8a973d01ac21', class: "s-bottom-alert-icon" }, this.icon ? h("i", { class: this.icon }) : h("i", { innerHTML: infoIcon })), h("div", { key: 'dfbaa427fd4e8b755a479e0b5459422e44a95f59', class: "s-bottom-alert-message" }, this.message ? (this.message) : hasTemplate ? (h("span", { class: "flex flex-wrap items-center gap-1" }, this.defaultMessage, h("span", { class: {
|
|
128
128
|
's-bottom-alert-message-highlight': true,
|
|
129
|
-
}, "aria-label": "Developer" }, this.salla), h("span", { innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage))), this.type !== 'banner' && (h("div", { key: '
|
|
129
|
+
}, "aria-label": "Developer" }, this.salla), h("span", { innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage))), this.type !== 'banner' && (h("div", { key: '327ef4b5ecdab7d994418c033a78c2531eb28de5', class: hasTemplate ? 's-bottom-alert-actions-group' : 's-bottom-alert-action' }, hasTemplate ? (this.loading ? (h("salla-loading", { size: "20" })) : (h("div", { class: "s-bottom-alert-actions-group-container" }, h("a", { class: "s-bottom-alert-action-link", onClick: () => this.handleAction() }, this.actionLabel || this.moreDetailsLabel), this.templateData?.link ? (h("button", { type: "button", class: "s-bottom-alert-action-purchase-button", onClick: () => window.open(this.templateData?.link, '_blank') }, this.buyTheTemplate)) : null))) : (h("salla-button", { href: this.actionUrl, size: "medium", onClick: () => this.handleAction(), width: "normal" }, this.actionLabel || this.defaultActionLabel)))), this.type === 'popup' && this.popup())));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "salla-bottom-alert"; }
|
|
132
132
|
static get originalStyleUrls() {
|