igniteui-dockmanager 2.1.0-RC.0 → 2.2.0-alpha.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 (138) hide show
  1. package/README.md +4 -4
  2. package/custom-elements.json +174 -112
  3. package/dist/LICENSE +13 -0
  4. package/dist/README.md +84 -0
  5. package/{components → dist/components}/button/button-component.js +3 -4
  6. package/{components → dist/components}/context-menu/context-menu.js +3 -4
  7. package/{components → dist/components}/dockmanager/docking/edge-docking-indicator-component.js +3 -4
  8. package/{components → dist/components}/dockmanager/docking/joystick-icon-component.js +3 -4
  9. package/{components → dist/components}/dockmanager/docking/joystick-indicator-component.js +3 -4
  10. package/{components → dist/components}/dockmanager/docking/root-docking-indicator-component.js +3 -4
  11. package/{components → dist/components}/dockmanager/docking/splitter-docking-indicator-component.js +3 -4
  12. package/{components → dist/components}/dockmanager/dockmanager-component.js +3 -4
  13. package/{components → dist/components}/dockmanager/pane-navigator/pane-navigator-component.js +3 -4
  14. package/{components → dist/components}/dockmanager/panes/content-pane-component.js +3 -4
  15. package/{components → dist/components}/dockmanager/panes/document-host-component.js +3 -4
  16. package/{components → dist/components}/dockmanager/panes/floating-pane-component.js +3 -4
  17. package/{components → dist/components}/dockmanager/panes/pane-header-component.js +3 -4
  18. package/{components → dist/components}/dockmanager/panes/resizer-component.js +2 -3
  19. package/{components → dist/components}/dockmanager/panes/split-pane-component.js +3 -4
  20. package/{components → dist/components}/dockmanager/panes/splitter-component.js +3 -4
  21. package/{components → dist/components}/dockmanager/panes/unpinned-pane-header-component.js +3 -4
  22. package/{components → dist/components}/icon/icon-component.js +3 -4
  23. package/{components → dist/components}/sample-component/sample-component.js +109 -109
  24. package/{components → dist/components}/tabs/tab-header-component.js +3 -4
  25. package/{components → dist/components}/tabs/tab-panel-component.js +3 -4
  26. package/{components → dist/components}/tabs/tabs-component.js +3 -4
  27. package/dist/custom-elements.json +14214 -0
  28. package/dist/package.json +51 -0
  29. package/package.json +134 -57
  30. /package/{CHANGELOG.md → dist/CHANGELOG.md} +0 -0
  31. /package/{common → dist/common}/decorators/blazorSuppressComponent.d.ts +0 -0
  32. /package/{common → dist/common}/decorators/blazorSuppressComponent.js +0 -0
  33. /package/{common → dist/common}/decorators/watch.d.ts +0 -0
  34. /package/{common → dist/common}/decorators/watch.js +0 -0
  35. /package/{common → dist/common}/definitions/defineAllComponents.d.ts +0 -0
  36. /package/{common → dist/common}/definitions/defineAllComponents.js +0 -0
  37. /package/{common → dist/common}/definitions/defineComponents.d.ts +0 -0
  38. /package/{common → dist/common}/definitions/defineComponents.js +0 -0
  39. /package/{common → dist/common}/definitions/register.d.ts +0 -0
  40. /package/{common → dist/common}/definitions/register.js +0 -0
  41. /package/{common → dist/common}/mixins/constructor.d.ts +0 -0
  42. /package/{common → dist/common}/mixins/constructor.js +0 -0
  43. /package/{common → dist/common}/mixins/event-emitter.d.ts +0 -0
  44. /package/{common → dist/common}/mixins/event-emitter.js +0 -0
  45. /package/{common → dist/common}/util.d.ts +0 -0
  46. /package/{common → dist/common}/util.js +0 -0
  47. /package/{components → dist/components}/button/button-component.css.d.ts +0 -0
  48. /package/{components → dist/components}/button/button-component.css.js +0 -0
  49. /package/{components → dist/components}/button/button-component.d.ts +0 -0
  50. /package/{components → dist/components}/context-menu/context-menu.css.d.ts +0 -0
  51. /package/{components → dist/components}/context-menu/context-menu.css.js +0 -0
  52. /package/{components → dist/components}/context-menu/context-menu.d.ts +0 -0
  53. /package/{components → dist/components}/dockmanager/backfill-types-dockmanager.d.ts +0 -0
  54. /package/{components → dist/components}/dockmanager/backfill-types-dockmanager.js +0 -0
  55. /package/{components → dist/components}/dockmanager/docking/edge-docking-indicator-component.css.d.ts +0 -0
  56. /package/{components → dist/components}/dockmanager/docking/edge-docking-indicator-component.css.js +0 -0
  57. /package/{components → dist/components}/dockmanager/docking/edge-docking-indicator-component.d.ts +0 -0
  58. /package/{components → dist/components}/dockmanager/docking/joystick-icon-component.css.d.ts +0 -0
  59. /package/{components → dist/components}/dockmanager/docking/joystick-icon-component.css.js +0 -0
  60. /package/{components → dist/components}/dockmanager/docking/joystick-icon-component.d.ts +0 -0
  61. /package/{components → dist/components}/dockmanager/docking/joystick-indicator-component.css.d.ts +0 -0
  62. /package/{components → dist/components}/dockmanager/docking/joystick-indicator-component.css.js +0 -0
  63. /package/{components → dist/components}/dockmanager/docking/joystick-indicator-component.d.ts +0 -0
  64. /package/{components → dist/components}/dockmanager/docking/root-docking-indicator-component.css.d.ts +0 -0
  65. /package/{components → dist/components}/dockmanager/docking/root-docking-indicator-component.css.js +0 -0
  66. /package/{components → dist/components}/dockmanager/docking/root-docking-indicator-component.d.ts +0 -0
  67. /package/{components → dist/components}/dockmanager/docking/splitter-docking-indicator-component.css.d.ts +0 -0
  68. /package/{components → dist/components}/dockmanager/docking/splitter-docking-indicator-component.css.js +0 -0
  69. /package/{components → dist/components}/dockmanager/docking/splitter-docking-indicator-component.d.ts +0 -0
  70. /package/{components → dist/components}/dockmanager/dockmanager-component.css.d.ts +0 -0
  71. /package/{components → dist/components}/dockmanager/dockmanager-component.css.js +0 -0
  72. /package/{components → dist/components}/dockmanager/dockmanager-component.d.ts +0 -0
  73. /package/{components → dist/components}/dockmanager/dockmanager.interfaces.d.ts +0 -0
  74. /package/{components → dist/components}/dockmanager/dockmanager.interfaces.js +0 -0
  75. /package/{components → dist/components}/dockmanager/dockmanager.service.d.ts +0 -0
  76. /package/{components → dist/components}/dockmanager/dockmanager.service.js +0 -0
  77. /package/{components → dist/components}/dockmanager/keyboard/keyboard.service.d.ts +0 -0
  78. /package/{components → dist/components}/dockmanager/keyboard/keyboard.service.js +0 -0
  79. /package/{components → dist/components}/dockmanager/pane-navigator/pane-navigator-component.css.d.ts +0 -0
  80. /package/{components → dist/components}/dockmanager/pane-navigator/pane-navigator-component.css.js +0 -0
  81. /package/{components → dist/components}/dockmanager/pane-navigator/pane-navigator-component.d.ts +0 -0
  82. /package/{components → dist/components}/dockmanager/panes/content-pane-component.base.css.d.ts +0 -0
  83. /package/{components → dist/components}/dockmanager/panes/content-pane-component.base.css.js +0 -0
  84. /package/{components → dist/components}/dockmanager/panes/content-pane-component.d.ts +0 -0
  85. /package/{components → dist/components}/dockmanager/panes/document-host-component.base.css.d.ts +0 -0
  86. /package/{components → dist/components}/dockmanager/panes/document-host-component.base.css.js +0 -0
  87. /package/{components → dist/components}/dockmanager/panes/document-host-component.d.ts +0 -0
  88. /package/{components → dist/components}/dockmanager/panes/floating-pane-component.css.d.ts +0 -0
  89. /package/{components → dist/components}/dockmanager/panes/floating-pane-component.css.js +0 -0
  90. /package/{components → dist/components}/dockmanager/panes/floating-pane-component.d.ts +0 -0
  91. /package/{components → dist/components}/dockmanager/panes/pane-header-component.base.css.d.ts +0 -0
  92. /package/{components → dist/components}/dockmanager/panes/pane-header-component.base.css.js +0 -0
  93. /package/{components → dist/components}/dockmanager/panes/pane-header-component.d.ts +0 -0
  94. /package/{components → dist/components}/dockmanager/panes/resizer-component.d.ts +0 -0
  95. /package/{components → dist/components}/dockmanager/panes/split-pane-component.base.css.d.ts +0 -0
  96. /package/{components → dist/components}/dockmanager/panes/split-pane-component.base.css.js +0 -0
  97. /package/{components → dist/components}/dockmanager/panes/split-pane-component.d.ts +0 -0
  98. /package/{components → dist/components}/dockmanager/panes/splitter-component.css.d.ts +0 -0
  99. /package/{components → dist/components}/dockmanager/panes/splitter-component.css.js +0 -0
  100. /package/{components → dist/components}/dockmanager/panes/splitter-component.d.ts +0 -0
  101. /package/{components → dist/components}/dockmanager/panes/unpinned-pane-header-component.base.css.d.ts +0 -0
  102. /package/{components → dist/components}/dockmanager/panes/unpinned-pane-header-component.base.css.js +0 -0
  103. /package/{components → dist/components}/dockmanager/panes/unpinned-pane-header-component.d.ts +0 -0
  104. /package/{components → dist/components}/drag-drop/drag.service.d.ts +0 -0
  105. /package/{components → dist/components}/drag-drop/drag.service.js +0 -0
  106. /package/{components → dist/components}/icon/icon-component.css.d.ts +0 -0
  107. /package/{components → dist/components}/icon/icon-component.css.js +0 -0
  108. /package/{components → dist/components}/icon/icon-component.d.ts +0 -0
  109. /package/{components → dist/components}/icon/icons.d.ts +0 -0
  110. /package/{components → dist/components}/icon/icons.js +0 -0
  111. /package/{components → dist/components}/sample-component/sample-component.d.ts +0 -0
  112. /package/{components → dist/components}/tabs/tab-header-component.css.d.ts +0 -0
  113. /package/{components → dist/components}/tabs/tab-header-component.css.js +0 -0
  114. /package/{components → dist/components}/tabs/tab-header-component.d.ts +0 -0
  115. /package/{components → dist/components}/tabs/tab-panel-component.css.d.ts +0 -0
  116. /package/{components → dist/components}/tabs/tab-panel-component.css.js +0 -0
  117. /package/{components → dist/components}/tabs/tab-panel-component.d.ts +0 -0
  118. /package/{components → dist/components}/tabs/tabs-component.css.d.ts +0 -0
  119. /package/{components → dist/components}/tabs/tabs-component.css.js +0 -0
  120. /package/{components → dist/components}/tabs/tabs-component.d.ts +0 -0
  121. /package/{igniteui-dockmanager.css-data.json → dist/igniteui-dockmanager.css-data.json} +0 -0
  122. /package/{igniteui-dockmanager.html-data.json → dist/igniteui-dockmanager.html-data.json} +0 -0
  123. /package/{index.d.ts → dist/index.d.ts} +0 -0
  124. /package/{index.js → dist/index.js} +0 -0
  125. /package/{loader.d.ts → dist/loader.d.ts} +0 -0
  126. /package/{loader.js → dist/loader.js} +0 -0
  127. /package/{styles → dist/styles}/igc.theme.default.css +0 -0
  128. /package/{styles → dist/styles}/igc.themes.css +0 -0
  129. /package/{styles → dist/styles}/index.css +0 -0
  130. /package/{utils → dist/utils}/locale.d.ts +0 -0
  131. /package/{utils → dist/utils}/locale.js +0 -0
  132. /package/{utils → dist/utils}/test-utils.d.ts +0 -0
  133. /package/{utils → dist/utils}/test-utils.js +0 -0
  134. /package/{utils → dist/utils}/two-way-map.d.ts +0 -0
  135. /package/{utils → dist/utils}/two-way-map.js +0 -0
  136. /package/{utils → dist/utils}/utils.d.ts +0 -0
  137. /package/{utils → dist/utils}/utils.js +0 -0
  138. /package/{web-types.json → dist/web-types.json} +0 -0
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [Ignite UI Dock Manager Web Component](https://www.infragistics.com/) provides means to manage the layout of your application through panes, allowing your end-users to customize it further by pinning, resizing, moving and hiding panes.
4
4
 
5
5
  > [!IMPORTANT]
6
- > **Version 2.0+ Notice:** The Dock Manager has been migrated from Stencil to **Lit**. For the legacy Stencil-based version, please refer to the [1.18.x branch](https://github.com/IgniteUI/dock-manager/tree/1.18.x).
6
+ > **Version 2.0+ Notice:** The Dock Manager has been migrated from Stencil to **Lit**. For the legacy Stencil-based version, please refer to the [1.x branch](https://github.com/IgniteUI/dock-manager/tree/1.x).
7
7
 
8
8
  ## NPM Package
9
9
 
@@ -26,9 +26,9 @@ defineComponents(IgcDockManagerComponent);
26
26
 
27
27
  ```
28
28
 
29
- ### Legacy Stencil Version (v1.18.x)
29
+ ### Legacy Stencil Version (v1.x)
30
30
 
31
- If you are using the version from the `1.18.x` branch, it is necessary to import and call the `defineCustomElements()` function:
31
+ If you are using the version from the `1.x` branch, it is necessary to import and call the `defineCustomElements()` function:
32
32
 
33
33
  ```ts
34
34
  import { defineCustomElements } from 'igniteui-dockmanager/loader';
@@ -65,7 +65,7 @@ To ensure stability for our customers, we maintain the following branch structur
65
65
  | --- | --- | --- | --- |
66
66
  | `master` | Stable | **Lit** | Active Development |
67
67
  | `develop` | Bleeding Edge | **Lit** | Integration |
68
- | `1.18.x` | Legacy LTS | **Stencil** | Security & Critical Bug fixes Only |
68
+ | `1.x` | Legacy LTS | **Stencil** | Security & Critical Bug fixes Only |
69
69
 
70
70
  ## Support
71
71
 
@@ -5393,6 +5393,30 @@
5393
5393
  },
5394
5394
  "tagName": "igc-dockmanager",
5395
5395
  "customElement": true
5396
+ },
5397
+ {
5398
+ "kind": "variable",
5399
+ "name": "headerRect"
5400
+ },
5401
+ {
5402
+ "kind": "variable",
5403
+ "name": "tabsRect"
5404
+ },
5405
+ {
5406
+ "kind": "variable",
5407
+ "name": "prevHeaderRect"
5408
+ },
5409
+ {
5410
+ "kind": "variable",
5411
+ "name": "nextHeaderRect"
5412
+ },
5413
+ {
5414
+ "kind": "variable",
5415
+ "name": "lastVisibleHeaderRect"
5416
+ },
5417
+ {
5418
+ "kind": "variable",
5419
+ "name": "maximized"
5396
5420
  }
5397
5421
  ],
