@igo2/common 1.9.0 → 1.10.0

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 (175) hide show
  1. package/bundles/igo2-common.umd.js +97 -63
  2. package/bundles/igo2-common.umd.js.map +1 -1
  3. package/esm2015/lib/action/action.module.js +1 -1
  4. package/esm2015/lib/action/actionbar/actionbar-item.component.js +1 -1
  5. package/esm2015/lib/action/actionbar/actionbar.component.js +1 -1
  6. package/esm2015/lib/action/actionbar/actionbar.module.js +1 -1
  7. package/esm2015/lib/action/index.js +1 -1
  8. package/esm2015/lib/action/shared/action.enums.js +1 -1
  9. package/esm2015/lib/action/shared/action.interfaces.js +1 -1
  10. package/esm2015/lib/action/shared/index.js +1 -1
  11. package/esm2015/lib/action/shared/store.js +1 -1
  12. package/esm2015/lib/backdrop/backdrop.component.js +1 -1
  13. package/esm2015/lib/backdrop/backdrop.module.js +1 -1
  14. package/esm2015/lib/backdrop/index.js +1 -1
  15. package/esm2015/lib/badge-icon/badge-icon.directive.js +6 -1
  16. package/esm2015/lib/badge-icon/badge-icon.module.js +1 -1
  17. package/esm2015/lib/badge-icon/index.js +1 -1
  18. package/esm2015/lib/clickout/clickout.directive.js +1 -1
  19. package/esm2015/lib/clickout/clickout.module.js +1 -1
  20. package/esm2015/lib/clickout/index.js +1 -1
  21. package/esm2015/lib/clone/clone.module.js +1 -1
  22. package/esm2015/lib/clone/clone.pipe.js +1 -1
  23. package/esm2015/lib/clone/index.js +1 -1
  24. package/esm2015/lib/collapsible/collapse.directive.js +1 -1
  25. package/esm2015/lib/collapsible/collapsible.component.js +1 -1
  26. package/esm2015/lib/collapsible/collapsible.module.js +1 -1
  27. package/esm2015/lib/collapsible/index.js +1 -1
  28. package/esm2015/lib/confirm-dialog/confirm-dialog.component.js +1 -1
  29. package/esm2015/lib/confirm-dialog/confirm-dialog.module.js +1 -1
  30. package/esm2015/lib/confirm-dialog/confirm-dialog.service.js +1 -1
  31. package/esm2015/lib/confirm-dialog/index.js +1 -1
  32. package/esm2015/lib/context-menu/context-menu.directive.js +5 -52
  33. package/esm2015/lib/context-menu/context-menu.module.js +1 -1
  34. package/esm2015/lib/context-menu/index.js +1 -1
  35. package/esm2015/lib/custom-html/custom-html.component.js +1 -1
  36. package/esm2015/lib/custom-html/custom-html.module.js +1 -1
  37. package/esm2015/lib/custom-html/custom-html.pipe.js +1 -1
  38. package/esm2015/lib/custom-html/index.js +1 -1
  39. package/esm2015/lib/drag-drop/drag-drop.module.js +1 -1
  40. package/esm2015/lib/drag-drop/index.js +1 -1
  41. package/esm2015/lib/dynamic-component/dynamic-component.module.js +1 -1
  42. package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.js +1 -1
  43. package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.js +1 -1
  44. package/esm2015/lib/dynamic-component/index.js +1 -1
  45. package/esm2015/lib/dynamic-component/shared/dynamic-component.interfaces.js +1 -1
  46. package/esm2015/lib/dynamic-component/shared/dynamic-component.js +1 -1
  47. package/esm2015/lib/dynamic-component/shared/dynamic-component.service.js +1 -1
  48. package/esm2015/lib/dynamic-component/shared/index.js +1 -1
  49. package/esm2015/lib/entity/entity-selector/entity-selector.component.js +1 -1
  50. package/esm2015/lib/entity/entity-selector/entity-selector.module.js +1 -1
  51. package/esm2015/lib/entity/entity-table/entity-table.component.js +1 -1
  52. package/esm2015/lib/entity/entity-table/entity-table.module.js +1 -1
  53. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.component.js +1 -1
  54. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.interface.js +1 -1
  55. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.module.js +1 -1
  56. package/esm2015/lib/entity/entity.module.js +1 -1
  57. package/esm2015/lib/entity/index.js +1 -1
  58. package/esm2015/lib/entity/shared/entity.enums.js +1 -1
  59. package/esm2015/lib/entity/shared/entity.interfaces.js +1 -1
  60. package/esm2015/lib/entity/shared/entity.utils.js +1 -1
  61. package/esm2015/lib/entity/shared/index.js +1 -1
  62. package/esm2015/lib/entity/shared/state.js +1 -1
  63. package/esm2015/lib/entity/shared/store.js +1 -1
  64. package/esm2015/lib/entity/shared/strategies/filter-custom-function.js +1 -1
  65. package/esm2015/lib/entity/shared/strategies/filter-selection.js +1 -1
  66. package/esm2015/lib/entity/shared/strategies/index.js +1 -1
  67. package/esm2015/lib/entity/shared/strategies/strategy.js +1 -1
  68. package/esm2015/lib/entity/shared/transaction.js +1 -1
  69. package/esm2015/lib/entity/shared/view.js +1 -1
  70. package/esm2015/lib/entity/shared/watcher.js +1 -1
  71. package/esm2015/lib/flexible/flexible.component.js +1 -1
  72. package/esm2015/lib/flexible/flexible.module.js +1 -1
  73. package/esm2015/lib/flexible/flexible.type.js +1 -1
  74. package/esm2015/lib/flexible/index.js +1 -1
  75. package/esm2015/lib/form/form/form.component.js +1 -1
  76. package/esm2015/lib/form/form/form.module.js +1 -1
  77. package/esm2015/lib/form/form-field/form-field-select.component.js +1 -1
  78. package/esm2015/lib/form/form-field/form-field-text.component.js +1 -1
  79. package/esm2015/lib/form/form-field/form-field-textarea.component.js +1 -1
  80. package/esm2015/lib/form/form-field/form-field.component.js +1 -1
  81. package/esm2015/lib/form/form-field/form-field.module.js +1 -1
  82. package/esm2015/lib/form/form-field/index.js +1 -1
  83. package/esm2015/lib/form/form-group/form-group.component.js +1 -1
  84. package/esm2015/lib/form/form-group/form-group.module.js +1 -1
  85. package/esm2015/lib/form/form.module.js +1 -1
  86. package/esm2015/lib/form/index.js +1 -1
  87. package/esm2015/lib/form/shared/form-field-component.js +1 -1
  88. package/esm2015/lib/form/shared/form-field.service.js +1 -1
  89. package/esm2015/lib/form/shared/form.interfaces.js +1 -1
  90. package/esm2015/lib/form/shared/form.utils.js +1 -1
  91. package/esm2015/lib/form/shared/index.js +1 -1
  92. package/esm2015/lib/home-button/home-button.component.js +35 -0
  93. package/esm2015/lib/home-button/home-button.module.js +43 -0
  94. package/esm2015/lib/home-button/index.js +2 -0
  95. package/esm2015/lib/image/image.module.js +1 -1
  96. package/esm2015/lib/image/index.js +1 -1
  97. package/esm2015/lib/interactive-tour/index.js +1 -1
  98. package/esm2015/lib/interactive-tour/interactive-tour.component.js +1 -1
  99. package/esm2015/lib/interactive-tour/interactive-tour.interface.js +1 -1
  100. package/esm2015/lib/interactive-tour/interactive-tour.loader.js +2 -2
  101. package/esm2015/lib/interactive-tour/interactive-tour.module.js +1 -1
  102. package/esm2015/lib/json-dialog/index.js +1 -1
  103. package/esm2015/lib/json-dialog/json-dialog.component.js +1 -1
  104. package/esm2015/lib/json-dialog/json-dialog.module.js +1 -1
  105. package/esm2015/lib/json-dialog/json-dialog.service.js +1 -1
  106. package/esm2015/lib/keyvalue/index.js +1 -1
  107. package/esm2015/lib/keyvalue/keyvalue.module.js +1 -1
  108. package/esm2015/lib/keyvalue/keyvalue.pipe.js +1 -1
  109. package/esm2015/lib/list/index.js +1 -1
  110. package/esm2015/lib/list/list-item.directive.js +1 -1
  111. package/esm2015/lib/list/list.component.js +1 -1
  112. package/esm2015/lib/list/list.module.js +1 -1
  113. package/esm2015/lib/panel/index.js +1 -1
  114. package/esm2015/lib/panel/panel.component.js +1 -1
  115. package/esm2015/lib/panel/panel.module.js +1 -1
  116. package/esm2015/lib/sidenav/index.js +1 -1
  117. package/esm2015/lib/sidenav/sidenav-shim.directive.js +1 -1
  118. package/esm2015/lib/sidenav/sidenav.module.js +1 -1
  119. package/esm2015/lib/spinner/index.js +1 -1
  120. package/esm2015/lib/spinner/spinner-activity.directive.js +1 -1
  121. package/esm2015/lib/spinner/spinner.component.js +1 -1
  122. package/esm2015/lib/spinner/spinner.module.js +1 -1
  123. package/esm2015/lib/stop-propagation/index.js +1 -1
  124. package/esm2015/lib/stop-propagation/stop-drop-propagation.directive.js +1 -1
  125. package/esm2015/lib/stop-propagation/stop-propagation.directive.js +1 -1
  126. package/esm2015/lib/stop-propagation/stop-propagation.module.js +1 -1
  127. package/esm2015/lib/table/index.js +1 -1
  128. package/esm2015/lib/table/table-action-color.enum.js +1 -1
  129. package/esm2015/lib/table/table-database.js +1 -1
  130. package/esm2015/lib/table/table-datasource.js +1 -1
  131. package/esm2015/lib/table/table-model.interface.js +1 -1
  132. package/esm2015/lib/table/table.component.js +1 -1
  133. package/esm2015/lib/table/table.module.js +1 -1
  134. package/esm2015/lib/tool/index.js +1 -1
  135. package/esm2015/lib/tool/shared/index.js +1 -1
  136. package/esm2015/lib/tool/shared/tool-component.js +1 -1
  137. package/esm2015/lib/tool/shared/tool.interface.js +1 -1
  138. package/esm2015/lib/tool/shared/tool.service.js +1 -1
  139. package/esm2015/lib/tool/shared/toolbox.enums.js +1 -1
  140. package/esm2015/lib/tool/shared/toolbox.js +1 -1
  141. package/esm2015/lib/tool/tool.module.js +1 -1
  142. package/esm2015/lib/tool/toolbox/toolbox.animation.js +1 -1
  143. package/esm2015/lib/tool/toolbox/toolbox.component.js +2 -2
  144. package/esm2015/lib/tool/toolbox/toolbox.module.js +1 -1
  145. package/esm2015/lib/widget/index.js +1 -1
  146. package/esm2015/lib/widget/shared/index.js +1 -1
  147. package/esm2015/lib/widget/shared/widget.interfaces.js +1 -1
  148. package/esm2015/lib/widget/shared/widget.js +1 -1
  149. package/esm2015/lib/widget/shared/widget.service.js +1 -1
  150. package/esm2015/lib/widget/widget-outlet/widget-outlet.component.js +1 -1
  151. package/esm2015/lib/widget/widget-outlet/widget-outlet.module.js +1 -1
  152. package/esm2015/lib/widget/widget.module.js +1 -1
  153. package/esm2015/lib/workspace/index.js +1 -1
  154. package/esm2015/lib/workspace/shared/index.js +1 -1
  155. package/esm2015/lib/workspace/shared/store.js +1 -1
  156. package/esm2015/lib/workspace/shared/workspace.interfaces.js +1 -1
  157. package/esm2015/lib/workspace/shared/workspace.js +1 -1
  158. package/esm2015/lib/workspace/workspace-selector/workspace-selector.component.js +1 -1
  159. package/esm2015/lib/workspace/workspace-selector/workspace-selector.module.js +1 -1
  160. package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.js +1 -1
  161. package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.js +1 -1
  162. package/esm2015/lib/workspace/workspace.module.js +1 -1
  163. package/esm2015/public_api.js +3 -1
  164. package/fesm2015/igo2-common.js +75 -53
  165. package/fesm2015/igo2-common.js.map +1 -1
  166. package/lib/badge-icon/badge-icon.directive.d.ts +5 -0
  167. package/lib/context-menu/context-menu.directive.d.ts +4 -10
  168. package/lib/home-button/home-button.component.d.ts +9 -0
  169. package/lib/home-button/home-button.module.d.ts +15 -0
  170. package/lib/home-button/index.d.ts +1 -0
  171. package/package.json +7 -6
  172. package/public_api.d.ts +2 -0
  173. package/style/common.theming.scss +1 -0
  174. package/style/partial/action.scss +18 -18
  175. package/style/partial/common.variables.scss +8 -8
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/material/button'), require('@angular/material/card'), require('@angular/material/checkbox'), require('@angular/material/icon'), require('@angular/material/list'), require('@angular/material/menu'), require('@angular/material/tooltip'), require('@igo2/core'), require('typy'), require('rxjs'), require('rxjs/operators'), require('@igo2/utils'), require('@angular/material/form-field'), require('@angular/material/select'), require('@angular/material/core'), require('@angular/material/table'), require('@angular/material/sort'), require('scroll-into-view-if-needed'), require('@angular/material/paginator'), require('@angular/common/http'), require('ts-cacheable'), require('@ngx-translate/core'), require('@angular/platform-browser'), require('@angular/cdk/overlay'), require('@angular/material/badge'), require('@angular/material/dialog'), require('@angular/cdk/portal'), require('@angular/material/input'), require('@angular/forms'), require('angular-shepherd'), require('@angular/material/sidenav'), require('@angular/material/progress-spinner'), require('@angular/cdk/table'), require('@angular/cdk/collections'), require('@angular/animations')) :
3
3
  typeof define === 'function' && define.amd ? define('@igo2/common', ['exports', '@angular/core', '@angular/common', '@angular/material/button', '@angular/material/card', '@angular/material/checkbox', '@angular/material/icon', '@angular/material/list', '@angular/material/menu', '@angular/material/tooltip', '@igo2/core', 'typy', 'rxjs', 'rxjs/operators', '@igo2/utils', '@angular/material/form-field', '@angular/material/select', '@angular/material/core', '@angular/material/table', '@angular/material/sort', 'scroll-into-view-if-needed', '@angular/material/paginator', '@angular/common/http', 'ts-cacheable', '@ngx-translate/core', '@angular/platform-browser', '@angular/cdk/overlay', '@angular/material/badge', '@angular/material/dialog', '@angular/cdk/portal', '@angular/material/input', '@angular/forms', 'angular-shepherd', '@angular/material/sidenav', '@angular/material/progress-spinner', '@angular/cdk/table', '@angular/cdk/collections', '@angular/animations'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.igo2 = global.igo2 || {}, global.igo2.common = {}), global.ng.core, global.ng.common, global.ng.material.button, global.ng.material.card, global.ng.material.checkbox, global.ng.material.icon, global.ng.material.list, global.ng.material.menu, global.ng.material.tooltip, global.core, global.typy, global.rxjs, global.rxjs.operators, global.utils, global.ng.material.formField, global.ng.material.select, global.ng.material.core, global.ng.material.table, global.ng.material.sort, global.scrollIntoView, global.ng.material.paginator, global.ng.common.http, global.tsCacheable, global['ngxt-core'], global.ng.platformBrowser, global.ng.cdk.overlay, global.ng.material.badge, global.ng.material.dialog, global.ng.cdk.portal, global.ng.material.input, global.ng.forms, global.angularShepherd, global.ng.material.sidenav, global.ng.material.progressSpinner, global.ng.cdk.table, global.ng.cdk.collections, global.ng.animations));
