@sme.up/ketchup 6.2.0 → 6.4.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.
- package/dist/cjs/{f-button-5b69d882.js → f-button-826a470e.js} +4 -4
- package/dist/cjs/{f-cell-3a740c48.js → f-cell-2d5bcf0c.js} +13 -15
- package/dist/cjs/{f-checkbox-57443ca3.js → f-checkbox-cd977193.js} +1 -1
- package/dist/cjs/{f-chip-02e83f82.js → f-chip-2fd3363e.js} +3 -3
- package/dist/cjs/{f-image-2a61ece2.js → f-image-0f17d599.js} +2 -2
- package/dist/cjs/{f-paginator-utils-09126bdd.js → f-paginator-utils-946b579d.js} +80 -403
- package/dist/cjs/{f-text-field-9ee20a67.js → f-text-field-d243e4d8.js} +13 -3
- package/dist/cjs/{index-06b131ea.js → index-31125378.js} +9 -4
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -6
- package/dist/cjs/kup-autocomplete_25.cjs.entry.js +129 -115
- package/dist/cjs/kup-box.cjs.entry.js +20 -20
- package/dist/cjs/kup-calendar.cjs.entry.js +9 -11
- package/dist/cjs/kup-cell.cjs.entry.js +9 -11
- package/dist/cjs/kup-dash-list.cjs.entry.js +5 -7
- package/dist/cjs/kup-dash_2.cjs.entry.js +4 -5
- package/dist/cjs/kup-dashboard.cjs.entry.js +76 -17
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -5
- package/dist/cjs/kup-echart.cjs.entry.js +42 -34
- package/dist/cjs/kup-family-tree.cjs.entry.js +140 -64
- package/dist/cjs/kup-form.cjs.entry.js +21 -15
- package/dist/cjs/kup-iframe.cjs.entry.js +4 -5
- package/dist/cjs/kup-image-list.cjs.entry.js +10 -12
- package/dist/cjs/kup-lazy.cjs.entry.js +5 -6
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -6
- package/dist/cjs/{kup-manager-02acbb37.js → kup-manager-a8eecc60.js} +1419 -375
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -5
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -5
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -7
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/dashboard.js +48 -0
- package/dist/collection/assets/family-tree.js +236 -19
- package/dist/collection/assets/form.js +41 -0
- package/dist/collection/assets/index.js +4 -0
- package/dist/collection/assets/kupinteract.js +68 -0
- package/dist/collection/collection-manifest.json +5 -5
- package/dist/collection/components/kup-box/kup-box.js +5 -3
- package/dist/collection/components/kup-button/kup-button-declarations.js +1 -0
- package/dist/collection/components/kup-button/kup-button.js +27 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.css +7 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +67 -7
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +42 -30
- package/dist/collection/components/kup-data-table/kup-data-table.js +3 -1
- package/dist/collection/components/kup-echart/kup-echart.js +34 -24
- package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +3 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +79 -9
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +253 -65
- package/dist/collection/components/kup-form/kup-form-declarations.js +1 -0
- package/dist/collection/components/kup-form/kup-form.css +8 -0
- package/dist/collection/components/kup-form/kup-form.js +31 -2
- package/dist/collection/components/kup-image/assets/svg/azure.svg +1 -0
- package/dist/collection/components/kup-lazy/kup-lazy.css +8 -2
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.css +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
- package/dist/collection/f-components/f-button/f-button.js +2 -2
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +11 -1
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +49 -15
- package/dist/collection/managers/kup-data/kup-data.js +9 -11
- package/dist/collection/managers/kup-dates/kup-dates.js +14 -0
- package/dist/collection/managers/kup-interact/kup-interact.js +3 -5
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.js +2 -0
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +131 -45
- package/dist/collection/utils/filters/filters-rows.js +4 -23
- package/dist/collection/utils/filters/filters-tree-items.js +4 -3
- package/dist/esm/{f-button-fd44ef70.js → f-button-2d0a5f21.js} +4 -4
- package/dist/esm/{f-cell-7b159a22.js → f-cell-ee7d7b5c.js} +7 -9
- package/dist/esm/{f-checkbox-c51c4a75.js → f-checkbox-e06cf07b.js} +1 -1
- package/dist/esm/{f-chip-c2e4c522.js → f-chip-0d29f91f.js} +3 -3
- package/dist/esm/{f-image-2ab4b9aa.js → f-image-ab131d59.js} +2 -2
- package/dist/esm/{f-paginator-utils-ef537d82.js → f-paginator-utils-aa52af0f.js} +44 -366
- package/dist/esm/{f-text-field-41c575eb.js → f-text-field-0729b19f.js} +13 -3
- package/dist/esm/{index-ad6ab214.js → index-e41330a5.js} +9 -4
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +3 -4
- package/dist/esm/kup-autocomplete_25.entry.js +30 -16
- package/dist/esm/kup-box.entry.js +14 -14
- package/dist/esm/kup-calendar.entry.js +5 -7
- package/dist/esm/kup-cell.entry.js +7 -9
- package/dist/esm/kup-dash-list.entry.js +2 -4
- package/dist/esm/kup-dash_2.entry.js +2 -3
- package/dist/esm/kup-dashboard.entry.js +74 -15
- package/dist/esm/kup-drawer.entry.js +2 -3
- package/dist/esm/kup-echart.entry.js +36 -28
- package/dist/esm/kup-family-tree.entry.js +138 -62
- package/dist/esm/kup-form.entry.js +18 -12
- package/dist/esm/kup-iframe.entry.js +2 -3
- package/dist/esm/kup-image-list.entry.js +8 -10
- package/dist/esm/kup-lazy.entry.js +3 -4
- package/dist/esm/kup-magic-box.entry.js +3 -4
- package/dist/esm/{kup-manager-22a475e6.js → kup-manager-13b4f989.js} +1398 -376
- package/dist/esm/kup-nav-bar.entry.js +2 -3
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-photo-frame.entry.js +2 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +4 -5
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/assets/svg/azure.svg +1 -0
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-0986ad5d.js +1 -0
- package/dist/ketchup/{p-38d7584e.js → p-0cf10db0.js} +1 -1
- package/dist/ketchup/p-13666119.entry.js +27 -0
- package/dist/ketchup/p-18b68e86.entry.js +1 -0
- package/dist/ketchup/{p-1959f835.entry.js → p-28d514d0.entry.js} +1 -1
- package/dist/ketchup/p-2ffdbee1.entry.js +1 -0
- package/dist/ketchup/p-3dcfffbe.entry.js +1 -0
- package/dist/ketchup/p-3fe35411.entry.js +1 -0
- package/dist/ketchup/{p-cd5cfa7c.js → p-5552f156.js} +1 -1
- package/dist/ketchup/p-5f51009b.entry.js +1 -0
- package/dist/ketchup/{p-264b1b19.entry.js → p-816f0938.entry.js} +1 -1
- package/dist/ketchup/p-83c214d7.entry.js +1 -0
- package/dist/ketchup/p-84957bbf.entry.js +1 -0
- package/dist/ketchup/p-86795579.entry.js +1 -0
- package/dist/ketchup/p-8f85b8bb.entry.js +9 -0
- package/dist/ketchup/p-982d3e3a.entry.js +1 -0
- package/dist/ketchup/{p-e9366aaf.entry.js → p-adcfcd4f.entry.js} +4 -4
- package/dist/ketchup/p-b0b3989b.js +2 -0
- package/dist/ketchup/{p-dc62a30f.js → p-b705be3b.js} +1 -1
- package/dist/ketchup/{p-fc2b1229.js → p-b8c921ee.js} +3 -3
- package/dist/ketchup/{p-edae3076.js → p-bfe88b03.js} +1 -1
- package/dist/ketchup/p-d7091875.entry.js +1 -0
- package/dist/ketchup/p-d8656956.entry.js +1 -0
- package/dist/ketchup/p-dc69549c.entry.js +1 -0
- package/dist/ketchup/p-e01fa411.entry.js +1 -0
- package/dist/ketchup/p-e0f659c9.entry.js +1 -0
- package/dist/ketchup/p-e1d82570.entry.js +1 -0
- package/dist/ketchup/p-e21c744a.js +1 -0
- package/dist/ketchup/p-e5a9d60a.entry.js +1 -0
- package/dist/ketchup/p-f50cbed9.js +1 -0
- package/dist/ketchup/{p-42080355.entry.js → p-fa9f161a.entry.js} +1 -1
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +1 -0
- package/dist/types/components/kup-button/kup-button-declarations.d.ts +1 -0
- package/dist/types/components/kup-button/kup-button.d.ts +5 -0
- package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +6 -1
- package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +7 -3
- package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +26 -5
- package/dist/types/components/kup-form/kup-form-declarations.d.ts +1 -0
- package/dist/types/components/kup-form/kup-form.d.ts +5 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +1 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components.d.ts +69 -7
- package/dist/types/f-components/f-button/f-button-declarations.d.ts +1 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-cell-helper.d.ts +13 -6
- package/dist/types/managers/kup-data/kup-data.d.ts +3 -1
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +9 -1
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +7 -5
- package/dist/types/utils/filters/filters-rows.d.ts +0 -2
- package/dist/types/utils/filters/filters-tree-items.d.ts +1 -1
- package/package.json +2 -2
- package/dist/cjs/cell-utils-fe64a28c.js +0 -168
- package/dist/cjs/utils-4b208b48.js +0 -447
- package/dist/esm/cell-utils-cb5d4149.js +0 -160
- package/dist/esm/utils-2c1f4122.js +0 -428
- package/dist/ketchup/p-06c6cc68.js +0 -1
- package/dist/ketchup/p-0dacd4bc.entry.js +0 -1
- package/dist/ketchup/p-1c44dc62.entry.js +0 -1
- package/dist/ketchup/p-4bc9f98b.entry.js +0 -1
- package/dist/ketchup/p-578583db.entry.js +0 -1
- package/dist/ketchup/p-5866d507.entry.js +0 -1
- package/dist/ketchup/p-61059e9d.entry.js +0 -9
- package/dist/ketchup/p-664be494.entry.js +0 -1
- package/dist/ketchup/p-67cd575d.entry.js +0 -1
- package/dist/ketchup/p-682a367a.js +0 -1
- package/dist/ketchup/p-6ccf7eb2.entry.js +0 -1
- package/dist/ketchup/p-7230ab97.entry.js +0 -1
- package/dist/ketchup/p-752b4cef.entry.js +0 -1
- package/dist/ketchup/p-7de3e7ac.entry.js +0 -1
- package/dist/ketchup/p-928c5c36.js +0 -1
- package/dist/ketchup/p-9b36497d.entry.js +0 -1
- package/dist/ketchup/p-b982d137.entry.js +0 -1
- package/dist/ketchup/p-c0219e5e.js +0 -1
- package/dist/ketchup/p-c55fd0a7.entry.js +0 -1
- package/dist/ketchup/p-d154b3a0.entry.js +0 -1
- package/dist/ketchup/p-d2affb6f.entry.js +0 -27
- package/dist/ketchup/p-d3b542b3.js +0 -2
- package/dist/ketchup/p-d6c12c6c.js +0 -1
- package/dist/ketchup/p-da0eab60.entry.js +0 -1
|
@@ -13,7 +13,7 @@ const dataStaff = {
|
|
|
13
13
|
children: [],
|
|
14
14
|
disabled: false,
|
|
15
15
|
expandable: false,
|
|
16
|
-
icon: '
|
|
16
|
+
icon: 'favorite',
|
|
17
17
|
isExpanded: false,
|
|
18
18
|
obj: {
|
|
19
19
|
k: 'LOCEXD',
|
|
@@ -30,7 +30,7 @@ const dataStaff = {
|
|
|
30
30
|
children: [],
|
|
31
31
|
disabled: false,
|
|
32
32
|
expandable: false,
|
|
33
|
-
icon: '
|
|
33
|
+
icon: 'favorite',
|
|
34
34
|
isExpanded: false,
|
|
35
35
|
obj: {
|
|
36
36
|
k: 'LOCEXD',
|
|
@@ -46,7 +46,7 @@ const dataStaff = {
|
|
|
46
46
|
],
|
|
47
47
|
disabled: false,
|
|
48
48
|
expandable: false,
|
|
49
|
-
icon: '
|
|
49
|
+
icon: 'favorite',
|
|
50
50
|
id: 'LOCEXD',
|
|
51
51
|
isExpanded: false,
|
|
52
52
|
obj: {
|
|
@@ -83,7 +83,7 @@ const dataStaff = {
|
|
|
83
83
|
children: [],
|
|
84
84
|
disabled: false,
|
|
85
85
|
expandable: false,
|
|
86
|
-
icon: '
|
|
86
|
+
icon: 'favorite',
|
|
87
87
|
isExpanded: false,
|
|
88
88
|
obj: {
|
|
89
89
|
k: 'LOCEXD',
|
|
@@ -100,7 +100,7 @@ const dataStaff = {
|
|
|
100
100
|
children: [],
|
|
101
101
|
disabled: false,
|
|
102
102
|
expandable: false,
|
|
103
|
-
icon: '
|
|
103
|
+
icon: 'favorite',
|
|
104
104
|
isExpanded: false,
|
|
105
105
|
obj: {
|
|
106
106
|
k: 'LOCEXD',
|
|
@@ -116,7 +116,7 @@ const dataStaff = {
|
|
|
116
116
|
],
|
|
117
117
|
disabled: false,
|
|
118
118
|
expandable: false,
|
|
119
|
-
icon: '
|
|
119
|
+
icon: 'favorite',
|
|
120
120
|
isExpanded: false,
|
|
121
121
|
obj: {
|
|
122
122
|
k: 'LOCEXD',
|
|
@@ -132,7 +132,7 @@ const dataStaff = {
|
|
|
132
132
|
children: [],
|
|
133
133
|
disabled: false,
|
|
134
134
|
expandable: false,
|
|
135
|
-
icon: '
|
|
135
|
+
icon: 'favorite',
|
|
136
136
|
id: 'LOCTML',
|
|
137
137
|
isExpanded: false,
|
|
138
138
|
obj: {
|
|
@@ -149,7 +149,7 @@ const dataStaff = {
|
|
|
149
149
|
children: [],
|
|
150
150
|
disabled: false,
|
|
151
151
|
expandable: false,
|
|
152
|
-
icon: '
|
|
152
|
+
icon: 'favorite',
|
|
153
153
|
isExpanded: false,
|
|
154
154
|
obj: {
|
|
155
155
|
k: 'LOCEXD',
|
|
@@ -166,7 +166,7 @@ const dataStaff = {
|
|
|
166
166
|
children: [],
|
|
167
167
|
disabled: false,
|
|
168
168
|
expandable: false,
|
|
169
|
-
icon: '
|
|
169
|
+
icon: 'favorite',
|
|
170
170
|
isExpanded: false,
|
|
171
171
|
obj: {
|
|
172
172
|
k: 'LOCEXD',
|
|
@@ -183,7 +183,7 @@ const dataStaff = {
|
|
|
183
183
|
children: [],
|
|
184
184
|
disabled: false,
|
|
185
185
|
expandable: false,
|
|
186
|
-
icon: '
|
|
186
|
+
icon: 'favorite',
|
|
187
187
|
isExpanded: false,
|
|
188
188
|
obj: {
|
|
189
189
|
k: 'LOCEXD',
|
|
@@ -216,7 +216,7 @@ const dataStaff = {
|
|
|
216
216
|
children: [],
|
|
217
217
|
disabled: false,
|
|
218
218
|
expandable: false,
|
|
219
|
-
icon: '
|
|
219
|
+
icon: 'favorite',
|
|
220
220
|
isExpanded: false,
|
|
221
221
|
obj: {
|
|
222
222
|
k: 'LOCEXD',
|
|
@@ -233,7 +233,7 @@ const dataStaff = {
|
|
|
233
233
|
children: [],
|
|
234
234
|
disabled: false,
|
|
235
235
|
expandable: false,
|
|
236
|
-
icon: '
|
|
236
|
+
icon: 'favorite',
|
|
237
237
|
isExpanded: false,
|
|
238
238
|
obj: {
|
|
239
239
|
k: 'LOCEXD',
|
|
@@ -270,7 +270,7 @@ const dataStaff = {
|
|
|
270
270
|
children: [],
|
|
271
271
|
disabled: false,
|
|
272
272
|
expandable: false,
|
|
273
|
-
icon: '
|
|
273
|
+
icon: 'favorite',
|
|
274
274
|
id: 'LOCTML',
|
|
275
275
|
isExpanded: false,
|
|
276
276
|
obj: {
|
|
@@ -287,7 +287,7 @@ const dataStaff = {
|
|
|
287
287
|
children: [],
|
|
288
288
|
disabled: false,
|
|
289
289
|
expandable: false,
|
|
290
|
-
icon: '
|
|
290
|
+
icon: 'favorite',
|
|
291
291
|
isExpanded: false,
|
|
292
292
|
obj: {
|
|
293
293
|
k: 'LOCEXD',
|
|
@@ -304,7 +304,7 @@ const dataStaff = {
|
|
|
304
304
|
children: [],
|
|
305
305
|
disabled: false,
|
|
306
306
|
expandable: false,
|
|
307
|
-
icon: '
|
|
307
|
+
icon: 'favorite',
|
|
308
308
|
isExpanded: false,
|
|
309
309
|
obj: {
|
|
310
310
|
k: 'LOCEXD',
|
|
@@ -321,7 +321,7 @@ const dataStaff = {
|
|
|
321
321
|
children: [],
|
|
322
322
|
disabled: false,
|
|
323
323
|
expandable: false,
|
|
324
|
-
icon: '
|
|
324
|
+
icon: 'favorite',
|
|
325
325
|
isExpanded: false,
|
|
326
326
|
obj: {
|
|
327
327
|
k: 'LOCTML',
|
|
@@ -369,7 +369,7 @@ const dataStaff = {
|
|
|
369
369
|
children: [],
|
|
370
370
|
disabled: false,
|
|
371
371
|
expandable: false,
|
|
372
|
-
icon: '
|
|
372
|
+
icon: 'favorite',
|
|
373
373
|
isExpanded: false,
|
|
374
374
|
obj: {
|
|
375
375
|
k: 'LOCEXD',
|
|
@@ -386,7 +386,7 @@ const dataStaff = {
|
|
|
386
386
|
children: [],
|
|
387
387
|
disabled: false,
|
|
388
388
|
expandable: false,
|
|
389
|
-
icon: '
|
|
389
|
+
icon: 'favorite',
|
|
390
390
|
isExpanded: false,
|
|
391
391
|
obj: {
|
|
392
392
|
k: 'LOCEXD',
|
|
@@ -419,7 +419,7 @@ const dataStaff = {
|
|
|
419
419
|
],
|
|
420
420
|
disabled: false,
|
|
421
421
|
expandable: true,
|
|
422
|
-
icon: '
|
|
422
|
+
icon: 'account',
|
|
423
423
|
id: 'D0',
|
|
424
424
|
isExpanded: false,
|
|
425
425
|
obj: {
|
|
@@ -2385,6 +2385,218 @@ const dataLayout = {
|
|
|
2385
2385
|
],
|
|
2386
2386
|
};
|
|
2387
2387
|
|
|
2388
|
+
const dataStacked = {
|
|
2389
|
+
columns: [],
|
|
2390
|
+
rows: [
|
|
2391
|
+
{
|
|
2392
|
+
children: [
|
|
2393
|
+
{
|
|
2394
|
+
children: [
|
|
2395
|
+
{
|
|
2396
|
+
children: [
|
|
2397
|
+
{
|
|
2398
|
+
disabled: false,
|
|
2399
|
+
expandable: false,
|
|
2400
|
+
icon: 'favorite',
|
|
2401
|
+
id: 'LOCEXD',
|
|
2402
|
+
isExpanded: false,
|
|
2403
|
+
obj: {
|
|
2404
|
+
k: 'LOCEXD',
|
|
2405
|
+
p: 'B£AMO',
|
|
2406
|
+
t: 'TA',
|
|
2407
|
+
},
|
|
2408
|
+
options: true,
|
|
2409
|
+
style: {},
|
|
2410
|
+
value: 'Scheda oggetto',
|
|
2411
|
+
visible: true,
|
|
2412
|
+
},
|
|
2413
|
+
],
|
|
2414
|
+
disabled: false,
|
|
2415
|
+
expandable: true,
|
|
2416
|
+
icon: 'table-large',
|
|
2417
|
+
id: 'FOS',
|
|
2418
|
+
isExpanded: true,
|
|
2419
|
+
obj: {
|
|
2420
|
+
k: 'FOS',
|
|
2421
|
+
p: 'BRE',
|
|
2422
|
+
t: 'TA',
|
|
2423
|
+
},
|
|
2424
|
+
options: true,
|
|
2425
|
+
style: {},
|
|
2426
|
+
value: 'FOR Debiti operaz. societ.',
|
|
2427
|
+
visible: true,
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
children: [
|
|
2431
|
+
{
|
|
2432
|
+
disabled: false,
|
|
2433
|
+
expandable: false,
|
|
2434
|
+
icon: 'favorite',
|
|
2435
|
+
isExpanded: false,
|
|
2436
|
+
obj: {
|
|
2437
|
+
k: 'LOCEXD',
|
|
2438
|
+
p: 'B£AMO',
|
|
2439
|
+
t: 'TA',
|
|
2440
|
+
},
|
|
2441
|
+
options: true,
|
|
2442
|
+
style: {},
|
|
2443
|
+
value: 'Scheda oggetto',
|
|
2444
|
+
visible: true,
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
children: [],
|
|
2448
|
+
disabled: false,
|
|
2449
|
+
expandable: false,
|
|
2450
|
+
icon: 'favorite',
|
|
2451
|
+
id: 'LOCTML',
|
|
2452
|
+
isExpanded: false,
|
|
2453
|
+
obj: {
|
|
2454
|
+
k: 'LOCTML',
|
|
2455
|
+
p: 'B£AMO',
|
|
2456
|
+
t: 'TA',
|
|
2457
|
+
},
|
|
2458
|
+
options: true,
|
|
2459
|
+
style: {},
|
|
2460
|
+
value: 'Timeline',
|
|
2461
|
+
visible: true,
|
|
2462
|
+
},
|
|
2463
|
+
],
|
|
2464
|
+
disabled: false,
|
|
2465
|
+
expandable: true,
|
|
2466
|
+
icon: 'table-large',
|
|
2467
|
+
id: 'FOS',
|
|
2468
|
+
isExpanded: true,
|
|
2469
|
+
obj: {
|
|
2470
|
+
k: 'FOS',
|
|
2471
|
+
p: 'BRE',
|
|
2472
|
+
t: 'TA',
|
|
2473
|
+
},
|
|
2474
|
+
options: true,
|
|
2475
|
+
style: {},
|
|
2476
|
+
value: 'FOR Debiti operaz. societ.',
|
|
2477
|
+
visible: true,
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
children: [],
|
|
2481
|
+
disabled: false,
|
|
2482
|
+
expandable: false,
|
|
2483
|
+
icon: 'table-large',
|
|
2484
|
+
id: 'AGE',
|
|
2485
|
+
isExpanded: false,
|
|
2486
|
+
isWeird: true,
|
|
2487
|
+
obj: {
|
|
2488
|
+
k: 'AGE',
|
|
2489
|
+
p: 'BRE',
|
|
2490
|
+
t: 'TA',
|
|
2491
|
+
},
|
|
2492
|
+
options: true,
|
|
2493
|
+
style: {},
|
|
2494
|
+
value: 'Agente',
|
|
2495
|
+
visible: true,
|
|
2496
|
+
},
|
|
2497
|
+
{
|
|
2498
|
+
children: [
|
|
2499
|
+
{
|
|
2500
|
+
children: [],
|
|
2501
|
+
disabled: false,
|
|
2502
|
+
expandable: false,
|
|
2503
|
+
icon: 'favorite',
|
|
2504
|
+
id: 'LOCTML',
|
|
2505
|
+
isExpanded: false,
|
|
2506
|
+
obj: {
|
|
2507
|
+
k: 'LOCTML',
|
|
2508
|
+
p: 'B£AMO',
|
|
2509
|
+
t: 'TA',
|
|
2510
|
+
},
|
|
2511
|
+
options: true,
|
|
2512
|
+
style: {},
|
|
2513
|
+
value: 'Timeline',
|
|
2514
|
+
visible: true,
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
children: [],
|
|
2518
|
+
disabled: false,
|
|
2519
|
+
expandable: false,
|
|
2520
|
+
icon: 'favorite',
|
|
2521
|
+
isExpanded: false,
|
|
2522
|
+
obj: {
|
|
2523
|
+
k: 'LOCTML',
|
|
2524
|
+
p: 'B£AMO',
|
|
2525
|
+
t: 'TA',
|
|
2526
|
+
},
|
|
2527
|
+
options: true,
|
|
2528
|
+
style: {},
|
|
2529
|
+
value: 'Timeline',
|
|
2530
|
+
visible: true,
|
|
2531
|
+
},
|
|
2532
|
+
],
|
|
2533
|
+
disabled: false,
|
|
2534
|
+
expandable: true,
|
|
2535
|
+
icon: 'table-large',
|
|
2536
|
+
id: 'BAN',
|
|
2537
|
+
isExpanded: true,
|
|
2538
|
+
obj: {
|
|
2539
|
+
k: 'BAN',
|
|
2540
|
+
p: 'BRE',
|
|
2541
|
+
t: 'TA',
|
|
2542
|
+
},
|
|
2543
|
+
options: true,
|
|
2544
|
+
style: {},
|
|
2545
|
+
value: 'Banche',
|
|
2546
|
+
visible: true,
|
|
2547
|
+
},
|
|
2548
|
+
],
|
|
2549
|
+
disabled: false,
|
|
2550
|
+
expandable: true,
|
|
2551
|
+
icon: 'table-large',
|
|
2552
|
+
id: '03',
|
|
2553
|
+
isExpanded: true,
|
|
2554
|
+
obj: {
|
|
2555
|
+
k: '03',
|
|
2556
|
+
p: 'V§R',
|
|
2557
|
+
t: 'TA',
|
|
2558
|
+
},
|
|
2559
|
+
options: true,
|
|
2560
|
+
style: {},
|
|
2561
|
+
value: 'Lombardia',
|
|
2562
|
+
visible: true,
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
children: [],
|
|
2566
|
+
disabled: false,
|
|
2567
|
+
expandable: false,
|
|
2568
|
+
icon: 'table-large',
|
|
2569
|
+
id: '14',
|
|
2570
|
+
isExpanded: false,
|
|
2571
|
+
obj: {
|
|
2572
|
+
k: '14',
|
|
2573
|
+
p: 'V§R',
|
|
2574
|
+
t: 'TA',
|
|
2575
|
+
},
|
|
2576
|
+
options: true,
|
|
2577
|
+
style: {},
|
|
2578
|
+
value: 'Molise',
|
|
2579
|
+
visible: true,
|
|
2580
|
+
},
|
|
2581
|
+
],
|
|
2582
|
+
disabled: false,
|
|
2583
|
+
expandable: true,
|
|
2584
|
+
icon: 'favorite',
|
|
2585
|
+
id: 'D0',
|
|
2586
|
+
isExpanded: true,
|
|
2587
|
+
obj: {
|
|
2588
|
+
k: 'D0',
|
|
2589
|
+
p: 'B£A',
|
|
2590
|
+
t: 'TA',
|
|
2591
|
+
},
|
|
2592
|
+
options: true,
|
|
2593
|
+
style: {},
|
|
2594
|
+
value: 'AcosUP Costi Avanzati',
|
|
2595
|
+
visible: true,
|
|
2596
|
+
},
|
|
2597
|
+
],
|
|
2598
|
+
};
|
|
2599
|
+
|
|
2388
2600
|
const layout = {
|
|
2389
2601
|
horizontal: true,
|
|
2390
2602
|
sections: [
|
|
@@ -2422,9 +2634,14 @@ const layout = {
|
|
|
2422
2634
|
|
|
2423
2635
|
const familyTreeLayout = document.getElementById('layout');
|
|
2424
2636
|
const familyTreeStaff = document.getElementById('staff');
|
|
2637
|
+
const familyTreeStacked = document.getElementById('stacked');
|
|
2425
2638
|
familyTreeLayout.data = dataLayout;
|
|
2426
2639
|
familyTreeLayout.layout = layout;
|
|
2427
2640
|
familyTreeStaff.data = dataStaff;
|
|
2641
|
+
familyTreeStaff.layout = 2;
|
|
2642
|
+
familyTreeStacked.data = dataStacked;
|
|
2643
|
+
familyTreeStacked.collapsible = false;
|
|
2644
|
+
familyTreeStacked.stackedLeaves = true;
|
|
2428
2645
|
|
|
2429
2646
|
document.addEventListener('kup-familytree-click', (e) => {
|
|
2430
2647
|
console.log(e);
|
|
@@ -427,7 +427,48 @@ const layoutData = {
|
|
|
427
427
|
],
|
|
428
428
|
};
|
|
429
429
|
|
|
430
|
+
const dataAutocomplete = {
|
|
431
|
+
columns: [
|
|
432
|
+
{
|
|
433
|
+
name: 'ACC',
|
|
434
|
+
title: 'Username',
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
name: 'DES',
|
|
438
|
+
title: 'Password',
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
rows: [
|
|
442
|
+
{
|
|
443
|
+
cells: {
|
|
444
|
+
ACC: {
|
|
445
|
+
value: '',
|
|
446
|
+
isEditable: true,
|
|
447
|
+
data: {
|
|
448
|
+
label: 'Username',
|
|
449
|
+
name: 'something',
|
|
450
|
+
outlined: true,
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
DES: {
|
|
454
|
+
value: '',
|
|
455
|
+
isEditable: true,
|
|
456
|
+
data: {
|
|
457
|
+
inputType: 'password',
|
|
458
|
+
label: 'Password',
|
|
459
|
+
name: 'something-else',
|
|
460
|
+
outlined: true,
|
|
461
|
+
},
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
id: '0',
|
|
465
|
+
},
|
|
466
|
+
],
|
|
467
|
+
};
|
|
468
|
+
|
|
430
469
|
const form = document.getElementById('form');
|
|
431
470
|
form.data = data;
|
|
432
471
|
const formWithLayout = document.getElementById('form-with-layout');
|
|
433
472
|
formWithLayout.data = layoutData;
|
|
473
|
+
const formWithAutocomplete = document.getElementById('form-with-autocomplete');
|
|
474
|
+
formWithAutocomplete.data = dataAutocomplete;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const items = document.querySelectorAll('.item');
|
|
2
|
+
const wrapper = document.querySelector('#wrapper');
|
|
3
|
+
|
|
4
|
+
const initialize = () => {
|
|
5
|
+
kupManager.interact.dropzone(
|
|
6
|
+
wrapper,
|
|
7
|
+
null,
|
|
8
|
+
{
|
|
9
|
+
dispatcher: wrapper,
|
|
10
|
+
type: 'text/generic',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
drop: (e) => {
|
|
14
|
+
let delta = null;
|
|
15
|
+
let el = null;
|
|
16
|
+
items.forEach((item) => {
|
|
17
|
+
const rect = item.getBoundingClientRect();
|
|
18
|
+
let tempDelta = e.dragEvent.client.y - rect.y;
|
|
19
|
+
if (tempDelta < 0) {
|
|
20
|
+
tempDelta = tempDelta * -1;
|
|
21
|
+
}
|
|
22
|
+
if (delta === null || tempDelta < delta) {
|
|
23
|
+
delta = tempDelta;
|
|
24
|
+
el = item;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
if (!el || e.relatedTarget === el) {
|
|
28
|
+
console.log('Not moved.');
|
|
29
|
+
} else {
|
|
30
|
+
console.log(
|
|
31
|
+
'Moved to position ' + el.id + '. (delta ' + delta + ')'
|
|
32
|
+
);
|
|
33
|
+
e.relatedTarget.remove();
|
|
34
|
+
wrapper.insertBefore(e.relatedTarget, el);
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
for (let index = 0; index < items.length; index++) {
|
|
40
|
+
const item = items[index];
|
|
41
|
+
const randomColor = kupManager.theme.randomColor(50);
|
|
42
|
+
item.style.backgroundColor = randomColor;
|
|
43
|
+
item.style.color = kupManager.theme.colorContrast(randomColor);
|
|
44
|
+
const handleEl = item.querySelector('.handle');
|
|
45
|
+
kupManager.interact.draggable(
|
|
46
|
+
item,
|
|
47
|
+
{
|
|
48
|
+
allowFrom: handleEl ? handleEl : null,
|
|
49
|
+
},
|
|
50
|
+
null,
|
|
51
|
+
'clone',
|
|
52
|
+
{
|
|
53
|
+
end: () => {
|
|
54
|
+
kupManager.scrollOnHover.stop(wrapper);
|
|
55
|
+
kupManager.scrollOnHover.unregister(wrapper);
|
|
56
|
+
},
|
|
57
|
+
start: () => {
|
|
58
|
+
kupManager.scrollOnHover.register(wrapper, true, {
|
|
59
|
+
back: 0.3,
|
|
60
|
+
forward: 0.7,
|
|
61
|
+
});
|
|
62
|
+
},
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
document.addEventListener('kup-manager-ready', initialize);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
|
+
"./components/kup-text-field/kup-text-field.js",
|
|
4
|
+
"./components/kup-chart/kup-chart.js",
|
|
5
|
+
"./components/kup-tree/kup-tree.js",
|
|
6
|
+
"./components/kup-data-table/kup-data-table.js",
|
|
3
7
|
"./components/kup-card/kup-card.js",
|
|
4
8
|
"./components/kup-badge/kup-badge.js",
|
|
5
9
|
"./components/kup-accordion/kup-accordion.js",
|
|
6
10
|
"./components/kup-autocomplete/kup-autocomplete.js",
|
|
7
|
-
"./components/kup-chart/kup-chart.js",
|
|
8
|
-
"./components/kup-tree/kup-tree.js",
|
|
9
|
-
"./components/kup-text-field/kup-text-field.js",
|
|
10
|
-
"./components/kup-data-table/kup-data-table.js",
|
|
11
11
|
"./components/kup-box/kup-box.js",
|
|
12
12
|
"./components/kup-button/kup-button.js",
|
|
13
13
|
"./components/kup-button-list/kup-button-list.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
],
|
|
51
51
|
"compiler": {
|
|
52
52
|
"name": "@stencil/core",
|
|
53
|
-
"version": "2.17.
|
|
53
|
+
"version": "2.17.3",
|
|
54
54
|
"typescriptVersion": "4.5.4"
|
|
55
55
|
},
|
|
56
56
|
"collections": [],
|
|
@@ -1018,9 +1018,11 @@ export class KupBox {
|
|
|
1018
1018
|
return {
|
|
1019
1019
|
jsx: kanbanJSX,
|
|
1020
1020
|
style: {
|
|
1021
|
-
'grid-template-columns': this.kanban.
|
|
1022
|
-
?
|
|
1023
|
-
:
|
|
1021
|
+
'grid-template-columns': this.kanban.isStacked
|
|
1022
|
+
? 'repeat(1fr)'
|
|
1023
|
+
: this.kanban.size
|
|
1024
|
+
? `repeat(${Object.keys(kanbanSections).length}, ${this.kanban.size})`
|
|
1025
|
+
: `repeat(${Object.keys(kanbanSections).length}, 1fr)`,
|
|
1024
1026
|
},
|
|
1025
1027
|
};
|
|
1026
1028
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export var KupButtonProps;
|
|
6
6
|
(function (KupButtonProps) {
|
|
7
|
+
KupButtonProps["buttonType"] = "Sets the type of the button.";
|
|
7
8
|
KupButtonProps["checked"] = "When set to true, the icon button state will be on.";
|
|
8
9
|
KupButtonProps["customStyle"] = "Custom style of the component.";
|
|
9
10
|
KupButtonProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
@@ -19,6 +19,11 @@ export class KupButton {
|
|
|
19
19
|
/*-------------------------------------------------*/
|
|
20
20
|
/* P r o p s */
|
|
21
21
|
/*-------------------------------------------------*/
|
|
22
|
+
/**
|
|
23
|
+
* Sets the type of the button.
|
|
24
|
+
* @default null
|
|
25
|
+
*/
|
|
26
|
+
this.buttonType = null;
|
|
22
27
|
/**
|
|
23
28
|
* When set to true, the icon button state will be on.
|
|
24
29
|
* @default false
|
|
@@ -165,6 +170,7 @@ export class KupButton {
|
|
|
165
170
|
}
|
|
166
171
|
render() {
|
|
167
172
|
const props = {
|
|
173
|
+
buttonType: this.buttonType,
|
|
168
174
|
checked: this.checked,
|
|
169
175
|
danger: this.rootElement.classList.contains('kup-danger')
|
|
170
176
|
? true
|
|
@@ -233,6 +239,27 @@ export class KupButton {
|
|
|
233
239
|
"$": ["kup-button.css"]
|
|
234
240
|
}; }
|
|
235
241
|
static get properties() { return {
|
|
242
|
+
"buttonType": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"mutable": false,
|
|
245
|
+
"complexType": {
|
|
246
|
+
"original": "string",
|
|
247
|
+
"resolved": "string",
|
|
248
|
+
"references": {}
|
|
249
|
+
},
|
|
250
|
+
"required": false,
|
|
251
|
+
"optional": false,
|
|
252
|
+
"docs": {
|
|
253
|
+
"tags": [{
|
|
254
|
+
"name": "default",
|
|
255
|
+
"text": "null"
|
|
256
|
+
}],
|
|
257
|
+
"text": "Sets the type of the button."
|
|
258
|
+
},
|
|
259
|
+
"attribute": "button-type",
|
|
260
|
+
"reflect": false,
|
|
261
|
+
"defaultValue": "null"
|
|
262
|
+
},
|
|
236
263
|
"checked": {
|
|
237
264
|
"type": "boolean",
|
|
238
265
|
"mutable": true,
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
padding: 1em;
|
|
26
26
|
grid-gap: 0.5em;
|
|
27
27
|
border: 1px solid var(--kup-primary-color);
|
|
28
|
+
height: auto;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
.section {
|
|
@@ -64,6 +65,12 @@
|
|
|
64
65
|
padding: 1em;
|
|
65
66
|
}
|
|
66
67
|
|
|
68
|
+
.section-placeholder {
|
|
69
|
+
background-color: rgba(var(--kup-secondary-color-rgb), 0.5);
|
|
70
|
+
min-height: 1em;
|
|
71
|
+
min-width: 1em;
|
|
72
|
+
}
|
|
73
|
+
|
|
67
74
|
.component {
|
|
68
75
|
height: fit-content;
|
|
69
76
|
padding: 1em;
|