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
@@ -3564,6 +3564,9 @@
3564
3564
  if (igniteuiWebcomponentsCore.stringEndsWith(c[d], "@mustSetInCode")) {
3565
3565
  continue;
3566
3566
  }
3567
+ if (igniteuiWebcomponentsCore.stringEndsWith(c[d], "@stringUnion")) {
3568
+ continue;
3569
+ }
3567
3570
  var e = this.b.getMetadata(this.n, c[d]);
3568
3571
  var f = this.f(e);
3569
3572
  if (f.n == 0) {
@@ -4317,11 +4320,13 @@
4317
4320
  }
4318
4321
  if (!r.externalObject) {
4319
4322
  var e = new IgcPropertyEditorDescriptionObject();
4320
- if (e.i.setNativeElement) {
4321
- e.i.setNativeElement(r);
4323
+ if (r.$type) {
4324
+ e._implementation = r;
4322
4325
  }
4323
4326
  else {
4324
- e._implementation = r;
4327
+ if (e.i.setNativeElement) {
4328
+ e.i.setNativeElement(r);
4329
+ }
4325
4330
  }
4326
4331
  r.externalObject = e;
4327
4332
  }
@@ -8545,11 +8550,13 @@
8545
8550
  }
8546
8551
  if (!r.externalObject) {
8547
8552
  var e = new IgcListPanelItemModel();
8548
- if (e.i.setNativeElement) {
8549
- e.i.setNativeElement(r);
8553
+ if (r.$type) {
8554
+ e._implementation = r;
8550
8555
  }
8551
8556
  else {
8552
- e._implementation = r;
8557
+ if (e.i.setNativeElement) {
8558
+ e.i.setNativeElement(r);
8559
+ }
8553
8560
  }
8554
8561
  r.externalObject = e;
8555
8562
  }
@@ -10056,7 +10063,7 @@
10056
10063
  b.a7(0, 2, 1);
10057
10064
  b.a6(0, 1, igniteuiWebcomponentsCore.isNaN_(h.e) ? 0 : h.e);
10058
10065
  b.a6(1, 1, igniteuiWebcomponentsCore.isNaN_(h.g) ? 0 : h.g);
10059
- b.a6(1, 2, 1);
10066
+ b.a6(2, 2, 1);
10060
10067
  b.as = new igniteuiWebcomponentsCore.Thickness(1, this.r, this.t, this.s, this.q);
10061
10068
  if (b.av == 0) {
10062
10069
  b.aw(c);
@@ -11441,11 +11448,13 @@
11441
11448
  }
11442
11449
  if (!r.externalObject) {
11443
11450
  var e = new IgcToolActionEventDetail();
11444
- if (e.i.setNativeElement) {
11445
- e.i.setNativeElement(r);
11451
+ if (r.$type) {
11452
+ e._implementation = r;
11446
11453
  }
11447
11454
  else {
11448
- e._implementation = r;
11455
+ if (e.i.setNativeElement) {
11456
+ e.i.setNativeElement(r);
11457
+ }
11449
11458
  }
11450
11459
  r.externalObject = e;
11451
11460
  }
@@ -14111,6 +14120,182 @@
14111
14120
  */
14112
14121
  var PopupDirection_$type = /*@__PURE__*/ igniteuiWebcomponentsCore.markEnum('PopupDirection', 'Auto,0|Down,1|Up,2');
14113
14122
 
14123
+ /*
14124
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
14125
+ https://www.infragistics.com/legal/license/igultimate-la
14126
+ https://www.infragistics.com/legal/license/igultimate-eula
14127
+ 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.
14128
+ */
14129
+ /**
14130
+ * @hidden
14131
+ */
14132
+ var ToolActionButton = /** @class */ /*@__PURE__*/ (function (_super) {
14133
+ tslib_1.__extends(ToolActionButton, _super);
14134
+ function ToolActionButton() {
14135
+ var _this = _super !== null && _super.apply(this, arguments) || this;
14136
+ _this.be = null;
14137
+ return _this;
14138
+ }
14139
+ ToolActionButton.prototype.get_f = function () {
14140
+ return 9;
14141
+ };
14142
+ ToolActionButton.prototype.g = function () {
14143
+ return null;
14144
+ };
14145
+ ToolActionButton.prototype.b = function (a) {
14146
+ var b = new ToolActionEventDetail();
14147
+ b.a = this;
14148
+ b.b = this.f;
14149
+ b.d = a;
14150
+ return b;
14151
+ };
14152
+ ToolActionButton.prototype.p = function (a, b) {
14153
+ if (this.ap == null) {
14154
+ return NaN;
14155
+ }
14156
+ var c = 88;
14157
+ if (this.be != null) {
14158
+ var d = new igniteuiWebcomponentsCore.Size(0);
14159
+ d.width = Number.POSITIVE_INFINITY;
14160
+ d.height = Number.POSITIVE_INFINITY;
14161
+ var e = this.be.ap(d);
14162
+ c = e.width;
14163
+ }
14164
+ return c;
14165
+ };
14166
+ ToolActionButton.prototype.bg = function (a, b, c, d, e, f, g) {
14167
+ if (a.w == null || igniteuiWebcomponentsCore.EnumUtil.getEnumValue(igniteuiWebcomponentsCore.ToolActionType_$type, a.w) != this.f) {
14168
+ a.a0 = b;
14169
+ if (g.a == 1) {
14170
+ b.d = 0;
14171
+ }
14172
+ else {
14173
+ b.d = 3;
14174
+ }
14175
+ b.a7(0, 2, 1);
14176
+ b.a6(0, 0, 1);
14177
+ b.as = new igniteuiWebcomponentsCore.Thickness(1, this.r, this.t, this.s, this.q);
14178
+ if (b.av == 0) {
14179
+ b.aw(c);
14180
+ }
14181
+ b.bb(c, 0);
14182
+ b.ba(c, 0);
14183
+ this.be = c;
14184
+ this.be.av = 2;
14185
+ this.be.au = igniteuiWebcomponentsCore.runOn(this, this.bf);
14186
+ }
14187
+ c.aw = this.ap;
14188
+ b.h = f.a.j;
14189
+ };
14190
+ ToolActionButton.prototype.bf = function (a, b) {
14191
+ this.a9(this.b(true), this);
14192
+ };
14193
+ ToolActionButton.prototype.bb = function (a, b, c, d) {
14194
+ var _this = this;
14195
+ _super.prototype.bb.call(this, a, b, c, d);
14196
+ var e = c.b;
14197
+ if (e.a0 == null || (e.w == null || igniteuiWebcomponentsCore.EnumUtil.getEnumValue(igniteuiWebcomponentsCore.ToolActionType_$type, e.w) != this.f)) {
14198
+ igniteuiWebcomponentsCore.NativeUIComponent.ab(b.l.r(), [7, 1], function (f) {
14199
+ var g = f[0];
14200
+ var h = f[1];
14201
+ e.a0 = g;
14202
+ _this.bg(e, g, h, a, b, c, d);
14203
+ });
14204
+ }
14205
+ else {
14206
+ var f = e.a0;
14207
+ var g = f.au(0);
14208
+ this.bg(e, f, g, a, b, c, d);
14209
+ }
14210
+ };
14211
+ ToolActionButton.$t = igniteuiWebcomponentsCore.markType(ToolActionButton, 'ToolActionButton', ToolAction.$);
14212
+ return ToolActionButton;
14213
+ }(ToolAction));
14214
+
14215
+ var IgcToolActionButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
14216
+ tslib_1.__extends(IgcToolActionButtonComponent, _super);
14217
+ function IgcToolActionButtonComponent() {
14218
+ return _super.call(this) || this;
14219
+ }
14220
+ IgcToolActionButtonComponent.prototype.createImplementation = function () {
14221
+ return new ToolActionButton();
14222
+ };
14223
+ Object.defineProperty(IgcToolActionButtonComponent.prototype, "i", {
14224
+ /**
14225
+ * @hidden
14226
+ */
14227
+ get: function () {
14228
+ return this._implementation;
14229
+ },
14230
+ enumerable: true,
14231
+ configurable: true
14232
+ });
14233
+ IgcToolActionButtonComponent.prototype.connectedCallback = function () {
14234
+ if (_super.prototype["connectedCallback"]) {
14235
+ _super.prototype["connectedCallback"].call(this);
14236
+ }
14237
+ if (this.i.connectedCallback) {
14238
+ this.i.connectedCallback();
14239
+ }
14240
+ if (!this._attached) {
14241
+ this._attached = true;
14242
+ this._flushQueuedAttributes();
14243
+ }
14244
+ };
14245
+ IgcToolActionButtonComponent.prototype.disconnectedCallback = function () {
14246
+ if (_super.prototype["disconnectedCallback"]) {
14247
+ _super.prototype["disconnectedCallback"].call(this);
14248
+ }
14249
+ if (this.i.disconnectedCallback) {
14250
+ this.i.disconnectedCallback();
14251
+ }
14252
+ if (this._attached) {
14253
+ this._attached = false;
14254
+ }
14255
+ };
14256
+ Object.defineProperty(IgcToolActionButtonComponent, "observedAttributes", {
14257
+ get: function () {
14258
+ if (IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent == null) {
14259
+ var names = igniteuiWebcomponentsCore.getAllPropertyNames(IgcToolActionButtonComponent);
14260
+ for (var i = 0; i < names.length; i++) {
14261
+ names[i] = igniteuiWebcomponentsCore.toSpinal(names[i]);
14262
+ }
14263
+ IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = names;
14264
+ }
14265
+ return IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent;
14266
+ },
14267
+ enumerable: true,
14268
+ configurable: true
14269
+ });
14270
+ IgcToolActionButtonComponent.register = function () {
14271
+ if (!IgcToolActionButtonComponent._isElementRegistered) {
14272
+ IgcToolActionButtonComponent._isElementRegistered = true;
14273
+ igniteuiWebcomponentsCore.RegisterElementHelper.registerElement(IgcToolActionButtonComponent.htmlTagName, IgcToolActionButtonComponent);
14274
+ }
14275
+ };
14276
+ IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = null;
14277
+ IgcToolActionButtonComponent.htmlTagName = "igc-tool-action-button";
14278
+ IgcToolActionButtonComponent._isElementRegistered = false;
14279
+ return IgcToolActionButtonComponent;
14280
+ }(IgcToolActionComponent));
14281
+
14282
+ /*
14283
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
14284
+ https://www.infragistics.com/legal/license/igultimate-la
14285
+ https://www.infragistics.com/legal/license/igultimate-eula
14286
+ 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.
14287
+ */
14288
+ var IgcToolActionButtonModule = /** @class */ /*@__PURE__*/ (function () {
14289
+ function IgcToolActionButtonModule() {
14290
+ }
14291
+ IgcToolActionButtonModule.register = function () {
14292
+ IgcToolActionButtonComponent.register();
14293
+ igniteuiWebcomponentsCore.TypeRegistrar.registerCons("IgcToolActionButtonComponent", IgcToolActionButtonComponent);
14294
+ igniteuiWebcomponentsCore.TypeRegistrar.register("ToolActionButton", ToolActionButton.$type);
14295
+ };
14296
+ return IgcToolActionButtonModule;
14297
+ }());
14298
+
14114
14299
  /*
14115
14300
  THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
14116
14301
  https://www.infragistics.com/legal/license/igultimate-la
@@ -14713,6 +14898,8 @@
14713
14898
  exports.IgcPropertyEditorPropertyDescriptionComponent = IgcPropertyEditorPropertyDescriptionComponent;
14714
14899
  exports.IgcPropertyEditorPropertyDescriptionModule = IgcPropertyEditorPropertyDescriptionModule;
14715
14900
  exports.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs = IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs;
14901
+ exports.IgcToolActionButtonComponent = IgcToolActionButtonComponent;
14902
+ exports.IgcToolActionButtonModule = IgcToolActionButtonModule;
14716
14903
  exports.IgcToolActionCheckboxComponent = IgcToolActionCheckboxComponent;
14717
14904
  exports.IgcToolActionCheckboxModule = IgcToolActionCheckboxModule;
14718
14905
  exports.IgcToolActionCollection = IgcToolActionCollection;
@@ -14790,6 +14977,7 @@
14790
14977
  exports.PropertyEditorValueType = PropertyEditorValueType;
14791
14978
  exports.PropertyEditorValueType_$type = PropertyEditorValueType_$type;
14792
14979
  exports.ToolAction = ToolAction;
14980
+ exports.ToolActionButton = ToolActionButton;
14793
14981
  exports.ToolActionCheckbox = ToolActionCheckbox;
14794
14982
  exports.ToolActionCollection = ToolActionCollection;
14795
14983
  exports.ToolActionEventDetail = ToolActionEventDetail;