@sme.up/ketchup 6.2.0 → 6.3.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 (160) hide show
  1. package/dist/cjs/{f-button-5b69d882.js → f-button-94cb5f35.js} +2 -2
  2. package/dist/cjs/{f-cell-3a740c48.js → f-cell-76830a0d.js} +12 -14
  3. package/dist/cjs/{f-checkbox-57443ca3.js → f-checkbox-cd977193.js} +1 -1
  4. package/dist/cjs/{f-chip-02e83f82.js → f-chip-68d45fd3.js} +3 -3
  5. package/dist/cjs/{f-image-2a61ece2.js → f-image-0e71df7e.js} +2 -2
  6. package/dist/cjs/{f-paginator-utils-09126bdd.js → f-paginator-utils-46689c0a.js} +80 -403
  7. package/dist/cjs/{f-text-field-9ee20a67.js → f-text-field-b4229cef.js} +11 -3
  8. package/dist/cjs/{index-06b131ea.js → index-31125378.js} +9 -4
  9. package/dist/cjs/ketchup.cjs.js +3 -3
  10. package/dist/cjs/kup-accordion.cjs.entry.js +5 -6
  11. package/dist/cjs/kup-autocomplete_25.cjs.entry.js +116 -111
  12. package/dist/cjs/kup-box.cjs.entry.js +15 -17
  13. package/dist/cjs/kup-calendar.cjs.entry.js +9 -11
  14. package/dist/cjs/kup-cell.cjs.entry.js +9 -11
  15. package/dist/cjs/kup-dash-list.cjs.entry.js +5 -7
  16. package/dist/cjs/kup-dash_2.cjs.entry.js +4 -5
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +76 -17
  18. package/dist/cjs/kup-drawer.cjs.entry.js +4 -5
  19. package/dist/cjs/kup-echart.cjs.entry.js +17 -19
  20. package/dist/cjs/kup-family-tree.cjs.entry.js +140 -64
  21. package/dist/cjs/kup-form.cjs.entry.js +10 -12
  22. package/dist/cjs/kup-iframe.cjs.entry.js +4 -5
  23. package/dist/cjs/kup-image-list.cjs.entry.js +10 -12
  24. package/dist/cjs/kup-lazy.cjs.entry.js +4 -5
  25. package/dist/cjs/kup-magic-box.cjs.entry.js +5 -6
  26. package/dist/cjs/{kup-manager-02acbb37.js → kup-manager-7c514a30.js} +1400 -369
  27. package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -5
  28. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  29. package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -5
  30. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-snackbar.cjs.entry.js +6 -7
  33. package/dist/cjs/loader.cjs.js +3 -3
  34. package/dist/collection/assets/dashboard.js +48 -0
  35. package/dist/collection/assets/family-tree.js +236 -19
  36. package/dist/collection/assets/index.js +4 -0
  37. package/dist/collection/assets/kupinteract.js +68 -0
  38. package/dist/collection/collection-manifest.json +5 -5
  39. package/dist/collection/components/kup-dashboard/kup-dashboard.css +7 -0
  40. package/dist/collection/components/kup-dashboard/kup-dashboard.js +67 -7
  41. package/dist/collection/components/kup-data-table/kup-data-table-helper.js +42 -30
  42. package/dist/collection/components/kup-echart/kup-echart.js +9 -9
  43. package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +3 -1
  44. package/dist/collection/components/kup-family-tree/kup-family-tree.css +79 -9
  45. package/dist/collection/components/kup-family-tree/kup-family-tree.js +253 -65
  46. package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +1 -0
  47. package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
  48. package/dist/collection/f-components/f-text-field/f-text-field.js +9 -1
  49. package/dist/collection/managers/kup-data/kup-data-cell-helper.js +48 -15
  50. package/dist/collection/managers/kup-data/kup-data.js +5 -5
  51. package/dist/collection/managers/kup-interact/kup-interact.js +3 -5
  52. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.js +2 -0
  53. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +131 -45
  54. package/dist/collection/utils/filters/filters-rows.js +4 -23
  55. package/dist/collection/utils/filters/filters-tree-items.js +2 -1
  56. package/dist/esm/{f-button-fd44ef70.js → f-button-cd948e50.js} +2 -2
  57. package/dist/esm/{f-cell-7b159a22.js → f-cell-474dd282.js} +6 -8
  58. package/dist/esm/{f-checkbox-c51c4a75.js → f-checkbox-e06cf07b.js} +1 -1
  59. package/dist/esm/{f-chip-c2e4c522.js → f-chip-d6f2eb94.js} +3 -3
  60. package/dist/esm/{f-image-2ab4b9aa.js → f-image-914a03ef.js} +2 -2
  61. package/dist/esm/{f-paginator-utils-ef537d82.js → f-paginator-utils-a4a52732.js} +44 -366
  62. package/dist/esm/{f-text-field-41c575eb.js → f-text-field-76341fe3.js} +11 -3
  63. package/dist/esm/{index-ad6ab214.js → index-e41330a5.js} +9 -4
  64. package/dist/esm/ketchup.js +3 -3
  65. package/dist/esm/kup-accordion.entry.js +3 -4
  66. package/dist/esm/kup-autocomplete_25.entry.js +17 -12
  67. package/dist/esm/kup-box.entry.js +9 -11
  68. package/dist/esm/kup-calendar.entry.js +5 -7
  69. package/dist/esm/kup-cell.entry.js +7 -9
  70. package/dist/esm/kup-dash-list.entry.js +2 -4
  71. package/dist/esm/kup-dash_2.entry.js +2 -3
  72. package/dist/esm/kup-dashboard.entry.js +74 -15
  73. package/dist/esm/kup-drawer.entry.js +2 -3
  74. package/dist/esm/kup-echart.entry.js +11 -13
  75. package/dist/esm/kup-family-tree.entry.js +138 -62
  76. package/dist/esm/kup-form.entry.js +7 -9
  77. package/dist/esm/kup-iframe.entry.js +2 -3
  78. package/dist/esm/kup-image-list.entry.js +8 -10
  79. package/dist/esm/kup-lazy.entry.js +2 -3
  80. package/dist/esm/kup-magic-box.entry.js +3 -4
  81. package/dist/esm/{kup-manager-22a475e6.js → kup-manager-86f440c7.js} +1379 -370
  82. package/dist/esm/kup-nav-bar.entry.js +2 -3
  83. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  84. package/dist/esm/kup-photo-frame.entry.js +2 -3
  85. package/dist/esm/kup-probe.entry.js +2 -2
  86. package/dist/esm/kup-qlik.entry.js +2 -2
  87. package/dist/esm/kup-snackbar.entry.js +4 -5
  88. package/dist/esm/loader.js +3 -3
  89. package/dist/ketchup/ketchup.esm.js +1 -1
  90. package/dist/ketchup/p-00e1133d.entry.js +9 -0
  91. package/dist/ketchup/p-066f344a.entry.js +1 -0
  92. package/dist/ketchup/p-0c6e0647.entry.js +1 -0
  93. package/dist/ketchup/p-151f7c17.entry.js +27 -0
  94. package/dist/ketchup/p-1e9c03b0.entry.js +1 -0
  95. package/dist/ketchup/{p-fc2b1229.js → p-21ea11cb.js} +3 -3
  96. package/dist/ketchup/{p-1959f835.entry.js → p-2f4e6c50.entry.js} +1 -1
  97. package/dist/ketchup/p-3586f59c.js +1 -0
  98. package/dist/ketchup/p-359fd90d.entry.js +1 -0
  99. package/dist/ketchup/{p-38d7584e.js → p-389fd0bf.js} +1 -1
  100. package/dist/ketchup/{p-cd5cfa7c.js → p-5552f156.js} +1 -1
  101. package/dist/ketchup/{p-264b1b19.entry.js → p-77aff9c1.entry.js} +1 -1
  102. package/dist/ketchup/{p-e9366aaf.entry.js → p-7cfdf53c.entry.js} +4 -4
  103. package/dist/ketchup/p-853a5178.entry.js +1 -0
  104. package/dist/ketchup/{p-edae3076.js → p-8673bd4e.js} +1 -1
  105. package/dist/ketchup/p-8b55b786.entry.js +1 -0
  106. package/dist/ketchup/p-95f5834b.entry.js +1 -0
  107. package/dist/ketchup/p-a2c595c4.js +1 -0
  108. package/dist/ketchup/p-ae91f27e.entry.js +1 -0
  109. package/dist/ketchup/{p-928c5c36.js → p-af664379.js} +1 -1
  110. package/dist/ketchup/p-b0b3989b.js +2 -0
  111. package/dist/ketchup/p-b3b65a61.entry.js +1 -0
  112. package/dist/ketchup/p-bc306a53.entry.js +1 -0
  113. package/dist/ketchup/{p-42080355.entry.js → p-c3783b77.entry.js} +1 -1
  114. package/dist/ketchup/{p-dc62a30f.js → p-cd4fc3fb.js} +1 -1
  115. package/dist/ketchup/p-cee76b14.entry.js +1 -0
  116. package/dist/ketchup/p-cfaea29b.entry.js +1 -0
  117. package/dist/ketchup/p-d2f51e7b.entry.js +1 -0
  118. package/dist/ketchup/p-df8e6a4d.entry.js +1 -0
  119. package/dist/ketchup/p-e60a1170.entry.js +1 -0
  120. package/dist/ketchup/p-e9a1ba04.entry.js +1 -0
  121. package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +6 -1
  122. package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +7 -3
  123. package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +26 -5
  124. package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +1 -0
  125. package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
  126. package/dist/types/components.d.ts +49 -7
  127. package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
  128. package/dist/types/managers/kup-data/kup-data-cell-helper.d.ts +13 -6
  129. package/dist/types/managers/kup-data/kup-data.d.ts +2 -1
  130. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +9 -1
  131. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +7 -5
  132. package/dist/types/utils/filters/filters-rows.d.ts +0 -2
  133. package/package.json +2 -2
  134. package/dist/cjs/cell-utils-fe64a28c.js +0 -168
  135. package/dist/cjs/utils-4b208b48.js +0 -447
  136. package/dist/esm/cell-utils-cb5d4149.js +0 -160
  137. package/dist/esm/utils-2c1f4122.js +0 -428
  138. package/dist/ketchup/p-06c6cc68.js +0 -1
  139. package/dist/ketchup/p-0dacd4bc.entry.js +0 -1
  140. package/dist/ketchup/p-1c44dc62.entry.js +0 -1
  141. package/dist/ketchup/p-4bc9f98b.entry.js +0 -1
  142. package/dist/ketchup/p-578583db.entry.js +0 -1
  143. package/dist/ketchup/p-5866d507.entry.js +0 -1
  144. package/dist/ketchup/p-61059e9d.entry.js +0 -9
  145. package/dist/ketchup/p-664be494.entry.js +0 -1
  146. package/dist/ketchup/p-67cd575d.entry.js +0 -1
  147. package/dist/ketchup/p-682a367a.js +0 -1
  148. package/dist/ketchup/p-6ccf7eb2.entry.js +0 -1
  149. package/dist/ketchup/p-7230ab97.entry.js +0 -1
  150. package/dist/ketchup/p-752b4cef.entry.js +0 -1
  151. package/dist/ketchup/p-7de3e7ac.entry.js +0 -1
  152. package/dist/ketchup/p-9b36497d.entry.js +0 -1
  153. package/dist/ketchup/p-b982d137.entry.js +0 -1
  154. package/dist/ketchup/p-c0219e5e.js +0 -1
  155. package/dist/ketchup/p-c55fd0a7.entry.js +0 -1
  156. package/dist/ketchup/p-d154b3a0.entry.js +0 -1
  157. package/dist/ketchup/p-d2affb6f.entry.js +0 -27
  158. package/dist/ketchup/p-d3b542b3.js +0 -2
  159. package/dist/ketchup/p-d6c12c6c.js +0 -1
  160. package/dist/ketchup/p-da0eab60.entry.js +0 -1
