@zeedhi/common 1.72.0 → 1.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/zd-common.esm.js +563 -61
  2. package/dist/zd-common.umd.js +563 -61
  3. package/package.json +2 -2
  4. package/types/components/zd-apex-chart/apex-chart.d.ts +26 -2
  5. package/types/components/zd-apex-chart/interfaces.d.ts +5 -0
  6. package/types/components/zd-card/card.d.ts +8 -4
  7. package/types/components/zd-card/interfaces.d.ts +6 -5
  8. package/types/components/zd-carousel/carousel.d.ts +4 -0
  9. package/types/components/zd-carousel/interfaces.d.ts +4 -3
  10. package/types/components/zd-code-editor/code-editor.d.ts +30 -4
  11. package/types/components/zd-code-editor/interfaces.d.ts +7 -2
  12. package/types/components/zd-component/component.d.ts +4 -0
  13. package/types/components/zd-component/interfaces.d.ts +1 -0
  14. package/types/components/zd-container/container.d.ts +15 -0
  15. package/types/components/zd-container/interfaces.d.ts +4 -1
  16. package/types/components/zd-dashboard/dashboard.d.ts +34 -1
  17. package/types/components/zd-dashboard/interfaces.d.ts +7 -1
  18. package/types/components/zd-form/form.d.ts +34 -6
  19. package/types/components/zd-form/interfaces.d.ts +6 -0
  20. package/types/components/zd-frame/frame.d.ts +34 -3
  21. package/types/components/zd-frame/interfaces.d.ts +4 -0
  22. package/types/components/zd-grid/grid-column.d.ts +1 -0
  23. package/types/components/zd-grid/grid-editable.d.ts +2 -1
  24. package/types/components/zd-grid/grid.d.ts +23 -9
  25. package/types/components/zd-grid/interfaces.d.ts +7 -5
  26. package/types/components/zd-image/image.d.ts +34 -12
  27. package/types/components/zd-image/interfaces.d.ts +7 -2
  28. package/types/components/zd-iterable/interfaces.d.ts +1 -0
  29. package/types/components/zd-iterable/iterable.d.ts +4 -0
  30. package/types/components/zd-iterable-component-render/interfaces.d.ts +4 -0
  31. package/types/components/zd-iterable-component-render/iterable-component-render.d.ts +28 -6
  32. package/types/components/zd-list/interfaces.d.ts +4 -0
  33. package/types/components/zd-list/list.d.ts +28 -6
  34. package/types/components/zd-row/interfaces.d.ts +4 -0
  35. package/types/components/zd-row/row.d.ts +19 -0
  36. package/types/components/zd-selectable-list/interfaces.d.ts +7 -0
  37. package/types/components/zd-selectable-list/selectable-list.d.ts +34 -0
  38. package/types/components/zd-table/interfaces.d.ts +4 -0
  39. package/types/components/zd-table/table.d.ts +19 -0
  40. package/types/components/zd-tabs/interfaces.d.ts +3 -1
  41. package/types/components/zd-tabs/tab.d.ts +0 -4
  42. package/types/components/zd-tabs/tabs.d.ts +17 -2
  43. package/types/components/zd-textarea/interfaces.d.ts +3 -1
  44. package/types/components/zd-textarea/textarea.d.ts +15 -4
  45. package/types/components/zd-tree/interfaces.d.ts +7 -2
  46. package/types/components/zd-tree/tree.d.ts +29 -3
  47. package/types/components/zd-tree-grid/tree-grid-editable.d.ts +1 -0
@@ -30,6 +30,10 @@
30
30
  * @param props Components properties
31
31
  */
