@tetacom/ng-components 1.0.43 → 1.0.46

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 (200) hide show
  1. package/common/enum/align.enum.d.ts +4 -1
  2. package/common/enum/vertical-align.enum.d.ts +4 -1
  3. package/common/util/array-util.d.ts +1 -1
  4. package/component/resize-panel/resize-panel/resize-panel.component.d.ts +2 -1
  5. package/directive/auto-position/auto-position.directive.d.ts +15 -0
  6. package/directive/auto-position/auto-position.module.d.ts +8 -0
  7. package/directive/auto-position/public-api.d.ts +2 -0
  8. package/directive/public-api.d.ts +1 -0
  9. package/esm2020/common/enum/align.enum.mjs +4 -1
  10. package/esm2020/common/enum/vertical-align.enum.mjs +4 -1
  11. package/esm2020/common/service/click.service.mjs +3 -3
  12. package/esm2020/common/service/dynamic-component.service.mjs +3 -3
  13. package/esm2020/common/service/overlay-container.service.mjs +3 -3
  14. package/esm2020/common/util/array-util.mjs +6 -3
  15. package/esm2020/common/util/position-util.mjs +29 -1
  16. package/esm2020/component/accordion/accordion/accordion.component.mjs +3 -3
  17. package/esm2020/component/accordion/accordion-content.directive.mjs +3 -3
  18. package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +3 -3
  19. package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +3 -3
  20. package/esm2020/component/accordion/accordion.module.mjs +4 -4
  21. package/esm2020/component/button/button/button.component.mjs +3 -3
  22. package/esm2020/component/button/button.module.mjs +4 -4
  23. package/esm2020/component/chart-3d/chart-3d.module.mjs +4 -4
  24. package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
  25. package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -3
  26. package/esm2020/component/checkbox/checkbox.module.mjs +4 -4
  27. package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +3 -3
  28. package/esm2020/component/date-picker/date-picker.module.mjs +4 -4
  29. package/esm2020/component/date-picker/day-select/day-select.component.mjs +3 -3
  30. package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +3 -3
  31. package/esm2020/component/date-picker/month-select/month-select.component.mjs +3 -3
  32. package/esm2020/component/date-picker/service/picker-touch.service.mjs +3 -3
  33. package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +3 -3
  34. package/esm2020/component/date-picker/year-select/year-select.component.mjs +3 -3
  35. package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +3 -3
  36. package/esm2020/component/delimiter/delimiter.module.mjs +4 -4
  37. package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +3 -3
  38. package/esm2020/component/dropdown/dropdown-base.mjs +3 -3
  39. package/esm2020/component/dropdown/dropdown-content.directive.mjs +3 -3
  40. package/esm2020/component/dropdown/dropdown-head.directive.mjs +3 -3
  41. package/esm2020/component/dropdown/dropdown.directive.mjs +3 -3
  42. package/esm2020/component/dropdown/dropdown.module.mjs +4 -4
  43. package/esm2020/component/dynamic-component/dynamic-component.module.mjs +4 -4
  44. package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +3 -3
  45. package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +3 -3
  46. package/esm2020/component/expand-card/expand-card.module.mjs +4 -4
  47. package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +3 -3
  48. package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +3 -3
  49. package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +3 -3
  50. package/esm2020/component/expand-panel/expand-panel.module.mjs +4 -4
  51. package/esm2020/component/file-upload/file-item/file-item.component.mjs +3 -3
  52. package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +3 -3
  53. package/esm2020/component/file-upload/file-upload.module.mjs +4 -4
  54. package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +3 -3
  55. package/esm2020/component/filter/date-filter/date-filter.component.mjs +3 -3
  56. package/esm2020/component/filter/filter-host/filter-host.component.mjs +3 -3
  57. package/esm2020/component/filter/filter.module.mjs +4 -4
  58. package/esm2020/component/filter/list-filter/list-filter.component.mjs +3 -3
  59. package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +3 -3
  60. package/esm2020/component/filter/string-filter/string-filter.component.mjs +3 -3
  61. package/esm2020/component/icon/icon/icon.component.mjs +3 -3
  62. package/esm2020/component/icon/icon-sprite.directive.mjs +3 -3
  63. package/esm2020/component/icon/icon.module.mjs +4 -4
  64. package/esm2020/component/icon/icon.service.mjs +3 -3
  65. package/esm2020/component/input/form-group-title/form-group-title.component.mjs +3 -3
  66. package/esm2020/component/input/input/input.component.mjs +3 -3
  67. package/esm2020/component/input/input.module.mjs +4 -4
  68. package/esm2020/component/input/text-field/text-field.component.mjs +3 -3
  69. package/esm2020/component/message/message/message.component.mjs +3 -3
  70. package/esm2020/component/message/message-host/message-host.component.mjs +3 -3
  71. package/esm2020/component/message/message.module.mjs +4 -4
  72. package/esm2020/component/message/message.service.mjs +3 -3
  73. package/esm2020/component/modal/dialog/dialog.component.mjs +3 -3
  74. package/esm2020/component/modal/dialog.service.mjs +3 -3
  75. package/esm2020/component/modal/modal-container/modal-container.component.mjs +3 -3
  76. package/esm2020/component/modal/modal.module.mjs +4 -4
  77. package/esm2020/component/modal/modal.service.mjs +3 -3
  78. package/esm2020/component/pager/pager/pager.component.mjs +3 -3
  79. package/esm2020/component/pager/pager.module.mjs +4 -4
  80. package/esm2020/component/panel/panel/panel.component.mjs +3 -3
  81. package/esm2020/component/panel/panel.module.mjs +4 -4
  82. package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +3 -3
  83. package/esm2020/component/progress-bar/progress-bar.module.mjs +4 -4
  84. package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +3 -3
  85. package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +3 -3
  86. package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +3 -3
  87. package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +3 -3
  88. package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +3 -3
  89. package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +5 -5
  90. package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +3 -3
  91. package/esm2020/component/property-grid/property-grid.module.mjs +4 -4
  92. package/esm2020/component/radio/radio/radio.component.mjs +3 -3
  93. package/esm2020/component/radio/radio-button/radio-button.component.mjs +3 -3
  94. package/esm2020/component/radio/radio.module.mjs +4 -4
  95. package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +9 -6
  96. package/esm2020/component/resize-panel/resize-panel.module.mjs +4 -4
  97. package/esm2020/component/select/select/select.component.mjs +3 -3
  98. package/esm2020/component/select/select-option.directive.mjs +3 -3
  99. package/esm2020/component/select/select-value.directive.mjs +3 -3
  100. package/esm2020/component/select/select.module.mjs +4 -4
  101. package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +3 -3
  102. package/esm2020/component/sidebar/sidebar.module.mjs +4 -4
  103. package/esm2020/component/switch/switch/switch.component.mjs +3 -3
  104. package/esm2020/component/switch/switch-button/switch-button.component.mjs +3 -3
  105. package/esm2020/component/switch/switch.module.mjs +4 -4
  106. package/esm2020/component/switch/switch.service.mjs +3 -3
  107. package/esm2020/component/table/base/cell-component-base.mjs +3 -3
  108. package/esm2020/component/table/base/head-cell-component-base.mjs +3 -3
  109. package/esm2020/component/table/cell/cell.component.mjs +3 -3
  110. package/esm2020/component/table/cell-host/cell-host.component.mjs +3 -3
  111. package/esm2020/component/table/contract/table-column.mjs +5 -5
  112. package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +3 -3
  113. package/esm2020/component/table/default/date-cell/date-cell.component.mjs +3 -3
  114. package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +3 -3
  115. package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +3 -3
  116. package/esm2020/component/table/default/list-cell/list-cell.component.mjs +3 -3
  117. package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +3 -3
  118. package/esm2020/component/table/default/string-cell/string-cell.component.mjs +3 -3
  119. package/esm2020/component/table/head-cell/head-cell.component.mjs +3 -3
  120. package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +3 -3
  121. package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +3 -3
  122. package/esm2020/component/table/selection-cell/selection-cell.component.mjs +3 -3
  123. package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +3 -3
  124. package/esm2020/component/table/service/table.service.mjs +3 -3
  125. package/esm2020/component/table/table/table.component.mjs +3 -3
  126. package/esm2020/component/table/table-body/table-body.component.mjs +3 -3
  127. package/esm2020/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +3 -3
  128. package/esm2020/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +3 -3
  129. package/esm2020/component/table/table-head/table-head.component.mjs +3 -3
  130. package/esm2020/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +3 -3
  131. package/esm2020/component/table/table-head-group/table-head-group.component.mjs +3 -3
  132. package/esm2020/component/table/table.module.mjs +4 -4
  133. package/esm2020/component/tabs/tab/tab.component.mjs +3 -3
  134. package/esm2020/component/tabs/tab-content.directive.mjs +3 -3
  135. package/esm2020/component/tabs/tab-title.directive.mjs +3 -3
  136. package/esm2020/component/tabs/tabs/tabs.component.mjs +3 -3
  137. package/esm2020/component/tabs/tabs.module.mjs +4 -4
  138. package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
  139. package/esm2020/component/theme-switch/theme-switch.module.mjs +4 -4
  140. package/esm2020/component/theme-switch/theme-switch.service.mjs +3 -3
  141. package/esm2020/component/toggle/toggle/toggle.component.mjs +3 -3
  142. package/esm2020/component/toggle/toggle.module.mjs +4 -4
  143. package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +3 -3
  144. package/esm2020/component/toolbar/toolbar.module.mjs +4 -4
  145. package/esm2020/component/tree/tree/tree.component.mjs +3 -3
  146. package/esm2020/component/tree/tree-item/tree-item.component.mjs +3 -3
  147. package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
  148. package/esm2020/component/tree/tree.module.mjs +4 -4
  149. package/esm2020/component/tree/tree.service.mjs +3 -3
  150. package/esm2020/directive/auto-position/auto-position.directive.mjs +58 -0
  151. package/esm2020/directive/auto-position/auto-position.module.mjs +24 -0
  152. package/esm2020/directive/auto-position/public-api.mjs +3 -0
  153. package/esm2020/directive/click-outside/click-outside.directive.mjs +3 -3
  154. package/esm2020/directive/click-outside/click-outside.module.mjs +4 -4
  155. package/esm2020/directive/context-menu/context-menu.directive.mjs +3 -3
  156. package/esm2020/directive/context-menu/context-menu.module.mjs +4 -4
  157. package/esm2020/directive/disable-control/disable-control.directive.mjs +3 -3
  158. package/esm2020/directive/disable-control/disable-control.module.mjs +4 -4
  159. package/esm2020/directive/drag-drop/drag-container.directive.mjs +3 -3
  160. package/esm2020/directive/drag-drop/drag-drop.module.mjs +4 -4
  161. package/esm2020/directive/drag-drop/drag-drop.service.mjs +3 -3
  162. package/esm2020/directive/drag-drop/drag-placeholder.directive.mjs +3 -3
  163. package/esm2020/directive/drag-drop/drag-preview.directive.mjs +3 -3
  164. package/esm2020/directive/drag-drop/drag.directive.mjs +5 -5
  165. package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +3 -3
  166. package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +3 -3
  167. package/esm2020/directive/drag-sort/drag-sort.module.mjs +4 -4
  168. package/esm2020/directive/dynamic-content-base.directive.mjs +3 -3
  169. package/esm2020/directive/highlight/highlight.directive.mjs +3 -3
  170. package/esm2020/directive/highlight/highlight.module.mjs +4 -4
  171. package/esm2020/directive/hint/hint.directive.mjs +3 -3
  172. package/esm2020/directive/hint/hint.module.mjs +4 -4
  173. package/esm2020/directive/let/let.directive.mjs +3 -3
  174. package/esm2020/directive/let/let.module.mjs +4 -4
  175. package/esm2020/directive/loader/loader.directive.mjs +3 -3
  176. package/esm2020/directive/loader/loader.module.mjs +4 -4
  177. package/esm2020/directive/no-autofill/no-autofill.directive.mjs +3 -3
  178. package/esm2020/directive/no-autofill/no-autofill.module.mjs +4 -4
  179. package/esm2020/directive/only-number/only-number.directive.mjs +3 -3
  180. package/esm2020/directive/only-number/only-number.module.mjs +4 -4
  181. package/esm2020/directive/public-api.mjs +2 -1
  182. package/esm2020/directive/resize-drag/resize-drag.directive.mjs +3 -3
  183. package/esm2020/directive/resize-drag/resize-drag.module.mjs +4 -4
  184. package/esm2020/directive/scroll-into-view/scroll-into-view.directive.mjs +3 -3
  185. package/esm2020/directive/scroll-into-view/scroll-into-view.module.mjs +4 -4
  186. package/esm2020/directive/teta-template/teta-template.directive.mjs +3 -3
  187. package/esm2020/directive/teta-template/teta-template.module.mjs +4 -4
  188. package/esm2020/directive/tooltip/tooltip.directive.mjs +3 -3
  189. package/esm2020/directive/tooltip/tooltip.module.mjs +4 -4
  190. package/esm2020/locale/teta-config.service.mjs +3 -3
  191. package/esm2020/pipe/number-pipe/number-pipe.module.mjs +4 -4
  192. package/esm2020/pipe/number-pipe/number.pipe.mjs +3 -3
  193. package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +4 -4
  194. package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +3 -3
  195. package/fesm2015/tetacom-ng-components.mjs +705 -590
  196. package/fesm2015/tetacom-ng-components.mjs.map +1 -1
  197. package/fesm2020/tetacom-ng-components.mjs +704 -590
  198. package/fesm2020/tetacom-ng-components.mjs.map +1 -1
  199. package/package.json +1 -1
  200. package/style/resize-panel.scss +2 -4
