igniteui-webcomponents-layouts 3.2.3 → 3.5.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 (279) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +7675 -276
  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 +106 -106
  24. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +84 -58
  25. package/esm2015/lib/PropertyEditorTreeTransformer.js +1 -0
  26. package/esm2015/lib/PropertyEditorValueType.js +2 -1
  27. package/esm2015/lib/ToolAction.js +7 -0
  28. package/esm2015/lib/ToolActionCheckbox.js +7 -0
  29. package/esm2015/lib/ToolActionCollection.js +7 -0
  30. package/esm2015/lib/ToolActionEventDetail.js +7 -0
  31. package/esm2015/lib/ToolActionEventDetailCollection.js +7 -0
  32. package/esm2015/lib/ToolActionGroupHeader.js +7 -0
  33. package/esm2015/lib/ToolActionIconButton.js +7 -0
  34. package/esm2015/lib/ToolActionIconMenu.js +7 -0
  35. package/esm2015/lib/ToolActionLabel.js +7 -0
  36. package/esm2015/lib/ToolActionMeasurementContext.js +31 -0
  37. package/esm2015/lib/ToolActionMenuBase.js +7 -0
  38. package/esm2015/lib/ToolActionNumberInput.js +7 -0
  39. package/esm2015/lib/ToolActionPerformedEventArgs.js +7 -0
  40. package/esm2015/lib/ToolActionRadio.js +7 -0
  41. package/esm2015/lib/ToolActionSeparator.js +7 -0
  42. package/esm2015/lib/ToolCommandEventArgs.js +20 -0
  43. package/esm2015/lib/ToolPanel.js +7 -0
  44. package/esm2015/lib/ToolPanelContentRefreshedEventArgs.js +19 -0
  45. package/esm2015/lib/ToolPanelOrientation.js +16 -0
  46. package/esm2015/lib/ToolPanelView.js +7 -0
  47. package/esm2015/lib/ToolPanelView_combined.js +1699 -0
  48. package/esm2015/lib/Toolbar.js +7 -0
  49. package/esm2015/lib/ToolbarIconManager.js +40 -0
  50. package/esm2015/lib/ToolbarOrientation.js +16 -0
  51. package/esm2015/lib/ToolbarView.js +7 -0
  52. package/esm2015/lib/ToolbarView_combined.js +387 -0
  53. package/esm2015/lib/igc-list-panel-component.js +466 -0
  54. package/esm2015/lib/igc-list-panel-content-refreshed-event-args.js +24 -0
  55. package/esm2015/lib/igc-list-panel-item-model.js +57 -0
  56. package/esm2015/lib/igc-list-panel-module.js +17 -0
  57. package/esm2015/lib/igc-list-panel-template-height-requested-event-args.js +42 -0
  58. package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +51 -0
  59. package/esm2015/lib/igc-list-panel-template-width-requested-event-args.js +42 -0
  60. package/esm2015/lib/igc-popup-component.js +7 -0
  61. package/esm2015/lib/igc-property-editor-data-source.js +7 -2
  62. package/esm2015/lib/igc-property-editor-description-object.js +5 -0
  63. package/esm2015/lib/igc-property-editor-panel-component.js +6 -5
  64. package/esm2015/lib/igc-property-editor-property-description-component.js +33 -5
  65. package/esm2015/lib/igc-tool-action-checkbox-component.js +63 -0
  66. package/esm2015/lib/igc-tool-action-checkbox-module.js +16 -0
  67. package/esm2015/lib/igc-tool-action-collection.js +48 -0
  68. package/esm2015/lib/igc-tool-action-component.js +333 -0
  69. package/esm2015/lib/igc-tool-action-event-detail-collection.js +48 -0
  70. package/esm2015/lib/igc-tool-action-event-detail.js +91 -0
  71. package/esm2015/lib/igc-tool-action-group-header-component.js +63 -0
  72. package/esm2015/lib/igc-tool-action-group-header-module.js +16 -0
  73. package/esm2015/lib/igc-tool-action-icon-button-component.js +63 -0
  74. package/esm2015/lib/igc-tool-action-icon-button-module.js +16 -0
  75. package/esm2015/lib/igc-tool-action-icon-menu-component.js +63 -0
  76. package/esm2015/lib/igc-tool-action-icon-menu-module.js +16 -0
  77. package/esm2015/lib/igc-tool-action-label-component.js +63 -0
  78. package/esm2015/lib/igc-tool-action-label-module.js +16 -0
  79. package/esm2015/lib/igc-tool-action-menu-base-component.js +103 -0
  80. package/esm2015/lib/igc-tool-action-module.js +16 -0
  81. package/esm2015/lib/igc-tool-action-number-input-component.js +63 -0
  82. package/esm2015/lib/igc-tool-action-number-input-module.js +16 -0
  83. package/esm2015/lib/igc-tool-action-performed-event-args.js +86 -0
  84. package/esm2015/lib/igc-tool-action-radio-component.js +69 -0
  85. package/esm2015/lib/igc-tool-action-radio-module.js +16 -0
  86. package/esm2015/lib/igc-tool-action-separator-component.js +63 -0
  87. package/esm2015/lib/igc-tool-action-separator-module.js +16 -0
  88. package/esm2015/lib/igc-tool-command-event-args.js +30 -0
  89. package/esm2015/lib/igc-tool-panel-component.js +386 -0
  90. package/esm2015/lib/igc-tool-panel-content-refreshed-event-args.js +24 -0
  91. package/esm2015/lib/igc-tool-panel-module.js +29 -0
  92. package/esm2015/lib/igc-toolbar-component.js +417 -0
  93. package/esm2015/lib/igc-toolbar-module.js +19 -0
  94. package/esm2015/lib/igc-x-expansion-panel-component.js +7 -0
  95. package/esm2015/public_api.js +79 -0
  96. package/esm5/lib/IExternalListPanel.js +11 -0
  97. package/esm5/lib/IExternalToolPanel.js +11 -0
  98. package/esm5/lib/IExternalToolbar.js +11 -0
  99. package/esm5/lib/IListPanelView.js +11 -0
  100. package/esm5/lib/IPropertyEditorPanelView.js +11 -0
  101. package/esm5/lib/IToolPanelView.js +11 -0
  102. package/esm5/lib/IToolbarView.js +11 -0
  103. package/esm5/lib/ListPanel.js +7 -0
  104. package/esm5/lib/ListPanelContentRefreshedEventArgs.js +20 -0
  105. package/esm5/lib/ListPanelDataBindingEventArgs.js +24 -0
  106. package/esm5/lib/ListPanelDataSourceNotificationBridge.js +7 -0
  107. package/esm5/lib/ListPanelItemModel.js +80 -0
  108. package/esm5/lib/ListPanelItemPresenter.js +22 -0
  109. package/esm5/lib/ListPanelLayoutPanel.js +7 -0
  110. package/esm5/lib/ListPanelOrientation.js +16 -0
  111. package/esm5/lib/ListPanelTemplateHeightRequestedEventArgs.js +24 -0
  112. package/esm5/lib/ListPanelTemplateItemUpdatingEventArgs.js +24 -0
  113. package/esm5/lib/ListPanelTemplateWidthRequestedEventArgs.js +24 -0
  114. package/esm5/lib/ListPanelView.js +7 -0
  115. package/esm5/lib/ListPanelView_combined.js +1045 -0
  116. package/esm5/lib/PropertyEditorPanelView_combined.js +106 -106
  117. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +82 -57
  118. package/esm5/lib/PropertyEditorTreeTransformer.js +1 -0
  119. package/esm5/lib/PropertyEditorValueType.js +2 -1
  120. package/esm5/lib/ToolAction.js +7 -0
  121. package/esm5/lib/ToolActionCheckbox.js +7 -0
  122. package/esm5/lib/ToolActionCollection.js +7 -0
  123. package/esm5/lib/ToolActionEventDetail.js +7 -0
  124. package/esm5/lib/ToolActionEventDetailCollection.js +7 -0
  125. package/esm5/lib/ToolActionGroupHeader.js +7 -0
  126. package/esm5/lib/ToolActionIconButton.js +7 -0
  127. package/esm5/lib/ToolActionIconMenu.js +7 -0
  128. package/esm5/lib/ToolActionLabel.js +7 -0
  129. package/esm5/lib/ToolActionMeasurementContext.js +33 -0
  130. package/esm5/lib/ToolActionMenuBase.js +7 -0
  131. package/esm5/lib/ToolActionNumberInput.js +7 -0
  132. package/esm5/lib/ToolActionPerformedEventArgs.js +7 -0
  133. package/esm5/lib/ToolActionRadio.js +7 -0
  134. package/esm5/lib/ToolActionSeparator.js +7 -0
  135. package/esm5/lib/ToolCommandEventArgs.js +22 -0
  136. package/esm5/lib/ToolPanel.js +7 -0
  137. package/esm5/lib/ToolPanelContentRefreshedEventArgs.js +20 -0
  138. package/esm5/lib/ToolPanelOrientation.js +16 -0
  139. package/esm5/lib/ToolPanelView.js +7 -0
  140. package/esm5/lib/ToolPanelView_combined.js +1853 -0
  141. package/esm5/lib/Toolbar.js +7 -0
  142. package/esm5/lib/ToolbarIconManager.js +44 -0
  143. package/esm5/lib/ToolbarOrientation.js +16 -0
  144. package/esm5/lib/ToolbarView.js +7 -0
  145. package/esm5/lib/ToolbarView_combined.js +459 -0
  146. package/esm5/lib/igc-list-panel-component.js +544 -0
  147. package/esm5/lib/igc-list-panel-content-refreshed-event-args.js +30 -0
  148. package/esm5/lib/igc-list-panel-item-model.js +79 -0
  149. package/esm5/lib/igc-list-panel-module.js +21 -0
  150. package/esm5/lib/igc-list-panel-template-height-requested-event-args.js +60 -0
  151. package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +65 -0
  152. package/esm5/lib/igc-list-panel-template-width-requested-event-args.js +60 -0
  153. package/esm5/lib/igc-popup-component.js +7 -0
  154. package/esm5/lib/igc-property-editor-data-source.js +7 -2
  155. package/esm5/lib/igc-property-editor-description-object.js +5 -0
  156. package/esm5/lib/igc-property-editor-panel-component.js +6 -5
  157. package/esm5/lib/igc-property-editor-property-description-component.js +33 -5
  158. package/esm5/lib/igc-tool-action-checkbox-component.js +72 -0
  159. package/esm5/lib/igc-tool-action-checkbox-module.js +20 -0
  160. package/esm5/lib/igc-tool-action-collection.js +53 -0
  161. package/esm5/lib/igc-tool-action-component.js +409 -0
  162. package/esm5/lib/igc-tool-action-event-detail-collection.js +53 -0
  163. package/esm5/lib/igc-tool-action-event-detail.js +125 -0
  164. package/esm5/lib/igc-tool-action-group-header-component.js +72 -0
  165. package/esm5/lib/igc-tool-action-group-header-module.js +20 -0
  166. package/esm5/lib/igc-tool-action-icon-button-component.js +72 -0
  167. package/esm5/lib/igc-tool-action-icon-button-module.js +20 -0
  168. package/esm5/lib/igc-tool-action-icon-menu-component.js +72 -0
  169. package/esm5/lib/igc-tool-action-icon-menu-module.js +20 -0
  170. package/esm5/lib/igc-tool-action-label-component.js +72 -0
  171. package/esm5/lib/igc-tool-action-label-module.js +20 -0
  172. package/esm5/lib/igc-tool-action-menu-base-component.js +117 -0
  173. package/esm5/lib/igc-tool-action-module.js +20 -0
  174. package/esm5/lib/igc-tool-action-number-input-component.js +72 -0
  175. package/esm5/lib/igc-tool-action-number-input-module.js +20 -0
  176. package/esm5/lib/igc-tool-action-performed-event-args.js +104 -0
  177. package/esm5/lib/igc-tool-action-radio-component.js +82 -0
  178. package/esm5/lib/igc-tool-action-radio-module.js +20 -0
  179. package/esm5/lib/igc-tool-action-separator-component.js +72 -0
  180. package/esm5/lib/igc-tool-action-separator-module.js +20 -0
  181. package/esm5/lib/igc-tool-command-event-args.js +40 -0
  182. package/esm5/lib/igc-tool-panel-component.js +456 -0
  183. package/esm5/lib/igc-tool-panel-content-refreshed-event-args.js +30 -0
  184. package/esm5/lib/igc-tool-panel-module.js +33 -0
  185. package/esm5/lib/igc-toolbar-component.js +489 -0
  186. package/esm5/lib/igc-toolbar-module.js +23 -0
  187. package/esm5/lib/igc-x-expansion-panel-component.js +7 -0
  188. package/esm5/public_api.js +79 -0
  189. package/fesm2015/igniteui-webcomponents-layouts.js +6751 -262
  190. package/fesm5/igniteui-webcomponents-layouts.js +7595 -278
  191. package/lib/IExternalListPanel.d.ts +13 -0
  192. package/lib/IExternalToolPanel.d.ts +13 -0
  193. package/lib/IExternalToolbar.d.ts +13 -0
  194. package/lib/IListPanelView.d.ts +25 -0
  195. package/lib/IPropertyEditorPanelView.d.ts +26 -0
  196. package/lib/IToolPanelView.d.ts +25 -0
  197. package/lib/IToolbarView.d.ts +25 -0
  198. package/lib/ListPanel.d.ts +1 -0
  199. package/lib/ListPanelContentRefreshedEventArgs.d.ts +8 -0
  200. package/lib/ListPanelDataBindingEventArgs.d.ts +10 -0
  201. package/lib/ListPanelDataSourceNotificationBridge.d.ts +1 -0
  202. package/lib/ListPanelItemModel.d.ts +22 -0
  203. package/lib/ListPanelItemPresenter.d.ts +9 -0
  204. package/lib/ListPanelLayoutPanel.d.ts +1 -0
  205. package/lib/ListPanelOrientation.d.ts +9 -0
  206. package/lib/ListPanelTemplateHeightRequestedEventArgs.d.ts +10 -0
  207. package/lib/ListPanelTemplateItemUpdatingEventArgs.d.ts +12 -0
  208. package/lib/ListPanelTemplateWidthRequestedEventArgs.d.ts +10 -0
  209. package/lib/ListPanelView.d.ts +1 -0
  210. package/lib/ListPanelView_combined.d.ts +197 -0
  211. package/lib/PropertyEditorPanelView_combined.d.ts +1 -1
  212. package/lib/PropertyEditorPropertyDescription_combined.d.ts +13 -10
  213. package/lib/PropertyEditorValueType.d.ts +2 -1
  214. package/lib/ToolAction.d.ts +1 -0
  215. package/lib/ToolActionCheckbox.d.ts +1 -0
  216. package/lib/ToolActionCollection.d.ts +1 -0
  217. package/lib/ToolActionEventDetail.d.ts +1 -0
  218. package/lib/ToolActionEventDetailCollection.d.ts +1 -0
  219. package/lib/ToolActionGroupHeader.d.ts +1 -0
  220. package/lib/ToolActionIconButton.d.ts +1 -0
  221. package/lib/ToolActionIconMenu.d.ts +1 -0
  222. package/lib/ToolActionLabel.d.ts +1 -0
  223. package/lib/ToolActionMeasurementContext.d.ts +16 -0
  224. package/lib/ToolActionMenuBase.d.ts +1 -0
  225. package/lib/ToolActionNumberInput.d.ts +1 -0
  226. package/lib/ToolActionPerformedEventArgs.d.ts +1 -0
  227. package/lib/ToolActionRadio.d.ts +1 -0
  228. package/lib/ToolActionSeparator.d.ts +1 -0
  229. package/lib/ToolCommandEventArgs.d.ts +10 -0
  230. package/lib/ToolPanel.d.ts +1 -0
  231. package/lib/ToolPanelContentRefreshedEventArgs.d.ts +8 -0
  232. package/lib/ToolPanelOrientation.d.ts +9 -0
  233. package/lib/ToolPanelView.d.ts +1 -0
  234. package/lib/ToolPanelView_combined.d.ts +355 -0
  235. package/lib/Toolbar.d.ts +1 -0
  236. package/lib/ToolbarIconManager.d.ts +10 -0
  237. package/lib/ToolbarOrientation.d.ts +9 -0
  238. package/lib/ToolbarView.d.ts +1 -0
  239. package/lib/ToolbarView_combined.d.ts +98 -0
  240. package/lib/igc-list-panel-component.d.ts +122 -0
  241. package/lib/igc-list-panel-content-refreshed-event-args.d.ts +12 -0
  242. package/lib/igc-list-panel-item-model.d.ts +17 -0
  243. package/lib/igc-list-panel-module.d.ts +3 -0
  244. package/lib/igc-list-panel-template-height-requested-event-args.d.ts +15 -0
  245. package/lib/igc-list-panel-template-item-updating-event-args.d.ts +15 -0
  246. package/lib/igc-list-panel-template-width-requested-event-args.d.ts +15 -0
  247. package/lib/igc-property-editor-panel-component.d.ts +0 -2
  248. package/lib/igc-property-editor-property-description-component.d.ts +1 -0
  249. package/lib/igc-tool-action-checkbox-component.d.ts +17 -0
  250. package/lib/igc-tool-action-checkbox-module.d.ts +3 -0
  251. package/lib/igc-tool-action-collection.d.ts +8 -0
  252. package/lib/igc-tool-action-component.d.ts +65 -0
  253. package/lib/igc-tool-action-event-detail-collection.d.ts +8 -0
  254. package/lib/igc-tool-action-event-detail.d.ts +22 -0
  255. package/lib/igc-tool-action-group-header-component.d.ts +17 -0
  256. package/lib/igc-tool-action-group-header-module.d.ts +3 -0
  257. package/lib/igc-tool-action-icon-button-component.d.ts +17 -0
  258. package/lib/igc-tool-action-icon-button-module.d.ts +3 -0
  259. package/lib/igc-tool-action-icon-menu-component.d.ts +17 -0
  260. package/lib/igc-tool-action-icon-menu-module.d.ts +3 -0
  261. package/lib/igc-tool-action-label-component.d.ts +17 -0
  262. package/lib/igc-tool-action-label-module.d.ts +3 -0
  263. package/lib/igc-tool-action-menu-base-component.d.ts +25 -0
  264. package/lib/igc-tool-action-module.d.ts +3 -0
  265. package/lib/igc-tool-action-number-input-component.d.ts +17 -0
  266. package/lib/igc-tool-action-number-input-module.d.ts +3 -0
  267. package/lib/igc-tool-action-performed-event-args.d.ts +18 -0
  268. package/lib/igc-tool-action-radio-component.d.ts +18 -0
  269. package/lib/igc-tool-action-radio-module.d.ts +3 -0
  270. package/lib/igc-tool-action-separator-component.d.ts +17 -0
  271. package/lib/igc-tool-action-separator-module.d.ts +3 -0
  272. package/lib/igc-tool-command-event-args.d.ts +14 -0
  273. package/lib/igc-tool-panel-component.d.ts +83 -0
  274. package/lib/igc-tool-panel-content-refreshed-event-args.d.ts +12 -0
  275. package/lib/igc-tool-panel-module.d.ts +3 -0
  276. package/lib/igc-toolbar-component.d.ts +89 -0
  277. package/lib/igc-toolbar-module.d.ts +3 -0
  278. package/package.json +3 -3
  279. package/public_api.d.ts +79 -0
