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,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.
|
|
25
|
+
return this.i.n;
|
|
26
26
|
}
|
|
27
27
|
set descriptionType(v) {
|
|
28
|
-
this.i.
|
|
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 {
|
|
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
|
-
|
|
246
|
+
const r = this.i.g;
|
|
247
|
+
if (r == null) {
|
|
233
248
|
return null;
|
|
234
249
|
}
|
|
235
|
-
if (!
|
|
250
|
+
if (!r.externalObject) {
|
|
236
251
|
let e = new IgcPropertyEditorDescriptionObject();
|
|
237
|
-
e.
|
|
238
|
-
|
|
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
|
|
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
|
+
})();
|