@sme.up/ketchup 4.2.0-SNAPSHOT → 4.2.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 (109) hide show
  1. package/dist/cjs/{cell-utils-1d44a3f0.js → cell-utils-dc0884a3.js} +2 -2
  2. package/dist/cjs/{f-button-a5788453.js → f-button-2ba74fb5.js} +1 -1
  3. package/dist/cjs/{f-cell-eba6f39e.js → f-cell-fe60a08d.js} +31 -27
  4. package/dist/cjs/{f-chip-ce69b7d2.js → f-chip-90d95d22.js} +2 -2
  5. package/dist/cjs/{f-image-e03842eb.js → f-image-d3bd4e08.js} +1 -1
  6. package/dist/cjs/ketchup.cjs.js +1 -1
  7. package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
  8. package/dist/cjs/kup-autocomplete_28.cjs.entry.js +1050 -650
  9. package/dist/cjs/kup-calendar.cjs.entry.js +6 -6
  10. package/dist/cjs/kup-cell.cjs.entry.js +6 -6
  11. package/dist/cjs/kup-dash-list.cjs.entry.js +3 -3
  12. package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
  13. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  14. package/dist/cjs/kup-field.cjs.entry.js +1 -1
  15. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  16. package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
  17. package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
  18. package/dist/cjs/{kup-manager-75f1a2cd.js → kup-manager-1a2688ca.js} +20 -1
  19. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
  23. package/dist/cjs/loader.cjs.js +1 -1
  24. package/dist/cjs/{utils-b3ec89fe.js → utils-0cc466b9.js} +1 -59
  25. package/dist/collection/assets/data-table.js +44 -0
  26. package/dist/collection/components/kup-card/builtin/kup-card-builtin.js +20 -0
  27. package/dist/collection/components/kup-card/builtin/kup-card-calendar.js +458 -0
  28. package/dist/collection/components/kup-card/builtin/kup-card-clock.js +321 -0
  29. package/dist/collection/components/kup-card/free/kup-card-free.js +13 -0
  30. package/dist/collection/components/kup-card/kup-card-declarations.js +19 -0
  31. package/dist/collection/components/kup-card/kup-card.css +502 -3
  32. package/dist/collection/components/kup-card/kup-card.js +18 -9
  33. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -1
  34. package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
  35. package/dist/collection/components/kup-data-table/kup-data-table.css +0 -38
  36. package/dist/collection/components/kup-data-table/kup-data-table.js +27 -10
  37. package/dist/collection/components/kup-date-picker/kup-date-picker.css +0 -82
  38. package/dist/collection/components/kup-date-picker/kup-date-picker.js +35 -309
  39. package/dist/collection/components/kup-text-field/kup-text-field.css +1 -0
  40. package/dist/collection/components/kup-time-picker/kup-time-picker.css +1 -0
  41. package/dist/collection/components/kup-time-picker/kup-time-picker.js +51 -241
  42. package/dist/collection/components/kup-tree/kup-tree.js +20 -15
  43. package/dist/collection/f-components/f-cell/f-cell.js +26 -22
  44. package/dist/collection/utils/kup-search/kup-search.js +0 -1
  45. package/dist/esm/{cell-utils-9a2914fc.js → cell-utils-8f512ea9.js} +2 -2
  46. package/dist/esm/{f-button-55a9ed88.js → f-button-30dbcaa9.js} +1 -1
  47. package/dist/esm/{f-cell-ac520cb2.js → f-cell-95c186c6.js} +31 -27
  48. package/dist/esm/{f-chip-babf1740.js → f-chip-c0e9c0ff.js} +2 -2
  49. package/dist/esm/{f-image-70ca9dfe.js → f-image-3bc8b24f.js} +1 -1
  50. package/dist/esm/ketchup.js +1 -1
  51. package/dist/esm/kup-accordion.entry.js +3 -3
  52. package/dist/esm/kup-autocomplete_28.entry.js +1079 -679
  53. package/dist/esm/kup-calendar.entry.js +6 -6
  54. package/dist/esm/kup-cell.entry.js +6 -6
  55. package/dist/esm/kup-dash-list.entry.js +3 -3
  56. package/dist/esm/kup-dash_2.entry.js +2 -2
  57. package/dist/esm/kup-drawer.entry.js +2 -2
  58. package/dist/esm/kup-field.entry.js +1 -1
  59. package/dist/esm/kup-iframe.entry.js +2 -2
  60. package/dist/esm/kup-lazy.entry.js +2 -2
  61. package/dist/esm/kup-magic-box.entry.js +3 -3
  62. package/dist/esm/{kup-manager-bba32828.js → kup-manager-7fc234da.js} +21 -2
  63. package/dist/esm/kup-nav-bar.entry.js +2 -2
  64. package/dist/esm/kup-probe.entry.js +1 -1
  65. package/dist/esm/kup-qlik.entry.js +1 -1
  66. package/dist/esm/kup-snackbar.entry.js +4 -4
  67. package/dist/esm/loader.js +1 -1
  68. package/dist/esm/{utils-cfcbe33f.js → utils-6c73709d.js} +2 -58
  69. package/dist/ketchup/ketchup.esm.js +1 -1
  70. package/dist/ketchup/{p-1ce9a037.js → p-15321eae.js} +1 -1
  71. package/dist/ketchup/{p-daf03877.entry.js → p-1baf1205.entry.js} +1 -1
  72. package/dist/ketchup/p-1c6178e4.entry.js +1 -0
  73. package/dist/ketchup/{p-52038ccb.js → p-44375e49.js} +1 -1
  74. package/dist/ketchup/p-4dcdbd31.entry.js +45 -0
  75. package/dist/ketchup/{p-d58dbf0e.js → p-5a5f2a53.js} +1 -1
  76. package/dist/ketchup/{p-4748be4b.js → p-61faaa38.js} +2 -2
  77. package/dist/ketchup/{p-69a705ae.entry.js → p-62816d0b.entry.js} +1 -1
  78. package/dist/ketchup/{p-ff7d590e.entry.js → p-65adc15b.entry.js} +1 -1
  79. package/dist/ketchup/p-7e23ea7c.entry.js +1 -0
  80. package/dist/ketchup/{p-5faf7715.entry.js → p-a378ba56.entry.js} +1 -1
  81. package/dist/ketchup/{p-74259992.entry.js → p-a878016f.entry.js} +1 -1
  82. package/dist/ketchup/{p-d6ce1ac6.entry.js → p-a96e6e32.entry.js} +1 -1
  83. package/dist/ketchup/{p-6cc8264d.entry.js → p-ad32821e.entry.js} +1 -1
  84. package/dist/ketchup/{p-03ae1be9.entry.js → p-af4a6191.entry.js} +1 -1
  85. package/dist/ketchup/{p-a7687c0e.entry.js → p-c18c7bb0.entry.js} +5 -5
  86. package/dist/ketchup/{p-62208488.entry.js → p-ca0ca27f.entry.js} +1 -1
  87. package/dist/ketchup/{p-e90934b5.entry.js → p-ccda584a.entry.js} +1 -1
  88. package/dist/ketchup/p-d4aa4922.js +1 -0
  89. package/dist/ketchup/{p-40df35de.entry.js → p-dbb6998b.entry.js} +1 -1
  90. package/dist/ketchup/{p-06c209a5.js → p-de83f2f6.js} +1 -1
  91. package/dist/ketchup/p-ec3a3db9.js +1 -0
  92. package/dist/types/components/kup-card/builtin/kup-card-builtin.d.ts +14 -0
  93. package/dist/types/components/kup-card/builtin/kup-card-calendar.d.ts +2 -0
  94. package/dist/types/components/kup-card/builtin/kup-card-clock.d.ts +2 -0
  95. package/dist/types/components/kup-card/free/kup-card-free.d.ts +8 -0
  96. package/dist/types/components/kup-card/kup-card-declarations.d.ts +74 -0
  97. package/dist/types/components/kup-card/kup-card.d.ts +3 -3
  98. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -6
  99. package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
  100. package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -2
  101. package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +0 -10
  102. package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +2 -9
  103. package/dist/types/components.d.ts +2 -2
  104. package/package.json +1 -1
  105. package/dist/ketchup/p-1e2c3497.js +0 -1
  106. package/dist/ketchup/p-5db41fae.entry.js +0 -45
  107. package/dist/ketchup/p-756aa8b1.entry.js +0 -1
  108. package/dist/ketchup/p-ea387b49.entry.js +0 -1
  109. package/dist/ketchup/p-f6bff949.js +0 -1
