@salla.sa/twilight-components 2.9.37 → 2.9.39
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/README.md +37 -14
- package/dist/{components/salla-swiper2.js → cjs/core-c7a9fb22.js} +17 -84
- package/dist/cjs/index-1d2b3370.js +6 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{salla-button_32.cjs.entry.js → salla-button_33.cjs.entry.js} +2188 -5134
- package/dist/cjs/salla-swiper.cjs.entry.js +62 -0
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +2 -2
- package/dist/collection/components/salla-gifting/salla-gifting.js +2 -1
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +2 -1
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +9 -100
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +1 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +34 -24
- package/dist/collection/components/salla-slider/salla-slider.css +173 -0
- package/dist/collection/components/salla-slider/salla-slider.js +986 -0
- package/dist/collection/global/app-dev.js +1 -1
- package/dist/components/arrow-left.js +11 -0
- package/dist/components/core.js +4959 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/salla-cart-summary.js +2 -2
- package/dist/components/salla-gifting.js +6 -5
- package/dist/components/salla-loyalty.js +4 -4
- package/dist/components/salla-offer-modal.js +23 -104
- package/dist/components/salla-rating-stars2.js +1 -1
- package/dist/components/salla-scopes.js +25 -12
- package/dist/components/salla-slider.d.ts +11 -0
- package/dist/components/salla-slider.js +9 -0
- package/dist/components/salla-slider2.js +2036 -0
- package/dist/components/salla-swiper.js +84 -1
- package/dist/esm/core-572aabd0.js +4973 -0
- package/dist/esm/index-f1d446ac.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{salla-button_32.entry.js → salla-button_33.entry.js} +2028 -4975
- package/dist/esm/salla-swiper.entry.js +58 -0
- package/dist/esm/twilight.js +1 -1
- package/dist/esm-es5/core-572aabd0.js +4 -0
- package/dist/esm-es5/index-f1d446ac.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/salla-button_33.entry.js +34 -0
- package/dist/esm-es5/salla-swiper.entry.js +4 -0
- package/dist/esm-es5/twilight.js +1 -1
- package/dist/twilight/p-00e66d1a.system.js +4 -0
- package/dist/twilight/p-684a004a.system.entry.js +4 -0
- package/dist/twilight/p-6ed7d3a2.js +4 -0
- package/dist/twilight/p-6f94dcce.entry.js +22 -0
- package/dist/twilight/p-79eae6ae.system.entry.js +34 -0
- package/dist/twilight/p-b9c3815f.system.js +1 -1
- package/dist/twilight/p-e8c3c209.entry.js +4 -0
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-offer-modal/salla-offer-modal.d.ts +0 -1
- package/dist/types/components/salla-scopes/salla-scopes.d.ts +1 -0
- package/dist/types/components/salla-slider/salla-slider.d.ts +149 -0
- package/dist/types/components.d.ts +146 -0
- package/package.json +4 -4
- package/dist/cjs/salla-scopes.cjs.entry.js +0 -167
- package/dist/cjs/search-b487cc49.js +0 -13
- package/dist/esm/salla-scopes.entry.js +0 -163
- package/dist/esm/search-19ea3313.js +0 -11
- package/dist/esm-es5/salla-button_32.entry.js +0 -34
- package/dist/esm-es5/salla-scopes.entry.js +0 -4
- package/dist/esm-es5/search-19ea3313.js +0 -4
- package/dist/twilight/p-475ef754.js +0 -4
- package/dist/twilight/p-6d34d337.entry.js +0 -4
- package/dist/twilight/p-9c0c939c.system.entry.js +0 -4
- package/dist/twilight/p-c2a91680.entry.js +0 -22
- package/dist/twilight/p-c4c7f97c.system.entry.js +0 -34
- package/dist/twilight/p-fd444b25.system.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-d9130020.system.js","./p-59567c9f.system.js","./p-9beb6b7b.system.js"],(function(e,a){"use strict";var t,l,o,r,i,s;return{setters:[function(e){t=e.p;l=e.w;o=e.d;r=e.N;i=e.a;s=e.b},function(){},function(){}],execute:function(){var e=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var n=function(){{t.$cssShim$=l.__cssshim}var e=Array.from(o.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(r,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===r}));var s=a.meta.url;var n={};if(s!==""){n.resourcesUrl=new URL(".",s).href}else{n.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,l.location.href)).href;{c(n.resourcesUrl,e)}if(!l.customElements){return a.import("./p-89f1c6be.system.js").then((function(){return n}))}}return i(n)};var c=function(a,t){var i=e(r);try{l[i]=new Function("w","return import(w);//".concat(Math.random()))}catch(e){var s=new Map;l[i]=function(e){var r=new URL(e,a).href;var n=s.get(r);if(!n){var c=o.createElement("script");c.type="module";c.crossOrigin=t.crossOrigin;c.src=URL.createObjectURL(new Blob(["import * as m from '".concat(r,"'; window.").concat(i,".m = m;")],{type:"application/javascript"}));n=new Promise((function(e){c.onload=function(){e(l[i].m);c.remove()}}));s.set(r,n);o.head.appendChild(c)}return n}}};n().then((function(e){return s(JSON.parse('[["p-c4c7f97c.system",[[4,"salla-gifting",{"productId":[2,"product-id"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"step1Elems":[32],"step2Elems":[32],"stepsWrapper":[32],"textArea":[32],"imageCover":[32],"textSelect":[32],"customTextArea":[32],"calendarFormGroup":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"open":[64],"close":[64],"goToStep2":[64]}],[4,"salla-loyalty",{"prizePoints":[8,"prize-points"],"customerPoints":[2,"customer-points"],"prizeTitle":[1,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1,"guest-message"],"loyaltyProgram":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}],[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}],[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64]}],[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"translationLoaded":[32],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}],[4,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"currentTabName":[32],"regType":[32],"translationLoaded":[32],"title":[32],"emailErrorMsg":[32],"firstNameErrorMsg":[32],"lastNameErrorMsg":[32],"open":[64]},[[8,"verified","onVerified"]]],[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}],[0,"salla-user-settings",{"isNotifiable":[516,"is-notifiable"],"deactivateAccount":[32],"promotionalMsgs":[32],"deactivateDesc":[32],"promotionalMsgsDesc":[32],"sorryForLeavingText":[32],"warningText":[32],"keepAccount":[32],"buttonLoading":[32]}],[0,"salla-search",{"inline":[4],"oval":[4],"height":[2],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]]],[0,"salla-comment-form",{"type":[1],"showAvatar":[4,"show-avatar"],"itemId":[8,"item-id"],"placeholder":[32],"submitText":[32],"canComment":[32]}],[4,"salla-sheet",{"position":[1],"width":[2],"height":[2],"sheetColor":[1,"sheet-color"],"persistent":[4],"flag":[32],"open":[64],"close":[64]}],[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[513],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64]}],[4,"salla-cart-summary",{"cartSummaryCount":[32],"cartSummaryTotal":[32],"animateToCart":[64]}],[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}],[4,"salla-quantity-input",{"quantity":[32],"decrease":[64],"increase":[64],"setValue":[64]}],[0,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"badges":[32],"OrderUpdate":[32]}],[0,"salla-product-availability",{"channels":[1],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32],"isVisitorSubscribed":[32]}],[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}],[0,"salla-datetime-picker",{"value":[1025],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16],"position":[1],"positionElement":[16],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4]}],[0,"salla-file-upload",{"required":[4],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16],"serverConfig":[1,"server-config"],"instantUpload":[4,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1,"label-idle"],"labelInvalidField":[1,"label-invalid-field"],"labelFileWaitingForSize":[1,"label-file-waiting-for-size"],"labelFileSizeNotAvailable":[1,"label-file-size-not-available"],"labelFileLoading":[1,"label-file-loading"],"labelFileLoadError":[1,"label-file-load-error"],"labelFileProcessing":[1,"label-file-processing"],"labelFileProcessingComplete":[1,"label-file-processing-complete"],"labelFileProcessingAborted":[1,"label-file-processing-aborted"],"labelFileProcessingError":[1,"label-file-processing-error"],"labelFileProcessingRevertError":[1,"label-file-processing-revert-error"],"labelFileRemoveError":[1,"label-file-remove-error"],"labelTapToCancel":[1,"label-tap-to-cancel"],"labelTapToRetry":[1,"label-tap-to-retry"],"labelTapToUndo":[1,"label-tap-to-undo"],"labelButtonRemoveItem":[1,"label-button-remove-item"],"labelButtonAbortItemLoad":[1,"label-button-abort-item-load"],"labelButtonRetryItemLoad":[1,"label-button-retry-item-load"],"labelButtonAbortItemProcessing":[1,"label-button-abort-item-processing"],"labelButtonUndoItemProcessing":[1,"label-button-undo-item-processing"],"labelButtonRetryItemProcessing":[1,"label-button-retry-item-processing"],"labelButtonProcessItem":[1,"label-button-process-item"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"pond":[32],"files":[32],"appendFile":[64]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2]}],[4,"salla-swiper",{"loop":[4],"speed":[2],"itemPerView":[8,"item-per-view"],"spaceBetweenItems":[2,"space-between-items"],"currentIndex":[32],"isLastSlideItem":[32],"isFirstSlideItem":[32]}],[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]],[4,"salla-list-tile",{"href":[1],"target":[1]}],[0,"salla-tel-input",{"phone":[1025],"name":[1],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}],[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]]],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-9c0c939c.system",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-486ce499.system",[[4,"salla-add-product-button",{"channels":[513],"quantity":[514],"donatingAmount":[514,"donating-amount"],"productId":[520,"product-id"],"productStatus":[513,"product-status"],"productType":[513,"product-type"]}]]],["p-5d3cb89c.system",[[4,"salla-conditional-fields",null,[[0,"change","changeHandler"]]]]],["p-21aa165d.system",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"tamaraIsActive":[32],"tabbyIsActive":[32],"spotiiIsActive":[32]}]]],["p-217e1d1c.system",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-1b53ebda.system",[[0,"salla-select",{"label":[1],"items":[16],"itemText":[1,"item-text"],"itemValue":[1,"item-value"],"itemDisabled":[1,"item-disabled"],"size":[1],"value":[1032],"autofocus":[4],"clearable":[4],"clearIcon":[1,"clear-icon"],"color":[1],"flat":[4],"disabled":[4],"loading":[4],"loadingColor":[1,"loading-color"],"hint":[1],"persistHint":[4,"persist-hint"],"placeholder":[1],"multiple":[4],"autocomplete":[4],"required":[4],"chips":[4],"shape":[1],"returnObject":[4,"return-object"],"hideDetail":[4,"hide-detail"]}]]]]'),e)}))}}}));
|
|
4
|
+
System.register(["./p-d9130020.system.js","./p-59567c9f.system.js","./p-9beb6b7b.system.js"],(function(e,a){"use strict";var t,l,o,r,i,s;return{setters:[function(e){t=e.p;l=e.w;o=e.d;r=e.N;i=e.a;s=e.b},function(){},function(){}],execute:function(){var e=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var n=function(){{t.$cssShim$=l.__cssshim}var e=Array.from(o.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(r,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===r}));var s=a.meta.url;var n={};if(s!==""){n.resourcesUrl=new URL(".",s).href}else{n.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,l.location.href)).href;{d(n.resourcesUrl,e)}if(!l.customElements){return a.import("./p-89f1c6be.system.js").then((function(){return n}))}}return i(n)};var d=function(a,t){var i=e(r);try{l[i]=new Function("w","return import(w);//".concat(Math.random()))}catch(e){var s=new Map;l[i]=function(e){var r=new URL(e,a).href;var n=s.get(r);if(!n){var d=o.createElement("script");d.type="module";d.crossOrigin=t.crossOrigin;d.src=URL.createObjectURL(new Blob(["import * as m from '".concat(r,"'; window.").concat(i,".m = m;")],{type:"application/javascript"}));n=new Promise((function(e){d.onload=function(){e(l[i].m);d.remove()}}));s.set(r,n);o.head.appendChild(d)}return n}}};n().then((function(e){return s(JSON.parse('[["p-79eae6ae.system",[[4,"salla-gifting",{"productId":[2,"product-id"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"step1Elems":[32],"step2Elems":[32],"stepsWrapper":[32],"textArea":[32],"imageCover":[32],"textSelect":[32],"customTextArea":[32],"calendarFormGroup":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"open":[64],"close":[64],"goToStep2":[64]}],[4,"salla-loyalty",{"prizePoints":[8,"prize-points"],"customerPoints":[2,"customer-points"],"prizeTitle":[1,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1,"guest-message"],"loyaltyProgram":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}],[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}],[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}],[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64]}],[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"loading":[32],"close":[64],"open":[64],"handleSubmit":[64]}],[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"translationLoaded":[32],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}],[4,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"currentTabName":[32],"regType":[32],"translationLoaded":[32],"title":[32],"emailErrorMsg":[32],"firstNameErrorMsg":[32],"lastNameErrorMsg":[32],"open":[64]},[[8,"verified","onVerified"]]],[0,"salla-user-settings",{"isNotifiable":[516,"is-notifiable"],"deactivateAccount":[32],"promotionalMsgs":[32],"deactivateDesc":[32],"promotionalMsgsDesc":[32],"sorryForLeavingText":[32],"warningText":[32],"keepAccount":[32],"buttonLoading":[32]}],[0,"salla-search",{"inline":[4],"oval":[4],"height":[2],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]]],[0,"salla-comment-form",{"type":[1],"showAvatar":[4,"show-avatar"],"itemId":[8,"item-id"],"placeholder":[32],"submitText":[32],"canComment":[32]}],[4,"salla-sheet",{"position":[1],"width":[2],"height":[2],"sheetColor":[1,"sheet-color"],"persistent":[4],"flag":[32],"open":[64],"close":[64]}],[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[513],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64]}],[4,"salla-cart-summary",{"cartSummaryCount":[32],"cartSummaryTotal":[32],"animateToCart":[64]}],[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}],[4,"salla-quantity-input",{"quantity":[32],"decrease":[64],"increase":[64],"setValue":[64]}],[0,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"badges":[32],"OrderUpdate":[32]}],[0,"salla-product-availability",{"channels":[1],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32],"isVisitorSubscribed":[32]}],[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}],[0,"salla-datetime-picker",{"value":[1025],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16],"position":[1],"positionElement":[16],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4]}],[0,"salla-file-upload",{"required":[4],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16],"serverConfig":[1,"server-config"],"instantUpload":[4,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1,"label-idle"],"labelInvalidField":[1,"label-invalid-field"],"labelFileWaitingForSize":[1,"label-file-waiting-for-size"],"labelFileSizeNotAvailable":[1,"label-file-size-not-available"],"labelFileLoading":[1,"label-file-loading"],"labelFileLoadError":[1,"label-file-load-error"],"labelFileProcessing":[1,"label-file-processing"],"labelFileProcessingComplete":[1,"label-file-processing-complete"],"labelFileProcessingAborted":[1,"label-file-processing-aborted"],"labelFileProcessingError":[1,"label-file-processing-error"],"labelFileProcessingRevertError":[1,"label-file-processing-revert-error"],"labelFileRemoveError":[1,"label-file-remove-error"],"labelTapToCancel":[1,"label-tap-to-cancel"],"labelTapToRetry":[1,"label-tap-to-retry"],"labelTapToUndo":[1,"label-tap-to-undo"],"labelButtonRemoveItem":[1,"label-button-remove-item"],"labelButtonAbortItemLoad":[1,"label-button-abort-item-load"],"labelButtonRetryItemLoad":[1,"label-button-retry-item-load"],"labelButtonAbortItemProcessing":[1,"label-button-abort-item-processing"],"labelButtonUndoItemProcessing":[1,"label-button-undo-item-processing"],"labelButtonRetryItemProcessing":[1,"label-button-retry-item-processing"],"labelButtonProcessItem":[1,"label-button-process-item"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"pond":[32],"files":[32],"appendFile":[64]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2]}],[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]],[4,"salla-slider",{"showControls":[516,"show-controls"],"showThumbsControls":[4,"show-thumbs-controls"],"type":[1],"sliderConfig":[520,"slider-config"],"thumbsConfig":[520,"thumbs-config"],"currentIndex":[32],"isEnd":[32],"isBeginning":[32],"isRTL":[32],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"slideToLoop":[64],"slideNextLoop":[64],"slidePrevLoop":[64],"slideReset":[64],"slideToClosest":[64],"update":[64],"updateAutoHeight":[64],"updateSlides":[64],"updateProgress":[64],"updateSlidesClasses":[64]}],[4,"salla-list-tile",{"href":[1],"target":[1]}],[0,"salla-tel-input",{"phone":[1025],"name":[1],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}],[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]]],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-486ce499.system",[[4,"salla-add-product-button",{"channels":[513],"quantity":[514],"donatingAmount":[514,"donating-amount"],"productId":[520,"product-id"],"productStatus":[513,"product-status"],"productType":[513,"product-type"]}]]],["p-684a004a.system",[[4,"salla-swiper",{"loop":[4],"speed":[2],"itemPerView":[8,"item-per-view"],"spaceBetweenItems":[2,"space-between-items"],"currentIndex":[32],"isLastSlideItem":[32],"isFirstSlideItem":[32]}]]],["p-5d3cb89c.system",[[4,"salla-conditional-fields",null,[[0,"change","changeHandler"]]]]],["p-21aa165d.system",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"tamaraIsActive":[32],"tabbyIsActive":[32],"spotiiIsActive":[32]}]]],["p-217e1d1c.system",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-1b53ebda.system",[[0,"salla-select",{"label":[1],"items":[16],"itemText":[1,"item-text"],"itemValue":[1,"item-value"],"itemDisabled":[1,"item-disabled"],"size":[1],"value":[1032],"autofocus":[4],"clearable":[4],"clearIcon":[1,"clear-icon"],"color":[1],"flat":[4],"disabled":[4],"loading":[4],"loadingColor":[1,"loading-color"],"hint":[1],"persistHint":[4,"persist-hint"],"placeholder":[1],"multiple":[4],"autocomplete":[4],"required":[4],"chips":[4],"shape":[1],"returnObject":[4,"return-object"],"hideDetail":[4,"hide-detail"]}]]]]'),e)}))}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import{r as e,h as r}from"./p-7dc66c07.js";import{S as i,A as s,a as A}from"./p-6ed7d3a2.js";const t=class{constructor(r){e(this,r),this.loop=!1,this.speed=300,this.itemPerView="auto",this.spaceBetweenItems=8,this.currentIndex=void 0,this.isLastSlideItem=!1,this.isFirstSlideItem=!0}componentDidLoad(){this.initSwiper()}initSwiper(){for(const e of this.swiperWrapper.children)e.classList.add("swiper-slide");this.swiper=new i(this.swiperContainer,{loop:this.loop,speed:this.speed,slidesPerView:this.itemPerView,spaceBetween:this.spaceBetweenItems})}update(){this.swiper.update()}render(){var e,i;return r("div",{class:"s-swiper"},r("div",{class:"s-swiper-button-prev"},r("salla-button",{disabled:null===(e=this.swiper)||void 0===e?void 0:e.isBeginning,shape:"icon",color:"light",onClick:()=>this.swiper.slidePrev()},r("span",{class:"s-swiper-button-icon",innerHTML:A}))),r("div",{class:"s-swiper-button-next"},r("salla-button",{disabled:null===(i=this.swiper)||void 0===i?void 0:i.isEnd,shape:"icon",color:"light",onClick:()=>this.swiper.slideNext()},r("span",{class:"s-swiper-button-icon",innerHTML:s}))),r("div",{class:"swiper"},r("div",{class:"swiper-container s-swiper-container",ref:e=>this.swiperContainer=e},r("div",{class:"swiper-wrapper s-swiper-wrapper",ref:e=>this.swiperWrapper=e},r("slot",null)))))}};t.style='@font-face{font-family:"swiper-icons";src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-pointer-events{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-pointer-events.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:"";-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}.s-swiper{position:relative}';export{t as salla_swiper}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{p as e,w as a,d as l,N as t,a as o,b as r}from"./p-7dc66c07.js";import"./p-6a3e35b0.js";import"./p-f84bae34.js";(()=>{e.l=a.__cssshim;const r=Array.from(l.querySelectorAll("script")).find((e=>new RegExp(`/${t}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===t)),i={};return i.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,a.location.href)).href,((e,o)=>{const r=`__sc_import_${t.replace(/\s|-/g,"_")}`;try{a[r]=new Function("w",`return import(w);//${Math.random()}`)}catch(t){const i=new Map;a[r]=t=>{const s=new URL(t,e).href;let n=i.get(s);if(!n){const e=l.createElement("script");e.type="module",e.crossOrigin=o.crossOrigin,e.src=URL.createObjectURL(new Blob([`import * as m from '${s}'; window.${r}.m = m;`],{type:"application/javascript"})),n=new Promise((l=>{e.onload=()=>{l(a[r].m),e.remove()}})),i.set(s,n),l.head.appendChild(e)}return n}}})(i.resourcesUrl,r),a.customElements?o(i):__sc_import_twilight("./p-5db948f2.js").then((()=>i))})().then((e=>r(JSON.parse('[["p-c2a91680",[[4,"salla-gifting",{"productId":[2,"product-id"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"step1Elems":[32],"step2Elems":[32],"stepsWrapper":[32],"textArea":[32],"imageCover":[32],"textSelect":[32],"customTextArea":[32],"calendarFormGroup":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"open":[64],"close":[64],"goToStep2":[64]}],[4,"salla-loyalty",{"prizePoints":[8,"prize-points"],"customerPoints":[2,"customer-points"],"prizeTitle":[1,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1,"guest-message"],"loyaltyProgram":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}],[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}],[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64]}],[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"translationLoaded":[32],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}],[4,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"currentTabName":[32],"regType":[32],"translationLoaded":[32],"title":[32],"emailErrorMsg":[32],"firstNameErrorMsg":[32],"lastNameErrorMsg":[32],"open":[64]},[[8,"verified","onVerified"]]],[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}],[0,"salla-user-settings",{"isNotifiable":[516,"is-notifiable"],"deactivateAccount":[32],"promotionalMsgs":[32],"deactivateDesc":[32],"promotionalMsgsDesc":[32],"sorryForLeavingText":[32],"warningText":[32],"keepAccount":[32],"buttonLoading":[32]}],[0,"salla-search",{"inline":[4],"oval":[4],"height":[2],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]]],[0,"salla-comment-form",{"type":[1],"showAvatar":[4,"show-avatar"],"itemId":[8,"item-id"],"placeholder":[32],"submitText":[32],"canComment":[32]}],[4,"salla-sheet",{"position":[1],"width":[2],"height":[2],"sheetColor":[1,"sheet-color"],"persistent":[4],"flag":[32],"open":[64],"close":[64]}],[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[513],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64]}],[4,"salla-cart-summary",{"cartSummaryCount":[32],"cartSummaryTotal":[32],"animateToCart":[64]}],[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}],[4,"salla-quantity-input",{"quantity":[32],"decrease":[64],"increase":[64],"setValue":[64]}],[0,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"badges":[32],"OrderUpdate":[32]}],[0,"salla-product-availability",{"channels":[1],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32],"isVisitorSubscribed":[32]}],[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}],[0,"salla-datetime-picker",{"value":[1025],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16],"position":[1],"positionElement":[16],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4]}],[0,"salla-file-upload",{"required":[4],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16],"serverConfig":[1,"server-config"],"instantUpload":[4,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1,"label-idle"],"labelInvalidField":[1,"label-invalid-field"],"labelFileWaitingForSize":[1,"label-file-waiting-for-size"],"labelFileSizeNotAvailable":[1,"label-file-size-not-available"],"labelFileLoading":[1,"label-file-loading"],"labelFileLoadError":[1,"label-file-load-error"],"labelFileProcessing":[1,"label-file-processing"],"labelFileProcessingComplete":[1,"label-file-processing-complete"],"labelFileProcessingAborted":[1,"label-file-processing-aborted"],"labelFileProcessingError":[1,"label-file-processing-error"],"labelFileProcessingRevertError":[1,"label-file-processing-revert-error"],"labelFileRemoveError":[1,"label-file-remove-error"],"labelTapToCancel":[1,"label-tap-to-cancel"],"labelTapToRetry":[1,"label-tap-to-retry"],"labelTapToUndo":[1,"label-tap-to-undo"],"labelButtonRemoveItem":[1,"label-button-remove-item"],"labelButtonAbortItemLoad":[1,"label-button-abort-item-load"],"labelButtonRetryItemLoad":[1,"label-button-retry-item-load"],"labelButtonAbortItemProcessing":[1,"label-button-abort-item-processing"],"labelButtonUndoItemProcessing":[1,"label-button-undo-item-processing"],"labelButtonRetryItemProcessing":[1,"label-button-retry-item-processing"],"labelButtonProcessItem":[1,"label-button-process-item"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"pond":[32],"files":[32],"appendFile":[64]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2]}],[4,"salla-swiper",{"loop":[4],"speed":[2],"itemPerView":[8,"item-per-view"],"spaceBetweenItems":[2,"space-between-items"],"currentIndex":[32],"isLastSlideItem":[32],"isFirstSlideItem":[32]}],[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]],[4,"salla-list-tile",{"href":[1],"target":[1]}],[0,"salla-tel-input",{"phone":[1025],"name":[1],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}],[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]]],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-6d34d337",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-6f41faf8",[[4,"salla-add-product-button",{"channels":[513],"quantity":[514],"donatingAmount":[514,"donating-amount"],"productId":[520,"product-id"],"productStatus":[513,"product-status"],"productType":[513,"product-type"]}]]],["p-6a3883ae",[[4,"salla-conditional-fields",null,[[0,"change","changeHandler"]]]]],["p-82931e46",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"tamaraIsActive":[32],"tabbyIsActive":[32],"spotiiIsActive":[32]}]]],["p-03695034",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-a7bd281c",[[0,"salla-select",{"label":[1],"items":[16],"itemText":[1,"item-text"],"itemValue":[1,"item-value"],"itemDisabled":[1,"item-disabled"],"size":[1],"value":[1032],"autofocus":[4],"clearable":[4],"clearIcon":[1,"clear-icon"],"color":[1],"flat":[4],"disabled":[4],"loading":[4],"loadingColor":[1,"loading-color"],"hint":[1],"persistHint":[4,"persist-hint"],"placeholder":[1],"multiple":[4],"autocomplete":[4],"required":[4],"chips":[4],"shape":[1],"returnObject":[4,"return-object"],"hideDetail":[4,"hide-detail"]}]]]]'),e)));
|
|
4
|
+
import{p as e,w as a,d as l,N as t,a as o,b as i}from"./p-7dc66c07.js";import"./p-6a3e35b0.js";import"./p-f84bae34.js";(()=>{e.l=a.__cssshim;const i=Array.from(l.querySelectorAll("script")).find((e=>new RegExp(`/${t}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===t)),r={};return r.resourcesUrl=new URL(".",new URL(i.getAttribute("data-resources-url")||i.src,a.location.href)).href,((e,o)=>{const i=`__sc_import_${t.replace(/\s|-/g,"_")}`;try{a[i]=new Function("w",`return import(w);//${Math.random()}`)}catch(t){const r=new Map;a[i]=t=>{const s=new URL(t,e).href;let n=r.get(s);if(!n){const e=l.createElement("script");e.type="module",e.crossOrigin=o.crossOrigin,e.src=URL.createObjectURL(new Blob([`import * as m from '${s}'; window.${i}.m = m;`],{type:"application/javascript"})),n=new Promise((l=>{e.onload=()=>{l(a[i].m),e.remove()}})),r.set(s,n),l.head.appendChild(e)}return n}}})(r.resourcesUrl,i),a.customElements?o(r):__sc_import_twilight("./p-5db948f2.js").then((()=>r))})().then((e=>i(JSON.parse('[["p-6f94dcce",[[4,"salla-gifting",{"productId":[2,"product-id"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"step1Elems":[32],"step2Elems":[32],"stepsWrapper":[32],"textArea":[32],"imageCover":[32],"textSelect":[32],"customTextArea":[32],"calendarFormGroup":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"open":[64],"close":[64],"goToStep2":[64]}],[4,"salla-loyalty",{"prizePoints":[8,"prize-points"],"customerPoints":[2,"customer-points"],"prizeTitle":[1,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1,"guest-message"],"loyaltyProgram":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}],[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}],[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}],[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64]}],[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"loading":[32],"close":[64],"open":[64],"handleSubmit":[64]}],[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"translationLoaded":[32],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}],[4,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"currentTabName":[32],"regType":[32],"translationLoaded":[32],"title":[32],"emailErrorMsg":[32],"firstNameErrorMsg":[32],"lastNameErrorMsg":[32],"open":[64]},[[8,"verified","onVerified"]]],[0,"salla-user-settings",{"isNotifiable":[516,"is-notifiable"],"deactivateAccount":[32],"promotionalMsgs":[32],"deactivateDesc":[32],"promotionalMsgsDesc":[32],"sorryForLeavingText":[32],"warningText":[32],"keepAccount":[32],"buttonLoading":[32]}],[0,"salla-search",{"inline":[4],"oval":[4],"height":[2],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]]],[0,"salla-comment-form",{"type":[1],"showAvatar":[4,"show-avatar"],"itemId":[8,"item-id"],"placeholder":[32],"submitText":[32],"canComment":[32]}],[4,"salla-sheet",{"position":[1],"width":[2],"height":[2],"sheetColor":[1,"sheet-color"],"persistent":[4],"flag":[32],"open":[64],"close":[64]}],[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[513],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64]}],[4,"salla-cart-summary",{"cartSummaryCount":[32],"cartSummaryTotal":[32],"animateToCart":[64]}],[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}],[4,"salla-quantity-input",{"quantity":[32],"decrease":[64],"increase":[64],"setValue":[64]}],[0,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"badges":[32],"OrderUpdate":[32]}],[0,"salla-product-availability",{"channels":[1],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32],"isVisitorSubscribed":[32]}],[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}],[0,"salla-datetime-picker",{"value":[1025],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16],"position":[1],"positionElement":[16],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4]}],[0,"salla-file-upload",{"required":[4],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16],"serverConfig":[1,"server-config"],"instantUpload":[4,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1,"label-idle"],"labelInvalidField":[1,"label-invalid-field"],"labelFileWaitingForSize":[1,"label-file-waiting-for-size"],"labelFileSizeNotAvailable":[1,"label-file-size-not-available"],"labelFileLoading":[1,"label-file-loading"],"labelFileLoadError":[1,"label-file-load-error"],"labelFileProcessing":[1,"label-file-processing"],"labelFileProcessingComplete":[1,"label-file-processing-complete"],"labelFileProcessingAborted":[1,"label-file-processing-aborted"],"labelFileProcessingError":[1,"label-file-processing-error"],"labelFileProcessingRevertError":[1,"label-file-processing-revert-error"],"labelFileRemoveError":[1,"label-file-remove-error"],"labelTapToCancel":[1,"label-tap-to-cancel"],"labelTapToRetry":[1,"label-tap-to-retry"],"labelTapToUndo":[1,"label-tap-to-undo"],"labelButtonRemoveItem":[1,"label-button-remove-item"],"labelButtonAbortItemLoad":[1,"label-button-abort-item-load"],"labelButtonRetryItemLoad":[1,"label-button-retry-item-load"],"labelButtonAbortItemProcessing":[1,"label-button-abort-item-processing"],"labelButtonUndoItemProcessing":[1,"label-button-undo-item-processing"],"labelButtonRetryItemProcessing":[1,"label-button-retry-item-processing"],"labelButtonProcessItem":[1,"label-button-process-item"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"pond":[32],"files":[32],"appendFile":[64]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2]}],[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]],[4,"salla-slider",{"showControls":[516,"show-controls"],"showThumbsControls":[4,"show-thumbs-controls"],"type":[1],"sliderConfig":[520,"slider-config"],"thumbsConfig":[520,"thumbs-config"],"currentIndex":[32],"isEnd":[32],"isBeginning":[32],"isRTL":[32],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"slideToLoop":[64],"slideNextLoop":[64],"slidePrevLoop":[64],"slideReset":[64],"slideToClosest":[64],"update":[64],"updateAutoHeight":[64],"updateSlides":[64],"updateProgress":[64],"updateSlidesClasses":[64]}],[4,"salla-list-tile",{"href":[1],"target":[1]}],[0,"salla-tel-input",{"phone":[1025],"name":[1],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}],[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]]],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-6f41faf8",[[4,"salla-add-product-button",{"channels":[513],"quantity":[514],"donatingAmount":[514,"donating-amount"],"productId":[520,"product-id"],"productStatus":[513,"product-status"],"productType":[513,"product-type"]}]]],["p-e8c3c209",[[4,"salla-swiper",{"loop":[4],"speed":[2],"itemPerView":[8,"item-per-view"],"spaceBetweenItems":[2,"space-between-items"],"currentIndex":[32],"isLastSlideItem":[32],"isFirstSlideItem":[32]}]]],["p-6a3883ae",[[4,"salla-conditional-fields",null,[[0,"change","changeHandler"]]]]],["p-82931e46",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"tamaraIsActive":[32],"tabbyIsActive":[32],"spotiiIsActive":[32]}]]],["p-03695034",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-a7bd281c",[[0,"salla-select",{"label":[1],"items":[16],"itemText":[1,"item-text"],"itemValue":[1,"item-value"],"itemDisabled":[1,"item-disabled"],"size":[1],"value":[1032],"autofocus":[4],"clearable":[4],"clearIcon":[1,"clear-icon"],"color":[1],"flat":[4],"disabled":[4],"loading":[4],"loadingColor":[1,"loading-color"],"hint":[1],"persistHint":[4,"persist-hint"],"placeholder":[1],"multiple":[4],"autocomplete":[4],"required":[4],"chips":[4],"shape":[1],"returnObject":[4,"return-object"],"hideDetail":[4,"hide-detail"]}]]]]'),e)));
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @slot items - Slider items.
|
|
4
|
+
* @slot thumbs - Thumbs slider items.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SallaSwiper {
|
|
7
|
+
/**
|
|
8
|
+
* Show/hide arrows
|
|
9
|
+
*/
|
|
10
|
+
showControls: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Show/hide thumbs slider arrows
|
|
13
|
+
*/
|
|
14
|
+
showThumbsControls: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Set the type of the slider
|
|
17
|
+
* Default: ''
|
|
18
|
+
*/
|
|
19
|
+
type: 'carousel' | 'thumbs' | '';
|
|
20
|
+
/**
|
|
21
|
+
* Slider Configs refer to https://swiperjs.com/swiper-api#parameters and pass the entire config object
|
|
22
|
+
* @example
|
|
23
|
+
* let slider = document.querySelector('salla-slider');
|
|
24
|
+
* slider.sliderConfig = {
|
|
25
|
+
* slidesPerView: 1,
|
|
26
|
+
* spaceBetween : 30,
|
|
27
|
+
* lazy: true,
|
|
28
|
+
* }
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
sliderConfig: any;
|
|
32
|
+
/**
|
|
33
|
+
* Thumbs Slider Configs refer to https://swiperjs.com/swiper-api#parameters and pass the entire config object
|
|
34
|
+
* @example
|
|
35
|
+
* let slider = document.querySelector('salla-slider');
|
|
36
|
+
* slider.thumbsConfig = {
|
|
37
|
+
* slidesPerView: 1,
|
|
38
|
+
* spaceBetween : 30,
|
|
39
|
+
* lazy: true,
|
|
40
|
+
* }
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
thumbsConfig: any;
|
|
44
|
+
slideChange: EventEmitter<any>;
|
|
45
|
+
reachBeginning: EventEmitter<any>;
|
|
46
|
+
reachEnd: EventEmitter<any>;
|
|
47
|
+
slideChangeTransitionEnd: EventEmitter<any>;
|
|
48
|
+
slideChangeTransitionStart: EventEmitter<any>;
|
|
49
|
+
slideNextTransitionEnd: EventEmitter<any>;
|
|
50
|
+
slideNextTransitionStart: EventEmitter<any>;
|
|
51
|
+
slidePrevTransitionEnd: EventEmitter<any>;
|
|
52
|
+
slidePrevTransitionStart: EventEmitter<any>;
|
|
53
|
+
sliderMove: EventEmitter<any>;
|
|
54
|
+
touchSliderEnd: EventEmitter<any>;
|
|
55
|
+
touchSliderMove: EventEmitter<any>;
|
|
56
|
+
touchSliderStart: EventEmitter<any>;
|
|
57
|
+
sliderTransitionEnd: EventEmitter<any>;
|
|
58
|
+
sliderTransitionStart: EventEmitter<any>;
|
|
59
|
+
/**
|
|
60
|
+
* Run transition to the slide with index number equal to 'index' parameter for the duration equal to 'speed' parameter.
|
|
61
|
+
*
|
|
62
|
+
* @param {number} index - Index number of slide.
|
|
63
|
+
* @param {number} speed - Transition duration (in ms).
|
|
64
|
+
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
65
|
+
* **/
|
|
66
|
+
slideTo(index: number, speed?: number, runCallbacks?: boolean): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Run transition to the next slide.
|
|
69
|
+
*
|
|
70
|
+
* @param {number} speed - Transition duration (in ms).
|
|
71
|
+
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
72
|
+
* **/
|
|
73
|
+
slideNext(speed?: number, runCallbacks?: boolean): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* Run transition to the previous slide.
|
|
76
|
+
*
|
|
77
|
+
* @param {number} speed - Transition duration (in ms).
|
|
78
|
+
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
79
|
+
* **/
|
|
80
|
+
slidePrev(speed?: number, runCallbacks?: boolean): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Does the same as .slideTo but for the case when used with enabled loop. So this method will slide to slides with realIndex matching to passed index
|
|
83
|
+
*
|
|
84
|
+
* @param {number} speed - Transition duration (in ms).
|
|
85
|
+
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
86
|
+
* **/
|
|
87
|
+
slideToLoop(index: number, speed?: number, runCallbacks?: boolean): Promise<void>;
|
|
88
|
+
/**
|
|
89
|
+
* Does the same as .slideNext but for the case when used with enabled loop. So this method will slide to next slide with realIndex matching to next index
|
|
90
|
+
*
|
|
91
|
+
* @param {number} speed - Transition duration (in ms).
|
|
92
|
+
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
93
|
+
* **/
|
|
94
|
+
slideNextLoop(speed?: number, runCallbacks?: boolean): Promise<void>;
|
|
95
|
+
/**
|
|
96
|
+
* Does the same as .slidePrev but for the case when used with enabled loop. So this method will slide to previous slide with realIndex matching to previous index
|
|
97
|
+
*
|
|
98
|
+
* @param {number} speed - Transition duration (in ms).
|
|
99
|
+
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
100
|
+
* **/
|
|
101
|
+
slidePrevLoop(speed?: number, runCallbacks?: boolean): Promise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* Reset slider position to currently active slide for the duration equal to 'speed' parameter.
|
|
104
|
+
*
|
|
105
|
+
* @param {number} speed - Transition duration (in ms).
|
|
106
|
+
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
107
|
+
* **/
|
|
108
|
+
slideReset(speed?: number, runCallbacks?: boolean): Promise<void>;
|
|
109
|
+
/**
|
|
110
|
+
* Reset slider position to closest slide/snap point for the duration equal to 'speed' parameter.
|
|
111
|
+
* @param {number} speed - Transition duration (in ms).
|
|
112
|
+
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
113
|
+
* **/
|
|
114
|
+
slideToClosest(speed?: number, runCallbacks?: boolean): Promise<void>;
|
|
115
|
+
/**
|
|
116
|
+
* You should call it after you add/remove slides manually, or after you hide/show it, or do any custom DOM modifications with Swiper This method also includes subcall of the following methods which you can use separately:
|
|
117
|
+
* **/
|
|
118
|
+
update(): Promise<void>;
|
|
119
|
+
/**
|
|
120
|
+
* Force slider to update its height (when autoHeight enabled) for the duration equal to 'speed' parameter
|
|
121
|
+
* @param {number} speed - Transition duration (in ms).
|
|
122
|
+
* **/
|
|
123
|
+
updateAutoHeight(speed?: number): Promise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* recalculate number of slides and their offsets. Useful after you add/remove slides with JavaScript
|
|
126
|
+
* **/
|
|
127
|
+
updateSlides(): Promise<void>;
|
|
128
|
+
/**
|
|
129
|
+
* recalculate slider progress
|
|
130
|
+
* **/
|
|
131
|
+
updateProgress(): Promise<void>;
|
|
132
|
+
/**
|
|
133
|
+
* update active/prev/next classes on slides and bullets
|
|
134
|
+
* **/
|
|
135
|
+
updateSlidesClasses(): Promise<void>;
|
|
136
|
+
currentIndex: number | undefined;
|
|
137
|
+
isEnd: boolean;
|
|
138
|
+
isBeginning: boolean;
|
|
139
|
+
isRTL: boolean;
|
|
140
|
+
private sliderContainer?;
|
|
141
|
+
private sliderWrapper?;
|
|
142
|
+
private thumbsSliderContainer?;
|
|
143
|
+
private thumbsSliderWrapper?;
|
|
144
|
+
private slider;
|
|
145
|
+
private thumbsSlider;
|
|
146
|
+
componentDidLoad(): void;
|
|
147
|
+
initSlider(): void;
|
|
148
|
+
render(): any;
|
|
149
|
+
}
|
|
@@ -1052,6 +1052,100 @@ export namespace Components {
|
|
|
1052
1052
|
*/
|
|
1053
1053
|
"width": string;
|
|
1054
1054
|
}
|
|
1055
|
+
interface SallaSlider {
|
|
1056
|
+
/**
|
|
1057
|
+
* Show/hide arrows
|
|
1058
|
+
*/
|
|
1059
|
+
"showControls": boolean;
|
|
1060
|
+
/**
|
|
1061
|
+
* Show/hide thumbs slider arrows
|
|
1062
|
+
*/
|
|
1063
|
+
"showThumbsControls": boolean;
|
|
1064
|
+
/**
|
|
1065
|
+
* Run transition to the next slide.
|
|
1066
|
+
* @param speed - Transition duration (in ms).
|
|
1067
|
+
* @param runCallbacks - Set it to false (by default it is true) and transition will not produce transition events. *
|
|
1068
|
+
*/
|
|
1069
|
+
"slideNext": (speed?: number, runCallbacks?: boolean) => Promise<void>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Does the same as .slideNext but for the case when used with enabled loop. So this method will slide to next slide with realIndex matching to next index
|
|
1072
|
+
* @param speed - Transition duration (in ms).
|
|
1073
|
+
* @param runCallbacks - Set it to false (by default it is true) and transition will not produce transition events. *
|
|
1074
|
+
*/
|
|
1075
|
+
"slideNextLoop": (speed?: number, runCallbacks?: boolean) => Promise<void>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Run transition to the previous slide.
|
|
1078
|
+
* @param speed - Transition duration (in ms).
|
|
1079
|
+
* @param runCallbacks - Set it to false (by default it is true) and transition will not produce transition events. *
|
|
1080
|
+
*/
|
|
1081
|
+
"slidePrev": (speed?: number, runCallbacks?: boolean) => Promise<void>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Does the same as .slidePrev but for the case when used with enabled loop. So this method will slide to previous slide with realIndex matching to previous index
|
|
1084
|
+
* @param speed - Transition duration (in ms).
|
|
1085
|
+
* @param runCallbacks - Set it to false (by default it is true) and transition will not produce transition events. *
|
|
1086
|
+
*/
|
|
1087
|
+
"slidePrevLoop": (speed?: number, runCallbacks?: boolean) => Promise<void>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Reset slider position to currently active slide for the duration equal to 'speed' parameter.
|
|
1090
|
+
* @param speed - Transition duration (in ms).
|
|
1091
|
+
* @param runCallbacks - Set it to false (by default it is true) and transition will not produce transition events. *
|
|
1092
|
+
*/
|
|
1093
|
+
"slideReset": (speed?: number, runCallbacks?: boolean) => Promise<void>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Run transition to the slide with index number equal to 'index' parameter for the duration equal to 'speed' parameter.
|
|
1096
|
+
* @param index - Index number of slide.
|
|
1097
|
+
* @param speed - Transition duration (in ms).
|
|
1098
|
+
* @param runCallbacks - Set it to false (by default it is true) and transition will not produce transition events. *
|
|
1099
|
+
*/
|
|
1100
|
+
"slideTo": (index: number, speed?: number, runCallbacks?: boolean) => Promise<void>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Reset slider position to closest slide/snap point for the duration equal to 'speed' parameter.
|
|
1103
|
+
* @param speed - Transition duration (in ms).
|
|
1104
|
+
* @param runCallbacks - Set it to false (by default it is true) and transition will not produce transition events. *
|
|
1105
|
+
*/
|
|
1106
|
+
"slideToClosest": (speed?: number, runCallbacks?: boolean) => Promise<void>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Does the same as .slideTo but for the case when used with enabled loop. So this method will slide to slides with realIndex matching to passed index
|
|
1109
|
+
* @param speed - Transition duration (in ms).
|
|
1110
|
+
* @param runCallbacks - Set it to false (by default it is true) and transition will not produce transition events. *
|
|
1111
|
+
*/
|
|
1112
|
+
"slideToLoop": (index: number, speed?: number, runCallbacks?: boolean) => Promise<void>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Slider Configs refer to https://swiperjs.com/swiper-api#parameters and pass the entire config object
|
|
1115
|
+
* @example let slider = document.querySelector('salla-slider'); slider.sliderConfig = { slidesPerView: 1, spaceBetween : 30, lazy: true, }
|
|
1116
|
+
*/
|
|
1117
|
+
"sliderConfig": any;
|
|
1118
|
+
/**
|
|
1119
|
+
* Thumbs Slider Configs refer to https://swiperjs.com/swiper-api#parameters and pass the entire config object
|
|
1120
|
+
* @example let slider = document.querySelector('salla-slider'); slider.thumbsConfig = { slidesPerView: 1, spaceBetween : 30, lazy: true, }
|
|
1121
|
+
*/
|
|
1122
|
+
"thumbsConfig": any;
|
|
1123
|
+
/**
|
|
1124
|
+
* Set the type of the slider Default: ''
|
|
1125
|
+
*/
|
|
1126
|
+
"type": 'carousel' | 'thumbs' | '';
|
|
1127
|
+
/**
|
|
1128
|
+
* You should call it after you add/remove slides manually, or after you hide/show it, or do any custom DOM modifications with Swiper This method also includes subcall of the following methods which you can use separately: *
|
|
1129
|
+
*/
|
|
1130
|
+
"update": () => Promise<void>;
|
|
1131
|
+
/**
|
|
1132
|
+
* Force slider to update its height (when autoHeight enabled) for the duration equal to 'speed' parameter
|
|
1133
|
+
* @param speed - Transition duration (in ms). *
|
|
1134
|
+
*/
|
|
1135
|
+
"updateAutoHeight": (speed?: number) => Promise<void>;
|
|
1136
|
+
/**
|
|
1137
|
+
* recalculate slider progress *
|
|
1138
|
+
*/
|
|
1139
|
+
"updateProgress": () => Promise<void>;
|
|
1140
|
+
/**
|
|
1141
|
+
* recalculate number of slides and their offsets. Useful after you add/remove slides with JavaScript *
|
|
1142
|
+
*/
|
|
1143
|
+
"updateSlides": () => Promise<void>;
|
|
1144
|
+
/**
|
|
1145
|
+
* update active/prev/next classes on slides and bullets *
|
|
1146
|
+
*/
|
|
1147
|
+
"updateSlidesClasses": () => Promise<void>;
|
|
1148
|
+
}
|
|
1055
1149
|
interface SallaSocialShare {
|
|
1056
1150
|
/**
|
|
1057
1151
|
* Activate or open the share menu.
|
|
@@ -1227,6 +1321,10 @@ export interface SallaModalCustomEvent<T> extends CustomEvent<T> {
|
|
|
1227
1321
|
detail: T;
|
|
1228
1322
|
target: HTMLSallaModalElement;
|
|
1229
1323
|
}
|
|
1324
|
+
export interface SallaSliderCustomEvent<T> extends CustomEvent<T> {
|
|
1325
|
+
detail: T;
|
|
1326
|
+
target: HTMLSallaSliderElement;
|
|
1327
|
+
}
|
|
1230
1328
|
export interface SallaTabHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
1231
1329
|
detail: T;
|
|
1232
1330
|
target: HTMLSallaTabHeaderElement;
|
|
@@ -1414,6 +1512,12 @@ declare global {
|
|
|
1414
1512
|
prototype: HTMLSallaSkeletonElement;
|
|
1415
1513
|
new (): HTMLSallaSkeletonElement;
|
|
1416
1514
|
};
|
|
1515
|
+
interface HTMLSallaSliderElement extends Components.SallaSlider, HTMLStencilElement {
|
|
1516
|
+
}
|
|
1517
|
+
var HTMLSallaSliderElement: {
|
|
1518
|
+
prototype: HTMLSallaSliderElement;
|
|
1519
|
+
new (): HTMLSallaSliderElement;
|
|
1520
|
+
};
|
|
1417
1521
|
interface HTMLSallaSocialShareElement extends Components.SallaSocialShare, HTMLStencilElement {
|
|
1418
1522
|
}
|
|
1419
1523
|
var HTMLSallaSocialShareElement: {
|
|
@@ -1498,6 +1602,7 @@ declare global {
|
|
|
1498
1602
|
"salla-select": HTMLSallaSelectElement;
|
|
1499
1603
|
"salla-sheet": HTMLSallaSheetElement;
|
|
1500
1604
|
"salla-skeleton": HTMLSallaSkeletonElement;
|
|
1605
|
+
"salla-slider": HTMLSallaSliderElement;
|
|
1501
1606
|
"salla-social-share": HTMLSallaSocialShareElement;
|
|
1502
1607
|
"salla-swiper": HTMLSallaSwiperElement;
|
|
1503
1608
|
"salla-tab-content": HTMLSallaTabContentElement;
|
|
@@ -2419,6 +2524,45 @@ declare namespace LocalJSX {
|
|
|
2419
2524
|
*/
|
|
2420
2525
|
"width"?: string;
|
|
2421
2526
|
}
|
|
2527
|
+
interface SallaSlider {
|
|
2528
|
+
"onReachBeginning"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2529
|
+
"onReachEnd"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2530
|
+
"onSlideChange"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2531
|
+
"onSlideChangeTransitionEnd"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2532
|
+
"onSlideChangeTransitionStart"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2533
|
+
"onSlideNextTransitionEnd"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2534
|
+
"onSlideNextTransitionStart"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2535
|
+
"onSlidePrevTransitionEnd"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2536
|
+
"onSlidePrevTransitionStart"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2537
|
+
"onSliderMove"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2538
|
+
"onSliderTransitionEnd"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2539
|
+
"onSliderTransitionStart"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2540
|
+
"onTouchSliderEnd"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2541
|
+
"onTouchSliderMove"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2542
|
+
"onTouchSliderStart"?: (event: SallaSliderCustomEvent<any>) => void;
|
|
2543
|
+
/**
|
|
2544
|
+
* Show/hide arrows
|
|
2545
|
+
*/
|
|
2546
|
+
"showControls"?: boolean;
|
|
2547
|
+
/**
|
|
2548
|
+
* Show/hide thumbs slider arrows
|
|
2549
|
+
*/
|
|
2550
|
+
"showThumbsControls"?: boolean;
|
|
2551
|
+
/**
|
|
2552
|
+
* Slider Configs refer to https://swiperjs.com/swiper-api#parameters and pass the entire config object
|
|
2553
|
+
* @example let slider = document.querySelector('salla-slider'); slider.sliderConfig = { slidesPerView: 1, spaceBetween : 30, lazy: true, }
|
|
2554
|
+
*/
|
|
2555
|
+
"sliderConfig"?: any;
|
|
2556
|
+
/**
|
|
2557
|
+
* Thumbs Slider Configs refer to https://swiperjs.com/swiper-api#parameters and pass the entire config object
|
|
2558
|
+
* @example let slider = document.querySelector('salla-slider'); slider.thumbsConfig = { slidesPerView: 1, spaceBetween : 30, lazy: true, }
|
|
2559
|
+
*/
|
|
2560
|
+
"thumbsConfig"?: any;
|
|
2561
|
+
/**
|
|
2562
|
+
* Set the type of the slider Default: ''
|
|
2563
|
+
*/
|
|
2564
|
+
"type"?: 'carousel' | 'thumbs' | '';
|
|
2565
|
+
}
|
|
2422
2566
|
interface SallaSocialShare {
|
|
2423
2567
|
/**
|
|
2424
2568
|
* selected platforms to share | all platforms
|
|
@@ -2583,6 +2727,7 @@ declare namespace LocalJSX {
|
|
|
2583
2727
|
"salla-select": SallaSelect;
|
|
2584
2728
|
"salla-sheet": SallaSheet;
|
|
2585
2729
|
"salla-skeleton": SallaSkeleton;
|
|
2730
|
+
"salla-slider": SallaSlider;
|
|
2586
2731
|
"salla-social-share": SallaSocialShare;
|
|
2587
2732
|
"salla-swiper": SallaSwiper;
|
|
2588
2733
|
"salla-tab-content": SallaTabContent;
|
|
@@ -2627,6 +2772,7 @@ declare module "@stencil/core" {
|
|
|
2627
2772
|
"salla-select": LocalJSX.SallaSelect & JSXBase.HTMLAttributes<HTMLSallaSelectElement>;
|
|
2628
2773
|
"salla-sheet": LocalJSX.SallaSheet & JSXBase.HTMLAttributes<HTMLSallaSheetElement>;
|
|
2629
2774
|
"salla-skeleton": LocalJSX.SallaSkeleton & JSXBase.HTMLAttributes<HTMLSallaSkeletonElement>;
|
|
2775
|
+
"salla-slider": LocalJSX.SallaSlider & JSXBase.HTMLAttributes<HTMLSallaSliderElement>;
|
|
2630
2776
|
"salla-social-share": LocalJSX.SallaSocialShare & JSXBase.HTMLAttributes<HTMLSallaSocialShareElement>;
|
|
2631
2777
|
"salla-swiper": LocalJSX.SallaSwiper & JSXBase.HTMLAttributes<HTMLSallaSwiperElement>;
|
|
2632
2778
|
"salla-tab-content": LocalJSX.SallaTabContent & JSXBase.HTMLAttributes<HTMLSallaTabContentElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salla.sa/twilight-components",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.39",
|
|
4
4
|
"license": "GPL-3.0",
|
|
5
5
|
"author": "Salla Team <support@salla.dev> (https://salla.dev)",
|
|
6
6
|
"bugs": {
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"typescript": "^4.4.3"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@salla.sa/twilight": "^2.9.
|
|
79
|
-
"@salla.sa/twilight-tailwind-theme": "^2.9.
|
|
78
|
+
"@salla.sa/twilight": "^2.9.39",
|
|
79
|
+
"@salla.sa/twilight-tailwind-theme": "^2.9.39",
|
|
80
80
|
"animejs": "^3.2.1",
|
|
81
81
|
"filepond": "^4.30.4",
|
|
82
82
|
"filepond-plugin-file-validate-size": "^2.2.7",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"intl-tel-input": "^17.0.13",
|
|
88
88
|
"swiper": "^8.3.1"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "47b0554b4e7418c2da3fbea1f1f48a2cdec093ff"
|
|
91
91
|
}
|