5398
5422
  "exports": [
@@ -7423,6 +7447,36 @@
7423
7447
  ]
7424
7448
  }
7425
7449
  ]
7450
+ },
7451
+ {
7452
+ "kind": "variable",
7453
+ "name": "panes",
7454
+ "type": {
7455
+ "text": "IgcContentPane[]"
7456
+ },
7457
+ "default": "[]"
7458
+ },
7459
+ {
7460
+ "kind": "variable",
7461
+ "name": "location"
7462
+ },
7463
+ {
7464
+ "kind": "variable",
7465
+ "name": "newValue",
7466
+ "type": {
7467
+ "text": "boolean"
7468
+ },
7469
+ "default": "!this.getActualIsPinned(pane)"
7470
+ },
7471
+ {
7472
+ "kind": "variable",
7473
+ "name": "newWidth",
7474
+ "default": "currW"
7475
+ },
7476
+ {
7477
+ "kind": "variable",
7478
+ "name": "newHeight",
7479
+ "default": "currH"
7426
7480
  }
7427
7481
  ],
7428
7482
  "exports": [
@@ -9836,6 +9890,10 @@
9836
9890
  },
9837
9891
  "tagName": "igc-tabs-component",
9838
9892
  "customElement": true
9893
+ },
9894
+ {
9895
+ "kind": "variable",
9896
+ "name": "top"
9839
9897
  }
