igniteui-dockmanager 2.0.0-alpha.4 → 2.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +410 -7
- package/dist/components/button/button-component.css.js +1 -1
- package/dist/components/button/button-component.d.ts +3 -3
- package/dist/components/button/button-component.js +1 -1
- package/dist/components/context-menu/context-menu.css.js +1 -1
- package/dist/components/context-menu/context-menu.js +11 -3
- package/dist/components/dockmanager/docking/joystick-icon-component.js +24 -19
- package/dist/components/dockmanager/docking/root-docking-indicator-component.js +2 -2
- package/dist/components/dockmanager/docking/splitter-docking-indicator-component.js +2 -1
- package/dist/components/dockmanager/dockmanager-component.css.js +1 -1
- package/dist/components/dockmanager/dockmanager-component.d.ts +0 -1
- package/dist/components/dockmanager/dockmanager-component.js +14 -22
- package/dist/components/dockmanager/panes/pane-header-component.base.css.js +1 -1
- package/dist/components/dockmanager/panes/pane-header-component.d.ts +7 -1
- package/dist/components/dockmanager/panes/pane-header-component.js +29 -20
- package/dist/components/icon/icon-component.css.js +1 -1
- package/dist/components/icon/icon-component.d.ts +3 -3
- package/dist/components/icon/icon-component.js +4 -2
- package/dist/components/icon/icons.js +36 -36
- package/dist/components/sample-component/sample-component.js +3 -2
- package/dist/components/tabs/tab-header-component.css.js +1 -1
- package/dist/components/tabs/tab-header-component.js +11 -9
- package/dist/components/tabs/tabs-component.d.ts +3 -3
- package/dist/components/tabs/tabs-component.js +13 -13
- package/dist/custom-elements.json +410 -7
- package/dist/igniteui-dockmanager.html-data.json +1 -1
- package/dist/index.d.ts +37 -0
- package/dist/index.js +25 -0
- package/dist/loader.d.ts +21 -0
- package/dist/loader.js +5 -0
- package/dist/package.json +4 -0
- package/dist/themes/igc.themes.css +1 -0
- package/dist/web-types.json +1 -1
- package/package.json +13 -3
package/custom-elements.json
CHANGED
|
@@ -23,6 +23,190 @@
|
|
|
23
23
|
"module": "./common/definitions/defineComponents.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
+
{
|
|
27
|
+
"kind": "js",
|
|
28
|
+
"name": "IgcButtonDMComponent",
|
|
29
|
+
"declaration": {
|
|
30
|
+
"name": "default",
|
|
31
|
+
"module": "./components/button/button-component.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"kind": "js",
|
|
36
|
+
"name": "IgcContextMenuEventMap",
|
|
37
|
+
"declaration": {
|
|
38
|
+
"name": "IgcContextMenuEventMap",
|
|
39
|
+
"module": "./components/context-menu/context-menu.js"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "js",
|
|
44
|
+
"name": "IgcContextMenuComponent",
|
|
45
|
+
"declaration": {
|
|
46
|
+
"name": "default",
|
|
47
|
+
"module": "./components/context-menu/context-menu.js"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "js",
|
|
52
|
+
"name": "IgcJoystickIconComponent",
|
|
53
|
+
"declaration": {
|
|
54
|
+
"name": "default",
|
|
55
|
+
"module": "./components/dockmanager/docking/joystick-icon-component.js"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"kind": "js",
|
|
60
|
+
"name": "IgcJoystickIndicatorComponent",
|
|
61
|
+
"declaration": {
|
|
62
|
+
"name": "default",
|
|
63
|
+
"module": "./components/dockmanager/docking/joystick-indicator-component.js"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"kind": "js",
|
|
68
|
+
"name": "IgcRootDockingIndicatorComponent",
|
|
69
|
+
"declaration": {
|
|
70
|
+
"name": "default",
|
|
71
|
+
"module": "./components/dockmanager/docking/root-docking-indicator-component.js"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"kind": "js",
|
|
76
|
+
"name": "IgcSplitterDockingIndicatorComponent",
|
|
77
|
+
"declaration": {
|
|
78
|
+
"name": "default",
|
|
79
|
+
"module": "./components/dockmanager/docking/splitter-docking-indicator-component.js"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"kind": "js",
|
|
84
|
+
"name": "*",
|
|
85
|
+
"declaration": {
|
|
86
|
+
"name": "*",
|
|
87
|
+
"package": "./components/dockmanager/dockmanager.interfaces.js"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "js",
|
|
92
|
+
"name": "IgcContextMenuOrientation",
|
|
93
|
+
"declaration": {
|
|
94
|
+
"name": "IgcContextMenuOrientation",
|
|
95
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "js",
|
|
100
|
+
"name": "IgcContextMenuPosition",
|
|
101
|
+
"declaration": {
|
|
102
|
+
"name": "IgcContextMenuPosition",
|
|
103
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"kind": "js",
|
|
108
|
+
"name": "IgcDockingIndicatorPosition",
|
|
109
|
+
"declaration": {
|
|
110
|
+
"name": "IgcDockingIndicatorPosition",
|
|
111
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"kind": "js",
|
|
116
|
+
"name": "IgcDockManagerPaneType",
|
|
117
|
+
"declaration": {
|
|
118
|
+
"name": "IgcDockManagerPaneType",
|
|
119
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"kind": "js",
|
|
124
|
+
"name": "IgcPaneActionBehavior",
|
|
125
|
+
"declaration": {
|
|
126
|
+
"name": "IgcPaneActionBehavior",
|
|
127
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"kind": "js",
|
|
132
|
+
"name": "IgcPaneDragActionType",
|
|
133
|
+
"declaration": {
|
|
134
|
+
"name": "IgcPaneDragActionType",
|
|
135
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"kind": "js",
|
|
140
|
+
"name": "IgcResizerLocation",
|
|
141
|
+
"declaration": {
|
|
142
|
+
"name": "IgcResizerLocation",
|
|
143
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "js",
|
|
148
|
+
"name": "IgcSplitPaneOrientation",
|
|
149
|
+
"declaration": {
|
|
150
|
+
"name": "IgcSplitPaneOrientation",
|
|
151
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"kind": "js",
|
|
156
|
+
"name": "IgcTabHeadersPosition",
|
|
157
|
+
"declaration": {
|
|
158
|
+
"name": "IgcTabHeadersPosition",
|
|
159
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"kind": "js",
|
|
164
|
+
"name": "IgcUnpinnedLocation",
|
|
165
|
+
"declaration": {
|
|
166
|
+
"name": "IgcUnpinnedLocation",
|
|
167
|
+
"module": "./components/dockmanager/dockmanager.interfaces.js"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"kind": "js",
|
|
172
|
+
"name": "IgcDockManager",
|
|
173
|
+
"declaration": {
|
|
174
|
+
"name": "default",
|
|
175
|
+
"module": "./components/dockmanager/dockmanager-component.js"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"kind": "js",
|
|
180
|
+
"name": "IgcPaneNavigatorEventMap",
|
|
181
|
+
"declaration": {
|
|
182
|
+
"name": "IgcPaneNavigatorEventMap",
|
|
183
|
+
"module": "./components/dockmanager/pane-navigator/pane-navigator-component.js"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"kind": "js",
|
|
188
|
+
"name": "IgcPaneNavigatorComponent",
|
|
189
|
+
"declaration": {
|
|
190
|
+
"name": "default",
|
|
191
|
+
"module": "./components/dockmanager/pane-navigator/pane-navigator-component.js"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"kind": "js",
|
|
196
|
+
"name": "IgcContentPaneComponentEventMap",
|
|
197
|
+
"declaration": {
|
|
198
|
+
"name": "IgcContentPaneComponentEventMap",
|
|
199
|
+
"module": "./components/dockmanager/panes/content-pane-component.js"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"kind": "js",
|
|
204
|
+
"name": "IgcContentPaneComponent",
|
|
205
|
+
"declaration": {
|
|
206
|
+
"name": "default",
|
|
207
|
+
"module": "./components/dockmanager/panes/content-pane-component.js"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
26
210
|
{
|
|
27
211
|
"kind": "js",
|
|
28
212
|
"name": "IgcDocumentHostComponent",
|
|
@@ -30,6 +214,216 @@
|
|
|
30
214
|
"name": "default",
|
|
31
215
|
"module": "./components/dockmanager/panes/document-host-component.js"
|
|
32
216
|
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "js",
|
|
220
|
+
"name": "IgcFloatingPaneEventMap",
|
|
221
|
+
"declaration": {
|
|
222
|
+
"name": "IgcFloatingPaneEventMap",
|
|
223
|
+
"module": "./components/dockmanager/panes/floating-pane-component.js"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "js",
|
|
228
|
+
"name": "IgcFloatingPaneComponent",
|
|
229
|
+
"declaration": {
|
|
230
|
+
"name": "default",
|
|
231
|
+
"module": "./components/dockmanager/panes/floating-pane-component.js"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"kind": "js",
|
|
236
|
+
"name": "IgcPaneHeaderEventMap",
|
|
237
|
+
"declaration": {
|
|
238
|
+
"name": "IgcPaneHeaderEventMap",
|
|
239
|
+
"module": "./components/dockmanager/panes/pane-header-component.js"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "js",
|
|
244
|
+
"name": "IgcPaneHeaderComponent",
|
|
245
|
+
"declaration": {
|
|
246
|
+
"name": "default",
|
|
247
|
+
"module": "./components/dockmanager/panes/pane-header-component.js"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"kind": "js",
|
|
252
|
+
"name": "IgcResizerComponentEventMap",
|
|
253
|
+
"declaration": {
|
|
254
|
+
"name": "IgcResizerComponentEventMap",
|
|
255
|
+
"module": "./components/dockmanager/panes/resizer-component.js"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"kind": "js",
|
|
260
|
+
"name": "IgcResizerComponent",
|
|
261
|
+
"declaration": {
|
|
262
|
+
"name": "default",
|
|
263
|
+
"module": "./components/dockmanager/panes/resizer-component.js"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"kind": "js",
|
|
268
|
+
"name": "IgcSplitPaneComponentEventMap",
|
|
269
|
+
"declaration": {
|
|
270
|
+
"name": "IgcSplitPaneComponentEventMap",
|
|
271
|
+
"module": "./components/dockmanager/panes/split-pane-component.js"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "js",
|
|
276
|
+
"name": "IgcSplitPaneComponent",
|
|
277
|
+
"declaration": {
|
|
278
|
+
"name": "default",
|
|
279
|
+
"module": "./components/dockmanager/panes/split-pane-component.js"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"kind": "js",
|
|
284
|
+
"name": "IgcSplitterEventMap",
|
|
285
|
+
"declaration": {
|
|
286
|
+
"name": "IgcSplitterEventMap",
|
|
287
|
+
"module": "./components/dockmanager/panes/splitter-component.js"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"kind": "js",
|
|
292
|
+
"name": "IgcSplitterComponent",
|
|
293
|
+
"declaration": {
|
|
294
|
+
"name": "default",
|
|
295
|
+
"module": "./components/dockmanager/panes/splitter-component.js"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"kind": "js",
|
|
300
|
+
"name": "IgcUnpinnedPaneHeaderComponent",
|
|
301
|
+
"declaration": {
|
|
302
|
+
"name": "default",
|
|
303
|
+
"module": "./components/dockmanager/panes/unpinned-pane-header-component.js"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"kind": "js",
|
|
308
|
+
"name": "IgcIconDMComponent",
|
|
309
|
+
"declaration": {
|
|
310
|
+
"name": "default",
|
|
311
|
+
"module": "./components/icon/icon-component.js"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"kind": "js",
|
|
316
|
+
"name": "IgcTabHeaderEventMap",
|
|
317
|
+
"declaration": {
|
|
318
|
+
"name": "IgcTabHeaderEventMap",
|
|
319
|
+
"module": "./components/tabs/tab-header-component.js"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"kind": "js",
|
|
324
|
+
"name": "IgcTabHeaderComponent",
|
|
325
|
+
"declaration": {
|
|
326
|
+
"name": "default",
|
|
327
|
+
"module": "./components/tabs/tab-header-component.js"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"kind": "js",
|
|
332
|
+
"name": "IgcTabPanelEventMap",
|
|
333
|
+
"declaration": {
|
|
334
|
+
"name": "IgcTabPanelEventMap",
|
|
335
|
+
"module": "./components/tabs/tab-panel-component.js"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "js",
|
|
340
|
+
"name": "IgcTabPanelComponent",
|
|
341
|
+
"declaration": {
|
|
342
|
+
"name": "default",
|
|
343
|
+
"module": "./components/tabs/tab-panel-component.js"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"kind": "js",
|
|
348
|
+
"name": "IgcTabsEventMap",
|
|
349
|
+
"declaration": {
|
|
350
|
+
"name": "IgcTabsEventMap",
|
|
351
|
+
"module": "./components/tabs/tabs-component.js"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"kind": "js",
|
|
356
|
+
"name": "IgcTabsComponent",
|
|
357
|
+
"declaration": {
|
|
358
|
+
"name": "default",
|
|
359
|
+
"module": "./components/tabs/tabs-component.js"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"kind": "js",
|
|
364
|
+
"name": "IgcDockManagerResourceStringsEN",
|
|
365
|
+
"declaration": {
|
|
366
|
+
"name": "IgcDockManagerResourceStringsEN",
|
|
367
|
+
"module": "./i18n/resources.en.js"
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"kind": "js",
|
|
372
|
+
"name": "IgcDockManagerResourceStringsES",
|
|
373
|
+
"declaration": {
|
|
374
|
+
"name": "IgcDockManagerResourceStringsES",
|
|
375
|
+
"module": "./i18n/resources.es.js"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"kind": "js",
|
|
380
|
+
"name": "IgcDockManagerResourceStringsJP",
|
|
381
|
+
"declaration": {
|
|
382
|
+
"name": "IgcDockManagerResourceStringsJP",
|
|
383
|
+
"module": "./i18n/resources.jp.js"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"kind": "js",
|
|
388
|
+
"name": "IgcDockManagerResourceStringsKO",
|
|
389
|
+
"declaration": {
|
|
390
|
+
"name": "IgcDockManagerResourceStringsKO",
|
|
391
|
+
"module": "./i18n/resources.ko.js"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "js",
|
|
396
|
+
"name": "addResourceStrings",
|
|
397
|
+
"declaration": {
|
|
398
|
+
"name": "addResourceStrings",
|
|
399
|
+
"module": "./utils/locale.js"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "javascript-module",
|
|
406
|
+
"path": "src/loader.ts",
|
|
407
|
+
"declarations": [
|
|
408
|
+
{
|
|
409
|
+
"kind": "function",
|
|
410
|
+
"name": "defineCustomElements",
|
|
411
|
+
"return": {
|
|
412
|
+
"type": {
|
|
413
|
+
"text": "Promise<void>"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"deprecated": "in 2.0.0 The `defineCustomElements` function and its import path (`@infragistics/igniteui-dockmanager/loader`) are deprecated.\n\nTo register your custom element, you should now directly use the `defineComponents` function\nprovided by the main package entry point, passing the IgcDockManager component:\n\nInstead of:\n```typescript\nimport { defineCustomElements } from '@infragistics/igniteui-dockmanager/loader';\n// ...\ndefineCustomElements();\n```\n\nPlease update your code to:\n```typescript\nimport { defineComponents, IgcDockManager } from '@infragistics/igniteui-dockmanager';\n// ...\ndefineComponents(IgcDockManager); // Explicitly call defineComponents\n```"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"exports": [
|
|
420
|
+
{
|
|
421
|
+
"kind": "js",
|
|
422
|
+
"name": "defineCustomElements",
|
|
423
|
+
"declaration": {
|
|
424
|
+
"name": "defineCustomElements",
|
|
425
|
+
"module": "src/loader.ts"
|
|
426
|
+
}
|
|
33
427
|
}
|
|
34
428
|
]
|
|
35
429
|
},
|
|
@@ -1601,7 +1995,7 @@
|
|
|
1601
1995
|
"privacy": "public",
|
|
1602
1996
|
"static": true,
|
|
1603
1997
|
"readonly": true,
|
|
1604
|
-
"default": "'igc-button'"
|
|
1998
|
+
"default": "'igc-button-component'"
|
|
1605
1999
|
},
|
|
1606
2000
|
{
|
|
1607
2001
|
"kind": "method",
|
|
@@ -1703,7 +2097,7 @@
|
|
|
1703
2097
|
"name": "LitElement",
|
|
1704
2098
|
"package": "lit"
|
|
1705
2099
|
},
|
|
1706
|
-
"tagName": "igc-button",
|
|
2100
|
+
"tagName": "igc-button-component",
|
|
1707
2101
|
"customElement": true
|
|
1708
2102
|
}
|
|
1709
2103
|
],
|
|
@@ -2412,7 +2806,7 @@
|
|
|
2412
2806
|
"text": "array"
|
|
2413
2807
|
},
|
|
2414
2808
|
"privacy": "private",
|
|
2415
|
-
"default": "[ { slot: 'paneHeaderCloseButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderCloseButton', targetPart: 'pane-header-close-button', }, { slot: 'tabHeaderCloseButton', targetName: 'igc-tab-header', targetSlot: 'tabHeaderCloseButton', targetPart: 'tab-header-close-button', }, { slot: 'tabHeaderCloseButton', targetName: 'igc-context-menu', targetSlot: 'contextMenuCloseButton', targetPart: 'context-menu-close-button', }, { slot: 'closeButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderCloseButton', targetPart: 'pane-header-close-button', }, { slot: 'closeButton', targetName: 'igc-tab-header', targetSlot: 'tabHeaderCloseButton', targetPart: 'tab-header-close-button', }, { slot: 'closeButton', targetName: 'igc-context-menu', targetSlot: 'contextMenuCloseButton', targetPart: 'context-menu-close-button', }, { slot: 'moreTabsButton', targetName: 'igc-tabs', targetSlot: 'tabsMoreButton', targetPart: 'tabs-more-button', }, { slot: 'maximizeButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderMaximizeButton', targetPart: 'pane-header-maximize-button', }, { slot: 'maximizeButton', targetName: 'igc-tabs', targetSlot: 'tabsMaximizeButton', targetPart: 'tabs-maximize-button', }, { slot: 'minimizeButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderMinimizeButton', targetPart: 'pane-header-minimize-button', }, { slot: 'minimizeButton', targetName: 'igc-tabs', targetSlot: 'tabsMinimizeButton', targetPart: 'tabs-minimize-button', }, { slot: 'pinButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderPinButton', targetPart: 'pane-header-pin-button', }, { slot: 'unpinButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderUnpinButton', targetPart: 'pane-header-unpin-button', }, { slot: 'unpinButton', targetName: 'igc-context-menu', targetSlot: 'contextMenuUnpinButton', targetPart: 'context-menu-unpin-button', }, { slot: 'moreOptionsButton', targetName: 'igc-tab-header', targetSlot: 'tabHeaderMoreOptionsButton', targetPart: 'tab-header-more-options-button', }, { slot: 'splitterHandle', targetName: 'igc-splitter', targetSlot: 'splitterHandle', targetPart: 'splitter-handle', }, ]"
|
|
2809
|
+
"default": "[ { slot: 'paneHeaderCloseButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderCloseButton', targetPart: 'pane-header-close-button', }, { slot: 'tabHeaderCloseButton', targetName: 'igc-tab-header', targetSlot: 'tabHeaderCloseButton', targetPart: 'tab-header-close-button', }, { slot: 'tabHeaderCloseButton', targetName: 'igc-context-menu', targetSlot: 'contextMenuCloseButton', targetPart: 'context-menu-close-button', }, { slot: 'closeButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderCloseButton', targetPart: 'pane-header-close-button', }, { slot: 'closeButton', targetName: 'igc-tab-header', targetSlot: 'tabHeaderCloseButton', targetPart: 'tab-header-close-button', }, { slot: 'closeButton', targetName: 'igc-context-menu', targetSlot: 'contextMenuCloseButton', targetPart: 'context-menu-close-button', }, { slot: 'moreTabsButton', targetName: 'igc-tabs-component', targetSlot: 'tabsMoreButton', targetPart: 'tabs-more-button', }, { slot: 'maximizeButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderMaximizeButton', targetPart: 'pane-header-maximize-button', }, { slot: 'maximizeButton', targetName: 'igc-tabs-component', targetSlot: 'tabsMaximizeButton', targetPart: 'tabs-maximize-button', }, { slot: 'minimizeButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderMinimizeButton', targetPart: 'pane-header-minimize-button', }, { slot: 'minimizeButton', targetName: 'igc-tabs-component', targetSlot: 'tabsMinimizeButton', targetPart: 'tabs-minimize-button', }, { slot: 'pinButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderPinButton', targetPart: 'pane-header-pin-button', }, { slot: 'unpinButton', targetName: 'igc-pane-header', targetSlot: 'paneHeaderUnpinButton', targetPart: 'pane-header-unpin-button', }, { slot: 'unpinButton', targetName: 'igc-context-menu', targetSlot: 'contextMenuUnpinButton', targetPart: 'context-menu-unpin-button', }, { slot: 'moreOptionsButton', targetName: 'igc-tab-header', targetSlot: 'tabHeaderMoreOptionsButton', targetPart: 'tab-header-more-options-button', }, { slot: 'splitterHandle', targetName: 'igc-splitter', targetSlot: 'splitterHandle', targetPart: 'splitter-handle', }, ]"
|
|
2416
2810
|
},
|
|
2417
2811
|
{
|
|
2418
2812
|
"kind": "field",
|
|
@@ -6478,7 +6872,7 @@
|
|
|
6478
6872
|
"privacy": "public",
|
|
6479
6873
|
"static": true,
|
|
6480
6874
|
"readonly": true,
|
|
6481
|
-
"default": "'igc-icon'"
|
|
6875
|
+
"default": "'igc-icon-component'"
|
|
6482
6876
|
},
|
|
6483
6877
|
{
|
|
6484
6878
|
"kind": "method",
|
|
@@ -6513,7 +6907,7 @@
|
|
|
6513
6907
|
"name": "LitElement",
|
|
6514
6908
|
"package": "lit"
|
|
6515
6909
|
},
|
|
6516
|
-
"tagName": "igc-icon",
|
|
6910
|
+
"tagName": "igc-icon-component",
|
|
6517
6911
|
"customElement": true
|
|
6518
6912
|
}
|
|
6519
6913
|
],
|
|
@@ -7945,7 +8339,7 @@
|
|
|
7945
8339
|
"privacy": "public",
|
|
7946
8340
|
"static": true,
|
|
7947
8341
|
"readonly": true,
|
|
7948
|
-
"default": "'igc-tabs'"
|
|
8342
|
+
"default": "'igc-tabs-component'"
|
|
7949
8343
|
},
|
|
7950
8344
|
{
|
|
7951
8345
|
"kind": "method",
|
|
@@ -8554,7 +8948,7 @@
|
|
|
8554
8948
|
"name": "LitElement",
|
|
8555
8949
|
"package": "lit"
|
|
8556
8950
|
},
|
|
8557
|
-
"tagName": "igc-tabs",
|
|
8951
|
+
"tagName": "igc-tabs-component",
|
|
8558
8952
|
"customElement": true
|
|
8559
8953
|
}
|
|
8560
8954
|
],
|
|
@@ -10905,6 +11299,15 @@
|
|
|
10905
11299
|
"description": "Enables or disables pinning.",
|
|
10906
11300
|
"attribute": "allow-pinning"
|
|
10907
11301
|
},
|
|
11302
|
+
{
|
|
11303
|
+
"kind": "field",
|
|
11304
|
+
"name": "pane",
|
|
11305
|
+
"type": {
|
|
11306
|
+
"text": "IgcContentPane"
|
|
11307
|
+
},
|
|
11308
|
+
"privacy": "public",
|
|
11309
|
+
"description": "Reference to the content pane associated with this header."
|
|
11310
|
+
},
|
|
10908
11311
|
{
|
|
10909
11312
|
"kind": "field",
|
|
10910
11313
|
"name": "resourceStrings",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export const styles = css `button{position:static;display:inline-flex;align-items:center;justify-content:center;width:auto;height:100%;min-width:10px;padding:2px 4px;border-radius:2px;color:var(--igc-button-text, rgba(0, 0, 0, 0.72));cursor:pointer;outline-style:none;font-size:14px;font-family:inherit;background:rgba(0,0,0,0);border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:.7;transition:background .25s ease-out,opacity .25s ease-out,box-shadow .25s ease-out}:host([disabled]){pointer-events:none}:host{display:flex}button{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}button:hover{opacity:1}button:focus{background:var(--igc-accent-color, #fff);box-shadow:inset 0 0 0 1px var(--igc-active-color, cornflowerblue);opacity:1}button[disabled]{opacity:.54}`;
|
|
2
|
+
export const styles = css `button{position:static;display:inline-flex;align-items:center;justify-content:center;width:auto;height:100%;min-width:10px;padding:2px 4px;border-radius:2px;color:var(--igc-button-component-text, rgba(0, 0, 0, 0.72));cursor:pointer;outline-style:none;font-size:14px;font-family:inherit;background:rgba(0,0,0,0);border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:.7;transition:background .25s ease-out,opacity .25s ease-out,box-shadow .25s ease-out}:host([disabled]){pointer-events:none}:host{display:flex}button{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}button:hover{opacity:1}button:focus{background:var(--igc-accent-color, #fff);box-shadow:inset 0 0 0 1px var(--igc-active-color, cornflowerblue);opacity:1}button[disabled]{opacity:.54}`;
|
|
@@ -2,11 +2,11 @@ import { LitElement } from 'lit';
|
|
|
2
2
|
/**
|
|
3
3
|
* A custom button component used within the Dock Manager.
|
|
4
4
|
*
|
|
5
|
-
* @element igc-button
|
|
5
|
+
* @element igc-button-component
|
|
6
6
|
* @slot - Default slot for button content.
|
|
7
7
|
*/
|
|
8
8
|
export default class IgcButtonDMComponent extends LitElement {
|
|
9
|
-
static readonly tagName = "igc-button";
|
|
9
|
+
static readonly tagName = "igc-button-component";
|
|
10
10
|
static styles: import("lit").CSSResult[];
|
|
11
11
|
static register(): void;
|
|
12
12
|
/**
|
|
@@ -37,6 +37,6 @@ export default class IgcButtonDMComponent extends LitElement {
|
|
|
37
37
|
}
|
|
38
38
|
declare global {
|
|
39
39
|
interface HTMLElementTagNameMap {
|
|
40
|
-
'igc-button': IgcButtonDMComponent;
|
|
40
|
+
'igc-button-component': IgcButtonDMComponent;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -33,7 +33,7 @@ class IgcButtonDMComponent extends LitElement {
|
|
|
33
33
|
`;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
IgcButtonDMComponent.tagName = 'igc-button';
|
|
36
|
+
IgcButtonDMComponent.tagName = 'igc-button-component';
|
|
37
37
|
IgcButtonDMComponent.styles = [styles];
|
|
38
38
|
export default IgcButtonDMComponent;
|
|
39
39
|
__decorate([
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export const styles = css `:host{position:absolute;display:block;box-sizing:border-box;inset:0;z-index:10002;pointer-events:none}:host igc-icon svg{width:17px;height:17px}:host igc-icon{margin-left:8px}[part=menu-content]{position:absolute;visibility:hidden;color:var(--igc-context-menu-color, var(--igc-text-color, rgba(0, 0, 0, 0.72)));background:var(--igc-context-menu-background, var(--igc-accent-color, #fff));border:1px solid var(--igc-context-menu-background, var(--igc-accent-color, #fff));pointer-events:all;box-shadow:0 5px 22px rgba(0,0,0,.08),0 12px 17px 2px rgba(0,0,0,.12),0 7px 8px -4px rgba(0,0,0,.26);box-sizing:border-box}[part~=menu-item]{display:flex;align-items:center;justify-content:space-between;padding:6px 8px;font-size:.75em;line-height:1.7;cursor:pointer;transition:background .25s ease-out,color .25s ease-out;outline-style:none}[part~=menu-item]:hover{background:var(--igc-context-menu-background-active, var(--igc-border-color, #f3f5f7));color:var(--igc-context-menu-color-active, #000)}[part~=menu-item]:focus{background:var(--igc-context-menu-background-active, var(--igc-border-color, #f3f5f7));color:var(--igc-context-menu-color-active, #000)}[part~=disabled]{pointer-events:none;color:var(--igc-disabled-color, rgba(0, 0, 0, 0.38))}`;
|
|
2
|
+
export const styles = css `:host{position:absolute;display:block;box-sizing:border-box;inset:0;z-index:10002;pointer-events:none}:host igc-icon-component svg{width:17px;height:17px}:host igc-icon-component{margin-left:8px}[part=menu-content]{position:absolute;visibility:hidden;color:var(--igc-context-menu-color, var(--igc-text-color, rgba(0, 0, 0, 0.72)));background:var(--igc-context-menu-background, var(--igc-accent-color, #fff));border:1px solid var(--igc-context-menu-background, var(--igc-accent-color, #fff));pointer-events:all;box-shadow:0 5px 22px rgba(0,0,0,.08),0 12px 17px 2px rgba(0,0,0,.12),0 7px 8px -4px rgba(0,0,0,.26);box-sizing:border-box}[part~=menu-item]{display:flex;align-items:center;justify-content:space-between;padding:6px 8px;font-size:.75em;line-height:1.7;cursor:pointer;transition:background .25s ease-out,color .25s ease-out;outline-style:none}[part~=menu-item]:hover{background:var(--igc-context-menu-background-active, var(--igc-border-color, #f3f5f7));color:var(--igc-context-menu-color-active, #000)}[part~=menu-item]:focus{background:var(--igc-context-menu-background-active, var(--igc-border-color, #f3f5f7));color:var(--igc-context-menu-color-active, #000)}[part~=disabled]{pointer-events:none;color:var(--igc-disabled-color, rgba(0, 0, 0, 0.38))}`;
|
|
@@ -171,21 +171,29 @@ class IgcContextMenuComponent extends EventEmitterMixin(LitElement) {
|
|
|
171
171
|
${item.iconName === 'close' ? this.renderCloseButton() : nothing}
|
|
172
172
|
${item.iconName === 'unpin' ? this.renderUnpinButton() : nothing}
|
|
173
173
|
${item.iconName && item.iconName !== 'close' && item.iconName !== 'unpin'
|
|
174
|
-
? html `
|
|
174
|
+
? html `
|
|
175
|
+
<igc-icon-component name=${item.iconName}></igc-icon-component>
|
|
176
|
+
`
|
|
175
177
|
: nothing}
|
|
176
178
|
`;
|
|
177
179
|
}
|
|
178
180
|
renderCloseButton() {
|
|
179
181
|
return html `
|
|
180
182
|
<slot name="contextMenuCloseButton">
|
|
181
|
-
<igc-icon
|
|
183
|
+
<igc-icon-component
|
|
184
|
+
part="context-menu-close-button"
|
|
185
|
+
name="close"
|
|
186
|
+
></igc-icon-component>
|
|
182
187
|
</slot>
|
|
183
188
|
`;
|
|
184
189
|
}
|
|
185
190
|
renderUnpinButton() {
|
|
186
191
|
return html `
|
|
187
192
|
<slot name="contextMenuUnpinButton">
|
|
188
|
-
<igc-icon
|
|
193
|
+
<igc-icon-component
|
|
194
|
+
part="context-menu-unpin-button"
|
|
195
|
+
name="unpin"
|
|
196
|
+
></igc-icon-component>
|
|
189
197
|
</slot>
|
|
190
198
|
`;
|
|
191
199
|
}
|
|
@@ -7,6 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { html, LitElement, nothing } from 'lit';
|
|
8
8
|
import { property } from 'lit/decorators.js';
|
|
9
9
|
import { registerComponent } from '../../../common/definitions/register.js';
|
|
10
|
+
import IgcIconDMComponent from '../../icon/icon-component.js';
|
|
10
11
|
import { IgcDockingIndicatorPosition } from '../dockmanager.interfaces.js';
|
|
11
12
|
import { styles } from './joystick-icon-component.css.js';
|
|
12
13
|
class IgcJoystickIconComponent extends LitElement {
|
|
@@ -17,7 +18,7 @@ class IgcJoystickIconComponent extends LitElement {
|
|
|
17
18
|
this.empty = false;
|
|
18
19
|
}
|
|
19
20
|
static register() {
|
|
20
|
-
registerComponent(IgcJoystickIconComponent);
|
|
21
|
+
registerComponent(IgcJoystickIconComponent, IgcIconDMComponent);
|
|
21
22
|
}
|
|
22
23
|
connectedCallback() {
|
|
23
24
|
super.connectedCallback();
|
|
@@ -126,61 +127,65 @@ class IgcJoystickIconComponent extends LitElement {
|
|
|
126
127
|
const host = this.isDocHost;
|
|
127
128
|
if (pos === IgcDockingIndicatorPosition.outerLeft ||
|
|
128
129
|
(pos === IgcDockingIndicatorPosition.left && !host)) {
|
|
129
|
-
return html `<igc-icon
|
|
130
|
+
return html `<igc-icon-component
|
|
131
|
+
name="chevron_left"
|
|
132
|
+
></igc-icon-component>`;
|
|
130
133
|
}
|
|
131
134
|
if (pos === IgcDockingIndicatorPosition.left) {
|
|
132
|
-
return html `<igc-icon
|
|
135
|
+
return html `<igc-icon-component
|
|
133
136
|
name="flip"
|
|
134
137
|
style="transform: rotate(180deg)"
|
|
135
|
-
></igc-icon>`;
|
|
138
|
+
></igc-icon-component>`;
|
|
136
139
|
}
|
|
137
140
|
if (pos === IgcDockingIndicatorPosition.outerTop ||
|
|
138
141
|
(pos === IgcDockingIndicatorPosition.top && !host)) {
|
|
139
|
-
return html `<igc-icon
|
|
142
|
+
return html `<igc-icon-component
|
|
140
143
|
name="chevron_left"
|
|
141
144
|
style="transform: rotate(90deg)"
|
|
142
|
-
></igc-icon>`;
|
|
145
|
+
></igc-icon-component>`;
|
|
143
146
|
}
|
|
144
147
|
if (pos === IgcDockingIndicatorPosition.top) {
|
|
145
|
-
return html `<igc-icon
|
|
148
|
+
return html `<igc-icon-component
|
|
146
149
|
name="flip"
|
|
147
150
|
style="transform: rotate(270deg)"
|
|
148
|
-
></igc-icon>`;
|
|
151
|
+
></igc-icon-component>`;
|
|
149
152
|
}
|
|
150
153
|
if (pos === IgcDockingIndicatorPosition.center) {
|
|
151
|
-
return html `<igc-icon name="crop_square"></igc-icon>`;
|
|
154
|
+
return html `<igc-icon-component name="crop_square"></igc-icon-component>`;
|
|
152
155
|
}
|
|
153
156
|
if (pos === IgcDockingIndicatorPosition.outerRight ||
|
|
154
157
|
(pos === IgcDockingIndicatorPosition.right && !host)) {
|
|
155
|
-
return html `<igc-icon
|
|
158
|
+
return html `<igc-icon-component
|
|
156
159
|
name="chevron_left"
|
|
157
160
|
style="transform: rotate(180deg)"
|
|
158
|
-
></igc-icon>`;
|
|
161
|
+
></igc-icon-component>`;
|
|
159
162
|
}
|
|
160
163
|
if (pos === IgcDockingIndicatorPosition.right) {
|
|
161
|
-
return html `<igc-icon name="flip"></igc-icon>`;
|
|
164
|
+
return html `<igc-icon-component name="flip"></igc-icon-component>`;
|
|
162
165
|
}
|
|
163
166
|
if (pos === IgcDockingIndicatorPosition.outerBottom ||
|
|
164
167
|
(pos === IgcDockingIndicatorPosition.bottom && !host)) {
|
|
165
|
-
return html `<igc-icon
|
|
168
|
+
return html `<igc-icon-component
|
|
166
169
|
name="chevron_left"
|
|
167
170
|
style="transform: rotate(270deg)"
|
|
168
|
-
></igc-icon>`;
|
|
171
|
+
></igc-icon-component>`;
|
|
169
172
|
}
|
|
170
173
|
if (pos === IgcDockingIndicatorPosition.bottom) {
|
|
171
|
-
return html `<igc-icon
|
|
174
|
+
return html `<igc-icon-component
|
|
172
175
|
name="flip"
|
|
173
176
|
style="transform: rotate(90deg)"
|
|
174
|
-
></igc-icon>`;
|
|
177
|
+
></igc-icon-component>`;
|
|
175
178
|
}
|
|
176
179
|
if (pos === IgcDockingIndicatorPosition.splitterHorizontal) {
|
|
177
|
-
return html `<igc-icon
|
|
180
|
+
return html `<igc-icon-component
|
|
181
|
+
name="splitter_docking_indicator"
|
|
182
|
+
></igc-icon-component>`;
|
|
178
183
|
}
|
|
179
184
|
if (pos === IgcDockingIndicatorPosition.splitterVertical) {
|
|
180
|
-
return html `<igc-icon
|
|
185
|
+
return html `<igc-icon-component
|
|
181
186
|
name="splitter_docking_indicator"
|
|
182
187
|
style="transform: rotate(90deg)"
|
|
183
|
-
></igc-icon>`;
|
|
188
|
+
></igc-icon-component>`;
|
|
184
189
|
}
|
|
185
190
|
return nothing;
|
|
186
191
|
}
|