@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-a2197376.js';
|
|
2
|
-
import { F as FButton } from './f-button-
|
|
2
|
+
import { F as FButton } from './f-button-d1aba968.js';
|
|
3
3
|
import { F as FButtonStyling } from './f-button-declarations-b1b4cac4.js';
|
|
4
|
-
import { F as FImage } from './f-image-
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric,
|
|
4
|
+
import { F as FImage } from './f-image-57c88302.js';
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, R as KupPointerEventTypes } from './kup-manager-c0fbb180.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-665de00a.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -48,50 +48,6 @@ const KupFamilyTree = class {
|
|
|
48
48
|
this.kupDblClick = createEvent(this, "kup-familytree-dblclick", 6);
|
|
49
49
|
_KupFamilyTree_instances.add(this);
|
|
50
50
|
/*-------------------------------------------------*/
|
|
51
|
-
/* P r o p s */
|
|
52
|
-
/*-------------------------------------------------*/
|
|
53
|
-
/**
|
|
54
|
-
* The component will autofit everytime a node is expanded.
|
|
55
|
-
* @default true
|
|
56
|
-
*/
|
|
57
|
-
this.autofitOnExpand = true;
|
|
58
|
-
/**
|
|
59
|
-
* The component's initial render will fit the container by invoking the runAutofit method.
|
|
60
|
-
* @default true
|
|
61
|
-
*/
|
|
62
|
-
this.autofitOnLoad = true;
|
|
63
|
-
/**
|
|
64
|
-
* Used to render the family tree boxes as kup-cards (through kup-box).
|
|
65
|
-
* @default null
|
|
66
|
-
*/
|
|
67
|
-
this.cardData = null;
|
|
68
|
-
/**
|
|
69
|
-
* Nodes can be expanded/collapsed.
|
|
70
|
-
* @default true
|
|
71
|
-
*/
|
|
72
|
-
this.collapsible = true;
|
|
73
|
-
/**
|
|
74
|
-
* Custom style of the component.
|
|
75
|
-
* @default ""
|
|
76
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
77
|
-
*/
|
|
78
|
-
this.customStyle = '';
|
|
79
|
-
/**
|
|
80
|
-
* Actual data of the component.
|
|
81
|
-
* @default null
|
|
82
|
-
*/
|
|
83
|
-
this.data = null;
|
|
84
|
-
/**
|
|
85
|
-
* Layout of the boxes.
|
|
86
|
-
* @default null
|
|
87
|
-
*/
|
|
88
|
-
this.layout = null;
|
|
89
|
-
/**
|
|
90
|
-
* Child nodes that have no children are arranged vertically.
|
|
91
|
-
* @default false
|
|
92
|
-
*/
|
|
93
|
-
this.stackedLeaves = false;
|
|
94
|
-
/*-------------------------------------------------*/
|
|
95
51
|
/* I n t e r n a l V a r i a b l e s */
|
|
96
52
|
/*-------------------------------------------------*/
|
|
97
53
|
_KupFamilyTree_clickTimeout.set(this, []);
|
|
@@ -110,6 +66,14 @@ const KupFamilyTree = class {
|
|
|
110
66
|
});
|
|
111
67
|
_KupFamilyTree_shouldAutofit.set(this, false);
|
|
112
68
|
_KupFamilyTree_wrapperEl.set(this, null);
|
|
69
|
+
this.autofitOnExpand = true;
|
|
70
|
+
this.autofitOnLoad = true;
|
|
71
|
+
this.cardData = null;
|
|
72
|
+
this.collapsible = true;
|
|
73
|
+
this.customStyle = '';
|
|
74
|
+
this.data = null;
|
|
75
|
+
this.layout = null;
|
|
76
|
+
this.stackedLeaves = false;
|
|
113
77
|
}
|
|
114
78
|
/*-------------------------------------------------*/
|
|
115
79
|
/* P u b l i c M e t h o d s */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-a2197376.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupDebugCategory } from './kup-manager-c0fbb180.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Props of the kup-iframe component.
|
|
@@ -20,27 +20,15 @@ const KupIframe = class {
|
|
|
20
20
|
this.kupIframeError = createEvent(this, "kup-iframe-error", 6);
|
|
21
21
|
this.kupIframeLoad = createEvent(this, "kup-iframe-load", 6);
|
|
22
22
|
/*-------------------------------------------------*/
|
|
23
|
-
/* P r o p s */
|
|
24
|
-
/*-------------------------------------------------*/
|
|
25
|
-
/**
|
|
26
|
-
* Props of the button (when isButton is set to true).
|
|
27
|
-
*/
|
|
28
|
-
this.buttonData = {};
|
|
29
|
-
/**
|
|
30
|
-
* The component will be rendered as a button, which opens the link associated to the iframe in another tab when clicked.
|
|
31
|
-
*/
|
|
32
|
-
this.isButton = false;
|
|
33
|
-
/**
|
|
34
|
-
* The address the iframe should be referencing to.
|
|
35
|
-
*/
|
|
36
|
-
this.src = undefined;
|
|
37
|
-
/*-------------------------------------------------*/
|
|
38
23
|
/* I n t e r n a l V a r i a b l e s */
|
|
39
24
|
/*-------------------------------------------------*/
|
|
40
25
|
/**
|
|
41
26
|
* Instance of the KupManager class.
|
|
42
27
|
*/
|
|
43
28
|
this.kupManager = kupManagerInstance();
|
|
29
|
+
this.buttonData = {};
|
|
30
|
+
this.isButton = false;
|
|
31
|
+
this.src = undefined;
|
|
44
32
|
}
|
|
45
33
|
onKupIframeError() {
|
|
46
34
|
this.kupIframeError.emit({ comp: this, id: this.rootElement.id });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-a2197376.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, d as FCellPadding } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, d as FCellPadding } from './kup-manager-c0fbb180.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-665de00a.js';
|
|
4
|
-
import { F as FImage } from './f-image-
|
|
5
|
-
import { F as FButton } from './f-button-
|
|
4
|
+
import { F as FImage } from './f-image-57c88302.js';
|
|
5
|
+
import { F as FButton } from './f-button-d1aba968.js';
|
|
6
6
|
import { F as FButtonStyling } from './f-button-declarations-b1b4cac4.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
7
|
+
import { F as FCell } from './f-cell-646406bb.js';
|
|
8
8
|
import { M as MDCRipple } from './component-b1bedf1d.js';
|
|
9
9
|
import './f-checkbox-b721178e.js';
|
|
10
|
-
import './f-text-field-
|
|
11
|
-
import './f-chip-
|
|
10
|
+
import './f-text-field-b0a1fea6.js';
|
|
11
|
+
import './f-chip-d94e9e81.js';
|
|
12
12
|
import './tslib.es6-3eea2234.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -62,32 +62,6 @@ const KupImageList = class {
|
|
|
62
62
|
/* S t a t e s */
|
|
63
63
|
/*-------------------------------------------------*/
|
|
64
64
|
this.state = new KupImageListState();
|
|
65
|
-
this.currentNode = null;
|
|
66
|
-
this.navigationBarToggled = false;
|
|
67
|
-
/*-------------------------------------------------*/
|
|
68
|
-
/* P r o p s */
|
|
69
|
-
/*-------------------------------------------------*/
|
|
70
|
-
/**
|
|
71
|
-
* Custom style of the component.
|
|
72
|
-
* @default ""
|
|
73
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
74
|
-
*/
|
|
75
|
-
this.customStyle = '';
|
|
76
|
-
/**
|
|
77
|
-
* Actual data of the component.
|
|
78
|
-
* @default []
|
|
79
|
-
*/
|
|
80
|
-
this.data = [];
|
|
81
|
-
/**
|
|
82
|
-
* When enabled displays Material's ripple effect on clicked items.
|
|
83
|
-
* @default true
|
|
84
|
-
*/
|
|
85
|
-
this.ripple = true;
|
|
86
|
-
/**
|
|
87
|
-
* An array of integers containing the path to a selected child.\
|
|
88
|
-
*/
|
|
89
|
-
this.selectedNode = [];
|
|
90
|
-
this.stateId = '';
|
|
91
65
|
/*-------------------------------------------------*/
|
|
92
66
|
/* I n t e r n a l V a r i a b l e s */
|
|
93
67
|
/*-------------------------------------------------*/
|
|
@@ -117,6 +91,14 @@ const KupImageList = class {
|
|
|
117
91
|
styling: FButtonStyling.FLAT,
|
|
118
92
|
wrapperClass: 'navigation-bar__top',
|
|
119
93
|
});
|
|
94
|
+
this.currentNode = null;
|
|
95
|
+
this.navigationBarToggled = false;
|
|
96
|
+
this.customStyle = '';
|
|
97
|
+
this.data = [];
|
|
98
|
+
this.ripple = true;
|
|
99
|
+
this.selectedNode = [];
|
|
100
|
+
this.stateId = '';
|
|
101
|
+
this.store = undefined;
|
|
120
102
|
}
|
|
121
103
|
initWithPersistedState() {
|
|
122
104
|
if (this.store && this.stateId) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-a2197376.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-c0fbb180.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-665de00a.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -30,40 +30,6 @@ const KupLazy = class {
|
|
|
30
30
|
registerInstance(this, hostRef);
|
|
31
31
|
this.kupLazyLoaded = createEvent(this, "kup-lazy-loaded", 6);
|
|
32
32
|
/*-------------------------------------------------*/
|
|
33
|
-
/* S t a t e s */
|
|
34
|
-
/*-------------------------------------------------*/
|
|
35
|
-
this.isInViewport = false;
|
|
36
|
-
/*-------------------------------------------------*/
|
|
37
|
-
/* P r o p s */
|
|
38
|
-
/*-------------------------------------------------*/
|
|
39
|
-
/**
|
|
40
|
-
* Sets the tag name of the component to be lazy loaded.
|
|
41
|
-
* @default null
|
|
42
|
-
*/
|
|
43
|
-
this.componentName = null;
|
|
44
|
-
/**
|
|
45
|
-
* Custom style of the component.
|
|
46
|
-
* @default ""
|
|
47
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
48
|
-
*/
|
|
49
|
-
this.customStyle = '';
|
|
50
|
-
/**
|
|
51
|
-
* Sets the data of the component to be lazy loaded.
|
|
52
|
-
* @default null
|
|
53
|
-
*/
|
|
54
|
-
this.data = null;
|
|
55
|
-
/**
|
|
56
|
-
* Decides when the sub-component should be rendered.
|
|
57
|
-
* By default when both the component props exist and the component is in the viewport.
|
|
58
|
-
* @default KupLazyRender.BOTH
|
|
59
|
-
*/
|
|
60
|
-
this.renderMode = KupLazyRender.BOTH;
|
|
61
|
-
/**
|
|
62
|
-
* Displays an animated SVG placeholder until the component is loaded.
|
|
63
|
-
* @default true
|
|
64
|
-
*/
|
|
65
|
-
this.showPlaceholder = true;
|
|
66
|
-
/*-------------------------------------------------*/
|
|
67
33
|
/* I n t e r n a l V a r i a b l e s */
|
|
68
34
|
/*-------------------------------------------------*/
|
|
69
35
|
/**
|
|
@@ -76,6 +42,12 @@ const KupLazy = class {
|
|
|
76
42
|
this.kupManager = kupManagerInstance();
|
|
77
43
|
this.lazyComponent = null;
|
|
78
44
|
this.lazyComponentLoaded = false;
|
|
45
|
+
this.isInViewport = false;
|
|
46
|
+
this.componentName = null;
|
|
47
|
+
this.customStyle = '';
|
|
48
|
+
this.data = null;
|
|
49
|
+
this.renderMode = KupLazyRender.BOTH;
|
|
50
|
+
this.showPlaceholder = true;
|
|
79
51
|
}
|
|
80
52
|
/*-------------------------------------------------*/
|
|
81
53
|
/* P u b l i c M e t h o d s */
|
|
@@ -211,8 +183,9 @@ const KupLazy = class {
|
|
|
211
183
|
return (h(Host, { class: className }, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, content)));
|
|
212
184
|
}
|
|
213
185
|
disconnectedCallback() {
|
|
186
|
+
var _a;
|
|
214
187
|
this.kupManager.theme.unregister(this);
|
|
215
|
-
this.intObserver.unobserve(this.rootElement);
|
|
188
|
+
(_a = this.intObserver) === null || _a === void 0 ? void 0 : _a.unobserve(this.rootElement);
|
|
216
189
|
}
|
|
217
190
|
get rootElement() { return getElement(this); }
|
|
218
191
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-a2197376.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, c as KupDebugCategory, ax as kupDropEvent,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, c as KupDebugCategory, ax as kupDropEvent, U as kupDraggableColumnAttr, ay as kupDraggableRowAttr, Y as KupDropEventTypes, b as KupThemeColorValues } from './kup-manager-c0fbb180.js';
|
|
3
3
|
import { F as FButtonStyling } from './f-button-declarations-b1b4cac4.js';
|
|
4
|
-
import { F as FImage } from './f-image-
|
|
4
|
+
import { F as FImage } from './f-image-57c88302.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-665de00a.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -34,34 +34,15 @@ const KupMagicBox = class {
|
|
|
34
34
|
constructor(hostRef) {
|
|
35
35
|
registerInstance(this, hostRef);
|
|
36
36
|
/*-------------------------------------------------*/
|
|
37
|
-
/* S t a t e s */
|
|
38
|
-
/*-------------------------------------------------*/
|
|
39
|
-
/**
|
|
40
|
-
* Data will be displayed using this component.
|
|
41
|
-
* @default KupMagicBoxDisplay.DATATABLE
|
|
42
|
-
*/
|
|
43
|
-
this.display = KupMagicBoxDisplay.DATATABLE;
|
|
44
|
-
/*-------------------------------------------------*/
|
|
45
|
-
/* P r o p s */
|
|
46
|
-
/*-------------------------------------------------*/
|
|
47
|
-
/**
|
|
48
|
-
* Custom style of the component.
|
|
49
|
-
* @default ""
|
|
50
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
51
|
-
*/
|
|
52
|
-
this.customStyle = '';
|
|
53
|
-
/**
|
|
54
|
-
* Sets the data that will be used to display different components.
|
|
55
|
-
* @default null
|
|
56
|
-
*/
|
|
57
|
-
this.data = null;
|
|
58
|
-
/*-------------------------------------------------*/
|
|
59
37
|
/* I n t e r n a l V a r i a b l e s */
|
|
60
38
|
/*-------------------------------------------------*/
|
|
61
39
|
this.dragHandler = null;
|
|
62
40
|
this.kupManager = kupManagerInstance();
|
|
63
41
|
this.textArea = null;
|
|
64
42
|
this.wrapperRef = null;
|
|
43
|
+
this.display = KupMagicBoxDisplay.DATATABLE;
|
|
44
|
+
this.customStyle = '';
|
|
45
|
+
this.data = null;
|
|
65
46
|
}
|
|
66
47
|
/*-------------------------------------------------*/
|
|
67
48
|
/* P u b l i c M e t h o d s */
|