32
32
  constructor(props) {
33
+ /**
34
+ * Allow the component to be duplicated without warning.
35
+ */
36
+ this.allowDuplicate = false;
33
37
  /**
34
38
  * Automatically add focus to input when it's created.
35
39
  */
@@ -88,6 +92,7 @@
88
92
  this.parent = props.parent;
89
93
  this.name = props.name;
90
94
  this.events = core.Event.factory(props.events || this.events);
95
+ this.allowDuplicate = this.getInitValue('allowDuplicate', props.allowDuplicate, this.allowDuplicate);
91
96
  this.autofocus = this.getInitValue('autofocus', props.autofocus, this.autofocus);
92
97
  this.cssClass = this.getInitValue('cssClass', props.cssClass, this.cssClass);
93
98
  this.cssStyle = this.getInitValue('cssStyle', props.cssStyle, this.cssStyle);
@@ -201,7 +206,7 @@
201
206
  * Triggered when the component is created.
202
207
  */
203
208
  onCreated() {
204
- this.componentId = core.Metadata.addInstance(this);
209
+ this.componentId = core.Metadata.addInstance(this, this.allowDuplicate);
205
210
  if (this.parent) {
206
211
  this.parent.addChildInstance(this);
207
212
  }
@@ -436,10 +441,24 @@
436
441
  */
437
442
  this.chartType = 'line';
438
443
  /**
439
- * Defines the chart height. Possible values for width can be
444
+ * Defines the component height. Possible values for this property can be
440
445
  * <samp>'auto', '100%', '400px' or 400</samp>
441
446
  */
442
- this.height = 'auto';
447
+ this.height = '100%';
448
+ /**
449
+ * Defines the component min height. Possible values for this property can be
450
+ * <samp>'auto', '100%', '400px' or 400</samp>
451
+ */
452
+ this.minHeight = 'auto';
453
+ /**
454
+ * Defines the component max height. Possible values for this property can be
455
+ * <samp>'auto', '100%', '400px' or 400</samp>
456
+ */
457
+ this.maxHeight = 'none';
458
+ /**
459
+ * Set component height to fill all space available
460
+ */
461
+ this.fillHeight = false;
443
462
  /**
444
463
  * Chart options. See <a href=\"https://apexcharts.com/docs/options/\"
445
464
  * target=\"_blank\" alt=\"Apex Charts API Reference\">Apex Chart API
@@ -453,10 +472,20 @@
453
472
  */
454
473
  this.series = [];
455
474
  /**
456
- * Defines the chart width. Possible values for width can be
475
+ * Defines the component width. Possible values for this property can be
457
476
  * <samp>'auto', '100%', '400px' or 400</samp>
458
477
  */
459
478
  this.width = '100%';
479
+ /**
480
+ * Defines the component min width. Possible values for this property can be
481
+ * <samp>'auto', '100%', '400px' or 400</samp>
482
+ */
483
+ this.minWidth = 'auto';
484
+ /**
485
+ * Defines the component max height. Possible values for this property can be
486
+ * <samp>'auto', '100%', '400px' or 400</samp>
487
+ */
488
+ this.maxWidth = 'none';
460
489
  /**
461
490
  * Defines if chart is loading
462
491
  */
@@ -508,7 +537,12 @@
508
537
  this.options = merge__default["default"](this.defaultOptions, this.getInitValue('options', props.options, this.options));
509
538
  this.series = this.getInitValue('series', props.series, this.series);
510
539
  this.height = this.getInitValue('height', props.height, this.height);
540
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
541
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
542
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
511
543
  this.width = this.getInitValue('width', props.width, this.width);
544
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
545
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
512
546
  this.loading = this.getInitValue('loading', props.loading, this.loading);
513
547
  this.loadOpacity = this.getInitValue('loadOpacity', props.loadOpacity, this.loadOpacity);
514
548
  this.loadColor = this.getInitValue('loadColor', props.loadColor, this.loadColor);
@@ -1157,7 +1191,11 @@
1157
1191
  * Sets the carousel min height. Example values: 'auto', '100%', '400px',
1158
1192
  * '30em', '400', 400. Values without measurement unit will be notated in pixels by default
1159
1193
  */
1160
- this.minHeight = 'none';
1194
+ this.minHeight = 'auto';
1195
+ /**
1196
+ * Set component height to fill all space available
1197
+ */
1198
+ this.fillHeight = false;
1161
1199
  /**
1162
1200
  * Configures the carousel as infinite (the slide after the last one is the first slide, and vice-versa)
1163
1201
  */
@@ -1251,6 +1289,7 @@
1251
1289
  this.height = this.getInitValue('height', props.height, this.height);
1252
1290
  this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
1253
1291
  this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
1292
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
1254
1293
  this.infiniteScroll = this.getInitValue('infiniteScroll', props.infiniteScroll, this.infiniteScroll);
1255
1294
  this.initialSlide = this.getInitValue('initialSlide', props.initialSlide, this.initialSlide);
1256
1295
  this.currentSlide = this.getInitValue('currentSlide', props.currentSlide, this.initialSlide);
@@ -1390,6 +1429,30 @@
1390
1429
  * Designates that the card is a link
1391
1430
  */
1392
1431
  this.link = false;
1432
+ /**
1433
+ * Sets the maximum height for the card.
1434
+ * Possible values for width can be 'auto', '100%', '400px' or 400
1435
+ */
1436
+ this.maxHeight = 'none';
1437
+ /**
1438
+ * Sets the maximum width for the card.
1439
+ * Possible values for width can be 'auto', '100%', '400px' or 400
1440
+ */
1441
+ this.maxWidth = 'none';
1442
+ /**
1443
+ * Sets the minimum height for the card.
1444
+ * Possible values for width can be 'auto', '100%', '400px' or 400
1445
+ */
1446
+ this.minHeight = 'auto';
1447
+ /**
1448
+ * Sets the minimum width for the card.
1449
+ * Possible values for width can be 'auto', '100%', '400px' or 400
1450
+ */
1451
+ this.minWidth = 'auto';
1452
+ /**
1453
+ * Set component height to fill all space available
1454
+ */
1455
+ this.fillHeight = false;
1393
1456
  /**
1394
1457
  * Removes card elevation shadow and adds a thin border
1395
1458
  */
@@ -1412,21 +1475,22 @@
1412
1475
  this.disabled = this.getInitValue('disabled', props.disabled, this.disabled);
1413
1476
  this.elevation = this.getInitValue('elevation', props.elevation, this.elevation);
1414
1477
  this.flat = this.getInitValue('flat', props.flat, this.flat);
1415
- this.height = this.getInitValue('height', props.height, this.height);
1416
1478
  this.hover = this.getInitValue('hover', props.hover, this.hover);
1417
1479
  this.href = this.getInitValue('href', props.href, this.href);
1418
1480
  this.img = this.getInitValue('img', props.img, this.img);
1419
1481
  this.link = this.getInitValue('link', props.link, this.link);
1482
+ this.height = this.getInitValue('height', props.height, this.height);
1483
+ this.width = this.getInitValue('width', props.width, this.width);
1420
1484
  this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
1421
1485
  this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
1422
1486
  this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
1423
1487
  this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
1488
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
1424
1489
  this.outlined = this.getInitValue('outlined', props.outlined, this.outlined);
1425
1490
  this.raised = this.getInitValue('raised', props.raised, this.raised);
1426
1491
  this.ripple = this.getInitValue('ripple', props.ripple, this.ripple);
1427
1492
  this.tile = this.getInitValue('tile', props.tile, this.tile);
1428
1493
  this.to = this.getInitValue('to', props.to, this.to);
1429
- this.width = this.getInitValue('width', props.width, this.width);
1430
1494
  this.createAccessors();
1431
1495
  }
1432
1496
  }
@@ -1479,6 +1543,40 @@
1479
1543
  */
1480
1544
  constructor(props) {
1481
1545
  super(props);
1546
+ /**
1547
+ * Defines the component height. Possible values for this property can be
1548
+ * <samp>'auto', '100%', '400px' or 400</samp>
1549
+ */
1550
+ this.height = 'auto';
1551
+ /**
1552
+ * Defines the component min height. Possible values for this property can be
1553
+ * <samp>'auto', '100%', '400px' or 400</samp>
1554
+ */
1555
+ this.minHeight = 'auto';
1556
+ /**
1557
+ * Defines the component max height. Possible values for this property can be
1558
+ * <samp>'auto', '100%', '400px' or 400</samp>
1559
+ */
1560
+ this.maxHeight = 'none';
1561
+ /**
1562
+ * Set component height to fill all space available
1563
+ */
1564
+ this.fillHeight = false;
1565
+ /**
1566
+ * Defines the component width. Possible values for this property can be
1567
+ * <samp>'auto', '100%', '400px' or 400</samp>
1568
+ */
1569
+ this.width = '100%';
1570
+ /**
1571
+ * Defines the component min width. Possible values for this property can be
1572
+ * <samp>'auto', '100%', '400px' or 400</samp>
1573
+ */
1574
+ this.minWidth = 'auto';
1575
+ /**
1576
+ * Defines the component max height. Possible values for this property can be
1577
+ * <samp>'auto', '100%', '400px' or 400</samp>
1578
+ */
1579
+ this.maxWidth = 'none';
1482
1580
  /**
1483
1581
  * Children components that are Inputs.
1484
1582
  */
@@ -1487,6 +1585,12 @@
1487
1585
  this.align = this.getInitValue('align', props.align, this.align);
1488
1586
  this.justify = this.getInitValue('justify', props.justify, this.justify);
1489
1587
  this.height = this.getInitValue('height', props.height, this.height);
1588
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
1589
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
1590
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
1591
+ this.width = this.getInitValue('width', props.width, this.width);
1592
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
1593
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
1490
1594
  this.internalValue = this.getInitValue('value', props.value, this.value);
1491
1595
  this.createAccessors();
1492
1596
  }
