@openremote/or-log-viewer 1.24.0 → 1.24.1
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/custom-elements-jsx.d.ts +101 -50
- package/dist/umd/index.orbundle.js +53 -53
- package/dist/umd/index.orbundle.js.map +1 -1
- package/package.json +10 -7
package/custom-elements-jsx.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
import type { OrLogViewer } from "./lib/index.d.ts";
|
|
3
2
|
|
|
4
3
|
/**
|
|
@@ -27,7 +26,6 @@ export type ScopedElements<
|
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
type BaseProps<T extends HTMLElement> = {
|
|
30
|
-
|
|
31
29
|
/** Content added between the opening and closing tags of the element */
|
|
32
30
|
children?: any;
|
|
33
31
|
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
@@ -50,6 +48,8 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
50
48
|
key?: string | number;
|
|
51
49
|
/** Specifies the language of the element. */
|
|
52
50
|
lang?: string;
|
|
51
|
+
/** Defines the element's semantic role for accessibility APIs. */
|
|
52
|
+
role?: string;
|
|
53
53
|
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
54
54
|
part?: string;
|
|
55
55
|
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
@@ -70,108 +70,159 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
70
70
|
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
71
71
|
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
72
72
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
73
|
-
|
|
74
|
-
} ;
|
|
75
|
-
|
|
76
|
-
type BaseEvents = {
|
|
77
|
-
|
|
78
|
-
|
|
79
73
|
};
|
|
80
74
|
|
|
81
|
-
|
|
75
|
+
type BaseEvents = {};
|
|
82
76
|
|
|
83
77
|
export type OrLogViewerProps = {
|
|
84
78
|
/** */
|
|
85
|
-
|
|
79
|
+
interval?: OrLogViewer["interval"];
|
|
86
80
|
/** */
|
|
87
|
-
|
|
81
|
+
timestamp?: OrLogViewer["timestamp"];
|
|
88
82
|
/** */
|
|
89
|
-
|
|
83
|
+
limit?: OrLogViewer["limit"];
|
|
90
84
|
/** */
|
|
91
|
-
|
|
85
|
+
categories?: OrLogViewer["categories"];
|
|
92
86
|
/** */
|
|
93
|
-
|
|
87
|
+
filter?: OrLogViewer["filter"];
|
|
94
88
|
/** */
|
|
95
|
-
|
|
89
|
+
level?: OrLogViewer["level"];
|
|
96
90
|
/** */
|
|
97
|
-
|
|
91
|
+
live?: OrLogViewer["live"];
|
|
98
92
|
/** */
|
|
99
|
-
|
|
93
|
+
config?: OrLogViewer["config"];
|
|
100
94
|
/** */
|
|
101
|
-
|
|
95
|
+
_loading?: OrLogViewer["_loading"];
|
|
102
96
|
/** */
|
|
103
|
-
|
|
104
|
-
|
|
97
|
+
_data?: OrLogViewer["_data"];
|
|
98
|
+
};
|
|
105
99
|
|
|
106
|
-
|
|
100
|
+
export type OrLogViewerSolidJsProps = {
|
|
101
|
+
/** */
|
|
102
|
+
"prop:interval"?: OrLogViewer["interval"];
|
|
103
|
+
/** */
|
|
104
|
+
"prop:timestamp"?: OrLogViewer["timestamp"];
|
|
105
|
+
/** */
|
|
106
|
+
"prop:limit"?: OrLogViewer["limit"];
|
|
107
|
+
/** */
|
|
108
|
+
"prop:categories"?: OrLogViewer["categories"];
|
|
109
|
+
/** */
|
|
110
|
+
"prop:filter"?: OrLogViewer["filter"];
|
|
111
|
+
/** */
|
|
112
|
+
"prop:level"?: OrLogViewer["level"];
|
|
113
|
+
/** */
|
|
114
|
+
"prop:live"?: OrLogViewer["live"];
|
|
115
|
+
/** */
|
|
116
|
+
"prop:config"?: OrLogViewer["config"];
|
|
117
|
+
/** */
|
|
118
|
+
"prop:_loading"?: OrLogViewer["_loading"];
|
|
119
|
+
/** */
|
|
120
|
+
"prop:_data"?: OrLogViewer["_data"];
|
|
107
121
|
|
|
108
|
-
|
|
122
|
+
/** Set the innerHTML of the element */
|
|
123
|
+
innerHTML?: string;
|
|
124
|
+
/** Set the textContent of the element */
|
|
125
|
+
textContent?: string | number;
|
|
126
|
+
};
|
|
109
127
|
|
|
128
|
+
export type CustomElements = {
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
*
|
|
132
|
+
* ## Attributes & Properties
|
|
133
|
+
*
|
|
134
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
135
|
+
*
|
|
136
|
+
* - `interval`: undefined
|
|
137
|
+
* - `timestamp`: undefined
|
|
138
|
+
* - `limit`: undefined
|
|
139
|
+
* - `categories`: undefined
|
|
140
|
+
* - `filter`: undefined
|
|
141
|
+
* - `level`: undefined
|
|
142
|
+
* - `live`: undefined
|
|
143
|
+
* - `config`: undefined
|
|
144
|
+
* - `_loading`: undefined
|
|
145
|
+
* - `_data`: undefined
|
|
146
|
+
*/
|
|
147
|
+
"or-log-viewer": Partial<
|
|
148
|
+
OrLogViewerProps & BaseProps<OrLogViewer> & BaseEvents
|
|
149
|
+
>;
|
|
150
|
+
};
|
|
110
151
|
|
|
152
|
+
export type CustomElementsSolidJs = {
|
|
111
153
|
/**
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
154
|
+
*
|
|
155
|
+
*
|
|
156
|
+
* ## Attributes & Properties
|
|
157
|
+
*
|
|
158
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
159
|
+
*
|
|
160
|
+
* - `interval`: undefined
|
|
161
|
+
* - `timestamp`: undefined
|
|
162
|
+
* - `limit`: undefined
|
|
163
|
+
* - `categories`: undefined
|
|
164
|
+
* - `filter`: undefined
|
|
165
|
+
* - `level`: undefined
|
|
166
|
+
* - `live`: undefined
|
|
167
|
+
* - `config`: undefined
|
|
168
|
+
* - `_loading`: undefined
|
|
169
|
+
* - `_data`: undefined
|
|
170
|
+
*/
|
|
171
|
+
"or-log-viewer": Partial<
|
|
172
|
+
OrLogViewerProps &
|
|
173
|
+
OrLogViewerSolidJsProps &
|
|
174
|
+
BaseProps<OrLogViewer> &
|
|
175
|
+
BaseEvents
|
|
176
|
+
>;
|
|
177
|
+
};
|
|
131
178
|
|
|
132
|
-
export type CustomCssProperties = {
|
|
179
|
+
export type CustomCssProperties = {};
|
|
133
180
|
|
|
181
|
+
declare module "react" {
|
|
182
|
+
namespace JSX {
|
|
183
|
+
interface IntrinsicElements extends CustomElements {}
|
|
184
|
+
}
|
|
185
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
134
186
|
}
|
|
135
187
|
|
|
136
|
-
|
|
137
|
-
declare module 'react' {
|
|
188
|
+
declare module "preact" {
|
|
138
189
|
namespace JSX {
|
|
139
190
|
interface IntrinsicElements extends CustomElements {}
|
|
140
191
|
}
|
|
141
192
|
export interface CSSProperties extends CustomCssProperties {}
|
|
142
193
|
}
|
|
143
194
|
|
|
144
|
-
declare module
|
|
195
|
+
declare module "@builder.io/qwik" {
|
|
145
196
|
namespace JSX {
|
|
146
197
|
interface IntrinsicElements extends CustomElements {}
|
|
147
198
|
}
|
|
148
199
|
export interface CSSProperties extends CustomCssProperties {}
|
|
149
200
|
}
|
|
150
201
|
|
|
151
|
-
declare module
|
|
202
|
+
declare module "@stencil/core" {
|
|
152
203
|
namespace JSX {
|
|
153
204
|
interface IntrinsicElements extends CustomElements {}
|
|
154
205
|
}
|
|
155
206
|
export interface CSSProperties extends CustomCssProperties {}
|
|
156
207
|
}
|
|
157
208
|
|
|
158
|
-
declare module
|
|
209
|
+
declare module "hono/jsx" {
|
|
159
210
|
namespace JSX {
|
|
160
211
|
interface IntrinsicElements extends CustomElements {}
|
|
161
212
|
}
|
|
162
213
|
export interface CSSProperties extends CustomCssProperties {}
|
|
163
214
|
}
|
|
164
215
|
|
|
165
|
-
declare module
|
|
216
|
+
declare module "react-native" {
|
|
166
217
|
namespace JSX {
|
|
167
218
|
interface IntrinsicElements extends CustomElements {}
|
|
168
219
|
}
|
|
169
220
|
export interface CSSProperties extends CustomCssProperties {}
|
|
170
221
|
}
|
|
171
222
|
|
|
172
|
-
declare module
|
|
223
|
+
declare module "solid-js" {
|
|
173
224
|
namespace JSX {
|
|
174
|
-
interface IntrinsicElements extends
|
|
225
|
+
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
175
226
|
}
|
|
176
227
|
export interface CSSProperties extends CustomCssProperties {}
|
|
177
228
|
}
|