@salla.sa/twilight-components 2.14.273 → 2.14.275
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-B6LUaQ9F.js → filepond-_hmCsUXQ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DlB67Vv3.js → filepond-plugin-file-poster-DsNkKTeP.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-D7kuqaEC.js → filepond-plugin-file-validate-size-MurleCvA.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CliXp1Qt.js → filepond-plugin-file-validate-type-CWyDAFwp.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BRIZbIyN.js → filepond-plugin-image-edit-BGz1QNAb.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-bFbWHyQs.js → filepond-plugin-image-exif-orientation-CmCjSUwG.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-24nxaVX6.js → filepond-plugin-image-preview-Dc_H1NrZ.js} +1 -1
- package/dist/cjs/{index-xI-pRoDr.js → index-4kunrMSn.js} +1 -1
- package/dist/cjs/{index-BpUrZ_-D.js → index-B9asE_s-.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion_62.cjs.entry.js +12 -12
- 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-conditional-fields/salla-conditional-fields.js +1 -1
- package/dist/collection/components/salla-product-options/salla-product-options.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/salla-conditional-fields2.js +1 -1
- package/dist/components/salla-product-options2.js +2 -2
- package/dist/esm/{filepond-C8M-qAIs.js → filepond-U0ZLYqIx.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-UfHq-uvl.js → filepond-plugin-file-poster-iP50zFtW.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DZ15xnJZ.js → filepond-plugin-file-validate-size-Dvi3pvzQ.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CWR9opI0.js → filepond-plugin-file-validate-type-B01LNHct.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-XbR1h-bg.js → filepond-plugin-image-edit-DjoeTrI6.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-cSRDvvXQ.js → filepond-plugin-image-exif-orientation-BvISmjH_.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-B-SvzNFg.js → filepond-plugin-image-preview-BCKrsf9H.js} +1 -1
- package/dist/esm/{index-gLeBNvS1.js → index-CUu-nBEz.js} +2 -2
- package/dist/esm/{index-Q_DltBmK.js → index-Ci3jSA26.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion_62.entry.js +12 -12
- 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-73a8296a.entry.js → p-01beb676.entry.js} +1 -1
- package/dist/twilight/{p-82c156ab.entry.js → p-01c2603a.entry.js} +1 -1
- package/dist/twilight/{p-ed85bc00.entry.js → p-12c142ec.entry.js} +1 -1
- package/dist/twilight/{p-56f7a2ba.entry.js → p-1608daf8.entry.js} +1 -1
- package/dist/twilight/{p-06d126b6.entry.js → p-2651f1a7.entry.js} +1 -1
- package/dist/twilight/{p-80a07063.entry.js → p-2a970731.entry.js} +1 -1
- package/dist/twilight/{p-f7863a58.entry.js → p-2f2c0da5.entry.js} +1 -1
- package/dist/twilight/{p-a6c14a64.entry.js → p-3e78e158.entry.js} +1 -1
- package/dist/twilight/{p-946e5649.entry.js → p-421e75bc.entry.js} +1 -1
- package/dist/twilight/{p-7c8d7ca3.entry.js → p-483763db.entry.js} +1 -1
- package/dist/twilight/{p-b0b79820.entry.js → p-48a3d338.entry.js} +1 -1
- package/dist/twilight/{p-b81437f4.entry.js → p-58ac7005.entry.js} +1 -1
- package/dist/twilight/{p-a3e000ef.entry.js → p-65b52702.entry.js} +1 -1
- package/dist/twilight/{p-5057b400.entry.js → p-77b70d15.entry.js} +1 -1
- package/dist/twilight/{p-b5581886.entry.js → p-78c8b9ac.entry.js} +1 -1
- package/dist/twilight/{p-697db5c6.entry.js → p-7e21fd40.entry.js} +1 -1
- package/dist/twilight/{p-1cc68ef5.entry.js → p-7e2fd95f.entry.js} +1 -1
- package/dist/twilight/{p-bf010154.entry.js → p-7f90c563.entry.js} +1 -1
- package/dist/twilight/{p-263b9b06.entry.js → p-90641654.entry.js} +1 -1
- package/dist/twilight/{p-BRD27esZ.js → p-BYDwbMDu.js} +1 -1
- package/dist/twilight/{p-j4lbZMJ0.js → p-BtZp8quD.js} +1 -1
- package/dist/twilight/{p-DUvdNUoC.js → p-C0OhEyC2.js} +1 -1
- package/dist/twilight/{p-gLeBNvS1.js → p-CUu-nBEz.js} +2 -2
- package/dist/twilight/{p-B-nQtFTN.js → p-CX7AVJNL.js} +1 -1
- package/dist/twilight/{p-BI2zk2yo.js → p-Ceoss831.js} +1 -1
- package/dist/twilight/{p-CUYEEJ4c.js → p-DZ-ZaVIZ.js} +1 -1
- package/dist/twilight/p-a01ccdb6.entry.js +11 -0
- package/dist/twilight/{p-9bcd9c87.entry.js → p-a9844a4c.entry.js} +1 -1
- package/dist/twilight/{p-21b37923.entry.js → p-b3c01e85.entry.js} +1 -1
- package/dist/twilight/{p-5278b873.entry.js → p-b659c87a.entry.js} +1 -1
- package/dist/twilight/{p-a01dd6b7.entry.js → p-d78552f8.entry.js} +1 -1
- package/dist/twilight/{p-c9ab361e.entry.js → p-da590ac2.entry.js} +1 -1
- package/dist/twilight/{p-7603a820.entry.js → p-df704ac0.entry.js} +1 -1
- package/dist/twilight/{p-9c477fdf.entry.js → p-df86fe67.entry.js} +1 -1
- package/dist/twilight/{p-00d8544c.entry.js → p-e04ccc45.entry.js} +1 -1
- package/dist/twilight/{p-2787ff9f.entry.js → p-e955bf1a.entry.js} +1 -1
- package/dist/twilight/{p-8380c411.entry.js → p-f3565aed.entry.js} +1 -1
- package/dist/twilight/{p-c0388251.entry.js → p-f473dbd4.entry.js} +1 -1
- package/dist/twilight/p-phNrkkQT.js +9 -0
- package/dist/twilight/{p-1ekWkYOJ.js → p-taJtzKQF.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
- package/dist/twilight/p-3c1484b9.entry.js +0 -11
- package/dist/twilight/p-DhR67rwu.js +0 -9
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-B9asE_s-.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');
|
|
@@ -2799,7 +2799,7 @@ const SallaConditionalFields = class {
|
|
|
2799
2799
|
}
|
|
2800
2800
|
changeHandler(event) {
|
|
2801
2801
|
salla.event.emit('salla-onditional-fields::change', event);
|
|
2802
|
-
salla.log('Received the change/input event:
|
|
2802
|
+
salla.log('Received the change/input event:', event);
|
|
2803
2803
|
if (!event.target ||
|
|
2804
2804
|
(!['SELECT', 'INPUT', 'TEXTAREA'].includes(event.target.tagName) &&
|
|
2805
2805
|
!['checkbox', 'radio', 'text'].includes(event.target.getAttribute('type')))) {
|
|
@@ -3514,13 +3514,13 @@ const SallaFileUpload = class {
|
|
|
3514
3514
|
return;
|
|
3515
3515
|
try {
|
|
3516
3516
|
const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
|
|
3517
|
-
Promise.resolve().then(function () { return require('./filepond-
|
|
3518
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-
|
|
3519
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-
|
|
3520
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-
|
|
3521
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-
|
|
3522
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-
|
|
3523
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-
|
|
3517
|
+
Promise.resolve().then(function () { return require('./filepond-_hmCsUXQ.js'); }).then(function (n) { return n.filepond; }),
|
|
3518
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-MurleCvA.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
|
|
3519
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-CmCjSUwG.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
|
|
3520
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-Dc_H1NrZ.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
|
|
3521
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-BGz1QNAb.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
|
|
3522
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-CWyDAFwp.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
|
|
3523
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-DsNkKTeP.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
|
|
3524
3524
|
]);
|
|
3525
3525
|
this.FilePond = FilePondModule;
|
|
3526
3526
|
// Register plugins
|
|
@@ -8167,12 +8167,12 @@ const SallaProductOptions = class {
|
|
|
8167
8167
|
}
|
|
8168
8168
|
//@ts-ignore
|
|
8169
8169
|
textOption(option) {
|
|
8170
|
-
return index.h("div", { class: "s-product-options-text" }, index.h("input", { type: "text", value: option.value, maxLength: option?.length, class: 's-form-control', required: !option.visibility_condition && option.required, name: this.generateInputName(option.id), placeholder: option.placeholder, onInvalid: (e) => this.invalidHandler(e, option), onChange: e => this.changedHandler(e, option) }));
|
|
8170
|
+
return index.h("div", { class: "s-product-options-text" }, index.h("input", { type: "text", value: option.value, maxLength: option?.length, class: 's-form-control', required: !option.visibility_condition && option.required, name: this.generateInputName(option.id), placeholder: option.placeholder, onInvalid: (e) => this.invalidHandler(e, option), onChange: e => this.changedHandler(e, option), onInput: e => this.changedHandler(e, option) }));
|
|
8171
8171
|
}
|
|
8172
8172
|
//@ts-ignore
|
|
8173
8173
|
textareaOption(option) {
|
|
8174
8174
|
//todo::remove mt-1 class, and if it's okay to remove the tag itself will be great
|
|
8175
|
-
return index.h("div", { class: "s-product-options-textarea" }, index.h("div", { class: "mt-1" }, index.h("textarea", { rows: 4, value: option.value, maxLength: option?.length, class: "s-form-control", required: !option.visibility_condition && option.required, id: this.generateUniqueKey(option.id.toString()), name: this.generateInputName(option.id), placeholder: option.placeholder, onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option) })));
|
|
8175
|
+
return index.h("div", { class: "s-product-options-textarea" }, index.h("div", { class: "mt-1" }, index.h("textarea", { rows: 4, value: option.value, maxLength: option?.length, class: "s-form-control", required: !option.visibility_condition && option.required, id: this.generateUniqueKey(option.id.toString()), name: this.generateInputName(option.id), placeholder: option.placeholder, onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option), onInput: (e) => this.changedHandler(e, option) })));
|
|
8176
8176
|
}
|
|
8177
8177
|
//@ts-ignore
|
|
8178
8178
|
mapOption(option) {
|
|
@@ -12389,7 +12389,7 @@ const SallaTelInput = class {
|
|
|
12389
12389
|
if (this.TelInput)
|
|
12390
12390
|
return;
|
|
12391
12391
|
try {
|
|
12392
|
-
const telInputModule = await Promise.resolve().then(function () { return require('./index-
|
|
12392
|
+
const telInputModule = await Promise.resolve().then(function () { return require('./index-4kunrMSn.js'); }).then(function (n) { return n.index; });
|
|
12393
12393
|
this.TelInput = telInputModule.default;
|
|
12394
12394
|
}
|
|
12395
12395
|
catch (error) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B9asE_s-.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-B9asE_s-.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-B9asE_s-.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-B9asE_s-.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
|
@@ -29,7 +29,7 @@ export class SallaConditionalFields {
|
|
|
29
29
|
}
|
|
30
30
|
changeHandler(event) {
|
|
31
31
|
salla.event.emit('salla-onditional-fields::change', event);
|
|
32
|
-
salla.log('Received the change/input event:
|
|
32
|
+
salla.log('Received the change/input event:', event);
|
|
33
33
|
if (!event.target ||
|
|
34
34
|
(!['SELECT', 'INPUT', 'TEXTAREA'].includes(event.target.tagName) &&
|
|
35
35
|
!['checkbox', 'radio', 'text'].includes(event.target.getAttribute('type')))) {
|
|
@@ -551,12 +551,12 @@ export class SallaProductOptions {
|
|
|
551
551
|
}
|
|
552
552
|
//@ts-ignore
|
|
553
553
|
textOption(option) {
|
|
554
|
-
return h("div", { class: "s-product-options-text" }, h("input", { type: "text", value: option.value, maxLength: option?.length, class: 's-form-control', required: !option.visibility_condition && option.required, name: this.generateInputName(option.id), placeholder: option.placeholder, onInvalid: (e) => this.invalidHandler(e, option), onChange: e => this.changedHandler(e, option) }));
|
|
554
|
+
return h("div", { class: "s-product-options-text" }, h("input", { type: "text", value: option.value, maxLength: option?.length, class: 's-form-control', required: !option.visibility_condition && option.required, name: this.generateInputName(option.id), placeholder: option.placeholder, onInvalid: (e) => this.invalidHandler(e, option), onChange: e => this.changedHandler(e, option), onInput: e => this.changedHandler(e, option) }));
|
|
555
555
|
}
|
|
556
556
|
//@ts-ignore
|
|
557
557
|
textareaOption(option) {
|
|
558
558
|
//todo::remove mt-1 class, and if it's okay to remove the tag itself will be great
|
|
559
|
-
return h("div", { class: "s-product-options-textarea" }, h("div", { class: "mt-1" }, h("textarea", { rows: 4, value: option.value, maxLength: option?.length, class: "s-form-control", required: !option.visibility_condition && option.required, id: this.generateUniqueKey(option.id.toString()), name: this.generateInputName(option.id), placeholder: option.placeholder, onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option) })));
|
|
559
|
+
return h("div", { class: "s-product-options-textarea" }, h("div", { class: "mt-1" }, h("textarea", { rows: 4, value: option.value, maxLength: option?.length, class: "s-form-control", required: !option.visibility_condition && option.required, id: this.generateUniqueKey(option.id.toString()), name: this.generateInputName(option.id), placeholder: option.placeholder, onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option), onInput: (e) => this.changedHandler(e, option) })));
|
|
560
560
|
}
|
|
561
561
|
//@ts-ignore
|
|
562
562
|
mapOption(option) {
|