@@ -2105,13 +2209,39 @@
2105
2209
  constructor(props) {
2106
2210
  super(props);
2107
2211
  /**
2108
- * Max height in pixels. 'none' means no limit.
2212
+ * Defines the component height. Possible values for this property can be
2213
+ * <samp>'auto', '100%', '400px' or 400</samp>
2214
+ */
2215
+ this.height = 'auto';
2216
+ /**
2217
+ * Defines the component min height. Possible values for this property can be
2218
+ * <samp>'auto', '100%', '400px' or 400</samp>
2219
+ */
2220
+ this.minHeight = 'auto';
2221
+ /**
2222
+ * Defines the component max height. Possible values for this property can be
2223
+ * <samp>'auto', '100%', '400px' or 400</samp>
2109
2224
  */
2110
2225
  this.maxHeight = 'none';
2111
2226
  /**
2112
- * Max height in pixels. 'none' means no limit.
2227
+ * Set component height to fill all space available
2113
2228
  */
2114
- this.height = 'auto';
2229
+ this.fillHeight = false;
2230
+ /**
2231
+ * Defines the component width. Possible values for this property can be
2232
+ * <samp>'auto', '100%', '400px' or 400</samp>
2233
+ */
2234
+ this.width = 'auto';
2235
+ /**
2236
+ * Defines the component min width. Possible values for this property can be
2237
+ * <samp>'auto', '100%', '400px' or 400</samp>
2238
+ */
2239
+ this.minWidth = 'auto';
2240
+ /**
2241
+ * Defines the component max height. Possible values for this property can be
2242
+ * <samp>'auto', '100%', '400px' or 400</samp>
2243
+ */
2244
+ this.maxWidth = 'none';
2115
2245
  /**
2116
2246
  * Language code to be used for highlight (js|javascript, css, html, json, ts|typescript, bash|shell)
2117
2247
  * Other languages must be imported above
@@ -2130,8 +2260,13 @@
2130
2260
  this.staticCodeValue = '';
2131
2261
  this.staticCode = this.getInitValue('staticCode', props.staticCode, this.staticCodeValue);
2132
2262
  this.copyIcon = this.getInitValue('copyIcon', props.copyIcon, this.copyIcon);
2133
- this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
2134
2263
  this.height = this.getInitValue('height', props.height, this.height);
2264
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
2265
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
2266
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
2267
+ this.width = this.getInitValue('width', props.width, this.width);
2268
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
2269
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
2135
2270
  this.language = this.getInitValue('language', props.language, this.language);
2136
2271
  this.showLineNumbers = this.getInitValue('showLineNumbers', props.showLineNumbers, this.showLineNumbers);
2137
2272
  this.createAccessors();
@@ -2349,7 +2484,22 @@
2349
2484
  /**
2350
2485
  * Sets the minimum height for the component.
2351
2486
  */
2352
- this.minHeight = 'none';
2487
+ this.minHeight = 'auto';
2488
+ /**
2489
+ * Defines the component width. Possible values for this property can be
2490
+ * <samp>'auto', '100%', '400px' or 400</samp>
2491
+ */
2492
+ this.width = '100%';
2493
+ /**
2494
+ * Defines the component min width. Possible values for this property can be
2495
+ * <samp>'auto', '100%', '400px' or 400</samp>
2496
+ */
2497
+ this.minWidth = 'auto';
2498
+ /**
2499
+ * Defines the component max height. Possible values for this property can be
2500
+ * <samp>'auto', '100%', '400px' or 400</samp>
2501
+ */
2502
+ this.maxWidth = 'none';
2353
2503
  /**
2354
2504
  * Removes viewport maximum-width size breakpoints.
2355
2505
  */
@@ -2364,6 +2514,9 @@
2364
2514
  this.height = this.getInitValue('height', props.height, this.height);
2365
2515
  this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
2366
2516
  this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
2517
+ this.width = this.getInitValue('width', props.width, this.width);
2518
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
2519
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
2367
2520
  this.createAccessors();
2368
2521
  }
2369
2522
  }
@@ -2977,10 +3130,42 @@
2977
3130
  this.overrideNamedProps = {};
2978
3131
  /* Remove the paddings of the dashboard */
2979
3132
  this.removePadding = false;
2980
- /* Height of the dashboard */
2981
- this.height = '';
2982
- /* Height adjust of the dashboard */
3133
+ /* Height steps of the dashboard cards */
2983
3134
  this.heightAdjust = '';
3135
+ /**
3136
+ * Defines the component height. Possible values for this property can be
3137
+ * <samp>'auto', '100%', '400px' or 400</samp>
3138
+ */
3139
+ this.height = 'auto';
3140
+ /**
3141
+ * Defines the component min height. Possible values for this property can be
3142
+ * <samp>'auto', '100%', '400px' or 400</samp>
3143
+ */
3144
+ this.minHeight = 'auto';
3145
+ /**
3146
+ * Defines the component max height. Possible values for this property can be
3147
+ * <samp>'auto', '100%', '400px' or 400</samp>
3148
+ */
3149
+ this.maxHeight = 'none';
3150
+ /**
3151
+ * Set component height to fill all space available
3152
+ */
3153
+ this.fillHeight = false;
3154
+ /**
3155
+ * Defines the component width. Possible values for this property can be
3156
+ * <samp>'auto', '100%', '400px' or 400</samp>
3157
+ */
3158
+ this.width = '100%';
3159
+ /**
3160
+ * Defines the component min width. Possible values for this property can be
3161
+ * <samp>'auto', '100%', '400px' or 400</samp>
3162
+ */
3163
+ this.minWidth = 'auto';
3164
+ /**
3165
+ * Defines the component max height. Possible values for this property can be
3166
+ * <samp>'auto', '100%', '400px' or 400</samp>
3167
+ */
3168
+ this.maxWidth = 'none';
2984
3169
  /* Creates the add modal */
