@salla.sa/twilight-components 1.4.21 → 1.5.2
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/loader.cjs.js +1 -1
- package/dist/cjs/salla-button_24.cjs.entry.js +287 -242
- package/dist/cjs/salla-scopes.cjs.entry.js +156 -0
- package/dist/cjs/search-b487cc49.js +13 -0
- package/dist/cjs/twilight-components.cjs.js +1 -1
- package/dist/collection/assets/{flat.svg → svg/flat.svg} +0 -0
- package/dist/collection/assets/svg/tag.svg +0 -1
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +12 -6
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +1 -1
- package/dist/collection/components/salla-modal/salla-modal.js +21 -51
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +39 -32
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +4 -2
- package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +12 -9
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +4 -2
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +4 -3
- package/dist/collection/components/salla-search/salla-search.js +7 -4
- package/dist/collection/components/salla-social-share/salla-social-share.js +3 -1
- package/dist/collection/components/salla-swiper/salla-swiper.css +0 -23
- package/dist/collection/components/salla-swiper/salla-swiper.js +4 -2
- package/dist/collection/components/salla-tel-input/salla-tel-input.css +1 -2
- package/dist/collection/components/salla-verify/salla-verify.js +4 -1
- package/dist/components/arrow-right.js +11 -0
- package/dist/components/cancel.js +11 -0
- package/dist/components/keyboard_arrow_right.js +11 -0
- package/dist/components/mail.js +11 -0
- package/dist/components/salla-login-modal.js +20 -3
- package/dist/components/salla-loyalty.js +3 -15
- package/dist/components/salla-modal2.js +25 -25
- package/dist/components/salla-offer-modal.js +25 -3
- package/dist/components/salla-product-availability2.js +9 -2
- package/dist/components/salla-quantity-input.js +16 -2
- package/dist/components/salla-rating-modal.js +10 -3
- package/dist/components/salla-rating-stars2.js +4 -3
- package/dist/components/salla-scopes.js +1 -7
- package/dist/components/salla-search.js +7 -4
- package/dist/components/salla-social-share.js +10 -8
- package/dist/components/salla-swiper2.js +10 -2
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-verify2.js +8 -1
- package/dist/components/search.js +11 -0
- package/dist/components/star2.js +11 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/salla-button_24.entry.js +287 -242
- package/dist/esm/salla-scopes.entry.js +152 -0
- package/dist/esm/search-19ea3313.js +11 -0
- package/dist/esm/twilight-components.js +1 -1
- package/dist/twilight-components/p-282f9df8.entry.js +4 -0
- package/dist/twilight-components/p-40a01521.entry.js +4 -0
- package/dist/twilight-components/p-475ef754.js +4 -0
- package/dist/twilight-components/twilight-components.esm.js +1 -1
- package/dist/types/components/salla-modal/salla-modal.d.ts +2 -10
- package/dist/types/components/salla-search/salla-search.d.ts +1 -1
- package/dist/types/components.d.ts +4 -18
- package/example/assets/tailwind.css +269 -75
- package/package.json +4 -4
- package/dist/cjs/Helper-8ae6a805.js +0 -28
- package/dist/cjs/salla-quantity-input.cjs.entry.js +0 -87
- package/dist/esm/Helper-e1d414a5.js +0 -26
- package/dist/esm/salla-quantity-input.entry.js +0 -83
- package/dist/twilight-components/p-4c5055cf.entry.js +0 -4
- package/dist/twilight-components/p-9d2ca9c8.js +0 -4
- package/dist/twilight-components/p-b31f472a.entry.js +0 -4
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-4e30ffd0.js';
|
|
5
|
+
import { S as Search } from './search-19ea3313.js';
|
|
6
|
+
|
|
7
|
+
const StoreAlt = `<!-- Generated by IcoMoon.io -->
|
|
8
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
9
|
+
<title>store-alt</title>
|
|
10
|
+
<path d="M6.667 24h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333zM31.86 10.071l-4-8c-0.227-0.452-0.688-0.737-1.193-0.737h-21.333c-0.505 0-0.967 0.285-1.193 0.737l-4 8c-0.092 0.184-0.14 0.389-0.14 0.596v18.667c0 0.737 0.597 1.333 1.333 1.333h29.333c0.736 0 1.333-0.596 1.333-1.333v-18.667c0-0.207-0.048-0.412-0.14-0.596zM6.157 4h19.685l3.333 6.667h-26.352zM24 28h-5.333v-9.333h5.333zM29.333 28h-2.667v-10.667c0-0.737-0.597-1.333-1.333-1.333h-8c-0.736 0-1.333 0.596-1.333 1.333v10.667h-13.333v-14.667h26.667zM6.667 18.667h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333z"></path>
|
|
11
|
+
</svg>
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
var ModeType;
|
|
15
|
+
(function (ModeType) {
|
|
16
|
+
ModeType["DEFAULT"] = "default";
|
|
17
|
+
ModeType["AVAILABILITY"] = "availability";
|
|
18
|
+
})(ModeType || (ModeType = {}));
|
|
19
|
+
|
|
20
|
+
const sallaScopesCss = ".s-scopes-availability-content{display:flex;justify-content:center;align-items:center}.s-scopes-placeholder{flex:0 0 85%}";
|
|
21
|
+
|
|
22
|
+
const SallaScopees = class {
|
|
23
|
+
constructor(hostRef) {
|
|
24
|
+
registerInstance(this, hostRef);
|
|
25
|
+
this.mode = ModeType.DEFAULT;
|
|
26
|
+
this.scopes = [];
|
|
27
|
+
this.originalScopesList = [];
|
|
28
|
+
this.isOpenedBefore = salla.storage.get("branch-choosed-before");
|
|
29
|
+
/**
|
|
30
|
+
* Optionally open the modal or enforce the pop-up to the viewer
|
|
31
|
+
*/
|
|
32
|
+
this.selection = 'optional';
|
|
33
|
+
/**
|
|
34
|
+
* Dictates when to show the search field
|
|
35
|
+
*/
|
|
36
|
+
this.searchDisplayLimit = 6;
|
|
37
|
+
this.getFormTitle = () => {
|
|
38
|
+
var _a;
|
|
39
|
+
if (((_a = this.originalScopesList) === null || _a === void 0 ? void 0 : _a.length) < 2)
|
|
40
|
+
return "";
|
|
41
|
+
return this.mode === ModeType.DEFAULT ?
|
|
42
|
+
this.shoppingFromAnotherBranch :
|
|
43
|
+
this.searchForAvailabilityInOtherBranch;
|
|
44
|
+
};
|
|
45
|
+
salla.event.on('scopes::open', ({ mode = null, product_id = null }) => {
|
|
46
|
+
this.open(mode, product_id);
|
|
47
|
+
});
|
|
48
|
+
salla.lang.onLoaded(() => {
|
|
49
|
+
this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
|
|
50
|
+
this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
|
|
51
|
+
this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
|
|
52
|
+
this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
|
|
53
|
+
this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
|
|
54
|
+
this.confirmButton = salla.lang.get('common.elements.confirm');
|
|
55
|
+
this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
async close() {
|
|
59
|
+
var _a;
|
|
60
|
+
return await ((_a = this.modal) === null || _a === void 0 ? void 0 : _a.close());
|
|
61
|
+
}
|
|
62
|
+
async open(mode = ModeType.DEFAULT, product_id = null) {
|
|
63
|
+
this.setScopeValues([]);
|
|
64
|
+
if (typeof mode !== 'undefined' && [ModeType.AVAILABILITY, ModeType.DEFAULT].includes(mode)) {
|
|
65
|
+
this.mode = mode;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
this.mode = ModeType.DEFAULT;
|
|
69
|
+
}
|
|
70
|
+
this.modal.loading();
|
|
71
|
+
this.modal.open();
|
|
72
|
+
return await (mode == ModeType.AVAILABILITY ? salla.scope.getProductAvailability(product_id) : salla.scope.get())
|
|
73
|
+
.then((resp) => {
|
|
74
|
+
if (mode == ModeType.AVAILABILITY) {
|
|
75
|
+
this.setScopeValues(resp.data);
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.setScopeValues(resp.data.scopes);
|
|
79
|
+
}
|
|
80
|
+
}).catch(e => console.log(e))
|
|
81
|
+
.finally(() => {
|
|
82
|
+
this.modal.stopLoading();
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
async handleSubmit() {
|
|
86
|
+
let payload = { 'scope_id': this.current_scope.id };
|
|
87
|
+
this.changeBtn.load();
|
|
88
|
+
return await salla.scope.change(payload)
|
|
89
|
+
.then(() => {
|
|
90
|
+
salla.storage.set("branch-choosed-before", true);
|
|
91
|
+
salla.storage.set("scope", this.current_scope.id);
|
|
92
|
+
window.location.search += "&scope=" + this.current_scope.id;
|
|
93
|
+
}).catch(e => console.log(e))
|
|
94
|
+
.finally(() => {
|
|
95
|
+
this.changeBtn.stop();
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
setScopeValues(value) {
|
|
99
|
+
this.scopes = value;
|
|
100
|
+
this.originalScopesList = value;
|
|
101
|
+
if (value.length == 1) {
|
|
102
|
+
this.current_scope = value[0];
|
|
103
|
+
this.selected_scope = value[0];
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
this.current_scope = value.find(scope => scope.selected);
|
|
107
|
+
this.selected_scope = value.find(scope => scope.selected);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
handleSearchFieldTyping(e) {
|
|
111
|
+
let value = e.target.value.toLocaleLowerCase();
|
|
112
|
+
if (!!value) {
|
|
113
|
+
this.scopes = this.originalScopesList.filter(scope => scope.name.toLowerCase().includes(value));
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
this.scopes = this.originalScopesList;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
handleScopeSelection(event) {
|
|
120
|
+
this.current_scope = this.scopes.find(scope => scope.id == event.target.value);
|
|
121
|
+
}
|
|
122
|
+
placeholderContent() {
|
|
123
|
+
return h("salla-placeholder", { alignment: "center", class: "s-scopes-placeholder" }, h("span", { slot: "title" }, this.branchNotFound), h("span", { slot: "description" }, this.ourServiceIsNotFound));
|
|
124
|
+
}
|
|
125
|
+
defaultContent() {
|
|
126
|
+
return [h("div", { class: "s-scopes-container s-scrollbar" }, this.scopes.map((scope) => h("div", { class: "s-scopes-input-wrap", "data-selection": this.selection }, h("input", { id: `${this.selection} + '_scope_' + ${scope.id}`, name: "lang", type: "radio", value: scope.id, onChange: (event) => this.handleScopeSelection(event), class: "s-scopes-input", checked: !!this.current_scope && this.current_scope.id == scope.id }), h("label", { htmlFor: `${this.selection} + '_scope_' + ${scope.id}`, class: "s-scopes-label s-scopes-clickable" }, h("span", null, scope.name))))), this.footerContent()];
|
|
127
|
+
}
|
|
128
|
+
availabilityContent() {
|
|
129
|
+
return h("div", { class: "s-scopes-container" }, this.scopes.map((scope) => {
|
|
130
|
+
var _a, _b, _c, _d, _e, _f;
|
|
131
|
+
return h("div", { class: "s-scopes-input-wrap", "data-selection": this.selection }, h("h2", { class: { "s-scopes-label": true, "s-scopes-clickable": this.mode === ModeType.DEFAULT } }, h("span", null, scope.name)), h("h2", { style: { 'color': (_b = (_a = scope) === null || _a === void 0 ? void 0 : _a.availability) === null || _b === void 0 ? void 0 : _b.color }, class: `s-scopes-${(_d = (_c = scope) === null || _c === void 0 ? void 0 : _c.availability) === null || _d === void 0 ? void 0 : _d.key}` }, (_f = (_e = scope) === null || _e === void 0 ? void 0 : _e.availability) === null || _f === void 0 ? void 0 : _f.label));
|
|
132
|
+
}));
|
|
133
|
+
}
|
|
134
|
+
footerContent() {
|
|
135
|
+
return h("div", { class: "s-scopes-footer" }, h("slot", { name: "footer" }, h("salla-button", { ref: btn => this.changeBtn = btn, disabled: !this.current_scope, onClick: () => this.handleSubmit(), class: "s-scopes-submit", "loader-position": "center", width: "wide" }, this.confirmButton)));
|
|
136
|
+
}
|
|
137
|
+
render() {
|
|
138
|
+
return (h(Host, null, h("salla-modal", { ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: true, "has-skeleton": true }, h("div", { slot: "loading" }, h("div", { class: "s-scopes-skeleton" }, h("salla-list-tile", { class: "s-scopes-header" }, h("div", { slot: "icon", class: "s-scopes-header-icon" }, h("salla-skeleton", { type: "circle" })), h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, h("salla-skeleton", { height: '15px', width: '50%' })), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, h("salla-skeleton", { height: '10px' }), h("salla-skeleton", { height: '10px', width: '75%' }))), h("div", { class: "s-scopes-skeleton-search" }, h("salla-skeleton", { height: '10px', width: '50%' }), h("salla-skeleton", { height: '30px', width: '100%' })), h("div", { class: "s-scopes-skeleton-scopes" }, h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' })), h("div", { class: "s-scopes-skeleton-btn" }, h("salla-skeleton", { height: '40px', width: '100%' })))), h("salla-list-tile", { class: this.originalScopesList.length ? "s-scopes-header block" : "s-hidden" }, h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), h("div", { slot: "title", class: "s-scopes-header-title" }, this.nowBrowsingFrom), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList.length && h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList.length > this.searchDisplayLimit ?
|
|
139
|
+
h("div", { class: "s-scopes-search-wrapper" }, h("div", { class: "s-scopes-search-icon", innerHTML: Search }), h("input", { type: "text", class: "s-scopes-search-input", onInput: e => this.handleSearchFieldTyping(e), placeholder: this.scopeSearchPlaceholder }))
|
|
140
|
+
: "", this.scopes.length < 2 ?
|
|
141
|
+
this.placeholderContent()
|
|
142
|
+
: this.mode === ModeType.DEFAULT ? this.defaultContent() : this.availabilityContent()))));
|
|
143
|
+
}
|
|
144
|
+
componentDidLoad() {
|
|
145
|
+
if (!this.isOpenedBefore && this.selection == 'mandatory') {
|
|
146
|
+
this.open();
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
SallaScopees.style = sallaScopesCss;
|
|
151
|
+
|
|
152
|
+
export { SallaScopees as salla_scopes };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
const Search = `<!-- Generated by IcoMoon.io -->
|
|
5
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
6
|
+
<title>search</title>
|
|
7
|
+
<path d="M30.276 28.391l-7.576-7.576c1.644-2.053 2.633-4.652 2.633-7.481 0-6.616-5.384-12-12-12s-12 5.384-12 12 5.384 12 12 12c2.829 0 5.428-0.989 7.481-2.633l7.576 7.576c0.26 0.26 0.601 0.391 0.943 0.391s0.683-0.131 0.943-0.391c0.521-0.521 0.521-1.364 0-1.885zM13.333 22.667c-5.147 0-9.333-4.187-9.333-9.333s4.187-9.333 9.333-9.333 9.333 4.187 9.333 9.333-4.187 9.333-9.333 9.333z"></path>
|
|
8
|
+
</svg>
|
|
9
|
+
`;
|
|
10
|
+
|
|
11
|
+
export { Search as S };
|
|
@@ -16,5 +16,5 @@ const patchBrowser = () => {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
patchBrowser().then(options => {
|
|
19
|
-
return bootstrapLazy([["salla-button_24",[[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],"points":[32],"exchange_points":[32],"are_you_sure_to_exchange":[32],"for":[32],"cancel":[32],"confirm":[32],"cart_total_point_summary":[32],"cart_point_exchange_now":[32],"login_button":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}],[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"open":[64],"close":[64]}],[4,"salla-
|
|
19
|
+
return bootstrapLazy([["salla-button_24",[[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],"points":[32],"exchange_points":[32],"are_you_sure_to_exchange":[32],"for":[32],"cancel":[32],"confirm":[32],"cart_total_point_summary":[32],"cart_point_exchange_now":[32],"login_button":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}],[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"open":[64],"close":[64]}],[4,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"title":[32],"loginTypeTitle":[32],"loginText":[32],"smsLabel":[32],"mobileLabel":[32],"emailLabel":[32],"enterText":[32],"bySMSText":[32],"byEmailText":[32],"emailErrorMsg":[32],"firstNameLabel":[32],"lastNameLabel":[32],"firstNameErrorMsg":[32],"lastNameErrorMsg":[32],"open":[64]},[[8,"verified","onVerified"]]],[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"languages":[32],"currencies":[32],"languagesTitle":[32],"currenciesTitle":[32],"isLoading":[32],"open":[64],"close":[64],"submit":[64]}],[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"open":[64],"close":[64]}],[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"offer_expires_in":[32],"remember_my_choice":[32],"add_to_cart":[32],"out_of_stock":[32],"open":[64],"showOffer":[64]}],[0,"salla-search",{"inline":[4],"oval":[4],"height":[2],"results":[32],"placeholder":[32],"noResultsText":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]}],[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[16],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"open":[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-product-availability",{"channels":[1],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"subTitle":[32],"mobileLabel":[32],"emailLabel":[32],"emailPlaceholder":[32],"subscribedMessage":[32],"title_":[32],"emailErrorMsg":[32],"isVisitorSubscribed":[32]}],[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"title":[32],"resendAfter":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}],[4,"salla-swiper",{"loop":[4],"speed":[2],"itemPerView":[8,"item-per-view"],"spaceBetweenItems":[2,"space-between-items"],"direction":[1],"currentIndex":[32],"isLastSlideItem":[32],"isFirstSlideItem":[32]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2]}],[4,"salla-list-tile",{"href":[1],"target":[1]}],[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,"onSelect","onSelectedTab"]]],[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"default_title":[32],"default_description":[32]}],[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]}],[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]}],[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]}],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}]]],["salla-scopes",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"branchNotFound":[32],"ourServiceIsNotFound":[32],"searchForAvailabilityInOtherBranch":[32],"shoppingFromAnotherBranch":[32],"nowBrowsingFrom":[32],"confirmButton":[32],"scopeSearchPlaceholder":[32],"selected_scope":[32],"isOpenedBefore":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["salla-add-product-button",[[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"]}]]],["salla-conditional-fields",[[4,"salla-conditional-fields",null,[[0,"change","changeHandler"]]]]],["salla-installment",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"tamaraIsActive":[32],"tabbyIsActive":[32],"spotiiIsActive":[32]}]]]], options);
|
|
20
20
|
});
|