@pinnacle0/web-ui 0.5.49 → 0.5.51
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.
|
@@ -12,6 +12,7 @@ export interface Props<T extends boolean> extends ControlledFormValue<T extends
|
|
|
12
12
|
label: React.ReactNode;
|
|
13
13
|
value: [Dayjs, Dayjs] | (() => [Dayjs, Dayjs]);
|
|
14
14
|
}>;
|
|
15
|
+
preserveInvalidOnBlur?: boolean;
|
|
15
16
|
}
|
|
16
17
|
export declare class DateTimeRangePicker<T extends boolean> extends React.PureComponent<Props<T>> {
|
|
17
18
|
static displayName: string;
|
|
@@ -76,8 +76,8 @@ var DateTimeRangePicker = /** @class */ (function (_super) {
|
|
|
76
76
|
return _this;
|
|
77
77
|
}
|
|
78
78
|
DateTimeRangePicker.prototype.render = function () {
|
|
79
|
-
var _a = this.props, value = _a.value, allowNull = _a.allowNull, disabled = _a.disabled, className = _a.className, presets = _a.presets;
|
|
80
|
-
return (React.createElement(DatePicker.RangePicker, { className: className, value: value[0] && value[1] ? [dayjs(value[0]), dayjs(value[1])] : [null, null], onChange: this.onChange, disabledDate: this.isDateDisabled, allowClear: allowNull, disabled: disabled, presets: presets, showTime: DateTimeRangePicker.showTime }));
|
|
79
|
+
var _a = this.props, value = _a.value, allowNull = _a.allowNull, disabled = _a.disabled, className = _a.className, presets = _a.presets, _b = _a.preserveInvalidOnBlur, preserveInvalidOnBlur = _b === void 0 ? true : _b;
|
|
80
|
+
return (React.createElement(DatePicker.RangePicker, { className: className, value: value[0] && value[1] ? [dayjs(value[0]), dayjs(value[1])] : [null, null], onChange: this.onChange, disabledDate: this.isDateDisabled, allowClear: allowNull, disabled: disabled, presets: presets, showTime: DateTimeRangePicker.showTime, preserveInvalidOnBlur: preserveInvalidOnBlur }));
|
|
81
81
|
};
|
|
82
82
|
DateTimeRangePicker.displayName = "DateTimeRangePicker";
|
|
83
83
|
DateTimeRangePicker.showTime = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/DateTimeRangePicker/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAG7C,OAAO,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/DateTimeRangePicker/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAG7C,OAAO,cAAc,CAAC;AAWtB;IAA4D,uCAA6B;IAAzF;;QAMI,oBAAc,GAAG,UAAC,OAAc;;YAC5B,IAAI,CAAC,OAAO;gBAAE,OAAO,KAAK,CAAC;YAE3B;;;;eAIG;YACH,IAAI,OAAO,CAAC,OAAO,EAAE,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE;gBAAE,OAAO,IAAI,CAAC;YAElE,IAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;YAClF,OAAO,CAAA,MAAA,MAAA,KAAI,CAAC,KAAK,EAAC,aAAa,mDAAG,WAAW,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,KAAI,KAAK,CAAC;QAC9E,CAAC,CAAC;QAEF,cAAQ,GAAG,UAAC,KAA0C;YAClD,IAAM,aAAa,GAAG,KAAI,CAAC,KAAK,CAAC,QAAuD,CAAC;YACzF,IAAI,KAAK,IAAI,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,GAC9C,CACL,CAAC;IACN,CAAC;IA/CM,+BAAW,GAAG,qBAAqB,AAAxB,CAAyB;IACpC,4BAAQ,GAAG;QACd,YAAY,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC/D,AAFc,CAEb;IA6CN,0BAAC;CAAA,AAjDD,CAA4D,KAAK,CAAC,aAAa,GAiD9E;SAjDY,mBAAmB"}
|
package/core/DocumentTitle.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ interface BaseOption {
|
|
|
16
16
|
export declare class DocumentTitle extends React.PureComponent<Props> {
|
|
17
17
|
static displayName: string;
|
|
18
18
|
static baseOption: BaseOption;
|
|
19
|
-
static register: <K extends keyof BaseOption>(option:
|
|
19
|
+
static register: <K extends keyof BaseOption>(option: Pick<BaseOption, K> | BaseOption) => BaseOption | (BaseOption & Pick<BaseOption, K>);
|
|
20
20
|
private readonly prevTitle;
|
|
21
21
|
constructor(props: Props);
|
|
22
22
|
componentDidMount(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinnacle0/web-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.51",
|
|
4
4
|
"author": "Pinnacle",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@ant-design/cssinjs": "1.18.4",
|
|
21
|
-
"@ant-design/icons": "5.3.
|
|
21
|
+
"@ant-design/icons": "5.3.4",
|
|
22
22
|
"@juggle/resize-observer": "3.4.0",
|
|
23
|
-
"@tanstack/react-virtual": "3.
|
|
24
|
-
"antd": "5.15.
|
|
23
|
+
"@tanstack/react-virtual": "3.2.0",
|
|
24
|
+
"antd": "5.15.3",
|
|
25
25
|
"classnames": "2.5.1",
|
|
26
26
|
"dayjs": "1.11.10",
|
|
27
27
|
"intersection-observer": "0.12.2",
|
|
28
|
-
"rc-picker": "4.
|
|
28
|
+
"rc-picker": "4.3.0",
|
|
29
29
|
"rc-resize-observer": "1.4.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@testing-library/react": "14.2.1",
|
|
40
40
|
"@testing-library/user-event": "14.5.2",
|
|
41
41
|
"@types/fs-extra": "11.0.4",
|
|
42
|
-
"@types/react": "18.2.
|
|
43
|
-
"@types/react-dom": "18.2.
|
|
42
|
+
"@types/react": "18.2.67",
|
|
43
|
+
"@types/react-dom": "18.2.22",
|
|
44
44
|
"@types/react-router": "5.1.20",
|
|
45
45
|
"@types/react-router-dom": "5.3.3",
|
|
46
46
|
"fs-extra": "11.2.0",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"react": "18.2.0",
|
|
50
50
|
"react-dom": "18.2.0",
|
|
51
51
|
"react-router-dom": "5.3.0",
|
|
52
|
-
"@pinnacle0/devtool-util": "1.2.
|
|
53
|
-
"@pinnacle0/webpack-util": "0.6.
|
|
52
|
+
"@pinnacle0/devtool-util": "1.2.11",
|
|
53
|
+
"@pinnacle0/webpack-util": "0.6.3"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"directory": "build",
|