2985
3170
  this.addModalDef = {
2986
3171
  name: `addModal${this.getCardId()}`,
@@ -3201,6 +3386,12 @@
3201
3386
  this.overrideNamedProps = props.overrideNamedProps || this.overrideNamedProps;
3202
3387
  this.removePadding = this.getInitValue('removePadding', props.removePadding, this.removePadding);
3203
3388
  this.height = this.getInitValue('height', props.height, this.height);
3389
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
3390
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
3391
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
3392
+ this.width = this.getInitValue('width', props.width, this.width);
3393
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
3394
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
3204
3395
  this.heightAdjust = this.getInitValue('heightAdjust', props.heightAdjust, this.heightAdjust);
3205
3396
  this.cardFooterSlot = this.getInitValue('cardFooterSlot', props.cardFooterSlot, this.cardFooterSlot);
3206
3397
  this.editHeader = this.getInitValue('editHeader', props.editHeader, this.editHeader);
@@ -4543,9 +4734,40 @@
4543
4734
  this.cache = false;
4544
4735
  this.JSONCache = false;
4545
4736
  this.cacheDuration = 2 * 60 * 60 * 1000;
4737
+ /**
4738
+ * Defines the component height. Possible values for this property can be
4739
+ * <samp>'auto', '100%', '400px' or 400</samp>
4740
+ */
4546
4741
  this.height = 'auto';
4742
+ /**
4743
+ * Defines the component min height. Possible values for this property can be
4744
+ * <samp>'auto', '100%', '400px' or 400</samp>
4745
+ */
4746
+ this.minHeight = 'auto';
4747
+ /**
4748
+ * Defines the component max height. Possible values for this property can be
4749
+ * <samp>'auto', '100%', '400px' or 400</samp>
4750
+ */
4547
4751
  this.maxHeight = 'none';
4548
- this.minHeight = 'none';
4752
+ /**
4753
+ * Set component height to fill all space available
4754
+ */
4755
+ this.fillHeight = false;
4756
+ /**
4757
+ * Defines the component width. Possible values for this property can be
4758
+ * <samp>'auto', '100%', '400px' or 400</samp>
4759
+ */
4760
+ this.width = '100%';
4761
+ /**
4762
+ * Defines the component min width. Possible values for this property can be
4763
+ * <samp>'auto', '100%', '400px' or 400</samp>
4764
+ */
4765
+ this.minWidth = 'auto';
4766
+ /**
4767
+ * Defines the component max height. Possible values for this property can be
4768
+ * <samp>'auto', '100%', '400px' or 400</samp>
4769
+ */
4770
+ this.maxWidth = 'none';
4549
4771
  this.type = 'get';
4550
4772
  this.headerName = 'sw-fetched-on';
4551
4773
  this.path = this.getInitValue('path', props.path, this.path);
@@ -4558,6 +4780,10 @@
4558
4780
  this.height = this.getInitValue('height', props.height, this.height);
4559
4781
  this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
4560
4782
  this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
4783
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
4784
+ this.width = this.getInitValue('width', props.width, this.width);
4785
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
4786
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
4561
4787
  this.type = this.getInitValue('type', props.type, this.type);
4562
4788
  this.params = this.getInitValue('params', props.params, this.params);
4563
4789
  this.createAccessors();
@@ -4754,7 +4980,7 @@
4754
4980
  data.forEach((row) => {
4755
4981
  lookupData[row[lookupColumn]] = row;
4756
4982
  });
4757
- this.lookupData = lookupData;
4983
+ this.lookupData = Object.assign(Object.assign({}, this.lookupData), lookupData);
4758
4984
  this.lookupDataCount += 1;
4759
4985
  this.loading = false;
4760
4986
  });
@@ -4972,6 +5198,10 @@
4972
5198
  * Uses virtual scrolling to render data.
4973
5199
  */
4974
5200
  this.virtualScroll = false;
5201
+ /**
5202
+ * Number of lines outside the viewport to cache when using virtual scroll.
5203
+ */
5204
+ this.virtualScrollCache = 5;
4975
5205
  /**
4976
5206
  * Dictionary of rowKey ponting to Dictionary of colName pointing to Dictionary of prop pointing to the
4977
5207
  * condition (applied) return value
@@ -4989,6 +5219,7 @@
4989
5219
  this.pageSizes = this.getInitValue('pageSizes', props.pageSizes, this.pageSizes);
4990
5220
  this.searchVisibleOnly = this.getInitValue('searchVisibleOnly', props.searchVisibleOnly, this.defaultSearchVisibleOnly);
4991
5221
  this.virtualScroll = this.getInitValue('virtualScroll', props.virtualScroll, this.virtualScroll);
5222
+ this.virtualScrollCache = this.getInitValue('virtualScrollCache', props.virtualScrollCache, this.virtualScrollCache);
4992
5223
  }
4993
5224
  createController() {
4994
5225
  const controller = new IterableController(this);
@@ -5337,9 +5568,39 @@
5337
5568
  */
5338
5569
  this.dense = true;
5339
5570
  /**
5340
- * Defines if the component should fill the entire available height
5571
+ * Defines the component height. Possible values for this property can be
5572
+ * <samp>'auto', '100%', '400px' or 400</samp>
5573
+ */
5574
+ this.height = 'auto';
5575
+ /**
5576
+ * Defines the component min height. Possible values for this property can be
5577
+ * <samp>'auto', '100%', '400px' or 400</samp>
5578
+ */
5579
+ this.minHeight = 'auto';
5580
+ /**
5581
+ * Defines the component max height. Possible values for this property can be
5582
+ * <samp>'auto', '100%', '400px' or 400</samp>
5583
+ */
5584
+ this.maxHeight = 'none';
5585
+ /**
5586
+ * Set component height to fill all space available
5341
5587
  */
5342
5588
  this.fillHeight = false;
