@fileverse-dev/fortune-react 1.3.10-yjs-9 → 1.3.10-yjs-10

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.
@@ -622,6 +622,18 @@ var Workbook = /*#__PURE__*/React.forwardRef(function (_a, ref) {
622
622
  context.hooks.conditionFormatChange();
623
623
  }
624
624
  }, [currentSheet === null || currentSheet === void 0 ? void 0 : currentSheet.luckysheet_conditionformat_save]);
625
+ useEffect(function () {
626
+ var _a;
627
+ if ((_a = context === null || context === void 0 ? void 0 : context.hooks) === null || _a === void 0 ? void 0 : _a.filterSelectChange) {
628
+ context.hooks.filterSelectChange();
629
+ }
630
+ }, [currentSheet === null || currentSheet === void 0 ? void 0 : currentSheet.filter_select]);
631
+ useEffect(function () {
632
+ var _a;
633
+ if ((_a = context === null || context === void 0 ? void 0 : context.hooks) === null || _a === void 0 ? void 0 : _a.filterChange) {
634
+ context.hooks.filterChange();
635
+ }
636
+ }, [currentSheet === null || currentSheet === void 0 ? void 0 : currentSheet.filter]);
625
637
  useEffect(function () {
626
638
  var _a;
627
639
  if ((_a = context === null || context === void 0 ? void 0 : context.hooks) === null || _a === void 0 ? void 0 : _a.hyperlinkChange) {
@@ -631,6 +631,18 @@ var Workbook = /*#__PURE__*/_react.default.forwardRef(function (_a, ref) {
631
631
  context.hooks.conditionFormatChange();
632
632
  }
633
633
  }, [currentSheet === null || currentSheet === void 0 ? void 0 : currentSheet.luckysheet_conditionformat_save]);
634
+ (0, _react.useEffect)(function () {
635
+ var _a;
636
+ if ((_a = context === null || context === void 0 ? void 0 : context.hooks) === null || _a === void 0 ? void 0 : _a.filterSelectChange) {
637
+ context.hooks.filterSelectChange();
638
+ }
639
+ }, [currentSheet === null || currentSheet === void 0 ? void 0 : currentSheet.filter_select]);
640
+ (0, _react.useEffect)(function () {
641
+ var _a;
642
+ if ((_a = context === null || context === void 0 ? void 0 : context.hooks) === null || _a === void 0 ? void 0 : _a.filterChange) {
643
+ context.hooks.filterChange();
644
+ }
645
+ }, [currentSheet === null || currentSheet === void 0 ? void 0 : currentSheet.filter]);
634
646
  (0, _react.useEffect)(function () {
635
647
  var _a;
636
648
  if ((_a = context === null || context === void 0 ? void 0 : context.hooks) === null || _a === void 0 ? void 0 : _a.hyperlinkChange) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.3.10-yjs-9",
3
+ "version": "1.3.10-yjs-10",
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.3.10-yjs-9",
19
+ "@fileverse-dev/fortune-core": "1.3.10-yjs-10",
20
20
  "@fileverse/ui": "5.0.0",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",