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