@vectoriox/iox-ui 4.0.8 → 4.1.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.
package/package.json
CHANGED
|
@@ -1,32 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectoriox/iox-ui",
|
|
3
|
-
"version": "4.0
|
|
4
|
-
"dependencies": {
|
|
5
|
-
"tslib": "^2.3.0",
|
|
6
|
-
"@fristys/masonry": "^1.1.7",
|
|
7
|
-
"lenis": "^1.0.42"
|
|
8
|
-
},
|
|
3
|
+
"version": "4.1.0",
|
|
9
4
|
"peerDependencies": {
|
|
10
|
-
"@angular/common": "
|
|
11
|
-
"@angular/core": "
|
|
12
|
-
"@angular/animations": "
|
|
13
|
-
"ngx-cookie-service": "^20.1.1"
|
|
5
|
+
"@angular/common": ">=20.0.0",
|
|
6
|
+
"@angular/core": ">=20.0.0",
|
|
7
|
+
"@angular/animations": ">=20.0.0"
|
|
14
8
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
}
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "^2.3.0",
|
|
11
|
+
"@fristys/masonry": "^1.1.7"
|
|
19
12
|
},
|
|
20
13
|
"module": "fesm2022/vectoriox-iox-ui.mjs",
|
|
21
|
-
"typings": "
|
|
14
|
+
"typings": "types/vectoriox-iox-ui.d.ts",
|
|
22
15
|
"exports": {
|
|
23
16
|
"./package.json": {
|
|
24
17
|
"default": "./package.json"
|
|
25
18
|
},
|
|
26
19
|
".": {
|
|
27
|
-
"types": "./
|
|
20
|
+
"types": "./types/vectoriox-iox-ui.d.ts",
|
|
28
21
|
"default": "./fesm2022/vectoriox-iox-ui.mjs"
|
|
29
22
|
}
|
|
30
23
|
},
|
|
31
|
-
"sideEffects": false
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"type": "module"
|
|
32
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { AfterViewInit, EventEmitter, ElementRef, SimpleChanges, OnDestroy, OnInit, Renderer2, ModuleWithProviders,
|
|
2
|
+
import { AfterViewInit, EventEmitter, ElementRef, SimpleChanges, OnDestroy, OnInit, Renderer2, ModuleWithProviders, InjectionToken, ChangeDetectorRef, ViewContainerRef, Type } from '@angular/core';
|
|
3
3
|
import { AnimationPlayer, AnimationBuilder } from '@angular/animations';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import * as i3 from '@angular/platform-browser/animations';
|
|
@@ -152,11 +152,8 @@ declare class IoxMasonryModule {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
declare class PageScrollProvider {
|
|
155
|
-
private zone;
|
|
156
|
-
private platformId;
|
|
157
155
|
private lenis?;
|
|
158
156
|
private rafId?;
|
|
159
|
-
constructor(zone: NgZone, platformId: object);
|
|
160
157
|
init(options?: ConstructorParameters<typeof Lenis>[0]): void;
|
|
161
158
|
scrollTo(y: number, options?: {
|
|
162
159
|
duration?: number;
|
|
@@ -167,26 +164,16 @@ declare class PageScrollProvider {
|
|
|
167
164
|
immediate?: boolean;
|
|
168
165
|
}): void;
|
|
169
166
|
get instance(): Lenis;
|
|
170
|
-
destroy(): void;
|
|
171
167
|
private startLoop;
|
|
172
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageScrollProvider, never>;
|
|
173
169
|
static ɵprov: i0.ɵɵInjectableDeclaration<PageScrollProvider>;
|
|
174
170
|
}
|
|
175
171
|
|
|
176
|
-
interface IoxScrollOptions {
|
|
177
|
-
lerp?: number;
|
|
178
|
-
wheelMultiplier?: number;
|
|
179
|
-
touchMultiplier?: number;
|
|
180
|
-
orientation?: 'vertical' | 'horizontal';
|
|
181
|
-
infinite?: boolean;
|
|
182
|
-
}
|
|
183
172
|
declare class IoxPageComponent implements AfterViewInit, OnDestroy {
|
|
184
173
|
private pageScrollProvider;
|
|
185
|
-
private platformId;
|
|
186
174
|
class: string;
|
|
187
|
-
scrollEnabled: boolean;
|
|
188
|
-
scrollOptions: IoxScrollOptions;
|
|
189
175
|
page: ElementRef<HTMLDivElement>;
|
|
176
|
+
private scrollSubscription;
|
|
190
177
|
scrollEvent: EventEmitter<{
|
|
191
178
|
scrollTop: number;
|
|
192
179
|
scrollLeft: number;
|
|
@@ -196,11 +183,12 @@ declare class IoxPageComponent implements AfterViewInit, OnDestroy {
|
|
|
196
183
|
clientWidth: number;
|
|
197
184
|
scrollPercentage: number;
|
|
198
185
|
}>;
|
|
199
|
-
constructor(pageScrollProvider: PageScrollProvider
|
|
186
|
+
constructor(pageScrollProvider: PageScrollProvider);
|
|
200
187
|
ngAfterViewInit(): void;
|
|
188
|
+
onScroll(event: Event): void;
|
|
201
189
|
ngOnDestroy(): void;
|
|
202
190
|
static ɵfac: i0.ɵɵFactoryDeclaration<IoxPageComponent, never>;
|
|
203
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IoxPageComponent, "iox-page-component", never, { "class": { "alias": "class"; "required": false; };
|
|
191
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IoxPageComponent, "iox-page-component", never, { "class": { "alias": "class"; "required": false; }; }, { "scrollEvent": "scrollEvent"; }, never, ["*"], false, never>;
|
|
204
192
|
}
|
|
205
193
|
|
|
206
194
|
declare class IoxPageModule {
|
|
@@ -524,4 +512,4 @@ declare class IoxComponentRegistryService {
|
|
|
524
512
|
}
|
|
525
513
|
|
|
526
514
|
export { AOSService, AnalyticsService, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, CMSClientInfraModule, CardComponent, ClientRepeaterComponent, ConsentService, ContainerComponent, ContentService, ENVIRONMENT, IOX_BUILDER_EVENTS, IS_PREVIEW, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxMasonryComponent, IoxMasonryItemDirective, IoxMasonryModule, IoxMasonryService, IoxPageComponent, IoxPageModule, IoxUiModule, LinkedContainerComponent, PageScrollProvider, PrivacyModalComponent, PrivacyModalService, PrivacyModelEvent, SectionComponent, TextBlockComponent, ViewPositionDirective, ViewPositionModule, WebSettingsService };
|
|
527
|
-
export type { IBuilderEventEmitter, IoxMasonryOptions
|
|
515
|
+
export type { IBuilderEventEmitter, IoxMasonryOptions };
|