igniteui-webcomponents-layouts 5.3.0 → 5.4.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/bundles/igniteui-webcomponents-layouts.umd.js +11266 -8364
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ComboEditorBridge.js +8 -8
- package/esm2015/lib/ComboEditorView_combined.js +27 -26
- package/esm2015/lib/ListPanelScrollerKeyboardListener.js +1 -1
- package/esm2015/lib/ListPanelView_combined.js +595 -577
- package/esm2015/lib/NativeUILayoutFactory_combined.js +6734 -5325
- package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm2015/lib/PropertyEditorTreeTransformer.js +1 -1
- package/esm2015/lib/ToolActionFieldSelector.js +7 -0
- package/esm2015/lib/ToolActionFieldSelectorAggregation.js +40 -0
- package/esm2015/lib/ToolActionFieldSelectorAggregationsCollection.js +160 -0
- package/esm2015/lib/ToolActionFieldSelectorEventType.js +16 -0
- package/esm2015/lib/ToolActionFieldSelectorSelectedAggregation.js +40 -0
- package/esm2015/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +160 -0
- package/esm2015/lib/ToolActionFieldSelectorType.js +16 -0
- package/esm2015/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +26 -0
- package/esm2015/lib/ToolActionIconMenuVisualData.js +3 -3
- package/esm2015/lib/ToolActionVisualData.js +17 -13
- package/esm2015/lib/ToolPanelContext.js +4 -1
- package/esm2015/lib/igc-list-panel-component.js +64 -54
- package/esm2015/lib/igc-tool-action-button-component.js +6 -6
- package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
- package/esm2015/lib/igc-tool-action-component.js +191 -180
- package/esm2015/lib/igc-tool-action-field-selector-aggregation-module.js +15 -0
- package/esm2015/lib/igc-tool-action-field-selector-aggregation.js +58 -0
- package/esm2015/lib/igc-tool-action-field-selector-aggregations-collection.js +53 -0
- package/esm2015/lib/igc-tool-action-field-selector-component.js +261 -0
- package/esm2015/lib/igc-tool-action-field-selector-module.js +16 -0
- package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation-module.js +15 -0
- package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation.js +58 -0
- package/esm2015/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +53 -0
- package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -34
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
- package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
- package/esm2015/lib/igc-tool-action-sub-panel-component.js +10 -0
- package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm2015/lib/igc-tool-panel-component.js +275 -250
- package/esm2015/lib/igc-tool-panel-module.js +2 -0
- package/esm2015/lib/igc-toolbar-component.js +171 -156
- package/esm2015/public_api.js +16 -0
- package/esm5/lib/ComboEditorBridge.js +8 -8
- package/esm5/lib/ComboEditorView_combined.js +27 -26
- package/esm5/lib/ListPanelScrollerKeyboardListener.js +1 -1
- package/esm5/lib/ListPanelView_combined.js +592 -570
- package/esm5/lib/NativeUILayoutFactory_combined.js +6684 -5125
- package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm5/lib/PropertyEditorTreeTransformer.js +1 -1
- package/esm5/lib/ToolActionFieldSelector.js +7 -0
- package/esm5/lib/ToolActionFieldSelectorAggregation.js +54 -0
- package/esm5/lib/ToolActionFieldSelectorAggregationsCollection.js +220 -0
- package/esm5/lib/ToolActionFieldSelectorEventType.js +16 -0
- package/esm5/lib/ToolActionFieldSelectorSelectedAggregation.js +54 -0
- package/esm5/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +220 -0
- package/esm5/lib/ToolActionFieldSelectorType.js +16 -0
- package/esm5/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +28 -0
- package/esm5/lib/ToolActionIconMenuVisualData.js +3 -3
- package/esm5/lib/ToolActionVisualData.js +17 -13
- package/esm5/lib/ToolPanelContext.js +4 -1
- package/esm5/lib/igc-list-panel-component.js +68 -54
- package/esm5/lib/igc-tool-action-button-component.js +6 -6
- package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm5/lib/igc-tool-action-combo-component.js +8 -8
- package/esm5/lib/igc-tool-action-component.js +195 -180
- package/esm5/lib/igc-tool-action-field-selector-aggregation-module.js +19 -0
- package/esm5/lib/igc-tool-action-field-selector-aggregation.js +76 -0
- package/esm5/lib/igc-tool-action-field-selector-aggregations-collection.js +58 -0
- package/esm5/lib/igc-tool-action-field-selector-component.js +331 -0
- package/esm5/lib/igc-tool-action-field-selector-module.js +20 -0
- package/esm5/lib/igc-tool-action-field-selector-selected-aggregation-module.js +19 -0
- package/esm5/lib/igc-tool-action-field-selector-selected-aggregation.js +76 -0
- package/esm5/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +58 -0
- package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm5/lib/igc-tool-action-icon-button-component.js +34 -34
- package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm5/lib/igc-tool-action-radio-component.js +32 -32
- package/esm5/lib/igc-tool-action-separator-component.js +6 -6
- package/esm5/lib/igc-tool-action-sub-panel-component.js +14 -0
- package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm5/lib/igc-tool-panel-component.js +283 -250
- package/esm5/lib/igc-tool-panel-module.js +2 -0
- package/esm5/lib/igc-toolbar-component.js +175 -156
- package/esm5/public_api.js +16 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +10397 -7947
- package/fesm5/igniteui-webcomponents-layouts.js +11250 -8366
- package/lib/ListPanelView_combined.d.ts +147 -144
- package/lib/NativeUILayoutFactory_combined.d.ts +1393 -1262
- package/lib/ToolActionFieldSelector.d.ts +1 -0
- package/lib/ToolActionFieldSelectorAggregation.d.ts +17 -0
- package/lib/ToolActionFieldSelectorAggregationsCollection.d.ts +31 -0
- package/lib/ToolActionFieldSelectorEventType.d.ts +9 -0
- package/lib/ToolActionFieldSelectorSelectedAggregation.d.ts +17 -0
- package/lib/ToolActionFieldSelectorSelectedAggregationsCollection.d.ts +31 -0
- package/lib/ToolActionFieldSelectorType.d.ts +9 -0
- package/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.d.ts +16 -0
- package/lib/ToolActionIconMenuVisualData.d.ts +2 -2
- package/lib/ToolActionVisualData.d.ts +6 -5
- package/lib/igc-list-panel-component.d.ts +5 -0
- package/lib/igc-tool-action-component.d.ts +6 -0
- package/lib/igc-tool-action-field-selector-aggregation-module.d.ts +3 -0
- package/lib/igc-tool-action-field-selector-aggregation.d.ts +20 -0
- package/lib/igc-tool-action-field-selector-aggregations-collection.d.ts +8 -0
- package/lib/igc-tool-action-field-selector-component.d.ts +73 -0
- package/lib/igc-tool-action-field-selector-module.d.ts +3 -0
- package/lib/igc-tool-action-field-selector-selected-aggregation-module.d.ts +3 -0
- package/lib/igc-tool-action-field-selector-selected-aggregation.d.ts +20 -0
- package/lib/igc-tool-action-field-selector-selected-aggregations-collection.d.ts +8 -0
- package/lib/igc-tool-action-sub-panel-component.d.ts +5 -0
- package/lib/igc-tool-panel-component.d.ts +10 -0
- package/lib/igc-toolbar-component.d.ts +5 -0
- package/package.json +3 -3
- package/public_api.d.ts +16 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { IgcToolActionFieldSelectorAggregation } from './igc-tool-action-field-selector-aggregation';
|
|
8
|
+
import { ToolActionFieldSelectorAggregation } from './ToolActionFieldSelectorAggregation';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
export class IgcToolActionFieldSelectorAggregationModule {
|
|
11
|
+
static register() {
|
|
12
|
+
TypeRegistrar.registerCons("IgcToolActionFieldSelectorAggregation", IgcToolActionFieldSelectorAggregation);
|
|
13
|
+
TypeRegistrar.register("ToolActionFieldSelectorAggregation", ToolActionFieldSelectorAggregation.$type);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DataSourceSummaryOperand_$type } from "igniteui-webcomponents-core";
|
|
2
|
+
import { ToolActionFieldSelectorAggregation as ToolActionFieldSelectorAggregation_internal } from "./ToolActionFieldSelectorAggregation";
|
|
3
|
+
import { ensureEnum } from "igniteui-webcomponents-core";
|
|
4
|
+
export class IgcToolActionFieldSelectorAggregation {
|
|
5
|
+
createImplementation() {
|
|
6
|
+
return new ToolActionFieldSelectorAggregation_internal();
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
get i() {
|
|
12
|
+
return this._implementation;
|
|
13
|
+
}
|
|
14
|
+
onImplementationCreated() {
|
|
15
|
+
}
|
|
16
|
+
constructor() {
|
|
17
|
+
this._implementation = this.createImplementation();
|
|
18
|
+
this._implementation.externalObject = this;
|
|
19
|
+
this.onImplementationCreated();
|
|
20
|
+
if (this._initializeAdapters) {
|
|
21
|
+
this._initializeAdapters();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
_provideImplementation(i) {
|
|
25
|
+
this._implementation = i;
|
|
26
|
+
this._implementation.externalObject = this;
|
|
27
|
+
this.onImplementationCreated();
|
|
28
|
+
if (this._initializeAdapters) {
|
|
29
|
+
this._initializeAdapters();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
get label() {
|
|
33
|
+
return this.i.label;
|
|
34
|
+
}
|
|
35
|
+
set label(v) {
|
|
36
|
+
this.i.label = v;
|
|
37
|
+
}
|
|
38
|
+
get name() {
|
|
39
|
+
return this.i.name;
|
|
40
|
+
}
|
|
41
|
+
set name(v) {
|
|
42
|
+
this.i.name = v;
|
|
43
|
+
}
|
|
44
|
+
get operand() {
|
|
45
|
+
return this.i.operand;
|
|
46
|
+
}
|
|
47
|
+
set operand(v) {
|
|
48
|
+
this.i.operand = ensureEnum(DataSourceSummaryOperand_$type, v);
|
|
49
|
+
}
|
|
50
|
+
findByName(name) {
|
|
51
|
+
if (this.findEphemera) {
|
|
52
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
53
|
+
return this.findEphemera(name);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IgCollection } from "igniteui-webcomponents-core";
|
|
2
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
3
|
+
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
4
|
+
import { ToolActionFieldSelectorAggregation as ToolActionFieldSelectorAggregation_internal } from './ToolActionFieldSelectorAggregation';
|
|
5
|
+
import { IgcToolActionFieldSelectorAggregation as IgcToolActionFieldSelectorAggregation } from './igc-tool-action-field-selector-aggregation';
|
|
6
|
+
export class IgcToolActionFieldSelectorAggregationsCollection extends IgCollection {
|
|
7
|
+
constructor(list) {
|
|
8
|
+
super();
|
|
9
|
+
if (!IgcToolActionFieldSelectorAggregation.$type) {
|
|
10
|
+
IgcToolActionFieldSelectorAggregation.$type = markType(IgcToolActionFieldSelectorAggregation, "IgcToolActionFieldSelectorAggregation");
|
|
11
|
+
}
|
|
12
|
+
if (list) {
|
|
13
|
+
for (let i = 0; i < list.length; i++) {
|
|
14
|
+
this.add(list[i]);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
_createInnerColl() {
|
|
19
|
+
if (!IgcToolActionFieldSelectorAggregation.$type) {
|
|
20
|
+
IgcToolActionFieldSelectorAggregation.$type = markType(IgcToolActionFieldSelectorAggregation, "IgcToolActionFieldSelectorAggregation");
|
|
21
|
+
}
|
|
22
|
+
let coll = new SyncableObservableCollection$2(IgcToolActionFieldSelectorAggregation.$type, ToolActionFieldSelectorAggregation_internal.$type, 0);
|
|
23
|
+
coll.compare = (ext, int) => {
|
|
24
|
+
let comp = ext;
|
|
25
|
+
if (comp._implementation) {
|
|
26
|
+
comp = comp._implementation;
|
|
27
|
+
}
|
|
28
|
+
if (comp.equals) {
|
|
29
|
+
return comp.equals(int);
|
|
30
|
+
}
|
|
31
|
+
return comp === int;
|
|
32
|
+
};
|
|
33
|
+
coll.createTo = (ext) => {
|
|
34
|
+
return ext._implementation;
|
|
35
|
+
};
|
|
36
|
+
coll.createFrom = (int) => {
|
|
37
|
+
let ext = int.externalObject;
|
|
38
|
+
if (!ext) {
|
|
39
|
+
ext = new IgcToolActionFieldSelectorAggregation();
|
|
40
|
+
if (ext) {
|
|
41
|
+
if (!int.$type && ext._implementation.setNativeElement) {
|
|
42
|
+
ext._implementation.setNativeElement(int);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
ext._implementation = int;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return ext;
|
|
50
|
+
};
|
|
51
|
+
return coll;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { ToolActionFieldSelectorType_$type } from "./ToolActionFieldSelectorType";
|
|
2
|
+
import { IgcToolActionFieldSelectorAggregationsCollection } from "./igc-tool-action-field-selector-aggregations-collection";
|
|
3
|
+
import { IgcToolActionFieldSelectorSelectedAggregationsCollection } from "./igc-tool-action-field-selector-selected-aggregations-collection";
|
|
4
|
+
import { IgcToolActionComponent } from "./igc-tool-action-component";
|
|
5
|
+
import { ToolActionFieldSelector } from "./ToolActionFieldSelector";
|
|
6
|
+
import { getAllPropertyNames, toSpinal, ensureEnum, enumToString, ensureBool } from "igniteui-webcomponents-core";
|
|
7
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
8
|
+
import { ToolActionFieldSelectorAggregationsCollection as ToolActionFieldSelectorAggregationsCollection_internal } from "./ToolActionFieldSelectorAggregationsCollection";
|
|
9
|
+
import { ToolActionFieldSelectorAggregation } from "./ToolActionFieldSelectorAggregation";
|
|
10
|
+
import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
|
|
11
|
+
import { ToolActionFieldSelectorSelectedAggregationsCollection as ToolActionFieldSelectorSelectedAggregationsCollection_internal } from "./ToolActionFieldSelectorSelectedAggregationsCollection";
|
|
12
|
+
import { ToolActionFieldSelectorSelectedAggregation } from "./ToolActionFieldSelectorSelectedAggregation";
|
|
13
|
+
export let IgcToolActionFieldSelectorComponent = /*@__PURE__*/ (() => {
|
|
14
|
+
class IgcToolActionFieldSelectorComponent extends IgcToolActionComponent {
|
|
15
|
+
createImplementation() {
|
|
16
|
+
return new ToolActionFieldSelector();
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
get i() {
|
|
22
|
+
return this._implementation;
|
|
23
|
+
}
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
this._aggregations = null;
|
|
27
|
+
this._selectedAggregations = null;
|
|
28
|
+
}
|
|
29
|
+
connectedCallback() {
|
|
30
|
+
if (super["connectedCallback"]) {
|
|
31
|
+
super["connectedCallback"]();
|
|
32
|
+
}
|
|
33
|
+
if (this.i.connectedCallback) {
|
|
34
|
+
this.i.connectedCallback();
|
|
35
|
+
}
|
|
36
|
+
if (this.updateContentChildren) {
|
|
37
|
+
this.updateContentChildren();
|
|
38
|
+
}
|
|
39
|
+
else if (this._updateAdapters) {
|
|
40
|
+
this._updateAdapters();
|
|
41
|
+
}
|
|
42
|
+
if (!this._attached) {
|
|
43
|
+
this._attached = true;
|
|
44
|
+
this._flushQueuedAttributes();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
disconnectedCallback() {
|
|
48
|
+
if (super["disconnectedCallback"]) {
|
|
49
|
+
super["disconnectedCallback"]();
|
|
50
|
+
}
|
|
51
|
+
if (this.i.disconnectedCallback) {
|
|
52
|
+
this.i.disconnectedCallback();
|
|
53
|
+
}
|
|
54
|
+
if (this._attached) {
|
|
55
|
+
this._attached = false;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
static get observedAttributes() {
|
|
59
|
+
if (IgcToolActionFieldSelectorComponent._observedAttributesIgcToolActionFieldSelectorComponent == null) {
|
|
60
|
+
let names = getAllPropertyNames(IgcToolActionFieldSelectorComponent);
|
|
61
|
+
for (let i = 0; i < names.length; i++) {
|
|
62
|
+
names[i] = toSpinal(names[i]);
|
|
63
|
+
}
|
|
64
|
+
IgcToolActionFieldSelectorComponent._observedAttributesIgcToolActionFieldSelectorComponent = names;
|
|
65
|
+
}
|
|
66
|
+
return IgcToolActionFieldSelectorComponent._observedAttributesIgcToolActionFieldSelectorComponent;
|
|
67
|
+
}
|
|
68
|
+
static register() {
|
|
69
|
+
if (!IgcToolActionFieldSelectorComponent._isElementRegistered) {
|
|
70
|
+
IgcToolActionFieldSelectorComponent._isElementRegistered = true;
|
|
71
|
+
RegisterElementHelper.registerElement(IgcToolActionFieldSelectorComponent.htmlTagName, IgcToolActionFieldSelectorComponent);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Gets or sets if the tool action is checked.
|
|
76
|
+
*/
|
|
77
|
+
get dataSource() {
|
|
78
|
+
return this.i.ht;
|
|
79
|
+
}
|
|
80
|
+
set dataSource(v) {
|
|
81
|
+
this.i.ht = v;
|
|
82
|
+
}
|
|
83
|
+
get legendTarget() {
|
|
84
|
+
return this.i.ip;
|
|
85
|
+
}
|
|
86
|
+
set legendTarget(v) {
|
|
87
|
+
this.i.ip = v;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Gets or sets if the tool action is checked.
|
|
91
|
+
*/
|
|
92
|
+
get fieldType() {
|
|
93
|
+
return this.i.hx;
|
|
94
|
+
}
|
|
95
|
+
set fieldType(v) {
|
|
96
|
+
this.i.hx = ensureEnum(ToolActionFieldSelectorType_$type, v);
|
|
97
|
+
this._a("fieldType", enumToString(ToolActionFieldSelectorType_$type, this.i.hx));
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Gets or sets if the list only takes one selection at a time.
|
|
101
|
+
*/
|
|
102
|
+
get singleSelection() {
|
|
103
|
+
return this.i.h7;
|
|
104
|
+
}
|
|
105
|
+
set singleSelection(v) {
|
|
106
|
+
this.i.h7 = ensureBool(v);
|
|
107
|
+
this._a("singleSelection", this.i.h7);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Gets or sets a list of aggregations to use, if null a default list is used instead.
|
|
111
|
+
* If list provided has custom aggregations the data source is never updated.
|
|
112
|
+
*/
|
|
113
|
+
get aggregations() {
|
|
114
|
+
if (this._aggregations === null) {
|
|
115
|
+
let coll = new IgcToolActionFieldSelectorAggregationsCollection();
|
|
116
|
+
let innerColl = this.i.hu;
|
|
117
|
+
if (!innerColl) {
|
|
118
|
+
innerColl = new ToolActionFieldSelectorAggregationsCollection_internal();
|
|
119
|
+
}
|
|
120
|
+
this._aggregations = coll._fromInner(innerColl);
|
|
121
|
+
this.i.hu = innerColl;
|
|
122
|
+
}
|
|
123
|
+
return this._aggregations;
|
|
124
|
+
}
|
|
125
|
+
set aggregations(v) {
|
|
126
|
+
if (this._aggregations !== null) {
|
|
127
|
+
this._aggregations._setSyncTarget(null);
|
|
128
|
+
this._aggregations = null;
|
|
129
|
+
}
|
|
130
|
+
let coll = new IgcToolActionFieldSelectorAggregationsCollection();
|
|
131
|
+
this._aggregations = coll._fromOuter(v);
|
|
132
|
+
let syncColl = new SyncableObservableCollection$1(ToolActionFieldSelectorAggregation.$type);
|
|
133
|
+
let innerColl = this.i.hu;
|
|
134
|
+
if (!innerColl) {
|
|
135
|
+
innerColl = new ToolActionFieldSelectorAggregationsCollection_internal();
|
|
136
|
+
}
|
|
137
|
+
syncColl._inner = innerColl;
|
|
138
|
+
syncColl.clear();
|
|
139
|
+
this._aggregations._setSyncTarget(syncColl);
|
|
140
|
+
this.i.hu = innerColl;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Gets or sets if the data source has to be updated when changes are made.
|
|
144
|
+
*/
|
|
145
|
+
get updateDataSource() {
|
|
146
|
+
return this.i.h8;
|
|
147
|
+
}
|
|
148
|
+
set updateDataSource(v) {
|
|
149
|
+
this.i.h8 = ensureBool(v);
|
|
150
|
+
this._a("updateDataSource", this.i.h8);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Used to set default values when using custom aggregations, will be overriden otherwise
|
|
154
|
+
*/
|
|
155
|
+
get selectedAggregations() {
|
|
156
|
+
if (this._selectedAggregations === null) {
|
|
157
|
+
let coll = new IgcToolActionFieldSelectorSelectedAggregationsCollection();
|
|
158
|
+
let innerColl = this.i.hw;
|
|
159
|
+
if (!innerColl) {
|
|
160
|
+
innerColl = new ToolActionFieldSelectorSelectedAggregationsCollection_internal();
|
|
161
|
+
}
|
|
162
|
+
this._selectedAggregations = coll._fromInner(innerColl);
|
|
163
|
+
this.i.hw = innerColl;
|
|
164
|
+
}
|
|
165
|
+
return this._selectedAggregations;
|
|
166
|
+
}
|
|
167
|
+
set selectedAggregations(v) {
|
|
168
|
+
if (this._selectedAggregations !== null) {
|
|
169
|
+
this._selectedAggregations._setSyncTarget(null);
|
|
170
|
+
this._selectedAggregations = null;
|
|
171
|
+
}
|
|
172
|
+
let coll = new IgcToolActionFieldSelectorSelectedAggregationsCollection();
|
|
173
|
+
this._selectedAggregations = coll._fromOuter(v);
|
|
174
|
+
let syncColl = new SyncableObservableCollection$1(ToolActionFieldSelectorSelectedAggregation.$type);
|
|
175
|
+
let innerColl = this.i.hw;
|
|
176
|
+
if (!innerColl) {
|
|
177
|
+
innerColl = new ToolActionFieldSelectorSelectedAggregationsCollection_internal();
|
|
178
|
+
}
|
|
179
|
+
syncColl._inner = innerColl;
|
|
180
|
+
syncColl.clear();
|
|
181
|
+
this._selectedAggregations._setSyncTarget(syncColl);
|
|
182
|
+
this.i.hw = innerColl;
|
|
183
|
+
}
|
|
184
|
+
get paddingLeft() {
|
|
185
|
+
return this.i.ii;
|
|
186
|
+
}
|
|
187
|
+
set paddingLeft(v) {
|
|
188
|
+
this.i.ii = +v;
|
|
189
|
+
this._a("paddingLeft", this.i.ii);
|
|
190
|
+
}
|
|
191
|
+
get actualPaddingLeft() {
|
|
192
|
+
return this.i.id;
|
|
193
|
+
}
|
|
194
|
+
set actualPaddingLeft(v) {
|
|
195
|
+
this.i.id = +v;
|
|
196
|
+
this._a("actualPaddingLeft", this.i.id);
|
|
197
|
+
}
|
|
198
|
+
get paddingRight() {
|
|
199
|
+
return this.i.ij;
|
|
200
|
+
}
|
|
201
|
+
set paddingRight(v) {
|
|
202
|
+
this.i.ij = +v;
|
|
203
|
+
this._a("paddingRight", this.i.ij);
|
|
204
|
+
}
|
|
205
|
+
get actualPaddingRight() {
|
|
206
|
+
return this.i.ie;
|
|
207
|
+
}
|
|
208
|
+
set actualPaddingRight(v) {
|
|
209
|
+
this.i.ie = +v;
|
|
210
|
+
this._a("actualPaddingRight", this.i.ie);
|
|
211
|
+
}
|
|
212
|
+
get paddingBottom() {
|
|
213
|
+
return this.i.ih;
|
|
214
|
+
}
|
|
215
|
+
set paddingBottom(v) {
|
|
216
|
+
this.i.ih = +v;
|
|
217
|
+
this._a("paddingBottom", this.i.ih);
|
|
218
|
+
}
|
|
219
|
+
get actualPaddingBottom() {
|
|
220
|
+
return this.i.ic;
|
|
221
|
+
}
|
|
222
|
+
set actualPaddingBottom(v) {
|
|
223
|
+
this.i.ic = +v;
|
|
224
|
+
this._a("actualPaddingBottom", this.i.ic);
|
|
225
|
+
}
|
|
226
|
+
get paddingTop() {
|
|
227
|
+
return this.i.ik;
|
|
228
|
+
}
|
|
229
|
+
set paddingTop(v) {
|
|
230
|
+
this.i.ik = +v;
|
|
231
|
+
this._a("paddingTop", this.i.ik);
|
|
232
|
+
}
|
|
233
|
+
get actualPaddingTop() {
|
|
234
|
+
return this.i.ig;
|
|
235
|
+
}
|
|
236
|
+
set actualPaddingTop(v) {
|
|
237
|
+
this.i.ig = +v;
|
|
238
|
+
this._a("actualPaddingTop", this.i.ig);
|
|
239
|
+
}
|
|
240
|
+
findByName(name) {
|
|
241
|
+
var baseResult = super.findByName(name);
|
|
242
|
+
if (baseResult) {
|
|
243
|
+
return baseResult;
|
|
244
|
+
}
|
|
245
|
+
if (this.dataSource && this.dataSource.name && this.dataSource.name == name) {
|
|
246
|
+
return this.dataSource;
|
|
247
|
+
}
|
|
248
|
+
if (this.aggregations != null && this.aggregations.findByName && this.aggregations.findByName(name)) {
|
|
249
|
+
return this.aggregations.findByName(name);
|
|
250
|
+
}
|
|
251
|
+
if (this.selectedAggregations != null && this.selectedAggregations.findByName && this.selectedAggregations.findByName(name)) {
|
|
252
|
+
return this.selectedAggregations.findByName(name);
|
|
253
|
+
}
|
|
254
|
+
return null;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
IgcToolActionFieldSelectorComponent._observedAttributesIgcToolActionFieldSelectorComponent = null;
|
|
258
|
+
IgcToolActionFieldSelectorComponent.htmlTagName = "igc-tool-action-field-selector";
|
|
259
|
+
IgcToolActionFieldSelectorComponent._isElementRegistered = false;
|
|
260
|
+
return IgcToolActionFieldSelectorComponent;
|
|
261
|
+
})();
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { IgcToolActionFieldSelectorComponent } from './igc-tool-action-field-selector-component';
|
|
8
|
+
import { ToolActionFieldSelector } from './ToolActionFieldSelector';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
export class IgcToolActionFieldSelectorModule {
|
|
11
|
+
static register() {
|
|
12
|
+
IgcToolActionFieldSelectorComponent.register();
|
|
13
|
+
TypeRegistrar.registerCons("IgcToolActionFieldSelectorComponent", IgcToolActionFieldSelectorComponent);
|
|
14
|
+
TypeRegistrar.register("ToolActionFieldSelector", ToolActionFieldSelector.$type);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { IgcToolActionFieldSelectorSelectedAggregation } from './igc-tool-action-field-selector-selected-aggregation';
|
|
8
|
+
import { ToolActionFieldSelectorSelectedAggregation } from './ToolActionFieldSelectorSelectedAggregation';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
export class IgcToolActionFieldSelectorSelectedAggregationModule {
|
|
11
|
+
static register() {
|
|
12
|
+
TypeRegistrar.registerCons("IgcToolActionFieldSelectorSelectedAggregation", IgcToolActionFieldSelectorSelectedAggregation);
|
|
13
|
+
TypeRegistrar.register("ToolActionFieldSelectorSelectedAggregation", ToolActionFieldSelectorSelectedAggregation.$type);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DataSourceSummaryOperand_$type } from "igniteui-webcomponents-core";
|
|
2
|
+
import { ToolActionFieldSelectorSelectedAggregation as ToolActionFieldSelectorSelectedAggregation_internal } from "./ToolActionFieldSelectorSelectedAggregation";
|
|
3
|
+
import { ensureEnum } from "igniteui-webcomponents-core";
|
|
4
|
+
export class IgcToolActionFieldSelectorSelectedAggregation {
|
|
5
|
+
createImplementation() {
|
|
6
|
+
return new ToolActionFieldSelectorSelectedAggregation_internal();
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
get i() {
|
|
12
|
+
return this._implementation;
|
|
13
|
+
}
|
|
14
|
+
onImplementationCreated() {
|
|
15
|
+
}
|
|
16
|
+
constructor() {
|
|
17
|
+
this._implementation = this.createImplementation();
|
|
18
|
+
this._implementation.externalObject = this;
|
|
19
|
+
this.onImplementationCreated();
|
|
20
|
+
if (this._initializeAdapters) {
|
|
21
|
+
this._initializeAdapters();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
_provideImplementation(i) {
|
|
25
|
+
this._implementation = i;
|
|
26
|
+
this._implementation.externalObject = this;
|
|
27
|
+
this.onImplementationCreated();
|
|
28
|
+
if (this._initializeAdapters) {
|
|
29
|
+
this._initializeAdapters();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
get field() {
|
|
33
|
+
return this.i.field;
|
|
34
|
+
}
|
|
35
|
+
set field(v) {
|
|
36
|
+
this.i.field = v;
|
|
37
|
+
}
|
|
38
|
+
get aggregationOperand() {
|
|
39
|
+
return this.i.aggregationOperand;
|
|
40
|
+
}
|
|
41
|
+
set aggregationOperand(v) {
|
|
42
|
+
this.i.aggregationOperand = ensureEnum(DataSourceSummaryOperand_$type, v);
|
|
43
|
+
}
|
|
44
|
+
get aggregationName() {
|
|
45
|
+
return this.i.aggregationName;
|
|
46
|
+
}
|
|
47
|
+
set aggregationName(v) {
|
|
48
|
+
this.i.aggregationName = v;
|
|
49
|
+
}
|
|
50
|
+
findByName(name) {
|
|
51
|
+
if (this.findEphemera) {
|
|
52
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
53
|
+
return this.findEphemera(name);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IgCollection } from "igniteui-webcomponents-core";
|
|
2
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
3
|
+
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
4
|
+
import { ToolActionFieldSelectorSelectedAggregation as ToolActionFieldSelectorSelectedAggregation_internal } from './ToolActionFieldSelectorSelectedAggregation';
|
|
5
|
+
import { IgcToolActionFieldSelectorSelectedAggregation as IgcToolActionFieldSelectorSelectedAggregation } from './igc-tool-action-field-selector-selected-aggregation';
|
|
6
|
+
export class IgcToolActionFieldSelectorSelectedAggregationsCollection extends IgCollection {
|
|
7
|
+
constructor(list) {
|
|
8
|
+
super();
|
|
9
|
+
if (!IgcToolActionFieldSelectorSelectedAggregation.$type) {
|
|
10
|
+
IgcToolActionFieldSelectorSelectedAggregation.$type = markType(IgcToolActionFieldSelectorSelectedAggregation, "IgcToolActionFieldSelectorSelectedAggregation");
|
|
11
|
+
}
|
|
12
|
+
if (list) {
|
|
13
|
+
for (let i = 0; i < list.length; i++) {
|
|
14
|
+
this.add(list[i]);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
_createInnerColl() {
|
|
19
|
+
if (!IgcToolActionFieldSelectorSelectedAggregation.$type) {
|
|
20
|
+
IgcToolActionFieldSelectorSelectedAggregation.$type = markType(IgcToolActionFieldSelectorSelectedAggregation, "IgcToolActionFieldSelectorSelectedAggregation");
|
|
21
|
+
}
|
|
22
|
+
let coll = new SyncableObservableCollection$2(IgcToolActionFieldSelectorSelectedAggregation.$type, ToolActionFieldSelectorSelectedAggregation_internal.$type, 0);
|
|
23
|
+
coll.compare = (ext, int) => {
|
|
24
|
+
let comp = ext;
|
|
25
|
+
if (comp._implementation) {
|
|
26
|
+
comp = comp._implementation;
|
|
27
|
+
}
|
|
28
|
+
if (comp.equals) {
|
|
29
|
+
return comp.equals(int);
|
|
30
|
+
}
|
|
31
|
+
return comp === int;
|
|
32
|
+
};
|
|
33
|
+
coll.createTo = (ext) => {
|
|
34
|
+
return ext._implementation;
|
|
35
|
+
};
|
|
36
|
+
coll.createFrom = (int) => {
|
|
37
|
+
let ext = int.externalObject;
|
|
38
|
+
if (!ext) {
|
|
39
|
+
ext = new IgcToolActionFieldSelectorSelectedAggregation();
|
|
40
|
+
if (ext) {
|
|
41
|
+
if (!int.$type && ext._implementation.setNativeElement) {
|
|
42
|
+
ext._implementation.setNativeElement(int);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
ext._implementation = int;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return ext;
|
|
50
|
+
};
|
|
51
|
+
return coll;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -65,21 +65,21 @@ export let IgcToolActionGroupHeaderComponent = /*@__PURE__*/ (() => {
|
|
|
65
65
|
* Gets the actual back icon color.
|
|
66
66
|
*/
|
|
67
67
|
get actualBackIconColor() {
|
|
68
|
-
return brushToString(this.i.
|
|
68
|
+
return brushToString(this.i.hw);
|
|
69
69
|
}
|
|
70
70
|
set actualBackIconColor(v) {
|
|
71
|
-
this.i.
|
|
72
|
-
this._a("actualBackIconColor", brushToString(this.i.
|
|
71
|
+
this.i.hw = stringToBrush(v);
|
|
72
|
+
this._a("actualBackIconColor", brushToString(this.i.hw));
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* Gets or sets the icon color for the back button.
|
|
76
76
|
*/
|
|
77
77
|
get backIconColor() {
|
|
78
|
-
return brushToString(this.i.
|
|
78
|
+
return brushToString(this.i.hx);
|
|
79
79
|
}
|
|
80
80
|
set backIconColor(v) {
|
|
81
|
-
this.i.
|
|
82
|
-
this._a("backIconColor", brushToString(this.i.
|
|
81
|
+
this.i.hx = stringToBrush(v);
|
|
82
|
+
this._a("backIconColor", brushToString(this.i.hx));
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
IgcToolActionGroupHeaderComponent._observedAttributesIgcToolActionGroupHeaderComponent = null;
|