@pepperi-addons/ngx-composite-lib 0.0.9 → 0.0.10

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 (30) hide show
  1. package/bundles/pepperi-addons-ngx-composite-lib-draggable-item.umd.js +112 -0
  2. package/bundles/pepperi-addons-ngx-composite-lib-draggable-item.umd.js.map +1 -0
  3. package/bundles/pepperi-addons-ngx-composite-lib-group-buttons-settings.umd.js +219 -0
  4. package/bundles/pepperi-addons-ngx-composite-lib-group-buttons-settings.umd.js.map +1 -0
  5. package/draggable-item/draggable-item.component.d.ts +11 -0
  6. package/draggable-item/draggable-item.module.d.ts +11 -0
  7. package/draggable-item/package.json +13 -0
  8. package/draggable-item/pepperi-addons-ngx-composite-lib-draggable-item.d.ts +5 -0
  9. package/draggable-item/public-api.d.ts +2 -0
  10. package/esm2015/draggable-item/draggable-item.component.js +40 -0
  11. package/esm2015/draggable-item/draggable-item.module.js +36 -0
  12. package/esm2015/draggable-item/pepperi-addons-ngx-composite-lib-draggable-item.js +5 -0
  13. package/esm2015/draggable-item/public-api.js +6 -0
  14. package/esm2015/group-buttons-settings/group-buttons-settings.component.js +132 -0
  15. package/esm2015/group-buttons-settings/group-buttons-settings.model.js +2 -0
  16. package/esm2015/group-buttons-settings/group-buttons-settings.module.js +47 -0
  17. package/esm2015/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.js +5 -0
  18. package/esm2015/group-buttons-settings/public-api.js +7 -0
  19. package/fesm2015/pepperi-addons-ngx-composite-lib-draggable-item.js +84 -0
  20. package/fesm2015/pepperi-addons-ngx-composite-lib-draggable-item.js.map +1 -0
  21. package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.js +187 -0
  22. package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.js.map +1 -0
  23. package/group-buttons-settings/group-buttons-settings.component.d.ts +32 -0
  24. package/group-buttons-settings/group-buttons-settings.model.d.ts +1 -0
  25. package/group-buttons-settings/group-buttons-settings.module.d.ts +14 -0
  26. package/group-buttons-settings/package.json +13 -0
  27. package/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.d.ts +5 -0
  28. package/group-buttons-settings/public-api.d.ts +3 -0
  29. package/package.json +1 -1
  30. package/src/assets/i18n/en.ngx-composite-lib.json +24 -1
