@sme.up/ketchup 6.1.0-SNAPSHOT → 6.2.0-SNAPSHOT

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 (166) hide show
  1. package/dist/cjs/{cell-utils-a78d6fac.js → cell-utils-d894e802.js} +2 -2
  2. package/dist/cjs/{f-button-ac179257.js → f-button-414b3bc3.js} +4 -4
  3. package/dist/cjs/f-cell-c8983ec7.js +418 -0
  4. package/dist/cjs/f-checkbox-57443ca3.js +29 -0
  5. package/dist/cjs/{f-chip-b00897d7.js → f-chip-ef81bf51.js} +3 -3
  6. package/dist/cjs/{f-image-89f25556.js → f-image-0618c795.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-8fa501b3.js → f-paginator-utils-c9dd5173.js} +5 -5
  8. package/dist/cjs/{f-text-field-e1e45ade.js → f-text-field-7d31190f.js} +3 -3
  9. package/dist/cjs/{index-eb556444.js → index-06b131ea.js} +6 -4
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
  12. package/dist/cjs/kup-autocomplete_25.cjs.entry.js +200 -187
  13. package/dist/cjs/kup-box_2.cjs.entry.js +23 -12
  14. package/dist/cjs/kup-calendar.cjs.entry.js +7 -7
  15. package/dist/cjs/kup-cell.cjs.entry.js +10 -9
  16. package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
  17. package/dist/cjs/kup-dash_2.cjs.entry.js +4 -7
  18. package/dist/cjs/{kup-form-editor.cjs.entry.js → kup-dashboard.cjs.entry.js} +123 -148
  19. package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
  20. package/dist/cjs/kup-field.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-form.cjs.entry.js +469 -0
  22. package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
  23. package/dist/cjs/kup-image-list.cjs.entry.js +11 -10
  24. package/dist/cjs/kup-lazy.cjs.entry.js +3 -3
  25. package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
  26. package/dist/cjs/{kup-manager-7a941909.js → kup-manager-2fee8cf3.js} +324 -6
  27. package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
  28. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  29. package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -9
  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 +5 -5
  33. package/dist/cjs/loader.cjs.js +3 -3
  34. package/dist/cjs/{utils-6287d878.js → utils-8470184d.js} +1 -1
  35. package/dist/collection/assets/dashboard.js +113 -0
  36. package/dist/collection/assets/data-table.js +15 -0
  37. package/dist/collection/assets/form.js +179 -0
  38. package/dist/collection/assets/grid.js +17 -0
  39. package/dist/collection/assets/index.js +10 -6
  40. package/dist/collection/collection-manifest.json +3 -2
  41. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +135 -129
  42. package/dist/collection/components/kup-box/kup-box.js +13 -2
  43. package/dist/collection/components/kup-combobox/kup-combobox.js +16 -13
  44. package/dist/collection/components/kup-dashboard/kup-dashboard-declarations.js +10 -0
  45. package/dist/collection/components/{kup-form-editor/kup-form-editor.css → kup-dashboard/kup-dashboard.css} +7 -6
  46. package/dist/collection/components/{kup-form-editor/kup-form-editor.js → kup-dashboard/kup-dashboard.js} +148 -149
  47. package/dist/collection/components/kup-drawer/kup-drawer.css +5 -8
  48. package/dist/collection/components/kup-form/kup-form-declarations.js +19 -0
  49. package/dist/collection/components/kup-form/kup-form.css +86 -0
  50. package/dist/collection/components/kup-form/kup-form.js +668 -0
  51. package/dist/collection/components/kup-grid/kup-grid.js +1 -4
  52. package/dist/collection/components/kup-list/kup-list-helper.js +9 -3
  53. package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +10 -7
  54. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +3 -5
  55. package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
  56. package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
  57. package/dist/collection/components/kup-time-picker/kup-time-picker.js +0 -6
  58. package/dist/collection/components/kup-tree/kup-tree.js +10 -4
  59. package/dist/collection/f-components/f-button/f-button.js +2 -2
  60. package/dist/collection/f-components/f-cell/f-cell-declarations.js +5 -1
  61. package/dist/collection/f-components/f-cell/f-cell.js +34 -114
  62. package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
  63. package/dist/collection/managers/kup-data/kup-data.js +94 -0
  64. package/dist/collection/managers/kup-language/kup-language-declarations.js +11 -0
  65. package/dist/collection/managers/kup-objects/kup-objects.js +10 -0
  66. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +18 -3
  67. package/dist/collection/types/GenericTypes.js +2 -1
  68. package/dist/esm/{cell-utils-964da6b5.js → cell-utils-7fc84d4e.js} +2 -2
  69. package/dist/esm/{f-button-871a544b.js → f-button-2f6cc296.js} +4 -4
  70. package/dist/esm/{f-cell-521ef17a.js → f-cell-4428481c.js} +48 -283
  71. package/dist/esm/f-checkbox-c51c4a75.js +27 -0
  72. package/dist/esm/{f-chip-1dda722f.js → f-chip-b39eb49a.js} +3 -3
  73. package/dist/esm/{f-image-c468d8ae.js → f-image-b08ebeb2.js} +2 -2
  74. package/dist/esm/{f-paginator-utils-7dff8ff0.js → f-paginator-utils-4fda6086.js} +5 -5
  75. package/dist/esm/{f-text-field-d6c61c73.js → f-text-field-184a5fb3.js} +3 -3
  76. package/dist/esm/{index-baeab1ac.js → index-ad6ab214.js} +6 -4
  77. package/dist/esm/ketchup.js +3 -3
  78. package/dist/esm/kup-accordion.entry.js +4 -4
  79. package/dist/esm/kup-autocomplete_25.entry.js +190 -177
  80. package/dist/esm/kup-box_2.entry.js +23 -12
  81. package/dist/esm/kup-calendar.entry.js +7 -7
  82. package/dist/esm/kup-cell.entry.js +9 -8
  83. package/dist/esm/kup-dash-list.entry.js +4 -4
  84. package/dist/esm/kup-dash_2.entry.js +4 -7
  85. package/dist/esm/{kup-form-editor.entry.js → kup-dashboard.entry.js} +123 -148
  86. package/dist/esm/kup-drawer.entry.js +4 -4
  87. package/dist/esm/kup-field.entry.js +2 -2
  88. package/dist/esm/kup-form.entry.js +465 -0
  89. package/dist/esm/kup-iframe.entry.js +3 -3
  90. package/dist/esm/kup-image-list.entry.js +10 -9
  91. package/dist/esm/kup-lazy.entry.js +3 -3
  92. package/dist/esm/kup-magic-box.entry.js +4 -4
  93. package/dist/esm/{kup-manager-58b075b4.js → kup-manager-3325b2d8.js} +321 -7
  94. package/dist/esm/kup-nav-bar.entry.js +3 -3
  95. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  96. package/dist/esm/kup-photo-frame.entry.js +7 -9
  97. package/dist/esm/kup-probe.entry.js +2 -2
  98. package/dist/esm/kup-qlik.entry.js +2 -2
  99. package/dist/esm/kup-snackbar.entry.js +5 -5
  100. package/dist/esm/loader.js +3 -3
  101. package/dist/esm/{utils-d7e4b3c2.js → utils-6373a07e.js} +1 -1
  102. package/dist/ketchup/ketchup.esm.js +1 -1
  103. package/dist/ketchup/p-006bc4d0.entry.js +1 -0
  104. package/dist/ketchup/{p-8cdf61a4.js → p-0741da57.js} +1 -1
  105. package/dist/ketchup/{p-44ec4f03.js → p-13e08580.js} +1 -1
  106. package/dist/ketchup/p-153697fb.entry.js +1 -0
  107. package/dist/ketchup/{p-a615a92b.entry.js → p-175edb62.entry.js} +1 -1
  108. package/dist/ketchup/{p-fac1a08b.entry.js → p-1db1d42b.entry.js} +1 -1
  109. package/dist/ketchup/{p-f09f2f98.entry.js → p-30820f8f.entry.js} +1 -1
  110. package/dist/ketchup/p-35325834.entry.js +9 -0
  111. package/dist/ketchup/{p-65b46587.entry.js → p-359e8bec.entry.js} +4 -4
  112. package/dist/ketchup/{p-6dff70f8.entry.js → p-3c7c92c0.entry.js} +1 -1
  113. package/dist/ketchup/{p-954cc340.entry.js → p-41cf8703.entry.js} +1 -1
  114. package/dist/ketchup/{p-3c11e615.entry.js → p-6127fccf.entry.js} +1 -1
  115. package/dist/ketchup/{p-f71a1675.entry.js → p-6b82e4e2.entry.js} +1 -1
  116. package/dist/ketchup/p-704e60eb.js +30 -0
  117. package/dist/ketchup/p-70660fe2.js +1 -0
  118. package/dist/ketchup/{p-ea10176c.entry.js → p-762c0382.entry.js} +1 -1
  119. package/dist/ketchup/{p-c5ce8951.entry.js → p-76947316.entry.js} +1 -1
  120. package/dist/ketchup/{p-d2ee56dd.entry.js → p-8103b80a.entry.js} +1 -1
  121. package/dist/ketchup/{p-99e0d768.entry.js → p-9fa457d4.entry.js} +1 -1
  122. package/dist/ketchup/{p-65974e48.entry.js → p-a0ce8075.entry.js} +1 -1
  123. package/dist/ketchup/p-a804fe83.entry.js +27 -0
  124. package/dist/ketchup/{p-7454cb92.js → p-ca9fd099.js} +1 -1
  125. package/dist/ketchup/p-caabb9ab.entry.js +1 -0
  126. package/dist/ketchup/p-cc3abf84.entry.js +1 -0
  127. package/dist/ketchup/p-cd5cfa7c.js +1 -0
  128. package/dist/ketchup/p-d2e76960.entry.js +1 -0
  129. package/dist/ketchup/p-d3b542b3.js +2 -0
  130. package/dist/ketchup/p-d7004ae4.js +1 -0
  131. package/dist/ketchup/{p-e0035c58.js → p-d95c904b.js} +1 -1
  132. package/dist/ketchup/{p-7eff4eee.js → p-ddce3430.js} +1 -1
  133. package/dist/ketchup/p-ee580b3a.entry.js +1 -0
  134. package/dist/ketchup/p-f49cb68e.js +1 -0
  135. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +1 -16
  136. package/dist/types/components/{kup-form-editor/kup-form-editor-declarations.d.ts → kup-dashboard/kup-dashboard-declarations.d.ts} +9 -27
  137. package/dist/types/components/{kup-form-editor/kup-form-editor.d.ts → kup-dashboard/kup-dashboard.d.ts} +12 -9
  138. package/dist/types/components/kup-form/kup-form-declarations.d.ts +48 -0
  139. package/dist/types/components/kup-form/kup-form.d.ts +68 -0
  140. package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
  141. package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
  142. package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +0 -6
  143. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +2 -0
  144. package/dist/types/components.d.ts +412 -159
  145. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +4 -1
  146. package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
  147. package/dist/types/managers/kup-data/kup-data.d.ts +2 -0
  148. package/dist/types/managers/kup-language/kup-language-declarations.d.ts +11 -1
  149. package/dist/types/managers/kup-objects/kup-objects.d.ts +6 -0
  150. package/dist/types/types/GenericTypes.d.ts +2 -1
  151. package/package.json +2 -2
  152. package/dist/cjs/f-cell-69294bca.js +0 -653
  153. package/dist/collection/assets/form-editor.js +0 -338
  154. package/dist/collection/components/kup-form-editor/kup-form-editor-declarations.js +0 -23
  155. package/dist/ketchup/p-1ae66cc5.js +0 -1
  156. package/dist/ketchup/p-34b74425.js +0 -1
  157. package/dist/ketchup/p-4ffbc3ff.js +0 -1
  158. package/dist/ketchup/p-5264a3e6.entry.js +0 -1
  159. package/dist/ketchup/p-80968627.entry.js +0 -1
  160. package/dist/ketchup/p-976244f9.entry.js +0 -9
  161. package/dist/ketchup/p-a0f6e25c.entry.js +0 -1
  162. package/dist/ketchup/p-aca0e54b.js +0 -30
  163. package/dist/ketchup/p-b8939a8b.entry.js +0 -1
  164. package/dist/ketchup/p-bfc3bac7.js +0 -1
  165. package/dist/ketchup/p-db71436b.entry.js +0 -27
  166. package/dist/ketchup/p-e1039cf2.entry.js +0 -1
