@sme.up/ketchup 10.4.4 → 10.4.5

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 (193) hide show
  1. package/dist/cjs/{f-button-c084046d.js → f-button-9aca7812.js} +1 -1
  2. package/dist/cjs/{f-cell-2dce1c47.js → f-cell-808c80f4.js} +7 -7
  3. package/dist/cjs/{f-checkbox-e59d6bda.js → f-checkbox-a3461c4d.js} +1 -1
  4. package/dist/cjs/{f-chip-b2b2de76.js → f-chip-ad2e88cd.js} +2 -2
  5. package/dist/cjs/{f-image-7457eb26.js → f-image-5a33fd05.js} +28 -24
  6. package/dist/cjs/{f-object-field-508fe712.js → f-object-field-a2060085.js} +3 -3
  7. package/dist/cjs/{f-paginator-utils-40479dab.js → f-paginator-utils-ae22f3de.js} +2 -2
  8. package/dist/cjs/{f-text-field-5634b79e.js → f-text-field-582fa181.js} +2 -2
  9. package/dist/cjs/index.cjs.js +1 -1
  10. package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
  11. package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
  12. package/dist/cjs/kup-autocomplete_30.cjs.entry.js +79 -67
  13. package/dist/cjs/kup-box.cjs.entry.js +10 -10
  14. package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
  15. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  16. package/dist/cjs/kup-cell.cjs.entry.js +8 -8
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
  18. package/dist/cjs/{kup-data-table-helper-262a013d.js → kup-data-table-helper-a1c73939.js} +1 -1
  19. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
  23. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  25. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-input-panel.cjs.entry.js +8 -8
  27. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
  29. package/dist/cjs/{kup-manager-57f5a949.js → kup-manager-5faed2fc.js} +14 -0
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  32. package/dist/cjs/kup-object-field.cjs.entry.js +5 -5
  33. package/dist/cjs/kup-planner.cjs.entry.js +3 -3
  34. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  35. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  36. package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
  37. package/dist/cjs/kup-txt.cjs.entry.js +1 -1
  38. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  39. package/dist/cjs/kup-typography.cjs.entry.js +2 -2
  40. package/dist/collection/components/kup-data-table/kup-data-table.js +64 -57
  41. package/dist/collection/f-components/f-image/f-image.js +28 -24
  42. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +6 -0
  43. package/dist/collection/utils/utils.js +13 -0
  44. package/dist/components/index.js +1 -1
  45. package/dist/components/kup-accordion.js +2 -2
  46. package/dist/components/kup-activity-timeline.js +2 -2
  47. package/dist/components/kup-autocomplete.js +1 -1
  48. package/dist/components/kup-badge.js +1 -1
  49. package/dist/components/kup-box.js +1 -1
  50. package/dist/components/kup-button-list.js +1 -1
  51. package/dist/components/kup-button.js +1 -1
  52. package/dist/components/kup-calendar.js +2 -2
  53. package/dist/components/kup-card-list.js +3 -3
  54. package/dist/components/kup-card.js +1 -1
  55. package/dist/components/kup-cell.js +2 -2
  56. package/dist/components/kup-chart.js +1 -1
  57. package/dist/components/kup-checkbox.js +1 -1
  58. package/dist/components/kup-chip.js +1 -1
  59. package/dist/components/kup-color-picker.js +1 -1
  60. package/dist/components/kup-combobox.js +1 -1
  61. package/dist/components/kup-dashboard.js +2 -2
  62. package/dist/components/kup-data-table.js +1 -1
  63. package/dist/components/kup-date-picker.js +1 -1
  64. package/dist/components/kup-dialog.js +1 -1
  65. package/dist/components/kup-drawer.js +2 -2
  66. package/dist/components/kup-dropdown-button.js +1 -1
  67. package/dist/components/kup-echart.js +1 -1
  68. package/dist/components/kup-editor.js +1 -1
  69. package/dist/components/kup-family-tree.js +3 -3
  70. package/dist/components/kup-file-upload.js +1 -1
  71. package/dist/components/kup-form.js +1 -1
  72. package/dist/components/kup-gauge.js +1 -1
  73. package/dist/components/kup-grid.js +1 -1
  74. package/dist/components/kup-htm.js +2 -2
  75. package/dist/components/kup-iframe.js +2 -2
  76. package/dist/components/kup-image-list.js +1 -1
  77. package/dist/components/kup-image.js +1 -1
  78. package/dist/components/kup-input-panel.js +3 -3
  79. package/dist/components/kup-lazy.js +2 -2
  80. package/dist/components/kup-list.js +1 -1
  81. package/dist/components/kup-magic-box.js +4 -4
  82. package/dist/components/kup-nav-bar.js +2 -2
  83. package/dist/components/kup-numeric-picker.js +2 -2
  84. package/dist/components/kup-object-field.js +2 -2
  85. package/dist/components/kup-planner.js +2 -2
  86. package/dist/components/kup-probe.js +2 -2
  87. package/dist/components/kup-progress-bar.js +1 -1
  88. package/dist/components/kup-qlik.js +2 -2
  89. package/dist/components/kup-radio.js +1 -1
  90. package/dist/components/kup-rating.js +1 -1
  91. package/dist/components/kup-snackbar.js +2 -2
  92. package/dist/components/kup-spinner.js +1 -1
  93. package/dist/components/kup-switch.js +1 -1
  94. package/dist/components/kup-tab-bar.js +1 -1
  95. package/dist/components/kup-text-field.js +1 -1
  96. package/dist/components/kup-time-picker.js +1 -1
  97. package/dist/components/kup-toolbar.js +1 -1
  98. package/dist/components/kup-tree.js +1 -1
  99. package/dist/components/kup-txt.js +2 -2
  100. package/dist/components/kup-typography-list.js +2 -2
  101. package/dist/components/kup-typography.js +2 -2
  102. package/dist/components/{p-0406cd83.js → p-45333a69.js} +98 -82
  103. package/dist/components/{p-2097fdc9.js → p-485c5011.js} +2 -2
  104. package/dist/components/{p-f23c2bc2.js → p-5e972660.js} +2 -2
  105. package/dist/components/{p-38d8b309.js → p-6f3743ea.js} +2 -2
  106. package/dist/components/{p-25602d9a.js → p-a42dc353.js} +14 -1
  107. package/dist/components/{p-200cb22e.js → p-c6eba054.js} +2 -2
  108. package/dist/esm/{f-button-6298565d.js → f-button-3e022953.js} +1 -1
  109. package/dist/esm/{f-cell-1a087912.js → f-cell-d224dc3a.js} +7 -7
  110. package/dist/esm/{f-checkbox-191ec2e7.js → f-checkbox-9912e1a4.js} +1 -1
  111. package/dist/esm/{f-chip-876f5447.js → f-chip-a2d07acb.js} +2 -2
  112. package/dist/esm/{f-image-96ea1421.js → f-image-40b4e64b.js} +28 -24
  113. package/dist/esm/{f-object-field-4382c70d.js → f-object-field-bc0b6f80.js} +3 -3
  114. package/dist/esm/{f-paginator-utils-95d00f42.js → f-paginator-utils-8c3d7b88.js} +2 -2
  115. package/dist/esm/{f-text-field-a13130d7.js → f-text-field-0f550594.js} +2 -2
  116. package/dist/esm/index.js +1 -1
  117. package/dist/esm/kup-accordion.entry.js +2 -2
  118. package/dist/esm/kup-activity-timeline.entry.js +3 -3
  119. package/dist/esm/kup-autocomplete_30.entry.js +79 -67
  120. package/dist/esm/kup-box.entry.js +10 -10
  121. package/dist/esm/kup-calendar.entry.js +4 -4
  122. package/dist/esm/kup-card-list.entry.js +1 -1
  123. package/dist/esm/kup-cell.entry.js +8 -8
  124. package/dist/esm/kup-dashboard.entry.js +5 -5
  125. package/dist/esm/{kup-data-table-helper-4ab72247.js → kup-data-table-helper-3f3bb266.js} +1 -1
  126. package/dist/esm/kup-drawer.entry.js +1 -1
  127. package/dist/esm/kup-echart.entry.js +1 -1
  128. package/dist/esm/kup-editor.entry.js +1 -1
  129. package/dist/esm/kup-family-tree.entry.js +3 -3
  130. package/dist/esm/kup-grid.entry.js +1 -1
  131. package/dist/esm/kup-htm.entry.js +1 -1
  132. package/dist/esm/kup-iframe.entry.js +1 -1
  133. package/dist/esm/kup-input-panel.entry.js +8 -8
  134. package/dist/esm/kup-lazy.entry.js +1 -1
  135. package/dist/esm/kup-magic-box.entry.js +2 -2
  136. package/dist/esm/{kup-manager-150e2ada.js → kup-manager-232be463.js} +14 -1
  137. package/dist/esm/kup-nav-bar.entry.js +1 -1
  138. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  139. package/dist/esm/kup-object-field.entry.js +5 -5
  140. package/dist/esm/kup-planner.entry.js +3 -3
  141. package/dist/esm/kup-probe.entry.js +1 -1
  142. package/dist/esm/kup-qlik.entry.js +1 -1
  143. package/dist/esm/kup-snackbar.entry.js +3 -3
  144. package/dist/esm/kup-txt.entry.js +1 -1
  145. package/dist/esm/kup-typography-list.entry.js +1 -1
  146. package/dist/esm/kup-typography.entry.js +2 -2
  147. package/dist/ketchup/index.esm.js +1 -1
  148. package/dist/ketchup/ketchup.esm.js +1 -1
  149. package/dist/ketchup/p-0c4fdac4.js +1 -0
  150. package/dist/ketchup/{p-6e751ce8.entry.js → p-106ef861.entry.js} +1 -1
  151. package/dist/ketchup/{p-ff735e62.js → p-14c6efce.js} +1 -1
  152. package/dist/ketchup/{p-df030135.entry.js → p-2ea8982a.entry.js} +1 -1
  153. package/dist/ketchup/{p-ef3112d4.js → p-31ae78d1.js} +1 -1
  154. package/dist/ketchup/{p-e7feebf1.entry.js → p-40d9b650.entry.js} +1 -1
  155. package/dist/ketchup/{p-018a6d06.entry.js → p-498e38ec.entry.js} +1 -1
  156. package/dist/ketchup/{p-aa29831e.entry.js → p-4e86911e.entry.js} +1 -1
  157. package/dist/ketchup/{p-10812295.entry.js → p-549a999c.entry.js} +1 -1
  158. package/dist/ketchup/{p-d27d8ad1.entry.js → p-5b05f037.entry.js} +1 -1
  159. package/dist/ketchup/{p-fa4a5da1.entry.js → p-5bb7d7b3.entry.js} +1 -1
  160. package/dist/ketchup/{p-983576c3.entry.js → p-5d6f2048.entry.js} +1 -1
  161. package/dist/ketchup/{p-36b5d26b.entry.js → p-5f41ae01.entry.js} +1 -1
  162. package/dist/ketchup/{p-8721b809.js → p-6622b9dd.js} +3 -3
  163. package/dist/ketchup/{p-7940d143.entry.js → p-6b2e3868.entry.js} +1 -1
  164. package/dist/ketchup/{p-5154c3cd.js → p-6f00f1a3.js} +1 -1
  165. package/dist/ketchup/{p-17d03bbb.entry.js → p-7d05209d.entry.js} +1 -1
  166. package/dist/ketchup/{p-e9c66132.entry.js → p-855d7a7c.entry.js} +1 -1
  167. package/dist/ketchup/{p-0bede0f7.entry.js → p-88e822d6.entry.js} +1 -1
  168. package/dist/ketchup/{p-672cab52.entry.js → p-8ab45e3d.entry.js} +1 -1
  169. package/dist/ketchup/{p-cbec9dd6.entry.js → p-8ac64a64.entry.js} +1 -1
  170. package/dist/ketchup/p-96bef43d.js +1 -0
  171. package/dist/ketchup/p-a44ec249.entry.js +8 -0
  172. package/dist/ketchup/{p-a8a09ca2.entry.js → p-a84998d8.entry.js} +1 -1
  173. package/dist/ketchup/{p-a69b7815.entry.js → p-b4a94521.entry.js} +1 -1
  174. package/dist/ketchup/{p-ff394307.entry.js → p-b4b9fd65.entry.js} +1 -1
  175. package/dist/ketchup/p-b7abe6a2.entry.js +1 -0
  176. package/dist/ketchup/{p-d48d6b9b.entry.js → p-bc2604ea.entry.js} +1 -1
  177. package/dist/ketchup/{p-d3e2500c.js → p-c284a18d.js} +1 -1
  178. package/dist/ketchup/{p-7e92c87c.entry.js → p-c6acc505.entry.js} +1 -1
  179. package/dist/ketchup/{p-33d9524e.entry.js → p-ca31b7ee.entry.js} +1 -1
  180. package/dist/ketchup/p-cce08de3.js +1 -0
  181. package/dist/ketchup/{p-dbd00009.entry.js → p-ce92a1d6.entry.js} +1 -1
  182. package/dist/ketchup/{p-9cbf5d71.entry.js → p-d53275b8.entry.js} +1 -1
  183. package/dist/ketchup/{p-b20c5416.js → p-de3514d6.js} +1 -1
  184. package/dist/ketchup/{p-99b4d81d.entry.js → p-e032f052.entry.js} +1 -1
  185. package/dist/ketchup/{p-e3da3084.entry.js → p-e049f7d8.entry.js} +1 -1
  186. package/dist/ketchup/{p-f2edb49f.js → p-e155cbac.js} +1 -1
  187. package/dist/types/utils/utils.d.ts +6 -0
  188. package/package.json +1 -1
  189. package/dist/ketchup/p-091b08ff.entry.js +0 -1
  190. package/dist/ketchup/p-7f8582e3.entry.js +0 -8
  191. package/dist/ketchup/p-ad52ea4a.js +0 -1
  192. package/dist/ketchup/p-b669cdca.js +0 -1
  193. package/dist/ketchup/p-cc9db65d.js +0 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  const index = require('./index-c7d441d8.js');
