@sme.up/ketchup 6.2.0 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-button-5b69d882.js → f-button-826a470e.js} +4 -4
- package/dist/cjs/{f-cell-3a740c48.js → f-cell-2d5bcf0c.js} +13 -15
- package/dist/cjs/{f-checkbox-57443ca3.js → f-checkbox-cd977193.js} +1 -1
- package/dist/cjs/{f-chip-02e83f82.js → f-chip-2fd3363e.js} +3 -3
- package/dist/cjs/{f-image-2a61ece2.js → f-image-0f17d599.js} +2 -2
- package/dist/cjs/{f-paginator-utils-09126bdd.js → f-paginator-utils-946b579d.js} +80 -403
- package/dist/cjs/{f-text-field-9ee20a67.js → f-text-field-d243e4d8.js} +13 -3
- package/dist/cjs/{index-06b131ea.js → index-31125378.js} +9 -4
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -6
- package/dist/cjs/kup-autocomplete_25.cjs.entry.js +129 -115
- package/dist/cjs/kup-box.cjs.entry.js +20 -20
- package/dist/cjs/kup-calendar.cjs.entry.js +9 -11
- package/dist/cjs/kup-cell.cjs.entry.js +9 -11
- package/dist/cjs/kup-dash-list.cjs.entry.js +5 -7
- package/dist/cjs/kup-dash_2.cjs.entry.js +4 -5
- package/dist/cjs/kup-dashboard.cjs.entry.js +76 -17
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -5
- package/dist/cjs/kup-echart.cjs.entry.js +42 -34
- package/dist/cjs/kup-family-tree.cjs.entry.js +140 -64
- package/dist/cjs/kup-form.cjs.entry.js +21 -15
- package/dist/cjs/kup-iframe.cjs.entry.js +4 -5
- package/dist/cjs/kup-image-list.cjs.entry.js +10 -12
- package/dist/cjs/kup-lazy.cjs.entry.js +5 -6
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -6
- package/dist/cjs/{kup-manager-02acbb37.js → kup-manager-a8eecc60.js} +1419 -375
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -5
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -5
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -7
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/dashboard.js +48 -0
- package/dist/collection/assets/family-tree.js +236 -19
- package/dist/collection/assets/form.js +41 -0
- package/dist/collection/assets/index.js +4 -0
- package/dist/collection/assets/kupinteract.js +68 -0
- package/dist/collection/collection-manifest.json +5 -5
- package/dist/collection/components/kup-box/kup-box.js +5 -3
- package/dist/collection/components/kup-button/kup-button-declarations.js +1 -0
- package/dist/collection/components/kup-button/kup-button.js +27 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.css +7 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +67 -7
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +42 -30
- package/dist/collection/components/kup-data-table/kup-data-table.js +3 -1
- package/dist/collection/components/kup-echart/kup-echart.js +34 -24
- package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +3 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +79 -9
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +253 -65
- package/dist/collection/components/kup-form/kup-form-declarations.js +1 -0
- package/dist/collection/components/kup-form/kup-form.css +8 -0
- package/dist/collection/components/kup-form/kup-form.js +31 -2
- package/dist/collection/components/kup-image/assets/svg/azure.svg +1 -0
- package/dist/collection/components/kup-lazy/kup-lazy.css +8 -2
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.css +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
- package/dist/collection/f-components/f-button/f-button.js +2 -2
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +11 -1
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +49 -15
- package/dist/collection/managers/kup-data/kup-data.js +9 -11
- package/dist/collection/managers/kup-dates/kup-dates.js +14 -0
- package/dist/collection/managers/kup-interact/kup-interact.js +3 -5
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.js +2 -0
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +131 -45
- package/dist/collection/utils/filters/filters-rows.js +4 -23
- package/dist/collection/utils/filters/filters-tree-items.js +4 -3
- package/dist/esm/{f-button-fd44ef70.js → f-button-2d0a5f21.js} +4 -4
- package/dist/esm/{f-cell-7b159a22.js → f-cell-ee7d7b5c.js} +7 -9
- package/dist/esm/{f-checkbox-c51c4a75.js → f-checkbox-e06cf07b.js} +1 -1
- package/dist/esm/{f-chip-c2e4c522.js → f-chip-0d29f91f.js} +3 -3
- package/dist/esm/{f-image-2ab4b9aa.js → f-image-ab131d59.js} +2 -2
- package/dist/esm/{f-paginator-utils-ef537d82.js → f-paginator-utils-aa52af0f.js} +44 -366
- package/dist/esm/{f-text-field-41c575eb.js → f-text-field-0729b19f.js} +13 -3
- package/dist/esm/{index-ad6ab214.js → index-e41330a5.js} +9 -4
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +3 -4
- package/dist/esm/kup-autocomplete_25.entry.js +30 -16
- package/dist/esm/kup-box.entry.js +14 -14
- package/dist/esm/kup-calendar.entry.js +5 -7
- package/dist/esm/kup-cell.entry.js +7 -9
- package/dist/esm/kup-dash-list.entry.js +2 -4
- package/dist/esm/kup-dash_2.entry.js +2 -3
- package/dist/esm/kup-dashboard.entry.js +74 -15
- package/dist/esm/kup-drawer.entry.js +2 -3
- package/dist/esm/kup-echart.entry.js +36 -28
- package/dist/esm/kup-family-tree.entry.js +138 -62
- package/dist/esm/kup-form.entry.js +18 -12
- package/dist/esm/kup-iframe.entry.js +2 -3
- package/dist/esm/kup-image-list.entry.js +8 -10
- package/dist/esm/kup-lazy.entry.js +3 -4
- package/dist/esm/kup-magic-box.entry.js +3 -4
- package/dist/esm/{kup-manager-22a475e6.js → kup-manager-13b4f989.js} +1398 -376
- package/dist/esm/kup-nav-bar.entry.js +2 -3
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-photo-frame.entry.js +2 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +4 -5
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/assets/svg/azure.svg +1 -0
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-0986ad5d.js +1 -0
- package/dist/ketchup/{p-38d7584e.js → p-0cf10db0.js} +1 -1
- package/dist/ketchup/p-13666119.entry.js +27 -0
- package/dist/ketchup/p-18b68e86.entry.js +1 -0
- package/dist/ketchup/{p-1959f835.entry.js → p-28d514d0.entry.js} +1 -1
- package/dist/ketchup/p-2ffdbee1.entry.js +1 -0
- package/dist/ketchup/p-3dcfffbe.entry.js +1 -0
- package/dist/ketchup/p-3fe35411.entry.js +1 -0
- package/dist/ketchup/{p-cd5cfa7c.js → p-5552f156.js} +1 -1
- package/dist/ketchup/p-5f51009b.entry.js +1 -0
- package/dist/ketchup/{p-264b1b19.entry.js → p-816f0938.entry.js} +1 -1
- package/dist/ketchup/p-83c214d7.entry.js +1 -0
- package/dist/ketchup/p-84957bbf.entry.js +1 -0
- package/dist/ketchup/p-86795579.entry.js +1 -0
- package/dist/ketchup/p-8f85b8bb.entry.js +9 -0
- package/dist/ketchup/p-982d3e3a.entry.js +1 -0
- package/dist/ketchup/{p-e9366aaf.entry.js → p-adcfcd4f.entry.js} +4 -4
- package/dist/ketchup/p-b0b3989b.js +2 -0
- package/dist/ketchup/{p-dc62a30f.js → p-b705be3b.js} +1 -1
- package/dist/ketchup/{p-fc2b1229.js → p-b8c921ee.js} +3 -3
- package/dist/ketchup/{p-edae3076.js → p-bfe88b03.js} +1 -1
- package/dist/ketchup/p-d7091875.entry.js +1 -0
- package/dist/ketchup/p-d8656956.entry.js +1 -0
- package/dist/ketchup/p-dc69549c.entry.js +1 -0
- package/dist/ketchup/p-e01fa411.entry.js +1 -0
- package/dist/ketchup/p-e0f659c9.entry.js +1 -0
- package/dist/ketchup/p-e1d82570.entry.js +1 -0
- package/dist/ketchup/p-e21c744a.js +1 -0
- package/dist/ketchup/p-e5a9d60a.entry.js +1 -0
- package/dist/ketchup/p-f50cbed9.js +1 -0
- package/dist/ketchup/{p-42080355.entry.js → p-fa9f161a.entry.js} +1 -1
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +1 -0
- package/dist/types/components/kup-button/kup-button-declarations.d.ts +1 -0
- package/dist/types/components/kup-button/kup-button.d.ts +5 -0
- package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +6 -1
- package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +7 -3
- package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +26 -5
- package/dist/types/components/kup-form/kup-form-declarations.d.ts +1 -0
- package/dist/types/components/kup-form/kup-form.d.ts +5 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +1 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components.d.ts +69 -7
- package/dist/types/f-components/f-button/f-button-declarations.d.ts +1 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-cell-helper.d.ts +13 -6
- package/dist/types/managers/kup-data/kup-data.d.ts +3 -1
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +9 -1
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +7 -5
- package/dist/types/utils/filters/filters-rows.d.ts +0 -2
- package/dist/types/utils/filters/filters-tree-items.d.ts +1 -1
- package/package.json +2 -2
- package/dist/cjs/cell-utils-fe64a28c.js +0 -168
- package/dist/cjs/utils-4b208b48.js +0 -447
- package/dist/esm/cell-utils-cb5d4149.js +0 -160
- package/dist/esm/utils-2c1f4122.js +0 -428
- package/dist/ketchup/p-06c6cc68.js +0 -1
- package/dist/ketchup/p-0dacd4bc.entry.js +0 -1
- package/dist/ketchup/p-1c44dc62.entry.js +0 -1
- package/dist/ketchup/p-4bc9f98b.entry.js +0 -1
- package/dist/ketchup/p-578583db.entry.js +0 -1
- package/dist/ketchup/p-5866d507.entry.js +0 -1
- package/dist/ketchup/p-61059e9d.entry.js +0 -9
- package/dist/ketchup/p-664be494.entry.js +0 -1
- package/dist/ketchup/p-67cd575d.entry.js +0 -1
- package/dist/ketchup/p-682a367a.js +0 -1
- package/dist/ketchup/p-6ccf7eb2.entry.js +0 -1
- package/dist/ketchup/p-7230ab97.entry.js +0 -1
- package/dist/ketchup/p-752b4cef.entry.js +0 -1
- package/dist/ketchup/p-7de3e7ac.entry.js +0 -1
- package/dist/ketchup/p-928c5c36.js +0 -1
- package/dist/ketchup/p-9b36497d.entry.js +0 -1
- package/dist/ketchup/p-b982d137.entry.js +0 -1
- package/dist/ketchup/p-c0219e5e.js +0 -1
- package/dist/ketchup/p-c55fd0a7.entry.js +0 -1
- package/dist/ketchup/p-d154b3a0.entry.js +0 -1
- package/dist/ketchup/p-d2affb6f.entry.js +0 -27
- package/dist/ketchup/p-d3b542b3.js +0 -2
- package/dist/ketchup/p-d6c12c6c.js +0 -1
- package/dist/ketchup/p-da0eab60.entry.js +0 -1
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const utils = require('./utils-4b208b48.js');
|
|
5
|
+
const index = require('./index-31125378.js');
|
|
6
|
+
const kupManager = require('./kup-manager-a8eecc60.js');
|
|
8
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
8
|
+
const fCell = require('./f-cell-2d5bcf0c.js');
|
|
10
9
|
const fTextFieldMdc = require('./f-text-field-mdc-85997738.js');
|
|
11
|
-
require('./
|
|
12
|
-
require('./f-checkbox-
|
|
13
|
-
require('./f-text-field-
|
|
14
|
-
require('./f-image-
|
|
15
|
-
require('./f-chip-
|
|
10
|
+
const fButton = require('./f-button-826a470e.js');
|
|
11
|
+
require('./f-checkbox-cd977193.js');
|
|
12
|
+
require('./f-text-field-d243e4d8.js');
|
|
13
|
+
require('./f-image-0f17d599.js');
|
|
14
|
+
require('./f-chip-2fd3363e.js');
|
|
16
15
|
require('./tslib.es6-0ee02c67.js');
|
|
17
16
|
require('./component-72a5b626.js');
|
|
17
|
+
require('./f-button-declarations-b611587f.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Props of the kup-form component.
|
|
@@ -24,6 +24,7 @@ var KupFormProps;
|
|
|
24
24
|
(function (KupFormProps) {
|
|
25
25
|
KupFormProps["customStyle"] = "Custom style of the component.";
|
|
26
26
|
KupFormProps["data"] = "Actual data of the form.";
|
|
27
|
+
KupFormProps["hiddenSubmitButton"] = "Creates a hidden submit button in order to submit the form with enter.";
|
|
27
28
|
KupFormProps["layout"] = "How the form will arrange its content.";
|
|
28
29
|
})(KupFormProps || (KupFormProps = {}));
|
|
29
30
|
var KupFormLabelAlignment;
|
|
@@ -42,7 +43,7 @@ var KupFormLabelPlacement;
|
|
|
42
43
|
KupFormLabelPlacement["TOP"] = "top";
|
|
43
44
|
})(KupFormLabelPlacement || (KupFormLabelPlacement = {}));
|
|
44
45
|
|
|
45
|
-
const kupFormCss = ":host{--kup_form_background_color:var(\n --kup-form-background-color,\n var(--kup-background-color)\n );--kup_form_color:var(--kup-form-color, var(--kup-text-color));--kup_form_font_family:var(--kup-form-font-family, var(--kup-font-family));--kup_form_font_size:var(--kup-form-font-size, var(--kup-font-size));--kup_form_label_alignment:var(--kup-form-label-alignment);--kup_form_label_width:var(--kup-form-label-width);display:block;font-family:var(--kup_form_font_family);font-size:var(--kup_form_font_size)}.form{background:var(--kup_form_background_color);color:var(--kup_form_color);display:flex;flex-grow:1;overflow:auto;position:relative}.form--column{flex-direction:column}.form__section{display:flex;flex:1 1 1%;flex-direction:row;flex-wrap:wrap}.form__section--column{flex-direction:column;flex-wrap:unset}.form__section--column>.form__section{flex:0 0 auto}.form__section--grid{display:grid}.form__section--titled{border:1px solid var(--kup-border-color);padding-top:5px;position:relative;margin:10px}.form__section--titled>h3{background:var(--kup-background-color);font-size:calc(var(--kup-font-size) * 1.15);position:absolute;margin:0px;padding:0 8px;top:-11px;left:5px;transition:background-color 0.25s ease}.form__section--left .form__label{width:var(--kup_form_label_width, 0)}.form__section--right .form__field{min-width:200px;width:0}.form__label{-webkit-font-smoothing:antialiased;box-sizing:border-box;font-size:0.875em;letter-spacing:0.0178571429em;white-space:nowrap;width:var(--kup_form_label_width)}.form__label--center{text-align:var(--kup_form_label_alignment, center)}.form__label--left{text-align:var(--kup_form_label_alignment, left)}.form__label--right{text-align:var(--kup_form_label_alignment, right)}.form__field{min-height:16px}.form__field img{height:auto}.form .f-cell.c-right-aligned:not(.c-centered) .f-cell__content{justify-content:flex-start}";
|
|
46
|
+
const kupFormCss = ":host{--kup_form_background_color:var(\n --kup-form-background-color,\n var(--kup-background-color)\n );--kup_form_color:var(--kup-form-color, var(--kup-text-color));--kup_form_font_family:var(--kup-form-font-family, var(--kup-font-family));--kup_form_font_size:var(--kup-form-font-size, var(--kup-font-size));--kup_form_label_alignment:var(--kup-form-label-alignment);--kup_form_label_width:var(--kup-form-label-width);display:block;font-family:var(--kup_form_font_family);font-size:var(--kup_form_font_size)}.form{background:var(--kup_form_background_color);color:var(--kup_form_color);display:flex;flex-grow:1;overflow:auto;padding:1em 0;position:relative}.form--column{flex-direction:column}.form__section{display:flex;flex:1 1 1%;flex-direction:row;flex-wrap:wrap}.form__section--column{flex-direction:column;flex-wrap:unset}.form__section--column>.form__section{flex:0 0 auto}.form__section--grid{display:grid}.form__section--titled{border:1px solid var(--kup-border-color);padding-top:5px;position:relative;margin:10px}.form__section--titled>h3{background:var(--kup-background-color);font-size:calc(var(--kup-font-size) * 1.15);position:absolute;margin:0px;padding:0 8px;top:-11px;left:5px;transition:background-color 0.25s ease}.form__section--left .form__label{width:var(--kup_form_label_width, 0)}.form__section--right .form__field{min-width:200px;width:0}.form__label{-webkit-font-smoothing:antialiased;box-sizing:border-box;font-size:0.875em;letter-spacing:0.0178571429em;white-space:nowrap;width:var(--kup_form_label_width)}.form__label--center{text-align:var(--kup_form_label_alignment, center)}.form__label--left{text-align:var(--kup_form_label_alignment, left)}.form__label--right{text-align:var(--kup_form_label_alignment, right)}.form__field{min-height:16px}.form__field img{height:auto}.form__submit{height:0;opacity:0;overflow:hidden;position:absolute;width:0}.form .f-cell.c-right-aligned:not(.c-centered) .f-cell__content{justify-content:flex-start}";
|
|
46
47
|
|
|
47
48
|
const dom = document.documentElement;
|
|
48
49
|
const KupForm = class {
|
|
@@ -62,6 +63,11 @@ const KupForm = class {
|
|
|
62
63
|
* @default null
|
|
63
64
|
*/
|
|
64
65
|
this.data = null;
|
|
66
|
+
/**
|
|
67
|
+
* Creates a hidden submit button in order to submit the form with enter.
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
70
|
+
this.hiddenSubmitButton = false;
|
|
65
71
|
/**
|
|
66
72
|
* How the form will arrange its content.
|
|
67
73
|
* @default null
|
|
@@ -77,7 +83,7 @@ const KupForm = class {
|
|
|
77
83
|
/* W a t c h e r s */
|
|
78
84
|
/*-------------------------------------------------*/
|
|
79
85
|
onDataChanged() {
|
|
80
|
-
|
|
86
|
+
kupManager.identify(this.getRows());
|
|
81
87
|
this.initVisibleColumns();
|
|
82
88
|
this.checkLayout();
|
|
83
89
|
}
|
|
@@ -93,7 +99,7 @@ const KupForm = class {
|
|
|
93
99
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
94
100
|
*/
|
|
95
101
|
async getProps(descriptions) {
|
|
96
|
-
return
|
|
102
|
+
return kupManager.getProps(this, KupFormProps, descriptions);
|
|
97
103
|
}
|
|
98
104
|
/**
|
|
99
105
|
* This method is used to trigger a new render of the component.
|
|
@@ -132,7 +138,7 @@ const KupForm = class {
|
|
|
132
138
|
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
133
139
|
*/
|
|
134
140
|
async setProps(props) {
|
|
135
|
-
|
|
141
|
+
kupManager.setProps(this, KupFormProps, props);
|
|
136
142
|
}
|
|
137
143
|
/*-------------------------------------------------*/
|
|
138
144
|
/* P r i v a t e M e t h o d s */
|
|
@@ -205,7 +211,7 @@ const KupForm = class {
|
|
|
205
211
|
form: true,
|
|
206
212
|
'form--column': !horizontal,
|
|
207
213
|
};
|
|
208
|
-
return index.h("form", { class: classObj }, formContent);
|
|
214
|
+
return (index.h("form", { class: classObj, name: this.rootElement.id }, formContent, this.hiddenSubmitButton ? (index.h(fButton.FButton, { buttonType: "submit", label: "submit", wrapperClass: "form__submit" })) : null));
|
|
209
215
|
}
|
|
210
216
|
renderSection(section, parent, row, visibleColumns) {
|
|
211
217
|
var _a;
|
|
@@ -316,7 +322,7 @@ const KupForm = class {
|
|
|
316
322
|
return null;
|
|
317
323
|
}
|
|
318
324
|
const cellProps = {
|
|
319
|
-
cell:
|
|
325
|
+
cell: cell,
|
|
320
326
|
column: column,
|
|
321
327
|
component: this,
|
|
322
328
|
editable: true,
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const utils = require('./utils-4b208b48.js');
|
|
5
|
+
const index = require('./index-31125378.js');
|
|
6
|
+
const kupManager = require('./kup-manager-a8eecc60.js');
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* Props of the kup-iframe component.
|
|
@@ -62,7 +61,7 @@ const KupIframe = class {
|
|
|
62
61
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
63
62
|
*/
|
|
64
63
|
async getProps(descriptions) {
|
|
65
|
-
return
|
|
64
|
+
return kupManager.getProps(this, KupIframeProps, descriptions);
|
|
66
65
|
}
|
|
67
66
|
/**
|
|
68
67
|
* This method is used to trigger a new render of the component.
|
|
@@ -75,7 +74,7 @@ const KupIframe = class {
|
|
|
75
74
|
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
76
75
|
*/
|
|
77
76
|
async setProps(props) {
|
|
78
|
-
|
|
77
|
+
kupManager.setProps(this, KupIframeProps, props);
|
|
79
78
|
}
|
|
80
79
|
/*-------------------------------------------------*/
|
|
81
80
|
/* P r i v a t e M e t h o d s */
|
|
@@ -2,19 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const utils = require('./utils-4b208b48.js');
|
|
5
|
+
const index = require('./index-31125378.js');
|
|
6
|
+
const kupManager = require('./kup-manager-a8eecc60.js');
|
|
8
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
9
|
-
const fImage = require('./f-image-
|
|
10
|
-
const fButton = require('./f-button-
|
|
8
|
+
const fImage = require('./f-image-0f17d599.js');
|
|
9
|
+
const fButton = require('./f-button-826a470e.js');
|
|
11
10
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
12
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-2d5bcf0c.js');
|
|
13
12
|
const component = require('./component-72a5b626.js');
|
|
14
|
-
require('./
|
|
15
|
-
require('./f-
|
|
16
|
-
require('./f-
|
|
17
|
-
require('./f-chip-02e83f82.js');
|
|
13
|
+
require('./f-checkbox-cd977193.js');
|
|
14
|
+
require('./f-text-field-d243e4d8.js');
|
|
15
|
+
require('./f-chip-2fd3363e.js');
|
|
18
16
|
require('./tslib.es6-0ee02c67.js');
|
|
19
17
|
|
|
20
18
|
/**
|
|
@@ -197,7 +195,7 @@ const KupImageList = class {
|
|
|
197
195
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
198
196
|
*/
|
|
199
197
|
async getProps(descriptions) {
|
|
200
|
-
return
|
|
198
|
+
return kupManager.getProps(this, KupImageListProps, descriptions);
|
|
201
199
|
}
|
|
202
200
|
/**
|
|
203
201
|
* This method is used to trigger a new render of the component.
|
|
@@ -210,7 +208,7 @@ const KupImageList = class {
|
|
|
210
208
|
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
211
209
|
*/
|
|
212
210
|
async setProps(props) {
|
|
213
|
-
|
|
211
|
+
kupManager.setProps(this, KupImageListProps, props);
|
|
214
212
|
}
|
|
215
213
|
/*-------------------------------------------------*/
|
|
216
214
|
/* L i f e c y c l e H o o k s */
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const utils = require('./utils-4b208b48.js');
|
|
5
|
+
const index = require('./index-31125378.js');
|
|
6
|
+
const kupManager = require('./kup-manager-a8eecc60.js');
|
|
8
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
9
8
|
|
|
10
9
|
/**
|
|
@@ -28,7 +27,7 @@ var KupLazyRender;
|
|
|
28
27
|
KupLazyRender["BOTH"] = "both";
|
|
29
28
|
})(KupLazyRender || (KupLazyRender = {}));
|
|
30
29
|
|
|
31
|
-
const kupLazyCss = ":host{--kup_lazy_animation_time:var(--kup-lazy-animation-time, 2s);--kup_lazy_hor_alignment:var(--kup-lazy-hor-alignment, center);--kup_lazy_placeholder_color:var(\n --kup-lazy-placeholder-color,\n var(--kup-icon-color)\n );--kup_lazy_ver_alignment:var(--kup-lazy-ver-alignment, center);--kup_lazy_width:var(--kup-lazy-width, 100%);display:block;height:
|
|
30
|
+
const kupLazyCss = ":host{--kup_lazy_animation_time:var(--kup-lazy-animation-time, 2s);--kup_lazy_hor_alignment:var(--kup-lazy-hor-alignment, center);--kup_lazy_placeholder_color:var(\n --kup-lazy-placeholder-color,\n var(--kup-icon-color)\n );--kup_lazy_height:var(--kup-lazy-height, 100%);--kup_lazy_ver_alignment:var(--kup-lazy-ver-alignment, center);--kup_lazy_width:var(--kup-lazy-width, 100%);display:block;height:var(--kup_lazy_height);width:var(--kup_lazy_width);position:relative}#kup-component{align-items:var(--kup_lazy_ver_alignment);display:flex;justify-content:var(--kup_lazy_hor_alignment);height:var(--kup_lazy_height);width:var(--kup_lazy_width)}#kup-component>*{height:var(--kup_lazy_height)}#kup-component kup-data-table{min-width:100%}.kup-loaded,.kup-to-be-loaded{height:var(--kup_lazy_height);width:var(--kup_lazy_width)}svg{fill:var(--kup_lazy_placeholder_color);animation:shine ease var(--kup_lazy_animation_time) infinite}@keyframes shine{0%{opacity:0.4}50%{opacity:0.8}100%{opacity:0.4}}:host(.kup-bottom-aligned){--kup-lazy-ver-alignment:flex-end}:host(.kup-left-aligned){--kup-lazy-hor-alignment:flex-start}:host(.kup-right-aligned){--kup-lazy-hor-alignment:flex-end}:host(.kup-top-aligned){--kup-lazy-ver-alignment:flex-start}:host(.kup-to-be-loaded) #kup-component{position:absolute}:host(.kup-to-be-loaded) #kup-component>*{margin:auto}";
|
|
32
31
|
|
|
33
32
|
const KupLazy = class {
|
|
34
33
|
constructor(hostRef) {
|
|
@@ -91,7 +90,7 @@ const KupLazy = class {
|
|
|
91
90
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
92
91
|
*/
|
|
93
92
|
async getProps(descriptions) {
|
|
94
|
-
return
|
|
93
|
+
return kupManager.getProps(this, KupLazyProps, descriptions);
|
|
95
94
|
}
|
|
96
95
|
/**
|
|
97
96
|
* Returns the HTMLElement of the component to lazy load.
|
|
@@ -111,7 +110,7 @@ const KupLazy = class {
|
|
|
111
110
|
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
112
111
|
*/
|
|
113
112
|
async setProps(props) {
|
|
114
|
-
|
|
113
|
+
kupManager.setProps(this, KupLazyProps, props);
|
|
115
114
|
}
|
|
116
115
|
/*-------------------------------------------------*/
|
|
117
116
|
/* P r i v a t e M e t h o d s */
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-31125378.js');
|
|
6
|
+
const kupManager = require('./kup-manager-a8eecc60.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const utils = require('./utils-4b208b48.js');
|
|
8
|
+
const fImage = require('./f-image-0f17d599.js');
|
|
10
9
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
11
10
|
|
|
12
11
|
/**
|
|
@@ -77,7 +76,7 @@ const KupMagicBox = class {
|
|
|
77
76
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
78
77
|
*/
|
|
79
78
|
async getProps(descriptions) {
|
|
80
|
-
return
|
|
79
|
+
return kupManager.getProps(this, KupMagicBoxProps, descriptions);
|
|
81
80
|
}
|
|
82
81
|
/**
|
|
83
82
|
* This method is used to trigger a new render of the component.
|
|
@@ -90,7 +89,7 @@ const KupMagicBox = class {
|
|
|
90
89
|
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
91
90
|
*/
|
|
92
91
|
async setProps(props) {
|
|
93
|
-
|
|
92
|
+
kupManager.setProps(this, KupMagicBoxProps, props);
|
|
94
93
|
}
|
|
95
94
|
/*-------------------------------------------------*/
|
|
96
95
|
/* P r i v a t e M e t h o d s */
|