@everymatrix/general-slider 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 (47) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/general-slider.cjs.entry.js +195 -221
  3. package/dist/cjs/general-slider.cjs.js +16 -10
  4. package/dist/cjs/index-a188f427.js +1190 -0
  5. package/dist/cjs/loader.cjs.js +6 -12
  6. package/dist/collection/collection-manifest.json +3 -3
  7. package/dist/collection/components/general-slider/general-slider.js +365 -391
  8. package/dist/collection/components/general-slider/index.js +1 -0
  9. package/dist/collection/utils/utils.js +1 -1
  10. package/dist/esm/app-globals-0f993ce5.js +3 -0
  11. package/dist/esm/general-slider.entry.js +195 -221
  12. package/dist/esm/general-slider.js +13 -10
  13. package/dist/esm/index-81e4031d.js +1163 -0
  14. package/dist/esm/loader.js +6 -12
  15. package/dist/general-slider/general-slider.esm.js +1 -1
  16. package/dist/general-slider/p-0c9064c9.entry.js +1 -0
  17. package/dist/general-slider/p-b2733fb4.js +2 -0
  18. package/dist/general-slider/p-e1255160.js +1 -0
  19. package/dist/stencil.config.dev.js +17 -0
  20. package/dist/stencil.config.js +14 -19
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-slider/.stencil/packages/stencil/general-slider/stencil.config.d.ts +2 -0
  22. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-slider/.stencil/packages/stencil/general-slider/stencil.config.dev.d.ts +2 -0
  23. package/dist/types/components/general-slider/general-slider.d.ts +67 -67
  24. package/dist/types/components/general-slider/index.d.ts +1 -0
  25. package/dist/types/stencil-public-runtime.d.ts +142 -33
  26. package/loader/cdn.js +1 -3
  27. package/loader/index.cjs.js +1 -3
  28. package/loader/index.d.ts +13 -1
  29. package/loader/index.es2017.js +1 -3
  30. package/loader/index.js +1 -3
  31. package/loader/package.json +1 -0
  32. package/package.json +8 -4
  33. package/dist/cjs/index-813e9dd4.js +0 -1176
  34. package/dist/components/general-slider.d.ts +0 -11
  35. package/dist/components/general-slider.js +0 -260
  36. package/dist/components/index.d.ts +0 -26
  37. package/dist/components/index.js +0 -1
  38. package/dist/esm/index-3bef6f6d.js +0 -1150
  39. package/dist/esm/polyfills/core-js.js +0 -11
  40. package/dist/esm/polyfills/css-shim.js +0 -1
  41. package/dist/esm/polyfills/dom.js +0 -79
  42. package/dist/esm/polyfills/es5-html-element.js +0 -1
  43. package/dist/esm/polyfills/index.js +0 -34
  44. package/dist/esm/polyfills/system.js +0 -6
  45. package/dist/general-slider/p-1d97b302.js +0 -1
  46. package/dist/general-slider/p-20e28994.entry.js +0 -1
  47. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/general-slider/.stencil/packages/general-slider/stencil.config.d.ts +0 -2
@@ -0,0 +1 @@
1
+ export { GeneralSlider } from './general-slider';
@@ -1,3 +1,3 @@
1
1
  export function format(first, middle, last) {
2
- return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
2
+ return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
3
3
  }
@@ -0,0 +1,3 @@
1
+ const globalScripts = () => {};
2
+
3
+ export { globalScripts as g };
@@ -1,229 +1,203 @@
1
- import { r as registerInstance, h, g as getElement } from './index-3bef6f6d.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-81e4031d.js';
2
2
 