@@ -0,0 +1,42 @@
1
+ import { ListPanelTemplateWidthRequestedEventArgs as ListPanelTemplateWidthRequestedEventArgs_internal } from "./ListPanelTemplateWidthRequestedEventArgs";
2
+ export class IgcListPanelTemplateWidthRequestedEventArgs {
3
+ createImplementation() {
4
+ return new ListPanelTemplateWidthRequestedEventArgs_internal();
5
+ }
6
+ /**
7
+ * @hidden
8
+ */
9
+ get i() {
10
+ return this._implementation;
11
+ }
12
+ onImplementationCreated() {
13
+ }
14
+ constructor() {
15
+ this._implementation = this.createImplementation();
16
+ this._implementation.externalObject = this;
17
+ this.onImplementationCreated();
18
+ }
19
+ _provideImplementation(i) {
20
+ this._implementation = i;
21
+ this._implementation.externalObject = this;
22
+ this.onImplementationCreated();
23
+ }
24
+ get dataRow() {
25
+ return this.i.b;
26
+ }
27
+ set dataRow(v) {
28
+ this.i.b = +v;
29
+ }
30
+ get dataItem() {
31
+ return this.i.c;
32
+ }
33
+ set dataItem(v) {
34
+ this.i.c = v;
35
+ }
36
+ get width() {
37
+ return this.i.a;
38
+ }
39
+ set width(v) {
40
+ this.i.a = +v;
41
+ }
42
+ }
@@ -245,6 +245,11 @@ export let IgcPopupComponent = /*@__PURE__*/ (() => {
245
245
  this._a("background", brushToString(this.i.a8));
246
246
  }
247
247
  findByName(name) {
248
+ if (this.findEphemera) {
249
+ if (name && name.indexOf("@@e:") == 0) {
250
+ return this.findEphemera(name);
251
+ }
252
+ }
248
253
  return null;
249
254
  }
250
255
  get hasUserValues() {
@@ -347,6 +352,7 @@ export let IgcPopupComponent = /*@__PURE__*/ (() => {
347
352
  }
348
353
  };
349
354
  this.i.onClosed = delegateCombine(this.i.onClosed, this._onClosed_wrapped);
355
+ ;
350
356
  }
351
357
  /**
352
358
  * Fires when the popup is shown
@@ -372,6 +378,7 @@ export let IgcPopupComponent = /*@__PURE__*/ (() => {
372
378
  }
373
379
  };
374
380
  this.i.onPopup = delegateCombine(this.i.onPopup, this._onPopup_wrapped);
381
+ ;
375
382
  }