@@ -2,21 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-06b131ea.js');
6
- const kupManager = require('./kup-manager-02acbb37.js');
7
- const fTextField = require('./f-text-field-9ee20a67.js');
5
+ const index = require('./index-31125378.js');
6
+ const kupManager = require('./kup-manager-7c514a30.js');
7
+ const fTextField = require('./f-text-field-b4229cef.js');
8
8
  const fTextFieldMdc = require('./f-text-field-mdc-85997738.js');
9
- const utils = require('./utils-4b208b48.js');
10
9
  const GenericVariables = require('./GenericVariables-a9ed17ee.js');
11
- const fImage = require('./f-image-2a61ece2.js');
12
- const fButton = require('./f-button-5b69d882.js');
10
+ const fImage = require('./f-image-0e71df7e.js');
11
+ const fButton = require('./f-button-94cb5f35.js');
13
12
  const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
14
- const fChip = require('./f-chip-02e83f82.js');
13
+ const fChip = require('./f-chip-68d45fd3.js');
15
14
  const component = require('./component-72a5b626.js');
16
- const cellUtils = require('./cell-utils-fe64a28c.js');
17
- const fCheckbox = require('./f-checkbox-57443ca3.js');
18
- const fPaginatorUtils = require('./f-paginator-utils-09126bdd.js');
19
- const fCell = require('./f-cell-3a740c48.js');
15
+ const fCheckbox = require('./f-checkbox-cd977193.js');
16
+ const fPaginatorUtils = require('./f-paginator-utils-46689c0a.js');
17
+ const fCell = require('./f-cell-76830a0d.js');
20
18
  require('./tslib.es6-0ee02c67.js');
21
19
 
22
20
  /**
@@ -444,7 +442,7 @@ const KupAutocomplete = class {
444
442
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
445
443
  */
446
444
  async getProps(descriptions) {
447
- return utils.getProps(this, KupAutocompleteProps, descriptions);
445
+ return kupManager.getProps(this, KupAutocompleteProps, descriptions);
448
446
  }
449
447
  /**
450
448
  * Used to retrieve the value of the component.
@@ -470,7 +468,7 @@ const KupAutocomplete = class {
470
468
  * @param {GenericObject} props - Object containing props that will be set to the component.
471
469
  */
472
470
  async setProps(props) {
473
- utils.setProps(this, KupAutocompleteProps, props);
471
+ kupManager.setProps(this, KupAutocompleteProps, props);
474
472
  }
475
473
  /**
476
474
  * Sets the value of the component.
@@ -654,7 +652,7 @@ const KupBadge = class {
654
652
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
655
653
  */
656
654
  async getProps(descriptions) {
657
- return utils.getProps(this, KupBadgeProps, descriptions);
655
+ return kupManager.getProps(this, KupBadgeProps, descriptions);
658
656
  }
659
657
  /**
660
658
  * This method is used to trigger a new render of the component.
@@ -667,7 +665,7 @@ const KupBadge = class {
667
665
  * @param {GenericObject} props - Object containing props that will be set to the component.
668
666
  */
669
667
  async setProps(props) {
670
- utils.setProps(this, KupBadgeProps, props);
668
+ kupManager.setProps(this, KupBadgeProps, props);
671
669
  }
672
670
  /*-------------------------------------------------*/
673
671
  /* L i f e c y c l e H o o k s */
