@everymatrix/bonus-elevate-shop-item 1.43.4 → 1.45.0

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.
Files changed (58) hide show
  1. package/dist/bonus-elevate-shop-item/bonus-elevate-shop-item.esm.js +1 -1
  2. package/dist/bonus-elevate-shop-item/p-961d6b9a.entry.js +1 -0
  3. package/dist/bonus-elevate-shop-item/p-e1255160.js +1 -0
  4. package/dist/bonus-elevate-shop-item/p-ec5f179f.js +2 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  6. package/dist/cjs/bonus-elevate-shop-assets-slider_3.cjs.entry.js +377 -406
  7. package/dist/cjs/bonus-elevate-shop-item.cjs.js +16 -10
  8. package/dist/cjs/index-1035f878.js +1591 -0
  9. package/dist/cjs/loader.cjs.js +6 -12
  10. package/dist/collection/collection-manifest.json +4 -4
  11. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-assets-slider.js +207 -222
  12. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-item.css +5 -5
  13. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-item.js +332 -362
  14. package/dist/collection/components/bonus-elevate-shop-item/index.js +1 -0
  15. package/dist/collection/utils/locale.utils.js +54 -54
  16. package/dist/collection/utils/utils.js +26 -26
  17. package/dist/esm/app-globals-0f993ce5.js +3 -0
  18. package/dist/esm/bonus-elevate-shop-assets-slider_3.entry.js +377 -406
  19. package/dist/esm/bonus-elevate-shop-item.js +13 -10
  20. package/dist/esm/index-fa394550.js +1561 -0
  21. package/dist/esm/loader.js +6 -12
  22. package/dist/stencil.config.dev.js +17 -0
  23. package/dist/stencil.config.js +14 -21
  24. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.d.ts +2 -0
  25. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.dev.d.ts +2 -0
  26. package/dist/types/components/bonus-elevate-shop-item/bonus-elevate-shop-assets-slider.d.ts +35 -35
  27. package/dist/types/components/bonus-elevate-shop-item/bonus-elevate-shop-item.d.ts +56 -56
  28. package/dist/types/components/bonus-elevate-shop-item/index.d.ts +1 -0
  29. package/dist/types/components.d.ts +17 -1
  30. package/dist/types/models/bonus-elevate-shop-item.d.ts +12 -12
  31. package/dist/types/stencil-public-runtime.d.ts +142 -33
  32. package/loader/cdn.js +1 -3
  33. package/loader/index.cjs.js +1 -3
  34. package/loader/index.d.ts +13 -1
  35. package/loader/index.es2017.js +1 -3
  36. package/loader/index.js +1 -3
  37. package/loader/package.json +1 -0
  38. package/package.json +12 -5
  39. package/dist/bonus-elevate-shop-item/p-3d8363a3.js +0 -1
  40. package/dist/bonus-elevate-shop-item/p-9546c5ba.entry.js +0 -1
  41. package/dist/cjs/index-355d8ffb.js +0 -1653
  42. package/dist/components/bonus-elevate-shop-assets-slider.d.ts +0 -11
  43. package/dist/components/bonus-elevate-shop-assets-slider.js +0 -6
  44. package/dist/components/bonus-elevate-shop-assets-slider2.js +0 -158
  45. package/dist/components/bonus-elevate-shop-item.d.ts +0 -11
  46. package/dist/components/bonus-elevate-shop-item.js +0 -278
  47. package/dist/components/general-styling-wrapper.js +0 -6
  48. package/dist/components/general-styling-wrapper2.js +0 -103
  49. package/dist/components/index.d.ts +0 -26
  50. package/dist/components/index.js +0 -1
  51. package/dist/esm/index-4927ce96.js +0 -1624
  52. package/dist/esm/polyfills/core-js.js +0 -11
  53. package/dist/esm/polyfills/css-shim.js +0 -1
  54. package/dist/esm/polyfills/dom.js +0 -79
  55. package/dist/esm/polyfills/es5-html-element.js +0 -1
  56. package/dist/esm/polyfills/index.js +0 -34
  57. package/dist/esm/polyfills/system.js +0 -6
  58. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/bonus-elevate-shop-item/.stencil/packages/bonus-elevate-shop-item/stencil.config.d.ts +0 -2