5589
+ /**
5590
+ * Defines the component width. Possible values for this property can be
5591
+ * <samp>'auto', '100%', '400px' or 400</samp>
5592
+ */
5593
+ this.width = '100%';
5594
+ /**
5595
+ * Defines the component min width. Possible values for this property can be
5596
+ * <samp>'auto', '100%', '400px' or 400</samp>
5597
+ */
5598
+ this.minWidth = 'auto';
5599
+ /**
5600
+ * Defines the component max height. Possible values for this property can be
5601
+ * <samp>'auto', '100%', '400px' or 400</samp>
5602
+ */
5603
+ this.maxWidth = 'none';
5343
5604
  /**
5344
5605
  * Controls footer visibility
5345
5606
  */
@@ -5408,10 +5669,12 @@
5408
5669
  this.light = this.getInitValue('light', props.light, this.light);
5409
5670
  this.selectable = this.getInitValue('selectable', props.selectable, this.selectable);
5410
5671
  this.height = this.getInitValue('height', props.height, this.height);
5411
- this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
5672
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
5412
5673
  this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
5413
- this.gridHeight = this.getInitValue('gridHeight', props.gridHeight, this.gridHeight);
5414
- this.gridMaxHeight = this.getInitValue('gridMaxHeight', props.gridMaxHeight, this.gridMaxHeight);
5674
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
5675
+ this.width = this.getInitValue('width', props.width, this.width);
5676
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
5677
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
5415
5678
  this.showFooter = this.getInitValue('showFooter', props.showFooter, this.showFooter);
5416
5679
  this.showHeader = this.getInitValue('showHeader', props.showHeader, this.showHeader);
5417
5680
  this.headerBackground = this.getInitValue('headerBackground', props.headerBackground, this.headerBackground);
@@ -5627,6 +5890,7 @@
5627
5890
  const newChildren = (_d = newComponent.children) === null || _d === void 0 ? void 0 : _d.map((child) => this.getActionComponent(child, column, row, path));
5628
5891
  newComponent.name = instanceName;
5629
5892
  newComponent.children = newChildren;
5893
+ newComponent.allowDuplicate = true;
5630
5894
  try {
5631
5895
  const updatedComponent = Object.assign({}, newComponent);
5632
5896
  delete updatedComponent.datasource;
@@ -5892,7 +6156,7 @@
5892
6156
  }
5893
6157
  } });
5894
6158
  this.updateOriginalRow(key, row);
5895
- return Object.assign(Object.assign({}, componentProps), { name: compName, parent: this, align: column.align, showLabel: false, showHelper: false, dense: true, value: colValue, events: newEvents, autofill: false });
6159
+ return Object.assign(Object.assign({}, componentProps), { name: compName, parent: this, align: column.align, showLabel: false, showHelper: false, dense: true, value: colValue, events: newEvents, autofill: false, allowDuplicate: true });
5896
6160
  }
