@sme.up/ketchup 9.6.3 → 9.6.4
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-9a0eba42.js → f-button-89de2403.js} +1 -1
- package/dist/cjs/{f-cell-1ad41071.js → f-cell-75dbd6eb.js} +9 -29
- package/dist/cjs/{f-chip-48851b4f.js → f-chip-08857345.js} +2 -2
- package/dist/cjs/{f-image-541e5f4d.js → f-image-a41d7f1e.js} +1 -1
- package/dist/cjs/{f-paginator-utils-8ff2a9b4.js → f-paginator-utils-ff07301e.js} +3 -3
- package/dist/cjs/{f-text-field-ac5d6497.js → f-text-field-eb207a83.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +47 -47
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
- package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
- package/dist/cjs/{kup-dates-b7d53b4d.js → kup-dates-e22ee32c.js} +21 -0
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-gantt_10.cjs.entry.js +21 -21
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +7 -7
- package/dist/cjs/kup-input-panel.cjs.entry.js +298 -0
- package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
- package/dist/cjs/kup-magic-box.cjs.entry.js +6 -6
- package/dist/cjs/{kup-manager-26a9154b.js → kup-manager-abfe4ddd.js} +9 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- package/dist/cjs/kup-pdf.cjs.entry.js +76600 -0
- package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
- package/dist/cjs/{kup-planner-renderer-helper-680bbd5a.js → kup-planner-renderer-helper-9f776d6e.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +3 -3
- package/dist/cjs/kup-planner.cjs.entry.js +4 -4
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/index.js +8 -0
- package/dist/collection/assets/input-panel.js +249 -0
- package/dist/collection/assets/pdf.js +15 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +8 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +132 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +305 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +522 -0
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.js +1 -1
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +8 -0
- package/dist/collection/components/kup-pdf/kup-pdf.css +169 -0
- package/dist/collection/components/kup-pdf/kup-pdf.js +262 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +5 -24
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +7 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/components/custom-task-list-header.js +2 -2
- package/dist/components/custom-task-list-table.js +1 -1
- package/dist/components/kup-autocomplete2.js +44 -64
- package/dist/components/kup-box2.js +1 -1
- package/dist/components/kup-calendar.js +1 -1
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-dates.js +20 -1
- package/dist/components/kup-echart2.js +1 -1
- package/dist/components/kup-gantt-calendar2.js +1 -1
- package/dist/components/kup-gantt2.js +1 -1
- package/dist/components/kup-grid-renderer2.js +2 -2
- package/dist/components/kup-grid2.js +1 -1
- package/dist/components/kup-horizontal-scroll2.js +2 -2
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-input-panel.d.ts +11 -0
- package/dist/components/kup-input-panel.js +449 -0
- package/dist/components/kup-lazy.js +11 -11
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-manager.js +9 -1
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-pdf.d.ts +11 -0
- package/dist/components/kup-pdf.js +76756 -0
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner-renderer2.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-standard-tooltip2.js +1 -1
- package/dist/components/kup-switcher2.js +1 -1
- package/dist/components/kup-task-gantt2.js +2 -2
- package/dist/components/kup-task-list-header2.js +7 -7
- package/dist/components/kup-task-list-table2.js +1 -1
- package/dist/components/kup-task-list2.js +1 -1
- package/dist/components/kup-tooltip2.js +1 -1
- package/dist/components/kup-vertical-scroll2.js +2 -2
- package/dist/esm/{f-button-45d690a5.js → f-button-1eebd42e.js} +1 -1
- package/dist/esm/{f-cell-63db06db.js → f-cell-af19d5c7.js} +9 -29
- package/dist/esm/{f-chip-f1ab6c5e.js → f-chip-9e5fdb25.js} +2 -2
- package/dist/esm/{f-image-8b382cc5.js → f-image-1e1ed567.js} +1 -1
- package/dist/esm/{f-paginator-utils-ae563cd5.js → f-paginator-utils-dede029b.js} +3 -3
- package/dist/esm/{f-text-field-b5fcb598.js → f-text-field-802b45fb.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_27.entry.js +47 -47
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
- package/dist/esm/kup-dashboard.entry.js +5 -5
- package/dist/esm/{kup-dates-4ad48be7.js → kup-dates-26a56bf7.js} +20 -1
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-gantt_10.entry.js +21 -21
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +7 -7
- package/dist/esm/kup-input-panel.entry.js +294 -0
- package/dist/esm/kup-lazy.entry.js +13 -13
- package/dist/esm/kup-magic-box.entry.js +6 -6
- package/dist/esm/{kup-manager-cdb4f21a.js → kup-manager-dd24fb5a.js} +9 -1
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- package/dist/esm/kup-pdf.entry.js +76596 -0
- package/dist/esm/kup-photo-frame.entry.js +4 -4
- package/dist/esm/{kup-planner-renderer-helper-da0518be.js → kup-planner-renderer-helper-b4727e44.js} +1 -1
- package/dist/esm/kup-planner-renderer.entry.js +3 -3
- package/dist/esm/kup-planner.entry.js +4 -4
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-14943de9.entry.js +1 -0
- package/dist/ketchup/{p-c6b34763.entry.js → p-158076de.entry.js} +1 -1
- package/dist/ketchup/{p-670354ef.entry.js → p-180cd7ab.entry.js} +1 -1
- package/dist/ketchup/{p-b6a21b6a.entry.js → p-19a13672.entry.js} +1 -1
- package/dist/ketchup/{p-d9284d98.entry.js → p-201f8d7b.entry.js} +1 -1
- package/dist/ketchup/{p-41e8402e.entry.js → p-26d42b88.entry.js} +1 -1
- package/dist/ketchup/{p-590c34bc.js → p-2d4a9235.js} +1 -1
- package/dist/ketchup/{p-090e5097.entry.js → p-2e04042b.entry.js} +1 -1
- package/dist/ketchup/{p-e508b2fd.entry.js → p-34d70475.entry.js} +1 -1
- package/dist/ketchup/{p-e0a1fbe7.entry.js → p-3b544027.entry.js} +1 -1
- package/dist/ketchup/{p-4c100286.entry.js → p-43ce397b.entry.js} +1 -1
- package/dist/ketchup/{p-31c0cfc0.entry.js → p-489af77f.entry.js} +1 -1
- package/dist/ketchup/{p-ca8a1f53.entry.js → p-4f69f6f9.entry.js} +1 -1
- package/dist/ketchup/{p-ba0f28b7.js → p-61e8d573.js} +1 -1
- package/dist/ketchup/{p-ca42a421.entry.js → p-636be6f1.entry.js} +2 -2
- package/dist/ketchup/{p-ec4050e1.entry.js → p-63c141d9.entry.js} +1 -1
- package/dist/ketchup/{p-4dfc5927.entry.js → p-6972fa0c.entry.js} +1 -1
- package/dist/ketchup/{p-a5074ce4.js → p-6c888179.js} +1 -1
- package/dist/ketchup/{p-1474852d.entry.js → p-79f4dc5b.entry.js} +1 -1
- package/dist/ketchup/{p-2b40d9b9.entry.js → p-818e61d5.entry.js} +1 -1
- package/dist/ketchup/{p-9a856951.js → p-8229b97a.js} +1 -1
- package/dist/ketchup/p-8f3d400a.entry.js +44 -0
- package/dist/ketchup/{p-bedabdb5.js → p-8fcdf454.js} +1 -1
- package/dist/ketchup/{p-ad6a3c2a.entry.js → p-a2e14d8b.entry.js} +1 -1
- package/dist/ketchup/{p-d839ce21.entry.js → p-a2e691b8.entry.js} +2 -2
- package/dist/ketchup/p-a46f99d4.js +1 -0
- package/dist/ketchup/{p-1cd48eea.entry.js → p-b238cde7.entry.js} +1 -1
- package/dist/ketchup/{p-837bd0a6.entry.js → p-b3b50bb5.entry.js} +1 -1
- package/dist/ketchup/{p-d50515f7.js → p-c0f660d6.js} +1 -1
- package/dist/ketchup/{p-157f0e89.entry.js → p-cd7fec02.entry.js} +1 -1
- package/dist/ketchup/{p-cbe42afd.entry.js → p-dcf7e9b6.entry.js} +1 -1
- package/dist/ketchup/{p-e0c10de2.entry.js → p-e0e47ca9.entry.js} +1 -1
- package/dist/ketchup/{p-9852b1e9.js → p-e4c63684.js} +1 -1
- package/dist/ketchup/{p-cc7352a8.entry.js → p-e7507dd6.entry.js} +1 -1
- package/dist/ketchup/p-eb8ea3a6.js +1 -0
- package/dist/ketchup/{p-d608f866.entry.js → p-f998ff28.entry.js} +1 -1
- package/dist/ketchup/{p-21351b19.entry.js → p-f9a7c21c.entry.js} +1 -1
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +79 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +67 -0
- package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +7 -0
- package/dist/types/components/kup-pdf/kup-pdf.d.ts +42 -0
- package/dist/types/components.d.ts +158 -0
- package/dist/types/types/GenericTypes.d.ts +1 -0
- package/package.json +2 -1
- package/dist/ketchup/p-5c79cb74.js +0 -1
- package/dist/ketchup/p-935f58fc.js +0 -1
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
let data = {
|
|
2
|
+
columns: [
|
|
3
|
+
{
|
|
4
|
+
name: 'NAM',
|
|
5
|
+
title: 'Name',
|
|
6
|
+
visible: true,
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
name: 'SUR',
|
|
10
|
+
title: 'Surname',
|
|
11
|
+
visible: true,
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: 'NAT',
|
|
15
|
+
title: 'Nation',
|
|
16
|
+
visible: true,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'CIT',
|
|
20
|
+
title: 'City',
|
|
21
|
+
visible: true,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'CHK',
|
|
25
|
+
title: 'Checkbox',
|
|
26
|
+
visible: true,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'RAD',
|
|
30
|
+
title: 'Radio Buttons',
|
|
31
|
+
visible: true,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
rows: [
|
|
35
|
+
{
|
|
36
|
+
cells: {
|
|
37
|
+
NAM: {
|
|
38
|
+
value: '',
|
|
39
|
+
obj: {
|
|
40
|
+
t: '',
|
|
41
|
+
p: '',
|
|
42
|
+
k: '',
|
|
43
|
+
},
|
|
44
|
+
editable: true,
|
|
45
|
+
mandatory: true,
|
|
46
|
+
shape: 'ITX',
|
|
47
|
+
},
|
|
48
|
+
SUR: {
|
|
49
|
+
value: '',
|
|
50
|
+
obj: {
|
|
51
|
+
t: '',
|
|
52
|
+
p: '',
|
|
53
|
+
k: '',
|
|
54
|
+
},
|
|
55
|
+
editable: true,
|
|
56
|
+
mandatory: true,
|
|
57
|
+
shape: 'ITX',
|
|
58
|
+
},
|
|
59
|
+
NAT: {
|
|
60
|
+
value: '',
|
|
61
|
+
options: [
|
|
62
|
+
{
|
|
63
|
+
id: 'ITA',
|
|
64
|
+
label: 'Italy',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: 'SPA',
|
|
68
|
+
label: 'Spain',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: 'GER',
|
|
72
|
+
label: 'Germany',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 'FRA',
|
|
76
|
+
label: 'France',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: 'POR',
|
|
80
|
+
label: 'Portugal',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 'ENG',
|
|
84
|
+
label: 'England',
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
obj: {
|
|
88
|
+
t: '',
|
|
89
|
+
p: '',
|
|
90
|
+
k: '',
|
|
91
|
+
},
|
|
92
|
+
editable: true,
|
|
93
|
+
mandatory: true,
|
|
94
|
+
shape: 'CMB',
|
|
95
|
+
},
|
|
96
|
+
CIT: {
|
|
97
|
+
value: '',
|
|
98
|
+
obj: {
|
|
99
|
+
t: '',
|
|
100
|
+
p: '',
|
|
101
|
+
k: '',
|
|
102
|
+
},
|
|
103
|
+
editable: true,
|
|
104
|
+
mandatory: true,
|
|
105
|
+
options: [
|
|
106
|
+
{
|
|
107
|
+
id: 'ROM',
|
|
108
|
+
label: 'Rome',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: 'FLO',
|
|
112
|
+
label: 'Florence',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
id: 'VEN',
|
|
116
|
+
label: 'Venice',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: 'MAD',
|
|
120
|
+
label: 'Madrid',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: 'BAR',
|
|
124
|
+
label: 'Barcelona',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: 'SEV',
|
|
128
|
+
label: 'Seville',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: 'BER',
|
|
132
|
+
label: 'Berlin',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: 'MUN',
|
|
136
|
+
label: 'Munich',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: 'HAM',
|
|
140
|
+
label: 'Hamburg',
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: 'PAR',
|
|
144
|
+
label: 'Paris',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: 'MAR',
|
|
148
|
+
label: 'Marseille',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: 'LYO',
|
|
152
|
+
label: 'Lyon',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: 'LIS',
|
|
156
|
+
label: 'Lisbon',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: 'POR',
|
|
160
|
+
label: 'Porto',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: 'FAR',
|
|
164
|
+
label: 'Faro',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: 'LON',
|
|
168
|
+
label: 'London',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
id: 'MAN',
|
|
172
|
+
label: 'Manchester',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: 'LIV',
|
|
176
|
+
label: 'Liverpool',
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
shape: 'ACP',
|
|
180
|
+
},
|
|
181
|
+
CHK: {
|
|
182
|
+
value: 'on',
|
|
183
|
+
editable: true,
|
|
184
|
+
mandatory: true,
|
|
185
|
+
shape: 'CHK',
|
|
186
|
+
},
|
|
187
|
+
RAD: {
|
|
188
|
+
value: '3',
|
|
189
|
+
options: [
|
|
190
|
+
{
|
|
191
|
+
id: '1',
|
|
192
|
+
label: 'One',
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
id: '2',
|
|
196
|
+
label: 'Two',
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: '3',
|
|
200
|
+
label: 'Three',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
id: '4',
|
|
204
|
+
label: 'Four',
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
editable: true,
|
|
208
|
+
mandatory: true,
|
|
209
|
+
shape: 'RAD',
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
layout: {},
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
const inputPanel = document.getElementById('input-panel');
|
|
218
|
+
inputPanel.data = data;
|
|
219
|
+
|
|
220
|
+
const inputPanelCallback = [
|
|
221
|
+
{
|
|
222
|
+
eventName: 'kup-autocomplete-input',
|
|
223
|
+
eventCallback: (e) => {
|
|
224
|
+
const newdata = {
|
|
225
|
+
...data,
|
|
226
|
+
rows: data.rows.map((row) => {
|
|
227
|
+
const keys = Object.keys(row.cells);
|
|
228
|
+
const updatedCells = keys.reduce((acc, key) => {
|
|
229
|
+
let updatedValue = e.state.find(
|
|
230
|
+
(state) => state.column.name === key
|
|
231
|
+
).cell.value;
|
|
232
|
+
return {
|
|
233
|
+
...acc,
|
|
234
|
+
[key]: {
|
|
235
|
+
...row.cells[key],
|
|
236
|
+
value: updatedValue,
|
|
237
|
+
},
|
|
238
|
+
};
|
|
239
|
+
}, {});
|
|
240
|
+
return { ...row, cells: updatedCells };
|
|
241
|
+
}),
|
|
242
|
+
};
|
|
243
|
+
const inputPanel = document.getElementById('input-panel');
|
|
244
|
+
inputPanel.data = newdata;
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
];
|
|
248
|
+
|
|
249
|
+
inputPanel.valueChangeCb = inputPanelCallback;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const comp = document.getElementById('pdf');
|
|
2
|
+
|
|
3
|
+
comp.addEventListener('kup-pdf-ready', (e) => {
|
|
4
|
+
console.log('Pdf ready', e);
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
const props = {
|
|
8
|
+
pdfPath: '../../assets/kup-pdf-sample.pdf',
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
if (props) {
|
|
12
|
+
for (const key in props) {
|
|
13
|
+
comp[key] = props[key];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
"components/kup-iframe/kup-iframe.js",
|
|
33
33
|
"components/kup-image/kup-image.js",
|
|
34
34
|
"components/kup-image-list/kup-image-list.js",
|
|
35
|
+
"components/kup-input-panel/kup-input-panel.js",
|
|
35
36
|
"components/kup-lazy/kup-lazy.js",
|
|
36
37
|
"components/kup-radio/kup-radio.js",
|
|
37
38
|
"components/kup-list/kup-list.js",
|
|
38
39
|
"components/kup-magic-box/kup-magic-box.js",
|
|
39
40
|
"components/kup-nav-bar/kup-nav-bar.js",
|
|
40
41
|
"components/kup-numeric-picker/kup-numeric-picker.js",
|
|
42
|
+
"components/kup-pdf/kup-pdf.js",
|
|
41
43
|
"components/kup-photo-frame/kup-photo-frame.js",
|
|
42
44
|
"components/kup-planner/kup-planner.js",
|
|
43
45
|
"components/kup-planner/utils/custom-task-list-header.js",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var KupInputPanelProps;
|
|
2
|
+
(function (KupInputPanelProps) {
|
|
3
|
+
KupInputPanelProps["customStyle"] = "Custom style of the component.";
|
|
4
|
+
KupInputPanelProps["data"] = "Actual data of the input panel.";
|
|
5
|
+
KupInputPanelProps["hiddenSubmitButton"] = "Creates a hidden submit button in order to submit the form with enter.";
|
|
6
|
+
KupInputPanelProps["submitCb"] = "Sets the callback function on submit form";
|
|
7
|
+
KupInputPanelProps["valueChangeCb"] = "Sets the callback function on value change event";
|
|
8
|
+
})(KupInputPanelProps || (KupInputPanelProps = {}));
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
.kup-body-compact-01 {
|
|
2
|
+
font-family: var(--kup-font-family);
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
line-height: 18px;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
letter-spacing: 0.16px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.kup-body-01 {
|
|
10
|
+
font-family: var(--kup-font-family);
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
line-height: 20px;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
letter-spacing: 0.16px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.kup-code-01 {
|
|
18
|
+
font-family: var(--kup-font-family-monospace);
|
|
19
|
+
font-size: 12px;
|
|
20
|
+
line-height: 16px;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
letter-spacing: 0.32px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.kup-label-01 {
|
|
26
|
+
font-family: var(--kup-font-family);
|
|
27
|
+
font-size: 12px;
|
|
28
|
+
line-height: 16px;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
letter-spacing: 0.32px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.kup-caption-02 {
|
|
34
|
+
font-family: var(--kup-font-family);
|
|
35
|
+
font-size: 12px;
|
|
36
|
+
line-height: 15px;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
letter-spacing: 1px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.kup-caption-01 {
|
|
42
|
+
font-family: var(--kup-font-family);
|
|
43
|
+
font-size: 10px;
|
|
44
|
+
line-height: 13px;
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
letter-spacing: 1px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.kup-small-label-01 {
|
|
50
|
+
font-family: var(--kup-font-family);
|
|
51
|
+
font-size: 6px;
|
|
52
|
+
line-height: 9px;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
letter-spacing: 1px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.kup-heading-compact-01 {
|
|
58
|
+
font-family: var(--kup-font-family);
|
|
59
|
+
font-size: 14px;
|
|
60
|
+
line-height: 18px;
|
|
61
|
+
font-weight: 600;
|
|
62
|
+
letter-spacing: 0.16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.kup-heading-01 {
|
|
66
|
+
font-family: var(--kup-font-family);
|
|
67
|
+
font-size: 14px;
|
|
68
|
+
line-height: 20px;
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
letter-spacing: 0.16px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.kup-heading-02 {
|
|
74
|
+
font-family: var(--kup-font-family);
|
|
75
|
+
font-size: 16px;
|
|
76
|
+
line-height: 24px;
|
|
77
|
+
font-weight: 500;
|
|
78
|
+
letter-spacing: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.kup-heading-03 {
|
|
82
|
+
font-family: var(--kup-font-family);
|
|
83
|
+
font-size: 20px;
|
|
84
|
+
line-height: 28px;
|
|
85
|
+
font-weight: 400;
|
|
86
|
+
letter-spacing: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.kup-heading-04 {
|
|
90
|
+
font-family: var(--kup-font-family);
|
|
91
|
+
font-size: 28px;
|
|
92
|
+
line-height: 36px;
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
letter-spacing: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.kup-heading-05 {
|
|
98
|
+
font-family: var(--kup-font-family);
|
|
99
|
+
font-size: 32px;
|
|
100
|
+
line-height: 40px;
|
|
101
|
+
font-weight: 300;
|
|
102
|
+
letter-spacing: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.kup-heading-06 {
|
|
106
|
+
font-family: var(--kup-font-family);
|
|
107
|
+
font-size: 42px;
|
|
108
|
+
line-height: 50px;
|
|
109
|
+
font-weight: 300;
|
|
110
|
+
letter-spacing: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.kup-heading-07 {
|
|
114
|
+
font-family: var(--kup-font-family);
|
|
115
|
+
font-size: 54px;
|
|
116
|
+
line-height: 64px;
|
|
117
|
+
font-weight: 300;
|
|
118
|
+
letter-spacing: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.kup-heading-08 {
|
|
122
|
+
font-family: var(--kup-font-family);
|
|
123
|
+
font-size: 54px;
|
|
124
|
+
line-height: 64px;
|
|
125
|
+
font-weight: 600;
|
|
126
|
+
letter-spacing: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control {
|
|
130
|
+
height: 40px;
|
|
131
|
+
width: 40px;
|
|
132
|
+
}
|