4
4
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
5
- const fImage = require('./f-image-7457eb26.js');
5
+ const fImage = require('./f-image-5a33fd05.js');
6
6
 
7
7
  /*-------------------------------------------------*/
8
8
  /* C o m p o n e n t */
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-c7d441d8.js');
4
- const kupManager = require('./kup-manager-57f5a949.js');
5
- const fButton = require('./f-button-c084046d.js');
6
- const fCheckbox = require('./f-checkbox-e59d6bda.js');
7
- const fChip = require('./f-chip-b2b2de76.js');
8
- const fImage = require('./f-image-7457eb26.js');
9
- const fObjectField = require('./f-object-field-508fe712.js');
10
- const fTextField = require('./f-text-field-5634b79e.js');
4
+ const kupManager = require('./kup-manager-5faed2fc.js');
5
+ const fButton = require('./f-button-9aca7812.js');
6
+ const fCheckbox = require('./f-checkbox-a3461c4d.js');
7
+ const fChip = require('./f-chip-ad2e88cd.js');
8
+ const fImage = require('./f-image-5a33fd05.js');
9
+ const fObjectField = require('./f-object-field-a2060085.js');
10
+ const fTextField = require('./f-text-field-582fa181.js');
11
11
 
12
12
  var FRadioType;
13
13
  (function (FRadioType) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const fImage = require('./f-image-7457eb26.js');
3
+ const fImage = require('./f-image-5a33fd05.js');
4
4
  const index = require('./index-c7d441d8.js');
5
5
 
6
6
  /*-------------------------------------------------*/
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-c7d441d8.js');
4
- const fImage = require('./f-image-7457eb26.js');
5
- const kupManager = require('./kup-manager-57f5a949.js');
4
+ const fImage = require('./f-image-5a33fd05.js');
5
+ const kupManager = require('./kup-manager-5faed2fc.js');
6
6
 
7
7
  function getIdOfItemByDisplayMode(item, mode, separator) {
8
8
  const { id, value } = item;
@@ -92,35 +92,39 @@ function createIcon(icon, color, iconClass = 'f-image__icon') {
92
92
  }
93
93
  function createImage(props) {
94
94
  return (index.h("img", { class: props.placeholderResource ? HIDDEN_CLASS : '', onLoad: (e) => {
95
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
95
96
  const img = e.currentTarget;
96
- if (img && img.parentElement) {
97
- const placeholder = img.parentElement.querySelector('.f-image__placeholder');
98
- const iconWrapper = img.parentElement.querySelector('.iconWrapper');
99
- const fWrapper = img.parentElement.parentElement.querySelector('.f-image');
100
- if (props.onLoad) {
101
- props.onLoad(e);
102
- }
103
- if (placeholder) {
104
- placeholder.classList.add(HIDDEN_CLASS);
105
- img.classList.remove(HIDDEN_CLASS);
106
- }
107
- if (iconWrapper) {
108
- iconWrapper.classList.add(HIDDEN_CLASS);
109
- fWrapper.classList.add('noIcon');
97
+ if (!(img === null || img === void 0 ? void 0 : img.parentElement)) {
98
+ return;
99
+ }
100
+ const placeholder = (_a = img.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('.f-image__placeholder');
101
+ const iconWrapper = (_b = img.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('.iconWrapper');
102
+ const fWrapper = (_d = (_c = img.parentElement) === null || _c === void 0 ? void 0 : _c.parentElement) === null || _d === void 0 ? void 0 : _d.querySelector('.f-image');
103
+ (_e = props.onLoad) === null || _e === void 0 ? void 0 : _e.call(props, e);
104
+ if (placeholder) {
105
+ (_f = placeholder.classList) === null || _f === void 0 ? void 0 : _f.add(HIDDEN_CLASS);
106
+ (_g = img.classList) === null || _g === void 0 ? void 0 : _g.remove(HIDDEN_CLASS);
107
+ }
108
+ if (iconWrapper) {
109
+ (_h = iconWrapper.classList) === null || _h === void 0 ? void 0 : _h.add(HIDDEN_CLASS);
110
+ if (fWrapper) {
111
+ (_j = fWrapper.classList) === null || _j === void 0 ? void 0 : _j.add('noIcon');
110
112
  }
111
113
  }
112
114
  }, onError: (e) => {
115
+ var _a, _b, _c, _d, _e;
113
116
  const img = e.currentTarget;
114
- if (img && img.parentElement) {
115
- const placeholder = img.parentElement.querySelector('.f-image__placeholder');
116
- const iconWrapper = img.parentElement.querySelector('.iconWrapper');
117
- if (placeholder) {
118
- placeholder.classList.remove(HIDDEN_CLASS);
119
- img.classList.add(HIDDEN_CLASS);
120
- }
121
- if (iconWrapper) {
122
- iconWrapper.classList.remove(HIDDEN_CLASS);
123
- }
117
+ if (!(img === null || img === void 0 ? void 0 : img.parentElement)) {
118
+ return;
119
+ }
120
+ const placeholder = (_a = img.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('.f-image__placeholder');
121
+ const iconWrapper = (_b = img.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('.iconWrapper');
122
+ if (placeholder) {
123
+ (_c = placeholder.classList) === null || _c === void 0 ? void 0 : _c.remove(HIDDEN_CLASS);
124
+ (_d = img.classList) === null || _d === void 0 ? void 0 : _d.add(HIDDEN_CLASS);
125
+ }
126
+ if (iconWrapper) {
127
+ (_e = iconWrapper.classList) === null || _e === void 0 ? void 0 : _e.remove(HIDDEN_CLASS);
124
128
  }
125
129
  }, src: props.resource }));
126
130
  }
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-c7d441d8.js');
4
- const kupManager = require('./kup-manager-57f5a949.js');
5
- const fButton = require('./f-button-c084046d.js');
4
+ const kupManager = require('./kup-manager-5faed2fc.js');
5
+ const fButton = require('./f-button-9aca7812.js');
6
6
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
7
- const fTextField = require('./f-text-field-5634b79e.js');
7
+ const fTextField = require('./f-text-field-582fa181.js');
8
8
 
9
9
  const STATE = new WeakMap();
10
10
  const FObjectField = (props) => {
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-c7d441d8.js');
4
- const kupManager = require('./kup-manager-57f5a949.js');
5
- const fButton = require('./f-button-c084046d.js');
4
+ const kupManager = require('./kup-manager-5faed2fc.js');
5
+ const fButton = require('./f-button-9aca7812.js');
6
6
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
7
7
 
8
8
  var FPaginatorMode;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-c7d441d8.js');
4
- const kupManager = require('./kup-manager-57f5a949.js');
5
- const fImage = require('./f-image-7457eb26.js');
4
+ const kupManager = require('./kup-manager-5faed2fc.js');
5
+ const fImage = require('./f-image-5a33fd05.js');
6
6
 
7
7
  const dom = document.documentElement;
8
8
  let helperEl = null;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const kupManager = require('./kup-manager-57f5a949.js');
5
+ const kupManager = require('./kup-manager-5faed2fc.js');
6
6
  require('./kup-dates-2ff08e4f.js');
7
7
  require('./index-c7d441d8.js');
8
8
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-57f5a949.js');
7
- const fImage = require('./f-image-7457eb26.js');
6
+ const kupManager = require('./kup-manager-5faed2fc.js');
7
+ const fImage = require('./f-image-5a33fd05.js');
8
8
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
9
9
  const component = require('./component-a6dd6c14.js');
10
10
  require('./kup-dates-2ff08e4f.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-57f5a949.js');
6
+ const kupManager = require('./kup-manager-5faed2fc.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
- const fImage = require('./f-image-7457eb26.js');
9
- const kupDataTableHelper = require('./kup-data-table-helper-262a013d.js');
8
+ const fImage = require('./f-image-5a33fd05.js');
9
+ const kupDataTableHelper = require('./kup-data-table-helper-a1c73939.js');
10
10
  require('./kup-dates-2ff08e4f.js');
11
11
 
12
12
  var KupActivityTimelineProps;
@@ -3,21 +3,21 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager$2 = require('./kup-manager-57f5a949.js');
7
- const fTextField = require('./f-text-field-5634b79e.js');
6
+ const kupManager$2 = require('./kup-manager-5faed2fc.js');
7
+ const fTextField = require('./f-text-field-582fa181.js');
8
8
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
9
- const fChip = require('./f-chip-b2b2de76.js');
9
+ const fChip = require('./f-chip-ad2e88cd.js');
10
10
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
11
- const fImage = require('./f-image-7457eb26.js');
12
- const fButton = require('./f-button-c084046d.js');
11
+ const fImage = require('./f-image-5a33fd05.js');
12
+ const fButton = require('./f-button-9aca7812.js');
13
13
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
14
- const fCell = require('./f-cell-2dce1c47.js');
14
+ const fCell = require('./f-cell-808c80f4.js');
15
15
  const kupDates = require('./kup-dates-2ff08e4f.js');
16
16
  const component = require('./component-a6dd6c14.js');
17
- const fCheckbox = require('./f-checkbox-e59d6bda.js');
18
- const kupDataTableHelper = require('./kup-data-table-helper-262a013d.js');
19
- const fPaginatorUtils = require('./f-paginator-utils-40479dab.js');
20
- require('./f-object-field-508fe712.js');
17
+ const fCheckbox = require('./f-checkbox-a3461c4d.js');
18
+ const kupDataTableHelper = require('./kup-data-table-helper-a1c73939.js');
19
+ const fPaginatorUtils = require('./f-paginator-utils-ae22f3de.js');
20
+ require('./f-object-field-a2060085.js');
21
21
 
22
22
  /**
23
23
  * Props of the kup-autocomplete component.
@@ -8501,6 +8501,11 @@ class KupColumnMenu {
8501
8501
  newColumn: hasDescription
8502
8502
  ? { name: description, title: description }
8503
8503
  : undefined,
8504
+ columns: [
8505
+ columnName,
8506
+ parts[0],
8507
+ ...kupManager$2.extractColumnsFromFormulaString(value),
8508
+ ],
8504
8509
  })
8505
8510
  .then((res) => {
8506
8511
  if (typeof res === 'string' ||
@@ -8702,7 +8707,7 @@ var __classPrivateFieldSet$4 = (undefined && undefined.__classPrivateFieldSet) |
8702
8707
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
8703
8708
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8704
8709
  };
8705
- var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_modifiedRowsIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderOtherButtons, _KupDataTable_renderUpdateButtons, _KupDataTable_createDeletePayload, _KupDataTable_isRowInserted, _KupDataTable_isRowModified, _KupDataTable_arraysContainSameElements;
8710
+ var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_modifiedRowsIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderOtherButtons, _KupDataTable_addRowHandler, _KupDataTable_createRowWithInputFields, _KupDataTable_renderUpdateButtons, _KupDataTable_createDeletePayload, _KupDataTable_isRowInserted, _KupDataTable_isRowModified, _KupDataTable_arraysContainSameElements;
8706
8711
  const dom$2 = document.documentElement;
8707
8712
  const KupDataTable = class {
8708
8713
  constructor(hostRef) {
@@ -8953,6 +8958,54 @@ const KupDataTable = class {
8953
8958
  'view_headline',
8954
8959
  'grid_off',
8955
8960
  ]);
8961
+ _KupDataTable_addRowHandler.set(this, async (row) => {
8962
+ var _a, _b;
8963
+ var _c;
8964
+ let newRow;
8965
+ const selectedRows = await this.getSelectedRows();
8966
+ if (selectedRows.length > 0) {
8967
+ newRow = JSON.parse(JSON.stringify(selectedRows[0]));
8968
+ }
8969
+ else if (((_b = (_a = __classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.length) > 0 && !row) {
8970
+ newRow = JSON.parse(JSON.stringify(__classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f").rows[0]));
8971
+ }
8972
+ else if (row) {
8973
+ newRow = __classPrivateFieldGet$8(this, _KupDataTable_createRowWithInputFields, "f").call(this, row);
8974
+ }
8975
+ else {
8976
+ newRow = __classPrivateFieldGet$8(this, _KupDataTable_createRowWithInputFields, "f").call(this);
8977
+ }
8978
+ Object.values(newRow.cells).forEach((cell) => {
8979
+ if (selectedRows.length == 0 && !row) {
8980
+ cell.value = '';
8981
+ }
8982
+ });
8983
+ newRow.id = (__classPrivateFieldGet$8(this, _KupDataTable_originalDataLoadedMaxId, "f") + __classPrivateFieldSet$4(this, _KupDataTable_insertCount, (_c = __classPrivateFieldGet$8(this, _KupDataTable_insertCount, "f"), ++_c), "f")).toString();
8984
+ __classPrivateFieldGet$8(this, _KupDataTable_insertedRowIds, "f").push(newRow.id);
8985
+ this.insertNewRow(newRow, true);
8986
+ });
8987
+ _KupDataTable_createRowWithInputFields.set(this, (rowToCopy) => {
8988
+ var _a;
8989
+ const row = { cells: {} };
8990
+ (_a = this.data) === null || _a === void 0 ? void 0 : _a.columns.forEach((c) => {
8991
+ var _a, _b, _c;
8992
+ const cell = ((_a = rowToCopy === null || rowToCopy === void 0 ? void 0 : rowToCopy.cells) === null || _a === void 0 ? void 0 : _a[c.name])
8993
+ ? structuredClone(rowToCopy.cells[c.name])
8994
+ : {
8995
+ shape: (_b = c.shape) !== null && _b !== void 0 ? _b : kupManager$2.FCellShapes.TEXT_FIELD,
8996
+ obj: Object.assign({}, c.obj),
8997
+ isEditable: (_c = c.isEditable) !== null && _c !== void 0 ? _c : true,
8998
+ data: c['length'] && c['maxLength']
8999
+ ? {
9000
+ size: c['length'],
9001
+ maxLength: c['maxLength'],
9002
+ }
9003
+ : {},
9004
+ };
9005
+ row.cells[c.name] = cell;
9006
+ });
9007
+ return row;
9008
+ });
8956
9009
  this.stateId = '';
8957
9010
  this.store = undefined;
8958
9011
  this.autoFillMissingCells = false;
@@ -9131,6 +9184,9 @@ const KupDataTable = class {
9131
9184
  structuredClone(row.cells);
9132
9185
  __classPrivateFieldGet$8(this, _KupDataTable_modifiedRowsIds, "f").push(`${originalDataRowIndex}`);
9133
9186
  }
9187
+ else {
9188
+ __classPrivateFieldGet$8(this, _KupDataTable_addRowHandler, "f").call(this, row);
9189
+ }
9134
9190
  }
9135
9191
  this.pendingRowsToUpdate = [];
9136
9192
  }
@@ -10144,7 +10200,7 @@ const KupDataTable = class {
10144
10200
  __classPrivateFieldSet$4(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
10145
10201
  let rows = null;
10146
10202
  if (__classPrivateFieldGet$8(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
10147
- rows = (index.h("tr", { key: 'c3ff449ae10eb3a78bd6f63fbae0b0ab88d1c896', ref: (el) => __classPrivateFieldGet$8(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { key: '0ec262d6259836f12d4e92389cea0fb8dbecfea0', colSpan: __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
10203
+ rows = (index.h("tr", { key: 'fd61dd682eed8f7509b76569549c11074318b26d', ref: (el) => __classPrivateFieldGet$8(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { key: '375f74dab7f18f38c1fcfc82fbf89be7ea516acb', colSpan: __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
10148
10204
  }
10149
10205
  else {
10150
10206
  rows = [];
@@ -10220,7 +10276,7 @@ const KupDataTable = class {
10220
10276
  __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
10221
10277
  });
10222
10278
  }
10223
- groupChips = index.h(fChip.FChip, Object.assign({ key: '637cfa25400c657fb0038bc795c84c54548659ff' }, props));
10279
+ groupChips = index.h(fChip.FChip, Object.assign({ key: '9b5489775f259e91e74e4ce96178923d7531ea85' }, props));
10224
10280
  }
10225
10281
  }
10226
10282
  const tableClass = {
@@ -10252,7 +10308,7 @@ const KupDataTable = class {
10252
10308
  if (this.headerIsPersistent &&
10253
10309
  this.tableHeight === undefined &&
10254
10310
  this.tableWidth === undefined) {
10255
- stickyEl = (index.h("sticky-header", { key: 'a0764ce10008edbfe57e31b89a2bfce492032df9', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_stickyTheadRef, el, "f")) }, index.h("thead-sticky", { key: '428018e227d53749f598af36ac80d9fb17fb4081' }, index.h("tr-sticky", { key: '07a5e202250a8fd94a5396db5f3d0cafa9e0ac01' }, stickyHeader))));
10311
+ stickyEl = (index.h("sticky-header", { key: 'c7322e666a446be849ff1b383a87845541ce2a09', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_stickyTheadRef, el, "f")) }, index.h("thead-sticky", { key: 'd323db862d38913ac293117877b9014520644d07' }, index.h("tr-sticky", { key: '36682a81e6446b2d23ebe957d77eb7a33ec1eb23' }, stickyHeader))));
10256
10312
  }
10257
10313
  let belowClass = 'below-wrapper';
10258
10314
  if (!!this.tableHeight || !!this.tableWidth) {
@@ -10298,7 +10354,7 @@ const KupDataTable = class {
10298
10354
  const useGlobalFilter = !this.legacyLook &&
10299
10355
  (this.globalFilter ||
10300
10356
  this.getRows().length > __classPrivateFieldGet$8(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
10301
- const compCreated = (index.h(index.Host, { key: 'b90b5f42a700e5f8c38042a56088d9d52dce1347', "onKup-drop": (e) => {
10357
+ const compCreated = (index.h(index.Host, { key: '548c686024deca76c77bf5942728118d238c364b', "onKup-drop": (e) => {
10302
10358
  this.kupDataTableDrop.emit(e.detail);
10303
10359
  }, "onKup-cell-input": (e) => {
10304
10360
  autoselectOnAction(e);
@@ -10317,11 +10373,11 @@ const KupDataTable = class {
10317
10373
  this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
10318
10374
  }, "onKup-objectfield-selectedmenuitem": (e) => {
10319
10375
  this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
10320
- } }, index.h("style", { key: '32fa6209cca43ce89d62c657ed19ce512065fe98' }, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), index.h("div", { key: '908fca14f3458aaf8368ea779154692a0195fbd1', id: GenericVariables.componentWrapperId, class: wrapClass }, index.h("div", { key: '92a128bb8f34e39ac9a4f546dc29e2f8f5787362', class: "group-wrapper" }, groupChips), index.h("div", { key: 'f92764974b9fc57a337f377eb6cc7fcb38d49c75', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (index.h("div", { id: "global-filter" }, index.h(fTextField.FTextField, { fullWidth: true, icon: kupManager$2.KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(kupManager$2.KupLanguageSearch.SEARCH), sizing: kupManager$2.KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
10376
+ } }, index.h("style", { key: 'a59af13cdcad56c19f3d93a376251282d67d8927' }, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), index.h("div", { key: '6361fb5d031766406ad7e43e53309eeb9883c297', id: GenericVariables.componentWrapperId, class: wrapClass }, index.h("div", { key: 'afe0e1c52d9c1d0d4fc3e6aa2f4a50e4532a3444', class: "group-wrapper" }, groupChips), index.h("div", { key: 'c3a8df6ceecab5bdff580a0371754c8bdf5d05ae', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (index.h("div", { id: "global-filter" }, index.h(fTextField.FTextField, { fullWidth: true, icon: kupManager$2.KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(kupManager$2.KupLanguageSearch.SEARCH), sizing: kupManager$2.KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
10321
10377
  const t = event.target;
10322
10378
  window.clearTimeout(__classPrivateFieldGet$8(this, _KupDataTable_globalFilterTimeout, "f"));
10323
10379
  __classPrivateFieldSet$4(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
10324
- } }))) : null, paginatorTop && (index.h("div", { key: '64ca2f2c11561b14bf06c2897735903635e46c68', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
10380
+ } }))) : null, paginatorTop && (index.h("div", { key: 'cbbf08d01bdc7a10c03eaeb882bb2a13151c4268', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
10325
10381
  this.selectedRows.length > 0 ? (index.h(fButton.FButton, { icon: "save", onClick: () => {
10326
10382
  this.kupSave.emit({
10327
10383
  comp: this,
@@ -10371,9 +10427,9 @@ const KupDataTable = class {
10371
10427
  this.data.rows.unshift(row);
10372
10428
  await this.refresh(true);
10373
10429
  }
10374
- }, sizing: kupManager$2.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '0132e870d83fbf71b4913247c4346e1d179899ed', class: "droparea", ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
10430
+ }, sizing: kupManager$2.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '0cb8de2dadf3d644cc849c30e378dd7b098fc881', class: "droparea", ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
10375
10431
  ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
10376
- : null), index.h("div", { key: 'd59df5d24dc9b5a029ec7daa7ca2458e6b73a695', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
10432
+ : null), index.h("div", { key: 'c640c406c25fd847840ea8eb218183e258c6e250', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
10377
10433
  ? [
10378
10434
  index.h("div", { class: "settings-trigger", onClick: () => {
10379
10435
  __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
@@ -10382,7 +10438,7 @@ const KupDataTable = class {
10382
10438
  } }, index.h(fImage.FImage, { color: `var(${kupManager$2.KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
10383
10439
  this.renderCustomizePanel(),
10384
10440
  ]
10385
- : null, index.h("table", { key: '0ac169c84d996f38c5c2e01f1f6e3c689b5a55bd', class: tableClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$8(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
10441
+ : null, index.h("table", { key: '31305879e2f89950a611d5f6968b44b2929a7bdb', class: tableClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$8(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
10386
10442
  ev.stopPropagation();
10387
10443
  }, onPointerDown: (e) => {
10388
10444
  __classPrivateFieldSet$4(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
@@ -10390,7 +10446,7 @@ const KupDataTable = class {
10390
10446
  __classPrivateFieldSet$4(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
10391
10447
  }, onContextMenu: (e) => {
10392
10448
  e.preventDefault();
10393
- } }, index.h("thead", { key: '502ead64422e8f6e7ad125334929162946479078', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", { key: 'e3669c953b64bb8839535100d633bebe1e9bb2ad' }, header)), index.h("tbody", { key: '25cdec97420d3277b02d13027087ad258a6739a4' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
10449
+ } }, index.h("thead", { key: '58519882fed4f56f6e391777be49883d6d809619', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", { key: '586a3cd08234f259408bf88b8b417f2b0ea826ac' }, header)), index.h("tbody", { key: '2130a9f01980f50c553ad98b68eb10a40c7e25c8' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
10394
10450
  __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
10395
10451
  return compCreated;
10396
10452
  }
@@ -10438,7 +10494,7 @@ const KupDataTable = class {
10438
10494
  "transpose": ["recalculateData"]
10439
10495
  }; }
10440
10496
  };
10441
- _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _KupDataTable_rowsLength = new WeakMap(), _KupDataTable_paginatedRows = new WeakMap(), _KupDataTable_paginatedRowsLength = new WeakMap(), _KupDataTable_footer = new WeakMap(), _KupDataTable_kupManager = new WeakMap(), _KupDataTable_renderedRows = new WeakMap(), _KupDataTable_loadMoreEventCounter = new WeakMap(), _KupDataTable_loadMoreEventPreviousQuantity = new WeakMap(), _KupDataTable_theadRef = new WeakMap(), _KupDataTable_tableRef = new WeakMap(), _KupDataTable_originalData = new WeakMap(), _KupDataTable_originalDataLoaded = new WeakMap(), _KupDataTable_originalDataLoadedMaxId = new WeakMap(), _KupDataTable_insertedRowIds = new WeakMap(), _KupDataTable_modifiedRowsIds = new WeakMap(), _KupDataTable_tableAreaRef = new WeakMap(), _KupDataTable_stickyTheadRef = new WeakMap(), _KupDataTable_lastPointerDetails = new WeakMap(), _KupDataTable_customizeTopButtonRef = new WeakMap(), _KupDataTable_customizeTopPanelRef = new WeakMap(), _KupDataTable_sizedColumns = new WeakMap(), _KupDataTable_intObserver = new WeakMap(), _KupDataTable_navBarHeight = new WeakMap(), _KupDataTable_theadIntersecting = new WeakMap(), _KupDataTable_tableIntersecting = new WeakMap(), _KupDataTable_isSafariBrowser = new WeakMap(), _KupDataTable_isRestoringState = new WeakMap(), _KupDataTable_globalFilterTimeout = new WeakMap(), _KupDataTable_totalMenuCoords = new WeakMap(), _KupDataTable_clickTimeout = new WeakMap(), _KupDataTable_thRefs = new WeakMap(), _KupDataTable_rowsRefs = new WeakMap(), _KupDataTable_oldWidth = new WeakMap(), _KupDataTable_hold = new WeakMap(), _KupDataTable_interactableDrag = new WeakMap(), _KupDataTable_interactableDrop = new WeakMap(), _KupDataTable_interactableResize = new WeakMap(), _KupDataTable_interactableTouch = new WeakMap(), _KupDataTable_dropareaRef = new WeakMap(), _KupDataTable_removeDropareaRef = new WeakMap(), _KupDataTable_groupsDropareaRef = new WeakMap(), _KupDataTable_clickCb = new WeakMap(), _KupDataTable_clickCbCustomPanel = new WeakMap(), _KupDataTable_clickCbDropCard = new WeakMap(), _KupDataTable_resizeTimeout = new WeakMap(), _KupDataTable_columnMenuInstance = new WeakMap(), _KupDataTable_filtersColumnMenuInstance = new WeakMap(), _KupDataTable_filtersRowsInstance = new WeakMap(), _KupDataTable_detailCard = new WeakMap(), _KupDataTable_insertCard = new WeakMap(), _KupDataTable_actionsCard = new WeakMap(), _KupDataTable_confirmDeleteCard = new WeakMap(), _KupDataTable_confirmDeleteDialog = new WeakMap(), _KupDataTable_columnMenuCard = new WeakMap(), _KupDataTable_columnDropCard = new WeakMap(), _KupDataTable_columnDropCardAnchor = new WeakMap(), _KupDataTable_dropDownActionCardAnchor = new WeakMap(), _KupDataTable_insertCount = new WeakMap(), _KupDataTable_lastFocusedColumn = new WeakMap(), _KupDataTable_lastFocusedCell = new WeakMap(), _KupDataTable_lastFocusedRow = new WeakMap(), _KupDataTable_maxRowsPerPage = new WeakMap(), _KupDataTable_readyPromise = new WeakMap(), _KupDataTable_readyResolve = new WeakMap(), _KupDataTable_BUTTON_CANCEL_ID = new WeakMap(), _KupDataTable_BUTTON_SUBMIT_ID = new WeakMap(), _KupDataTable_FIELDS_FORM_ID = new WeakMap(), _KupDataTable_MESSAGE_ID = new WeakMap(), _KupDataTable_MESSAGE_WRAPPER_ID = new WeakMap(), _KupDataTable_INSERT_PREFIX = new WeakMap(), _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER = new WeakMap(), _KupDataTable_stickyHeaderPosition = new WeakMap(), _KupDataTable_horNav = new WeakMap(), _KupDataTable_verNav = new WeakMap(), _KupDataTable_onKupKeyDown = new WeakMap(), _KupDataTable_handleUpdateClick = new WeakMap(), _KupDataTable_FONTSIZE_CODES = new WeakMap(), _KupDataTable_FONTSIZE_DECODES = new WeakMap(), _KupDataTable_FONTSIZE_ICONS = new WeakMap(), _KupDataTable_DENSITY_DECODES = new WeakMap(), _KupDataTable_DENSITY_ICONS = new WeakMap(), _KupDataTable_GRID_CODES = new WeakMap(), _KupDataTable_GRID_DECODES = new WeakMap(), _KupDataTable_GRID_ICONS = new WeakMap(), _KupDataTable_instances = new WeakSet(), _KupDataTable_checkUpdateState = function _KupDataTable_checkUpdateState() {
10497
+ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _KupDataTable_rowsLength = new WeakMap(), _KupDataTable_paginatedRows = new WeakMap(), _KupDataTable_paginatedRowsLength = new WeakMap(), _KupDataTable_footer = new WeakMap(), _KupDataTable_kupManager = new WeakMap(), _KupDataTable_renderedRows = new WeakMap(), _KupDataTable_loadMoreEventCounter = new WeakMap(), _KupDataTable_loadMoreEventPreviousQuantity = new WeakMap(), _KupDataTable_theadRef = new WeakMap(), _KupDataTable_tableRef = new WeakMap(), _KupDataTable_originalData = new WeakMap(), _KupDataTable_originalDataLoaded = new WeakMap(), _KupDataTable_originalDataLoadedMaxId = new WeakMap(), _KupDataTable_insertedRowIds = new WeakMap(), _KupDataTable_modifiedRowsIds = new WeakMap(), _KupDataTable_tableAreaRef = new WeakMap(), _KupDataTable_stickyTheadRef = new WeakMap(), _KupDataTable_lastPointerDetails = new WeakMap(), _KupDataTable_customizeTopButtonRef = new WeakMap(), _KupDataTable_customizeTopPanelRef = new WeakMap(), _KupDataTable_sizedColumns = new WeakMap(), _KupDataTable_intObserver = new WeakMap(), _KupDataTable_navBarHeight = new WeakMap(), _KupDataTable_theadIntersecting = new WeakMap(), _KupDataTable_tableIntersecting = new WeakMap(), _KupDataTable_isSafariBrowser = new WeakMap(), _KupDataTable_isRestoringState = new WeakMap(), _KupDataTable_globalFilterTimeout = new WeakMap(), _KupDataTable_totalMenuCoords = new WeakMap(), _KupDataTable_clickTimeout = new WeakMap(), _KupDataTable_thRefs = new WeakMap(), _KupDataTable_rowsRefs = new WeakMap(), _KupDataTable_oldWidth = new WeakMap(), _KupDataTable_hold = new WeakMap(), _KupDataTable_interactableDrag = new WeakMap(), _KupDataTable_interactableDrop = new WeakMap(), _KupDataTable_interactableResize = new WeakMap(), _KupDataTable_interactableTouch = new WeakMap(), _KupDataTable_dropareaRef = new WeakMap(), _KupDataTable_removeDropareaRef = new WeakMap(), _KupDataTable_groupsDropareaRef = new WeakMap(), _KupDataTable_clickCb = new WeakMap(), _KupDataTable_clickCbCustomPanel = new WeakMap(), _KupDataTable_clickCbDropCard = new WeakMap(), _KupDataTable_resizeTimeout = new WeakMap(), _KupDataTable_columnMenuInstance = new WeakMap(), _KupDataTable_filtersColumnMenuInstance = new WeakMap(), _KupDataTable_filtersRowsInstance = new WeakMap(), _KupDataTable_detailCard = new WeakMap(), _KupDataTable_insertCard = new WeakMap(), _KupDataTable_actionsCard = new WeakMap(), _KupDataTable_confirmDeleteCard = new WeakMap(), _KupDataTable_confirmDeleteDialog = new WeakMap(), _KupDataTable_columnMenuCard = new WeakMap(), _KupDataTable_columnDropCard = new WeakMap(), _KupDataTable_columnDropCardAnchor = new WeakMap(), _KupDataTable_dropDownActionCardAnchor = new WeakMap(), _KupDataTable_insertCount = new WeakMap(), _KupDataTable_lastFocusedColumn = new WeakMap(), _KupDataTable_lastFocusedCell = new WeakMap(), _KupDataTable_lastFocusedRow = new WeakMap(), _KupDataTable_maxRowsPerPage = new WeakMap(), _KupDataTable_readyPromise = new WeakMap(), _KupDataTable_readyResolve = new WeakMap(), _KupDataTable_BUTTON_CANCEL_ID = new WeakMap(), _KupDataTable_BUTTON_SUBMIT_ID = new WeakMap(), _KupDataTable_FIELDS_FORM_ID = new WeakMap(), _KupDataTable_MESSAGE_ID = new WeakMap(), _KupDataTable_MESSAGE_WRAPPER_ID = new WeakMap(), _KupDataTable_INSERT_PREFIX = new WeakMap(), _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER = new WeakMap(), _KupDataTable_stickyHeaderPosition = new WeakMap(), _KupDataTable_horNav = new WeakMap(), _KupDataTable_verNav = new WeakMap(), _KupDataTable_onKupKeyDown = new WeakMap(), _KupDataTable_handleUpdateClick = new WeakMap(), _KupDataTable_FONTSIZE_CODES = new WeakMap(), _KupDataTable_FONTSIZE_DECODES = new WeakMap(), _KupDataTable_FONTSIZE_ICONS = new WeakMap(), _KupDataTable_DENSITY_DECODES = new WeakMap(), _KupDataTable_DENSITY_ICONS = new WeakMap(), _KupDataTable_GRID_CODES = new WeakMap(), _KupDataTable_GRID_DECODES = new WeakMap(), _KupDataTable_GRID_ICONS = new WeakMap(), _KupDataTable_addRowHandler = new WeakMap(), _KupDataTable_createRowWithInputFields = new WeakMap(), _KupDataTable_instances = new WeakSet(), _KupDataTable_checkUpdateState = function _KupDataTable_checkUpdateState() {
10442
10498
  let somethingChanged = false;
10443
10499
  if (!__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
10444
10500
  this.state.filters = Object.assign({}, this.filters);
@@ -13062,50 +13118,6 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
13062
13118
  return (!!commandButtons.length && (index.h("div", { class: "commands" }, commandButtons)));
13063
13119
  }, _KupDataTable_renderUpdateButtons = function _KupDataTable_renderUpdateButtons() {
13064
13120
  const styling = fButtonDeclarations.FButtonStyling.FLAT;
13065
- const createRowWithInputFields = () => {
13066
- var _a;
13067
- const row = { cells: {} };
13068
- (_a = this.data) === null || _a === void 0 ? void 0 : _a.columns.forEach((c) => {
13069
- var _a, _b;
13070
- const cell = {
13071
- shape: (_a = c.shape) !== null && _a !== void 0 ? _a : kupManager$2.FCellShapes.TEXT_FIELD,
13072
- obj: Object.assign({}, c.obj),
13073
- isEditable: (_b = c.isEditable) !== null && _b !== void 0 ? _b : true,
13074
- data: {},
13075
- };
13076
- if (c['length'] && c['maxLength']) {
13077
- cell.data = {
13078
- size: c['length'],
13079
- maxLength: c['maxLength'],
13080
- };
13081
- }
13082
- row.cells[c.name] = cell;
13083
- });
13084
- return row;
13085
- };
13086
- const addRowHandler = async () => {
13087
- var _a, _b;
13088
- var _c;
13089
- let newRow;
13090
- const selectedRows = await this.getSelectedRows();
13091
- if (selectedRows.length > 0) {
13092
- newRow = JSON.parse(JSON.stringify(selectedRows[0]));
13093
- }
13094
- else if (((_b = (_a = __classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.length) > 0) {
13095
- newRow = JSON.parse(JSON.stringify(__classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f").rows[0]));
13096
- }
13097
- else {
13098
- newRow = createRowWithInputFields();
13099
- }
13100
- Object.values(newRow.cells).forEach((cell) => {
13101
- if (selectedRows.length == 0) {
13102
- cell.value = '';
13103
- }
13104
- });
13105
- newRow.id = (__classPrivateFieldGet$8(this, _KupDataTable_originalDataLoadedMaxId, "f") + __classPrivateFieldSet$4(this, _KupDataTable_insertCount, (_c = __classPrivateFieldGet$8(this, _KupDataTable_insertCount, "f"), ++_c), "f")).toString();
13106
- __classPrivateFieldGet$8(this, _KupDataTable_insertedRowIds, "f").push(newRow.id);
13107
- this.insertNewRow(newRow, true);
13108
- };
13109
13121
  const addConfirmButton = () => {
13110
13122
  if (this.hiddenSubmitButton) {
13111
13123
  return;
@@ -13130,7 +13142,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
13130
13142
  enabled: operationList === null || operationList === void 0 ? void 0 : operationList.insert,
13131
13143
  icon: 'add',
13132
13144
  title: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(kupManager$2.KupLanguageGeneric.ROW_ADD),
13133
- onClickHandler: () => addRowHandler(),
13145
+ onClickHandler: () => __classPrivateFieldGet$8(this, _KupDataTable_addRowHandler, "f").call(this),
13134
13146
  },
13135
13147
  delete: {
13136
13148
  enabled: operationList === null || operationList === void 0 ? void 0 : operationList.delete,
@@ -3,20 +3,20 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-57f5a949.js');
7
- const kupDataTableHelper = require('./kup-data-table-helper-262a013d.js');
8
- const fImage = require('./f-image-7457eb26.js');
9
- const fChip = require('./f-chip-b2b2de76.js');
6
+ const kupManager = require('./kup-manager-5faed2fc.js');
7
+ const kupDataTableHelper = require('./kup-data-table-helper-a1c73939.js');
8
+ const fImage = require('./f-image-5a33fd05.js');
9
+ const fChip = require('./f-chip-ad2e88cd.js');
10
10
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
11
- const fCell = require('./f-cell-2dce1c47.js');
12
- const fPaginatorUtils = require('./f-paginator-utils-40479dab.js');
11
+ const fCell = require('./f-cell-808c80f4.js');
12
+ const fPaginatorUtils = require('./f-paginator-utils-ae22f3de.js');
13
13
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
14
14
  require('./kup-dates-2ff08e4f.js');
15
- require('./f-button-c084046d.js');
15
+ require('./f-button-9aca7812.js');
16
16
  require('./f-button-declarations-76ef9f87.js');
17
- require('./f-checkbox-e59d6bda.js');
18
- require('./f-object-field-508fe712.js');
19
- require('./f-text-field-5634b79e.js');
17
+ require('./f-checkbox-a3461c4d.js');
18
+ require('./f-object-field-a2060085.js');
19
+ require('./f-text-field-582fa181.js');
20
20
  require('./component-a6dd6c14.js');
21
21
 
22
22
  /**
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index$4 = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-57f5a949.js');
6
+ const kupManager = require('./kup-manager-5faed2fc.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
- const fButton = require('./f-button-c084046d.js');
9
- const fChip = require('./f-chip-b2b2de76.js');
8
+ const fButton = require('./f-button-9aca7812.js');
9
+ const fChip = require('./f-chip-ad2e88cd.js');
10
10
  const kupDates = require('./kup-dates-2ff08e4f.js');
11
11
  require('./f-button-declarations-76ef9f87.js');
12
- require('./f-image-7457eb26.js');
12
+ require('./f-image-5a33fd05.js');
13
13
 
14
14
  var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
15
15
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-57f5a949.js');
6
+ const kupManager = require('./kup-manager-5faed2fc.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-2ff08e4f.js');
9
9