@recursyve/nice-ui-kit.v2 14.0.0-beta.119 → 14.0.0-beta.121
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/esm2020/lib/components/assets-carousel/assets-carousel.component.mjs +48 -25
- package/esm2020/lib/components/translation-form/components/translation-form.component.mjs +5 -5
- package/esm2020/lib/components/translation-form/decorators/translation-form-group.decorator.mjs +4 -0
- package/esm2020/lib/components/translation-form/directives/translation-context.directive.mjs +5 -5
- package/esm2020/lib/components/translation-form/providers/nice-translation-form.service.mjs +59 -0
- package/esm2020/lib/components/translation-form/public-api.mjs +7 -7
- package/esm2020/lib/components/translation-form/toggle/translation-toggle.component.mjs +5 -5
- package/esm2020/lib/components/translation-form/validators/require-for-languages.validator.mjs +22 -21
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs +119 -81
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs +117 -81
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/lib/components/assets-carousel/assets-carousel.component.d.ts +8 -4
- package/lib/components/translation-form/components/translation-form.component.d.ts +2 -2
- package/lib/components/translation-form/decorators/translation-form-group.decorator.d.ts +1 -0
- package/lib/components/translation-form/directives/translation-context.directive.d.ts +2 -2
- package/lib/components/translation-form/providers/nice-translation-form.service.d.ts +16 -0
- package/lib/components/translation-form/public-api.d.ts +6 -6
- package/lib/components/translation-form/toggle/translation-toggle.component.d.ts +3 -3
- package/lib/components/translation-form/validators/require-for-languages.validator.d.ts +3 -3
- package/package.json +1 -1
- package/esm2020/lib/components/translation-form/decorators/translation-form.decorator.mjs +0 -4
- package/esm2020/lib/components/translation-form/providers/translation-form.service.mjs +0 -46
- package/lib/components/translation-form/decorators/translation-form.decorator.d.ts +0 -1
- package/lib/components/translation-form/providers/translation-form.service.d.ts +0 -12
|
@@ -1734,7 +1734,7 @@ class NiceAssetsCarouselComponent {
|
|
|
1734
1734
|
this.color = this.defaultColor;
|
|
1735
1735
|
this.edit = false;
|
|
1736
1736
|
this.loading = false;
|
|
1737
|
-
this.accept = [
|
|
1737
|
+
this.accept = [];
|
|
1738
1738
|
this.customActions = [];
|
|
1739
1739
|
this.multipleUpload = false;
|
|
1740
1740
|
this.visiblePreviewAsset = 4;
|
|
@@ -1742,6 +1742,7 @@ class NiceAssetsCarouselComponent {
|
|
|
1742
1742
|
this.activeChange = new EventEmitter();
|
|
1743
1743
|
this.removedAsset = new EventEmitter();
|
|
1744
1744
|
this.listStyle = { transform: "translateX(0px)" };
|
|
1745
|
+
this._imagesMimeTypes = ["image/png", "image/jpeg", "image/webp", "image/avif"];
|
|
1745
1746
|
if (!this.options) {
|
|
1746
1747
|
this.options = {
|
|
1747
1748
|
actionButtons: {
|
|
@@ -1803,6 +1804,20 @@ class NiceAssetsCarouselComponent {
|
|
|
1803
1804
|
|| this._active >= this.visiblePreviewAsset;
|
|
1804
1805
|
this.activeChange.emit(this._active);
|
|
1805
1806
|
}
|
|
1807
|
+
ngOnInit() {
|
|
1808
|
+
if (!this.accept?.length) {
|
|
1809
|
+
this.accept = [...this._imagesMimeTypes];
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
ngOnChanges(changes) {
|
|
1813
|
+
if ("accept" in changes && this.accept) {
|
|
1814
|
+
const index = this.accept.indexOf("image/*");
|
|
1815
|
+
if (index >= 0) {
|
|
1816
|
+
this.accept.splice(index, 1);
|
|
1817
|
+
this.accept.push(...this._imagesMimeTypes);
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1806
1821
|
writeValue(assets) {
|
|
1807
1822
|
this._assets = assets ?? [];
|
|
1808
1823
|
if (this._assets.length === 0) {
|
|
@@ -1845,39 +1860,27 @@ class NiceAssetsCarouselComponent {
|
|
|
1845
1860
|
this.activeAsset = index;
|
|
1846
1861
|
}
|
|
1847
1862
|
async onFilesChange(event) {
|
|
1848
|
-
|
|
1849
|
-
if (this.imagesProcessor) {
|
|
1850
|
-
files = await this.getProcessedFiles(files);
|
|
1851
|
-
}
|
|
1863
|
+
const files = event.target?.files;
|
|
1852
1864
|
await this.onFilesDrop(files);
|
|
1853
1865
|
this.inputElement.nativeElement.value = "";
|
|
1854
1866
|
}
|
|
1855
|
-
async onFilesDrop(
|
|
1867
|
+
async onFilesDrop(fileList) {
|
|
1868
|
+
let files = this.filterOutUnsupportedFiles(fileList);
|
|
1869
|
+
if (this.imagesProcessor) {
|
|
1870
|
+
files = await this.getProcessedFiles(files);
|
|
1871
|
+
}
|
|
1856
1872
|
if (!files?.length) {
|
|
1857
1873
|
return;
|
|
1858
1874
|
}
|
|
1859
|
-
|
|
1860
|
-
for (let i = 0; i < files.length; i++) {
|
|
1861
|
-
const file = files.item(i);
|
|
1862
|
-
if (!this.accept.some((accept) => {
|
|
1863
|
-
if (accept.endsWith("*")) {
|
|
1864
|
-
return file.type.startsWith(accept.replace("*", ""));
|
|
1865
|
-
}
|
|
1866
|
-
return accept === file.type;
|
|
1867
|
-
})) {
|
|
1868
|
-
continue;
|
|
1869
|
-
}
|
|
1870
|
-
newAssetsAdded = true;
|
|
1875
|
+
for (const file of files) {
|
|
1871
1876
|
this._assets.push({
|
|
1872
1877
|
file,
|
|
1873
1878
|
type: file.type.split("/").shift(),
|
|
1874
1879
|
base64: await FileUtils.getDataUrl(file)
|
|
1875
1880
|
});
|
|
1876
1881
|
}
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
this.propagate?.(this._assets);
|
|
1880
|
-
}
|
|
1882
|
+
this.clickAsset(this._assets.length - 1);
|
|
1883
|
+
this.propagate?.(this._assets);
|
|
1881
1884
|
}
|
|
1882
1885
|
clickRemove() {
|
|
1883
1886
|
this.removedAsset.emit(this._assets[this._active]);
|
|
@@ -1900,11 +1903,31 @@ class NiceAssetsCarouselComponent {
|
|
|
1900
1903
|
await this._activeVideoElement.nativeElement.play();
|
|
1901
1904
|
await this._assetsElement.get(this._active).nativeElement.firstElementChild.play();
|
|
1902
1905
|
}
|
|
1906
|
+
filterOutUnsupportedFiles(fileList) {
|
|
1907
|
+
const files = [];
|
|
1908
|
+
for (let i = 0; i < fileList.length; i++) {
|
|
1909
|
+
const file = fileList.item(i);
|
|
1910
|
+
if (this.accept.some((accept) => {
|
|
1911
|
+
if (accept.endsWith("*")) {
|
|
1912
|
+
return file.type.startsWith(accept.replace("*", ""));
|
|
1913
|
+
}
|
|
1914
|
+
return accept === file.type;
|
|
1915
|
+
})) {
|
|
1916
|
+
files.push(file);
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
return files;
|
|
1920
|
+
}
|
|
1903
1921
|
async getProcessedFiles(files) {
|
|
1904
1922
|
try {
|
|
1923
|
+
if (!files.length) {
|
|
1924
|
+
return null;
|
|
1925
|
+
}
|
|
1905
1926
|
return await this.imagesProcessor(files);
|
|
1906
1927
|
}
|
|
1907
|
-
catch (e) {
|
|
1928
|
+
catch (e) {
|
|
1929
|
+
return null;
|
|
1930
|
+
}
|
|
1908
1931
|
}
|
|
1909
1932
|
}
|
|
1910
1933
|
NiceAssetsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NiceAssetsCarouselComponent, deps: [{ token: NICE_ASSETS_CAROUSEL_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1914,7 +1937,7 @@ NiceAssetsCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
1914
1937
|
useExisting: forwardRef(() => NiceAssetsCarouselComponent),
|
|
1915
1938
|
multi: true
|
|
1916
1939
|
}
|
|
1917
|
-
], queries: [{ propertyName: "activeContent", first: true, predicate: NiceAssetsCarouselActiveContentDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["fileInput"], descendants: true }, { propertyName: "activeVideoElement", first: true, predicate: ["activeVideo"], descendants: true }, { propertyName: "assetsElement", predicate: ["assets"], descendants: true }], ngImport: i0, template: "<div class=\"carousel-container\" niceDropzone (filesDropped)=\"onFilesDrop($event)\">\n <div\n class=\"active-image\"\n matRipple\n [class.empty-state]=\"!_activeAsset\"\n (click)=\"edit && fileInput.click();\n $event.stopPropagation()\"\n >\n <div *ngIf=\"loading\" class=\"flex flex-row justify-center items-center h-full\">\n <mat-spinner [diameter]=\"32\"></mat-spinner>\n </div>\n <ng-container *ngIf=\"!loading\">\n <ng-container\n *ngIf=\"_activeAsset && activeContent\"\n [ngTemplateOutlet]=\"activeContent\"\n [ngTemplateOutletContext]=\"{ $implicit: _activeAsset}\"\n ></ng-container>\n <img\n *ngIf=\"_activeAsset?.type === 'image'\"\n (mouseover)=\"showOverlay=true\"\n [src]=\"_activeAsset.url ?? _activeAsset.base64\"\n draggable=\"false\"\n class=\"relative\"\n alt=\"active-image\"\n >\n <video #activeVideo *ngIf=\"_activeAsset?.type === 'video'\" draggable=\"false\" loop [src]=\"_activeAsset.url ?? _activeAsset.base64\"></video>\n\n <div class=\"empty-state-content\" *ngIf=\"!_activeAsset\">\n <mat-icon *ngIf=\"options.upload.matIcon\">{{ options.upload.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.upload.svgIcon\" [svgIcon]=\"options.upload.svgIcon\"></mat-icon>\n <div class=\"text\">\n {{ \"nice_ui_kit.assets_carousel.upload_here\" | translate }}\n </div>\n </div>\n\n <div *ngIf=\"_activeAsset && showOverlay && edit\" class=\"active-image-overlay\">\n <div\n (mouseout)=\"showOverlay=false\"\n class=\"flex flex-col justify-center items-center w-full h-full\"\n >\n <mat-icon *ngIf=\"options.upload.matIcon\">{{ options.upload.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.upload.svgIcon\" [svgIcon]=\"options.upload.svgIcon\"></mat-icon>\n </div>\n </div>\n\n <div *ngIf=\"edit\" class=\"active-buttons\">\n <button mat-icon-button (click)=\"fileInput.click(); $event.stopPropagation()\">\n <mat-icon *ngIf=\"options.actionButtons.addPhoto.matIcon\">{{ options.actionButtons.addPhoto.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.actionButtons.addPhoto.svgIcon\" [svgIcon]=\"options.actionButtons.addPhoto.svgIcon\"></mat-icon>\n </button>\n <button mat-icon-button [matMenuTriggerFor]=\"assetActions\" (click)=\"$event.stopPropagation()\" [disabled]=\"!_activeAsset\">\n <mat-icon *ngIf=\"options.actionButtons.moreOptions.matIcon\">{{ options.actionButtons.moreOptions.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.actionButtons.moreOptions.svgIcon\" [svgIcon]=\"options.actionButtons.moreOptions.svgIcon\"></mat-icon>\n </button>\n <mat-menu class=\"nice-asset-options-menu\" [xPosition]=\"'before'\" #assetActions=\"matMenu\">\n <button\n mat-menu-item\n *ngFor=\"let action of customActions\"\n (click)=\"clickCustom(action)\"\n >\n <mat-icon *ngIf=\"action.icon.matIcon\">{{ action.icon.matIcon }}</mat-icon>\n <mat-icon [svgIcon]=\"action.icon.svgIcon\" *ngIf=\"action.icon.svgIcon\"></mat-icon>\n <span>{{ action.name | translate }}</span>\n </button>\n <button mat-menu-item (click)=\"clickRemove()\">\n <mat-icon *ngIf=\"options.actionButtons.remove.matIcon\">{{ options.actionButtons.remove.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.actionButtons.remove.svgIcon\" [svgIcon]=\"options.actionButtons.remove.svgIcon\"></mat-icon>\n <span>{{ \"nice_ui_kit.assets_carousel.delete\" | translate }}</span>\n </button>\n </mat-menu>\n </div>\n </ng-container>\n </div>\n\n <div class=\"carousel\">\n <button *ngIf=\"showAddAssetContainer || _activeAsset\" class=\"action-button left-arrow\" mat-icon-button [disabled]=\"!_active\" (click)=\"clickLeft()\">\n <mat-icon *ngIf=\"options.leftArrow.matIcon\">{{ options.leftArrow.matIcon }}</mat-icon>\n <mat-icon class=\"arrows\" *ngIf=\"options.leftArrow.svgIcon\" [svgIcon]=\"options.leftArrow.svgIcon\"></mat-icon>\n </button>\n <div class=\"asset-list-container\">\n <div *ngIf=\"showAddAssetContainer && edit\" class=\"add-asset-container\">\n <div class=\"add-asset\" matRipple (click)=\"fileInput.click()\">\n <mat-icon *ngIf=\"options.addPhoto.matIcon\">{{ options.addPhoto.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.addPhoto.svgIcon\" [svgIcon]=\"options.addPhoto.svgIcon\"></mat-icon>\n </div>\n </div>\n <div class=\"asset-list\" [ngStyle]=\"listStyle\">\n <div\n #assets\n class=\"asset\"\n *ngFor=\"let asset of _assets; let i = index\"\n (click)=\"clickAsset(i)\"\n [ngClass]=\"color\"\n [class.active]=\"_active === i\"\n >\n <ng-container>\n <img\n *ngIf=\"asset.type === 'image'\"\n draggable=\"false\"\n [src]=\"asset.url ?? asset.base64\"\n alt=\"add-image\"\n />\n <video\n *ngIf=\"asset.type === 'video'\"\n draggable=\"false\"\n loop\n [src]=\"asset.url ?? asset.base64\"\n ></video>\n </ng-container>\n </div>\n </div>\n </div>\n <button *ngIf=\"showAddAssetContainer || _activeAsset\" class=\"action-button right-arrow\" mat-icon-button [disabled]=\"_lastAsset\" (click)=\"clickRight()\">\n <mat-icon *ngIf=\"options.rightArrow.matIcon\">{{ options.rightArrow.matIcon }}</mat-icon>\n <mat-icon class=\"arrows\" *ngIf=\"options.rightArrow.svgIcon\" [svgIcon]=\"options.rightArrow.svgIcon\"></mat-icon>\n </button>\n </div>\n</div>\n\n<input #fileInput type=\"file\" hidden [accept]=\"accept\" (change)=\"onFilesChange($event)\" [multiple]=\"multipleUpload\">\n", styles: [":root{--nice-assets-carousel-asset-width: 90px;--nice-assets-carousel-asset-height: 60px;--nice-assets-carousel-asset-gap: .75rem}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i4$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i2$1.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: NiceDropzoneDirective, selector: "[niceDropzone]", outputs: ["filesDropped"] }, { kind: "component", type: i7.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }], animations: niceAnimations, encapsulation: i0.ViewEncapsulation.None });
|
|
1940
|
+
], queries: [{ propertyName: "activeContent", first: true, predicate: NiceAssetsCarouselActiveContentDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["fileInput"], descendants: true }, { propertyName: "activeVideoElement", first: true, predicate: ["activeVideo"], descendants: true }, { propertyName: "assetsElement", predicate: ["assets"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"carousel-container\" niceDropzone (filesDropped)=\"onFilesDrop($event)\">\n <div\n class=\"active-image\"\n matRipple\n [class.empty-state]=\"!_activeAsset\"\n (click)=\"edit && fileInput.click();\n $event.stopPropagation()\"\n >\n <div *ngIf=\"loading\" class=\"flex flex-row justify-center items-center h-full\">\n <mat-spinner [diameter]=\"32\"></mat-spinner>\n </div>\n <ng-container *ngIf=\"!loading\">\n <ng-container\n *ngIf=\"_activeAsset && activeContent\"\n [ngTemplateOutlet]=\"activeContent\"\n [ngTemplateOutletContext]=\"{ $implicit: _activeAsset}\"\n ></ng-container>\n <img\n *ngIf=\"_activeAsset?.type === 'image'\"\n (mouseover)=\"showOverlay=true\"\n [src]=\"_activeAsset.url ?? _activeAsset.base64\"\n draggable=\"false\"\n class=\"relative\"\n alt=\"active-image\"\n >\n <video #activeVideo *ngIf=\"_activeAsset?.type === 'video'\" draggable=\"false\" loop [src]=\"_activeAsset.url ?? _activeAsset.base64\"></video>\n\n <div class=\"empty-state-content\" *ngIf=\"!_activeAsset\">\n <mat-icon *ngIf=\"options.upload.matIcon\">{{ options.upload.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.upload.svgIcon\" [svgIcon]=\"options.upload.svgIcon\"></mat-icon>\n <div class=\"text\">\n {{ \"nice_ui_kit.assets_carousel.upload_here\" | translate }}\n </div>\n </div>\n\n <div *ngIf=\"_activeAsset && showOverlay && edit\" class=\"active-image-overlay\">\n <div\n (mouseout)=\"showOverlay=false\"\n class=\"flex flex-col justify-center items-center w-full h-full\"\n >\n <mat-icon *ngIf=\"options.upload.matIcon\">{{ options.upload.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.upload.svgIcon\" [svgIcon]=\"options.upload.svgIcon\"></mat-icon>\n </div>\n </div>\n\n <div *ngIf=\"edit\" class=\"active-buttons\">\n <button mat-icon-button (click)=\"fileInput.click(); $event.stopPropagation()\">\n <mat-icon *ngIf=\"options.actionButtons.addPhoto.matIcon\">{{ options.actionButtons.addPhoto.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.actionButtons.addPhoto.svgIcon\" [svgIcon]=\"options.actionButtons.addPhoto.svgIcon\"></mat-icon>\n </button>\n <button mat-icon-button [matMenuTriggerFor]=\"assetActions\" (click)=\"$event.stopPropagation()\" [disabled]=\"!_activeAsset\">\n <mat-icon *ngIf=\"options.actionButtons.moreOptions.matIcon\">{{ options.actionButtons.moreOptions.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.actionButtons.moreOptions.svgIcon\" [svgIcon]=\"options.actionButtons.moreOptions.svgIcon\"></mat-icon>\n </button>\n <mat-menu class=\"nice-asset-options-menu\" [xPosition]=\"'before'\" #assetActions=\"matMenu\">\n <button\n mat-menu-item\n *ngFor=\"let action of customActions\"\n (click)=\"clickCustom(action)\"\n >\n <mat-icon *ngIf=\"action.icon.matIcon\">{{ action.icon.matIcon }}</mat-icon>\n <mat-icon [svgIcon]=\"action.icon.svgIcon\" *ngIf=\"action.icon.svgIcon\"></mat-icon>\n <span>{{ action.name | translate }}</span>\n </button>\n <button mat-menu-item (click)=\"clickRemove()\">\n <mat-icon *ngIf=\"options.actionButtons.remove.matIcon\">{{ options.actionButtons.remove.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.actionButtons.remove.svgIcon\" [svgIcon]=\"options.actionButtons.remove.svgIcon\"></mat-icon>\n <span>{{ \"nice_ui_kit.assets_carousel.delete\" | translate }}</span>\n </button>\n </mat-menu>\n </div>\n </ng-container>\n </div>\n\n <div class=\"carousel\">\n <button *ngIf=\"showAddAssetContainer || _activeAsset\" class=\"action-button left-arrow\" mat-icon-button [disabled]=\"!_active\" (click)=\"clickLeft()\">\n <mat-icon *ngIf=\"options.leftArrow.matIcon\">{{ options.leftArrow.matIcon }}</mat-icon>\n <mat-icon class=\"arrows\" *ngIf=\"options.leftArrow.svgIcon\" [svgIcon]=\"options.leftArrow.svgIcon\"></mat-icon>\n </button>\n <div class=\"asset-list-container\">\n <div *ngIf=\"showAddAssetContainer && edit\" class=\"add-asset-container\">\n <div class=\"add-asset\" matRipple (click)=\"fileInput.click()\">\n <mat-icon *ngIf=\"options.addPhoto.matIcon\">{{ options.addPhoto.matIcon }}</mat-icon>\n <mat-icon *ngIf=\"options.addPhoto.svgIcon\" [svgIcon]=\"options.addPhoto.svgIcon\"></mat-icon>\n </div>\n </div>\n <div class=\"asset-list\" [ngStyle]=\"listStyle\">\n <div\n #assets\n class=\"asset\"\n *ngFor=\"let asset of _assets; let i = index\"\n (click)=\"clickAsset(i)\"\n [ngClass]=\"color\"\n [class.active]=\"_active === i\"\n >\n <ng-container>\n <img\n *ngIf=\"asset.type === 'image'\"\n draggable=\"false\"\n [src]=\"asset.url ?? asset.base64\"\n alt=\"add-image\"\n />\n <video\n *ngIf=\"asset.type === 'video'\"\n draggable=\"false\"\n loop\n [src]=\"asset.url ?? asset.base64\"\n ></video>\n </ng-container>\n </div>\n </div>\n </div>\n <button *ngIf=\"showAddAssetContainer || _activeAsset\" class=\"action-button right-arrow\" mat-icon-button [disabled]=\"_lastAsset\" (click)=\"clickRight()\">\n <mat-icon *ngIf=\"options.rightArrow.matIcon\">{{ options.rightArrow.matIcon }}</mat-icon>\n <mat-icon class=\"arrows\" *ngIf=\"options.rightArrow.svgIcon\" [svgIcon]=\"options.rightArrow.svgIcon\"></mat-icon>\n </button>\n </div>\n</div>\n\n<input #fileInput type=\"file\" hidden [accept]=\"accept\" (change)=\"onFilesChange($event)\" [multiple]=\"multipleUpload\">\n", styles: [":root{--nice-assets-carousel-asset-width: 90px;--nice-assets-carousel-asset-height: 60px;--nice-assets-carousel-asset-gap: .75rem}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i4$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i2$1.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: NiceDropzoneDirective, selector: "[niceDropzone]", outputs: ["filesDropped"] }, { kind: "component", type: i7.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }], animations: niceAnimations, encapsulation: i0.ViewEncapsulation.None });
|
|
1918
1941
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NiceAssetsCarouselComponent, decorators: [{
|
|
1919
1942
|
type: Component,
|
|
1920
1943
|
args: [{ selector: "nice-assets-carousel", encapsulation: ViewEncapsulation.None, animations: niceAnimations, providers: [
|
|
@@ -10082,16 +10105,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImpor
|
|
|
10082
10105
|
}]
|
|
10083
10106
|
}] });
|
|
10084
10107
|
|
|
10085
|
-
class
|
|
10108
|
+
class NiceTranslationFormService {
|
|
10086
10109
|
constructor() {
|
|
10087
10110
|
this._languages$ = new BehaviorSubject([]);
|
|
10088
10111
|
this._requiredLanguages$ = new BehaviorSubject([]);
|
|
10089
10112
|
}
|
|
10090
10113
|
get languages$() {
|
|
10091
|
-
return this._languages
|
|
10114
|
+
return this._languages$.asObservable();
|
|
10115
|
+
}
|
|
10116
|
+
get languages() {
|
|
10117
|
+
return this._languages$.getValue();
|
|
10092
10118
|
}
|
|
10093
10119
|
get requiredLanguages$() {
|
|
10094
|
-
return this._requiredLanguages
|
|
10120
|
+
return this._requiredLanguages$.asObservable();
|
|
10121
|
+
}
|
|
10122
|
+
get requiredLanguages() {
|
|
10123
|
+
return this._requiredLanguages$.value;
|
|
10124
|
+
}
|
|
10125
|
+
get hasLanguages$() {
|
|
10126
|
+
return this._languages$.asObservable().pipe(map((languages) => !!languages?.length));
|
|
10127
|
+
}
|
|
10128
|
+
get hasLanguages() {
|
|
10129
|
+
return !!this.languages?.length;
|
|
10095
10130
|
}
|
|
10096
10131
|
setLanguages(languages) {
|
|
10097
10132
|
this._languages$.next(languages ?? []);
|
|
@@ -10100,7 +10135,7 @@ class TranslationFormService {
|
|
|
10100
10135
|
if (!languages?.length) {
|
|
10101
10136
|
this._requiredLanguages$.next([]);
|
|
10102
10137
|
}
|
|
10103
|
-
const languagesValues = this.languages
|
|
10138
|
+
const languagesValues = this.languages;
|
|
10104
10139
|
const unregisteredLanguages = languages?.filter((language) => !languagesValues.includes(language));
|
|
10105
10140
|
if (unregisteredLanguages?.length) {
|
|
10106
10141
|
throw new Error(`You provided languages that are not configured
|
|
@@ -10116,9 +10151,9 @@ class TranslationFormService {
|
|
|
10116
10151
|
}
|
|
10117
10152
|
}
|
|
10118
10153
|
}
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type:
|
|
10154
|
+
NiceTranslationFormService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NiceTranslationFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10155
|
+
NiceTranslationFormService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NiceTranslationFormService, providedIn: "root" });
|
|
10156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NiceTranslationFormService, decorators: [{
|
|
10122
10157
|
type: Injectable,
|
|
10123
10158
|
args: [{
|
|
10124
10159
|
providedIn: "root",
|
|
@@ -10146,12 +10181,12 @@ class TranslationContextDirective {
|
|
|
10146
10181
|
this.activeLanguage$.next(language);
|
|
10147
10182
|
}
|
|
10148
10183
|
}
|
|
10149
|
-
TranslationContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationContextDirective, deps: [{ token:
|
|
10184
|
+
TranslationContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationContextDirective, deps: [{ token: NiceTranslationFormService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10150
10185
|
TranslationContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.3", type: TranslationContextDirective, selector: "[niceTranslationContext]", ngImport: i0 });
|
|
10151
10186
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationContextDirective, decorators: [{
|
|
10152
10187
|
type: Directive,
|
|
10153
10188
|
args: [{ selector: "[niceTranslationContext]" }]
|
|
10154
|
-
}], ctorParameters: function () { return [{ type:
|
|
10189
|
+
}], ctorParameters: function () { return [{ type: NiceTranslationFormService }]; } });
|
|
10155
10190
|
|
|
10156
10191
|
class TranslationToggleComponent {
|
|
10157
10192
|
constructor(context, translationFormService) {
|
|
@@ -10164,54 +10199,12 @@ class TranslationToggleComponent {
|
|
|
10164
10199
|
this.context.updateLanguage($event.value);
|
|
10165
10200
|
}
|
|
10166
10201
|
}
|
|
10167
|
-
TranslationToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationToggleComponent, deps: [{ token: TranslationContextDirective }, { token:
|
|
10202
|
+
TranslationToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationToggleComponent, deps: [{ token: TranslationContextDirective }, { token: NiceTranslationFormService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10168
10203
|
TranslationToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.3", type: TranslationToggleComponent, selector: "nice-translation-toggle", ngImport: i0, template: "<mat-button-toggle-group\n *ngIf=\"(languages$ | async)?.length > 1\"\n (change)=\"onChange($event)\"\n [value]=\"activeLanguage$ | async\"\n>\n <mat-button-toggle *ngFor=\"let language of languages$ | async\" [value]=\"language\">\n {{ language | uppercase }}\n </mat-button-toggle>\n</mat-button-toggle-group>\n", dependencies: [{ kind: "directive", type: i3$2.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i3$2.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.UpperCasePipe, name: "uppercase" }] });
|
|
10169
10204
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationToggleComponent, decorators: [{
|
|
10170
10205
|
type: Component,
|
|
10171
10206
|
args: [{ selector: "nice-translation-toggle", template: "<mat-button-toggle-group\n *ngIf=\"(languages$ | async)?.length > 1\"\n (change)=\"onChange($event)\"\n [value]=\"activeLanguage$ | async\"\n>\n <mat-button-toggle *ngFor=\"let language of languages$ | async\" [value]=\"language\">\n {{ language | uppercase }}\n </mat-button-toggle>\n</mat-button-toggle-group>\n" }]
|
|
10172
|
-
}], ctorParameters: function () { return [{ type: TranslationContextDirective }, { type:
|
|
10173
|
-
|
|
10174
|
-
function RequireForLanguages() {
|
|
10175
|
-
return registerAsyncValidatorDecorator({
|
|
10176
|
-
name: "RequireForLanguages",
|
|
10177
|
-
});
|
|
10178
|
-
}
|
|
10179
|
-
class RequireForLanguagesValidator extends AsyncValidator {
|
|
10180
|
-
constructor(service) {
|
|
10181
|
-
super();
|
|
10182
|
-
this.service = service;
|
|
10183
|
-
this.name = "RequireForLanguages";
|
|
10184
|
-
}
|
|
10185
|
-
validate(formGroup) {
|
|
10186
|
-
const requiredLanguages = this.service.requiredLanguages$.getValue();
|
|
10187
|
-
if (!requiredLanguages.length) {
|
|
10188
|
-
return of(null);
|
|
10189
|
-
}
|
|
10190
|
-
const missingLanguages = [];
|
|
10191
|
-
for (const requiredLanguage of requiredLanguages) {
|
|
10192
|
-
const control = formGroup.get(requiredLanguage);
|
|
10193
|
-
if (control?.value) {
|
|
10194
|
-
continue;
|
|
10195
|
-
}
|
|
10196
|
-
missingLanguages.push(requiredLanguage);
|
|
10197
|
-
}
|
|
10198
|
-
if (missingLanguages?.length) {
|
|
10199
|
-
return of({ languageRequired: { missingLanguages } });
|
|
10200
|
-
}
|
|
10201
|
-
return of(null);
|
|
10202
|
-
}
|
|
10203
|
-
}
|
|
10204
|
-
RequireForLanguagesValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: RequireForLanguagesValidator, deps: [{ token: TranslationFormService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10205
|
-
RequireForLanguagesValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: RequireForLanguagesValidator });
|
|
10206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: RequireForLanguagesValidator, decorators: [{
|
|
10207
|
-
type: Injectable
|
|
10208
|
-
}], ctorParameters: function () { return [{ type: TranslationFormService }]; } });
|
|
10209
|
-
|
|
10210
|
-
class TranslationForm {
|
|
10211
|
-
constructor(values) {
|
|
10212
|
-
Object.assign(this, values ?? {});
|
|
10213
|
-
}
|
|
10214
|
-
}
|
|
10207
|
+
}], ctorParameters: function () { return [{ type: TranslationContextDirective }, { type: NiceTranslationFormService }]; } });
|
|
10215
10208
|
|
|
10216
10209
|
class TranslationFormComponent {
|
|
10217
10210
|
constructor(container, context, service, changeDetectorRef) {
|
|
@@ -10335,14 +10328,14 @@ class TranslationFormComponent {
|
|
|
10335
10328
|
this.currentControl = this.formGroup.get(languages[0]);
|
|
10336
10329
|
}
|
|
10337
10330
|
}
|
|
10338
|
-
TranslationFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationFormComponent, deps: [{ token: i1$2.ControlContainer }, { token: TranslationContextDirective }, { token:
|
|
10331
|
+
TranslationFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationFormComponent, deps: [{ token: i1$2.ControlContainer }, { token: TranslationContextDirective }, { token: NiceTranslationFormService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10339
10332
|
TranslationFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.3", type: TranslationFormComponent, selector: "ng-component", inputs: { required: "required", disabled: "disabled", placeholder: "placeholder", floating: "floating", maxLength: "maxLength" }, host: { properties: { "class": "this.classList", "class.floating": "this.shouldLabelFloat", "id": "this.id", "attr.aria-describedby": "this.describedBy" } }, ngImport: i0, template: ``, isInline: true });
|
|
10340
10333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: TranslationFormComponent, decorators: [{
|
|
10341
10334
|
type: Component,
|
|
10342
10335
|
args: [{
|
|
10343
10336
|
template: ``,
|
|
10344
10337
|
}]
|
|
10345
|
-
}], ctorParameters: function () { return [{ type: i1$2.ControlContainer }, { type: TranslationContextDirective }, { type:
|
|
10338
|
+
}], ctorParameters: function () { return [{ type: i1$2.ControlContainer }, { type: TranslationContextDirective }, { type: NiceTranslationFormService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { classList: [{
|
|
10346
10339
|
type: HostBinding,
|
|
10347
10340
|
args: ["class"]
|
|
10348
10341
|
}], shouldLabelFloat: [{
|
|
@@ -10415,6 +10408,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImpor
|
|
|
10415
10408
|
], template: "<input\n matInput\n [formControl]=\"currentControl\"\n [placeholder]=\"placeholder\"\n [maxlength]=\"maxLength\"\n/>\n" }]
|
|
10416
10409
|
}] });
|
|
10417
10410
|
|
|
10411
|
+
function RequireForLanguages() {
|
|
10412
|
+
return registerAsyncValidatorDecorator({
|
|
10413
|
+
name: "RequireForLanguages",
|
|
10414
|
+
});
|
|
10415
|
+
}
|
|
10416
|
+
class RequireForLanguagesValidator extends AsyncValidator {
|
|
10417
|
+
constructor(service) {
|
|
10418
|
+
super();
|
|
10419
|
+
this.service = service;
|
|
10420
|
+
this.name = "RequireForLanguages";
|
|
10421
|
+
}
|
|
10422
|
+
validate(formGroup) {
|
|
10423
|
+
return this.service.requiredLanguages$.pipe(take(1), map((requiredLanguages) => {
|
|
10424
|
+
if (!requiredLanguages.length) {
|
|
10425
|
+
return null;
|
|
10426
|
+
}
|
|
10427
|
+
const missingLanguages = [];
|
|
10428
|
+
for (const requiredLanguage of requiredLanguages) {
|
|
10429
|
+
const control = formGroup.get(requiredLanguage);
|
|
10430
|
+
if (control?.value) {
|
|
10431
|
+
continue;
|
|
10432
|
+
}
|
|
10433
|
+
missingLanguages.push(requiredLanguage);
|
|
10434
|
+
}
|
|
10435
|
+
if (missingLanguages?.length) {
|
|
10436
|
+
return { languageRequired: { missingLanguages } };
|
|
10437
|
+
}
|
|
10438
|
+
return null;
|
|
10439
|
+
}));
|
|
10440
|
+
}
|
|
10441
|
+
}
|
|
10442
|
+
RequireForLanguagesValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: RequireForLanguagesValidator, deps: [{ token: NiceTranslationFormService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10443
|
+
RequireForLanguagesValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: RequireForLanguagesValidator });
|
|
10444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: RequireForLanguagesValidator, decorators: [{
|
|
10445
|
+
type: Injectable
|
|
10446
|
+
}], ctorParameters: function () { return [{ type: NiceTranslationFormService }]; } });
|
|
10447
|
+
|
|
10418
10448
|
class NiceTranslationFormModule {
|
|
10419
10449
|
static forRoot() {
|
|
10420
10450
|
return {
|
|
@@ -10475,7 +10505,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImpor
|
|
|
10475
10505
|
}] });
|
|
10476
10506
|
|
|
10477
10507
|
// tslint:disable-next-line:variable-name
|
|
10478
|
-
const
|
|
10508
|
+
const TranslationFormGroup = () => DynamicGroup();
|
|
10509
|
+
|
|
10510
|
+
class TranslationForm {
|
|
10511
|
+
constructor(values) {
|
|
10512
|
+
Object.assign(this, values ?? {});
|
|
10513
|
+
}
|
|
10514
|
+
}
|
|
10479
10515
|
|
|
10480
10516
|
class NiceAutofocusDirective {
|
|
10481
10517
|
constructor(elem) {
|
|
@@ -11348,5 +11384,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImpor
|
|
|
11348
11384
|
* Generated bundle index. Do not edit.
|
|
11349
11385
|
*/
|
|
11350
11386
|
|
|
11351
|
-
export { ArrayUtils, BooleanPipe, CapitalizeFirstLetterPipe, CarouselComponent, CaseUtils, CeilPipe, ChipListItemLabelDirective, ColorsUtils, DateUtils, DefaultExportBottomSheetService, EntriesPipe, ExportBottomSheetComponent, ExportBottomSheetService, FileUtils, FindByKeyPipe, FirstLetterPipe, FloorPipe, FontAwesomeUtils, FormDataUtils, HttpStatusCodes, ImgCropperConfig, ImgCropperError, ImgResolution, JoinPipe, KeyboardCodes, LexoRankUtils, LinkPipe, LocalizedBooleanPipe, LocalizedCurrencyPipe, LocalizedDateOnlyPipe, LocalizedDatePipe, MinutesToTimePipe, ModalMode, NICE_ASYNC_TYPEAHEAD_PROVIDER, NavigationHideItemResolver, NavigationHintResolver, NiceAlertComponent, NiceAlertModule, NiceAlertService, NiceApiException, NiceAssetsCarouselActiveContentDirective, NiceAssetsCarouselComponent, NiceAssetsCarouselModule, NiceAsyncTypeaheadComponent, NiceAsyncTypeaheadModule, NiceAsyncTypeaheadProvider, NiceAutofocusDirective, NiceAutofocusDirectiveModule, NiceAutogrowDirective, NiceAutogrowModule, NiceBaseForm, NiceBaseFormComponent, NiceBaseFormModule, NiceCardComponent, NiceCardModule, NiceCarouselModule, NiceChipAsyncTypeaheadDirective, NiceChipListDirective, NiceChipListDirectiveModule, NiceChipListItemsComponent, NiceClickStopPropagationDirective, NiceCollapsableComponent, NiceCollapsableModule, NiceConfigModule, NiceConfigService, NiceControlStatusDirective, NiceCropperAreaComponent, NiceDateRangePickerComponent, NiceDateRangePickerModule, NiceDraggableListDirective, NiceDraggableListModule, NiceDrawerComponent, NiceDrawerModule, NiceDrawerService, NiceDropzoneDirective, NiceDropzoneModule, NiceExportBottomSheetModule, NiceFormErrorComponent, NiceFormErrorModule, NiceFormSubmitDirective, NiceHorizontalNavigationBasicItemComponent, NiceHorizontalNavigationBranchItemComponent, NiceHorizontalNavigationComponent, NiceHorizontalNavigationDividerItemComponent, NiceHorizontalNavigationSpacerItemComponent, NiceHorizontalStepperComponent, NiceHorizontalStepperModule, NiceHttpExceptionFactory, NiceImageCropperComponent, NiceImageCropperModule, NiceImageErrorPlaceholderDirective, NiceImageErrorPlaceholderDirectiveModule, NiceLayoutComponent, NiceLayoutModule, NiceLoadingDirective, NiceLoadingSpinnerComponent, NiceLoadingSpinnerModule, NiceLottieComponent, NiceLottieModule, NiceMaterialModule, NiceMaterialStyleDirective, NiceMediaWatcherModule, NiceMediaWatcherService, NiceModalOnClickDirective, NiceModalOpenerDirective, NiceModule, NiceNavigationComponent, NiceNavigationModule, NiceNavigationService, NicePipesModule, NicePreventCloseWindowDirective, NiceRoundedStyleDirective, NiceScrollResetDirective, NiceScrollResetModule, NiceScrollbarDirective, NiceScrollbarModule, NiceSearchBarComponent, NiceSearchBarModule, NiceSplashScreenModule, NiceSplashScreenService, NiceStepComponent, NiceStopPropagationModule, NiceSweetAlertComponent, NiceSweetAlertDirective, NiceSweetAlertModule, NiceSweetAlertService, NiceToastComponent, NiceToastModule, NiceToastService, NiceToggleButtonGroupModule, NiceTransformResponseInterceptor, NiceTranslationFormModule, NiceTypeaheadComponent, NiceTypeaheadModule, NiceTypeaheadNewValue, NiceUtilsModule, NiceUtilsService, NiceVerticalNavigationAsideItemComponent, NiceVerticalNavigationBasicItemComponent, NiceVerticalNavigationCollapsableItemComponent, NiceVerticalNavigationComponent, NiceVerticalNavigationDividerItemComponent, NiceVerticalNavigationGroupItemComponent, NiceVerticalNavigationSpacerItemComponent, NiceWindowDirectiveModule, NumberToOrdinalIndicatorPipe, NumberUtils, ObjectUtils, OptionsScrollDirective, PadPipe, PhonePipe, PictureModalComponent, PictureModalService, PostalCodePipe, PromiseUtils, QueryParamsUtils, RangePipe, RegexUtils, RequireForLanguages, RequireForLanguagesValidator, RerenderDirective, ResolveDirective, RoundPipe, SanitizeBypassPipe, SecondsToTimePipe, TRANSFORM_TYPE, ToggleButtonComponent, ToggleButtonGroupComponent, TrackByPropPipe, TranslationContextDirective, TranslationForm,
|
|
11387
|
+
export { ArrayUtils, BooleanPipe, CapitalizeFirstLetterPipe, CarouselComponent, CaseUtils, CeilPipe, ChipListItemLabelDirective, ColorsUtils, DateUtils, DefaultExportBottomSheetService, EntriesPipe, ExportBottomSheetComponent, ExportBottomSheetService, FileUtils, FindByKeyPipe, FirstLetterPipe, FloorPipe, FontAwesomeUtils, FormDataUtils, HttpStatusCodes, ImgCropperConfig, ImgCropperError, ImgResolution, JoinPipe, KeyboardCodes, LexoRankUtils, LinkPipe, LocalizedBooleanPipe, LocalizedCurrencyPipe, LocalizedDateOnlyPipe, LocalizedDatePipe, MinutesToTimePipe, ModalMode, NICE_ASYNC_TYPEAHEAD_PROVIDER, NavigationHideItemResolver, NavigationHintResolver, NiceAlertComponent, NiceAlertModule, NiceAlertService, NiceApiException, NiceAssetsCarouselActiveContentDirective, NiceAssetsCarouselComponent, NiceAssetsCarouselModule, NiceAsyncTypeaheadComponent, NiceAsyncTypeaheadModule, NiceAsyncTypeaheadProvider, NiceAutofocusDirective, NiceAutofocusDirectiveModule, NiceAutogrowDirective, NiceAutogrowModule, NiceBaseForm, NiceBaseFormComponent, NiceBaseFormModule, NiceCardComponent, NiceCardModule, NiceCarouselModule, NiceChipAsyncTypeaheadDirective, NiceChipListDirective, NiceChipListDirectiveModule, NiceChipListItemsComponent, NiceClickStopPropagationDirective, NiceCollapsableComponent, NiceCollapsableModule, NiceConfigModule, NiceConfigService, NiceControlStatusDirective, NiceCropperAreaComponent, NiceDateRangePickerComponent, NiceDateRangePickerModule, NiceDraggableListDirective, NiceDraggableListModule, NiceDrawerComponent, NiceDrawerModule, NiceDrawerService, NiceDropzoneDirective, NiceDropzoneModule, NiceExportBottomSheetModule, NiceFormErrorComponent, NiceFormErrorModule, NiceFormSubmitDirective, NiceHorizontalNavigationBasicItemComponent, NiceHorizontalNavigationBranchItemComponent, NiceHorizontalNavigationComponent, NiceHorizontalNavigationDividerItemComponent, NiceHorizontalNavigationSpacerItemComponent, NiceHorizontalStepperComponent, NiceHorizontalStepperModule, NiceHttpExceptionFactory, NiceImageCropperComponent, NiceImageCropperModule, NiceImageErrorPlaceholderDirective, NiceImageErrorPlaceholderDirectiveModule, NiceLayoutComponent, NiceLayoutModule, NiceLoadingDirective, NiceLoadingSpinnerComponent, NiceLoadingSpinnerModule, NiceLottieComponent, NiceLottieModule, NiceMaterialModule, NiceMaterialStyleDirective, NiceMediaWatcherModule, NiceMediaWatcherService, NiceModalOnClickDirective, NiceModalOpenerDirective, NiceModule, NiceNavigationComponent, NiceNavigationModule, NiceNavigationService, NicePipesModule, NicePreventCloseWindowDirective, NiceRoundedStyleDirective, NiceScrollResetDirective, NiceScrollResetModule, NiceScrollbarDirective, NiceScrollbarModule, NiceSearchBarComponent, NiceSearchBarModule, NiceSplashScreenModule, NiceSplashScreenService, NiceStepComponent, NiceStopPropagationModule, NiceSweetAlertComponent, NiceSweetAlertDirective, NiceSweetAlertModule, NiceSweetAlertService, NiceToastComponent, NiceToastModule, NiceToastService, NiceToggleButtonGroupModule, NiceTransformResponseInterceptor, NiceTranslationFormModule, NiceTranslationFormService, NiceTypeaheadComponent, NiceTypeaheadModule, NiceTypeaheadNewValue, NiceUtilsModule, NiceUtilsService, NiceVerticalNavigationAsideItemComponent, NiceVerticalNavigationBasicItemComponent, NiceVerticalNavigationCollapsableItemComponent, NiceVerticalNavigationComponent, NiceVerticalNavigationDividerItemComponent, NiceVerticalNavigationGroupItemComponent, NiceVerticalNavigationSpacerItemComponent, NiceWindowDirectiveModule, NumberToOrdinalIndicatorPipe, NumberUtils, ObjectUtils, OptionsScrollDirective, PadPipe, PhonePipe, PictureModalComponent, PictureModalService, PostalCodePipe, PromiseUtils, QueryParamsUtils, RangePipe, RegexUtils, RequireForLanguages, RequireForLanguagesValidator, RerenderDirective, ResolveDirective, RoundPipe, SanitizeBypassPipe, SecondsToTimePipe, TRANSFORM_TYPE, ToggleButtonComponent, ToggleButtonGroupComponent, TrackByPropPipe, TranslationContextDirective, TranslationForm, TranslationFormGroup, TranslationFormTextareaComponent, TranslationFormTextfieldComponent, TranslationToggleComponent, TypeUtils, UrlUtils, _HintComponentBase, _normalizeDegrees, isNotNullOrUndefined, isNullOrUndefined, mergeDeep, mixinNiceApi, niceAnimations, round };
|
|
11352
11388
|
//# sourceMappingURL=recursyve-nice-ui-kit.v2.mjs.map
|