5
- }(this, (function (exports, i0, i1$1, i4$2, i10, i4$1, i5, i1$6, i9, i6, i1$2, t, rxjs, operators, utils, i1, i2, i4, i1$5, i2$2, scrollIntoView, i2$1, i1$3, tsCacheable, i11, i1$4, i1$7, badge, i1$8, portal, i2$3, i3, i3$1, i1$9, i2$4, table, collections, animations) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.igo2 = global.igo2 || {}, global.igo2.common = {}), global.ng.core, global.ng.common, global.ng.material.button, global.ng.material.card, global.ng.material.checkbox, global.ng.material.icon, global.ng.material.list, global.ng.material.menu, global.ng.material.tooltip, global.core, global.typy, global.rxjs, global.rxjs.operators, global.utils, global.ng.material.formField, global.ng.material.select, global.ng.material.core, global.ng.material.table, global.ng.material.sort, global.scrollIntoView, global.ng.material.paginator, global.ng.common.http, global.tsCacheable, global["ngxt-core"], global.ng.platformBrowser, global.ng.cdk.overlay, global.ng.material.badge, global.ng.material.dialog, global.ng.cdk.portal, global.ng.material.input, global.ng.forms, global.angularShepherd, global.ng.material.sidenav, global.ng.material.progressSpinner, global.ng.cdk.table, global.ng.cdk.collections, global.ng.animations));
5
+ })(this, (function (exports, i0, i1$1, i4$2, i10, i4$1, i5, i1$6, i9, i6, i1$2, t, rxjs, operators, utils, i1, i2, i4, i1$5, i2$2, scrollIntoView, i2$1, i1$3, tsCacheable, i11, i1$4, i1$7, badge, i1$8, portal, i2$3, i3, i3$1, i1$9, i2$4, table, collections, animations) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -15,14 +15,12 @@
15
15
  var d = Object.getOwnPropertyDescriptor(e, k);
16
16
  Object.defineProperty(n, k, d.get ? d : {
17
17
  enumerable: true,
18
- get: function () {
19
- return e[k];
20
- }
18
+ get: function () { return e[k]; }
21
19
  });
22
20
  }
23
21
  });
