iglooform 3.2.1 → 3.2.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/.dumi/tmp/dumi/theme/ContextWrapper.tsx +1 -1
- package/es/confirmation/style/index.d.ts +1 -0
- package/es/date-picker/buddhist.js +7 -0
- package/es/ocr/micro-blink/style/index.d.ts +1 -0
- package/lib/confirmation/style/index.d.ts +1 -0
- package/lib/date-picker/buddhist.js +7 -0
- package/lib/ocr/micro-blink/style/index.d.ts +1 -0
- package/package.json +1 -1
- package/es/date-picker/buddhist.d.ts +0 -6
- package/lib/date-picker/buddhist.d.ts +0 -6
|
@@ -30,7 +30,7 @@ export default function DumiContextWrapper() {
|
|
|
30
30
|
|
|
31
31
|
return (
|
|
32
32
|
<SiteContext.Provider value={{
|
|
33
|
-
pkg: {"name":"iglooform","version":"3.1
|
|
33
|
+
pkg: {"name":"iglooform","version":"3.2.1","license":"MIT"},
|
|
34
34
|
historyType: "browser",
|
|
35
35
|
entryExports,
|
|
36
36
|
demos,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -24,6 +24,13 @@ import classnames from 'classnames';
|
|
|
24
24
|
import { CalendarOutlined } from 'iglooicon';
|
|
25
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
26
|
var DatePicker = generatePicker(_objectSpread(_objectSpread({}, generateConfig), {}, {
|
|
27
|
+
getMillisecond: function getMillisecond(date) {
|
|
28
|
+
return date.millisecond();
|
|
29
|
+
},
|
|
30
|
+
setMillisecond: function setMillisecond(date, millisecond) {
|
|
31
|
+
var clone = date.clone();
|
|
32
|
+
return clone.millisecond(millisecond);
|
|
33
|
+
},
|
|
27
34
|
getYear: function getYear(date) {
|
|
28
35
|
return date.year() + 543;
|
|
29
36
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -31,6 +31,13 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
31
31
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
32
32
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
33
33
|
var DatePicker = (0, _generatePicker.default)(_objectSpread(_objectSpread({}, _dayjs.default), {}, {
|
|
34
|
+
getMillisecond: function getMillisecond(date) {
|
|
35
|
+
return date.millisecond();
|
|
36
|
+
},
|
|
37
|
+
setMillisecond: function setMillisecond(date, millisecond) {
|
|
38
|
+
var clone = date.clone();
|
|
39
|
+
return clone.millisecond(millisecond);
|
|
40
|
+
},
|
|
34
41
|
getYear: function getYear(date) {
|
|
35
42
|
return date.year() + 543;
|
|
36
43
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DatePickerProps } from 'antd/es/date-picker';
|
|
2
|
-
import { FC, IglooComponentProps } from '../types';
|
|
3
|
-
import './style';
|
|
4
|
-
type Props = DatePickerProps & IglooComponentProps;
|
|
5
|
-
declare const IglooBuddhistDatePicker: FC<Props>;
|
|
6
|
-
export default IglooBuddhistDatePicker;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DatePickerProps } from 'antd/es/date-picker';
|
|
2
|
-
import { FC, IglooComponentProps } from '../types';
|
|
3
|
-
import './style';
|
|
4
|
-
type Props = DatePickerProps & IglooComponentProps;
|
|
5
|
-
declare const IglooBuddhistDatePicker: FC<Props>;
|
|
6
|
-
export default IglooBuddhistDatePicker;
|