@@ -847,7 +845,7 @@ const KupButton = class {
847
845
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
848
846
  */
849
847
  async getProps(descriptions) {
850
- return utils.getProps(this, KupButtonProps, descriptions);
848
+ return kupManager.getProps(this, KupButtonProps, descriptions);
851
849
  }
852
850
  /**
853
851
  * This method is used to trigger a new render of the component.
@@ -860,7 +858,7 @@ const KupButton = class {
860
858
  * @param {GenericObject} props - Object containing props that will be set to the component.
861
859
  */
862
860
  async setProps(props) {
863
- utils.setProps(this, KupButtonProps, props);
861
+ kupManager.setProps(this, KupButtonProps, props);
864
862
  }
865
863
  /*-------------------------------------------------*/
866
864
  /* L i f e c y c l e H o o k s */
@@ -1081,7 +1079,7 @@ const KupButtonList = class {
1081
1079
  * @param {GenericObject} props - Object containing props that will be set to the component.
1082
1080
  */
1083
1081
  async setProps(props) {
1084
- utils.setProps(this, KupButtonListProps, props);
1082
+ kupManager.setProps(this, KupButtonListProps, props);
1085
1083
  }
1086
1084
  /*-------------------------------------------------*/
1087
1085
  /* P r i v a t e M e t h o d s */
@@ -1302,7 +1300,7 @@ function prepareCalendar(component) {
1302
1300
  }
1303
1301
  if (!el.kupData.value)
1304
1302
  setValue$2(component, new Date());
1305
- const months = utils.getMonthsAsStringByLocale();
1303
+ const months = kupManager.getMonthsAsStringByLocale();
1306
1304
  const curYear = getYear(component);
1307
1305
  const curMonth = getMonth(component);
1308
1306
  const yearRange = getInitEndYear(curYear);
@@ -1492,7 +1490,7 @@ function createDaysCalendar(component) {
1492
1490
  index.h("tbody", null, tbody)));
1493
1491
  }
