@fileverse-dev/fortune-react 1.2.0-patch-2 → 1.2.1

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.
@@ -23,6 +23,8 @@ var RangeDialog = function RangeDialog() {
23
23
  ctx.rangeDialog.show = false;
24
24
  ctx.rangeDialog.singleSelect = false;
25
25
  });
26
+ console.log("rangeDialogType");
27
+ (_a = document.getElementById("data-verification-button")) === null || _a === void 0 ? void 0 : _a.click();
26
28
  if (!context.rangeDialog) return;
27
29
  var rangeDialogType = context.rangeDialog.type;
28
30
  if (rangeDialogType.indexOf("between") >= 0) {
@@ -38,7 +40,6 @@ var RangeDialog = function RangeDialog() {
38
40
  }), undefined, locale(context).conditionformat["conditionformat_".concat(rulesType)]);
39
41
  }
40
42
  console.log("rangeDialogType", rangeDialogType);
41
- (_a = document.getElementById("data-verification-button")) === null || _a === void 0 ? void 0 : _a.click();
42
43
  }, [setContext, showDialog, context]);
43
44
  useEffect(function () {
44
45
  setRangeTxt2(getDisplayedRangeTxt(context));
@@ -93,6 +94,7 @@ var RangeDialog = function RangeDialog() {
93
94
  minWidth: "80px"
94
95
  },
95
96
  onClick: function onClick() {
97
+ console.log("rangeTxt2", rangeTxt2);
96
98
  setContext(function (ctx) {
97
99
  ctx.rangeDialog.rangeTxt = rangeTxt2;
98
100
  });
@@ -32,6 +32,8 @@ var RangeDialog = function RangeDialog() {
32
32
  ctx.rangeDialog.show = false;
33
33
  ctx.rangeDialog.singleSelect = false;
34
34
  });
35
+ console.log("rangeDialogType");
36
+ (_a = document.getElementById("data-verification-button")) === null || _a === void 0 ? void 0 : _a.click();
35
37
  if (!context.rangeDialog) return;
36
38
  var rangeDialogType = context.rangeDialog.type;
37
39
  if (rangeDialogType.indexOf("between") >= 0) {
@@ -47,7 +49,6 @@ var RangeDialog = function RangeDialog() {
47
49
  }), undefined, (0, _fortuneCore.locale)(context).conditionformat["conditionformat_".concat(rulesType)]);
48
50
  }
49
51
  console.log("rangeDialogType", rangeDialogType);
50
- (_a = document.getElementById("data-verification-button")) === null || _a === void 0 ? void 0 : _a.click();
51
52
  }, [setContext, showDialog, context]);
52
53
  (0, _react.useEffect)(function () {
53
54
  setRangeTxt2((0, _getDisplayedRangeTxt.getDisplayedRangeTxt)(context));
@@ -102,6 +103,7 @@ var RangeDialog = function RangeDialog() {
102
103
  minWidth: "80px"
103
104
  },
104
105
  onClick: function onClick() {
106
+ console.log("rangeTxt2", rangeTxt2);
105
107
  setContext(function (ctx) {
106
108
  ctx.rangeDialog.rangeTxt = rangeTxt2;
107
109
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.2.0-patch-2",
3
+ "version": "1.2.1",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.2.0-patch-2",
19
+ "@fileverse-dev/fortune-core": "1.2.1",
20
20
  "@fileverse/ui": "^4.1.7-patch-21",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",