funuicss 2.5.9 → 2.5.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.
- package/css/fun.css +3 -2
- package/package.json +1 -2
- package/tsconfig.json +1 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/ui/alert/Alert.d.ts +1 -1
- package/ui/alert/Alert.js +1 -1
- package/ui/appbar/AppBar.js +2 -2
- package/ui/appbar/AppBar.tsx +1 -1
- package/ui/appbar/Hamburger.js +1 -1
- package/ui/avatar/Avatar.js +1 -1
- package/ui/breadcrumb/BreadCrumb.js +1 -1
- package/ui/button/Button.js +1 -1
- package/ui/card/Card.js +1 -1
- package/ui/card/CardFab.js +1 -1
- package/ui/container/Container.js +1 -1
- package/ui/div/Div.js +1 -1
- package/ui/drop/Dropdown.js +1 -1
- package/ui/input/Input.js +1 -1
- package/ui/modal/Modal.d.ts +1 -1
- package/ui/modal/Modal.js +1 -1
- package/ui/notification/Notification.d.ts +1 -1
- package/ui/notification/Notification.js +1 -1
- package/ui/page/NotFound.js +1 -1
- package/ui/progress/Bar.js +1 -1
- package/ui/snackbar/SnackBar.js +1 -1
- package/ui/specials/Circle.js +1 -1
- package/ui/step/Line.js +1 -1
- package/ui/step/Step.js +1 -1
- package/ui/table/Table.js +1 -1
- package/ui/theme/theme.js +1 -1
- package/ui/video/FunPlayer.js +1 -0
- package/dist/assets/colors/colors.d.ts +0 -347
- package/dist/assets/colors/colors.js +0 -348
- package/dist/index.d.ts +0 -37
- package/dist/index.js +0 -80
- package/dist/js/Fun.d.ts +0 -38
- package/dist/js/Fun.js +0 -235
- package/dist/js/Theme.d.ts +0 -2
- package/dist/js/Theme.js +0 -42
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/ui/alert/Alert.d.ts +0 -24
- package/dist/ui/alert/Alert.js +0 -48
- package/dist/ui/aos/AOS.d.ts +0 -9
- package/dist/ui/aos/AOS.js +0 -30
- package/dist/ui/appbar/AppBar.d.ts +0 -17
- package/dist/ui/appbar/AppBar.js +0 -43
- package/dist/ui/appbar/Hamburger.d.ts +0 -7
- package/dist/ui/appbar/Hamburger.js +0 -20
- package/dist/ui/avatar/Avatar.d.ts +0 -10
- package/dist/ui/avatar/Avatar.js +0 -12
- package/dist/ui/blob/Blob.d.ts +0 -10
- package/dist/ui/blob/Blob.js +0 -16
- package/dist/ui/breadcrumb/BreadCrumb.d.ts +0 -7
- package/dist/ui/breadcrumb/BreadCrumb.js +0 -10
- package/dist/ui/button/Button.d.ts +0 -39
- package/dist/ui/button/Button.js +0 -66
- package/dist/ui/card/Card.d.ts +0 -32
- package/dist/ui/card/Card.js +0 -39
- package/dist/ui/card/CardBody.d.ts +0 -7
- package/dist/ui/card/CardBody.js +0 -30
- package/dist/ui/card/CardFab.d.ts +0 -8
- package/dist/ui/card/CardFab.js +0 -31
- package/dist/ui/card/CardFooter.d.ts +0 -7
- package/dist/ui/card/CardFooter.js +0 -30
- package/dist/ui/card/CardHeader.d.ts +0 -7
- package/dist/ui/card/CardHeader.js +0 -30
- package/dist/ui/container/Container.d.ts +0 -11
- package/dist/ui/container/Container.js +0 -31
- package/dist/ui/div/Div.d.ts +0 -19
- package/dist/ui/div/Div.js +0 -31
- package/dist/ui/drop/Action.d.ts +0 -7
- package/dist/ui/drop/Action.js +0 -8
- package/dist/ui/drop/Down.d.ts +0 -9
- package/dist/ui/drop/Down.js +0 -8
- package/dist/ui/drop/Dropdown.d.ts +0 -18
- package/dist/ui/drop/Dropdown.js +0 -31
- package/dist/ui/drop/Item.d.ts +0 -8
- package/dist/ui/drop/Item.js +0 -8
- package/dist/ui/drop/Menu.d.ts +0 -12
- package/dist/ui/drop/Menu.js +0 -11
- package/dist/ui/drop/Up.d.ts +0 -9
- package/dist/ui/drop/Up.js +0 -8
- package/dist/ui/grid/Col.d.ts +0 -14
- package/dist/ui/grid/Col.js +0 -40
- package/dist/ui/grid/Grid.d.ts +0 -12
- package/dist/ui/grid/Grid.js +0 -34
- package/dist/ui/input/Iconic.d.ts +0 -11
- package/dist/ui/input/Iconic.js +0 -15
- package/dist/ui/input/Input.d.ts +0 -35
- package/dist/ui/input/Input.js +0 -110
- package/dist/ui/list/Item.d.ts +0 -7
- package/dist/ui/list/Item.js +0 -30
- package/dist/ui/list/List.d.ts +0 -14
- package/dist/ui/list/List.js +0 -30
- package/dist/ui/loader/Loader.d.ts +0 -10
- package/dist/ui/loader/Loader.js +0 -37
- package/dist/ui/modal/Action.d.ts +0 -7
- package/dist/ui/modal/Action.js +0 -30
- package/dist/ui/modal/Close.d.ts +0 -6
- package/dist/ui/modal/Close.js +0 -31
- package/dist/ui/modal/Content.d.ts +0 -7
- package/dist/ui/modal/Content.js +0 -8
- package/dist/ui/modal/Header.d.ts +0 -9
- package/dist/ui/modal/Header.js +0 -30
- package/dist/ui/modal/Modal.d.ts +0 -32
- package/dist/ui/modal/Modal.js +0 -61
- package/dist/ui/notification/Content.d.ts +0 -7
- package/dist/ui/notification/Content.js +0 -8
- package/dist/ui/notification/Footer.d.ts +0 -7
- package/dist/ui/notification/Footer.js +0 -8
- package/dist/ui/notification/Header.d.ts +0 -7
- package/dist/ui/notification/Header.js +0 -8
- package/dist/ui/notification/Notification.d.ts +0 -15
- package/dist/ui/notification/Notification.js +0 -23
- package/dist/ui/page/NotFound.d.ts +0 -9
- package/dist/ui/page/NotFound.js +0 -23
- package/dist/ui/page/UnAuthorized.d.ts +0 -9
- package/dist/ui/page/UnAuthorized.js +0 -21
- package/dist/ui/progress/Bar.d.ts +0 -17
- package/dist/ui/progress/Bar.js +0 -87
- package/dist/ui/sidebar/SideBar.d.ts +0 -14
- package/dist/ui/sidebar/SideBar.js +0 -42
- package/dist/ui/sidebar/SideContent.d.ts +0 -6
- package/dist/ui/sidebar/SideContent.js +0 -8
- package/dist/ui/snackbar/SnackBar.d.ts +0 -16
- package/dist/ui/snackbar/SnackBar.js +0 -53
- package/dist/ui/specials/Circle.d.ts +0 -15
- package/dist/ui/specials/Circle.js +0 -34
- package/dist/ui/specials/FullCenteredPage.d.ts +0 -8
- package/dist/ui/specials/FullCenteredPage.js +0 -30
- package/dist/ui/specials/Hr.d.ts +0 -7
- package/dist/ui/specials/Hr.js +0 -8
- package/dist/ui/specials/RowFlex.d.ts +0 -14
- package/dist/ui/specials/RowFlex.js +0 -34
- package/dist/ui/specials/Section.d.ts +0 -8
- package/dist/ui/specials/Section.js +0 -30
- package/dist/ui/step/Container.d.ts +0 -9
- package/dist/ui/step/Container.js +0 -8
- package/dist/ui/step/Header.d.ts +0 -7
- package/dist/ui/step/Header.js +0 -8
- package/dist/ui/step/Line.d.ts +0 -7
- package/dist/ui/step/Line.js +0 -9
- package/dist/ui/step/Step.d.ts +0 -7
- package/dist/ui/step/Step.js +0 -9
- package/dist/ui/table/Body.d.ts +0 -7
- package/dist/ui/table/Body.js +0 -8
- package/dist/ui/table/Data.d.ts +0 -8
- package/dist/ui/table/Data.js +0 -8
- package/dist/ui/table/Head.d.ts +0 -7
- package/dist/ui/table/Head.js +0 -8
- package/dist/ui/table/Row.d.ts +0 -9
- package/dist/ui/table/Row.js +0 -8
- package/dist/ui/table/Table.d.ts +0 -33
- package/dist/ui/table/Table.js +0 -133
- package/dist/ui/text/Text.d.ts +0 -44
- package/dist/ui/text/Text.js +0 -63
- package/dist/ui/theme/dark.d.ts +0 -5
- package/dist/ui/theme/dark.js +0 -34
- package/dist/ui/theme/theme.d.ts +0 -7
- package/dist/ui/theme/theme.js +0 -34
- package/dist/ui/tooltip/Tip.d.ts +0 -12
- package/dist/ui/tooltip/Tip.js +0 -31
- package/dist/ui/tooltip/ToolTip.d.ts +0 -7
- package/dist/ui/tooltip/ToolTip.js +0 -30
- package/dist/ui/video/FunPlayer.d.ts +0 -0
- package/dist/ui/video/FunPlayer.js +0 -203
- package/dist/webpack.config.d.ts +0 -23
- /package/{types/next-env.d.ts → next-env.d.ts} +0 -0
package/dist/ui/modal/Action.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.default = ModalAction;
|
|
26
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
-
function ModalAction(_a) {
|
|
28
|
-
var funcss = _a.funcss, children = _a.children, rest = __rest(_a, ["funcss", "children"]);
|
|
29
|
-
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "".concat(funcss, " modal-action") }, rest, { children: children })));
|
|
30
|
-
}
|
package/dist/ui/modal/Close.d.ts
DELETED
package/dist/ui/modal/Close.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.default = CloseModal;
|
|
26
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
-
var pi_1 = require("react-icons/pi");
|
|
28
|
-
function CloseModal(_a) {
|
|
29
|
-
var funcss = _a.funcss, rest = __rest(_a, ["funcss"]);
|
|
30
|
-
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "".concat(funcss || '', " closeModal") }, rest, { children: (0, jsx_runtime_1.jsx)(pi_1.PiX, {}) })));
|
|
31
|
-
}
|
package/dist/ui/modal/Content.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = ModalContent;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
function ModalContent(_a) {
|
|
6
|
-
var funcss = _a.funcss, children = _a.children;
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "modal-body ".concat(funcss), children: children }));
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface ModalHeaderProps {
|
|
3
|
-
funcss?: string;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
close?: React.ReactNode | '';
|
|
6
|
-
title?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export default function ModalHeader({ funcss, children, close, title, ...rest }: ModalHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
package/dist/ui/modal/Header.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.default = ModalHeader;
|
|
26
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
-
function ModalHeader(_a) {
|
|
28
|
-
var funcss = _a.funcss, children = _a.children, close = _a.close, title = _a.title, rest = __rest(_a, ["funcss", "children", "close", "title"]);
|
|
29
|
-
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: "".concat(funcss, " modal-title") }, rest, { children: [(0, jsx_runtime_1.jsx)("div", { className: "fit", children: title ? title : children }), " ", (0, jsx_runtime_1.jsx)("div", { children: close ? close : '' })] })));
|
|
30
|
-
}
|
package/dist/ui/modal/Modal.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface ModalProps {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
funcss?: string;
|
|
5
|
-
animation?: string;
|
|
6
|
-
duration?: number;
|
|
7
|
-
open: boolean;
|
|
8
|
-
setOpen: (val: boolean) => void;
|
|
9
|
-
maxWidth?: string;
|
|
10
|
-
maxHeight?: string;
|
|
11
|
-
height?: string;
|
|
12
|
-
width?: string;
|
|
13
|
-
backdrop?: boolean;
|
|
14
|
-
body?: React.ReactNode;
|
|
15
|
-
bodycss?: string;
|
|
16
|
-
title?: React.ReactNode;
|
|
17
|
-
okIcon?: React.ReactNode;
|
|
18
|
-
titlecss?: string;
|
|
19
|
-
footer?: React.ReactNode;
|
|
20
|
-
footercss?: string;
|
|
21
|
-
close?: React.ReactNode;
|
|
22
|
-
closecss?: string;
|
|
23
|
-
id?: string;
|
|
24
|
-
position?: string;
|
|
25
|
-
flat?: boolean;
|
|
26
|
-
onOk?: () => void;
|
|
27
|
-
onOkText?: string;
|
|
28
|
-
}
|
|
29
|
-
export default function Modal({ children, funcss, animation, duration, open, setOpen, maxWidth, maxHeight, okIcon, height, width, backdrop, title, titlecss, body, bodycss, footer, footercss, close, closecss, position, id, flat, onOk, // 👈 added
|
|
30
|
-
onOkText, // 👈 added
|
|
31
|
-
...rest }: ModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
32
|
-
export {};
|
package/dist/ui/modal/Modal.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
var __assign = (this && this.__assign) || function () {
|
|
4
|
-
__assign = Object.assign || function(t) {
|
|
5
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6
|
-
s = arguments[i];
|
|
7
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
8
|
-
t[p] = s[p];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
return __assign.apply(this, arguments);
|
|
13
|
-
};
|
|
14
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
15
|
-
var t = {};
|
|
16
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
17
|
-
t[p] = s[p];
|
|
18
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
19
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
20
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
21
|
-
t[p[i]] = s[p[i]];
|
|
22
|
-
}
|
|
23
|
-
return t;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.default = Modal;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var Header_1 = __importDefault(require("./Header"));
|
|
32
|
-
var Content_1 = __importDefault(require("./Content"));
|
|
33
|
-
var Action_1 = __importDefault(require("./Action"));
|
|
34
|
-
var pi_1 = require("react-icons/pi");
|
|
35
|
-
var Button_1 = __importDefault(require("../button/Button"));
|
|
36
|
-
function Modal(_a) {
|
|
37
|
-
var children = _a.children, funcss = _a.funcss, animation = _a.animation, duration = _a.duration, open = _a.open, setOpen = _a.setOpen, maxWidth = _a.maxWidth, maxHeight = _a.maxHeight, okIcon = _a.okIcon, height = _a.height, width = _a.width, _b = _a.backdrop, backdrop = _b === void 0 ? false : _b, title = _a.title, titlecss = _a.titlecss, body = _a.body, bodycss = _a.bodycss, footer = _a.footer, footercss = _a.footercss, close = _a.close, closecss = _a.closecss, position = _a.position, id = _a.id, flat = _a.flat, onOk = _a.onOk, // 👈 added
|
|
38
|
-
onOkText = _a.onOkText, // 👈 added
|
|
39
|
-
rest = __rest(_a, ["children", "funcss", "animation", "duration", "open", "setOpen", "maxWidth", "maxHeight", "okIcon", "height", "width", "backdrop", "title", "titlecss", "body", "bodycss", "footer", "footercss", "close", "closecss", "position", "id", "flat", "onOk", "onOkText"]);
|
|
40
|
-
var modalId = id || '_mymodal';
|
|
41
|
-
var handleClickOutside = function (e) {
|
|
42
|
-
if (e.target && e.target.id === modalId) {
|
|
43
|
-
setOpen(false);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
var handleOkClick = function () {
|
|
47
|
-
if (onOk)
|
|
48
|
-
onOk();
|
|
49
|
-
else
|
|
50
|
-
setOpen(false); // default behavior if no onOk is provided
|
|
51
|
-
};
|
|
52
|
-
if (!open)
|
|
53
|
-
return null;
|
|
54
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "modal ".concat(backdrop ? 'backdrop' : '', " ").concat(position || ''), id: modalId, onClick: handleClickOutside, children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: "modal-content ".concat(funcss || '', " ").concat(flat ? 'flat' : ''), style: {
|
|
55
|
-
animation: "".concat(duration || 0.2, "s ").concat(animation || 'ScaleUp'),
|
|
56
|
-
maxWidth: maxWidth || undefined,
|
|
57
|
-
maxHeight: maxHeight || undefined,
|
|
58
|
-
width: width || undefined,
|
|
59
|
-
height: height || undefined,
|
|
60
|
-
} }, rest, { children: [title && ((0, jsx_runtime_1.jsx)(Header_1.default, { funcss: titlecss || '', title: title, close: (0, jsx_runtime_1.jsx)("div", { onClick: function () { return setOpen(false); }, className: "".concat(closecss || '', " pointer hover-text-error"), children: close || (0, jsx_runtime_1.jsx)(pi_1.PiX, { size: 25 }) }) })), body && ((0, jsx_runtime_1.jsx)(Content_1.default, { funcss: bodycss || '', children: body })), footer ? ((0, jsx_runtime_1.jsx)(Action_1.default, { funcss: footercss || '', children: footer })) : ((0, jsx_runtime_1.jsx)(Action_1.default, { funcss: 'text-right', children: (0, jsx_runtime_1.jsx)(Button_1.default, { bg: 'success800', endIcon: okIcon || (0, jsx_runtime_1.jsx)(pi_1.PiPaperPlaneRight, {}), raised: true, onClick: handleOkClick, children: onOkText || 'OK' }) })), children] })) }));
|
|
61
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type NotificationContentProps = {
|
|
3
|
-
funcss?: string;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
};
|
|
6
|
-
export default function NotificationContent({ funcss, children }: NotificationContentProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = NotificationContent;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
function NotificationContent(_a) {
|
|
6
|
-
var funcss = _a.funcss, children = _a.children;
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "notificationContent ".concat(funcss ? funcss : ''), children: children }));
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = NotificationFooter;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
function NotificationFooter(_a) {
|
|
6
|
-
var funcss = _a.funcss, children = _a.children;
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "notificationFooter ".concat(funcss ? funcss : ''), children: children }));
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = NotificationHeader;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
function NotificationHeader(_a) {
|
|
6
|
-
var funcss = _a.funcss, children = _a.children;
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "notificationHeader ".concat(funcss ? funcss : ''), children: children }));
|
|
8
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type NotificationProps = {
|
|
3
|
-
position: string;
|
|
4
|
-
funcss?: string;
|
|
5
|
-
animation?: string;
|
|
6
|
-
duration?: number;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
state: boolean;
|
|
9
|
-
width?: string;
|
|
10
|
-
header?: React.ReactNode;
|
|
11
|
-
content?: React.ReactNode;
|
|
12
|
-
footer?: React.ReactNode;
|
|
13
|
-
};
|
|
14
|
-
export default function Notification({ position, funcss, animation, duration, children, state, width, header, content, footer }: NotificationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.default = Notification;
|
|
8
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
9
|
-
var Header_1 = __importDefault(require("./Header"));
|
|
10
|
-
var Content_1 = __importDefault(require("./Content"));
|
|
11
|
-
var Footer_1 = __importDefault(require("./Footer"));
|
|
12
|
-
function Notification(_a) {
|
|
13
|
-
var position = _a.position, funcss = _a.funcss, animation = _a.animation, duration = _a.duration, children = _a.children, state = _a.state, width = _a.width, header = _a.header, content = _a.content, footer = _a.footer;
|
|
14
|
-
if (state) {
|
|
15
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "notification ".concat(position, " ").concat(funcss), style: { animation: " ".concat(duration ? duration : 0.2, "s ").concat(animation), width: width ? width : '450px' }, children: [header &&
|
|
16
|
-
(0, jsx_runtime_1.jsx)(Header_1.default, { children: header }), content &&
|
|
17
|
-
(0, jsx_runtime_1.jsx)(Content_1.default, { children: content }), footer &&
|
|
18
|
-
(0, jsx_runtime_1.jsx)(Footer_1.default, { children: footer }), children] }));
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface NotFoundProps {
|
|
3
|
-
header?: React.ReactNode;
|
|
4
|
-
code?: number;
|
|
5
|
-
content?: React.ReactNode;
|
|
6
|
-
action?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export default function NotFound({ header, code, content, action }: NotFoundProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
package/dist/ui/page/NotFound.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.default = NotFound;
|
|
8
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
9
|
-
var Button_1 = __importDefault(require("../button/Button"));
|
|
10
|
-
var pi_1 = require("react-icons/pi");
|
|
11
|
-
var Text_1 = __importDefault(require("../text/Text"));
|
|
12
|
-
function NotFound(_a) {
|
|
13
|
-
var header = _a.header, code = _a.code, content = _a.content, action = _a.action;
|
|
14
|
-
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", { className: "central", style: { minHeight: "100vh", width: "100%", padding: "4rem 0px" }, children: (0, jsx_runtime_1.jsxs)("div", { className: "text-center width-600-max", children: [code ?
|
|
15
|
-
code :
|
|
16
|
-
(0, jsx_runtime_1.jsx)("div", { className: "h2 text-warning round-edge", children: "404" }), (0, jsx_runtime_1.jsx)("div", { style: { margin: "1.4rem 0px" }, children: header ? header
|
|
17
|
-
:
|
|
18
|
-
(0, jsx_runtime_1.jsx)("div", { className: "text-big text-bold text-dark300", style: { display: "block", transition: "all 0.2s linear 0s" }, children: "Page Not Found" }) }), content ? content :
|
|
19
|
-
(0, jsx_runtime_1.jsx)("div", { className: "article", children: (0, jsx_runtime_1.jsx)(Text_1.default, { article: true, text: "Sorry, we couldn't find the page you're looking for.", color: "dark300", block: true }) }), (0, jsx_runtime_1.jsx)("div", { style: { margin: "2rem 0px" }, children: action ? action :
|
|
20
|
-
(0, jsx_runtime_1.jsx)("div", { className: "row-flex gap", style: { justifyContent: "center", gap: "0.4rem" }, children: (0, jsx_runtime_1.jsx)(Button_1.default, { raised: true, rounded: true, startIcon: (0, jsx_runtime_1.jsx)(pi_1.PiArrowLeft, {}), bg: 'primary', onClick: function () {
|
|
21
|
-
window.history.back();
|
|
22
|
-
}, children: "Go Back" }) }) })] }) }) }) }));
|
|
23
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface UnAuthorizedProps {
|
|
3
|
-
header?: React.ReactNode;
|
|
4
|
-
code?: number;
|
|
5
|
-
content?: React.ReactNode;
|
|
6
|
-
action?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export default function UnAuthorized({ header, code, content, action }: UnAuthorizedProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.default = UnAuthorized;
|
|
7
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
var Button_1 = __importDefault(require("../button/Button"));
|
|
9
|
-
var pi_1 = require("react-icons/pi");
|
|
10
|
-
function UnAuthorized(_a) {
|
|
11
|
-
var header = _a.header, code = _a.code, content = _a.content, action = _a.action;
|
|
12
|
-
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", { className: "central", style: { minHeight: "100vh", width: "100%", padding: "4rem 0px" }, children: (0, jsx_runtime_1.jsxs)("div", { className: "text-center width-600-max", children: [code ?
|
|
13
|
-
code :
|
|
14
|
-
(0, jsx_runtime_1.jsx)("div", { className: "h2 text-warning round-edge", children: "401" }), (0, jsx_runtime_1.jsx)("div", { style: { margin: "1.4rem 0px" }, children: header ? header
|
|
15
|
-
:
|
|
16
|
-
(0, jsx_runtime_1.jsx)("div", { className: "text-bigger text-bold text-dark300", style: { display: "block", transition: "all 0.2s linear 0s" }, children: "Unauthorized Access" }) }), content ? content :
|
|
17
|
-
(0, jsx_runtime_1.jsx)("div", { className: "article", children: "Sorry! You do not have access to this resource." }), (0, jsx_runtime_1.jsx)("div", { style: { margin: "2rem 0px" }, children: action ? action :
|
|
18
|
-
(0, jsx_runtime_1.jsx)("div", { className: "row-flex gap", style: { justifyContent: "center", gap: "0.4rem" }, children: (0, jsx_runtime_1.jsx)(Button_1.default, { raised: true, rounded: true, startIcon: (0, jsx_runtime_1.jsx)(pi_1.PiArrowLeft, {}), bg: 'primary', onClick: function () {
|
|
19
|
-
window.history.back();
|
|
20
|
-
}, children: "Go Back" }) }) })] }) }) }) }));
|
|
21
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface ProgressBarProps {
|
|
3
|
-
funcss?: string;
|
|
4
|
-
progress: number;
|
|
5
|
-
height?: number;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
content?: ((progress: number) => React.ReactNode) | React.ReactNode;
|
|
8
|
-
bg?: string;
|
|
9
|
-
raised?: boolean;
|
|
10
|
-
rounded?: boolean;
|
|
11
|
-
type?: 'linear' | 'circle';
|
|
12
|
-
size?: number;
|
|
13
|
-
strokeWidth?: number;
|
|
14
|
-
}
|
|
15
|
-
export default function ProgressBar({ funcss, progress, height, children, content, raised, rounded, bg, // default CSS class name
|
|
16
|
-
type, size, strokeWidth, }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
package/dist/ui/progress/Bar.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.default = ProgressBar;
|
|
38
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
-
var React = __importStar(require("react"));
|
|
40
|
-
var pi_1 = require("react-icons/pi");
|
|
41
|
-
function ProgressBar(_a) {
|
|
42
|
-
var funcss = _a.funcss, progress = _a.progress, _b = _a.height, height = _b === void 0 ? 16 : _b, children = _a.children, content = _a.content, raised = _a.raised, rounded = _a.rounded, _c = _a.bg, bg = _c === void 0 ? 'primary' : _c, // default CSS class name
|
|
43
|
-
_d = _a.type, // default CSS class name
|
|
44
|
-
type = _d === void 0 ? 'linear' : _d, _e = _a.size, size = _e === void 0 ? 60 : _e, _f = _a.strokeWidth, strokeWidth = _f === void 0 ? 6 : _f;
|
|
45
|
-
var clampedProgress = Math.min(100, Math.max(0, progress));
|
|
46
|
-
var isComplete = clampedProgress >= 100;
|
|
47
|
-
var effectiveBg = isComplete ? 'success' : bg;
|
|
48
|
-
var renderContent = function () {
|
|
49
|
-
if (React.isValidElement(content))
|
|
50
|
-
return content;
|
|
51
|
-
if (typeof content === 'function')
|
|
52
|
-
return content(clampedProgress);
|
|
53
|
-
if (typeof content === 'string')
|
|
54
|
-
return content;
|
|
55
|
-
return "".concat(clampedProgress, "%");
|
|
56
|
-
};
|
|
57
|
-
if (type === 'circle') {
|
|
58
|
-
var radius = (size - strokeWidth) / 2;
|
|
59
|
-
var circumference = 2 * Math.PI * radius;
|
|
60
|
-
var offset = circumference - (clampedProgress / 100) * circumference;
|
|
61
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "relative flex justify-center items-center ".concat(funcss), style: { width: size, height: size }, children: [(0, jsx_runtime_1.jsxs)("svg", { width: size, height: size, className: "rotate-[-90deg]", children: [(0, jsx_runtime_1.jsx)("circle", { cx: size / 2, cy: size / 2, r: radius, strokeWidth: strokeWidth, fill: "none", stroke: "#e5e7eb" // light gray background stroke
|
|
62
|
-
}), (0, jsx_runtime_1.jsx)("circle", { cx: size / 2, cy: size / 2, r: radius, strokeWidth: strokeWidth, fill: "none", className: effectiveBg, strokeDasharray: circumference, strokeDashoffset: offset, strokeLinecap: "round", style: { transition: 'stroke-dashoffset 0.4s ease, stroke 0.3s ease' } })] }), (0, jsx_runtime_1.jsx)("div", { className: "absolute text-center font-bold text-sm", style: {
|
|
63
|
-
top: '50%',
|
|
64
|
-
left: '50%',
|
|
65
|
-
transform: 'translate(-50%, -50%)',
|
|
66
|
-
display: 'flex',
|
|
67
|
-
alignItems: 'center',
|
|
68
|
-
justifyContent: 'center',
|
|
69
|
-
width: size,
|
|
70
|
-
height: size,
|
|
71
|
-
}, children: isComplete ? (0, jsx_runtime_1.jsx)(pi_1.PiCheck, { className: "text-success800", size: size / 2.2 }) : renderContent() })] }));
|
|
72
|
-
}
|
|
73
|
-
// Linear bar
|
|
74
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "progressBar ".concat(raised ? 'raised' : '', " ").concat(rounded ? 'rounded' : '', " ").concat(funcss || ''), children: (0, jsx_runtime_1.jsxs)("div", { className: "progressInner ".concat(rounded ? 'rounded' : '', " ").concat(effectiveBg), style: {
|
|
75
|
-
width: "".concat(clampedProgress, "%"),
|
|
76
|
-
height: "".concat(height, "px"),
|
|
77
|
-
padding: '0 1rem',
|
|
78
|
-
transition: 'width 0.3s ease, background-color 0.3s ease',
|
|
79
|
-
display: 'flex',
|
|
80
|
-
alignItems: 'center',
|
|
81
|
-
justifyContent: 'flex-end',
|
|
82
|
-
fontWeight: 'bold',
|
|
83
|
-
color: '#fff',
|
|
84
|
-
overflow: 'hidden',
|
|
85
|
-
whiteSpace: 'nowrap',
|
|
86
|
-
}, children: [isComplete ? (0, jsx_runtime_1.jsx)(pi_1.PiCheck, {}) : renderContent(), " ", children] }) }));
|
|
87
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface FunLoaderProps {
|
|
3
|
-
funcss?: string;
|
|
4
|
-
position?: "left" | "right";
|
|
5
|
-
glassy?: boolean;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
header?: ReactNode;
|
|
8
|
-
content?: ReactNode;
|
|
9
|
-
close?: ReactNode;
|
|
10
|
-
footer?: ReactNode;
|
|
11
|
-
fixed?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export default function SideBar({ funcss, position, glassy, header, open, content, close, footer, fixed, ...rest }: FunLoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.default = SideBar;
|
|
29
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
-
var RowFlex_1 = __importDefault(require("../specials/RowFlex"));
|
|
31
|
-
function SideBar(_a) {
|
|
32
|
-
var funcss = _a.funcss, position = _a.position, glassy = _a.glassy, header = _a.header, open = _a.open, content = _a.content, close = _a.close, footer = _a.footer, fixed = _a.fixed, rest = __rest(_a, ["funcss", "position", "glassy", "header", "open", "content", "close", "footer", "fixed"]);
|
|
33
|
-
if (open) {
|
|
34
|
-
return ((0, jsx_runtime_1.jsx)("aside", __assign({ className: "fun_side_bar_wrapper ".concat(fixed ? "fixed_sidebar" : "", " ").concat(glassy ? "glassy" : "") }, rest, { children: (0, jsx_runtime_1.jsxs)("div", { className: "\n fun_sidebar_content ".concat(funcss || "", " ").concat(position || "", " \n "), children: [(0, jsx_runtime_1.jsxs)(RowFlex_1.default, { justify: 'space-between', children: [header &&
|
|
35
|
-
(0, jsx_runtime_1.jsxs)("div", { className: "col fit", children: [" ", header, " "] }), close && (0, jsx_runtime_1.jsxs)("div", { className: "close_sidebar", children: [close, " "] })] }), content &&
|
|
36
|
-
(0, jsx_runtime_1.jsx)("div", { children: content }), footer &&
|
|
37
|
-
(0, jsx_runtime_1.jsx)("div", { children: footer })] }) })));
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = SideContent;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
function SideContent(_a) {
|
|
6
|
-
var content = _a.content;
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)("main", { className: "fun_main_content", children: content && (0, jsx_runtime_1.jsx)("div", { children: content }) }));
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface SnackbarProps {
|
|
3
|
-
message: string;
|
|
4
|
-
close?: React.ReactNode;
|
|
5
|
-
open: boolean;
|
|
6
|
-
setOpen: (val: boolean) => void;
|
|
7
|
-
position: string;
|
|
8
|
-
funcss?: string;
|
|
9
|
-
animation?: string;
|
|
10
|
-
duration?: number;
|
|
11
|
-
autoHide?: boolean;
|
|
12
|
-
autoHideDuration?: number;
|
|
13
|
-
flat?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare const SnackBar: React.FC<SnackbarProps>;
|
|
16
|
-
export default SnackBar;
|