5897
6161
  checkLookupData(column, row, componentProps) {
5898
6162
  if (row[column.name] && column.lookupData && componentProps.datasource) {
@@ -6001,21 +6265,25 @@
6001
6265
  */
6002
6266
  cancelEditedRows() {
6003
6267
  return __awaiter(this, void 0, void 0, function* () {
6004
- yield this.removeAddedRows();
6268
+ yield this.cancelAddedRows();
6005
6269
  this.editing = false;
6006
6270
  this.editedRows = {};
6007
6271
  this.invalidComponents = {};
6008
6272
  });
6009
6273
  }
6010
- removeAddedRows() {
6274
+ cancelAddedRows() {
6011
6275
  return __awaiter(this, void 0, void 0, function* () {
6012
- const { data } = this.datasource;
6013
- data.forEach((row, index) => {
6276
+ const { data, page } = this.datasource;
6277
+ const allData = this.datasource.allData || data;
6278
+ Promise.resolve(allData);
6279
+ allData.forEach((row, index) => {
6014
6280
  if (row[this.newRowIdentifier]) {
6015
- data.splice(index, 1);
6281
+ allData.splice(index, 1);
6016
6282
  }
6017
6283
  });
6018
- yield this.datasource.updateData(data);
6284
+ yield this.datasource.updateData(allData);
6285
+ yield this.datasource.get();
6286
+ yield this.datasource.setPage(page);
6019
6287
  });
6020
6288
  }
6021
6289
  addDataRow(row) {
@@ -6031,7 +6299,7 @@
6031
6299
  */
6032
6300
  saveEditedRows(revalidate = false) {
6033
6301
  return __awaiter(this, void 0, void 0, function* () {
6034
- yield this.removeAddedRows();
6302
+ yield this.cancelAddedRows();
6035
6303
  const response = yield Promise.all(this.getEditedRows(revalidate).map((row) => this.addDataRow(row)));
6036
6304
  this.editing = false;
6037
6305
  this.editedRows = {};
@@ -6373,10 +6641,6 @@
6373
6641
  * Text to be shown if an error occurs.
6374
6642
  */
6375
6643
  this.errorImageText = '';
6376
- /**
6377
- * Height of the image, e.g. <samp>\"100px\"</samp> or <samp>\"50%\"</samp>.
6378
- */
6379
- this.height = '';
6380
6644
  /**
6381
6645
  * Defines how the image should be resized to fit its container.
6382
6646
  * See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit\"
@@ -6385,32 +6649,58 @@
6385
6649
  */
6386
6650
  this.objectFit = '';
6387
6651
  /**
6388
- * Source of the image file.
6652
+ * Defines the component height. Possible values for this property can be
6653
+ * <samp>'auto', '100%', '400px' or 400</samp>
6389
6654
  */
6390
- this.srcValue = '';
6655
+ this.height = 'auto';
6391
6656
  /**
6392
- * Width of the image, e.g. <samp>\"100px\"</samp> or <samp>\"50%\"</samp>.
6657
+ * Defines the component min height. Possible values for this property can be
6658
+ * <samp>'auto', '100%', '400px' or 400</samp>
6393
6659
  */
6394
- this.width = '';
6660
+ this.minHeight = 'auto';
6661
+ /**
6662
+ * Defines the component max height. Possible values for this property can be
6663
+ * <samp>'auto', '100%', '400px' or 400</samp>
6664
+ */
6665
+ this.maxHeight = 'none';
6666
+ /**
6667
+ * Set component height to fill all space available
6668
+ */
6669
+ this.fillHeight = false;
6670
+ /**
6671
+ * Defines the component width. Possible values for this property can be
6672
+ * <samp>'auto', '100%', '400px' or 400</samp>
6673
+ */
6674
+ this.width = 'auto';
6675
+ /**
6676
+ * Defines the component min width. Possible values for this property can be
6677
+ * <samp>'auto', '100%', '400px' or 400</samp>
6678
+ */
6679
+ this.minWidth = 'auto';
6680
+ /**
6681
+ * Defines the component max height. Possible values for this property can be
6682
+ * <samp>'auto', '100%', '400px' or 400</samp>
6683
+ */
6684
+ this.maxWidth = 'none';
6685
+ /**
6686
+ * Source of the image file.
6687
+ */
6688
+ this.srcValue = '';
6395
6689
  this.validImage = undefined;
6396
6690
  this.src = this.getInitValue('src', props.src, this.srcValue);
6397
6691
  this.alt = this.getInitValue('alt', props.alt, this.alt);
6398
6692
  this.errorImagePath = this.getInitValue('errorImagePath', props.errorImagePath, this.errorImagePath);
6399
6693
  this.errorImageText = this.getInitValue('errorImageText', props.errorImageText, this.errorImageText);
6400
- this.width = this.getInitValue('width', props.width, this.width);
6401
6694
  this.height = this.getInitValue('height', props.height, this.height);
6695
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
6696
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
6697
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
6698
+ this.width = this.getInitValue('width', props.width, this.width);
6699
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
6700
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
6402
6701
  this.objectFit = this.getInitValue('objectFit', props.objectFit, this.objectFit);
6403
6702
  this.createAccessors();
6404
6703
  }
6405
- /**
6406
- * Returns the style attribute for the image component
6407
- */
6408
- getStyle() {
6409
- const width = this.width ? `width: ${this.width}; ` : '';
6410
- const height = this.height ? `height: ${this.height}; ` : '';
6411
- const objectFit = this.objectFit ? `object-fit: ${this.objectFit};` : '';
6412
- return width + height + objectFit;
6413
- }
6414
6704
  /**
6415
6705
  * Event to be called after the error image is loaded
6416
6706
  */
@@ -7363,17 +7653,39 @@
7363
7653
  },
7364
7654
  ];
7365
7655
  /**
7366
- * Sets the height for the component.
7656
+ * Defines the component height. Possible values for this property can be
7657
+ * <samp>'auto', '100%', '400px' or 400</samp>
7367
7658
  */
7368
7659
  this.height = 'auto';
7369
7660
  /**
7370
- * Sets the maximum height for the component.
7661
+ * Defines the component min height. Possible values for this property can be
7662
+ * <samp>'auto', '100%', '400px' or 400</samp>
7663
+ */
7664
+ this.minHeight = 'auto';
7665
+ /**
7666
+ * Defines the component max height. Possible values for this property can be
7667
+ * <samp>'auto', '100%', '400px' or 400</samp>
7371
7668
  */
7372
7669
  this.maxHeight = 'none';
7373
7670
  /**
7374
- * Sets the minimum height for the component.
7671
+ * Set component height to fill all space available
7672
+ */
7673
+ this.fillHeight = false;
7674
+ /**
7675
+ * Defines the component width. Possible values for this property can be
7676
+ * <samp>'auto', '100%', '400px' or 400</samp>
7677
+ */
7678
+ this.width = '100%';
7679
+ /**
7680
+ * Defines the component min width. Possible values for this property can be
7681
+ * <samp>'auto', '100%', '400px' or 400</samp>
7682
+ */
7683
+ this.minWidth = 'auto';
7684
+ /**
7685
+ * Defines the component max height. Possible values for this property can be
7686
+ * <samp>'auto', '100%', '400px' or 400</samp>
7375
7687
  */
7376
- this.minHeight = 'none';
7688
+ this.maxWidth = 'none';
7377
7689
  /**
7378
7690
  * Components that will be rendered in error case
7379
7691
  */
@@ -7388,8 +7700,12 @@
7388
7700
  this.noDataSlot = this.changeDefaultSlotNames(this.noDataSlot);
7389
7701
  this.noResultSlot = this.changeDefaultSlotNames(this.noResultSlot);
7390
7702
  this.height = this.getInitValue('height', props.height, this.height);
7391
- this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
7392
7703
  this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
7704
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
7705
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
7706
+ this.width = this.getInitValue('width', props.width, this.width);
7707
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
7708
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
7393
7709
  this.createAccessors();
7394
7710
  }
7395
7711
  addSlashes(value) {
@@ -7475,17 +7791,39 @@
7475
7791
  */
7476
7792
  this.expand = false;
7477
7793
  /**
7478
- * Sets the height for the component.
7794
+ * Defines the component height. Possible values for this property can be
7795
+ * <samp>'auto', '100%', '400px' or 400</samp>
7479
7796
  */
7480
7797
  this.height = 'auto';
7481
7798
  /**
7482
- * Sets the maxHeight for the component.
7799
+ * Defines the component min height. Possible values for this property can be
7800
+ * <samp>'auto', '100%', '400px' or 400</samp>
7801
+ */
7802
+ this.minHeight = 'auto';
7803
+ /**
7804
+ * Defines the component max height. Possible values for this property can be
7805
+ * <samp>'auto', '100%', '400px' or 400</samp>
7483
7806
  */
7484
7807
  this.maxHeight = 'none';
7485
7808
  /**
7486
- * Sets the minHeight for the component.
7809
+ * Set component height to fill all space available
7810
+ */
7811
+ this.fillHeight = false;
7812
+ /**
7813
+ * Defines the component width. Possible values for this property can be
7814
+ * <samp>'auto', '100%', '400px' or 400</samp>
7815
+ */
7816
+ this.width = '100%';
7817
+ /**
7818
+ * Defines the component min width. Possible values for this property can be
7819
+ * <samp>'auto', '100%', '400px' or 400</samp>
7820
+ */
7821
+ this.minWidth = 'auto';
7822
+ /**
7823
+ * Defines the component max height. Possible values for this property can be
7824
+ * <samp>'auto', '100%', '400px' or 400</samp>
7487
7825
  */
7488
- this.minHeight = 'none';
7826
+ this.maxWidth = 'none';
7489
7827
  this.dark = this.getInitValue('dark', props.dark, this.dark);
7490
7828
  this.dense = this.getInitValue('dense', props.dense, this.dense);
7491
7829
  this.disabled = this.getInitValue('disabled', props.disabled, this.disabled);
@@ -7498,8 +7836,12 @@
7498
7836
  this.elevation = this.getInitValue('elevation', props.elevation, this.elevation);
7499
7837
  this.expand = this.getInitValue('expand', props.expand, this.expand);
7500
7838
  this.height = this.getInitValue('height', props.height, this.height);
7501
- this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
7502
7839
  this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
7840
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
7841
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
7842
+ this.width = this.getInitValue('width', props.width, this.width);
7843
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
7844
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
7503
7845
  this.createAccessors();
7504
7846
  }
7505
7847
  /**
@@ -8865,10 +9207,33 @@
8865
9207
  super(props);
8866
9208
  this.dense = true;
8867
9209
  this.noGutters = false;
9210
+ /**
9211
+ * Defines the component height. Possible values for this property can be
9212
+ * <samp>'auto', '100%', '400px' or 400</samp>
9213
+ */
9214
+ this.height = 'auto';
9215
+ /**
9216
+ * Defines the component min height. Possible values for this property can be
9217
+ * <samp>'auto', '100%', '400px' or 400</samp>
9218
+ */
9219
+ this.minHeight = 'auto';
9220
+ /**
9221
+ * Defines the component max height. Possible values for this property can be
9222
+ * <samp>'auto', '100%', '400px' or 400</samp>
9223
+ */
9224
+ this.maxHeight = 'none';
9225
+ /**
9226
+ * Set component height to fill all space available
9227
+ */
9228
+ this.fillHeight = false;
8868
9229
  this.align = this.getInitValue('align', props.align, this.align);
8869
9230
  this.dense = this.getInitValue('dense', props.dense, this.dense);
8870
9231
  this.justify = this.getInitValue('justify', props.justify, this.justify);
8871
9232
  this.noGutters = this.getInitValue('noGutters', props.noGutters, this.noGutters);
9233
+ this.height = this.getInitValue('height', props.height, this.height);
9234
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
9235
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
9236
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
8872
9237
  this.createAccessors();
8873
9238
  }
8874
9239
  }
@@ -10125,11 +10490,52 @@
10125
10490
  * Sets the active list-item inside the list-group
10126
10491
  */
10127
10492
  this.value = undefined;
10493
+ /**
10494
+ * Defines the component height. Possible values for this property can be
10495
+ * <samp>'auto', '100%', '400px' or 400</samp>
10496
+ */
10497
+ this.height = 'auto';
10498
+ /**
10499
+ * Defines the component min height. Possible values for this property can be
10500
+ * <samp>'auto', '100%', '400px' or 400</samp>
10501
+ */
10502
+ this.minHeight = 'auto';
10503
+ /**
10504
+ * Defines the component max height. Possible values for this property can be
10505
+ * <samp>'auto', '100%', '400px' or 400</samp>
10506
+ */
10507
+ this.maxHeight = 'none';
10508
+ /**
10509
+ * Set component height to fill all space available
10510
+ */
10511
+ this.fillHeight = false;
10512
+ /**
10513
+ * Defines the component width. Possible values for this property can be
10514
+ * <samp>'auto', '100%', '400px' or 400</samp>
10515
+ */
10516
+ this.width = '100%';
10517
+ /**
10518
+ * Defines the component min width. Possible values for this property can be
10519
+ * <samp>'auto', '100%', '400px' or 400</samp>
10520
+ */
10521
+ this.minWidth = 'auto';
10522
+ /**
10523
+ * Defines the component max height. Possible values for this property can be
10524
+ * <samp>'auto', '100%', '400px' or 400</samp>
10525
+ */
10526
+ this.maxWidth = 'none';
10128
10527
  this.activeClass = this.getInitValue('activeClass', props.activeClass, this.activeClass);
10129
10528
  this.mandatory = this.getInitValue('mandatory', props.mandatory, this.mandatory);
10130
10529
  this.max = this.getInitValue('max', props.max, this.max);
10131
10530
  this.multiple = this.getInitValue('multiple', props.multiple, this.multiple);
10132
10531
  this.value = this.getInitValue('value', props.value, this.value);
10532
+ this.height = this.getInitValue('height', props.height, this.height);
10533
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
10534
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
10535
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
10536
+ this.width = this.getInitValue('width', props.width, this.width);
10537
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
10538
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
10133
10539
  this.createAccessors();
10134
10540
  }
10135
10541
  change(event, element) {
@@ -10426,9 +10832,32 @@
10426
10832
  * Controls table head visibility.
10427
10833
  */
10428
10834
  this.showTableHead = true;
10835
+ /**
10836
+ * Defines the component height. Possible values for this property can be
10837
+ * <samp>'auto', '100%', '400px' or 400</samp>
10838
+ */
10839
+ this.height = 'auto';
10840
+ /**
10841
+ * Defines the component min height. Possible values for this property can be
10842
+ * <samp>'auto', '100%', '400px' or 400</samp>
10843
+ */
10844
+ this.minHeight = 'auto';
10845
+ /**
10846
+ * Defines the component max height. Possible values for this property can be
10847
+ * <samp>'auto', '100%', '400px' or 400</samp>
10848
+ */
10849
+ this.maxHeight = 'none';
10850
+ /**
10851
+ * Set component height to fill all space available
10852
+ */
10853
+ this.fillHeight = false;
10429
10854
  this.caption = Object.assign(Object.assign({}, this.caption), props.caption || {});
10430
10855
  this.fillWidth = this.getInitValue('fillWidth', props.fillWidth, this.fillWidth);
10431
10856
  this.showTableHead = this.getInitValue('showTableHead', props.showTableHead, this.showTableHead);
10857
+ this.height = this.getInitValue('height', props.height, this.height);
10858
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
10859
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
10860
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
10432
10861
  this.createAccessors();
10433
10862
  }
10434
10863
  }
@@ -10449,7 +10878,6 @@
10449
10878
  this.lazyLoad = true;
10450
10879
  this.tabTitle = this.getInitValue('tabTitle', props.tabTitle, this.tabTitle);
10451
10880
  this.disabled = this.getInitValue('disabled', props.disabled, this.disabled);
10452
- this.flex = this.getInitValue('flex', props.flex, this.flex);
10453
10881
  this.lazyLoad = this.getInitValue('lazyLoad', props.lazyLoad, this.lazyLoad);
10454
10882
  this.createAccessors();
10455
10883
  }