24
22
  }
25
- n['default'] = e;
23
+ n["default"] = e;
26
24
  return Object.freeze(n);
27
25
  }
28
26
 
@@ -412,7 +410,7 @@
412
410
  * @returns Property value
413
411
  */
414
412
  function getEntityProperty(entity, property) {
415
- return t__default['default'](entity, property).safeObject;
413
+ return t__default["default"](entity, property).safeObject;
416
414
  }
417
415
  /**
418
416
  * Get an entity's id. An entity's id can be one of:
@@ -2342,7 +2340,7 @@
2342
2340
  */
2343
2341
  EntityTableRowDirective.prototype.scroll = function () {
2344
2342
  if (this._selected === true) {
2345
- scrollIntoView__default['default'](this.el.nativeElement, {
2343
+ scrollIntoView__default["default"](this.el.nativeElement, {
2346
2344
  scrollMode: 'if-needed',
2347
2345
  behavior: 'smooth',
2348
2346
  block: 'end',
@@ -4517,6 +4515,11 @@
4517
4515
  })();
4518
4516
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoBackdropModule, { declarations: [BackdropComponent], imports: [i1$1.CommonModule], exports: [BackdropComponent] }); })();
4519
4517
 
4518
+ /**
4519
+ * This directive allow to add an icon inside a matBadge.
4520
+ * A value must be set into the matBadge directive ex: matBadge="icon".
4521
+ * The badge content will be overrided by this current directive.
4522
+ */
4520
4523
  var IgoBadgeIconDirective = /** @class */ (function () {
4521
4524
  function IgoBadgeIconDirective(el, matIconRegistry) {
4522
4525
  this.el = el;
@@ -5066,60 +5069,14 @@
5066
5069
 
5067
5070
  var ContextMenuDirective = /** @class */ (function () {
5068
5071
  function ContextMenuDirective(overlay, viewContainerRef, elementRef) {
5069
- var _this = this;
5070
5072
  this.overlay = overlay;
5071
5073
  this.viewContainerRef = viewContainerRef;
5072
5074
  this.elementRef = elementRef;
5073
- this.isDragging = false;
5074
- this.touchDelayMs = 500;
5075
5075
  this.menuPosition = new i0.EventEmitter();
5076
- var touchstart$ = rxjs.fromEvent(elementRef.nativeElement, 'touchstart');
5077
- var touchmove$ = rxjs.fromEvent(elementRef.nativeElement, 'touchmove');
5078
- var touchend$ = rxjs.fromEvent(elementRef.nativeElement, 'touchend');
5079
- touchmove$.subscribe(function () {
5080
- _this.isDragging = true;
5081
- _this.close();
5082
- });
5083
- touchend$.subscribe(function () { return _this.isDragging = false; });
5084
- var longTouch$ = touchstart$.pipe(operators.tap(function (event) {
5085
- event.preventDefault();
5086
- window.document.body.style['-webkit-user-select'] = 'none';
5087
- }), operators.mergeMap(function (e) {
5088
- return rxjs.of(e).pipe(operators.delay(_this.touchDelayMs), operators.takeUntil(touchend$));
5089
- }));
5090
- this.longTouch$$ = longTouch$.pipe(operators.tap(function (event) {
5091
- _this.onContextMenu(event);
5092
- }), operators.delay(2000)).subscribe(function () { return window.document.body.style['-webkit-user-select'] = 'auto'; });
5093
5076
  }
5094
- ContextMenuDirective.prototype.ngOnDestroy = function () {
5095
- if (this.longTouch$$) {
5096
- this.longTouch$$.unsubscribe();
5097
- }
5098
- if (this.touchmove$$) {
5099
- this.touchmove$$.unsubscribe();
5100
- }
5101
- if (this.touchend$$) {
5102
- this.touchend$$.unsubscribe();
5103
- }
5104
- };
5105
5077
  ContextMenuDirective.prototype.onContextMenu = function (e) {
5106
5078
  var _this = this;
5107
- if (this.isDragging) {
5108
- return;
5109
- }
5110
- var x = 0;
5111
- var y = 0;
5112
- if (e instanceof TouchEvent) {
5113
- if (e.touches.length > 1) {
5114
- return; // prevent map rotation conflict
5115
- }
5116
- x = e.touches[0].clientX;
5117
- y = e.touches[0].clientY;
5118
- }
5119
- else {
5120
- x = e.x;
5121
- y = e.y;
5122
- }
5079
+ var x = e.x, y = e.y;
5123
5080
  this.close();
5124
5081
  e.preventDefault();
5125
5082
  this.menuPosition.emit({ x: x, y: y });
@@ -5180,7 +5137,7 @@
5180
5137
  if (rf & 1) {
5181
5138
  i0__namespace.ɵɵlistener("contextmenu", function ContextMenuDirective_contextmenu_HostBindingHandler($event) { return ctx.onContextMenu($event); });
5182
5139
  }
5183
- }, inputs: { menuContext: ["igoContextMenu", "menuContext"], touchDelayMs: "touchDelayMs" }, outputs: { menuPosition: "menuPosition" } });
5140
+ }, inputs: { menuContext: ["igoContextMenu", "menuContext"] }, outputs: { menuPosition: "menuPosition" } });
5184
5141
  (function () {
5185
5142
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextMenuDirective, [{
5186
5143
  type: i0.Directive,
@@ -5190,8 +5147,6 @@
5190
5147
  }], function () { return [{ type: i1__namespace$7.Overlay }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ElementRef }]; }, { menuContext: [{
5191
5148
  type: i0.Input,
5192
5149
  args: ['igoContextMenu']
5193
- }], touchDelayMs: [{
5194
- type: i0.Input
5195
5150
  }], menuPosition: [{
5196
5151
  type: i0.Output
5197
5152
  }], onContextMenu: [{
@@ -6161,11 +6116,11 @@
6161
6116
  };
6162
6117
  FormComponent.prototype.setData = function (data) {
6163
6118
  this.form.fields.forEach(function (field) {
6164
- field.control.setValue(t__default['default'](data, field.name).safeObject);
6119
+ field.control.setValue(t__default["default"](data, field.name).safeObject);
6165
6120
  });
6166
6121
  this.form.groups.forEach(function (group) {
6167
6122
  group.fields.forEach(function (field) {
6168
- field.control.setValue(t__default['default'](data, field.name).safeObject);
6123
+ field.control.setValue(t__default["default"](data, field.name).safeObject);
6169
6124
  });
6170
6125
  });
6171
6126
  };
@@ -7128,6 +7083,83 @@
7128
7083
  IgoFormFieldModule] });
7129
7084
  })();
