oksy 0.1.6 → 0.1.7
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/boot.js +20 -20
- package/library.js +1 -1
- package/package.json +1 -1
- package/public/assets/index.75c2a5f4.js +75 -0
- package/public/assets/index.cbc0c532.js +75 -0
- package/public/index.html +1 -1
- package/types/src/Frontend/View/Components/DateTime.d.ts +21 -0
- package/types/src/Frontend/View/UI.d.ts +174 -20
- package/types/src/Helper/DateTime.d.ts +3 -1
- package/types/src/Server/Socket/WebSocketServerClient.d.ts +4 -1
- package/public/assets/index.7c7d591a.js +0 -75
- package/public/assets/index.ad749efe.js +0 -75
package/public/index.html
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
height: 100% !important;
|
23
23
|
}
|
24
24
|
</style>
|
25
|
-
<script type="module" crossorigin src="/assets/index.
|
25
|
+
<script type="module" crossorigin src="/assets/index.75c2a5f4.js"></script>
|
26
26
|
<link rel="stylesheet" href="/assets/index.bd7a9b66.css">
|
27
27
|
</head>
|
28
28
|
<body class="tw-flex tw-flex-col tw-bg-gray-50">
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { BasePage } from 'oksy';
|
2
|
+
import { FlatOrFunc } from './FlatOrFunc';
|
3
|
+
import { Dayjs } from 'dayjs';
|
4
|
+
export declare type DateTimeType = {
|
5
|
+
id: string;
|
6
|
+
type: 'DATE_TIME';
|
7
|
+
disabledId: string;
|
8
|
+
getterId: string;
|
9
|
+
setterId: string;
|
10
|
+
classInit: string;
|
11
|
+
};
|
12
|
+
declare type DateTimeOptions = {
|
13
|
+
setter: (val: null | Dayjs) => void;
|
14
|
+
getter: () => null | Dayjs;
|
15
|
+
disabled?: FlatOrFunc<() => boolean>;
|
16
|
+
class?: string;
|
17
|
+
};
|
18
|
+
export declare function UseDateTime(page: BasePage): {
|
19
|
+
DateTime: (options: DateTimeOptions) => DateTimeType;
|
20
|
+
};
|
21
|
+
export {};
|