@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.
Files changed (102) hide show
  1. package/api/lib/select/feeder/api-feeder.module.d.ts +1 -2
  2. package/api/lib/select/pager/api-pager.module.d.ts +1 -2
  3. package/api/lib/select/searcher/api-searcher.module.d.ts +4 -5
  4. package/department/lib/select/feeder/department-feeder.module.d.ts +1 -2
  5. package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +3 -5
  6. package/esm2020/api/lib/select/pager/api-pager.module.mjs +3 -5
  7. package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +6 -7
  8. package/esm2020/date/lib/calendar/calendar-input.component.mjs +4 -1
  9. package/esm2020/date/lib/calendar/calendar-input.module.mjs +4 -6
  10. package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +3 -5
  11. package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +3 -5
  12. package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +6 -7
  13. package/esm2020/safe-content/lib/index.mjs +2 -3
  14. package/esm2020/safe-content/lib/safe-content.module.mjs +6 -6
  15. package/esm2020/safe-content/lib/safe-html.pipe.mjs +19 -0
  16. package/esm2020/select2/lib/index.mjs +5 -0
  17. package/esm2020/select2/lib/input/index.mjs +3 -0
  18. package/esm2020/select2/lib/input/select-input.component.mjs +343 -0
  19. package/esm2020/select2/lib/input/select-input.module.mjs +20 -0
  20. package/esm2020/select2/lib/option/displayer.directive.mjs +23 -0
  21. package/esm2020/select2/lib/option/index.mjs +5 -0
  22. package/esm2020/select2/lib/option/option.component.mjs +57 -0
  23. package/esm2020/select2/lib/option/option.directive.mjs +23 -0
  24. package/esm2020/select2/lib/option/option.module.mjs +20 -0
  25. package/esm2020/select2/lib/panel/index.mjs +3 -0
  26. package/esm2020/select2/lib/panel/panel.component.mjs +118 -0
  27. package/esm2020/select2/lib/panel/panel.module.mjs +21 -0
  28. package/esm2020/select2/lib/select.model.mjs +6 -0
  29. package/esm2020/select2/lib/select.module.mjs +18 -0
  30. package/esm2020/select2/lucca-front-ng-select2.mjs +5 -0
  31. package/esm2020/select2/public-api.mjs +5 -0
  32. package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +3 -4
  33. package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +5 -6
  34. package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +1 -1
  35. package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +5 -6
  36. package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +6 -7
  37. package/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.d.ts +1 -2
  38. package/establishment/lib/select/searcher/establishment-searcher.module.d.ts +4 -5
  39. package/fesm2015/lucca-front-ng-api.mjs +7 -10
  40. package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
  41. package/fesm2015/lucca-front-ng-date.mjs +3 -2
  42. package/fesm2015/lucca-front-ng-date.mjs.map +1 -1
  43. package/fesm2015/lucca-front-ng-department.mjs +3 -5
  44. package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
  45. package/fesm2015/lucca-front-ng-establishment.mjs +5 -7
  46. package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -1
  47. package/fesm2015/lucca-front-ng-safe-content.mjs +13 -23
  48. package/fesm2015/lucca-front-ng-safe-content.mjs.map +1 -1
  49. package/fesm2015/lucca-front-ng-select2.mjs +628 -0
  50. package/fesm2015/lucca-front-ng-select2.mjs.map +1 -0
  51. package/fesm2015/lucca-front-ng-tooltip.mjs +5 -7
  52. package/fesm2015/lucca-front-ng-tooltip.mjs.map +1 -1
  53. package/fesm2015/lucca-front-ng-user.mjs +6 -7
  54. package/fesm2015/lucca-front-ng-user.mjs.map +1 -1
  55. package/fesm2020/lucca-front-ng-api.mjs +7 -10
  56. package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
  57. package/fesm2020/lucca-front-ng-date.mjs +3 -2
  58. package/fesm2020/lucca-front-ng-date.mjs.map +1 -1
  59. package/fesm2020/lucca-front-ng-department.mjs +3 -5
  60. package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
  61. package/fesm2020/lucca-front-ng-establishment.mjs +5 -7
  62. package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -1
  63. package/fesm2020/lucca-front-ng-safe-content.mjs +13 -23
  64. package/fesm2020/lucca-front-ng-safe-content.mjs.map +1 -1
  65. package/fesm2020/lucca-front-ng-select2.mjs +617 -0
  66. package/fesm2020/lucca-front-ng-select2.mjs.map +1 -0
  67. package/fesm2020/lucca-front-ng-tooltip.mjs +5 -7
  68. package/fesm2020/lucca-front-ng-tooltip.mjs.map +1 -1
  69. package/fesm2020/lucca-front-ng-user.mjs +6 -7
  70. package/fesm2020/lucca-front-ng-user.mjs.map +1 -1
  71. package/package.json +13 -3
  72. package/safe-content/lib/index.d.ts +1 -2
  73. package/safe-content/lib/safe-content.module.d.ts +2 -2
  74. package/safe-content/lib/safe-html.pipe.d.ts +16 -0
  75. package/select2/README.md +3 -0
  76. package/select2/index.d.ts +5 -0
  77. package/select2/lib/index.d.ts +4 -0
  78. package/select2/lib/input/index.d.ts +2 -0
  79. package/select2/lib/input/select-input.component.d.ts +75 -0
  80. package/select2/lib/input/select-input.module.d.ts +10 -0
  81. package/select2/lib/option/displayer.directive.d.ts +13 -0
  82. package/select2/lib/option/index.d.ts +4 -0
  83. package/select2/lib/option/option.component.d.ts +21 -0
  84. package/select2/lib/option/option.directive.d.ts +13 -0
  85. package/select2/lib/option/option.module.d.ts +10 -0
  86. package/select2/lib/panel/index.d.ts +2 -0
  87. package/select2/lib/panel/panel.component.d.ts +40 -0
  88. package/select2/lib/panel/panel.module.d.ts +11 -0
  89. package/select2/lib/select.model.d.ts +15 -0
  90. package/select2/lib/select.module.d.ts +9 -0
  91. package/select2/public-api.d.ts +1 -0
  92. package/style/components/_input.scss +7 -7
  93. package/style/definitions/select/_select-input.scss +107 -105
  94. package/tooltip/lib/panel/tooltip-panel.component.d.ts +3 -2
  95. package/tooltip/lib/panel/tooltip-panel.module.d.ts +1 -2
  96. package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +3 -2
  97. package/user/lib/select/homonyms/user-homonyms.module.d.ts +2 -3
  98. package/user/lib/select/searcher/user-searcher.module.d.ts +4 -5
  99. package/esm2020/safe-content/lib/safe-content.model.mjs +0 -2
  100. package/esm2020/safe-content/lib/safe-content.pipe.mjs +0 -29
  101. package/safe-content/lib/safe-content.model.d.ts +0 -1
  102. 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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ZSh2YWx1ZSk7XHJcblx0XHRcdGNhc2UgJ3NjcmlwdCc6XHJcblx0XHRcdFx0cmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RTY3JpcHQodmFsdWUpO1xyXG5cdFx0XHRjYXNlICd1cmwnOlxyXG5cdFx0XHRcdHJldHVybiB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0VXJsKHZhbHVlKTtcclxuXHRcdFx0Y2FzZSAncmVzb3VyY2VVcmwnOlxyXG5cdFx0XHRcdHJldHVybiB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0UmVzb3VyY2VVcmwodmFsdWUpO1xyXG5cdFx0fVxyXG5cdH1cclxufVxyXG4iXX0=
@@ -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
- }