@edm-sdui/sdui 1.0.66 → 1.0.68
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/edm-sdui-sdui-1.0.68.tgz +0 -0
- package/esm2022/lib/components/uicomponent/image/image.component.mjs +1 -8
- package/esm2022/lib/components/uicomponent/scrollable-row/scrollable-row.component.mjs +75 -7
- package/esm2022/lib/components/uicomponent/tags-row/tag/tag.component.mjs +2 -2
- package/esm2022/lib/core/uitheme/enums/uisize.mjs +1 -1
- package/esm2022/lib/core/uitheme/mapping/size-mapping.mjs +8 -8
- package/esm2022/lib/directives/uiview.directive.mjs +2 -4
- package/fesm2022/edm-sdui-sdui.mjs +83 -23
- package/fesm2022/edm-sdui-sdui.mjs.map +1 -1
- package/lib/components/uicomponent/image/image.component.d.ts.map +1 -1
- package/lib/components/uicomponent/scrollable-row/scrollable-row.component.d.ts +16 -3
- package/lib/components/uicomponent/scrollable-row/scrollable-row.component.d.ts.map +1 -1
- package/lib/core/uitheme/enums/uisize.d.ts +5 -5
- package/lib/core/uitheme/enums/uisize.d.ts.map +1 -1
- package/lib/directives/uiview.directive.d.ts.map +1 -1
- package/package.json +1 -1
- package/edm-sdui-sdui-1.0.66.tgz +0 -0
|
@@ -2081,10 +2081,10 @@ var UISize;
|
|
|
2081
2081
|
})(UISize || (UISize = {}));
|
|
2082
2082
|
|
|
2083
2083
|
const sizeMapping = {
|
|
2084
|
-
[UISize.THUMB_1]: { width: '100px', height: '56px', scalable:
|
|
2085
|
-
[UISize.THUMB_2]: { width: '
|
|
2084
|
+
[UISize.THUMB_1]: { width: '100px', height: '56px', scalable: true },
|
|
2085
|
+
[UISize.THUMB_2]: { width: '106px', height: '40px', scalable: true },
|
|
2086
2086
|
[UISize.THUMB_3]: { width: '210px', height: '118px', scalable: true },
|
|
2087
|
-
[UISize.THUMB_4]: { width: '300px', height: '
|
|
2087
|
+
[UISize.THUMB_4]: { width: '300px', height: '170px', scalable: true },
|
|
2088
2088
|
[UISize.ASSET_1]: { width: '26px', height: '26px', scalable: false },
|
|
2089
2089
|
[UISize.ASSET_2]: { width: '16px', height: '16px', scalable: false },
|
|
2090
2090
|
[UISize.ASSET_3]: { width: '80px', height: '80px', scalable: false },
|
|
@@ -2093,12 +2093,12 @@ const sizeMapping = {
|
|
|
2093
2093
|
[UISize.ASSET_6]: { width: '20px', height: '20px', scalable: false },
|
|
2094
2094
|
[UISize.ASSET_7]: { width: '22px', height: '22px', scalable: false },
|
|
2095
2095
|
[UISize.ASSET_8]: { width: '24px', height: '24px', scalable: false },
|
|
2096
|
-
[UISize.ASSET_9]: { width: '
|
|
2096
|
+
[UISize.ASSET_9]: { width: '60px', height: '60px', scalable: false },
|
|
2097
2097
|
[UISize.ASSET_10]: { width: '30px', height: '30px', scalable: false },
|
|
2098
2098
|
[UISize.CARD_1]: { width: '210px', height: '201px', scalable: true },
|
|
2099
|
-
[UISize.CARD_2]: { width: '300px', height: '
|
|
2100
|
-
[UISize.CARD_3]: { width: '300px', height: '
|
|
2101
|
-
[UISize.CARD_4]: { width: '210px', height: '
|
|
2099
|
+
[UISize.CARD_2]: { width: '300px', height: '315px', scalable: true },
|
|
2100
|
+
[UISize.CARD_3]: { width: '300px', height: '375px', scalable: false },
|
|
2101
|
+
[UISize.CARD_4]: { width: '210px', height: '235px', scalable: true },
|
|
2102
2102
|
};
|
|
2103
2103
|
/** @deprecated Use `sizeMapping[size].height` */
|
|
2104
2104
|
const sizeMappingHeight = Object.fromEntries(Object.entries(sizeMapping).map(([key, config]) => [key, config.height]));
|
|
@@ -2329,9 +2329,7 @@ class UIViewDirective {
|
|
|
2329
2329
|
if (!config)
|
|
2330
2330
|
return;
|
|
2331
2331
|
let { width: widthValue, height: heightValue } = config;
|
|
2332
|
-
if (config.scalable &&
|
|
2333
|
-
this.isSmallScreen() &&
|
|
2334
|
-
this.currentContainer === UIScreenContainerType.FLUID) {
|
|
2332
|
+
if (config.scalable && this.isSmallScreen()) {
|
|
2335
2333
|
widthValue = this.scalePixelValue(widthValue, 1.1);
|
|
2336
2334
|
heightValue = this.scalePixelValue(heightValue, 1.1);
|
|
2337
2335
|
}
|
|
@@ -3164,12 +3162,6 @@ class ImageComponent {
|
|
|
3164
3162
|
}
|
|
3165
3163
|
}
|
|
3166
3164
|
if (this.imgElementRef?.nativeElement) {
|
|
3167
|
-
if (element.size) {
|
|
3168
|
-
const height = sizeMappingHeight[element.size];
|
|
3169
|
-
const width = sizeMappingWidth[element.size];
|
|
3170
|
-
this.renderer.setStyle(this.imgElementRef.nativeElement, 'height', height);
|
|
3171
|
-
this.renderer.setStyle(this.imgElementRef.nativeElement, 'width', width);
|
|
3172
|
-
}
|
|
3173
3165
|
if (element.aspect) {
|
|
3174
3166
|
this.renderer.setStyle(this.imgElementRef.nativeElement, 'object-fit', aspectMapping[element.aspect]);
|
|
3175
3167
|
}
|
|
@@ -3670,11 +3662,11 @@ class TagsRowTagComponent {
|
|
|
3670
3662
|
}
|
|
3671
3663
|
}
|
|
3672
3664
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsRowTagComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }, { token: FontSizeMappingService }, { token: ScrollSpyService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3673
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TagsRowTagComponent, isStandalone: false, selector: "edm-sdui-tags-row-tag", viewQueries: [{ propertyName: "tagElementRef", first: true, predicate: ["tagElement"], descendants: true }, { propertyName: "tagNameElementRef", first: true, predicate: ["tagNameElement"], descendants: true }], ngImport: i0, template: "<div class=\"row-tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\" (click)=\"onTagClick()\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>\n", styles: [":host{display:contents}.row-tag{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border
|
|
3665
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TagsRowTagComponent, isStandalone: false, selector: "edm-sdui-tags-row-tag", viewQueries: [{ propertyName: "tagElementRef", first: true, predicate: ["tagElement"], descendants: true }, { propertyName: "tagNameElementRef", first: true, predicate: ["tagNameElement"], descendants: true }], ngImport: i0, template: "<div class=\"row-tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\" (click)=\"onTagClick()\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>\n", styles: [":host{display:contents}.row-tag{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1.5px solid var(--tag-explorer-aux);cursor:pointer;font-size:16px;flex-shrink:0}.row-tag:hover{background-color:var(--bt-tag-explorer-on)}.row-tag--selected{border-color:var(--tag-explorer-highlight);background-color:var(--bt-tag-explorer-on);background-origin:border-box}.tag-name{font-weight:600;color:var(--font-bt-tag-explorer-on);font-size:15px;line-height:17.25px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
3674
3666
|
}
|
|
3675
3667
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsRowTagComponent, decorators: [{
|
|
3676
3668
|
type: Component,
|
|
3677
|
-
args: [{ standalone: false, selector: 'edm-sdui-tags-row-tag', template: "<div class=\"row-tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\" (click)=\"onTagClick()\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>\n", styles: [":host{display:contents}.row-tag{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border
|
|
3669
|
+
args: [{ standalone: false, selector: 'edm-sdui-tags-row-tag', template: "<div class=\"row-tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\" (click)=\"onTagClick()\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>\n", styles: [":host{display:contents}.row-tag{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1.5px solid var(--tag-explorer-aux);cursor:pointer;font-size:16px;flex-shrink:0}.row-tag:hover{background-color:var(--bt-tag-explorer-on)}.row-tag--selected{border-color:var(--tag-explorer-highlight);background-color:var(--bt-tag-explorer-on);background-origin:border-box}.tag-name{font-weight:600;color:var(--font-bt-tag-explorer-on);font-size:15px;line-height:17.25px}\n"] }]
|
|
3678
3670
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3679
3671
|
type: Inject,
|
|
3680
3672
|
args: ['uiComponent']
|
|
@@ -4139,9 +4131,13 @@ var picker_component = /*#__PURE__*/Object.freeze({
|
|
|
4139
4131
|
});
|
|
4140
4132
|
|
|
4141
4133
|
class ScrollableRowComponent {
|
|
4142
|
-
constructor(uiComponent, renderer) {
|
|
4134
|
+
constructor(uiComponent, renderer, zone) {
|
|
4143
4135
|
this.uiComponent = uiComponent;
|
|
4144
4136
|
this.renderer = renderer;
|
|
4137
|
+
this.zone = zone;
|
|
4138
|
+
this.canScroll = false;
|
|
4139
|
+
this.canPrev = false;
|
|
4140
|
+
this.canNext = false;
|
|
4145
4141
|
}
|
|
4146
4142
|
ngOnInit() {
|
|
4147
4143
|
}
|
|
@@ -4150,10 +4146,74 @@ class ScrollableRowComponent {
|
|
|
4150
4146
|
this.applyElement(this.uiComponent.element);
|
|
4151
4147
|
}
|
|
4152
4148
|
this.scroll();
|
|
4149
|
+
setTimeout(() => this.updateTrackState(), 0);
|
|
4150
|
+
this.resizeListener = () => this.updateTrackState();
|
|
4151
|
+
window.addEventListener('resize', this.resizeListener);
|
|
4152
|
+
if (typeof ResizeObserver !== 'undefined' && this.scrollableRowElementRef?.nativeElement) {
|
|
4153
|
+
this.zone.runOutsideAngular(() => {
|
|
4154
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
4155
|
+
this.zone.run(() => this.updateTrackState());
|
|
4156
|
+
});
|
|
4157
|
+
this.resizeObserver.observe(this.scrollableRowElementRef.nativeElement);
|
|
4158
|
+
});
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4161
|
+
ngOnDestroy() {
|
|
4162
|
+
if (this.resizeListener) {
|
|
4163
|
+
window.removeEventListener('resize', this.resizeListener);
|
|
4164
|
+
}
|
|
4165
|
+
this.resizeObserver?.disconnect();
|
|
4166
|
+
}
|
|
4167
|
+
onTrackScroll() {
|
|
4168
|
+
this.updateTrackState();
|
|
4169
|
+
}
|
|
4170
|
+
prev() {
|
|
4171
|
+
this.scrollByStep(-1);
|
|
4172
|
+
}
|
|
4173
|
+
next() {
|
|
4174
|
+
this.scrollByStep(1);
|
|
4153
4175
|
}
|
|
4154
4176
|
applyElement(element) {
|
|
4155
4177
|
console.log(element);
|
|
4156
4178
|
}
|
|
4179
|
+
updateTrackState() {
|
|
4180
|
+
const track = this.scrollableRowElementRef?.nativeElement;
|
|
4181
|
+
if (!track) {
|
|
4182
|
+
this.canScroll = false;
|
|
4183
|
+
this.canPrev = false;
|
|
4184
|
+
this.canNext = false;
|
|
4185
|
+
return;
|
|
4186
|
+
}
|
|
4187
|
+
const maxLeft = Math.max(0, track.scrollWidth - track.clientWidth);
|
|
4188
|
+
const left = Math.max(0, track.scrollLeft);
|
|
4189
|
+
const tolerance = 2;
|
|
4190
|
+
this.canScroll = maxLeft > tolerance;
|
|
4191
|
+
this.canPrev = this.canScroll && left > tolerance;
|
|
4192
|
+
this.canNext = this.canScroll && left < maxLeft - tolerance;
|
|
4193
|
+
}
|
|
4194
|
+
scrollByStep(direction) {
|
|
4195
|
+
const track = this.scrollableRowElementRef?.nativeElement;
|
|
4196
|
+
if (!track)
|
|
4197
|
+
return;
|
|
4198
|
+
const maxLeft = Math.max(0, track.scrollWidth - track.clientWidth);
|
|
4199
|
+
const step = this.getTrackStep(track);
|
|
4200
|
+
const targetLeft = Math.max(0, Math.min(maxLeft, track.scrollLeft + step * direction));
|
|
4201
|
+
track.scrollTo({ left: targetLeft, behavior: 'smooth' });
|
|
4202
|
+
setTimeout(() => this.updateTrackState(), 260);
|
|
4203
|
+
}
|
|
4204
|
+
getTrackStep(track) {
|
|
4205
|
+
const firstItem = track.firstElementChild;
|
|
4206
|
+
if (!firstItem)
|
|
4207
|
+
return Math.max(1, track.clientWidth * 0.92);
|
|
4208
|
+
const itemWidth = firstItem.getBoundingClientRect().width;
|
|
4209
|
+
const styles = getComputedStyle(track);
|
|
4210
|
+
const gapRaw = styles.columnGap || styles.gap || '0';
|
|
4211
|
+
const gap = Number.parseFloat(gapRaw) || 0;
|
|
4212
|
+
const cardStep = Math.max(1, itemWidth + gap);
|
|
4213
|
+
const viewportStep = track.clientWidth * 0.92;
|
|
4214
|
+
const cardsPerJump = Math.max(2, Math.floor(viewportStep / cardStep));
|
|
4215
|
+
return Math.max(cardStep * cardsPerJump, viewportStep);
|
|
4216
|
+
}
|
|
4157
4217
|
scroll() {
|
|
4158
4218
|
const scrollContainer = this.scrollableRowElementRef.nativeElement;
|
|
4159
4219
|
let isDown = false;
|
|
@@ -4182,16 +4242,16 @@ class ScrollableRowComponent {
|
|
|
4182
4242
|
scrollContainer.scrollLeft = scrollLeft - walk;
|
|
4183
4243
|
});
|
|
4184
4244
|
}
|
|
4185
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ScrollableRowComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4186
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ScrollableRowComponent, isStandalone: false, selector: "edm-sdui-scrollable-row", viewQueries: [{ propertyName: "scrollableRowElementRef", first: true, predicate: ["scrollableRowElement"], descendants: true }], ngImport: i0, template: "<div\n #scrollableRowElement\n
|
|
4245
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ScrollableRowComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4246
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ScrollableRowComponent, isStandalone: false, selector: "edm-sdui-scrollable-row", viewQueries: [{ propertyName: "scrollableRowElementRef", first: true, predicate: ["scrollableRowElement"], descendants: true }], ngImport: i0, template: "<div\n class=\"scrollable-row-shell\"\n [class.can-scroll]=\"canScroll\"\n [class.track-scrolled]=\"canPrev\"\n [class.track-at-end]=\"canScroll && !canNext\"\n *ngIf=\"uiComponent\"\n>\n <div\n #scrollableRowElement\n [edmSduiView]=\"uiComponent.element\"\n class=\"scrollable-row\"\n (scroll)=\"onTrackScroll()\"\n >\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n </div>\n\n <button\n *ngIf=\"canScroll && canPrev\"\n type=\"button\"\n class=\"scrollable-row-nav scrollable-row-nav--prev\"\n (click)=\"prev()\"\n aria-label=\"Anterior\"\n >\n ←\n </button>\n <button\n *ngIf=\"canScroll && canNext\"\n type=\"button\"\n class=\"scrollable-row-nav scrollable-row-nav--next\"\n (click)=\"next()\"\n aria-label=\"Pr\u00F3ximo\"\n >\n →\n </button>\n</div>\n", styles: [":host{display:contents}.scrollable-row-shell{position:relative;width:100%}.scrollable-row-shell:before,.scrollable-row-shell:after{content:\"\";position:absolute;top:0;bottom:0;width:clamp(1.5rem,4vw,2.625rem);pointer-events:none;z-index:4;opacity:0;transition:opacity .2s ease}.scrollable-row-shell:before{left:0;background:linear-gradient(90deg,var(--bg) 0%,transparent 100%)}.scrollable-row-shell:after{right:0;background:linear-gradient(270deg,var(--bg) 0%,transparent 100%)}.scrollable-row-shell.can-scroll:after{opacity:1}.scrollable-row-shell.track-scrolled:before{opacity:1}.scrollable-row-shell.track-at-end:after{opacity:0}.scrollable-row{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;white-space:nowrap;width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none;cursor:pointer;scroll-behavior:smooth;scroll-padding-left:var(--sdui-content-inset-left, 0px);scroll-padding-right:var(--sdui-content-inset-right, 0px)}.scrollable-row::-webkit-scrollbar{display:none}.scrollable-row>*{flex-shrink:0}.scrollable-row-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid rgba(255,255,255,.34);background:#070a10c7;color:#f4f6fb;font-size:1.4rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:5;transition:opacity .18s ease,background-color .2s ease,border-color .2s ease}.scrollable-row-nav:hover,.scrollable-row-nav:focus{background:#121622e6;border-color:#ffffff8a;outline:none}.scrollable-row-nav--prev{left:-.75rem}.scrollable-row-nav--next{right:-.75rem}:host-context(.rounded) .scrollable-row-nav{border-radius:3.75rem}:host-context(.square) .scrollable-row-nav{border-radius:10px}::ng-deep .column:has(.scrollable-row-shell){overflow:visible}@media (max-width: 767px){.scrollable-row-nav{display:none}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent", "translateLabel"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
4187
4247
|
}
|
|
4188
4248
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ScrollableRowComponent, decorators: [{
|
|
4189
4249
|
type: Component,
|
|
4190
|
-
args: [{ selector: 'edm-sdui-scrollable-row', standalone: false, template: "<div\n #scrollableRowElement\n
|
|
4250
|
+
args: [{ selector: 'edm-sdui-scrollable-row', standalone: false, template: "<div\n class=\"scrollable-row-shell\"\n [class.can-scroll]=\"canScroll\"\n [class.track-scrolled]=\"canPrev\"\n [class.track-at-end]=\"canScroll && !canNext\"\n *ngIf=\"uiComponent\"\n>\n <div\n #scrollableRowElement\n [edmSduiView]=\"uiComponent.element\"\n class=\"scrollable-row\"\n (scroll)=\"onTrackScroll()\"\n >\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n </div>\n\n <button\n *ngIf=\"canScroll && canPrev\"\n type=\"button\"\n class=\"scrollable-row-nav scrollable-row-nav--prev\"\n (click)=\"prev()\"\n aria-label=\"Anterior\"\n >\n ←\n </button>\n <button\n *ngIf=\"canScroll && canNext\"\n type=\"button\"\n class=\"scrollable-row-nav scrollable-row-nav--next\"\n (click)=\"next()\"\n aria-label=\"Pr\u00F3ximo\"\n >\n →\n </button>\n</div>\n", styles: [":host{display:contents}.scrollable-row-shell{position:relative;width:100%}.scrollable-row-shell:before,.scrollable-row-shell:after{content:\"\";position:absolute;top:0;bottom:0;width:clamp(1.5rem,4vw,2.625rem);pointer-events:none;z-index:4;opacity:0;transition:opacity .2s ease}.scrollable-row-shell:before{left:0;background:linear-gradient(90deg,var(--bg) 0%,transparent 100%)}.scrollable-row-shell:after{right:0;background:linear-gradient(270deg,var(--bg) 0%,transparent 100%)}.scrollable-row-shell.can-scroll:after{opacity:1}.scrollable-row-shell.track-scrolled:before{opacity:1}.scrollable-row-shell.track-at-end:after{opacity:0}.scrollable-row{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;white-space:nowrap;width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none;cursor:pointer;scroll-behavior:smooth;scroll-padding-left:var(--sdui-content-inset-left, 0px);scroll-padding-right:var(--sdui-content-inset-right, 0px)}.scrollable-row::-webkit-scrollbar{display:none}.scrollable-row>*{flex-shrink:0}.scrollable-row-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid rgba(255,255,255,.34);background:#070a10c7;color:#f4f6fb;font-size:1.4rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:5;transition:opacity .18s ease,background-color .2s ease,border-color .2s ease}.scrollable-row-nav:hover,.scrollable-row-nav:focus{background:#121622e6;border-color:#ffffff8a;outline:none}.scrollable-row-nav--prev{left:-.75rem}.scrollable-row-nav--next{right:-.75rem}:host-context(.rounded) .scrollable-row-nav{border-radius:3.75rem}:host-context(.square) .scrollable-row-nav{border-radius:10px}::ng-deep .column:has(.scrollable-row-shell){overflow:visible}@media (max-width: 767px){.scrollable-row-nav{display:none}}\n"] }]
|
|
4191
4251
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
4192
4252
|
type: Inject,
|
|
4193
4253
|
args: ['uiComponent']
|
|
4194
|
-
}] }, { type: i0.Renderer2 }], propDecorators: { scrollableRowElementRef: [{
|
|
4254
|
+
}] }, { type: i0.Renderer2 }, { type: i0.NgZone }], propDecorators: { scrollableRowElementRef: [{
|
|
4195
4255
|
type: ViewChild,
|
|
4196
4256
|
args: ['scrollableRowElement']
|
|
4197
4257
|
}] } });
|