igniteui-dockmanager 2.1.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.
- package/README.md +4 -4
- package/custom-elements.json +174 -112
- package/dist/LICENSE +13 -0
- package/dist/README.md +84 -0
- package/{components → dist/components}/button/button-component.js +3 -4
- package/{components → dist/components}/context-menu/context-menu.js +3 -4
- package/{components → dist/components}/dockmanager/docking/edge-docking-indicator-component.js +3 -4
- package/{components → dist/components}/dockmanager/docking/joystick-icon-component.js +3 -4
- package/{components → dist/components}/dockmanager/docking/joystick-indicator-component.js +3 -4
- package/{components → dist/components}/dockmanager/docking/root-docking-indicator-component.js +3 -4
- package/{components → dist/components}/dockmanager/docking/splitter-docking-indicator-component.js +3 -4
- package/{components → dist/components}/dockmanager/dockmanager-component.js +3 -4
- package/{components → dist/components}/dockmanager/pane-navigator/pane-navigator-component.js +3 -4
- package/{components → dist/components}/dockmanager/panes/content-pane-component.js +3 -4
- package/{components → dist/components}/dockmanager/panes/document-host-component.js +3 -4
- package/{components → dist/components}/dockmanager/panes/floating-pane-component.js +3 -4
- package/{components → dist/components}/dockmanager/panes/pane-header-component.js +3 -4
- package/{components → dist/components}/dockmanager/panes/resizer-component.js +2 -3
- package/{components → dist/components}/dockmanager/panes/split-pane-component.js +3 -4
- package/{components → dist/components}/dockmanager/panes/splitter-component.js +3 -4
- package/{components → dist/components}/dockmanager/panes/unpinned-pane-header-component.js +3 -4
- package/{components → dist/components}/icon/icon-component.js +3 -4
- package/{components → dist/components}/sample-component/sample-component.js +109 -109
- package/{components → dist/components}/tabs/tab-header-component.js +3 -4
- package/{components → dist/components}/tabs/tab-panel-component.js +3 -4
- package/{components → dist/components}/tabs/tabs-component.js +3 -4
- package/dist/custom-elements.json +14214 -0
- package/dist/package.json +51 -0
- package/package.json +134 -57
- /package/{CHANGELOG.md → dist/CHANGELOG.md} +0 -0
- /package/{common → dist/common}/decorators/blazorSuppressComponent.d.ts +0 -0
- /package/{common → dist/common}/decorators/blazorSuppressComponent.js +0 -0
- /package/{common → dist/common}/decorators/watch.d.ts +0 -0
- /package/{common → dist/common}/decorators/watch.js +0 -0
- /package/{common → dist/common}/definitions/defineAllComponents.d.ts +0 -0
- /package/{common → dist/common}/definitions/defineAllComponents.js +0 -0
- /package/{common → dist/common}/definitions/defineComponents.d.ts +0 -0
- /package/{common → dist/common}/definitions/defineComponents.js +0 -0
- /package/{common → dist/common}/definitions/register.d.ts +0 -0
- /package/{common → dist/common}/definitions/register.js +0 -0
- /package/{common → dist/common}/mixins/constructor.d.ts +0 -0
- /package/{common → dist/common}/mixins/constructor.js +0 -0
- /package/{common → dist/common}/mixins/event-emitter.d.ts +0 -0
- /package/{common → dist/common}/mixins/event-emitter.js +0 -0
- /package/{common → dist/common}/util.d.ts +0 -0
- /package/{common → dist/common}/util.js +0 -0
- /package/{components → dist/components}/button/button-component.css.d.ts +0 -0
- /package/{components → dist/components}/button/button-component.css.js +0 -0
- /package/{components → dist/components}/button/button-component.d.ts +0 -0
- /package/{components → dist/components}/context-menu/context-menu.css.d.ts +0 -0
- /package/{components → dist/components}/context-menu/context-menu.css.js +0 -0
- /package/{components → dist/components}/context-menu/context-menu.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/backfill-types-dockmanager.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/backfill-types-dockmanager.js +0 -0
- /package/{components → dist/components}/dockmanager/docking/edge-docking-indicator-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/edge-docking-indicator-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/docking/edge-docking-indicator-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/joystick-icon-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/joystick-icon-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/docking/joystick-icon-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/joystick-indicator-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/joystick-indicator-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/docking/joystick-indicator-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/root-docking-indicator-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/root-docking-indicator-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/docking/root-docking-indicator-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/splitter-docking-indicator-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/docking/splitter-docking-indicator-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/docking/splitter-docking-indicator-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/dockmanager-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/dockmanager-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/dockmanager-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/dockmanager.interfaces.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/dockmanager.interfaces.js +0 -0
- /package/{components → dist/components}/dockmanager/dockmanager.service.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/dockmanager.service.js +0 -0
- /package/{components → dist/components}/dockmanager/keyboard/keyboard.service.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/keyboard/keyboard.service.js +0 -0
- /package/{components → dist/components}/dockmanager/pane-navigator/pane-navigator-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/pane-navigator/pane-navigator-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/pane-navigator/pane-navigator-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/content-pane-component.base.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/content-pane-component.base.css.js +0 -0
- /package/{components → dist/components}/dockmanager/panes/content-pane-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/document-host-component.base.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/document-host-component.base.css.js +0 -0
- /package/{components → dist/components}/dockmanager/panes/document-host-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/floating-pane-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/floating-pane-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/panes/floating-pane-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/pane-header-component.base.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/pane-header-component.base.css.js +0 -0
- /package/{components → dist/components}/dockmanager/panes/pane-header-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/resizer-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/split-pane-component.base.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/split-pane-component.base.css.js +0 -0
- /package/{components → dist/components}/dockmanager/panes/split-pane-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/splitter-component.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/splitter-component.css.js +0 -0
- /package/{components → dist/components}/dockmanager/panes/splitter-component.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/unpinned-pane-header-component.base.css.d.ts +0 -0
- /package/{components → dist/components}/dockmanager/panes/unpinned-pane-header-component.base.css.js +0 -0
- /package/{components → dist/components}/dockmanager/panes/unpinned-pane-header-component.d.ts +0 -0
- /package/{components → dist/components}/drag-drop/drag.service.d.ts +0 -0
- /package/{components → dist/components}/drag-drop/drag.service.js +0 -0
- /package/{components → dist/components}/icon/icon-component.css.d.ts +0 -0
- /package/{components → dist/components}/icon/icon-component.css.js +0 -0
- /package/{components → dist/components}/icon/icon-component.d.ts +0 -0
- /package/{components → dist/components}/icon/icons.d.ts +0 -0
- /package/{components → dist/components}/icon/icons.js +0 -0
- /package/{components → dist/components}/sample-component/sample-component.d.ts +0 -0
- /package/{components → dist/components}/tabs/tab-header-component.css.d.ts +0 -0
- /package/{components → dist/components}/tabs/tab-header-component.css.js +0 -0
- /package/{components → dist/components}/tabs/tab-header-component.d.ts +0 -0
- /package/{components → dist/components}/tabs/tab-panel-component.css.d.ts +0 -0
- /package/{components → dist/components}/tabs/tab-panel-component.css.js +0 -0
- /package/{components → dist/components}/tabs/tab-panel-component.d.ts +0 -0
- /package/{components → dist/components}/tabs/tabs-component.css.d.ts +0 -0
- /package/{components → dist/components}/tabs/tabs-component.css.js +0 -0
- /package/{components → dist/components}/tabs/tabs-component.d.ts +0 -0
- /package/{igniteui-dockmanager.css-data.json → dist/igniteui-dockmanager.css-data.json} +0 -0
- /package/{igniteui-dockmanager.html-data.json → dist/igniteui-dockmanager.html-data.json} +0 -0
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{loader.d.ts → dist/loader.d.ts} +0 -0
- /package/{loader.js → dist/loader.js} +0 -0
- /package/{styles → dist/styles}/igc.theme.default.css +0 -0
- /package/{styles → dist/styles}/igc.themes.css +0 -0
- /package/{styles → dist/styles}/index.css +0 -0
- /package/{utils → dist/utils}/locale.d.ts +0 -0
- /package/{utils → dist/utils}/locale.js +0 -0
- /package/{utils → dist/utils}/test-utils.d.ts +0 -0
- /package/{utils → dist/utils}/test-utils.js +0 -0
- /package/{utils → dist/utils}/two-way-map.d.ts +0 -0
- /package/{utils → dist/utils}/two-way-map.js +0 -0
- /package/{utils → dist/utils}/utils.d.ts +0 -0
- /package/{utils → dist/utils}/utils.js +0 -0
- /package/{web-types.json → dist/web-types.json} +0 -0
|
@@ -11,7 +11,7 @@ import { EventEmitterMixin } from '../../../common/mixins/event-emitter.js';
|
|
|
11
11
|
import { partNameMap } from '../../../utils/utils.js';
|
|
12
12
|
import { IGC_DEFAULT_PANE_SIZE, IGC_DEFAULT_UNPIN_PANE_SIZE, IGC_RESIZING_MIN_SIZE, } from '../dockmanager.interfaces.js';
|
|
13
13
|
import { styles } from './content-pane-component.base.css.js';
|
|
14
|
-
class IgcContentPaneComponent extends EventEmitterMixin(LitElement) {
|
|
14
|
+
export default class IgcContentPaneComponent extends EventEmitterMixin(LitElement) {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments);
|
|
17
17
|
this._contentId = '';
|
|
@@ -25,6 +25,8 @@ class IgcContentPaneComponent extends EventEmitterMixin(LitElement) {
|
|
|
25
25
|
this._minResizeWidth = IGC_RESIZING_MIN_SIZE;
|
|
26
26
|
this._minResizeHeight = IGC_RESIZING_MIN_SIZE;
|
|
27
27
|
}
|
|
28
|
+
static { this.tagName = 'igc-content-pane'; }
|
|
29
|
+
static { this.styles = [styles]; }
|
|
28
30
|
static register() {
|
|
29
31
|
registerComponent(IgcContentPaneComponent);
|
|
30
32
|
}
|
|
@@ -131,9 +133,6 @@ class IgcContentPaneComponent extends EventEmitterMixin(LitElement) {
|
|
|
131
133
|
`;
|
|
132
134
|
}
|
|
133
135
|
}
|
|
134
|
-
IgcContentPaneComponent.tagName = 'igc-content-pane';
|
|
135
|
-
IgcContentPaneComponent.styles = [styles];
|
|
136
|
-
export default IgcContentPaneComponent;
|
|
137
136
|
__decorate([
|
|
138
137
|
property({ type: String, attribute: 'content-id' })
|
|
139
138
|
], IgcContentPaneComponent.prototype, "contentId", null);
|
|
@@ -9,12 +9,14 @@ import { property } from 'lit/decorators.js';
|
|
|
9
9
|
import { registerComponent } from '../../../common/definitions/register.js';
|
|
10
10
|
import { IGC_DEFAULT_PANE_SIZE } from '../dockmanager.interfaces.js';
|
|
11
11
|
import { styles } from './document-host-component.base.css.js';
|
|
12
|
-
class IgcDocumentHostComponent extends LitElement {
|
|
12
|
+
export default class IgcDocumentHostComponent extends LitElement {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
this._size = IGC_DEFAULT_PANE_SIZE;
|
|
16
16
|
this._parentUseFixedSize = false;
|
|
17
17
|
}
|
|
18
|
+
static { this.tagName = 'igc-document-host'; }
|
|
19
|
+
static { this.styles = [styles]; }
|
|
18
20
|
static register() {
|
|
19
21
|
registerComponent(IgcDocumentHostComponent);
|
|
20
22
|
}
|
|
@@ -48,9 +50,6 @@ class IgcDocumentHostComponent extends LitElement {
|
|
|
48
50
|
return html ` <slot></slot> `;
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
|
-
IgcDocumentHostComponent.tagName = 'igc-document-host';
|
|
52
|
-
IgcDocumentHostComponent.styles = [styles];
|
|
53
|
-
export default IgcDocumentHostComponent;
|
|
54
53
|
__decorate([
|
|
55
54
|
property({ type: Boolean })
|
|
56
55
|
], IgcDocumentHostComponent.prototype, "parentUseFixedSize", null);
|
|
@@ -11,7 +11,7 @@ import { EventEmitterMixin } from '../../../common/mixins/event-emitter.js';
|
|
|
11
11
|
import { IGC_DEFAULT_PANE_SIZE, } from '../dockmanager.interfaces.js';
|
|
12
12
|
import { styles } from './floating-pane-component.css.js';
|
|
13
13
|
import IgcResizerComponent from './resizer-component.js';
|
|
14
|
-
class IgcFloatingPaneComponent extends EventEmitterMixin(LitElement) {
|
|
14
|
+
export default class IgcFloatingPaneComponent extends EventEmitterMixin(LitElement) {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments);
|
|
17
17
|
this._floatingHeight = IGC_DEFAULT_PANE_SIZE;
|
|
@@ -52,6 +52,8 @@ class IgcFloatingPaneComponent extends EventEmitterMixin(LitElement) {
|
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
+
static { this.tagName = 'igc-floating-pane'; }
|
|
56
|
+
static { this.styles = [styles]; }
|
|
55
57
|
static register() {
|
|
56
58
|
registerComponent(IgcFloatingPaneComponent, IgcResizerComponent);
|
|
57
59
|
}
|
|
@@ -149,9 +151,6 @@ class IgcFloatingPaneComponent extends EventEmitterMixin(LitElement) {
|
|
|
149
151
|
`;
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
|
-
IgcFloatingPaneComponent.tagName = 'igc-floating-pane';
|
|
153
|
-
IgcFloatingPaneComponent.styles = [styles];
|
|
154
|
-
export default IgcFloatingPaneComponent;
|
|
155
154
|
__decorate([
|
|
156
155
|
property({ type: Boolean })
|
|
157
156
|
], IgcFloatingPaneComponent.prototype, "allowResize", void 0);
|
|
@@ -17,7 +17,9 @@ import IgcButtonDMComponent from '../../button/button-component.js';
|
|
|
17
17
|
import { IgcDragService } from '../../drag-drop/drag.service.js';
|
|
18
18
|
import IgcIconDMComponent from '../../icon/icon-component.js';
|
|
19
19
|
import { styles } from './pane-header-component.base.css.js';
|
|
20
|
-
class IgcPaneHeaderComponent extends EventEmitterMixin(LitElement) {
|
|
20
|
+
export default class IgcPaneHeaderComponent extends EventEmitterMixin(LitElement) {
|
|
21
|
+
static { this.tagName = 'igc-pane-header'; }
|
|
22
|
+
static { this.styles = [styles]; }
|
|
21
23
|
static register() {
|
|
22
24
|
registerComponent(IgcPaneHeaderComponent, IgcIconDMComponent, IgcButtonDMComponent);
|
|
23
25
|
}
|
|
@@ -239,9 +241,6 @@ class IgcPaneHeaderComponent extends EventEmitterMixin(LitElement) {
|
|
|
239
241
|
`;
|
|
240
242
|
}
|
|
241
243
|
}
|
|
242
|
-
IgcPaneHeaderComponent.tagName = 'igc-pane-header';
|
|
243
|
-
IgcPaneHeaderComponent.styles = [styles];
|
|
244
|
-
export default IgcPaneHeaderComponent;
|
|
245
244
|
__decorate([
|
|
246
245
|
property({ type: Boolean })
|
|
247
246
|
], IgcPaneHeaderComponent.prototype, "pinned", void 0);
|
|
@@ -10,7 +10,8 @@ import { styleMap } from 'lit/directives/style-map.js';
|
|
|
10
10
|
import { registerComponent } from '../../../common/definitions/register.js';
|
|
11
11
|
import { EventEmitterMixin } from '../../../common/mixins/event-emitter.js';
|
|
12
12
|
import { IgcDragService } from '../../drag-drop/drag.service.js';
|
|
13
|
-
class IgcResizerComponent extends EventEmitterMixin(LitElement) {
|
|
13
|
+
export default class IgcResizerComponent extends EventEmitterMixin(LitElement) {
|
|
14
|
+
static { this.tagName = 'igc-resizer'; }
|
|
14
15
|
static register() {
|
|
15
16
|
registerComponent(IgcResizerComponent);
|
|
16
17
|
}
|
|
@@ -84,8 +85,6 @@ class IgcResizerComponent extends EventEmitterMixin(LitElement) {
|
|
|
84
85
|
return html `<div class="resize-container" style=${styleMap(style)}></div>`;
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
|
-
IgcResizerComponent.tagName = 'igc-resizer';
|
|
88
|
-
export default IgcResizerComponent;
|
|
89
88
|
__decorate([
|
|
90
89
|
property({ type: String })
|
|
91
90
|
], IgcResizerComponent.prototype, "orientation", void 0);
|
|
@@ -10,7 +10,7 @@ import { registerComponent } from '../../../common/definitions/register.js';
|
|
|
10
10
|
import { EventEmitterMixin } from '../../../common/mixins/event-emitter.js';
|
|
11
11
|
import { IGC_DEFAULT_PANE_SIZE, IGC_RESIZING_MIN_SIZE, } from '../dockmanager.interfaces.js';
|
|
12
12
|
import { styles } from './split-pane-component.base.css.js';
|
|
13
|
-
class IgcSplitPaneComponent extends EventEmitterMixin(LitElement) {
|
|
13
|
+
export default class IgcSplitPaneComponent extends EventEmitterMixin(LitElement) {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments);
|
|
16
16
|
this._parentUseFixedSize = false;
|
|
@@ -18,6 +18,8 @@ class IgcSplitPaneComponent extends EventEmitterMixin(LitElement) {
|
|
|
18
18
|
this._minResizeWidth = IGC_RESIZING_MIN_SIZE;
|
|
19
19
|
this._minResizeHeight = IGC_RESIZING_MIN_SIZE;
|
|
20
20
|
}
|
|
21
|
+
static { this.tagName = 'igc-split-pane'; }
|
|
22
|
+
static { this.styles = [styles]; }
|
|
21
23
|
static register() {
|
|
22
24
|
registerComponent(IgcSplitPaneComponent);
|
|
23
25
|
}
|
|
@@ -82,9 +84,6 @@ class IgcSplitPaneComponent extends EventEmitterMixin(LitElement) {
|
|
|
82
84
|
return html `<slot></slot>`;
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
|
-
IgcSplitPaneComponent.tagName = 'igc-split-pane';
|
|
86
|
-
IgcSplitPaneComponent.styles = [styles];
|
|
87
|
-
export default IgcSplitPaneComponent;
|
|
88
87
|
__decorate([
|
|
89
88
|
property({ type: String })
|
|
90
89
|
], IgcSplitPaneComponent.prototype, "orientation", null);
|
|
@@ -15,7 +15,9 @@ import { IgcDragService } from '../../drag-drop/drag.service.js';
|
|
|
15
15
|
import { IGC_DEFAULT_RESIZE, IGC_DEFAULT_SPLITTER_SIZE, IGC_RESIZING_MIN_SIZE, } from '../dockmanager.interfaces.js';
|
|
16
16
|
import { styles } from './splitter-component.css.js';
|
|
17
17
|
const SCROLL_SPEED = 15;
|
|
18
|
-
class IgcSplitterComponent extends EventEmitterMixin(LitElement) {
|
|
18
|
+
export default class IgcSplitterComponent extends EventEmitterMixin(LitElement) {
|
|
19
|
+
static { this.tagName = 'igc-splitter'; }
|
|
20
|
+
static { this.styles = [styles]; }
|
|
19
21
|
static register() {
|
|
20
22
|
registerComponent(IgcSplitterComponent);
|
|
21
23
|
}
|
|
@@ -375,9 +377,6 @@ class IgcSplitterComponent extends EventEmitterMixin(LitElement) {
|
|
|
375
377
|
`;
|
|
376
378
|
}
|
|
377
379
|
}
|
|
378
|
-
IgcSplitterComponent.tagName = 'igc-splitter';
|
|
379
|
-
IgcSplitterComponent.styles = [styles];
|
|
380
|
-
export default IgcSplitterComponent;
|
|
381
380
|
__decorate([
|
|
382
381
|
state()
|
|
383
382
|
], IgcSplitterComponent.prototype, "_dragOffset", void 0);
|
|
@@ -9,12 +9,14 @@ import { property } from 'lit/decorators.js';
|
|
|
9
9
|
import { registerComponent } from '../../../common/definitions/register.js';
|
|
10
10
|
import { partNameMap } from '../../../common/util.js';
|
|
11
11
|
import { styles } from './unpinned-pane-header-component.base.css.js';
|
|
12
|
-
class IgcUnpinnedPaneHeaderComponent extends LitElement {
|
|
12
|
+
export default class IgcUnpinnedPaneHeaderComponent extends LitElement {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
this._isActive = false;
|
|
16
16
|
this._disabled = false;
|
|
17
17
|
}
|
|
18
|
+
static { this.tagName = 'igc-unpinned-pane-header'; }
|
|
19
|
+
static { this.styles = [styles]; }
|
|
18
20
|
static register() {
|
|
19
21
|
registerComponent(IgcUnpinnedPaneHeaderComponent);
|
|
20
22
|
}
|
|
@@ -71,9 +73,6 @@ class IgcUnpinnedPaneHeaderComponent extends LitElement {
|
|
|
71
73
|
return html ` <slot></slot> `;
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
|
-
IgcUnpinnedPaneHeaderComponent.tagName = 'igc-unpinned-pane-header';
|
|
75
|
-
IgcUnpinnedPaneHeaderComponent.styles = [styles];
|
|
76
|
-
export default IgcUnpinnedPaneHeaderComponent;
|
|
77
76
|
__decorate([
|
|
78
77
|
property({ type: String })
|
|
79
78
|
], IgcUnpinnedPaneHeaderComponent.prototype, "location", null);
|
|
@@ -9,11 +9,13 @@ import { property } from 'lit/decorators.js';
|
|
|
9
9
|
import { registerComponent } from '../../common/definitions/register.js';
|
|
10
10
|
import { styles } from './icon-component.css.js';
|
|
11
11
|
import { icons } from './icons.js';
|
|
12
|
-
class IgcIconDMComponent extends LitElement {
|
|
12
|
+
export default class IgcIconDMComponent extends LitElement {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
this.name = '';
|
|
16
16
|
}
|
|
17
|
+
static { this.tagName = 'igc-icon-component'; }
|
|
18
|
+
static { this.styles = [styles]; }
|
|
17
19
|
static register() {
|
|
18
20
|
registerComponent(IgcIconDMComponent);
|
|
19
21
|
}
|
|
@@ -24,9 +26,6 @@ class IgcIconDMComponent extends LitElement {
|
|
|
24
26
|
`;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
|
-
IgcIconDMComponent.tagName = 'igc-icon-component';
|
|
28
|
-
IgcIconDMComponent.styles = [styles];
|
|
29
|
-
export default IgcIconDMComponent;
|
|
30
29
|
__decorate([
|
|
31
30
|
property({ type: String })
|
|
32
31
|
], IgcIconDMComponent.prototype, "name", void 0);
|
|
@@ -857,6 +857,115 @@ let SampleComponent = class SampleComponent extends LitElement {
|
|
|
857
857
|
this._newId = '';
|
|
858
858
|
this.foundElem = [];
|
|
859
859
|
}
|
|
860
|
+
static { this.styles = css `
|
|
861
|
+
:host {
|
|
862
|
+
display: flex;
|
|
863
|
+
flex-direction: column;
|
|
864
|
+
height: 100%;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
igc-dockmanager {
|
|
868
|
+
margin: 10px;
|
|
869
|
+
border: 1px solid black;
|
|
870
|
+
--igc-resize-target-border-width: 2px;
|
|
871
|
+
/* --igc-splitter-thickness: 10px; */
|
|
872
|
+
/* --igc-resize-handle-thickness: 10px;
|
|
873
|
+
--igc-resize-handle-size: 150px; */
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/*
|
|
877
|
+
igc-dockmanager {
|
|
878
|
+
background-color: rgb(227,230,233);
|
|
879
|
+
padding: 20px;
|
|
880
|
+
} */
|
|
881
|
+
|
|
882
|
+
/* igc-dockmanager::part(pane-header) {
|
|
883
|
+
background-color: #fff;
|
|
884
|
+
border-bottom: 2px solid rgb(227, 230, 233);
|
|
885
|
+
max-height: 15px;
|
|
886
|
+
min-height: 15px;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
igc-dockmanager::part(pane-header active) {
|
|
890
|
+
font-weight: 700;
|
|
891
|
+
color: rgb(113, 115, 116);
|
|
892
|
+
box-shadow: none;
|
|
893
|
+
border-bottom: 2px solid rgb(113, 115, 116);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
igc-dockmanager::part(pane-header-content) {
|
|
897
|
+
color: rgba(104, 97, 97, 0.938);
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
igc-dockmanager::part(splitter) {
|
|
901
|
+
flex: 0 0 15px;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
igc-dockmanager::part(splitter-base) {
|
|
905
|
+
background: transparent;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
igc-dockmanager::part(splitter-base)::after {
|
|
909
|
+
content: none;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
igc-dockmanager::part(content-pane) {
|
|
913
|
+
border-radius: 10px;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
igc-dockmanager::part(tab-header bottom) {
|
|
917
|
+
border-bottom-right-radius: 10px;
|
|
918
|
+
border-bottom-left-radius: 10px;
|
|
919
|
+
background-color: rgb(227, 230, 233);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
igc-dockmanager::part(tab-header active selected bottom) {
|
|
923
|
+
font-weight: 700;
|
|
924
|
+
color: rgb(113, 115, 116);
|
|
925
|
+
box-shadow: inset 0 2px 0 0 rgb(113, 115, 116);
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
igc-dockmanager::part(tab-strip-area bottom) {
|
|
929
|
+
border-radius: 0 0 10px 10px;
|
|
930
|
+
border-bottom: 2px solid rgb(227, 230, 233);
|
|
931
|
+
background-color: #fff;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
igc-dockmanager::part(tab-strip-actions bottom) {
|
|
935
|
+
display: none;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
igc-dockmanager::part(tabs-content) {
|
|
939
|
+
border-radius: 10px 10px 0 0;
|
|
940
|
+
background-color: #fff;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
igc-dockmanager::part(root-docking-indicator),
|
|
944
|
+
igc-dockmanager::part(splitter-docking-indicator),
|
|
945
|
+
igc-dockmanager::part(docking-indicator) {
|
|
946
|
+
background-color: rgba(49, 45, 49, 0.733);
|
|
947
|
+
color: #fff;
|
|
948
|
+
border: none;
|
|
949
|
+
border-radius: 5px;
|
|
950
|
+
margin: 2px;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
igc-dockmanager::part(docking-preview) {
|
|
954
|
+
background-color: rgb(227, 230, 233);
|
|
955
|
+
opacity: 0.7;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
igc-dockmanager::part(unpinned-pane-header) {
|
|
959
|
+
border-radius: 5px;
|
|
960
|
+
margin-bottom: 5px;
|
|
961
|
+
box-shadow: inset 0 2px 0 0 rgb(113, 115, 116);
|
|
962
|
+
background-color: #fff;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
igc-dockmanager::part(floating-window) {
|
|
966
|
+
border-radius: 10px;
|
|
967
|
+
} */
|
|
968
|
+
`; }
|
|
860
969
|
log(message, ...optionalParams) {
|
|
861
970
|
if (this.logEnabled) {
|
|
862
971
|
console.log(message, optionalParams);
|
|
@@ -1139,115 +1248,6 @@ let SampleComponent = class SampleComponent extends LitElement {
|
|
|
1139
1248
|
`;
|
|
1140
1249
|
}
|
|
1141
1250
|
};
|
|
1142
|
-
SampleComponent.styles = css `
|
|
1143
|
-
:host {
|
|
1144
|
-
display: flex;
|
|
1145
|
-
flex-direction: column;
|
|
1146
|
-
height: 100%;
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
igc-dockmanager {
|
|
1150
|
-
margin: 10px;
|
|
1151
|
-
border: 1px solid black;
|
|
1152
|
-
--igc-resize-target-border-width: 2px;
|
|
1153
|
-
/* --igc-splitter-thickness: 10px; */
|
|
1154
|
-
/* --igc-resize-handle-thickness: 10px;
|
|
1155
|
-
--igc-resize-handle-size: 150px; */
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
/*
|
|
1159
|
-
igc-dockmanager {
|
|
1160
|
-
background-color: rgb(227,230,233);
|
|
1161
|
-
padding: 20px;
|
|
1162
|
-
} */
|
|
1163
|
-
|
|
1164
|
-
/* igc-dockmanager::part(pane-header) {
|
|
1165
|
-
background-color: #fff;
|
|
1166
|
-
border-bottom: 2px solid rgb(227, 230, 233);
|
|
1167
|
-
max-height: 15px;
|
|
1168
|
-
min-height: 15px;
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
igc-dockmanager::part(pane-header active) {
|
|
1172
|
-
font-weight: 700;
|
|
1173
|
-
color: rgb(113, 115, 116);
|
|
1174
|
-
box-shadow: none;
|
|
1175
|
-
border-bottom: 2px solid rgb(113, 115, 116);
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
igc-dockmanager::part(pane-header-content) {
|
|
1179
|
-
color: rgba(104, 97, 97, 0.938);
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
igc-dockmanager::part(splitter) {
|
|
1183
|
-
flex: 0 0 15px;
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
igc-dockmanager::part(splitter-base) {
|
|
1187
|
-
background: transparent;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
igc-dockmanager::part(splitter-base)::after {
|
|
1191
|
-
content: none;
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
igc-dockmanager::part(content-pane) {
|
|
1195
|
-
border-radius: 10px;
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
igc-dockmanager::part(tab-header bottom) {
|
|
1199
|
-
border-bottom-right-radius: 10px;
|
|
1200
|
-
border-bottom-left-radius: 10px;
|
|
1201
|
-
background-color: rgb(227, 230, 233);
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
igc-dockmanager::part(tab-header active selected bottom) {
|
|
1205
|
-
font-weight: 700;
|
|
1206
|
-
color: rgb(113, 115, 116);
|
|
1207
|
-
box-shadow: inset 0 2px 0 0 rgb(113, 115, 116);
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
igc-dockmanager::part(tab-strip-area bottom) {
|
|
1211
|
-
border-radius: 0 0 10px 10px;
|
|
1212
|
-
border-bottom: 2px solid rgb(227, 230, 233);
|
|
1213
|
-
background-color: #fff;
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
igc-dockmanager::part(tab-strip-actions bottom) {
|
|
1217
|
-
display: none;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
igc-dockmanager::part(tabs-content) {
|
|
1221
|
-
border-radius: 10px 10px 0 0;
|
|
1222
|
-
background-color: #fff;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
igc-dockmanager::part(root-docking-indicator),
|
|
1226
|
-
igc-dockmanager::part(splitter-docking-indicator),
|
|
1227
|
-
igc-dockmanager::part(docking-indicator) {
|
|
1228
|
-
background-color: rgba(49, 45, 49, 0.733);
|
|
1229
|
-
color: #fff;
|
|
1230
|
-
border: none;
|
|
1231
|
-
border-radius: 5px;
|
|
1232
|
-
margin: 2px;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
igc-dockmanager::part(docking-preview) {
|
|
1236
|
-
background-color: rgb(227, 230, 233);
|
|
1237
|
-
opacity: 0.7;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
igc-dockmanager::part(unpinned-pane-header) {
|
|
1241
|
-
border-radius: 5px;
|
|
1242
|
-
margin-bottom: 5px;
|
|
1243
|
-
box-shadow: inset 0 2px 0 0 rgb(113, 115, 116);
|
|
1244
|
-
background-color: #fff;
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
igc-dockmanager::part(floating-window) {
|
|
1248
|
-
border-radius: 10px;
|
|
1249
|
-
} */
|
|
1250
|
-
`;
|
|
1251
1251
|
__decorate([
|
|
1252
1252
|
property({ attribute: false })
|
|
1253
1253
|
], SampleComponent.prototype, "hiddenPanes", void 0);
|
|
@@ -15,7 +15,7 @@ import IgcButtonDMComponent from '../button/button-component.js';
|
|
|
15
15
|
import { IgcDragService, } from '../drag-drop/drag.service.js';
|
|
16
16
|
import IgcIconDMComponent from '../icon/icon-component.js';
|
|
17
17
|
import { styles } from './tab-header-component.css.js';
|
|
18
|
-
class IgcTabHeaderComponent extends EventEmitterMixin(LitElement) {
|
|
18
|
+
export default class IgcTabHeaderComponent extends EventEmitterMixin(LitElement) {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
21
21
|
this._selected = false;
|
|
@@ -34,6 +34,8 @@ class IgcTabHeaderComponent extends EventEmitterMixin(LitElement) {
|
|
|
34
34
|
this.emitEvent('igcIconKeyDown', { detail: event });
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
+
static { this.tagName = 'igc-tab-header'; }
|
|
38
|
+
static { this.styles = [styles]; }
|
|
37
39
|
static register() {
|
|
38
40
|
registerComponent(IgcTabHeaderComponent, IgcIconDMComponent, IgcButtonDMComponent);
|
|
39
41
|
}
|
|
@@ -240,9 +242,6 @@ class IgcTabHeaderComponent extends EventEmitterMixin(LitElement) {
|
|
|
240
242
|
`;
|
|
241
243
|
}
|
|
242
244
|
}
|
|
243
|
-
IgcTabHeaderComponent.tagName = 'igc-tab-header';
|
|
244
|
-
IgcTabHeaderComponent.styles = [styles];
|
|
245
|
-
export default IgcTabHeaderComponent;
|
|
246
245
|
__decorate([
|
|
247
246
|
query('[part^=tab-header-close-button]')
|
|
248
247
|
], IgcTabHeaderComponent.prototype, "closeButton", void 0);
|
|
@@ -11,12 +11,14 @@ import { registerComponent } from '../../common/definitions/register.js';
|
|
|
11
11
|
import { EventEmitterMixin } from '../../common/mixins/event-emitter.js';
|
|
12
12
|
import { partNameMap } from '../../common/util.js';
|
|
13
13
|
import { styles } from './tab-panel-component.css.js';
|
|
14
|
-
class IgcTabPanelComponent extends EventEmitterMixin(LitElement) {
|
|
14
|
+
export default class IgcTabPanelComponent extends EventEmitterMixin(LitElement) {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments);
|
|
17
17
|
this._selected = false;
|
|
18
18
|
this._disabled = false;
|
|
19
19
|
}
|
|
20
|
+
static { this.tagName = 'igc-tab-panel'; }
|
|
21
|
+
static { this.styles = [styles]; }
|
|
20
22
|
static register() {
|
|
21
23
|
registerComponent(IgcTabPanelComponent);
|
|
22
24
|
}
|
|
@@ -56,9 +58,6 @@ class IgcTabPanelComponent extends EventEmitterMixin(LitElement) {
|
|
|
56
58
|
return html ` <slot></slot> `;
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
|
-
IgcTabPanelComponent.tagName = 'igc-tab-panel';
|
|
60
|
-
IgcTabPanelComponent.styles = [styles];
|
|
61
|
-
export default IgcTabPanelComponent;
|
|
62
61
|
__decorate([
|
|
63
62
|
property({ type: Boolean, reflect: true })
|
|
64
63
|
], IgcTabPanelComponent.prototype, "selected", null);
|
|
@@ -20,7 +20,7 @@ import IgcTabHeaderComponent from './tab-header-component.js';
|
|
|
20
20
|
import IgcTabPanelComponent from './tab-panel-component.js';
|
|
21
21
|
import { styles } from './tabs-component.css.js';
|
|
22
22
|
let NEXT_TAB_ID = 0;
|
|
23
|
-
class IgcTabsComponent extends EventEmitterMixin(LitElement) {
|
|
23
|
+
export default class IgcTabsComponent extends EventEmitterMixin(LitElement) {
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments);
|
|
26
26
|
this._parentUseFixedSize = false;
|
|
@@ -71,6 +71,8 @@ class IgcTabsComponent extends EventEmitterMixin(LitElement) {
|
|
|
71
71
|
this.emitEvent('igcMaximizeMinimizeFocus');
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
+
static { this.tagName = 'igc-tabs-component'; }
|
|
75
|
+
static { this.styles = [styles]; }
|
|
74
76
|
static register() {
|
|
75
77
|
registerComponent(IgcTabsComponent, IgcTabHeaderComponent, IgcTabPanelComponent, IgcContextMenuComponent, IgcButtonDMComponent, IgcIconDMComponent);
|
|
76
78
|
}
|
|
@@ -409,9 +411,6 @@ class IgcTabsComponent extends EventEmitterMixin(LitElement) {
|
|
|
409
411
|
`;
|
|
410
412
|
}
|
|
411
413
|
}
|
|
412
|
-
IgcTabsComponent.tagName = 'igc-tabs-component';
|
|
413
|
-
IgcTabsComponent.styles = [styles];
|
|
414
|
-
export default IgcTabsComponent;
|
|
415
414
|
__decorate([
|
|
416
415
|
state()
|
|
417
416
|
], IgcTabsComponent.prototype, "_hasHiddenTabs", void 0);
|