@@ -1,3 +1,494 @@
1
+ .builtin-layout-1 {
2
+ padding: 0.5em;
3
+ }
4
+ .builtin-layout-1 .section-1 {
5
+ box-sizing: border-box;
6
+ height: 5em;
7
+ overflow: auto;
8
+ padding-bottom: 1em;
9
+ width: 100%;
10
+ }
11
+ .builtin-layout-1 .section-1 .sub-1 {
12
+ display: flex;
13
+ flex-direction: row;
14
+ justify-content: center;
15
+ }
16
+ .builtin-layout-1 .section-2 {
17
+ height: calc(100% - 60px);
18
+ overflow: auto;
19
+ width: 100%;
20
+ }
21
+ .builtin-layout-1 .prev-page {
22
+ margin-left: auto;
23
+ }
24
+ .builtin-layout-1 .change-view-button {
25
+ margin: auto;
26
+ width: 12em;
27
+ text-align: center;
28
+ }
29
+ .builtin-layout-1 #change-view-button button {
30
+ text-transform: capitalize;
31
+ }
32
+ .builtin-layout-1 .next-page {
33
+ margin-right: auto;
34
+ }
35
+ .builtin-layout-1 .calendar {
36
+ border-collapse: collapse;
37
+ width: 100%;
38
+ }
39
+ .builtin-layout-1 thead {
40
+ border-bottom: 1px solid var(--kup-border-color);
41
+ }
42
+ .builtin-layout-1 .item-text {
43
+ color: rgba(var(--kup-text-color-rgb), 0.5);
44
+ }
45
+ .builtin-layout-1 .item {
46
+ text-align: center;
47
+ }
48
+ .builtin-layout-1 .item:not(.selected) .item-number:hover {
49
+ background-color: var(--kup-hover-background-color);
50
+ }
51
+ .builtin-layout-1 .item.selected .item-number, .builtin-layout-1 .item.selected .item-number:hover {
52
+ background-color: rgba(var(--kup-primary-color-rgb), 0.175);
53
+ }
54
+ .builtin-layout-1 .item-number {
55
+ border-radius: 50%;
56
+ cursor: pointer;
57
+ display: flex;
58
+ justify-content: center;
59
+ line-height: 2.5em;
60
+ margin: auto;
61
+ width: 2.5em;
62
+ transition: background-color 0.25s;
63
+ text-transform: capitalize;
64
+ }
65
+
66
+ .builtin-layout-2 .clock {
67
+ box-shadow: var(--kup-box-shadow);
68
+ width: 300px;
69
+ height: 450px;
70
+ background-color: var(--kup-background-color);
71
+ position: relative;
72
+ font-family: var(--kup-font-family);
73
+ }
74
+ .builtin-layout-2 .top {
75
+ background-color: var(--kup-primary-color);
76
+ color: var(--kup-text-on-primary-color);
77
+ height: 100px;
78
+ line-height: 100px;
79
+ font-size: 50px;
80
+ text-align: center;
81
+ }
82
+ .builtin-layout-2 .top span {
83
+ cursor: pointer;
84
+ opacity: 0.75;
85
+ transition: 0.25s ease-in-out;
86
+ }
87
+ .builtin-layout-2 .top .visible {
88
+ opacity: 1;
89
+ }
90
+ .builtin-layout-2 .circle {
91
+ user-select: none;
92
+ background-color: rgba(var(--kup-text-color-rgb), 0.1);
93
+ width: 250px;
94
+ height: 250px;
95
+ border-radius: 1000px;
96
+ position: relative;
97
+ top: 25px;
98
+ left: 25px;
99
+ box-sizing: border-box;
100
+ display: none;
101
+ }
102
+ .builtin-layout-2 .circle.visible {
103
+ display: block;
104
+ }
105
+ .builtin-layout-2 .mid {
106
+ position: absolute;
107
+ left: calc(50% - 0px);
108
+ top: calc(50% - 0px);
109
+ width: 2px;
110
+ height: 2px;
111
+ border-radius: 10px;
112
+ background-color: var(--kup-text-color);
113
+ }
114
+ .builtin-layout-2 .hour {
115
+ position: absolute;
116
+ height: 40px;
117
+ line-height: 40px;
118
+ width: 40px;
119
+ border-radius: 40px;
120
+ text-align: center;
121
+ }
122
+ .builtin-layout-2 .hour.selected {
123
+ z-index: 2;
124
+ }
125
+ .builtin-layout-2 .hour.selected::after {
126
+ content: "";
127
+ z-index: -1;
128
+ background-color: rgba(var(--kup-primary-color-rgb), 0.5);
129
+ height: 1px;
130
+ width: 100%;
131
+ position: absolute;
132
+ transform: rotate(-90deg);
133
+ transform-origin: 100% 0%;
134
+ top: 50%;
135
+ width: 101px;
136
+ right: 50%;
137
+ }
138
+ .builtin-layout-2 .hour2 {
139
+ z-index: 2;
140
+ position: absolute;
141
+ height: 30px;
142
+ line-height: 30px;
143
+ width: 30px;
144
+ border-radius: 40px;
145
+ text-align: center;
146
+ font-size: 14px;
147
+ }
148
+ .builtin-layout-2 .hour2.selected::after {
149
+ content: "";
150
+ background-color: rgba(var(--kup-primary-color-rgb), 0.5);
151
+ height: 1px;
152
+ width: 100%;
153
+ position: absolute;
154
+ transform: rotate(-90deg);
155
+ transform-origin: 100% 0%;
156
+ top: 50%;
157
+ width: 64px;
158
+ right: 50%;
159
+ z-index: -1;
160
+ }
161
+ .builtin-layout-2 .unit {
162
+ position: absolute;
163
+ height: 20px;
164
+ line-height: 20px;
165
+ width: 20px;
166
+ border-radius: 40px;
167
+ text-align: center;
168
+ font-size: 12px;
169
+ }
170
+ .builtin-layout-2 .unit.selected::after {
171
+ content: "";
172
+ background-color: rgba(var(--kup-primary-color-rgb), 0.5);
173
+ height: 1px;
174
+ width: 100%;
175
+ position: absolute;
176
+ transform: rotate(-90deg);
177
+ transform-origin: 100% 0%;
178
+ top: 50%;
179
+ width: 101px;
180
+ right: 50%;
181
+ }
182
+ .builtin-layout-2 .hour,
183
+ .builtin-layout-2 .hour2,
184
+ .builtin-layout-2 .unit {
185
+ cursor: pointer;
186
+ transition: background-color 0.25s;
187
+ }
188
+ .builtin-layout-2 .hour:hover,
189
+ .builtin-layout-2 .hour2:hover,
190
+ .builtin-layout-2 .unit:hover {
191
+ background-color: rgba(var(--kup-primary-color-rgb), 0.275);
192
+ }
193
+ .builtin-layout-2 .hour.selected,
194
+ .builtin-layout-2 .hour2.selected,
195
+ .builtin-layout-2 .unit.selected {
196
+ background-color: var(--kup-primary-color);
197
+ color: var(--kup-text-on-primary-color);
198
+ }
199
+ .builtin-layout-2 .actions {
200
+ color: var(--kup-primary-color);
201
+ font-weight: bold;
202
+ font-size: 20px;
203
+ display: flex;
204
+ justify-content: flex-end;
205
+ position: absolute;
206
+ width: 100%;
207
+ box-sizing: border-box;
208
+ bottom: 10px;
209
+ }
210
+ .builtin-layout-2 .action {
211
+ display: inline-block;
212
+ width: 100px;
213
+ text-align: center;
214
+ height: 37.5px;
215
+ line-height: 37.5px;
216
+ margin-right: 10px;
217
+ cursor: pointer;
218
+ border-radius: 2px;
219
+ }
220
+ .builtin-layout-2 .clock .actions .action:hover {
221
+ background-color: rgba(0, 0, 0, 0.1);
222
+ }
223
+ .builtin-layout-2 .clock .actions .action:visible {
224
+ background-color: rgba(0, 0, 0, 0.3);
225
+ }
226
+ .builtin-layout-2 .hour:nth-child(12):after {
227
+ transform: rotate(330deg);
228
+ }
229
+ .builtin-layout-2 .hour:nth-child(11):after {
230
+ transform: rotate(300deg);
231
+ }
232
+ .builtin-layout-2 .hour:nth-child(10):after {
233
+ transform: rotate(270deg);
234
+ }
235
+ .builtin-layout-2 .hour:nth-child(9):after {
236
+ transform: rotate(240deg);
237
+ }
238
+ .builtin-layout-2 .hour:nth-child(8):after {
239
+ transform: rotate(210deg);
240
+ }
241
+ .builtin-layout-2 .hour:nth-child(7):after {
242
+ transform: rotate(180deg);
243
+ }
244
+ .builtin-layout-2 .hour:nth-child(6):after {
245
+ transform: rotate(150deg);
246
+ }
247
+ .builtin-layout-2 .hour:nth-child(5):after {
248
+ transform: rotate(120deg);
249
+ }
250
+ .builtin-layout-2 .hour:nth-child(4):after {
251
+ transform: rotate(90deg);
252
+ }
253
+ .builtin-layout-2 .hour:nth-child(3):after {
254
+ transform: rotate(60deg);
255
+ }
256
+ .builtin-layout-2 .hour:nth-child(2):after {
257
+ transform: rotate(30deg);
258
+ }
259
+ .builtin-layout-2 .hour:nth-child(1):after {
260
+ transform: rotate(0deg);
261
+ }
262
+ .builtin-layout-2 .hour2:nth-child(24):after {
263
+ transform: rotate(690deg);
264
+ }
265
+ .builtin-layout-2 .hour2:nth-child(23):after {
266
+ transform: rotate(660deg);
267
+ }
268
+ .builtin-layout-2 .hour2:nth-child(22):after {
269
+ transform: rotate(630deg);
270
+ }
271
+ .builtin-layout-2 .hour2:nth-child(21):after {
272
+ transform: rotate(600deg);
273
+ }
274
+ .builtin-layout-2 .hour2:nth-child(20):after {
275
+ transform: rotate(570deg);
276
+ }
277
+ .builtin-layout-2 .hour2:nth-child(19):after {
278
+ transform: rotate(540deg);
279
+ }
280
+ .builtin-layout-2 .hour2:nth-child(18):after {
281
+ transform: rotate(510deg);
282
+ }
283
+ .builtin-layout-2 .hour2:nth-child(17):after {
284
+ transform: rotate(480deg);
285
+ }
286
+ .builtin-layout-2 .hour2:nth-child(16):after {
287
+ transform: rotate(450deg);
288
+ }
289
+ .builtin-layout-2 .hour2:nth-child(15):after {
290
+ transform: rotate(420deg);
291
+ }
292
+ .builtin-layout-2 .hour2:nth-child(14):after {
293
+ transform: rotate(390deg);
294
+ }
295
+ .builtin-layout-2 .hour2:nth-child(13):after {
296
+ transform: rotate(360deg);
297
+ }
298
+ .builtin-layout-2 .unit:nth-child(60):after {
299
+ transform: rotate(354deg);
300
+ }
301
+ .builtin-layout-2 .unit:nth-child(59):after {
302
+ transform: rotate(348deg);
303
+ }
304
+ .builtin-layout-2 .unit:nth-child(58):after {
305
+ transform: rotate(342deg);
306
+ }
307
+ .builtin-layout-2 .unit:nth-child(57):after {
308
+ transform: rotate(336deg);
309
+ }
310
+ .builtin-layout-2 .unit:nth-child(56):after {
311
+ transform: rotate(330deg);
312
+ }
313
+ .builtin-layout-2 .unit:nth-child(55):after {
314
+ transform: rotate(324deg);
315
+ }
316
+ .builtin-layout-2 .unit:nth-child(54):after {
317
+ transform: rotate(318deg);
318
+ }
319
+ .builtin-layout-2 .unit:nth-child(53):after {
320
+ transform: rotate(312deg);
321
+ }
322
+ .builtin-layout-2 .unit:nth-child(52):after {
323
+ transform: rotate(306deg);
324
+ }
325
+ .builtin-layout-2 .unit:nth-child(51):after {
326
+ transform: rotate(300deg);
327
+ }
328
+ .builtin-layout-2 .unit:nth-child(50):after {
329
+ transform: rotate(294deg);
330
+ }
331
+ .builtin-layout-2 .unit:nth-child(49):after {
332
+ transform: rotate(288deg);
333
+ }
334
+ .builtin-layout-2 .unit:nth-child(48):after {
335
+ transform: rotate(282deg);
336
+ }
337
+ .builtin-layout-2 .unit:nth-child(47):after {
338
+ transform: rotate(276deg);
339
+ }
340
+ .builtin-layout-2 .unit:nth-child(46):after {
341
+ transform: rotate(270deg);
342
+ }
343
+ .builtin-layout-2 .unit:nth-child(45):after {
344
+ transform: rotate(264deg);
345
+ }
346
+ .builtin-layout-2 .unit:nth-child(44):after {
347
+ transform: rotate(258deg);
348
+ }
349
+ .builtin-layout-2 .unit:nth-child(43):after {
350
+ transform: rotate(252deg);
351
+ }
352
+ .builtin-layout-2 .unit:nth-child(42):after {
353
+ transform: rotate(246deg);
354
+ }
355
+ .builtin-layout-2 .unit:nth-child(41):after {
356
+ transform: rotate(240deg);
357
+ }
358
+ .builtin-layout-2 .unit:nth-child(40):after {
359
+ transform: rotate(234deg);
360
+ }
361
+ .builtin-layout-2 .unit:nth-child(39):after {
362
+ transform: rotate(228deg);
363
+ }
364
+ .builtin-layout-2 .unit:nth-child(38):after {
365
+ transform: rotate(222deg);
366
+ }
367
+ .builtin-layout-2 .unit:nth-child(37):after {
368
+ transform: rotate(216deg);
369
+ }
370
+ .builtin-layout-2 .unit:nth-child(36):after {
371
+ transform: rotate(210deg);
372
+ }
373
+ .builtin-layout-2 .unit:nth-child(35):after {
374
+ transform: rotate(204deg);
375
+ }
376
+ .builtin-layout-2 .unit:nth-child(34):after {
377
+ transform: rotate(198deg);
378
+ }
379
+ .builtin-layout-2 .unit:nth-child(33):after {
380
+ transform: rotate(192deg);
381
+ }
382
+ .builtin-layout-2 .unit:nth-child(32):after {
383
+ transform: rotate(186deg);
384
+ }
385
+ .builtin-layout-2 .unit:nth-child(31):after {
386
+ transform: rotate(180deg);
387
+ }
388
+ .builtin-layout-2 .unit:nth-child(30):after {
389
+ transform: rotate(174deg);
390
+ }
391
+ .builtin-layout-2 .unit:nth-child(29):after {
392
+ transform: rotate(168deg);
393
+ }
394
+ .builtin-layout-2 .unit:nth-child(28):after {
395
+ transform: rotate(162deg);
396
+ }
397
+ .builtin-layout-2 .unit:nth-child(27):after {
398
+ transform: rotate(156deg);
399
+ }
400
+ .builtin-layout-2 .unit:nth-child(26):after {
401
+ transform: rotate(150deg);
402
+ }
403
+ .builtin-layout-2 .unit:nth-child(25):after {
404
+ transform: rotate(144deg);
405
+ }
406
+ .builtin-layout-2 .unit:nth-child(24):after {
407
+ transform: rotate(138deg);
408
+ }
409
+ .builtin-layout-2 .unit:nth-child(23):after {
410
+ transform: rotate(132deg);
411
+ }
412
+ .builtin-layout-2 .unit:nth-child(22):after {
413
+ transform: rotate(126deg);
414
+ }
415
+ .builtin-layout-2 .unit:nth-child(21):after {
416
+ transform: rotate(120deg);
417
+ }
418
+ .builtin-layout-2 .unit:nth-child(20):after {
419
+ transform: rotate(114deg);
420
+ }
421
+ .builtin-layout-2 .unit:nth-child(19):after {
422
+ transform: rotate(108deg);
423
+ }
424
+ .builtin-layout-2 .unit:nth-child(18):after {
425
+ transform: rotate(102deg);
426
+ }
427
+ .builtin-layout-2 .unit:nth-child(17):after {
428
+ transform: rotate(96deg);
429
+ }
430
+ .builtin-layout-2 .unit:nth-child(16):after {
431
+ transform: rotate(90deg);
432
+ }
433
+ .builtin-layout-2 .unit:nth-child(15):after {
434
+ transform: rotate(84deg);
435
+ }
436
+ .builtin-layout-2 .unit:nth-child(14):after {
437
+ transform: rotate(78deg);
438
+ }
439
+ .builtin-layout-2 .unit:nth-child(13):after {
440
+ transform: rotate(72deg);
441
+ }
442
+ .builtin-layout-2 .unit:nth-child(12):after {
443
+ transform: rotate(66deg);
444
+ }
445
+ .builtin-layout-2 .unit:nth-child(11):after {
446
+ transform: rotate(60deg);
447
+ }
448
+ .builtin-layout-2 .unit:nth-child(10):after {
449
+ transform: rotate(54deg);
450
+ }
451
+ .builtin-layout-2 .unit:nth-child(9):after {
452
+ transform: rotate(48deg);
453
+ }
454
+ .builtin-layout-2 .unit:nth-child(8):after {
455
+ transform: rotate(42deg);
456
+ }
457
+ .builtin-layout-2 .unit:nth-child(7):after {
458
+ transform: rotate(36deg);
459
+ }
460
+ .builtin-layout-2 .unit:nth-child(6):after {
461
+ transform: rotate(30deg);
462
+ }
463
+ .builtin-layout-2 .unit:nth-child(5):after {
464
+ transform: rotate(24deg);
465
+ }
466
+ .builtin-layout-2 .unit:nth-child(4):after {
467
+ transform: rotate(18deg);
468
+ }
469
+ .builtin-layout-2 .unit:nth-child(3):after {
470
+ transform: rotate(12deg);
471
+ }
472
+ .builtin-layout-2 .unit:nth-child(2):after {
473
+ transform: rotate(6deg);
474
+ }
475
+ .builtin-layout-2 .unit:nth-child(1):after {
476
+ transform: rotate(0deg);
477
+ }
478
+
479
+ .builtin-card {
480
+ background-color: var(--kup-background-color);
481
+ border-radius: 4px;
482
+ box-sizing: border-box;
483
+ box-shadow: 0 2px 1px -1px rgba(128, 128, 128, 0.1), 0 1px 1px 0 rgba(128, 128, 128, 0.1), 0 1px 3px 0 rgba(128, 128, 128, 0.6);
484
+ display: flex;
485
+ flex-direction: column;
486
+ height: 100%;
487
+ position: relative;
488
+ width: 100%;
489
+ overflow: auto;
490
+ }
491
+
1
492
  .collapsible-layout-1 {
2
493
  color: var(--kup-text-color);
3
494
  box-shadow: 0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);
