@salla.sa/twilight-components 2.14.288 → 2.14.289
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-DSKzXLak.js → filepond-Dm0x0O8b.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DsRzjpgs.js → filepond-plugin-file-poster-PiBaM_bd.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-Du7c4t_r.js → filepond-plugin-file-validate-size-C-D9xlEy.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-C9t5Ml7g.js → filepond-plugin-file-validate-type-C4TIjZKW.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-SDz40zJG.js → filepond-plugin-image-edit-Ck73YGpU.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-B0AJiMbp.js → filepond-plugin-image-exif-orientation-DXbTakAd.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-B2iXLCiF.js → filepond-plugin-image-preview-Dt9MTqMH.js} +1 -1
- package/dist/cjs/{index-CUHB4YPW.js → index-5Ofzde3D.js} +2 -2
- package/dist/cjs/{index-CAG6WJnV.js → index-DN2d5u5h.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion_62.cjs.entry.js +15 -30
- 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-order-totals-card.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-trust-badges.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-product-options/salla-product-options.js +5 -20
- package/dist/components/index.js +2 -2
- package/dist/components/salla-product-options2.js +6 -21
- package/dist/esm/{filepond-DMcg2cKA.js → filepond-LS0BnT_g.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-Y1eN00gQ.js → filepond-plugin-file-poster-B6DCphFr.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DUzHKkmi.js → filepond-plugin-file-validate-size-CRSgWaGm.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CoTA06q_.js → filepond-plugin-file-validate-type-DdqIvBew.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-GfLMMCuU.js → filepond-plugin-image-edit-DtDPmD-D.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DO08VSyc.js → filepond-plugin-image-exif-orientation-DS8OKi5c.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-cXsZEjQs.js → filepond-plugin-image-preview-B8C1Jcst.js} +1 -1
- package/dist/esm/{index-DhmmwLl5.js → index-BNVbLIaP.js} +1 -1
- package/dist/esm/{index-BxZNU2kk.js → index-DlKVFFYY.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion_62.entry.js +15 -30
- 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-order-totals-card.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-trust-badges.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-f0968d56.entry.js → p-00ef717d.entry.js} +1 -1
- package/dist/twilight/{p-5cb9c09a.entry.js → p-03bec6db.entry.js} +1 -1
- package/dist/twilight/{p-fe1ec85a.entry.js → p-03db9f1b.entry.js} +1 -1
- package/dist/twilight/{p-42147376.entry.js → p-20a33ba3.entry.js} +1 -1
- package/dist/twilight/{p-68f18e66.entry.js → p-2917778e.entry.js} +1 -1
- package/dist/twilight/{p-55ea3889.entry.js → p-2cb7f4d0.entry.js} +1 -1
- package/dist/twilight/{p-6d4536d4.entry.js → p-30745d8f.entry.js} +1 -1
- package/dist/twilight/{p-79ee0b30.entry.js → p-453b5bd6.entry.js} +2 -2
- package/dist/twilight/{p-828b6a06.entry.js → p-5016c1ef.entry.js} +1 -1
- package/dist/twilight/{p-c7e8ad00.entry.js → p-55b3ced1.entry.js} +1 -1
- package/dist/twilight/{p-06b52ab1.entry.js → p-5634d90b.entry.js} +1 -1
- package/dist/twilight/{p-bea856e4.entry.js → p-6d1b429d.entry.js} +1 -1
- package/dist/twilight/{p-7883f900.entry.js → p-7e3e158d.entry.js} +1 -1
- package/dist/twilight/{p-625658da.entry.js → p-82e75430.entry.js} +1 -1
- package/dist/twilight/{p-b490226a.entry.js → p-8c946816.entry.js} +1 -1
- package/dist/twilight/{p-d52eaf9c.entry.js → p-8eb59229.entry.js} +1 -1
- package/dist/twilight/{p-CTGMsQWa.js → p-8spsplmU.js} +1 -1
- package/dist/twilight/{p-d837cda7.entry.js → p-90e8e793.entry.js} +1 -1
- package/dist/twilight/{p-13fccbec.entry.js → p-9a34b6a3.entry.js} +1 -1
- package/dist/twilight/{p-14284daf.entry.js → p-9d805e14.entry.js} +1 -1
- package/dist/twilight/{p-58ae422d.entry.js → p-9f0aac15.entry.js} +1 -1
- package/dist/twilight/{p-FqVdDv2v.js → p-B9NDobR7.js} +1 -1
- package/dist/twilight/{p-DnsmLn6U.js → p-Bc1lpXBc.js} +1 -1
- package/dist/twilight/{p-esv1netT.js → p-BpMC61PN.js} +1 -1
- package/dist/twilight/{p-CG-nPUZW.js → p-CSilg0z8.js} +1 -1
- package/dist/twilight/{p-B1zeuX_x.js → p-CYYvuyYZ.js} +1 -1
- package/dist/twilight/{p-BxZNU2kk.js → p-DlKVFFYY.js} +1 -1
- package/dist/twilight/{p-C6Ak6FfG.js → p-DvOSgera.js} +1 -1
- package/dist/twilight/{p-c7m6mHKB.js → p-RlJbbtgA.js} +1 -1
- package/dist/twilight/{p-182e7d2e.entry.js → p-a1ee98f7.entry.js} +1 -1
- package/dist/twilight/{p-57cd5215.entry.js → p-a5c02e26.entry.js} +1 -1
- package/dist/twilight/{p-58b61a48.entry.js → p-a8895ce7.entry.js} +1 -1
- package/dist/twilight/{p-7665e5e1.entry.js → p-b049c84f.entry.js} +1 -1
- package/dist/twilight/{p-830c5474.entry.js → p-b787f1bc.entry.js} +1 -1
- package/dist/twilight/{p-c3fac91b.entry.js → p-bb18243d.entry.js} +1 -1
- package/dist/twilight/{p-3acd0ed9.entry.js → p-bd051f83.entry.js} +1 -1
- package/dist/twilight/{p-60bda4da.entry.js → p-e0d34781.entry.js} +1 -1
- package/dist/twilight/{p-48158ef6.entry.js → p-e1c317d4.entry.js} +1 -1
- package/dist/twilight/{p-3a81a1ea.entry.js → p-ed2158c7.entry.js} +1 -1
- package/dist/twilight/{p-1b749268.entry.js → p-edf4c9a6.entry.js} +1 -1
- package/dist/twilight/{p-09fcbd93.entry.js → p-fa8d3613.entry.js} +1 -1
- package/dist/twilight/{p-7fc6d8b6.entry.js → p-ff9873e2.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
|
@@ -447,12 +447,9 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
447
447
|
*/
|
|
448
448
|
handlePaste(event) {
|
|
449
449
|
const target = event.target;
|
|
450
|
-
// Check if this is an options input (standard or bundle naming)
|
|
451
|
-
const isOptionsInput = target.name.startsWith('options[') || target.name.includes('[options][');
|
|
452
450
|
if (!Salla.helpers.hasApplePay()
|
|
453
451
|
|| !(target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement)
|
|
454
|
-
|| !target.classList.contains('s-form-control')
|
|
455
|
-
|| !isOptionsInput) {
|
|
452
|
+
|| !target.classList.contains('s-form-control')) {
|
|
456
453
|
return;
|
|
457
454
|
}
|
|
458
455
|
// Prevent default paste (to avoid Safari inserting extra content)
|
|
@@ -466,23 +463,11 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
466
463
|
target.value = newValue;
|
|
467
464
|
// Reset cursor position
|
|
468
465
|
target.setSelectionRange(start + text.length, start + text.length);
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
}
|
|
475
|
-
if (optionIdMatch) {
|
|
476
|
-
const optionId = Number(optionIdMatch[1]);
|
|
477
|
-
const option = this.optionsData.find(opt => opt.id === optionId);
|
|
478
|
-
if (option) {
|
|
479
|
-
// Create a synthetic event object to pass to changedHandler
|
|
480
|
-
const syntheticEvent = {
|
|
481
|
-
target: target,
|
|
482
|
-
type: 'input'
|
|
483
|
-
};
|
|
484
|
-
this.changedHandler(syntheticEvent, option);
|
|
485
|
-
}
|
|
466
|
+
try {
|
|
467
|
+
target.dispatchEvent(new window.Event('change', { bubbles: true }));
|
|
468
|
+
}
|
|
469
|
+
catch (error) {
|
|
470
|
+
Salla.log('Error on change');
|
|
486
471
|
}
|
|
487
472
|
}
|
|
488
473
|
hideDigitalCardsOptions(option) {
|