@fileverse-dev/fortune-react 1.0.6 → 1.0.8
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/es/components/Dialog/index.js +13 -1
- package/es/index.css +27 -0
- package/lib/components/Dialog/index.js +13 -1
- package/lib/index.css +27 -0
- package/package.json +2 -2
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
1
11
|
import { locale } from "@fileverse-dev/fortune-core";
|
|
2
12
|
import { Button, cn, IconButton } from "@fileverse/ui";
|
|
3
13
|
import React, { useContext } from "react";
|
|
@@ -17,7 +27,9 @@ var Dialog = function Dialog(_a) {
|
|
|
17
27
|
var button = locale(context).button;
|
|
18
28
|
return /*#__PURE__*/React.createElement("div", {
|
|
19
29
|
className: "fortune-dialog",
|
|
20
|
-
style: containerStyle
|
|
30
|
+
style: __assign(__assign({}, containerStyle), title === "Data verification" ? {
|
|
31
|
+
maxWidth: "unset"
|
|
32
|
+
} : {})
|
|
21
33
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22
34
|
className: cn("flex items-center justify-between border-b color-border-default py-3 px-6")
|
|
23
35
|
}, title ? (/*#__PURE__*/React.createElement("div", {
|
package/es/index.css
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* Main CSS file for @fileverse-dev/fortune-react */
|
|
2
|
+
@import "./components/ChangeColor/index.css";
|
|
3
|
+
@import "./components/ConditionFormat/index.css";
|
|
4
|
+
@import "./components/ContextMenu/index.css";
|
|
5
|
+
@import "./components/CustomSort/index.css";
|
|
6
|
+
@import "./components/DataVerification/index.css";
|
|
7
|
+
@import "./components/Dialog/index.css";
|
|
8
|
+
@import "./components/DuneChartsInputModal/duneChartsInputModal.css";
|
|
9
|
+
@import "./components/DunePreview/index.css";
|
|
10
|
+
@import "./components/FormatSearch/index.css";
|
|
11
|
+
@import "./components/FormulaSearch/index.css";
|
|
12
|
+
@import "./components/FxEditor/index.css";
|
|
13
|
+
@import "./components/IFrameBoxs/iFrameBoxs.css";
|
|
14
|
+
@import "./components/LinkEidtCard/index.css";
|
|
15
|
+
@import "./components/LocationCondition/index.css";
|
|
16
|
+
@import "./components/SearchReplace/index.css";
|
|
17
|
+
@import "./components/Sheet/index.css";
|
|
18
|
+
@import "./components/SheetList/index.css";
|
|
19
|
+
@import "./components/SheetOverlay/index.css";
|
|
20
|
+
@import "./components/SheetOverlay/FormulaHint/index.css";
|
|
21
|
+
@import "./components/SheetOverlay/FormulaSearch/index.css";
|
|
22
|
+
@import "./components/SheetOverlay/ScrollBar/index.css";
|
|
23
|
+
@import "./components/SheetTab/index.css";
|
|
24
|
+
@import "./components/SplitColumn/index.css";
|
|
25
|
+
@import "./components/Toolbar/index.css";
|
|
26
|
+
@import "./components/Workbook/index.css";
|
|
27
|
+
@import "./components/ZoomControl/index.css";
|
|
@@ -12,6 +12,16 @@ var _context = _interopRequireDefault(require("../../context"));
|
|
|
12
12
|
require("./index.css");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
15
|
+
var __assign = void 0 && (void 0).__assign || function () {
|
|
16
|
+
__assign = Object.assign || function (t) {
|
|
17
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
+
s = arguments[i];
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
return __assign.apply(this, arguments);
|
|
24
|
+
};
|
|
15
25
|
var Dialog = function Dialog(_a) {
|
|
16
26
|
var type = _a.type,
|
|
17
27
|
onOk = _a.onOk,
|
|
@@ -26,7 +36,9 @@ var Dialog = function Dialog(_a) {
|
|
|
26
36
|
var button = (0, _fortuneCore.locale)(context).button;
|
|
27
37
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
28
38
|
className: "fortune-dialog",
|
|
29
|
-
style: containerStyle
|
|
39
|
+
style: __assign(__assign({}, containerStyle), title === "Data verification" ? {
|
|
40
|
+
maxWidth: "unset"
|
|
41
|
+
} : {})
|
|
30
42
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
31
43
|
className: (0, _ui.cn)("flex items-center justify-between border-b color-border-default py-3 px-6")
|
|
32
44
|
}, title ? (/*#__PURE__*/_react.default.createElement("div", {
|
package/lib/index.css
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* Main CSS file for @fileverse-dev/fortune-react */
|
|
2
|
+
@import "./components/ChangeColor/index.css";
|
|
3
|
+
@import "./components/ConditionFormat/index.css";
|
|
4
|
+
@import "./components/ContextMenu/index.css";
|
|
5
|
+
@import "./components/CustomSort/index.css";
|
|
6
|
+
@import "./components/DataVerification/index.css";
|
|
7
|
+
@import "./components/Dialog/index.css";
|
|
8
|
+
@import "./components/DuneChartsInputModal/duneChartsInputModal.css";
|
|
9
|
+
@import "./components/DunePreview/index.css";
|
|
10
|
+
@import "./components/FormatSearch/index.css";
|
|
11
|
+
@import "./components/FormulaSearch/index.css";
|
|
12
|
+
@import "./components/FxEditor/index.css";
|
|
13
|
+
@import "./components/IFrameBoxs/iFrameBoxs.css";
|
|
14
|
+
@import "./components/LinkEidtCard/index.css";
|
|
15
|
+
@import "./components/LocationCondition/index.css";
|
|
16
|
+
@import "./components/SearchReplace/index.css";
|
|
17
|
+
@import "./components/Sheet/index.css";
|
|
18
|
+
@import "./components/SheetList/index.css";
|
|
19
|
+
@import "./components/SheetOverlay/index.css";
|
|
20
|
+
@import "./components/SheetOverlay/FormulaHint/index.css";
|
|
21
|
+
@import "./components/SheetOverlay/FormulaSearch/index.css";
|
|
22
|
+
@import "./components/SheetOverlay/ScrollBar/index.css";
|
|
23
|
+
@import "./components/SheetTab/index.css";
|
|
24
|
+
@import "./components/SplitColumn/index.css";
|
|
25
|
+
@import "./components/Toolbar/index.css";
|
|
26
|
+
@import "./components/Workbook/index.css";
|
|
27
|
+
@import "./components/ZoomControl/index.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
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.0.
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.0.8",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-16",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|