@lucca-front/ng 9.0.1 → 9.0.4-select.1
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/api/lib/select/feeder/api-feeder.module.d.ts +1 -2
- package/api/lib/select/pager/api-pager.module.d.ts +1 -2
- package/api/lib/select/searcher/api-searcher.module.d.ts +4 -5
- package/department/lib/select/feeder/department-feeder.module.d.ts +1 -2
- package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +3 -5
- package/esm2020/api/lib/select/pager/api-pager.module.mjs +3 -5
- package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +6 -7
- package/esm2020/date/lib/calendar/calendar-input.component.mjs +4 -1
- package/esm2020/date/lib/calendar/calendar-input.module.mjs +4 -6
- package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +3 -5
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +3 -5
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +6 -7
- package/esm2020/safe-content/lib/index.mjs +2 -3
- package/esm2020/safe-content/lib/safe-content.module.mjs +6 -6
- package/esm2020/safe-content/lib/safe-html.pipe.mjs +19 -0
- package/esm2020/select2/lib/index.mjs +5 -0
- package/esm2020/select2/lib/input/index.mjs +3 -0
- package/esm2020/select2/lib/input/select-input.component.mjs +343 -0
- package/esm2020/select2/lib/input/select-input.module.mjs +20 -0
- package/esm2020/select2/lib/option/displayer.directive.mjs +23 -0
- package/esm2020/select2/lib/option/index.mjs +5 -0
- package/esm2020/select2/lib/option/option.component.mjs +57 -0
- package/esm2020/select2/lib/option/option.directive.mjs +23 -0
- package/esm2020/select2/lib/option/option.module.mjs +20 -0
- package/esm2020/select2/lib/panel/index.mjs +3 -0
- package/esm2020/select2/lib/panel/panel.component.mjs +118 -0
- package/esm2020/select2/lib/panel/panel.module.mjs +21 -0
- package/esm2020/select2/lib/select.model.mjs +6 -0
- package/esm2020/select2/lib/select.module.mjs +18 -0
- package/esm2020/select2/lucca-front-ng-select2.mjs +5 -0
- package/esm2020/select2/public-api.mjs +5 -0
- package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +3 -4
- package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +5 -6
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +1 -1
- package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +5 -6
- package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +6 -7
- package/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.d.ts +1 -2
- package/establishment/lib/select/searcher/establishment-searcher.module.d.ts +4 -5
- package/fesm2015/lucca-front-ng-api.mjs +7 -10
- package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-date.mjs +3 -2
- package/fesm2015/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-department.mjs +3 -5
- package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-establishment.mjs +5 -7
- package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-safe-content.mjs +13 -23
- package/fesm2015/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-select2.mjs +628 -0
- package/fesm2015/lucca-front-ng-select2.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-tooltip.mjs +5 -7
- package/fesm2015/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-user.mjs +6 -7
- package/fesm2015/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-api.mjs +7 -10
- package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-date.mjs +3 -2
- package/fesm2020/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-department.mjs +3 -5
- package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-establishment.mjs +5 -7
- package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-safe-content.mjs +13 -23
- package/fesm2020/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-select2.mjs +617 -0
- package/fesm2020/lucca-front-ng-select2.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-tooltip.mjs +5 -7
- package/fesm2020/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-user.mjs +6 -7
- package/fesm2020/lucca-front-ng-user.mjs.map +1 -1
- package/package.json +13 -3
- package/safe-content/lib/index.d.ts +1 -2
- package/safe-content/lib/safe-content.module.d.ts +2 -2
- package/safe-content/lib/safe-html.pipe.d.ts +16 -0
- package/select2/README.md +3 -0
- package/select2/index.d.ts +5 -0
- package/select2/lib/index.d.ts +4 -0
- package/select2/lib/input/index.d.ts +2 -0
- package/select2/lib/input/select-input.component.d.ts +75 -0
- package/select2/lib/input/select-input.module.d.ts +10 -0
- package/select2/lib/option/displayer.directive.d.ts +13 -0
- package/select2/lib/option/index.d.ts +4 -0
- package/select2/lib/option/option.component.d.ts +21 -0
- package/select2/lib/option/option.directive.d.ts +13 -0
- package/select2/lib/option/option.module.d.ts +10 -0
- package/select2/lib/panel/index.d.ts +2 -0
- package/select2/lib/panel/panel.component.d.ts +40 -0
- package/select2/lib/panel/panel.module.d.ts +11 -0
- package/select2/lib/select.model.d.ts +15 -0
- package/select2/lib/select.module.d.ts +9 -0
- package/select2/public-api.d.ts +1 -0
- package/style/components/_input.scss +7 -7
- package/style/definitions/select/_select-input.scss +107 -105
- package/tooltip/lib/panel/tooltip-panel.component.d.ts +3 -2
- package/tooltip/lib/panel/tooltip-panel.module.d.ts +1 -2
- package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +3 -2
- package/user/lib/select/homonyms/user-homonyms.module.d.ts +2 -3
- package/user/lib/select/searcher/user-searcher.module.d.ts +4 -5
- package/esm2020/safe-content/lib/safe-content.model.mjs +0 -2
- package/esm2020/safe-content/lib/safe-content.pipe.mjs +0 -29
- package/safe-content/lib/safe-content.model.d.ts +0 -1
- package/safe-content/lib/safe-content.pipe.d.ts +0 -11
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/platform-browser";
|
|
4
|
-
export class LuSafeContentPipe {
|
|
5
|
-
constructor(sanitizer) {
|
|
6
|
-
this.sanitizer = sanitizer;
|
|
7
|
-
}
|
|
8
|
-
transform(value, type = 'html') {
|
|
9
|
-
switch (type) {
|
|
10
|
-
case 'html':
|
|
11
|
-
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
12
|
-
case 'style':
|
|
13
|
-
return this.sanitizer.bypassSecurityTrustStyle(value);
|
|
14
|
-
case 'script':
|
|
15
|
-
return this.sanitizer.bypassSecurityTrustScript(value);
|
|
16
|
-
case 'url':
|
|
17
|
-
return this.sanitizer.bypassSecurityTrustUrl(value);
|
|
18
|
-
case 'resourceUrl':
|
|
19
|
-
return this.sanitizer.bypassSecurityTrustResourceUrl(value);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
LuSafeContentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LuSafeContentPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
24
|
-
LuSafeContentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: LuSafeContentPipe, name: "luSafeContent" });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LuSafeContentPipe, decorators: [{
|
|
26
|
-
type: Pipe,
|
|
27
|
-
args: [{ name: 'luSafeContent' }]
|
|
28
|
-
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; }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ZSk7XHJcblx0XHRcdGNhc2UgJ3NjcmlwdCc6XHJcblx0XHRcdFx0cmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RTY3JpcHQodmFsdWUpO1xyXG5cdFx0XHRjYXNlICd1cmwnOlxyXG5cdFx0XHRcdHJldHVybiB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0VXJsKHZhbHVlKTtcclxuXHRcdFx0Y2FzZSAncmVzb3VyY2VVcmwnOlxyXG5cdFx0XHRcdHJldHVybiB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0UmVzb3VyY2VVcmwodmFsdWUpO1xyXG5cdFx0fVxyXG5cdH1cclxufVxyXG4iXX0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type LuSafeContentType = 'html' | 'style' | 'script' | 'url' | 'resourceUrl';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl } from '@angular/platform-browser';
|
|
3
|
-
import { LuSafeContentType } from './safe-content.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LuSafeContentPipe implements PipeTransform {
|
|
6
|
-
protected sanitizer: DomSanitizer;
|
|
7
|
-
constructor(sanitizer: DomSanitizer);
|
|
8
|
-
transform(value: string, type?: LuSafeContentType): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuSafeContentPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LuSafeContentPipe, "luSafeContent", false>;
|
|
11
|
-
}
|