@@ -2,20 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-355d8ffb.js');
5
+ const index = require('./index-1035f878.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
6
7
 
7
- /*
8
- Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
9
- */
10
- const patchEsm = () => {
11
- return index.promiseResolve();
12
- };
13
-
14
- const defineCustomElements = (win, options) => {
15
- if (typeof window === 'undefined') return Promise.resolve();
16
- return patchEsm().then(() => {
8
+ const defineCustomElements = async (win, options) => {
9
+ if (typeof window === 'undefined') return undefined;
10
+ await appGlobals.globalScripts();
17
11
  return index.bootstrapLazy([["bonus-elevate-shop-assets-slider_3.cjs",[[1,"bonus-elevate-shop-item",{"endpoint":[513],"language":[513],"itemId":[1537,"item-id"],"elevateGift":[1040],"session":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"showSliderDots":[516,"show-slider-dots"],"showSliderArrows":[516,"show-slider-arrows"],"isGiftNotFound":[32],"redeemErrorMsg":[32],"isRedeeming":[32]}],[0,"bonus-elevate-shop-assets-slider",{"showSliderDots":[516,"show-slider-dots"],"showSliderArrows":[516,"show-slider-arrows"],"itemsPerPage":[514,"items-per-page"],"sliderItems":[16],"activeIndex":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]]], options);
18
- });
19
12
  };
20
13
 
14
+ exports.setNonce = index.setNonce;
21
15
  exports.defineCustomElements = defineCustomElements;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "entries": [
3
- "./components/bonus-elevate-shop-item/bonus-elevate-shop-assets-slider.js",
4
- "./components/bonus-elevate-shop-item/bonus-elevate-shop-item.js"
3
+ "components/bonus-elevate-shop-item/bonus-elevate-shop-item.js",
4
+ "components/bonus-elevate-shop-item/bonus-elevate-shop-assets-slider.js"
5
5
  ],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "2.15.2",
9
- "typescriptVersion": "4.5.4"
8
+ "version": "4.20.0",
9
+ "typescriptVersion": "5.5.3"
10
10
  },
11
11
  "collections": [
12
12
  {
@@ -1,225 +1,210 @@
1
- import { Component, Element, h, Prop, State } from '@stencil/core';
1
+ import { h } from "@stencil/core";
2
2
  export class BonusElevateShopAssetsSlider {
3
- constructor() {
4
- /**
5
- * Show slider dots
6
- */
7
- this.showSliderDots = false;
8
- /**
9
- * Show slider navigate arrows
10
- */
11
- this.showSliderArrows = true;
12
- this.itemsPerPage = 1;
13
- this.sliderItems = [];
14
- /**
15
- * Slider variables
16
- */
17
- this.activeIndex = 0;
18
- this.xDown = null;
19
- this.yDown = null;
20
- this.orientationChangeHandler = () => {
21
- setTimeout(() => {
22
- this.recalculateItemsPerPage();
23
- }, 10);
24
- };
25
- this.resizeHandler = () => {
26
- this.recalculateItemsPerPage();
27
- };
28
- }
29
- setActive(index) {
30
- var _a;
31
- const maxLength = (_a = this.sliderItems) === null || _a === void 0 ? void 0 : _a.length;
32
- if (index >= 0) {
33
- if (index >= maxLength - 1) {
34
- this.activeIndex = maxLength - 1;
35
- }
36
- else {
37
- this.activeIndex = index;
38
- }
39
- }
40
- else {
41
- this.activeIndex = 0;
42
- }
43
- }
44
- move(direction) {
45
- this.setActive(this.activeIndex + direction);
46
- }
47
- goTo(index) {
48
- let diff = this.activeIndex - index;
49
- if (diff > 0) {
50
- for (let i = 0; i < diff; i++) {
51
- this.move(-1);
52
- }
53
- }
54
- else {
55
- for (let i = 0; i > diff; i--) {
56
- this.move(1);
57
- }
58
- }
59
- }
60
- handleTouchStart(evt) {
61
- const firstTouch = this.getTouches(evt)[0];
62
- this.xDown = firstTouch.clientX;
63
- this.yDown = firstTouch.clientY;
64
- }
65
- getTouches(evt) {
66
- return evt.touches || evt.originalEvent.touches;
67
- }
68
- handleTouchMove(evt) {
69
- if (!this.xDown || !this.yDown)
70
- return;
71
- let xUp = evt.touches[0].clientX;
72
- let yUp = evt.touches[0].clientY;
73
- let xDiff = this.xDown - xUp;
74
- let yDiff = this.yDown - yUp;
75
- if (Math.abs(xDiff) > Math.abs(yDiff)) {
76
- if (xDiff > 0) {
77
- this.move(1);
78
- }
79
- else {
80
- this.move(-1);
81
- }
82
- }
83
- this.xDown = null;
84
- this.yDown = null;
85
- }
86
- ;
87
- recalculateItemsPerPage() {
88
- if (!this.sliderItemsElement)
89
- return;
90
- this.itemElementWidth = this.sliderItemsElement.clientWidth;
91
- this.sliderItemsElementWidth = (this.sliderItems.length - 1) * this.itemElementWidth;
92
- }
93
- ;
94
- renderDots() {
95
- var _a;
96
- const dots = [];
97
- for (let index = 0; index < ((_a = this.sliderItems) === null || _a === void 0 ? void 0 : _a.length) / this.itemsPerPage; index++) {
98
- dots.push(h("li", { class: index == this.activeIndex ? 'active' : 'default', onClick: () => { this.goTo(index); this.setActive(index); } }));
99
- }
100
- return dots;
101
- }
102
- componentDidRender() {
103
- this.el.addEventListener('touchstart', this.handleTouchStart.bind(this), { passive: true });
104
- this.el.addEventListener('touchmove', this.handleTouchMove.bind(this), { passive: true });
105
- this.recalculateItemsPerPage();
106
- }
107
- componentDidUpdate() {
108
- this.recalculateItemsPerPage();
109
- }
110
- connectedCallback() {
111
- window.screen.orientation.addEventListener('change', this.orientationChangeHandler);
112
- }
113
- disconnectedCallback() {
114
- this.el.removeEventListener('touchstart', this.handleTouchStart);
115
- this.el.removeEventListener('touchmove', this.handleTouchMove);
116
- window.screen.orientation.removeEventListener('change', this.orientationChangeHandler);
117
- window.removeEventListener('resize', this.resizeHandler);
118
- }
119
- render() {
120
- var _a;
121
- const styles = {
122
- transform: `translate(${(this.sliderItemsElementWidth / (((_a = this.sliderItems) === null || _a === void 0 ? void 0 : _a.length) - 1) * this.activeIndex) * -1}px, 0px)`
123
- };
124
- const itemStyle = {
125
- width: `${this.itemElementWidth / this.itemsPerPage}px`
126
- };
127
- return h("div", { class: "SliderWrapper" },
128
- h("div", { class: 'MainContent ' },
129
- this.showSliderArrows &&
130
- h("div", { class: `SliderNavButton LeftArrow ${this.activeIndex === 0 ? 'DisabledArrow ' : ''} ${this.sliderItems.length === 1 ? 'HiddenArrow ' : ''}`, onClick: () => this.move(-1) },
131
- h("svg", { fill: "none", stroke: "var(--emfe-w-color-secondary, #FD2839)", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
132
- h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M15 19l-7-7 7-7" }))),
133
- h("div", { class: 'ItemsWrapper', ref: (el) => this.sliderItemsElement = el },
134
- h("div", { class: 'Items AssetsItems', style: styles }, this.sliderItems.map((assetUrl) => h("img", { class: `img${this.itemsPerPage}`, alt: 'Gift Thumbnails', style: itemStyle, src: assetUrl })))),
135
- this.showSliderArrows &&
136
- h("div", { class: `SliderNavButton RightArrow ${this.sliderItems.length === 1 ? 'HiddenArrow ' : ''}
137
- ${(this.activeIndex === (this.sliderItems.length - 1) || this.itemsPerPage == this.sliderItems.length) ? 'DisabledArrow' : ''}`, onClick: () => this.move(1) },
138
- h("svg", { fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
139
- h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M9 5l7 7-7 7" })))),
140
- this.showSliderDots && this.sliderItems.length > 1 &&
141
- h("div", { class: "DotsWrapper" },
142
- h("ul", { class: "Dots" }, this.renderDots())));
143
- }
144
- static get is() { return "bonus-elevate-shop-assets-slider"; }
145
- static get properties() { return {
146
- "showSliderDots": {
147
- "type": "boolean",
148
- "mutable": false,
149
- "complexType": {
150
- "original": "boolean",
151
- "resolved": "boolean",
152
- "references": {}
153
- },
154
- "required": false,
155
- "optional": false,
156
- "docs": {
157
- "tags": [],
158
- "text": "Show slider dots"
159
- },
160
- "attribute": "show-slider-dots",
161
- "reflect": true,
162
- "defaultValue": "false"
163
- },
164
- "showSliderArrows": {
165
- "type": "boolean",
166
- "mutable": false,
167
- "complexType": {
168
- "original": "boolean",
169
- "resolved": "boolean",
170
- "references": {}
171
- },
172
- "required": false,
173
- "optional": false,
174
- "docs": {
175
- "tags": [],
176
- "text": "Show slider navigate arrows"
177
- },
178
- "attribute": "show-slider-arrows",
179
- "reflect": true,
180
- "defaultValue": "true"
181
- },
182
- "itemsPerPage": {
183
- "type": "number",
184
- "mutable": false,
185
- "complexType": {
186
- "original": "number",
187
- "resolved": "number",
188
- "references": {}
189
- },
190
- "required": false,
191
- "optional": false,
192
- "docs": {
193
- "tags": [],
194
- "text": ""
195
- },
196
- "attribute": "items-per-page",
197
- "reflect": true,
198
- "defaultValue": "1"
199
- },
200
- "sliderItems": {
201
- "type": "unknown",
202
- "mutable": false,
203
- "complexType": {
204
- "original": "Array<any>",
205
- "resolved": "any[]",
206
- "references": {
207
- "Array": {
208
- "location": "global"
209
- }
3
+ constructor() {
4
+ this.xDown = null;
5
+ this.yDown = null;
6
+ this.orientationChangeHandler = () => {
7
+ setTimeout(() => {
8
+ this.recalculateItemsPerPage();
9
+ }, 10);
10
+ };
11
+ this.resizeHandler = () => {
12
+ this.recalculateItemsPerPage();
13
+ };
14
+ this.showSliderDots = false;
15
+ this.showSliderArrows = true;
16
+ this.itemsPerPage = 1;
17
+ this.sliderItems = [];
18
+ this.activeIndex = 0;
19
+ }
20
+ setActive(index) {
21
+ var _a;
22
+ const maxLength = (_a = this.sliderItems) === null || _a === void 0 ? void 0 : _a.length;
23
+ if (index >= 0) {
24
+ if (index >= maxLength - 1) {
25
+ this.activeIndex = maxLength - 1;
26
+ }
27
+ else {
28
+ this.activeIndex = index;
29
+ }
30
+ }
31
+ else {
32
+ this.activeIndex = 0;
33
+ }
34
+ }
35
+ move(direction) {
36
+ this.setActive(this.activeIndex + direction);
37
+ }
38
+ goTo(index) {
39
+ let diff = this.activeIndex - index;
40
+ if (diff > 0) {
41
+ for (let i = 0; i < diff; i++) {
42
+ this.move(-1);
43
+ }
44
+ }
45
+ else {
46
+ for (let i = 0; i > diff; i--) {
47
+ this.move(1);
48
+ }
49
+ }
50
+ }
51
+ handleTouchStart(evt) {
52
+ const firstTouch = this.getTouches(evt)[0];
53
+ this.xDown = firstTouch.clientX;
54
+ this.yDown = firstTouch.clientY;
55
+ }
56
+ getTouches(evt) {
57
+ return evt.touches || evt.originalEvent.touches;
58
+ }
59
+ handleTouchMove(evt) {
60
+ if (!this.xDown || !this.yDown)
61
+ return;
62
+ let xUp = evt.touches[0].clientX;
63
+ let yUp = evt.touches[0].clientY;
64
+ let xDiff = this.xDown - xUp;
65
+ let yDiff = this.yDown - yUp;
66
+ if (Math.abs(xDiff) > Math.abs(yDiff)) {
67
+ if (xDiff > 0) {
68
+ this.move(1);
69
+ }
70
+ else {
71
+ this.move(-1);
72
+ }
73
+ }
74
+ this.xDown = null;
75
+ this.yDown = null;
76
+ }
77
+ ;
78
+ recalculateItemsPerPage() {
79
+ if (!this.sliderItemsElement)
80
+ return;
81
+ this.itemElementWidth = this.sliderItemsElement.clientWidth;
82
+ this.sliderItemsElementWidth = (this.sliderItems.length - 1) * this.itemElementWidth;
83
+ }
84
+ ;
85
+ renderDots() {
86
+ var _a;
87
+ const dots = [];
88
+ for (let index = 0; index < ((_a = this.sliderItems) === null || _a === void 0 ? void 0 : _a.length) / this.itemsPerPage; index++) {
89
+ dots.push(h("li", { class: index == this.activeIndex ? 'active' : 'default', onClick: () => { this.goTo(index); this.setActive(index); } }));
210
90
  }
211
- },
212
- "required": false,
213
- "optional": false,
214
- "docs": {
215
- "tags": [],
216
- "text": ""
217
- },
218
- "defaultValue": "[]"
219
- }
220
- }; }
221
- static get states() { return {
222
- "activeIndex": {}
223
- }; }
224
- static get elementRef() { return "el"; }
91
+ return dots;
92
+ }
93
+ componentDidRender() {
94
+ this.el.addEventListener('touchstart', this.handleTouchStart.bind(this), { passive: true });
95
+ this.el.addEventListener('touchmove', this.handleTouchMove.bind(this), { passive: true });
96
+ this.recalculateItemsPerPage();
97
+ }
98
+ componentDidUpdate() {
99
+ this.recalculateItemsPerPage();
100
+ }
101
+ connectedCallback() {
102
+ window.screen.orientation.addEventListener('change', this.orientationChangeHandler);
103
+ }
104
+ disconnectedCallback() {
105
+ this.el.removeEventListener('touchstart', this.handleTouchStart);
106
+ this.el.removeEventListener('touchmove', this.handleTouchMove);
107
+ window.screen.orientation.removeEventListener('change', this.orientationChangeHandler);
108
+ window.removeEventListener('resize', this.resizeHandler);
109
+ }
110
+ render() {
111
+ var _a;
112
+ const styles = {
113
+ transform: `translate(${(this.sliderItemsElementWidth / (((_a = this.sliderItems) === null || _a === void 0 ? void 0 : _a.length) - 1) * this.activeIndex) * -1}px, 0px)`
114
+ };
115
+ const itemStyle = {
116
+ width: `${this.itemElementWidth / this.itemsPerPage}px`
117
+ };
118
+ return h("div", { key: '210d648ae90dd04e350c0cddb2047061f5989bd8', class: "SliderWrapper" }, h("div", { key: '240a214bc772890145b8317bfda32f6099150726', class: 'MainContent ' }, this.showSliderArrows &&
119
+ h("div", { key: 'e8e144fbc2906ee0c5e77cc00c33fb1e89ced29f', class: `SliderNavButton LeftArrow ${this.activeIndex === 0 ? 'DisabledArrow ' : ''} ${this.sliderItems.length === 1 ? 'HiddenArrow ' : ''}`, onClick: () => this.move(-1) }, h("svg", { key: '068a669fa96d11532199f2f2eb44e3a4c3f31e10', fill: "none", stroke: "var(--emfe-w-color-secondary, #FD2839)", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2789bb8d91ce4ec7f0fd7c3c6b9f3c7b7e682088', "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M15 19l-7-7 7-7" }))), h("div", { key: '034ef81e4d9a8dea56fd42791e8a08940dfa4af6', class: 'ItemsWrapper', ref: (el) => this.sliderItemsElement = el }, h("div", { key: 'f412b5f0978348e4d9e0af682d151a1880f6e86d', class: 'Items AssetsItems', style: styles }, this.sliderItems.map((assetUrl) => h("img", { class: `img${this.itemsPerPage}`, alt: 'Gift Thumbnails', style: itemStyle, src: assetUrl })))), this.showSliderArrows &&
120
+ h("div", { key: '0f8549f8a5bcf2f1cfcde601930610fe5cc98427', class: `SliderNavButton RightArrow ${this.sliderItems.length === 1 ? 'HiddenArrow ' : ''}
121
+ ${(this.activeIndex === (this.sliderItems.length - 1) || this.itemsPerPage == this.sliderItems.length) ? 'DisabledArrow' : ''}`, onClick: () => this.move(1) }, h("svg", { key: '5758a9a73af5f7fa4618ae1b4bb30d838b509d9f', fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '720c5f0f496e8817fc9017ec4e8706cb9644e9ef', "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M9 5l7 7-7 7" })))), this.showSliderDots && this.sliderItems.length > 1 &&
122
+ h("div", { key: '9c1b9c57b1871d7463569ea9566b28e925870d59', class: "DotsWrapper" }, h("ul", { key: '548d1d0f2c46170e07aa7ed4019dc3469e2e3950', class: "Dots" }, this.renderDots())));
123
+ }
124
+ static get is() { return "bonus-elevate-shop-assets-slider"; }
125
+ static get properties() {
126
+ return {
127
+ "showSliderDots": {
128
+ "type": "boolean",
129
+ "mutable": false,
130
+ "complexType": {
131
+ "original": "boolean",
132
+ "resolved": "boolean",
133
+ "references": {}
134
+ },
135
+ "required": false,
136
+ "optional": false,
137
+ "docs": {
138
+ "tags": [],
139
+ "text": "Show slider dots"
140
+ },
141
+ "attribute": "show-slider-dots",
142
+ "reflect": true,
143
+ "defaultValue": "false"
144
+ },
145
+ "showSliderArrows": {
146
+ "type": "boolean",
147
+ "mutable": false,
148
+ "complexType": {
149
+ "original": "boolean",
150
+ "resolved": "boolean",
151
+ "references": {}
152
+ },
153
+ "required": false,
154
+ "optional": false,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": "Show slider navigate arrows"
158
+ },
159
+ "attribute": "show-slider-arrows",
160
+ "reflect": true,
161
+ "defaultValue": "true"
162
+ },
163
+ "itemsPerPage": {
164
+ "type": "number",
165
+ "mutable": false,
166
+ "complexType": {
167
+ "original": "number",
168
+ "resolved": "number",
169
+ "references": {}
170
+ },
171
+ "required": false,
172
+ "optional": false,
173
+ "docs": {
174
+ "tags": [],
175
+ "text": ""
176
+ },
177
+ "attribute": "items-per-page",
178
+ "reflect": true,
179
+ "defaultValue": "1"
180
+ },
181
+ "sliderItems": {
182
+ "type": "unknown",
183
+ "mutable": false,
184
+ "complexType": {
185
+ "original": "Array<any>",
186
+ "resolved": "any[]",
187
+ "references": {
188
+ "Array": {
189
+ "location": "global",
190
+ "id": "global::Array"
191
+ }
192
+ }
193
+ },
194
+ "required": false,
195
+ "optional": false,
196
+ "docs": {
197
+ "tags": [],
198
+ "text": ""
199
+ },
200
+ "defaultValue": "[]"
201
+ }
202
+ };
203
+ }
204
+ static get states() {
205
+ return {
206
+ "activeIndex": {}
207
+ };
208
+ }
209
+ static get elementRef() { return "el"; }
225
210
  }
@@ -50,7 +50,7 @@
50
50
  text-align: center;
51
51
  }
52
52
  .ElevateDetails .ThumbnailRow .BackButton:hover {
53
- background: #e3dede;
53
+ background: rgb(227, 222, 222);
54
54
  }
55
55
  .ElevateDetails .ThumbnailRow .Thumbnails {
56
56
  display: flex;
@@ -67,7 +67,7 @@
67
67
  }
68
68
  .ElevateDetails .GiftPoints .PointsLabel {
69
69
  font-size: 12px;
70
- color: var(--emfe-w-color-gray-300, #4e5a37);
70
+ color: var(--emfe-w-color-gray-300, rgb(78, 90, 55));
71
71
  font-weight: 400;
72
72
  line-height: 29px;
73
73
  letter-spacing: 0.04em;
@@ -75,7 +75,7 @@
75
75
  }
76
76
  .ElevateDetails .RedeemButton:hover {
77
77
  font-weight: 800;
78
- border: 2px solid var(--emfe-w-color-gray-300, #e5e7d5);
78
+ border: 2px solid var(--emfe-w-color-gray-300, rgb(229, 231, 213));
79
79
  }
80
80
  .ElevateDetails .RedeemButton.Disabled:hover {
81
81
  font-weight: normal;
@@ -137,8 +137,8 @@
137
137
  }
138
138
  .ElevateDetails .SliderWrapper .MainContent .ItemsWrapper img, .ElevateDetails .SliderWrapper .MainContent .ItemsWrapper img.img1 {
139
139
  max-width: 100%;
140
- background: #efefef;
141
- border: 1px solid #efefef;
140
+ background: rgb(239, 239, 239);
141
+ border: 1px solid rgb(239, 239, 239);
142
142
  border-radius: 18px;
143
143
  border: 1px;
144
144
  margin: 10px 0 10px;