@openremote/or-scheduler 1.13.0 → 1.14.0-snapshot
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 +131 -53
- package/custom-elements.json +263 -108
- package/dist/umd/index.bundle.js +3612 -628
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +3612 -628
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/index.orbundle.js +3611 -627
- package/dist/umd/index.orbundle.js.map +1 -1
- package/lib/index.d.ts +62 -31
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +160 -106
- package/lib/index.js.map +1 -1
- package/lib/types.d.ts +7 -5
- package/lib/types.d.ts.map +1 -1
- package/lib/util.d.ts +61 -23
- package/lib/util.d.ts.map +1 -1
- package/lib/util.js +1 -1
- package/lib/util.js.map +1 -1
- package/package.json +10 -4
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,109 +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"];
|
|
84
|
+
/** */
|
|
85
|
+
defaultEventTypeLabel?: OrScheduler["defaultEventTypeLabel"];
|
|
86
|
+
/** */
|
|
87
|
+
disableNegativeByPartValues?: OrScheduler["disableNegativeByPartValues"];
|
|
86
88
|
/** */
|
|
87
|
-
|
|
89
|
+
disabledFrequencies?: OrScheduler["disabledFrequencies"];
|
|
88
90
|
/** */
|
|
89
|
-
|
|
91
|
+
disabledRRuleParts?: OrScheduler["disabledRRuleParts"];
|
|
90
92
|
/** */
|
|
91
|
-
|
|
93
|
+
disabledByPartCombinations?: OrScheduler["disabledByPartCombinations"];
|
|
92
94
|
/** */
|
|
93
|
-
|
|
95
|
+
header?: OrScheduler["header"];
|
|
94
96
|
/** */
|
|
95
|
-
|
|
97
|
+
isAllDay?: OrScheduler["isAllDay"];
|
|
96
98
|
/** */
|
|
97
|
-
|
|
99
|
+
open?: OrScheduler["open"];
|
|
98
100
|
/** */
|
|
99
|
-
|
|
101
|
+
removable?: OrScheduler["removable"];
|
|
102
|
+
/** */
|
|
103
|
+
schedule?: OrScheduler["schedule"];
|
|
104
|
+
/** */
|
|
105
|
+
timezoneOffset?: OrScheduler["timezoneOffset"];
|
|
106
|
+
};
|
|
100
107
|
|
|
108
|
+
export type OrSchedulerSolidJsProps = {
|
|
101
109
|
/** */
|
|
102
|
-
"
|
|
103
|
-
|
|
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"];
|
|
104
133
|
|
|
105
|
-
|
|
134
|
+
/** Set the innerHTML of the element */
|
|
135
|
+
innerHTML?: string;
|
|
136
|
+
/** Set the textContent of the element */
|
|
137
|
+
textContent?: string | number;
|
|
138
|
+
};
|
|
106
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
|
+
};
|
|
107
171
|
|
|
172
|
+
export type CustomElementsSolidJs = {
|
|
108
173
|
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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
|
+
};
|
|
132
206
|
|
|
133
|
-
export type CustomCssProperties = {
|
|
207
|
+
export type CustomCssProperties = {};
|
|
134
208
|
|
|
209
|
+
declare module "react" {
|
|
210
|
+
namespace JSX {
|
|
211
|
+
interface IntrinsicElements extends CustomElements {}
|
|
212
|
+
}
|
|
213
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
135
214
|
}
|
|
136
215
|
|
|
137
|
-
|
|
138
|
-
declare module 'react' {
|
|
216
|
+
declare module "preact" {
|
|
139
217
|
namespace JSX {
|
|
140
218
|
interface IntrinsicElements extends CustomElements {}
|
|
141
219
|
}
|
|
142
220
|
export interface CSSProperties extends CustomCssProperties {}
|
|
143
221
|
}
|
|
144
222
|
|
|
145
|
-
declare module
|
|
223
|
+
declare module "@builder.io/qwik" {
|
|
146
224
|
namespace JSX {
|
|
147
225
|
interface IntrinsicElements extends CustomElements {}
|
|
148
226
|
}
|
|
149
227
|
export interface CSSProperties extends CustomCssProperties {}
|
|
150
228
|
}
|
|
151
229
|
|
|
152
|
-
declare module
|
|
230
|
+
declare module "@stencil/core" {
|
|
153
231
|
namespace JSX {
|
|
154
232
|
interface IntrinsicElements extends CustomElements {}
|
|
155
233
|
}
|
|
156
234
|
export interface CSSProperties extends CustomCssProperties {}
|
|
157
235
|
}
|
|
158
236
|
|
|
159
|
-
declare module
|
|
237
|
+
declare module "hono/jsx" {
|
|
160
238
|
namespace JSX {
|
|
161
239
|
interface IntrinsicElements extends CustomElements {}
|
|
162
240
|
}
|
|
163
241
|
export interface CSSProperties extends CustomCssProperties {}
|
|
164
242
|
}
|
|
165
243
|
|
|
166
|
-
declare module
|
|
244
|
+
declare module "react-native" {
|
|
167
245
|
namespace JSX {
|
|
168
246
|
interface IntrinsicElements extends CustomElements {}
|
|
169
247
|
}
|
|
170
248
|
export interface CSSProperties extends CustomCssProperties {}
|
|
171
249
|
}
|
|
172
250
|
|
|
173
|
-
declare module
|
|
251
|
+
declare module "solid-js" {
|
|
174
252
|
namespace JSX {
|
|
175
|
-
interface IntrinsicElements extends
|
|
253
|
+
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
176
254
|
}
|
|
177
255
|
export interface CSSProperties extends CustomCssProperties {}
|
|
178
256
|
}
|