@salla.sa/twilight-components 2.14.292 → 2.14.294
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{filepond-B9sLUCBe.js → filepond-CGGCjN56.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DkzerIBW.js → filepond-plugin-file-poster-CSZViO2Z.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DF8uFSha.js → filepond-plugin-file-validate-size-E6Gv15oF.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-Dva6K_7l.js → filepond-plugin-file-validate-type-CPyu8pxB.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-C-0ziNsz.js → filepond-plugin-image-edit-CSNer-A5.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-DxXsE_ZP.js → filepond-plugin-image-exif-orientation-DEzwTEOc.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-2v59y8Fv.js → filepond-plugin-image-preview-CFGHrSPe.js} +1 -1
- package/dist/cjs/{index-CCofAgHa.js → index-BKN6oqfk.js} +2 -2
- package/dist/cjs/{index-B7O1YF_p.js → index-COQqEmIG.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion_62.cjs.entry.js +9 -9
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-reviews-page.cjs.entry.js +1 -1
- package/dist/cjs/salla-reviews.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/esm/{filepond-BYDXj1kv.js → filepond-9s_hrH-T.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CuFchfVe.js → filepond-plugin-file-poster-B0Eow32y.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DdbaDfww.js → filepond-plugin-file-validate-size-Cqzs4jCA.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BpacmUuQ.js → filepond-plugin-file-validate-type-uJfZLwRE.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit--2pWYR5x.js → filepond-plugin-image-edit-Ck70H3zM.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BHXDSKOW.js → filepond-plugin-image-exif-orientation-BB-xgO8T.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-DOiMBtjb.js → filepond-plugin-image-preview-CO4zuhvC.js} +1 -1
- package/dist/esm/{index-De5BFkJn.js → index-BzYM6G5p.js} +2 -2
- package/dist/esm/{index-6_auLzVW.js → index-CTrhtRUR.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion_62.entry.js +9 -9
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-review-card.entry.js +1 -1
- package/dist/esm/salla-reviews-page.entry.js +1 -1
- package/dist/esm/salla-reviews.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/twilight/{p-776eaeaa.entry.js → p-03c963db.entry.js} +1 -1
- package/dist/twilight/{p-24b6e7b0.entry.js → p-0d5c3afe.entry.js} +1 -1
- package/dist/twilight/{p-da7856b7.entry.js → p-29f0ab1e.entry.js} +2 -2
- package/dist/twilight/{p-719684b5.entry.js → p-2b23018d.entry.js} +1 -1
- package/dist/twilight/{p-1b88233c.entry.js → p-2c65b54d.entry.js} +1 -1
- package/dist/twilight/{p-628cedb8.entry.js → p-394506f0.entry.js} +1 -1
- package/dist/twilight/{p-854d383d.entry.js → p-3c2fd683.entry.js} +1 -1
- package/dist/twilight/{p-4e3906ea.entry.js → p-3de1d08f.entry.js} +1 -1
- package/dist/twilight/{p-bd8e92c2.entry.js → p-454504b2.entry.js} +1 -1
- package/dist/twilight/{p-26a1a393.entry.js → p-4e11facd.entry.js} +1 -1
- package/dist/twilight/{p-804c10d1.entry.js → p-4ef533e4.entry.js} +1 -1
- package/dist/twilight/{p-DCz2wWih.js → p-5M19N20S.js} +1 -1
- package/dist/twilight/{p-e185d4a4.entry.js → p-5a86632d.entry.js} +1 -1
- package/dist/twilight/{p-2933d113.entry.js → p-5c3aacf5.entry.js} +1 -1
- package/dist/twilight/{p-301f50d5.entry.js → p-5e2486f2.entry.js} +1 -1
- package/dist/twilight/{p-1f56038b.entry.js → p-7bc8f5f2.entry.js} +1 -1
- package/dist/twilight/{p-8f9c2b1a.entry.js → p-823202a3.entry.js} +1 -1
- package/dist/twilight/{p-8c29955b.entry.js → p-881a41b7.entry.js} +1 -1
- package/dist/twilight/{p-9b68655d.entry.js → p-9757dde8.entry.js} +1 -1
- package/dist/twilight/{p-37b7805d.entry.js → p-97dc4af6.entry.js} +1 -1
- package/dist/twilight/{p-D0KVO4LV.js → p-B86wiAo3.js} +1 -1
- package/dist/twilight/{p-De5BFkJn.js → p-BzYM6G5p.js} +1 -1
- package/dist/twilight/p-CDmVMECr.js +9 -0
- package/dist/twilight/{p-_xsLTh9m.js → p-CZPa2uSm.js} +1 -1
- package/dist/twilight/{p-CKvjL5Ck.js → p-CczoUZzK.js} +1 -1
- package/dist/twilight/{p-Bmnj4Lo0.js → p-DZjKCWKU.js} +1 -1
- package/dist/twilight/{p-vN9q8rrM.js → p-Ie0stZTt.js} +1 -1
- package/dist/twilight/{p-2c29cdf5.entry.js → p-a2e4c4e9.entry.js} +1 -1
- package/dist/twilight/{p-38375e84.entry.js → p-a887c4e9.entry.js} +1 -1
- package/dist/twilight/p-bb15a2d4.entry.js +4 -0
- package/dist/twilight/{p-1c8efb3a.entry.js → p-bf81d2cb.entry.js} +1 -1
- package/dist/twilight/{p-4985e087.entry.js → p-cda63906.entry.js} +1 -1
- package/dist/twilight/{p-35c15064.entry.js → p-ce99c462.entry.js} +1 -1
- package/dist/twilight/{p-7200623e.entry.js → p-d267acaf.entry.js} +1 -1
- package/dist/twilight/{p-2e8f7b03.entry.js → p-d35d16fd.entry.js} +1 -1
- package/dist/twilight/{p-88b55062.entry.js → p-dce21b0f.entry.js} +1 -1
- package/dist/twilight/{p-3482aff4.entry.js → p-e0414354.entry.js} +1 -1
- package/dist/twilight/{p-64d2b5bf.entry.js → p-e4e3ed35.entry.js} +1 -1
- package/dist/twilight/{p-97410a23.entry.js → p-f3b2d756.entry.js} +1 -1
- package/dist/twilight/{p-7b689856.entry.js → p-f494e503.entry.js} +1 -1
- package/dist/twilight/{p-c0f9a43d.entry.js → p-f7c29e31.entry.js} +1 -1
- package/dist/twilight/{p-CXmaZL5g.js → p-uGfP8-tV.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
- package/dist/twilight/p-5c3edfd3.entry.js +0 -4
- package/dist/twilight/p-Bk0ag9wm.js +0 -9
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import{d as e}from"./p-BzYM6G5p.js";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n,i,E={exports:{}},r=n?E.exports:(n=1,E.exports=(i=function(e){var t=e.addFilter,n=e.utils,i=n.Type,E=n.isString,r=n.replaceInString,T=n.guesstimateMimeType,u=n.getExtensionFromFilename,o=n.getFilenameFromURL,_=function(e,t){return e.some((function(e){return/\*$/.test(e)?(n=e,(/^[^/]+/.exec(t)||[]).pop()===n.slice(0,-2)):e===t;var n}))},a=function(e,t,n){if(0===t.length)return!0;var i=function(e){var t="";if(E(e)){var n=o(e),i=u(n);i&&(t=T(i))}else t=e.type;return t}(e);return n?new Promise((function(E,r){n(e,i).then((function(e){_(t,e)?E():r()})).catch(r)})):_(t,i)};return t("SET_ATTRIBUTE_TO_OPTION_MAP",(function(e){return Object.assign(e,{accept:"acceptedFileTypes"})})),t("ALLOW_HOPPER_ITEM",(function(e,t){var n=t.query;return!n("GET_ALLOW_FILE_TYPE_VALIDATION")||a(e,n("GET_ACCEPTED_FILE_TYPES"))})),t("LOAD_FILE",(function(e,t){var n=t.query;return new Promise((function(t,i){if(n("GET_ALLOW_FILE_TYPE_VALIDATION")){var E=n("GET_ACCEPTED_FILE_TYPES"),T=n("GET_FILE_VALIDATE_TYPE_DETECT_TYPE"),u=a(e,E,T),o=function(){var e,t=E.map((e=n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES_MAP"),function(t){return null!==e[t]&&(e[t]||t)})).filter((function(e){return!1!==e})),T=t.filter((function(e,n){return t.indexOf(e)===n}));i({status:{main:n("GET_LABEL_FILE_TYPE_NOT_ALLOWED"),sub:r(n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES"),{allTypes:T.join(", "),allButLastType:T.slice(0,-1).join(", "),lastType:T[t.length-1]})}})};if("boolean"==typeof u)return u?t(e):o();u.then((function(){t(e)})).catch(o)}else t(e)}))})),{options:{allowFileTypeValidation:[!0,i.BOOLEAN],acceptedFileTypes:[[],i.ARRAY],labelFileTypeNotAllowed:["File is of invalid type",i.STRING],fileValidateTypeLabelExpectedTypes:["Expects {allButLastType} or {lastType}",i.STRING],fileValidateTypeLabelExpectedTypesMap:[{},i.OBJECT],fileValidateTypeDetectType:[null,i.FUNCTION]}}},"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:i})),i)),T=t({__proto__:null,default:e(r)},[r]);
|
|
5
|
+
/*!
|
|
6
|
+
* FilePondPluginFileValidateType 1.2.8
|
|
7
|
+
* Licensed under MIT, https://opensource.org/licenses/MIT/
|
|
8
|
+
* Please visit https://pqina.nl/filepond/ for details.
|
|
9
|
+
*/export{T as f}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{d as e}from"./p-
|
|
4
|
+
import{d as e}from"./p-BzYM6G5p.js";function E(e,E){return E.forEach((function(E){E&&"string"!=typeof E&&!Array.isArray(E)&&Object.keys(E).forEach((function(i){if("default"!==i&&!(i in e)){var _=Object.getOwnPropertyDescriptor(E,i);Object.defineProperty(e,i,_.get?_:{enumerable:!0,get:function(){return E[i]}})}}))})),Object.freeze(e)}var i,_,l={exports:{}},n=i?l.exports:(i=1,l.exports=(_=function(e){var E=e.addFilter,i=e.utils,_=i.Type,l=i.replaceInString,n=i.toNaturalFileSize;return E("ALLOW_HOPPER_ITEM",(function(e,E){var i=E.query;if(!i("GET_ALLOW_FILE_SIZE_VALIDATION"))return!0;var _=i("GET_MAX_FILE_SIZE");if(null!==_&&e.size>_)return!1;var l=i("GET_MIN_FILE_SIZE");return!(null!==l&&e.size<l)})),E("LOAD_FILE",(function(e,E){var i=E.query;return new Promise((function(E,_){if(!i("GET_ALLOW_FILE_SIZE_VALIDATION"))return E(e);var t=i("GET_FILE_VALIDATE_SIZE_FILTER");if(t&&!t(e))return E(e);var I=i("GET_MAX_FILE_SIZE");if(null!==I&&e.size>I)_({status:{main:i("GET_LABEL_MAX_FILE_SIZE_EXCEEDED"),sub:l(i("GET_LABEL_MAX_FILE_SIZE"),{filesize:n(I,".",i("GET_FILE_SIZE_BASE"),i("GET_FILE_SIZE_LABELS",i))})}});else{var L=i("GET_MIN_FILE_SIZE");if(null!==L&&e.size<L)_({status:{main:i("GET_LABEL_MIN_FILE_SIZE_EXCEEDED"),sub:l(i("GET_LABEL_MIN_FILE_SIZE"),{filesize:n(L,".",i("GET_FILE_SIZE_BASE"),i("GET_FILE_SIZE_LABELS",i))})}});else{var a=i("GET_MAX_TOTAL_FILE_SIZE");if(null!==a&&i("GET_ACTIVE_ITEMS").reduce((function(e,E){return e+E.fileSize}),0)>a)return void _({status:{main:i("GET_LABEL_MAX_TOTAL_FILE_SIZE_EXCEEDED"),sub:l(i("GET_LABEL_MAX_TOTAL_FILE_SIZE"),{filesize:n(a,".",i("GET_FILE_SIZE_BASE"),i("GET_FILE_SIZE_LABELS",i))})}});E(e)}}}))})),{options:{allowFileSizeValidation:[!0,_.BOOLEAN],maxFileSize:[null,_.INT],minFileSize:[null,_.INT],maxTotalFileSize:[null,_.INT],fileValidateSizeFilter:[null,_.FUNCTION],labelMinFileSizeExceeded:["File is too small",_.STRING],labelMinFileSize:["Minimum file size is {filesize}",_.STRING],labelMaxFileSizeExceeded:["File is too large",_.STRING],labelMaxFileSize:["Maximum file size is {filesize}",_.STRING],labelMaxTotalFileSizeExceeded:["Maximum total size exceeded",_.STRING],labelMaxTotalFileSize:["Maximum total file size is {filesize}",_.STRING]}}},"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:_})),_)),t=E({__proto__:null,default:e(n)},[n]);
|
|
5
5
|
/*!
|
|
6
6
|
* FilePondPluginFileValidateSize 2.2.8
|
|
7
7
|
* Licensed under MIT, https://opensource.org/licenses/MIT/
|