igniteui-webcomponents-layouts 3.2.3 → 3.2.4

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 (242) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +6905 -138
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/IExternalListPanel.js +11 -0
  4. package/esm2015/lib/IExternalToolPanel.js +11 -0
  5. package/esm2015/lib/IExternalToolbar.js +11 -0
  6. package/esm2015/lib/IListPanelView.js +11 -0
  7. package/esm2015/lib/IPropertyEditorPanelView.js +11 -0
  8. package/esm2015/lib/IToolPanelView.js +11 -0
  9. package/esm2015/lib/IToolbarView.js +11 -0
  10. package/esm2015/lib/ListPanel.js +7 -0
  11. package/esm2015/lib/ListPanelContentRefreshedEventArgs.js +19 -0
  12. package/esm2015/lib/ListPanelDataBindingEventArgs.js +22 -0
  13. package/esm2015/lib/ListPanelDataSourceNotificationBridge.js +7 -0
  14. package/esm2015/lib/ListPanelItemModel.js +62 -0
  15. package/esm2015/lib/ListPanelItemPresenter.js +20 -0
  16. package/esm2015/lib/ListPanelLayoutPanel.js +7 -0
  17. package/esm2015/lib/ListPanelOrientation.js +16 -0
  18. package/esm2015/lib/ListPanelTemplateHeightRequestedEventArgs.js +22 -0
  19. package/esm2015/lib/ListPanelTemplateItemUpdatingEventArgs.js +22 -0
  20. package/esm2015/lib/ListPanelTemplateWidthRequestedEventArgs.js +22 -0
  21. package/esm2015/lib/ListPanelView.js +7 -0
  22. package/esm2015/lib/ListPanelView_combined.js +972 -0
  23. package/esm2015/lib/PropertyEditorPanelView_combined.js +100 -100
  24. package/esm2015/lib/ToolAction.js +7 -0
  25. package/esm2015/lib/ToolActionCheckbox.js +7 -0
  26. package/esm2015/lib/ToolActionCollection.js +7 -0
  27. package/esm2015/lib/ToolActionEventDetail.js +7 -0
  28. package/esm2015/lib/ToolActionEventDetailCollection.js +7 -0
  29. package/esm2015/lib/ToolActionGroupHeader.js +7 -0
  30. package/esm2015/lib/ToolActionIconButton.js +7 -0
  31. package/esm2015/lib/ToolActionIconMenu.js +7 -0
  32. package/esm2015/lib/ToolActionMeasurementContext.js +31 -0
  33. package/esm2015/lib/ToolActionMenuBase.js +7 -0
  34. package/esm2015/lib/ToolActionNumberInput.js +7 -0
  35. package/esm2015/lib/ToolActionPerformedEventArgs.js +7 -0
  36. package/esm2015/lib/ToolActionSeparator.js +7 -0
  37. package/esm2015/lib/ToolCommandEventArgs.js +20 -0
  38. package/esm2015/lib/ToolPanel.js +7 -0
  39. package/esm2015/lib/ToolPanelContentRefreshedEventArgs.js +19 -0
  40. package/esm2015/lib/ToolPanelOrientation.js +16 -0
  41. package/esm2015/lib/ToolPanelView.js +7 -0
  42. package/esm2015/lib/ToolPanelView_combined.js +1515 -0
  43. package/esm2015/lib/Toolbar.js +7 -0
  44. package/esm2015/lib/ToolbarIconManager.js +40 -0
  45. package/esm2015/lib/ToolbarOrientation.js +16 -0
  46. package/esm2015/lib/ToolbarView.js +7 -0
  47. package/esm2015/lib/ToolbarView_combined.js +387 -0
  48. package/esm2015/lib/igc-list-panel-component.js +457 -0
  49. package/esm2015/lib/igc-list-panel-content-refreshed-event-args.js +24 -0
  50. package/esm2015/lib/igc-list-panel-item-model.js +52 -0
  51. package/esm2015/lib/igc-list-panel-module.js +17 -0
  52. package/esm2015/lib/igc-list-panel-template-height-requested-event-args.js +42 -0
  53. package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +45 -0
  54. package/esm2015/lib/igc-list-panel-template-width-requested-event-args.js +42 -0
  55. package/esm2015/lib/igc-property-editor-panel-component.js +1 -5
  56. package/esm2015/lib/igc-tool-action-checkbox-component.js +49 -0
  57. package/esm2015/lib/igc-tool-action-checkbox-module.js +16 -0
  58. package/esm2015/lib/igc-tool-action-collection.js +48 -0
  59. package/esm2015/lib/igc-tool-action-component.js +312 -0
  60. package/esm2015/lib/igc-tool-action-event-detail-collection.js +48 -0
  61. package/esm2015/lib/igc-tool-action-event-detail.js +85 -0
  62. package/esm2015/lib/igc-tool-action-group-header-component.js +49 -0
  63. package/esm2015/lib/igc-tool-action-group-header-module.js +16 -0
  64. package/esm2015/lib/igc-tool-action-icon-button-component.js +49 -0
  65. package/esm2015/lib/igc-tool-action-icon-button-module.js +16 -0
  66. package/esm2015/lib/igc-tool-action-icon-menu-component.js +49 -0
  67. package/esm2015/lib/igc-tool-action-icon-menu-module.js +16 -0
  68. package/esm2015/lib/igc-tool-action-menu-base-component.js +89 -0
  69. package/esm2015/lib/igc-tool-action-module.js +16 -0
  70. package/esm2015/lib/igc-tool-action-number-input-component.js +49 -0
  71. package/esm2015/lib/igc-tool-action-number-input-module.js +16 -0
  72. package/esm2015/lib/igc-tool-action-performed-event-args.js +80 -0
  73. package/esm2015/lib/igc-tool-action-separator-component.js +49 -0
  74. package/esm2015/lib/igc-tool-action-separator-module.js +16 -0
  75. package/esm2015/lib/igc-tool-command-event-args.js +30 -0
  76. package/esm2015/lib/igc-tool-panel-component.js +379 -0
  77. package/esm2015/lib/igc-tool-panel-content-refreshed-event-args.js +24 -0
  78. package/esm2015/lib/igc-tool-panel-module.js +29 -0
  79. package/esm2015/lib/igc-toolbar-component.js +412 -0
  80. package/esm2015/lib/igc-toolbar-module.js +19 -0
  81. package/esm2015/public_api.js +73 -0
  82. package/esm5/lib/IExternalListPanel.js +11 -0
  83. package/esm5/lib/IExternalToolPanel.js +11 -0
  84. package/esm5/lib/IExternalToolbar.js +11 -0
  85. package/esm5/lib/IListPanelView.js +11 -0
  86. package/esm5/lib/IPropertyEditorPanelView.js +11 -0
  87. package/esm5/lib/IToolPanelView.js +11 -0
  88. package/esm5/lib/IToolbarView.js +11 -0
  89. package/esm5/lib/ListPanel.js +7 -0
  90. package/esm5/lib/ListPanelContentRefreshedEventArgs.js +20 -0
  91. package/esm5/lib/ListPanelDataBindingEventArgs.js +24 -0
  92. package/esm5/lib/ListPanelDataSourceNotificationBridge.js +7 -0
  93. package/esm5/lib/ListPanelItemModel.js +80 -0
  94. package/esm5/lib/ListPanelItemPresenter.js +22 -0
  95. package/esm5/lib/ListPanelLayoutPanel.js +7 -0
  96. package/esm5/lib/ListPanelOrientation.js +16 -0
  97. package/esm5/lib/ListPanelTemplateHeightRequestedEventArgs.js +24 -0
  98. package/esm5/lib/ListPanelTemplateItemUpdatingEventArgs.js +24 -0
  99. package/esm5/lib/ListPanelTemplateWidthRequestedEventArgs.js +24 -0
  100. package/esm5/lib/ListPanelView.js +7 -0
  101. package/esm5/lib/ListPanelView_combined.js +1045 -0
  102. package/esm5/lib/PropertyEditorPanelView_combined.js +100 -100
  103. package/esm5/lib/ToolAction.js +7 -0
  104. package/esm5/lib/ToolActionCheckbox.js +7 -0
  105. package/esm5/lib/ToolActionCollection.js +7 -0
  106. package/esm5/lib/ToolActionEventDetail.js +7 -0
  107. package/esm5/lib/ToolActionEventDetailCollection.js +7 -0
  108. package/esm5/lib/ToolActionGroupHeader.js +7 -0
  109. package/esm5/lib/ToolActionIconButton.js +7 -0
  110. package/esm5/lib/ToolActionIconMenu.js +7 -0
  111. package/esm5/lib/ToolActionMeasurementContext.js +33 -0
  112. package/esm5/lib/ToolActionMenuBase.js +7 -0
  113. package/esm5/lib/ToolActionNumberInput.js +7 -0
  114. package/esm5/lib/ToolActionPerformedEventArgs.js +7 -0
  115. package/esm5/lib/ToolActionSeparator.js +7 -0
  116. package/esm5/lib/ToolCommandEventArgs.js +22 -0
  117. package/esm5/lib/ToolPanel.js +7 -0
  118. package/esm5/lib/ToolPanelContentRefreshedEventArgs.js +20 -0
  119. package/esm5/lib/ToolPanelOrientation.js +16 -0
  120. package/esm5/lib/ToolPanelView.js +7 -0
  121. package/esm5/lib/ToolPanelView_combined.js +1663 -0
  122. package/esm5/lib/Toolbar.js +7 -0
  123. package/esm5/lib/ToolbarIconManager.js +44 -0
  124. package/esm5/lib/ToolbarOrientation.js +16 -0
  125. package/esm5/lib/ToolbarView.js +7 -0
  126. package/esm5/lib/ToolbarView_combined.js +459 -0
  127. package/esm5/lib/igc-list-panel-component.js +535 -0
  128. package/esm5/lib/igc-list-panel-content-refreshed-event-args.js +30 -0
  129. package/esm5/lib/igc-list-panel-item-model.js +74 -0
  130. package/esm5/lib/igc-list-panel-module.js +21 -0
  131. package/esm5/lib/igc-list-panel-template-height-requested-event-args.js +60 -0
  132. package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +59 -0
  133. package/esm5/lib/igc-list-panel-template-width-requested-event-args.js +60 -0
  134. package/esm5/lib/igc-property-editor-panel-component.js +1 -5
  135. package/esm5/lib/igc-tool-action-checkbox-component.js +58 -0
  136. package/esm5/lib/igc-tool-action-checkbox-module.js +20 -0
  137. package/esm5/lib/igc-tool-action-collection.js +53 -0
  138. package/esm5/lib/igc-tool-action-component.js +388 -0
  139. package/esm5/lib/igc-tool-action-event-detail-collection.js +53 -0
  140. package/esm5/lib/igc-tool-action-event-detail.js +119 -0
  141. package/esm5/lib/igc-tool-action-group-header-component.js +58 -0
  142. package/esm5/lib/igc-tool-action-group-header-module.js +20 -0
  143. package/esm5/lib/igc-tool-action-icon-button-component.js +58 -0
  144. package/esm5/lib/igc-tool-action-icon-button-module.js +20 -0
  145. package/esm5/lib/igc-tool-action-icon-menu-component.js +58 -0
  146. package/esm5/lib/igc-tool-action-icon-menu-module.js +20 -0
  147. package/esm5/lib/igc-tool-action-menu-base-component.js +103 -0
  148. package/esm5/lib/igc-tool-action-module.js +20 -0
  149. package/esm5/lib/igc-tool-action-number-input-component.js +58 -0
  150. package/esm5/lib/igc-tool-action-number-input-module.js +20 -0
  151. package/esm5/lib/igc-tool-action-performed-event-args.js +98 -0
  152. package/esm5/lib/igc-tool-action-separator-component.js +58 -0
  153. package/esm5/lib/igc-tool-action-separator-module.js +20 -0
  154. package/esm5/lib/igc-tool-command-event-args.js +40 -0
  155. package/esm5/lib/igc-tool-panel-component.js +449 -0
  156. package/esm5/lib/igc-tool-panel-content-refreshed-event-args.js +30 -0
  157. package/esm5/lib/igc-tool-panel-module.js +33 -0
  158. package/esm5/lib/igc-toolbar-component.js +484 -0
  159. package/esm5/lib/igc-toolbar-module.js +23 -0
  160. package/esm5/public_api.js +73 -0
  161. package/fesm2015/igniteui-webcomponents-layouts.js +6030 -140
  162. package/fesm5/igniteui-webcomponents-layouts.js +6831 -140
  163. package/lib/IExternalListPanel.d.ts +13 -0
  164. package/lib/IExternalToolPanel.d.ts +13 -0
  165. package/lib/IExternalToolbar.d.ts +13 -0
  166. package/lib/IListPanelView.d.ts +25 -0
  167. package/lib/IPropertyEditorPanelView.d.ts +26 -0
  168. package/lib/IToolPanelView.d.ts +25 -0
  169. package/lib/IToolbarView.d.ts +25 -0
  170. package/lib/ListPanel.d.ts +1 -0
  171. package/lib/ListPanelContentRefreshedEventArgs.d.ts +8 -0
  172. package/lib/ListPanelDataBindingEventArgs.d.ts +10 -0
  173. package/lib/ListPanelDataSourceNotificationBridge.d.ts +1 -0
  174. package/lib/ListPanelItemModel.d.ts +22 -0
  175. package/lib/ListPanelItemPresenter.d.ts +9 -0
  176. package/lib/ListPanelLayoutPanel.d.ts +1 -0
  177. package/lib/ListPanelOrientation.d.ts +9 -0
  178. package/lib/ListPanelTemplateHeightRequestedEventArgs.d.ts +10 -0
  179. package/lib/ListPanelTemplateItemUpdatingEventArgs.d.ts +12 -0
  180. package/lib/ListPanelTemplateWidthRequestedEventArgs.d.ts +10 -0
  181. package/lib/ListPanelView.d.ts +1 -0
  182. package/lib/ListPanelView_combined.d.ts +197 -0
  183. package/lib/PropertyEditorPanelView_combined.d.ts +1 -1
  184. package/lib/ToolAction.d.ts +1 -0
  185. package/lib/ToolActionCheckbox.d.ts +1 -0
  186. package/lib/ToolActionCollection.d.ts +1 -0
  187. package/lib/ToolActionEventDetail.d.ts +1 -0
  188. package/lib/ToolActionEventDetailCollection.d.ts +1 -0
  189. package/lib/ToolActionGroupHeader.d.ts +1 -0
  190. package/lib/ToolActionIconButton.d.ts +1 -0
  191. package/lib/ToolActionIconMenu.d.ts +1 -0
  192. package/lib/ToolActionMeasurementContext.d.ts +16 -0
  193. package/lib/ToolActionMenuBase.d.ts +1 -0
  194. package/lib/ToolActionNumberInput.d.ts +1 -0
  195. package/lib/ToolActionPerformedEventArgs.d.ts +1 -0
  196. package/lib/ToolActionSeparator.d.ts +1 -0
  197. package/lib/ToolCommandEventArgs.d.ts +10 -0
  198. package/lib/ToolPanel.d.ts +1 -0
  199. package/lib/ToolPanelContentRefreshedEventArgs.d.ts +8 -0
  200. package/lib/ToolPanelOrientation.d.ts +9 -0
  201. package/lib/ToolPanelView.d.ts +1 -0
  202. package/lib/ToolPanelView_combined.d.ts +328 -0
  203. package/lib/Toolbar.d.ts +1 -0
  204. package/lib/ToolbarIconManager.d.ts +10 -0
  205. package/lib/ToolbarOrientation.d.ts +9 -0
  206. package/lib/ToolbarView.d.ts +1 -0
  207. package/lib/ToolbarView_combined.d.ts +98 -0
  208. package/lib/igc-list-panel-component.d.ts +122 -0
  209. package/lib/igc-list-panel-content-refreshed-event-args.d.ts +12 -0
  210. package/lib/igc-list-panel-item-model.d.ts +17 -0
  211. package/lib/igc-list-panel-module.d.ts +3 -0
  212. package/lib/igc-list-panel-template-height-requested-event-args.d.ts +15 -0
  213. package/lib/igc-list-panel-template-item-updating-event-args.d.ts +15 -0
  214. package/lib/igc-list-panel-template-width-requested-event-args.d.ts +15 -0
  215. package/lib/igc-property-editor-panel-component.d.ts +0 -2
  216. package/lib/igc-tool-action-checkbox-component.d.ts +16 -0
  217. package/lib/igc-tool-action-checkbox-module.d.ts +3 -0
  218. package/lib/igc-tool-action-collection.d.ts +8 -0
  219. package/lib/igc-tool-action-component.d.ts +64 -0
  220. package/lib/igc-tool-action-event-detail-collection.d.ts +8 -0
  221. package/lib/igc-tool-action-event-detail.d.ts +22 -0
  222. package/lib/igc-tool-action-group-header-component.d.ts +16 -0
  223. package/lib/igc-tool-action-group-header-module.d.ts +3 -0
  224. package/lib/igc-tool-action-icon-button-component.d.ts +16 -0
  225. package/lib/igc-tool-action-icon-button-module.d.ts +3 -0
  226. package/lib/igc-tool-action-icon-menu-component.d.ts +16 -0
  227. package/lib/igc-tool-action-icon-menu-module.d.ts +3 -0
  228. package/lib/igc-tool-action-menu-base-component.d.ts +24 -0
  229. package/lib/igc-tool-action-module.d.ts +3 -0
  230. package/lib/igc-tool-action-number-input-component.d.ts +16 -0
  231. package/lib/igc-tool-action-number-input-module.d.ts +3 -0
  232. package/lib/igc-tool-action-performed-event-args.d.ts +18 -0
  233. package/lib/igc-tool-action-separator-component.d.ts +16 -0
  234. package/lib/igc-tool-action-separator-module.d.ts +3 -0
  235. package/lib/igc-tool-command-event-args.d.ts +14 -0
  236. package/lib/igc-tool-panel-component.d.ts +83 -0
  237. package/lib/igc-tool-panel-content-refreshed-event-args.d.ts +12 -0
  238. package/lib/igc-tool-panel-module.d.ts +3 -0
  239. package/lib/igc-toolbar-component.d.ts +89 -0
  240. package/lib/igc-toolbar-module.d.ts +3 -0
  241. package/package.json +3 -3
  242. package/public_api.d.ts +73 -0