@@ -10483,9 +10911,31 @@
10483
10911
  super(props);
10484
10912
  this.activeTabValue = 0;
10485
10913
  this.tabs = [];
10914
+ /**
10915
+ * Defines the component height. Possible values for this property can be
10916
+ * <samp>'auto', '100%', '400px' or 400</samp>
10917
+ */
10918
+ this.height = 'auto';
10919
+ /**
10920
+ * Defines the component min height. Possible values for this property can be
10921
+ * <samp>'auto', '100%', '400px' or 400</samp>
10922
+ */
10923
+ this.minHeight = 'auto';
10924
+ /**
10925
+ * Defines the component max height. Possible values for this property can be
10926
+ * <samp>'auto', '100%', '400px' or 400</samp>
10927
+ */
10928
+ this.maxHeight = 'none';
10929
+ /**
10930
+ * Set component height to fill all space available
10931
+ */
10932
+ this.fillHeight = false;
10486
10933
  this.tabs = this.getTabs(props.tabs || []);
10487
10934
  this.activeTab = this.getInitValue('activeTab', props.activeTab, this.activeTabValue);
10488
10935
  this.height = this.getInitValue('height', props.height, this.height);
10936
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
10937
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
10938
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
10489
10939
  this.createAccessors();
10490
10940
  }