7130
7085
 
7086
+ var HomeButtonComponent = /** @class */ (function () {
7087
+ function HomeButtonComponent() {
7088
+ this.unselectButton = new i0.EventEmitter();
7089
+ }
7090
+ HomeButtonComponent.prototype.onUnselectButtonClick = function () {
7091
+ this.unselectButton.emit();
7092
+ };
7093
+ return HomeButtonComponent;
7094
+ }());
7095
+ HomeButtonComponent.ɵfac = function HomeButtonComponent_Factory(t) { return new (t || HomeButtonComponent)(); };
7096
+ HomeButtonComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: HomeButtonComponent, selectors: [["igo-home-button"]], outputs: { unselectButton: "unselectButton" }, decls: 3, vars: 3, consts: [["id", "homeButton", "mat-icon-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "matTooltip", "click"], ["svgIcon", "home"]], template: function HomeButtonComponent_Template(rf, ctx) {
7097
+ if (rf & 1) {
7098
+ i0__namespace.ɵɵelementStart(0, "button", 0);
7099
+ i0__namespace.ɵɵlistener("click", function HomeButtonComponent_Template_button_click_0_listener() { return ctx.onUnselectButtonClick(); });
7100
+ i0__namespace.ɵɵpipe(1, "translate");
7101
+ i0__namespace.ɵɵelement(2, "mat-icon", 1);
7102
+ i0__namespace.ɵɵelementEnd();
7103
+ }
7104
+ if (rf & 2) {
7105
+ i0__namespace.ɵɵproperty("matTooltip", i0__namespace.ɵɵpipeBind1(1, 1, "igo.context.sidenav.mainMenu"));
7106
+ }
7107
+ }, directives: [i4__namespace$2.MatButton, i6__namespace.MatTooltip, i5__namespace.MatIcon], pipes: [i11__namespace.TranslatePipe], styles: ["#homeButton[_ngcontent-%COMP%]{position:absolute;top:50px;left:0px;border-radius:0;height:46px;width:48px}"] });
7108
+ (function () {
7109
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(HomeButtonComponent, [{
7110
+ type: i0.Component,
7111
+ args: [{
7112
+ selector: 'igo-home-button',
7113
+ templateUrl: './home-button.component.html',
7114
+ styleUrls: ['./home-button.component.scss']
7115
+ }]
7116
+ }], function () { return []; }, { unselectButton: [{
7117
+ type: i0.Output
7118
+ }] });
7119
+ })();
7120
+
7121
+ /**
7122
+ * @ignore
7123
+ */
7124
+ var IgoHomeButtonModule = /** @class */ (function () {
7125
+ function IgoHomeButtonModule() {
7126
+ }
7127
+ return IgoHomeButtonModule;
7128
+ }());
7129
+ IgoHomeButtonModule.ɵfac = function IgoHomeButtonModule_Factory(t) { return new (t || IgoHomeButtonModule)(); };
7130
+ IgoHomeButtonModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoHomeButtonModule });
7131
+ IgoHomeButtonModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ providers: [], imports: [[
7132
+ i1$1.CommonModule,
7133
+ i5.MatIconModule,
7134
+ i4$2.MatButtonModule,
7135
+ i6.MatTooltipModule,
7136
+ i1$2.IgoLanguageModule
7137
+ ]] });
7138
+ (function () {
7139
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoHomeButtonModule, [{
7140
+ type: i0.NgModule,
7141
+ args: [{
7142
+ imports: [
7143
+ i1$1.CommonModule,
7144
+ i5.MatIconModule,
7145
+ i4$2.MatButtonModule,
7146
+ i6.MatTooltipModule,
7147
+ i1$2.IgoLanguageModule
7148
+ ],
7149
+ exports: [HomeButtonComponent],
7150
+ declarations: [HomeButtonComponent],
7151
+ providers: []
7152
+ }]
7153
+ }], null, null);
7154
+ })();
7155
+ (function () {
7156
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoHomeButtonModule, { declarations: [HomeButtonComponent], imports: [i1$1.CommonModule,
7157
+ i5.MatIconModule,
7158
+ i4$2.MatButtonModule,
7159
+ i6.MatTooltipModule,
7160
+ i1$2.IgoLanguageModule], exports: [HomeButtonComponent] });
7161
+ })();
7162
+
7131
7163
  /**
7132
7164
  * @ignore
7133
7165
  */
