@pepperi-addons/ngx-composite-lib 0.0.10-beta.1 → 0.0.10-beta.6

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 (91) hide show
  1. package/bundles/pepperi-addons-ngx-composite-lib-color-settings.umd.js +122 -122
  2. package/bundles/pepperi-addons-ngx-composite-lib-draggable-item.umd.js +71 -71
  3. package/bundles/pepperi-addons-ngx-composite-lib-draggable-item.umd.js.map +1 -1
  4. package/bundles/pepperi-addons-ngx-composite-lib-generic-list.umd.js +535 -535
  5. package/bundles/pepperi-addons-ngx-composite-lib-group-buttons-settings.umd.js +173 -173
  6. package/bundles/pepperi-addons-ngx-composite-lib-shadow-settings.umd.js +117 -117
  7. package/bundles/pepperi-addons-ngx-composite-lib.umd.js +72 -29
  8. package/bundles/pepperi-addons-ngx-composite-lib.umd.js.map +1 -1
  9. package/color-settings/color-settings.component.d.ts +22 -22
  10. package/color-settings/color-settings.model.d.ts +5 -5
  11. package/color-settings/color-settings.module.d.ts +12 -12
  12. package/color-settings/pepperi-addons-ngx-composite-lib-color-settings.d.ts +5 -5
  13. package/color-settings/public-api.d.ts +3 -3
  14. package/core/common/index.d.ts +1 -0
  15. package/core/common/public-api.d.ts +1 -0
  16. package/core/common/services/index.d.ts +1 -0
  17. package/core/common/services/public-api.d.ts +1 -0
  18. package/core/common/services/utilities.service.d.ts +6 -0
  19. package/core/index.d.ts +1 -0
  20. package/core/public-api.d.ts +1 -0
  21. package/draggable-item/draggable-item.component.d.ts +11 -11
  22. package/draggable-item/draggable-item.module.d.ts +11 -11
  23. package/draggable-item/pepperi-addons-ngx-composite-lib-draggable-item.d.ts +5 -5
  24. package/draggable-item/public-api.d.ts +2 -2
  25. package/esm2015/color-settings/color-settings.component.js +80 -80
  26. package/esm2015/color-settings/color-settings.model.js +8 -8
  27. package/esm2015/color-settings/color-settings.module.js +39 -39
  28. package/esm2015/color-settings/pepperi-addons-ngx-composite-lib-color-settings.js +4 -4
  29. package/esm2015/color-settings/public-api.js +6 -6
  30. package/esm2015/core/common/index.js +5 -0
  31. package/esm2015/core/common/public-api.js +5 -0
  32. package/esm2015/core/common/services/index.js +5 -0
  33. package/esm2015/core/common/services/public-api.js +5 -0
  34. package/esm2015/core/common/services/utilities.service.js +19 -0
  35. package/esm2015/core/index.js +5 -0
  36. package/esm2015/core/public-api.js +5 -0
  37. package/esm2015/draggable-item/draggable-item.component.js +39 -39
  38. package/esm2015/draggable-item/draggable-item.module.js +36 -36
  39. package/esm2015/draggable-item/pepperi-addons-ngx-composite-lib-draggable-item.js +4 -4
  40. package/esm2015/draggable-item/public-api.js +5 -5
  41. package/esm2015/generic-list/generic-list.component.js +163 -163
  42. package/esm2015/generic-list/generic-list.model.js +1 -1
  43. package/esm2015/generic-list/generic-list.module.js +51 -51
  44. package/esm2015/generic-list/pepperi-addons-ngx-composite-lib-generic-list.js +4 -4
  45. package/esm2015/generic-list/public-api.js +6 -6
  46. package/esm2015/group-buttons-settings/group-buttons-settings.component.js +131 -131
  47. package/esm2015/group-buttons-settings/group-buttons-settings.model.js +1 -1
  48. package/esm2015/group-buttons-settings/group-buttons-settings.module.js +46 -46
  49. package/esm2015/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.js +4 -4
  50. package/esm2015/group-buttons-settings/public-api.js +6 -6
  51. package/esm2015/ngx-composite-lib.module.js +25 -25
  52. package/esm2015/pepperi-addons-ngx-composite-lib.js +4 -4
  53. package/esm2015/public-api.js +6 -5
  54. package/esm2015/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.js +4 -4
  55. package/esm2015/shadow-settings/public-api.js +6 -6
  56. package/esm2015/shadow-settings/shadow-settings.component.js +72 -72
  57. package/esm2015/shadow-settings/shadow-settings.model.js +7 -7
  58. package/esm2015/shadow-settings/shadow-settings.module.js +43 -43
  59. package/fesm2015/pepperi-addons-ngx-composite-lib-color-settings.js +112 -112
  60. package/fesm2015/pepperi-addons-ngx-composite-lib-draggable-item.js +66 -66
  61. package/fesm2015/pepperi-addons-ngx-composite-lib-draggable-item.js.map +1 -1
  62. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.js +192 -192
  63. package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.js +164 -164
  64. package/fesm2015/pepperi-addons-ngx-composite-lib-shadow-settings.js +107 -107
  65. package/fesm2015/pepperi-addons-ngx-composite-lib.js +70 -29
  66. package/fesm2015/pepperi-addons-ngx-composite-lib.js.map +1 -1
  67. package/generic-list/generic-list.component.d.ts +45 -45
  68. package/generic-list/generic-list.model.d.ts +11 -11
  69. package/generic-list/generic-list.module.d.ts +15 -15
  70. package/generic-list/pepperi-addons-ngx-composite-lib-generic-list.d.ts +5 -5
  71. package/generic-list/public-api.d.ts +3 -3
  72. package/group-buttons-settings/group-buttons-settings.component.d.ts +32 -32
  73. package/group-buttons-settings/group-buttons-settings.model.d.ts +1 -1
  74. package/group-buttons-settings/group-buttons-settings.module.d.ts +14 -14
  75. package/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.d.ts +5 -5
  76. package/group-buttons-settings/public-api.d.ts +3 -3
  77. package/ngx-composite-lib.module.d.ts +6 -6
  78. package/package.json +1 -1
  79. package/pepperi-addons-ngx-composite-lib.d.ts +5 -5
  80. package/public-api.d.ts +2 -1
  81. package/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.d.ts +5 -5
  82. package/shadow-settings/public-api.d.ts +3 -3
  83. package/shadow-settings/shadow-settings.component.d.ts +23 -23
  84. package/shadow-settings/shadow-settings.model.d.ts +7 -7
  85. package/shadow-settings/shadow-settings.module.d.ts +13 -13
  86. package/src/core/style/abstracts/functions.scss +0 -0
  87. package/src/core/style/abstracts/mixins.scss +0 -0
  88. package/src/core/style/abstracts/variables.scss +5 -0
  89. package/src/core/style/base/helpers.scss +0 -0
  90. package/src/core/style/components/general.scss +37 -0
  91. package/styles.scss +11 -35