1494
1492
  function createMonthsCalendar(component) {
1495
- const months = utils.getMonthsAsStringByLocale(utils.DateTimeFormatOptionsMonth.SHORT);
1493
+ const months = kupManager.getMonthsAsStringByLocale(kupManager.DateTimeFormatOptionsMonth.SHORT);
1496
1494
  let selectedDay = getDay(component);
1497
1495
  const selectedMonth = getMonth(component);
1498
1496
  const selectedYear = getYear(component);
@@ -5148,7 +5146,7 @@ const KupCard = class {
5148
5146
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
5149
5147
  */
5150
5148
  async getProps(descriptions) {
5151
- return utils.getProps(this, kupManager.KupCardProps, descriptions);
5149
+ return kupManager.getProps(this, kupManager.KupCardProps, descriptions);
5152
5150
  }
5153
5151
  /**
5154
5152
  * This method is used to trigger a new render of the component.
@@ -5170,7 +5168,7 @@ const KupCard = class {
5170
5168
  * @param {GenericObject} props - Object containing props that will be set to the component.
5171
5169
  */
5172
5170
  async setProps(props) {
5173
- utils.setProps(this, kupManager.KupCardProps, props);
5171
+ kupManager.setProps(this, kupManager.KupCardProps, props);
5174
5172
  }
5175
5173
  /*-------------------------------------------------*/
5176
5174
  /* P r i v a t e M e t h o d s */
@@ -5566,14 +5564,14 @@ const convertColumns = (data, { series, axis }) => {
5566
5564
  }
5567
5565
  const columns = [];
5568
5566
  // axis
5569
- const axisColumn = cellUtils.getColumnByName(data.columns, axis);
5567
+ const axisColumn = kupManager.getColumnByName(data.columns, axis);
5570
5568
  if (axisColumn) {
5571
5569
  columns.push(axisColumn);
5572
5570
  }
5573
5571
  // series
5574
5572
  series.map((serie) => {
5575
5573
  // searching colum
5576
- const c = cellUtils.getColumnByName(data.columns, serie.code);
5574
+ const c = kupManager.getColumnByName(data.columns, serie.code);
5577
5575
  if (c) {
5578
5576
  columns.push(c);
5579
5577
  }
@@ -5596,7 +5594,7 @@ const convertRows = (data, columns, showMarks) => {
5596
5594
  if (cell && cell.obj) {
5597
5595
  const addMark = showMarks && index > 0;
5598
5596
  if (kupObjects.isNumber(cell.obj)) {
5599
- const value = cellUtils.formatToNumber(cell);
5597
+ const value = kupManager.formatToNumber(cell);
5600
5598
  currentRow.push(value);
5601
5599
  if (addMark) {
5602
5600
  currentRow.push(value.toString());
@@ -5711,7 +5709,7 @@ const KupChart = class {
5711
5709
  /*-------------------------------------------------*/
5712
5710
  identifyRows() {
5713
5711
  if (this.data) {
5714
- utils.identify(this.data.rows);
5712
+ kupManager.identify(this.data.rows);
5715
5713
  }
5716
5714
  }
5717
5715
  /*-------------------------------------------------*/
@@ -5723,7 +5721,7 @@ const KupChart = class {
5723
5721
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
5724
5722
  */
5725
5723
  async getProps(descriptions) {
5726
- return utils.getProps(this, KupChartProps, descriptions);
5724
+ return kupManager.getProps(this, KupChartProps, descriptions);
5727
5725
  }
5728
5726
  /**
5729
5727
  * This method is used to trigger a new render of the component.
@@ -5754,7 +5752,7 @@ const KupChart = class {
5754
5752
  * @param {GenericObject} props - Object containing props that will be set to the component.
5755
5753
  */
5756
5754
  async setProps(props) {
5757
- utils.setProps(this, KupChartProps, props);
5755
+ kupManager.setProps(this, KupChartProps, props);
5758
5756
  }
5759
5757
  /*-------------------------------------------------*/
5760
5758
  /* P r i v a t e M e t h o d s */
@@ -5971,11 +5969,11 @@ const KupChart = class {
5971
5969
  this.gChartDataTable.getColumnProperty(originalColIndex, 'role')) {
5972
5970
  --originalColIndex;
5973
5971
  }
5974
- event.column = cellUtils.getColumnByName(this.data.columns, this.series[originalColIndex - 1].code);
5972
+ event.column = kupManager.getColumnByName(this.data.columns, this.series[originalColIndex - 1].code);
5975
5973
  event.colindex = originalColIndex;
5976
5974
  }
5977
5975
  else {
5978
- event.column = cellUtils.getColumnByName(this.data.columns, this.series[0].code);
5976
+ event.column = kupManager.getColumnByName(this.data.columns, this.series[0].code);
5979
5977
  event.colindex = 0;
5980
5978
  }
5981
5979
  }
@@ -6269,7 +6267,7 @@ const KupCheckbox = class {
6269
6267
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
6270
6268
  */
6271
6269
  async getProps(descriptions) {
6272
- return utils.getProps(this, KupCheckboxProps, descriptions);
6270
+ return kupManager.getProps(this, KupCheckboxProps, descriptions);
6273
6271
  }
6274
6272
  /**
6275
6273
  * This method is used to trigger a new render of the component.
@@ -6282,7 +6280,7 @@ const KupCheckbox = class {
6282
6280
  * @param {GenericObject} props - Object containing props that will be set to the component.
6283
6281
  */
6284
6282
  async setProps(props) {
6285
- utils.setProps(this, KupCheckboxProps, props);
6283
+ kupManager.setProps(this, KupCheckboxProps, props);
6286
6284
  }
6287
6285
  /*-------------------------------------------------*/
6288
6286
  /* L i f e c y c l e H o o k s */
@@ -6448,7 +6446,7 @@ const KupChip = class {
6448
6446
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
6449
6447
  */
6450
6448
  async getProps(descriptions) {
6451
- return utils.getProps(this, KupChipProps, descriptions);
6449
+ return kupManager.getProps(this, KupChipProps, descriptions);
6452
6450
  }
6453
6451
  /**
6454
6452
  * This method is used to trigger a new render of the component.
@@ -6461,7 +6459,7 @@ const KupChip = class {
6461
6459
  * @param {GenericObject} props - Object containing props that will be set to the component.
6462
6460
  */
6463
6461
  async setProps(props) {
6464
- utils.setProps(this, KupChipProps, props);
6462
+ kupManager.setProps(this, KupChipProps, props);
6465
6463
  }
6466
6464
  /*-------------------------------------------------*/
6467
6465
  /* L i f e c y c l e H o o k s */
@@ -6625,7 +6623,7 @@ const KupColorPicker = class {
6625
6623
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
6626
6624
  */
6627
6625
  async getProps(descriptions) {
6628
- return utils.getProps(this, KupColorPickerProps, descriptions);
6626
+ return kupManager.getProps(this, KupColorPickerProps, descriptions);
6629
6627
  }
6630
6628
  /**
6631
6629
  * Retrieves the component's value.
@@ -6645,7 +6643,7 @@ const KupColorPicker = class {
6645
6643
  * @param {GenericObject} props - Object containing props that will be set to the component.
6646
6644
  */
6647
6645
  async setProps(props) {
6648
- utils.setProps(this, KupColorPickerProps, props);
6646
+ kupManager.setProps(this, KupColorPickerProps, props);
6649
6647
  }
6650
6648
  /**
6651
6649
  * Sets the component's value.
@@ -7085,7 +7083,7 @@ const KupCombobox = class {
7085
7083
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
7086
7084
  */
7087
7085
  async getProps(descriptions) {
7088
- return utils.getProps(this, KupComboboxProps, descriptions);
7086
+ return kupManager.getProps(this, KupComboboxProps, descriptions);
7089
7087
  }
7090
7088
  /**
7091
7089
  * Retrieves the component's value.
@@ -7111,7 +7109,7 @@ const KupCombobox = class {
7111
7109
  * @param {GenericObject} props - Object containing props that will be set to the component.
7112
7110
  */
7113
7111
  async setProps(props) {
7114
- utils.setProps(this, KupComboboxProps, props);
7112
+ kupManager.setProps(this, KupComboboxProps, props);
7115
7113
  }
7116
7114
  /**
7117
7115
  * Sets the component's value.
@@ -7451,7 +7449,7 @@ class KupColumnMenu {
7451
7449
  });
7452
7450
  }
7453
7451
  for (let index = 0; index < columnValues.length; index++) {
7454
- let label = cellUtils.getValueForDisplay2(columnValues[index], column);
7452
+ let label = kupManager.getValueForDisplay2(columnValues[index], column);
7455
7453
  if (dom.ketchup.objects.isCheckbox(column.obj)) {
7456
7454
  if (columnValues[index].value == '1') {
7457
7455
  label = dom.ketchup.language.translate(kupManager.KupLanguageCheckbox.CHECKED);
@@ -7461,11 +7459,11 @@ class KupColumnMenu {
7461
7459
  }
7462
7460
  }
7463
7461
  props.push({
7464
- checked: fPaginatorUtils.Filters.valuesArrayContainsValue(checkBoxesFilter, columnValues[index].value),
7462
+ checked: kupManager.Filters.valuesArrayContainsValue(checkBoxesFilter, columnValues[index].value),
7465
7463
  'data-storage': {
7466
7464
  column: column,
7467
7465
  value: columnValues[index].value,
7468
- displayedValue: cellUtils.getValueForDisplay2(columnValues[index], column),
7466
+ displayedValue: kupManager.getValueForDisplay2(columnValues[index], column),
7469
7467
  },
7470
7468
  label: label,
7471
7469
  });
@@ -7596,7 +7594,7 @@ class KupColumnMenu {
7596
7594
  }
7597
7595
  else if (dom.ketchup.objects.isStringObject(column.obj)) {
7598
7596
  let filterInitialValue = this.filtersColumnMenuInstance.getTextFilterValue(comp.filters, column.name);
7599
- filterInitialValue = cellUtils.getValueForDisplay(filterInitialValue, column.obj, column.decimals);
7597
+ filterInitialValue = kupManager.getValueForDisplay(filterInitialValue, column.obj, column.decimals);
7600
7598
  props.push({
7601
7599
  'data-storage': {
7602
7600
  column: column,
@@ -7641,12 +7639,12 @@ class KupColumnMenu {
7641
7639
  return props;
7642
7640
  }
7643
7641
  let interval = this.filtersColumnMenuInstance.getIntervalTextFieldFilterValues(comp.filters, column);
7644
- let initialValueFrom = interval[fPaginatorUtils.FilterInterval.FROM];
7645
- let initialValueTo = interval[fPaginatorUtils.FilterInterval.TO];
7642
+ let initialValueFrom = interval[kupManager.FilterInterval.FROM];
7643
+ let initialValueTo = interval[kupManager.FilterInterval.TO];
7646
7644
  props.push({
7647
7645
  'data-storage': {
7648
7646
  column: column,
7649
- intervalIndex: fPaginatorUtils.FilterInterval.FROM,
7647
+ intervalIndex: kupManager.FilterInterval.FROM,
7650
7648
  isInterval: true,
7651
7649
  },
7652
7650
  fullWidth: true,
@@ -7661,7 +7659,7 @@ class KupColumnMenu {
7661
7659
  props.push({
7662
7660
  'data-storage': {
7663
7661
  column: column,
7664
- intervalIndex: fPaginatorUtils.FilterInterval.TO,
7662
+ intervalIndex: kupManager.FilterInterval.TO,
7665
7663
  isInterval: true,
7666
7664
  },
7667
7665
  fullWidth: true,
@@ -7690,12 +7688,12 @@ class KupColumnMenu {
7690
7688
  return props;
7691
7689
  }
7692
7690
  let interval = this.filtersColumnMenuInstance.getIntervalTextFieldFilterValues(comp.filters, column);
7693
- let initialValueFrom = interval[fPaginatorUtils.FilterInterval.FROM];
7694
- let initialValueTo = interval[fPaginatorUtils.FilterInterval.TO];
7691
+ let initialValueFrom = interval[kupManager.FilterInterval.FROM];
7692
+ let initialValueTo = interval[kupManager.FilterInterval.TO];
7695
7693
  props.push({
7696
7694
  'data-storage': {
7697
7695
  column: column,
7698
- intervalIndex: fPaginatorUtils.FilterInterval.FROM,
7696
+ intervalIndex: kupManager.FilterInterval.FROM,
7699
7697
  isInterval: true,
7700
7698
  },
7701
7699
  data: {
@@ -7713,7 +7711,7 @@ class KupColumnMenu {
7713
7711
  props.push({
7714
7712
  'data-storage': {
7715
7713
  column: column,
7716
- intervalIndex: fPaginatorUtils.FilterInterval.TO,
7714
+ intervalIndex: kupManager.FilterInterval.TO,
7717
7715
  isInterval: true,
7718
7716
  },
7719
7717
  data: {
@@ -7746,8 +7744,8 @@ class KupColumnMenu {
7746
7744
  return props;
7747
7745
  }
7748
7746
  let interval = this.filtersColumnMenuInstance.getIntervalTextFieldFilterValues(comp.filters, column);
7749
- let initialValueFrom = interval[fPaginatorUtils.FilterInterval.FROM];
7750
- let initialValueTo = interval[fPaginatorUtils.FilterInterval.TO];
7747
+ let initialValueFrom = interval[kupManager.FilterInterval.FROM];
7748
+ let initialValueTo = interval[kupManager.FilterInterval.TO];
7751
7749
  let suffixFrom = null;
7752
7750
  let suffixTo = null;
7753
7751
  if (dom.ketchup.objects.isTimestamp(column.obj)) {
@@ -7770,7 +7768,7 @@ class KupColumnMenu {
7770
7768
  'data-storage': {
7771
7769
  column: column,
7772
7770
  suffix: suffixFrom,
7773
- intervalIndex: fPaginatorUtils.FilterInterval.FROM,
7771
+ intervalIndex: kupManager.FilterInterval.FROM,
7774
7772
  isInterval: true,
7775
7773
  },
7776
7774
  data: {
@@ -7788,7 +7786,7 @@ class KupColumnMenu {
7788
7786
  'data-storage': {
7789
7787
  column: column,
7790
7788
  suffix: suffixTo,
7791
- intervalIndex: fPaginatorUtils.FilterInterval.TO,
7789
+ intervalIndex: kupManager.FilterInterval.TO,
7792
7790
  isInterval: true,
7793
7791
  },
7794
7792
  data: {
@@ -8539,7 +8537,7 @@ const KupDataTable = class {
8539
8537
  }
8540
8538
  }
8541
8539
  identifyAndInitRows() {
8542
- utils.identify(this.getRows());
8540
+ kupManager.identify(this.getRows());
8543
8541
  this.expandGroupsHandler();
8544
8542
  this.resetSelectedRows();
8545
8543
  }
@@ -8604,7 +8602,7 @@ const KupDataTable = class {
8604
8602
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
8605
8603
  */
8606
8604
  async getProps(descriptions) {
8607
- return utils.getProps(this, kupManager.KupDataTableProps, descriptions);
8605
+ return kupManager.getProps(this, kupManager.KupDataTableProps, descriptions);
8608
8606
  }
8609
8607
  /**
8610
8608
  * This method will get the selected rows of the component.
@@ -8672,7 +8670,7 @@ const KupDataTable = class {
8672
8670
  });
8673
8671
  }
8674
8672
  this.columnMenuCard.setAttribute('data-column', column);
8675
- this.columnMenuCard.data = this.columnMenuInstance.prepData(this, cellUtils.getColumnByName(this.getVisibleColumns(), column));
8673
+ this.columnMenuCard.data = this.columnMenuInstance.prepData(this, kupManager.getColumnByName(this.getVisibleColumns(), column));
8676
8674
  this.columnMenuInstance.open(this, column);
8677
8675
  this.columnMenuInstance.reposition(this, this.columnMenuCard);
8678
8676
  this.kupDataTableColumnMenu.emit({
@@ -8730,7 +8728,7 @@ const KupDataTable = class {
8730
8728
  * @param {GenericObject} props - Object containing props that will be set to the component.
8731
8729
  */
8732
8730
  async setProps(props) {
8733
- utils.setProps(this, kupManager.KupDataTableProps, props);
8731
+ kupManager.setProps(this, kupManager.KupDataTableProps, props);
8734
8732
  }
8735
8733
  /**
8736
8734
  * This method will set the selected rows of the component.
@@ -9108,7 +9106,7 @@ const KupDataTable = class {
9108
9106
  }, null, {
9109
9107
  drop: (e) => {
9110
9108
  const draggedTh = e.relatedTarget;
9111
- const grouped = cellUtils.getColumnByName(this.getColumns(), draggedTh.dataset.column);
9109
+ const grouped = kupManager.getColumnByName(this.getColumns(), draggedTh.dataset.column);
9112
9110
  this.handleColumnGroup(grouped);
9113
9111
  this.tableRef.removeAttribute(kupManager.kupDragActiveAttr);
9114
9112
  },
@@ -9123,7 +9121,7 @@ const KupDataTable = class {
9123
9121
  }, null, {
9124
9122
  drop: (e) => {
9125
9123
  const draggedTh = e.relatedTarget;
9126
- const deleted = cellUtils.getColumnByName(this.getColumns(), draggedTh.dataset.column);
9124
+ const deleted = kupManager.getColumnByName(this.getColumns(), draggedTh.dataset.column);
9127
9125
  this.hideColumn(deleted);
9128
9126
  this.tableRef.removeAttribute(kupManager.kupDragActiveAttr);
9129
9127
  },
@@ -9137,7 +9135,7 @@ const KupDataTable = class {
9137
9135
  const draggable = e.target;
9138
9136
  return {
9139
9137
  cell: null,
9140
- column: cellUtils.getColumnByName(this.getVisibleColumns(), draggable.dataset.column),
9138
+ column: kupManager.getColumnByName(this.getVisibleColumns(), draggable.dataset.column),
9141
9139
  id: this.rootElement.id,
9142
9140
  multiple: !!(this.selection === kupManager.SelectionMode.MULTIPLE ||
9143
9141
  this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX),
@@ -9154,7 +9152,7 @@ const KupDataTable = class {
9154
9152
  !this.enableMergeColumns);
9155
9153
  const draggable = e.relatedTarget;
9156
9154
  const starter = draggable.kupDragDrop.column;
9157
- const receiving = cellUtils.getColumnByName(this.getColumns(), e.target.dataset.column);
9155
+ const receiving = kupManager.getColumnByName(this.getColumns(), e.target.dataset.column);
9158
9156
  this.columnDropCardAnchor = e.target;
9159
9157
  if (receiving && starter) {
9160
9158
  if (onlySort) {
@@ -9205,7 +9203,7 @@ const KupDataTable = class {
9205
9203
  }
9206
9204
  if (this.resizableColumns) {
9207
9205
  const moveCb = (e) => {
9208
- const column = cellUtils.getColumnByName(this.getVisibleColumns(), e.target.dataset.column);
9206
+ const column = kupManager.getColumnByName(this.getVisibleColumns(), e.target.dataset.column);
9209
9207
  column.size = e.rect.width + 'px';
9210
9208
  this.refresh();
9211
9209
  };
@@ -9236,7 +9234,7 @@ const KupDataTable = class {
9236
9234
  const cellEl = this.rootElement.shadowRoot.querySelector('td:hover');
9237
9235
  return {
9238
9236
  cell: cellEl['data-cell'],
9239
- column: cellUtils.getColumnByName(this.getVisibleColumns(), cellEl.dataset.column),
9237
+ column: kupManager.getColumnByName(this.getVisibleColumns(), cellEl.dataset.column),
9240
9238
  id: this.rootElement.id,
9241
9239
  multiple: !!(this.selection === kupManager.SelectionMode.MULTIPLE ||
9242
9240
  this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX),
@@ -9358,7 +9356,7 @@ const KupDataTable = class {
9358
9356
  setDynPosElements() {
9359
9357
  // Column menu
9360
9358
  if (this.columnMenuCard && this.columnMenuCard.data) {
9361
- this.columnMenuCard.data = this.columnMenuInstance.prepData(this, cellUtils.getColumnByName(this.getVisibleColumns(), this.columnMenuAnchor), this.columnMenuCard.data);
9359
+ this.columnMenuCard.data = this.columnMenuInstance.prepData(this, kupManager.getColumnByName(this.getVisibleColumns(), this.columnMenuAnchor), this.columnMenuCard.data);
9362
9360
  }
9363
9361
  }
9364
9362
  //---- Lifecycle hooks ----
@@ -9383,7 +9381,7 @@ const KupDataTable = class {
9383
9381
  this.currentRowsPerPage = this.rowsPerPage;
9384
9382
  this.isRestoringState = false;
9385
9383
  //this.identifyAndInitRows();
9386
- utils.identify(this.getRows());
9384
+ kupManager.identify(this.getRows());
9387
9385
  this.expandGroupsHandler();
9388
9386
  if (document.querySelectorAll('.header')[0]) {
9389
9387
  this.navBarHeight =
@@ -9713,7 +9711,7 @@ const KupDataTable = class {
9713
9711
  ? th.dataset.column
9714
9712
  : null;
9715
9713
  if (columnName) {
9716
- column = cellUtils.getColumnByName(this.getColumns(), columnName);
9714
+ column = kupManager.getColumnByName(this.getColumns(), columnName);
9717
9715
  }
9718
9716
  }
9719
9717
  return {
@@ -10704,7 +10702,7 @@ const KupDataTable = class {
10704
10702
  }
10705
10703
  }
10706
10704
  else {
10707
- value = utils.numberToFormattedStringNumber(footerValue, column.decimals, column.obj ? column.obj.p : '');
10705
+ value = kupManager.numberToFormattedStringNumber(footerValue, column.decimals, column.obj ? column.obj.p : '');
10708
10706
  }
10709
10707
  return (index.h("td", { "data-column": column.name, class: fixedCellStyle && fixedCellStyle.fixedCellClasses
10710
10708
  ? fixedCellStyle.fixedCellClasses
@@ -10783,7 +10781,7 @@ const KupDataTable = class {
10783
10781
  }
10784
10782
  }
10785
10783
  else {
10786
- value = utils.numberToFormattedStringNumber(totalValue, column.decimals, column.obj ? column.obj.p : '');
10784
+ value = kupManager.numberToFormattedStringNumber(totalValue, column.decimals, column.obj ? column.obj.p : '');
10787
10785
  }
10788
10786
  }
10789
10787
  cells.push(index.h("td", { class: totalClass }, value));
@@ -11294,7 +11292,7 @@ const KupDataTable = class {
11294
11292
  const chipsData = [];
11295
11293
  for (let index = 0; index < this.groups.length; index++) {
11296
11294
  const group = this.groups[index];
11297
- const column = cellUtils.getColumnByName(this.getColumns(), group.column);
11295
+ const column = kupManager.getColumnByName(this.getColumns(), group.column);
11298
11296
  if (column) {
11299
11297
  chipsData.push({
11300
11298
  value: column.title,
@@ -12042,7 +12040,7 @@ const KupDropdownButton = class {
12042
12040
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
12043
12041
  */
12044
12042
  async getProps(descriptions) {
12045
- return utils.getProps(this, KupDropdownButtonProps, descriptions);
12043
+ return kupManager.getProps(this, KupDropdownButtonProps, descriptions);
12046
12044
  }
12047
12045
  /**
12048
12046
  * Returns the component's internal value.
@@ -12061,7 +12059,7 @@ const KupDropdownButton = class {
12061
12059
  * @param {GenericObject} props - Object containing props that will be set to the component.
12062
12060
  */
12063
12061
  async setProps(props) {
12064
- utils.setProps(this, KupDropdownButtonProps, props);
12062
+ kupManager.setProps(this, KupDropdownButtonProps, props);
12065
12063
  }
12066
12064
  /**
12067
12065
  * Sets the internal value of the component.
@@ -12755,7 +12753,7 @@ const KupGauge = class {
12755
12753
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
12756
12754
  */
12757
12755
  async getProps(descriptions) {
12758
- return utils.getProps(this, KupGaugeProps, descriptions);
12756
+ return kupManager.getProps(this, KupGaugeProps, descriptions);
12759
12757
  }
12760
12758
  /**
12761
12759
  * This method is used to trigger a new render of the component.
@@ -12768,7 +12766,7 @@ const KupGauge = class {
12768
12766
  * @param {GenericObject} props - Object containing props that will be set to the component.
12769
12767
  */
12770
12768
  async setProps(props) {
12771
- utils.setProps(this, KupGaugeProps, props);
12769
+ kupManager.setProps(this, KupGaugeProps, props);
12772
12770
  }
12773
12771
  /*-------------------------------------------------*/
12774
12772
  /* P r i v a t e M e t h o d s */
@@ -12971,7 +12969,7 @@ const KupGauge = class {
12971
12969
  let retValue = '';
12972
12970
  if (thresholdPercentage > 0 && thresholdPercentage < 1) {
12973
12971
  if (this.showLabels && !this.onlyValue) {
12974
- retValue = (index.h("text", { class: "gauge__label-text", "text-anchor": textPosition, x: topX, y: topY }, utils.unformattedStringToFormattedStringNumber(String(threshold), -1, '')));
12972
+ retValue = (index.h("text", { class: "gauge__label-text", "text-anchor": textPosition, x: topX, y: topY }, kupManager.unformattedStringToFormattedStringNumber(String(threshold), -1, '')));
12975
12973
  }
12976
12974
  }
12977
12975
  else {
@@ -12984,7 +12982,7 @@ const KupGauge = class {
12984
12982
  topX = this.size - this.arcThickness;
12985
12983
  topY = halvedSize + this.labelDistance;
12986
12984
  }
12987
- retValue = (index.h("text", { class: "gauge__label-text", "text-anchor": textPosition, x: topX, y: topY }, utils.unformattedStringToFormattedStringNumber(String(threshold), -1, '')));
12985
+ retValue = (index.h("text", { class: "gauge__label-text", "text-anchor": textPosition, x: topX, y: topY }, kupManager.unformattedStringToFormattedStringNumber(String(threshold), -1, '')));
12988
12986
  }
12989
12987
  }
12990
12988
  return retValue;
@@ -12993,7 +12991,7 @@ const KupGauge = class {
12993
12991
  const style = { fontSize: this.calculateValueFontSize() };
12994
12992
  let valueText = undefined;
12995
12993
  if (this.showValue) {
12996
- valueText = (index.h("text", { class: "gauge__label-text value", "text-anchor": "middle", x: halvedSize, y: valueLabelYPosition, style: style }, utils.unformattedStringToFormattedStringNumber(String(tempValue), -1, '') +
12994
+ valueText = (index.h("text", { class: "gauge__label-text value", "text-anchor": "middle", x: halvedSize, y: valueLabelYPosition, style: style }, kupManager.unformattedStringToFormattedStringNumber(String(tempValue), -1, '') +
12997
12995
  ' ' +
12998
12996
  this.measurementUnit));
12999
12997
  }
@@ -13523,7 +13521,7 @@ const KupImage = class {
13523
13521
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
13524
13522
  */
13525
13523
  async getProps(descriptions) {
13526
- return utils.getProps(this, KupImageProps, descriptions);
13524
+ return kupManager.getProps(this, KupImageProps, descriptions);
13527
13525
  }
13528
13526
  /**
13529
13527
  * This method is used to trigger a new render of the component.
@@ -13536,7 +13534,7 @@ const KupImage = class {
13536
13534
  * @param {GenericObject} props - Object containing props that will be set to the component.
13537
13535
  */
13538
13536
  async setProps(props) {
13539
- utils.setProps(this, KupImageProps, props);
13537
+ kupManager.setProps(this, KupImageProps, props);
13540
13538
  }
13541
13539
  /*-------------------------------------------------*/
13542
13540
  /* P r i v a t e M e t h o d s */
@@ -13835,7 +13833,7 @@ const KupList = class {
13835
13833
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
13836
13834
  */
13837
13835
  async getProps(descriptions) {
13838
- return utils.getProps(this, KupListProps, descriptions);
13836
+ return kupManager.getProps(this, KupListProps, descriptions);
13839
13837
  }
13840
13838
  /**
13841
13839
  * This method is used to trigger a new render of the component.
@@ -13858,7 +13856,7 @@ const KupList = class {
13858
13856
  * @param {GenericObject} props - Object containing props that will be set to the component.
13859
13857
  */
13860
13858
  async setProps(props) {
13861
- utils.setProps(this, KupListProps, props);
13859
+ kupManager.setProps(this, KupListProps, props);
13862
13860
  }
13863
13861
  /*-------------------------------------------------*/
13864
13862
  /* L i f e c y c l e H o o k s */
@@ -14177,7 +14175,7 @@ const KupProgressBar = class {
14177
14175
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
14178
14176
  */
14179
14177
  async getProps(descriptions) {
14180
- return utils.getProps(this, KupProgressBarProps, descriptions);
14178
+ return kupManager.getProps(this, KupProgressBarProps, descriptions);
14181
14179
  }
14182
14180
  /**
14183
14181
  * This method is used to trigger a new render of the component.
@@ -14190,7 +14188,7 @@ const KupProgressBar = class {
14190
14188
  * @param {GenericObject} props - Object containing props that will be set to the component.
14191
14189
  */
14192
14190
  async setProps(props) {
14193
- utils.setProps(this, KupProgressBarProps, props);
14191
+ kupManager.setProps(this, KupProgressBarProps, props);
14194
14192
  }
14195
14193
  /*-------------------------------------------------*/
14196
14194
  /* P r i v a t e M e t h o d s */
@@ -14410,7 +14408,7 @@ const KupRadio = class {
14410
14408
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
14411
14409
  */
14412
14410
  async getProps(descriptions) {
14413
- return utils.getProps(this, KupRadioProps, descriptions);
14411
+ return kupManager.getProps(this, KupRadioProps, descriptions);
14414
14412
  }
14415
14413
  /**
14416
14414
  * This method is used to trigger a new render of the component.
@@ -14423,7 +14421,7 @@ const KupRadio = class {
14423
14421
  * @param {GenericObject} props - Object containing props that will be set to the component.
14424
14422
  */
14425
14423
  async setProps(props) {
14426
- utils.setProps(this, KupRadioProps, props);
14424
+ kupManager.setProps(this, KupRadioProps, props);
14427
14425
  }
14428
14426
  /*-------------------------------------------------*/
14429
14427
  /* L i f e c y c l e H o o k s */
@@ -14555,7 +14553,7 @@ const KupRating = class {
14555
14553
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
14556
14554
  */
14557
14555
  async getProps(descriptions) {
14558
- return utils.getProps(this, KupRatingProps, descriptions);
14556
+ return kupManager.getProps(this, KupRatingProps, descriptions);
14559
14557
  }
14560
14558
  /**
14561
14559
  * This method is used to trigger a new render of the component.
@@ -14568,7 +14566,7 @@ const KupRating = class {
14568
14566
  * @param {GenericObject} props - Object containing props that will be set to the component.
14569
14567
  */
14570
14568
  async setProps(props) {
14571
- utils.setProps(this, KupRatingProps, props);
14569
+ kupManager.setProps(this, KupRatingProps, props);
14572
14570
  }
14573
14571
  /*-------------------------------------------------*/
14574
14572
  /* P r i v a t e M e t h o d s */
@@ -14709,7 +14707,7 @@ const KupSpinner = class {
14709
14707
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
14710
14708
  */
14711
14709
  async getProps(descriptions) {
14712
- return utils.getProps(this, KupSpinnerProps, descriptions);
14710
+ return kupManager.getProps(this, KupSpinnerProps, descriptions);
14713
14711
  }
14714
14712
  /**
14715
14713
  * This method is used to trigger a new render of the component.
@@ -14722,7 +14720,7 @@ const KupSpinner = class {
14722
14720
  * @param {GenericObject} props - Object containing props that will be set to the component.
14723
14721
  */
14724
14722
  async setProps(props) {
14725
- utils.setProps(this, KupSpinnerProps, props);
14723
+ kupManager.setProps(this, KupSpinnerProps, props);
14726
14724
  }
14727
14725
  /*-------------------------------------------------*/
14728
14726
  /* L i f e c y c l e H o o k s */
@@ -14960,7 +14958,7 @@ const KupSwitch = class {
14960
14958
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
14961
14959
  */
14962
14960
  async getProps(descriptions) {
14963
- return utils.getProps(this, KupSwitchProps, descriptions);
14961
+ return kupManager.getProps(this, KupSwitchProps, descriptions);
14964
14962
  }
14965
14963
  /**
14966
14964
  * This method is used to trigger a new render of the component.
@@ -14973,7 +14971,7 @@ const KupSwitch = class {
14973
14971
  * @param {GenericObject} props - Object containing props that will be set to the component.
14974
14972
  */
14975
14973
  async setProps(props) {
14976
- utils.setProps(this, KupSwitchProps, props);
14974
+ kupManager.setProps(this, KupSwitchProps, props);
14977
14975
  }
14978
14976
  /*-------------------------------------------------*/
14979
14977
  /* L i f e c y c l e H o o k s */
@@ -15137,7 +15135,7 @@ const KupTabBar = class {
15137
15135
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
15138
15136
  */
15139
15137
  async getProps(descriptions) {
15140
- return utils.getProps(this, KupTabBarProps, descriptions);
15138
+ return kupManager.getProps(this, KupTabBarProps, descriptions);
15141
15139
  }
15142
15140
  /**
15143
15141
  * This method is used to trigger a new render of the component.
@@ -15150,7 +15148,7 @@ const KupTabBar = class {
15150
15148
  * @param {GenericObject} props - Object containing props that will be set to the component.
15151
15149
  */
15152
15150
  async setProps(props) {
15153
- utils.setProps(this, KupTabBarProps, props);
15151
+ kupManager.setProps(this, KupTabBarProps, props);
15154
15152
  }
15155
15153
  /*-------------------------------------------------*/
15156
15154
  /* P r i v a t e M e t h o d s */
@@ -15236,6 +15234,7 @@ KupTabBar.style = kupTabBarCss;
15236
15234
  var KupTextFieldProps;
15237
15235
  (function (KupTextFieldProps) {
15238
15236
  KupTextFieldProps["customStyle"] = "Custom style of the component.";
15237
+ KupTextFieldProps["decimals"] = "Number of decimals (should be used when inputType is number).";
15239
15238
  KupTextFieldProps["disabled"] = "When set to true, the component is disabled.";
15240
15239
  KupTextFieldProps["emitSubmitEventOnEnter"] = "When the text field is part of the autocomplete component and the list is opened, enter key selects the item and doesn't submit.";
15241
15240
  KupTextFieldProps["fullWidth"] = "When set to true, the component will be rendered at full width.";
@@ -15290,6 +15289,11 @@ const KupTextField = class {
15290
15289
  * @see https://ketchup.smeup.com/ketchup-showcase/#/customization
15291
15290
  */
15292
15291
  this.customStyle = '';
15292
+ /**
15293
+ * Number of decimals (should be used when inputType is number).
15294
+ * @default null
15295
+ */
15296
+ this.decimals = null;
15293
15297
  /**
15294
15298
  * When set to true, the component is disabled.
15295
15299
  * @default false
@@ -15484,7 +15488,7 @@ const KupTextField = class {
15484
15488
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
15485
15489
  */
15486
15490
  async getProps(descriptions) {
15487
- return utils.getProps(this, KupTextFieldProps, descriptions);
15491
+ return kupManager.getProps(this, KupTextFieldProps, descriptions);
15488
15492
  }
15489
15493
  /**
15490
15494
  * Returns the component's internal value.
@@ -15509,7 +15513,7 @@ const KupTextField = class {
15509
15513
  * @param {GenericObject} props - Object containing props that will be set to the component.
15510
15514
  */
15511
15515
  async setProps(props) {
15512
- utils.setProps(this, KupTextFieldProps, props);
15516
+ kupManager.setProps(this, KupTextFieldProps, props);
15513
15517
  }
15514
15518
  /**
15515
15519
  * Sets the internal value of the component.
@@ -15556,6 +15560,7 @@ const KupTextField = class {
15556
15560
  danger: this.rootElement.classList.contains('kup-danger')
15557
15561
  ? true
15558
15562
  : false,
15563
+ decimals: this.decimals,
15559
15564
  disabled: this.disabled,
15560
15565
  fullHeight: this.rootElement.classList.contains('kup-full-height')
15561
15566
  ? true
@@ -15820,7 +15825,7 @@ const KupTimePicker = class {
15820
15825
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
15821
15826
  */
15822
15827
  async getProps(descriptions) {
15823
- return utils.getProps(this, KupTimePickerProps, descriptions);
15828
+ return kupManager.getProps(this, KupTimePickerProps, descriptions);
15824
15829
  }
15825
15830
  /**
15826
15831
  * Returns the component's internal value.
@@ -15847,7 +15852,7 @@ const KupTimePicker = class {
15847
15852
  * @param {GenericObject} props - Object containing props that will be set to the component.
15848
15853
  */
15849
15854
  async setProps(props) {
15850
- utils.setProps(this, KupTimePickerProps, props);
15855
+ kupManager.setProps(this, KupTimePickerProps, props);
15851
15856
  }
15852
15857
  /**
15853
15858
  * Sets the internal value of the component.
@@ -15859,13 +15864,13 @@ const KupTimePicker = class {
15859
15864
  /* P r i v a t e M e t h o d s */
15860
15865
  /*-------------------------------------------------*/
15861
15866
  getFormattedValue(value) {
15862
- return utils.formattedStringToCustomUnformattedStringTime(value, this.manageSeconds
15867
+ return kupManager.formattedStringToCustomUnformattedStringTime(value, this.manageSeconds
15863
15868
  ? kupManager.KupDatesFormats.ISO_TIME
15864
15869
  : kupManager.KupDatesFormats.ISO_TIME_WITHOUT_SECONDS, this.manageSeconds);
15865
15870
  }
15866
15871
  refreshPickerValue(eventDetailValue, eventToRaise) {
15867
15872
  let newValue = null;
15868
- if (utils.isValidFormattedStringTime(eventDetailValue, this.manageSeconds)) {
15873
+ if (kupManager.isValidFormattedStringTime(eventDetailValue, this.manageSeconds)) {
15869
15874
  this.value = eventDetailValue;
15870
15875
  newValue = this.value;
15871
15876
  }
@@ -16015,8 +16020,8 @@ const KupTimePicker = class {
16015
16020
  date.getMinutes() == selectedTime.getMinutes()) {
16016
16021
  selected = true;
16017
16022
  }
16018
- const value = utils.formatTime(date, this.manageSeconds);
16019
- const id = utils.formattedStringToCustomUnformattedStringTime(value, this.manageSeconds
16023
+ const value = kupManager.formatTime(date, this.manageSeconds);
16024
+ const id = kupManager.formattedStringToCustomUnformattedStringTime(value, this.manageSeconds
16020
16025
  ? kupManager.KupDatesFormats.ISO_TIME
16021
16026
  : kupManager.KupDatesFormats.ISO_TIME_WITHOUT_SECONDS, this.manageSeconds);
16022
16027
  let item = {
@@ -16033,7 +16038,7 @@ const KupTimePicker = class {
16033
16038
  if (this.value == null || this.value.trim() == '') {
16034
16039
  return '';
16035
16040
  }
16036
- let v1 = utils.unformattedStringToFormattedStringTime(this.value, this.manageSeconds);
16041
+ let v1 = kupManager.unformattedStringToFormattedStringTime(this.value, this.manageSeconds);
16037
16042
  return v1;
16038
16043
  }
16039
16044
  /*-------------------------------------------------*/
@@ -16183,7 +16188,7 @@ class FiltersTreeItems extends fPaginatorUtils.FiltersRows {
16183
16188
  value: node.value,
16184
16189
  };
16185
16190
  if (node.visible) {
16186
- this.addColumnValueFromRow(values, column, cellsHolder[column.name]);
16191
+ kupManager.addColumnValueFromRow(values, column, cellsHolder[column.name]);
16187
16192
  this.extractColumnValues(node.children, column, values);
16188
16193
  }
16189
16194
  });
@@ -16315,7 +16320,7 @@ const KupTree = class {
16315
16320
  /**
16316
16321
  * The mode of the global filter (default SIMPLE)
16317
16322
  */
16318
- this.globalFilterMode = fPaginatorUtils.KupGlobalFilterMode.SIMPLE;
16323
+ this.globalFilterMode = kupManager.KupGlobalFilterMode.SIMPLE;
16319
16324
  /**
16320
16325
  * Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells.
16321
16326
  * It works only on cells of the main column.
@@ -16540,7 +16545,7 @@ const KupTree = class {
16540
16545
  * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
16541
16546
  */
16542
16547
  async getProps(descriptions) {
16543
- return utils.getProps(this, fPaginatorUtils.KupTreeProps, descriptions);
16548
+ return kupManager.getProps(this, fPaginatorUtils.KupTreeProps, descriptions);
16544
16549
  }
16545
16550
  /**
16546
16551
  * Hides the given column.
@@ -16588,7 +16593,7 @@ const KupTree = class {
16588
16593
  });
16589
16594
  }
16590
16595
  this.columnMenuCard.setAttribute('data-column', column);
16591
- this.columnMenuCard.data = this.columnMenuInstance.prepData(this, cellUtils.getColumnByName(this.getVisibleColumns(), column));
16596
+ this.columnMenuCard.data = this.columnMenuInstance.prepData(this, kupManager.getColumnByName(this.getVisibleColumns(), column));
16592
16597
  this.columnMenuInstance.open(this, column);
16593
16598
  this.columnMenuInstance.reposition(this, this.columnMenuCard);
16594
16599
  this.kupTreeColumnMenu.emit({
@@ -16619,7 +16624,7 @@ const KupTree = class {
16619
16624
  * @param {GenericObject} props - Object containing props that will be set to the component.
16620
16625
  */
16621
16626
  async setProps(props) {
16622
- utils.setProps(this, fPaginatorUtils.KupTreeProps, props);
16627
+ kupManager.setProps(this, fPaginatorUtils.KupTreeProps, props);
16623
16628
  }
16624
16629
  /*-------------------------------------------------*/
16625
16630
  /* P r i v a t e M e t h o d s */
@@ -16686,7 +16691,7 @@ const KupTree = class {
16686
16691
  setDynPosElements() {
16687
16692
  // Column menu
16688
16693
  if (this.columnMenuCard && this.columnMenuCard.data) {
16689
- this.columnMenuCard.data = this.columnMenuInstance.prepData(this, cellUtils.getColumnByName(this.getVisibleColumns(), this.columnMenuAnchor), this.columnMenuCard.data);
16694
+ this.columnMenuCard.data = this.columnMenuInstance.prepData(this, kupManager.getColumnByName(this.getVisibleColumns(), this.columnMenuAnchor), this.columnMenuCard.data);
16690
16695
  }
16691
16696
  }
16692
16697
  expandCollapseNode(treeNode, expandNode = false) {
@@ -16811,7 +16816,7 @@ const KupTree = class {
16811
16816
  ? th.dataset.column
16812
16817
  : null;
16813
16818
  if (columnName) {
16814
- column = cellUtils.getColumnByName(this.getColumns(), columnName);
16819
+ column = kupManager.getColumnByName(this.getColumns(), columnName);
16815
16820
  }
16816
16821
  }
16817
16822
  return {
@@ -17279,7 +17284,7 @@ const KupTree = class {
17279
17284
  let treeNodeCell = null;
17280
17285
  if (this.isTreeColumnVisible()) {
17281
17286
  let content = '';
17282
- if (fPaginatorUtils.KupGlobalFilterMode.HIGHLIGHT === this.globalFilterMode) {
17287
+ if (kupManager.KupGlobalFilterMode.HIGHLIGHT === this.globalFilterMode) {
17283
17288
  content = this.renderHighlightedContent(treeNodeData.value, this.globalFilterValue, 'cell-content');
17284
17289
  }
17285
17290
  else {
@@ -17425,7 +17430,7 @@ const KupTree = class {
17425
17430
  value = this.footer[column.name];
17426
17431
  }
17427
17432
  else {
17428
- value = utils.numberToFormattedStringNumber(this.footer[column.name], column.decimals, column.obj ? column.obj.p : '');
17433
+ value = kupManager.numberToFormattedStringNumber(this.footer[column.name], column.decimals, column.obj ? column.obj.p : '');
17429
17434
  }
17430
17435
  return (index.h("td", { "data-column": column.name }, totalMenu, index.h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
17431
17436
  });