9840
9898
  ],
9841
9899
  "exports": [
@@ -10511,118 +10569,6 @@
10511
10569
  }
10512
10570
  ]
10513
10571
  },
10514
- {
10515
- "kind": "javascript-module",
10516
- "path": "src/components/dockmanager/keyboard/keyboard.service.ts",
10517
- "declarations": [
10518
- {
10519
- "kind": "class",
10520
- "description": "",
10521
- "name": "IgcDockManagerKeyboardService",
10522
- "members": [
10523
- {
10524
- "kind": "method",
10525
- "name": "handleKeydown",
10526
- "parameters": [
10527
- {
10528
- "name": "event",
10529
- "type": {
10530
- "text": "KeyboardEvent"
10531
- }
10532
- }
10533
- ]
10534
- },
10535
- {
10536
- "kind": "method",
10537
- "name": "handleFocusPane",
10538
- "privacy": "private",
10539
- "parameters": [
10540
- {
10541
- "name": "event",
10542
- "type": {
10543
- "text": "KeyboardEvent"
10544
- }
10545
- }
10546
- ]
10547
- },
10548
- {
10549
- "kind": "method",
10550
- "name": "handleDockPane",
10551
- "privacy": "private",
10552
- "parameters": [
10553
- {
10554
- "name": "event",
10555
- "type": {
10556
- "text": "KeyboardEvent"
10557
- }
10558
- }
10559
- ]
10560
- },
10561
- {
10562
- "kind": "method",
10563
- "name": "handleRootDockPane",
10564
- "privacy": "private",
10565
- "parameters": [
10566
- {
10567
- "name": "key",
10568
- "type": {
10569
- "text": "string"
10570
- }
10571
- }
10572
- ]
10573
- },
10574
- {
10575
- "kind": "method",
10576
- "name": "handleInnerDockPane",
10577
- "privacy": "private",
10578
- "parameters": [
10579
- {
10580
- "name": "key",
10581
- "type": {
10582
- "text": "string"
10583
- }
10584
- }
10585
- ]
10586
- },
10587
- {
10588
- "kind": "method",
10589
- "name": "setPaneNavigatorMeta",
10590
- "privacy": "private",
10591
- "parameters": [
10592
- {
10593
- "name": "altKey",
10594
- "type": {
10595
- "text": "boolean"
10596
- }
10597
- },
10598
- {
10599
- "name": "ctrlOrMetaKey",
10600
- "type": {
10601
- "text": "boolean"
10602
- }
10603
- },
10604
- {
10605
- "name": "shiftKey",
10606
- "type": {
10607
- "text": "boolean"
10608
- }
10609
- }
10610
- ]
10611
- }
10612
- ]
10613
- }
10614
- ],
10615
- "exports": [
10616
- {
10617
- "kind": "js",
10618
- "name": "IgcDockManagerKeyboardService",
10619
- "declaration": {
10620
- "name": "IgcDockManagerKeyboardService",
10621
- "module": "src/components/dockmanager/keyboard/keyboard.service.ts"
10622
- }
10623
- }
10624
- ]
10625
- },
10626
10572
  {
10627
10573
  "kind": "javascript-module",
10628
10574
  "path": "src/components/dockmanager/pane-navigator/pane-navigator-component.ts",
@@ -11107,6 +11053,122 @@
11107
11053
  }