@@ -328,6 +819,14 @@
328
819
  opacity: 0.5;
329
820
  }
330
821
 
822
+ .free-layout-1 {
823
+ background: var(--kup-background-color);
824
+ box-shadow: var(--kup-box-shadow);
825
+ box-sizing: border-box;
826
+ overflow: auto;
827
+ padding: 1em;
828
+ }
829
+
331
830
  .scalable-layout-1 .descr {
332
831
  font-size: 70%;
333
832
  width: 100%;
@@ -1680,12 +2179,12 @@
1680
2179
  width: var(--kup_card_width);
1681
2180
  }
1682
2181
 
1683
- :host([is-menu]) #kup-component {
1684
- animation: fade-in 0.25s ease-out;
2182
+ :host([is-menu]) {
1685
2183
  display: none;
2184
+ animation: fade-in 0.25s ease-out;
1686
2185
  }
1687
2186
 
1688
- :host([menu-visible]) #kup-component {
2187
+ :host([menu-visible]) {
1689
2188
  display: block;
1690
2189
  }
1691
2190
 
@@ -1,7 +1,9 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, } from '@stencil/core';
2
2
  import { MDCRipple } from '@material/ripple';
3
+ import * as builtinLayouts from './builtin/kup-card-builtin';
3
4
  import * as collapsibleLayouts from './collapsible/kup-card-collapsible';
