@salla.sa/twilight-components 2.14.251 → 2.14.253
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/{app-globals-0qyY-ElC.js → app-globals-BoVwS_2u.js} +3 -3
- package/dist/cjs/{app-globals-0qyY-ElC.js.map → app-globals-BoVwS_2u.js.map} +1 -1
- package/dist/cjs/{index-CxIOfeMA.js → index-DxXe1Ylr.js} +16 -16
- package/dist/cjs/index-DxXe1Ylr.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/salla-accordion.salla-accordion-body.salla-accordion-head.salla-order-details-options.entry.cjs.js.map +1 -0
- package/dist/cjs/salla-accordion_4.cjs.entry.js +202 -0
- package/dist/cjs/salla-accordion_4.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-add-product-button_51.cjs.entry.js +48 -48
- 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-booking-field_2.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +2 -2
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
- 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 +80 -0
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-order-details-multiple-bundle-product.entry.cjs.js.map +1 -0
- package/dist/cjs/salla-order-details.cjs.entry.js +53 -0
- package/dist/cjs/salla-order-details.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-order-details.entry.cjs.js.map +1 -0
- package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +3 -3
- package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
- package/dist/cjs/salla-product-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-card.cjs.entry.js +2 -2
- package/dist/cjs/salla-reviews-page.cjs.entry.js +2 -2
- package/dist/cjs/salla-reviews.cjs.entry.js +2 -2
- package/dist/cjs/salla-social.cjs.entry.js +2 -2
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/salla-accordion/salla-accordion-head.js +2 -2
- package/dist/collection/components/salla-accordion/salla-accordion-head.js.map +1 -1
- package/dist/collection/components/salla-accordion/salla-accordion.js +43 -1
- package/dist/collection/components/salla-accordion/salla-accordion.js.map +1 -1
- package/dist/collection/components/salla-alert/salla-alert.js +1 -1
- package/dist/collection/components/salla-booking-field/salla-booking-field.js +1 -1
- package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +2 -2
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
- package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
- package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
- package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
- package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
- package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
- package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
- package/dist/collection/components/salla-filters/salla-filters.js +1 -1
- package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
- package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
- package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
- package/dist/collection/components/salla-loading/salla-loading.js +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +1 -1
- package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
- package/dist/collection/components/salla-map/salla-map.js +3 -3
- package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
- package/dist/collection/components/salla-order-details/interfaces.js +2 -0
- package/dist/collection/components/salla-order-details/interfaces.js.map +1 -0
- package/dist/collection/components/salla-order-details/salla-order-details-multiple-bundle-product.css +0 -0
- package/dist/collection/components/salla-order-details/salla-order-details-multiple-bundle-product.js +152 -0
- package/dist/collection/components/salla-order-details/salla-order-details-multiple-bundle-product.js.map +1 -0
- package/dist/collection/components/salla-order-details/salla-order-details-options.css +0 -0
- package/dist/collection/components/salla-order-details/salla-order-details-options.js +177 -0
- package/dist/collection/components/salla-order-details/salla-order-details-options.js.map +1 -0
- package/dist/collection/components/salla-order-details/salla-order-details.css +0 -0
- package/dist/collection/components/salla-order-details/salla-order-details.js +93 -0
- package/dist/collection/components/salla-order-details/salla-order-details.js.map +1 -0
- package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
- package/dist/collection/components/salla-payments/salla-payments.js +2 -2
- package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
- package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
- package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
- package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
- package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
- package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
- package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
- package/dist/collection/components/salla-search/salla-search.js +3 -3
- package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
- package/dist/collection/components/salla-slider/salla-slider.js +2 -2
- package/dist/collection/components/salla-social/salla-social.js +1 -1
- package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/salla-accordion-body.js +1 -27
- package/dist/components/salla-accordion-body.js.map +1 -1
- package/dist/components/salla-accordion-body2.js +35 -0
- package/dist/components/salla-accordion-body2.js.map +1 -0
- package/dist/components/salla-accordion-head.js +1 -59
- package/dist/components/salla-accordion-head.js.map +1 -1
- package/dist/components/salla-accordion-head2.js +67 -0
- package/dist/components/salla-accordion-head2.js.map +1 -0
- package/dist/components/salla-accordion.js +1 -59
- package/dist/components/salla-accordion.js.map +1 -1
- package/dist/components/salla-accordion2.js +71 -0
- package/dist/components/salla-accordion2.js.map +1 -0
- package/dist/components/salla-alert.js +1 -1
- package/dist/components/salla-booking-field2.js +1 -1
- package/dist/components/salla-bottom-alert.js +2 -2
- package/dist/components/salla-cart-summary.js +1 -1
- package/dist/components/salla-color-picker2.js +1 -1
- package/dist/components/salla-comment-form2.js +1 -1
- package/dist/components/salla-comment-item2.js +3 -3
- package/dist/components/salla-conditional-fields2.js +1 -1
- package/dist/components/salla-count-down2.js +1 -1
- package/dist/components/salla-datetime-picker2.js +1 -1
- package/dist/components/salla-file-upload2.js +2 -2
- package/dist/components/salla-filters-widget2.js +2 -2
- package/dist/components/salla-filters.js +1 -1
- package/dist/components/salla-gifting.js +2 -2
- package/dist/components/salla-list-tile2.js +1 -1
- package/dist/components/salla-loading2.js +1 -1
- package/dist/components/salla-localization-modal.js +1 -1
- package/dist/components/salla-loyalty-prize-item.js +1 -1
- package/dist/components/salla-loyalty-program.js +1 -1
- package/dist/components/salla-maintenance-alert.js +1 -1
- package/dist/components/salla-map2.js +3 -3
- package/dist/components/salla-notification-item2.js +1 -1
- package/dist/components/salla-offer-modal.js +1 -1
- package/dist/components/salla-order-details-multiple-bundle-product.d.ts +11 -0
- package/dist/components/salla-order-details-multiple-bundle-product.js +12 -0
- package/dist/components/salla-order-details-multiple-bundle-product.js.map +1 -0
- package/dist/components/salla-order-details-multiple-bundle-product2.js +144 -0
- package/dist/components/salla-order-details-multiple-bundle-product2.js.map +1 -0
- package/dist/components/salla-order-details-options.d.ts +11 -0
- package/dist/components/salla-order-details-options.js +12 -0
- package/dist/components/salla-order-details-options.js.map +1 -0
- package/dist/components/salla-order-details-options2.js +145 -0
- package/dist/components/salla-order-details-options2.js.map +1 -0
- package/dist/components/salla-order-details.d.ts +11 -0
- package/dist/components/salla-order-details.js +127 -0
- package/dist/components/salla-order-details.js.map +1 -0
- package/dist/components/salla-order-summary.js +1 -1
- package/dist/components/salla-payments.js +2 -2
- package/dist/components/salla-placeholder2.js +1 -1
- package/dist/components/salla-price-range2.js +2 -2
- package/dist/components/salla-product-availability2.js +1 -1
- package/dist/components/salla-product-card2.js +5 -5
- package/dist/components/salla-product-size-guide.js +2 -2
- package/dist/components/salla-quantity-input.js +1 -1
- package/dist/components/salla-quick-buy2.js +1 -1
- package/dist/components/salla-review-card2.js +1 -1
- package/dist/components/salla-reviews-page.js +1 -1
- package/dist/components/salla-reviews.js +1 -1
- package/dist/components/salla-scopes.js +1 -1
- package/dist/components/salla-search.js +3 -3
- package/dist/components/salla-skeleton2.js +1 -1
- package/dist/components/salla-slider2.js +2 -2
- package/dist/components/salla-social-share.js +1 -1
- package/dist/components/salla-social.js +1 -1
- package/dist/components/salla-tab-content2.js +1 -1
- package/dist/components/salla-tab-header2.js +1 -1
- package/dist/components/salla-tabs2.js +1 -1
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-tooltip2.js +1 -1
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/esm/{app-globals-BBUHVW9U.js → app-globals-5yxEmkuB.js} +3 -3
- package/dist/esm/{app-globals-BBUHVW9U.js.map → app-globals-5yxEmkuB.js.map} +1 -1
- package/dist/esm/{index-aC-cHVMV.js → index-Hw2jlaNN.js} +16 -16
- package/dist/esm/index-Hw2jlaNN.js.map +1 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/salla-accordion.salla-accordion-body.salla-accordion-head.salla-order-details-options.entry.js.map +1 -0
- package/dist/esm/salla-accordion_4.entry.js +197 -0
- package/dist/esm/salla-accordion_4.entry.js.map +1 -0
- package/dist/esm/salla-add-product-button_51.entry.js +48 -48
- 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-booking-field_2.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
- package/dist/esm/salla-loyalty-program.entry.js +2 -2
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +2 -2
- 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 +78 -0
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js.map +1 -0
- package/dist/esm/salla-order-details.entry.js +51 -0
- package/dist/esm/salla-order-details.entry.js.map +1 -0
- package/dist/esm/salla-order-summary.entry.js +2 -2
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +3 -3
- package/dist/esm/salla-price-range.entry.js +3 -3
- package/dist/esm/salla-product-options.entry.js +1 -1
- package/dist/esm/salla-review-card.entry.js +2 -2
- package/dist/esm/salla-reviews-page.entry.js +2 -2
- package/dist/esm/salla-reviews.entry.js +2 -2
- package/dist/esm/salla-social.entry.js +2 -2
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +2 -2
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/twilight.js +4 -4
- package/dist/esm-es5/{app-globals-BBUHVW9U.js → app-globals-5yxEmkuB.js} +2 -2
- package/dist/esm-es5/{app-globals-BBUHVW9U.js.map → app-globals-5yxEmkuB.js.map} +1 -1
- package/dist/esm-es5/{index-aC-cHVMV.js → index-Hw2jlaNN.js} +3 -3
- package/dist/esm-es5/index-Hw2jlaNN.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/salla-accordion.salla-accordion-body.salla-accordion-head.salla-order-details-options.entry.js.map +1 -0
- package/dist/esm-es5/salla-accordion_4.entry.js +5 -0
- package/dist/esm-es5/salla-accordion_4.entry.js.map +1 -0
- package/dist/esm-es5/salla-add-product-button_51.entry.js +3 -3
- package/dist/esm-es5/salla-advertisement.entry.js +1 -1
- package/dist/esm-es5/salla-app-install-alert.entry.js +1 -1
- package/dist/esm-es5/salla-apps-icons.entry.js +1 -1
- package/dist/esm-es5/salla-booking-field_2.entry.js +1 -1
- package/dist/esm-es5/salla-cart-item-offers.entry.js +1 -1
- package/dist/esm-es5/salla-conditional-offer.entry.js +1 -1
- package/dist/esm-es5/salla-contacts.entry.js +1 -1
- package/dist/esm-es5/salla-filters-widget.entry.js +1 -1
- package/dist/esm-es5/salla-filters.entry.js +1 -1
- package/dist/esm-es5/salla-installment.entry.js +1 -1
- package/dist/esm-es5/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm-es5/salla-loyalty-program.entry.js +1 -1
- package/dist/esm-es5/salla-metadata.entry.js +2 -2
- package/dist/esm-es5/salla-notification-item.entry.js +1 -1
- package/dist/esm-es5/salla-notifications.entry.js +2 -2
- package/dist/esm-es5/salla-offer.entry.js +1 -1
- package/dist/esm-es5/salla-order-details-multiple-bundle-product.entry.js +5 -0
- package/dist/esm-es5/salla-order-details-multiple-bundle-product.entry.js.map +1 -0
- package/dist/esm-es5/salla-order-details.entry.js +5 -0
- package/dist/esm-es5/salla-order-details.entry.js.map +1 -0
- package/dist/esm-es5/salla-order-summary.entry.js +2 -2
- package/dist/esm-es5/salla-orders.entry.js +1 -1
- package/dist/esm-es5/salla-payments.entry.js +1 -1
- package/dist/esm-es5/salla-price-range.entry.js +2 -2
- package/dist/esm-es5/salla-product-options.entry.js +1 -1
- package/dist/esm-es5/salla-review-card.entry.js +1 -1
- package/dist/esm-es5/salla-reviews-page.entry.js +1 -1
- package/dist/esm-es5/salla-reviews.entry.js +1 -1
- package/dist/esm-es5/salla-social.entry.js +1 -1
- package/dist/esm-es5/salla-tiered-offer.entry.js +1 -1
- package/dist/esm-es5/salla-tooltip.entry.js +1 -1
- package/dist/esm-es5/salla-verify.entry.js +1 -1
- package/dist/esm-es5/salla-wallet.entry.js +1 -1
- package/dist/esm-es5/twilight.js +1 -1
- package/dist/twilight/{p-04b3d375.entry.js → p-0065a55b.entry.js} +2 -2
- package/dist/twilight/{p-6a16b86d.system.entry.js → p-05cf8f0f.system.entry.js} +2 -2
- package/dist/twilight/p-066a5e95.system.entry.js +5 -0
- package/dist/twilight/{p-342eda73.entry.js → p-0a58ecb2.entry.js} +2 -2
- package/dist/twilight/{p-1d08e23e.system.entry.js → p-0ab8c50f.system.entry.js} +2 -2
- package/dist/twilight/{p-3407c5ef.entry.js → p-13efdbe3.entry.js} +2 -2
- package/dist/twilight/{p-94b99a34.entry.js → p-13f1a287.entry.js} +2 -2
- package/dist/twilight/{p-e29eb090.system.entry.js → p-15c42251.system.entry.js} +2 -2
- package/dist/twilight/{p-09117f81.system.entry.js → p-17567b38.system.entry.js} +2 -2
- package/dist/twilight/p-184bc156.system.entry.js +5 -0
- package/dist/twilight/p-184bc156.system.entry.js.map +1 -0
- package/dist/twilight/{p-21c35fec.entry.js → p-204e0ad2.entry.js} +2 -2
- package/dist/twilight/{p-d01c0575.entry.js → p-210ccdae.entry.js} +2 -2
- package/dist/twilight/{p-9c2bf5c2.entry.js → p-240b86ef.entry.js} +2 -2
- package/dist/twilight/{p-18bd19bd.entry.js → p-27206d63.entry.js} +2 -2
- package/dist/twilight/{p-779536eb.entry.js → p-35dd7512.entry.js} +4 -4
- package/dist/twilight/{p-fabacea5.system.entry.js → p-38675c42.system.entry.js} +2 -2
- package/dist/twilight/{p-4d318ffc.system.entry.js → p-3cdd4d44.system.entry.js} +2 -2
- package/dist/twilight/{p-56074b1e.entry.js → p-3e9ceed0.entry.js} +2 -2
- package/dist/twilight/{p-b75d729a.system.entry.js → p-447f03b5.system.entry.js} +2 -2
- package/dist/twilight/{p-9f75e64f.entry.js → p-4b7e613a.entry.js} +2 -2
- package/dist/twilight/{p-a94e5163.entry.js → p-4d5387e9.entry.js} +2 -2
- package/dist/twilight/{p-b9a992c8.system.entry.js → p-53fb14d0.system.entry.js} +2 -2
- package/dist/twilight/p-5db51240.system.entry.js +5 -0
- package/dist/twilight/{p-f777295c.system.entry.js → p-61f590ca.system.entry.js} +2 -2
- package/dist/twilight/p-6a179bc3.system.entry.js +5 -0
- package/dist/twilight/p-6a179bc3.system.entry.js.map +1 -0
- package/dist/twilight/{p-9297d5d0.system.entry.js → p-6a51cb91.system.entry.js} +2 -2
- package/dist/twilight/{p-5dda0431.entry.js → p-6abfa7ed.entry.js} +2 -2
- package/dist/twilight/{p-8a55a076.entry.js → p-6f66faea.entry.js} +2 -2
- package/dist/twilight/{p-efcf803a.entry.js → p-7187b729.entry.js} +2 -2
- package/dist/twilight/{p-49051076.system.entry.js → p-765562b8.system.entry.js} +4 -4
- package/dist/twilight/p-76d92026.entry.js +5 -0
- package/dist/twilight/p-76d92026.entry.js.map +1 -0
- package/dist/twilight/{p-70688702.entry.js → p-78deca48.entry.js} +2 -2
- package/dist/twilight/{p-7f9f9400.system.entry.js → p-7dce6627.system.entry.js} +2 -2
- package/dist/twilight/p-7f28b72e.entry.js +5 -0
- package/dist/twilight/p-7f28b72e.entry.js.map +1 -0
- package/dist/twilight/{p-0d0836f3.entry.js → p-83f6408a.entry.js} +2 -2
- package/dist/twilight/{p-b7bb5a85.system.entry.js → p-888de4b8.system.entry.js} +2 -2
- package/dist/twilight/{p-CHKd1ZbK.system.js.map → p-8SAlNoQ7.system.js.map} +1 -1
- package/dist/twilight/{p-DoomSogT.system.js.map → p-8cuU9AcW.system.js.map} +1 -1
- package/dist/twilight/{p-29440936.system.entry.js → p-8e807035.system.entry.js} +2 -2
- package/dist/twilight/{p-08b3ea63.system.entry.js → p-8fcff962.system.entry.js} +2 -2
- package/dist/twilight/p-9a8a57f0.entry.js +5 -0
- package/dist/twilight/{p-1b9e31b1.system.entry.js → p-9cb1a11d.system.entry.js} +2 -2
- package/dist/twilight/{p-Chh9LXws.system.js.map → p-B10yx9se.system.js.map} +1 -1
- package/dist/twilight/{p-sLrIToFR.system.js.map → p-BKsOE9n5.system.js.map} +1 -1
- package/dist/twilight/{p-24T5fnEM.system.js.map → p-BzHfWaAI.system.js.map} +1 -1
- package/dist/twilight/{p-C3l3EpVC.system.js.map → p-C0IcnmR-.system.js.map} +1 -1
- package/dist/twilight/{p-81UxRwTN.system.js.map → p-C0Tc4qY_.system.js.map} +1 -1
- package/dist/twilight/{p-D1othg3r.system.js.map → p-C72wuhae.system.js.map} +1 -1
- package/dist/twilight/{p-fkQosYiP.system.js.map → p-CDuCVzYE.system.js.map} +1 -1
- package/dist/twilight/{p-YRdrauTw.system.js.map → p-CK7f65RE.system.js.map} +1 -1
- package/dist/twilight/{p-9cvlynxW.system.js → p-CQDiSGcm.system.js} +3 -3
- package/dist/twilight/p-CQDiSGcm.system.js.map +1 -0
- package/dist/twilight/{p-63hxYOEG.system.js.map → p-Crz5Om7F.system.js.map} +1 -1
- package/dist/twilight/p-D6vllM1-.system.js.map +1 -0
- package/dist/twilight/{p-o3nk7iqR.system.js.map → p-DHIqW0kb.system.js.map} +1 -1
- package/dist/twilight/{p-Bl7BRAvB.system.js → p-DHVFvgH-.system.js} +2 -2
- package/dist/twilight/{p-Bl7BRAvB.system.js.map → p-DHVFvgH-.system.js.map} +1 -1
- package/dist/twilight/{p-Cie2T8Bo.system.js.map → p-DNXP15r0.system.js.map} +1 -1
- package/dist/twilight/{p-3etOZ9ok.system.js.map → p-DNsqaxY7.system.js.map} +1 -1
- package/dist/twilight/{p-gyc8toCS.system.js.map → p-DTx9WCBY.system.js.map} +1 -1
- package/dist/twilight/{p-a3gxDXSb.system.js.map → p-DVKxP5is.system.js.map} +1 -1
- package/dist/twilight/p-DVpqfl3D.system.js.map +1 -0
- package/dist/twilight/{p-Craz4PUF.system.js.map → p-DZTRKwds.system.js.map} +1 -1
- package/dist/twilight/{p-Dohhf_R_.system.js.map → p-DZajWqW2.system.js.map} +1 -1
- package/dist/twilight/{p-Uzujt2uQ.system.js.map → p-Da2A-hsX.system.js.map} +1 -1
- package/dist/twilight/{p-CbFmk86R.system.js.map → p-DgVuWfs6.system.js.map} +1 -1
- package/dist/twilight/p-Dhlfiere.system.js +5 -0
- package/dist/twilight/{p-CBqvheHa.system.js.map → p-Dhlfiere.system.js.map} +1 -1
- package/dist/twilight/{p-DOCHKq2e.system.js.map → p-DkCrulih.system.js.map} +1 -1
- package/dist/twilight/{p-7HslI1sO.system.js.map → p-Du8MMxWf.system.js.map} +1 -1
- package/dist/twilight/{p-De28Pl5h.system.js.map → p-DvSX1guT.system.js.map} +1 -1
- package/dist/twilight/{p-aC-cHVMV.js → p-Hw2jlaNN.js} +3 -3
- package/dist/twilight/p-Hw2jlaNN.js.map +1 -0
- package/dist/twilight/{p-DbkDylL6.system.js.map → p-N45BdAU8.system.js.map} +1 -1
- package/dist/twilight/{p-cW_hSk8i.js → p-NSLkL4Dn.js} +2 -2
- package/dist/twilight/{p-cW_hSk8i.js.map → p-NSLkL4Dn.js.map} +1 -1
- package/dist/twilight/{p-BZAlfa8A.system.js.map → p-QNwQUqLM.system.js.map} +1 -1
- package/dist/twilight/{p-DobF7Qkv.system.js.map → p-XDYW48AK.system.js.map} +1 -1
- package/dist/twilight/{p-75203eae.entry.js → p-a8cf78c0.entry.js} +2 -2
- package/dist/twilight/p-a9c9a4ac.entry.js +5 -0
- package/dist/twilight/p-a9c9a4ac.entry.js.map +1 -0
- package/dist/twilight/{p-65d9d657.entry.js → p-b13ef44c.entry.js} +2 -2
- package/dist/twilight/{p-47fc4553.entry.js → p-b492c336.entry.js} +2 -2
- package/dist/twilight/{p-b0584206.entry.js → p-b51bb42b.entry.js} +2 -2
- package/dist/twilight/{p-3fb416fa.entry.js → p-bb1a0f6b.entry.js} +2 -2
- package/dist/twilight/{p-92fb3adc.entry.js → p-bca6b6b2.entry.js} +2 -2
- package/dist/twilight/{p-af7ace10.entry.js → p-bdca9c9c.entry.js} +2 -2
- package/dist/twilight/p-be2938da.entry.js +5 -0
- package/dist/twilight/{p-3438bc0c.entry.js → p-c5b5a947.entry.js} +2 -2
- package/dist/twilight/{p-DOHYAySQ.system.js.map → p-cK_8A-PC.system.js.map} +1 -1
- package/dist/twilight/{p-BaUsKGrq.system.js.map → p-cR7gWxFU.system.js.map} +1 -1
- package/dist/twilight/p-d314110a.system.entry.js +5 -0
- package/dist/twilight/p-d314110a.system.entry.js.map +1 -0
- package/dist/twilight/{p-8c2a97cf.system.entry.js → p-d33197dc.system.entry.js} +3 -3
- package/dist/twilight/{p-2d2fce30.system.entry.js → p-d3c9cfbb.system.entry.js} +2 -2
- package/dist/twilight/{p-56628b3c.system.entry.js → p-d4017888.system.entry.js} +2 -2
- package/dist/twilight/{p-0e931dd0.system.entry.js → p-d43b5d6a.system.entry.js} +2 -2
- package/dist/twilight/{p-a3c00836.entry.js → p-d7604122.entry.js} +2 -2
- package/dist/twilight/{p-e5cd34c3.system.entry.js → p-d8039b97.system.entry.js} +2 -2
- package/dist/twilight/{p-4a4cad07.system.entry.js → p-db9674c2.system.entry.js} +2 -2
- package/dist/twilight/{p-92a2ce11.system.entry.js → p-eb292930.system.entry.js} +2 -2
- package/dist/twilight/{p-f9735e19.system.entry.js → p-ec034bd2.system.entry.js} +3 -3
- package/dist/twilight/{p-2f85174e.system.entry.js → p-f07ad750.system.entry.js} +2 -2
- package/dist/twilight/{p-939b203a.system.entry.js → p-f0b1ceef.system.entry.js} +2 -2
- package/dist/twilight/p-f5aefbca.system.entry.js +5 -0
- package/dist/twilight/{p-7e1c3fd9.entry.js → p-fb399776.entry.js} +2 -2
- package/dist/twilight/{p-5054fc18.entry.js → p-fe81524d.entry.js} +2 -2
- package/dist/twilight/p-fed7a7a5.system.entry.js +5 -0
- package/dist/twilight/{p-BSHk_PNC.system.js.map → p-jx7CG3rj.system.js.map} +1 -1
- package/dist/twilight/{p-DFTLMdWL.system.js.map → p-lRCsnz7i.system.js.map} +1 -1
- package/dist/twilight/p-oqUqe5ch.system.js.map +1 -0
- package/dist/twilight/{p-B-6fJi1f.system.js.map → p-xRJ6wvh1.system.js.map} +1 -1
- package/dist/twilight/salla-accordion.salla-accordion-body.salla-accordion-head.salla-order-details-options.entry.esm.js.map +1 -0
- package/dist/twilight/salla-order-details-multiple-bundle-product.entry.esm.js.map +1 -0
- package/dist/twilight/salla-order-details.entry.esm.js.map +1 -0
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/twilight/twilight.js +1 -1
- package/dist/types/components/salla-accordion/salla-accordion.d.ts +2 -0
- package/dist/types/components/salla-order-details/interfaces.d.ts +55 -0
- package/dist/types/components/salla-order-details/salla-order-details-multiple-bundle-product.d.ts +22 -0
- package/dist/types/components/salla-order-details/salla-order-details-options.d.ts +23 -0
- package/dist/types/components/salla-order-details/salla-order-details.d.ts +14 -0
- package/dist/types/components.d.ts +173 -0
- package/package.json +5 -5
- package/dist/cjs/index-CxIOfeMA.js.map +0 -1
- package/dist/cjs/salla-accordion-body.cjs.entry.js +0 -23
- package/dist/cjs/salla-accordion-body.cjs.entry.js.map +0 -1
- package/dist/cjs/salla-accordion-body.entry.cjs.js.map +0 -1
- package/dist/cjs/salla-accordion-head.cjs.entry.js +0 -52
- package/dist/cjs/salla-accordion-head.cjs.entry.js.map +0 -1
- package/dist/cjs/salla-accordion-head.entry.cjs.js.map +0 -1
- package/dist/cjs/salla-accordion.cjs.entry.js +0 -51
- package/dist/cjs/salla-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/salla-accordion.entry.cjs.js.map +0 -1
- package/dist/esm/index-aC-cHVMV.js.map +0 -1
- package/dist/esm/salla-accordion-body.entry.js +0 -21
- package/dist/esm/salla-accordion-body.entry.js.map +0 -1
- package/dist/esm/salla-accordion-head.entry.js +0 -50
- package/dist/esm/salla-accordion-head.entry.js.map +0 -1
- package/dist/esm/salla-accordion.entry.js +0 -49
- package/dist/esm/salla-accordion.entry.js.map +0 -1
- package/dist/esm-es5/index-aC-cHVMV.js.map +0 -1
- package/dist/esm-es5/salla-accordion-body.entry.js +0 -5
- package/dist/esm-es5/salla-accordion-body.entry.js.map +0 -1
- package/dist/esm-es5/salla-accordion-head.entry.js +0 -5
- package/dist/esm-es5/salla-accordion-head.entry.js.map +0 -1
- package/dist/esm-es5/salla-accordion.entry.js +0 -5
- package/dist/esm-es5/salla-accordion.entry.js.map +0 -1
- package/dist/twilight/p-03f5a937.entry.js +0 -5
- package/dist/twilight/p-0443edb2.entry.js +0 -5
- package/dist/twilight/p-0443edb2.entry.js.map +0 -1
- package/dist/twilight/p-3b207dc4.system.entry.js +0 -5
- package/dist/twilight/p-3e82f611.entry.js +0 -5
- package/dist/twilight/p-3e82f611.entry.js.map +0 -1
- package/dist/twilight/p-61471a8d.system.entry.js +0 -5
- package/dist/twilight/p-61471a8d.system.entry.js.map +0 -1
- package/dist/twilight/p-6943af29.system.entry.js +0 -5
- package/dist/twilight/p-6943af29.system.entry.js.map +0 -1
- package/dist/twilight/p-8d02af0b.system.entry.js +0 -5
- package/dist/twilight/p-98ca67d7.entry.js +0 -5
- package/dist/twilight/p-9b7b035c.entry.js +0 -5
- package/dist/twilight/p-9b7b035c.entry.js.map +0 -1
- package/dist/twilight/p-9cvlynxW.system.js.map +0 -1
- package/dist/twilight/p-B6pAHU4P.system.js.map +0 -1
- package/dist/twilight/p-CBqvheHa.system.js +0 -5
- package/dist/twilight/p-D74Dhmc1.system.js.map +0 -1
- package/dist/twilight/p-QCD41AKz.system.js.map +0 -1
- package/dist/twilight/p-a5b4c38f.system.entry.js +0 -5
- package/dist/twilight/p-aC-cHVMV.js.map +0 -1
- package/dist/twilight/p-b1f25cb5.system.entry.js +0 -5
- package/dist/twilight/p-e1a599fb.system.entry.js +0 -5
- package/dist/twilight/p-e1a599fb.system.entry.js.map +0 -1
- package/dist/twilight/salla-accordion-body.entry.esm.js.map +0 -1
- package/dist/twilight/salla-accordion-head.entry.esm.js.map +0 -1
- package/dist/twilight/salla-accordion.entry.esm.js.map +0 -1
- /package/dist/twilight/{p-04b3d375.entry.js.map → p-0065a55b.entry.js.map} +0 -0
- /package/dist/twilight/{p-6a16b86d.system.entry.js.map → p-05cf8f0f.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-8d02af0b.system.entry.js.map → p-066a5e95.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-342eda73.entry.js.map → p-0a58ecb2.entry.js.map} +0 -0
- /package/dist/twilight/{p-1d08e23e.system.entry.js.map → p-0ab8c50f.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-3407c5ef.entry.js.map → p-13efdbe3.entry.js.map} +0 -0
- /package/dist/twilight/{p-94b99a34.entry.js.map → p-13f1a287.entry.js.map} +0 -0
- /package/dist/twilight/{p-e29eb090.system.entry.js.map → p-15c42251.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-09117f81.system.entry.js.map → p-17567b38.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-21c35fec.entry.js.map → p-204e0ad2.entry.js.map} +0 -0
- /package/dist/twilight/{p-d01c0575.entry.js.map → p-210ccdae.entry.js.map} +0 -0
- /package/dist/twilight/{p-9c2bf5c2.entry.js.map → p-240b86ef.entry.js.map} +0 -0
- /package/dist/twilight/{p-18bd19bd.entry.js.map → p-27206d63.entry.js.map} +0 -0
- /package/dist/twilight/{p-779536eb.entry.js.map → p-35dd7512.entry.js.map} +0 -0
- /package/dist/twilight/{p-fabacea5.system.entry.js.map → p-38675c42.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-4d318ffc.system.entry.js.map → p-3cdd4d44.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-56074b1e.entry.js.map → p-3e9ceed0.entry.js.map} +0 -0
- /package/dist/twilight/{p-b75d729a.system.entry.js.map → p-447f03b5.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-9f75e64f.entry.js.map → p-4b7e613a.entry.js.map} +0 -0
- /package/dist/twilight/{p-a94e5163.entry.js.map → p-4d5387e9.entry.js.map} +0 -0
- /package/dist/twilight/{p-b9a992c8.system.entry.js.map → p-53fb14d0.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-3b207dc4.system.entry.js.map → p-5db51240.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-f777295c.system.entry.js.map → p-61f590ca.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-9297d5d0.system.entry.js.map → p-6a51cb91.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-5dda0431.entry.js.map → p-6abfa7ed.entry.js.map} +0 -0
- /package/dist/twilight/{p-8a55a076.entry.js.map → p-6f66faea.entry.js.map} +0 -0
- /package/dist/twilight/{p-efcf803a.entry.js.map → p-7187b729.entry.js.map} +0 -0
- /package/dist/twilight/{p-49051076.system.entry.js.map → p-765562b8.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-70688702.entry.js.map → p-78deca48.entry.js.map} +0 -0
- /package/dist/twilight/{p-7f9f9400.system.entry.js.map → p-7dce6627.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-0d0836f3.entry.js.map → p-83f6408a.entry.js.map} +0 -0
- /package/dist/twilight/{p-b7bb5a85.system.entry.js.map → p-888de4b8.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-29440936.system.entry.js.map → p-8e807035.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-08b3ea63.system.entry.js.map → p-8fcff962.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-98ca67d7.entry.js.map → p-9a8a57f0.entry.js.map} +0 -0
- /package/dist/twilight/{p-1b9e31b1.system.entry.js.map → p-9cb1a11d.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-75203eae.entry.js.map → p-a8cf78c0.entry.js.map} +0 -0
- /package/dist/twilight/{p-65d9d657.entry.js.map → p-b13ef44c.entry.js.map} +0 -0
- /package/dist/twilight/{p-47fc4553.entry.js.map → p-b492c336.entry.js.map} +0 -0
- /package/dist/twilight/{p-b0584206.entry.js.map → p-b51bb42b.entry.js.map} +0 -0
- /package/dist/twilight/{p-3fb416fa.entry.js.map → p-bb1a0f6b.entry.js.map} +0 -0
- /package/dist/twilight/{p-92fb3adc.entry.js.map → p-bca6b6b2.entry.js.map} +0 -0
- /package/dist/twilight/{p-af7ace10.entry.js.map → p-bdca9c9c.entry.js.map} +0 -0
- /package/dist/twilight/{p-03f5a937.entry.js.map → p-be2938da.entry.js.map} +0 -0
- /package/dist/twilight/{p-3438bc0c.entry.js.map → p-c5b5a947.entry.js.map} +0 -0
- /package/dist/twilight/{p-8c2a97cf.system.entry.js.map → p-d33197dc.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-2d2fce30.system.entry.js.map → p-d3c9cfbb.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-56628b3c.system.entry.js.map → p-d4017888.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-0e931dd0.system.entry.js.map → p-d43b5d6a.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-a3c00836.entry.js.map → p-d7604122.entry.js.map} +0 -0
- /package/dist/twilight/{p-e5cd34c3.system.entry.js.map → p-d8039b97.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-4a4cad07.system.entry.js.map → p-db9674c2.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-92a2ce11.system.entry.js.map → p-eb292930.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-f9735e19.system.entry.js.map → p-ec034bd2.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-2f85174e.system.entry.js.map → p-f07ad750.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-939b203a.system.entry.js.map → p-f0b1ceef.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-a5b4c38f.system.entry.js.map → p-f5aefbca.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-7e1c3fd9.entry.js.map → p-fb399776.entry.js.map} +0 -0
- /package/dist/twilight/{p-5054fc18.entry.js.map → p-fe81524d.entry.js.map} +0 -0
- /package/dist/twilight/{p-b1f25cb5.system.entry.js.map → p-fed7a7a5.system.entry.js.map} +0 -0
|
@@ -1,33 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const sallaAccordionBodyCss = "";
|
|
7
|
-
|
|
8
|
-
const SallaAccordionBody$1 = /*@__PURE__*/ proxyCustomElement(class SallaAccordionBody extends HTMLElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (h(Host, { key: '298d42a5bf1bcefdb181ec35060220cf749b56ed', class: "s-accordion-body-wrapper" }, h("slot", { key: '6ab081e8b71b5dc69fb66fbdec82b4725ab53b0d' })));
|
|
15
|
-
}
|
|
16
|
-
static get style() { return sallaAccordionBodyCss; }
|
|
17
|
-
}, [4, "salla-accordion-body"]);
|
|
18
|
-
function defineCustomElement$1() {
|
|
19
|
-
if (typeof customElements === "undefined") {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const components = ["salla-accordion-body"];
|
|
23
|
-
components.forEach(tagName => { switch (tagName) {
|
|
24
|
-
case "salla-accordion-body":
|
|
25
|
-
if (!customElements.get(tagName)) {
|
|
26
|
-
customElements.define(tagName, SallaAccordionBody$1);
|
|
27
|
-
}
|
|
28
|
-
break;
|
|
29
|
-
} });
|
|
30
|
-
}
|
|
4
|
+
import { S as SallaAccordionBody$1, d as defineCustomElement$1 } from './salla-accordion-body2.js';
|
|
31
5
|
|
|
32
6
|
const SallaAccordionBody = SallaAccordionBody$1;
|
|
33
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"salla-accordion-body.js","mappings":"
|
|
1
|
+
{"file":"salla-accordion-body.js","mappings":";;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
+
|
|
6
|
+
const sallaAccordionBodyCss = "";
|
|
7
|
+
|
|
8
|
+
const SallaAccordionBody = /*@__PURE__*/ proxyCustomElement(class SallaAccordionBody extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { key: '298d42a5bf1bcefdb181ec35060220cf749b56ed', class: "s-accordion-body-wrapper" }, h("slot", { key: '6ab081e8b71b5dc69fb66fbdec82b4725ab53b0d' })));
|
|
15
|
+
}
|
|
16
|
+
static get style() { return sallaAccordionBodyCss; }
|
|
17
|
+
}, [4, "salla-accordion-body"]);
|
|
18
|
+
function defineCustomElement() {
|
|
19
|
+
if (typeof customElements === "undefined") {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const components = ["salla-accordion-body"];
|
|
23
|
+
components.forEach(tagName => { switch (tagName) {
|
|
24
|
+
case "salla-accordion-body":
|
|
25
|
+
if (!customElements.get(tagName)) {
|
|
26
|
+
customElements.define(tagName, SallaAccordionBody);
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
} });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { SallaAccordionBody as S, defineCustomElement as d };
|
|
33
|
+
//# sourceMappingURL=salla-accordion-body2.js.map
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=salla-accordion-body2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"salla-accordion-body2.js","mappings":";;;;;AAAA,MAAM,qBAAqB,GAAG,EAAE;;MCWnB,kBAAkB,iBAAAA,kBAAA,CAAA,MAAA,kBAAA,SAAA,WAAA,CAAA;;;;;IAC7B,MAAM,GAAA;QACJ,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0BAA0B,EAAA,EACpC,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement"],"sources":["src/components/salla-accordion/salla-accordion-body.scss?tag=salla-accordion-body","src/components/salla-accordion/salla-accordion-body.tsx"],"sourcesContent":["\n","import { Component, Host, h } from '@stencil/core';\n\n/**\n * @salla/ui-components\n * The `salla-accordion-body` component represents the body/content of an accordion.\n */\n@Component({\n tag: 'salla-accordion-body',\n styleUrl: 'salla-accordion-body.scss',\n shadow: false\n})\nexport class SallaAccordionBody {\n render() {\n return (\n <Host class=\"s-accordion-body-wrapper\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,65 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import { A as Add, M as Minus } from './minus.js';
|
|
6
|
-
|
|
7
|
-
const sallaAccordionHeadCss = "";
|
|
8
|
-
|
|
9
|
-
const SallaAccordionHead$1 = /*@__PURE__*/ proxyCustomElement(class SallaAccordionHead extends HTMLElement {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
this.accordionToggle = createEvent(this, "accordionToggle", 7);
|
|
14
|
-
/** Should the accordion be collapsible or not. */
|
|
15
|
-
this.collapsible = false;
|
|
16
|
-
/** Current collapsed state */
|
|
17
|
-
this.collapsed = true;
|
|
18
|
-
}
|
|
19
|
-
emitCollapsePanel() {
|
|
20
|
-
this.accordionToggle.emit({
|
|
21
|
-
payload: {
|
|
22
|
-
collapsed: this.collapsed,
|
|
23
|
-
},
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
toggleCollapse() {
|
|
27
|
-
var _a, _b, _c;
|
|
28
|
-
if (!this.collapsible)
|
|
29
|
-
return;
|
|
30
|
-
this.collapsed = !this.collapsed;
|
|
31
|
-
(_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.setAttribute('data-collapsed', this.collapsed.toString());
|
|
32
|
-
(_c = (_b = this.host.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('salla-accordion-body')) === null || _c === void 0 ? void 0 : _c.setAttribute('data-collapsed', this.collapsed.toString());
|
|
33
|
-
this.emitCollapsePanel();
|
|
34
|
-
}
|
|
35
|
-
render() {
|
|
36
|
-
return (h(Host, { key: '9bb7ad4ad615f5316968b48839b2433619bd3850', "data-collapsed": this.collapsed.toString(), onClick: () => this.toggleCollapse(), class: "s-accordion-head-wrapper" }, h("div", { key: '6826492e1c552440d6407435dfe4e0ca3915cdf4', class: "s-accordion-head-wrapper-start" }, h("slot", { key: '2c19c500b57444ac8f69c2f64616904a819f54da', name: "title" }), h("slot", { key: 'a6ed0daccd969ec94128f5f749ccddfa9f62e5d3', name: "subtitle" })), h("div", { key: 'ddeff9dcacc42028d272298371c721ce00039176', class: "s-accordion-head-wrapper-end" }, h("slot", { key: 'daa4d8c9db6484f3fc67cf855250c5bc3cc59314', name: "notification" }), this.collapsible && (h("button", { key: '2bcc66dc07c3ae1ea9a31fbd0c7b8204f1eca2be', class: {
|
|
37
|
-
's-accordion-head-wrapper-toggle': true,
|
|
38
|
-
active: !this.collapsed,
|
|
39
|
-
}, onClick: e => {
|
|
40
|
-
e.stopPropagation();
|
|
41
|
-
this.toggleCollapse();
|
|
42
|
-
} }, h("span", { key: '2853844a2fbc662c002f7e2cacb299874c9debb3', class: "s-accordion-head-wrapper-toggle-icon", innerHTML: this.collapsed ? Add : Minus }))))));
|
|
43
|
-
}
|
|
44
|
-
get host() { return this; }
|
|
45
|
-
static get style() { return sallaAccordionHeadCss; }
|
|
46
|
-
}, [4, "salla-accordion-head", {
|
|
47
|
-
"collapsible": [4],
|
|
48
|
-
"collapsed": [1540]
|
|
49
|
-
}]);
|
|
50
|
-
function defineCustomElement$1() {
|
|
51
|
-
if (typeof customElements === "undefined") {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
const components = ["salla-accordion-head"];
|
|
55
|
-
components.forEach(tagName => { switch (tagName) {
|
|
56
|
-
case "salla-accordion-head":
|
|
57
|
-
if (!customElements.get(tagName)) {
|
|
58
|
-
customElements.define(tagName, SallaAccordionHead$1);
|
|
59
|
-
}
|
|
60
|
-
break;
|
|
61
|
-
} });
|
|
62
|
-
}
|
|
4
|
+
import { S as SallaAccordionHead$1, d as defineCustomElement$1 } from './salla-accordion-head2.js';
|
|
63
5
|
|
|
64
6
|
const SallaAccordionHead = SallaAccordionHead$1;
|
|
65
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"salla-accordion-head.js","mappings":"
|
|
1
|
+
{"file":"salla-accordion-head.js","mappings":";;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
|
+
import { A as Add, M as Minus } from './minus.js';
|
|
6
|
+
|
|
7
|
+
const sallaAccordionHeadCss = "";
|
|
8
|
+
|
|
9
|
+
const SallaAccordionHead = /*@__PURE__*/ proxyCustomElement(class SallaAccordionHead extends HTMLElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.accordionToggle = createEvent(this, "accordionToggle", 7);
|
|
14
|
+
/** Should the accordion be collapsible or not. */
|
|
15
|
+
this.collapsible = false;
|
|
16
|
+
/** Current collapsed state */
|
|
17
|
+
this.collapsed = true;
|
|
18
|
+
}
|
|
19
|
+
emitCollapsePanel() {
|
|
20
|
+
this.accordionToggle.emit({
|
|
21
|
+
payload: {
|
|
22
|
+
collapsed: this.collapsed,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
toggleCollapse() {
|
|
27
|
+
var _a, _b, _c;
|
|
28
|
+
if (!this.collapsible)
|
|
29
|
+
return;
|
|
30
|
+
this.collapsed = !this.collapsed;
|
|
31
|
+
(_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.setAttribute('data-collapsed', this.collapsed.toString());
|
|
32
|
+
(_c = (_b = this.host.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('salla-accordion-body')) === null || _c === void 0 ? void 0 : _c.setAttribute('data-collapsed', this.collapsed.toString());
|
|
33
|
+
this.emitCollapsePanel();
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
return (h(Host, { key: '9bb7ad4ad615f5316968b48839b2433619bd3850', "data-collapsed": this.collapsed.toString(), onClick: () => this.toggleCollapse(), class: "s-accordion-head-wrapper" }, h("div", { key: '6826492e1c552440d6407435dfe4e0ca3915cdf4', class: "s-accordion-head-wrapper-start" }, h("slot", { key: '2c19c500b57444ac8f69c2f64616904a819f54da', name: "title" }), h("slot", { key: 'a6ed0daccd969ec94128f5f749ccddfa9f62e5d3', name: "subtitle" }), h("slot", { key: 'adc2122dce76eee34653bc3f47324188c89d80f1', name: "html" })), (this.collapsible || this.host.querySelector('[slot="note"]')) && (h("div", { key: 'f61363b6836fb857a0e832de99175936ec4bce29', class: "s-accordion-head-wrapper-end" }, h("slot", { key: '15ee81e943714b30bfbaf718364f5d34b14617eb', name: "note" }), this.collapsible && (h("button", { key: 'c5f8d32af544ddfba7b2fc2f273ae5b2e8cb7ae5', class: {
|
|
37
|
+
's-accordion-head-wrapper-toggle': true,
|
|
38
|
+
active: !this.collapsed,
|
|
39
|
+
}, onClick: e => {
|
|
40
|
+
e.stopPropagation();
|
|
41
|
+
this.toggleCollapse();
|
|
42
|
+
} }, h("span", { key: '4c4e3fa6ddeda1a59f65ba47665a9203356037a6', class: "s-accordion-head-wrapper-toggle-icon", innerHTML: this.collapsed ? Add : Minus })))))));
|
|
43
|
+
}
|
|
44
|
+
get host() { return this; }
|
|
45
|
+
static get style() { return sallaAccordionHeadCss; }
|
|
46
|
+
}, [4, "salla-accordion-head", {
|
|
47
|
+
"collapsible": [4],
|
|
48
|
+
"collapsed": [1540]
|
|
49
|
+
}]);
|
|
50
|
+
function defineCustomElement() {
|
|
51
|
+
if (typeof customElements === "undefined") {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const components = ["salla-accordion-head"];
|
|
55
|
+
components.forEach(tagName => { switch (tagName) {
|
|
56
|
+
case "salla-accordion-head":
|
|
57
|
+
if (!customElements.get(tagName)) {
|
|
58
|
+
customElements.define(tagName, SallaAccordionHead);
|
|
59
|
+
}
|
|
60
|
+
break;
|
|
61
|
+
} });
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { SallaAccordionHead as S, defineCustomElement as d };
|
|
65
|
+
//# sourceMappingURL=salla-accordion-head2.js.map
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=salla-accordion-head2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"salla-accordion-head2.js","mappings":";;;;;;AAAA,MAAM,qBAAqB,GAAG,EAAE;;MCanB,kBAAkB,iBAAAA,kBAAA,CAAA,MAAA,kBAAA,SAAA,WAAA,CAAA;AAL/B,IAAA,WAAA,GAAA;;;;;AASU,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK;;AAGI,QAAA,IAAS,CAAA,SAAA,GAAY,IAAI;AAqElE;IAxDS,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;AACxB,YAAA,OAAO,EAAE;gBACP,SAAS,EAAE,IAAI,CAAC,SAAS;AAC1B,aAAA;AACF,SAAA,CAAC;;IAGI,cAAc,GAAA;;QACpB,IAAI,CAAC,IAAI,CAAC,WAAW;YAAE;AACvB,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS;AAChC,QAAA,CAAA,EAAA,GAAA,IAAI,CAAC,IAAI,CAAC,aAAa,0CAAE,YAAY,CAAC,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;AAClF,QAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,IAAI,CAAC,IAAI,CAAC,aAAa,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CACnB,aAAa,CAAC,sBAAsB,CAAC,0CACrC,YAAY,CAAC,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;QAC7D,IAAI,CAAC,iBAAiB,EAAE;;IAG1B,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,gBAAA,EACa,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EACzC,OAAO,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,EACpC,KAAK,EAAC,0BAA0B,EAAA,EAEhC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,gCAAgC,EAAA,EACzC,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,OAAO,EAAQ,CAAA,EAC1B,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,UAAU,EAAQ,CAAA,EAC7B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAA,CAAQ,CACrB,EAEL,CAAC,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,MAC5D,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACvC,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,MAAM,EAAQ,CAAA,EACxB,IAAI,CAAC,WAAW,KACf,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,iCAAiC,EAAE,IAAI;AACvC,gBAAA,MAAM,EAAE,CAAC,IAAI,CAAC,SAAS;AACxB,aAAA,EACD,OAAO,EAAE,CAAC,IAAG;gBACX,CAAC,CAAC,eAAe,EAAE;gBACnB,IAAI,CAAC,cAAc,EAAE;AACvB,aAAC,EAAA,EAED,CACE,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sCAAsC,EAC5C,SAAS,EAAE,IAAI,CAAC,SAAS,GAAGC,GAAQ,GAAGC,KAAS,EAC1C,CAAA,CACD,CACV,CACG,CACP,CACI;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","plusIcon","minusIcon"],"sources":["src/components/salla-accordion/salla-accordion-head.scss?tag=salla-accordion-head","src/components/salla-accordion/salla-accordion-head.tsx"],"sourcesContent":["\n","import { Component, Element, Event, EventEmitter, Host, h, Prop } from '@stencil/core';\nimport plusIcon from '../../assets/svg/add.svg';\nimport minusIcon from '../../assets/svg/minus.svg';\n\n/**\n * @salla/ui-components\n * The `salla-accordion-head` component represents the header of an accordion.\n */\n@Component({\n tag: 'salla-accordion-head',\n styleUrl: 'salla-accordion-head.scss',\n shadow: false,\n})\nexport class SallaAccordionHead {\n @Element() host: HTMLElement;\n\n /** Should the accordion be collapsible or not. */\n @Prop() collapsible: boolean = false;\n\n /** Current collapsed state */\n @Prop({ mutable: true, reflect: true }) collapsed: boolean = true;\n\n /**\n * Emitted when the accordion head is clicked and the collapsed state changes.\n * Only emitted when the component is collapsible.\n *\n * @event accordionToggle\n * @type {Object}\n * @property {Object} detail.payload - The event payload\n * @property {boolean} detail.payload.collapsed - The new collapsed state\n */\n @Event() accordionToggle: EventEmitter<Object>;\n\n private emitCollapsePanel(): void {\n this.accordionToggle.emit({\n payload: {\n collapsed: this.collapsed,\n },\n });\n }\n\n private toggleCollapse() {\n if (!this.collapsible) return;\n this.collapsed = !this.collapsed;\n this.host.parentElement?.setAttribute('data-collapsed', this.collapsed.toString());\n this.host.parentElement\n ?.querySelector('salla-accordion-body')\n ?.setAttribute('data-collapsed', this.collapsed.toString());\n this.emitCollapsePanel();\n }\n\n render() {\n return (\n <Host\n data-collapsed={this.collapsed.toString()}\n onClick={() => this.toggleCollapse()}\n class=\"s-accordion-head-wrapper\"\n >\n <div class=\"s-accordion-head-wrapper-start\">\n <slot name=\"title\"></slot>\n <slot name=\"subtitle\"></slot>\n <slot name=\"html\"></slot>\n </div>\n\n {(this.collapsible || this.host.querySelector('[slot=\"note\"]')) && (\n <div class=\"s-accordion-head-wrapper-end\">\n <slot name=\"note\"></slot>\n {this.collapsible && (\n <button\n class={{\n 's-accordion-head-wrapper-toggle': true,\n active: !this.collapsed,\n }}\n onClick={e => {\n e.stopPropagation();\n this.toggleCollapse();\n }}\n >\n <span\n class=\"s-accordion-head-wrapper-toggle-icon\"\n innerHTML={this.collapsed ? plusIcon : minusIcon}\n ></span>\n </button>\n )}\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,65 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const sallaAccordionCss = "";
|
|
7
|
-
|
|
8
|
-
const SallaAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SallaAccordion extends HTMLElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
/** Should the accordion be collapsible or not. Default is true. */
|
|
13
|
-
this.collapsible = true;
|
|
14
|
-
/** Detect if accordion collapsed or not. */
|
|
15
|
-
this.collapsed = true;
|
|
16
|
-
/** Represents the direction of the layout. */
|
|
17
|
-
this.dir = document.dir || 'rtl';
|
|
18
|
-
}
|
|
19
|
-
directionChangedHandler(event) {
|
|
20
|
-
this.dir = event.detail.dir;
|
|
21
|
-
}
|
|
22
|
-
handleCollapse(event) {
|
|
23
|
-
this.collapsed = event.detail.payload.collapsed;
|
|
24
|
-
}
|
|
25
|
-
setcollapsibleProp() {
|
|
26
|
-
const head = this.host.querySelector('salla-accordion-head');
|
|
27
|
-
if (this.collapsible && head) {
|
|
28
|
-
head.setAttribute('collapsible', 'true');
|
|
29
|
-
head.setAttribute('collapsed', this.collapsed.toString());
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
componentDidRender() {
|
|
33
|
-
this.setcollapsibleProp();
|
|
34
|
-
const body = this.host.querySelector('salla-accordion-body');
|
|
35
|
-
if (this.collapsible) {
|
|
36
|
-
this.host.setAttribute('data-collapsed', this.collapsed.toString());
|
|
37
|
-
body === null || body === void 0 ? void 0 : body.setAttribute('data-collapsed', this.collapsed.toString());
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
render() {
|
|
41
|
-
return (h(Host, { key: '30e906d87cba59e197e71460bb24e578455f2d28', class: `s-accordion-wrapper ${this.dir}`, "data-collapsed": this.collapsed.toString() }, h("slot", { key: '8c26efc12856022567e5abe587c7537a5776285b' })));
|
|
42
|
-
}
|
|
43
|
-
get host() { return this; }
|
|
44
|
-
static get style() { return sallaAccordionCss; }
|
|
45
|
-
}, [4, "salla-accordion", {
|
|
46
|
-
"collapsible": [4],
|
|
47
|
-
"collapsed": [1540],
|
|
48
|
-
"dir": [32]
|
|
49
|
-
}, [[4, "salla::language.change", "directionChangedHandler"], [0, "accordionToggle", "handleCollapse"]]]);
|
|
50
|
-
function defineCustomElement$1() {
|
|
51
|
-
if (typeof customElements === "undefined") {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
const components = ["salla-accordion"];
|
|
55
|
-
components.forEach(tagName => { switch (tagName) {
|
|
56
|
-
case "salla-accordion":
|
|
57
|
-
if (!customElements.get(tagName)) {
|
|
58
|
-
customElements.define(tagName, SallaAccordion$1);
|
|
59
|
-
}
|
|
60
|
-
break;
|
|
61
|
-
} });
|
|
62
|
-
}
|
|
4
|
+
import { S as SallaAccordion$1, d as defineCustomElement$1 } from './salla-accordion2.js';
|
|
63
5
|
|
|
64
6
|
const SallaAccordion = SallaAccordion$1;
|
|
65
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"salla-accordion.js","mappings":"
|
|
1
|
+
{"file":"salla-accordion.js","mappings":";;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
+
|
|
6
|
+
const sallaAccordionCss = "";
|
|
7
|
+
|
|
8
|
+
const SallaAccordion = /*@__PURE__*/ proxyCustomElement(class SallaAccordion extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
/** Should the accordion be collapsible or not. Default is true. */
|
|
13
|
+
this.collapsible = true;
|
|
14
|
+
this.bordered = false;
|
|
15
|
+
this.size = "md";
|
|
16
|
+
/** Detect if accordion collapsed or not. */
|
|
17
|
+
this.collapsed = true;
|
|
18
|
+
/** Represents the direction of the layout. */
|
|
19
|
+
this.dir = document.dir || 'rtl';
|
|
20
|
+
}
|
|
21
|
+
directionChangedHandler(event) {
|
|
22
|
+
this.dir = event.detail.dir;
|
|
23
|
+
}
|
|
24
|
+
handleCollapse(event) {
|
|
25
|
+
this.collapsed = event.detail.payload.collapsed;
|
|
26
|
+
}
|
|
27
|
+
setcollapsibleProp() {
|
|
28
|
+
const head = this.host.querySelector('salla-accordion-head');
|
|
29
|
+
if (this.collapsible && head) {
|
|
30
|
+
head.setAttribute('collapsible', 'true');
|
|
31
|
+
head.setAttribute('collapsed', this.collapsed.toString());
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
componentDidRender() {
|
|
35
|
+
this.setcollapsibleProp();
|
|
36
|
+
const body = this.host.querySelector('salla-accordion-body');
|
|
37
|
+
if (this.collapsible) {
|
|
38
|
+
this.host.setAttribute('data-collapsed', this.collapsed.toString());
|
|
39
|
+
body === null || body === void 0 ? void 0 : body.setAttribute('data-collapsed', this.collapsed.toString());
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (h(Host, { key: 'ed8e4c0f24fa4462654e94fa46706e892c141351', class: `s-accordion-wrapper ${this.dir} ${this.bordered ? 's-accordion-wrapper-bordered' : ''} ${this.size ? `size-${this.size}` : ''}`, "data-collapsed": this.collapsed.toString() }, h("slot", { key: '1dbda01c073f3018a55ebcf5d8613a82a5dc6b27' })));
|
|
44
|
+
}
|
|
45
|
+
get host() { return this; }
|
|
46
|
+
static get style() { return sallaAccordionCss; }
|
|
47
|
+
}, [4, "salla-accordion", {
|
|
48
|
+
"collapsible": [4],
|
|
49
|
+
"bordered": [4],
|
|
50
|
+
"size": [1],
|
|
51
|
+
"collapsed": [1540],
|
|
52
|
+
"dir": [32]
|
|
53
|
+
}, [[4, "salla::language.change", "directionChangedHandler"], [0, "accordionToggle", "handleCollapse"]]]);
|
|
54
|
+
function defineCustomElement() {
|
|
55
|
+
if (typeof customElements === "undefined") {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const components = ["salla-accordion"];
|
|
59
|
+
components.forEach(tagName => { switch (tagName) {
|
|
60
|
+
case "salla-accordion":
|
|
61
|
+
if (!customElements.get(tagName)) {
|
|
62
|
+
customElements.define(tagName, SallaAccordion);
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
} });
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { SallaAccordion as S, defineCustomElement as d };
|
|
69
|
+
//# sourceMappingURL=salla-accordion2.js.map
|
|
70
|
+
|
|
71
|
+
//# sourceMappingURL=salla-accordion2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"salla-accordion2.js","mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,EAAE;;MCYf,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAA,WAAA,CAAA;AAL3B,IAAA,WAAA,GAAA;;;;AAUU,QAAA,IAAW,CAAA,WAAA,GAAY,IAAI;AAE3B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAEzB,QAAA,IAAI,CAAA,IAAA,GAAuB,IAAI;;AAGC,QAAA,IAAS,CAAA,SAAA,GAAY,IAAI;;QAGxD,IAAA,CAAA,GAAG,GAAW,QAAQ,CAAC,GAAG,IAAI,KAAK;AAqC7C;AAlCC,IAAA,uBAAuB,CAAC,KAAkB,EAAA;QACxC,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG;;AAI7B,IAAA,cAAc,CAAC,KAAkB,EAAA;QAC/B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS;;IAGzC,kBAAkB,GAAA;QACxB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,sBAAsB,CAAC;AAC5D,QAAA,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;AAC5B,YAAA,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC;AACxC,YAAA,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;;;IAI7D,kBAAkB,GAAA;QAChB,IAAI,CAAC,kBAAkB,EAAE;QAEzB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,sBAAsB,CAAC;AAC5D,QAAA,IAAI,IAAI,CAAC,WAAW,EAAE;AACpB,YAAA,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;AACnE,YAAA,IAAI,aAAJ,IAAI,KAAA,MAAA,GAAA,MAAA,GAAJ,IAAI,CAAE,YAAY,CAAC,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;;;IAInE,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAE,CAAA,oBAAA,EAAuB,IAAI,CAAC,GAAG,CAAI,CAAA,EAAA,IAAI,CAAC,QAAQ,GAAG,8BAA8B,GAAG,EAAE,CAAA,CAAA,EAAI,IAAI,CAAC,IAAI,GAAG,CAAA,KAAA,EAAQ,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,EAAE,CAAA,CAAE,EAAA,gBAAA,EAAkB,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAA,EACtL,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement"],"sources":["src/components/salla-accordion/salla-accordion.scss?tag=salla-accordion","src/components/salla-accordion/salla-accordion.tsx"],"sourcesContent":["\n","import { Component, Host, h, Element, Prop, State, Listen } from '@stencil/core';\n\n/**\n * @salla/ui-components\n * The `salla-accordion` component represents an accordion element.\n * Use this component to encapsulate content within a collapsible section.\n */\n@Component({\n tag: 'salla-accordion',\n styleUrl: 'salla-accordion.scss',\n shadow: false\n})\nexport class SallaAccordion {\n /** Reference to the host element. */\n @Element() host: HTMLElement;\n\n /** Should the accordion be collapsible or not. Default is true. */\n @Prop() collapsible: boolean = true;\n\n @Prop() bordered: boolean = false;\n\n @Prop() size: \"sm\" | \"md\" | \"lg\" = \"md\";\n\n /** Detect if accordion collapsed or not. */\n @Prop({ mutable: true, reflect: true }) collapsed: boolean = true;\n\n /** Represents the direction of the layout. */\n @State() dir: string = document.dir || 'rtl';\n\n @Listen('salla::language.change', { target: 'document' })\n directionChangedHandler(event: CustomEvent) {\n this.dir = event.detail.dir;\n }\n\n @Listen('accordionToggle')\n handleCollapse(event: CustomEvent) {\n this.collapsed = event.detail.payload.collapsed;\n }\n\n private setcollapsibleProp(): void {\n const head = this.host.querySelector('salla-accordion-head');\n if (this.collapsible && head) {\n head.setAttribute('collapsible', 'true');\n head.setAttribute('collapsed', this.collapsed.toString());\n }\n }\n\n componentDidRender() {\n this.setcollapsibleProp();\n\n const body = this.host.querySelector('salla-accordion-body');\n if (this.collapsible) {\n this.host.setAttribute('data-collapsed', this.collapsed.toString());\n body?.setAttribute('data-collapsed', this.collapsed.toString());\n }\n }\n\n render() {\n return (\n <Host class={`s-accordion-wrapper ${this.dir} ${this.bordered ? 's-accordion-wrapper-bordered' : ''} ${this.size ? `size-${this.size}` : ''}`} data-collapsed={this.collapsed.toString()}>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -33,7 +33,7 @@ const SallaAlert$1 = /*@__PURE__*/ proxyCustomElement(class SallaAlert extends H
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '3b5dd808399eeda5d930454542cd41cca26b0cc3', class: `s-alert-wrapper s-alert-${this.variant}` }, h("span", { key: '4f58234774d1afc790fb83bff983ca9366faa349', class: "s-alert-icon" }, this.renderIcon()), h("span", { key: '10eb3f87e6e77dcc5406a24f866feee1cc1f46ef', class: "s-alert-text" }, this.message, h("slot", { key: '3656e15aeb25fb7285e88f694c090bad3b32dfbd' }))));
|
|
37
37
|
}
|
|
38
38
|
static get style() { return sallaAlertCss; }
|
|
39
39
|
}, [4, "salla-alert", {
|
|
@@ -176,7 +176,7 @@ const SallaBookingField = /*@__PURE__*/ proxyCustomElement(class SallaBookingFie
|
|
|
176
176
|
return (h("span", { class: "s-booking-field-reservations-time" }, h("i", { class: "s-booking-field-reservations-icon", innerHTML: TimeIcon }), h("span", null, reservation.from_timestamp, " - ", reservation.to_timestamp)));
|
|
177
177
|
}
|
|
178
178
|
render() {
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: '04c9e3dc3dc825bd6905221d858c260f7ca34748' }, h("div", { key: '07ec38cec1bd1798640dd7ea9592bb3b17d945c6', class: "s-booking-field-main" }, this.option.required || this.reservations.length > 0 ? h("div", { class: "s-booking-field-price" }, h("span", { innerHTML: salla.money(this.option.price) })) : '', h("salla-button", { key: '6b71889cfc0429d15c466a6f194df31549f09786', class: "s-booking-field-book-now", size: "small", loaderPosition: "center", fill: "outline", onClick: event => this.openBookingModal(event, false) }, h("span", { key: 'a16f8db6f52c7751ea605efcae04057ca0dc5b61', class: "s-booking-field-book-now-content" }, h("span", { key: '95f6086a599bcc620c87ece6c6ae9620dba15581', innerHTML: BookingTime }), this.reservations.length ? this.editLabel : this.bookNowLabel))), this.reservations.length > 0 && (h("div", { key: 'b3615100bbfff3d98d0ac99145aaf53449790c94', class: "s-booking-field-reservations" }, this.reservations.map((reservation, index) => (h("div", { key: index, class: "s-booking-field-reservations-item" }, this.renderReservationDate(reservation), this.renderReservationTime(reservation)))))), h("input", { key: '126f14f2e520b8696bc7450e209bad30b267878b', class: "s-hidden", name: this.option.name, required: this.option.required, value: JSON.stringify(this.reservations) === '[]' ? '' : JSON.stringify(this.reservations), ref: reservations => this.reservationsInput = reservations }), this.iframeReady && this.bookingModal()));
|
|
180
180
|
}
|
|
181
181
|
get host() { return this; }
|
|
182
182
|
static get style() { return sallaBookingFieldCss; }
|
|
@@ -118,10 +118,10 @@ const SallaBottomAlert$1 = /*@__PURE__*/ proxyCustomElement(class SallaBottomAle
|
|
|
118
118
|
const hasDeveloper = developer !== undefined;
|
|
119
119
|
const developerName = hasDeveloper && (developer === null || developer === void 0 ? void 0 : developer.name);
|
|
120
120
|
const developerUrl = null; //hasDeveloper && developer.url;
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: 'd980894737723f3a389a1b4ce0e684accfdd0262', class: "s-bottom-alert-wrapper" }, h("div", { key: '7866b293146601653c0734058c4bd73f91c45944', class: "s-bottom-alert-content" }, h("div", { key: 'dd1c11c4db4868d989510ab6b815688398311892', class: "s-bottom-alert-icon" }, this.icon ? h("i", { class: this.icon }) : h("i", { innerHTML: infoIcon })), h("div", { key: 'cd45028c6fe863fa9370edb5a4fb08b1a83dc437', class: "s-bottom-alert-message" }, this.message ? (this.message) : hasTemplate ? (h("span", null, this.getDefaultMessage(), " ", h("a", { href: "#", class: {
|
|
122
122
|
"s-bottom-alert-message-highlight": true,
|
|
123
123
|
"s-bottom-alert-message-link": developerUrl,
|
|
124
|
-
}, target: "", "aria-label": "Developer" }, developerName ? developerName : this.theDeveloper), " ", h("span", { class: "s-bottom-alert-message-splitter" }, "|"), " ", this.storePrice, ":", " ", h("span", { class: "s-bottom-alert-message-highlight", innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage)), this.type !== 'banner' && (h("div", { key: '
|
|
124
|
+
}, target: "", "aria-label": "Developer" }, developerName ? developerName : this.theDeveloper), " ", h("span", { class: "s-bottom-alert-message-splitter" }, "|"), " ", this.storePrice, ":", " ", h("span", { class: "s-bottom-alert-message-highlight", innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage)), this.type !== 'banner' && (h("div", { key: '6690d6627d1d7c9f4173da13d72ed062ad9ef468', class: "s-bottom-alert-action" }, h("salla-button", { key: 'c4978d89a326fe6aacc00c49f50fb202950fda62', href: this.actionUrl, size: "medium", onClick: () => this.handleAction(), width: "normal" }, this.actionLabel || this.defaultActionLabel))), this.type === 'popup' && this.popup())));
|
|
125
125
|
}
|
|
126
126
|
get host() { return this; }
|
|
127
127
|
static get style() { return sallaBottomAlertCss; }
|
|
@@ -76,7 +76,7 @@ const SallaCartSummary$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartSumma
|
|
|
76
76
|
return new Promise(resolve => salla.onReady(resolve));
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'dcca588e54de47c055eeeb11ff50ea5f24434995' }, h("a", { key: '78cb0c91ec7b5196384b7cf12bb7875147dbc2fe', class: "s-cart-summary-wrapper", href: salla.url.get('cart') }, h("div", { key: '88984979b01ea8ea44b89e3b2b3fcd5218e8113f', id: "s-cart-icon" }, h("slot", { key: '1dd0c68fb3e3a103211dd1982a7028cec4123782', name: "icon" }, h("i", { key: '2b2d9e69d07e63c4b11a13c8e990b9f4b10dddd6', class: "s-cart-summary-icon", innerHTML: PendingOrdersIcon }))), h("span", { key: '5ce30fa6ad338db8023d1c5c1b0208e61ae7510a', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), h("p", { key: 'c03b5e446f4750184819722d5c8ced3587e5a0d5', class: "s-cart-summary-content" }, this.showCartLabel && h("span", { key: '3de831a7dc08bdb7c18e696fce6bfbb0e470b03a', class: "s-cart-summary-label" }, this.cartLabel), h("b", { key: '4f9d6aa001203125c2e38808ec7d0a9a31cef56a', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
|
|
80
80
|
}
|
|
81
81
|
get host() { return this; }
|
|
82
82
|
static get style() { return sallaCartSummaryCss; }
|
|
@@ -1170,7 +1170,7 @@ const SallaColorPicker = /*@__PURE__*/ proxyCustomElement(class SallaColorPicker
|
|
|
1170
1170
|
});
|
|
1171
1171
|
}
|
|
1172
1172
|
render() {
|
|
1173
|
-
return (h(Host, { key: '
|
|
1173
|
+
return (h(Host, { key: '692d43f617dbaa05e170c32c725eb4adcc01ec78', class: "s-color-picker-main" }, h("slot", { key: '33166575c005f01e1557ac665749e206f05cc499', name: "widget" }, h("div", { key: '60bf746f0e2b336da837d62e962fefeaf63a9a2c', class: "s-color-picker-widget" }, h("div", { key: '62c56bc83a9315052ac3c21841f284b416407945', class: "s-color-picker-widget-canvas", ref: dv => this.canvas = dv }), h("span", { key: '3f1869950f457659a3c52d8148fd386ce1171caa', innerHTML: ArrowDown }))), h("input", { key: '7fa3f08df14f03e9a4cf33e41eeb9f34b1a9dbfe', class: "s-hidden", name: this.name, required: this.required, value: this.color, ref: color => this.colorInput = color })));
|
|
1174
1174
|
}
|
|
1175
1175
|
componentDidLoad() {
|
|
1176
1176
|
this.canvas.style.backgroundColor = this.color;
|
|
@@ -32,7 +32,7 @@ const SallaCommentForm = /*@__PURE__*/ proxyCustomElement(class SallaCommentForm
|
|
|
32
32
|
.finally(() => this.submitBtn.stop);
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '305789ae94c288c8ca485ab10ae87a71f31d1042' }, !!this.canComment ? h("form", { ref: frm => this.commentForm = frm }, h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
|
|
36
36
|
h("img", { class: "s-comment-form-avatar", src: salla.config.get('user.avatar'), alt: "user avatar" }) : '', h("div", { class: "s-comment-form-content" }, h("textarea", { cols: 30, rows: 5, minlength: "4", maxlength: "500", ref: field => this.commentField = field, placeholder: this.placeholder, class: "s-comment-form-input", required: true }), h("br", null), h("div", { class: "s-comment-form-action" }, h("salla-button", { ref: btn => this.submitBtn = btn, "loader-position": 'center', onClick: () => this.submit() }, this.submitText))))) : ''));
|
|
37
37
|
}
|
|
38
38
|
static get style() { return sallaCommentFormCss; }
|
|
@@ -141,13 +141,13 @@ const SallaCommentItem = /*@__PURE__*/ proxyCustomElement(class SallaCommentItem
|
|
|
141
141
|
render() {
|
|
142
142
|
var _a, _b, _c, _d, _e, _f;
|
|
143
143
|
let isAdmin = this.comment.type == 'admin';
|
|
144
|
-
return (h(Host, { key: '
|
|
144
|
+
return (h(Host, { key: '98e314383c34c566ab9e05efeebae51e5b694681', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, h("div", { key: 'a704f11fd7f4bc227eb2f986360afb3c2875c6ab', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, h("div", { key: '8b0c0a9422003621eb5d8d6a54893fc0a18d4cc9', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && h("span", { key: '7f421290726abe2391da37178e01265badf4fd08', class: "s-comments-item-reply-icon", innerHTML: Reply }), h("div", { key: '61ef5759d54603f1b886de9126ab771437fe2e98', class: "s-comments-item-avatar" }, h("img", { key: '67b668cc17d3d0747cd128efa961540858750fbf', "data-src": (_a = this.comment) === null || _a === void 0 ? void 0 : _a.avatar, alt: (_b = this.comment) === null || _b === void 0 ? void 0 : _b.name, src: (_c = this.comment) === null || _c === void 0 ? void 0 : _c.avatar, class: "s-comments-item-avatar-img lazy" })), h("div", { key: 'fc42c8a69538f09f8f3f9c0e5555d39b9dc4a6ac', class: "s-comments-flex-1" }, h("div", { key: '7b2b3de758fed9ae73e0032b6cf895ce1df99883', class: "s-comments-item-user-wrapper" }, h("div", { key: '1d4187d935e209354587a900f912a4eb19b066df', class: "s-comments-item-user-info" }, h("h3", { key: '2a45f7ad245c41a2fd5a69bd909e093effed8453', class: "s-comments-item-user-info-name" }, (_d = this.comment) === null || _d === void 0 ? void 0 : _d.name), (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
|
|
145
145
|
h("div", { class: "s-comments-flex" }, this.comment.has_order ?
|
|
146
146
|
[h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: IconVerified }), h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
|
|
147
147
|
h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
|
|
148
|
-
: null), h("p", { key: '
|
|
148
|
+
: null), h("p", { key: 'c934abc4f8dd94bc349d85d00a5984aef672d9d9', class: "s-comments-item-timestamp s-ltr" }, " ", this.getDate((_e = this.comment.created_at) === null || _e === void 0 ? void 0 : _e.date), " ", h("span", { key: 'acef6d6af07b12501a61d074ad566692bb02456a', class: "s-comments-item-time" }, " - ", this.getTime((_f = this.comment.created_at) === null || _f === void 0 ? void 0 : _f.date), " ")), !!this.comment.rating || !!this.comment.stars ?
|
|
149
149
|
h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
|
|
150
|
-
: null), h("div", { key: '
|
|
150
|
+
: null), h("div", { key: '9bedec8066878f113623e9ab27c203836eea2db5', class: "s-comments-item-content" }, h("p", { key: '0f8b1bf62ac5afc1449b160884945003b70e55f0', innerHTML: this.comment.content }), this.allowAttachImages && h("div", { key: 'df920f8e2758aedc313b4502f554157fb216c15d', class: "s-comments-item-images" }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "", onClick: () => this.modal.open() }))), h("salla-modal", { key: '0743d9159e0cf4061b1969953f58fdebf49ee9e2', ref: modal => this.modal = modal, width: "sm" }, h("salla-slider", { key: '00a15b0dca213ddf64f3346da6849ce0dde7f638', id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, h("div", { key: '21e593664598eab16e56990c43aba10dcc526752', slot: 'items' }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "" })))), h("div", { key: '8998e861f37fc30c488d60b016c68db0b09483ee', slot: "thumbs" }, this.comment.images.map((image, index) => (h("div", { class: "s-comments-item-images-slider-thumb" }, h("img", { key: index, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && salla.url.is_page('product.single') ? h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
|
|
151
151
|
h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
|
|
152
152
|
this.getReplies().map((reply) => {
|
|
153
153
|
return h("div", null, h("salla-comment-item", { comment: reply }));
|
|
@@ -99,7 +99,7 @@ const SallaConditionalFields = /*@__PURE__*/ proxyCustomElement(class SallaCondi
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '405156ba83b8731039c2dd0ff800f617150cc722' }, h("slot", { key: '2bff17ce7b49fef9b028d673992d256b00e9481b' })));
|
|
103
103
|
}
|
|
104
104
|
get host() { return this; }
|
|
105
105
|
}, [4, "salla-conditional-fields", undefined, [[0, "change", "changeHandler"]]]);
|
|
@@ -151,7 +151,7 @@ const SallaCountDown = /*@__PURE__*/ proxyCustomElement(class SallaCountDown ext
|
|
|
151
151
|
return this.renderCountDown();
|
|
152
152
|
}
|
|
153
153
|
render() {
|
|
154
|
-
return (h(Host, { key: '
|
|
154
|
+
return (h(Host, { key: '1e6baaf061a5cee7aeed3af6f4f02a7edf654885', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''}` }, this.renderContent(), this.offerEnded && this.renderOfferEnded()));
|
|
155
155
|
}
|
|
156
156
|
static get style() { return sallaCountDownCss; }
|
|
157
157
|
}, [0, "salla-count-down", {
|
|
@@ -2734,7 +2734,7 @@ const SallaDatetimePicker = /*@__PURE__*/ proxyCustomElement(class SallaDatetime
|
|
|
2734
2734
|
this.disabled = false;
|
|
2735
2735
|
}
|
|
2736
2736
|
render() {
|
|
2737
|
-
return h("div", { key: '
|
|
2737
|
+
return h("div", { key: '4332a123c72d1cf71468339536d9e73f32333791', class: "s-datetime-picker" }, h("input", { key: '99ae8a3a48042f43ea525fae0999d67ad216f9ce', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
|
|
2738
2738
|
}
|
|
2739
2739
|
componentDidLoad() {
|
|
2740
2740
|
let options = {
|
|
@@ -15510,11 +15510,11 @@ const SallaFileUpload = /*@__PURE__*/ proxyCustomElement(class SallaFileUpload e
|
|
|
15510
15510
|
}
|
|
15511
15511
|
}
|
|
15512
15512
|
render() {
|
|
15513
|
-
return (h(Host, { key: '
|
|
15513
|
+
return (h(Host, { key: '756dd2b7d86a546e89eb1942fbd4844875e7bcf2', class: {
|
|
15514
15514
|
"s-file-upload": true,
|
|
15515
15515
|
"s-file-upload-profile-image": this.profileImage,
|
|
15516
15516
|
"s-file-upload-multiple": this.allowMultiple,
|
|
15517
|
-
} }, h("input", { key: '
|
|
15517
|
+
} }, h("input", { key: '27da80307aab3b30b9dfa861e5da73eebaebc251', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', h("input", { key: 'f963e2398069cbb70688b207d7b58fb61eabbc6a', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
|
|
15518
15518
|
}
|
|
15519
15519
|
componentDidLoad() {
|
|
15520
15520
|
let files = this.getFiles();
|
|
@@ -142,12 +142,12 @@ const SallaFiltersWidget = /*@__PURE__*/ proxyCustomElement(class SallaFiltersWi
|
|
|
142
142
|
return h("span", { class: "s-filters-option-name" }, label);
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: '1987fec03cfe48cddc60af2d81bbc30a476dcb61', class: "s-filters-widget-container" }, h("h3", { key: '4232775c4012d1be8bb3036d9d09e5d29d951ee4', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '61cf9ea5a69f3ab5377502a396cc84478c6152a1' }, this.option.label), h("span", { key: 'b75914eb06f9d419d0a89da2a8f2da2f891f3d27', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: 'f65e2f8a44648b034dacf1bda1aa64b5398627b7', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, h("div", { key: 'adcafe169ce8cbef671263f3624bce071b168c36', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: 'fa006556e44e508c3c64cc5ae76cc826b7e7601e' }), this.option.type !== FilterOptionTypes.RANGE
|
|
146
146
|
? this.renderFilterOption(this.option)
|
|
147
147
|
: h("salla-price-range", { onChanged: (event) => {
|
|
148
148
|
this.changed.emit(event.detail);
|
|
149
149
|
}, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore &&
|
|
150
|
-
h("a", { key: '
|
|
150
|
+
h("a", { key: '16a4ddeb365dc1d52fc51a8999fc6d7dbe094658', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
|
|
151
151
|
}
|
|
152
152
|
get host() { return this; }
|
|
153
153
|
static get style() { return sallaFiltersWidgetCss; }
|