11108
11054
  ]
11109
11055
  },
11056
+ {
11057
+ "kind": "javascript-module",
11058
+ "path": "src/components/dockmanager/keyboard/keyboard.service.ts",
11059
+ "declarations": [
11060
+ {
11061
+ "kind": "class",
11062
+ "description": "",
11063
+ "name": "IgcDockManagerKeyboardService",
11064
+ "members": [
11065
+ {
11066
+ "kind": "method",
11067
+ "name": "handleKeydown",
11068
+ "parameters": [
11069
+ {
11070
+ "name": "event",
11071
+ "type": {
11072
+ "text": "KeyboardEvent"
11073
+ }
11074
+ }
11075
+ ]
11076
+ },
11077
+ {
11078
+ "kind": "method",
11079
+ "name": "handleFocusPane",
11080
+ "privacy": "private",
11081
+ "parameters": [
11082
+ {
11083
+ "name": "event",
11084
+ "type": {
11085
+ "text": "KeyboardEvent"
11086
+ }
11087
+ }
11088
+ ]
11089
+ },
11090
+ {
11091
+ "kind": "method",
11092
+ "name": "handleDockPane",
11093
+ "privacy": "private",
11094
+ "parameters": [
11095
+ {
11096
+ "name": "event",
11097
+ "type": {
11098
+ "text": "KeyboardEvent"
11099
+ }
11100
+ }
11101
+ ]
11102
+ },
11103
+ {
11104
+ "kind": "method",
11105
+ "name": "handleRootDockPane",
11106
+ "privacy": "private",
11107
+ "parameters": [
11108
+ {
11109
+ "name": "key",
11110
+ "type": {
11111
+ "text": "string"
11112
+ }
11113
+ }
11114
+ ]
11115
+ },
11116
+ {
11117
+ "kind": "method",
11118
+ "name": "handleInnerDockPane",
11119
+ "privacy": "private",
11120
+ "parameters": [
11121
+ {
11122
+ "name": "key",
11123
+ "type": {
11124
+ "text": "string"
11125
+ }
11126
+ }
11127
+ ]
11128
+ },
11129
+ {
11130
+ "kind": "method",
11131
+ "name": "setPaneNavigatorMeta",
11132
+ "privacy": "private",
11133
+ "parameters": [
11134
+ {
11135
+ "name": "altKey",
11136
+ "type": {
11137
+ "text": "boolean"
11138
+ }
11139
+ },
11140
+ {
11141
+ "name": "ctrlOrMetaKey",
11142
+ "type": {
11143
+ "text": "boolean"
11144
+ }
11145
+ },
11146
+ {
11147
+ "name": "shiftKey",
11148
+ "type": {
11149
+ "text": "boolean"
11150
+ }
11151
+ }
11152
+ ]
11153
+ }
11154
+ ]
11155
+ },
11156
+ {
11157
+ "kind": "variable",
11158
+ "name": "previousActivePaneIndex"
11159
+ }
11160
+ ],
11161
+ "exports": [
11162
+ {
11163
+ "kind": "js",
11164
+ "name": "IgcDockManagerKeyboardService",
11165
+ "declaration": {
11166
+ "name": "IgcDockManagerKeyboardService",
11167
+ "module": "src/components/dockmanager/keyboard/keyboard.service.ts"
11168
+ }
11169
+ }
11170
+ ]
11171
+ },
11110
11172
  {
11111
11173
  "kind": "javascript-module",
11112
11174
  "path": "src/components/dockmanager/panes/content-pane-component.ts",
package/dist/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ This is a commercial product, requiring a valid paid-for license for commercial use.
2
+ This product is free to use for non-commercial educational use for students in K through 12 grades
3
+ or University programs, and for educators to use in a classroom setting as examples / tools in their curriculum.
4
+
5
+ In order for us to verify your eligibility for free usage, please register for trial at
6
+ https://www.infragistics.com/free-downloads and open a support ticket with a request for free license.
7
+
8
+ To acquire a license for commercial usage, please register for trial at https://www.infragistics.com/free-downloads
9
+ and refer to the purchasing options in the pricing section on the product page.
10
+
11
+ © Copyright 2020 INFRAGISTICS. All Rights Reserved.
12
+ The Infragistics Ultimate license & copyright applies to this distribution.
13
+ For information on that license, please go to our website https://www.infragistics.com/legal/license.
package/dist/README.md ADDED
@@ -0,0 +1,84 @@
1
+ # Ignite UI Dock Manager Web Component - from Infragistics
2
+
3
+ [Ignite UI Dock Manager Web Component](https://www.infragistics.com/) provides means to manage the layout of your application through panes, allowing your end-users to customize it further by pinning, resizing, moving and hiding panes.
4
+
5
+ > [!IMPORTANT]
6
+ > **Version 2.0+ Notice:** The Dock Manager has been migrated from Stencil to **Lit**. For the legacy Stencil-based version, please refer to the [1.x branch](https://github.com/IgniteUI/dock-manager/tree/1.x).
7
+
8
+ ## NPM Package
9
+
10
+ You can include the Ignite UI Dock Manager Web Component in your project as a dependency using the NPM package.
11
+
12
+ ```
13
+ npm install igniteui-dockmanager --save
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ### Lit Version (v2.0+)
19
+
20
+ In the new Lit-based version, you simply import the component and call the `defineComponents()` function:
21
+
22
+ ```ts
23
+ import { defineComponents, IgcDockManagerComponent } from 'igniteui-dockmanager';
24
+
25
+ defineComponents(IgcDockManagerComponent);
26
+
27
+ ```
28
+
29
+ ### Legacy Stencil Version (v1.x)
30
+
31
+ If you are using the version from the `1.x` branch, it is necessary to import and call the `defineCustomElements()` function:
32
+
33
+ ```ts
34
+ import { defineCustomElements } from 'igniteui-dockmanager/loader';
35
+
36
+ defineCustomElements();
37
+
38
+ ```
39
+
40
+ Once the Dock Manager is imported, you can add it on the page:
41
+
42
+ ```html
43
+ <igc-dockmanager id="dockManager">
44
+ </igc-dockmanager>
45
+ ```
46
+
47
+ More information on how to use the Ignite UI Dock Manager Web Component can be found [here](https://infragistics.com/products/ignite-ui-web-components/web-components/components/dock-manager.html).
48
+
49
+ ### Localization
50
+
51
+ To localize the Dock Manager strings, install the peer dependency `igniteui-i18n-resources` and register a language bundle with `igniteui-i18n-core`:
52
+
53
+ ```ts
54
+ import { registerI18n } from 'igniteui-i18n-core';
55
+ import { DockManagerResourceStringsES } from 'igniteui-i18n-resources';
56
+
57
+ registerI18n(DockManagerResourceStringsES, 'es');
58
+ ```
59
+
60
+ ## Branching & Maintenance
61
+
62
+ To ensure stability for our customers, we maintain the following branch structure:
63
+
64
+ | Branch | Status | Framework | Support |
65
+ | --- | --- | --- | --- |
66
+ | `master` | Stable | **Lit** | Active Development |
67
+ | `develop` | Bleeding Edge | **Lit** | Integration |
68
+ | `1.x` | Legacy LTS | **Stencil** | Security & Critical Bug fixes Only |
69
+
70
+ ## Support
71
+
72
+ Developer support is provided as part of the commercial, paid-for license via [Infragistics Forums](https://www.infragistics.com/community/forums/), or via Chat & Phone with a Priority Support license. To acquire a license for paid support or Priority Support, please visit this [page](https://www.infragistics.com/how-to-buy/product-pricing#developers).
73
+
74
+ ## License
75
+
76
+ This is a commercial product, requiring a valid paid-for license for commercial use.
77
+ This product is free to use for non-commercial educational use for students in K through 12 grades or University programs, and for educators to use in a classroom setting as examples / tools in their curriculum.
78
+ In order for us to verify your eligibility for free usage, please [register for trial](https://www.infragistics.com/free-downloads) and open a support ticket with a request for free license.
79
+
80
+ To acquire a license for commercial usage, please [register for trial](https://www.infragistics.com/free-downloads) and refer to the purchasing options in the pricing section on the product page.
81
+
82
+ © Copyright 2020 INFRAGISTICS. All Rights Reserved.
83
+ The Infragistics Ultimate license & copyright applies to this distribution.
84
+ For information on that license, please go to our website [https://www.infragistics.com/legal/license](https://www.infragistics.com/legal/license).
@@ -8,7 +8,7 @@ import { html, LitElement } from 'lit';
8
8
  import { property } from 'lit/decorators.js';
9
9
  import { registerComponent } from '../../common/definitions/register.js';
10
10
  import { styles } from './button-component.css.js';
11
- class IgcButtonDMComponent extends LitElement {
11
+ export default class IgcButtonDMComponent extends LitElement {
12
12
  constructor() {
13
13
  super(...arguments);
14
14
  this.disabled = false;
@@ -16,6 +16,8 @@ class IgcButtonDMComponent extends LitElement {
16
16
  this.name = '';
17
17
  this.value = '';
18
18
  }
19
+ static { this.tagName = 'igc-button-component'; }
20
+ static { this.styles = [styles]; }
19
21
  static register() {
20
22
  registerComponent(IgcButtonDMComponent);
21
23
  }
@@ -33,9 +35,6 @@ class IgcButtonDMComponent extends LitElement {
33
35
  `;
34
36
  }
35
37
  }
36
- IgcButtonDMComponent.tagName = 'igc-button-component';
37
- IgcButtonDMComponent.styles = [styles];
38
- export default IgcButtonDMComponent;
39
38
  __decorate([
40
39
  property({ type: Boolean })
41
40
  ], IgcButtonDMComponent.prototype, "disabled", void 0);
@@ -12,7 +12,9 @@ import { EventEmitterMixin } from '../../common/mixins/event-emitter.js';
12
12
  import { partNameMap } from '../../utils/utils.js';
13
13
  import IgcIconDMComponent from '../icon/icon-component.js';
14
14
  import { styles } from './context-menu.css.js';
15
- class IgcContextMenuComponent extends EventEmitterMixin(LitElement) {
15
+ export default class IgcContextMenuComponent extends EventEmitterMixin(LitElement) {
16
+ static { this.tagName = 'igc-context-menu'; }
17
+ static { this.styles = [styles]; }
16
18
  static register() {
17
19
  registerComponent(IgcContextMenuComponent, IgcIconDMComponent);
18
20
  }
@@ -232,9 +234,6 @@ class IgcContextMenuComponent extends EventEmitterMixin(LitElement) {
232
234
  `;
233
235
  }
234
236
  }
235
- IgcContextMenuComponent.tagName = 'igc-context-menu';
236
- IgcContextMenuComponent.styles = [styles];
237
- export default IgcContextMenuComponent;
238
237
  __decorate([
239
238
  state()
240
239
  ], IgcContextMenuComponent.prototype, "activeIndex", void 0);
@@ -9,7 +9,9 @@ import { property } from 'lit/decorators.js';
9
9
  import { registerComponent } from '../../../common/definitions/register.js';
10
10
  import IgcIconDMComponent from '../../icon/icon-component.js';
11
11
  import { styles } from './edge-docking-indicator-component.css.js';
12
- class IgcEdgeDockingIndicatorComponent extends LitElement {
12
+ export default class IgcEdgeDockingIndicatorComponent extends LitElement {
13
+ static { this.tagName = 'igc-edge-docking-indicator'; }
14
+ static { this.styles = [styles]; }
13
15
  static register() {
14
16
  registerComponent(IgcEdgeDockingIndicatorComponent, IgcIconDMComponent);
15
17
  }
@@ -38,9 +40,6 @@ class IgcEdgeDockingIndicatorComponent extends LitElement {
38
40
  `;
39
41
  }
40
42
  }
41
- IgcEdgeDockingIndicatorComponent.tagName = 'igc-edge-docking-indicator';
42
- IgcEdgeDockingIndicatorComponent.styles = [styles];
43
- export default IgcEdgeDockingIndicatorComponent;
44
43
  __decorate([
45
44
  property({ type: String })
46
45
  ], IgcEdgeDockingIndicatorComponent.prototype, "position", void 0);
@@ -9,13 +9,15 @@ import { property } from 'lit/decorators.js';
9
9
  import { registerComponent } from '../../../common/definitions/register.js';
10
10
  import IgcIconDMComponent from '../../icon/icon-component.js';
11
11
  import { styles } from './joystick-icon-component.css.js';
12
- class IgcJoystickIconComponent extends LitElement {
12
+ export default class IgcJoystickIconComponent extends LitElement {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  this.isDocHost = false;
16
16
  this.direction = 'ltr';
17
17
  this.empty = false;
18
18
  }
19
+ static { this.tagName = 'igc-joystick-icon'; }
20
+ static { this.styles = [styles]; }
19
21
  static register() {
20
22
  registerComponent(IgcJoystickIconComponent, IgcIconDMComponent);
21
23
  }
@@ -192,9 +194,6 @@ class IgcJoystickIconComponent extends LitElement {
192
194
  return html ` ${!this.empty ? this._renderIcon() : nothing} `;
193
195
  }
194
196
  }
195
- IgcJoystickIconComponent.tagName = 'igc-joystick-icon';
196
- IgcJoystickIconComponent.styles = [styles];
197
- export default IgcJoystickIconComponent;
198
197
  __decorate([
199
198
  property({ type: Boolean })
200
199
  ], IgcJoystickIconComponent.prototype, "isDocHost", void 0);
@@ -11,13 +11,15 @@ import { registerComponent } from '../../../common/definitions/register.js';
11
11
  import { closestElement, getDirection } from '../../../utils/utils.js';
12
12
  import IgcJoystickIconComponent from './joystick-icon-component.js';
13
13
  import { styles } from './joystick-indicator-component.css.js';
14
- class IgcJoystickIndicatorComponent extends LitElement {
14
+ export default class IgcJoystickIndicatorComponent extends LitElement {
15
15
  constructor() {
16
16
  super(...arguments);
17
17
  this.isDocHost = false;
18
18
  this.documentOnlyDrag = false;
19
19
  this.allowCenterDock = false;
20
20
  }
21
+ static { this.tagName = 'igc-joystick-indicator'; }
22
+ static { this.styles = [styles]; }
21
23
  static register() {
22
24
  registerComponent(IgcJoystickIndicatorComponent, IgcJoystickIconComponent);
23
25
  }
@@ -107,9 +109,6 @@ class IgcJoystickIndicatorComponent extends LitElement {
107
109
  `;
108
110
  }
109
111
  }
110
- IgcJoystickIndicatorComponent.tagName = 'igc-joystick-indicator';
111
- IgcJoystickIndicatorComponent.styles = [styles];
112
- export default IgcJoystickIndicatorComponent;
113
112
  __decorate([
114
113
  state()
115
114
  ], IgcJoystickIndicatorComponent.prototype, "isDocHost", void 0);
@@ -9,7 +9,9 @@ import { property } from 'lit/decorators.js';
9
9
  import { registerComponent } from '../../../common/definitions/register.js';
10
10
  import IgcIconDMComponent from '../../icon/icon-component.js';
11
11
  import { styles } from './root-docking-indicator-component.css.js';
12
- class IgcRootDockingIndicatorComponent extends LitElement {
12
+ export default class IgcRootDockingIndicatorComponent extends LitElement {
13
+ static { this.tagName = 'igc-root-docking-indicator'; }
14
+ static { this.styles = [styles]; }
13
15
  static register() {
14
16
  registerComponent(IgcRootDockingIndicatorComponent, IgcIconDMComponent);
15
17
  }
@@ -38,9 +40,6 @@ class IgcRootDockingIndicatorComponent extends LitElement {
38
40
  `;
39
41
  }
40
42
  }
41
- IgcRootDockingIndicatorComponent.tagName = 'igc-root-docking-indicator';
42
- IgcRootDockingIndicatorComponent.styles = [styles];
43
- export default IgcRootDockingIndicatorComponent;
44
43
  __decorate([
45
44
  property({ type: String })
46
45
  ], IgcRootDockingIndicatorComponent.prototype, "position", void 0);
@@ -9,7 +9,9 @@ import { property } from 'lit/decorators.js';
9
9
  import { registerComponent } from '../../../common/definitions/register.js';
10
10
  import IgcIconDMComponent from '../../icon/icon-component.js';
11
11
  import { styles } from './splitter-docking-indicator-component.css.js';
12
- class IgcSplitterDockingIndicatorComponent extends LitElement {
12
+ export default class IgcSplitterDockingIndicatorComponent extends LitElement {
13
+ static { this.tagName = 'igc-splitter-docking-indicator'; }
14
+ static { this.styles = [styles]; }
13
15
  static register() {
14
16
  registerComponent(IgcSplitterDockingIndicatorComponent, IgcIconDMComponent);
15
17
  }
@@ -31,9 +33,6 @@ class IgcSplitterDockingIndicatorComponent extends LitElement {
31
33
  `;
32
34
  }
33
35
  }
34
- IgcSplitterDockingIndicatorComponent.tagName = 'igc-splitter-docking-indicator';
35
- IgcSplitterDockingIndicatorComponent.styles = [styles];
36
- export default IgcSplitterDockingIndicatorComponent;
37
36
  __decorate([
38
37
  property({ type: String })
39
38
  ], IgcSplitterDockingIndicatorComponent.prototype, "position", void 0);
@@ -46,7 +46,9 @@ var ActionReason;
46
46
  ActionReason["maximizeOrMinimize"] = "maximizeOrMinimize";
47
47
  })(ActionReason || (ActionReason = {}));
48
48
  const PANE_HEADER_HEIGHT = 40;
49
- class IgcDockManagerComponent extends EventEmitterMixin(LitElement) {
49
+ export default class IgcDockManagerComponent extends EventEmitterMixin(LitElement) {
50
+ static { this.tagName = 'igc-dockmanager'; }
51
+ static { this.styles = [styles]; }
50
52
  static register() {
51
53
  registerComponent(IgcDockManagerComponent, IgcContentPaneComponent, IgcContextMenuComponent, IgcDocumentHostComponent, IgcFloatingPaneComponent, IgcJoystickIndicatorComponent, IgcEdgeDockingIndicatorComponent, IgcPaneHeaderComponent, IgcPaneNavigatorComponent, IgcRootDockingIndicatorComponent, IgcSplitPaneComponent, IgcSplitterComponent, IgcSplitterDockingIndicatorComponent, IgcTabHeaderComponent, IgcTabPanelComponent, IgcTabsComponent, IgcTrialWatermark, IgcUnpinnedPaneHeaderComponent);
52
54
  }
@@ -3000,9 +3002,6 @@ class IgcDockManagerComponent extends EventEmitterMixin(LitElement) {
3000
3002
  `;
3001
3003
  }
3002
3004
  }
3003
- IgcDockManagerComponent.tagName = 'igc-dockmanager';
3004
- IgcDockManagerComponent.styles = [styles];
3005
- export default IgcDockManagerComponent;
3006
3005
  __decorate([
3007
3006
  state()
3008
3007
  ], IgcDockManagerComponent.prototype, "dropTargetPaneInfo", void 0);
@@ -12,7 +12,7 @@ import { EventEmitterMixin } from '../../../common/mixins/event-emitter.js';
12
12
  import { partNameMap } from '../../../common/util.js';
13
13
  import { isControlOrMetaPressed } from '../../../utils/utils.js';
14
14
  import { styles } from './pane-navigator-component.css.js';
15
- class IgcPaneNavigatorComponent extends EventEmitterMixin(LitElement) {
15
+ export default class IgcPaneNavigatorComponent extends EventEmitterMixin(LitElement) {
16
16
  constructor() {
17
17
  super(...arguments);
18
18
  this._paneNav = createRef();
@@ -28,6 +28,8 @@ class IgcPaneNavigatorComponent extends EventEmitterMixin(LitElement) {
28
28
  }
29
29
  };
30
30
  }
31
+ static { this.tagName = 'igc-pane-navigator'; }
32
+ static { this.styles = [styles]; }
31
33
  static register() {
32
34
  registerComponent(IgcPaneNavigatorComponent);
33
35
  }
@@ -191,9 +193,6 @@ class IgcPaneNavigatorComponent extends EventEmitterMixin(LitElement) {
191
193
  `;
192
194
  }
193
195
  }
194
- IgcPaneNavigatorComponent.tagName = 'igc-pane-navigator';
195
- IgcPaneNavigatorComponent.styles = [styles];
196
- export default IgcPaneNavigatorComponent;
197
196
  __decorate([
198
197
  state()
199
198
  ], IgcPaneNavigatorComponent.prototype, "_allItems", void 0);