igniteui-webcomponents-layouts 3.2.2 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +6913 -146
- 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 +100 -100
- package/esm2015/lib/PropertyEditorTreeTransformer.js +8 -8
- 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/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/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 +1515 -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 +457 -0
- package/esm2015/lib/igc-list-panel-content-refreshed-event-args.js +24 -0
- package/esm2015/lib/igc-list-panel-item-model.js +52 -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 +45 -0
- package/esm2015/lib/igc-list-panel-template-width-requested-event-args.js +42 -0
- package/esm2015/lib/igc-property-editor-panel-component.js +1 -5
- package/esm2015/lib/igc-tool-action-checkbox-component.js +49 -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 +312 -0
- package/esm2015/lib/igc-tool-action-event-detail-collection.js +48 -0
- package/esm2015/lib/igc-tool-action-event-detail.js +85 -0
- package/esm2015/lib/igc-tool-action-group-header-component.js +49 -0
- package/esm2015/lib/igc-tool-action-group-header-module.js +16 -0
- package/esm2015/lib/igc-tool-action-icon-button-component.js +49 -0
- package/esm2015/lib/igc-tool-action-icon-button-module.js +16 -0
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +49 -0
- package/esm2015/lib/igc-tool-action-icon-menu-module.js +16 -0
- package/esm2015/lib/igc-tool-action-menu-base-component.js +89 -0
- package/esm2015/lib/igc-tool-action-module.js +16 -0
- package/esm2015/lib/igc-tool-action-number-input-component.js +49 -0
- package/esm2015/lib/igc-tool-action-number-input-module.js +16 -0
- package/esm2015/lib/igc-tool-action-performed-event-args.js +80 -0
- package/esm2015/lib/igc-tool-action-separator-component.js +49 -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 +379 -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 +412 -0
- package/esm2015/lib/igc-toolbar-module.js +19 -0
- package/esm2015/public_api.js +73 -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 +100 -100
- package/esm5/lib/PropertyEditorTreeTransformer.js +8 -8
- 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/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/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 +1663 -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 +535 -0
- package/esm5/lib/igc-list-panel-content-refreshed-event-args.js +30 -0
- package/esm5/lib/igc-list-panel-item-model.js +74 -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 +59 -0
- package/esm5/lib/igc-list-panel-template-width-requested-event-args.js +60 -0
- package/esm5/lib/igc-property-editor-panel-component.js +1 -5
- package/esm5/lib/igc-tool-action-checkbox-component.js +58 -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 +388 -0
- package/esm5/lib/igc-tool-action-event-detail-collection.js +53 -0
- package/esm5/lib/igc-tool-action-event-detail.js +119 -0
- package/esm5/lib/igc-tool-action-group-header-component.js +58 -0
- package/esm5/lib/igc-tool-action-group-header-module.js +20 -0
- package/esm5/lib/igc-tool-action-icon-button-component.js +58 -0
- package/esm5/lib/igc-tool-action-icon-button-module.js +20 -0
- package/esm5/lib/igc-tool-action-icon-menu-component.js +58 -0
- package/esm5/lib/igc-tool-action-icon-menu-module.js +20 -0
- package/esm5/lib/igc-tool-action-menu-base-component.js +103 -0
- package/esm5/lib/igc-tool-action-module.js +20 -0
- package/esm5/lib/igc-tool-action-number-input-component.js +58 -0
- package/esm5/lib/igc-tool-action-number-input-module.js +20 -0
- package/esm5/lib/igc-tool-action-performed-event-args.js +98 -0
- package/esm5/lib/igc-tool-action-separator-component.js +58 -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 +449 -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 +484 -0
- package/esm5/lib/igc-toolbar-module.js +23 -0
- package/esm5/public_api.js +73 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +6038 -148
- package/fesm5/igniteui-webcomponents-layouts.js +6839 -148
- 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/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/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/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 +328 -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-tool-action-checkbox-component.d.ts +16 -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 +64 -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 +16 -0
- package/lib/igc-tool-action-group-header-module.d.ts +3 -0
- package/lib/igc-tool-action-icon-button-component.d.ts +16 -0
- package/lib/igc-tool-action-icon-button-module.d.ts +3 -0
- package/lib/igc-tool-action-icon-menu-component.d.ts +16 -0
- package/lib/igc-tool-action-icon-menu-module.d.ts +3 -0
- package/lib/igc-tool-action-menu-base-component.d.ts +24 -0
- package/lib/igc-tool-action-module.d.ts +3 -0
- package/lib/igc-tool-action-number-input-component.d.ts +16 -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-separator-component.d.ts +16 -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 +73 -0
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
export { Toolbar } from "./ToolbarView_combined";
|
|
@@ -0,0 +1,44 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
8
|
+
import { Base, markType } from "igniteui-webcomponents-core";
|
|
9
|
+
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
var ToolbarIconManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
14
|
+
tslib_1.__extends(ToolbarIconManager, _super);
|
|
15
|
+
function ToolbarIconManager() {
|
|
16
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
17
|
+
}
|
|
18
|
+
ToolbarIconManager.c = function () {
|
|
19
|
+
if (ToolbarIconManager.a) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
ToolbarIconManager.a = true;
|
|
23
|
+
ToolbarIconManager.b("Search", "m22.241 24-7.414-7.414c-1.559 1.169-3.523 1.875-5.652 1.885h-.002c-.032 0-.07.001-.108.001-5.006 0-9.065-4.058-9.065-9.065 0-.038 0-.076.001-.114v.006c0-5.135 4.163-9.298 9.298-9.298s9.298 4.163 9.298 9.298c-.031 2.129-.733 4.088-1.904 5.682l.019-.027 7.414 7.414zm-12.942-21.487c-3.72.016-6.73 3.035-6.73 6.758 0 3.732 3.025 6.758 6.758 6.758s6.758-3.025 6.758-6.758c0-1.866-.756-3.555-1.979-4.778-1.227-1.223-2.92-1.979-4.79-1.979-.006 0-.012 0-.017 0h.001z");
|
|
24
|
+
ToolbarIconManager.b("ZoomIn", "M 19.4758 12.1587 H 14.6339 V 7.3169 c 0 -0.6834 -0.5539 -1.2375 -1.2375 -1.2375 s -1.2375 0.5541 -1.2375 1.2375 v 4.8419 H 7.3171 c -0.6836 0 -1.2375 0.5541 -1.2375 1.2375 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 H 12.1589 v 4.8421 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 s 1.2375 -0.5541 1.2375 -1.2375 V 14.6337 h 4.8419 c 0.6836 0 1.2375 -0.5541 1.2375 -1.2375 C 20.7133 12.7128 20.1594 12.1587 19.4758 12.1587 z");
|
|
25
|
+
ToolbarIconManager.b("ZoomOut", "M 26.5087 10.4222 H 8.0865 c -1.0355 0 -1.875 0.8395 -1.875 1.875 c 0 1.0355 0.8395 1.875 1.875 1.875 h 18.4222 c 1.0355 0 1.875 -0.8395 1.875 -1.875 C 28.3837 11.2617 27.5443 10.4222 26.5087 10.4222 z");
|
|
26
|
+
ToolbarIconManager.b("Reset", "M 13.5 21 A 9 9 90 1 0 4.5 12 v 4.65 L 1.8 13.95 L 0.75 15 l 4.5 4.5 l 4.5 -4.5 l -1.05 -1.05 L 6 16.65 V 12 H 6 A 7.5 7.5 90 1 1 13.5 19.5 Z");
|
|
27
|
+
ToolbarIconManager.b("CursorPointer", "M 6.8243 23.7538 l -6.765 -22.44 c -0.26 -0.75 0.365 -1.545 1.3 -1.25 l 22.435 6.77 c 0.865 0.26 0.975 1.575 0.105 1.925 l -10.67 4.48 l -4.475 10.675 C 8.4192 24.7638 7.1193 24.6688 6.8243 23.7538 z M 2.5543 2.5638 l 5.415 17.91 l 3.54 -8.435 c 0.105 -0.26 0.31 -0.47 0.52 -0.52 l 8.43 -3.54 L 2.5543 2.5638 z");
|
|
28
|
+
ToolbarIconManager.b("CursorHand", "M 17.0635 6.0452 c -0.0739 0 -0.1351 0.0044 -0.2088 0.0129 c -0.3164 0.0368 -0.6158 0.1516 -0.8408 0.3239 v -0.3899 c 0 -0.9837 -0.7223 -1.8096 -1.6807 -1.9211 c -0.0737 -0.0086 -0.1484 -0.013 -0.2225 -0.013 c -0.3922 -0.0001 -0.7664 0.1184 -1.0826 0.3386 c -0.0692 -0.9163 -0.7661 -1.6623 -1.6753 -1.7681 c -0.0737 -0.0086 -0.1478 -0.0103 -0.2218 -0.0103 h -0.0004 h -0.0003 c -0.5074 0 -0.9852 0.1955 -1.3454 0.5557 c -0.3318 0.3318 -0.5263 0.7622 -0.5547 1.2249 c -0.2483 -0.1739 -0.5402 -0.2902 -0.8582 -0.3272 c -0.0737 -0.0086 -0.1487 -0.0133 -0.2226 -0.0133 c -0.5074 -0.0001 -1.0137 0.1981 -1.3739 0.5582 c -0.3601 0.3601 -0.587 0.8377 -0.587 1.3451 v 6.453 l -0.4143 -0.4183 c -0.3557 -0.3503 -0.8125 -0.5429 -1.3141 -0.5429 c -0.5066 0 -0.9748 0.1966 -1.3318 0.5534 c -0.7214 0.7214 -0.7343 1.885 -0.0458 2.6266 l 4.0409 5.3272 l 0.087 1.1449 c 0.0515 0.6854 0.6307 1.2223 1.318 1.2223 l 7.3853 -0.0059 c 0.6604 -0.0008 1.223 -0.4949 1.3089 -1.1492 l 0.1791 -1.3637 c 0.5668 -0.9173 0.9584 -2.1335 1.2204 -3.6171 c 0.2288 -1.2955 0.3166 -2.8331 0.3166 -4.5701 v -3.6732 C 18.9389 6.8991 18.1132 6.0452 17.0635 6.0452 z M 16.3305 21.0554 c -0.0275 0.2095 -0.2059 0.374 -0.4172 0.3742 l -7.3838 0.0137 c -0.0002 0 -0.0004 0 -0.0006 0 c -0.2203 0 -0.4035 -0.1777 -0.4201 -0.3975 l -0.1058 -1.4123 c -0.0001 -0.0008 -0.0003 -0.0034 -0.0008 -0.004 l -4.2301 -5.5802 c -0.3864 -0.3864 -0.3864 -1.0192 0 -1.4056 c 0.1932 -0.1932 0.4479 -0.2901 0.7025 -0.2901 c 0.2547 0 0.5094 0.0965 0.7026 0.2897 l 1.1905 1.1241 c 0.0928 0.0876 0.1758 0.1268 0.2852 0.1268 c 0.2375 0 0.4358 -0.1853 0.4358 -0.4624 V 5.9616 c 0 -0.5519 0.4802 -1.0036 1.0322 -1.0036 c 0.0391 0 0.0733 0.0023 0.1133 0.0069 c 0.5108 0.0595 0.8796 0.5129 0.8796 1.0271 v 5.1461 c 0 0.2671 0.2173 0.4837 0.4845 0.4837 c 0.2705 0 0.4905 -0.2193 0.4905 -0.4898 V 4.5165 c 0 -0.552 0.4706 -1.0036 1.0225 -1.0036 c 0.039 0 0.0782 0.0023 0.1181 0.007 c 0.5108 0.0594 0.8845 0.5129 0.8845 1.0271 v 6.5847 c 0 0.2707 0.2203 0.4904 0.4911 0.4904 c 0.2669 0 0.4839 -0.2164 0.4839 -0.4832 V 5.9616 c 0 -0.5519 0.4609 -1.0036 1.0129 -1.0036 c 0.039 0 0.0829 0.0023 0.1228 0.0069 c 0.5108 0.0595 0.8893 0.5129 0.8893 1.0271 v 5.1282 c 0 0.2771 0.2254 0.498 0.5024 0.498 h 0.0083 c 0.256 0 0.4643 -0.2039 0.4643 -0.4599 v -3.1792 c 0 -0.5142 0.3739 -0.9676 0.8846 -1.0271 c 0.0399 -0.0047 0.0511 -0.0069 0.0902 -0.0069 c 0.5519 0 0.9752 0.4516 0.9752 1.0036 v 3.6732 c 0 3.1371 -0.3524 6.0358 -1.4787 7.79 c -0.0342 0.0533 -0.0427 0.113 -0.051 0.1758 L 16.3305 21.0554 z");
|
|
29
|
+
ToolbarIconManager.b("OptionDots", "M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0-6a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0z");
|
|
30
|
+
ToolbarIconManager.b("OptionCog", "M 21.7966 14.096 c -0.0701 -0.3878 -0.5044 -0.7946 -0.8726 -0.9345 l -0.9919 -0.3765 c -0.3682 -0.1399 -0.6371 -0.4639 -0.6191 -0.7256 c 0.0109 -0.1564 0.0173 -0.3142 0.0173 -0.4736 c 0 -0.1065 -0.003 -0.2122 -0.0079 -0.3172 c -0.0086 -0.1751 0.2696 -0.4474 0.6289 -0.609 l 0.8962 -0.4028 c 0.3592 -0.162 0.7954 -0.5869 0.8227 -0.9799 c 0.024 -0.3484 -0.0176 -0.8235 -0.243 -1.4119 c -0.2621 -0.6866 -0.6878 -1.1269 -1.0421 -1.3942 c -0.3146 -0.2374 -0.9086 -0.2231 -1.2679 -0.0611 l -0.78 0.351 c -0.3592 0.1616 -0.8528 0.0446 -1.1344 -0.231 c -0.0664 -0.0653 -0.1335 -0.1286 -0.2025 -0.1909 c -0.2918 -0.2644 -0.4387 -0.75 -0.2985 -1.1186 l 0.3071 -0.8107 c 0.1399 -0.3682 0.138 -0.9728 -0.1207 -1.2694 c -0.2381 -0.273 -0.6161 -0.5921 -1.2056 -0.8554 c -0.6615 -0.2955 -1.2548 -0.3041 -1.6811 -0.2396 c -0.3896 0.0592 -0.7954 0.4991 -0.9353 0.867 l -0.3548 0.9341 c -0.1399 0.3682 -0.2993 0.6656 -0.3559 0.6641 c -0.0345 -0.0015 -0.0686 -0.0019 -0.1028 -0.0019 c -0.2333 0 -0.4642 0.0112 -0.6923 0.0338 c -0.381 0.0375 -0.816 -0.1901 -0.9776 -0.5494 l -0.4215 -0.9375 c -0.1616 -0.3596 -0.5767 -0.8287 -0.9709 -0.8351 c -0.3435 -0.006 -0.8276 0.0784 -1.476 0.3855 c -0.7027 0.3334 -1.1141 0.6532 -1.3541 0.9139 c -0.267 0.2891 -0.2078 0.906 -0.0457 1.2652 l 0.5554 1.236 c 0.1616 0.3592 0.096 0.8498 -0.1215 1.1171 c -0.2171 0.2677 -0.6698 0.3874 -1.038 0.2479 l -1.3493 -0.5119 c -0.3682 -0.1399 -0.9937 -0.1785 -1.2772 0.096 c -0.2468 0.2389 -0.5295 0.6409 -0.771 1.3162 c -0.261 0.7328 -0.3251 1.2495 -0.3112 1.6035 c 0.0158 0.3938 0.4939 0.7879 0.8625 0.9278 l 1.647 0.6251 c 0.3682 0.1399 0.6683 0.4665 0.6896 0.7279 c 0.0206 0.2621 -0.2381 0.6038 -0.5974 0.7657 l -1.6432 0.7388 c -0.3592 0.1616 -0.8291 0.5771 -0.8351 0.9709 c -0.0056 0.3435 0.0788 0.828 0.3855 1.4756 c 0.3337 0.7027 0.6532 1.1141 0.9139 1.3541 c 0.2899 0.2674 0.9064 0.2078 1.2656 0.0461 l 1.7618 -0.792 c 0.3592 -0.162 0.7785 -0.1545 0.9469 0.0049 s 0.2006 0.5779 0.0607 0.9465 L 6.7786 19.475 c -0.1399 0.3682 -0.1785 0.9937 0.096 1.2765 c 0.2393 0.2471 0.6409 0.5302 1.3162 0.7714 c 0.7328 0.2614 1.2499 0.3255 1.6039 0.3116 c 0.3938 -0.0158 0.7875 -0.4943 0.9274 -0.8625 l 0.6349 -1.6725 c 0.1399 -0.3682 0.3968 -0.6532 0.5741 -0.6446 c 0.1065 0.0053 0.2137 0.0079 0.3214 0.0079 c 0.0503 0 0.0998 -0.0004 0.1492 -0.0019 c 0.0821 -0.0026 0.2801 0.2858 0.4417 0.6454 l 0.7361 1.6365 c 0.1616 0.3592 0.6019 0.7448 0.9949 0.7642 c 0.4204 0.021 1.0009 -0.0232 1.6612 -0.2752 c 0.6319 -0.2419 0.9971 -0.6015 1.2071 -0.9158 c 0.219 -0.3274 0.1455 -0.9439 -0.0165 -1.3031 l -0.6023 -1.3399 c -0.1616 -0.3592 -0.0634 -0.8216 0.1976 -1.059 c 0.2599 -0.2374 0.75 -0.3375 1.1179 -0.1973 l 1.287 0.4886 c 0.3682 0.1399 0.99 0.1834 1.3043 -0.0544 c 0.2767 -0.21 0.5966 -0.5587 0.8554 -1.1378 C 21.8964 15.218 21.8806 14.5614 21.7966 14.096 z M 11.9244 16.9213 c -2.9415 0 -5.3254 -2.3839 -5.3254 -5.325 s 2.3839 -5.325 5.3254 -5.325 c 2.9407 0 5.325 2.3839 5.325 5.325 C 17.2497 14.5374 14.8651 16.9213 11.9244 16.9213 z");
|
|
31
|
+
ToolbarIconManager.b("CheveronDown", "M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z");
|
|
32
|
+
ToolbarIconManager.b("CheveronLeft", "M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z");
|
|
33
|
+
ToolbarIconManager.b("CheveronRight", "M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z");
|
|
34
|
+
ToolbarIconManager.b("CheveronUp", "M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z");
|
|
35
|
+
ToolbarIconManager.b("Close", "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z");
|
|
36
|
+
};
|
|
37
|
+
ToolbarIconManager.b = function (a, b) {
|
|
38
|
+
SvgIconRegistry.instance.addSvgPathString("default", a, b);
|
|
39
|
+
};
|
|
40
|
+
ToolbarIconManager.$t = markType(ToolbarIconManager, 'ToolbarIconManager');
|
|
41
|
+
ToolbarIconManager.a = false;
|
|
42
|
+
return ToolbarIconManager;
|
|
43
|
+
}(Base));
|
|
44
|
+
export { ToolbarIconManager };
|
|
@@ -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 { markEnum } from "igniteui-webcomponents-core";
|
|
8
|
+
export var ToolbarOrientation = /*@__PURE__*/ (function (ToolbarOrientation) {
|
|
9
|
+
ToolbarOrientation[ToolbarOrientation["Vertical"] = 0] = "Vertical";
|
|
10
|
+
ToolbarOrientation[ToolbarOrientation["Horizontal"] = 1] = "Horizontal";
|
|
11
|
+
return ToolbarOrientation;
|
|
12
|
+
})({});
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export var ToolbarOrientation_$type = /*@__PURE__*/ markEnum('ToolbarOrientation', 'Vertical,0|Horizontal,1');
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
export { ToolbarView } from "./ToolbarView_combined";
|
|
@@ -0,0 +1,459 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
8
|
+
import { Base, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, runOn, delegateCombine, enumGetBox, typeCast, delegateRemove, fromEn } from "igniteui-webcomponents-core";
|
|
9
|
+
import { RenderingContext } from "igniteui-webcomponents-core";
|
|
10
|
+
import { FontInfo } from "igniteui-webcomponents-core";
|
|
11
|
+
import { ToolPanel } from "./ToolPanel";
|
|
12
|
+
import { DOMExecutionContext } from "igniteui-webcomponents-core";
|
|
13
|
+
import { CanvasViewRenderer } from "igniteui-webcomponents-core";
|
|
14
|
+
import { Size } from "igniteui-webcomponents-core";
|
|
15
|
+
import { NativeUI } from "igniteui-webcomponents-core";
|
|
16
|
+
import { FontUtil } from "igniteui-webcomponents-core";
|
|
17
|
+
import { SRProvider } from "igniteui-webcomponents-core";
|
|
18
|
+
import { ToolActionCollection } from "./ToolActionCollection";
|
|
19
|
+
import { ToolbarOrientation_$type } from "./ToolbarOrientation";
|
|
20
|
+
import { ToolbarIconManager } from "./ToolbarIconManager";
|
|
21
|
+
import { ToolAction } from "./ToolAction";
|
|
22
|
+
import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
|
|
23
|
+
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
var ToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
28
|
+
tslib_1.__extends(ToolbarView, _super);
|
|
29
|
+
function ToolbarView() {
|
|
30
|
+
var _this = _super.call(this) || this;
|
|
31
|
+
_this.n = null;
|
|
32
|
+
_this.m = null;
|
|
33
|
+
_this.a = null;
|
|
34
|
+
_this.i = null;
|
|
35
|
+
_this.l = null;
|
|
36
|
+
_this.e = null;
|
|
37
|
+
_this.k = null;
|
|
38
|
+
_this.b = ((function () {
|
|
39
|
+
var $ret = new FontInfo();
|
|
40
|
+
$ret.n = "Verdana";
|
|
41
|
+
$ret.d = 13;
|
|
42
|
+
$ret.q = "Normal";
|
|
43
|
+
$ret.s = "Normal";
|
|
44
|
+
$ret.o = "Normal";
|
|
45
|
+
return $ret;
|
|
46
|
+
})());
|
|
47
|
+
_this.aa = new Size();
|
|
48
|
+
_this.c = null;
|
|
49
|
+
_this._gridExternal = null;
|
|
50
|
+
_this.f = false;
|
|
51
|
+
_this.j = null;
|
|
52
|
+
return _this;
|
|
53
|
+
}
|
|
54
|
+
ToolbarView.prototype.p = function () {
|
|
55
|
+
return this.i;
|
|
56
|
+
};
|
|
57
|
+
ToolbarView.prototype.v = function () {
|
|
58
|
+
};
|
|
59
|
+
ToolbarView.prototype.t = function (a) {
|
|
60
|
+
if (a == null) {
|
|
61
|
+
this.i = null;
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.a.a = new DOMExecutionContext(a);
|
|
65
|
+
this.i = a;
|
|
66
|
+
this.l = this.i.createElement("canvas");
|
|
67
|
+
this.e = new RenderingContext(new CanvasViewRenderer(), this.i.get2DCanvasContext(this.l));
|
|
68
|
+
this.k = this.i.createElement("div");
|
|
69
|
+
this.y();
|
|
70
|
+
var b = new ToolPanel();
|
|
71
|
+
var c = this.i.createElement("div");
|
|
72
|
+
c.setStyleProperty("width", "100%");
|
|
73
|
+
c.setStyleProperty("height", "100%");
|
|
74
|
+
this.i.append(c);
|
|
75
|
+
var d = this.i.getSubRenderer(c);
|
|
76
|
+
b.provideContainer(d);
|
|
77
|
+
var e = this.i.getExternal(b, this.i.rootWrapper, this.i.getExternal(this.a, null, null));
|
|
78
|
+
this.a.am(b);
|
|
79
|
+
var f = Math.round(a.rootWrapper.width());
|
|
80
|
+
var g = Math.round(a.rootWrapper.height());
|
|
81
|
+
this.i.rootWrapper.setStyleProperty("position", "relative");
|
|
82
|
+
};
|
|
83
|
+
ToolbarView.prototype.y = function () {
|
|
84
|
+
};
|
|
85
|
+
ToolbarView.prototype.x = function () {
|
|
86
|
+
if (this.i != null) {
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
ToolbarView.prototype.s = function () {
|
|
90
|
+
if (this.i == null) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
var a = this.i.rootWrapper.width();
|
|
94
|
+
var b = this.i.rootWrapper.height();
|
|
95
|
+
this.aa = new Size(1, a, b);
|
|
96
|
+
};
|
|
97
|
+
ToolbarView.prototype.z = function () {
|
|
98
|
+
var a = this.i;
|
|
99
|
+
if (null == a) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
var b = a.rootWrapper;
|
|
103
|
+
if (null != b) {
|
|
104
|
+
NativeUI.o(b, this.a.a1);
|
|
105
|
+
NativeUI.k(b, this.a.ay);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
ToolbarView.prototype.d = function () {
|
|
109
|
+
return this.b;
|
|
110
|
+
};
|
|
111
|
+
ToolbarView.prototype.u = function () {
|
|
112
|
+
};
|
|
113
|
+
ToolbarView.prototype.w = function () {
|
|
114
|
+
};
|
|
115
|
+
ToolbarView.prototype.r = function () {
|
|
116
|
+
};
|
|
117
|
+
ToolbarView.prototype.g = function () {
|
|
118
|
+
return this.aa.width;
|
|
119
|
+
};
|
|
120
|
+
ToolbarView.prototype.h = function (a) {
|
|
121
|
+
this.c = this.a.p();
|
|
122
|
+
return FontUtil.measureStringWidth(a, this.c, this.e);
|
|
123
|
+
};
|
|
124
|
+
ToolbarView.prototype.q = function (a, b) {
|
|
125
|
+
if (this.j == null) {
|
|
126
|
+
this.j = this.i.createElement("div");
|
|
127
|
+
}
|
|
128
|
+
b(this.j.getNativeElement());
|
|
129
|
+
};
|
|
130
|
+
ToolbarView.$t = markType(ToolbarView, 'ToolbarView');
|
|
131
|
+
return ToolbarView;
|
|
132
|
+
}(Base));
|
|
133
|
+
export { ToolbarView };
|
|
134
|
+
/**
|
|
135
|
+
* @hidden
|
|
136
|
+
*/
|
|
137
|
+
var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
138
|
+
tslib_1.__extends(Toolbar, _super);
|
|
139
|
+
function Toolbar() {
|
|
140
|
+
var _this = _super.call(this) || this;
|
|
141
|
+
_this.k = null;
|
|
142
|
+
_this.s = false;
|
|
143
|
+
_this.q = null;
|
|
144
|
+
_this.l = null;
|
|
145
|
+
_this.d = new ToolActionCollection();
|
|
146
|
+
_this.b = new ToolActionCollection();
|
|
147
|
+
_this.c = new ToolActionCollection();
|
|
148
|
+
_this.h = Toolbar.i;
|
|
149
|
+
_this.m = null;
|
|
150
|
+
_this.u = Toolbar.v;
|
|
151
|
+
_this.aw = Toolbar.az;
|
|
152
|
+
_this.ax = Toolbar.a0;
|
|
153
|
+
_this.n = null;
|
|
154
|
+
_this.t = false;
|
|
155
|
+
_this.propertyChanged = null;
|
|
156
|
+
_this.a = null;
|
|
157
|
+
ToolbarIconManager.c();
|
|
158
|
+
var a = _this.actions;
|
|
159
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.ah));
|
|
160
|
+
NativeUIInputsFactory.m();
|
|
161
|
+
var b = new ToolbarView();
|
|
162
|
+
b.a = _this;
|
|
163
|
+
_this.k = b;
|
|
164
|
+
_this.k.v();
|
|
165
|
+
return _this;
|
|
166
|
+
}
|
|
167
|
+
Object.defineProperty(Toolbar.prototype, "r", {
|
|
168
|
+
get: function () {
|
|
169
|
+
if (this.q == null) {
|
|
170
|
+
this.q = new SRProvider(this.k.i);
|
|
171
|
+
this.q.cb("Layouts");
|
|
172
|
+
}
|
|
173
|
+
return this.q;
|
|
174
|
+
},
|
|
175
|
+
enumerable: true,
|
|
176
|
+
configurable: true
|
|
177
|
+
});
|
|
178
|
+
Toolbar.prototype.am = function (a) {
|
|
179
|
+
this.l = a;
|
|
180
|
+
var b = this.l;
|
|
181
|
+
b.onCommand = delegateCombine(b.onCommand, runOn(this, this.ag));
|
|
182
|
+
this.l.k = this.j;
|
|
183
|
+
};
|
|
184
|
+
Toolbar.prototype.ag = function (a, b) {
|
|
185
|
+
if (this.m != null) {
|
|
186
|
+
this.m.onToolCommandExecuting(b.a);
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
Toolbar.prototype.ap = function (a) {
|
|
190
|
+
};
|
|
191
|
+
Object.defineProperty(Toolbar.prototype, "autoGeneratedActions", {
|
|
192
|
+
get: function () {
|
|
193
|
+
return this.d;
|
|
194
|
+
},
|
|
195
|
+
set: function (a) {
|
|
196
|
+
var b = this.d;
|
|
197
|
+
this.d = a;
|
|
198
|
+
if (b != this.d) {
|
|
199
|
+
this.aq("AutoGeneratedActions", b, this.d);
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
enumerable: true,
|
|
203
|
+
configurable: true
|
|
204
|
+
});
|
|
205
|
+
Object.defineProperty(Toolbar.prototype, "actions", {
|
|
206
|
+
get: function () {
|
|
207
|
+
return this.b;
|
|
208
|
+
},
|
|
209
|
+
set: function (a) {
|
|
210
|
+
var b = this.b;
|
|
211
|
+
this.b = a;
|
|
212
|
+
if (b != this.b) {
|
|
213
|
+
this.aq("Actions", b, this.b);
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
enumerable: true,
|
|
217
|
+
configurable: true
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(Toolbar.prototype, "actualActions", {
|
|
220
|
+
get: function () {
|
|
221
|
+
return this.c;
|
|
222
|
+
},
|
|
223
|
+
set: function (a) {
|
|
224
|
+
var b = this.c;
|
|
225
|
+
this.c = a;
|
|
226
|
+
if (b != this.c) {
|
|
227
|
+
this.aq("ActualActions", b, this.c);
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
enumerable: true,
|
|
231
|
+
configurable: true
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(Toolbar.prototype, "j", {
|
|
234
|
+
get: function () {
|
|
235
|
+
return this.h;
|
|
236
|
+
},
|
|
237
|
+
set: function (a) {
|
|
238
|
+
var b = this.h;
|
|
239
|
+
this.h = a;
|
|
240
|
+
if (b != this.h) {
|
|
241
|
+
this.aq("Orientation", enumGetBox(ToolbarOrientation_$type, b), enumGetBox(ToolbarOrientation_$type, a));
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
enumerable: true,
|
|
245
|
+
configurable: true
|
|
246
|
+
});
|
|
247
|
+
Object.defineProperty(Toolbar.prototype, "w", {
|
|
248
|
+
get: function () {
|
|
249
|
+
return this.u;
|
|
250
|
+
},
|
|
251
|
+
set: function (a) {
|
|
252
|
+
var b = this.u;
|
|
253
|
+
this.u = a;
|
|
254
|
+
if (b != this.u) {
|
|
255
|
+
this.aq("Target", b, a);
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
enumerable: true,
|
|
259
|
+
configurable: true
|
|
260
|
+
});
|
|
261
|
+
Object.defineProperty(Toolbar.prototype, "ay", {
|
|
262
|
+
get: function () {
|
|
263
|
+
return this.aw;
|
|
264
|
+
},
|
|
265
|
+
set: function (a) {
|
|
266
|
+
var b = this.aw;
|
|
267
|
+
this.aw = a;
|
|
268
|
+
if (b != this.aw) {
|
|
269
|
+
this.aq("BackgroundColor", b, a);
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
enumerable: true,
|
|
273
|
+
configurable: true
|
|
274
|
+
});
|
|
275
|
+
Object.defineProperty(Toolbar.prototype, "a1", {
|
|
276
|
+
get: function () {
|
|
277
|
+
return this.ax;
|
|
278
|
+
},
|
|
279
|
+
set: function (a) {
|
|
280
|
+
var b = this.ax;
|
|
281
|
+
this.ax = a;
|
|
282
|
+
if (b != this.ax) {
|
|
283
|
+
this.aq("TextColor", b, a);
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
enumerable: true,
|
|
287
|
+
configurable: true
|
|
288
|
+
});
|
|
289
|
+
Object.defineProperty(Toolbar.prototype, "o", {
|
|
290
|
+
get: function () {
|
|
291
|
+
return this.n;
|
|
292
|
+
},
|
|
293
|
+
set: function (a) {
|
|
294
|
+
var b = this.n;
|
|
295
|
+
this.n = a;
|
|
296
|
+
if (b != this.n) {
|
|
297
|
+
this.aq("CellTextStyle", b, this.n);
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
enumerable: true,
|
|
301
|
+
configurable: true
|
|
302
|
+
});
|
|
303
|
+
Toolbar.prototype.p = function () {
|
|
304
|
+
if (this.o == null) {
|
|
305
|
+
return this.k.d();
|
|
306
|
+
}
|
|
307
|
+
return this.o;
|
|
308
|
+
};
|
|
309
|
+
Toolbar.prototype.ah = function (a, b) {
|
|
310
|
+
var e_1, _a, e_2, _b;
|
|
311
|
+
if (b.oldItems != null) {
|
|
312
|
+
try {
|
|
313
|
+
for (var _c = tslib_1.__values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
314
|
+
var c = _d.value;
|
|
315
|
+
if (typeCast(INotifyPropertyChanged_$type, c) !== null) {
|
|
316
|
+
var d = c;
|
|
317
|
+
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.ai));
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
catch (e_1_1) {
|
|
322
|
+
e_1 = { error: e_1_1 };
|
|
323
|
+
}
|
|
324
|
+
finally {
|
|
325
|
+
try {
|
|
326
|
+
if (_d && !_d.done && (_a = _c.return))
|
|
327
|
+
_a.call(_c);
|
|
328
|
+
}
|
|
329
|
+
finally {
|
|
330
|
+
if (e_1)
|
|
331
|
+
throw e_1.error;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
if (b.newItems != null) {
|
|
336
|
+
try {
|
|
337
|
+
for (var _e = tslib_1.__values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
338
|
+
var e = _f.value;
|
|
339
|
+
if (typeCast(INotifyPropertyChanged_$type, e) !== null) {
|
|
340
|
+
var f = e;
|
|
341
|
+
f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.ai));
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
catch (e_2_1) {
|
|
346
|
+
e_2 = { error: e_2_1 };
|
|
347
|
+
}
|
|
348
|
+
finally {
|
|
349
|
+
try {
|
|
350
|
+
if (_f && !_f.done && (_b = _e.return))
|
|
351
|
+
_b.call(_e);
|
|
352
|
+
}
|
|
353
|
+
finally {
|
|
354
|
+
if (e_2)
|
|
355
|
+
throw e_2.error;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
this.ao();
|
|
360
|
+
};
|
|
361
|
+
Toolbar.prototype.ai = function (a, b) {
|
|
362
|
+
this.ao();
|
|
363
|
+
};
|
|
364
|
+
Toolbar.prototype.ao = function () {
|
|
365
|
+
this.au();
|
|
366
|
+
};
|
|
367
|
+
Toolbar.prototype.au = function () {
|
|
368
|
+
if (this.t) {
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
this.t = true;
|
|
372
|
+
this.a.enqueueAction(runOn(this, this.ak));
|
|
373
|
+
};
|
|
374
|
+
Toolbar.prototype.ak = function () {
|
|
375
|
+
if (!this.t) {
|
|
376
|
+
return;
|
|
377
|
+
}
|
|
378
|
+
this.t = false;
|
|
379
|
+
this.av();
|
|
380
|
+
if (this.l.actions != this.actualActions) {
|
|
381
|
+
this.l.actions = this.actualActions;
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
Toolbar.prototype.av = function () {
|
|
385
|
+
this.actualActions.clear();
|
|
386
|
+
for (var a = 0; a < this.actions.count; a++) {
|
|
387
|
+
this.actualActions.add(this.actions._inner[a]);
|
|
388
|
+
}
|
|
389
|
+
for (var b = 0; b < this.autoGeneratedActions.count; b++) {
|
|
390
|
+
this.actualActions.add(this.autoGeneratedActions._inner[b]);
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
Toolbar.prototype.al = function () {
|
|
394
|
+
if (this.t) {
|
|
395
|
+
this.ak();
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
Toolbar.prototype.notifySizeChanged = function () {
|
|
399
|
+
this.k.s();
|
|
400
|
+
};
|
|
401
|
+
Toolbar.prototype.destroy = function () {
|
|
402
|
+
this.provideContainer(null);
|
|
403
|
+
};
|
|
404
|
+
Toolbar.prototype.provideContainer = function (a) {
|
|
405
|
+
this.k.t(a);
|
|
406
|
+
};
|
|
407
|
+
Toolbar.prototype.aq = function (a, b, c) {
|
|
408
|
+
if (this.propertyChanged != null) {
|
|
409
|
+
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
410
|
+
}
|
|
411
|
+
this.as(a, b, c);
|
|
412
|
+
};
|
|
413
|
+
Toolbar.prototype.as = function (a, b, c) {
|
|
414
|
+
switch (a) {
|
|
415
|
+
case "CellTextStyle":
|
|
416
|
+
this.au();
|
|
417
|
+
break;
|
|
418
|
+
case "BackgroundColor":
|
|
419
|
+
case "TextColor":
|
|
420
|
+
this.au();
|
|
421
|
+
break;
|
|
422
|
+
case "Orientation":
|
|
423
|
+
if (this.l != null) {
|
|
424
|
+
this.l.k = this.j;
|
|
425
|
+
}
|
|
426
|
+
break;
|
|
427
|
+
case "Target":
|
|
428
|
+
var d = c;
|
|
429
|
+
var e = b;
|
|
430
|
+
this.ar(e, d);
|
|
431
|
+
break;
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
Toolbar.prototype.ar = function (a, b) {
|
|
435
|
+
this.m = b;
|
|
436
|
+
if (a != null) {
|
|
437
|
+
this.autoGeneratedActions.clear();
|
|
438
|
+
this.au();
|
|
439
|
+
}
|
|
440
|
+
if (b != null) {
|
|
441
|
+
this.autoGeneratedActions.clear();
|
|
442
|
+
var c = b.getDesiredToolbarActions();
|
|
443
|
+
if (c != null) {
|
|
444
|
+
for (var d = 0; d < c.length; d++) {
|
|
445
|
+
var e = ToolAction.a(c[d]);
|
|
446
|
+
this.autoGeneratedActions.add(e);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
this.au();
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
Toolbar.$t = markType(Toolbar, 'Toolbar', Base.$, [INotifyPropertyChanged_$type]);
|
|
453
|
+
Toolbar.i = 1;
|
|
454
|
+
Toolbar.v = null;
|
|
455
|
+
Toolbar.az = BrushUtil.g(255, 248, 248, 248);
|
|
456
|
+
Toolbar.a0 = BrushUtil.g(255, 24, 29, 31);
|
|
457
|
+
return Toolbar;
|
|
458
|
+
}(Base));
|
|
459
|
+
export { Toolbar };
|