3
3
  const generalSliderCss = ":host{display:block}.GeneralSlider{position:relative}.Slider{position:relative;width:100%;margin:0 auto;overflow:hidden}.SliderList{display:flex;margin:0;padding:0;list-style:none;transition:transform 0.5s ease-in-out}::slotted(li){flex:1 0 auto;width:100%;margin:auto}::slotted(li.hide){visibility:hidden;height:0;transition-delay:500ms}.Col-2 ::slotted(li){flex:2 0 auto;width:50%}.Col-3 ::slotted(li){flex:3 0 auto;width:33.3333333333%}.Col-4 ::slotted(li){flex:4 0 auto;width:25%}.Col-5 ::slotted(li){flex:5 0 auto;width:20%}.Col-6 ::slotted(li){flex:6 0 auto;width:16.6666666667%}.Col-7 ::slotted(li){flex:7 0 auto;width:14.2857142857%}.Col-8 ::slotted(li){flex:8 0 auto;width:12.5%}.Col-9 ::slotted(li){flex:9 0 auto;width:11.1111111111%}.Col-10 ::slotted(li){flex:10 0 auto;width:10%}.Col-11 ::slotted(li){flex:11 0 auto;width:9.0909090909%}.Col-12 ::slotted(li){flex:12 0 auto;width:8.3333333333%}.Button{position:absolute;z-index:1;top:calc(50% - 32px);padding:20px;font-size:20px;line-height:20px;opacity:0.5;border:none;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.Button:hover{opacity:1;transition:opacity 0.5s ease-in-out}.Button[disabled],.Button[disabled]:hover{color:var(--emfe-w-color-gray-150, #828282);opacity:0.25}.Button.ButtonNext{right:0}.PageButtons{display:flex;gap:4px;margin-top:8px}.PageButton{width:15px;height:4px;border-radius:4px;background-color:var(--emfe-w-tournament-color-primary, #0072ed);opacity:0.2;cursor:pointer;float:right}.PageButton.active{width:45px;opacity:1}";
4
+ const GeneralSliderStyle0 = generalSliderCss;
4
5
 
