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.
Files changed (123) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +11266 -8364
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/ComboEditorBridge.js +8 -8
  4. package/esm2015/lib/ComboEditorView_combined.js +27 -26
  5. package/esm2015/lib/ListPanelScrollerKeyboardListener.js +1 -1
  6. package/esm2015/lib/ListPanelView_combined.js +595 -577
  7. package/esm2015/lib/NativeUILayoutFactory_combined.js +6734 -5325
  8. package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
  9. package/esm2015/lib/PropertyEditorTreeTransformer.js +1 -1
  10. package/esm2015/lib/ToolActionFieldSelector.js +7 -0
  11. package/esm2015/lib/ToolActionFieldSelectorAggregation.js +40 -0
  12. package/esm2015/lib/ToolActionFieldSelectorAggregationsCollection.js +160 -0
  13. package/esm2015/lib/ToolActionFieldSelectorEventType.js +16 -0
  14. package/esm2015/lib/ToolActionFieldSelectorSelectedAggregation.js +40 -0
  15. package/esm2015/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +160 -0
  16. package/esm2015/lib/ToolActionFieldSelectorType.js +16 -0
  17. package/esm2015/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +26 -0
  18. package/esm2015/lib/ToolActionIconMenuVisualData.js +3 -3
  19. package/esm2015/lib/ToolActionVisualData.js +17 -13
  20. package/esm2015/lib/ToolPanelContext.js +4 -1
  21. package/esm2015/lib/igc-list-panel-component.js +64 -54
  22. package/esm2015/lib/igc-tool-action-button-component.js +6 -6
  23. package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
  24. package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
  25. package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
  26. package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
  27. package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
  28. package/esm2015/lib/igc-tool-action-component.js +191 -180
  29. package/esm2015/lib/igc-tool-action-field-selector-aggregation-module.js +15 -0
  30. package/esm2015/lib/igc-tool-action-field-selector-aggregation.js +58 -0
  31. package/esm2015/lib/igc-tool-action-field-selector-aggregations-collection.js +53 -0
  32. package/esm2015/lib/igc-tool-action-field-selector-component.js +261 -0
  33. package/esm2015/lib/igc-tool-action-field-selector-module.js +16 -0
  34. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation-module.js +15 -0
  35. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation.js +58 -0
  36. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +53 -0
  37. package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
  38. package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -34
  39. package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
  40. package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
  41. package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
  42. package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
  43. package/esm2015/lib/igc-tool-action-sub-panel-component.js +10 -0
  44. package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
  45. package/esm2015/lib/igc-tool-panel-component.js +275 -250
  46. package/esm2015/lib/igc-tool-panel-module.js +2 -0
  47. package/esm2015/lib/igc-toolbar-component.js +171 -156
  48. package/esm2015/public_api.js +16 -0
  49. package/esm5/lib/ComboEditorBridge.js +8 -8
  50. package/esm5/lib/ComboEditorView_combined.js +27 -26
  51. package/esm5/lib/ListPanelScrollerKeyboardListener.js +1 -1
  52. package/esm5/lib/ListPanelView_combined.js +592 -570
  53. package/esm5/lib/NativeUILayoutFactory_combined.js +6684 -5125
  54. package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
  55. package/esm5/lib/PropertyEditorTreeTransformer.js +1 -1
  56. package/esm5/lib/ToolActionFieldSelector.js +7 -0
  57. package/esm5/lib/ToolActionFieldSelectorAggregation.js +54 -0
  58. package/esm5/lib/ToolActionFieldSelectorAggregationsCollection.js +220 -0
  59. package/esm5/lib/ToolActionFieldSelectorEventType.js +16 -0
  60. package/esm5/lib/ToolActionFieldSelectorSelectedAggregation.js +54 -0
  61. package/esm5/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +220 -0
  62. package/esm5/lib/ToolActionFieldSelectorType.js +16 -0
  63. package/esm5/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +28 -0
  64. package/esm5/lib/ToolActionIconMenuVisualData.js +3 -3
  65. package/esm5/lib/ToolActionVisualData.js +17 -13
  66. package/esm5/lib/ToolPanelContext.js +4 -1
  67. package/esm5/lib/igc-list-panel-component.js +68 -54
  68. package/esm5/lib/igc-tool-action-button-component.js +6 -6
  69. package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
  70. package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
  71. package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
  72. package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
  73. package/esm5/lib/igc-tool-action-combo-component.js +8 -8
  74. package/esm5/lib/igc-tool-action-component.js +195 -180
  75. package/esm5/lib/igc-tool-action-field-selector-aggregation-module.js +19 -0
  76. package/esm5/lib/igc-tool-action-field-selector-aggregation.js +76 -0
  77. package/esm5/lib/igc-tool-action-field-selector-aggregations-collection.js +58 -0
  78. package/esm5/lib/igc-tool-action-field-selector-component.js +331 -0
  79. package/esm5/lib/igc-tool-action-field-selector-module.js +20 -0
  80. package/esm5/lib/igc-tool-action-field-selector-selected-aggregation-module.js +19 -0
  81. package/esm5/lib/igc-tool-action-field-selector-selected-aggregation.js +76 -0
  82. package/esm5/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +58 -0
  83. package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
  84. package/esm5/lib/igc-tool-action-icon-button-component.js +34 -34
  85. package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
  86. package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
  87. package/esm5/lib/igc-tool-action-radio-component.js +32 -32
  88. package/esm5/lib/igc-tool-action-separator-component.js +6 -6
  89. package/esm5/lib/igc-tool-action-sub-panel-component.js +14 -0
  90. package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
  91. package/esm5/lib/igc-tool-panel-component.js +283 -250
  92. package/esm5/lib/igc-tool-panel-module.js +2 -0
  93. package/esm5/lib/igc-toolbar-component.js +175 -156
  94. package/esm5/public_api.js +16 -0
  95. package/fesm2015/igniteui-webcomponents-layouts.js +10397 -7947
  96. package/fesm5/igniteui-webcomponents-layouts.js +11250 -8366
  97. package/lib/ListPanelView_combined.d.ts +147 -144
  98. package/lib/NativeUILayoutFactory_combined.d.ts +1393 -1262
  99. package/lib/ToolActionFieldSelector.d.ts +1 -0
  100. package/lib/ToolActionFieldSelectorAggregation.d.ts +17 -0
  101. package/lib/ToolActionFieldSelectorAggregationsCollection.d.ts +31 -0
  102. package/lib/ToolActionFieldSelectorEventType.d.ts +9 -0
  103. package/lib/ToolActionFieldSelectorSelectedAggregation.d.ts +17 -0
  104. package/lib/ToolActionFieldSelectorSelectedAggregationsCollection.d.ts +31 -0
  105. package/lib/ToolActionFieldSelectorType.d.ts +9 -0
  106. package/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.d.ts +16 -0
  107. package/lib/ToolActionIconMenuVisualData.d.ts +2 -2
  108. package/lib/ToolActionVisualData.d.ts +6 -5
  109. package/lib/igc-list-panel-component.d.ts +5 -0
  110. package/lib/igc-tool-action-component.d.ts +6 -0
  111. package/lib/igc-tool-action-field-selector-aggregation-module.d.ts +3 -0
  112. package/lib/igc-tool-action-field-selector-aggregation.d.ts +20 -0
  113. package/lib/igc-tool-action-field-selector-aggregations-collection.d.ts +8 -0
  114. package/lib/igc-tool-action-field-selector-component.d.ts +73 -0
  115. package/lib/igc-tool-action-field-selector-module.d.ts +3 -0
  116. package/lib/igc-tool-action-field-selector-selected-aggregation-module.d.ts +3 -0
  117. package/lib/igc-tool-action-field-selector-selected-aggregation.d.ts +20 -0
  118. package/lib/igc-tool-action-field-selector-selected-aggregations-collection.d.ts +8 -0
  119. package/lib/igc-tool-action-sub-panel-component.d.ts +5 -0
  120. package/lib/igc-tool-panel-component.d.ts +10 -0
  121. package/lib/igc-toolbar-component.d.ts +5 -0
  122. package/package.json +3 -3
  123. package/public_api.d.ts +16 -0
