@progress/kendo-angular-scrollview 25.0.0-develop.2 → 25.0.0-develop.21
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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { EventEmitter, signal, Output, Input, ChangeDetectionStrategy, Component, Directive, forwardRef, TemplateRef, HostBinding, ViewChild, ContentChild, NgModule } from '@angular/core';
|
|
7
7
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
8
|
-
import { replaceMessagePlaceholder, normalizeKeys, Keys, DraggableDirective, KENDO_WEBMCP_HOST } from '@progress/kendo-angular-common';
|
|
8
|
+
import { replaceMessagePlaceholder, normalizeKeys, Keys, DraggableDirective, KENDO_WEBMCP_HOST, provideComponentName } from '@progress/kendo-angular-common';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
10
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
11
11
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
@@ -31,8 +31,8 @@ const packageMetadata = {
|
|
|
31
31
|
productName: 'Kendo UI for Angular',
|
|
32
32
|
productCode: 'KENDOUIANGULAR',
|
|
33
33
|
productCodes: ['KENDOUIANGULAR'],
|
|
34
|
-
publishDate:
|
|
35
|
-
version: '25.0.0-develop.
|
|
34
|
+
publishDate: 1785852667,
|
|
35
|
+
version: '25.0.0-develop.21',
|
|
36
36
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -161,8 +161,8 @@ class ScrollViewPagerComponent {
|
|
|
161
161
|
const localizationMsg = this.localization.get('pagerButtonLabel') || '';
|
|
162
162
|
return replaceMessagePlaceholder(localizationMsg, 'itemIndex', itemIndex.toString());
|
|
163
163
|
}
|
|
164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
165
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewPagerComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
165
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: ScrollViewPagerComponent, isStandalone: true, selector: "kendo-scrollview-pager", inputs: { activeIndex: "activeIndex", data: "data" }, outputs: { pagerIndexChange: "pagerIndexChange" }, ngImport: i0, template: `
|
|
166
166
|
<div class="k-scrollview-nav">
|
|
167
167
|
@for (item of data; track $index; let i = $index) {
|
|
168
168
|
<span [attr.aria-label]="pagerButtonLabel(i + 1)" role="button" class="k-link"
|
|
@@ -173,7 +173,7 @@ class ScrollViewPagerComponent {
|
|
|
173
173
|
</div>
|
|
174
174
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
175
175
|
}
|
|
176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewPagerComponent, decorators: [{
|
|
177
177
|
type: Component,
|
|
178
178
|
args: [{
|
|
179
179
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -214,10 +214,10 @@ class ScrollViewMessages extends ComponentMessages {
|
|
|
214
214
|
return this._pagerButtonLabel();
|
|
215
215
|
}
|
|
216
216
|
_pagerButtonLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_pagerButtonLabel" }] : []));
|
|
217
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
218
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
217
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
218
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: ScrollViewMessages, isStandalone: true, selector: "kendo-scrollview-messages-base", inputs: { pagerButtonLabel: "pagerButtonLabel" }, usesInheritance: true, ngImport: i0 });
|
|
219
219
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewMessages, decorators: [{
|
|
221
221
|
type: Directive,
|
|
222
222
|
args: [{
|
|
223
223
|
selector: 'kendo-scrollview-messages-base'
|
|
@@ -235,15 +235,15 @@ class LocalizedMessagesDirective extends ScrollViewMessages {
|
|
|
235
235
|
super();
|
|
236
236
|
this.service = service;
|
|
237
237
|
}
|
|
238
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
239
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
239
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoScrollViewLocalizedMessages]", providers: [
|
|
240
240
|
{
|
|
241
241
|
provide: ScrollViewMessages,
|
|
242
242
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
243
243
|
}
|
|
244
244
|
], usesInheritance: true, ngImport: i0 });
|
|
245
245
|
}
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
247
247
|
type: Directive,
|
|
248
248
|
args: [{
|
|
249
249
|
providers: [
|
|
@@ -714,19 +714,20 @@ class ScrollViewComponent {
|
|
|
714
714
|
get nextButtonArrowSVGIcon() {
|
|
715
715
|
return this.direction === 'ltr' ? this.chevronRightIcon : this.chevronLeftIcon;
|
|
716
716
|
}
|
|
717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
718
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
717
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
718
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: ScrollViewComponent, isStandalone: true, selector: "kendo-scrollview", inputs: { data: "data", activeIndex: "activeIndex", width: "width", height: "height", endless: "endless", pagerOverlay: "pagerOverlay", animate: "animate", pageable: "pageable", arrows: "arrows" }, outputs: { itemChanged: "itemChanged", activeIndexChange: "activeIndexChange" }, host: { properties: { "class.k-scrollview": "this.scrollViewClass", "attr.role": "this.scrollViewRole", "attr.aria-roledescription": "this.scrollViewRoleDescription", "class.k-scrollview-light": "this.scrollViewLightOverlayClass", "class.k-scrollview-dark": "this.scrollViewDarkOverlayClass", "style.width": "this.hostWidth", "style.height": "this.hostHeight", "attr.tabindex": "this.tabIndex", "attr.aria-live": "this.ariaLive", "attr.dir": "this.dir", "style.touch-action": "this.touchAction" } }, providers: [
|
|
719
719
|
LocalizationService,
|
|
720
720
|
{
|
|
721
721
|
provide: L10N_PREFIX,
|
|
722
722
|
useValue: 'kendo.scrollview'
|
|
723
723
|
},
|
|
724
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ScrollViewComponent) }
|
|
724
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ScrollViewComponent) },
|
|
725
|
+
provideComponentName('scrollview')
|
|
725
726
|
], queries: [{ propertyName: "itemTemplateRef", first: true, predicate: TemplateRef, descendants: true }], viewQueries: [{ propertyName: "itemWrapper", first: true, predicate: ["itemWrapper"], descendants: true }, { propertyName: "prevButton", first: true, predicate: ["prevButton"], descendants: true }, { propertyName: "nextButton", first: true, predicate: ["nextButton"], descendants: true }], exportAs: ["kendoScrollView"], ngImport: i0, template: `
|
|
726
727
|
|
|
727
728
|
<ng-container kendoScrollViewLocalizedMessages
|
|
728
729
|
i18n-pagerButtonLabel="kendo.scrollview.pagerButtonLabel|The label for the buttons inside the ScrollView Pager"
|
|
729
|
-
pagerButtonLabel="
|
|
730
|
+
pagerButtonLabel="Item [[itemIndex]]">
|
|
730
731
|
<ng-container>
|
|
731
732
|
|
|
732
733
|
<div class="k-scrollview-wrap k-scrollview-animate"
|
|
@@ -816,7 +817,7 @@ class ScrollViewComponent {
|
|
|
816
817
|
])
|
|
817
818
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
818
819
|
}
|
|
819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewComponent, decorators: [{
|
|
820
821
|
type: Component,
|
|
821
822
|
args: [{
|
|
822
823
|
animations: [
|
|
@@ -840,7 +841,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
840
841
|
provide: L10N_PREFIX,
|
|
841
842
|
useValue: 'kendo.scrollview'
|
|
842
843
|
},
|
|
843
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ScrollViewComponent) }
|
|
844
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ScrollViewComponent) },
|
|
845
|
+
provideComponentName('scrollview')
|
|
844
846
|
],
|
|
845
847
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
846
848
|
selector: 'kendo-scrollview',
|
|
@@ -848,7 +850,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
848
850
|
|
|
849
851
|
<ng-container kendoScrollViewLocalizedMessages
|
|
850
852
|
i18n-pagerButtonLabel="kendo.scrollview.pagerButtonLabel|The label for the buttons inside the ScrollView Pager"
|
|
851
|
-
pagerButtonLabel="
|
|
853
|
+
pagerButtonLabel="Item [[itemIndex]]">
|
|
852
854
|
<ng-container>
|
|
853
855
|
|
|
854
856
|
<div class="k-scrollview-wrap k-scrollview-animate"
|
|
@@ -1019,15 +1021,15 @@ class CustomMessagesComponent extends ScrollViewMessages {
|
|
|
1019
1021
|
get override() {
|
|
1020
1022
|
return true;
|
|
1021
1023
|
}
|
|
1022
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1023
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1024
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1025
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-scrollview-messages", providers: [
|
|
1024
1026
|
{
|
|
1025
1027
|
provide: ScrollViewMessages,
|
|
1026
1028
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
1027
1029
|
}
|
|
1028
1030
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1029
1031
|
}
|
|
1030
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
1031
1033
|
type: Component,
|
|
1032
1034
|
args: [{
|
|
1033
1035
|
providers: [
|
|
@@ -1090,11 +1092,11 @@ const KENDO_SCROLLVIEW = [
|
|
|
1090
1092
|
* ```
|
|
1091
1093
|
*/
|
|
1092
1094
|
class ScrollViewModule {
|
|
1093
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1094
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
1095
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
1095
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1096
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewModule, imports: [ScrollViewComponent, CustomMessagesComponent], exports: [ScrollViewComponent, CustomMessagesComponent] });
|
|
1097
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewModule, providers: [IconsService], imports: [ScrollViewComponent] });
|
|
1096
1098
|
}
|
|
1097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ScrollViewModule, decorators: [{
|
|
1098
1100
|
type: NgModule,
|
|
1099
1101
|
args: [{
|
|
1100
1102
|
imports: [...KENDO_SCROLLVIEW],
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1785852667,
|
|
11
|
+
"version": "25.0.0-develop.21",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scrollview",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.21",
|
|
4
4
|
"description": "A ScrollView Component for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1785852667,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"@angular/core": "20 - 22",
|
|
30
30
|
"@angular/platform-browser": "20 - 22",
|
|
31
31
|
"@progress/kendo-licensing": "^1.11.0",
|
|
32
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
32
|
+
"@progress/kendo-angular-common": "25.0.0-develop.21",
|
|
33
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.21",
|
|
34
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.21",
|
|
35
35
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"tslib": "^2.3.1",
|
|
39
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
39
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.21"
|
|
40
40
|
},
|
|
41
41
|
"schematics": "./schematics/collection.json",
|
|
42
42
|
"module": "fesm2022/progress-kendo-angular-scrollview.mjs",
|