@@ -7,78 +7,78 @@ import * as i1 from '@pepperi-addons/ngx-lib/button';
7
7
  import { PepButtonModule } from '@pepperi-addons/ngx-lib/button';
8
8
  import { DragDropModule } from '@angular/cdk/drag-drop';
9
9
 
10
- class DraggableItemComponent {
11
- // private _isDraggable = false;
12
- // @Input()
13
- // set isDraggable(value: boolean) {
14
- // this._isDraggable = value;
15
- // this._cursor = value ? 'move' : 'inherit'
16
- // }
17
- // get isDraggable(): boolean {
18
- // return this._isDraggable;
19
- // }
20
- constructor() {
21
- this._cursor = 'move';
22
- this.title = '';
23
- this.disabled = false;
24
- }
25
- ngOnInit() {
26
- }
27
- }
28
- DraggableItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
29
- DraggableItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: DraggableItemComponent, selector: "pep-draggable-item", inputs: { title: "title", disabled: "disabled" }, host: { properties: { "style.cursor": "this._cursor" } }, ngImport: i0, template: "<div class=\"draggable-item-container\" [ngClass]=\"{ 'disabled': disabled }\">\n <div class=\"\">\n <pep-button classNames=\"lock-events\" sizeType=\"xs\" iconName=\"system_move\"></pep-button>\n </div>\n <div *ngIf=\"title !== ''\" class=\"title-container\">\n <span class=\"body-sm bold ellipsis title\" title=\"{{title}}\">{{title}}</span>\n </div>\n <div class=\"actions\">\n <ng-content select=\"[pep-actions]\"></ng-content>\n </div>\n</div>", styles: [":host{display:block}.draggable-item-container{height:2.5rem;width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;border-radius:var(--pep-border-radius-md, .25rem);padding-inline:var(--pep-spacing-sm, .5rem);background:hsl(var(--pep-color-regular-h, 0),var(--pep-color-regular-s, 0%),98%);box-shadow:var(--pep-shadow-xs-offset, 0 .125rem .25rem 0) hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.08);border:1px solid hsl(var(--pep-color-regular-h, 0),var(--pep-color-regular-s, 0%),calc(var(--pep-color-regular-l, 10%) + 30%))}.title-container{overflow-x:hidden;margin-inline:var(--pep-spacing-sm, .5rem)}.title-container .title{display:block}.actions{display:inline-flex;grid-gap:var(--pep-spacing-xs, .25rem);gap:var(--pep-spacing-xs, .25rem)}\n"], components: [{ type: i1.PepButtonComponent, selector: "pep-button", inputs: ["styleType", "styleStateType", "sizeType", "classNames", "disabled", "iconPosition", "visible", "key", "value", "iconName"], outputs: ["buttonClick"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemComponent, decorators: [{
31
- type: Component,
32
- args: [{
33
- selector: 'pep-draggable-item',
34
- templateUrl: './draggable-item.component.html',
35
- styleUrls: ['./draggable-item.component.scss']
36
- }]
37
- }], ctorParameters: function () { return []; }, propDecorators: { _cursor: [{
38
- type: HostBinding,
39
- args: ['style.cursor']
40
- }], title: [{
41
- type: Input
42
- }], disabled: [{
43
- type: Input
10
+ class DraggableItemComponent {
11
+ // private _isDraggable = false;
12
+ // @Input()
13
+ // set isDraggable(value: boolean) {
14
+ // this._isDraggable = value;
15
+ // this._cursor = value ? 'move' : 'inherit'
16
+ // }
17
+ // get isDraggable(): boolean {
18
+ // return this._isDraggable;
19
+ // }
20
+ constructor() {
21
+ this._cursor = 'move';
22
+ this.title = '';
23
+ this.disabled = false;
24
+ }
25
+ ngOnInit() {
26
+ }
27
+ }
28
+ DraggableItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
29
+ DraggableItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: DraggableItemComponent, selector: "pep-draggable-item", inputs: { title: "title", disabled: "disabled" }, host: { properties: { "style.cursor": "this._cursor" } }, ngImport: i0, template: "<div class=\"draggable-item-container\" [ngClass]=\"{ 'disabled': disabled }\">\n <div class=\"\">\n <pep-button classNames=\"lock-events\" sizeType=\"xs\" iconName=\"system_move\"></pep-button>\n </div>\n <div *ngIf=\"title !== ''\" class=\"title-container\">\n <span class=\"body-sm bold ellipsis title\" title=\"{{title}}\">{{title}}</span>\n </div>\n <div class=\"actions\">\n <ng-content select=\"[pep-actions]\"></ng-content>\n </div>\n</div>", styles: [":host{display:block;cursor:grab}.draggable-item-container{height:2.5rem;width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;border-radius:var(--pep-border-radius-md, .25rem);padding-inline:var(--pep-spacing-sm, .5rem);background:get-pep-color(get-pepperi-theme(),color-regular,color-flat-r-40);box-shadow:get-pep-shadow(get-pepperi-theme(),shadow-xs,soft);border:1px solid get-pep-color(get-pepperi-theme(),color-regular,color-flat-r-20)}.draggable-item-container .title-container{overflow-x:hidden;margin-inline:var(--pep-spacing-sm, .5rem)}.draggable-item-container .title-container .title{display:block}.draggable-item-container .actions{display:inline-flex;grid-gap:var(--pep-spacing-xs, .25rem);gap:var(--pep-spacing-xs, .25rem)}\n"], components: [{ type: i1.PepButtonComponent, selector: "pep-button", inputs: ["styleType", "styleStateType", "sizeType", "classNames", "disabled", "iconPosition", "visible", "key", "value", "iconName"], outputs: ["buttonClick"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemComponent, decorators: [{
31
+ type: Component,
32
+ args: [{
33
+ selector: 'pep-draggable-item',
34
+ templateUrl: './draggable-item.component.html',
35
+ styleUrls: ['./draggable-item.component.scss']
36
+ }]
37
+ }], ctorParameters: function () { return []; }, propDecorators: { _cursor: [{
38
+ type: HostBinding,
39
+ args: ['style.cursor']
40
+ }], title: [{
41
+ type: Input
42
+ }], disabled: [{
43
+ type: Input
44
44
  }] } });
45
45
 
46
- class DraggableItemModule {
47
- }
48
- DraggableItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- DraggableItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemModule, declarations: [DraggableItemComponent], imports: [CommonModule,
50
- PepNgxLibModule,
51
- PepButtonModule,
52
- DragDropModule], exports: [DraggableItemComponent] });
53
- DraggableItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemModule, imports: [[
54
- CommonModule,
55
- PepNgxLibModule,
56
- PepButtonModule,
57
- DragDropModule
58
- ]] });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemModule, decorators: [{
60
- type: NgModule,
61
- args: [{
62
- declarations: [
63
- DraggableItemComponent
64
- ],
65
- imports: [
66
- CommonModule,
67
- PepNgxLibModule,
68
- PepButtonModule,
69
- DragDropModule
70
- ],
71
- exports: [DraggableItemComponent],
72
- }]
46
+ class PepDraggableItemModule {
47
+ }
48
+ PepDraggableItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDraggableItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
+ PepDraggableItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDraggableItemModule, declarations: [DraggableItemComponent], imports: [CommonModule,
50
+ PepNgxLibModule,
51
+ PepButtonModule,
52
+ DragDropModule], exports: [DraggableItemComponent] });
53
+ PepDraggableItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDraggableItemModule, imports: [[
54
+ CommonModule,
55
+ PepNgxLibModule,
56
+ PepButtonModule,
57
+ DragDropModule
58
+ ]] });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDraggableItemModule, decorators: [{
60
+ type: NgModule,
61
+ args: [{
62
+ declarations: [
63
+ DraggableItemComponent
64
+ ],
65
+ imports: [
66
+ CommonModule,
67
+ PepNgxLibModule,
68
+ PepButtonModule,
69
+ DragDropModule
70
+ ],
71
+ exports: [DraggableItemComponent],
72
+ }]
73
73
  }] });
