universal-datetime-picker 2.0.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/LICENSE +21 -0
- package/README.md +452 -0
- package/dist/angular/index.d.mts +15 -0
- package/dist/angular/index.d.ts +15 -0
- package/dist/angular/index.js +2196 -0
- package/dist/angular/index.mjs +2183 -0
- package/dist/cdn/universal-datetime-picker.iife.js +1 -0
- package/dist/core/index.d.mts +58 -0
- package/dist/core/index.d.ts +58 -0
- package/dist/core/index.js +867 -0
- package/dist/core/index.mjs +832 -0
- package/dist/index.d.mts +183 -0
- package/dist/index.d.ts +185 -0
- package/dist/index.js +2054 -0
- package/dist/index.mjs +2030 -0
- package/dist/rangeController-Bq35aBwe.d.mts +271 -0
- package/dist/rangeController-Bq35aBwe.d.ts +271 -0
- package/dist/rangeRenderer-AVv6PJbW.d.mts +21 -0
- package/dist/rangeRenderer-a3hFk-kK.d.ts +21 -0
- package/dist/style.css +1 -0
- package/dist/svelte/index.d.mts +11 -0
- package/dist/svelte/index.d.ts +11 -0
- package/dist/svelte/index.js +2194 -0
- package/dist/svelte/index.mjs +2182 -0
- package/dist/vanilla/index.d.mts +21 -0
- package/dist/vanilla/index.d.ts +21 -0
- package/dist/vanilla/index.js +1831 -0
- package/dist/vanilla/index.mjs +1812 -0
- package/dist/vue/index.d.mts +9 -0
- package/dist/vue/index.d.ts +9 -0
- package/dist/vue/index.js +2193 -0
- package/dist/vue/index.mjs +2181 -0
- package/dist/wc/index.d.mts +43 -0
- package/dist/wc/index.d.ts +43 -0
- package/dist/wc/index.js +2204 -0
- package/dist/wc/index.mjs +2189 -0
- package/package.json +232 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { D as DateTimePickerHandle, a as DateTimeRangePickerHandle, c as createDateTimePicker, b as createDateTimeRangePicker } from '../rangeRenderer-AVv6PJbW.mjs';
|
|
2
|
+
import '../rangeController-Bq35aBwe.mjs';
|
|
3
|
+
import 'dayjs';
|
|
4
|
+
|
|
5
|
+
type Cleanup = () => void;
|
|
6
|
+
declare function attachFocusTrap(container: HTMLElement, active: boolean): Cleanup;
|
|
7
|
+
declare function attachEscape(handler: () => void, active: boolean): Cleanup;
|
|
8
|
+
declare function attachClickOutside(handler: () => void, active: boolean, floating: HTMLElement | null, anchorEl?: HTMLElement | null): Cleanup;
|
|
9
|
+
declare function computePopoverPosition(anchorEl: HTMLElement, pickerWidth: number, pickerHeight: number): {
|
|
10
|
+
top: number;
|
|
11
|
+
left: number;
|
|
12
|
+
};
|
|
13
|
+
declare function attachPopoverPosition(anchorEl: HTMLElement | null | undefined, open: boolean, enabled: boolean, floating: HTMLElement | null, onPosition: (pos: {
|
|
14
|
+
top: number;
|
|
15
|
+
left: number;
|
|
16
|
+
} | null) => void): Cleanup;
|
|
17
|
+
/** Resolve theme for portaled pickers (CSS vars don't cross portals). */
|
|
18
|
+
declare function resolveThemeAttr(theme: "light" | "dark" | undefined, anchorEl: HTMLElement | null | undefined): "light" | "dark" | undefined;
|
|
19
|
+
declare function cx(...parts: Array<string | false | null | undefined>): string;
|
|
20
|
+
|
|
21
|
+
export { attachClickOutside, attachEscape, attachFocusTrap, attachPopoverPosition, computePopoverPosition, cx, resolveThemeAttr };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { D as DateTimePickerHandle, a as DateTimeRangePickerHandle, c as createDateTimePicker, b as createDateTimeRangePicker } from '../rangeRenderer-a3hFk-kK.js';
|
|
2
|
+
import '../rangeController-Bq35aBwe.js';
|
|
3
|
+
import 'dayjs';
|
|
4
|
+
|
|
5
|
+
type Cleanup = () => void;
|
|
6
|
+
declare function attachFocusTrap(container: HTMLElement, active: boolean): Cleanup;
|
|
7
|
+
declare function attachEscape(handler: () => void, active: boolean): Cleanup;
|
|
8
|
+
declare function attachClickOutside(handler: () => void, active: boolean, floating: HTMLElement | null, anchorEl?: HTMLElement | null): Cleanup;
|
|
9
|
+
declare function computePopoverPosition(anchorEl: HTMLElement, pickerWidth: number, pickerHeight: number): {
|
|
10
|
+
top: number;
|
|
11
|
+
left: number;
|
|
12
|
+
};
|
|
13
|
+
declare function attachPopoverPosition(anchorEl: HTMLElement | null | undefined, open: boolean, enabled: boolean, floating: HTMLElement | null, onPosition: (pos: {
|
|
14
|
+
top: number;
|
|
15
|
+
left: number;
|
|
16
|
+
} | null) => void): Cleanup;
|
|
17
|
+
/** Resolve theme for portaled pickers (CSS vars don't cross portals). */
|
|
18
|
+
declare function resolveThemeAttr(theme: "light" | "dark" | undefined, anchorEl: HTMLElement | null | undefined): "light" | "dark" | undefined;
|
|
19
|
+
declare function cx(...parts: Array<string | false | null | undefined>): string;
|
|
20
|
+
|
|
21
|
+
export { attachClickOutside, attachEscape, attachFocusTrap, attachPopoverPosition, computePopoverPosition, cx, resolveThemeAttr };
|