5
6
  const GeneralSlider = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- /**
9
- * Slide Count
10
- */
11
- this.slideNumber = 3;
12
- /**
13
- * Slides to show
14
- */
15
- this.slideShow = 3;
16
- /**
17
- * Display the arrow icon
18
- */
19
- this.showArrow = true;
20
- /**
21
- * Display the button
22
- */
23
- this.showButton = false;
24
- /**
25
- * Auto Slide
26
- */
27
- this.autoSlide = false;
28
- /**
29
- * Auto Slide loop time
30
- */
31
- this.loopTime = 1;
32
- /**
33
- * Auto fill the Item height
34
- */
35
- this.autoItemHeight = false;
36
- /**
37
- * Client custom styling via inline styles
38
- */
39
- this.clientStyling = '';
40
- /**
41
- * Client custom styling via url
42
- */
43
- this.clientStylingUrl = '';
44
- this.currentSlideNumber = 0;
45
- this.slidesCount = 0;
46
- this.limitStylingAppends = false;
47
- this.slides = null;
48
- this.slideWidth = 0;
49
- this.currentPage = 0;
50
- this.controls = {
51
- Prev: null,
52
- Next: null
53
- };
54
- this.xDown = null;
55
- this.yDown = null;
56
- }
57
- slide(next) {
58
- let slideTo = 0;
59
- if (next) {
60
- slideTo = this.currentSlideNumber + this.slideNumber;
61
- }
62
- else {
63
- slideTo = this.currentSlideNumber - this.slideNumber;
64
- }
65
- if (slideTo < 0 || slideTo >= this.slidesCount)
66
- return;
67
- this.currentSlideNumber = slideTo;
68
- this.currentPage = this.currentSlideNumber / this.slideNumber;
69
- this.updateListStyle();
70
- }
71
- slideTo(page) {
72
- this.currentSlideNumber = page * this.slideNumber;
73
- this.currentPage = page;
74
- this.updateListStyle();
75
- }
76
- updateControls() {
77
- this.switchControl('Prev', (this.currentSlideNumber === 0) ? false : true);
78
- this.switchControl('Next', (this.currentSlideNumber === this.slidesCount - this.slideShow) ? false : true);
79
- }
80
- switchControl(type, enabled) {
81
- if (this.controls[type]) {
82
- this.controls[type].disabled = !enabled;
83
- }
84
- }
85
- componentWillLoad() {
86
- if (!this.slideNumber)
87
- this.slideNumber = 1;
88
- if (!this.slideShow)
89
- this.slideShow = 1;
90
- }
91
- componentDidLoad() {
92
- this.slides = this.slotEl.assignedElements();
93
- this.slidesCount = this.slides.length;
94
- for (let type in this.controls) {
95
- this.controls[type] = this.el.shadowRoot.querySelector('.Button' + type);
96
- }
97
- if (this.autoSlide) {
98
- this.setSlideAutoInterval();
99
- }
100
- if (!this.limitStylingAppends && this.el.shadowRoot) {
101
- if (this.clientStyling)
102
- this.setClientStyling();
103
- if (this.clientStylingUrl)
104
- this.setClientStylingURL();
105
- this.limitStylingAppends = true;
106
- }
107
- }
108
- componentDidRender() {
109
- if (this.slides)
110
- this.slideWidth = this.slides[0].offsetWidth;
111
- this.el.addEventListener('touchstart', this.handleTouchStart.bind(this), { passive: true });
112
- this.el.addEventListener('touchmove', this.handleTouchMove.bind(this), { passive: true });
113
- this.updateListStyle();
114
- if (!this.limitStylingAppends && this.el.shadowRoot) {
115
- if (this.clientStyling)
116
- this.setClientStyling();
117
- if (this.clientStylingUrl)
118
- this.setClientStylingURL();
119
- this.limitStylingAppends = true;
120
- }
121
- }
122
- updateListStyle() {
123
- if (!this.autoItemHeight)
124
- return;
125
- if (this.slides === null)
126
- return;
127
- this.slides.forEach((li, index) => {
128
- if (index >= this.currentPage * this.slideNumber && index < (this.currentPage + 1) * this.slideNumber) {
129
- li.classList.remove('hide');
130
- }
131
- else {
132
- li.classList.add('hide');
133
- }
134
- });
135
- }
136
- disconnectedCallback() {
137
- this.el.removeEventListener('touchstart', this.handleTouchStart);
138
- this.el.removeEventListener('touchmove', this.handleTouchMove);
139
- }
140
- handleTouchStart(evt) {
141
- const firstTouch = this.getTouches(evt)[0];
142
- this.xDown = firstTouch.clientX;
143
- this.yDown = firstTouch.clientY;
144
- clearInterval(this.sliderInterval);
145
- }
146
- getTouches(evt) {
147
- return evt.touches || evt.originalEvent.touches;
148
- }
149
- handleTouchMove(evt) {
150
- if (!this.xDown || !this.yDown)
151
- return;
152
- let xUp = evt.touches[0].clientX;
153
- let yUp = evt.touches[0].clientY;
154
- let xDiff = this.xDown - xUp;
155
- let yDiff = this.yDown - yUp;
156
- if (Math.abs(xDiff) > Math.abs(yDiff)) {
157
- if (xDiff > 0) {
158
- this.slide(true);
159
- }
160
- else {
161
- this.slide(false);
162
- }
163
- }
164
- this.xDown = null;
165
- this.yDown = null;
166
- if (this.autoSlide) {
167
- this.setSlideAutoInterval();
168
- }
169
- }
170
- ;
171
- setSlideAutoInterval() {
172
- if (this.loopTime == 0) {
173
- return;
174
- }
175
- clearInterval(this.sliderInterval);
176
- this.sliderInterval = setInterval(() => {
177
- if (this.currentPage + 1 < this.slidesCount / this.slideNumber) {
178
- this.slideTo(this.currentPage + 1);
179
- }
180
- else {
181
- this.slideTo(0);
182
- }
183
- }, Number(this.loopTime) * 1000);
184
- }
185
- componentDidUpdate() {
186
- this.sliderEl.style.transform = `translateX(${this.currentSlideNumber * this.slideWidth * -1}px)`;
187
- this.updateControls();
188
- }
189
- switchLoopStatus(isMouseMoveEnter) {
190
- if (!this.autoSlide)
191
- return;
192
- if (this.loopTime > 0) {
193
- if (isMouseMoveEnter) {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.slides = null;
10
+ this.slideWidth = 0;
11
+ this.currentPage = 0;
12
+ this.controls = {
13
+ Prev: null,
14
+ Next: null
15
+ };
16
+ this.xDown = null;
17
+ this.yDown = null;
18
+ this.slideNumber = 3;
19
+ this.slideShow = 3;
20
+ this.showArrow = true;
21
+ this.showButton = false;
22
+ this.autoSlide = false;
23
+ this.loopTime = 1;
24
+ this.autoItemHeight = false;
25
+ this.clientStyling = '';
26
+ this.clientStylingUrl = '';
27
+ this.currentSlideNumber = 0;
28
+ this.slidesCount = 0;
29
+ this.limitStylingAppends = false;
30
+ }
31
+ slide(next) {
32
+ let slideTo = 0;
33
+ if (next) {
34
+ slideTo = this.currentSlideNumber + this.slideNumber;
35
+ }
36
+ else {
37
+ slideTo = this.currentSlideNumber - this.slideNumber;
38
+ }
39
+ if (slideTo < 0 || slideTo >= this.slidesCount)
40
+ return;
41
+ this.currentSlideNumber = slideTo;
42
+ this.currentPage = this.currentSlideNumber / this.slideNumber;
43
+ this.updateListStyle();
44
+ }
45
+ slideTo(page) {
46
+ this.currentSlideNumber = page * this.slideNumber;
47
+ this.currentPage = page;
48
+ this.updateListStyle();
49
+ }
50
+ updateControls() {
51
+ this.switchControl('Prev', (this.currentSlideNumber === 0) ? false : true);
52
+ this.switchControl('Next', (this.currentSlideNumber === this.slidesCount - this.slideShow) ? false : true);
53
+ }
54
+ switchControl(type, enabled) {
55
+ if (this.controls[type]) {
56
+ this.controls[type].disabled = !enabled;
57
+ }
58
+ }
59
+ componentWillLoad() {
60
+ if (!this.slideNumber)
61
+ this.slideNumber = 1;
62
+ if (!this.slideShow)
63
+ this.slideShow = 1;
64
+ }
65
+ componentDidLoad() {
66
+ this.slides = this.slotEl.assignedElements();
67
+ this.slidesCount = this.slides.length;
68
+ for (let type in this.controls) {
69
+ this.controls[type] = this.el.shadowRoot.querySelector('.Button' + type);
70
+ }
71
+ if (this.autoSlide) {
72
+ this.setSlideAutoInterval();
73
+ }
74
+ if (!this.limitStylingAppends && this.el.shadowRoot) {
75
+ if (this.clientStyling)
76
+ this.setClientStyling();
77
+ if (this.clientStylingUrl)
78
+ this.setClientStylingURL();
79
+ this.limitStylingAppends = true;
80
+ }
81
+ }
82
+ componentDidRender() {
83
+ if (this.slides)
84
+ this.slideWidth = this.slides[0].offsetWidth;
85
+ this.el.addEventListener('touchstart', this.handleTouchStart.bind(this), { passive: true });
86
+ this.el.addEventListener('touchmove', this.handleTouchMove.bind(this), { passive: true });
87
+ this.updateListStyle();
88
+ if (!this.limitStylingAppends && this.el.shadowRoot) {
89
+ if (this.clientStyling)
90
+ this.setClientStyling();
91
+ if (this.clientStylingUrl)
92
+ this.setClientStylingURL();
93
+ this.limitStylingAppends = true;
94
+ }
95
+ }
96
+ updateListStyle() {
97
+ if (!this.autoItemHeight)
98
+ return;
99
+ if (this.slides === null)
100
+ return;
101
+ this.slides.forEach((li, index) => {
102
+ if (index >= this.currentPage * this.slideNumber && index < (this.currentPage + 1) * this.slideNumber) {
103
+ li.classList.remove('hide');
104
+ }
105
+ else {
106
+ li.classList.add('hide');
107
+ }
108
+ });
109
+ }
110
+ disconnectedCallback() {
111
+ this.el.removeEventListener('touchstart', this.handleTouchStart);
112
+ this.el.removeEventListener('touchmove', this.handleTouchMove);
113
+ }
114
+ handleTouchStart(evt) {
115
+ const firstTouch = this.getTouches(evt)[0];
116
+ this.xDown = firstTouch.clientX;
117
+ this.yDown = firstTouch.clientY;
194
118
  clearInterval(this.sliderInterval);
195
- }
196
- else {
197
- this.setSlideAutoInterval();
198
- }
199
- }
200
- }
201
- setClientStyling() {
202
- const sheet = new CSSStyleSheet();
203
- // @ts-ignore
204
- sheet.replace(this.clientStyling);
205
- // @ts-ignore
206
- this.el.shadowRoot.adoptedStyleSheets = [...this.el.shadowRoot.adoptedStyleSheets, sheet];
207
- }
208
- setClientStylingURL() {
209
- let url = new URL(this.clientStylingUrl);
210
- fetch(url.href)
211
- .then((res) => res.text())
212
- .then((data) => {
213
- const sheet = new CSSStyleSheet();
214
- // @ts-ignore
215
- sheet.replace(data);
216
- // @ts-ignore
217
- this.el.shadowRoot.adoptedStyleSheets = [...this.el.shadowRoot.adoptedStyleSheets, sheet];
218
- });
219
- }
220
- render() {
221
- return (h("div", { class: "GeneralSlider" }, h("div", { class: "Slider" }, this.showArrow &&
222
- h("div", null, h("button", { type: "button", class: "Button ButtonNext", onClick: this.slide.bind(this, true), onMouseEnter: this.switchLoopStatus.bind(this, true), onMouseLeave: this.switchLoopStatus.bind(this, false) }, ">"), h("button", { type: "button", class: "Button ButtonPrev", onClick: this.slide.bind(this, false), onMouseEnter: this.switchLoopStatus.bind(this, true), onMouseLeave: this.switchLoopStatus.bind(this, false) }, "<")), h("ul", { class: `SliderList Col-${this.slideShow}`, part: "SliderList", onMouseEnter: this.switchLoopStatus.bind(this, true), onMouseLeave: this.switchLoopStatus.bind(this, false), ref: (el) => this.sliderEl = el }, h("slot", { ref: (el) => this.slotEl = el }))), this.showButton && this.slidesCount > 0 &&
223
- h("div", { class: "PageButtons", part: "PageButtons" }, [...Array(this.slidesCount / this.slideNumber)].map((_x, i) => h("div", { class: `PageButton ${this.currentPage == i ? 'active' : ''}`, title: `page${i}`, onClick: this.slideTo.bind(this, i), onMouseEnter: this.switchLoopStatus.bind(this, true), onMouseLeave: this.switchLoopStatus.bind(this, false) }, "\u00A0")))));
224
- }
225
- get el() { return getElement(this); }
119
+ }
120
+ getTouches(evt) {
121
+ return evt.touches || evt.originalEvent.touches;
122
+ }
123
+ handleTouchMove(evt) {
124
+ if (!this.xDown || !this.yDown)
125
+ return;
126
+ let xUp = evt.touches[0].clientX;
127
+ let yUp = evt.touches[0].clientY;
128
+ let xDiff = this.xDown - xUp;
129
+ let yDiff = this.yDown - yUp;
130
+ if (Math.abs(xDiff) > Math.abs(yDiff)) {
131
+ if (xDiff > 0) {
132
+ this.slide(true);
133
+ }
134
+ else {
135
+ this.slide(false);
136
+ }
137
+ }
138
+ this.xDown = null;
139
+ this.yDown = null;
140
+ if (this.autoSlide) {
141
+ this.setSlideAutoInterval();
142
+ }
143
+ }
144
+ ;
145
+ setSlideAutoInterval() {
146
+ if (this.loopTime == 0) {
147
+ return;
148
+ }
149
+ clearInterval(this.sliderInterval);
150
+ this.sliderInterval = setInterval(() => {
151
+ if (this.currentPage + 1 < this.slidesCount / this.slideNumber) {
152
+ this.slideTo(this.currentPage + 1);
153
+ }
154
+ else {
155
+ this.slideTo(0);
156
+ }
157
+ }, Number(this.loopTime) * 1000);
158
+ }
159
+ componentDidUpdate() {
160
+ this.sliderEl.style.transform = `translateX(${this.currentSlideNumber * this.slideWidth * -1}px)`;
161
+ this.updateControls();
162
+ }
163
+ switchLoopStatus(isMouseMoveEnter) {
164
+ if (!this.autoSlide)
165
+ return;
166
+ if (this.loopTime > 0) {
167
+ if (isMouseMoveEnter) {
168
+ clearInterval(this.sliderInterval);
169
+ }
170
+ else {
171
+ this.setSlideAutoInterval();
172
+ }
173
+ }
174
+ }
175
+ setClientStyling() {
176
+ const sheet = new CSSStyleSheet();
177
+ // @ts-ignore
178
+ sheet.replace(this.clientStyling);
179
+ // @ts-ignore
180
+ this.el.shadowRoot.adoptedStyleSheets = [...this.el.shadowRoot.adoptedStyleSheets, sheet];
181
+ }
182
+ setClientStylingURL() {
183
+ let url = new URL(this.clientStylingUrl);
184
+ fetch(url.href)
185
+ .then((res) => res.text())
186
+ .then((data) => {
187
+ const sheet = new CSSStyleSheet();
188
+ // @ts-ignore
189
+ sheet.replace(data);
190
+ // @ts-ignore
191
+ this.el.shadowRoot.adoptedStyleSheets = [...this.el.shadowRoot.adoptedStyleSheets, sheet];
192
+ });
193
+ }
194
+ render() {
195
+ return (h("div", { key: 'b8c30bef4c9ca004256c94cb642e8acb350afea4', class: "GeneralSlider" }, h("div", { key: '27d6869ae4f675f5e14d17fae20718ec24391e1b', class: "Slider" }, this.showArrow &&
196
+ h("div", { key: '61acebc8e1a0ecf02ae6dad1ecc6f618424d05d5' }, h("button", { key: 'c593883f94b693d6dfe741b2b4ed08185db36ef2', type: "button", class: "Button ButtonNext", onClick: this.slide.bind(this, true), onMouseEnter: this.switchLoopStatus.bind(this, true), onMouseLeave: this.switchLoopStatus.bind(this, false) }, ">"), h("button", { key: '2bea5e3e9f36443e78bc25f0556dce2adb7111a0', type: "button", class: "Button ButtonPrev", onClick: this.slide.bind(this, false), onMouseEnter: this.switchLoopStatus.bind(this, true), onMouseLeave: this.switchLoopStatus.bind(this, false) }, "<")), h("ul", { key: '6643c865256f26b5d06ec78044a2b595832ecb5e', class: `SliderList Col-${this.slideShow}`, part: "SliderList", onMouseEnter: this.switchLoopStatus.bind(this, true), onMouseLeave: this.switchLoopStatus.bind(this, false), ref: (el) => this.sliderEl = el }, h("slot", { key: '48f1ad37b771f32ecc27f3065d58bc7ef1a8a021', ref: (el) => this.slotEl = el }))), this.showButton && this.slidesCount > 0 &&
197
+ h("div", { key: 'd125efa8c68a6e913664d01fb395ed6cada71f5b', class: "PageButtons", part: "PageButtons" }, [...Array(this.slidesCount / this.slideNumber)].map((_x, i) => h("div", { class: `PageButton ${this.currentPage == i ? 'active' : ''}`, title: `page${i}`, onClick: this.slideTo.bind(this, i), onMouseEnter: this.switchLoopStatus.bind(this, true), onMouseLeave: this.switchLoopStatus.bind(this, false) }, "\u00A0")))));
198
+ }
199
+ get el() { return getElement(this); }
226
200
  };