@@ -0,0 +1,112 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@pepperi-addons/ngx-lib'), require('@pepperi-addons/ngx-lib/button'), require('@angular/cdk/drag-drop')) :
3
+ typeof define === 'function' && define.amd ? define('@pepperi-addons/ngx-composite-lib/draggable-item', ['exports', '@angular/core', '@angular/common', '@pepperi-addons/ngx-lib', '@pepperi-addons/ngx-lib/button', '@angular/cdk/drag-drop'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["pepperi-addons"] = global["pepperi-addons"] || {}, global["pepperi-addons"]["ngx-composite-lib"] = global["pepperi-addons"]["ngx-composite-lib"] || {}, global["pepperi-addons"]["ngx-composite-lib"]["draggable-item"] = {}), global.ng.core, global.ng.common, global["ngx-lib"], global.i1, global.ng.cdk.dragDrop));
5
+ })(this, (function (exports, i0, i2, ngxLib, i1, dragDrop) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
27
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
28
+
29
+ var DraggableItemComponent = /** @class */ (function () {
30
+ // private _isDraggable = false;
31
+ // @Input()
32
+ // set isDraggable(value: boolean) {
33
+ // this._isDraggable = value;
34
+ // this._cursor = value ? 'move' : 'inherit'
35
+ // }
36
+ // get isDraggable(): boolean {
37
+ // return this._isDraggable;
38
+ // }
39
+ function DraggableItemComponent() {
40
+ this._cursor = 'move';
41
+ this.title = '';
42
+ this.disabled = false;
43
+ }
44
+ DraggableItemComponent.prototype.ngOnInit = function () {
45
+ };
46
+ return DraggableItemComponent;
47
+ }());
48
+ DraggableItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: DraggableItemComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
49
+ DraggableItemComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.PepButtonComponent, selector: "pep-button", inputs: ["styleType", "styleStateType", "sizeType", "classNames", "disabled", "iconPosition", "visible", "key", "value", "iconName"], outputs: ["buttonClick"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
50
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: DraggableItemComponent, decorators: [{
51
+ type: i0.Component,
52
+ args: [{
53
+ selector: 'pep-draggable-item',
54
+ templateUrl: './draggable-item.component.html',
55
+ styleUrls: ['./draggable-item.component.scss']
56
+ }]
57
+ }], ctorParameters: function () { return []; }, propDecorators: { _cursor: [{
58
+ type: i0.HostBinding,
59
+ args: ['style.cursor']
60
+ }], title: [{
61
+ type: i0.Input
62
+ }], disabled: [{
63
+ type: i0.Input
64
+ }] } });
65
+
66
+ var DraggableItemModule = /** @class */ (function () {
67
+ function DraggableItemModule() {
68
+ }
69
+ return DraggableItemModule;
70
+ }());
71
+ DraggableItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: DraggableItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
72
+ DraggableItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: DraggableItemModule, declarations: [DraggableItemComponent], imports: [i2.CommonModule,
73
+ ngxLib.PepNgxLibModule,
74
+ i1.PepButtonModule,
75
+ dragDrop.DragDropModule], exports: [DraggableItemComponent] });
76
+ DraggableItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: DraggableItemModule, imports: [[
77
+ i2.CommonModule,
78
+ ngxLib.PepNgxLibModule,
79
+ i1.PepButtonModule,
80
+ dragDrop.DragDropModule
81
+ ]] });
82
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: DraggableItemModule, decorators: [{
83
+ type: i0.NgModule,
84
+ args: [{
85
+ declarations: [
86
+ DraggableItemComponent
87
+ ],
88
+ imports: [
89
+ i2.CommonModule,
90
+ ngxLib.PepNgxLibModule,
91
+ i1.PepButtonModule,
92
+ dragDrop.DragDropModule
93
+ ],
94
+ exports: [DraggableItemComponent],
95
+ }]
96
+ }] });
97
+
98
+ /*
99
+ * Public API Surface of ngx-composite-lib/draggable-item
100
+ */
101
+
102
+ /**
103
+ * Generated bundle index. Do not edit.
104
+ */
105
+
106
+ exports.DraggableItemComponent = DraggableItemComponent;
107
+ exports.DraggableItemModule = DraggableItemModule;
108
+
109
+ Object.defineProperty(exports, '__esModule', { value: true });
110
+
111
+ }));
112
+ //# sourceMappingURL=pepperi-addons-ngx-composite-lib-draggable-item.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pepperi-addons-ngx-composite-lib-draggable-item.umd.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":["Component","HostBinding","Input","CommonModule","PepNgxLibModule","PepButtonModule","DragDropModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA0BI;YAjB6B,YAAO,GAAG,MAAM,CAAC;YAErC,UAAK,GAAG,EAAE,CAAC;YAEX,aAAQ,GAAG,KAAK,CAAC;SAaT;QAEjB,yCAAQ,GAAR;SACC;;;6IAtBQ,sBAAsB;sHAAtB,sBAAsB,iLCPnC,yeAUM;qHDHO,sBAAsB;sBALlCA,YAAS;uBAAC;wBACP,QAAQ,EAAE,oBAAoB;wBAC9B,WAAW,EAAE,iCAAiC;wBAC9C,SAAS,EAAE,CAAC,iCAAiC,CAAC;qBACjD;8EAGgC,OAAO;0BAAnCC,cAAW;2BAAC,cAAc;oBAElB,KAAK;0BAAbC,QAAK;oBAEG,QAAQ;0BAAhBA,QAAK;;;;QEQV;;;;0IAAa,mBAAmB;2IAAnB,mBAAmB,iBAVxB,sBAAsB,aAGtBC,eAAY;YACZC,sBAAe;YACfC,kBAAe;YACfC,uBAAc,aAER,sBAAsB;2IAEvB,mBAAmB,YARnB;gBACLH,eAAY;gBACZC,sBAAe;gBACfC,kBAAe;gBACfC,uBAAc;aACjB;qHAGQ,mBAAmB;sBAZ/BC,WAAQ;uBAAC;wBACN,YAAY,EAAE;4BACV,sBAAsB;yBACzB;wBACD,OAAO,EAAE;4BACLJ,eAAY;4BACZC,sBAAe;4BACfC,kBAAe;4BACfC,uBAAc;yBACjB;wBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;qBACpC;;;ICpBD;;;;ICAA;;;;;;;;;;;;;"}
@@ -0,0 +1,219 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@ngx-translate/core'), require('@pepperi-addons/ngx-lib/field-title'), require('@pepperi-addons/ngx-lib/group-buttons'), require('@pepperi-addons/ngx-lib'), require('@pepperi-addons/ngx-lib/icon')) :
3
+ typeof define === 'function' && define.amd ? define('@pepperi-addons/ngx-composite-lib/group-buttons-settings', ['exports', '@angular/core', '@angular/common', '@ngx-translate/core', '@pepperi-addons/ngx-lib/field-title', '@pepperi-addons/ngx-lib/group-buttons', '@pepperi-addons/ngx-lib', '@pepperi-addons/ngx-lib/icon'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["pepperi-addons"] = global["pepperi-addons"] || {}, global["pepperi-addons"]["ngx-composite-lib"] = global["pepperi-addons"]["ngx-composite-lib"] || {}, global["pepperi-addons"]["ngx-composite-lib"]["group-buttons-settings"] = {}), global.ng.core, global.ng.common, global.translate, global["ngx-lib/field-title"], global["ngx-lib/group-buttons"], global["ngx-lib"], global["ngx-lib/icon"]));
5
+ })(this, (function (exports, i0, i4, i1, i2, i3, ngxLib, i1$1) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
27
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
28
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
29
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
30
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
31
+
32
+ var GroupButtonsSettingsComponent = /** @class */ (function () {
33
+ // pepB: PepSizeType | 'none' = "xs";
34
+ function GroupButtonsSettingsComponent(translate) {
35
+ this.translate = translate;
36
+ this.header = '';
37
+ this.subHeader = '';
38
+ this.groupType = 'sizes';
39
+ this.btnsArray = [];
40
+ this.excludeKeys = []; // for example ['xs','xl']
41
+ this.useNone = false;
42
+ this.disabled = false;
43
+ this.btnkeyChange = new i0.EventEmitter();
44
+ this.none = { key: 'none' };
45
+ this.sizes = [];
46
+ }
47
+ Object.defineProperty(GroupButtonsSettingsComponent.prototype, "btnKey", {
48
+ get: function () {
49
+ return this._btnKey;
50
+ },
51
+ set: function (value) {
52
+ if (!value) {
53
+ this._btnKey = '';
54
+ }
55
+ else {
56
+ this._btnKey = value;
57
+ }
58
+ },
59
+ enumerable: false,
60
+ configurable: true
61
+ });
62
+ GroupButtonsSettingsComponent.prototype.ngOnInit = function () {
63
+ var _this = this;
64
+ // Get the first translation for load all translations.
65
+ this.translate.get('SHADOW_SETTINGS.INTENSITY_SOFT').toPromise().then(function (typeSoft) {
66
+ _this.none = { key: 'none', value: _this.translate.instant('GENERAL.NONE'), callback: function () { return _this.onKeyChange(null); } };
67
+ _this.arrayMerge();
68
+ });
69
+ };
70
+ GroupButtonsSettingsComponent.prototype.arrayMerge = function () {
71
+ var _this = this;
72
+ this.btnsArray = this.getButtonsArray();
73
+ // check if need to remove items from the buttons array
74
+ if (this.excludeKeys) {
75
+ this.btnsArray = this.btnsArray.filter(function (i) { return !_this.excludeKeys.find(function (f) { return f === i.key; }); });
76
+ }
77
+ // check if need to add the None button
78
+ if (this.useNone) {
79
+ this.btnsArray = [this.none].concat(this.btnsArray);
80
+ }
81
+ };
82
+ GroupButtonsSettingsComponent.prototype.onKeyChange = function (event) {
83
+ var _a;
84
+ this.btnKey = ((_a = event === null || event === void 0 ? void 0 : event.source) === null || _a === void 0 ? void 0 : _a.key) || 'none';
85
+ this.btnkeyChange.emit(this.btnKey);
86
+ };
87
+ GroupButtonsSettingsComponent.prototype.getButtonsArray = function () {
88
+ var _this = this;
89
+ switch (this.groupType) {
90
+ case 'custom': {
91
+ return this.btnsArray;
92
+ }
93
+ case 'sizes': {
94
+ return [
95
+ { key: 'xs', value: this.translate.instant('GENERAL.XS'), callback: function (event) { return _this.onKeyChange(event); } },
96
+ { key: 'sm', value: this.translate.instant('GENERAL.SM'), callback: function (event) { return _this.onKeyChange(event); } },
97
+ { key: 'md', value: this.translate.instant('GENERAL.MD'), callback: function (event) { return _this.onKeyChange(event); } },
98
+ { key: 'lg', value: this.translate.instant('GENERAL.LG'), callback: function (event) { return _this.onKeyChange(event); } },
99
+ { key: 'xl', value: this.translate.instant('GENERAL.XL'), callback: function (event) { return _this.onKeyChange(event); } }
100
+ ];
101
+ }
102
+ case 'vertical-align': {
103
+ return [
104
+ { key: 'start', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.TOP'), callback: function (event) { return _this.onKeyChange(event); } },
105
+ { key: 'center', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.MIDDLE'), callback: function (event) { return _this.onKeyChange(event); } },
106
+ { key: 'end', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.BOTTOM'), callback: function (event) { return _this.onKeyChange(event); } }
107
+ ];
108
+ }
109
+ case 'horizontal-align': {
110
+ return [
111
+ { key: 'left', iconName: 'text_align_right', callback: function (event) { return _this.onKeyChange(event); } },
112
+ { key: 'center', iconName: 'text_align_center', callback: function (event) { return _this.onKeyChange(event); } },
113
+ { key: 'right', iconName: 'text_align_left', callback: function (event) { return _this.onKeyChange(event); } },
114
+ ];
115
+ }
116
+ case 'font-weight': {
117
+ return [
118
+ { key: 'normal', value: this.translate.instant('GENERAL.FONT_WEIGHT.NORMAL'), callback: function (event) { return _this.onKeyChange(event); } },
119
+ { key: 'bold', value: this.translate.instant('GENERAL.FONT_WEIGHT.BOLD'), callback: function (event) { return _this.onKeyChange(event); } },
120
+ { key: 'bolder', value: this.translate.instant('GENERAL.FONT_WEIGHT.BOLDER'), callback: function (event) { return _this.onKeyChange(event); } }
121
+ ];
122
+ }
123
+ case 'width-sizes': {
124
+ return [
125
+ { key: 'narrow', value: this.translate.instant('GENERAL.WIDTH_SIZE.NARROW'), callback: function (event) { return _this.onKeyChange(event); } },
126
+ { key: 'regular', value: this.translate.instant('GENERAL.WIDTH_SIZE.REGULAR'), callback: function (event) { return _this.onKeyChange(event); } },
127
+ { key: 'wide', value: this.translate.instant('GENERAL.WIDTH_SIZE.WIDE'), callback: function (event) { return _this.onKeyChange(event); } }
128
+ ];
129
+ }
130
+ default: {
131
+ return [];
132
+ }
133
+ }
134
+ };
135
+ return GroupButtonsSettingsComponent;
136
+ }());
137
+ GroupButtonsSettingsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GroupButtonsSettingsComponent, deps: [{ token: i1__namespace.TranslateService }], target: i0__namespace.ɵɵFactoryTarget.Component });
138
+ GroupButtonsSettingsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: GroupButtonsSettingsComponent, selector: "pep-group-buttons-settings", inputs: { header: "header", subHeader: "subHeader", groupType: "groupType", btnsArray: "btnsArray", excludeKeys: "excludeKeys", useNone: "useNone", disabled: "disabled", btnKey: "btnKey" }, outputs: { btnkeyChange: "btnkeyChange" }, ngImport: i0__namespace, template: "<label *ngIf=\"header != ''\" class=\"body-xl bold ellipsis\">{{header}}</label>\n<pep-field-title *ngIf=\"subHeader !=''\" [label]=\"subHeader\" [disabled]=\"disabled\"></pep-field-title>\n<pep-group-buttons [buttons]=\"btnsArray\" \n [selectedButtonKey]=\"btnKey\" \n [stretch]=\"true\" \n buttonsClass=\"md regular\" \n [buttonsDisabled]=\"disabled\" \n viewType=\"toggle\">\n</pep-group-buttons>\n", styles: [":host{width:100%}:host .shadow-size-group,:host .shadow-type-group{display:block;margin-bottom:var(--pep-form-spacing, 1rem)}\n"], components: [{ type: i2__namespace.PepFieldTitleComponent, selector: "pep-field-title", inputs: ["label", "mandatory", "disabled", "maxFieldCharacters", "hint", "xAlignment", "showTitle", "inputLength"] }, { type: i3__namespace.PepGroupButtonsComponent, selector: "pep-group-buttons", inputs: ["viewType", "styleType", "sizeType", "buttons", "buttonsDisabled", "selectedButtonKey", "stretch"], outputs: ["buttonClick"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
139
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GroupButtonsSettingsComponent, decorators: [{
140
+ type: i0.Component,
141
+ args: [{
142
+ selector: 'pep-group-buttons-settings',
143
+ templateUrl: './group-buttons-settings.component.html',
144
+ styleUrls: ['./group-buttons-settings.component.scss']
145
+ }]
146
+ }], ctorParameters: function () { return [{ type: i1__namespace.TranslateService }]; }, propDecorators: { header: [{
147
+ type: i0.Input
148
+ }], subHeader: [{
149
+ type: i0.Input
150
+ }], groupType: [{
151
+ type: i0.Input
152
+ }], btnsArray: [{
153
+ type: i0.Input
154
+ }], excludeKeys: [{
155
+ type: i0.Input
156
+ }], useNone: [{
157
+ type: i0.Input
158
+ }], disabled: [{
159
+ type: i0.Input
160
+ }], btnKey: [{
161
+ type: i0.Input
162
+ }], btnkeyChange: [{
163
+ type: i0.Output
164
+ }] } });
165
+
166
+ var pepIcons = [
167
+ i1$1.pepIconTextAlignCenter,
168
+ i1$1.pepIconTextAlignLeft,
169
+ i1$1.pepIconTextAlignRight
170
+ ];
171
+ var PepGroupButtonsSettingsModule = /** @class */ (function () {
172
+ function PepGroupButtonsSettingsModule(pepIconRegistry) {
173
+ this.pepIconRegistry = pepIconRegistry;
174
+ this.pepIconRegistry.registerIcons(pepIcons);
175
+ }
176
+ return PepGroupButtonsSettingsModule;
177
+ }());
178
+ PepGroupButtonsSettingsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, deps: [{ token: i1__namespace$1.PepIconRegistry }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
179
+ PepGroupButtonsSettingsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, declarations: [GroupButtonsSettingsComponent], imports: [i4.CommonModule,
180
+ ngxLib.PepNgxLibModule,
181
+ i2.PepFieldTitleModule,
182
+ i3.PepGroupButtonsModule], exports: [GroupButtonsSettingsComponent] });
183
+ PepGroupButtonsSettingsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, imports: [[
184
+ i4.CommonModule,
185
+ ngxLib.PepNgxLibModule,
186
+ i2.PepFieldTitleModule,
187
+ i3.PepGroupButtonsModule,
188
+ ]] });
189
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, decorators: [{
190
+ type: i0.NgModule,
191
+ args: [{
192
+ declarations: [
193
+ GroupButtonsSettingsComponent
194
+ ],
195
+ imports: [
196
+ i4.CommonModule,
197
+ ngxLib.PepNgxLibModule,
198
+ i2.PepFieldTitleModule,
199
+ i3.PepGroupButtonsModule,
200
+ ],
201
+ exports: [GroupButtonsSettingsComponent]
202
+ }]
203
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.PepIconRegistry }]; } });
204
+
205
+ /*
206
+ * Public API Surface of ngx-composite-lib/shadow-settings
207
+ */
208
+
209
+ /**
210
+ * Generated bundle index. Do not edit.
211
+ */
212
+
213
+ exports.GroupButtonsSettingsComponent = GroupButtonsSettingsComponent;
214
+ exports.PepGroupButtonsSettingsModule = PepGroupButtonsSettingsModule;
215
+
216
+ Object.defineProperty(exports, '__esModule', { value: true });
217
+
218
+ }));
219
+ //# sourceMappingURL=pepperi-addons-ngx-composite-lib-group-buttons-settings.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pepperi-addons-ngx-composite-lib-group-buttons-settings.umd.js","sources":["../../../projects/ngx-composite-lib/group-buttons-settings/group-buttons-settings.component.ts","../../../projects/ngx-composite-lib/group-buttons-settings/group-buttons-settings.component.html","../../../projects/ngx-composite-lib/group-buttons-settings/group-buttons-settings.module.ts","../../../projects/ngx-composite-lib/group-buttons-settings/public-api.ts","../../../projects/ngx-composite-lib/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.ts"],"sourcesContent":["import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { PepSizeType } from '@pepperi-addons/ngx-lib';\nimport { IPepButtonClickEvent, PepButton } from '@pepperi-addons/ngx-lib/button';\nimport { PepGroupbuttonsTypes } from './group-buttons-settings.model';\n\n@Component({\n selector: 'pep-group-buttons-settings',\n templateUrl: './group-buttons-settings.component.html',\n styleUrls: ['./group-buttons-settings.component.scss']\n})\nexport class GroupButtonsSettingsComponent implements OnInit {\n\n @Input() header: string = '';\n @Input() subHeader: string = '';\n\n @Input() groupType: PepGroupbuttonsTypes = 'sizes'; \n @Input() btnsArray: Array<PepButton> = [];\n @Input() excludeKeys: Array<string> = []; // for example ['xs','xl']\n\n @Input() useNone: boolean = false;\n @Input() disabled: boolean = false;\n\n private _btnKey: any;\n @Input()\n set btnKey(value: any) {\n if (!value) {\n this._btnKey = '';\n } else {\n this._btnKey = value;\n }\n }\n get btnKey(): any {\n return this._btnKey;\n }\n\n @Output()\n btnkeyChange: EventEmitter<IPepButtonClickEvent> = new EventEmitter<IPepButtonClickEvent>();\n \n \n none: PepButton = {key: 'none'};\n \n sizes: Array<PepButton> = [];\n \n // pepB: PepSizeType | 'none' = \"xs\";\n\n constructor(\n private translate: TranslateService,\n ) {\n }\n\n ngOnInit(): void { \n // Get the first translation for load all translations.\n this.translate.get('SHADOW_SETTINGS.INTENSITY_SOFT').toPromise().then((typeSoft) => {\n \n this.none = { key: 'none', value: this.translate.instant('GENERAL.NONE'), callback: () => this.onKeyChange(null) };\n \n this.arrayMerge();\n });\n }\n\n arrayMerge(){\n\n this.btnsArray = this.getButtonsArray();\n \n // check if need to remove items from the buttons array\n if(this.excludeKeys){\n this.btnsArray = this.btnsArray.filter(i => !this.excludeKeys.find(f => f === i.key));\n }\n // check if need to add the None button\n if(this.useNone){\n this.btnsArray = [this.none].concat(this.btnsArray);\n }\n }\n\n onKeyChange(event: IPepButtonClickEvent | null) {\n this.btnKey = event?.source?.key || 'none';\n this.btnkeyChange.emit(this.btnKey);\n }\n\n getButtonsArray() {\n switch(this.groupType){\n case 'custom':{\n return this.btnsArray;\n }\n case 'sizes':{\n return [\n { key: 'xs', value: this.translate.instant('GENERAL.XS'), callback: (event: any) => this.onKeyChange(event) },\n { key: 'sm', value: this.translate.instant('GENERAL.SM'), callback: (event: any) => this.onKeyChange(event) },\n { key: 'md', value: this.translate.instant('GENERAL.MD'), callback: (event: any) => this.onKeyChange(event) },\n { key: 'lg', value: this.translate.instant('GENERAL.LG'), callback: (event: any) => this.onKeyChange(event) },\n { key: 'xl', value: this.translate.instant('GENERAL.XL'), callback: (event: any) => this.onKeyChange(event) }\n ];\n }\n case 'vertical-align':{\n return [\n { key: 'start', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.TOP'), callback: (event: IPepButtonClickEvent) => this.onKeyChange(event) },\n { key: 'center', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.MIDDLE'), callback: (event: IPepButtonClickEvent) => this.onKeyChange(event) },\n { key: 'end', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.BOTTOM'), callback: (event: IPepButtonClickEvent) => this.onKeyChange(event) }\n ];\n }\n case 'horizontal-align': {\n return [\n { key: 'left', iconName: 'text_align_right', callback: (event: any) => this.onKeyChange(event) },\n { key: 'center', iconName: 'text_align_center', callback: (event: any) => this.onKeyChange(event) },\n { key: 'right', iconName: 'text_align_left', callback: (event: any) => this.onKeyChange(event) },\n ];\n }\n case 'font-weight':{\n return [\n { key: 'normal', value: this.translate.instant('GENERAL.FONT_WEIGHT.NORMAL'), callback: (event: any) => this.onKeyChange(event) },\n { key: 'bold', value: this.translate.instant('GENERAL.FONT_WEIGHT.BOLD'), callback: (event: any) => this.onKeyChange(event) },\n { key: 'bolder', value: this.translate.instant('GENERAL.FONT_WEIGHT.BOLDER'), callback: (event: any) => this.onKeyChange(event) }\n ]\n }\n case 'width-sizes':{\n return [\n { key: 'narrow', value: this.translate.instant('GENERAL.WIDTH_SIZE.NARROW'), callback: (event: any) => this.onKeyChange(event) },\n { key: 'regular', value: this.translate.instant('GENERAL.WIDTH_SIZE.REGULAR'), callback: (event: any) => this.onKeyChange(event) },\n { key: 'wide', value: this.translate.instant('GENERAL.WIDTH_SIZE.WIDE'), callback: (event: any) => this.onKeyChange(event) }\n ];\n }\n\n default: {\n return [];\n }\n }\n }\n}\n","<label *ngIf=\"header != ''\" class=\"body-xl bold ellipsis\">{{header}}</label>\n<pep-field-title *ngIf=\"subHeader !=''\" [label]=\"subHeader\" [disabled]=\"disabled\"></pep-field-title>\n<pep-group-buttons [buttons]=\"btnsArray\" \n [selectedButtonKey]=\"btnKey\" \n [stretch]=\"true\" \n buttonsClass=\"md regular\" \n [buttonsDisabled]=\"disabled\" \n viewType=\"toggle\">\n</pep-group-buttons>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { GroupButtonsSettingsComponent } from './group-buttons-settings.component';\nimport { PepNgxLibModule } from '@pepperi-addons/ngx-lib';\nimport { PepFieldTitleModule } from '@pepperi-addons/ngx-lib/field-title';\nimport { PepGroupButtonsModule } from '@pepperi-addons/ngx-lib/group-buttons';\nimport { PepIconRegistry, pepIconTextAlignCenter, pepIconTextAlignLeft, pepIconTextAlignRight } from '@pepperi-addons/ngx-lib/icon';\n\nconst pepIcons = [\n pepIconTextAlignCenter, \n pepIconTextAlignLeft, \n pepIconTextAlignRight\n]\n\n@NgModule({\n declarations: [\n GroupButtonsSettingsComponent\n ],\n imports: [\n CommonModule,\n PepNgxLibModule,\n PepFieldTitleModule,\n PepGroupButtonsModule,\n ],\n exports: [GroupButtonsSettingsComponent]\n})\nexport class PepGroupButtonsSettingsModule { \n constructor(\n private pepIconRegistry: PepIconRegistry,\n ) {\n this.pepIconRegistry.registerIcons(pepIcons);\n }\n}\n","/*\n * Public API Surface of ngx-composite-lib/shadow-settings\n */\nexport * from './group-buttons-settings.module';\nexport * from './group-buttons-settings.component';\nexport * from './group-buttons-settings.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["EventEmitter","Component","Input","Output","pepIconTextAlignCenter","pepIconTextAlignLeft","pepIconTextAlignRight","CommonModule","PepNgxLibModule","PepFieldTitleModule","PepGroupButtonsModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8CI,uCACY,SAA2B;YAA3B,cAAS,GAAT,SAAS,CAAkB;YAlC9B,WAAM,GAAW,EAAE,CAAC;YACpB,cAAS,GAAW,EAAE,CAAC;YAEvB,cAAS,GAAyB,OAAO,CAAC;YAC1C,cAAS,GAAqB,EAAE,CAAC;YACjC,gBAAW,GAAkB,EAAE,CAAC;YAEhC,YAAO,GAAY,KAAK,CAAC;YACzB,aAAQ,GAAY,KAAK,CAAC;YAgBnC,iBAAY,GAAuC,IAAIA,eAAY,EAAwB,CAAC;YAG5F,SAAI,GAAc,EAAC,GAAG,EAAE,MAAM,EAAC,CAAC;YAEhC,UAAK,GAAqB,EAAE,CAAC;SAO5B;QAzBD,sBACI,iDAAM;iBAOV;gBACI,OAAO,IAAI,CAAC,OAAO,CAAC;aACvB;iBAVD,UACW,KAAU;gBACjB,IAAI,CAAC,KAAK,EAAE;oBACR,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;iBACrB;qBAAM;oBACH,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;iBACxB;aACJ;;;WAAA;QAoBD,gDAAQ,GAAR;YAAA,iBAQC;;YANG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC,SAAS,EAAE,CAAC,IAAI,CAAC,UAAC,QAAQ;gBAE3E,KAAI,CAAC,IAAI,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAI,CAAC,SAAS,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,QAAQ,EAAE,cAAM,OAAA,KAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAA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AAqB;KACxB,CAAA;;QAeG,uCACY,eAAgC;YAAhC,oBAAe,GAAf,eAAe,CAAiB;YAExC,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;SAChD;;;oJALQ,6BAA6B;qJAA7B,6BAA6B,iBAVlC,6BAA6B,aAG7BC,eAAY;YACZC,sBAAe;YACfC,sBAAmB;YACnBC,wBAAqB,aAEf,6BAA6B;qJAE9B,6BAA6B,YAR7B;gBACLH,eAAY;gBACZC,sBAAe;gBACfC,sBAAmB;gBACnBC,wBAAqB;aACxB;qHAGQ,6BAA6B;sBAZzCC,WAAQ;uBAAC;wBACN,YAAY,EAAE;4BACV,6BAA6B;yBAChC;wBACD,OAAO,EAAE;4BACLJ,eAAY;4BACZC,sBAAe;4BACfC,sBAAmB;4BACnBC,wBAAqB;yBACxB;wBACD,OAAO,EAAE,CAAC,6BAA6B,CAAC;qBAC3C;;;ICzBD;;;;ICAA;;;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DraggableItemComponent implements OnInit {
4
+ _cursor: string;
5
+ title: string;
6
+ disabled: boolean;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DraggableItemComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DraggableItemComponent, "pep-draggable-item", never, { "title": "title"; "disabled": "disabled"; }, {}, never, ["[pep-actions]"]>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./draggable-item.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@pepperi-addons/ngx-lib";
5
+ import * as i4 from "@pepperi-addons/ngx-lib/button";
6
+ import * as i5 from "@angular/cdk/drag-drop";
7
+ export declare class DraggableItemModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DraggableItemModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DraggableItemModule, [typeof i1.DraggableItemComponent], [typeof i2.CommonModule, typeof i3.PepNgxLibModule, typeof i4.PepButtonModule, typeof i5.DragDropModule], [typeof i1.DraggableItemComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DraggableItemModule>;
11
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "peerDependencies": {
3
+ "@pepperi-addons/ngx-lib": "^0.2.56"
4
+ },
5
+ "main": "../bundles/pepperi-addons-ngx-composite-lib-draggable-item.umd.js",
6
+ "module": "../fesm2015/pepperi-addons-ngx-composite-lib-draggable-item.js",
7
+ "es2015": "../fesm2015/pepperi-addons-ngx-composite-lib-draggable-item.js",
8
+ "esm2015": "../esm2015/draggable-item/pepperi-addons-ngx-composite-lib-draggable-item.js",
9
+ "fesm2015": "../fesm2015/pepperi-addons-ngx-composite-lib-draggable-item.js",
10
+ "typings": "pepperi-addons-ngx-composite-lib-draggable-item.d.ts",
11
+ "sideEffects": false,
12
+ "name": "@pepperi-addons/ngx-composite-lib/draggable-item"
13
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@pepperi-addons/ngx-composite-lib/draggable-item" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './draggable-item.module';
2
+ export * from './draggable-item.component';
@@ -0,0 +1,40 @@
1
+ import { Component, HostBinding, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@pepperi-addons/ngx-lib/button";
4
+ import * as i2 from "@angular/common";
5
+ export class DraggableItemComponent {
6
+ // private _isDraggable = false;
7
+ // @Input()
8
+ // set isDraggable(value: boolean) {
9
+ // this._isDraggable = value;
10
+ // this._cursor = value ? 'move' : 'inherit'
11
+ // }
12
+ // get isDraggable(): boolean {
13
+ // return this._isDraggable;
14
+ // }
15
+ constructor() {
16
+ this._cursor = 'move';
17
+ this.title = '';
18
+ this.disabled = false;
19
+ }
20
+ ngOnInit() {
21
+ }
22
+ }
23
+ DraggableItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ 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"] }] });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemComponent, decorators: [{
26
+ type: Component,
27
+ args: [{
28
+ selector: 'pep-draggable-item',
29
+ templateUrl: './draggable-item.component.html',
30
+ styleUrls: ['./draggable-item.component.scss']
31
+ }]
32
+ }], ctorParameters: function () { return []; }, propDecorators: { _cursor: [{
33
+ type: HostBinding,
34
+ args: ['style.cursor']
35
+ }], title: [{
36
+ type: Input
37
+ }], disabled: [{
38
+ type: Input
39
+ }] } });
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZ2dhYmxlLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbXBvc2l0ZS1saWIvZHJhZ2dhYmxlLWl0ZW0vZHJhZ2dhYmxlLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbXBvc2l0ZS1saWIvZHJhZ2dhYmxlLWl0ZW0vZHJhZ2dhYmxlLWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBZ0IsV0FBVyxFQUFFLEtBQUssRUFBa0IsTUFBTSxlQUFlLENBQUM7Ozs7QUFPNUYsTUFBTSxPQUFPLHNCQUFzQjtJQVEvQixnQ0FBZ0M7SUFDaEMsV0FBVztJQUNYLG9DQUFvQztJQUNwQyxpQ0FBaUM7SUFFakMsZ0RBQWdEO0lBQ2hELElBQUk7SUFDSiwrQkFBK0I7SUFDL0IsZ0NBQWdDO0lBQ2hDLElBQUk7SUFF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9uc11cIj48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG48L2Rpdj4iXX0=
@@ -0,0 +1,36 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { PepNgxLibModule } from '@pepperi-addons/ngx-lib';
4
+ import { PepButtonModule } from '@pepperi-addons/ngx-lib/button';
5
+ import { DragDropModule } from '@angular/cdk/drag-drop';
6
+ import { DraggableItemComponent } from './draggable-item.component';
7
+ import * as i0 from "@angular/core";
8
+ export class DraggableItemModule {
9
+ }
10
+ DraggableItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ DraggableItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemModule, declarations: [DraggableItemComponent], imports: [CommonModule,
12
+ PepNgxLibModule,
13
+ PepButtonModule,
14
+ DragDropModule], exports: [DraggableItemComponent] });
15
+ DraggableItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemModule, imports: [[
16
+ CommonModule,
17
+ PepNgxLibModule,
18
+ PepButtonModule,
19
+ DragDropModule
20
+ ]] });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: DraggableItemModule, decorators: [{
22
+ type: NgModule,
23
+ args: [{
24
+ declarations: [
25
+ DraggableItemComponent
26
+ ],
27
+ imports: [
28
+ CommonModule,
29
+ PepNgxLibModule,
30
+ PepButtonModule,
31
+ DragDropModule
32
+ ],
33
+ exports: [DraggableItemComponent],
34
+ }]
35
+ }] });
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZ2dhYmxlLWl0ZW0ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvd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9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBQZXBOZ3hMaWJNb2R1bGUgfSBmcm9tICdAcGVwcGVyaS1hZGRvbnMvbmd4LWxpYic7XG5pbXBvcnQgeyBQZXBCdXR0b25Nb2R1bGUgfSBmcm9tICdAcGVwcGVyaS1hZGRvbnMvbmd4LWxpYi9idXR0b24nO1xuXG5pbXBvcnQgeyBEcmFnRHJvcE1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2Nkay9kcmFnLWRyb3AnO1xuXG5pbXBvcnQgeyBEcmFnZ2FibGVJdGVtQ29tcG9uZW50IH0gZnJvbSAnLi9kcmFnZ2FibGUtaXRlbS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBEcmFnZ2FibGVJdGVtQ29tcG9uZW50XG4gICAgXSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgUGVwTmd4TGliTW9kdWxlLFxuICAgICAgICBQZXBCdXR0b25Nb2R1bGUsXG4gICAgICAgIERyYWdEcm9wTW9kdWxlXG4gICAgXSxcbiAgICBleHBvcnRzOiBbRHJhZ2dhYmxlSXRlbUNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIERyYWdnYWJsZUl0ZW1Nb2R1bGUgeyB9XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVwcGVyaS1hZGRvbnMtbmd4LWNvbXBvc2l0ZS1saWItZHJhZ2dhYmxlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY29tcG9zaXRlLWxpYi9kcmFnZ2FibGUtaXRlbS9wZXBwZXJpLWFkZG9ucy1uZ3gtY29tcG9zaXRlLWxpYi1kcmFnZ2FibGUtaXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Public API Surface of ngx-composite-lib/draggable-item
3
+ */
4
+ export * from './draggable-item.module';
5
+ export * from './draggable-item.component';
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21wb3NpdGUtbGliL2RyYWdnYWJsZS1pdGVtL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1jb21wb3NpdGUtbGliL2RyYWdnYWJsZS1pdGVtXG4gKi9cbmV4cG9ydCAqIGZyb20gJy4vZHJhZ2dhYmxlLWl0ZW0ubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZHJhZ2dhYmxlLWl0ZW0uY29tcG9uZW50JztcbiJdfQ==