@@ -0,0 +1,19 @@
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
+ var IgcToolActionFieldSelectorAggregationModule = /** @class */ /*@__PURE__*/ (function () {
11
+ function IgcToolActionFieldSelectorAggregationModule() {
12
+ }
13
+ IgcToolActionFieldSelectorAggregationModule.register = function () {
14
+ TypeRegistrar.registerCons("IgcToolActionFieldSelectorAggregation", IgcToolActionFieldSelectorAggregation);
15
+ TypeRegistrar.register("ToolActionFieldSelectorAggregation", ToolActionFieldSelectorAggregation.$type);
16
+ };
17
+ return IgcToolActionFieldSelectorAggregationModule;
18
+ }());
19
+ export { IgcToolActionFieldSelectorAggregationModule };
@@ -0,0 +1,76 @@
1
+ import { DataSourceSummaryOperand_$type } from "igniteui-webcomponents-core";
2
+ import { ToolActionFieldSelectorAggregation as ToolActionFieldSelectorAggregation_internal } from "./ToolActionFieldSelectorAggregation";
3
+ import { ensureEnum } from "igniteui-webcomponents-core";
4
+ var IgcToolActionFieldSelectorAggregation = /** @class */ /*@__PURE__*/ (function () {
5
+ function IgcToolActionFieldSelectorAggregation() {
6
+ this._implementation = this.createImplementation();
7
+ this._implementation.externalObject = this;
8
+ this.onImplementationCreated();
9
+ if (this._initializeAdapters) {
10
+ this._initializeAdapters();
11
+ }
12
+ }
13
+ IgcToolActionFieldSelectorAggregation.prototype.createImplementation = function () {
14
+ return new ToolActionFieldSelectorAggregation_internal();
15
+ };
16
+ Object.defineProperty(IgcToolActionFieldSelectorAggregation.prototype, "i", {
17
+ /**
18
+ * @hidden
19
+ */
20
+ get: function () {
21
+ return this._implementation;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ IgcToolActionFieldSelectorAggregation.prototype.onImplementationCreated = function () {
27
+ };
28
+ IgcToolActionFieldSelectorAggregation.prototype._provideImplementation = function (i) {
29
+ this._implementation = i;
30
+ this._implementation.externalObject = this;
31
+ this.onImplementationCreated();
32
+ if (this._initializeAdapters) {
33
+ this._initializeAdapters();
34
+ }
35
+ };
36
+ Object.defineProperty(IgcToolActionFieldSelectorAggregation.prototype, "label", {
37
+ get: function () {
38
+ return this.i.label;
39
+ },
40
+ set: function (v) {
41
+ this.i.label = v;
42
+ },
43
+ enumerable: false,
44
+ configurable: true
45
+ });
46
+ Object.defineProperty(IgcToolActionFieldSelectorAggregation.prototype, "name", {
47
+ get: function () {
48
+ return this.i.name;
49
+ },
50
+ set: function (v) {
51
+ this.i.name = v;
52
+ },
53
+ enumerable: false,
54
+ configurable: true
55
+ });
56
+ Object.defineProperty(IgcToolActionFieldSelectorAggregation.prototype, "operand", {
57
+ get: function () {
58
+ return this.i.operand;
59
+ },
60
+ set: function (v) {
61
+ this.i.operand = ensureEnum(DataSourceSummaryOperand_$type, v);
62
+ },
63
+ enumerable: false,
64
+ configurable: true
65
+ });
66
+ IgcToolActionFieldSelectorAggregation.prototype.findByName = function (name) {
67
+ if (this.findEphemera) {
68
+ if (name && name.indexOf("@@e:") == 0) {
69
+ return this.findEphemera(name);
70
+ }
71
+ }
72
+ return null;
73
+ };
74
+ return IgcToolActionFieldSelectorAggregation;
75
+ }());
76
+ export { IgcToolActionFieldSelectorAggregation };
@@ -0,0 +1,58 @@
1
+ import { __extends } from "tslib";
2
+ import { IgCollection } from "igniteui-webcomponents-core";
3
+ import { markType } from "igniteui-webcomponents-core";
4
+ import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
5
+ import { ToolActionFieldSelectorAggregation as ToolActionFieldSelectorAggregation_internal } from './ToolActionFieldSelectorAggregation';
6
+ import { IgcToolActionFieldSelectorAggregation as IgcToolActionFieldSelectorAggregation } from './igc-tool-action-field-selector-aggregation';
7
+ var IgcToolActionFieldSelectorAggregationsCollection = /** @class */ /*@__PURE__*/ (function (_super) {
8
+ __extends(IgcToolActionFieldSelectorAggregationsCollection, _super);
9
+ function IgcToolActionFieldSelectorAggregationsCollection(list) {
10
+ var _this = _super.call(this) || this;
11
+ if (!IgcToolActionFieldSelectorAggregation.$type) {
12
+ IgcToolActionFieldSelectorAggregation.$type = markType(IgcToolActionFieldSelectorAggregation, "IgcToolActionFieldSelectorAggregation");
13
+ }
14
+ if (list) {
15
+ for (var i = 0; i < list.length; i++) {
16
+ _this.add(list[i]);
17
+ }
18
+ }
19
+ return _this;
20
+ }
21
+ IgcToolActionFieldSelectorAggregationsCollection.prototype._createInnerColl = function () {
22
+ if (!IgcToolActionFieldSelectorAggregation.$type) {
23
+ IgcToolActionFieldSelectorAggregation.$type = markType(IgcToolActionFieldSelectorAggregation, "IgcToolActionFieldSelectorAggregation");
24
+ }
25
+ var coll = new SyncableObservableCollection$2(IgcToolActionFieldSelectorAggregation.$type, ToolActionFieldSelectorAggregation_internal.$type, 0);
26
+ coll.compare = function (ext, int) {
27
+ var comp = ext;
28
+ if (comp._implementation) {
29
+ comp = comp._implementation;
30
+ }
31
+ if (comp.equals) {
32
+ return comp.equals(int);
33
+ }
34
+ return comp === int;
35
+ };
36
+ coll.createTo = function (ext) {
37
+ return ext._implementation;
38
+ };
39
+ coll.createFrom = function (int) {
40
+ var ext = int.externalObject;
41
+ if (!ext) {
42
+ ext = new IgcToolActionFieldSelectorAggregation();
43
+ if (ext) {
44
+ if (!int.$type && ext._implementation.setNativeElement) {
45
+ ext._implementation.setNativeElement(int);
46
+ }
47
+ else {
48
+ ext._implementation = int;
49
+ }
50
+ }
51
+ }
52
+ return ext;
53
+ };
54
+ return coll;
55
+ };
56
+ return IgcToolActionFieldSelectorAggregationsCollection;
57
+ }(IgCollection));
58
+ export { IgcToolActionFieldSelectorAggregationsCollection };
@@ -0,0 +1,331 @@
1
+ import { __extends } from "tslib";
2
+ import { ToolActionFieldSelectorType_$type } from "./ToolActionFieldSelectorType";
3
+ import { IgcToolActionFieldSelectorAggregationsCollection } from "./igc-tool-action-field-selector-aggregations-collection";
4
+ import { IgcToolActionFieldSelectorSelectedAggregationsCollection } from "./igc-tool-action-field-selector-selected-aggregations-collection";
5
+ import { IgcToolActionComponent } from "./igc-tool-action-component";
6
+ import { ToolActionFieldSelector } from "./ToolActionFieldSelector";
7
+ import { getAllPropertyNames, toSpinal, ensureEnum, enumToString, ensureBool } from "igniteui-webcomponents-core";
8
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
9
+ import { ToolActionFieldSelectorAggregationsCollection as ToolActionFieldSelectorAggregationsCollection_internal } from "./ToolActionFieldSelectorAggregationsCollection";
10
+ import { ToolActionFieldSelectorAggregation } from "./ToolActionFieldSelectorAggregation";
11
+ import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
12
+ import { ToolActionFieldSelectorSelectedAggregationsCollection as ToolActionFieldSelectorSelectedAggregationsCollection_internal } from "./ToolActionFieldSelectorSelectedAggregationsCollection";
13
+ import { ToolActionFieldSelectorSelectedAggregation } from "./ToolActionFieldSelectorSelectedAggregation";
14
+ var IgcToolActionFieldSelectorComponent = /** @class */ /*@__PURE__*/ (function (_super) {
15
+ __extends(IgcToolActionFieldSelectorComponent, _super);
16
+ function IgcToolActionFieldSelectorComponent() {
17
+ var _this = _super.call(this) || this;
18
+ _this._aggregations = null;
19
+ _this._selectedAggregations = null;
20
+ return _this;
21
+ }
22
+ IgcToolActionFieldSelectorComponent.prototype.createImplementation = function () {
23
+ return new ToolActionFieldSelector();
24
+ };
25
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "i", {
26
+ /**
27
+ * @hidden
28
+ */
29
+ get: function () {
30
+ return this._implementation;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ IgcToolActionFieldSelectorComponent.prototype.connectedCallback = function () {
36
+ if (_super.prototype["connectedCallback"]) {
37
+ _super.prototype["connectedCallback"].call(this);
38
+ }
39
+ if (this.i.connectedCallback) {
40
+ this.i.connectedCallback();
41
+ }
42
+ if (this.updateContentChildren) {
43
+ this.updateContentChildren();
44
+ }
45
+ else if (this._updateAdapters) {
46
+ this._updateAdapters();
47
+ }
48
+ if (!this._attached) {
49
+ this._attached = true;
50
+ this._flushQueuedAttributes();
51
+ }
52
+ };
53
+ IgcToolActionFieldSelectorComponent.prototype.disconnectedCallback = function () {
54
+ if (_super.prototype["disconnectedCallback"]) {
55
+ _super.prototype["disconnectedCallback"].call(this);
56
+ }
57
+ if (this.i.disconnectedCallback) {
58
+ this.i.disconnectedCallback();
59
+ }
60
+ if (this._attached) {
61
+ this._attached = false;
62
+ }
63
+ };
64
+ Object.defineProperty(IgcToolActionFieldSelectorComponent, "observedAttributes", {
65
+ get: function () {
66
+ if (IgcToolActionFieldSelectorComponent._observedAttributesIgcToolActionFieldSelectorComponent == null) {
67
+ var names = getAllPropertyNames(IgcToolActionFieldSelectorComponent);
68
+ for (var i = 0; i < names.length; i++) {
69
+ names[i] = toSpinal(names[i]);
70
+ }
71
+ IgcToolActionFieldSelectorComponent._observedAttributesIgcToolActionFieldSelectorComponent = names;
72
+ }
73
+ return IgcToolActionFieldSelectorComponent._observedAttributesIgcToolActionFieldSelectorComponent;
74
+ },
75
+ enumerable: false,
76
+ configurable: true
77
+ });
78
+ IgcToolActionFieldSelectorComponent.register = function () {
79
+ if (!IgcToolActionFieldSelectorComponent._isElementRegistered) {
80
+ IgcToolActionFieldSelectorComponent._isElementRegistered = true;
81
+ RegisterElementHelper.registerElement(IgcToolActionFieldSelectorComponent.htmlTagName, IgcToolActionFieldSelectorComponent);
82
+ }
83
+ };
84
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "dataSource", {
85
+ /**
86
+ * Gets or sets if the tool action is checked.
87
+ */
88
+ get: function () {
89
+ return this.i.ht;
90
+ },
91
+ set: function (v) {
92
+ this.i.ht = v;
93
+ },
94
+ enumerable: false,
95
+ configurable: true
96
+ });
97
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "legendTarget", {
98
+ get: function () {
99
+ return this.i.ip;
100
+ },
101
+ set: function (v) {
102
+ this.i.ip = v;
103
+ },
104
+ enumerable: false,
105
+ configurable: true
106
+ });
107
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "fieldType", {
108
+ /**
109
+ * Gets or sets if the tool action is checked.
110
+ */
111
+ get: function () {
112
+ return this.i.hx;
113
+ },
114
+ set: function (v) {
115
+ this.i.hx = ensureEnum(ToolActionFieldSelectorType_$type, v);
116
+ this._a("fieldType", enumToString(ToolActionFieldSelectorType_$type, this.i.hx));
117
+ },
118
+ enumerable: false,
119
+ configurable: true
120
+ });
121
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "singleSelection", {
122
+ /**
123
+ * Gets or sets if the list only takes one selection at a time.
124
+ */
125
+ get: function () {
126
+ return this.i.h7;
127
+ },
128
+ set: function (v) {
129
+ this.i.h7 = ensureBool(v);
130
+ this._a("singleSelection", this.i.h7);
131
+ },
132
+ enumerable: false,
133
+ configurable: true
134
+ });
135
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "aggregations", {
136
+ /**
137
+ * Gets or sets a list of aggregations to use, if null a default list is used instead.
138
+ * If list provided has custom aggregations the data source is never updated.
139
+ */
140
+ get: function () {
141
+ if (this._aggregations === null) {
142
+ var coll = new IgcToolActionFieldSelectorAggregationsCollection();
143
+ var innerColl = this.i.hu;
144
+ if (!innerColl) {
145
+ innerColl = new ToolActionFieldSelectorAggregationsCollection_internal();
146
+ }
147
+ this._aggregations = coll._fromInner(innerColl);
148
+ this.i.hu = innerColl;
149
+ }
150
+ return this._aggregations;
151
+ },
152
+ set: function (v) {
153
+ if (this._aggregations !== null) {
154
+ this._aggregations._setSyncTarget(null);
155
+ this._aggregations = null;
156
+ }
157
+ var coll = new IgcToolActionFieldSelectorAggregationsCollection();
158
+ this._aggregations = coll._fromOuter(v);
159
+ var syncColl = new SyncableObservableCollection$1(ToolActionFieldSelectorAggregation.$type);
160
+ var innerColl = this.i.hu;
161
+ if (!innerColl) {
162
+ innerColl = new ToolActionFieldSelectorAggregationsCollection_internal();
163
+ }
164
+ syncColl._inner = innerColl;
165
+ syncColl.clear();
166
+ this._aggregations._setSyncTarget(syncColl);
167
+ this.i.hu = innerColl;
168
+ },
169
+ enumerable: false,
170
+ configurable: true
171
+ });
172
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "updateDataSource", {
173
+ /**
174
+ * Gets or sets if the data source has to be updated when changes are made.
175
+ */
176
+ get: function () {
177
+ return this.i.h8;
178
+ },
179
+ set: function (v) {
180
+ this.i.h8 = ensureBool(v);
181
+ this._a("updateDataSource", this.i.h8);
182
+ },
183
+ enumerable: false,
184
+ configurable: true
185
+ });
186
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "selectedAggregations", {
187
+ /**
188
+ * Used to set default values when using custom aggregations, will be overriden otherwise
189
+ */
190
+ get: function () {
191
+ if (this._selectedAggregations === null) {
192
+ var coll = new IgcToolActionFieldSelectorSelectedAggregationsCollection();
193
+ var innerColl = this.i.hw;
194
+ if (!innerColl) {
195
+ innerColl = new ToolActionFieldSelectorSelectedAggregationsCollection_internal();
196
+ }
197
+ this._selectedAggregations = coll._fromInner(innerColl);
198
+ this.i.hw = innerColl;
199
+ }
200
+ return this._selectedAggregations;
201
+ },
202
+ set: function (v) {
203
+ if (this._selectedAggregations !== null) {
204
+ this._selectedAggregations._setSyncTarget(null);
205
+ this._selectedAggregations = null;
206
+ }
207
+ var coll = new IgcToolActionFieldSelectorSelectedAggregationsCollection();
208
+ this._selectedAggregations = coll._fromOuter(v);
209
+ var syncColl = new SyncableObservableCollection$1(ToolActionFieldSelectorSelectedAggregation.$type);
210
+ var innerColl = this.i.hw;
211
+ if (!innerColl) {
212
+ innerColl = new ToolActionFieldSelectorSelectedAggregationsCollection_internal();
213
+ }
214
+ syncColl._inner = innerColl;
215
+ syncColl.clear();
216
+ this._selectedAggregations._setSyncTarget(syncColl);
217
+ this.i.hw = innerColl;
218
+ },
219
+ enumerable: false,
220
+ configurable: true
221
+ });
222
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "paddingLeft", {
223
+ get: function () {
224
+ return this.i.ii;
225
+ },
226
+ set: function (v) {
227
+ this.i.ii = +v;
228
+ this._a("paddingLeft", this.i.ii);
229
+ },
230
+ enumerable: false,
231
+ configurable: true
232
+ });
233
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "actualPaddingLeft", {
234
+ get: function () {
235
+ return this.i.id;
236
+ },
237
+ set: function (v) {
238
+ this.i.id = +v;
239
+ this._a("actualPaddingLeft", this.i.id);
240
+ },
241
+ enumerable: false,
242
+ configurable: true
243
+ });
244
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "paddingRight", {
245
+ get: function () {
246
+ return this.i.ij;
247
+ },
248
+ set: function (v) {
249
+ this.i.ij = +v;
250
+ this._a("paddingRight", this.i.ij);
251
+ },
252
+ enumerable: false,
253
+ configurable: true
254
+ });
255
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "actualPaddingRight", {
256
+ get: function () {
257
+ return this.i.ie;
258
+ },
259
+ set: function (v) {
260
+ this.i.ie = +v;
261
+ this._a("actualPaddingRight", this.i.ie);
262
+ },
263
+ enumerable: false,
264
+ configurable: true
265
+ });
266
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "paddingBottom", {
267
+ get: function () {
268
+ return this.i.ih;
269
+ },
270
+ set: function (v) {
271
+ this.i.ih = +v;
272
+ this._a("paddingBottom", this.i.ih);
273
+ },
274
+ enumerable: false,
275
+ configurable: true
276
+ });
277
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "actualPaddingBottom", {
278
+ get: function () {
279
+ return this.i.ic;
280
+ },
281
+ set: function (v) {
282
+ this.i.ic = +v;
283
+ this._a("actualPaddingBottom", this.i.ic);
284
+ },
285
+ enumerable: false,
286
+ configurable: true
287
+ });
288
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "paddingTop", {
289
+ get: function () {
290
+ return this.i.ik;
291
+ },
292
+ set: function (v) {
293
+ this.i.ik = +v;
294
+ this._a("paddingTop", this.i.ik);
295
+ },
296
+ enumerable: false,
297
+ configurable: true
298
+ });
299
+ Object.defineProperty(IgcToolActionFieldSelectorComponent.prototype, "actualPaddingTop", {
300
+ get: function () {
301
+ return this.i.ig;
302
+ },
303
+ set: function (v) {
304
+ this.i.ig = +v;
305
+ this._a("actualPaddingTop", this.i.ig);
306
+ },
307
+ enumerable: false,
308
+ configurable: true
309
+ });
310
+ IgcToolActionFieldSelectorComponent.prototype.findByName = function (name) {
311
+ var baseResult = _super.prototype.findByName.call(this, name);
312
+ if (baseResult) {
313
+ return baseResult;
314
+ }
315
+ if (this.dataSource && this.dataSource.name && this.dataSource.name == name) {
316
+ return this.dataSource;
317
+ }
318
+ if (this.aggregations != null && this.aggregations.findByName && this.aggregations.findByName(name)) {
319
+ return this.aggregations.findByName(name);
320
+ }
321
+ if (this.selectedAggregations != null && this.selectedAggregations.findByName && this.selectedAggregations.findByName(name)) {
322
+ return this.selectedAggregations.findByName(name);
323
+ }
324
+ return null;
325
+ };
326
+ IgcToolActionFieldSelectorComponent._observedAttributesIgcToolActionFieldSelectorComponent = null;
327
+ IgcToolActionFieldSelectorComponent.htmlTagName = "igc-tool-action-field-selector";
328
+ IgcToolActionFieldSelectorComponent._isElementRegistered = false;
329
+ return IgcToolActionFieldSelectorComponent;
330
+ }(IgcToolActionComponent));
331
+ export { IgcToolActionFieldSelectorComponent };
@@ -0,0 +1,20 @@
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
+ var IgcToolActionFieldSelectorModule = /** @class */ /*@__PURE__*/ (function () {
11
+ function IgcToolActionFieldSelectorModule() {
12
+ }
13
+ IgcToolActionFieldSelectorModule.register = function () {
14
+ IgcToolActionFieldSelectorComponent.register();
15
+ TypeRegistrar.registerCons("IgcToolActionFieldSelectorComponent", IgcToolActionFieldSelectorComponent);
16
+ TypeRegistrar.register("ToolActionFieldSelector", ToolActionFieldSelector.$type);
17
+ };
18
+ return IgcToolActionFieldSelectorModule;
19
+ }());
20
+ export { IgcToolActionFieldSelectorModule };
@@ -0,0 +1,19 @@
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
+ var IgcToolActionFieldSelectorSelectedAggregationModule = /** @class */ /*@__PURE__*/ (function () {
11
+ function IgcToolActionFieldSelectorSelectedAggregationModule() {
12
+ }
13
+ IgcToolActionFieldSelectorSelectedAggregationModule.register = function () {
14
+ TypeRegistrar.registerCons("IgcToolActionFieldSelectorSelectedAggregation", IgcToolActionFieldSelectorSelectedAggregation);
15
+ TypeRegistrar.register("ToolActionFieldSelectorSelectedAggregation", ToolActionFieldSelectorSelectedAggregation.$type);
16
+ };
17
+ return IgcToolActionFieldSelectorSelectedAggregationModule;
18
+ }());
19
+ export { IgcToolActionFieldSelectorSelectedAggregationModule };
@@ -0,0 +1,76 @@
1
+ import { DataSourceSummaryOperand_$type } from "igniteui-webcomponents-core";
2
+ import { ToolActionFieldSelectorSelectedAggregation as ToolActionFieldSelectorSelectedAggregation_internal } from "./ToolActionFieldSelectorSelectedAggregation";
3
+ import { ensureEnum } from "igniteui-webcomponents-core";
4
+ var IgcToolActionFieldSelectorSelectedAggregation = /** @class */ /*@__PURE__*/ (function () {
5
+ function IgcToolActionFieldSelectorSelectedAggregation() {
6
+ this._implementation = this.createImplementation();
7
+ this._implementation.externalObject = this;
8
+ this.onImplementationCreated();
9
+ if (this._initializeAdapters) {
10
+ this._initializeAdapters();
11
+ }
12
+ }
13
+ IgcToolActionFieldSelectorSelectedAggregation.prototype.createImplementation = function () {
14
+ return new ToolActionFieldSelectorSelectedAggregation_internal();
15
+ };
16
+ Object.defineProperty(IgcToolActionFieldSelectorSelectedAggregation.prototype, "i", {
17
+ /**
18
+ * @hidden
19
+ */
20
+ get: function () {
21
+ return this._implementation;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ IgcToolActionFieldSelectorSelectedAggregation.prototype.onImplementationCreated = function () {
27
+ };
28
+ IgcToolActionFieldSelectorSelectedAggregation.prototype._provideImplementation = function (i) {
29
+ this._implementation = i;
30
+ this._implementation.externalObject = this;
31
+ this.onImplementationCreated();
32
+ if (this._initializeAdapters) {
33
+ this._initializeAdapters();
34
+ }
35
+ };
36
+ Object.defineProperty(IgcToolActionFieldSelectorSelectedAggregation.prototype, "field", {
37
+ get: function () {
38
+ return this.i.field;
39
+ },
40
+ set: function (v) {
41
+ this.i.field = v;
42
+ },
43
+ enumerable: false,
44
+ configurable: true
45
+ });
46
+ Object.defineProperty(IgcToolActionFieldSelectorSelectedAggregation.prototype, "aggregationOperand", {
47
+ get: function () {
48
+ return this.i.aggregationOperand;
49
+ },
50
+ set: function (v) {
51
+ this.i.aggregationOperand = ensureEnum(DataSourceSummaryOperand_$type, v);
52
+ },
53
+ enumerable: false,
54
+ configurable: true
55
+ });
56
+ Object.defineProperty(IgcToolActionFieldSelectorSelectedAggregation.prototype, "aggregationName", {
57
+ get: function () {
58
+ return this.i.aggregationName;
59
+ },
60
+ set: function (v) {
61
+ this.i.aggregationName = v;
62
+ },
63
+ enumerable: false,
64
+ configurable: true
65
+ });
66
+ IgcToolActionFieldSelectorSelectedAggregation.prototype.findByName = function (name) {
67
+ if (this.findEphemera) {
68
+ if (name && name.indexOf("@@e:") == 0) {
69
+ return this.findEphemera(name);
70
+ }
71
+ }
72
+ return null;
73
+ };
74
+ return IgcToolActionFieldSelectorSelectedAggregation;
75
+ }());
76
+ export { IgcToolActionFieldSelectorSelectedAggregation };
@@ -0,0 +1,58 @@
1
+ import { __extends } from "tslib";
2
+ import { IgCollection } from "igniteui-webcomponents-core";
3
+ import { markType } from "igniteui-webcomponents-core";
4
+ import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
5
+ import { ToolActionFieldSelectorSelectedAggregation as ToolActionFieldSelectorSelectedAggregation_internal } from './ToolActionFieldSelectorSelectedAggregation';
6
+ import { IgcToolActionFieldSelectorSelectedAggregation as IgcToolActionFieldSelectorSelectedAggregation } from './igc-tool-action-field-selector-selected-aggregation';
7
+ var IgcToolActionFieldSelectorSelectedAggregationsCollection = /** @class */ /*@__PURE__*/ (function (_super) {
8
+ __extends(IgcToolActionFieldSelectorSelectedAggregationsCollection, _super);
9
+ function IgcToolActionFieldSelectorSelectedAggregationsCollection(list) {
10
+ var _this = _super.call(this) || this;
11
+ if (!IgcToolActionFieldSelectorSelectedAggregation.$type) {
12
+ IgcToolActionFieldSelectorSelectedAggregation.$type = markType(IgcToolActionFieldSelectorSelectedAggregation, "IgcToolActionFieldSelectorSelectedAggregation");
13
+ }
14
+ if (list) {
15
+ for (var i = 0; i < list.length; i++) {
16
+ _this.add(list[i]);
17
+ }
18
+ }
19
+ return _this;
20
+ }
21
+ IgcToolActionFieldSelectorSelectedAggregationsCollection.prototype._createInnerColl = function () {
22
+ if (!IgcToolActionFieldSelectorSelectedAggregation.$type) {
23
+ IgcToolActionFieldSelectorSelectedAggregation.$type = markType(IgcToolActionFieldSelectorSelectedAggregation, "IgcToolActionFieldSelectorSelectedAggregation");
24
+ }
25
+ var coll = new SyncableObservableCollection$2(IgcToolActionFieldSelectorSelectedAggregation.$type, ToolActionFieldSelectorSelectedAggregation_internal.$type, 0);
26
+ coll.compare = function (ext, int) {
27
+ var comp = ext;
28
+ if (comp._implementation) {
29
+ comp = comp._implementation;
30
+ }
31
+ if (comp.equals) {
32
+ return comp.equals(int);
33
+ }
34
+ return comp === int;
35
+ };
36
+ coll.createTo = function (ext) {
37
+ return ext._implementation;
38
+ };
39
+ coll.createFrom = function (int) {
40
+ var ext = int.externalObject;
41
+ if (!ext) {
42
+ ext = new IgcToolActionFieldSelectorSelectedAggregation();
43
+ if (ext) {
44
+ if (!int.$type && ext._implementation.setNativeElement) {
45
+ ext._implementation.setNativeElement(int);
46
+ }
47
+ else {
48
+ ext._implementation = int;
49
+ }
50
+ }
51
+ }
52
+ return ext;
53
+ };
54
+ return coll;
55
+ };
56
+ return IgcToolActionFieldSelectorSelectedAggregationsCollection;
57
+ }(IgCollection));
58
+ export { IgcToolActionFieldSelectorSelectedAggregationsCollection };