376
383
  }
377
384
  IgcPopupComponent._observedAttributesIgcPopupComponent = null;
@@ -22,10 +22,10 @@ export class IgcPropertyEditorDataSource {
22
22
  this.onImplementationCreated();
23
23
  }
24
24
  get descriptionType() {
25
- return this.i.l;
25
+ return this.i.n;
26
26
  }
27
27
  set descriptionType(v) {
28
- this.i.l = v;
28
+ this.i.n = v;
29
29
  }
30
30
  get context() {
31
31
  return this.i.b;
@@ -34,6 +34,11 @@ export class IgcPropertyEditorDataSource {
34
34
  this.i.b = v;
35
35
  }
36
36
  findByName(name) {
37
+ if (this.findEphemera) {
38
+ if (name && name.indexOf("@@e:") == 0) {
39
+ return this.findEphemera(name);
40
+ }
41
+ }
37
42
  return null;
38
43
  }
39
44
  }
@@ -62,6 +62,11 @@ export class IgcPropertyEditorDescriptionObject {
62
62
  this.i.a = innerColl;
63
63
  }
64
64
  findByName(name) {
65
+ if (this.findEphemera) {
66
+ if (name && name.indexOf("@@e:") == 0) {
67
+ return this.findEphemera(name);
68
+ }
69
+ }
65
70
  if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
66
71
  return this.properties.findByName(name);
67
72
  }
