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,409 @@
|
|
|
1
|
+
import * as tslib_1 from "tslib";
|
|
2
|
+
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
3
|
+
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
4
|
+
import { IgcToolCommandEventArgs } from "./igc-tool-command-event-args";
|
|
5
|
+
import { IgcToolActionPerformedEventArgs } from "./igc-tool-action-performed-event-args";
|
|
6
|
+
import { ToolAction } from "./ToolAction";
|
|
7
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
8
|
+
import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, initializePropertiesFromCss } from "igniteui-webcomponents-core";
|
|
9
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
10
|
+
/**
|
|
11
|
+
* Represents base class for all tool actions in toolbar
|
|
12
|
+
*/
|
|
13
|
+
var IgcToolActionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
14
|
+
tslib_1.__extends(IgcToolActionComponent, _super);
|
|
15
|
+
function IgcToolActionComponent() {
|
|
16
|
+
var _this = _super.call(this) || this;
|
|
17
|
+
_this._settingAttributes = false;
|
|
18
|
+
_this._attached = false;
|
|
19
|
+
_this._queuedSetAttributes = [];
|
|
20
|
+
_this._updatingFromAttribute = false;
|
|
21
|
+
_this.__p = null;
|
|
22
|
+
_this._hasUserValues = new Set();
|
|
23
|
+
_this._stylingContainer = null;
|
|
24
|
+
_this._stylingParent = null;
|
|
25
|
+
_this._inStyling = false;
|
|
26
|
+
_this._onCommand = null;
|
|
27
|
+
_this._onCommand_wrapped = null;
|
|
28
|
+
_this._performed = null;
|
|
29
|
+
_this._performed_wrapped = null;
|
|
30
|
+
if (_this._styling) {
|
|
31
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
|
|
32
|
+
}
|
|
33
|
+
_this._implementation = _this.createImplementation();
|
|
34
|
+
_this._implementation.externalObject = _this;
|
|
35
|
+
_this.onImplementationCreated();
|
|
36
|
+
return _this;
|
|
37
|
+
}
|
|
38
|
+
IgcToolActionComponent.prototype.createImplementation = function () {
|
|
39
|
+
return new ToolAction();
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "i", {
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
get: function () {
|
|
46
|
+
return this._implementation;
|
|
47
|
+
} /**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/,
|
|
50
|
+
enumerable: true,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
IgcToolActionComponent._createFromInternal = function (internal) {
|
|
54
|
+
if (!internal) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
if (!internal.$type) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
var name = internal.$type.name;
|
|
61
|
+
var externalName = "Igc" + name + "Component";
|
|
62
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
return TypeRegistrar.create(externalName);
|
|
66
|
+
};
|
|
67
|
+
IgcToolActionComponent.prototype.onImplementationCreated = function () {
|
|
68
|
+
};
|
|
69
|
+
IgcToolActionComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
|
|
70
|
+
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
71
|
+
};
|
|
72
|
+
IgcToolActionComponent.prototype._flushQueuedAttributes = function () {
|
|
73
|
+
this._settingAttributes = true;
|
|
74
|
+
for (var i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
75
|
+
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
76
|
+
}
|
|
77
|
+
this._settingAttributes = false;
|
|
78
|
+
this._queuedSetAttributes.length = 0;
|
|
79
|
+
};
|
|
80
|
+
IgcToolActionComponent.prototype._a = function (attrName, attrValue) {
|
|
81
|
+
if (this._updatingFromAttribute) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
if (attrValue) {
|
|
85
|
+
attrValue = attrValue.toString();
|
|
86
|
+
}
|
|
87
|
+
this._settingAttributes = true;
|
|
88
|
+
attrName = toSpinal(attrName);
|
|
89
|
+
if (this._attached) {
|
|
90
|
+
this.setAttribute(attrName, attrValue);
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
this._enqueueSetAttribute(attrName, attrValue);
|
|
94
|
+
}
|
|
95
|
+
this._settingAttributes = false;
|
|
96
|
+
};
|
|
97
|
+
IgcToolActionComponent.prototype.connectedCallback = function () {
|
|
98
|
+
if (_super.prototype["connectedCallback"]) {
|
|
99
|
+
_super.prototype["connectedCallback"].call(this);
|
|
100
|
+
}
|
|
101
|
+
if (this.i.connectedCallback) {
|
|
102
|
+
this.i.connectedCallback();
|
|
103
|
+
}
|
|
104
|
+
if (!this._attached) {
|
|
105
|
+
this._attached = true;
|
|
106
|
+
this._flushQueuedAttributes();
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
IgcToolActionComponent.prototype.disconnectedCallback = function () {
|
|
110
|
+
if (_super.prototype["disconnectedCallback"]) {
|
|
111
|
+
_super.prototype["disconnectedCallback"].call(this);
|
|
112
|
+
}
|
|
113
|
+
if (this.i.disconnectedCallback) {
|
|
114
|
+
this.i.disconnectedCallback();
|
|
115
|
+
}
|
|
116
|
+
if (this._attached) {
|
|
117
|
+
this._attached = false;
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
Object.defineProperty(IgcToolActionComponent, "observedAttributes", {
|
|
121
|
+
get: function () {
|
|
122
|
+
if (IgcToolActionComponent._observedAttributesIgcToolActionComponent == null) {
|
|
123
|
+
var names = getAllPropertyNames(IgcToolActionComponent);
|
|
124
|
+
for (var i = 0; i < names.length; i++) {
|
|
125
|
+
names[i] = toSpinal(names[i]);
|
|
126
|
+
}
|
|
127
|
+
IgcToolActionComponent._observedAttributesIgcToolActionComponent = names;
|
|
128
|
+
}
|
|
129
|
+
return IgcToolActionComponent._observedAttributesIgcToolActionComponent;
|
|
130
|
+
},
|
|
131
|
+
enumerable: true,
|
|
132
|
+
configurable: true
|
|
133
|
+
});
|
|
134
|
+
IgcToolActionComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
|
|
135
|
+
if (this._settingAttributes) {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
var setName = fromSpinal(name);
|
|
139
|
+
this._updatingFromAttribute = true;
|
|
140
|
+
this[setName] = newValue;
|
|
141
|
+
this._updatingFromAttribute = false;
|
|
142
|
+
};
|
|
143
|
+
IgcToolActionComponent.register = function () {
|
|
144
|
+
if (!IgcToolActionComponent._isElementRegistered) {
|
|
145
|
+
IgcToolActionComponent._isElementRegistered = true;
|
|
146
|
+
RegisterElementHelper.registerElement(IgcToolActionComponent.htmlTagName, IgcToolActionComponent);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "id", {
|
|
150
|
+
get: function () {
|
|
151
|
+
return this.i.ao;
|
|
152
|
+
},
|
|
153
|
+
enumerable: true,
|
|
154
|
+
configurable: true
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "parentId", {
|
|
157
|
+
get: function () {
|
|
158
|
+
return this.i.ax;
|
|
159
|
+
},
|
|
160
|
+
set: function (v) {
|
|
161
|
+
this.i.ax = v;
|
|
162
|
+
},
|
|
163
|
+
enumerable: true,
|
|
164
|
+
configurable: true
|
|
165
|
+
});
|
|
166
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "commandId", {
|
|
167
|
+
get: function () {
|
|
168
|
+
return this.i.ai;
|
|
169
|
+
},
|
|
170
|
+
set: function (v) {
|
|
171
|
+
this.i.ai = v;
|
|
172
|
+
},
|
|
173
|
+
enumerable: true,
|
|
174
|
+
configurable: true
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "commandArgument", {
|
|
177
|
+
get: function () {
|
|
178
|
+
return this.i.af;
|
|
179
|
+
},
|
|
180
|
+
set: function (v) {
|
|
181
|
+
this.i.af = v;
|
|
182
|
+
},
|
|
183
|
+
enumerable: true,
|
|
184
|
+
configurable: true
|
|
185
|
+
});
|
|
186
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "commandArgumentValue", {
|
|
187
|
+
get: function () {
|
|
188
|
+
return this.i.v;
|
|
189
|
+
},
|
|
190
|
+
set: function (v) {
|
|
191
|
+
this.i.v = v;
|
|
192
|
+
},
|
|
193
|
+
enumerable: true,
|
|
194
|
+
configurable: true
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "paddingLeft", {
|
|
197
|
+
get: function () {
|
|
198
|
+
return this.i.r;
|
|
199
|
+
},
|
|
200
|
+
set: function (v) {
|
|
201
|
+
this.i.r = +v;
|
|
202
|
+
this._a("paddingLeft", this.i.r);
|
|
203
|
+
},
|
|
204
|
+
enumerable: true,
|
|
205
|
+
configurable: true
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "paddingRight", {
|
|
208
|
+
get: function () {
|
|
209
|
+
return this.i.s;
|
|
210
|
+
},
|
|
211
|
+
set: function (v) {
|
|
212
|
+
this.i.s = +v;
|
|
213
|
+
this._a("paddingRight", this.i.s);
|
|
214
|
+
},
|
|
215
|
+
enumerable: true,
|
|
216
|
+
configurable: true
|
|
217
|
+
});
|
|
218
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "paddingBottom", {
|
|
219
|
+
get: function () {
|
|
220
|
+
return this.i.q;
|
|
221
|
+
},
|
|
222
|
+
set: function (v) {
|
|
223
|
+
this.i.q = +v;
|
|
224
|
+
this._a("paddingBottom", this.i.q);
|
|
225
|
+
},
|
|
226
|
+
enumerable: true,
|
|
227
|
+
configurable: true
|
|
228
|
+
});
|
|
229
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "paddingTop", {
|
|
230
|
+
get: function () {
|
|
231
|
+
return this.i.t;
|
|
232
|
+
},
|
|
233
|
+
set: function (v) {
|
|
234
|
+
this.i.t = +v;
|
|
235
|
+
this._a("paddingTop", this.i.t);
|
|
236
|
+
},
|
|
237
|
+
enumerable: true,
|
|
238
|
+
configurable: true
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "name", {
|
|
241
|
+
get: function () {
|
|
242
|
+
return this.i.ar;
|
|
243
|
+
},
|
|
244
|
+
set: function (v) {
|
|
245
|
+
this.i.ar = v;
|
|
246
|
+
},
|
|
247
|
+
enumerable: true,
|
|
248
|
+
configurable: true
|
|
249
|
+
});
|
|
250
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "label", {
|
|
251
|
+
get: function () {
|
|
252
|
+
return this.i.ap;
|
|
253
|
+
},
|
|
254
|
+
set: function (v) {
|
|
255
|
+
this.i.ap = v;
|
|
256
|
+
},
|
|
257
|
+
enumerable: true,
|
|
258
|
+
configurable: true
|
|
259
|
+
});
|
|
260
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "iconName", {
|
|
261
|
+
get: function () {
|
|
262
|
+
return this.i.am;
|
|
263
|
+
},
|
|
264
|
+
set: function (v) {
|
|
265
|
+
this.i.am = v;
|
|
266
|
+
},
|
|
267
|
+
enumerable: true,
|
|
268
|
+
configurable: true
|
|
269
|
+
});
|
|
270
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "iconCollectionName", {
|
|
271
|
+
get: function () {
|
|
272
|
+
return this.i.ak;
|
|
273
|
+
},
|
|
274
|
+
set: function (v) {
|
|
275
|
+
this.i.ak = v;
|
|
276
|
+
},
|
|
277
|
+
enumerable: true,
|
|
278
|
+
configurable: true
|
|
279
|
+
});
|
|
280
|
+
IgcToolActionComponent.prototype.findByName = function (name) {
|
|
281
|
+
if (this.findEphemera) {
|
|
282
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
283
|
+
return this.findEphemera(name);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
return null;
|
|
287
|
+
};
|
|
288
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "hasUserValues", {
|
|
289
|
+
get: function () {
|
|
290
|
+
return this._hasUserValues;
|
|
291
|
+
},
|
|
292
|
+
enumerable: true,
|
|
293
|
+
configurable: true
|
|
294
|
+
});
|
|
295
|
+
IgcToolActionComponent.prototype.__m = function (propertyName) {
|
|
296
|
+
if (!this._inStyling) {
|
|
297
|
+
this._hasUserValues.add(propertyName);
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
IgcToolActionComponent.prototype._styling = function (container, component, parent) {
|
|
301
|
+
if (this._inStyling) {
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
this._inStyling = true;
|
|
305
|
+
this._stylingContainer = container;
|
|
306
|
+
this._stylingParent = component;
|
|
307
|
+
var genericPrefix = "";
|
|
308
|
+
var typeName = this.i.$type.name;
|
|
309
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
310
|
+
typeName = typeName.substring(3);
|
|
311
|
+
}
|
|
312
|
+
genericPrefix = toSpinal("ToolActionComponent");
|
|
313
|
+
var additionalPrefixes = [];
|
|
314
|
+
var prefix = toSpinal(typeName);
|
|
315
|
+
additionalPrefixes.push(prefix + "-");
|
|
316
|
+
var b = this.i.$type.baseType;
|
|
317
|
+
while (b && b.name != "Object" &&
|
|
318
|
+
b.name != "Base" &&
|
|
319
|
+
b.name != "Control" &&
|
|
320
|
+
b.Name != "DependencyObject" &&
|
|
321
|
+
b.Name != "FrameworkElement") {
|
|
322
|
+
typeName = b.name;
|
|
323
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
324
|
+
typeName = typeName.substring(3);
|
|
325
|
+
}
|
|
326
|
+
var basePrefix = toSpinal(typeName);
|
|
327
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
328
|
+
b = b.baseType;
|
|
329
|
+
}
|
|
330
|
+
if (parent) {
|
|
331
|
+
var parentTypeName = parent.i.$type.name;
|
|
332
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
333
|
+
parentTypeName = parentTypeName.substring(3);
|
|
334
|
+
}
|
|
335
|
+
var parentPrefix = toSpinal(parentTypeName);
|
|
336
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
337
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
338
|
+
}
|
|
339
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
340
|
+
if (this._otherStyling) {
|
|
341
|
+
this._otherStyling(container, component, parent);
|
|
342
|
+
}
|
|
343
|
+
this._inStyling = false;
|
|
344
|
+
};
|
|
345
|
+
IgcToolActionComponent.prototype.fromInfo = function (info) {
|
|
346
|
+
this.i.a6(info);
|
|
347
|
+
};
|
|
348
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "onCommand", {
|
|
349
|
+
get: function () {
|
|
350
|
+
return this._onCommand;
|
|
351
|
+
},
|
|
352
|
+
set: function (ev) {
|
|
353
|
+
var _this = this;
|
|
354
|
+
if (this._onCommand_wrapped !== null) {
|
|
355
|
+
this.i.onCommand = delegateRemove(this.i.onCommand, this._onCommand_wrapped);
|
|
356
|
+
this._onCommand_wrapped = null;
|
|
357
|
+
this._onCommand = null;
|
|
358
|
+
}
|
|
359
|
+
this._onCommand = ev;
|
|
360
|
+
this._onCommand_wrapped = function (o, e) {
|
|
361
|
+
var outerArgs = new IgcToolCommandEventArgs();
|
|
362
|
+
outerArgs._provideImplementation(e);
|
|
363
|
+
if (_this.beforeOnCommand) {
|
|
364
|
+
_this.beforeOnCommand(_this, outerArgs);
|
|
365
|
+
}
|
|
366
|
+
if (_this._onCommand) {
|
|
367
|
+
_this._onCommand(_this, outerArgs);
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
this.i.onCommand = delegateCombine(this.i.onCommand, this._onCommand_wrapped);
|
|
371
|
+
;
|
|
372
|
+
},
|
|
373
|
+
enumerable: true,
|
|
374
|
+
configurable: true
|
|
375
|
+
});
|
|
376
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "performed", {
|
|
377
|
+
get: function () {
|
|
378
|
+
return this._performed;
|
|
379
|
+
},
|
|
380
|
+
set: function (ev) {
|
|
381
|
+
var _this = this;
|
|
382
|
+
if (this._performed_wrapped !== null) {
|
|
383
|
+
this.i.performed = delegateRemove(this.i.performed, this._performed_wrapped);
|
|
384
|
+
this._performed_wrapped = null;
|
|
385
|
+
this._performed = null;
|
|
386
|
+
}
|
|
387
|
+
this._performed = ev;
|
|
388
|
+
this._performed_wrapped = function (o, e) {
|
|
389
|
+
var outerArgs = new IgcToolActionPerformedEventArgs();
|
|
390
|
+
outerArgs._provideImplementation(e);
|
|
391
|
+
if (_this.beforePerformed) {
|
|
392
|
+
_this.beforePerformed(_this, outerArgs);
|
|
393
|
+
}
|
|
394
|
+
if (_this._performed) {
|
|
395
|
+
_this._performed(_this, outerArgs);
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
this.i.performed = delegateCombine(this.i.performed, this._performed_wrapped);
|
|
399
|
+
;
|
|
400
|
+
},
|
|
401
|
+
enumerable: true,
|
|
402
|
+
configurable: true
|
|
403
|
+
});
|
|
404
|
+
IgcToolActionComponent._observedAttributesIgcToolActionComponent = null;
|
|
405
|
+
IgcToolActionComponent.htmlTagName = "igc-tool-action";
|
|
406
|
+
IgcToolActionComponent._isElementRegistered = false;
|
|
407
|
+
return IgcToolActionComponent;
|
|
408
|
+
}(IgcHTMLElement));
|
|
409
|
+
export { IgcToolActionComponent };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as tslib_1 from "tslib";
|
|
2
|
+
import { IgCollection } from "igniteui-webcomponents-core";
|
|
3
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
4
|
+
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
5
|
+
import { ToolActionEventDetail as ToolActionEventDetail_internal } from './ToolActionEventDetail';
|
|
6
|
+
import { IgcToolActionEventDetail as IgcToolActionEventDetail } from './igc-tool-action-event-detail';
|
|
7
|
+
var IgcToolActionEventDetailCollection = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
8
|
+
tslib_1.__extends(IgcToolActionEventDetailCollection, _super);
|
|
9
|
+
function IgcToolActionEventDetailCollection(list) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
if (!IgcToolActionEventDetail.$type) {
|
|
12
|
+
IgcToolActionEventDetail.$type = markType(IgcToolActionEventDetail, "IgcToolActionEventDetail");
|
|
13
|
+
}
|
|
14
|
+
if (list) {
|
|
15
|
+
for (var i = 0; i < list.length; i++) {
|
|
16
|
+
_this.add(list[i]);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return _this;
|
|
20
|
+
}
|
|
21
|
+
IgcToolActionEventDetailCollection.prototype._createInnerColl = function () {
|
|
22
|
+
if (!IgcToolActionEventDetail.$type) {
|
|
23
|
+
IgcToolActionEventDetail.$type = markType(IgcToolActionEventDetail, "IgcToolActionEventDetail");
|
|
24
|
+
}
|
|
25
|
+
var coll = new SyncableObservableCollection$2(IgcToolActionEventDetail.$type, ToolActionEventDetail_internal.$type, 0);
|
|
26
|
+
coll.compare = function (ext, int) {
|
|
27
|
+
var comp = ext;
|
|
28
|
+
if (comp._implementation) {
|
|
29
|
+
comp = comp._implementation;
|
|
30
|
+
}
|
|
31
|
+
if (comp.equals) {
|
|
32
|
+
return comp.equals(int);
|
|
33
|
+
}
|
|
34
|
+
return comp === int;
|
|
35
|
+
};
|
|
36
|
+
coll.createTo = function (ext) {
|
|
37
|
+
return ext._implementation;
|
|
38
|
+
};
|
|
39
|
+
coll.createFrom = function (int) {
|
|
40
|
+
var ext = int.externalObject;
|
|
41
|
+
if (!ext) {
|
|
42
|
+
ext = new IgcToolActionEventDetail();
|
|
43
|
+
if (ext) {
|
|
44
|
+
ext._implementation = int;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return ext;
|
|
48
|
+
};
|
|
49
|
+
return coll;
|
|
50
|
+
};
|
|
51
|
+
return IgcToolActionEventDetailCollection;
|
|
52
|
+
}(IgCollection));
|
|
53
|
+
export { IgcToolActionEventDetailCollection };
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { IgcToolActionComponent } from "./igc-tool-action-component";
|
|
2
|
+
import { ToolActionType_$type } from "igniteui-webcomponents-core";
|
|
3
|
+
import { ToolActionEventDetail as ToolActionEventDetail_internal } from "./ToolActionEventDetail";
|
|
4
|
+
import { ensureEnum, ensureBool } from "igniteui-webcomponents-core";
|
|
5
|
+
var IgcToolActionEventDetail = /** @class */ /*@__PURE__*/ (function () {
|
|
6
|
+
function IgcToolActionEventDetail() {
|
|
7
|
+
this._implementation = this.createImplementation();
|
|
8
|
+
this._implementation.externalObject = this;
|
|
9
|
+
this.onImplementationCreated();
|
|
10
|
+
}
|
|
11
|
+
IgcToolActionEventDetail.prototype.createImplementation = function () {
|
|
12
|
+
return new ToolActionEventDetail_internal();
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(IgcToolActionEventDetail.prototype, "i", {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get: function () {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
},
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
IgcToolActionEventDetail.prototype.onImplementationCreated = function () {
|
|
25
|
+
};
|
|
26
|
+
IgcToolActionEventDetail.prototype._provideImplementation = function (i) {
|
|
27
|
+
this._implementation = i;
|
|
28
|
+
this._implementation.externalObject = this;
|
|
29
|
+
this.onImplementationCreated();
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(IgcToolActionEventDetail.prototype, "action", {
|
|
32
|
+
get: function () {
|
|
33
|
+
var r = this.i.a;
|
|
34
|
+
if (r == null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
if (!r.externalObject) {
|
|
38
|
+
var e = IgcToolActionComponent._createFromInternal(r);
|
|
39
|
+
if (e) {
|
|
40
|
+
e._implementation = r;
|
|
41
|
+
}
|
|
42
|
+
r.externalObject = e;
|
|
43
|
+
}
|
|
44
|
+
return r.externalObject;
|
|
45
|
+
},
|
|
46
|
+
set: function (v) {
|
|
47
|
+
v == null ? this.i.a = null : this.i.a = v.i;
|
|
48
|
+
},
|
|
49
|
+
enumerable: true,
|
|
50
|
+
configurable: true
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(IgcToolActionEventDetail.prototype, "actionType", {
|
|
53
|
+
get: function () {
|
|
54
|
+
return this.i.b;
|
|
55
|
+
},
|
|
56
|
+
set: function (v) {
|
|
57
|
+
this.i.b = ensureEnum(ToolActionType_$type, v);
|
|
58
|
+
},
|
|
59
|
+
enumerable: true,
|
|
60
|
+
configurable: true
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(IgcToolActionEventDetail.prototype, "isModified", {
|
|
63
|
+
get: function () {
|
|
64
|
+
return this.i.d;
|
|
65
|
+
},
|
|
66
|
+
set: function (v) {
|
|
67
|
+
this.i.d = ensureBool(v);
|
|
68
|
+
},
|
|
69
|
+
enumerable: true,
|
|
70
|
+
configurable: true
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(IgcToolActionEventDetail.prototype, "boolValue", {
|
|
73
|
+
get: function () {
|
|
74
|
+
return this.i.c;
|
|
75
|
+
},
|
|
76
|
+
set: function (v) {
|
|
77
|
+
this.i.c = ensureBool(v);
|
|
78
|
+
},
|
|
79
|
+
enumerable: true,
|
|
80
|
+
configurable: true
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(IgcToolActionEventDetail.prototype, "numberValue", {
|
|
83
|
+
get: function () {
|
|
84
|
+
return this.i.f;
|
|
85
|
+
},
|
|
86
|
+
set: function (v) {
|
|
87
|
+
this.i.f = +v;
|
|
88
|
+
},
|
|
89
|
+
enumerable: true,
|
|
90
|
+
configurable: true
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(IgcToolActionEventDetail.prototype, "dateTimeValue", {
|
|
93
|
+
get: function () {
|
|
94
|
+
return this.i.e;
|
|
95
|
+
},
|
|
96
|
+
set: function (v) {
|
|
97
|
+
this.i.e = v;
|
|
98
|
+
},
|
|
99
|
+
enumerable: true,
|
|
100
|
+
configurable: true
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(IgcToolActionEventDetail.prototype, "untypedValue", {
|
|
103
|
+
get: function () {
|
|
104
|
+
return this.i.g;
|
|
105
|
+
},
|
|
106
|
+
set: function (v) {
|
|
107
|
+
this.i.g = v;
|
|
108
|
+
},
|
|
109
|
+
enumerable: true,
|
|
110
|
+
configurable: true
|
|
111
|
+
});
|
|
112
|
+
IgcToolActionEventDetail.prototype.findByName = function (name) {
|
|
113
|
+
if (this.findEphemera) {
|
|
114
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
115
|
+
return this.findEphemera(name);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
if (this.action && this.action.name && this.action.name == name) {
|
|
119
|
+
return this.action;
|
|
120
|
+
}
|
|
121
|
+
return null;
|
|
122
|
+
};
|
|
123
|
+
return IgcToolActionEventDetail;
|
|
124
|
+
}());
|
|
125
|
+
export { IgcToolActionEventDetail };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as tslib_1 from "tslib";
|
|
2
|
+
import { IgcToolActionComponent } from "./igc-tool-action-component";
|
|
3
|
+
import { ToolActionGroupHeader } from "./ToolActionGroupHeader";
|
|
4
|
+
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
|
|
5
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
6
|
+
var IgcToolActionGroupHeaderComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
7
|
+
tslib_1.__extends(IgcToolActionGroupHeaderComponent, _super);
|
|
8
|
+
function IgcToolActionGroupHeaderComponent() {
|
|
9
|
+
return _super.call(this) || this;
|
|
10
|
+
}
|
|
11
|
+
IgcToolActionGroupHeaderComponent.prototype.createImplementation = function () {
|
|
12
|
+
return new ToolActionGroupHeader();
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(IgcToolActionGroupHeaderComponent.prototype, "i", {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get: function () {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
},
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
IgcToolActionGroupHeaderComponent.prototype.connectedCallback = function () {
|
|
25
|
+
if (_super.prototype["connectedCallback"]) {
|
|
26
|
+
_super.prototype["connectedCallback"].call(this);
|
|
27
|
+
}
|
|
28
|
+
if (this.i.connectedCallback) {
|
|
29
|
+
this.i.connectedCallback();
|
|
30
|
+
}
|
|
31
|
+
if (!this._attached) {
|
|
32
|
+
this._attached = true;
|
|
33
|
+
this._flushQueuedAttributes();
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
IgcToolActionGroupHeaderComponent.prototype.disconnectedCallback = function () {
|
|
37
|
+
if (_super.prototype["disconnectedCallback"]) {
|
|
38
|
+
_super.prototype["disconnectedCallback"].call(this);
|
|
39
|
+
}
|
|
40
|
+
if (this.i.disconnectedCallback) {
|
|
41
|
+
this.i.disconnectedCallback();
|
|
42
|
+
}
|
|
43
|
+
if (this._attached) {
|
|
44
|
+
this._attached = false;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(IgcToolActionGroupHeaderComponent, "observedAttributes", {
|
|
48
|
+
get: function () {
|
|
49
|
+
if (IgcToolActionGroupHeaderComponent._observedAttributesIgcToolActionGroupHeaderComponent == null) {
|
|
50
|
+
var names = getAllPropertyNames(IgcToolActionGroupHeaderComponent);
|
|
51
|
+
for (var i = 0; i < names.length; i++) {
|
|
52
|
+
names[i] = toSpinal(names[i]);
|
|
53
|
+
}
|
|
54
|
+
IgcToolActionGroupHeaderComponent._observedAttributesIgcToolActionGroupHeaderComponent = names;
|
|
55
|
+
}
|
|
56
|
+
return IgcToolActionGroupHeaderComponent._observedAttributesIgcToolActionGroupHeaderComponent;
|
|
57
|
+
},
|
|
58
|
+
enumerable: true,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
IgcToolActionGroupHeaderComponent.register = function () {
|
|
62
|
+
if (!IgcToolActionGroupHeaderComponent._isElementRegistered) {
|
|
63
|
+
IgcToolActionGroupHeaderComponent._isElementRegistered = true;
|
|
64
|
+
RegisterElementHelper.registerElement(IgcToolActionGroupHeaderComponent.htmlTagName, IgcToolActionGroupHeaderComponent);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
IgcToolActionGroupHeaderComponent._observedAttributesIgcToolActionGroupHeaderComponent = null;
|
|
68
|
+
IgcToolActionGroupHeaderComponent.htmlTagName = "igc-tool-action-group-header";
|
|
69
|
+
IgcToolActionGroupHeaderComponent._isElementRegistered = false;
|
|
70
|
+
return IgcToolActionGroupHeaderComponent;
|
|
71
|
+
}(IgcToolActionComponent));
|
|
72
|
+
export { IgcToolActionGroupHeaderComponent };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { IgcToolActionGroupHeaderComponent } from './igc-tool-action-group-header-component';
|
|
8
|
+
import { ToolActionGroupHeader } from './ToolActionGroupHeader';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
var IgcToolActionGroupHeaderModule = /** @class */ /*@__PURE__*/ (function () {
|
|
11
|
+
function IgcToolActionGroupHeaderModule() {
|
|
12
|
+
}
|
|
13
|
+
IgcToolActionGroupHeaderModule.register = function () {
|
|
14
|
+
IgcToolActionGroupHeaderComponent.register();
|
|
15
|
+
TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent", IgcToolActionGroupHeaderComponent);
|
|
16
|
+
TypeRegistrar.register("ToolActionGroupHeader", ToolActionGroupHeader.$type);
|
|
17
|
+
};
|
|
18
|
+
return IgcToolActionGroupHeaderModule;
|
|
19
|
+
}());
|
|
20
|
+
export { IgcToolActionGroupHeaderModule };
|