@gisce/ooui 2.32.0-alpha.1 → 2.32.0-alpha.2
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/Date.d.ts +1 -6
- package/dist/Date.d.ts.map +1 -1
- package/dist/DateTime.d.ts +8 -3
- package/dist/DateTime.d.ts.map +1 -1
- package/dist/Time.d.ts +2 -2
- package/dist/Time.d.ts.map +1 -1
- package/dist/ooui.es.js +171 -171
- package/dist/ooui.es.js.map +1 -1
- package/package.json +1 -1
- package/src/Date.ts +1 -12
- package/src/DateTime.ts +14 -3
- package/src/Time.ts +2 -2
package/package.json
CHANGED
package/src/Date.ts
CHANGED
|
@@ -4,19 +4,8 @@ import Field from "./Field";
|
|
|
4
4
|
* Date input
|
|
5
5
|
*/
|
|
6
6
|
class Date extends Field {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
get timezone(): string | undefined {
|
|
10
|
-
return this._timezone;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
set timezone(value: string | undefined) {
|
|
14
|
-
this._timezone = value;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
constructor(props?: { timezone?: string } & any) {
|
|
7
|
+
constructor(props?: any) {
|
|
18
8
|
super(props);
|
|
19
|
-
this._timezone = props?.timezone || undefined;
|
|
20
9
|
}
|
|
21
10
|
}
|
|
22
11
|
|
package/src/DateTime.ts
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Field from "./Field";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* DateTime input
|
|
5
5
|
*/
|
|
6
|
-
class DateTime extends
|
|
7
|
-
|
|
6
|
+
class DateTime extends Field {
|
|
7
|
+
_timezone: string | undefined = undefined;
|
|
8
|
+
|
|
9
|
+
get timezone(): string | undefined {
|
|
10
|
+
return this._timezone;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
set timezone(value: string | undefined) {
|
|
14
|
+
this._timezone = value;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
constructor(props?: { timezone?: string } & any) {
|
|
8
18
|
super(props);
|
|
19
|
+
this._timezone = props?.timezone || undefined;
|
|
9
20
|
}
|
|
10
21
|
}
|
|
11
22
|
|