74
74
 
75
- /*
76
- * Public API Surface of ngx-composite-lib/draggable-item
75
+ /*
76
+ * Public API Surface of ngx-composite-lib/draggable-item
77
77
  */
78
78
 
79
- /**
80
- * Generated bundle index. Do not edit.
79
+ /**
80
+ * Generated bundle index. Do not edit.
81
81
  */
82
82
 
83
- export { DraggableItemComponent, DraggableItemModule };
83
+ export { DraggableItemComponent, PepDraggableItemModule };
84
84
  //# sourceMappingURL=pepperi-addons-ngx-composite-lib-draggable-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pepperi-addons-ngx-composite-lib-draggable-item.js","sources":["../../../projects/ngx-composite-lib/draggable-item/draggable-item.component.ts","../../../projects/ngx-composite-lib/draggable-item/draggable-item.component.html","../../../projects/ngx-composite-lib/draggable-item/draggable-item.module.ts","../../../projects/ngx-composite-lib/draggable-item/public-api.ts","../../../projects/ngx-composite-lib/draggable-item/pepperi-addons-ngx-composite-lib-draggable-item.ts"],"sourcesContent":["import { Component, EventEmitter, HostBinding, Input, OnInit, Output } from '@angular/core';\n\n@Component({\n selector: 'pep-draggable-item',\n templateUrl: './draggable-item.component.html',\n styleUrls: ['./draggable-item.component.scss']\n})\nexport class DraggableItemComponent implements OnInit {\n\n @HostBinding('style.cursor') _cursor = 'move';\n\n @Input() title = '';\n \n @Input() disabled = false;\n\n // private _isDraggable = false;\n // @Input()\n // set isDraggable(value: boolean) {\n // this._isDraggable = value;\n\n // this._cursor = value ? 'move' : 'inherit'\n // }\n // get isDraggable(): boolean {\n // return this._isDraggable;\n // }\n\n constructor() { }\n\n ngOnInit(): void {\n }\n}\n","<div class=\"draggable-item-container\" [ngClass]=\"{ 'disabled': disabled }\">\n <div class=\"\">\n <pep-button classNames=\"lock-events\" sizeType=\"xs\" iconName=\"system_move\"></pep-button>\n </div>\n <div *ngIf=\"title !== ''\" class=\"title-container\">\n <span class=\"body-sm bold ellipsis title\" title=\"{{title}}\">{{title}}</span>\n </div>\n <div class=\"actions\">\n <ng-content select=\"[pep-actions]\"></ng-content>\n </div>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PepNgxLibModule } from '@pepperi-addons/ngx-lib';\nimport { PepButtonModule } from '@pepperi-addons/ngx-lib/button';\n\nimport { DragDropModule } from '@angular/cdk/drag-drop';\n\nimport { DraggableItemComponent } from './draggable-item.component';\n\n@NgModule({\n declarations: [\n DraggableItemComponent\n ],\n imports: [\n CommonModule,\n PepNgxLibModule,\n PepButtonModule,\n DragDropModule\n ],\n exports: [DraggableItemComponent],\n})\nexport class DraggableItemModule { }\n","/*\n * Public API Surface of ngx-composite-lib/draggable-item\n */\nexport * from './draggable-item.module';\nexport * from './draggable-item.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAOa,sBAAsB;;;;;;;;;;IAmB/B;QAjB6B,YAAO,GAAG,MAAM,CAAC;QAErC,UAAK,GAAG,EAAE,CAAC;QAEX,aAAQ,GAAG,KAAK,CAAC;KAaT;IAEjB,QAAQ;KACP;;mHAtBQ,sBAAsB;uGAAtB,sBAAsB,sKCPnC,yeAUM;2FDHO,sBAAsB;kBALlC,SAAS;mBAAC;oBACP,QAAQ,EAAE,oBAAoB;oBAC9B,WAAW,EAAE,iCAAiC;oBAC9C,SAAS,EAAE,CAAC,iCAAiC,CAAC;iBACjD;0EAGgC,OAAO;sBAAnC,WAAW;uBAAC,cAAc;gBAElB,KAAK;sBAAb,KAAK;gBAEG,QAAQ;sBAAhB,KAAK;;;MEQG,mBAAmB;;gHAAnB,mBAAmB;iHAAnB,mBAAmB,iBAVxB,sBAAsB,aAGtB,YAAY;QACZ,eAAe;QACf,eAAe;QACf,cAAc,aAER,sBAAsB;iHAEvB,mBAAmB,YARnB;YACL,YAAY;YACZ,eAAe;YACf,eAAe;YACf,cAAc;SACjB;2FAGQ,mBAAmB;kBAZ/B,QAAQ;mBAAC;oBACN,YAAY,EAAE;wBACV,sBAAsB;qBACzB;oBACD,OAAO,EAAE;wBACL,YAAY;wBACZ,eAAe;wBACf,eAAe;wBACf,cAAc;qBACjB;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;iBACpC;;;ACpBD;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"pepperi-addons-ngx-composite-lib-draggable-item.js","sources":["../../../projects/ngx-composite-lib/draggable-item/draggable-item.component.ts","../../../projects/ngx-composite-lib/draggable-item/draggable-item.component.html","../../../projects/ngx-composite-lib/draggable-item/draggable-item.module.ts","../../../projects/ngx-composite-lib/draggable-item/public-api.ts","../../../projects/ngx-composite-lib/draggable-item/pepperi-addons-ngx-composite-lib-draggable-item.ts"],"sourcesContent":["import { Component, EventEmitter, HostBinding, Input, OnInit, Output } from '@angular/core';\n\n@Component({\n selector: 'pep-draggable-item',\n templateUrl: './draggable-item.component.html',\n styleUrls: ['./draggable-item.component.scss']\n})\nexport class DraggableItemComponent implements OnInit {\n\n @HostBinding('style.cursor') _cursor = 'move';\n\n @Input() title = '';\n \n @Input() disabled = false;\n\n // private _isDraggable = false;\n // @Input()\n // set isDraggable(value: boolean) {\n // this._isDraggable = value;\n\n // this._cursor = value ? 'move' : 'inherit'\n // }\n // get isDraggable(): boolean {\n // return this._isDraggable;\n // }\n\n constructor() { }\n\n ngOnInit(): void {\n }\n}\n","<div class=\"draggable-item-container\" [ngClass]=\"{ 'disabled': disabled }\">\n <div class=\"\">\n <pep-button classNames=\"lock-events\" sizeType=\"xs\" iconName=\"system_move\"></pep-button>\n </div>\n <div *ngIf=\"title !== ''\" class=\"title-container\">\n <span class=\"body-sm bold ellipsis title\" title=\"{{title}}\">{{title}}</span>\n </div>\n <div class=\"actions\">\n <ng-content select=\"[pep-actions]\"></ng-content>\n </div>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PepNgxLibModule } from '@pepperi-addons/ngx-lib';\nimport { PepButtonModule } from '@pepperi-addons/ngx-lib/button';\n\nimport { DragDropModule } from '@angular/cdk/drag-drop';\n\nimport { DraggableItemComponent } from './draggable-item.component';\n\n@NgModule({\n declarations: [\n DraggableItemComponent\n ],\n imports: [\n CommonModule,\n PepNgxLibModule,\n PepButtonModule,\n DragDropModule\n ],\n exports: [DraggableItemComponent],\n})\nexport class PepDraggableItemModule { }\n","/*\n * Public API Surface of ngx-composite-lib/draggable-item\n */\nexport * from './draggable-item.module';\nexport * from './draggable-item.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAOa,sBAAsB;;;;;;;;;;IAmB/B;QAjB6B,YAAO,GAAG,MAAM,CAAC;QAErC,UAAK,GAAG,EAAE,CAAC;QAEX,aAAQ,GAAG,KAAK,CAAC;KAaT;IAEjB,QAAQ;KACP;;mHAtBQ,sBAAsB;uGAAtB,sBAAsB,sKCPnC,yeAUM;2FDHO,sBAAsB;kBALlC,SAAS;mBAAC;oBACP,QAAQ,EAAE,oBAAoB;oBAC9B,WAAW,EAAE,iCAAiC;oBAC9C,SAAS,EAAE,CAAC,iCAAiC,CAAC;iBACjD;0EAGgC,OAAO;sBAAnC,WAAW;uBAAC,cAAc;gBAElB,KAAK;sBAAb,KAAK;gBAEG,QAAQ;sBAAhB,KAAK;;;MEQG,sBAAsB;;mHAAtB,sBAAsB;oHAAtB,sBAAsB,iBAV3B,sBAAsB,aAGtB,YAAY;QACZ,eAAe;QACf,eAAe;QACf,cAAc,aAER,sBAAsB;oHAEvB,sBAAsB,YARtB;YACL,YAAY;YACZ,eAAe;YACf,eAAe;YACf,cAAc;SACjB;2FAGQ,sBAAsB;kBAZlC,QAAQ;mBAAC;oBACN,YAAY,EAAE;wBACV,sBAAsB;qBACzB;oBACD,OAAO,EAAE;wBACL,YAAY;wBACZ,eAAe;wBACf,eAAe;wBACf,cAAc;qBACjB;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;iBACpC;;;ACpBD;;;;ACAA;;;;;;"}