4
5
  import * as dialogLayouts from './dialog/kup-card-dialog';
6
+ import * as freeLayouts from './free/kup-card-free';
5
7
  import * as scalableLayouts from './scalable/kup-card-scalable';
6
8
  import * as standardLayouts from './standard/kup-card-standard';
7
9
  import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
@@ -79,10 +81,11 @@ export class KupCard {
79
81
  */
80
82
  this.scalingActive = false;
81
83
  }
82
- onKupClick(id) {
84
+ onKupClick(id, value) {
83
85
  this.kupClick.emit({
84
86
  comp: this,
85
87
  id: id,
88
+ value: value,
86
89
  });
87
90
  }
88
91
  onKupClose(id) {
@@ -153,7 +156,7 @@ export class KupCard {
153
156
  const link = links[index];
154
157
  link.onclick = (e) => {
155
158
  e.stopPropagation();
156
- this.onKupClick(link.id);
159
+ this.onKupClick(link.id, null);
157
160
  };
158
161
  }
159
162
  }
@@ -189,12 +192,18 @@ export class KupCard {
189
192
  const method = 'create' + this.layoutNumber;
190
193
  try {
191
194
  switch (family) {
195
+ case KupCardFamily.BUILTIN: {
196
+ return builtinLayouts[method](this);
197
+ }
192
198
  case KupCardFamily.COLLAPSIBLE: {
193
199
  return collapsibleLayouts[method](this);
194
200
  }
195
201
  case KupCardFamily.DIALOG: {
196
202
  return dialogLayouts[method](this);
197
203
  }
204
+ case KupCardFamily.FREE: {
205
+ return freeLayouts[method](this);
206
+ }
198
207
  case KupCardFamily.SCALABLE: {
199
208
  return scalableLayouts[method](this);
200
209
  }
@@ -389,7 +398,7 @@ export class KupCard {
389
398
  this.kupManager.debug.logRender(this, true);
390
399
  }
391
400
  render() {
392
- if (!this.data) {
401
+ if (!this.data && this.rootElement.children.length < 1) {
393
402
  return;
394
403
  }
395
404
  const style = {
@@ -398,7 +407,7 @@ export class KupCard {
398
407
  };
399
408
  return (h(Host, { style: style },
400
409
  h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
401
- h("div", { id: componentWrapperId, onClick: () => this.onKupClick(null) }, this.getLayout())));
410
+ h("div", { id: componentWrapperId, onClick: () => this.onKupClick(null, null) }, this.getLayout())));
402
411
  }
403
412
  disconnectedCallback() {
404
413
  this.kupManager.interact.unregister([this.rootElement]);
@@ -489,7 +498,7 @@ export class KupCard {
489
498
  "mutable": false,
490
499
  "complexType": {
491
500
  "original": "KupCardFamily",
492
- "resolved": "KupCardFamily.COLLAPSIBLE | KupCardFamily.DIALOG | KupCardFamily.SCALABLE | KupCardFamily.STANDARD",
501
+ "resolved": "KupCardFamily.BUILTIN | KupCardFamily.COLLAPSIBLE | KupCardFamily.DIALOG | KupCardFamily.FREE | KupCardFamily.SCALABLE | KupCardFamily.STANDARD",
493
502
  "references": {
494
503
  "KupCardFamily": {
495
504
  "location": "import",
@@ -606,12 +615,12 @@ export class KupCard {
606
615
  "text": "Triggered when the card is clicked."
607
616
  },
608
617
  "complexType": {
609
- "original": "KupEventPayload",
610
- "resolved": "KupEventPayload",
618
+ "original": "KupCardClickPayload",
619
+ "resolved": "KupCardClickPayload",
611
620
  "references": {
612
- "KupEventPayload": {
621
+ "KupCardClickPayload": {
613
622
  "location": "import",
614
- "path": "../../types/GenericTypes"
623
+ "path": "./kup-card-declarations"
615
624
  }
616
625
  }
617
626
  }
@@ -12,8 +12,8 @@ export var KupDataTableProps;
12
12
  KupDataTableProps["dropEnabled"] = "Enables drop.";
13
13
  KupDataTableProps["editableData"] = "When set to true, editable cells will be rendered using input components.";
14
14
  KupDataTableProps["emptyDataLabel"] = "Defines the label to show when the table is empty.";
15
- KupDataTableProps["enableSortableColumns"] = "Enables the sorting of columns by dragging them into different columns.";
16
15
  KupDataTableProps["enableExtraColumns"] = "Enables adding extra columns.";
16
+ KupDataTableProps["enableSortableColumns"] = "Enables the sorting of columns by dragging them into different columns.";
17
17
  KupDataTableProps["expandGroups"] = "Expands groups when set to true.";
18
18
  KupDataTableProps["filters"] = "List of filters set by the user.";
19
19
  KupDataTableProps["fixedColumns"] = "Fixes the given number of columns so that they stay visible when horizontally scrolling the data-table. If grouping is active or the value of the prop is <= 0, this prop will have no effect. Can be combined with fixedRows.";
@@ -5,8 +5,8 @@ export class KupDataTableState {
5
5
  this.expandGroups = false;
6
6
  this.groupLabelDisplay = GroupLabelDisplayMode.BOTH;
7
7
  this.density = 'small';
8
- this.enableSortableColumns = false;
9
8
  this.enableExtraColumns = true;
9
+ this.enableSortableColumns = false;
10
10
  this.forceOneLine = false;
11
11
  this.globalFilter = false;
12
12
  this.globalFilterValue = '';
@@ -391,44 +391,6 @@ th.obj:hover span:not(.overlay-action) {
391
391
  background: var(--kup-text-on-primary-color) !important;
392
392
  }
393
393
 
394
- .customize-panel {
395
- visibility: hidden;
396
- background: var(--kup_datatable_background_color);
397
- box-shadow: var(--kup-box-shadow);
398
- min-width: 200px;
399
- width: fit-content;
400
- transition: height 0.25s;
401
- }
402
- .customize-panel kup-switch {
403
- text-align: center;
404
- }
405
-
406
- .customize-element {
407
- padding: 0 1em 1em 1em;
408
- }
409
-
410
- .customize-element:nth-child(1) {
411
- padding-top: 1em;
412
- }
413
-
414
- .kup-menu {
415
- animation: fade-in 0.25s ease-out;
416
- background-color: var(--kup-background-color);
417
- box-shadow: var(--kup-box-shadow);
418
- color: var(--kup-text-color);
419
- display: none;
420
- max-height: 33vh;
421
- overflow: auto;
422
- position: relative;
423
- transform: none;
424
- transform-origin: unset;
425
- transition: height 0.2s;
426
- will-change: unset;
427
- }
428
- .kup-menu.visible {
429
- display: block;
430
- }
431
-
432
394
  .indent {
433
395
  display: inline-block;
434
396
  height: 1em;