@openremote/or-scheduler 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 +127 -61
- package/dist/umd/index.orbundle.js +68 -68
- package/dist/umd/index.orbundle.js.map +1 -1
- package/package.json +9 -6
package/custom-elements-jsx.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type {
|
|
2
|
+
OrSchedulerChangedEvent,
|
|
3
|
+
OrSchedulerRemovedEvent,
|
|
4
|
+
OrScheduler,
|
|
5
|
+
} from "./lib/index.d.ts";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This type can be used to create scoped tags for your components.
|
|
@@ -27,7 +30,6 @@ export type ScopedElements<
|
|
|
27
30
|
};
|
|
28
31
|
|
|
29
32
|
type BaseProps<T extends HTMLElement> = {
|
|
30
|
-
|
|
31
33
|
/** Content added between the opening and closing tags of the element */
|
|
32
34
|
children?: any;
|
|
33
35
|
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
@@ -50,6 +52,8 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
50
52
|
key?: string | number;
|
|
51
53
|
/** Specifies the language of the element. */
|
|
52
54
|
lang?: string;
|
|
55
|
+
/** Defines the element's semantic role for accessibility APIs. */
|
|
56
|
+
role?: string;
|
|
53
57
|
/** 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
58
|
part?: string;
|
|
55
59
|
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
@@ -70,121 +74,183 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
70
74
|
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
71
75
|
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
72
76
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
73
|
-
|
|
74
|
-
} ;
|
|
75
|
-
|
|
76
|
-
type BaseEvents = {
|
|
77
|
-
|
|
78
|
-
|
|
79
77
|
};
|
|
80
78
|
|
|
81
|
-
|
|
79
|
+
type BaseEvents = {};
|
|
82
80
|
|
|
83
81
|
export type OrSchedulerProps = {
|
|
84
82
|
/** */
|
|
85
|
-
|
|
83
|
+
defaultSchedule?: OrScheduler["defaultSchedule"];
|
|
86
84
|
/** */
|
|
87
|
-
|
|
85
|
+
defaultEventTypeLabel?: OrScheduler["defaultEventTypeLabel"];
|
|
88
86
|
/** */
|
|
89
|
-
|
|
87
|
+
disableNegativeByPartValues?: OrScheduler["disableNegativeByPartValues"];
|
|
90
88
|
/** */
|
|
91
|
-
|
|
89
|
+
disabledFrequencies?: OrScheduler["disabledFrequencies"];
|
|
92
90
|
/** */
|
|
93
|
-
|
|
91
|
+
disabledRRuleParts?: OrScheduler["disabledRRuleParts"];
|
|
94
92
|
/** */
|
|
95
|
-
|
|
93
|
+
disabledByPartCombinations?: OrScheduler["disabledByPartCombinations"];
|
|
96
94
|
/** */
|
|
97
|
-
|
|
95
|
+
header?: OrScheduler["header"];
|
|
98
96
|
/** */
|
|
99
|
-
|
|
97
|
+
isAllDay?: OrScheduler["isAllDay"];
|
|
100
98
|
/** */
|
|
101
|
-
|
|
99
|
+
open?: OrScheduler["open"];
|
|
102
100
|
/** */
|
|
103
|
-
|
|
101
|
+
removable?: OrScheduler["removable"];
|
|
104
102
|
/** */
|
|
105
|
-
|
|
103
|
+
schedule?: OrScheduler["schedule"];
|
|
106
104
|
/** */
|
|
107
|
-
|
|
105
|
+
timezoneOffset?: OrScheduler["timezoneOffset"];
|
|
106
|
+
};
|
|
108
107
|
|
|
108
|
+
export type OrSchedulerSolidJsProps = {
|
|
109
109
|
/** */
|
|
110
|
-
"
|
|
111
|
-
|
|
110
|
+
"prop:defaultSchedule"?: OrScheduler["defaultSchedule"];
|
|
111
|
+
/** */
|
|
112
|
+
"prop:defaultEventTypeLabel"?: OrScheduler["defaultEventTypeLabel"];
|
|
113
|
+
/** */
|
|
114
|
+
"prop:disableNegativeByPartValues"?: OrScheduler["disableNegativeByPartValues"];
|
|
115
|
+
/** */
|
|
116
|
+
"prop:disabledFrequencies"?: OrScheduler["disabledFrequencies"];
|
|
117
|
+
/** */
|
|
118
|
+
"prop:disabledRRuleParts"?: OrScheduler["disabledRRuleParts"];
|
|
119
|
+
/** */
|
|
120
|
+
"prop:disabledByPartCombinations"?: OrScheduler["disabledByPartCombinations"];
|
|
121
|
+
/** */
|
|
122
|
+
"prop:header"?: OrScheduler["header"];
|
|
123
|
+
/** */
|
|
124
|
+
"prop:isAllDay"?: OrScheduler["isAllDay"];
|
|
125
|
+
/** */
|
|
126
|
+
"prop:open"?: OrScheduler["open"];
|
|
127
|
+
/** */
|
|
128
|
+
"prop:removable"?: OrScheduler["removable"];
|
|
129
|
+
/** */
|
|
130
|
+
"prop:schedule"?: OrScheduler["schedule"];
|
|
131
|
+
/** */
|
|
132
|
+
"prop:timezoneOffset"?: OrScheduler["timezoneOffset"];
|
|
112
133
|
|
|
113
|
-
|
|
134
|
+
/** Set the innerHTML of the element */
|
|
135
|
+
innerHTML?: string;
|
|
136
|
+
/** Set the textContent of the element */
|
|
137
|
+
textContent?: string | number;
|
|
138
|
+
};
|
|
114
139
|
|
|
140
|
+
export type CustomElements = {
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
*
|
|
144
|
+
* ## Attributes & Properties
|
|
145
|
+
*
|
|
146
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
147
|
+
*
|
|
148
|
+
* - `defaultSchedule`: undefined
|
|
149
|
+
* - `defaultEventTypeLabel`: undefined
|
|
150
|
+
* - `disableNegativeByPartValues`: undefined
|
|
151
|
+
* - `disabledFrequencies`: undefined
|
|
152
|
+
* - `disabledRRuleParts`: undefined
|
|
153
|
+
* - `disabledByPartCombinations`: undefined
|
|
154
|
+
* - `header`: undefined
|
|
155
|
+
* - `isAllDay`: undefined
|
|
156
|
+
* - `open`: undefined
|
|
157
|
+
* - `removable`: undefined
|
|
158
|
+
* - `schedule`: undefined
|
|
159
|
+
* - `timezoneOffset`: undefined
|
|
160
|
+
*
|
|
161
|
+
* ## Events
|
|
162
|
+
*
|
|
163
|
+
* Events that will be emitted by the component.
|
|
164
|
+
*
|
|
165
|
+
* - `undefined`: undefined
|
|
166
|
+
*/
|
|
167
|
+
"or-scheduler": Partial<
|
|
168
|
+
OrSchedulerProps & BaseProps<OrScheduler> & BaseEvents
|
|
169
|
+
>;
|
|
170
|
+
};
|
|
115
171
|
|
|
172
|
+
export type CustomElementsSolidJs = {
|
|
116
173
|
/**
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
174
|
+
*
|
|
175
|
+
*
|
|
176
|
+
* ## Attributes & Properties
|
|
177
|
+
*
|
|
178
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
179
|
+
*
|
|
180
|
+
* - `defaultSchedule`: undefined
|
|
181
|
+
* - `defaultEventTypeLabel`: undefined
|
|
182
|
+
* - `disableNegativeByPartValues`: undefined
|
|
183
|
+
* - `disabledFrequencies`: undefined
|
|
184
|
+
* - `disabledRRuleParts`: undefined
|
|
185
|
+
* - `disabledByPartCombinations`: undefined
|
|
186
|
+
* - `header`: undefined
|
|
187
|
+
* - `isAllDay`: undefined
|
|
188
|
+
* - `open`: undefined
|
|
189
|
+
* - `removable`: undefined
|
|
190
|
+
* - `schedule`: undefined
|
|
191
|
+
* - `timezoneOffset`: undefined
|
|
192
|
+
*
|
|
193
|
+
* ## Events
|
|
194
|
+
*
|
|
195
|
+
* Events that will be emitted by the component.
|
|
196
|
+
*
|
|
197
|
+
* - `undefined`: undefined
|
|
198
|
+
*/
|
|
199
|
+
"or-scheduler": Partial<
|
|
200
|
+
OrSchedulerProps &
|
|
201
|
+
OrSchedulerSolidJsProps &
|
|
202
|
+
BaseProps<OrScheduler> &
|
|
203
|
+
BaseEvents
|
|
204
|
+
>;
|
|
205
|
+
};
|
|
144
206
|
|
|
145
|
-
export type CustomCssProperties = {
|
|
207
|
+
export type CustomCssProperties = {};
|
|
146
208
|
|
|
209
|
+
declare module "react" {
|
|
210
|
+
namespace JSX {
|
|
211
|
+
interface IntrinsicElements extends CustomElements {}
|
|
212
|
+
}
|
|
213
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
147
214
|
}
|
|
148
215
|
|
|
149
|
-
|
|
150
|
-
declare module 'react' {
|
|
216
|
+
declare module "preact" {
|
|
151
217
|
namespace JSX {
|
|
152
218
|
interface IntrinsicElements extends CustomElements {}
|
|
153
219
|
}
|
|
154
220
|
export interface CSSProperties extends CustomCssProperties {}
|
|
155
221
|
}
|
|
156
222
|
|
|
157
|
-
declare module
|
|
223
|
+
declare module "@builder.io/qwik" {
|
|
158
224
|
namespace JSX {
|
|
159
225
|
interface IntrinsicElements extends CustomElements {}
|
|
160
226
|
}
|
|
161
227
|
export interface CSSProperties extends CustomCssProperties {}
|
|
162
228
|
}
|
|
163
229
|
|
|
164
|
-
declare module
|
|
230
|
+
declare module "@stencil/core" {
|
|
165
231
|
namespace JSX {
|
|
166
232
|
interface IntrinsicElements extends CustomElements {}
|
|
167
233
|
}
|
|
168
234
|
export interface CSSProperties extends CustomCssProperties {}
|
|
169
235
|
}
|
|
170
236
|
|
|
171
|
-
declare module
|
|
237
|
+
declare module "hono/jsx" {
|
|
172
238
|
namespace JSX {
|
|
173
239
|
interface IntrinsicElements extends CustomElements {}
|
|
174
240
|
}
|
|
175
241
|
export interface CSSProperties extends CustomCssProperties {}
|
|
176
242
|
}
|
|
177
243
|
|
|
178
|
-
declare module
|
|
244
|
+
declare module "react-native" {
|
|
179
245
|
namespace JSX {
|
|
180
246
|
interface IntrinsicElements extends CustomElements {}
|
|
181
247
|
}
|
|
182
248
|
export interface CSSProperties extends CustomCssProperties {}
|
|
183
249
|
}
|
|
184
250
|
|
|
185
|
-
declare module
|
|
251
|
+
declare module "solid-js" {
|
|
186
252
|
namespace JSX {
|
|
187
|
-
interface IntrinsicElements extends
|
|
253
|
+
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
188
254
|
}
|
|
189
255
|
export interface CSSProperties extends CustomCssProperties {}
|
|
190
256
|
}
|