@genesislcap/foundation-ui 14.246.1 → 14.247.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/custom-elements.json +2676 -1485
- package/dist/dts/base-components.d.ts +11 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/scheduler-cron-builder/daily-recurrence/daily-recurrence.d.ts +342 -0
- package/dist/dts/scheduler-cron-builder/daily-recurrence/daily-recurrence.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/daily-recurrence/daily-recurrence.styles.d.ts +3 -0
- package/dist/dts/scheduler-cron-builder/daily-recurrence/daily-recurrence.styles.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/daily-recurrence/daily-recurrence.template.d.ts +4 -0
- package/dist/dts/scheduler-cron-builder/daily-recurrence/daily-recurrence.template.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/helpers.d.ts +211 -0
- package/dist/dts/scheduler-cron-builder/helpers.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/index.d.ts +4 -0
- package/dist/dts/scheduler-cron-builder/index.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.d.ts +400 -0
- package/dist/dts/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.styles.d.ts +3 -0
- package/dist/dts/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.styles.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.template.d.ts +4 -0
- package/dist/dts/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.template.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.d.ts +124 -0
- package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.styles.d.ts +4 -0
- package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.styles.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.template.d.ts +4 -0
- package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.template.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/types.d.ts +90 -0
- package/dist/dts/scheduler-cron-builder/types.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.d.ts +346 -0
- package/dist/dts/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.styles.d.ts +3 -0
- package/dist/dts/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.styles.d.ts.map +1 -0
- package/dist/dts/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.template.d.ts +4 -0
- package/dist/dts/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.template.d.ts.map +1 -0
- package/dist/dts/utils/base-datasource.d.ts +1 -1
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/scheduler-cron-builder/daily-recurrence/daily-recurrence.js +38 -0
- package/dist/esm/scheduler-cron-builder/daily-recurrence/daily-recurrence.styles.js +5 -0
- package/dist/esm/scheduler-cron-builder/daily-recurrence/daily-recurrence.template.js +25 -0
- package/dist/esm/scheduler-cron-builder/helpers.js +330 -0
- package/dist/esm/scheduler-cron-builder/index.js +3 -0
- package/dist/esm/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.js +130 -0
- package/dist/esm/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.styles.js +25 -0
- package/dist/esm/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.template.js +92 -0
- package/dist/esm/scheduler-cron-builder/scheduler-cron-builder.js +289 -0
- package/dist/esm/scheduler-cron-builder/scheduler-cron-builder.styles.js +72 -0
- package/dist/esm/scheduler-cron-builder/scheduler-cron-builder.template.js +101 -0
- package/dist/esm/scheduler-cron-builder/types.js +67 -0
- package/dist/esm/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.js +59 -0
- package/dist/esm/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.styles.js +9 -0
- package/dist/esm/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.template.js +25 -0
- package/package.json +17 -16
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { CronBuilderEventDetailMap, CronBuilderEvents, WeeklyConfig } from '../types';
|
|
2
|
+
declare const WeeklyRecurrence_base: abstract new (...args: any[]) => {
|
|
3
|
+
$emit<K extends CronBuilderEvents>(...args: CronBuilderEventDetailMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: CronBuilderEventDetailMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
|
|
4
|
+
accessKey: string;
|
|
5
|
+
readonly accessKeyLabel: string;
|
|
6
|
+
autocapitalize: string;
|
|
7
|
+
dir: string;
|
|
8
|
+
draggable: boolean;
|
|
9
|
+
hidden: boolean;
|
|
10
|
+
inert: boolean;
|
|
11
|
+
innerText: string;
|
|
12
|
+
lang: string;
|
|
13
|
+
readonly offsetHeight: number;
|
|
14
|
+
readonly offsetLeft: number;
|
|
15
|
+
readonly offsetParent: Element;
|
|
16
|
+
readonly offsetTop: number;
|
|
17
|
+
readonly offsetWidth: number;
|
|
18
|
+
outerText: string;
|
|
19
|
+
spellcheck: boolean;
|
|
20
|
+
title: string;
|
|
21
|
+
translate: boolean;
|
|
22
|
+
attachInternals(): ElementInternals;
|
|
23
|
+
click(): void;
|
|
24
|
+
addEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
25
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
26
|
+
removeEventListener<K_2 extends keyof HTMLElementEventMap>(type: K_2, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_2]) => any, options?: boolean | EventListenerOptions): void;
|
|
27
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
28
|
+
readonly attributes: NamedNodeMap;
|
|
29
|
+
readonly classList: DOMTokenList;
|
|
30
|
+
className: string;
|
|
31
|
+
readonly clientHeight: number;
|
|
32
|
+
readonly clientLeft: number;
|
|
33
|
+
readonly clientTop: number;
|
|
34
|
+
readonly clientWidth: number;
|
|
35
|
+
id: string;
|
|
36
|
+
readonly localName: string;
|
|
37
|
+
readonly namespaceURI: string;
|
|
38
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
39
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
40
|
+
outerHTML: string;
|
|
41
|
+
readonly ownerDocument: Document;
|
|
42
|
+
readonly part: DOMTokenList;
|
|
43
|
+
readonly prefix: string;
|
|
44
|
+
readonly scrollHeight: number;
|
|
45
|
+
scrollLeft: number;
|
|
46
|
+
scrollTop: number;
|
|
47
|
+
readonly scrollWidth: number;
|
|
48
|
+
readonly shadowRoot: ShadowRoot;
|
|
49
|
+
slot: string;
|
|
50
|
+
readonly tagName: string;
|
|
51
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
52
|
+
closest<K_3 extends keyof HTMLElementTagNameMap>(selector: K_3): HTMLElementTagNameMap[K_3];
|
|
53
|
+
closest<K_4 extends keyof SVGElementTagNameMap>(selector: K_4): SVGElementTagNameMap[K_4];
|
|
54
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
55
|
+
getAttribute(qualifiedName: string): string;
|
|
56
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
57
|
+
getAttributeNames(): string[];
|
|
58
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
59
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
60
|
+
getBoundingClientRect(): DOMRect;
|
|
61
|
+
getClientRects(): DOMRectList;
|
|
62
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
63
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
64
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
65
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
66
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
67
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
68
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
69
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
70
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
71
|
+
hasAttributes(): boolean;
|
|
72
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
73
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
74
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
75
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
76
|
+
matches(selectors: string): boolean;
|
|
77
|
+
releasePointerCapture(pointerId: number): void;
|
|
78
|
+
removeAttribute(qualifiedName: string): void;
|
|
79
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
80
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
81
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
82
|
+
requestPointerLock(): void;
|
|
83
|
+
scroll(options?: ScrollToOptions): void;
|
|
84
|
+
scroll(x: number, y: number): void;
|
|
85
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
86
|
+
scrollBy(x: number, y: number): void;
|
|
87
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
88
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
89
|
+
scrollTo(x: number, y: number): void;
|
|
90
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
91
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
92
|
+
setAttributeNode(attr: Attr): Attr;
|
|
93
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
94
|
+
setPointerCapture(pointerId: number): void;
|
|
95
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
96
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
97
|
+
readonly baseURI: string;
|
|
98
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
99
|
+
readonly firstChild: ChildNode;
|
|
100
|
+
readonly isConnected: boolean;
|
|
101
|
+
readonly lastChild: ChildNode;
|
|
102
|
+
readonly nextSibling: ChildNode;
|
|
103
|
+
readonly nodeName: string;
|
|
104
|
+
readonly nodeType: number;
|
|
105
|
+
nodeValue: string;
|
|
106
|
+
readonly parentElement: HTMLElement;
|
|
107
|
+
readonly parentNode: ParentNode;
|
|
108
|
+
readonly previousSibling: ChildNode;
|
|
109
|
+
textContent: string;
|
|
110
|
+
appendChild<T extends Node>(node: T): T;
|
|
111
|
+
cloneNode(deep?: boolean): Node;
|
|
112
|
+
compareDocumentPosition(other: Node): number;
|
|
113
|
+
contains(other: Node): boolean;
|
|
114
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
115
|
+
hasChildNodes(): boolean;
|
|
116
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
|
|
117
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
118
|
+
isEqualNode(otherNode: Node): boolean;
|
|
119
|
+
isSameNode(otherNode: Node): boolean;
|
|
120
|
+
lookupNamespaceURI(prefix: string): string;
|
|
121
|
+
lookupPrefix(namespace: string): string;
|
|
122
|
+
normalize(): void;
|
|
123
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
124
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
125
|
+
readonly ATTRIBUTE_NODE: number;
|
|
126
|
+
readonly CDATA_SECTION_NODE: number;
|
|
127
|
+
readonly COMMENT_NODE: number;
|
|
128
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
129
|
+
readonly DOCUMENT_NODE: number;
|
|
130
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
131
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
132
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
133
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
134
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
135
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
136
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
137
|
+
readonly ELEMENT_NODE: number;
|
|
138
|
+
readonly ENTITY_NODE: number;
|
|
139
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
140
|
+
readonly NOTATION_NODE: number;
|
|
141
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
142
|
+
readonly TEXT_NODE: number;
|
|
143
|
+
dispatchEvent(event: Event): boolean;
|
|
144
|
+
ariaAtomic: string;
|
|
145
|
+
ariaAutoComplete: string;
|
|
146
|
+
ariaBusy: string;
|
|
147
|
+
ariaChecked: string;
|
|
148
|
+
ariaColCount: string;
|
|
149
|
+
ariaColIndex: string;
|
|
150
|
+
ariaColIndexText: string;
|
|
151
|
+
ariaColSpan: string;
|
|
152
|
+
ariaCurrent: string;
|
|
153
|
+
ariaDisabled: string;
|
|
154
|
+
ariaExpanded: string;
|
|
155
|
+
ariaHasPopup: string;
|
|
156
|
+
ariaHidden: string;
|
|
157
|
+
ariaInvalid: string;
|
|
158
|
+
ariaKeyShortcuts: string;
|
|
159
|
+
ariaLabel: string;
|
|
160
|
+
ariaLevel: string;
|
|
161
|
+
ariaLive: string;
|
|
162
|
+
ariaModal: string;
|
|
163
|
+
ariaMultiLine: string;
|
|
164
|
+
ariaMultiSelectable: string;
|
|
165
|
+
ariaOrientation: string;
|
|
166
|
+
ariaPlaceholder: string;
|
|
167
|
+
ariaPosInSet: string;
|
|
168
|
+
ariaPressed: string;
|
|
169
|
+
ariaReadOnly: string;
|
|
170
|
+
ariaRequired: string;
|
|
171
|
+
ariaRoleDescription: string;
|
|
172
|
+
ariaRowCount: string;
|
|
173
|
+
ariaRowIndex: string;
|
|
174
|
+
ariaRowIndexText: string;
|
|
175
|
+
ariaRowSpan: string;
|
|
176
|
+
ariaSelected: string;
|
|
177
|
+
ariaSetSize: string;
|
|
178
|
+
ariaSort: string;
|
|
179
|
+
ariaValueMax: string;
|
|
180
|
+
ariaValueMin: string;
|
|
181
|
+
ariaValueNow: string;
|
|
182
|
+
ariaValueText: string;
|
|
183
|
+
role: string;
|
|
184
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
185
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
186
|
+
after(...nodes: (string | Node)[]): void;
|
|
187
|
+
before(...nodes: (string | Node)[]): void;
|
|
188
|
+
remove(): void;
|
|
189
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
190
|
+
innerHTML: string;
|
|
191
|
+
readonly nextElementSibling: Element;
|
|
192
|
+
readonly previousElementSibling: Element;
|
|
193
|
+
readonly childElementCount: number;
|
|
194
|
+
readonly children: HTMLCollection;
|
|
195
|
+
readonly firstElementChild: Element;
|
|
196
|
+
readonly lastElementChild: Element;
|
|
197
|
+
append(...nodes: (string | Node)[]): void;
|
|
198
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
199
|
+
querySelector<K_7 extends keyof HTMLElementTagNameMap>(selectors: K_7): HTMLElementTagNameMap[K_7];
|
|
200
|
+
querySelector<K_8 extends keyof SVGElementTagNameMap>(selectors: K_8): SVGElementTagNameMap[K_8];
|
|
201
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
202
|
+
querySelectorAll<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): NodeListOf<HTMLElementTagNameMap[K_9]>;
|
|
203
|
+
querySelectorAll<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): NodeListOf<SVGElementTagNameMap[K_10]>;
|
|
204
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
205
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
206
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
207
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
208
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
209
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
210
|
+
readonly style: CSSStyleDeclaration;
|
|
211
|
+
contentEditable: string;
|
|
212
|
+
enterKeyHint: string;
|
|
213
|
+
inputMode: string;
|
|
214
|
+
readonly isContentEditable: boolean;
|
|
215
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
216
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
217
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
218
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
219
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
220
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
221
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
222
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
223
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
224
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
225
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
226
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
227
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
228
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
229
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
230
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
231
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
232
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
233
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
234
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
235
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
236
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
237
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
238
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
239
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
240
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
241
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
242
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
243
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
244
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
245
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
246
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
247
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
248
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
249
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
250
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
251
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
252
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
253
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
254
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
255
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
256
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
257
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
258
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
259
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
260
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
261
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
262
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
263
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
264
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
265
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
266
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
267
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
268
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
269
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
270
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
271
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
272
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
273
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
274
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
275
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
276
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
277
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
278
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
279
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
280
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
281
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
282
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
283
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
284
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
285
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
286
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
287
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
288
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
289
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
290
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
291
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
292
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
293
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
294
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
295
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
296
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
297
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
298
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
299
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
300
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
301
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
302
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
303
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
304
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
305
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
306
|
+
autofocus: boolean;
|
|
307
|
+
readonly dataset: DOMStringMap;
|
|
308
|
+
nonce?: string;
|
|
309
|
+
tabIndex: number;
|
|
310
|
+
blur(): void;
|
|
311
|
+
focus(options?: FocusOptions): void;
|
|
312
|
+
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
313
|
+
connectedCallback(): void;
|
|
314
|
+
disconnectedCallback(): void;
|
|
315
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
316
|
+
};
|
|
317
|
+
export declare class WeeklyRecurrence extends WeeklyRecurrence_base {
|
|
318
|
+
/**
|
|
319
|
+
* design system prefix to use for component tags
|
|
320
|
+
* @internal
|
|
321
|
+
* */
|
|
322
|
+
prefix: any;
|
|
323
|
+
/**
|
|
324
|
+
* stores and updates weekly config as well syncs UI with parent component(cron-scheduler)
|
|
325
|
+
* @internal
|
|
326
|
+
* */
|
|
327
|
+
config: WeeklyConfig;
|
|
328
|
+
configChanged(): void;
|
|
329
|
+
/**
|
|
330
|
+
* Used for storing specific Week days (Monday-Sunday) on which the event should occurs
|
|
331
|
+
*/
|
|
332
|
+
private selectedDays;
|
|
333
|
+
/**
|
|
334
|
+
* used to add or remove days of week in set on basis of user selection,
|
|
335
|
+
* and update cron expression as well
|
|
336
|
+
* @internal
|
|
337
|
+
* */
|
|
338
|
+
checkboxChangeHandler(event: Event): void;
|
|
339
|
+
/**
|
|
340
|
+
* emits an event to update cron config and cron expression for weekly config
|
|
341
|
+
* @internal
|
|
342
|
+
* */
|
|
343
|
+
updateCronConfig(): void;
|
|
344
|
+
}
|
|
345
|
+
export {};
|
|
346
|
+
//# sourceMappingURL=weekly-recurrence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weekly-recurrence.d.ts","sourceRoot":"","sources":["../../../../src/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAItF,qBAKa,gBAAiB,SAAQ,qBAA0D;IAC9F;;;SAGK;IACO,MAAM,MAAC;IAEnB;;;SAGK;IACO,MAAM,EAAE,YAAY,CAAC;IACjC,aAAa;IAMb;;OAEG;IACH,OAAO,CAAC,YAAY,CAA0B;IAE9C;;;;SAIK;IACL,qBAAqB,CAAC,KAAK,EAAE,KAAK;IAUlC;;;SAGK;IACL,gBAAgB;CAIjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weekly-recurrence.styles.d.ts","sourceRoot":"","sources":["../../../../src/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,sBAAsB,EAAE,aAMpC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { WeeklyRecurrence } from './weekly-recurrence';
|
|
2
|
+
export declare const getPrefixedWeeklyRecurrence: (prefix: string) => import("@microsoft/fast-element").ViewTemplate<WeeklyRecurrence, any>;
|
|
3
|
+
export declare const weeklyRecurrenceTemplate: import("@microsoft/fast-element").ViewTemplate<WeeklyRecurrence, any>;
|
|
4
|
+
//# sourceMappingURL=weekly-recurrence.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weekly-recurrence.template.d.ts","sourceRoot":"","sources":["../../../../src/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,2BAA2B,WAAY,MAAM,0EAsBzD,CAAC;AACF,eAAO,MAAM,wBAAwB,uEAEpC,CAAC"}
|
|
@@ -193,7 +193,7 @@ declare const BaseDatasource_base: new () => {
|
|
|
193
193
|
ariaValueNow: string;
|
|
194
194
|
ariaValueText: string;
|
|
195
195
|
role: string;
|
|
196
|
-
animate(keyframes: Keyframe[]
|
|
196
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
197
197
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
198
198
|
after(...nodes: (string | Node)[]): void;
|
|
199
199
|
before(...nodes: (string | Node)[]): void;
|
|
@@ -51,6 +51,7 @@ import { foundationProgress } from './progress';
|
|
|
51
51
|
import { foundationProgressRing } from './progress-ring';
|
|
52
52
|
import { foundationRadio } from './radio';
|
|
53
53
|
import { foundationRadioGroup } from './radio-group';
|
|
54
|
+
import { foundationSchedulerCronBuilder } from './scheduler-cron-builder';
|
|
54
55
|
import { foundationSearchBar, foundationSearchBarCombobox } from './search-bar';
|
|
55
56
|
import { foundationSegmentedControl } from './segmented-control';
|
|
56
57
|
import { foundationSegmentedItem } from './segmented-item';
|
|
@@ -127,6 +128,7 @@ export const baseComponents = {
|
|
|
127
128
|
foundationProgressRing,
|
|
128
129
|
foundationRadio,
|
|
129
130
|
foundationRadioGroup,
|
|
131
|
+
foundationSchedulerCronBuilder,
|
|
130
132
|
foundationSearchBar,
|
|
131
133
|
foundationSearchBarCombobox,
|
|
132
134
|
foundationSegmentedControl,
|
package/dist/esm/index.js
CHANGED
|
@@ -62,6 +62,7 @@ export * from './progress-ring';
|
|
|
62
62
|
export * from './radio';
|
|
63
63
|
export * from './radio-group';
|
|
64
64
|
export * from './router';
|
|
65
|
+
export * from './scheduler-cron-builder';
|
|
65
66
|
export * from './search-bar';
|
|
66
67
|
export * from './segmented-control';
|
|
67
68
|
export * from './segmented-item';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { EventEmitter } from '@genesislcap/foundation-events';
|
|
3
|
+
import { customElement, observable } from '@microsoft/fast-element';
|
|
4
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
5
|
+
import { WeekType, CronBuilderEvents } from '../types';
|
|
6
|
+
import { dailyRecurrenceStyles as styles } from './daily-recurrence.styles';
|
|
7
|
+
import { dailyRecurrenceTemplate as template } from './daily-recurrence.template';
|
|
8
|
+
let DailyRecurrence = class DailyRecurrence extends EventEmitter(FoundationElement) {
|
|
9
|
+
configChanged() {
|
|
10
|
+
var _a;
|
|
11
|
+
this.weekType = ((_a = this.config) === null || _a === void 0 ? void 0 : _a.weekType) || WeekType.WORK_WEEK;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* emits an event to update cron config and cron expression for weekly config
|
|
15
|
+
* @internal
|
|
16
|
+
* */
|
|
17
|
+
updateCronConfig() {
|
|
18
|
+
this.config = Object.assign(Object.assign({}, this.config), { weekType: this.weekType });
|
|
19
|
+
this.$emit(CronBuilderEvents.updateCronConfig, this.config);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
__decorate([
|
|
23
|
+
observable
|
|
24
|
+
], DailyRecurrence.prototype, "prefix", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
observable
|
|
27
|
+
], DailyRecurrence.prototype, "config", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
observable
|
|
30
|
+
], DailyRecurrence.prototype, "weekType", void 0);
|
|
31
|
+
DailyRecurrence = __decorate([
|
|
32
|
+
customElement({
|
|
33
|
+
name: 'daily-recurrence',
|
|
34
|
+
template,
|
|
35
|
+
styles,
|
|
36
|
+
})
|
|
37
|
+
], DailyRecurrence);
|
|
38
|
+
export { DailyRecurrence };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { sync } from '@genesislcap/foundation-utils';
|
|
2
|
+
import { html } from '@microsoft/fast-element';
|
|
3
|
+
import { WeekType } from '../types';
|
|
4
|
+
export const getPrefixedDailyRecurrence = (prefix) => html `
|
|
5
|
+
<template>
|
|
6
|
+
<div class="input-container">
|
|
7
|
+
<label class="label">Of</label>
|
|
8
|
+
<${prefix}-select
|
|
9
|
+
data-test-id="select-week-type"
|
|
10
|
+
:value=${sync((x) => x.weekType)}
|
|
11
|
+
@change="${(x) => x.updateCronConfig()}"
|
|
12
|
+
>
|
|
13
|
+
<${prefix}-option data-test-id="${WeekType.WEEK}">
|
|
14
|
+
${WeekType.WEEK}
|
|
15
|
+
</${prefix}-option>
|
|
16
|
+
<${prefix}-option data-test-id="${WeekType.WORK_WEEK}">
|
|
17
|
+
${WeekType.WORK_WEEK}
|
|
18
|
+
</${prefix}-option>
|
|
19
|
+
</${prefix}-select>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
`;
|
|
23
|
+
export const dailyRecurrenceTemplate = html `
|
|
24
|
+
${(x) => getPrefixedDailyRecurrence(x.prefix)}
|
|
25
|
+
`;
|