@@ -1,4 +1,4 @@
1
- import { fromSize, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
1
+ import { brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
2
2
  import { FontInfo } from "igniteui-webcomponents-core";
3
3
  import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
4
4
  import { CollectionAdapter } from "igniteui-webcomponents-core";
@@ -356,6 +356,11 @@ export let IgcPropertyEditorPanelComponent = /*@__PURE__*/ (() => {
356
356
  this._a("textColor", brushToString(this.i.d9));
357
357
  }
358
358
  findByName(name) {
359
+ if (this.findEphemera) {
360
+ if (name && name.indexOf("@@e:") == 0) {
361
+ return this.findEphemera(name);
362
+ }
363
+ }
359
364
  if (this.actualDataSource != null && this.actualDataSource.findByName && this.actualDataSource.findByName(name)) {
360
365
  return this.actualDataSource.findByName(name);
361
366
  }
@@ -417,10 +422,6 @@ export let IgcPropertyEditorPanelComponent = /*@__PURE__*/ (() => {
417
422
  }
418
423
  this._inStyling = false;
419
424
  }
420
- getDesiredSize() {
421
- let iv = this.i.ea();
422
- return fromSize(iv);
423
- }
424
425
  notifySetItem(index, oldItem, newItem) {
425
426
  this.i.dq(index, oldItem, newItem);
426
427
  }
@@ -99,11 +99,25 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
99
99
  if (super["connectedCallback"]) {
100
100
  super["connectedCallback"]();
101
101
  }
102
+ if (this.i.connectedCallback) {
103
+ this.i.connectedCallback();
104
+ }
102
105
  if (!this._attached) {
103
106
  this._attached = true;
104
107
  this._flushQueuedAttributes();
105
108
  }
106
109
  }
110
+ disconnectedCallback() {
111
+ if (super["disconnectedCallback"]) {
112
+ super["disconnectedCallback"]();
113
+ }
114
+ if (this.i.disconnectedCallback) {
115
+ this.i.disconnectedCallback();
116
+ }
117
+ if (this._attached) {
118
+ this._attached = false;
119
+ }
120
+ }
107
121
  static get observedAttributes() {
108
122
  if (IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent == null) {
109
123
  let names = getAllPropertyNames(IgcPropertyEditorPropertyDescriptionComponent);
@@ -229,15 +243,21 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
229
243
  this._a("step", this.i.aa);
230
244
  }
231
245
  get complexValue() {
232
- if (this.i.g == null) {
246
+ const r = this.i.g;
247
+ if (r == null) {
233
248
  return null;
234
249
  }
235
- if (!this.i.g.externalObject) {
250
+ if (!r.externalObject) {
236
251
  let e = new IgcPropertyEditorDescriptionObject();
237
- e._implementation = this.i.g;
238
- this.i.g.externalObject = e;
252
+ if (e.i.setNativeElement) {
253
+ e.i.setNativeElement(r);
254
+ }
255
+ else {
256
+ e._implementation = r;
257
+ }
258
+ r.externalObject = e;
239
259
  }
240
- return this.i.g.externalObject;
260
+ return r.externalObject;
241
261
  }
242
262
  set complexValue(v) {
243
263
  v == null ? this.i.g = null : this.i.g = v.i;
@@ -272,6 +292,11 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
272
292
  this.i.i = innerColl;
273
293
  }
274
294
  findByName(name) {
295
+ if (this.findEphemera) {
296
+ if (name && name.indexOf("@@e:") == 0) {
297
+ return this.findEphemera(name);
298
+ }
299
+ }
275
300
  if (this.complexValue && this.complexValue.name && this.complexValue.name == name) {
276
301
  return this.complexValue;
277
302
  }
@@ -354,6 +379,7 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
354
379
  }
355
380
  };
356
381
  this.i.buttonClicked = delegateCombine(this.i.buttonClicked, this._buttonClicked_wrapped);
382
+ ;
357
383
  }
358
384
  get changed() {
359
385
  return this._changed;
@@ -376,6 +402,7 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
376
402
  }
377
403
  };
378
404
  this.i.changed = delegateCombine(this.i.changed, this._changed_wrapped);
405
+ ;
379
406
  }
380
407
  get targetPropertyUpdating() {
381
408
  return this._targetPropertyUpdating;
@@ -398,6 +425,7 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
398
425
  }
399
426
  };
400
427
  this.i.targetPropertyUpdating = delegateCombine(this.i.targetPropertyUpdating, this._targetPropertyUpdating_wrapped);
428
+ ;
401
429
  }
