@everymatrix/general-slider-navigation 1.16.1

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/general-slider-navigation.cjs.entry.js +362 -0
  2. package/dist/cjs/general-slider-navigation.cjs.js +19 -0
  3. package/dist/cjs/index-3420513e.js +1282 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +21 -0
  6. package/dist/collection/collection-manifest.json +12 -0
  7. package/dist/collection/components/general-slider-navigation/general-slider-navigation.css +282 -0
  8. package/dist/collection/components/general-slider-navigation/general-slider-navigation.js +586 -0
  9. package/dist/collection/index.js +1 -0
  10. package/dist/collection/utils/locale.utils.js +28 -0
  11. package/dist/collection/utils/utils.js +56 -0
  12. package/dist/components/general-slider-navigation.d.ts +11 -0
  13. package/dist/components/general-slider-navigation.js +398 -0
  14. package/dist/components/index.d.ts +26 -0
  15. package/dist/components/index.js +1 -0
  16. package/dist/esm/general-slider-navigation.entry.js +358 -0
  17. package/dist/esm/general-slider-navigation.js +17 -0
  18. package/dist/esm/index-22e4ccbc.js +1256 -0
  19. package/dist/esm/index.js +1 -0
  20. package/dist/esm/loader.js +17 -0
  21. package/dist/esm/polyfills/core-js.js +11 -0
  22. package/dist/esm/polyfills/css-shim.js +1 -0
  23. package/dist/esm/polyfills/dom.js +79 -0
  24. package/dist/esm/polyfills/es5-html-element.js +1 -0
  25. package/dist/esm/polyfills/index.js +34 -0
  26. package/dist/esm/polyfills/system.js +6 -0
  27. package/dist/general-slider-navigation/general-slider-navigation.esm.js +1 -0
  28. package/dist/general-slider-navigation/index.esm.js +0 -0
  29. package/dist/general-slider-navigation/p-b72fe935.js +1 -0
  30. package/dist/general-slider-navigation/p-c80bf480.entry.js +1 -0
  31. package/dist/index.cjs.js +1 -0
  32. package/dist/index.js +1 -0
  33. package/dist/stencil.config.js +22 -0
  34. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/general-slider-navigation/.stencil/packages/general-slider-navigation/stencil.config.d.ts +2 -0
  35. package/dist/types/components/general-slider-navigation/general-slider-navigation.d.ts +100 -0
  36. package/dist/types/components.d.ts +157 -0
  37. package/dist/types/index.d.ts +1 -0
  38. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  39. package/dist/types/utils/locale.utils.d.ts +1 -0
  40. package/dist/types/utils/utils.d.ts +10 -0
  41. package/loader/cdn.js +3 -0
  42. package/loader/index.cjs.js +3 -0
  43. package/loader/index.d.ts +12 -0
  44. package/loader/index.es2017.js +3 -0
  45. package/loader/index.js +4 -0
  46. package/loader/package.json +10 -0
  47. package/package.json +19 -0