@@ -1,7 +1,8 @@
1
1
  import type { VNode } from '../../stencil-public-runtime';
2
2
  import { KupDataCell, KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
3
3
  import { FComponent, KupEventPayload, KupTagNames } from '../../types/GenericTypes';
4
- export declare const autoAlignComps: KupTagNames[];
4
+ export declare const autoCenterComps: KupTagNames[];
5
+ export declare const fullWidthFieldsComps: KupTagNames[];
5
6
  /**
6
7
  * Props of the f-cell component.
7
8
  */
@@ -110,6 +111,7 @@ export declare enum FCellShapes {
110
111
  PROGRESS_BAR = "PGB",
111
112
  RADIO = "RAD",
112
113
  RATING = "RTG",
114
+ SWITCH = "SWT",
113
115
  TEXT_FIELD = "ITX"
114
116
  }
115
117
  /**
@@ -138,6 +140,7 @@ export declare enum FCellTypes {
138
140
  RADIO = "radio",
139
141
  RATING = "rating",
140
142
  STRING = "string",
143
+ SWITCH = "switch",
141
144
  TIME = "time"
142
145
  }
143
146
  export declare const editableTypes: FCellTypes[];
@@ -17,6 +17,7 @@ export interface FTextFieldProps extends FComponent {
17
17
  isClearable?: boolean;
18
18
  label?: string;
19
19
  leadingLabel?: boolean;
20
+ name?: string;
20
21
  outlined?: boolean;
21
22
  readOnly?: boolean;
22
23
  shaped?: boolean;
@@ -1,4 +1,5 @@
1
1
  import { KupDataCell, KupDataColumn, KupDataDataset, KupDataDatasetSort, KupDataFindCellFilters, KupDataNewColumn, KupDataNewColumnOptions, KupDataNewColumnTypes, KupDataNode, KupDataRow } from './kup-data-declarations';
2
+ import { FCellShapes, FCellTypes } from '../../f-components/f-cell/f-cell-declarations';
2
3
  /**
3
4
  * Handles data operations.
4
5
  * @module KupData
@@ -8,6 +9,7 @@ export declare class KupData {
8
9
  find(dataset: KupDataDataset, filters: KupDataFindCellFilters): KupDataCell[];
9
10
  getValue(dataset: KupDataDataset, columns?: string[]): string[];
10
11
  replace(dataset: KupDataDataset, cell: KupDataCell, columns?: string[]): KupDataCell[];
12
+ getType(cell: KupDataCell, shape?: FCellShapes): FCellTypes;
11
13
  };
12
14
  column: {
13
15
  find(dataset: KupDataDataset | KupDataColumn[], filters: Partial<KupDataColumn>): KupDataColumn[];
@@ -3,7 +3,7 @@ import type { GenericObject } from '../../types/GenericTypes';
3
3
  * Master type extending all subtypes of keys.
4
4
  * Remember to edit "languages.json"
5
5
  */
6
- export declare type KupLanguageKey = KupLanguageCheckbox | KupLanguageColumn | KupLanguageDebug | KupLanguageDensity | KupLanguageFontsize | KupLanguageGeneric | KupLanguageGrid | KupLanguageGrouping | KupLanguagePage | KupLanguageRow | KupLanguageSearch | KupLanguageTotals;
6
+ export declare type KupLanguageKey = KupLanguageCheckbox | KupLanguageColumn | KupLanguageDashboard | KupLanguageDebug | KupLanguageDensity | KupLanguageFontsize | KupLanguageGeneric | KupLanguageGrid | KupLanguageGrouping | KupLanguagePage | KupLanguageRow | KupLanguageSearch | KupLanguageTotals;
7
7
  /**
8
8
  * Interface of the languages JSON.
9
9
  */
@@ -61,6 +61,16 @@ export declare enum KupLanguageColumn {
61
61
  NON_NUMERICAL_IN_TABLE = "columnNonNumericalInTable",
62
62
  SWAP = "columnSwap"
63
63
  }
64
+ /**
65
+ * Dashboard related decodes.
66
+ */
67
+ export declare enum KupLanguageDashboard {
68
+ DIMENSION = "dashboardDimension",
69
+ LOADED = "dashboardLoaded",
70
+ RESET = "dashboardReset",
71
+ SAVE = "dashboardSave",
72
+ VERTICAL = "dashboardVertical"
73
+ }
64
74
  /**
65
75
  * Debug widget decodes.
66
76
  */
@@ -126,6 +126,12 @@ export declare class KupObjects {
126
126
  * @returns {boolean} True when the object can be considered as a string.
127
127
  */
128
128
  isStringObject(obj: any): boolean;
129
+ /**
130
+ * Checks whether the object represents a switch or not.
131
+ * @param {KupObj} obj - Object to check.
132
+ * @returns {boolean} True when the object is a switch.
133
+ */
134
+ isSwitch(obj: KupObj): boolean;
129
135
  /**
130
136
  * Checks whether the object represents a text field or not.
131
137
  * @param {KupObj} obj - Object to check.
@@ -75,12 +75,13 @@ export declare enum KupTagNames {
75
75
  COMBOBOX = "KUP-COMBOBOX",
76
76
  DASH = "KUP-DASH",
77
77
  DASH_LIST = "KUP-DASH-LIST",
78
+ DASHBOARD = "KUP-DASHBOARD",
78
79
  DATA_TABLE = "KUP-DATA-TABLE",
79
80
  DATE_PICKER = "KUP-DATE-PICKER",
80
81
  DRAWER = "KUP-DRAWER",
81
82
  DROPDOWN_BUTTON = "KUP-DROPDOWN-BUTTON",
82
83
  FIELD = "KUP-FIELD",
83
- FORM_EDITOR = "KUP-FORM-EDITOR",
84
+ FORM = "KUP-FORM",
84
85
  GAUGE = "KUP-GAUGE",
85
86
  GRID = "KUP-GRID",
86
87
  IFRAME = "KUP-IFRAME",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sme.up/ketchup",
3
- "version": "6.1.0-SNAPSHOT",
3
+ "version": "6.2.0-SNAPSHOT",
4
4
  "keywords": [
5
5
  "smeup",
6
6
  "KetchUP",
@@ -56,7 +56,7 @@
56
56
  "vanilla-picker": "^2.12.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@stencil/core": "^2.15.2",
59
+ "@stencil/core": "^2.16.1",
60
60
  "@stencil/sass": "^1.4.1",
61
61
  "@types/d3-shape": "^3.0.2",
62
62
  "@types/geojson": "^7946.0.8",