402
430
  }
403
431
  IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent = null;
@@ -0,0 +1,63 @@
1
+ import { IgcToolActionComponent } from "./igc-tool-action-component";
2
+ import { ToolActionCheckbox } from "./ToolActionCheckbox";
3
+ import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
4
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
5
+ export let IgcToolActionCheckboxComponent = /*@__PURE__*/ (() => {
6
+ class IgcToolActionCheckboxComponent extends IgcToolActionComponent {
7
+ constructor() {
8
+ super();
9
+ }
10
+ createImplementation() {
11
+ return new ToolActionCheckbox();
12
+ }
13
+ /**
14
+ * @hidden
15
+ */
16
+ get i() {
17
+ return this._implementation;
18
+ }
19
+ connectedCallback() {
20
+ if (super["connectedCallback"]) {
21
+ super["connectedCallback"]();
22
+ }
23
+ if (this.i.connectedCallback) {
24
+ this.i.connectedCallback();
25
+ }
26
+ if (!this._attached) {
27
+ this._attached = true;
28
+ this._flushQueuedAttributes();
29
+ }
30
+ }
31
+ disconnectedCallback() {
32
+ if (super["disconnectedCallback"]) {
33
+ super["disconnectedCallback"]();
34
+ }
35
+ if (this.i.disconnectedCallback) {
36
+ this.i.disconnectedCallback();
37
+ }
38
+ if (this._attached) {
39
+ this._attached = false;
40
+ }
41
+ }
42
+ static get observedAttributes() {
43
+ if (IgcToolActionCheckboxComponent._observedAttributesIgcToolActionCheckboxComponent == null) {
44
+ let names = getAllPropertyNames(IgcToolActionCheckboxComponent);
45
+ for (let i = 0; i < names.length; i++) {
46
+ names[i] = toSpinal(names[i]);
47
+ }
48
+ IgcToolActionCheckboxComponent._observedAttributesIgcToolActionCheckboxComponent = names;
49
+ }
50
+ return IgcToolActionCheckboxComponent._observedAttributesIgcToolActionCheckboxComponent;
51
+ }
52
+ static register() {
53
+ if (!IgcToolActionCheckboxComponent._isElementRegistered) {
54
+ IgcToolActionCheckboxComponent._isElementRegistered = true;
55
+ RegisterElementHelper.registerElement(IgcToolActionCheckboxComponent.htmlTagName, IgcToolActionCheckboxComponent);
56
+ }
57
+ }
58
+ }
59
+ IgcToolActionCheckboxComponent._observedAttributesIgcToolActionCheckboxComponent = null;
60
+ IgcToolActionCheckboxComponent.htmlTagName = "igc-tool-action-checkbox";
61
+ IgcToolActionCheckboxComponent._isElementRegistered = false;
62
+ return IgcToolActionCheckboxComponent;
63
+ })();
@@ -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 { IgcToolActionCheckboxComponent } from './igc-tool-action-checkbox-component';
8
+ import { ToolActionCheckbox } from './ToolActionCheckbox';
9
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
10
+ export class IgcToolActionCheckboxModule {
11
+ static register() {
12
+ IgcToolActionCheckboxComponent.register();
13
+ TypeRegistrar.registerCons("IgcToolActionCheckboxComponent", IgcToolActionCheckboxComponent);
14
+ TypeRegistrar.register("ToolActionCheckbox", ToolActionCheckbox.$type);
15
+ }
16
+ }
@@ -0,0 +1,48 @@
1
+ import { IgCollection } from "igniteui-webcomponents-core";
2
+ import { markType } from "igniteui-webcomponents-core";
3
+ import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
4
+ import { ToolAction as ToolAction_internal } from './ToolAction';
5
+ import { IgcToolActionComponent as IgcToolActionComponent } from './igc-tool-action-component';
6
+ export class IgcToolActionCollection extends IgCollection {
7
+ constructor(list) {
8
+ super();
9
+ if (!IgcToolActionComponent.$type) {
10
+ IgcToolActionComponent.$type = markType(IgcToolActionComponent, "IgcToolActionComponent");
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 (!IgcToolActionComponent.$type) {
20
+ IgcToolActionComponent.$type = markType(IgcToolActionComponent, "IgcToolActionComponent");
21
+ }
22
+ let coll = new SyncableObservableCollection$2(IgcToolActionComponent.$type, ToolAction_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 IgcToolActionComponent();
40
+ if (ext) {
41
+ ext._implementation = int;
42
+ }
43
+ }
44
+ return ext;
45
+ };
46
+ return coll;
47
+ }
48
+ }
@@ -0,0 +1,333 @@
1
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
2
+ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
3
+ import { IgcToolCommandEventArgs } from "./igc-tool-command-event-args";
4
+ import { IgcToolActionPerformedEventArgs } from "./igc-tool-action-performed-event-args";
5
+ import { ToolAction } from "./ToolAction";
6
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
7
+ import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, initializePropertiesFromCss } from "igniteui-webcomponents-core";
8
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
9
+ /**
10
+ * Represents base class for all tool actions in toolbar
11
+ */
12
+ export let IgcToolActionComponent = /*@__PURE__*/ (() => {
13
+ class IgcToolActionComponent extends IgcHTMLElement {
14
+ constructor() {
15
+ super();
16
+ this._settingAttributes = false;
17
+ this._attached = false;
18
+ this._queuedSetAttributes = [];
19
+ this._updatingFromAttribute = false;
20
+ this.__p = null;
21
+ this._hasUserValues = new Set();
22
+ this._stylingContainer = null;
23
+ this._stylingParent = null;
24
+ this._inStyling = false;
25
+ this._onCommand = null;
26
+ this._onCommand_wrapped = null;
27
+ this._performed = null;
28
+ this._performed_wrapped = null;
29
+ if (this._styling) {
30
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
31
+ }
32
+ this._implementation = this.createImplementation();
33
+ this._implementation.externalObject = this;
34
+ this.onImplementationCreated();
35
+ }
36
+ createImplementation() {
37
+ return new ToolAction();
38
+ }
39
+ /**
40
+ * @hidden
41
+ */
42
+ get i() {
43
+ return this._implementation;
44
+ } /**
45
+ * @hidden
46
+ */
47
+ static _createFromInternal(internal) {
48
+ if (!internal) {
49
+ return null;
50
+ }
51
+ if (!internal.$type) {
52
+ return null;
53
+ }
54
+ let name = internal.$type.name;
55
+ let externalName = "Igc" + name + "Component";
56
+ if (!TypeRegistrar.isRegistered(externalName)) {
57
+ return null;
58
+ }
59
+ return TypeRegistrar.create(externalName);
60
+ }
61
+ onImplementationCreated() {
62
+ }
63
+ _enqueueSetAttribute(attrName, attrValue) {
64
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
65
+ }
66
+ _flushQueuedAttributes() {
67
+ this._settingAttributes = true;
68
+ for (let i = 0; i < this._queuedSetAttributes.length; i++) {
69
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
70
+ }
71
+ this._settingAttributes = false;
72
+ this._queuedSetAttributes.length = 0;
73
+ }
74
+ _a(attrName, attrValue) {
75
+ if (this._updatingFromAttribute) {
76
+ return;
77
+ }
78
+ if (attrValue) {
79
+ attrValue = attrValue.toString();
80
+ }
81
+ this._settingAttributes = true;
82
+ attrName = toSpinal(attrName);
83
+ if (this._attached) {
84
+ this.setAttribute(attrName, attrValue);
85
+ }
86
+ else {
87
+ this._enqueueSetAttribute(attrName, attrValue);
88
+ }
89
+ this._settingAttributes = false;
90
+ }
91
+ connectedCallback() {
92
+ if (super["connectedCallback"]) {
93
+ super["connectedCallback"]();
94
+ }
95
+ if (this.i.connectedCallback) {
96
+ this.i.connectedCallback();
97
+ }
98
+ if (!this._attached) {
99
+ this._attached = true;
100
+ this._flushQueuedAttributes();
101
+ }
102
+ }
103
+ disconnectedCallback() {
104
+ if (super["disconnectedCallback"]) {
105
+ super["disconnectedCallback"]();
106
+ }
107
+ if (this.i.disconnectedCallback) {
108
+ this.i.disconnectedCallback();
109
+ }
110
+ if (this._attached) {
111
+ this._attached = false;
112
+ }
113
+ }
114
+ static get observedAttributes() {
115
+ if (IgcToolActionComponent._observedAttributesIgcToolActionComponent == null) {
116
+ let names = getAllPropertyNames(IgcToolActionComponent);
117
+ for (let i = 0; i < names.length; i++) {
118
+ names[i] = toSpinal(names[i]);
119
+ }
120
+ IgcToolActionComponent._observedAttributesIgcToolActionComponent = names;
121
+ }
122
+ return IgcToolActionComponent._observedAttributesIgcToolActionComponent;
123
+ }
124
+ attributeChangedCallback(name, oldValue, newValue) {
125
+ if (this._settingAttributes) {
126
+ return;
127
+ }
128
+ let setName = fromSpinal(name);
129
+ this._updatingFromAttribute = true;
130
+ this[setName] = newValue;
131
+ this._updatingFromAttribute = false;
132
+ }
133
+ static register() {
134
+ if (!IgcToolActionComponent._isElementRegistered) {
135
+ IgcToolActionComponent._isElementRegistered = true;
136
+ RegisterElementHelper.registerElement(IgcToolActionComponent.htmlTagName, IgcToolActionComponent);
137
+ }
138
+ }
139
+ get id() {
140
+ return this.i.ao;
141
+ }
142
+ get parentId() {
143
+ return this.i.ax;
144
+ }
145
+ set parentId(v) {
146
+ this.i.ax = v;
147
+ }
148
+ get commandId() {
149
+ return this.i.ai;
150
+ }
151
+ set commandId(v) {
152
+ this.i.ai = v;
153
+ }
154
+ get commandArgument() {
155
+ return this.i.af;
156
+ }
157
+ set commandArgument(v) {
158
+ this.i.af = v;
159
+ }
160
+ get commandArgumentValue() {
161
+ return this.i.v;
162
+ }
163
+ set commandArgumentValue(v) {
164
+ this.i.v = v;
165
+ }
166
+ get paddingLeft() {
167
+ return this.i.r;
168
+ }
169
+ set paddingLeft(v) {
170
+ this.i.r = +v;
171
+ this._a("paddingLeft", this.i.r);
172
+ }
173
+ get paddingRight() {
174
+ return this.i.s;
175
+ }
176
+ set paddingRight(v) {
177
+ this.i.s = +v;
178
+ this._a("paddingRight", this.i.s);
179
+ }
180
+ get paddingBottom() {
181
+ return this.i.q;
182
+ }
183
+ set paddingBottom(v) {
184
+ this.i.q = +v;
185
+ this._a("paddingBottom", this.i.q);
186
+ }
187
+ get paddingTop() {
188
+ return this.i.t;
189
+ }
190
+ set paddingTop(v) {
191
+ this.i.t = +v;
192
+ this._a("paddingTop", this.i.t);
193
+ }
194
+ get name() {
195
+ return this.i.ar;
196
+ }
197
+ set name(v) {
198
+ this.i.ar = v;
199
+ }
200
+ get label() {
201
+ return this.i.ap;
202
+ }
203
+ set label(v) {
204
+ this.i.ap = v;
205
+ }
206
+ get iconName() {
207
+ return this.i.am;
208
+ }
209
+ set iconName(v) {
210
+ this.i.am = v;
211
+ }
212
+ get iconCollectionName() {
213
+ return this.i.ak;
214
+ }
215
+ set iconCollectionName(v) {
216
+ this.i.ak = v;
217
+ }
218
+ findByName(name) {
219
+ if (this.findEphemera) {
220
+ if (name && name.indexOf("@@e:") == 0) {
221
+ return this.findEphemera(name);
222
+ }
223
+ }
224
+ return null;
225
+ }
226
+ get hasUserValues() {
227
+ return this._hasUserValues;
228
+ }
229
+ __m(propertyName) {
230
+ if (!this._inStyling) {
231
+ this._hasUserValues.add(propertyName);
232
+ }
233
+ }
234
+ _styling(container, component, parent) {
235
+ if (this._inStyling) {
236
+ return;
237
+ }
238
+ this._inStyling = true;
239
+ this._stylingContainer = container;
240
+ this._stylingParent = component;
241
+ let genericPrefix = "";
242
+ let typeName = this.i.$type.name;
243
+ if (typeName.indexOf("Xam") === 0) {
244
+ typeName = typeName.substring(3);
245
+ }
246
+ genericPrefix = toSpinal("ToolActionComponent");
247
+ let additionalPrefixes = [];
248
+ let prefix = toSpinal(typeName);
249
+ additionalPrefixes.push(prefix + "-");
250
+ let b = this.i.$type.baseType;
251
+ while (b && b.name != "Object" &&
252
+ b.name != "Base" &&
253
+ b.name != "Control" &&
254
+ b.Name != "DependencyObject" &&
255
+ b.Name != "FrameworkElement") {
256
+ typeName = b.name;
257
+ if (typeName.indexOf("Xam") === 0) {
258
+ typeName = typeName.substring(3);
259
+ }
260
+ let basePrefix = toSpinal(typeName);
261
+ additionalPrefixes.push(basePrefix + "-");
262
+ b = b.baseType;
263
+ }
264
+ if (parent) {
265
+ let parentTypeName = parent.i.$type.name;
266
+ if (parentTypeName.indexOf("Xam") === 0) {
267
+ parentTypeName = parentTypeName.substring(3);
268
+ }
269
+ let parentPrefix = toSpinal(parentTypeName);
270
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
271
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
272
+ }
273
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
274
+ if (this._otherStyling) {
275
+ this._otherStyling(container, component, parent);
276
+ }
277
+ this._inStyling = false;
278
+ }
279
+ fromInfo(info) {
280
+ this.i.a6(info);
281
+ }
282
+ get onCommand() {
283
+ return this._onCommand;
284
+ }
285
+ set onCommand(ev) {
286
+ if (this._onCommand_wrapped !== null) {
287
+ this.i.onCommand = delegateRemove(this.i.onCommand, this._onCommand_wrapped);
288
+ this._onCommand_wrapped = null;
289
+ this._onCommand = null;
290
+ }
291
+ this._onCommand = ev;
292
+ this._onCommand_wrapped = (o, e) => {
293
+ let outerArgs = new IgcToolCommandEventArgs();
294
+ outerArgs._provideImplementation(e);
295
+ if (this.beforeOnCommand) {
296
+ this.beforeOnCommand(this, outerArgs);
297
+ }
298
+ if (this._onCommand) {
299
+ this._onCommand(this, outerArgs);
300
+ }
301
+ };
302
+ this.i.onCommand = delegateCombine(this.i.onCommand, this._onCommand_wrapped);
303
+ ;
304
+ }
305
+ get performed() {
306
+ return this._performed;
307
+ }
308
+ set performed(ev) {
309
+ if (this._performed_wrapped !== null) {
310
+ this.i.performed = delegateRemove(this.i.performed, this._performed_wrapped);
311
+ this._performed_wrapped = null;
312
+ this._performed = null;
313
+ }
314
+ this._performed = ev;
315
+ this._performed_wrapped = (o, e) => {
316
+ let outerArgs = new IgcToolActionPerformedEventArgs();
317
+ outerArgs._provideImplementation(e);
318
+ if (this.beforePerformed) {
319
+ this.beforePerformed(this, outerArgs);
320
+ }
321
+ if (this._performed) {
322
+ this._performed(this, outerArgs);
323
+ }
324
+ };
325
+ this.i.performed = delegateCombine(this.i.performed, this._performed_wrapped);
326
+ ;
327
+ }
328
+ }
329
+ IgcToolActionComponent._observedAttributesIgcToolActionComponent = null;
330
+ IgcToolActionComponent.htmlTagName = "igc-tool-action";
331
+ IgcToolActionComponent._isElementRegistered = false;
332
+ return IgcToolActionComponent;
333
+ })();