@salla.sa/twilight-components 2.14.389 → 2.14.390
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-D-Sm5mfd.js → filepond-DFct_qpx.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-D_Q9tOzh.js → filepond-plugin-file-poster-B_Lr4Ulx.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-jE8i9yLT.js → filepond-plugin-file-validate-size-BqkoO_hr.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-ClNK2GsY.js → filepond-plugin-file-validate-type-DyTH8eH0.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BtI2loP1.js → filepond-plugin-image-edit-Cxg-WjCl.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-DFksd-cT.js → filepond-plugin-image-exif-orientation-BSVkpMNu.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-B6iy7dvj.js → filepond-plugin-image-preview-DNcmQwuK.js} +1 -1
- package/dist/cjs/{index-CZzG9P8m.js → index-B8vh41va.js} +26 -10
- package/dist/cjs/{index-PbcABX0l.js → index-DnQaQgSB.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +63 -0
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.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-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.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-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +196 -0
- package/dist/cjs/salla-custom-fields.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-gifting.cjs.entry.js +91 -16
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.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-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/{salla-accordion-body_3.cjs.entry.js → salla-map.cjs.entry.js} +1 -57
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.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-modal.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-edit-item.cjs.entry.js +95 -0
- package/dist/cjs/salla-order-edit.cjs.entry.js +181 -0
- 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-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/{salla-count-down_2.cjs.entry.js → salla-product-card.cjs.entry.js} +1 -160
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.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-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.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 +2 -2
- package/dist/cjs/{vanilla-picker-BP4lqf-K.js → vanilla-picker-BZ48aiBi.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/salla-count-down/salla-count-down.css +4 -0
- package/dist/collection/components/salla-count-down/salla-count-down.js +122 -13
- package/dist/collection/components/salla-gifting/salla-gifting.js +96 -15
- package/dist/collection/components/salla-order-edit/interfaces.js +1 -0
- package/dist/collection/components/salla-order-edit/salla-order-edit-item.css +0 -0
- package/dist/collection/components/salla-order-edit/salla-order-edit-item.js +185 -0
- package/dist/collection/components/salla-order-edit/salla-order-edit.css +0 -0
- package/dist/collection/components/salla-order-edit/salla-order-edit.js +256 -0
- package/dist/components/index.js +2 -2
- package/dist/components/salla-count-down2.js +49 -13
- package/dist/components/salla-gifting.js +96 -15
- package/dist/components/salla-order-edit-item.d.ts +11 -0
- package/dist/components/salla-order-edit-item.js +9 -0
- package/dist/components/salla-order-edit-item2.js +184 -0
- package/dist/components/salla-order-edit.d.ts +11 -0
- package/dist/components/salla-order-edit.js +291 -0
- package/dist/components/salla-quantity-input.js +1 -125
- package/dist/components/salla-quantity-input2.js +130 -0
- package/dist/esm/{filepond-PPWykQxI.js → filepond-C9FlNeRD.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BRSyNznG.js → filepond-plugin-file-poster-BfX4exY0.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BKa_IBRc.js → filepond-plugin-file-validate-size-B5-cSfmI.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-B2Gqcysx.js → filepond-plugin-file-validate-type-DKvNhI35.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-C0UvZ9iA.js → filepond-plugin-image-edit-DV1-ZICm.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-Dmzu9ZJy.js → filepond-plugin-image-exif-orientation-idrSYwAk.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CaZ36U6e.js → filepond-plugin-image-preview-os8BCUOs.js} +1 -1
- package/dist/esm/{index-CyfZeaV2.js → index-BcMtCVX0.js} +26 -10
- package/dist/esm/{index-C3w2qMi0.js → index-DQCZHaDc.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +60 -0
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_4.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.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-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.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-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +194 -0
- package/dist/esm/salla-custom-fields.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-gifting.entry.js +91 -16
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.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-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/{salla-accordion-body_3.entry.js → salla-map.entry.js} +2 -56
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.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-modal.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-edit-item.entry.js +93 -0
- package/dist/esm/salla-order-edit.entry.js +179 -0
- 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-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/{salla-count-down_2.entry.js → salla-product-card.entry.js} +2 -160
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-products-slider.entry.js +1 -1
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.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-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.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 +3 -3
- package/dist/esm/{vanilla-picker-BnLjo9lg.js → vanilla-picker-BBEKwYz7.js} +1 -1
- package/dist/twilight/{p-49178d13.entry.js → p-00a2d261.entry.js} +1 -1
- package/dist/twilight/{p-0dcadf17.entry.js → p-0b27ca19.entry.js} +1 -1
- package/dist/twilight/{p-52249b73.entry.js → p-0d0ca330.entry.js} +1 -1
- package/dist/twilight/{p-749f87cc.entry.js → p-1054b66c.entry.js} +1 -1
- package/dist/twilight/{p-9dace77f.entry.js → p-129d6c0c.entry.js} +1 -1
- package/dist/twilight/{p-d0d9eaa7.entry.js → p-15a052c7.entry.js} +1 -1
- package/dist/twilight/{p-7367264c.entry.js → p-207950ad.entry.js} +1 -1
- package/dist/twilight/{p-4a0248ab.entry.js → p-2548fa30.entry.js} +1 -1
- package/dist/twilight/{p-77a89284.entry.js → p-26cb1fdf.entry.js} +1 -1
- package/dist/twilight/{p-313e016b.entry.js → p-2b74eb03.entry.js} +1 -1
- package/dist/twilight/{p-71199938.entry.js → p-359b2de3.entry.js} +1 -1
- package/dist/twilight/{p-3424772f.entry.js → p-35a2ea22.entry.js} +1 -1
- package/dist/twilight/{p-92aa6f9c.entry.js → p-3653ad70.entry.js} +1 -1
- package/dist/twilight/{p-0e064e79.entry.js → p-374057f7.entry.js} +1 -1
- package/dist/twilight/p-374c63c7.entry.js +4 -0
- package/dist/twilight/{p-3490e1f2.entry.js → p-412643eb.entry.js} +1 -1
- package/dist/twilight/{p-981aa6b2.entry.js → p-47cd7ceb.entry.js} +1 -1
- package/dist/twilight/{p-5db4f7be.entry.js → p-47d1003b.entry.js} +1 -1
- package/dist/twilight/{p-b6d4d88f.entry.js → p-48353d62.entry.js} +1 -1
- package/dist/twilight/{p-833e8364.entry.js → p-4866439f.entry.js} +1 -1
- package/dist/twilight/{p-549d8385.entry.js → p-4f3964d8.entry.js} +1 -1
- package/dist/twilight/{p-f8b53b4a.entry.js → p-4fefd2df.entry.js} +1 -1
- package/dist/twilight/{p-de4fc6d3.entry.js → p-5174aa32.entry.js} +1 -1
- package/dist/twilight/{p-6b642ef5.entry.js → p-58c66b0d.entry.js} +1 -1
- package/dist/twilight/{p-7b3e9e94.entry.js → p-58fa3856.entry.js} +1 -1
- package/dist/twilight/{p-6f230886.entry.js → p-596525f9.entry.js} +1 -1
- package/dist/twilight/p-5a629abd.entry.js +4 -0
- package/dist/twilight/{p-f713d4c1.entry.js → p-5d2ebf97.entry.js} +1 -1
- package/dist/twilight/{p-016b3b19.entry.js → p-65df6042.entry.js} +1 -1
- package/dist/twilight/{p-7eebae69.entry.js → p-67bc002a.entry.js} +1 -1
- package/dist/twilight/{p-b85269f0.entry.js → p-67cf0723.entry.js} +1 -1
- package/dist/twilight/{p-1a9b64ea.entry.js → p-687a597a.entry.js} +1 -1
- package/dist/twilight/{p-75744403.entry.js → p-689701b4.entry.js} +1 -1
- package/dist/twilight/{p-646ac137.entry.js → p-70e478a6.entry.js} +1 -1
- package/dist/twilight/{p-a3479656.entry.js → p-74472650.entry.js} +1 -1
- package/dist/twilight/{p-5a3fbfcc.entry.js → p-7855ae93.entry.js} +1 -1
- package/dist/twilight/p-8c86ba24.entry.js +4 -0
- package/dist/twilight/{p-9b03dc5f.entry.js → p-8d4d4a0e.entry.js} +1 -1
- package/dist/twilight/{p-85e08789.entry.js → p-8fbd92a2.entry.js} +1 -1
- package/dist/twilight/{p-f2a021d2.entry.js → p-983f9f1e.entry.js} +1 -1
- package/dist/twilight/{p-f9b6a945.entry.js → p-998a3b5f.entry.js} +1 -1
- package/dist/twilight/{p-56f20bf9.entry.js → p-9bf0a7df.entry.js} +1 -1
- package/dist/twilight/{p-414f399b.entry.js → p-9ff1a4dc.entry.js} +1 -1
- package/dist/twilight/{p-C11T4TVo.js → p-B21QGKK8.js} +1 -1
- package/dist/twilight/{p-DaXFe_AG.js → p-Bc2ExcVy.js} +1 -1
- package/dist/twilight/{p-CyfZeaV2.js → p-BcMtCVX0.js} +2 -2
- package/dist/twilight/{p-DV84B4Zf.js → p-C3Z9uRGX.js} +1 -1
- package/dist/twilight/{p-CKAWVE2E.js → p-DIeaJrGb.js} +1 -1
- package/dist/twilight/{p-CJnMMMxb.js → p-DbdyybJU.js} +1 -1
- package/dist/twilight/{p-oPo_An7U.js → p-UFbwqsEd.js} +1 -1
- package/dist/twilight/{p-9af46409.entry.js → p-a39a0eb8.entry.js} +1 -1
- package/dist/twilight/{p-6c5ab45f.entry.js → p-a54364a3.entry.js} +1 -1
- package/dist/twilight/{p-68e1946b.entry.js → p-a6bb162e.entry.js} +1 -1
- package/dist/twilight/{p-dccaabbe.entry.js → p-a6cbb4f5.entry.js} +1 -1
- package/dist/twilight/{p-b6924b12.entry.js → p-a8fd427d.entry.js} +1 -1
- package/dist/twilight/{p-9ae66ab7.entry.js → p-a909028d.entry.js} +1 -1
- package/dist/twilight/{p-fdb99998.entry.js → p-acd70c2f.entry.js} +1 -1
- package/dist/twilight/{p-8538541b.entry.js → p-ae1e338f.entry.js} +1 -1
- package/dist/twilight/{p-ccc3689d.entry.js → p-b19ace8d.entry.js} +1 -1
- package/dist/twilight/p-b697172b.entry.js +4 -0
- package/dist/twilight/{p-c48e2a05.entry.js → p-bb98a631.entry.js} +1 -1
- package/dist/twilight/{p-8c1f6ff5.entry.js → p-c18179ed.entry.js} +1 -1
- package/dist/twilight/{p-8c918f58.entry.js → p-c2d74b3d.entry.js} +1 -1
- package/dist/twilight/{p-83bb3e08.entry.js → p-c45f2128.entry.js} +1 -1
- package/dist/twilight/p-c5522363.entry.js +4 -0
- package/dist/twilight/{p-a5215f9c.entry.js → p-c6e7b06f.entry.js} +1 -1
- package/dist/twilight/{p-d224ad78.entry.js → p-cc6c624c.entry.js} +1 -1
- package/dist/twilight/{p-B5sTdzgA.js → p-ctIqN5Fo.js} +1 -1
- package/dist/twilight/{p-71e9036c.entry.js → p-d607bfd3.entry.js} +1 -1
- package/dist/twilight/{p-2d3c3fc0.entry.js → p-d862646f.entry.js} +1 -1
- package/dist/twilight/{p-e4984da6.entry.js → p-dbcc0a7f.entry.js} +1 -1
- package/dist/twilight/p-dc6f4d54.entry.js +4 -0
- package/dist/twilight/{p-28691a37.entry.js → p-deb74e2e.entry.js} +1 -1
- package/dist/twilight/{p-e51abff8.entry.js → p-dfa729d4.entry.js} +1 -1
- package/dist/twilight/p-e7671432.entry.js +4 -0
- package/dist/twilight/{p-1fa74395.entry.js → p-e7932d3d.entry.js} +1 -1
- package/dist/twilight/{p-46715ed4.entry.js → p-e879fb84.entry.js} +1 -1
- package/dist/twilight/p-e9c7f99a.entry.js +4 -0
- package/dist/twilight/{p-c782ba90.entry.js → p-f100cc25.entry.js} +1 -1
- package/dist/twilight/{p-fca12e58.entry.js → p-f63999f8.entry.js} +1 -1
- package/dist/twilight/{p-nDM6sAQW.js → p-fbLtV-T9.js} +1 -1
- package/dist/twilight/{p-282b2717.entry.js → p-fd22cd01.entry.js} +1 -1
- package/dist/twilight/{p-DgRZXtp7.js → p-ukob-enB.js} +2 -2
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-count-down/salla-count-down.d.ts +24 -0
- package/dist/types/components/salla-gifting/gift-schema.d.ts +4 -0
- package/dist/types/components/salla-gifting/intefaces.d.ts +1 -0
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +10 -1
- package/dist/types/components/salla-order-edit/interfaces.d.ts +114 -0
- package/dist/types/components/salla-order-edit/salla-order-edit-item.d.ts +35 -0
- package/dist/types/components/salla-order-edit/salla-order-edit.d.ts +42 -0
- package/dist/types/components.d.ts +170 -0
- package/package.json +5 -5
- package/dist/twilight/p-1048b469.entry.js +0 -4
- package/dist/twilight/p-69ae622f.entry.js +0 -4
- package/dist/twilight/p-d33f3c58.entry.js +0 -4
- package/dist/twilight/p-fbcc194e.entry.js +0 -4
|
@@ -1,167 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
|
|
7
|
-
const sallaCountDownCss = "";
|
|
8
|
-
|
|
9
|
-
const SallaCountDown = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
registerInstance(this, hostRef);
|
|
12
|
-
/**
|
|
13
|
-
* The size of the count down
|
|
14
|
-
* */
|
|
15
|
-
this.size = 'md';
|
|
16
|
-
/**
|
|
17
|
-
* The color of the count down
|
|
18
|
-
* */
|
|
19
|
-
this.color = 'dark';
|
|
20
|
-
/**
|
|
21
|
-
* The digits lang to show in the count down
|
|
22
|
-
* */
|
|
23
|
-
this.digits = 'auto';
|
|
24
|
-
this.daysLabel = salla.lang.getWithDefault('pages.checkout.day', 'يوم');
|
|
25
|
-
this.hoursLabel = salla.lang.getWithDefault('pages.checkout.hour', 'ساعة');
|
|
26
|
-
this.minutesLabel = salla.lang.getWithDefault('pages.checkout.minute', 'دقيقة');
|
|
27
|
-
this.secondsLabel = salla.lang.getWithDefault('pages.checkout.second', 'ثانية');
|
|
28
|
-
this.endLabel = salla.lang.getWithDefault('pages.checkout.offer_ended', 'انتهت مدة العرض');
|
|
29
|
-
this.invalidDate = salla.lang.getWithDefault('blocks.buy_as_gift.incorrect_date', 'الرجاء إدخال الموعد بشكل صحيح');
|
|
30
|
-
this.offerEnded = false;
|
|
31
|
-
this.days = this.number(0);
|
|
32
|
-
this.hours = this.number(0);
|
|
33
|
-
this.minutes = this.number(0);
|
|
34
|
-
this.seconds = this.number(0);
|
|
35
|
-
salla.lang.onLoaded(() => {
|
|
36
|
-
this.daysLabel = salla.lang.getWithDefault('pages.checkout.day', 'يوم');
|
|
37
|
-
this.hoursLabel = salla.lang.getWithDefault('pages.checkout.hour', 'ساعة');
|
|
38
|
-
this.minutesLabel = salla.lang.getWithDefault('pages.checkout.minute', 'دقيقة');
|
|
39
|
-
this.invalidDate = salla.lang.getWithDefault('blocks.buy_as_gift.incorrect_date', 'الرجاء إدخال الموعد بشكل صحيح');
|
|
40
|
-
this.secondsLabel = salla.lang.getWithDefault('pages.checkout.second', 'ثانية');
|
|
41
|
-
this.endLabel = salla.lang.getWithDefault('pages.checkout.offer_ended', 'انتهت مدة العرض');
|
|
42
|
-
});
|
|
43
|
-
if (this.date && this.isValidDate(this.date)) {
|
|
44
|
-
this.startCountDown();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* End the count down
|
|
49
|
-
* */
|
|
50
|
-
async endCountDown() {
|
|
51
|
-
clearInterval(this.countInterval);
|
|
52
|
-
this.offerEnded = true;
|
|
53
|
-
this.days = this.number(0);
|
|
54
|
-
this.hours = this.number(0);
|
|
55
|
-
this.minutes = this.number(0);
|
|
56
|
-
this.seconds = this.number(0);
|
|
57
|
-
}
|
|
58
|
-
componentWillLoad() {
|
|
59
|
-
if (typeof this.preOrder === 'string') {
|
|
60
|
-
try {
|
|
61
|
-
this.normalizedPreOrder = JSON.parse(this.preOrder);
|
|
62
|
-
}
|
|
63
|
-
catch {
|
|
64
|
-
this.normalizedPreOrder = undefined;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
this.normalizedPreOrder = this.preOrder;
|
|
69
|
-
}
|
|
70
|
-
if (this.normalizedPreOrder?.end_date) {
|
|
71
|
-
this.date = this.normalizedPreOrder.end_date;
|
|
72
|
-
if (this.date && this.isValidDate(this.date)) {
|
|
73
|
-
this.startCountDown();
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
isValidDate(date) {
|
|
78
|
-
let dateHasDashes = date.includes('-'), dateParts = date.split(' '), testedDate;
|
|
79
|
-
if (dateHasDashes) {
|
|
80
|
-
testedDate = dateParts[0].replace(/-/g, '/');
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
testedDate = dateParts[0];
|
|
84
|
-
}
|
|
85
|
-
return !isNaN(Date.parse(testedDate));
|
|
86
|
-
}
|
|
87
|
-
number(digit) {
|
|
88
|
-
return salla.helpers.number(digit, this.digits === 'en');
|
|
89
|
-
}
|
|
90
|
-
startCountDown() {
|
|
91
|
-
let countDownDate = new Date(this.date.replace(/-/g, '/'));
|
|
92
|
-
if (this.endOfDay || this.date.split(' ').length === 1) {
|
|
93
|
-
countDownDate.setHours(23, 59, 59, 999);
|
|
94
|
-
}
|
|
95
|
-
let countDownTime = countDownDate.getTime();
|
|
96
|
-
this.countInterval = setInterval(() => {
|
|
97
|
-
let now = new Date().getTime();
|
|
98
|
-
let distance = countDownTime - now;
|
|
99
|
-
this.days = this.number(Math.floor(distance / (1000 * 60 * 60 * 24)));
|
|
100
|
-
this.hours = this.number(Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)));
|
|
101
|
-
this.minutes = this.number(Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)));
|
|
102
|
-
this.seconds = this.number(Math.floor((distance % (1000 * 60)) / 1000));
|
|
103
|
-
if (distance < 0) {
|
|
104
|
-
this.endCountDown();
|
|
105
|
-
}
|
|
106
|
-
}, 1000);
|
|
107
|
-
}
|
|
108
|
-
renderCountDown() {
|
|
109
|
-
return (h("ul", { class: `s-count-down-list ${this.boxed ? 's-count-down-boxed' : ''} ${this.offerEnded ? 's-count-down-ended' : ''} s-count-down-${this.size} s-count-down-${this.color}` }, h("li", { class: "s-count-down-item" }, h("div", { class: "s-count-down-item-value" }, this.seconds), this.labeled && h("div", { class: "s-count-down-item-label" }, this.secondsLabel)), h("li", { class: "s-count-down-item" }, h("div", { class: "s-count-down-item-value" }, this.minutes), this.labeled && h("div", { class: "s-count-down-item-label" }, this.minutesLabel)), h("li", { class: "s-count-down-item" }, h("div", { class: "s-count-down-item-value" }, this.hours), this.labeled && h("div", { class: "s-count-down-item-label" }, this.hoursLabel)), h("li", { class: "s-count-down-item" }, h("div", { class: "s-count-down-item-value" }, this.days), this.labeled && h("div", { class: "s-count-down-item-label" }, this.daysLabel))));
|
|
110
|
-
}
|
|
111
|
-
renderInvalidDate() {
|
|
112
|
-
return h("div", { class: "s-count-down-text-center" }, this.invalidDate);
|
|
113
|
-
}
|
|
114
|
-
renderOfferEnded() {
|
|
115
|
-
return h("div", { class: "s-count-down-end-text" }, !!this.endText ? this.endText : this.endLabel);
|
|
116
|
-
}
|
|
117
|
-
renderPreOrderToBeAvailableOn() {
|
|
118
|
-
if (!this.normalizedPreOrder?.availability_date ||
|
|
119
|
-
!this.isValidDate(this.normalizedPreOrder?.availability_date))
|
|
120
|
-
return null;
|
|
121
|
-
return (h("div", { class: "s-count-down-info-message" }, h("i", { class: "sicon-info" }), h("span", null, salla.lang.getWithDefault('pages.products.expected_to_be', 'متوقَّع توفُّره بتاريخ:')), h("span", null, new Date(this.normalizedPreOrder?.availability_date).toLocaleDateString(salla.lang.locale, {
|
|
122
|
-
weekday: 'long',
|
|
123
|
-
year: 'numeric',
|
|
124
|
-
month: 'long',
|
|
125
|
-
day: 'numeric',
|
|
126
|
-
}))));
|
|
127
|
-
}
|
|
128
|
-
renderPreOrderCountDown() {
|
|
129
|
-
if (!this.normalizedPreOrder?.activate_countdown)
|
|
130
|
-
return null;
|
|
131
|
-
return (h("div", { class: "s-count-down-pre-order-container" }, h("p", { class: "text-sm " }, salla.lang.getWithDefault('pages.products.pre_order_ends_in', 'ينتهي الطلب المسبق خلال:')), this.renderCountDown()));
|
|
132
|
-
}
|
|
133
|
-
renderPreOrder() {
|
|
134
|
-
return (h("div", null, typeof this.normalizedPreOrder === 'object' &&
|
|
135
|
-
this.normalizedPreOrder?.availability_date &&
|
|
136
|
-
this.renderPreOrderToBeAvailableOn(), this.renderPreOrderCountDown()));
|
|
137
|
-
}
|
|
138
|
-
renderPrefixText() {
|
|
139
|
-
if (!this.prefixText)
|
|
140
|
-
return null;
|
|
141
|
-
return h("span", { class: "s-count-down-prefix-text" }, this.prefixText);
|
|
142
|
-
}
|
|
143
|
-
renderButton() {
|
|
144
|
-
if (!this.withButton || !this.buttonText)
|
|
145
|
-
return null;
|
|
146
|
-
return h("salla-button", { color: "primary", size: "medium", href: this.buttonHref }, this.buttonIcon ? h("i", { class: this.buttonIcon }) : null, h("span", null, this.buttonText));
|
|
147
|
-
}
|
|
148
|
-
renderContent() {
|
|
149
|
-
if (!this.date)
|
|
150
|
-
return null;
|
|
151
|
-
if (!this.isValidDate(this.date)) {
|
|
152
|
-
return this.renderInvalidDate();
|
|
153
|
-
}
|
|
154
|
-
if (this.preOrder) {
|
|
155
|
-
return this.renderPreOrder();
|
|
156
|
-
}
|
|
157
|
-
return this.renderCountDown();
|
|
158
|
-
}
|
|
159
|
-
render() {
|
|
160
|
-
return (h(Host, { key: '0cfdbb009d256be108123cabf3cb4311866bdc17', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
SallaCountDown.style = sallaCountDownCss;
|
|
164
|
-
|
|
165
7
|
var Heart = `<!-- Generated by IcoMoon.io -->
|
|
166
8
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
167
9
|
<title>heart</title>
|
|
@@ -312,4 +154,4 @@ const SallaProductCard = class {
|
|
|
312
154
|
};
|
|
313
155
|
SallaProductCard.style = sallaProductCardCss;
|
|
314
156
|
|
|
315
|
-
export {
|
|
157
|
+
export { SallaProductCard as salla_product_card };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
|
|
6
6
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
|
|
7
7
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { M as MailIcon } from './mail-DmgxDvXL.js';
|
|
6
6
|
import { C as Cancel } from './cancel-BsLF_HK7.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { W as WishListIcon } from './star-ZT7ehBBk.js';
|
|
6
6
|
import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
|
|
7
7
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.js';
|
|
5
5
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
|
|
7
7
|
var StoreAlt = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
|
|
7
7
|
import { M as MailIcon } from './mail-DmgxDvXL.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
|
|
6
6
|
|
|
7
7
|
var instagram = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, c as createEvent, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, c as createEvent, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
|
|
6
6
|
const sallaTabContentCss = "";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
|
|
6
6
|
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%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
|
|
6
6
|
import { B as BellRing } from './bell-ring-D3mWkc-3.js';
|
|
7
7
|
import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-BcMtCVX0.js';
|
|
5
5
|
import { G as Genders } from './interfaces-OF8QcbMM.js';
|
|
6
6
|
|
|
7
7
|
const sallaUserProfileCss = ":host{display:block}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.js';
|
|
5
5
|
|
|
6
6
|
var Bullhorn = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
|
|
5
5
|
import { M as MailIcon } from './mail-DmgxDvXL.js';
|
|
6
6
|
|
|
7
7
|
var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.js';
|
|
5
5
|
|
|
6
6
|
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}";
|
|
7
7
|
|