@sme.up/ketchup 11.0.0-SNAPSHOT-20241023082921 → 11.0.0-SNAPSHOT-20241023092659
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/index-4e97f23f.js +4 -0
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +38 -38
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-htm.cjs.entry.js +100 -0
- package/dist/cjs/kup-htm.cjs.entry.js.map +1 -0
- package/dist/cjs/kup-image-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-input-panel.cjs.entry.js +1 -1
- package/dist/cjs/kup-lazy.cjs.entry.js +11 -11
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +1 -1
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +1 -1
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/htm.js +20 -0
- package/dist/collection/assets/index.js +4 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/kup-htm/kup-htm-declarations.js +9 -0
- package/dist/collection/components/kup-htm/kup-htm-declarations.js.map +1 -0
- package/dist/collection/components/kup-htm/kup-htm.css +147 -0
- package/dist/collection/components/kup-htm/kup-htm.js +225 -0
- package/dist/collection/components/kup-htm/kup-htm.js.map +1 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +1 -1
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +1 -1
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/components/custom-task-list-header.js +2 -2
- package/dist/components/kup-autocomplete2.js +38 -38
- package/dist/components/kup-gantt-calendar2.js +2 -2
- package/dist/components/kup-gantt2.js +2 -2
- package/dist/components/kup-grid-renderer2.js +3 -3
- package/dist/components/kup-horizontal-scroll2.js +5 -5
- package/dist/components/kup-htm.d.ts +11 -0
- package/dist/components/kup-htm.js +253 -0
- package/dist/components/kup-htm.js.map +1 -0
- package/dist/components/kup-image-list.js +3 -3
- package/dist/components/kup-input-panel.js +1 -1
- package/dist/components/kup-lazy.js +11 -11
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-pdf.js +1 -1
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner-renderer2.js +2 -2
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-standard-tooltip2.js +1 -1
- package/dist/components/kup-switcher2.js +1 -1
- package/dist/components/kup-task-gantt2.js +2 -2
- package/dist/components/kup-task-list-header2.js +7 -7
- package/dist/components/kup-task-list-table2.js +1 -1
- package/dist/components/kup-task-list2.js +1 -1
- package/dist/components/kup-tooltip2.js +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/components/kup-typography.js +1 -1
- package/dist/components/kup-vertical-scroll2.js +2 -2
- package/dist/esm/index-191ee7cb.js +4 -0
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-autocomplete_27.entry.js +38 -38
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-htm.entry.js +96 -0
- package/dist/esm/kup-htm.entry.js.map +1 -0
- package/dist/esm/kup-image-list.entry.js +3 -3
- package/dist/esm/kup-input-panel.entry.js +1 -1
- package/dist/esm/kup-lazy.entry.js +11 -11
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +1 -1
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +1 -1
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +1 -1
- package/dist/esm/kup-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js.map +1 -1
- package/dist/ketchup/{p-b3c7cbd9.entry.js → p-20c22a22.entry.js} +2 -2
- package/dist/ketchup/{p-e921b455.entry.js → p-26efe39b.entry.js} +2 -2
- package/dist/ketchup/{p-18229ac3.entry.js → p-2c8d07af.entry.js} +2 -2
- package/dist/ketchup/{p-f4a6652e.entry.js → p-362a8b69.entry.js} +2 -2
- package/dist/ketchup/{p-45db3eae.entry.js → p-3a8f5a76.entry.js} +2 -2
- package/dist/ketchup/{p-39fa8da7.entry.js → p-3edff8e7.entry.js} +2 -2
- package/dist/ketchup/{p-9d9bb8a9.entry.js → p-422e1c5d.entry.js} +2 -2
- package/dist/ketchup/{p-9788df0b.entry.js → p-44b6390c.entry.js} +2 -2
- package/dist/ketchup/{p-fedd9482.entry.js → p-4b14b67b.entry.js} +2 -2
- package/dist/ketchup/p-5e889cbc.entry.js +2 -0
- package/dist/ketchup/p-5e889cbc.entry.js.map +1 -0
- package/dist/ketchup/{p-203cb58a.entry.js → p-94099e24.entry.js} +3 -3
- package/dist/ketchup/{p-8a77b0b2.entry.js → p-9fa6808d.entry.js} +2 -2
- package/dist/ketchup/{p-188ed514.entry.js → p-a33ea26d.entry.js} +2 -2
- package/dist/ketchup/{p-674a4d20.entry.js → p-b46a4d95.entry.js} +2 -2
- package/dist/ketchup/{p-246e4816.entry.js → p-b849ae30.entry.js} +2 -2
- package/dist/ketchup/p-bb4e26cb.entry.js +2 -0
- package/dist/ketchup/{p-e32ad7e4.entry.js.map → p-bb4e26cb.entry.js.map} +1 -1
- package/dist/ketchup/{p-7b5bef8e.entry.js → p-c7dfed3a.entry.js} +2 -2
- package/dist/ketchup/{p-992647ed.entry.js → p-ce5a86e1.entry.js} +2 -2
- package/dist/ketchup/{p-5d738584.entry.js → p-e8c292e9.entry.js} +2 -2
- package/dist/types/components/kup-htm/kup-htm-declarations.d.ts +7 -0
- package/dist/types/components/kup-htm/kup-htm.d.ts +40 -0
- package/dist/types/components.d.ts +57 -0
- package/package.json +1 -1
- package/dist/ketchup/p-e32ad7e4.entry.js +0 -2
- /package/dist/ketchup/{p-b3c7cbd9.entry.js.map → p-20c22a22.entry.js.map} +0 -0
- /package/dist/ketchup/{p-e921b455.entry.js.map → p-26efe39b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-18229ac3.entry.js.map → p-2c8d07af.entry.js.map} +0 -0
- /package/dist/ketchup/{p-f4a6652e.entry.js.map → p-362a8b69.entry.js.map} +0 -0
- /package/dist/ketchup/{p-45db3eae.entry.js.map → p-3a8f5a76.entry.js.map} +0 -0
- /package/dist/ketchup/{p-39fa8da7.entry.js.map → p-3edff8e7.entry.js.map} +0 -0
- /package/dist/ketchup/{p-9d9bb8a9.entry.js.map → p-422e1c5d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-9788df0b.entry.js.map → p-44b6390c.entry.js.map} +0 -0
- /package/dist/ketchup/{p-fedd9482.entry.js.map → p-4b14b67b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-203cb58a.entry.js.map → p-94099e24.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8a77b0b2.entry.js.map → p-9fa6808d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-188ed514.entry.js.map → p-a33ea26d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-674a4d20.entry.js.map → p-b46a4d95.entry.js.map} +0 -0
- /package/dist/ketchup/{p-246e4816.entry.js.map → p-b849ae30.entry.js.map} +0 -0
- /package/dist/ketchup/{p-7b5bef8e.entry.js.map → p-c7dfed3a.entry.js.map} +0 -0
- /package/dist/ketchup/{p-992647ed.entry.js.map → p-ce5a86e1.entry.js.map} +0 -0
- /package/dist/ketchup/{p-5d738584.entry.js.map → p-e8c292e9.entry.js.map} +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { KupDataCell } from '../../managers/kup-data/kup-data-declarations';
|
|
3
|
+
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
4
|
+
export declare class KupHTM {
|
|
5
|
+
#private;
|
|
6
|
+
/**
|
|
7
|
+
* References the root HTML element of the component (<kup-htm>).
|
|
8
|
+
*/
|
|
9
|
+
rootElement: HTMLElement;
|
|
10
|
+
/**
|
|
11
|
+
* Data containing the url or html.
|
|
12
|
+
* @default null
|
|
13
|
+
*/
|
|
14
|
+
data: KupDataCell;
|
|
15
|
+
/**
|
|
16
|
+
* Triggered when the component is ready.
|
|
17
|
+
*/
|
|
18
|
+
kupReady: EventEmitter<KupEventPayload>;
|
|
19
|
+
/**
|
|
20
|
+
* Used to retrieve component's props values.
|
|
21
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
22
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
23
|
+
*/
|
|
24
|
+
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
25
|
+
/**
|
|
26
|
+
* This method is used to trigger a new render of the component.
|
|
27
|
+
*/
|
|
28
|
+
refresh(): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the props to the component.
|
|
31
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
32
|
+
*/
|
|
33
|
+
setProps(props: GenericObject): Promise<void>;
|
|
34
|
+
componentWillLoad(): void;
|
|
35
|
+
componentDidLoad(): void;
|
|
36
|
+
componentWillRender(): void;
|
|
37
|
+
componentDidRender(): void;
|
|
38
|
+
render(): any;
|
|
39
|
+
disconnectedCallback(): void;
|
|
40
|
+
}
|
|
@@ -2608,6 +2608,28 @@ export namespace Components {
|
|
|
2608
2608
|
"taskListTrueRef": HTMLKupTaskListElement;
|
|
2609
2609
|
"taskListWidth": number;
|
|
2610
2610
|
}
|
|
2611
|
+
interface KupHtm {
|
|
2612
|
+
/**
|
|
2613
|
+
* Data containing the url or html.
|
|
2614
|
+
* @default null
|
|
2615
|
+
*/
|
|
2616
|
+
"data": KupDataCell;
|
|
2617
|
+
/**
|
|
2618
|
+
* Used to retrieve component's props values.
|
|
2619
|
+
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
2620
|
+
* @returns List of props as object, each key will be a prop.
|
|
2621
|
+
*/
|
|
2622
|
+
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
2623
|
+
/**
|
|
2624
|
+
* This method is used to trigger a new render of the component.
|
|
2625
|
+
*/
|
|
2626
|
+
"refresh": () => Promise<void>;
|
|
2627
|
+
/**
|
|
2628
|
+
* Sets the props to the component.
|
|
2629
|
+
* @param props - Object containing props that will be set to the component.
|
|
2630
|
+
*/
|
|
2631
|
+
"setProps": (props: GenericObject) => Promise<void>;
|
|
2632
|
+
}
|
|
2611
2633
|
interface KupIframe {
|
|
2612
2634
|
/**
|
|
2613
2635
|
* Props of the button (when isButton is set to true).
|
|
@@ -4580,6 +4602,10 @@ export interface KupFormCustomEvent<T> extends CustomEvent<T> {
|
|
|
4580
4602
|
detail: T;
|
|
4581
4603
|
target: HTMLKupFormElement;
|
|
4582
4604
|
}
|
|
4605
|
+
export interface KupHtmCustomEvent<T> extends CustomEvent<T> {
|
|
4606
|
+
detail: T;
|
|
4607
|
+
target: HTMLKupHtmElement;
|
|
4608
|
+
}
|
|
4583
4609
|
export interface KupIframeCustomEvent<T> extends CustomEvent<T> {
|
|
4584
4610
|
detail: T;
|
|
4585
4611
|
target: HTMLKupIframeElement;
|
|
@@ -5232,6 +5258,23 @@ declare global {
|
|
|
5232
5258
|
prototype: HTMLKupHorizontalScrollElement;
|
|
5233
5259
|
new (): HTMLKupHorizontalScrollElement;
|
|
5234
5260
|
};
|
|
5261
|
+
interface HTMLKupHtmElementEventMap {
|
|
5262
|
+
"kup-htm-ready": KupEventPayload;
|
|
5263
|
+
}
|
|
5264
|
+
interface HTMLKupHtmElement extends Components.KupHtm, HTMLStencilElement {
|
|
5265
|
+
addEventListener<K extends keyof HTMLKupHtmElementEventMap>(type: K, listener: (this: HTMLKupHtmElement, ev: KupHtmCustomEvent<HTMLKupHtmElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5266
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5267
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5268
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5269
|
+
removeEventListener<K extends keyof HTMLKupHtmElementEventMap>(type: K, listener: (this: HTMLKupHtmElement, ev: KupHtmCustomEvent<HTMLKupHtmElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5270
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5271
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5272
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5273
|
+
}
|
|
5274
|
+
var HTMLKupHtmElement: {
|
|
5275
|
+
prototype: HTMLKupHtmElement;
|
|
5276
|
+
new (): HTMLKupHtmElement;
|
|
5277
|
+
};
|
|
5235
5278
|
interface HTMLKupIframeElementEventMap {
|
|
5236
5279
|
"kup-iframe-error": KupEventPayload;
|
|
5237
5280
|
"kup-iframe-load": KupEventPayload;
|
|
@@ -5780,6 +5823,7 @@ declare global {
|
|
|
5780
5823
|
"kup-grid": HTMLKupGridElement;
|
|
5781
5824
|
"kup-grid-renderer": HTMLKupGridRendererElement;
|
|
5782
5825
|
"kup-horizontal-scroll": HTMLKupHorizontalScrollElement;
|
|
5826
|
+
"kup-htm": HTMLKupHtmElement;
|
|
5783
5827
|
"kup-iframe": HTMLKupIframeElement;
|
|
5784
5828
|
"kup-image": HTMLKupImageElement;
|
|
5785
5829
|
"kup-image-list": HTMLKupImageListElement;
|
|
@@ -7927,6 +7971,17 @@ declare namespace LocalJSX {
|
|
|
7927
7971
|
"taskListTrueRef"?: HTMLKupTaskListElement;
|
|
7928
7972
|
"taskListWidth"?: number;
|
|
7929
7973
|
}
|
|
7974
|
+
interface KupHtm {
|
|
7975
|
+
/**
|
|
7976
|
+
* Data containing the url or html.
|
|
7977
|
+
* @default null
|
|
7978
|
+
*/
|
|
7979
|
+
"data"?: KupDataCell;
|
|
7980
|
+
/**
|
|
7981
|
+
* Triggered when the component is ready.
|
|
7982
|
+
*/
|
|
7983
|
+
"onKup-htm-ready"?: (event: KupHtmCustomEvent<KupEventPayload>) => void;
|
|
7984
|
+
}
|
|
7930
7985
|
interface KupIframe {
|
|
7931
7986
|
/**
|
|
7932
7987
|
* Props of the button (when isButton is set to true).
|
|
@@ -9546,6 +9601,7 @@ declare namespace LocalJSX {
|
|
|
9546
9601
|
"kup-grid": KupGrid;
|
|
9547
9602
|
"kup-grid-renderer": KupGridRenderer;
|
|
9548
9603
|
"kup-horizontal-scroll": KupHorizontalScroll;
|
|
9604
|
+
"kup-htm": KupHtm;
|
|
9549
9605
|
"kup-iframe": KupIframe;
|
|
9550
9606
|
"kup-image": KupImage;
|
|
9551
9607
|
"kup-image-list": KupImageList;
|
|
@@ -9621,6 +9677,7 @@ declare module "@stencil/core" {
|
|
|
9621
9677
|
"kup-grid": LocalJSX.KupGrid & JSXBase.HTMLAttributes<HTMLKupGridElement>;
|
|
9622
9678
|
"kup-grid-renderer": LocalJSX.KupGridRenderer & JSXBase.HTMLAttributes<HTMLKupGridRendererElement>;
|
|
9623
9679
|
"kup-horizontal-scroll": LocalJSX.KupHorizontalScroll & JSXBase.HTMLAttributes<HTMLKupHorizontalScrollElement>;
|
|
9680
|
+
"kup-htm": LocalJSX.KupHtm & JSXBase.HTMLAttributes<HTMLKupHtmElement>;
|
|
9624
9681
|
"kup-iframe": LocalJSX.KupIframe & JSXBase.HTMLAttributes<HTMLKupIframeElement>;
|
|
9625
9682
|
"kup-image": LocalJSX.KupImage & JSXBase.HTMLAttributes<HTMLKupImageElement>;
|
|
9626
9683
|
"kup-image-list": LocalJSX.KupImageList & JSXBase.HTMLAttributes<HTMLKupImageListElement>;
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as s,f as t,h as i,H as e,d as h}from"./p-d7c15b0e.js";import{k as l}from"./p-8c07fd42.js";import{c as o}from"./p-635bb4b3.js";import"./p-029c7cbe.js";const c=class{constructor(t){s(this,t);this.kupManager=l();this.startTime=performance.now();this.featuresStartTime=null;this.endTime=null;this.content=null;this.customStyle="";this.features={debug:false,language:false,longCycleProp:false,longCycleVar:false,objects:false,objectsFunction:false,theme:false}}async printLifecycleTime(){const s=this.endTime-this.featuresStartTime;const t=this.endTime-this.startTime;this.content="Full lifecycle of this probe ("+this.rootElement.tagName+"#"+this.rootElement.id+") took "+t+"ms, while features took "+s+"ms.";return{id:this.rootElement.id,fullTime:t,featuresTime:s}}async refresh(){t(this)}longCycleProp(){}longCycleVar(){}longCycleObjects(){for(let s=0;s<1e6;s++){this.kupManager.objects.isNumber({t:"NR",p:"",k:""})}}longCycleObjectsFunction(){}componentWillLoad(){this.featuresStartTime=performance.now();if(this.features.debug){this.kupManager.debug.logLoad(this,false)}if(this.features.language){this.kupManager.language.register(this)}if(this.features.longCycleProp){this.longCycleProp()}if(this.features.longCycleVar){this.longCycleVar()}if(this.features.objects){this.longCycleObjects()}if(this.features.objectsFunction){this.longCycleObjectsFunction()}if(this.features.theme){this.kupManager.theme.register(this)}}componentDidLoad(){if(this.features.debug){this.kupManager.debug.logLoad(this,true)}this.endTime=performance.now()}componentWillRender(){if(this.features.debug){this.kupManager.debug.logRender(this,false)}}componentDidRender(){if(this.features.debug){this.kupManager.debug.logRender(this,true)}}render(){let s=null;if(this.features.theme){s=this.kupManager.theme.setKupStyle(this.rootElement)}return i(e,{key:"996ddafe0d4e6423ce2479b9cac0ae323939cb71"},s?i("style",null,s):null,i("div",{key:"39eae7739d080800145c30fa1ce713d131d3352f",id:o},this.content))}disconnectedCallback(){if(this.features.language){this.kupManager.language.unregister(this)}if(this.features.theme){this.kupManager.theme.unregister(this)}}get rootElement(){return h(this)}};export{c as kup_probe};
|
|
2
|
-
//# sourceMappingURL=p-e32ad7e4.entry.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|