@@ -18,204 +18,204 @@ import { PepSearchModule } from '@pepperi-addons/ngx-lib/search';
18
18
  import { PepFormModule } from '@pepperi-addons/ngx-lib/form';
19
19
  import { PepMenuModule } from '@pepperi-addons/ngx-lib/menu';
20
20
 
21
- class GenericListComponent {
22
- // PepScreenSizeType = PepScreenSizeType;
23
- // screenSize: PepScreenSizeType;
24
- constructor(dataConvertorService, layoutService, translate) {
25
- this.dataConvertorService = dataConvertorService;
26
- this.layoutService = layoutService;
27
- this.translate = translate;
28
- this.dataObjects = [];
29
- this.searchString = '';
30
- this.addPadding = false;
31
- this.title = '';
32
- this.inline = false;
33
- this.showSearch = false;
34
- this.allowSelection = true;
35
- this.noDataMessage = "No data";
36
- this.allowMultipleSelection = false;
37
- this.fieldClick = new EventEmitter();
38
- // @Output()
39
- // onAddClicked = new EventEmitter<void>();
40
- this.menuHandlers = {};
41
- this.menuActions = [];
42
- this.layoutService.onResize$.pipe().subscribe((size) => {
43
- // this.screenSize = size;
44
- });
45
- }
46
- loadMenuItems() {
47
- if (this.allowSelection) {
48
- this.getMenuActions().then(x => this.menuActions = x);
49
- }
50
- }
51
- convertToPepRowData(object, dataView) {
52
- const row = new PepRowData();
53
- row.Fields = [];
54
- if ((dataView === null || dataView === void 0 ? void 0 : dataView.Fields) && dataView.Columns) {
55
- for (let index = 0; index < dataView.Fields.length; index++) {
56
- let field = dataView.Fields[index];
57
- row.Fields.push({
58
- ApiName: field.FieldID,
59
- Title: this.translate.instant(field.Title),
60
- XAlignment: 1,
61
- FormattedValue: (object[field.FieldID] || '').toString(),
62
- Value: (object[field.FieldID] || '').toString(),
63
- ColumnWidth: dataView.Columns[index].Width,
64
- AdditionalValue: '',
65
- OptionalValues: [],
66
- FieldType: DataViewFieldTypes[field.Type],
67
- ReadOnly: field.ReadOnly,
68
- Enabled: !field.ReadOnly
69
- });
70
- }
71
- }
72
- return row;
73
- }
74
- getMenuActions() {
75
- var _a;
76
- return __awaiter(this, void 0, void 0, function* () {
77
- const actions = yield ((_a = this.dataSource) === null || _a === void 0 ? void 0 : _a.getActions(this.getMenuObjects()));
78
- const res = [];
79
- this.menuHandlers = {};
80
- actions === null || actions === void 0 ? void 0 : actions.forEach(item => {
81
- const uuid = PepGuid.newGuid();
82
- this.menuHandlers[uuid] = item.handler;
83
- res.push({
84
- key: uuid,
85
- text: item.title
86
- });
87
- });
88
- return res;
89
- });
90
- }
91
- getMenuObjects() {
92
- var _a, _b, _c;
93
- let uuids = (_b = (_a = this.customList) === null || _a === void 0 ? void 0 : _a.getSelectedItemsData().rows) !== null && _b !== void 0 ? _b : [];
94
- if ((_c = this.customList) === null || _c === void 0 ? void 0 : _c.getIsAllSelectedForActions()) {
95
- uuids = this.dataObjects.map(obj => obj.UID).filter(x => uuids.indexOf(x) != -1);
96
- }
97
- const objects = uuids.map(uuid => this.getObject(uuid));
98
- return objects;
99
- }
100
- getObject(uuid) {
101
- return this.dataObjects.find(obj => obj.UID === uuid);
102
- }
103
- ngOnInit() {
104
- }
105
- ngAfterViewInit() {
106
- this.reload();
107
- }
108
- onMenuItemClicked(action) {
109
- this.menuHandlers[action.source.key](this.getMenuObjects());
110
- }
111
- onSearchChanged(event) {
112
- this.searchString = event.value;
113
- this.reload();
114
- }
115
- reload() {
116
- return __awaiter(this, void 0, void 0, function* () {
117
- if (this.customList && this.dataSource) {
118
- this.dataObjects = yield this.dataSource.getList({
119
- searchString: this.searchString
120
- });
121
- const dataView = yield this.dataSource.getDataView();
122
- const tableData = this.dataObjects.map(x => this.convertToPepRowData(x, dataView));
123
- const data = this.dataConvertorService.convertListData(tableData);
124
- data.forEach((obj, i) => {
125
- this.dataObjects[i].UID = obj.UID;
126
- });
127
- const uiControl = this.dataConvertorService.getUiControl(tableData[0]);
128
- this.customList.initListData(uiControl, data.length, data);
129
- this.loadMenuItems();
130
- }
131
- });
132
- }
133
- selectedRowsChanged(selectedRowsCount) {
134
- this.loadMenuItems();
135
- }
136
- onCustomizeFieldClick(fieldClickEvent) {
137
- this.fieldClick.emit(fieldClickEvent);
138
- }
139
- }
140
- GenericListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: GenericListComponent, deps: [{ token: i1.PepDataConvertorService }, { token: i1.PepLayoutService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
141
- GenericListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: GenericListComponent, selector: "pep-generic-list", inputs: { dataSource: "dataSource", addPadding: "addPadding", title: "title", inline: "inline", showSearch: "showSearch", allowSelection: "allowSelection", noDataMessage: "noDataMessage", allowMultipleSelection: "allowMultipleSelection" }, outputs: { fieldClick: "fieldClick" }, viewQueries: [{ propertyName: "customList", first: true, predicate: PepListComponent, descendants: true }], ngImport: i0, template: "<div *ngIf=\"inline\" class=\"inline-container\" [ngClass]=\"{ 'add-padding': addPadding }\">\n <div class=\"inline-top-bar-container\">\n <ng-container *ngTemplateOutlet=\"topBarTemplate\"></ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"listTemplate\"></ng-container>\n</div>\n\n<pep-page-layout *ngIf=\"!inline\" [addPadding]=\"addPadding\">\n <ng-container pep-top-area>\n <ng-container *ngTemplateOutlet=\"topBarTemplate\"></ng-container>\n </ng-container>\n\n <div pep-main-area class=\"main-area-container\">\n <ng-container *ngTemplateOutlet=\"listTemplate\"></ng-container>\n </div>\n</pep-page-layout>\n \n<ng-template #topBarTemplate>\n <pep-top-bar [title]=\"title\" [inline]=\"inline\">\n <div header-start-content>\n <ng-content select=\"[left-buttons]\"></ng-content>\n </div>\n <div header-end-content>\n <ng-content select=\"[right-buttons]\"></ng-content>\n </div>\n <pep-list-actions [sizeType]=\"inline ? 'sm' : 'md'\" [actions]=\"menuActions\" (actionClick)=\"onMenuItemClicked($event)\"></pep-list-actions>\n <pep-list-total [sizeType]=\"inline ? 'sm' : 'md'\" [totalRows]=\"customList ? customList.totalRows : -1\"></pep-list-total>\n\n <pep-search *ngIf=\"showSearch\" [sizeType]=\"inline ? 'sm' : 'md'\" (search)=\"onSearchChanged($event)\">\n </pep-search>\n </pep-top-bar>\n</ng-template>\n\n<ng-template #listTemplate>\n <div #listContainer class=\"list-container\">\n <pep-list viewType=\"table\" [supportSorting]=\"false\"\n [selectionTypeForActions]=\"allowMultipleSelection ? 'multi' : (allowSelection ? 'single' : 'none')\" [noDataFoundMsg]=\"noDataMessage\"\n (fieldClick)=\"onCustomizeFieldClick($event)\"\n (selectedItemsChange)=\"selectedRowsChanged($event)\">\n </pep-list>\n </div>\n</ng-template>", styles: [":host{height:inherit;display:block}.main-area-container{display:grid;height:inherit}.list-container{height:100%}.inline-container{height:inherit;display:grid;grid-template-rows:auto 1fr}.inline-container.add-padding{padding-inline:var(--pep-spacing-lg, 1rem)}.inline-container ::ng-deep .pep-top-bar-container.inline{height:auto;overflow:hidden}\n"], components: [{ type: i3.PepPageLayoutComponent, selector: "pep-page-layout", inputs: ["addPadding", "showShadow"] }, { type: i4.PepTopBarComponent, selector: "pep-top-bar", inputs: ["inline", "title"], outputs: ["footerStateChange"] }, { type: i5.PepListActionsComponent, selector: "pep-list-actions", inputs: ["actions", "sizeType", "xPosition", "hidden"], outputs: ["actionClick", "stateChange", "menuClick"] }, { type: i5.PepListTotalComponent, selector: "pep-list-total", inputs: ["totalRows", "totalAmount", "isMapView", "sizeType"] }, { type: i6.PepSearchComponent, selector: "pep-search", inputs: ["triggerOn", "autoCompleteTop", "shrinkInSmallScreen", "sizeType", "autoCompleteValues", "value", "searchControl", "useAsWebComponent"], outputs: ["search", "autocompleteChange", "stateChange"] }, { type: i5.PepListComponent, selector: "pep-list", inputs: ["noDataFoundMsg", "selectionTypeForActions", "showCardSelection", "hideAllSelectionInMulti", "cardSize", "firstFieldAsLink", "supportSorting", "supportResizing", "disabled", "lockItemInnerEvents", "printMode", "isReport", "totalsRow", "pagerType", "pageSize", "pageIndex", "scrollAnimationTime", "scrollDebounceTime", "scrollThrottlingTime", "viewType", "parentScroll", "lockEvents", "useAsWebComponent"], outputs: ["itemClick", "fieldClick", "valueChange", "sortingChange", "selectedItemsChange", "selectedItemChange", "selectAllClick", "listLoad", "loadItems", "loadPage", "startIndexChange"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: GenericListComponent, decorators: [{
143
- type: Component,
144
- args: [{
145
- selector: 'pep-generic-list',
146
- templateUrl: './generic-list.component.html',
147
- styleUrls: ['./generic-list.component.scss'],
148
- }]
149
- }], ctorParameters: function () { return [{ type: i1.PepDataConvertorService }, { type: i1.PepLayoutService }, { type: i2.TranslateService }]; }, propDecorators: { customList: [{
150
- type: ViewChild,
151
- args: [PepListComponent]
152
- }], dataSource: [{
153
- type: Input
154
- }], addPadding: [{
155
- type: Input
156
- }], title: [{
157
- type: Input
158
- }], inline: [{
159
- type: Input
160
- }], showSearch: [{
161
- type: Input
162
- }], allowSelection: [{
163
- type: Input
164
- }], noDataMessage: [{
165
- type: Input
166
- }], allowMultipleSelection: [{
167
- type: Input
168
- }], fieldClick: [{
169
- type: Output
21
+ class GenericListComponent {
22
+ // PepScreenSizeType = PepScreenSizeType;
23
+ // screenSize: PepScreenSizeType;
24
+ constructor(dataConvertorService, layoutService, translate) {
25
+ this.dataConvertorService = dataConvertorService;
26
+ this.layoutService = layoutService;
27
+ this.translate = translate;
28
+ this.dataObjects = [];
29
+ this.searchString = '';
30
+ this.addPadding = false;
31
+ this.title = '';
32
+ this.inline = false;
33
+ this.showSearch = false;
34
+ this.allowSelection = true;
35
+ this.noDataMessage = "No data";
36
+ this.allowMultipleSelection = false;
37
+ this.fieldClick = new EventEmitter();
38
+ // @Output()
39
+ // onAddClicked = new EventEmitter<void>();
40
+ this.menuHandlers = {};
41
+ this.menuActions = [];
42
+ this.layoutService.onResize$.pipe().subscribe((size) => {
43
+ // this.screenSize = size;
44
+ });
45
+ }
46
+ loadMenuItems() {
47
+ if (this.allowSelection) {
48
+ this.getMenuActions().then(x => this.menuActions = x);
49
+ }
50
+ }
51
+ convertToPepRowData(object, dataView) {
52
+ const row = new PepRowData();
53
+ row.Fields = [];
54
+ if ((dataView === null || dataView === void 0 ? void 0 : dataView.Fields) && dataView.Columns) {
55
+ for (let index = 0; index < dataView.Fields.length; index++) {
56
+ let field = dataView.Fields[index];
57
+ row.Fields.push({
58
+ ApiName: field.FieldID,
59
+ Title: this.translate.instant(field.Title),
60
+ XAlignment: 1,
61
+ FormattedValue: (object[field.FieldID] || '').toString(),
62
+ Value: (object[field.FieldID] || '').toString(),
63
+ ColumnWidth: dataView.Columns[index].Width,
64
+ AdditionalValue: '',
65
+ OptionalValues: [],
66
+ FieldType: DataViewFieldTypes[field.Type],
67
+ ReadOnly: field.ReadOnly,
68
+ Enabled: !field.ReadOnly
69
+ });
70
+ }
71
+ }
72
+ return row;
73
+ }
74
+ getMenuActions() {
75
+ var _a;
76
+ return __awaiter(this, void 0, void 0, function* () {
77
+ const actions = yield ((_a = this.dataSource) === null || _a === void 0 ? void 0 : _a.getActions(this.getMenuObjects()));
78
+ const res = [];
79
+ this.menuHandlers = {};
80
+ actions === null || actions === void 0 ? void 0 : actions.forEach(item => {
81
+ const uuid = PepGuid.newGuid();
82
+ this.menuHandlers[uuid] = item.handler;
83
+ res.push({
84
+ key: uuid,
85
+ text: item.title
86
+ });
87
+ });
88
+ return res;
89
+ });
90
+ }
91
+ getMenuObjects() {
92
+ var _a, _b, _c;
93
+ let uuids = (_b = (_a = this.customList) === null || _a === void 0 ? void 0 : _a.getSelectedItemsData().rows) !== null && _b !== void 0 ? _b : [];
94
+ if ((_c = this.customList) === null || _c === void 0 ? void 0 : _c.getIsAllSelectedForActions()) {
95
+ uuids = this.dataObjects.map(obj => obj.UID).filter(x => uuids.indexOf(x) != -1);
96
+ }
97
+ const objects = uuids.map(uuid => this.getObject(uuid));
98
+ return objects;
99
+ }
100
+ getObject(uuid) {
101
+ return this.dataObjects.find(obj => obj.UID === uuid);
102
+ }
103
+ ngOnInit() {
104
+ }
105
+ ngAfterViewInit() {
106
+ this.reload();
107
+ }
108
+ onMenuItemClicked(action) {
109
+ this.menuHandlers[action.source.key](this.getMenuObjects());
110
+ }
111
+ onSearchChanged(event) {
112
+ this.searchString = event.value;
113
+ this.reload();
114
+ }
115
+ reload() {
116
+ return __awaiter(this, void 0, void 0, function* () {
117
+ if (this.customList && this.dataSource) {
118
+ this.dataObjects = yield this.dataSource.getList({
119
+ searchString: this.searchString
120
+ });
121
+ const dataView = yield this.dataSource.getDataView();
122
+ const tableData = this.dataObjects.map(x => this.convertToPepRowData(x, dataView));
123
+ const data = this.dataConvertorService.convertListData(tableData);
124
+ data.forEach((obj, i) => {
125
+ this.dataObjects[i].UID = obj.UID;
126
+ });
127
+ const uiControl = this.dataConvertorService.getUiControl(tableData[0]);
128
+ this.customList.initListData(uiControl, data.length, data);
129
+ this.loadMenuItems();
130
+ }
131
+ });
132
+ }
133
+ selectedRowsChanged(selectedRowsCount) {
134
+ this.loadMenuItems();
135
+ }
136
+ onCustomizeFieldClick(fieldClickEvent) {
137
+ this.fieldClick.emit(fieldClickEvent);
138
+ }
139
+ }
140
+ GenericListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: GenericListComponent, deps: [{ token: i1.PepDataConvertorService }, { token: i1.PepLayoutService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
141
+ GenericListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: GenericListComponent, selector: "pep-generic-list", inputs: { dataSource: "dataSource", addPadding: "addPadding", title: "title", inline: "inline", showSearch: "showSearch", allowSelection: "allowSelection", noDataMessage: "noDataMessage", allowMultipleSelection: "allowMultipleSelection" }, outputs: { fieldClick: "fieldClick" }, viewQueries: [{ propertyName: "customList", first: true, predicate: PepListComponent, descendants: true }], ngImport: i0, template: "<div *ngIf=\"inline\" class=\"inline-container\" [ngClass]=\"{ 'add-padding': addPadding }\">\n <div class=\"inline-top-bar-container\">\n <ng-container *ngTemplateOutlet=\"topBarTemplate\"></ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"listTemplate\"></ng-container>\n</div>\n\n<pep-page-layout *ngIf=\"!inline\" [addPadding]=\"addPadding\">\n <ng-container pep-top-area>\n <ng-container *ngTemplateOutlet=\"topBarTemplate\"></ng-container>\n </ng-container>\n\n <div pep-main-area class=\"main-area-container\">\n <ng-container *ngTemplateOutlet=\"listTemplate\"></ng-container>\n </div>\n</pep-page-layout>\n \n<ng-template #topBarTemplate>\n <pep-top-bar [title]=\"title\" [inline]=\"inline\">\n <div header-start-content>\n <ng-content select=\"[left-buttons]\"></ng-content>\n </div>\n <div header-end-content>\n <ng-content select=\"[right-buttons]\"></ng-content>\n </div>\n <pep-list-actions [sizeType]=\"inline ? 'sm' : 'md'\" [actions]=\"menuActions\" (actionClick)=\"onMenuItemClicked($event)\"></pep-list-actions>\n <pep-list-total [sizeType]=\"inline ? 'sm' : 'md'\" [totalRows]=\"customList ? customList.totalRows : -1\"></pep-list-total>\n\n <pep-search *ngIf=\"showSearch\" [sizeType]=\"inline ? 'sm' : 'md'\" (search)=\"onSearchChanged($event)\">\n </pep-search>\n </pep-top-bar>\n</ng-template>\n\n<ng-template #listTemplate>\n <div #listContainer class=\"list-container\">\n <pep-list viewType=\"table\" [supportSorting]=\"false\"\n [selectionTypeForActions]=\"allowMultipleSelection ? 'multi' : (allowSelection ? 'single' : 'none')\" [noDataFoundMsg]=\"noDataMessage\"\n (fieldClick)=\"onCustomizeFieldClick($event)\"\n (selectedItemsChange)=\"selectedRowsChanged($event)\">\n </pep-list>\n </div>\n</ng-template>", styles: [":host{height:inherit;display:block}.main-area-container{display:grid;height:inherit}.list-container{height:100%}.inline-container{height:inherit;display:grid;grid-template-rows:auto 1fr}.inline-container.add-padding{padding-inline:var(--pep-spacing-lg, 1rem)}.inline-container ::ng-deep .pep-top-bar-container.inline{height:auto;overflow:hidden}\n"], components: [{ type: i3.PepPageLayoutComponent, selector: "pep-page-layout", inputs: ["addPadding", "showShadow"] }, { type: i4.PepTopBarComponent, selector: "pep-top-bar", inputs: ["inline", "title"], outputs: ["footerStateChange"] }, { type: i5.PepListActionsComponent, selector: "pep-list-actions", inputs: ["actions", "sizeType", "xPosition", "hidden"], outputs: ["actionClick", "stateChange", "menuClick"] }, { type: i5.PepListTotalComponent, selector: "pep-list-total", inputs: ["totalRows", "totalAmount", "isMapView", "sizeType"] }, { type: i6.PepSearchComponent, selector: "pep-search", inputs: ["triggerOn", "autoCompleteTop", "shrinkInSmallScreen", "sizeType", "autoCompleteValues", "value", "searchControl", "useAsWebComponent"], outputs: ["search", "autocompleteChange", "stateChange"] }, { type: i5.PepListComponent, selector: "pep-list", inputs: ["noDataFoundMsg", "selectionTypeForActions", "showCardSelection", "hideAllSelectionInMulti", "cardSize", "firstFieldAsLink", "supportSorting", "supportResizing", "disabled", "lockItemInnerEvents", "printMode", "isReport", "totalsRow", "pagerType", "pageSize", "pageIndex", "scrollAnimationTime", "scrollDebounceTime", "scrollThrottlingTime", "viewType", "parentScroll", "lockEvents", "useAsWebComponent"], outputs: ["itemClick", "fieldClick", "valueChange", "sortingChange", "selectedItemsChange", "selectedItemChange", "selectAllClick", "listLoad", "loadItems", "loadPage", "startIndexChange"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: GenericListComponent, decorators: [{
143
+ type: Component,
144
+ args: [{
145
+ selector: 'pep-generic-list',
146
+ templateUrl: './generic-list.component.html',
147
+ styleUrls: ['./generic-list.component.scss'],
148
+ }]
149
+ }], ctorParameters: function () { return [{ type: i1.PepDataConvertorService }, { type: i1.PepLayoutService }, { type: i2.TranslateService }]; }, propDecorators: { customList: [{
150
+ type: ViewChild,
151
+ args: [PepListComponent]
152
+ }], dataSource: [{
153
+ type: Input
154
+ }], addPadding: [{
155
+ type: Input
156
+ }], title: [{
157
+ type: Input
158
+ }], inline: [{
159
+ type: Input
160
+ }], showSearch: [{
161
+ type: Input
162
+ }], allowSelection: [{
163
+ type: Input
164
+ }], noDataMessage: [{
165
+ type: Input
166
+ }], allowMultipleSelection: [{
167
+ type: Input
168
+ }], fieldClick: [{
169
+ type: Output
170
170
  }] } });
171
171
 
172
- class PepGenericListModule {
173
- }
174
- PepGenericListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepGenericListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
175
- PepGenericListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepGenericListModule, declarations: [GenericListComponent], imports: [CommonModule,
176
- PepNgxLibModule,
177
- PepListModule,
178
- PepFormModule,
179
- PepMenuModule,
180
- PepPageLayoutModule,
181
- PepTopBarModule,
182
- PepSearchModule], exports: [GenericListComponent] });
183
- PepGenericListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepGenericListModule, imports: [[
184
- CommonModule,
185
- PepNgxLibModule,
186
- PepListModule,
187
- PepFormModule,
188
- PepMenuModule,
189
- PepPageLayoutModule,
190
- PepTopBarModule,
191
- PepSearchModule
192
- ]] });
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepGenericListModule, decorators: [{
194
- type: NgModule,
195
- args: [{
196
- declarations: [
197
- GenericListComponent
198
- ],
199
- imports: [
200
- CommonModule,
201
- PepNgxLibModule,
202
- PepListModule,
203
- PepFormModule,
204
- PepMenuModule,
205
- PepPageLayoutModule,
206
- PepTopBarModule,
207
- PepSearchModule
208
- ],
209
- exports: [GenericListComponent],
210
- }]
172
+ class PepGenericListModule {
173
+ }
174
+ PepGenericListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepGenericListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
175
+ PepGenericListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepGenericListModule, declarations: [GenericListComponent], imports: [CommonModule,
176
+ PepNgxLibModule,
177
+ PepListModule,
178
+ PepFormModule,
179
+ PepMenuModule,
180
+ PepPageLayoutModule,
181
+ PepTopBarModule,
182
+ PepSearchModule], exports: [GenericListComponent] });
183
+ PepGenericListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepGenericListModule, imports: [[
184
+ CommonModule,
185
+ PepNgxLibModule,
186
+ PepListModule,
187
+ PepFormModule,
188
+ PepMenuModule,
189
+ PepPageLayoutModule,
190
+ PepTopBarModule,
191
+ PepSearchModule
192
+ ]] });
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepGenericListModule, decorators: [{
194
+ type: NgModule,
195
+ args: [{
196
+ declarations: [
197
+ GenericListComponent
198
+ ],
199
+ imports: [
200
+ CommonModule,
201
+ PepNgxLibModule,
202
+ PepListModule,
203
+ PepFormModule,
204
+ PepMenuModule,
205
+ PepPageLayoutModule,
206
+ PepTopBarModule,
207
+ PepSearchModule
208
+ ],
209
+ exports: [GenericListComponent],
210
+ }]
211
211
  }] });
212
212
 
213
- /*
214
- * Public API Surface of ngx-composite-lib/generic-list
213
+ /*
214
+ * Public API Surface of ngx-composite-lib/generic-list
215
215
  */
216
216
 
217
- /**
218
- * Generated bundle index. Do not edit.
217
+ /**
218
+ * Generated bundle index. Do not edit.
219
219
  */
220
220
 
221
221
  export { GenericListComponent, PepGenericListModule };