@@ -7387,7 +7419,7 @@
7387
7419
  .subscribe(function (data) {
7388
7420
  _this.allToursOptions = data;
7389
7421
  }, function (err) {
7390
- throw new Error('Problem with Interactive tour configuration file: interactiveTour.json not find. Check if the file and is path is set correctly.');
7422
+ throw new Error("Problem with Interactive tour configuration file: interactiveTour.json not find. Check if the file and is path is set correctly.");
7391
7423
  });
7392
7424
  };
7393
7425
  InteractiveTourLoader.prototype.getPathToConfigFile = function () {
@@ -9732,7 +9764,7 @@
9732
9764
  }
9733
9765
  if (rf & 2) {
9734
9766
  var ctx_r0 = i0__namespace.ɵɵnextContext();
9735
- i0__namespace.ɵɵproperty("store", ctx_r0.actionStore)("withIcon", true)("withTitle", i0__namespace.ɵɵpipeBind1(1, 6, ctx_r0.toolbarWithTitle$))("withTooltip", !i0__namespace.ɵɵpipeBind1(2, 8, ctx_r0.toolbarWithTitle$))("scrollActive", i0__namespace.ɵɵpipeBind1(3, 10, ctx_r0.toolbarWithTitle$))("horizontal", false);
9767
+ i0__namespace.ɵɵproperty("store", ctx_r0.actionStore)("withIcon", true)("withTitle", i0__namespace.ɵɵpipeBind1(1, 6, ctx_r0.toolbarWithTitle$))("withTooltip", i0__namespace.ɵɵpipeBind1(2, 8, ctx_r0.toolbarWithTitle$) === false)("scrollActive", i0__namespace.ɵɵpipeBind1(3, 10, ctx_r0.toolbarWithTitle$))("horizontal", false);
9736
9768
  }
