ca-components 1.2.21 → 1.2.22
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/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +4 -3
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +22 -15
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.mjs +7 -5
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.mjs +9 -8
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.mjs +5 -4
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.mjs +7 -6
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.mjs +1 -1
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.mjs +12 -10
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.mjs +6 -5
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.mjs +4 -1
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.mjs +8 -10
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.mjs +11 -13
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.mjs +7 -8
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.mjs +3 -3
- package/fesm2022/ca-components.mjs +63 -81
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.d.ts +3 -4
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.d.ts +2 -2
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.d.ts +3 -3
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.d.ts +2 -2
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.d.ts +3 -3
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.d.ts +1 -3
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.d.ts +2 -5
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.d.ts +1 -3
- package/package.json +1 -1
- package/esm2022/lib/services/image-base64.service.mjs +0 -23
- package/lib/services/image-base64.service.d.ts +0 -10
|
@@ -5,7 +5,6 @@ import { ICaInput } from '../ca-input/config';
|
|
|
5
5
|
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
6
6
|
import { CommandsEvent } from '../ca-input/models';
|
|
7
7
|
import { OptionModel } from './models/input-dropdown-option.model';
|
|
8
|
-
import { ImageBase64Service } from '../../services/image-base64.service';
|
|
9
8
|
import { InputDropdownSvgRoutes } from './utils/svg-routes/input-dropdown-svg-routes';
|
|
10
9
|
import { DropdownTemplateTypeEnum } from './enums';
|
|
11
10
|
import { EventInputManager } from '../ca-input/base-classes/ca-input-event-manager';
|
|
@@ -13,7 +12,6 @@ import { InputTestComponent } from '../ca-input/input-test/input-test.component'
|
|
|
13
12
|
import * as i0 from "@angular/core";
|
|
14
13
|
export declare class CaInputDropdownComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, AfterViewInit {
|
|
15
14
|
superControl: NgControl;
|
|
16
|
-
imageBase64Service: ImageBase64Service;
|
|
17
15
|
private cdRef;
|
|
18
16
|
private renderer;
|
|
19
17
|
inputRef: InputTestComponent;
|
|
@@ -74,9 +72,10 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
|
|
|
74
72
|
inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
|
|
75
73
|
dropdownTemplateTypeEnum: typeof DropdownTemplateTypeEnum;
|
|
76
74
|
private destroy$;
|
|
77
|
-
constructor(superControl: NgControl,
|
|
75
|
+
constructor(superControl: NgControl, cdRef: ChangeDetectorRef, renderer: Renderer2);
|
|
78
76
|
get getSuperControl(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
79
77
|
inputFormControl: FormControl;
|
|
78
|
+
lastValidOption: OptionModel;
|
|
80
79
|
writeValue(value: any): void;
|
|
81
80
|
onTouched: () => void;
|
|
82
81
|
onChange(_: any): void;
|
|
@@ -121,6 +120,6 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
|
|
|
121
120
|
*/
|
|
122
121
|
private dropdownNavigation;
|
|
123
122
|
ngOnDestroy(): void;
|
|
124
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownComponent, [{ self: true; }, null, null
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownComponent, [{ self: true; }, null, null]>;
|
|
125
124
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownComponent, "app-ca-input-dropdown", never, { "label": { "alias": "label"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "template": { "alias": "template"; "required": false; }; "multiselectTemplate": { "alias": "multiselectTemplate"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "canAddNew": { "alias": "canAddNew"; "required": false; }; "canOpenModal": { "alias": "canOpenModal"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "activeItemColor": { "alias": "activeItemColor"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; }; "options": { "alias": "options"; "required": false; }; "preloadMultiselectItems": { "alias": "preloadMultiselectItems"; "required": false; }; "isDetailsPages": { "alias": "isDetailsPages"; "required": false; }; "isIncorrectValue": { "alias": "isIncorrectValue"; "required": false; }; "isAddressDropdown": { "alias": "isAddressDropdown"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "selectedItemColor": "selectedItemColor"; "selectedLabelMode": "selectedLabelMode"; "closeDropdown": "closeDropdown"; "saveItem": "saveItem"; "incorrectEvent": "incorrectEvent"; "placeholderIconEvent": "placeholderIconEvent"; "paginationEvent": "pagination"; "activeGroupEvent": "activeGroup"; "clearInputEvent": "clearInputEvent"; "searchInputEvent": "searchInputEvent"; }, never, never, true, never>;
|
|
126
125
|
}
|
|
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class CaInputDropdownLoadBrokerComponentItem {
|
|
4
4
|
option: OptionModel;
|
|
5
5
|
searchText: string;
|
|
6
|
-
|
|
6
|
+
isInOption: boolean;
|
|
7
7
|
label: keyof OptionModel;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadBrokerComponentItem, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerComponentItem, "app-ca-input-dropdown-load-broker-item", never, { "option": { "alias": "option"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerComponentItem, "app-ca-input-dropdown-load-broker-item", never, { "option": { "alias": "option"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "isInOption": { "alias": "isInOption"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -4,8 +4,8 @@ export declare class CaInputDropdownLoadBrokerContactItemComponent {
|
|
|
4
4
|
item: OptionModel;
|
|
5
5
|
activeItem: OptionModel | null;
|
|
6
6
|
searchText: string;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
isShowNoresult: boolean;
|
|
8
|
+
isInOption: boolean;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadBrokerContactItemComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerContactItemComponent, "ca-input-dropdown-load-broker-contact-item", never, { "item": { "alias": "item"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerContactItemComponent, "ca-input-dropdown-load-broker-contact-item", never, { "item": { "alias": "item"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "isShowNoresult": { "alias": "isShowNoresult"; "required": false; }; "isInOption": { "alias": "isInOption"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -4,8 +4,8 @@ export declare class CaInputDropdownLoadBrokerShipperItemComponent {
|
|
|
4
4
|
option: OptionModel;
|
|
5
5
|
searchText: string;
|
|
6
6
|
activeItem: OptionModel | null;
|
|
7
|
-
|
|
7
|
+
isInOption: boolean;
|
|
8
8
|
label: keyof OptionModel;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadBrokerShipperItemComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerShipperItemComponent, "app-ca-input-dropdown-load-shipper-item", never, { "option": { "alias": "option"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerShipperItemComponent, "app-ca-input-dropdown-load-shipper-item", never, { "option": { "alias": "option"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "isInOption": { "alias": "isInOption"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -3,12 +3,12 @@ import { ICaInputWithDropdown } from '../../../../ca-input/config';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CaInputDropdownLoadDispatcherItemComponent {
|
|
5
5
|
option: OptionModel;
|
|
6
|
-
|
|
6
|
+
hasNoResult: boolean;
|
|
7
7
|
activeItem: OptionModel | null;
|
|
8
8
|
searchText: string;
|
|
9
9
|
label: keyof OptionModel;
|
|
10
10
|
dropdownWithImage?: ICaInputWithDropdown | null;
|
|
11
|
-
|
|
11
|
+
isInOption: boolean;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadDispatcherItemComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadDispatcherItemComponent, "app-ca-input-dropdown-load-dispatcher-item", never, { "option": { "alias": "option"; "required": false; }; "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadDispatcherItemComponent, "app-ca-input-dropdown-load-dispatcher-item", never, { "option": { "alias": "option"; "required": false; }; "hasNoResult": { "alias": "hasNoResult"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "dropdownWithImage": { "alias": "dropdownWithImage"; "required": false; }; "isInOption": { "alias": "isInOption"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -2,10 +2,8 @@ import { ElementRef, EventEmitter, QueryList } from '@angular/core';
|
|
|
2
2
|
import { OptionModel } from '../../models/input-dropdown-option.model';
|
|
3
3
|
import { ICaInput } from '../../../ca-input/config';
|
|
4
4
|
import { InputDropdownSvgRoutes } from '../../utils/svg-routes/input-dropdown-svg-routes';
|
|
5
|
-
import { ImageBase64Service } from '../../../../services/image-base64.service';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class CaInputDropdownSvgtextDispatchTemplateComponent {
|
|
8
|
-
imageBase64Service: ImageBase64Service;
|
|
9
7
|
options: OptionModel[];
|
|
10
8
|
activeItem: OptionModel | null;
|
|
11
9
|
searchText: string;
|
|
@@ -17,7 +15,7 @@ export declare class CaInputDropdownSvgtextDispatchTemplateComponent {
|
|
|
17
15
|
get inputHoveredItem(): number;
|
|
18
16
|
onActiveItem: EventEmitter<OptionModel>;
|
|
19
17
|
inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
|
|
20
|
-
constructor(
|
|
18
|
+
constructor();
|
|
21
19
|
onActiveItemEmit(option: OptionModel): void;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownSvgtextDispatchTemplateComponent, never>;
|
|
23
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownSvgtextDispatchTemplateComponent, "app-ca-input-dropdown-svgtext-dispatch-template", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { ICaInput } from '../../../../ca-input/config';
|
|
2
2
|
import { OptionModel } from '../../../models';
|
|
3
|
-
import { ImageBase64Service } from '../../../../../services/image-base64.service';
|
|
4
3
|
import { InputDropdownSvgRoutes } from '../../../utils/svg-routes';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class CaInputDropdownSvgtextTemplateItemComponent {
|
|
7
|
-
imageBase64Service: ImageBase64Service;
|
|
8
6
|
option: OptionModel;
|
|
9
7
|
inputConfig: ICaInput;
|
|
10
8
|
label: keyof OptionModel;
|
|
11
9
|
activeItem: OptionModel | null;
|
|
12
10
|
searchText: string;
|
|
13
|
-
selectedOption: boolean;
|
|
14
11
|
inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
|
|
15
|
-
constructor(
|
|
12
|
+
constructor();
|
|
16
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownSvgtextTemplateItemComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownSvgtextTemplateItemComponent, "ca-input-dropdown-svgtext-template-item", never, { "option": { "alias": "option"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "label": { "alias": "label"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; };
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownSvgtextTemplateItemComponent, "ca-input-dropdown-svgtext-template-item", never, { "option": { "alias": "option"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "label": { "alias": "label"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
15
|
}
|
|
@@ -2,10 +2,8 @@ import { ElementRef, EventEmitter, QueryList } from '@angular/core';
|
|
|
2
2
|
import { OptionModel } from '../../models/input-dropdown-option.model';
|
|
3
3
|
import { ICaInput } from '../../../ca-input/config';
|
|
4
4
|
import { InputDropdownSvgRoutes } from '../../utils/svg-routes/input-dropdown-svg-routes';
|
|
5
|
-
import { ImageBase64Service } from '../../../../services/image-base64.service';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class CaInputDropdownSvgtextTemplateComponent {
|
|
8
|
-
imageBase64Service: ImageBase64Service;
|
|
9
7
|
options: OptionModel[];
|
|
10
8
|
activeItem: OptionModel | null;
|
|
11
9
|
searchText: string;
|
|
@@ -17,7 +15,7 @@ export declare class CaInputDropdownSvgtextTemplateComponent {
|
|
|
17
15
|
get inputHoveredItem(): number;
|
|
18
16
|
onActiveItem: EventEmitter<OptionModel>;
|
|
19
17
|
inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
|
|
20
|
-
constructor(
|
|
18
|
+
constructor();
|
|
21
19
|
onActiveItemEmit(option: OptionModel): void;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownSvgtextTemplateComponent, never>;
|
|
23
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownSvgtextTemplateComponent, "app-ca-input-dropdown-svgtext-template", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/platform-browser";
|
|
4
|
-
export class ImageBase64Service {
|
|
5
|
-
constructor(domSanitizer) {
|
|
6
|
-
this.domSanitizer = domSanitizer;
|
|
7
|
-
}
|
|
8
|
-
sanitizer(url) {
|
|
9
|
-
return this.domSanitizer.bypassSecurityTrustResourceUrl(`data:image/*;base64,${url}`);
|
|
10
|
-
}
|
|
11
|
-
getStringFromBase64(url) {
|
|
12
|
-
return url.split(',')[1];
|
|
13
|
-
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageBase64Service, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageBase64Service, providedIn: 'root' }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageBase64Service, decorators: [{
|
|
18
|
-
type: Injectable,
|
|
19
|
-
args: [{
|
|
20
|
-
providedIn: 'root',
|
|
21
|
-
}]
|
|
22
|
-
}], ctorParameters: () => [{ type: i1.DomSanitizer }] });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtYmFzZTY0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvc2VydmljZXMvaW1hZ2UtYmFzZTY0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBTzNDLE1BQU0sT0FBTyxrQkFBa0I7SUFDN0IsWUFBb0IsWUFBMEI7UUFBMUIsaUJBQVksR0FBWixZQUFZLENBQWM7SUFBRyxDQUFDO0lBRTNDLFNBQVMsQ0FBQyxHQUFXO1FBQzFCLE9BQU8sSUFBSSxDQUFDLFlBQVksQ0FBQyw4QkFBOEIsQ0FDckQsdUJBQXVCLEdBQUcsRUFBRSxDQUM3QixDQUFDO0lBQ0osQ0FBQztJQUVNLG1CQUFtQixDQUFDLEdBQVc7UUFDcEMsT0FBTyxHQUFHLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO0lBQzNCLENBQUM7K0dBWFUsa0JBQWtCO21IQUFsQixrQkFBa0IsY0FGakIsTUFBTTs7NEZBRVAsa0JBQWtCO2tCQUg5QixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgRG9tU2FuaXRpemVyLCBTYWZlUmVzb3VyY2VVcmwgfSBmcm9tICdAYW5ndWxhci9wbGF0Zm9ybS1icm93c2VyJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIEltYWdlQmFzZTY0U2VydmljZSB7XG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgZG9tU2FuaXRpemVyOiBEb21TYW5pdGl6ZXIpIHt9XG5cbiAgcHVibGljIHNhbml0aXplcih1cmw6IHN0cmluZyk6IFNhZmVSZXNvdXJjZVVybCB7XG4gICAgcmV0dXJuIHRoaXMuZG9tU2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RSZXNvdXJjZVVybChcbiAgICAgIGBkYXRhOmltYWdlLyo7YmFzZTY0LCR7dXJsfWBcbiAgICApO1xuICB9XG5cbiAgcHVibGljIGdldFN0cmluZ0Zyb21CYXNlNjQodXJsOiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIHJldHVybiB1cmwuc3BsaXQoJywnKVsxXTtcbiAgfVxufVxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ImageBase64Service {
|
|
4
|
-
private domSanitizer;
|
|
5
|
-
constructor(domSanitizer: DomSanitizer);
|
|
6
|
-
sanitizer(url: string): SafeResourceUrl;
|
|
7
|
-
getStringFromBase64(url: string): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageBase64Service, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ImageBase64Service>;
|
|
10
|
-
}
|