igniteui-webcomponents-layouts 4.0.2 → 4.0.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.
Files changed (27) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +198 -10
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +3 -0
  4. package/esm2015/lib/ToolActionButton.js +97 -0
  5. package/esm2015/lib/ToolPanelView_combined.js +1 -1
  6. package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
  7. package/esm2015/lib/igc-property-editor-property-description-component.js +5 -3
  8. package/esm2015/lib/igc-tool-action-button-component.js +63 -0
  9. package/esm2015/lib/igc-tool-action-button-module.js +16 -0
  10. package/esm2015/lib/igc-tool-action-performed-event-args.js +5 -3
  11. package/esm2015/public_api.js +3 -0
  12. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +3 -0
  13. package/esm5/lib/ToolActionButton.js +100 -0
  14. package/esm5/lib/ToolPanelView_combined.js +1 -1
  15. package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
  16. package/esm5/lib/igc-property-editor-property-description-component.js +5 -3
  17. package/esm5/lib/igc-tool-action-button-component.js +72 -0
  18. package/esm5/lib/igc-tool-action-button-module.js +20 -0
  19. package/esm5/lib/igc-tool-action-performed-event-args.js +5 -3
  20. package/esm5/public_api.js +3 -0
  21. package/fesm2015/igniteui-webcomponents-layouts.js +185 -11
  22. package/fesm5/igniteui-webcomponents-layouts.js +196 -11
  23. package/lib/ToolActionButton.d.ts +23 -0
  24. package/lib/igc-tool-action-button-component.d.ts +17 -0
  25. package/lib/igc-tool-action-button-module.d.ts +3 -0
  26. package/package.json +3 -3
  27. package/public_api.d.ts +3 -0
