@sme.up/ketchup 6.5.0 → 6.7.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/README.md +7 -1
- package/dist/cjs/{f-button-4e2a0bb6.js → f-button-bf76ab95.js} +2 -2
- package/dist/cjs/{f-cell-1fc8a8b6.js → f-cell-b7a1524a.js} +25 -23
- package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
- package/dist/cjs/{f-chip-7867f17b.js → f-chip-a5e100b1.js} +3 -3
- package/dist/cjs/{f-image-6b7a6168.js → f-image-d80a2749.js} +2 -2
- package/dist/cjs/{f-paginator-utils-b7712403.js → f-paginator-utils-c70812fe.js} +3 -5
- package/dist/cjs/{f-text-field-153e827c.js → f-text-field-48b8bb16.js} +2 -2
- package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_25.cjs.entry.js +433 -163
- package/dist/cjs/kup-box.cjs.entry.js +27 -16
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
- package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +19 -7
- package/dist/cjs/kup-form.cjs.entry.js +8 -8
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +9 -9
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/{kup-manager-cfe2f36e.js → kup-manager-0e38bf48.js} +39 -26
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- 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 +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/box.js +9 -6
- package/dist/collection/assets/card.js +12 -2
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/kup-accordion/kup-accordion.js +239 -234
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
- package/dist/collection/components/kup-badge/kup-badge.js +176 -170
- package/dist/collection/components/kup-box/kup-box.js +907 -913
- package/dist/collection/components/kup-button/kup-button.css +1 -0
- package/dist/collection/components/kup-button/kup-button.js +379 -370
- package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
- package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
- package/dist/collection/components/kup-card/box/kup-card-box.js +115 -0
- package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
- package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
- package/dist/collection/components/kup-card/kup-card-declarations.js +2 -0
- package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
- package/dist/collection/components/kup-card/kup-card.css +140 -20
- package/dist/collection/components/kup-card/kup-card.js +352 -340
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +96 -304
- package/dist/collection/components/kup-cell/kup-cell.js +221 -216
- package/dist/collection/components/kup-chart/kup-chart.js +547 -537
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
- package/dist/collection/components/kup-chip/kup-chip.js +240 -231
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
- package/dist/collection/components/kup-combobox/kup-combobox.js +458 -440
- package/dist/collection/components/kup-dash/kup-dash.js +110 -158
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
- package/dist/collection/components/kup-data-table/kup-data-table.js +1932 -1838
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
- package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
- package/dist/collection/components/kup-echart/kup-echart.js +436 -423
- package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +1 -0
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +420 -398
- package/dist/collection/components/kup-form/kup-form.js +223 -225
- package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
- package/dist/collection/components/kup-grid/kup-grid.js +156 -153
- package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
- package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
- package/dist/collection/components/kup-image/kup-image.js +300 -295
- package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
- package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
- package/dist/collection/components/kup-list/kup-list.js +541 -504
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
- package/dist/collection/components/kup-probe/kup-probe.js +87 -83
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
- package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
- package/dist/collection/components/kup-radio/kup-radio.js +258 -255
- package/dist/collection/components/kup-rating/kup-rating.js +208 -197
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
- package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
- package/dist/collection/components/kup-switch/kup-switch.js +255 -246
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
- package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
- package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -2
- package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
- package/dist/collection/components/kup-tree/kup-tree.js +1134 -1133
- package/dist/collection/f-components/f-button/f-button.js +11 -20
- package/dist/collection/f-components/f-cell/f-cell.js +23 -23
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
- package/dist/collection/f-components/f-chip/f-chip.js +18 -31
- package/dist/collection/f-components/f-image/f-image.js +1 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
- package/dist/collection/f-components/f-switch/f-switch.js +1 -8
- package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
- package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
- package/dist/esm/{f-button-a24e43dd.js → f-button-e79f7594.js} +2 -2
- package/dist/esm/{f-cell-ebbb0c06.js → f-cell-9400374e.js} +25 -23
- package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
- package/dist/esm/{f-chip-e2c38ba8.js → f-chip-bf740287.js} +3 -3
- package/dist/esm/{f-image-7e02e88f.js → f-image-ab3dc8cb.js} +2 -2
- package/dist/esm/{f-paginator-utils-e6d2638f.js → f-paginator-utils-6909e43b.js} +3 -5
- package/dist/esm/{f-text-field-8438a278.js → f-text-field-4841dfea.js} +2 -2
- package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_25.entry.js +433 -163
- package/dist/esm/kup-box.entry.js +27 -16
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-dash-list.entry.js +2 -2
- package/dist/esm/kup-dash_2.entry.js +2 -2
- package/dist/esm/kup-dashboard.entry.js +6 -6
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +19 -7
- package/dist/esm/kup-form.entry.js +8 -8
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +9 -9
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-7c27e90e.js → kup-manager-c54e6df5.js} +22 -9
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- 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 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-191096ff.entry.js → p-182b869e.entry.js} +1 -1
- package/dist/ketchup/p-1dfd2a51.js +30 -0
- package/dist/ketchup/{p-b502b91b.entry.js → p-1f5c7f21.entry.js} +1 -1
- package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
- package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
- package/dist/ketchup/{p-26acb448.js → p-25bf0cb6.js} +1 -1
- package/dist/ketchup/{p-601a50db.entry.js → p-260ff835.entry.js} +1 -1
- package/dist/ketchup/{p-5a703573.entry.js → p-2e184b57.entry.js} +1 -1
- package/dist/ketchup/{p-45415b72.entry.js → p-30a63b85.entry.js} +1 -1
- package/dist/ketchup/{p-cc663bad.entry.js → p-313e376b.entry.js} +1 -1
- package/dist/ketchup/{p-e0ed3fd7.entry.js → p-41620707.entry.js} +1 -1
- package/dist/ketchup/{p-25875aa1.entry.js → p-4a0ccf18.entry.js} +1 -1
- package/dist/ketchup/{p-3decc8e4.js → p-4f0d3062.js} +1 -1
- package/dist/ketchup/p-4fdb684f.js +2 -0
- package/dist/ketchup/{p-52590a90.entry.js → p-53d3ae80.entry.js} +1 -1
- package/dist/ketchup/{p-92595296.js → p-5bea2971.js} +1 -1
- package/dist/ketchup/{p-a782ebd1.entry.js → p-60fa0ccf.entry.js} +1 -1
- package/dist/ketchup/p-6333388c.js +1 -0
- package/dist/ketchup/{p-2003a841.entry.js → p-6bd57787.entry.js} +1 -1
- package/dist/ketchup/p-758d03f4.entry.js +1 -0
- package/dist/ketchup/{p-2f009c42.entry.js → p-7e7b6127.entry.js} +1 -1
- package/dist/ketchup/p-8386e3db.entry.js +1 -0
- package/dist/ketchup/{p-23111c8d.entry.js → p-859163c2.entry.js} +1 -1
- package/dist/ketchup/{p-97f28bbd.entry.js → p-8e1fa7a8.entry.js} +6 -6
- package/dist/ketchup/{p-ca98059c.entry.js → p-90860d9e.entry.js} +1 -1
- package/dist/ketchup/{p-b131b257.entry.js → p-b7fdc7aa.entry.js} +1 -1
- package/dist/ketchup/{p-3138cabb.entry.js → p-bffaef6e.entry.js} +1 -1
- package/dist/ketchup/p-c35c5e05.js +1 -0
- package/dist/ketchup/{p-1468bf09.js → p-e1d0ea71.js} +1 -1
- package/dist/ketchup/p-f9d5e553.entry.js +1 -0
- package/dist/ketchup/{p-69dd11da.entry.js → p-fb4d772a.entry.js} +1 -1
- package/dist/loader/package.json +1 -0
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
- package/dist/types/components/kup-card/box/kup-card-box.d.ts +26 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +2 -0
- package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
- package/dist/types/components/kup-card/standard/kup-card-standard.d.ts +0 -6
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +3 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
- package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +1 -0
- package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +5 -0
- package/dist/types/components/kup-list/kup-list.d.ts +5 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +0 -4
- package/dist/types/components/kup-tree/kup-tree.d.ts +18 -12
- package/dist/types/components.d.ts +43 -16
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/package.json +3 -2
- package/CHANGELOG.md +0 -5
- package/dist/ketchup/p-753c82d8.js +0 -1
- package/dist/ketchup/p-77600efd.entry.js +0 -9
- package/dist/ketchup/p-88722265.js +0 -1
- package/dist/ketchup/p-9027e5ac.js +0 -30
- package/dist/ketchup/p-aa564df8.entry.js +0 -1
- package/dist/ketchup/p-b0b3989b.js +0 -2
- package/dist/ketchup/p-b238f9ea.entry.js +0 -1
- package/dist/ketchup/p-b4f85d34.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { forceUpdate, h, Host, } from '@stencil/core';
|
|
2
2
|
import { FButton } from '../../f-components/f-button/f-button';
|
|
3
3
|
import { FCheckbox } from '../../f-components/f-checkbox/f-checkbox';
|
|
4
4
|
import { FTextField } from '../../f-components/f-text-field/f-text-field';
|
|
@@ -114,9 +114,7 @@ export class KupDashboard {
|
|
|
114
114
|
label: this.kupManager.language.translate(KupLanguageDashboard.SAVE),
|
|
115
115
|
onClick: () => this.onKupSave(),
|
|
116
116
|
};
|
|
117
|
-
return (h("div", { class: "header" },
|
|
118
|
-
this.enableDesign ? (h(FButton, Object.assign({}, clearButtonProp))) : undefined,
|
|
119
|
-
this.enableDesign ? (h(FButton, Object.assign({}, saveButtonProp))) : undefined));
|
|
117
|
+
return (h("div", { class: "header" }, this.enableDesign ? (h(FButton, Object.assign({}, clearButtonProp))) : undefined, this.enableDesign ? (h(FButton, Object.assign({}, saveButtonProp))) : undefined));
|
|
120
118
|
}
|
|
121
119
|
buildForm(form, parent) {
|
|
122
120
|
const classes = {
|
|
@@ -187,18 +185,7 @@ export class KupDashboard {
|
|
|
187
185
|
this.refresh();
|
|
188
186
|
},
|
|
189
187
|
};
|
|
190
|
-
return (h("div", { class: "section-header" },
|
|
191
|
-
h("div", null,
|
|
192
|
-
section.id,
|
|
193
|
-
" - ",
|
|
194
|
-
section.layout),
|
|
195
|
-
h("div", null,
|
|
196
|
-
h("div", { class: "section-header-actions" },
|
|
197
|
-
h(FTextField, Object.assign({}, dimTextFieldProp)),
|
|
198
|
-
h(FCheckbox, Object.assign({}, loadedCheckBoxProp)),
|
|
199
|
-
h(FCheckbox, Object.assign({}, columnCheckBoxProp)),
|
|
200
|
-
h(FButton, Object.assign({}, addButtonProp)),
|
|
201
|
-
h(FButton, Object.assign({}, removeButtonProp))))));
|
|
188
|
+
return (h("div", { class: "section-header" }, h("div", null, section.id, " - ", section.layout), h("div", null, h("div", { class: "section-header-actions" }, h(FTextField, Object.assign({}, dimTextFieldProp)), h(FCheckbox, Object.assign({}, loadedCheckBoxProp)), h(FCheckbox, Object.assign({}, columnCheckBoxProp)), h(FButton, Object.assign({}, addButtonProp)), h(FButton, Object.assign({}, removeButtonProp))))));
|
|
202
189
|
}
|
|
203
190
|
buildSection(section, parent) {
|
|
204
191
|
const classes = {
|
|
@@ -216,17 +203,13 @@ export class KupDashboard {
|
|
|
216
203
|
return;
|
|
217
204
|
const kel = el;
|
|
218
205
|
kel.kupData = { parent: parent, section: section };
|
|
219
|
-
} },
|
|
220
|
-
this.
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
h("
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
(!section.sections || section.sections.length == 0) ? (h("slot", { name: section.id })) : undefined,
|
|
227
|
-
section.sections && (section.loaded || this.enableDesign)
|
|
228
|
-
? section.sections.map((childSection) => this.buildSection(childSection, section))
|
|
229
|
-
: undefined)));
|
|
206
|
+
} }, this.enableDesign
|
|
207
|
+
? this.buildSectionHeader(section, parent)
|
|
208
|
+
: undefined, h("div", { class: bodyClasses, style: this.getGridStyle(section) }, !this.enableDesign &&
|
|
209
|
+
section.loaded &&
|
|
210
|
+
(!section.sections || section.sections.length == 0) ? (h("slot", { name: section.id })) : undefined, section.sections && (section.loaded || this.enableDesign)
|
|
211
|
+
? section.sections.map((childSection) => this.buildSection(childSection, section))
|
|
212
|
+
: undefined)));
|
|
230
213
|
}
|
|
231
214
|
calcSectionPosition(pointerY, pointerX, vertical, sectionCount, elements) {
|
|
232
215
|
let idx = sectionCount;
|
|
@@ -418,11 +401,7 @@ export class KupDashboard {
|
|
|
418
401
|
this.didRenderInteractables();
|
|
419
402
|
}
|
|
420
403
|
render() {
|
|
421
|
-
return (h(Host, null,
|
|
422
|
-
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
423
|
-
h("div", { id: componentWrapperId },
|
|
424
|
-
this.buildHeader(),
|
|
425
|
-
this.buildForm(this.internalData, null))));
|
|
404
|
+
return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, this.buildHeader(), this.buildForm(this.internalData, null))));
|
|
426
405
|
}
|
|
427
406
|
disconnectedCallback() {
|
|
428
407
|
this.unregisterInteractables();
|
|
@@ -432,189 +411,203 @@ export class KupDashboard {
|
|
|
432
411
|
}
|
|
433
412
|
static get is() { return "kup-dashboard"; }
|
|
434
413
|
static get encapsulation() { return "shadow"; }
|
|
435
|
-
static get originalStyleUrls() {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
"
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
414
|
+
static get originalStyleUrls() {
|
|
415
|
+
return {
|
|
416
|
+
"$": ["kup-dashboard.scss"]
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
static get styleUrls() {
|
|
420
|
+
return {
|
|
421
|
+
"$": ["kup-dashboard.css"]
|
|
422
|
+
};
|
|
423
|
+
}
|
|
424
|
+
static get properties() {
|
|
425
|
+
return {
|
|
426
|
+
"customStyle": {
|
|
427
|
+
"type": "string",
|
|
428
|
+
"mutable": false,
|
|
429
|
+
"complexType": {
|
|
430
|
+
"original": "string",
|
|
431
|
+
"resolved": "string",
|
|
432
|
+
"references": {}
|
|
433
|
+
},
|
|
434
|
+
"required": false,
|
|
435
|
+
"optional": false,
|
|
436
|
+
"docs": {
|
|
437
|
+
"tags": [{
|
|
438
|
+
"name": "default",
|
|
439
|
+
"text": "\"\""
|
|
440
|
+
}, {
|
|
441
|
+
"name": "see",
|
|
442
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
443
|
+
}],
|
|
444
|
+
"text": "Custom style of the component."
|
|
445
|
+
},
|
|
446
|
+
"attribute": "custom-style",
|
|
447
|
+
"reflect": false,
|
|
448
|
+
"defaultValue": "''"
|
|
461
449
|
},
|
|
462
|
-
"
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
"KupDataDashboard": {
|
|
474
|
-
"location": "import",
|
|
475
|
-
"path": "./kup-dashboard-declarations"
|
|
450
|
+
"data": {
|
|
451
|
+
"type": "unknown",
|
|
452
|
+
"mutable": false,
|
|
453
|
+
"complexType": {
|
|
454
|
+
"original": "KupDataDashboard",
|
|
455
|
+
"resolved": "KupDataDashboard",
|
|
456
|
+
"references": {
|
|
457
|
+
"KupDataDashboard": {
|
|
458
|
+
"location": "import",
|
|
459
|
+
"path": "./kup-dashboard-declarations"
|
|
460
|
+
}
|
|
476
461
|
}
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
"defaultValue": "null"
|
|
489
|
-
},
|
|
490
|
-
"enableDesign": {
|
|
491
|
-
"type": "boolean",
|
|
492
|
-
"mutable": false,
|
|
493
|
-
"complexType": {
|
|
494
|
-
"original": "boolean",
|
|
495
|
-
"resolved": "boolean",
|
|
496
|
-
"references": {}
|
|
497
|
-
},
|
|
498
|
-
"required": false,
|
|
499
|
-
"optional": false,
|
|
500
|
-
"docs": {
|
|
501
|
-
"tags": [{
|
|
502
|
-
"name": "default",
|
|
503
|
-
"text": "false"
|
|
504
|
-
}],
|
|
505
|
-
"text": "Enable drag & drop of the section."
|
|
506
|
-
},
|
|
507
|
-
"attribute": "enable-design",
|
|
508
|
-
"reflect": false,
|
|
509
|
-
"defaultValue": "false"
|
|
510
|
-
}
|
|
511
|
-
}; }
|
|
512
|
-
static get states() { return {
|
|
513
|
-
"resetInternalData": {}
|
|
514
|
-
}; }
|
|
515
|
-
static get events() { return [{
|
|
516
|
-
"method": "kupSave",
|
|
517
|
-
"name": "kup-dashboard-save",
|
|
518
|
-
"bubbles": true,
|
|
519
|
-
"cancelable": false,
|
|
520
|
-
"composed": true,
|
|
521
|
-
"docs": {
|
|
522
|
-
"tags": [],
|
|
523
|
-
"text": ""
|
|
462
|
+
},
|
|
463
|
+
"required": false,
|
|
464
|
+
"optional": false,
|
|
465
|
+
"docs": {
|
|
466
|
+
"tags": [{
|
|
467
|
+
"name": "default",
|
|
468
|
+
"text": "null"
|
|
469
|
+
}],
|
|
470
|
+
"text": "The data of the component."
|
|
471
|
+
},
|
|
472
|
+
"defaultValue": "null"
|
|
524
473
|
},
|
|
525
|
-
"
|
|
526
|
-
"
|
|
527
|
-
"
|
|
528
|
-
"
|
|
529
|
-
"
|
|
530
|
-
|
|
531
|
-
|
|
474
|
+
"enableDesign": {
|
|
475
|
+
"type": "boolean",
|
|
476
|
+
"mutable": false,
|
|
477
|
+
"complexType": {
|
|
478
|
+
"original": "boolean",
|
|
479
|
+
"resolved": "boolean",
|
|
480
|
+
"references": {}
|
|
481
|
+
},
|
|
482
|
+
"required": false,
|
|
483
|
+
"optional": false,
|
|
484
|
+
"docs": {
|
|
485
|
+
"tags": [{
|
|
486
|
+
"name": "default",
|
|
487
|
+
"text": "false"
|
|
488
|
+
}],
|
|
489
|
+
"text": "Enable drag & drop of the section."
|
|
490
|
+
},
|
|
491
|
+
"attribute": "enable-design",
|
|
492
|
+
"reflect": false,
|
|
493
|
+
"defaultValue": "false"
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
static get states() {
|
|
498
|
+
return {
|
|
499
|
+
"resetInternalData": {}
|
|
500
|
+
};
|
|
501
|
+
}
|
|
502
|
+
static get events() {
|
|
503
|
+
return [{
|
|
504
|
+
"method": "kupSave",
|
|
505
|
+
"name": "kup-dashboard-save",
|
|
506
|
+
"bubbles": true,
|
|
507
|
+
"cancelable": false,
|
|
508
|
+
"composed": true,
|
|
509
|
+
"docs": {
|
|
510
|
+
"tags": [],
|
|
511
|
+
"text": ""
|
|
512
|
+
},
|
|
513
|
+
"complexType": {
|
|
514
|
+
"original": "KupDashboardEventPayload",
|
|
515
|
+
"resolved": "KupDashboardEventPayload",
|
|
516
|
+
"references": {
|
|
517
|
+
"KupDashboardEventPayload": {
|
|
518
|
+
"location": "import",
|
|
519
|
+
"path": "./kup-dashboard-declarations"
|
|
520
|
+
}
|
|
532
521
|
}
|
|
533
522
|
}
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
static get methods() {
|
|
537
|
-
|
|
538
|
-
"
|
|
539
|
-
"
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
"
|
|
549
|
-
"
|
|
523
|
+
}];
|
|
524
|
+
}
|
|
525
|
+
static get methods() {
|
|
526
|
+
return {
|
|
527
|
+
"getProps": {
|
|
528
|
+
"complexType": {
|
|
529
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
530
|
+
"parameters": [{
|
|
531
|
+
"tags": [{
|
|
532
|
+
"name": "param",
|
|
533
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
534
|
+
}],
|
|
535
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
536
|
+
}],
|
|
537
|
+
"references": {
|
|
538
|
+
"Promise": {
|
|
539
|
+
"location": "global"
|
|
540
|
+
},
|
|
541
|
+
"GenericObject": {
|
|
542
|
+
"location": "import",
|
|
543
|
+
"path": "../../types/GenericTypes"
|
|
544
|
+
}
|
|
550
545
|
},
|
|
551
|
-
"
|
|
552
|
-
"location": "import",
|
|
553
|
-
"path": "../../types/GenericTypes"
|
|
554
|
-
}
|
|
546
|
+
"return": "Promise<GenericObject>"
|
|
555
547
|
},
|
|
556
|
-
"
|
|
548
|
+
"docs": {
|
|
549
|
+
"text": "Used to retrieve component's props values.",
|
|
550
|
+
"tags": [{
|
|
551
|
+
"name": "param",
|
|
552
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
553
|
+
}, {
|
|
554
|
+
"name": "returns",
|
|
555
|
+
"text": "List of props as object, each key will be a prop."
|
|
556
|
+
}]
|
|
557
|
+
}
|
|
557
558
|
},
|
|
558
|
-
"
|
|
559
|
-
"
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
},
|
|
569
|
-
"refresh": {
|
|
570
|
-
"complexType": {
|
|
571
|
-
"signature": "() => Promise<void>",
|
|
572
|
-
"parameters": [],
|
|
573
|
-
"references": {
|
|
574
|
-
"Promise": {
|
|
575
|
-
"location": "global"
|
|
576
|
-
}
|
|
559
|
+
"refresh": {
|
|
560
|
+
"complexType": {
|
|
561
|
+
"signature": "() => Promise<void>",
|
|
562
|
+
"parameters": [],
|
|
563
|
+
"references": {
|
|
564
|
+
"Promise": {
|
|
565
|
+
"location": "global"
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"return": "Promise<void>"
|
|
577
569
|
},
|
|
578
|
-
"
|
|
570
|
+
"docs": {
|
|
571
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
572
|
+
"tags": []
|
|
573
|
+
}
|
|
579
574
|
},
|
|
580
|
-
"
|
|
581
|
-
"
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
575
|
+
"setProps": {
|
|
576
|
+
"complexType": {
|
|
577
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
578
|
+
"parameters": [{
|
|
579
|
+
"tags": [{
|
|
580
|
+
"name": "param",
|
|
581
|
+
"text": "props - Object containing props that will be set to the component."
|
|
582
|
+
}],
|
|
583
|
+
"text": "- Object containing props that will be set to the component."
|
|
584
|
+
}],
|
|
585
|
+
"references": {
|
|
586
|
+
"Promise": {
|
|
587
|
+
"location": "global"
|
|
588
|
+
},
|
|
589
|
+
"GenericObject": {
|
|
590
|
+
"location": "import",
|
|
591
|
+
"path": "../../types/GenericTypes"
|
|
592
|
+
}
|
|
598
593
|
},
|
|
599
|
-
"
|
|
600
|
-
"location": "import",
|
|
601
|
-
"path": "../../types/GenericTypes"
|
|
602
|
-
}
|
|
594
|
+
"return": "Promise<void>"
|
|
603
595
|
},
|
|
604
|
-
"
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
}]
|
|
596
|
+
"docs": {
|
|
597
|
+
"text": "Sets the props to the component.",
|
|
598
|
+
"tags": [{
|
|
599
|
+
"name": "param",
|
|
600
|
+
"text": "props - Object containing props that will be set to the component."
|
|
601
|
+
}]
|
|
602
|
+
}
|
|
612
603
|
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
604
|
+
};
|
|
605
|
+
}
|
|
615
606
|
static get elementRef() { return "rootElement"; }
|
|
616
|
-
static get watchers() {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
607
|
+
static get watchers() {
|
|
608
|
+
return [{
|
|
609
|
+
"propName": "data",
|
|
610
|
+
"methodName": "dataChanged"
|
|
611
|
+
}];
|
|
612
|
+
}
|
|
620
613
|
}
|