@@ -5,10 +5,10 @@ import { IconModule } from '../icon/icon.module';
5
5
  import * as i0 from "@angular/core";
6
6
  export class ToggleModule {
7
7
  }
8
- ToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- ToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: ToggleModule, declarations: [ToggleComponent], imports: [CommonModule, IconModule], exports: [ToggleComponent] });
10
- ToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ToggleModule, imports: [CommonModule, IconModule] });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ToggleModule, decorators: [{
8
+ ToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ ToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: ToggleModule, declarations: [ToggleComponent], imports: [CommonModule, IconModule], exports: [ToggleComponent] });
10
+ ToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ToggleModule, imports: [CommonModule, IconModule] });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ToggleModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  declarations: [ToggleComponent],
@@ -10,9 +10,9 @@ export class ToolbarComponent {
10
10
  }
11
11
  ngOnInit() { }
12
12
  }
13
- ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ToolbarComponent, selector: "teta-toolbar", inputs: { palette: "palette", class: "class" }, host: { properties: { "class": "this.getClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ToolbarComponent, decorators: [{
13
+ ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: ToolbarComponent, selector: "teta-toolbar", inputs: { palette: "palette", class: "class" }, host: { properties: { "class": "this.getClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ToolbarComponent, decorators: [{
16
16
  type: Component,
17
17
  args: [{ selector: 'teta-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
18
18
  }], propDecorators: { palette: [{
@@ -4,10 +4,10 @@ import { ToolbarComponent } from './toolbar/toolbar.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export class ToolbarModule {
6
6
  }
7
- ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: ToolbarModule, declarations: [ToolbarComponent], imports: [CommonModule], exports: [ToolbarComponent] });
9
- ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ToolbarModule, imports: [CommonModule] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ToolbarModule, decorators: [{
7
+ ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: ToolbarModule, declarations: [ToolbarComponent], imports: [CommonModule], exports: [ToolbarComponent] });
9
+ ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ToolbarModule, imports: [CommonModule] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ToolbarModule, decorators: [{
11
11
  type: NgModule,
12
12
  args: [{
13
13
  declarations: [ToolbarComponent],
@@ -45,9 +45,9 @@ export class TreeComponent {
45
45
  this._alive = false;
46
46
  }
47
47
  }
48
- TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeComponent, deps: [{ token: i1.TreeService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
49
- TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: TreeComponent, selector: "teta-tree", inputs: { data: "data", class: "class", padding: "padding", childNodeName: "childNodeName", openItems: "openItems", compareItems: "compareItems" }, outputs: { service: "service", openItemsChange: "openItemsChange" }, host: { properties: { "class": "this.getClass" } }, providers: [TreeService], queries: [{ propertyName: "template", first: true, predicate: TetaTemplateDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of data\">\n <teta-tree-item [item]=\"item\"\n [depth]=\"0\"\n [padding]=\"padding\"\n [childNodeName]=\"childNodeName\"\n [noChildMode]=\"noChildMode\"\n [template]=\"template?.template\"></teta-tree-item>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.TreeItemComponent, selector: "teta-tree-item", inputs: ["item", "depth", "padding", "childNodeName", "template", "noChildMode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeComponent, decorators: [{
48
+ TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeComponent, deps: [{ token: i1.TreeService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
49
+ TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: TreeComponent, selector: "teta-tree", inputs: { data: "data", class: "class", padding: "padding", childNodeName: "childNodeName", openItems: "openItems", compareItems: "compareItems" }, outputs: { service: "service", openItemsChange: "openItemsChange" }, host: { properties: { "class": "this.getClass" } }, providers: [TreeService], queries: [{ propertyName: "template", first: true, predicate: TetaTemplateDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of data\">\n <teta-tree-item [item]=\"item\"\n [depth]=\"0\"\n [padding]=\"padding\"\n [childNodeName]=\"childNodeName\"\n [noChildMode]=\"noChildMode\"\n [template]=\"template?.template\"></teta-tree-item>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.TreeItemComponent, selector: "teta-tree-item", inputs: ["item", "depth", "padding", "childNodeName", "template", "noChildMode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeComponent, decorators: [{
51
51
  type: Component,
52
52
  args: [{ selector: 'teta-tree', providers: [TreeService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngFor=\"let item of data\">\n <teta-tree-item [item]=\"item\"\n [depth]=\"0\"\n [padding]=\"padding\"\n [childNodeName]=\"childNodeName\"\n [noChildMode]=\"noChildMode\"\n [template]=\"template?.template\"></teta-tree-item>\n</ng-container>\n" }]
53
53
  }], ctorParameters: function () { return [{ type: i1.TreeService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
@@ -40,8 +40,8 @@ export class TreeItemComponent {
40
40
  this._alive = false;
41
41
  }
42
42
  }
43
- TreeItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeItemComponent, deps: [{ token: i1.TreeService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
44
- TreeItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: TreeItemComponent, selector: "teta-tree-item", inputs: { item: "item", depth: "depth", padding: "padding", childNodeName: "childNodeName", template: "template", noChildMode: "noChildMode" }, host: { properties: { "class.tree__item-container": "this.treeItemClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"tree__item_content\" [ngClass]=\"'tree__item_content-' + computedDepth\" (click)=\"openItem()\">\n <ng-container\n *ngTemplateOutlet=\"template; context: {$implicit: item, item: item, open: itemIsOpen, service: service, depth: depth}\"></ng-container>\n</div>\n<div [@children] class=\"tree__children\" *ngIf=\"itemIsOpen && item[childNodeName]?.length > 0\">\n <teta-tree-item *ngFor=\"let child of item[childNodeName];\"\n [item]=\"child\"\n [template]=\"template\"\n [padding]=\"padding\"\n [childNodeName]=\"childNodeName\"\n [depth]=\"depth + 1\"></teta-tree-item>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TreeItemComponent, selector: "teta-tree-item", inputs: ["item", "depth", "padding", "childNodeName", "template", "noChildMode"] }], animations: [
43
+ TreeItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeItemComponent, deps: [{ token: i1.TreeService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
44
+ TreeItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: TreeItemComponent, selector: "teta-tree-item", inputs: { item: "item", depth: "depth", padding: "padding", childNodeName: "childNodeName", template: "template", noChildMode: "noChildMode" }, host: { properties: { "class.tree__item-container": "this.treeItemClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"tree__item_content\" [ngClass]=\"'tree__item_content-' + computedDepth\" (click)=\"openItem()\">\n <ng-container\n *ngTemplateOutlet=\"template; context: {$implicit: item, item: item, open: itemIsOpen, service: service, depth: depth}\"></ng-container>\n</div>\n<div [@children] class=\"tree__children\" *ngIf=\"itemIsOpen && item[childNodeName]?.length > 0\">\n <teta-tree-item *ngFor=\"let child of item[childNodeName];\"\n [item]=\"child\"\n [template]=\"template\"\n [padding]=\"padding\"\n [childNodeName]=\"childNodeName\"\n [depth]=\"depth + 1\"></teta-tree-item>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TreeItemComponent, selector: "teta-tree-item", inputs: ["item", "depth", "padding", "childNodeName", "template", "noChildMode"] }], animations: [
45
45
  trigger('children', [
46
46
  transition('void => *', [
47
47
  style({ opacity: '0' }),
@@ -50,7 +50,7 @@ TreeItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
50
50
  transition('* => void', [animate(200, style({ opacity: '0' }))]),
51
51
  ]),
52
52
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeItemComponent, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeItemComponent, decorators: [{
54
54
  type: Component,
55
55
  args: [{ selector: 'teta-tree-item', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
56
56
  trigger('children', [
@@ -17,9 +17,9 @@ export class TreeItemToggleComponent {
17
17
  }));
18
18
  }
19
19
  }
20
- TreeItemToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeItemToggleComponent, deps: [{ token: i1.TreeService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
21
- TreeItemToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: TreeItemToggleComponent, selector: "teta-tree-item-toggle", inputs: { item: "item" }, ngImport: i0, template: "<teta-icon [name]=\"(open | async) ? 'arrowDownKey' : 'arrowRightKey'\"\n class=\"tree__icon\"></teta-icon>\n", styles: [":host{display:inline-flex;align-items:center}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeItemToggleComponent, decorators: [{
20
+ TreeItemToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeItemToggleComponent, deps: [{ token: i1.TreeService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
21
+ TreeItemToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: TreeItemToggleComponent, selector: "teta-tree-item-toggle", inputs: { item: "item" }, ngImport: i0, template: "<teta-icon [name]=\"(open | async) ? 'arrowDownKey' : 'arrowRightKey'\"\n class=\"tree__icon\"></teta-icon>\n", styles: [":host{display:inline-flex;align-items:center}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeItemToggleComponent, decorators: [{
23
23
  type: Component,
24
24
  args: [{ selector: 'teta-tree-item-toggle', changeDetection: ChangeDetectionStrategy.OnPush, template: "<teta-icon [name]=\"(open | async) ? 'arrowDownKey' : 'arrowRightKey'\"\n class=\"tree__icon\"></teta-icon>\n", styles: [":host{display:inline-flex;align-items:center}\n"] }]
25
25
  }], ctorParameters: function () { return [{ type: i1.TreeService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { item: [{
@@ -8,10 +8,10 @@ import { TreeItemToggleComponent } from './tree-item-toggle/tree-item-toggle.com
8
8
  import * as i0 from "@angular/core";
9
9
  export class TreeModule {
10
10
  }
11
- TreeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- TreeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: TreeModule, declarations: [TreeComponent, TreeItemComponent, TreeItemToggleComponent], imports: [CommonModule, IconModule, TetaTemplateModule], exports: [TreeComponent, TetaTemplateModule, TreeItemToggleComponent] });
13
- TreeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeModule, imports: [CommonModule, IconModule, TetaTemplateModule, TetaTemplateModule] });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeModule, decorators: [{
11
+ TreeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ TreeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: TreeModule, declarations: [TreeComponent, TreeItemComponent, TreeItemToggleComponent], imports: [CommonModule, IconModule, TetaTemplateModule], exports: [TreeComponent, TetaTemplateModule, TreeItemToggleComponent] });
13
+ TreeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeModule, imports: [CommonModule, IconModule, TetaTemplateModule, TetaTemplateModule] });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeModule, decorators: [{
15
15
  type: NgModule,
16
16
  args: [{
17
17
  declarations: [TreeComponent, TreeItemComponent, TreeItemToggleComponent],
@@ -24,9 +24,9 @@ export class TreeService {
24
24
  }
25
25
  }
26
26
  }
27
- TreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
28
- TreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeService, providedIn: 'root' });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TreeService, decorators: [{
27
+ TreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
28
+ TreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeService, providedIn: 'root' });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: TreeService, decorators: [{
30
30
  type: Injectable,
31
31
  args: [{
32
32
  providedIn: 'root',
@@ -0,0 +1,58 @@
1
+ import { Directive, HostBinding, Input } from '@angular/core';
2
+ import { DomUtil } from '../../common/util/dom-util';
3
+ import { PositionUtil } from '../../common/util/position-util';
4
+ import * as i0 from "@angular/core";
5
+ export class AutoPositionDirective {
6
+ constructor(_elementRef) {
7
+ this._elementRef = _elementRef;
8
+ this.fixed = 'fixed';
9
+ }
10
+ ngAfterViewInit() {
11
+ this.setPosition();
12
+ }
13
+ setPosition() {
14
+ const target = this._elementRef.nativeElement;
15
+ const containerPosition = this._elementRef.nativeElement.parentElement.getBoundingClientRect();
16
+ const targetPosition = target.getBoundingClientRect();
17
+ const rect = {
18
+ bottom: containerPosition.bottom,
19
+ top: containerPosition.top,
20
+ left: containerPosition.left,
21
+ right: containerPosition.right,
22
+ };
23
+ const targetRect = {
24
+ bottom: targetPosition.bottom,
25
+ top: targetPosition.top,
26
+ left: targetPosition.left,
27
+ right: targetPosition.right,
28
+ };
29
+ const targetTransformedParent = DomUtil.findTransformedParent(target);
30
+ let parentPosition = {
31
+ left: 0,
32
+ right: 0,
33
+ top: 0,
34
+ bottom: 0
35
+ };
36
+ if (targetTransformedParent) {
37
+ parentPosition = targetTransformedParent.getBoundingClientRect();
38
+ }
39
+ const position = PositionUtil.getPosition(rect, targetRect, this.align, this.verticalAlign, 0, 0, parentPosition);
40
+ PositionUtil.setElementPosition(target, position);
41
+ }
42
+ }
43
+ AutoPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AutoPositionDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
44
+ AutoPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: AutoPositionDirective, selector: "[tetaAutoPosition]", inputs: { align: "align", verticalAlign: "verticalAlign" }, host: { properties: { "style.position": "this.fixed" } }, ngImport: i0 });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AutoPositionDirective, decorators: [{
46
+ type: Directive,
47
+ args: [{
48
+ selector: '[tetaAutoPosition]'
49
+ }]
50
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { align: [{
51
+ type: Input
52
+ }], verticalAlign: [{
53
+ type: Input
54
+ }], fixed: [{
55
+ type: HostBinding,
56
+ args: ['style.position']
57
+ }] } });
58
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1wb3NpdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGlyZWN0aXZlL2F1dG8tcG9zaXRpb24vYXV0by1wb3NpdGlvbi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixTQUFTLEVBQWMsV0FBVyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUl2RixPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFDbkQsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlDQUFpQyxDQUFDOzt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 import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { AutoPositionDirective } from './auto-position.directive';
4
+ import * as i0 from "@angular/core";
5
+ export class AutoPositionModule {
6
+ }
7
+ AutoPositionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AutoPositionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ AutoPositionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AutoPositionModule, declarations: [AutoPositionDirective], imports: [CommonModule], exports: [AutoPositionDirective] });
9
+ AutoPositionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AutoPositionModule, imports: [CommonModule] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AutoPositionModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [
14
+ AutoPositionDirective
15
+ ],
16
+ exports: [
17
+ AutoPositionDirective
18
+ ],
19
+ imports: [
20
+ CommonModule
21
+ ]
22
+ }]
23
+ }] });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1wb3NpdGlvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGlyZWN0aXZlL2F1dG8tcG9zaXRpb24vYXV0by1wb3NpdGlvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0sMkJBQTJCLENBQUM7O0FBYWhFLE1BQU0sT0FBTyxrQkFBa0I7OytHQUFsQixrQkFBa0I7Z0hBQWxCLGtCQUFrQixpQkFUM0IscUJBQXFCLGFBTXJCLFlBQVksYUFIWixxQkFBcUI7Z0hBTVosa0JBQWtCLFlBSDNCLFlBQVk7MkZBR0gsa0JBQWtCO2tCQVg5QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixxQkFBcUI7cUJBQ3RCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxxQkFBcUI7cUJBQ3RCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxZQUFZO3FCQUNiO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0NvbW1vbk1vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7QXV0b1Bvc2l0aW9uRGlyZWN0aXZlfSBmcm9tICcuL2F1dG8tcG9zaXRpb24uZGlyZWN0aXZlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgQXV0b1Bvc2l0aW9uRGlyZWN0aXZlXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBBdXRvUG9zaXRpb25EaXJlY3RpdmVcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEF1dG9Qb3NpdGlvbk1vZHVsZSB7XG59XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export * from './auto-position.module';
2
+ export * from './auto-position.directive';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kaXJlY3RpdmUvYXV0by1wb3NpdGlvbi9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXV0by1wb3NpdGlvbi5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9hdXRvLXBvc2l0aW9uLmRpcmVjdGl2ZSc7XG4iXX0=
@@ -48,9 +48,9 @@ export class ClickOutsideDirective {
48
48
  window.removeEventListener('contextmenu', this.listener);
49
49
  }
50
50
  }
51
- ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
52
- ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: ClickOutsideDirective, selector: "[tetaClickOutside]", inputs: { rightClick: "rightClick", tetaClickOutside: "tetaClickOutside" }, outputs: { clickOutside: "clickOutside" }, ngImport: i0 });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ClickOutsideDirective, decorators: [{
51
+ ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
52
+ ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: ClickOutsideDirective, selector: "[tetaClickOutside]", inputs: { rightClick: "rightClick", tetaClickOutside: "tetaClickOutside" }, outputs: { clickOutside: "clickOutside" }, ngImport: i0 });
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ClickOutsideDirective, decorators: [{
54
54
  type: Directive,
55
55
  args: [{
56
56
  selector: '[tetaClickOutside]',
@@ -4,10 +4,10 @@ import { ClickOutsideDirective } from './click-outside.directive';
4
4
  import * as i0 from "@angular/core";
5
5
  export class ClickOutsideModule {
6
6
  }
7
- ClickOutsideModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ClickOutsideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- ClickOutsideModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: ClickOutsideModule, declarations: [ClickOutsideDirective], imports: [CommonModule], exports: [ClickOutsideDirective] });
9
- ClickOutsideModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ClickOutsideModule, imports: [CommonModule] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ClickOutsideModule, decorators: [{
7
+ ClickOutsideModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ClickOutsideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ ClickOutsideModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: ClickOutsideModule, declarations: [ClickOutsideDirective], imports: [CommonModule], exports: [ClickOutsideDirective] });
9
+ ClickOutsideModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ClickOutsideModule, imports: [CommonModule] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ClickOutsideModule, decorators: [{
11
11
  type: NgModule,
12
12
  args: [{
13
13
  declarations: [ClickOutsideDirective],
@@ -91,9 +91,9 @@ export class ContextMenuDirective extends DynamicContentBaseDirective {
91
91
  this.openChange.emit(true);
92
92
  }
93
93
  }
94
- ContextMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ContextMenuDirective, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i1.DynamicComponentService }, { token: i0.Injector }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i2.ClickService }], target: i0.ɵɵFactoryTarget.Directive });
95
- ContextMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: ContextMenuDirective, selector: "[tetaContextMenu]", inputs: { tetaContextMenu: "tetaContextMenu", autoCloseIgnore: "autoCloseIgnore" }, host: { listeners: { "contextmenu": "showContent($event)", "click": "click($event)", "document:click": "documentClick($event)", "document:contextmenu": "documentClick($event)" } }, usesInheritance: true, ngImport: i0 });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ContextMenuDirective, decorators: [{
94
+ ContextMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ContextMenuDirective, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i1.DynamicComponentService }, { token: i0.Injector }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i2.ClickService }], target: i0.ɵɵFactoryTarget.Directive });
95
+ ContextMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: ContextMenuDirective, selector: "[tetaContextMenu]", inputs: { tetaContextMenu: "tetaContextMenu", autoCloseIgnore: "autoCloseIgnore" }, host: { listeners: { "contextmenu": "showContent($event)", "click": "click($event)", "document:click": "documentClick($event)", "document:contextmenu": "documentClick($event)" } }, usesInheritance: true, ngImport: i0 });
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ContextMenuDirective, decorators: [{
97
97
  type: Directive,
98
98
  args: [{
99
99
  selector: '[tetaContextMenu]',
@@ -5,12 +5,12 @@ import { DynamicComponentModule } from '../../component/dynamic-component/dynami
5
5
  import * as i0 from "@angular/core";
6
6
  export class ContextMenuModule {
7
7
  }
8
- ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuDirective], imports: [CommonModule,
8
+ ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuDirective], imports: [CommonModule,
10
10
  DynamicComponentModule], exports: [ContextMenuDirective] });
11
- ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ContextMenuModule, imports: [CommonModule,
11
+ ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ContextMenuModule, imports: [CommonModule,
12
12
  DynamicComponentModule] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ContextMenuModule, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ContextMenuModule, decorators: [{
14
14
  type: NgModule,
15
15
  args: [{
16
16
  declarations: [ContextMenuDirective],
@@ -16,9 +16,9 @@ export class DisableControlDirective {
16
16
  }
17
17
  }
18
18
  }
19
- DisableControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DisableControlDirective, deps: [{ token: i1.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
20
- DisableControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: DisableControlDirective, selector: "[tetaDisableControl]", inputs: { tetaDisableControl: "tetaDisableControl" }, ngImport: i0 });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DisableControlDirective, decorators: [{
19
+ DisableControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DisableControlDirective, deps: [{ token: i1.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
20
+ DisableControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: DisableControlDirective, selector: "[tetaDisableControl]", inputs: { tetaDisableControl: "tetaDisableControl" }, ngImport: i0 });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DisableControlDirective, decorators: [{
22
22
  type: Directive,
23
23
  args: [{
24
24
  selector: '[tetaDisableControl]'
@@ -4,10 +4,10 @@ import { DisableControlDirective } from './disable-control.directive';
4
4
  import * as i0 from "@angular/core";
5
5
  export class DisableControlModule {
6
6
  }
7
- DisableControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DisableControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- DisableControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: DisableControlModule, declarations: [DisableControlDirective], imports: [CommonModule], exports: [DisableControlDirective] });
9
- DisableControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DisableControlModule, imports: [CommonModule] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DisableControlModule, decorators: [{
7
+ DisableControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DisableControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ DisableControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: DisableControlModule, declarations: [DisableControlDirective], imports: [CommonModule], exports: [DisableControlDirective] });
9
+ DisableControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DisableControlModule, imports: [CommonModule] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DisableControlModule, decorators: [{
11
11
  type: NgModule,
12
12
  args: [{
13
13
  declarations: [DisableControlDirective],
@@ -51,9 +51,9 @@ export class DragContainerDirective {
51
51
  this._alive = false;
52
52
  }
53
53
  }
54
- DragContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragContainerDirective, deps: [{ token: i1.DragDropService }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
55
- DragContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: DragContainerDirective, selector: "[tetaDragContainer]", inputs: { data: ["tetaDragContainer", "data"], multiple: "multiple", allowDrop: "allowDrop" }, outputs: { tetaDrop: "tetaDrop", tetaDragEnter: "tetaDragEnter" }, host: { listeners: { "mouseleave": "mouseleave($event)", "mouseover": "mouseover($event)", "window:keydown.escape": "escape($event)" }, properties: { "class.teta-drag-container": "\"true\"", "class.teta-drop-target": "isDropTarget" } }, queries: [{ propertyName: "_previewTemplate", first: true, predicate: DragPreviewDirective, descendants: true, static: true }], exportAs: ["dragContainer"], ngImport: i0 });
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragContainerDirective, decorators: [{
54
+ DragContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragContainerDirective, deps: [{ token: i1.DragDropService }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
55
+ DragContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: DragContainerDirective, selector: "[tetaDragContainer]", inputs: { data: ["tetaDragContainer", "data"], multiple: "multiple", allowDrop: "allowDrop" }, outputs: { tetaDrop: "tetaDrop", tetaDragEnter: "tetaDragEnter" }, host: { listeners: { "mouseleave": "mouseleave($event)", "mouseover": "mouseover($event)", "window:keydown.escape": "escape($event)" }, properties: { "class.teta-drag-container": "\"true\"", "class.teta-drop-target": "isDropTarget" } }, queries: [{ propertyName: "_previewTemplate", first: true, predicate: DragPreviewDirective, descendants: true, static: true }], exportAs: ["dragContainer"], ngImport: i0 });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragContainerDirective, decorators: [{
57
57
  type: Directive,
58
58
  args: [{
59
59
  selector: '[tetaDragContainer]',
@@ -7,16 +7,16 @@ import { DragPlaceholderDirective } from './drag-placeholder.directive';
7
7
  import * as i0 from "@angular/core";
8
8
  export class DragDropModule {
9
9
  }
10
- DragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- DragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: DragDropModule, declarations: [DragContainerDirective,
10
+ DragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ DragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: DragDropModule, declarations: [DragContainerDirective,
12
12
  DragDirective,
13
13
  DragPreviewDirective,
14
14
  DragPlaceholderDirective], imports: [CommonModule], exports: [DragContainerDirective,
15
15
  DragDirective,
16
16
  DragPreviewDirective,
17
17
  DragPlaceholderDirective] });
18
- DragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragDropModule, imports: [CommonModule] });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragDropModule, decorators: [{
18
+ DragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragDropModule, imports: [CommonModule] });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragDropModule, decorators: [{
20
20
  type: NgModule,
21
21
  args: [{
22
22
  declarations: [
@@ -126,9 +126,9 @@ export class DragDropService {
126
126
  }
127
127
  }
128
128
  }
129
- DragDropService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragDropService, deps: [{ token: DOCUMENT }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
130
- DragDropService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragDropService, providedIn: 'root' });
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragDropService, decorators: [{
129
+ DragDropService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragDropService, deps: [{ token: DOCUMENT }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
130
+ DragDropService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragDropService, providedIn: 'root' });
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragDropService, decorators: [{
132
132
  type: Injectable,
133
133
  args: [{
134
134
  providedIn: 'root'
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
3
3
  export class DragPlaceholderDirective {
4
4
  constructor() { }
5
5
  }
6
- DragPlaceholderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragPlaceholderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
7
- DragPlaceholderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: DragPlaceholderDirective, selector: "[tetaDragPlaceholder]", ngImport: i0 });
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragPlaceholderDirective, decorators: [{
6
+ DragPlaceholderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragPlaceholderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
7
+ DragPlaceholderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: DragPlaceholderDirective, selector: "[tetaDragPlaceholder]", ngImport: i0 });
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragPlaceholderDirective, decorators: [{
9
9
  type: Directive,
10
10
  args: [{
11
11
  selector: '[tetaDragPlaceholder]'
@@ -5,9 +5,9 @@ export class DragPreviewDirective {
5
5
  this.templateRef = templateRef;
6
6
  }
7
7
  }
8
- DragPreviewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragPreviewDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
9
- DragPreviewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: DragPreviewDirective, selector: "[tetaDragPreview]", ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragPreviewDirective, decorators: [{
8
+ DragPreviewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragPreviewDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
9
+ DragPreviewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: DragPreviewDirective, selector: "[tetaDragPreview]", ngImport: i0 });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragPreviewDirective, decorators: [{
11
11
  type: Directive,
12
12
  args: [{
13
13
  selector: '[tetaDragPreview]'
@@ -46,7 +46,7 @@ export class DragDirective {
46
46
  }
47
47
  ngOnInit() {
48
48
  this.instance = new DragInstance({
49
- container: this._container.instance,
49
+ container: this._container?.instance,
50
50
  data: this.data
51
51
  });
52
52
  this._dragService.dropTarget.pipe(takeWhile(() => this._alive))
@@ -70,9 +70,9 @@ export class DragDirective {
70
70
  this._alive = false;
71
71
  }
72
72
  }
73
- DragDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragDirective, deps: [{ token: DragContainerDirective, optional: true, skipSelf: true }, { token: i1.DragDropService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
74
- DragDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: DragDirective, selector: "[tetaDrag]", inputs: { data: ["tetaDrag", "data"], allowDrag: "allowDrag", allowDrop: "allowDrop" }, outputs: { tetaDragEnter: "tetaDragEnter", tetaDrop: "tetaDrop" }, host: { listeners: { "mousedown": "mousedown($event)", "touchstart": "mousedown($event)", "mouseenter": "mouseenter($event)", "mouseleave": "mouseleave($event)" }, properties: { "style.userSelect": "\"none\"", "class.teta-drag-item": "\"true\"", "class.teta_draggable_item": "this.allowDrag", "class.teta_droppable_item": "this.allowDrop", "class.teta-drag-selection": "this.selection", "class.teta-drop-target": "this.isDropTarget" } }, exportAs: ["drag"], ngImport: i0 });
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragDirective, decorators: [{
73
+ DragDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragDirective, deps: [{ token: DragContainerDirective, optional: true, skipSelf: true }, { token: i1.DragDropService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
74
+ DragDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: DragDirective, selector: "[tetaDrag]", inputs: { data: ["tetaDrag", "data"], allowDrag: "allowDrag", allowDrop: "allowDrop" }, outputs: { tetaDragEnter: "tetaDragEnter", tetaDrop: "tetaDrop" }, host: { listeners: { "mousedown": "mousedown($event)", "touchstart": "mousedown($event)", "mouseenter": "mouseenter($event)", "mouseleave": "mouseleave($event)" }, properties: { "style.userSelect": "\"none\"", "class.teta-drag-item": "\"true\"", "class.teta_draggable_item": "this.allowDrag", "class.teta_droppable_item": "this.allowDrop", "class.teta-drag-selection": "this.selection", "class.teta-drop-target": "this.isDropTarget" } }, exportAs: ["drag"], ngImport: i0 });
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragDirective, decorators: [{
76
76
  type: Directive,
77
77
  args: [{
78
78
  selector: '[tetaDrag]',
@@ -125,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
125
125
  type: HostListener,
126
126
  args: ['mouseleave', ['$event']]
127
127
  }] } });
128
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGlyZWN0aXZlL2RyYWctZHJvcC9kcmFnLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsWUFBWSxFQUNaLE1BQU0sRUFDTixLQUFLLEVBRUwsUUFBUSxFQUNSLE1BQU0sRUFDTixRQUFRLEVBQ1QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQ25ELE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLDRCQUE0QixDQUFDO0FBR2xFLE9BQU8sRUFBQyxNQUFNLEVBQUUsU0FBUyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7Ozs7QUFXakQsTUFBTSxPQUFPLGFBQWE7SUFxRHhCLFlBQTRFLFVBQXFDLEVBQzdGLFlBQWdDLEVBQ2hDLEtBQWEsRUFDYixJQUF1QjtRQUhpQyxlQUFVLEdBQVYsVUFBVSxDQUEyQjtRQUM3RixpQkFBWSxHQUFaLFlBQVksQ0FBb0I7UUFDaEMsVUFBSyxHQUFMLEtBQUssQ0FBUTtRQUNiLFNBQUksR0FBSixJQUFJLENBQW1CO1FBcERsQyxjQUFTLEdBQUcsSUFBSSxDQUFDO1FBR2pCLGNBQVMsR0FBRyxJQUFJLENBQUM7UUFFaEIsa0JBQWEsR0FBRyxJQUFJLFlBQVksRUFBbUI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IHRoaXMuX2RyYWdTZXJ2aWNlLmRyb3BwZWQucGlwZSh0YWtlV2hpbGUoKCkgPT4gdGhpcy5fYWxpdmUpKVxuICAgICAgLnBpcGUoXG4gICAgICAgIGZpbHRlcigoZXZlbnQ6IERyb3BFdmVudDxUPikgPT4ge1xuICAgICAgICAgIHJldHVybiBldmVudC50YXJnZXQgPT09IHRoaXMuaW5zdGFuY2U7XG4gICAgICAgIH0pKVxuICAgICAgLnN1YnNjcmliZSgoZXZlbnQpID0+IHtcbiAgICAgICAgdGhpcy50ZXRhRHJvcC5lbWl0KGV2ZW50KTtcbiAgICAgIH0pO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5fYWxpdmUgPSBmYWxzZTtcbiAgfVxufVxuIl19
@@ -46,9 +46,9 @@ export class DragSortContainerDirective {
46
46
  });
47
47
  }
48
48
  }
49
- DragSortContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragSortContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
50
- DragSortContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: DragSortContainerDirective, selector: "[tetaDragSortContainer]", inputs: { dragSortList: "dragSortList" }, outputs: { dragSorted: "dragSorted" }, host: { listeners: { "drop": "drop($event)" } }, ngImport: i0 });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragSortContainerDirective, decorators: [{
49
+ DragSortContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragSortContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
50
+ DragSortContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: DragSortContainerDirective, selector: "[tetaDragSortContainer]", inputs: { dragSortList: "dragSortList" }, outputs: { dragSorted: "dragSorted" }, host: { listeners: { "drop": "drop($event)" } }, ngImport: i0 });
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragSortContainerDirective, decorators: [{
52
52
  type: Directive,
53
53
  args: [{
54
54
  selector: '[tetaDragSortContainer]',
@@ -74,9 +74,9 @@ export class DragSortItemDirective {
74
74
  }
75
75
  }
76
76
  }
77
- DragSortItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragSortItemDirective, deps: [{ token: i1.DragSortContainerDirective, host: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
78
- DragSortItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: DragSortItemDirective, selector: "[tetaDragSortItem]", inputs: { tetaDragSortItem: "tetaDragSortItem", dragSortDirection: "dragSortDirection" }, host: { listeners: { "dragstart": "dragstart($event)", "dragenter": "dragenter($event)", "dragover": "dragover($event)", "dragleave": "dragleave($event)", "dragend": "dragend($event)", "drop": "drop($event)" }, properties: { "attr.draggable": "this.draggable", "class.position-relative": "this.relative" } }, ngImport: i0 });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragSortItemDirective, decorators: [{
77
+ DragSortItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragSortItemDirective, deps: [{ token: i1.DragSortContainerDirective, host: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
78
+ DragSortItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: DragSortItemDirective, selector: "[tetaDragSortItem]", inputs: { tetaDragSortItem: "tetaDragSortItem", dragSortDirection: "dragSortDirection" }, host: { listeners: { "dragstart": "dragstart($event)", "dragenter": "dragenter($event)", "dragover": "dragover($event)", "dragleave": "dragleave($event)", "dragend": "dragend($event)", "drop": "drop($event)" }, properties: { "attr.draggable": "this.draggable", "class.position-relative": "this.relative" } }, ngImport: i0 });
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragSortItemDirective, decorators: [{
80
80
  type: Directive,
81
81
  args: [{
82
82
  selector: '[tetaDragSortItem]',
@@ -5,10 +5,10 @@ import { DragSortItemDirective } from './drag-sort-item.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  export class DragSortModule {
7
7
  }
8
- DragSortModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragSortModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- DragSortModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: DragSortModule, declarations: [DragSortContainerDirective, DragSortItemDirective], imports: [CommonModule], exports: [DragSortContainerDirective, DragSortItemDirective] });
10
- DragSortModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragSortModule, imports: [CommonModule] });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DragSortModule, decorators: [{
8
+ DragSortModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragSortModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ DragSortModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: DragSortModule, declarations: [DragSortContainerDirective, DragSortItemDirective], imports: [CommonModule], exports: [DragSortContainerDirective, DragSortItemDirective] });
10
+ DragSortModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragSortModule, imports: [CommonModule] });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DragSortModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  declarations: [DragSortContainerDirective, DragSortItemDirective],
@@ -58,9 +58,9 @@ export class DynamicContentBaseDirective {
58
58
  this._componentRef = null;
59
59
  }
60
60
  }
61
- DynamicContentBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DynamicContentBaseDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
62
- DynamicContentBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: DynamicContentBaseDirective, inputs: { data: "data", className: "className", align: "align", verticalAlign: "verticalAlign", appendToBody: "appendToBody", open: "open" }, outputs: { openChange: "openChange" }, ngImport: i0 });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DynamicContentBaseDirective, decorators: [{
61
+ DynamicContentBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DynamicContentBaseDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
62
+ DynamicContentBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: DynamicContentBaseDirective, inputs: { data: "data", className: "className", align: "align", verticalAlign: "verticalAlign", appendToBody: "appendToBody", open: "open" }, outputs: { openChange: "openChange" }, ngImport: i0 });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DynamicContentBaseDirective, decorators: [{
64
64
  type: Directive
65
65
  }], ctorParameters: function () { return [{ type: undefined }, { type: i0.ElementRef }, { type: i1.DynamicComponentService }, { type: i0.Injector }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
66
66
  type: Input