funuicss 2.0.11 → 2.0.13
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 +2 -2
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/ui/table/Table.d.ts +3 -1
- package/ui/table/Table.js +31 -5
- package/ui/table/Table.tsx +52 -6
- package/component/Alert.jsx +0 -113
- package/component/Avatar.jsx +0 -79
- package/component/Blob.jsx +0 -83
- package/component/BreadCrumb.jsx +0 -110
- package/component/Button.jsx +0 -98
- package/component/Card.jsx +0 -96
- package/component/Circle.jsx +0 -79
- package/component/CloseModal.jsx +0 -90
- package/component/Col.jsx +0 -76
- package/component/Container.jsx +0 -78
- package/component/DarkMode.jsx +0 -83
- package/component/Div.jsx +0 -99
- package/component/DropDown.jsx +0 -76
- package/component/DropItem.jsx +0 -73
- package/component/DropMenu.jsx +0 -97
- package/component/FunLoader.jsx +0 -79
- package/component/Grid.jsx +0 -80
- package/component/Hr.jsx +0 -72
- package/component/Icon.jsx +0 -77
- package/component/IconicInput.jsx +0 -86
- package/component/Input.jsx +0 -277
- package/component/LinkWrapper.jsx +0 -73
- package/component/List.jsx +0 -79
- package/component/ListItem.jsx +0 -73
- package/component/Modal.jsx +0 -93
- package/component/ModalAction.jsx +0 -71
- package/component/ModalContent.jsx +0 -71
- package/component/ModalHeader.jsx +0 -105
- package/component/NavBar.jsx +0 -80
- package/component/NavLink.jsx +0 -74
- package/component/NavLogo.jsx +0 -95
- package/component/Notification.jsx +0 -84
- package/component/NotificationContent.jsx +0 -71
- package/component/NotificationFooter.jsx +0 -71
- package/component/NotificationHeader.jsx +0 -71
- package/component/ProgressBar.jsx +0 -91
- package/component/RowFlex.jsx +0 -85
- package/component/Section.jsx +0 -74
- package/component/SideBar.jsx +0 -77
- package/component/SideBarContent.jsx +0 -71
- package/component/SideBarFooter.jsx +0 -71
- package/component/SideBarTop.jsx +0 -71
- package/component/SidebarTrigger.jsx +0 -96
- package/component/Snackbar.jsx +0 -90
- package/component/Starter.jsx +0 -203
- package/component/Step.jsx +0 -72
- package/component/StepContainer.jsx +0 -75
- package/component/StepHeader.jsx +0 -72
- package/component/StepLine.jsx +0 -72
- package/component/Table.jsx +0 -82
- package/component/TableBody.jsx +0 -72
- package/component/TableData.jsx +0 -74
- package/component/TableHead.jsx +0 -72
- package/component/TableRow.jsx +0 -74
- package/component/Tip.jsx +0 -78
- package/component/ToolTip.jsx +0 -72
- package/component/Typography.jsx +0 -99
- package/component/card/Card.jsx +0 -94
- package/component/card/CardBody.jsx +0 -71
- package/component/card/CardFab.jsx +0 -72
- package/component/card/CardFooter.jsx +0 -71
- package/component/card/CardHeader.jsx +0 -71
- package/component/fun.css +0 -593
- package/component/pages/NotFound.jsx +0 -107
- package/component/pages/UnAuthorized.jsx +0 -107
- package/ui/graph/BarGraph.d.ts +0 -13
- package/ui/graph/BarGraph.js +0 -17
- package/ui/graph/BarGraph.tsx +0 -50
package/component/Hr.jsx
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/******/ (() => { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
|
-
/******/ // The require scope
|
|
4
|
-
/******/ var __webpack_require__ = {};
|
|
5
|
-
/******/
|
|
6
|
-
/************************************************************************/
|
|
7
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
-
/******/ (() => {
|
|
9
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
-
/******/ __webpack_require__.n = (module) => {
|
|
11
|
-
/******/ var getter = module && module.__esModule ?
|
|
12
|
-
/******/ () => (module['default']) :
|
|
13
|
-
/******/ () => (module);
|
|
14
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
-
/******/ return getter;
|
|
16
|
-
/******/ };
|
|
17
|
-
/******/ })();
|
|
18
|
-
/******/
|
|
19
|
-
/******/ /* webpack/runtime/define property getters */
|
|
20
|
-
/******/ (() => {
|
|
21
|
-
/******/ // define getter functions for harmony exports
|
|
22
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
23
|
-
/******/ for(var key in definition) {
|
|
24
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
-
/******/ }
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ })();
|
|
30
|
-
/******/
|
|
31
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
-
/******/ (() => {
|
|
33
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
34
|
-
/******/ })();
|
|
35
|
-
/******/
|
|
36
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
-
/******/ (() => {
|
|
38
|
-
/******/ // define __esModule on exports
|
|
39
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
40
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
-
/******/ }
|
|
43
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
-
/******/ };
|
|
45
|
-
/******/ })();
|
|
46
|
-
/******/
|
|
47
|
-
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
|
-
// ESM COMPAT FLAG
|
|
50
|
-
__webpack_require__.r(__webpack_exports__);
|
|
51
|
-
|
|
52
|
-
// EXPORTS
|
|
53
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
-
"default": () => (/* binding */ Components_Hr)
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
;// CONCATENATED MODULE: external "react"
|
|
58
|
-
const external_react_namespaceObject = require("react");
|
|
59
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
|
|
60
|
-
;// CONCATENATED MODULE: ../Funcss/Components/Hr.js
|
|
61
|
-
|
|
62
|
-
var Hr = function Hr(_ref) {
|
|
63
|
-
var children = _ref.children,
|
|
64
|
-
funcss = _ref.funcss;
|
|
65
|
-
return /*#__PURE__*/external_react_default().createElement("div", {
|
|
66
|
-
className: "hr ".concat(funcss)
|
|
67
|
-
}, children);
|
|
68
|
-
};
|
|
69
|
-
/* harmony default export */ const Components_Hr = (Hr);
|
|
70
|
-
module.exports = __webpack_exports__;
|
|
71
|
-
/******/ })()
|
|
72
|
-
;
|
package/component/Icon.jsx
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/******/ (() => { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
|
-
/******/ // The require scope
|
|
4
|
-
/******/ var __webpack_require__ = {};
|
|
5
|
-
/******/
|
|
6
|
-
/************************************************************************/
|
|
7
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
-
/******/ (() => {
|
|
9
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
-
/******/ __webpack_require__.n = (module) => {
|
|
11
|
-
/******/ var getter = module && module.__esModule ?
|
|
12
|
-
/******/ () => (module['default']) :
|
|
13
|
-
/******/ () => (module);
|
|
14
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
-
/******/ return getter;
|
|
16
|
-
/******/ };
|
|
17
|
-
/******/ })();
|
|
18
|
-
/******/
|
|
19
|
-
/******/ /* webpack/runtime/define property getters */
|
|
20
|
-
/******/ (() => {
|
|
21
|
-
/******/ // define getter functions for harmony exports
|
|
22
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
23
|
-
/******/ for(var key in definition) {
|
|
24
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
-
/******/ }
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ })();
|
|
30
|
-
/******/
|
|
31
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
-
/******/ (() => {
|
|
33
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
34
|
-
/******/ })();
|
|
35
|
-
/******/
|
|
36
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
-
/******/ (() => {
|
|
38
|
-
/******/ // define __esModule on exports
|
|
39
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
40
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
-
/******/ }
|
|
43
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
-
/******/ };
|
|
45
|
-
/******/ })();
|
|
46
|
-
/******/
|
|
47
|
-
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
|
-
// ESM COMPAT FLAG
|
|
50
|
-
__webpack_require__.r(__webpack_exports__);
|
|
51
|
-
|
|
52
|
-
// EXPORTS
|
|
53
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
-
"default": () => (/* binding */ Icon)
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
;// CONCATENATED MODULE: external "react"
|
|
58
|
-
const external_react_namespaceObject = require("react");
|
|
59
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
|
|
60
|
-
;// CONCATENATED MODULE: ../Funcss/Components/Icon.js
|
|
61
|
-
|
|
62
|
-
function Icon(_ref) {
|
|
63
|
-
var funcss = _ref.funcss,
|
|
64
|
-
color = _ref.color,
|
|
65
|
-
size = _ref.size,
|
|
66
|
-
onClick = _ref.onClick,
|
|
67
|
-
onChange = _ref.onChange,
|
|
68
|
-
icon = _ref.icon;
|
|
69
|
-
return /*#__PURE__*/external_react_default().createElement("i", {
|
|
70
|
-
className: "icon ".concat(icon, " ").concat(funcss, " text-").concat(color, " size-").concat(size, " "),
|
|
71
|
-
onClick: onClick,
|
|
72
|
-
onChange: onChange
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
module.exports = __webpack_exports__;
|
|
76
|
-
/******/ })()
|
|
77
|
-
;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/******/ (() => { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
|
-
/******/ // The require scope
|
|
4
|
-
/******/ var __webpack_require__ = {};
|
|
5
|
-
/******/
|
|
6
|
-
/************************************************************************/
|
|
7
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
-
/******/ (() => {
|
|
9
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
-
/******/ __webpack_require__.n = (module) => {
|
|
11
|
-
/******/ var getter = module && module.__esModule ?
|
|
12
|
-
/******/ () => (module['default']) :
|
|
13
|
-
/******/ () => (module);
|
|
14
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
-
/******/ return getter;
|
|
16
|
-
/******/ };
|
|
17
|
-
/******/ })();
|
|
18
|
-
/******/
|
|
19
|
-
/******/ /* webpack/runtime/define property getters */
|
|
20
|
-
/******/ (() => {
|
|
21
|
-
/******/ // define getter functions for harmony exports
|
|
22
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
23
|
-
/******/ for(var key in definition) {
|
|
24
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
-
/******/ }
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ })();
|
|
30
|
-
/******/
|
|
31
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
-
/******/ (() => {
|
|
33
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
34
|
-
/******/ })();
|
|
35
|
-
/******/
|
|
36
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
-
/******/ (() => {
|
|
38
|
-
/******/ // define __esModule on exports
|
|
39
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
40
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
-
/******/ }
|
|
43
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
-
/******/ };
|
|
45
|
-
/******/ })();
|
|
46
|
-
/******/
|
|
47
|
-
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
|
-
// ESM COMPAT FLAG
|
|
50
|
-
__webpack_require__.r(__webpack_exports__);
|
|
51
|
-
|
|
52
|
-
// EXPORTS
|
|
53
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
-
"default": () => (/* binding */ IconicInput)
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
;// CONCATENATED MODULE: external "react"
|
|
58
|
-
const external_react_namespaceObject = require("react");
|
|
59
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
|
|
60
|
-
;// CONCATENATED MODULE: ../Funcss/Components/IconicInput.js
|
|
61
|
-
|
|
62
|
-
function IconicInput(_ref) {
|
|
63
|
-
var funcss = _ref.funcss,
|
|
64
|
-
children = _ref.children,
|
|
65
|
-
position = _ref.position,
|
|
66
|
-
icon = _ref.icon,
|
|
67
|
-
input = _ref.input,
|
|
68
|
-
iconicBg = _ref.iconicBg;
|
|
69
|
-
return /*#__PURE__*/external_react_default().createElement("div", {
|
|
70
|
-
className: "icon-container ".concat(funcss, " ").concat(position)
|
|
71
|
-
}, position == "left" ? /*#__PURE__*/external_react_default().createElement("div", {
|
|
72
|
-
className: "leftIcon",
|
|
73
|
-
style: {
|
|
74
|
-
backgroundColor: iconicBg ? iconicBg : "",
|
|
75
|
-
border: iconicBg ? "0.1rem ".concat(iconicBg, " solid") : ""
|
|
76
|
-
}
|
|
77
|
-
}, position == "left" ? icon : "") : "", children, " ", input, position == "right" ? /*#__PURE__*/external_react_default().createElement("div", {
|
|
78
|
-
className: "rightIcon",
|
|
79
|
-
style: {
|
|
80
|
-
backgroundColor: iconicBg ? iconicBg : ""
|
|
81
|
-
}
|
|
82
|
-
}, position == "right" ? icon : "") : "");
|
|
83
|
-
}
|
|
84
|
-
module.exports = __webpack_exports__;
|
|
85
|
-
/******/ })()
|
|
86
|
-
;
|
package/component/Input.jsx
DELETED
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
/******/ (() => { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
|
-
/******/ // The require scope
|
|
4
|
-
/******/ var __webpack_require__ = {};
|
|
5
|
-
/******/
|
|
6
|
-
/************************************************************************/
|
|
7
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
-
/******/ (() => {
|
|
9
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
-
/******/ __webpack_require__.n = (module) => {
|
|
11
|
-
/******/ var getter = module && module.__esModule ?
|
|
12
|
-
/******/ () => (module['default']) :
|
|
13
|
-
/******/ () => (module);
|
|
14
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
-
/******/ return getter;
|
|
16
|
-
/******/ };
|
|
17
|
-
/******/ })();
|
|
18
|
-
/******/
|
|
19
|
-
/******/ /* webpack/runtime/define property getters */
|
|
20
|
-
/******/ (() => {
|
|
21
|
-
/******/ // define getter functions for harmony exports
|
|
22
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
23
|
-
/******/ for(var key in definition) {
|
|
24
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
-
/******/ }
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ })();
|
|
30
|
-
/******/
|
|
31
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
-
/******/ (() => {
|
|
33
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
34
|
-
/******/ })();
|
|
35
|
-
/******/
|
|
36
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
-
/******/ (() => {
|
|
38
|
-
/******/ // define __esModule on exports
|
|
39
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
40
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
-
/******/ }
|
|
43
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
-
/******/ };
|
|
45
|
-
/******/ })();
|
|
46
|
-
/******/
|
|
47
|
-
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
|
-
// ESM COMPAT FLAG
|
|
50
|
-
__webpack_require__.r(__webpack_exports__);
|
|
51
|
-
|
|
52
|
-
// EXPORTS
|
|
53
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
-
"default": () => (/* binding */ Input)
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
;// CONCATENATED MODULE: external "react"
|
|
58
|
-
const external_react_namespaceObject = require("react");
|
|
59
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
|
|
60
|
-
;// CONCATENATED MODULE: ../Funcss/Components/Input.js
|
|
61
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
62
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
63
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
64
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
65
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
66
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
67
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
68
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
69
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
70
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
71
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
72
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
73
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
74
|
-
|
|
75
|
-
var Input = /*#__PURE__*/function (_Component) {
|
|
76
|
-
_inherits(Input, _Component);
|
|
77
|
-
var _super = _createSuper(Input);
|
|
78
|
-
function Input() {
|
|
79
|
-
_classCallCheck(this, Input);
|
|
80
|
-
return _super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
_createClass(Input, [{
|
|
83
|
-
key: "render",
|
|
84
|
-
value: function render() {
|
|
85
|
-
if (this.props.select) {
|
|
86
|
-
if (this.props.bordered) {
|
|
87
|
-
return /*#__PURE__*/external_react_default().createElement("select", {
|
|
88
|
-
id: this.props.id,
|
|
89
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n borderedInput\n "),
|
|
90
|
-
onChange: this.props.onChange,
|
|
91
|
-
defaultValue: this.props.defaultValue,
|
|
92
|
-
type: this.props.type,
|
|
93
|
-
name: this.props.name,
|
|
94
|
-
style: {
|
|
95
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
96
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
97
|
-
},
|
|
98
|
-
value: this.props.value
|
|
99
|
-
}, this.props.options ? this.props.options.map(function (doc) {
|
|
100
|
-
return /*#__PURE__*/external_react_default().createElement("option", {
|
|
101
|
-
value: doc.value,
|
|
102
|
-
key: doc.value
|
|
103
|
-
}, doc.text);
|
|
104
|
-
}) : "");
|
|
105
|
-
} else if (this.props.bordereless) {
|
|
106
|
-
return /*#__PURE__*/external_react_default().createElement("select", {
|
|
107
|
-
id: this.props.id,
|
|
108
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n borderless\n "),
|
|
109
|
-
onChange: this.props.onChange,
|
|
110
|
-
defaultValue: this.props.defaultValue,
|
|
111
|
-
type: this.props.type,
|
|
112
|
-
placeholder: this.props.label,
|
|
113
|
-
name: this.props.name,
|
|
114
|
-
value: this.props.value,
|
|
115
|
-
style: {
|
|
116
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
117
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
118
|
-
}
|
|
119
|
-
}, this.props.options ? this.props.options.map(function (doc) {
|
|
120
|
-
return /*#__PURE__*/external_react_default().createElement("option", {
|
|
121
|
-
value: doc.value,
|
|
122
|
-
key: doc.value
|
|
123
|
-
}, doc.text);
|
|
124
|
-
}) : "");
|
|
125
|
-
} else {
|
|
126
|
-
return /*#__PURE__*/external_react_default().createElement("select", {
|
|
127
|
-
id: this.props.id,
|
|
128
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n "),
|
|
129
|
-
onChange: this.props.onChange,
|
|
130
|
-
defaultValue: this.props.defaultValue,
|
|
131
|
-
type: this.props.type,
|
|
132
|
-
placeholder: this.props.label,
|
|
133
|
-
name: this.props.name,
|
|
134
|
-
value: this.props.value,
|
|
135
|
-
style: {
|
|
136
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
137
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
138
|
-
}
|
|
139
|
-
}, this.props.options ? this.props.options.map(function (doc) {
|
|
140
|
-
return /*#__PURE__*/external_react_default().createElement("option", {
|
|
141
|
-
value: doc.value,
|
|
142
|
-
key: doc.value
|
|
143
|
-
}, doc.text);
|
|
144
|
-
}) : "");
|
|
145
|
-
}
|
|
146
|
-
} else if (this.props.multiline) {
|
|
147
|
-
if (this.props.bordered) {
|
|
148
|
-
return /*#__PURE__*/external_react_default().createElement("textarea", {
|
|
149
|
-
id: this.props.id,
|
|
150
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n borderedInput\n "),
|
|
151
|
-
onChange: this.props.onChange,
|
|
152
|
-
defaultValue: this.props.defaultValue,
|
|
153
|
-
type: this.props.type,
|
|
154
|
-
placeholder: this.props.label,
|
|
155
|
-
name: this.props.name,
|
|
156
|
-
style: {
|
|
157
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
158
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
159
|
-
},
|
|
160
|
-
value: this.props.value,
|
|
161
|
-
rows: this.props.rows ? this.props.rows : 2
|
|
162
|
-
});
|
|
163
|
-
} else if (this.props.bordereless) {
|
|
164
|
-
return /*#__PURE__*/external_react_default().createElement("textarea", {
|
|
165
|
-
id: this.props.id,
|
|
166
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n borderless\n "),
|
|
167
|
-
onChange: this.props.onChange,
|
|
168
|
-
defaultValue: this.props.defaultValue,
|
|
169
|
-
type: this.props.type,
|
|
170
|
-
placeholder: this.props.label,
|
|
171
|
-
name: this.props.name,
|
|
172
|
-
value: this.props.value,
|
|
173
|
-
style: {
|
|
174
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
175
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
176
|
-
},
|
|
177
|
-
rows: this.props.rows ? this.props.rows : 2
|
|
178
|
-
});
|
|
179
|
-
} else {
|
|
180
|
-
return /*#__PURE__*/external_react_default().createElement("textarea", {
|
|
181
|
-
id: this.props.id,
|
|
182
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n "),
|
|
183
|
-
onChange: this.props.onChange,
|
|
184
|
-
defaultValue: this.props.defaultValue,
|
|
185
|
-
type: this.props.type,
|
|
186
|
-
placeholder: this.props.label,
|
|
187
|
-
name: this.props.name,
|
|
188
|
-
value: this.props.value,
|
|
189
|
-
style: {
|
|
190
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
191
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
192
|
-
},
|
|
193
|
-
rows: this.props.rows ? this.props.rows : 2
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
} else if (this.props.file) {
|
|
197
|
-
return /*#__PURE__*/external_react_default().createElement("div", {
|
|
198
|
-
className: "fileInputContainer ".concat(this.props.noBorder ? 'borderless' : '')
|
|
199
|
-
}, /*#__PURE__*/external_react_default().createElement("div", null, this.props.icon ? this.props.icon : /*#__PURE__*/external_react_default().createElement("i", {
|
|
200
|
-
className: "fas icon size-big text-secondary fa-upload"
|
|
201
|
-
}), /*#__PURE__*/external_react_default().createElement("br", null), /*#__PURE__*/external_react_default().createElement("div", {
|
|
202
|
-
className: "text-secondary",
|
|
203
|
-
style: {
|
|
204
|
-
margin: "0.3rem 0"
|
|
205
|
-
}
|
|
206
|
-
}, this.props.label)), /*#__PURE__*/external_react_default().createElement("div", {
|
|
207
|
-
className: "fileInput"
|
|
208
|
-
}, this.props.button ? this.props.button : /*#__PURE__*/external_react_default().createElement("button", {
|
|
209
|
-
className: "primary button full-width"
|
|
210
|
-
}, " Upload File"), /*#__PURE__*/external_react_default().createElement("input", {
|
|
211
|
-
id: this.props.id,
|
|
212
|
-
className: "\n \n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n borderedInput\n filedInput\n "),
|
|
213
|
-
onChange: this.props.onChange,
|
|
214
|
-
type: "file",
|
|
215
|
-
name: this.props.name,
|
|
216
|
-
style: {
|
|
217
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
218
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
219
|
-
},
|
|
220
|
-
value: this.props.value
|
|
221
|
-
})));
|
|
222
|
-
} else {
|
|
223
|
-
if (this.props.bordered) {
|
|
224
|
-
return /*#__PURE__*/external_react_default().createElement("input", {
|
|
225
|
-
id: this.props.id,
|
|
226
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n borderedInput\n "),
|
|
227
|
-
onChange: this.props.onChange,
|
|
228
|
-
defaultValue: this.props.defaultValue,
|
|
229
|
-
type: this.props.type,
|
|
230
|
-
placeholder: this.props.label,
|
|
231
|
-
name: this.props.name,
|
|
232
|
-
style: {
|
|
233
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
234
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
235
|
-
},
|
|
236
|
-
value: this.props.value
|
|
237
|
-
});
|
|
238
|
-
} else if (this.props.bordereless) {
|
|
239
|
-
return /*#__PURE__*/external_react_default().createElement("input", {
|
|
240
|
-
id: this.props.id,
|
|
241
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n borderless\n "),
|
|
242
|
-
onChange: this.props.onChange,
|
|
243
|
-
defaultValue: this.props.defaultValue,
|
|
244
|
-
type: this.props.type,
|
|
245
|
-
placeholder: this.props.label,
|
|
246
|
-
name: this.props.name,
|
|
247
|
-
value: this.props.value,
|
|
248
|
-
style: {
|
|
249
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
250
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
} else {
|
|
254
|
-
return /*#__PURE__*/external_react_default().createElement("input", {
|
|
255
|
-
id: this.props.id,
|
|
256
|
-
className: "\n ".concat(this.props.status === "success" ? "success-input" : "", "\n ").concat(this.props.status === "warning" ? "warning-input" : "", "\n ").concat(this.props.status === "danger" ? "danger-input" : "", "\n input\n ").concat(this.props.funcss, " ").concat(this.props.flat ? "flat" : "", "\n ").concat(this.props.leftRounded ? "leftRounded" : this.props.rightRounded ? "rightRounded" : "", "\n "),
|
|
257
|
-
onChange: this.props.onChange,
|
|
258
|
-
defaultValue: this.props.defaultValue,
|
|
259
|
-
type: this.props.type,
|
|
260
|
-
placeholder: this.props.label,
|
|
261
|
-
name: this.props.name,
|
|
262
|
-
value: this.props.value,
|
|
263
|
-
style: {
|
|
264
|
-
borderRadius: "".concat(this.props.rounded ? "400rem" : ""),
|
|
265
|
-
width: "".concat(this.props.fullWidth ? "100%" : "")
|
|
266
|
-
}
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}]);
|
|
272
|
-
return Input;
|
|
273
|
-
}(external_react_namespaceObject.Component);
|
|
274
|
-
|
|
275
|
-
module.exports = __webpack_exports__;
|
|
276
|
-
/******/ })()
|
|
277
|
-
;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/******/ (() => { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
|
-
/******/ // The require scope
|
|
4
|
-
/******/ var __webpack_require__ = {};
|
|
5
|
-
/******/
|
|
6
|
-
/************************************************************************/
|
|
7
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
-
/******/ (() => {
|
|
9
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
-
/******/ __webpack_require__.n = (module) => {
|
|
11
|
-
/******/ var getter = module && module.__esModule ?
|
|
12
|
-
/******/ () => (module['default']) :
|
|
13
|
-
/******/ () => (module);
|
|
14
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
-
/******/ return getter;
|
|
16
|
-
/******/ };
|
|
17
|
-
/******/ })();
|
|
18
|
-
/******/
|
|
19
|
-
/******/ /* webpack/runtime/define property getters */
|
|
20
|
-
/******/ (() => {
|
|
21
|
-
/******/ // define getter functions for harmony exports
|
|
22
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
23
|
-
/******/ for(var key in definition) {
|
|
24
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
-
/******/ }
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ })();
|
|
30
|
-
/******/
|
|
31
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
-
/******/ (() => {
|
|
33
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
34
|
-
/******/ })();
|
|
35
|
-
/******/
|
|
36
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
-
/******/ (() => {
|
|
38
|
-
/******/ // define __esModule on exports
|
|
39
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
40
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
-
/******/ }
|
|
43
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
-
/******/ };
|
|
45
|
-
/******/ })();
|
|
46
|
-
/******/
|
|
47
|
-
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
|
-
// ESM COMPAT FLAG
|
|
50
|
-
__webpack_require__.r(__webpack_exports__);
|
|
51
|
-
|
|
52
|
-
// EXPORTS
|
|
53
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
-
"default": () => (/* binding */ LinkWrapper)
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
;// CONCATENATED MODULE: external "react"
|
|
58
|
-
const external_react_namespaceObject = require("react");
|
|
59
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
|
|
60
|
-
;// CONCATENATED MODULE: ../Funcss/Components/LinkWrapper.js
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
function LinkWrapper(_ref) {
|
|
64
|
-
var funcss = _ref.funcss,
|
|
65
|
-
children = _ref.children,
|
|
66
|
-
visibleLinks = _ref.visibleLinks;
|
|
67
|
-
return /*#__PURE__*/external_react_default().createElement((external_react_default()).Fragment, null, /*#__PURE__*/external_react_default().createElement("div", {
|
|
68
|
-
className: "".concat(funcss, " linkWrapper ").concat(visibleLinks ? "visibleLinks" : "")
|
|
69
|
-
}, children));
|
|
70
|
-
}
|
|
71
|
-
module.exports = __webpack_exports__;
|
|
72
|
-
/******/ })()
|
|
73
|
-
;
|