@@ -0,0 +1,535 @@
1
+ import * as tslib_1 from "tslib";
2
+ import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
3
+ import { FontInfo } from "igniteui-webcomponents-core";
4
+ import { WebComponentRenderer } from "igniteui-webcomponents-core";
5
+ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
6
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
7
+ import { ListPanel } from "./ListPanel";
8
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
9
+ import { IgcListPanelTemplateItemUpdatingEventArgs } from './igc-list-panel-template-item-updating-event-args';
10
+ import { ListPanelOrientation_$type } from './ListPanelOrientation';
11
+ import { IgcListPanelContentRefreshedEventArgs } from './igc-list-panel-content-refreshed-event-args';
12
+ import { IgcListPanelTemplateWidthRequestedEventArgs } from './igc-list-panel-template-width-requested-event-args';
13
+ import { IgcListPanelTemplateHeightRequestedEventArgs } from './igc-list-panel-template-height-requested-event-args';
14
+ import { LocalDataSource } from "igniteui-webcomponents-core";
15
+ var IgcListPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
16
+ tslib_1.__extends(IgcListPanelComponent, _super);
17
+ function IgcListPanelComponent() {
18
+ var _this = _super.call(this) || this;
19
+ _this._implementation = null;
20
+ _this._disconnected = false;
21
+ _this._dataSource = null;
22
+ _this._settingAttributes = false;
23
+ _this._attached = false;
24
+ _this._queuedSetAttributes = [];
25
+ _this._updatingFromAttribute = false;
26
+ _this.__p = null;
27
+ _this._hasUserValues = new Set();
28
+ _this._stylingContainer = null;
29
+ _this._stylingParent = null;
30
+ _this._inStyling = false;
31
+ _this._contentRefreshed = null;
32
+ _this._contentRefreshed_wrapped = null;
33
+ _this._rowUpdating = null;
34
+ _this._rowUpdating_wrapped = null;
35
+ _this._itemWidthRequested = null;
36
+ _this._itemWidthRequested_wrapped = null;
37
+ _this._itemHeightRequested = null;
38
+ _this._itemHeightRequested_wrapped = null;
39
+ if (_this._styling) {
40
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
41
+ }
42
+ _this._implementation = _this.createImplementation();
43
+ _this._implementation.externalObject = _this;
44
+ _this._webComponentRenderer = new WebComponentRenderer(_this, document, true, {});
45
+ _this._webComponentWrapper = _this._webComponentRenderer.createElement("div");
46
+ _this._webComponentRenderer.updateRoot(_this._webComponentWrapper);
47
+ _this._webComponentWrapper.setStyleProperty("display", "block");
48
+ _this._webComponentWrapper.setStyleProperty("width", "100%");
49
+ _this._webComponentWrapper.setStyleProperty("height", "100%");
50
+ _this.i.externalListPanel = _this;
51
+ _this.i.provideContainer(_this._webComponentRenderer);
52
+ _this.i.notifySizeChanged();
53
+ _this._webComponentRenderer.addSizeWatcher(function () {
54
+ _this.i.notifySizeChanged();
55
+ });
56
+ return _this;
57
+ }
58
+ Object.defineProperty(IgcListPanelComponent.prototype, "height", {
59
+ get: function () {
60
+ return this._height;
61
+ },
62
+ set: function (value) {
63
+ this._height = value;
64
+ this.style.height = value;
65
+ this.i.notifySizeChanged();
66
+ },
67
+ enumerable: true,
68
+ configurable: true
69
+ });
70
+ Object.defineProperty(IgcListPanelComponent.prototype, "width", {
71
+ get: function () {
72
+ return this._width;
73
+ },
74
+ set: function (value) {
75
+ this._width = value;
76
+ this.style.width = value;
77
+ this.i.notifySizeChanged();
78
+ },
79
+ enumerable: true,
80
+ configurable: true
81
+ });
82
+ IgcListPanelComponent.prototype.createLocalDataSource = function (itemsSource) {
83
+ var lds = new LocalDataSource();
84
+ lds.dataSource = itemsSource;
85
+ return lds;
86
+ };
87
+ IgcListPanelComponent.prototype.onContentSizeChanged = function () {
88
+ };
89
+ // supports angular themes or custom properties set in CSS
90
+ IgcListPanelComponent.prototype.updateStyle = function () {
91
+ this._styling(this, this);
92
+ };
93
+ IgcListPanelComponent.prototype.destroy = function () {
94
+ this._implementation.destroy();
95
+ this._webComponentRenderer.destroy();
96
+ };
97
+ IgcListPanelComponent.prototype.createImplementation = function () {
98
+ return new ListPanel();
99
+ };
100
+ Object.defineProperty(IgcListPanelComponent.prototype, "i", {
101
+ get: function () {
102
+ return this._implementation;
103
+ },
104
+ enumerable: true,
105
+ configurable: true
106
+ });
107
+ IgcListPanelComponent.prototype.disconnectedCallback = function () {
108
+ this._disconnected = true;
109
+ };
110
+ IgcListPanelComponent.prototype.connectedCallback = function () {
111
+ if (this._disconnected) {
112
+ this._disconnected = false;
113
+ return;
114
+ }
115
+ this.classList.add("ig-list-panel");
116
+ this.classList.add("igc-list-panel");
117
+ var rootWrapper = this._webComponentRenderer.rootWrapper;
118
+ var rootElement = rootWrapper.getNativeElement();
119
+ this.appendChild(rootElement);
120
+ this._attached = true;
121
+ this.style.display = "block";
122
+ this.style.height = this._height;
123
+ this.style.width = this._width;
124
+ this._flushQueuedAttributes();
125
+ // supports themes or custom properties set in CSS
126
+ this._styling(this, this);
127
+ this.afterContentInit();
128
+ };
129
+ IgcListPanelComponent.prototype.afterContentInit = function () {
130
+ this.i.notifySizeChanged();
131
+ };
132
+ Object.defineProperty(IgcListPanelComponent.prototype, "dataSource", {
133
+ get: function () {
134
+ return this._dataSource;
135
+ },
136
+ set: function (value) {
137
+ this._dataSource = value;
138
+ if (this._implementation != null) {
139
+ this._implementation.itemsSource = this._dataSource;
140
+ }
141
+ },
142
+ enumerable: true,
143
+ configurable: true
144
+ });
145
+ IgcListPanelComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
146
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
147
+ };
148
+ IgcListPanelComponent.prototype._flushQueuedAttributes = function () {
149
+ this._settingAttributes = true;
150
+ for (var i = 0; i < this._queuedSetAttributes.length; i++) {
151
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
152
+ }
153
+ this._settingAttributes = false;
154
+ this._queuedSetAttributes.length = 0;
155
+ };
156
+ IgcListPanelComponent.prototype._a = function (attrName, attrValue) {
157
+ if (this._updatingFromAttribute) {
158
+ return;
159
+ }
160
+ if (attrValue) {
161
+ attrValue = attrValue.toString();
162
+ }
163
+ this._settingAttributes = true;
164
+ attrName = toSpinal(attrName);
165
+ if (this._attached) {
166
+ this.setAttribute(attrName, attrValue);
167
+ }
168
+ else {
169
+ this._enqueueSetAttribute(attrName, attrValue);
170
+ }
171
+ this._settingAttributes = false;
172
+ };
173
+ Object.defineProperty(IgcListPanelComponent, "observedAttributes", {
174
+ get: function () {
175
+ if (IgcListPanelComponent._observedAttributesIgcListPanelComponent == null) {
176
+ var names = getAllPropertyNames(IgcListPanelComponent);
177
+ for (var i = 0; i < names.length; i++) {
178
+ names[i] = toSpinal(names[i]);
179
+ }
180
+ IgcListPanelComponent._observedAttributesIgcListPanelComponent = names;
181
+ }
182
+ return IgcListPanelComponent._observedAttributesIgcListPanelComponent;
183
+ },
184
+ enumerable: true,
185
+ configurable: true
186
+ });
187
+ IgcListPanelComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
188
+ if (this._settingAttributes) {
189
+ return;
190
+ }
191
+ var setName = fromSpinal(name);
192
+ this._updatingFromAttribute = true;
193
+ this[setName] = newValue;
194
+ this._updatingFromAttribute = false;
195
+ };
196
+ IgcListPanelComponent.register = function () {
197
+ if (!IgcListPanelComponent._isElementRegistered) {
198
+ IgcListPanelComponent._isElementRegistered = true;
199
+ RegisterElementHelper.registerElement(IgcListPanelComponent.htmlTagName, IgcListPanelComponent);
200
+ }
201
+ };
202
+ Object.defineProperty(IgcListPanelComponent.prototype, "rowHeight", {
203
+ /**
204
+ * Gets or Sets the property name that contains the values.
205
+ */
206
+ get: function () {
207
+ return this.i.a7;
208
+ },
209
+ set: function (v) {
210
+ this.i.a7 = +v;
211
+ this._a("rowHeight", this.i.a7);
212
+ },
213
+ enumerable: true,
214
+ configurable: true
215
+ });
216
+ Object.defineProperty(IgcListPanelComponent.prototype, "actualRowHeight", {
217
+ get: function () {
218
+ return this.i.av;
219
+ },
220
+ set: function (v) {
221
+ this.i.av = +v;
222
+ this._a("actualRowHeight", this.i.av);
223
+ },
224
+ enumerable: true,
225
+ configurable: true
226
+ });
227
+ Object.defineProperty(IgcListPanelComponent.prototype, "cellTextStyle", {
228
+ /**
229
+ * Gets or Sets the property name that contains the values.
230
+ */
231
+ get: function () {
232
+ if (this.i.s == null) {
233
+ return null;
234
+ }
235
+ return this.i.s.fontString;
236
+ },
237
+ set: function (v) {
238
+ var fi = new FontInfo();
239
+ fi.fontString = v;
240
+ this.i.s = fi;
241
+ this._a("cellTextStyle", this.i.s != null ? this.i.s.fontString : "");
242
+ },
243
+ enumerable: true,
244
+ configurable: true
245
+ });
246
+ Object.defineProperty(IgcListPanelComponent.prototype, "hasUnevenSizes", {
247
+ get: function () {
248
+ return this.i.ah;
249
+ },
250
+ enumerable: true,
251
+ configurable: true
252
+ });
253
+ Object.defineProperty(IgcListPanelComponent.prototype, "backgroundColor", {
254
+ /**
255
+ * Gets or sets the color to use for the background of the component.
256
+ */
257
+ get: function () {
258
+ return brushToString(this.i.cs);
259
+ },
260
+ set: function (v) {
261
+ this.i.cs = stringToBrush(v);
262
+ this._a("backgroundColor", brushToString(this.i.cs));
263
+ },
264
+ enumerable: true,
265
+ configurable: true
266
+ });
267
+ Object.defineProperty(IgcListPanelComponent.prototype, "orientation", {
268
+ /**
269
+ * Gets or sets the color to use for the background of the component.
270
+ */
271
+ get: function () {
272
+ return this.i.k;
273
+ },
274
+ set: function (v) {
275
+ this.i.k = ensureEnum(ListPanelOrientation_$type, v);
276
+ this._a("orientation", enumToString(ListPanelOrientation_$type, this.i.k));
277
+ },
278
+ enumerable: true,
279
+ configurable: true
280
+ });
281
+ Object.defineProperty(IgcListPanelComponent.prototype, "isCustomRowHeightEnabled", {
282
+ /**
283
+ * Gets or sets the color to use for the background of the component.
284
+ */
285
+ get: function () {
286
+ return this.i.ai;
287
+ },
288
+ set: function (v) {
289
+ this.i.ai = ensureBool(v);
290
+ this._a("isCustomRowHeightEnabled", this.i.ai);
291
+ },
292
+ enumerable: true,
293
+ configurable: true
294
+ });
295
+ Object.defineProperty(IgcListPanelComponent.prototype, "textColor", {
296
+ /**
297
+ * Gets or sets the color to use for the text of the component.
298
+ */
299
+ get: function () {
300
+ return brushToString(this.i.cv);
301
+ },
302
+ set: function (v) {
303
+ this.i.cv = stringToBrush(v);
304
+ this._a("textColor", brushToString(this.i.cv));
305
+ },
306
+ enumerable: true,
307
+ configurable: true
308
+ });
309
+ IgcListPanelComponent.prototype.findByName = function (name) {
310
+ return null;
311
+ };
312
+ Object.defineProperty(IgcListPanelComponent.prototype, "hasUserValues", {
313
+ get: function () {
314
+ return this._hasUserValues;
315
+ },
316
+ enumerable: true,
317
+ configurable: true
318
+ });
319
+ IgcListPanelComponent.prototype.__m = function (propertyName) {
320
+ if (!this._inStyling) {
321
+ this._hasUserValues.add(propertyName);
322
+ }
323
+ };
324
+ IgcListPanelComponent.prototype._styling = function (container, component, parent) {
325
+ if (this._inStyling) {
326
+ return;
327
+ }
328
+ this._inStyling = true;
329
+ this._stylingContainer = container;
330
+ this._stylingParent = component;
331
+ var genericPrefix = "";
332
+ var typeName = this.i.$type.name;
333
+ if (typeName.indexOf("Xam") === 0) {
334
+ typeName = typeName.substring(3);
335
+ }
336
+ genericPrefix = toSpinal("ListPanelComponent");
337
+ var additionalPrefixes = [];
338
+ var prefix = toSpinal(typeName);
339
+ additionalPrefixes.push(prefix + "-");
340
+ var b = this.i.$type.baseType;
341
+ while (b && b.name != "Object" &&
342
+ b.name != "Base" &&
343
+ b.name != "Control" &&
344
+ b.Name != "DependencyObject" &&
345
+ b.Name != "FrameworkElement") {
346
+ typeName = b.name;
347
+ if (typeName.indexOf("Xam") === 0) {
348
+ typeName = typeName.substring(3);
349
+ }
350
+ var basePrefix = toSpinal(typeName);
351
+ additionalPrefixes.push(basePrefix + "-");
352
+ b = b.baseType;
353
+ }
354
+ if (parent) {
355
+ var parentTypeName = parent.i.$type.name;
356
+ if (parentTypeName.indexOf("Xam") === 0) {
357
+ parentTypeName = parentTypeName.substring(3);
358
+ }
359
+ var parentPrefix = toSpinal(parentTypeName);
360
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
361
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
362
+ }
363
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
364
+ if (this._otherStyling) {
365
+ this._otherStyling(container, component, parent);
366
+ }
367
+ this._inStyling = false;
368
+ };
369
+ /**
370
+ * Gets the last visible index in the grid.
371
+
372
+ */
373
+ IgcListPanelComponent.prototype.getLastVisibleIndex = function () {
374
+ var iv = this.i.a4();
375
+ return (iv);
376
+ };
377
+ /**
378
+ * Gets the first visible index in the grid.
379
+
380
+ */
381
+ IgcListPanelComponent.prototype.getFirstVisibleIndex = function () {
382
+ var iv = this.i.a3();
383
+ return (iv);
384
+ };
385
+ /**
386
+ * Invalidates the bound data for the rows currently visible.
387
+
388
+ */
389
+ IgcListPanelComponent.prototype.invalidateVisibleItems = function () {
390
+ this.i.by();
391
+ };
392
+ IgcListPanelComponent.prototype.notifySetItem = function (index, oldItem, newItem) {
393
+ this.i.b4(index, oldItem, newItem);
394
+ };
395
+ /**
396
+ * Manually notifies the grid's data source that the data it has bound to has been cleared and needs to be re-examined.
397
+ * This should not be called if the data that the grid is bound to is already observable.
398
+
399
+ */
400
+ IgcListPanelComponent.prototype.notifyClearItems = function () {
401
+ this.i.b1();
402
+ };
403
+ IgcListPanelComponent.prototype.notifyInsertItem = function (index, newItem) {
404
+ this.i.b2(index, newItem);
405
+ };
406
+ IgcListPanelComponent.prototype.notifyRemoveItem = function (index, oldItem) {
407
+ this.i.b3(index, oldItem);
408
+ };
409
+ /**
410
+ * Returns the data index of an item within the bound data source.
411
+
412
+ * @param item * The item from which to get the index.
413
+ */
414
+ IgcListPanelComponent.prototype.dataIndexOfItem = function (item) {
415
+ var iv = this.i.a1(item);
416
+ return (iv);
417
+ };
418
+ IgcListPanelComponent.prototype.dataIndexOfPrimaryKey = function (key) {
419
+ var iv = this.i.a2(key);
420
+ return (iv);
421
+ };
422
+ Object.defineProperty(IgcListPanelComponent.prototype, "contentRefreshed", {
423
+ get: function () {
424
+ return this._contentRefreshed;
425
+ },
426
+ set: function (ev) {
427
+ var _this = this;
428
+ if (this._contentRefreshed_wrapped !== null) {
429
+ this.i.contentRefreshed = delegateRemove(this.i.contentRefreshed, this._contentRefreshed_wrapped);
430
+ this._contentRefreshed_wrapped = null;
431
+ this._contentRefreshed = null;
432
+ }
433
+ this._contentRefreshed = ev;
434
+ this._contentRefreshed_wrapped = function (o, e) {
435
+ var outerArgs = new IgcListPanelContentRefreshedEventArgs();
436
+ outerArgs._provideImplementation(e);
437
+ if (_this.beforeContentRefreshed) {
438
+ _this.beforeContentRefreshed(_this, outerArgs);
439
+ }
440
+ if (_this._contentRefreshed) {
441
+ _this._contentRefreshed(_this, outerArgs);
442
+ }
443
+ };
444
+ this.i.contentRefreshed = delegateCombine(this.i.contentRefreshed, this._contentRefreshed_wrapped);
445
+ },
446
+ enumerable: true,
447
+ configurable: true
448
+ });
449
+ Object.defineProperty(IgcListPanelComponent.prototype, "rowUpdating", {
450
+ get: function () {
451
+ return this._rowUpdating;
452
+ },
453
+ set: function (ev) {
454
+ var _this = this;
455
+ if (this._rowUpdating_wrapped !== null) {
456
+ this.i.rowUpdating = delegateRemove(this.i.rowUpdating, this._rowUpdating_wrapped);
457
+ this._rowUpdating_wrapped = null;
458
+ this._rowUpdating = null;
459
+ }
460
+ this._rowUpdating = ev;
461
+ this._rowUpdating_wrapped = function (o, e) {
462
+ var outerArgs = new IgcListPanelTemplateItemUpdatingEventArgs();
463
+ outerArgs._provideImplementation(e);
464
+ if (_this.beforeRowUpdating) {
465
+ _this.beforeRowUpdating(_this, outerArgs);
466
+ }
467
+ if (_this._rowUpdating) {
468
+ _this._rowUpdating(_this, outerArgs);
469
+ }
470
+ };
471
+ this.i.rowUpdating = delegateCombine(this.i.rowUpdating, this._rowUpdating_wrapped);
472
+ },
473
+ enumerable: true,
474
+ configurable: true
475
+ });
476
+ Object.defineProperty(IgcListPanelComponent.prototype, "itemWidthRequested", {
477
+ get: function () {
478
+ return this._itemWidthRequested;
479
+ },
480
+ set: function (ev) {
481
+ var _this = this;
482
+ if (this._itemWidthRequested_wrapped !== null) {
483
+ this.i.itemWidthRequested = delegateRemove(this.i.itemWidthRequested, this._itemWidthRequested_wrapped);
484
+ this._itemWidthRequested_wrapped = null;
485
+ this._itemWidthRequested = null;
486
+ }
487
+ this._itemWidthRequested = ev;
488
+ this._itemWidthRequested_wrapped = function (o, e) {
489
+ var outerArgs = new IgcListPanelTemplateWidthRequestedEventArgs();
490
+ outerArgs._provideImplementation(e);
491
+ if (_this.beforeItemWidthRequested) {
492
+ _this.beforeItemWidthRequested(_this, outerArgs);
493
+ }
494
+ if (_this._itemWidthRequested) {
495
+ _this._itemWidthRequested(_this, outerArgs);
496
+ }
497
+ };
498
+ this.i.itemWidthRequested = delegateCombine(this.i.itemWidthRequested, this._itemWidthRequested_wrapped);
499
+ },
500
+ enumerable: true,
501
+ configurable: true
502
+ });
503
+ Object.defineProperty(IgcListPanelComponent.prototype, "itemHeightRequested", {
504
+ get: function () {
505
+ return this._itemHeightRequested;
506
+ },
507
+ set: function (ev) {
508
+ var _this = this;
509
+ if (this._itemHeightRequested_wrapped !== null) {
510
+ this.i.itemHeightRequested = delegateRemove(this.i.itemHeightRequested, this._itemHeightRequested_wrapped);
511
+ this._itemHeightRequested_wrapped = null;
512
+ this._itemHeightRequested = null;
513
+ }
514
+ this._itemHeightRequested = ev;
515
+ this._itemHeightRequested_wrapped = function (o, e) {
516
+ var outerArgs = new IgcListPanelTemplateHeightRequestedEventArgs();
517
+ outerArgs._provideImplementation(e);
518
+ if (_this.beforeItemHeightRequested) {
519
+ _this.beforeItemHeightRequested(_this, outerArgs);
520
+ }
521
+ if (_this._itemHeightRequested) {
522
+ _this._itemHeightRequested(_this, outerArgs);
523
+ }
524
+ };
525
+ this.i.itemHeightRequested = delegateCombine(this.i.itemHeightRequested, this._itemHeightRequested_wrapped);
526
+ },
527
+ enumerable: true,
528
+ configurable: true
529
+ });
530
+ IgcListPanelComponent._observedAttributesIgcListPanelComponent = null;
531
+ IgcListPanelComponent.htmlTagName = "igc-list-panel";
532
+ IgcListPanelComponent._isElementRegistered = false;
533
+ return IgcListPanelComponent;
534
+ }(IgcHTMLElement));
535
+ export { IgcListPanelComponent };
@@ -0,0 +1,30 @@
1
+ import { ListPanelContentRefreshedEventArgs as ListPanelContentRefreshedEventArgs_internal } from "./ListPanelContentRefreshedEventArgs";
2
+ var IgcListPanelContentRefreshedEventArgs = /** @class */ /*@__PURE__*/ (function () {
3
+ function IgcListPanelContentRefreshedEventArgs() {
4
+ this._implementation = this.createImplementation();
5
+ this._implementation.externalObject = this;
6
+ this.onImplementationCreated();
7
+ }
8
+ IgcListPanelContentRefreshedEventArgs.prototype.createImplementation = function () {
9
+ return new ListPanelContentRefreshedEventArgs_internal();
10
+ };
11
+ Object.defineProperty(IgcListPanelContentRefreshedEventArgs.prototype, "i", {
12
+ /**
13
+ * @hidden
14
+ */
15
+ get: function () {
16
+ return this._implementation;
17
+ },
18
+ enumerable: true,
19
+ configurable: true
20
+ });
21
+ IgcListPanelContentRefreshedEventArgs.prototype.onImplementationCreated = function () {
22
+ };
23
+ IgcListPanelContentRefreshedEventArgs.prototype._provideImplementation = function (i) {
24
+ this._implementation = i;
25
+ this._implementation.externalObject = this;
26
+ this.onImplementationCreated();
27
+ };
28
+ return IgcListPanelContentRefreshedEventArgs;
29
+ }());
30
+ export { IgcListPanelContentRefreshedEventArgs };
@@ -0,0 +1,74 @@
1
+ import { ListPanelItemModel as ListPanelItemModel_internal } from "./ListPanelItemModel";
2
+ import { ensureBool } from "igniteui-webcomponents-core";
3
+ var IgcListPanelItemModel = /** @class */ /*@__PURE__*/ (function () {
4
+ function IgcListPanelItemModel() {
5
+ this._implementation = this.createImplementation();
6
+ this._implementation.externalObject = this;
7
+ this.onImplementationCreated();
8
+ }
9
+ IgcListPanelItemModel.prototype.createImplementation = function () {
10
+ return new ListPanelItemModel_internal();
11
+ };
12
+ Object.defineProperty(IgcListPanelItemModel.prototype, "i", {
13
+ /**
14
+ * @hidden
15
+ */
16
+ get: function () {
17
+ return this._implementation;
18
+ },
19
+ enumerable: true,
20
+ configurable: true
21
+ });
22
+ IgcListPanelItemModel.prototype.onImplementationCreated = function () {
23
+ };
24
+ IgcListPanelItemModel.prototype._provideImplementation = function (i) {
25
+ this._implementation = i;
26
+ this._implementation.externalObject = this;
27
+ this.onImplementationCreated();
28
+ };
29
+ Object.defineProperty(IgcListPanelItemModel.prototype, "dataRow", {
30
+ get: function () {
31
+ return this.i.l;
32
+ },
33
+ set: function (v) {
34
+ this.i.l = +v;
35
+ },
36
+ enumerable: true,
37
+ configurable: true
38
+ });
39
+ Object.defineProperty(IgcListPanelItemModel.prototype, "rowHeight", {
40
+ get: function () {
41
+ return this.i.j;
42
+ },
43
+ set: function (v) {
44
+ this.i.j = +v;
45
+ },
46
+ enumerable: true,
47
+ configurable: true
48
+ });
49
+ Object.defineProperty(IgcListPanelItemModel.prototype, "rowObject", {
50
+ get: function () {
51
+ return this.i.n;
52
+ },
53
+ set: function (v) {
54
+ this.i.n = v;
55
+ },
56
+ enumerable: true,
57
+ configurable: true
58
+ });
59
+ Object.defineProperty(IgcListPanelItemModel.prototype, "isModelDirty", {
60
+ get: function () {
61
+ return this.i.e;
62
+ },
63
+ set: function (v) {
64
+ this.i.e = ensureBool(v);
65
+ },
66
+ enumerable: true,
67
+ configurable: true
68
+ });
69
+ IgcListPanelItemModel.prototype.findByName = function (name) {
70
+ return null;
71
+ };
72
+ return IgcListPanelItemModel;
73
+ }());
74
+ export { IgcListPanelItemModel };
@@ -0,0 +1,21 @@
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 { IgcListPanelComponent } from './igc-list-panel-component';
8
+ import { ListPanel } from './ListPanel';
9
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
10
+ var IgcListPanelModule = /** @class */ /*@__PURE__*/ (function () {
11
+ function IgcListPanelModule() {
12
+ }
13
+ IgcListPanelModule.register = function () {
14
+ IgcListPanelComponent.register();
15
+ TypeRegistrar.registerCons('IgcListPanelComponent', IgcListPanelComponent);
16
+ TypeRegistrar.registerCons('IgcListPanelComponent', IgcListPanelComponent);
17
+ TypeRegistrar.register('ListPanel', ListPanel.$type);
18
+ };
19
+ return IgcListPanelModule;
20
+ }());
21
+ export { IgcListPanelModule };