@sme.up/ketchup 6.7.0 → 6.8.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-bf76ab95.js → f-button-229c63fd.js} +1 -1
- package/dist/cjs/{f-cell-b7a1524a.js → f-cell-dd006395.js} +5 -5
- package/dist/cjs/{f-chip-a5e100b1.js → f-chip-f2c369fd.js} +2 -2
- package/dist/cjs/{f-image-d80a2749.js → f-image-847a6ddf.js} +1 -1
- package/dist/cjs/{f-paginator-utils-c70812fe.js → f-paginator-utils-cedc4b3e.js} +2 -2
- package/dist/cjs/{f-text-field-48b8bb16.js → f-text-field-fe85187d.js} +1 -1
- package/dist/cjs/ketchup.cjs.js +2 -2
- package/dist/cjs/kup-accordion.cjs.entry.js +6 -29
- package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3811 -4323
- package/dist/cjs/kup-box.cjs.entry.js +29 -110
- package/dist/cjs/kup-calendar.cjs.entry.js +9 -33
- package/dist/cjs/kup-cell.cjs.entry.js +8 -27
- package/dist/cjs/kup-dash-list.cjs.entry.js +9 -8
- package/dist/cjs/kup-dash_2.cjs.entry.js +6 -34
- package/dist/cjs/kup-dashboard.cjs.entry.js +8 -30
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -18
- package/dist/cjs/kup-echart.cjs.entry.js +15 -76
- package/dist/cjs/kup-family-tree.cjs.entry.js +11 -47
- package/dist/cjs/kup-iframe.cjs.entry.js +4 -16
- package/dist/cjs/kup-image-list.cjs.entry.js +14 -32
- package/dist/cjs/kup-lazy.cjs.entry.js +9 -36
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -24
- package/dist/cjs/{kup-manager-0e38bf48.js → kup-manager-c53468cd.js} +66 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -15
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +13 -56
- package/dist/cjs/kup-photo-frame.cjs.entry.js +8 -30
- package/dist/cjs/kup-probe.cjs.entry.js +12 -32
- package/dist/cjs/kup-qlik.cjs.entry.js +5 -59
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -37
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/kup-accordion/kup-accordion.js +4 -27
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +15 -64
- package/dist/collection/components/kup-badge/kup-badge.js +3 -19
- package/dist/collection/components/kup-box/kup-box.js +22 -103
- package/dist/collection/components/kup-button/kup-button.js +3 -58
- package/dist/collection/components/kup-button-list/kup-button-list.js +3 -38
- package/dist/collection/components/kup-calendar/kup-calendar.js +5 -29
- package/dist/collection/components/kup-card/box/kup-card-box.js +5 -2
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -2
- package/dist/collection/components/kup-card/built-in/kup-card-form.js +11 -0
- package/dist/collection/components/kup-card/kup-card.css +78 -12
- package/dist/collection/components/kup-card/kup-card.js +48 -47
- package/dist/collection/components/kup-cell/kup-cell.js +3 -22
- package/dist/collection/components/kup-chart/kup-chart.js +15 -49
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +3 -38
- package/dist/collection/components/kup-chip/kup-chip.js +3 -19
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +4 -35
- package/dist/collection/components/kup-combobox/kup-combobox.js +10 -42
- package/dist/collection/components/kup-dash/kup-dash.js +2 -14
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +8 -7
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +4 -26
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +9 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +3546 -3385
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +7 -35
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -17
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +12 -63
- package/dist/collection/components/kup-echart/kup-echart.js +14 -75
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +8 -44
- package/dist/collection/components/kup-form/kup-form.js +4 -24
- package/dist/collection/components/kup-gauge/kup-gauge.js +15 -76
- package/dist/collection/components/kup-grid/kup-grid.js +3 -19
- package/dist/collection/components/kup-iframe/kup-iframe.js +3 -15
- package/dist/collection/components/kup-image/kup-image.js +5 -45
- package/dist/collection/components/kup-image-list/kup-image-list.js +8 -26
- package/dist/collection/components/kup-lazy/kup-lazy.js +8 -35
- package/dist/collection/components/kup-list/kup-list.js +5 -68
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -22
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +2 -14
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +11 -54
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +7 -29
- package/dist/collection/components/kup-probe/kup-probe.js +11 -31
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +3 -35
- package/dist/collection/components/kup-qlik/kup-qlik.js +4 -58
- package/dist/collection/components/kup-radio/kup-radio.js +3 -34
- package/dist/collection/components/kup-rating/kup-rating.js +4 -27
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +3 -34
- package/dist/collection/components/kup-spinner/kup-spinner.js +3 -39
- package/dist/collection/components/kup-switch/kup-switch.js +3 -34
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +4 -24
- package/dist/collection/components/kup-text-field/kup-text-field.js +2 -115
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +8 -43
- package/dist/collection/components/kup-tree/kup-tree.js +39 -129
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
- package/dist/esm/{f-button-e79f7594.js → f-button-d1aba968.js} +1 -1
- package/dist/esm/{f-cell-9400374e.js → f-cell-646406bb.js} +5 -5
- package/dist/esm/{f-chip-bf740287.js → f-chip-d94e9e81.js} +2 -2
- package/dist/esm/{f-image-ab3dc8cb.js → f-image-57c88302.js} +1 -1
- package/dist/esm/{f-paginator-utils-6909e43b.js → f-paginator-utils-2c865e9a.js} +2 -2
- package/dist/esm/{f-text-field-4841dfea.js → f-text-field-b0a1fea6.js} +1 -1
- package/dist/esm/ketchup.js +2 -2
- package/dist/esm/kup-accordion.entry.js +6 -29
- package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3811 -4324
- package/dist/esm/kup-box.entry.js +29 -110
- package/dist/esm/kup-calendar.entry.js +9 -33
- package/dist/esm/kup-cell.entry.js +8 -27
- package/dist/esm/kup-dash-list.entry.js +9 -8
- package/dist/esm/kup-dash_2.entry.js +6 -34
- package/dist/esm/kup-dashboard.entry.js +8 -30
- package/dist/esm/kup-drawer.entry.js +3 -18
- package/dist/esm/kup-echart.entry.js +15 -76
- package/dist/esm/kup-family-tree.entry.js +11 -47
- package/dist/esm/kup-iframe.entry.js +4 -16
- package/dist/esm/kup-image-list.entry.js +14 -32
- package/dist/esm/kup-lazy.entry.js +9 -36
- package/dist/esm/kup-magic-box.entry.js +5 -24
- package/dist/esm/{kup-manager-c54e6df5.js → kup-manager-c0fbb180.js} +67 -2
- package/dist/esm/kup-nav-bar.entry.js +3 -15
- package/dist/esm/kup-numeric-picker.entry.js +13 -56
- package/dist/esm/kup-photo-frame.entry.js +8 -30
- package/dist/esm/kup-probe.entry.js +12 -32
- package/dist/esm/kup-qlik.entry.js +5 -59
- package/dist/esm/kup-snackbar.entry.js +6 -37
- package/dist/esm/loader.js +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-30a63b85.entry.js → p-1914969e.entry.js} +1 -1
- package/dist/ketchup/{p-859163c2.entry.js → p-250118e3.entry.js} +1 -1
- package/dist/ketchup/{p-2e184b57.entry.js → p-30766296.entry.js} +1 -1
- package/dist/ketchup/{p-182b869e.entry.js → p-351cecba.entry.js} +1 -1
- package/dist/ketchup/{p-758d03f4.entry.js → p-35e16ea2.entry.js} +1 -1
- package/dist/ketchup/{p-e1d0ea71.js → p-395675b8.js} +1 -1
- package/dist/ketchup/p-3cf97e3a.js +1 -0
- package/dist/ketchup/{p-7e7b6127.entry.js → p-596bdc10.entry.js} +1 -1
- package/dist/ketchup/{p-4f0d3062.js → p-61ff1761.js} +1 -1
- package/dist/ketchup/p-72d4fa26.entry.js +1 -0
- package/dist/ketchup/{p-f9d5e553.entry.js → p-738685f9.entry.js} +1 -1
- package/dist/ketchup/{p-fb4d772a.entry.js → p-7c8c5444.entry.js} +1 -1
- package/dist/ketchup/p-86154e2b.js +1 -0
- package/dist/ketchup/{p-41620707.entry.js → p-9214ef33.entry.js} +1 -1
- package/dist/ketchup/{p-1f5c7f21.entry.js → p-980ed953.entry.js} +1 -1
- package/dist/ketchup/p-991bd70d.entry.js +1 -0
- package/dist/ketchup/{p-bffaef6e.entry.js → p-a1fe329f.entry.js} +1 -1
- package/dist/ketchup/p-a740352c.js +30 -0
- package/dist/ketchup/{p-25bf0cb6.js → p-a992cf87.js} +1 -1
- package/dist/ketchup/{p-313e376b.entry.js → p-b1da1ba7.entry.js} +2 -2
- package/dist/ketchup/{p-4a0ccf18.entry.js → p-cee3635a.entry.js} +1 -1
- package/dist/ketchup/p-d05ed931.entry.js +9 -0
- package/dist/ketchup/{p-8e1fa7a8.entry.js → p-d422151a.entry.js} +2 -2
- package/dist/ketchup/p-e6f19333.entry.js +1 -0
- package/dist/ketchup/p-eb10958a.entry.js +1 -0
- package/dist/ketchup/{p-5bea2971.js → p-ecac6269.js} +1 -1
- package/dist/ketchup/p-f43b445e.entry.js +1 -0
- package/dist/ketchup/{p-6bd57787.entry.js → p-fa37e92e.entry.js} +1 -1
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -2
- package/dist/types/components/kup-card/built-in/kup-card-form.d.ts +3 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +11 -1
- package/dist/types/components/kup-card/kup-card.d.ts +5 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +9 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +41 -202
- package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
- package/dist/types/components.d.ts +55 -2
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +7 -1
- package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/package.json +2 -2
- package/dist/cjs/kup-form.cjs.entry.js +0 -486
- package/dist/esm/kup-form.entry.js +0 -482
- package/dist/ketchup/p-1dfd2a51.js +0 -30
- package/dist/ketchup/p-22ec1ba0.entry.js +0 -9
- package/dist/ketchup/p-260ff835.entry.js +0 -1
- package/dist/ketchup/p-53d3ae80.entry.js +0 -1
- package/dist/ketchup/p-60fa0ccf.entry.js +0 -1
- package/dist/ketchup/p-6333388c.js +0 -1
- package/dist/ketchup/p-8386e3db.entry.js +0 -1
- package/dist/ketchup/p-90860d9e.entry.js +0 -1
- package/dist/ketchup/p-b7fdc7aa.entry.js +0 -1
- package/dist/ketchup/p-c35c5e05.js +0 -1
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ffdb46f6.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
6
|
+
const kupManager = require('./kup-manager-c53468cd.js');
|
|
7
|
+
const fPaginatorUtils = require('./f-paginator-utils-cedc4b3e.js');
|
|
8
|
+
const fImage = require('./f-image-847a6ddf.js');
|
|
9
|
+
const fChip = require('./f-chip-f2c369fd.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-dd006395.js');
|
|
12
12
|
const fTextFieldMdc = require('./f-text-field-mdc-85997738.js');
|
|
13
|
-
require('./f-button-
|
|
13
|
+
require('./f-button-229c63fd.js');
|
|
14
14
|
require('./f-button-declarations-b611587f.js');
|
|
15
15
|
require('./f-checkbox-1097ca5d.js');
|
|
16
|
-
require('./f-text-field-
|
|
16
|
+
require('./f-text-field-fe85187d.js');
|
|
17
17
|
require('./tslib.es6-0ee02c67.js');
|
|
18
18
|
require('./component-72a5b626.js');
|
|
19
19
|
|
|
@@ -80,136 +80,55 @@ const KupBox = class {
|
|
|
80
80
|
this.kupDidLoad = index.createEvent(this, "kup-box-didload", 6);
|
|
81
81
|
this.kupDidUnload = index.createEvent(this, "kup-box-didunload", 6);
|
|
82
82
|
this.kupBoxContextMenu = index.createEvent(this, "kup-box-contextmenu", 6);
|
|
83
|
+
this.state = new KupBoxState();
|
|
83
84
|
/*-------------------------------------------------*/
|
|
84
|
-
/*
|
|
85
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
85
86
|
/*-------------------------------------------------*/
|
|
87
|
+
/**
|
|
88
|
+
* Instance of the KupManager class.
|
|
89
|
+
*/
|
|
90
|
+
this.kupManager = kupManager.kupManagerInstance();
|
|
91
|
+
this.visibleColumns = [];
|
|
92
|
+
this.rows = [];
|
|
93
|
+
this.filteredRows = [];
|
|
94
|
+
this.sectionRef = null;
|
|
95
|
+
this.rowsRefs = [];
|
|
96
|
+
this.hold = false;
|
|
97
|
+
this.interactableDrag = [];
|
|
98
|
+
this.interactableDrop = [];
|
|
99
|
+
this.interactableTouch = [];
|
|
86
100
|
this.collapsedSection = {};
|
|
87
101
|
this.selectedRows = [];
|
|
102
|
+
this.rowActionMenuOpened = undefined;
|
|
88
103
|
this.currentPage = 1;
|
|
89
104
|
this.currentRowsPerPage = 10;
|
|
90
|
-
this.state = new KupBoxState();
|
|
91
|
-
/*-------------------------------------------------*/
|
|
92
|
-
/* P r o p s */
|
|
93
|
-
/*-------------------------------------------------*/
|
|
94
|
-
/**
|
|
95
|
-
* Data of the card linked to the box when the latter's layout must be a premade template.
|
|
96
|
-
* @default null
|
|
97
|
-
*/
|
|
98
105
|
this.cardData = null;
|
|
99
|
-
/**
|
|
100
|
-
* Number of columns
|
|
101
|
-
* @default 1
|
|
102
|
-
*/
|
|
103
106
|
this.columns = 1;
|
|
104
|
-
/**
|
|
105
|
-
* Custom style of the component.
|
|
106
|
-
* @default ""
|
|
107
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
108
|
-
*/
|
|
109
107
|
this.customStyle = '';
|
|
110
|
-
/**
|
|
111
|
-
* Actual data of the box.
|
|
112
|
-
* @default null
|
|
113
|
-
*/
|
|
114
108
|
this.data = null;
|
|
115
|
-
/**
|
|
116
|
-
* Enable dragging
|
|
117
|
-
* @default false
|
|
118
|
-
*/
|
|
119
109
|
this.dragEnabled = false;
|
|
120
|
-
/**
|
|
121
|
-
* Enable dropping
|
|
122
|
-
* @default false
|
|
123
|
-
*/
|
|
124
110
|
this.dropEnabled = false;
|
|
125
|
-
/**
|
|
126
|
-
* Drop can be done in section
|
|
127
|
-
* @default false
|
|
128
|
-
*/
|
|
129
111
|
this.dropOnSection = false;
|
|
130
|
-
/**
|
|
131
|
-
* When set to true, editable cells will be rendered using input components.
|
|
132
|
-
* @default false
|
|
133
|
-
*/
|
|
134
112
|
this.editableData = false;
|
|
135
|
-
/**
|
|
136
|
-
* If enabled, a button to load / display the row actions
|
|
137
|
-
* will be displayed on the right of every box
|
|
138
|
-
* @default false
|
|
139
|
-
*/
|
|
140
113
|
this.enableRowActions = false;
|
|
141
|
-
/**
|
|
142
|
-
* When set to true it activates the global filter.
|
|
143
|
-
* @default false
|
|
144
|
-
*/
|
|
145
114
|
this.globalFilter = false;
|
|
146
|
-
/**
|
|
147
|
-
* The value of the global filter.
|
|
148
|
-
* @default ""
|
|
149
|
-
*/
|
|
150
115
|
this.globalFilterValue = '';
|
|
151
|
-
/**
|
|
152
|
-
* Displays the boxlist as a Kanban.
|
|
153
|
-
* @default null
|
|
154
|
-
*/
|
|
155
116
|
this.kanban = null;
|
|
156
|
-
|
|
157
|
-
* Enable multi selection
|
|
158
|
-
* @default false
|
|
159
|
-
*/
|
|
117
|
+
this.layout = undefined;
|
|
160
118
|
this.multiSelection = false;
|
|
161
|
-
/**
|
|
162
|
-
* Current page number
|
|
163
|
-
* @default 1
|
|
164
|
-
*/
|
|
165
119
|
this.pageSelected = 1;
|
|
166
|
-
/**
|
|
167
|
-
* Number of boxes per page
|
|
168
|
-
* @default 10
|
|
169
|
-
*/
|
|
170
120
|
this.pageSize = 10;
|
|
171
|
-
/**
|
|
172
|
-
* Enables pagination
|
|
173
|
-
* @default false
|
|
174
|
-
*/
|
|
175
121
|
this.pagination = false;
|
|
176
|
-
|
|
177
|
-
* Activates the scroll on hover function.
|
|
178
|
-
* @default false
|
|
179
|
-
*/
|
|
122
|
+
this.rowsPerPage = undefined;
|
|
180
123
|
this.scrollOnHover = false;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
* @default true
|
|
184
|
-
*/
|
|
124
|
+
this.selectBox = undefined;
|
|
125
|
+
this.selectedRowsState = undefined;
|
|
185
126
|
this.showSelection = true;
|
|
186
|
-
|
|
187
|
-
* Enable sorting
|
|
188
|
-
* @default false
|
|
189
|
-
*/
|
|
127
|
+
this.sortBy = undefined;
|
|
190
128
|
this.sortEnabled = false;
|
|
191
129
|
this.stateId = '';
|
|
192
|
-
|
|
193
|
-
* Disable swipe
|
|
194
|
-
* @default false
|
|
195
|
-
*/
|
|
130
|
+
this.store = undefined;
|
|
196
131
|
this.swipeDisabled = false;
|
|
197
|
-
/*-------------------------------------------------*/
|
|
198
|
-
/* I n t e r n a l V a r i a b l e s */
|
|
199
|
-
/*-------------------------------------------------*/
|
|
200
|
-
/**
|
|
201
|
-
* Instance of the KupManager class.
|
|
202
|
-
*/
|
|
203
|
-
this.kupManager = kupManager.kupManagerInstance();
|
|
204
|
-
this.visibleColumns = [];
|
|
205
|
-
this.rows = [];
|
|
206
|
-
this.filteredRows = [];
|
|
207
|
-
this.sectionRef = null;
|
|
208
|
-
this.rowsRefs = [];
|
|
209
|
-
this.hold = false;
|
|
210
|
-
this.interactableDrag = [];
|
|
211
|
-
this.interactableDrop = [];
|
|
212
|
-
this.interactableTouch = [];
|
|
213
132
|
}
|
|
214
133
|
initWithPersistedState() {
|
|
215
134
|
if (this.store && this.stateId) {
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ffdb46f6.js');
|
|
6
6
|
const tslib_es6 = require('./tslib.es6-0ee02c67.js');
|
|
7
|
-
const kupManager = require('./kup-manager-
|
|
7
|
+
const kupManager = require('./kup-manager-c53468cd.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
9
|
-
const fButton = require('./f-button-
|
|
10
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fButton = require('./f-button-229c63fd.js');
|
|
10
|
+
const fChip = require('./f-chip-f2c369fd.js');
|
|
11
11
|
require('./f-button-declarations-b611587f.js');
|
|
12
|
-
require('./f-image-
|
|
12
|
+
require('./f-image-847a6ddf.js');
|
|
13
13
|
|
|
14
14
|
var n,l,u$1,t,o,r$1,f$1,e$1={},c$1=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a$1(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n);}function v$1(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return y(l,f,t,o,null)}function y(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$1:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function p(){return {current:null}}function d(n){return n.children}function _(n,l){this.props=n,this.context=l;}function k(n,l){if(null==l)return n.__?k(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?k(n):null}function b$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return b$1(n)}}function m(n){(!n.__d&&(n.__d=!0)&&t.push(n)&&!g$1.__r++||r$1!==l.debounceRendering)&&((r$1=l.debounceRendering)||o)(g$1);}function g$1(){for(var n;g$1.__r=t.length;)n=t.sort(function(n,l){return n.__v.__b-l.__v.__b}),t=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=a$1({},t)).__v=t.__v+1,j$2(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?k(t):o,t.__h),z$1(u,t),t.__e!=o&&b$1(t)));});}function w$1(n,l,u,i,t,o,r,f,s,a){var h,v,p,_,b,m,g,w=i&&i.__k||c$1,A=w.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(_=u.__k[h]=null==(_=l[h])||"boolean"==typeof _?null:"string"==typeof _||"number"==typeof _||"bigint"==typeof _?y(null,_,null,null,_):Array.isArray(_)?y(d,{children:_},null,null,null):_.__b>0?y(_.type,_.props,_.key,null,_.__v):_)){if(_.__=u,_.__b=u.__b+1,null===(p=w[h])||p&&_.key==p.key&&_.type===p.type)w[h]=void 0;else for(v=0;v<A;v++){if((p=w[v])&&_.key==p.key&&_.type===p.type){w[v]=void 0;break}p=null;}j$2(n,_,p=p||e$1,t,o,r,f,s,a),b=_.__e,(v=_.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,_),g.push(v,_.__c||b,_)),null!=b?(null==m&&(m=b),"function"==typeof _.type&&_.__k===p.__k?_.__d=s=x$1(_,s,n):s=P$1(n,_,p,w,b,s),"function"==typeof u.type&&(u.__d=s)):s&&p.__e==s&&s.parentNode!=n&&(s=k(p));}for(u.__e=m,h=A;h--;)null!=w[h]&&("function"==typeof u.type&&null!=w[h].__e&&w[h].__e==u.__d&&(u.__d=k(i,h+1)),N(w[h],w[h]));if(g)for(h=0;h<g.length;h++)M$1(g[h],g[++h],g[++h]);}function x$1(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?x$1(i,l,u):P$1(u,i,i,t,i.__e,l));return l}function A$1(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){A$1(n,l);}):l.push(n)),l}function P$1(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=2)if(f==t)break n;n.insertBefore(t,o),r=o;}return void 0!==r?r:t.nextSibling}function C$1(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H$1(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H$1(n,o,l[o],u[o],i);}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||s.test(l)?u:u+"px";}function H$1(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T$1:I$1,o):n.removeEventListener(l,o?T$1:I$1,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function I$1(n){this.l[n.type+!1](l.event?l.event(n):n);}function T$1(n){this.l[n.type+!0](l.event?l.event(n):n);}function j$2(n,u,i,t,o,r,f,e,c){var s,h,v,y,p,k,b,m,g,x,A,P=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(s=l.__b)&&s(u);try{n:if("function"==typeof P){if(m=u.props,g=(s=P.contextType)&&t[s.__c],x=s?g?g.props.value:s.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in P&&P.prototype.render?u.__c=h=new P(m,x):(u.__c=h=new _(m,x),h.constructor=P,h.render=O$1),g&&g.sub(h),h.props=m,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=a$1({},h.__s)),a$1(h.__s,P.getDerivedStateFromProps(m,h.__s))),y=h.props,p=h.state,v)null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==P.getDerivedStateFromProps&&m!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,x)||u.__v===i.__v){h.props=m,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,p,k);});}h.context=x,h.props=m,h.state=h.__s,(s=l.__r)&&s(u),h.__d=!1,h.__v=u,h.__P=n,s=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(t=a$1(a$1({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,p)),A=null!=s&&s.type===d&&null==s.key?s.props.children:s,w$1(n,Array.isArray(A)?A:[A],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L$1(i.__e,u,i,t,o,r,f,c);(s=l.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l.__e(n,u,i);}}function z$1(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l.__e(n,u.__v);}});}function L$1(l,u,i,t,o,r,f,c){var s,a,v,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(o=!0),null!=r)for(;_<r.length;_++)if((s=r[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1;}if(null===d)y===p||c&&l.data===p||(l.data=p);else {if(r=r&&n.call(l.childNodes),a=(y=i.props||e$1).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(v||a)&&(v&&(a&&v.__html==a.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(C$1(l,p,y,o,c),v)u.__k=[];else if(_=u.props.children,w$1(l,Array.isArray(_)?_:[_],u,i,t,o&&"foreignObject"!==d,r,f,r?r[0]:i.__k&&k(i,0),c),null!=r)for(_=r.length;_--;)null!=r[_]&&h(r[_]);c||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&H$1(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&H$1(l,"checked",_,y.checked,!1));}return l}function M$1(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l.__e(n,i);}}function N(n,u,i){var t,o;if(l.unmount&&l.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M$1(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l.__e(n,u);}t.base=t.__P=null;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,"function"!=typeof n.type);i||null==n.__e||h(n.__e),n.__e=n.__d=void 0;}function O$1(n,l,u){return this.constructor(n,u)}function S$1(u,i,t){var o,r,f;l.__&&l.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,f=[],j$2(i,u=(!o&&t||i).__k=v$1(d,null,[u]),r||e$1,e$1,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,f,!o&&t?t:r?r.__e:i.firstChild,o),z$1(f,u);}function D$1(n,l){var u={__c:l="__cC"+f$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(m);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=c$1.slice,l={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,_.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a$1({},this.state),"function"==typeof n&&(n=n(a$1({},u),this.props)),n&&a$1(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),m(this));},_.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),m(this));},_.prototype.render=d,t=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,g$1.__r=0,f$1=0;
|
|
15
15
|
|
|
@@ -14317,35 +14317,6 @@ const KupCalendar = class {
|
|
|
14317
14317
|
this.kupCalendarDateClick = index.createEvent(this, "kup-calendar-dateclick", 6);
|
|
14318
14318
|
this.kupCalendarEventDrop = index.createEvent(this, "kup-calendar-eventdrop", 6);
|
|
14319
14319
|
this.kupCalendarViewChange = index.createEvent(this, "kup-calendar-viewchange", 6);
|
|
14320
|
-
/*-------------------------------------------------*/
|
|
14321
|
-
/* P r o p s */
|
|
14322
|
-
/*-------------------------------------------------*/
|
|
14323
|
-
/**
|
|
14324
|
-
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
14325
|
-
* @default null
|
|
14326
|
-
*/
|
|
14327
|
-
this.currentDate = null;
|
|
14328
|
-
/**
|
|
14329
|
-
* Custom style of the component.
|
|
14330
|
-
* @default ""
|
|
14331
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
14332
|
-
*/
|
|
14333
|
-
this.customStyle = '';
|
|
14334
|
-
/**
|
|
14335
|
-
* Actual data of the calendar.
|
|
14336
|
-
* @default null
|
|
14337
|
-
*/
|
|
14338
|
-
this.data = null;
|
|
14339
|
-
/**
|
|
14340
|
-
* When disabled, the navigation toolbar won't be displayed.
|
|
14341
|
-
* @default false
|
|
14342
|
-
*/
|
|
14343
|
-
this.hideNavigation = false;
|
|
14344
|
-
/**
|
|
14345
|
-
* Type of the view.
|
|
14346
|
-
* @default KupCalendarViewTypes.MONTH
|
|
14347
|
-
*/
|
|
14348
|
-
this.viewType = KupCalendarViewTypes.MONTH;
|
|
14349
14320
|
this.calendarContainer = null;
|
|
14350
14321
|
this.kupManager = kupManager.kupManagerInstance();
|
|
14351
14322
|
this.navTitle = null;
|
|
@@ -14357,6 +14328,11 @@ const KupCalendar = class {
|
|
|
14357
14328
|
this.imageCol = null;
|
|
14358
14329
|
this.startCol = null;
|
|
14359
14330
|
this.styleCol = null;
|
|
14331
|
+
this.currentDate = null;
|
|
14332
|
+
this.customStyle = '';
|
|
14333
|
+
this.data = null;
|
|
14334
|
+
this.hideNavigation = false;
|
|
14335
|
+
this.viewType = KupCalendarViewTypes.MONTH;
|
|
14360
14336
|
}
|
|
14361
14337
|
/*-------------------------------------------------*/
|
|
14362
14338
|
/* W a t c h e r s */
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ffdb46f6.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-c53468cd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
|
-
const fCell = require('./f-cell-
|
|
8
|
+
const fCell = require('./f-cell-dd006395.js');
|
|
9
9
|
require('./f-checkbox-1097ca5d.js');
|
|
10
|
-
require('./f-text-field-
|
|
11
|
-
require('./f-image-
|
|
12
|
-
require('./f-chip-
|
|
10
|
+
require('./f-text-field-fe85187d.js');
|
|
11
|
+
require('./f-image-847a6ddf.js');
|
|
12
|
+
require('./f-chip-f2c369fd.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Props of the kup-cell component.
|
|
@@ -29,35 +29,16 @@ const KupCell = class {
|
|
|
29
29
|
constructor(hostRef) {
|
|
30
30
|
index.registerInstance(this, hostRef);
|
|
31
31
|
/*-------------------------------------------------*/
|
|
32
|
-
/*
|
|
32
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
33
33
|
/*-------------------------------------------------*/
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @default ""
|
|
37
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
35
|
+
* Instance of the KupManager class.
|
|
38
36
|
*/
|
|
37
|
+
this.kupManager = kupManager.kupManagerInstance();
|
|
39
38
|
this.customStyle = '';
|
|
40
|
-
/**
|
|
41
|
-
* The data of the cell.
|
|
42
|
-
* @default false
|
|
43
|
-
*/
|
|
44
39
|
this.data = null;
|
|
45
|
-
/**
|
|
46
|
-
* The density of the cell, defaults at 'dense' and can be also set to 'wide' or 'medium'.
|
|
47
|
-
*/
|
|
48
40
|
this.density = kupManager.FCellPadding.NONE;
|
|
49
|
-
/**
|
|
50
|
-
* When set to true, the component is draggable.
|
|
51
|
-
* @default false
|
|
52
|
-
*/
|
|
53
41
|
this.dragEnabled = false;
|
|
54
|
-
/*-------------------------------------------------*/
|
|
55
|
-
/* I n t e r n a l V a r i a b l e s */
|
|
56
|
-
/*-------------------------------------------------*/
|
|
57
|
-
/**
|
|
58
|
-
* Instance of the KupManager class.
|
|
59
|
-
*/
|
|
60
|
-
this.kupManager = kupManager.kupManagerInstance();
|
|
61
42
|
}
|
|
62
43
|
/*-------------------------------------------------*/
|
|
63
44
|
/* P u b l i c M e t h o d s */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ffdb46f6.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-c53468cd.js');
|
|
7
7
|
|
|
8
8
|
const kupDashListCss = ".horizontal{display:inline-block;min-width:300px;max-width:100%;overflow:visible;white-space:nowrap;border:solid;border-width:1px;margin:2px}";
|
|
9
9
|
|
|
@@ -11,6 +11,13 @@ const KupDashList = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.dashClick = index.createEvent(this, "kup-dash-click", 7);
|
|
14
|
+
/*-------------------------------------------------*/
|
|
15
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
16
|
+
/*-------------------------------------------------*/
|
|
17
|
+
/**
|
|
18
|
+
* Instance of the KupManager class.
|
|
19
|
+
*/
|
|
20
|
+
this.kupManager = kupManager.kupManagerInstance();
|
|
14
21
|
this.layout = '1';
|
|
15
22
|
this.fontsize = '';
|
|
16
23
|
this.active = false;
|
|
@@ -20,13 +27,7 @@ const KupDashList = class {
|
|
|
20
27
|
this.iconColor = [];
|
|
21
28
|
this.valueColor = [];
|
|
22
29
|
this.textColor = [];
|
|
23
|
-
|
|
24
|
-
/* I n t e r n a l V a r i a b l e s */
|
|
25
|
-
/*-------------------------------------------------*/
|
|
26
|
-
/**
|
|
27
|
-
* Instance of the KupManager class.
|
|
28
|
-
*/
|
|
29
|
-
this.kupManager = kupManager.kupManagerInstance();
|
|
30
|
+
this.data = undefined;
|
|
30
31
|
}
|
|
31
32
|
render() {
|
|
32
33
|
let rows = [];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ffdb46f6.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-c53468cd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
const kupDashCss = "#dash{color:var(--kup-text-color);font-size:2vw;display:flex;align-items:center;justify-content:center;position:relative;text-align:center;position:relative;word-break:normal}#dash.with-dyn{cursor:pointer}#dash #content .icon{margin:auto;font-size:90%}#dash #content.layout-1,#dash #content.layout-3{text-align:center}#dash #content.layout-1 .descr,#dash #content.layout-3 .descr{font-size:70%;width:100%}#dash #content.layout-1 .value,#dash #content.layout-3 .value{font-size:220%}#dash #content.layout-2>div{display:flex}#dash #content.layout-2>div .icon{margin:auto;font-size:150%;margin-right:5%}#dash #content.layout-2>div .value-int{font-size:250%}#dash #content.layout-2>div .value-dec,#dash #content.layout-2>div .unit{font-size:130%;margin-top:auto;margin-bottom:7%}#dash #content.layout-2>div .value-dec{margin-left:2%}#dash #content.layout-2>div .unit{margin-left:4%}#dash #content.layout-4>div{display:grid;grid-template-columns:2fr 5fr}#dash #content.layout-4>div .icon{margin:auto;font-size:150%;margin-right:5%}#dash #content.layout-4>div .value-and-unit{display:flex}#dash #content.layout-4>div .value-and-unit .value-int{font-size:250%}#dash #content.layout-4>div .value-and-unit .value-dec,#dash #content.layout-4>div .value-and-unit .unit{font-size:130%;margin-top:auto;margin-bottom:7%}#dash #content.layout-4>div .value-and-unit .value-dec{margin-left:2%}#dash #content.layout-4>div .value-and-unit .unit{margin-left:4%}#dash #content.layout-4>div .descr{margin-left:4%;text-align:left;font-size:80%;width:100%;min-width:max-content}#dash #content.layout-5>div,#dash #content.layout-7>div{display:flex}#dash #content.layout-5>div .icon,#dash #content.layout-7>div .icon{font-size:150%;margin:auto;margin-left:10%}#dash #content.layout-5>div .value,#dash #content.layout-7>div .value{font-size:200%}#dash #content.layout-5>div .descr,#dash #content.layout-7>div .descr{text-align:right;font-size:65%;width:100%;min-width:max-content}#dash #content.layout-6>div{display:flex;justify-content:space-between}#dash #content.layout-6>div .icon{font-size:150%;margin-right:10%}#dash #content.layout-6>div .value{font-size:220%;text-align:right}#dash #content.layout-6>div .descr{font-size:80%;text-align:right;width:100%;min-width:max-content}#dash #content.layout-8>div{display:flex;align-items:center}#dash #content.layout-8>div .icon{margin-right:4%;font-size:75%}#dash #content.layout-8>div .value{margin:0 10%;font-size:250%}#dash #content.layout-8>div .descr{font-size:60%;text-align:left}";
|
|
@@ -13,25 +13,13 @@ const KupDash = class {
|
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
14
|
this.dashClick = index.createEvent(this, "kup-dash-click", 6);
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Instance of the KupManager class.
|
|
17
17
|
*/
|
|
18
|
+
this.kupManager = kupManager.kupManagerInstance();
|
|
18
19
|
this.active = false;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the font size of the component.
|
|
21
|
-
*/
|
|
22
20
|
this.fontsize = '';
|
|
23
|
-
/**
|
|
24
|
-
* Sets the layout of the component.
|
|
25
|
-
*/
|
|
26
21
|
this.layout = '1';
|
|
27
|
-
/**
|
|
28
|
-
* No idea what this is about.
|
|
29
|
-
*/
|
|
30
22
|
this.index = 0;
|
|
31
|
-
/**
|
|
32
|
-
* Instance of the KupManager class.
|
|
33
|
-
*/
|
|
34
|
-
this.kupManager = kupManager.kupManagerInstance();
|
|
35
23
|
}
|
|
36
24
|
onDshClickHandler() {
|
|
37
25
|
this.dashClick.emit({
|
|
@@ -104,31 +92,15 @@ const KupGrid = class {
|
|
|
104
92
|
constructor(hostRef) {
|
|
105
93
|
index.registerInstance(this, hostRef);
|
|
106
94
|
/*-------------------------------------------------*/
|
|
107
|
-
/* P r o p s */
|
|
108
|
-
/*-------------------------------------------------*/
|
|
109
|
-
/**
|
|
110
|
-
* The number of columns displayed by the grid, the default behavior is 12.
|
|
111
|
-
* @default 12
|
|
112
|
-
*/
|
|
113
|
-
this.columns = 12;
|
|
114
|
-
/**
|
|
115
|
-
* Custom style of the component.
|
|
116
|
-
* @default ""
|
|
117
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
118
|
-
*/
|
|
119
|
-
this.customStyle = '';
|
|
120
|
-
/**
|
|
121
|
-
* When set to true, forces the content on a single line.
|
|
122
|
-
* @default false
|
|
123
|
-
*/
|
|
124
|
-
this.singleLine = false;
|
|
125
|
-
/*-------------------------------------------------*/
|
|
126
95
|
/* I n t e r n a l V a r i a b l e s */
|
|
127
96
|
/*-------------------------------------------------*/
|
|
128
97
|
/**
|
|
129
98
|
* Instance of the KupManager class.
|
|
130
99
|
*/
|
|
131
100
|
this.kupManager = kupManager.kupManagerInstance();
|
|
101
|
+
this.columns = 12;
|
|
102
|
+
this.customStyle = '';
|
|
103
|
+
this.singleLine = false;
|
|
132
104
|
}
|
|
133
105
|
/*-------------------------------------------------*/
|
|
134
106
|
/* P u b l i c M e t h o d s */
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ffdb46f6.js');
|
|
6
|
-
const fButton = require('./f-button-
|
|
6
|
+
const fButton = require('./f-button-229c63fd.js');
|
|
7
7
|
const fCheckbox = require('./f-checkbox-1097ca5d.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-fe85187d.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-85997738.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-c53468cd.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
12
12
|
require('./f-button-declarations-b611587f.js');
|
|
13
|
-
require('./f-image-
|
|
13
|
+
require('./f-image-847a6ddf.js');
|
|
14
14
|
require('./tslib.es6-0ee02c67.js');
|
|
15
15
|
require('./component-72a5b626.js');
|
|
16
16
|
|
|
@@ -32,32 +32,6 @@ const KupDashboard = class {
|
|
|
32
32
|
index.registerInstance(this, hostRef);
|
|
33
33
|
this.kupSave = index.createEvent(this, "kup-dashboard-save", 6);
|
|
34
34
|
/*-------------------------------------------------*/
|
|
35
|
-
/* S t a t e s */
|
|
36
|
-
/*-------------------------------------------------*/
|
|
37
|
-
/**
|
|
38
|
-
* Force render component by internal event.
|
|
39
|
-
*/
|
|
40
|
-
this.resetInternalData = false;
|
|
41
|
-
/*-------------------------------------------------*/
|
|
42
|
-
/* P r o p s */
|
|
43
|
-
/*-------------------------------------------------*/
|
|
44
|
-
/**
|
|
45
|
-
* Custom style of the component.
|
|
46
|
-
* @default ""
|
|
47
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
48
|
-
*/
|
|
49
|
-
this.customStyle = '';
|
|
50
|
-
/**
|
|
51
|
-
* The data of the component.
|
|
52
|
-
* @default null
|
|
53
|
-
*/
|
|
54
|
-
this.data = null;
|
|
55
|
-
/**
|
|
56
|
-
* Enable drag & drop of the section.
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
|
-
this.enableDesign = false;
|
|
60
|
-
/*-------------------------------------------------*/
|
|
61
35
|
/* I n t e r n a l V a r i a b l e s */
|
|
62
36
|
/*-------------------------------------------------*/
|
|
63
37
|
/**
|
|
@@ -72,6 +46,10 @@ const KupDashboard = class {
|
|
|
72
46
|
* Internal data backup of the component for refresh when changed content by drag&drop.
|
|
73
47
|
*/
|
|
74
48
|
this.internalDataBackup = null;
|
|
49
|
+
this.resetInternalData = false;
|
|
50
|
+
this.customStyle = '';
|
|
51
|
+
this.data = null;
|
|
52
|
+
this.enableDesign = false;
|
|
75
53
|
}
|
|
76
54
|
onKupSave() {
|
|
77
55
|
this.kupSave.emit({
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ffdb46f6.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-c53468cd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
const drawerClass = 'drawer';
|
|
@@ -26,29 +26,14 @@ const KupDrawer = class {
|
|
|
26
26
|
this.kupDrawerOpen = index.createEvent(this, "kup-drawer-open", 6);
|
|
27
27
|
this.kupDrawerReady = index.createEvent(this, "kup-drawer-ready", 6);
|
|
28
28
|
/*-------------------------------------------------*/
|
|
29
|
-
/* S t a t e s */
|
|
30
|
-
/*-------------------------------------------------*/
|
|
31
|
-
/**
|
|
32
|
-
* True when the drawer is open.
|
|
33
|
-
* @default false
|
|
34
|
-
*/
|
|
35
|
-
this.opened = false;
|
|
36
|
-
/*-------------------------------------------------*/
|
|
37
|
-
/* P r o p s */
|
|
38
|
-
/*-------------------------------------------------*/
|
|
39
|
-
/**
|
|
40
|
-
* Custom style of the component.
|
|
41
|
-
* @default ""
|
|
42
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
43
|
-
*/
|
|
44
|
-
this.customStyle = '';
|
|
45
|
-
/*-------------------------------------------------*/
|
|
46
29
|
/* I n t e r n a l V a r i a b l e s */
|
|
47
30
|
/*-------------------------------------------------*/
|
|
48
31
|
/**
|
|
49
32
|
* Instance of the KupManager class.
|
|
50
33
|
*/
|
|
51
34
|
this.kupManager = kupManager.kupManagerInstance();
|
|
35
|
+
this.opened = false;
|
|
36
|
+
this.customStyle = '';
|
|
52
37
|
}
|
|
53
38
|
/*-------------------------------------------------*/
|
|
54
39
|
/* P u b l i c M e t h o d s */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ffdb46f6.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-c53468cd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
/*! *****************************************************************************
|
|
@@ -93334,81 +93334,6 @@ const KupEchart = class {
|
|
|
93334
93334
|
this.kupEchartClick = index.createEvent(this, "kup-echart-click", 6);
|
|
93335
93335
|
_KupEchart_instances.add(this);
|
|
93336
93336
|
/*-------------------------------------------------*/
|
|
93337
|
-
/* P r o p s */
|
|
93338
|
-
/*-------------------------------------------------*/
|
|
93339
|
-
/**
|
|
93340
|
-
* Sets the axis of the chart.
|
|
93341
|
-
* @default ""
|
|
93342
|
-
*/
|
|
93343
|
-
this.axis = '';
|
|
93344
|
-
/**
|
|
93345
|
-
* Overrides theme's colors.
|
|
93346
|
-
* @default []
|
|
93347
|
-
*/
|
|
93348
|
-
this.colors = [];
|
|
93349
|
-
/**
|
|
93350
|
-
* When true, performs checks in order to properly initialize props which could be missing (i.e.: axis).
|
|
93351
|
-
* For performances purposes, this prop will run only once when the component is initially created.
|
|
93352
|
-
* @default false
|
|
93353
|
-
*/
|
|
93354
|
-
this.consistencyCheck = false;
|
|
93355
|
-
/**
|
|
93356
|
-
* Title of the graph.
|
|
93357
|
-
* @default null
|
|
93358
|
-
*/
|
|
93359
|
-
this.chartTitle = null;
|
|
93360
|
-
/**
|
|
93361
|
-
* Custom style of the component.
|
|
93362
|
-
* @default ""
|
|
93363
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
93364
|
-
*/
|
|
93365
|
-
this.customStyle = '';
|
|
93366
|
-
/**
|
|
93367
|
-
* The actual data of the chart.
|
|
93368
|
-
* @default null
|
|
93369
|
-
*/
|
|
93370
|
-
this.data = null;
|
|
93371
|
-
/**
|
|
93372
|
-
* Sets the position of the legend. Supported values: bottom, left, right, top, hidden. Keep in mind that legend types are tied to chart types, some combinations might not work.
|
|
93373
|
-
* @default KupEchartLegendPlacement.RIGHT
|
|
93374
|
-
*/
|
|
93375
|
-
this.legend = KupEchartLegendPlacement.RIGHT;
|
|
93376
|
-
/**
|
|
93377
|
-
* Choose which map you want to view, supported values: "europe", "africa", "asia", "oceania", "america", "italy" and "world". It's possible to supply a custom JSON too.
|
|
93378
|
-
* @default null
|
|
93379
|
-
*/
|
|
93380
|
-
this.map = null;
|
|
93381
|
-
/**
|
|
93382
|
-
* The data series to be displayed. They must be of the same type.
|
|
93383
|
-
* @default []
|
|
93384
|
-
*/
|
|
93385
|
-
this.series = [];
|
|
93386
|
-
/**
|
|
93387
|
-
* The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
93388
|
-
* @default "100%"
|
|
93389
|
-
*/
|
|
93390
|
-
this.sizeX = '100%';
|
|
93391
|
-
/**
|
|
93392
|
-
* The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.).
|
|
93393
|
-
* @default "100%"
|
|
93394
|
-
*/
|
|
93395
|
-
this.sizeY = '100%';
|
|
93396
|
-
/**
|
|
93397
|
-
* The type of the chart. Supported formats: Bar, Gaussian, Line, Pie, Map and Scatter.
|
|
93398
|
-
* @default [KupEchartTypes.LINE]
|
|
93399
|
-
*/
|
|
93400
|
-
this.types = [KupEchartTypes.LINE];
|
|
93401
|
-
/**
|
|
93402
|
-
* Customization options for the x Axis.
|
|
93403
|
-
* @default null
|
|
93404
|
-
*/
|
|
93405
|
-
this.xAxis = null;
|
|
93406
|
-
/**
|
|
93407
|
-
* Customization options for the y Axis.
|
|
93408
|
-
* @default null
|
|
93409
|
-
*/
|
|
93410
|
-
this.yAxis = null;
|
|
93411
|
-
/*-------------------------------------------------*/
|
|
93412
93337
|
/* I n t e r n a l V a r i a b l e s */
|
|
93413
93338
|
/*-------------------------------------------------*/
|
|
93414
93339
|
_KupEchart_chartContainer.set(this, void 0);
|
|
@@ -93425,6 +93350,20 @@ const KupEchart = class {
|
|
|
93425
93350
|
_KupEchart_maxColorHeatMap.set(this, null);
|
|
93426
93351
|
_KupEchart_themeFont.set(this, null);
|
|
93427
93352
|
_KupEchart_themeText.set(this, null);
|
|
93353
|
+
this.axis = '';
|
|
93354
|
+
this.colors = [];
|
|
93355
|
+
this.consistencyCheck = false;
|
|
93356
|
+
this.chartTitle = null;
|
|
93357
|
+
this.customStyle = '';
|
|
93358
|
+
this.data = null;
|
|
93359
|
+
this.legend = KupEchartLegendPlacement.RIGHT;
|
|
93360
|
+
this.map = null;
|
|
93361
|
+
this.series = [];
|
|
93362
|
+
this.sizeX = '100%';
|
|
93363
|
+
this.sizeY = '100%';
|
|
93364
|
+
this.types = [KupEchartTypes.LINE];
|
|
93365
|
+
this.xAxis = null;
|
|
93366
|
+
this.yAxis = null;
|
|
93428
93367
|
}
|
|
93429
93368
|
/*-------------------------------------------------*/
|
|
93430
93369
|
/* P u b l i c M e t h o d s */
|