@@ -3075,6 +3075,9 @@ let PropertyEditorDataSource = /*@__PURE__*/ (() => {
3075
3075
  if (stringEndsWith(c[d], "@mustSetInCode")) {
3076
3076
  continue;
3077
3077
  }
3078
+ if (stringEndsWith(c[d], "@stringUnion")) {
3079
+ continue;
3080
+ }
3078
3081
  let e = this.b.getMetadata(this.n, c[d]);
3079
3082
  let f = this.f(e);
3080
3083
  if (f.n == 0) {
@@ -3713,11 +3716,13 @@ let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() => {
3713
3716
  }
3714
3717
  if (!r.externalObject) {
3715
3718
  let e = new IgcPropertyEditorDescriptionObject();
3716
- if (e.i.setNativeElement) {
3717
- e.i.setNativeElement(r);
3719
+ if (r.$type) {
3720
+ e._implementation = r;
3718
3721
  }
3719
3722
  else {
3720
- e._implementation = r;
3723
+ if (e.i.setNativeElement) {
3724
+ e.i.setNativeElement(r);
3725
+ }
3721
3726
  }
3722
3727
  r.externalObject = e;
3723
3728
  }
@@ -7556,11 +7561,13 @@ class IgcListPanelTemplateItemUpdatingEventArgs {
7556
7561
  }
7557
7562
  if (!r.externalObject) {
7558
7563
  let e = new IgcListPanelItemModel();
7559
- if (e.i.setNativeElement) {
7560
- e.i.setNativeElement(r);
7564
+ if (r.$type) {
7565
+ e._implementation = r;
7561
7566
  }
7562
7567
  else {
7563
- e._implementation = r;
7568
+ if (e.i.setNativeElement) {
7569
+ e.i.setNativeElement(r);
7570
+ }
7564
7571
  }
7565
7572
  r.externalObject = e;
7566
7573
  }
@@ -8876,7 +8883,7 @@ let ToolActionRadio = /*@__PURE__*/ (() => {
8876
8883
  b.a7(0, 2, 1);
8877
8884
  b.a6(0, 1, isNaN_(h.e) ? 0 : h.e);
8878
8885
  b.a6(1, 1, isNaN_(h.g) ? 0 : h.g);
8879
- b.a6(1, 2, 1);
8886
+ b.a6(2, 2, 1);
8880
8887
  b.as = new Thickness(1, this.r, this.t, this.s, this.q);
8881
8888
  if (b.av == 0) {
8882
8889
  b.aw(c);
@@ -10136,11 +10143,13 @@ class IgcToolActionPerformedEventArgs {
10136
10143
  }
10137
10144
  if (!r.externalObject) {
10138
10145
  let e = new IgcToolActionEventDetail();
10139
- if (e.i.setNativeElement) {
10140
- e.i.setNativeElement(r);
10146
+ if (r.$type) {
10147
+ e._implementation = r;
10141
10148
  }
10142
10149
  else {
10143
- e._implementation = r;
10150
+ if (e.i.setNativeElement) {
10151
+ e.i.setNativeElement(r);
10152
+ }
10144
10153
  }
10145
10154
  r.externalObject = e;
10146
10155
  }
@@ -12439,6 +12448,171 @@ var PopupDirection = /*@__PURE__*/ (function (PopupDirection) {
12439
12448
  */
12440
12449
  let PopupDirection_$type = /*@__PURE__*/ markEnum('PopupDirection', 'Auto,0|Down,1|Up,2');
12441
12450
 
12451
+ /*
12452
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
12453
+ https://www.infragistics.com/legal/license/igultimate-la
12454
+ https://www.infragistics.com/legal/license/igultimate-eula
12455
+ 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.
12456
+ */
12457
+ /**
12458
+ * @hidden
12459
+ */
12460
+ let ToolActionButton = /*@__PURE__*/ (() => {
12461
+ class ToolActionButton extends ToolAction {
12462
+ constructor() {
12463
+ super(...arguments);
12464
+ this.be = null;
12465
+ }
12466
+ get_f() {
12467
+ return 9;
12468
+ }
12469
+ g() {
12470
+ return null;
12471
+ }
12472
+ b(a) {
12473
+ let b = new ToolActionEventDetail();
12474
+ b.a = this;
12475
+ b.b = this.f;
12476
+ b.d = a;
12477
+ return b;
12478
+ }
12479
+ p(a, b) {
12480
+ if (this.ap == null) {
12481
+ return NaN;
12482
+ }
12483
+ let c = 88;
12484
+ if (this.be != null) {
12485
+ let d = new Size(0);
12486
+ d.width = Number.POSITIVE_INFINITY;
12487
+ d.height = Number.POSITIVE_INFINITY;
12488
+ let e = this.be.ap(d);
12489
+ c = e.width;
12490
+ }
12491
+ return c;
12492
+ }
12493
+ bg(a, b, c, d, e, f, g) {
12494
+ if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
12495
+ a.a0 = b;
12496
+ if (g.a == 1) {
12497
+ b.d = 0;
12498
+ }
12499
+ else {
12500
+ b.d = 3;
12501
+ }
12502
+ b.a7(0, 2, 1);
12503
+ b.a6(0, 0, 1);
12504
+ b.as = new Thickness(1, this.r, this.t, this.s, this.q);
12505
+ if (b.av == 0) {
12506
+ b.aw(c);
12507
+ }
12508
+ b.bb(c, 0);
12509
+ b.ba(c, 0);
12510
+ this.be = c;
12511
+ this.be.av = 2;
12512
+ this.be.au = runOn(this, this.bf);
12513
+ }
12514
+ c.aw = this.ap;
12515
+ b.h = f.a.j;
12516
+ }
12517
+ bf(a, b) {
12518
+ this.a9(this.b(true), this);
12519
+ }
12520
+ bb(a, b, c, d) {
12521
+ super.bb(a, b, c, d);
12522
+ let e = c.b;
12523
+ if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
12524
+ NativeUIComponent.ab(b.l.r(), [7, 1], (f) => {
12525
+ let g = f[0];
12526
+ let h = f[1];
12527
+ e.a0 = g;
12528
+ this.bg(e, g, h, a, b, c, d);
12529
+ });
12530
+ }
12531
+ else {
12532
+ let f = e.a0;
12533
+ let g = f.au(0);
12534
+ this.bg(e, f, g, a, b, c, d);
12535
+ }
12536
+ }
12537
+ }
12538
+ ToolActionButton.$t = /*@__PURE__*/ markType(ToolActionButton, 'ToolActionButton', ToolAction.$);
12539
+ return ToolActionButton;
12540
+ })();
12541
+
12542
+ let IgcToolActionButtonComponent = /*@__PURE__*/ (() => {
12543
+ class IgcToolActionButtonComponent extends IgcToolActionComponent {
12544
+ constructor() {
12545
+ super();
12546
+ }
12547
+ createImplementation() {
12548
+ return new ToolActionButton();
12549
+ }
12550
+ /**
12551
+ * @hidden
12552
+ */
12553
+ get i() {
12554
+ return this._implementation;
12555
+ }
12556
+ connectedCallback() {
12557
+ if (super["connectedCallback"]) {
12558
+ super["connectedCallback"]();
12559
+ }
12560
+ if (this.i.connectedCallback) {
12561
+ this.i.connectedCallback();
12562
+ }
12563
+ if (!this._attached) {
12564
+ this._attached = true;
12565
+ this._flushQueuedAttributes();
12566
+ }
12567
+ }
12568
+ disconnectedCallback() {
12569
+ if (super["disconnectedCallback"]) {
12570
+ super["disconnectedCallback"]();
12571
+ }
12572
+ if (this.i.disconnectedCallback) {
12573
+ this.i.disconnectedCallback();
12574
+ }
12575
+ if (this._attached) {
12576
+ this._attached = false;
12577
+ }
12578
+ }
12579
+ static get observedAttributes() {
12580
+ if (IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent == null) {
12581
+ let names = getAllPropertyNames(IgcToolActionButtonComponent);
12582
+ for (let i = 0; i < names.length; i++) {
12583
+ names[i] = toSpinal(names[i]);
12584
+ }
12585
+ IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = names;
12586
+ }
12587
+ return IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent;
12588
+ }
12589
+ static register() {
12590
+ if (!IgcToolActionButtonComponent._isElementRegistered) {
12591
+ IgcToolActionButtonComponent._isElementRegistered = true;
12592
+ RegisterElementHelper.registerElement(IgcToolActionButtonComponent.htmlTagName, IgcToolActionButtonComponent);
12593
+ }
12594
+ }
12595
+ }
12596
+ IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = null;
12597
+ IgcToolActionButtonComponent.htmlTagName = "igc-tool-action-button";
12598
+ IgcToolActionButtonComponent._isElementRegistered = false;
12599
+ return IgcToolActionButtonComponent;
12600
+ })();
12601
+
12602
+ /*
12603
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
12604
+ https://www.infragistics.com/legal/license/igultimate-la
12605
+ https://www.infragistics.com/legal/license/igultimate-eula
12606
+ 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.
12607
+ */
12608
+ class IgcToolActionButtonModule {
12609
+ static register() {
12610
+ IgcToolActionButtonComponent.register();
12611
+ TypeRegistrar.registerCons("IgcToolActionButtonComponent", IgcToolActionButtonComponent);
12612
+ TypeRegistrar.register("ToolActionButton", ToolActionButton.$type);
12613
+ }
12614
+ }
12615
+
12442
12616
  /*
12443
12617
  THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
12444
12618
  https://www.infragistics.com/legal/license/igultimate-la
@@ -12953,4 +13127,4 @@ class IgcPropertyEditorDataSource {
12953
13127
  }
12954
13128
  }
12955
13129
 
12956
- export { ExpansionPanelUtilities, ExpansionPanelView, HorizontalPropertyEditorPanelDataSource, IExternalListPanel_$type, IExternalToolPanel_$type, IExternalToolbar_$type, IListPanelView_$type, IPropertyEditorPanelView_$type, IToolPanelView_$type, IToolbarView_$type, IgcHorizontalPropertyEditorPanelDataSource, IgcListPanelComponent, IgcListPanelContentRefreshedEventArgs, IgcListPanelItemModel, IgcListPanelModule, IgcListPanelTemplateHeightRequestedEventArgs, IgcListPanelTemplateItemUpdatingEventArgs, IgcListPanelTemplateWidthRequestedEventArgs, IgcOnClosedEventArgs, IgcOnCollapsedEventArgs, IgcOnExpandedEventArgs, IgcOnPopupEventArgs, IgcPopupComponent, IgcPopupModule, IgcPropertyEditorDataSource, IgcPropertyEditorDescriptionObject, IgcPropertyEditorDescriptionObjectCollection, IgcPropertyEditorPanelComponent, IgcPropertyEditorPanelModule, IgcPropertyEditorPropertyDescriptionButtonClickEventArgs, IgcPropertyEditorPropertyDescriptionChangedEventArgs, IgcPropertyEditorPropertyDescriptionCollection, IgcPropertyEditorPropertyDescriptionComponent, IgcPropertyEditorPropertyDescriptionModule, IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, IgcToolActionCheckboxComponent, IgcToolActionCheckboxModule, IgcToolActionCollection, IgcToolActionComponent, IgcToolActionEventDetail, IgcToolActionEventDetailCollection, IgcToolActionGroupHeaderComponent, IgcToolActionGroupHeaderModule, IgcToolActionIconButtonComponent, IgcToolActionIconButtonModule, IgcToolActionIconMenuComponent, IgcToolActionIconMenuModule, IgcToolActionLabelComponent, IgcToolActionLabelModule, IgcToolActionMenuBaseComponent, IgcToolActionModule, IgcToolActionNumberInputComponent, IgcToolActionNumberInputModule, IgcToolActionPerformedEventArgs, IgcToolActionRadioComponent, IgcToolActionRadioModule, IgcToolActionSeparatorComponent, IgcToolActionSeparatorModule, IgcToolCommandEventArgs, IgcToolPanelComponent, IgcToolPanelContentRefreshedEventArgs, IgcToolPanelModule, IgcToolbarComponent, IgcToolbarModule, IgcXExpansionPanelComponent, IgcXExpansionPanelModule, ListPanel, ListPanelContentRefreshedEventArgs, ListPanelDataBindingEventArgs, ListPanelDataSourceNotificationBridge, ListPanelItemModel, ListPanelItemPresenter, ListPanelLayoutPanel, ListPanelOrientation, ListPanelOrientation_$type, ListPanelTemplateHeightRequestedEventArgs, ListPanelTemplateItemUpdatingEventArgs, ListPanelTemplateWidthRequestedEventArgs, ListPanelView, OnClosedEventArgs, OnCollapsedEventArgs, OnExpandedEventArgs, OnPopupEventArgs, Popup, PopupAlignment, PopupAlignment_$type, PopupDirection, PopupDirection_$type, PopupView, PopupVisualModelExport, Popup_InnerAnimationInfo, Popup_OuterAnimationInfo, PropertyEditorDataSource, PropertyEditorDescriptionObject, PropertyEditorDescriptionObjectCollection, PropertyEditorPanel, PropertyEditorPanelColumnDefinition, PropertyEditorPanelColumnFieldType_$type, PropertyEditorPanelColumnType_$type, PropertyEditorPanelDataBindingEventArgs, PropertyEditorPanelDropDownDataListItem, PropertyEditorPanelTemplateCellUpdatingEventArgs, PropertyEditorPanelView, PropertyEditorPropertyDescription, PropertyEditorPropertyDescriptionButtonClickEventArgs, PropertyEditorPropertyDescriptionChangedEventArgs, PropertyEditorPropertyDescriptionCollection, PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, PropertyEditorTreeTransformer, PropertyEditorValueType, PropertyEditorValueType_$type, ToolAction, ToolActionCheckbox, ToolActionCollection, ToolActionEventDetail, ToolActionEventDetailCollection, ToolActionGroupHeader, ToolActionIconButton, ToolActionIconMenu, ToolActionLabel, ToolActionMeasurementContext, ToolActionMenuBase, ToolActionNumberInput, ToolActionPerformedEventArgs, ToolActionRadio, ToolActionSeparator, ToolCommandEventArgs, ToolPanel, ToolPanelContentRefreshedEventArgs, ToolPanelOrientation, ToolPanelOrientation_$type, ToolPanelView, Toolbar, ToolbarIconManager, ToolbarOrientation, ToolbarOrientation_$type, ToolbarView, XExpansionPanel };
13130
+ export { ExpansionPanelUtilities, ExpansionPanelView, HorizontalPropertyEditorPanelDataSource, IExternalListPanel_$type, IExternalToolPanel_$type, IExternalToolbar_$type, IListPanelView_$type, IPropertyEditorPanelView_$type, IToolPanelView_$type, IToolbarView_$type, IgcHorizontalPropertyEditorPanelDataSource, IgcListPanelComponent, IgcListPanelContentRefreshedEventArgs, IgcListPanelItemModel, IgcListPanelModule, IgcListPanelTemplateHeightRequestedEventArgs, IgcListPanelTemplateItemUpdatingEventArgs, IgcListPanelTemplateWidthRequestedEventArgs, IgcOnClosedEventArgs, IgcOnCollapsedEventArgs, IgcOnExpandedEventArgs, IgcOnPopupEventArgs, IgcPopupComponent, IgcPopupModule, IgcPropertyEditorDataSource, IgcPropertyEditorDescriptionObject, IgcPropertyEditorDescriptionObjectCollection, IgcPropertyEditorPanelComponent, IgcPropertyEditorPanelModule, IgcPropertyEditorPropertyDescriptionButtonClickEventArgs, IgcPropertyEditorPropertyDescriptionChangedEventArgs, IgcPropertyEditorPropertyDescriptionCollection, IgcPropertyEditorPropertyDescriptionComponent, IgcPropertyEditorPropertyDescriptionModule, IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, IgcToolActionButtonComponent, IgcToolActionButtonModule, IgcToolActionCheckboxComponent, IgcToolActionCheckboxModule, IgcToolActionCollection, IgcToolActionComponent, IgcToolActionEventDetail, IgcToolActionEventDetailCollection, IgcToolActionGroupHeaderComponent, IgcToolActionGroupHeaderModule, IgcToolActionIconButtonComponent, IgcToolActionIconButtonModule, IgcToolActionIconMenuComponent, IgcToolActionIconMenuModule, IgcToolActionLabelComponent, IgcToolActionLabelModule, IgcToolActionMenuBaseComponent, IgcToolActionModule, IgcToolActionNumberInputComponent, IgcToolActionNumberInputModule, IgcToolActionPerformedEventArgs, IgcToolActionRadioComponent, IgcToolActionRadioModule, IgcToolActionSeparatorComponent, IgcToolActionSeparatorModule, IgcToolCommandEventArgs, IgcToolPanelComponent, IgcToolPanelContentRefreshedEventArgs, IgcToolPanelModule, IgcToolbarComponent, IgcToolbarModule, IgcXExpansionPanelComponent, IgcXExpansionPanelModule, ListPanel, ListPanelContentRefreshedEventArgs, ListPanelDataBindingEventArgs, ListPanelDataSourceNotificationBridge, ListPanelItemModel, ListPanelItemPresenter, ListPanelLayoutPanel, ListPanelOrientation, ListPanelOrientation_$type, ListPanelTemplateHeightRequestedEventArgs, ListPanelTemplateItemUpdatingEventArgs, ListPanelTemplateWidthRequestedEventArgs, ListPanelView, OnClosedEventArgs, OnCollapsedEventArgs, OnExpandedEventArgs, OnPopupEventArgs, Popup, PopupAlignment, PopupAlignment_$type, PopupDirection, PopupDirection_$type, PopupView, PopupVisualModelExport, Popup_InnerAnimationInfo, Popup_OuterAnimationInfo, PropertyEditorDataSource, PropertyEditorDescriptionObject, PropertyEditorDescriptionObjectCollection, PropertyEditorPanel, PropertyEditorPanelColumnDefinition, PropertyEditorPanelColumnFieldType_$type, PropertyEditorPanelColumnType_$type, PropertyEditorPanelDataBindingEventArgs, PropertyEditorPanelDropDownDataListItem, PropertyEditorPanelTemplateCellUpdatingEventArgs, PropertyEditorPanelView, PropertyEditorPropertyDescription, PropertyEditorPropertyDescriptionButtonClickEventArgs, PropertyEditorPropertyDescriptionChangedEventArgs, PropertyEditorPropertyDescriptionCollection, PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, PropertyEditorTreeTransformer, PropertyEditorValueType, PropertyEditorValueType_$type, ToolAction, ToolActionButton, ToolActionCheckbox, ToolActionCollection, ToolActionEventDetail, ToolActionEventDetailCollection, ToolActionGroupHeader, ToolActionIconButton, ToolActionIconMenu, ToolActionLabel, ToolActionMeasurementContext, ToolActionMenuBase, ToolActionNumberInput, ToolActionPerformedEventArgs, ToolActionRadio, ToolActionSeparator, ToolCommandEventArgs, ToolPanel, ToolPanelContentRefreshedEventArgs, ToolPanelOrientation, ToolPanelOrientation_$type, ToolPanelView, Toolbar, ToolbarIconManager, ToolbarOrientation, ToolbarOrientation_$type, ToolbarView, XExpansionPanel };
@@ -3561,6 +3561,9 @@ var PropertyEditorDataSource = /** @class */ /*@__PURE__*/ (function (_super) {
3561
3561
  if (stringEndsWith(c[d], "@mustSetInCode")) {
3562
3562
  continue;
3563
3563
  }
3564
+ if (stringEndsWith(c[d], "@stringUnion")) {
3565
+ continue;
3566
+ }
3564
3567
  var e = this.b.getMetadata(this.n, c[d]);
3565
3568
  var f = this.f(e);
3566
3569
  if (f.n == 0) {
@@ -4314,11 +4317,13 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
4314
4317
  }
4315
4318
  if (!r.externalObject) {
4316
4319
  var e = new IgcPropertyEditorDescriptionObject();
4317
- if (e.i.setNativeElement) {
4318
- e.i.setNativeElement(r);
4320
+ if (r.$type) {
4321
+ e._implementation = r;
4319
4322
  }
4320
4323
  else {
4321
- e._implementation = r;
4324
+ if (e.i.setNativeElement) {
4325
+ e.i.setNativeElement(r);
4326
+ }
4322
4327
  }
4323
4328
  r.externalObject = e;
4324
4329
  }
@@ -8542,11 +8547,13 @@ var IgcListPanelTemplateItemUpdatingEventArgs = /** @class */ /*@__PURE__*/ (fun
8542
8547
  }
8543
8548
  if (!r.externalObject) {
8544
8549
  var e = new IgcListPanelItemModel();
8545
- if (e.i.setNativeElement) {
8546
- e.i.setNativeElement(r);
8550
+ if (r.$type) {
8551
+ e._implementation = r;
8547
8552
  }
8548
8553
  else {
8549
- e._implementation = r;
8554
+ if (e.i.setNativeElement) {
8555
+ e.i.setNativeElement(r);
8556
+ }
8550
8557
  }
8551
8558
  r.externalObject = e;
8552
8559
  }
@@ -10053,7 +10060,7 @@ var ToolActionRadio = /** @class */ /*@__PURE__*/ (function (_super) {
10053
10060
  b.a7(0, 2, 1);
10054
10061
  b.a6(0, 1, isNaN_(h.e) ? 0 : h.e);
10055
10062
  b.a6(1, 1, isNaN_(h.g) ? 0 : h.g);
10056
- b.a6(1, 2, 1);
10063
+ b.a6(2, 2, 1);
10057
10064
  b.as = new Thickness(1, this.r, this.t, this.s, this.q);
10058
10065
  if (b.av == 0) {
10059
10066
  b.aw(c);
@@ -11438,11 +11445,13 @@ var IgcToolActionPerformedEventArgs = /** @class */ /*@__PURE__*/ (function () {
11438
11445
  }
11439
11446
  if (!r.externalObject) {
11440
11447
  var e = new IgcToolActionEventDetail();
11441
- if (e.i.setNativeElement) {
11442
- e.i.setNativeElement(r);
11448
+ if (r.$type) {
11449
+ e._implementation = r;
11443
11450
  }
11444
11451
  else {
11445
- e._implementation = r;
11452
+ if (e.i.setNativeElement) {
11453
+ e.i.setNativeElement(r);
11454
+ }
11446
11455
  }
11447
11456
  r.externalObject = e;
11448
11457
  }
@@ -14108,6 +14117,182 @@ var PopupDirection = /*@__PURE__*/ (function (PopupDirection) {
14108
14117
  */
14109
14118
  var PopupDirection_$type = /*@__PURE__*/ markEnum('PopupDirection', 'Auto,0|Down,1|Up,2');
14110
14119
 
14120
+ /*
14121
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
14122
+ https://www.infragistics.com/legal/license/igultimate-la
14123
+ https://www.infragistics.com/legal/license/igultimate-eula
14124
+ 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.
14125
+ */
14126
+ /**
14127
+ * @hidden
14128
+ */
14129
+ var ToolActionButton = /** @class */ /*@__PURE__*/ (function (_super) {
14130
+ __extends(ToolActionButton, _super);
14131
+ function ToolActionButton() {
14132
+ var _this = _super !== null && _super.apply(this, arguments) || this;
14133
+ _this.be = null;
14134
+ return _this;
14135
+ }
14136
+ ToolActionButton.prototype.get_f = function () {
14137
+ return 9;
14138
+ };
14139
+ ToolActionButton.prototype.g = function () {
14140
+ return null;
14141
+ };
14142
+ ToolActionButton.prototype.b = function (a) {
14143
+ var b = new ToolActionEventDetail();
14144
+ b.a = this;
14145
+ b.b = this.f;
14146
+ b.d = a;
14147
+ return b;
14148
+ };
14149
+ ToolActionButton.prototype.p = function (a, b) {
14150
+ if (this.ap == null) {
14151
+ return NaN;
14152
+ }
14153
+ var c = 88;
14154
+ if (this.be != null) {
14155
+ var d = new Size(0);
14156
+ d.width = Number.POSITIVE_INFINITY;
14157
+ d.height = Number.POSITIVE_INFINITY;
14158
+ var e = this.be.ap(d);
14159
+ c = e.width;
14160
+ }
14161
+ return c;
14162
+ };
14163
+ ToolActionButton.prototype.bg = function (a, b, c, d, e, f, g) {
14164
+ if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
14165
+ a.a0 = b;
14166
+ if (g.a == 1) {
14167
+ b.d = 0;
14168
+ }
14169
+ else {
14170
+ b.d = 3;
14171
+ }
14172
+ b.a7(0, 2, 1);
14173
+ b.a6(0, 0, 1);
14174
+ b.as = new Thickness(1, this.r, this.t, this.s, this.q);
14175
+ if (b.av == 0) {
14176
+ b.aw(c);
14177
+ }
14178
+ b.bb(c, 0);
14179
+ b.ba(c, 0);
14180
+ this.be = c;
14181
+ this.be.av = 2;
14182
+ this.be.au = runOn(this, this.bf);
14183
+ }
14184
+ c.aw = this.ap;
14185
+ b.h = f.a.j;
14186
+ };
14187
+ ToolActionButton.prototype.bf = function (a, b) {
14188
+ this.a9(this.b(true), this);
14189
+ };
14190
+ ToolActionButton.prototype.bb = function (a, b, c, d) {
14191
+ var _this = this;
14192
+ _super.prototype.bb.call(this, a, b, c, d);
14193
+ var e = c.b;
14194
+ if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
14195
+ NativeUIComponent.ab(b.l.r(), [7, 1], function (f) {
14196
+ var g = f[0];
14197
+ var h = f[1];
14198
+ e.a0 = g;
14199
+ _this.bg(e, g, h, a, b, c, d);
14200
+ });
14201
+ }
14202
+ else {
14203
+ var f = e.a0;
14204
+ var g = f.au(0);
14205
+ this.bg(e, f, g, a, b, c, d);
14206
+ }
14207
+ };
14208
+ ToolActionButton.$t = markType(ToolActionButton, 'ToolActionButton', ToolAction.$);
14209
+ return ToolActionButton;
14210
+ }(ToolAction));
14211
+
14212
+ var IgcToolActionButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
14213
+ __extends(IgcToolActionButtonComponent, _super);
14214
+ function IgcToolActionButtonComponent() {
14215
+ return _super.call(this) || this;
14216
+ }
14217
+ IgcToolActionButtonComponent.prototype.createImplementation = function () {
14218
+ return new ToolActionButton();
14219
+ };
14220
+ Object.defineProperty(IgcToolActionButtonComponent.prototype, "i", {
14221
+ /**
14222
+ * @hidden
14223
+ */
14224
+ get: function () {
14225
+ return this._implementation;
14226
+ },
14227
+ enumerable: true,
14228
+ configurable: true
14229
+ });
14230
+ IgcToolActionButtonComponent.prototype.connectedCallback = function () {
14231
+ if (_super.prototype["connectedCallback"]) {
14232
+ _super.prototype["connectedCallback"].call(this);
14233
+ }
14234
+ if (this.i.connectedCallback) {
14235
+ this.i.connectedCallback();
14236
+ }
14237
+ if (!this._attached) {
14238
+ this._attached = true;
14239
+ this._flushQueuedAttributes();
14240
+ }
14241
+ };
14242
+ IgcToolActionButtonComponent.prototype.disconnectedCallback = function () {
14243
+ if (_super.prototype["disconnectedCallback"]) {
14244
+ _super.prototype["disconnectedCallback"].call(this);
14245
+ }
14246
+ if (this.i.disconnectedCallback) {
14247
+ this.i.disconnectedCallback();
14248
+ }
14249
+ if (this._attached) {
14250
+ this._attached = false;
14251
+ }
14252
+ };
14253
+ Object.defineProperty(IgcToolActionButtonComponent, "observedAttributes", {
14254
+ get: function () {
14255
+ if (IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent == null) {
14256
+ var names = getAllPropertyNames(IgcToolActionButtonComponent);
14257
+ for (var i = 0; i < names.length; i++) {
14258
+ names[i] = toSpinal(names[i]);
14259
+ }
14260
+ IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = names;
14261
+ }
14262
+ return IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent;
14263
+ },
14264
+ enumerable: true,
14265
+ configurable: true
14266
+ });
14267
+ IgcToolActionButtonComponent.register = function () {
14268
+ if (!IgcToolActionButtonComponent._isElementRegistered) {
14269
+ IgcToolActionButtonComponent._isElementRegistered = true;
14270
+ RegisterElementHelper.registerElement(IgcToolActionButtonComponent.htmlTagName, IgcToolActionButtonComponent);
14271
+ }
14272
+ };
14273
+ IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = null;
14274
+ IgcToolActionButtonComponent.htmlTagName = "igc-tool-action-button";
14275
+ IgcToolActionButtonComponent._isElementRegistered = false;
14276
+ return IgcToolActionButtonComponent;
14277
+ }(IgcToolActionComponent));
14278
+
14279
+ /*
14280
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
14281
+ https://www.infragistics.com/legal/license/igultimate-la
14282
+ https://www.infragistics.com/legal/license/igultimate-eula
14283
+ 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.
14284
+ */
14285
+ var IgcToolActionButtonModule = /** @class */ /*@__PURE__*/ (function () {
14286
+ function IgcToolActionButtonModule() {
14287
+ }
14288
+ IgcToolActionButtonModule.register = function () {
14289
+ IgcToolActionButtonComponent.register();
14290
+ TypeRegistrar.registerCons("IgcToolActionButtonComponent", IgcToolActionButtonComponent);
14291
+ TypeRegistrar.register("ToolActionButton", ToolActionButton.$type);
14292
+ };
14293
+ return IgcToolActionButtonModule;
14294
+ }());
14295
+
14111
14296
  /*
14112
14297
  THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
14113
14298
  https://www.infragistics.com/legal/license/igultimate-la
@@ -14675,4 +14860,4 @@ var IgcPropertyEditorDataSource = /** @class */ /*@__PURE__*/ (function () {
14675
14860
  return IgcPropertyEditorDataSource;
14676
14861
  }());
14677
14862
 
14678
- export { ExpansionPanelUtilities, ExpansionPanelView, HorizontalPropertyEditorPanelDataSource, IExternalListPanel_$type, IExternalToolPanel_$type, IExternalToolbar_$type, IListPanelView_$type, IPropertyEditorPanelView_$type, IToolPanelView_$type, IToolbarView_$type, IgcHorizontalPropertyEditorPanelDataSource, IgcListPanelComponent, IgcListPanelContentRefreshedEventArgs, IgcListPanelItemModel, IgcListPanelModule, IgcListPanelTemplateHeightRequestedEventArgs, IgcListPanelTemplateItemUpdatingEventArgs, IgcListPanelTemplateWidthRequestedEventArgs, IgcOnClosedEventArgs, IgcOnCollapsedEventArgs, IgcOnExpandedEventArgs, IgcOnPopupEventArgs, IgcPopupComponent, IgcPopupModule, IgcPropertyEditorDataSource, IgcPropertyEditorDescriptionObject, IgcPropertyEditorDescriptionObjectCollection, IgcPropertyEditorPanelComponent, IgcPropertyEditorPanelModule, IgcPropertyEditorPropertyDescriptionButtonClickEventArgs, IgcPropertyEditorPropertyDescriptionChangedEventArgs, IgcPropertyEditorPropertyDescriptionCollection, IgcPropertyEditorPropertyDescriptionComponent, IgcPropertyEditorPropertyDescriptionModule, IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, IgcToolActionCheckboxComponent, IgcToolActionCheckboxModule, IgcToolActionCollection, IgcToolActionComponent, IgcToolActionEventDetail, IgcToolActionEventDetailCollection, IgcToolActionGroupHeaderComponent, IgcToolActionGroupHeaderModule, IgcToolActionIconButtonComponent, IgcToolActionIconButtonModule, IgcToolActionIconMenuComponent, IgcToolActionIconMenuModule, IgcToolActionLabelComponent, IgcToolActionLabelModule, IgcToolActionMenuBaseComponent, IgcToolActionModule, IgcToolActionNumberInputComponent, IgcToolActionNumberInputModule, IgcToolActionPerformedEventArgs, IgcToolActionRadioComponent, IgcToolActionRadioModule, IgcToolActionSeparatorComponent, IgcToolActionSeparatorModule, IgcToolCommandEventArgs, IgcToolPanelComponent, IgcToolPanelContentRefreshedEventArgs, IgcToolPanelModule, IgcToolbarComponent, IgcToolbarModule, IgcXExpansionPanelComponent, IgcXExpansionPanelModule, ListPanel, ListPanelContentRefreshedEventArgs, ListPanelDataBindingEventArgs, ListPanelDataSourceNotificationBridge, ListPanelItemModel, ListPanelItemPresenter, ListPanelLayoutPanel, ListPanelOrientation, ListPanelOrientation_$type, ListPanelTemplateHeightRequestedEventArgs, ListPanelTemplateItemUpdatingEventArgs, ListPanelTemplateWidthRequestedEventArgs, ListPanelView, OnClosedEventArgs, OnCollapsedEventArgs, OnExpandedEventArgs, OnPopupEventArgs, Popup, PopupAlignment, PopupAlignment_$type, PopupDirection, PopupDirection_$type, PopupView, PopupVisualModelExport, Popup_InnerAnimationInfo, Popup_OuterAnimationInfo, PropertyEditorDataSource, PropertyEditorDescriptionObject, PropertyEditorDescriptionObjectCollection, PropertyEditorPanel, PropertyEditorPanelColumnDefinition, PropertyEditorPanelColumnFieldType_$type, PropertyEditorPanelColumnType_$type, PropertyEditorPanelDataBindingEventArgs, PropertyEditorPanelDropDownDataListItem, PropertyEditorPanelTemplateCellUpdatingEventArgs, PropertyEditorPanelView, PropertyEditorPropertyDescription, PropertyEditorPropertyDescriptionButtonClickEventArgs, PropertyEditorPropertyDescriptionChangedEventArgs, PropertyEditorPropertyDescriptionCollection, PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, PropertyEditorTreeTransformer, PropertyEditorValueType, PropertyEditorValueType_$type, ToolAction, ToolActionCheckbox, ToolActionCollection, ToolActionEventDetail, ToolActionEventDetailCollection, ToolActionGroupHeader, ToolActionIconButton, ToolActionIconMenu, ToolActionLabel, ToolActionMeasurementContext, ToolActionMenuBase, ToolActionNumberInput, ToolActionPerformedEventArgs, ToolActionRadio, ToolActionSeparator, ToolCommandEventArgs, ToolPanel, ToolPanelContentRefreshedEventArgs, ToolPanelOrientation, ToolPanelOrientation_$type, ToolPanelView, Toolbar, ToolbarIconManager, ToolbarOrientation, ToolbarOrientation_$type, ToolbarView, XExpansionPanel };
14863
+ export { ExpansionPanelUtilities, ExpansionPanelView, HorizontalPropertyEditorPanelDataSource, IExternalListPanel_$type, IExternalToolPanel_$type, IExternalToolbar_$type, IListPanelView_$type, IPropertyEditorPanelView_$type, IToolPanelView_$type, IToolbarView_$type, IgcHorizontalPropertyEditorPanelDataSource, IgcListPanelComponent, IgcListPanelContentRefreshedEventArgs, IgcListPanelItemModel, IgcListPanelModule, IgcListPanelTemplateHeightRequestedEventArgs, IgcListPanelTemplateItemUpdatingEventArgs, IgcListPanelTemplateWidthRequestedEventArgs, IgcOnClosedEventArgs, IgcOnCollapsedEventArgs, IgcOnExpandedEventArgs, IgcOnPopupEventArgs, IgcPopupComponent, IgcPopupModule, IgcPropertyEditorDataSource, IgcPropertyEditorDescriptionObject, IgcPropertyEditorDescriptionObjectCollection, IgcPropertyEditorPanelComponent, IgcPropertyEditorPanelModule, IgcPropertyEditorPropertyDescriptionButtonClickEventArgs, IgcPropertyEditorPropertyDescriptionChangedEventArgs, IgcPropertyEditorPropertyDescriptionCollection, IgcPropertyEditorPropertyDescriptionComponent, IgcPropertyEditorPropertyDescriptionModule, IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, IgcToolActionButtonComponent, IgcToolActionButtonModule, IgcToolActionCheckboxComponent, IgcToolActionCheckboxModule, IgcToolActionCollection, IgcToolActionComponent, IgcToolActionEventDetail, IgcToolActionEventDetailCollection, IgcToolActionGroupHeaderComponent, IgcToolActionGroupHeaderModule, IgcToolActionIconButtonComponent, IgcToolActionIconButtonModule, IgcToolActionIconMenuComponent, IgcToolActionIconMenuModule, IgcToolActionLabelComponent, IgcToolActionLabelModule, IgcToolActionMenuBaseComponent, IgcToolActionModule, IgcToolActionNumberInputComponent, IgcToolActionNumberInputModule, IgcToolActionPerformedEventArgs, IgcToolActionRadioComponent, IgcToolActionRadioModule, IgcToolActionSeparatorComponent, IgcToolActionSeparatorModule, IgcToolCommandEventArgs, IgcToolPanelComponent, IgcToolPanelContentRefreshedEventArgs, IgcToolPanelModule, IgcToolbarComponent, IgcToolbarModule, IgcXExpansionPanelComponent, IgcXExpansionPanelModule, ListPanel, ListPanelContentRefreshedEventArgs, ListPanelDataBindingEventArgs, ListPanelDataSourceNotificationBridge, ListPanelItemModel, ListPanelItemPresenter, ListPanelLayoutPanel, ListPanelOrientation, ListPanelOrientation_$type, ListPanelTemplateHeightRequestedEventArgs, ListPanelTemplateItemUpdatingEventArgs, ListPanelTemplateWidthRequestedEventArgs, ListPanelView, OnClosedEventArgs, OnCollapsedEventArgs, OnExpandedEventArgs, OnPopupEventArgs, Popup, PopupAlignment, PopupAlignment_$type, PopupDirection, PopupDirection_$type, PopupView, PopupVisualModelExport, Popup_InnerAnimationInfo, Popup_OuterAnimationInfo, PropertyEditorDataSource, PropertyEditorDescriptionObject, PropertyEditorDescriptionObjectCollection, PropertyEditorPanel, PropertyEditorPanelColumnDefinition, PropertyEditorPanelColumnFieldType_$type, PropertyEditorPanelColumnType_$type, PropertyEditorPanelDataBindingEventArgs, PropertyEditorPanelDropDownDataListItem, PropertyEditorPanelTemplateCellUpdatingEventArgs, PropertyEditorPanelView, PropertyEditorPropertyDescription, PropertyEditorPropertyDescriptionButtonClickEventArgs, PropertyEditorPropertyDescriptionChangedEventArgs, PropertyEditorPropertyDescriptionCollection, PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, PropertyEditorTreeTransformer, PropertyEditorValueType, PropertyEditorValueType_$type, ToolAction, ToolActionButton, ToolActionCheckbox, ToolActionCollection, ToolActionEventDetail, ToolActionEventDetailCollection, ToolActionGroupHeader, ToolActionIconButton, ToolActionIconMenu, ToolActionLabel, ToolActionMeasurementContext, ToolActionMenuBase, ToolActionNumberInput, ToolActionPerformedEventArgs, ToolActionRadio, ToolActionSeparator, ToolCommandEventArgs, ToolPanel, ToolPanelContentRefreshedEventArgs, ToolPanelOrientation, ToolPanelOrientation_$type, ToolPanelView, Toolbar, ToolbarIconManager, ToolbarOrientation, ToolbarOrientation_$type, ToolbarView, XExpansionPanel };
@@ -0,0 +1,23 @@
1
+ import { ToolAction } from "./ToolAction";
2
+ import { ToolActionType } from "igniteui-webcomponents-core";
3
+ import { ToolCommandArgument } from "igniteui-webcomponents-core";
4
+ import { ToolActionEventDetail } from "./ToolActionEventDetail";
5
+ import { ToolPanel } from "./ToolPanel";
6
+ import { ToolActionMeasurementContext } from "./ToolActionMeasurementContext";
7
+ import { ListPanel } from "./ListPanel";
8
+ import { ListPanelTemplateItemUpdatingEventArgs } from "./ListPanelTemplateItemUpdatingEventArgs";
9
+ import { Type } from "igniteui-webcomponents-core";
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare class ToolActionButton extends ToolAction {
14
+ static $t: Type;
15
+ protected get_f(): ToolActionType;
16
+ g(): ToolCommandArgument;
17
+ b(a: boolean): ToolActionEventDetail;
18
+ private be;
19
+ p(a: ToolPanel, b: ToolActionMeasurementContext): number;
20
+ private bg;
21
+ private bf;
22
+ bb(a: ListPanel, b: ToolPanel, c: ListPanelTemplateItemUpdatingEventArgs, d: ToolActionMeasurementContext): void;
23
+ }
@@ -0,0 +1,17 @@
1
+ import { IgcToolActionComponent } from "./igc-tool-action-component";
2
+ import { ToolActionButton } from "./ToolActionButton";
3
+ export declare class IgcToolActionButtonComponent extends IgcToolActionComponent {
4
+ protected createImplementation(): ToolActionButton;
5
+ /**
6
+ * @hidden
7
+ */
8
+ readonly i: ToolActionButton;
9
+ constructor();
10
+ connectedCallback(): void;
11
+ disconnectedCallback(): void;
12
+ private static _observedAttributesIgcToolActionButtonComponent;
13
+ static readonly observedAttributes: string[];
14
+ static htmlTagName: string;
15
+ protected static _isElementRegistered: boolean;
16
+ static register(): void;
17
+ }
@@ -0,0 +1,3 @@
1
+ export declare class IgcToolActionButtonModule {
2
+ static register(): void;
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-webcomponents-layouts",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "Ignite UI WebComponents layout components.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-webcomponents-layouts",
6
6
  "keywords": [
@@ -14,8 +14,8 @@
14
14
  "tslib": "^2.3.1"
15
15
  },
16
16
  "peerDependencies": {
17
- "igniteui-webcomponents-core": "4.0.2",
18
- "igniteui-webcomponents-inputs": "4.0.2"
17
+ "igniteui-webcomponents-core": "4.0.4",
18
+ "igniteui-webcomponents-inputs": "4.0.4"
19
19
  },
20
20
  "sideEffects": false,
21
21
  "typings": "igniteui-webcomponents-layouts.d.ts",
package/public_api.d.ts CHANGED
@@ -27,6 +27,9 @@ export * from './lib/OnPopupEventArgs';
27
27
  export * from './lib/igc-on-popup-event-args';
28
28
  export * from './lib/OnClosedEventArgs';
29
29
  export * from './lib/igc-on-closed-event-args';
30
+ export * from './lib/ToolActionButton';
31
+ export * from './lib/igc-tool-action-button-component';
32
+ export * from './lib/igc-tool-action-button-module';
30
33
  export * from './lib/ToolActionLabel';
31
34
  export * from './lib/igc-tool-action-label-component';
32
35
  export * from './lib/igc-tool-action-label-module';