@@ -0,0 +1,100 @@
1
+ export declare class GeneralSliderNavigation {
2
+ /**
3
+ * Client custom styling via inline style
4
+ */
5
+ clientStyling: string;
6
+ /**
7
+ * Client custom styling via url
8
+ */
9
+ clientStylingUrl: string;
10
+ /**
11
+ * Endpoint URL for the source of data
12
+ */
13
+ cmsEndpoint: string;
14
+ /**
15
+ * CMS Endpoint stage
16
+ */
17
+ cmsEnv: string;
18
+ /**
19
+ * Language of the widget
20
+ */
21
+ language: string;
22
+ /**
23
+ * User roles
24
+ */
25
+ userRoles: string;
26
+ /**
27
+ * Show slider navigate arrows
28
+ */
29
+ showSliderArrows: boolean;
30
+ /**
31
+ * Show slider navigate arrows on mobile
32
+ */
33
+ showSliderArrowsMobile: boolean;
34
+ /**
35
+ * You will see a fixed grid without a slider when using a mobile device.
36
+ */
37
+ showMobileGrid: boolean;
38
+ /**
39
+ * Set if you want to have a slider on mobile device.
40
+ */
41
+ showNavigationSliderMobile: boolean;
42
+ /**
43
+ * Set if you want to have a slider on desktop.
44
+ */
45
+ showNavigationSliderDesktop: boolean;
46
+ /**
47
+ * Specify the number of items you would like to be displayed on desktop.
48
+ */
49
+ itemsPerPageDesktop: number;
50
+ /**
51
+ * Specify the number of items you would like to be displayed on mobile devices.
52
+ */
53
+ itemsPerPageMobile: number;
54
+ /**
55
+ * Customize external link active
56
+ */
57
+ externalLinkActive: boolean;
58
+ /**
59
+ * Customize internal link active
60
+ */
61
+ internalLinkActive: boolean;
62
+ el: HTMLElement;
63
+ private isLoading;
64
+ private limitStylingAppends;
65
+ hasErrors: boolean;
66
+ device: string;
67
+ activeIndex: number;
68
+ sliderMenuElementWidth: number;
69
+ private userAgent;
70
+ private sliderData;
71
+ private stylingContainer;
72
+ isMobile: boolean;
73
+ allElementsWidth: number;
74
+ sliderMenuElement: HTMLElement;
75
+ slider: HTMLElement;
76
+ xDown: number;
77
+ yDown: number;
78
+ watchEndpoint(newValue: string, oldValue: string): void;
79
+ connectedCallback(): void;
80
+ componentWillLoad(): Promise<void>;
81
+ componentDidLoad(): void;
82
+ componentDidRender(): void;
83
+ componentDidUpdate(): void;
84
+ disconnectedCallback(): void;
85
+ getGeneralSliderNavigation(): Promise<any>;
86
+ handleTouchStart(evt: any): void;
87
+ resizeHandler: () => void;
88
+ orientationChangeHandler: () => void;
89
+ handleTouchMove(evt: any): void;
90
+ navigationTo: (url: string, type: string, isExternal: boolean) => void;
91
+ calculateSliderWidth(): void;
92
+ getTouches(evt: any): void;
93
+ setActive(index: number): void;
94
+ move(direction: any): void;
95
+ goTo(index: number): void;
96
+ setImage: (image: any) => string;
97
+ setClientStyling: () => void;
98
+ setClientStylingURL: () => void;
99
+ render(): any;
100
+ }
@@ -0,0 +1,157 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ export namespace Components {
9
+ interface GeneralSliderNavigation {
10
+ /**
11
+ * Client custom styling via inline style
12
+ */
13
+ "clientStyling": string;
14
+ /**
15
+ * Client custom styling via url
16
+ */
17
+ "clientStylingUrl": string;
18
+ /**
19
+ * Endpoint URL for the source of data
20
+ */
21
+ "cmsEndpoint": string;
22
+ /**
23
+ * CMS Endpoint stage
24
+ */
25
+ "cmsEnv": string;
26
+ /**
27
+ * Customize external link active
28
+ */
29
+ "externalLinkActive": boolean;
30
+ /**
31
+ * Customize internal link active
32
+ */
33
+ "internalLinkActive": boolean;
34
+ /**
35
+ * Specify the number of items you would like to be displayed on desktop.
36
+ */
37
+ "itemsPerPageDesktop": number;
38
+ /**
39
+ * Specify the number of items you would like to be displayed on mobile devices.
40
+ */
41
+ "itemsPerPageMobile": number;
42
+ /**
43
+ * Language of the widget
44
+ */
45
+ "language": string;
46
+ /**
47
+ * You will see a fixed grid without a slider when using a mobile device.
48
+ */
49
+ "showMobileGrid": boolean;
50
+ /**
51
+ * Set if you want to have a slider on desktop.
52
+ */
53
+ "showNavigationSliderDesktop": boolean;
54
+ /**
55
+ * Set if you want to have a slider on mobile device.
56
+ */
57
+ "showNavigationSliderMobile": boolean;
58
+ /**
59
+ * Show slider navigate arrows
60
+ */
61
+ "showSliderArrows": boolean;
62
+ /**
63
+ * Show slider navigate arrows on mobile
64
+ */
65
+ "showSliderArrowsMobile": boolean;
66
+ /**
67
+ * User roles
68
+ */
69
+ "userRoles": string;
70
+ }
71
+ }
72
+ declare global {
73
+ interface HTMLGeneralSliderNavigationElement extends Components.GeneralSliderNavigation, HTMLStencilElement {
74
+ }
75
+ var HTMLGeneralSliderNavigationElement: {
76
+ prototype: HTMLGeneralSliderNavigationElement;
77
+ new (): HTMLGeneralSliderNavigationElement;
78
+ };
79
+ interface HTMLElementTagNameMap {
80
+ "general-slider-navigation": HTMLGeneralSliderNavigationElement;
81
+ }
82
+ }
83
+ declare namespace LocalJSX {
84
+ interface GeneralSliderNavigation {
85
+ /**
86
+ * Client custom styling via inline style
87
+ */
88
+ "clientStyling"?: string;
89
+ /**
90
+ * Client custom styling via url
91
+ */
92
+ "clientStylingUrl"?: string;
93
+ /**
94
+ * Endpoint URL for the source of data
95
+ */
96
+ "cmsEndpoint": string;
97
+ /**
98
+ * CMS Endpoint stage
99
+ */
100
+ "cmsEnv"?: string;
101
+ /**
102
+ * Customize external link active
103
+ */
104
+ "externalLinkActive"?: boolean;
105
+ /**
106
+ * Customize internal link active
107
+ */
108
+ "internalLinkActive"?: boolean;
109
+ /**
110
+ * Specify the number of items you would like to be displayed on desktop.
111
+ */
112
+ "itemsPerPageDesktop"?: number;
113
+ /**
114
+ * Specify the number of items you would like to be displayed on mobile devices.
115
+ */
116
+ "itemsPerPageMobile"?: number;
117
+ /**
118
+ * Language of the widget
119
+ */
120
+ "language"?: string;
121
+ /**
122
+ * You will see a fixed grid without a slider when using a mobile device.
123
+ */
124
+ "showMobileGrid"?: boolean;
125
+ /**
126
+ * Set if you want to have a slider on desktop.
127
+ */
128
+ "showNavigationSliderDesktop"?: boolean;
129
+ /**
130
+ * Set if you want to have a slider on mobile device.
131
+ */
132
+ "showNavigationSliderMobile"?: boolean;
133
+ /**
134
+ * Show slider navigate arrows
135
+ */
136
+ "showSliderArrows"?: boolean;
137
+ /**
138
+ * Show slider navigate arrows on mobile
139
+ */
140
+ "showSliderArrowsMobile"?: boolean;
141
+ /**
142
+ * User roles
143
+ */
144
+ "userRoles"?: string;
145
+ }
146
+ interface IntrinsicElements {
147
+ "general-slider-navigation": GeneralSliderNavigation;
148
+ }
149
+ }
150
+ export { LocalJSX as JSX };
151
+ declare module "@stencil/core" {
152
+ export namespace JSX {
153
+ interface IntrinsicElements {
154
+ "general-slider-navigation": LocalJSX.GeneralSliderNavigation & JSXBase.HTMLAttributes<HTMLGeneralSliderNavigationElement>;
155
+ }
156
+ }
157
+ }
@@ -0,0 +1 @@
1
+ export * from './components';