227
- GeneralSlider.style = generalSliderCss;
201
+ GeneralSlider.style = GeneralSliderStyle0;
228
202
 
229
203
  export { GeneralSlider as general_slider };
@@ -1,17 +1,20 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-3bef6f6d.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-81e4031d.js';
2
+ export { s as setNonce } from './index-81e4031d.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
2
4
 
3
5
  /*
4
- Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
5
7
  */
6
- const patchBrowser = () => {
7
- const importMeta = import.meta.url;
8
- const opts = {};
9
- if (importMeta !== '') {
10
- opts.resourcesUrl = new URL('.', importMeta).href;
11
- }
12
- return promiseResolve(opts);
8
+ var patchBrowser = () => {
9
+ const importMeta = import.meta.url;
10
+ const opts = {};
11
+ if (importMeta !== "") {
12
+ opts.resourcesUrl = new URL(".", importMeta).href;
13
+ }
14
+ return promiseResolve(opts);
13
15
  };
14
16
 
15
- patchBrowser().then(options => {
17
+ patchBrowser().then(async (options) => {
18
+ await globalScripts();
16
19
  return bootstrapLazy([["general-slider",[[1,"general-slider",{"slideNumber":[2,"slide-number"],"slideShow":[2,"slide-show"],"showArrow":[4,"show-arrow"],"showButton":[4,"show-button"],"autoSlide":[4,"auto-slide"],"loopTime":[2,"loop-time"],"autoItemHeight":[4,"auto-item-height"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"currentSlideNumber":[32],"slidesCount":[32],"limitStylingAppends":[32]}]]]], options);
17
20
  });