10491
10941
  get activeTab() {
@@ -10647,11 +11097,22 @@
10647
11097
  */
10648
11098
  this.rows = 5;
10649
11099
  /**
10650
- * Input height
11100
+ * Defines the component height. Possible values for this property can be
11101
+ * <samp>'auto', '100%', '400px' or 400</samp>
10651
11102
  */
10652
11103
  this.height = 'auto';
10653
11104
  /**
10654
- * Should input fill the remaining height
11105
+ * Defines the component min height. Possible values for this property can be
11106
+ * <samp>'auto', '100%', '400px' or 400</samp>
11107
+ */
11108
+ this.minHeight = 'auto';
11109
+ /**
11110
+ * Defines the component max height. Possible values for this property can be
11111
+ * <samp>'auto', '100%', '400px' or 400</samp>
11112
+ */
11113
+ this.maxHeight = 'none';
11114
+ /**
11115
+ * Set component height to fill all space available
10655
11116
  */
10656
11117
  this.fillHeight = false;
10657
11118
  this.autoGrow = this.getInitValue('autoGrow', props.autoGrow, this.autoGrow);
@@ -10666,6 +11127,8 @@
10666
11127
  this.rowHeight = this.getInitValue('rowHeight', props.rowHeight, this.rowHeight);
10667
11128
  this.rows = this.getInitValue('rows', props.rows, this.rows);
10668
11129
  this.height = this.getInitValue('height', props.height, this.height);
11130
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
11131
+ this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
10669
11132
  this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
10670
11133
  this.createAccessors();
10671
11134
  if (this.counter && !Number.isNaN(parseInt(this.counter.toString(), 10))) {
@@ -11165,6 +11628,40 @@
11165
11628
  * Components that will be rendered on toolbar slot
11166
11629
  */
11167
11630
  this.toolbarSlot = [];
11631
+ /**
11632
+ * Defines the component height. Possible values for this property can be
11633
+ * <samp>'auto', '100%', '400px' or 400</samp>
11634
+ */
11635
+ this.height = 'auto';
11636
+ /**
11637
+ * Defines the component min height. Possible values for this property can be
11638
+ * <samp>'auto', '100%', '400px' or 400</samp>
11639
+ */
11640
+ this.minHeight = 'auto';
11641
+ /**
11642
+ * Defines the component max height. Possible values for this property can be
11643
+ * <samp>'auto', '100%', '400px' or 400</samp>
11644
+ */
11645
+ this.maxHeight = 'none';
11646
+ /**
11647
+ * Set component height to fill all space available
11648
+ */
11649
+ this.fillHeight = false;
11650
+ /**
11651
+ * Defines the component width. Possible values for this property can be
11652
+ * <samp>'auto', '100%', '400px' or 400</samp>
11653
+ */
11654
+ this.width = '100%';
11655
+ /**
11656
+ * Defines the component min width. Possible values for this property can be
11657
+ * <samp>'auto', '100%', '400px' or 400</samp>
11658
+ */
11659
+ this.minWidth = 'auto';
11660
+ /**
11661
+ * Defines the component max height. Possible values for this property can be
11662
+ * <samp>'auto', '100%', '400px' or 400</samp>
11663
+ */
11664
+ this.maxWidth = 'none';
11168
11665
  /**
11169
11666
  * Components that will be rendered on title slot
11170
11667
  */
@@ -11208,7 +11705,12 @@
11208
11705
  this.openLevelOnLoad = this.getInitValue('openLevelOnLoad', props.openLevelOnLoad, this.openLevelOnLoad);
11209
11706
  this.checkbox = this.getInitValue('checkbox', props.checkbox, this.checkbox);
11210
11707
  this.height = this.getInitValue('height', props.height, this.height);
11708
+ this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
11211
11709
  this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
11710
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
11711
+ this.width = this.getInitValue('width', props.width, this.width);
11712
+ this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
11713
+ this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
11212
11714
  this.disableCheckbox = this.getInitValue('disableCheckbox', props.disableCheckbox, this.disableCheckbox);
11213
11715
  this.afterTitleSlot = props.afterTitleSlot || this.afterTitleSlot;
11214
11716
  this.toolbarSlot = props.toolbarSlot || this.toolbarSlot;
@@ -11960,7 +12462,7 @@
11960
12462
  }
11961
12463
  } });
11962
12464
  this.updateOriginalRow(key, row);
11963
- return Object.assign(Object.assign({}, componentProps), { name: compName, parent: this, align: column.align, showLabel: false, showHelper: false, dense: true, value: colValue, events: newEvents, autofill: false });
12465
+ return Object.assign(Object.assign({}, componentProps), { name: compName, parent: this, align: column.align, showLabel: false, showHelper: false, dense: true, value: colValue, events: newEvents, autofill: false, allowDuplicate: true });
11964
12466
  }
11965
12467
  updateOriginalRow(key, row) {
11966
12468
  if (this.editedRows[key] !== undefined)