@indigina/ui-kit 1.1.337 → 1.1.339
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.
|
@@ -4,7 +4,7 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
import { Input, ChangeDetectionStrategy, Component, input, EventEmitter, Output, ViewEncapsulation, InjectionToken, inject, Injectable, effect, ElementRef, NgZone, Renderer2, Directive, model, output, viewChild, forwardRef, ViewChild, signal, HostListener, TemplateRef, ContentChild, computed, NgModule, RendererFactory2, DOCUMENT, ViewContainerRef, DestroyRef, contentChildren, ContentChildren, viewChildren, Pipe, contentChild, Injector, runInInjectionContext } from '@angular/core';
|
|
5
5
|
import * as i1 from '@progress/kendo-angular-buttons';
|
|
6
6
|
import { ButtonModule, ButtonGroupModule } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { HttpClient } from '@angular/common/http';
|
|
7
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
8
8
|
import { map, catchError, EMPTY, forkJoin, BehaviorSubject, filter, Subject, startWith, pairwise, takeUntil, combineLatest, tap, debounceTime, distinctUntilChanged, take, switchMap, of } from 'rxjs';
|
|
9
9
|
import * as i1$1 from '@progress/kendo-angular-label';
|
|
10
10
|
import { LabelModule } from '@progress/kendo-angular-label';
|
|
@@ -368,7 +368,10 @@ class KitSvgSpriteService {
|
|
|
368
368
|
}
|
|
369
369
|
loadIconSet(url) {
|
|
370
370
|
const jsonUrl = `${url}/icons.json`;
|
|
371
|
-
|
|
371
|
+
const headers = new HttpHeaders({
|
|
372
|
+
'Cache-Control': 'no-cache',
|
|
373
|
+
});
|
|
374
|
+
this.httpClient.get(jsonUrl, { headers }).pipe(map(ids => ids.map(id => `${url}/${id}.svg`)), catchError(err => {
|
|
372
375
|
console.error('Failed to load sprite configuration:', err);
|
|
373
376
|
return EMPTY;
|
|
374
377
|
})).subscribe(urls => urls.length && this.loadIcons(urls));
|
|
@@ -4396,7 +4399,7 @@ class KitDatepickerComponent {
|
|
|
4396
4399
|
this.onTouched();
|
|
4397
4400
|
}
|
|
4398
4401
|
writeValue(value) {
|
|
4399
|
-
const date = value
|
|
4402
|
+
const date = value ? new Date(value) : undefined;
|
|
4400
4403
|
this.defaultDate.set(date);
|
|
4401
4404
|
}
|
|
4402
4405
|
registerOnChange(fn) {
|