9737
9769
  }
9738
9770
  var _c0 = function (a0, a1) { return { "igo-tool-container-with-toolbar": a0, "igo-tool-container-with-animation": a1 }; };
@@ -10843,6 +10875,7 @@
10843
10875
  exports.FormFieldService = FormFieldService;
10844
10876
  exports.FormGroupComponent = FormGroupComponent;
10845
10877
  exports.FormService = FormService;
10878
+ exports.HomeButtonComponent = HomeButtonComponent;
10846
10879
  exports.IgoActionModule = IgoActionModule;
10847
10880
  exports.IgoActionbarModule = IgoActionbarModule;
10848
10881
  exports.IgoBackdropModule = IgoBackdropModule;
@@ -10866,6 +10899,7 @@
10866
10899
  exports.IgoFormFormModule = IgoFormFormModule;
10867
10900
  exports.IgoFormGroupModule = IgoFormGroupModule;
10868
10901
  exports.IgoFormModule = IgoFormModule;
10902
+ exports.IgoHomeButtonModule = IgoHomeButtonModule;
10869
10903
  exports.IgoImageModule = IgoImageModule;
10870
10904
  exports.IgoInteractiveTourModule = IgoInteractiveTourModule;
10871
10905
  exports.IgoJsonDialogModule = IgoJsonDialogModule;
@@ -10928,5 +10962,5 @@
10928
10962
 
10929
10963
  Object.defineProperty(exports, '__esModule', { value: true });
10930
10964
 
10931
- })));
10965
+ }));
10932
10966
  //# sourceMappingURL=igo2-common.umd.js.map