synos-helena 22.0.14-beta.4 → 22.0.14-beta.7
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/lib/index.js +1 -1
- package/package.json +1 -1
- package/lib/dark.css.gz +0 -0
- package/lib/dark.css.map +0 -1
- package/lib/dark.css.map.gz +0 -0
- package/lib/dark.js.gz +0 -0
- package/lib/dark.js.map +0 -1
- package/lib/dark.js.map.gz +0 -0
- package/lib/helena.css.gz +0 -0
- package/lib/helena.css.map +0 -1
- package/lib/helena.css.map.gz +0 -0
- package/lib/helena.js.gz +0 -0
- package/lib/helena.js.map +0 -1
- package/lib/helena.js.map.gz +0 -0
- package/lib/icons/exception.svg.gz +0 -0
- package/lib/icons/export.svg.gz +0 -0
- package/lib/icons/field-time.svg.gz +0 -0
- package/lib/icons/file-calculator.svg.gz +0 -0
- package/lib/icons/hand-service.svg.gz +0 -0
- package/lib/icons/import.svg.gz +0 -0
- package/lib/icons/package.svg.gz +0 -0
- package/lib/icons/process-config.svg.gz +0 -0
- package/lib/icons/transmission.svg.gz +0 -0
- package/lib/images/empty-notification.svg.gz +0 -0
- package/lib/images/micro-download.svg.gz +0 -0
- package/lib/images/micro-gerproc.svg.gz +0 -0
- package/lib/images/micro-insight.svg.gz +0 -0
- package/lib/images/synchro-logo.svg.gz +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/index.css.map +0 -1
- package/lib/index.css.map.gz +0 -0
- package/lib/index.js.LICENSE.txt +0 -70
- package/lib/index.js.LICENSE.txt.gz +0 -0
- package/lib/index.js.gz +0 -0
- package/lib/index.js.map +0 -1
- package/lib/index.js.map.gz +0 -0
- package/lib/light.css.gz +0 -0
- package/lib/light.css.map +0 -1
- package/lib/light.css.map.gz +0 -0
- package/lib/light.js.gz +0 -0
- package/lib/light.js.map +0 -1
- package/lib/light.js.map.gz +0 -0
- package/lib/node_modules/react-markdown/lib/complex-types.d.ts +0 -22
- package/lib/themes/colors/ant-blues.less.gz +0 -0
- package/lib/themes/colors/ant-yellows.less.gz +0 -0
- package/lib/themes/colors/blues.less.gz +0 -0
- package/lib/themes/colors/dark-olive-greens.less.gz +0 -0
- package/lib/themes/colors/gray.less.gz +0 -0
- package/lib/themes/colors/greens.less.gz +0 -0
- package/lib/themes/colors/pinks.less.gz +0 -0
- package/lib/themes/colors/purples.less.gz +0 -0
- package/lib/themes/colors/reds.less.gz +0 -0
- package/lib/themes/colors/yellows.less.gz +0 -0
- package/lib/themes/dark.less.gz +0 -0
- package/lib/themes/default.less.gz +0 -0
- package/lib/themes/general_custom.less.gz +0 -0
- package/lib/themes/light.less.gz +0 -0
package/lib/index.js
CHANGED
|
@@ -33389,7 +33389,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
33389
33389
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
33390
33390
|
|
|
33391
33391
|
"use strict";
|
|
33392
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd */ \"antd\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(antd__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ~ */ \"./src/index.ts\");\n/* harmony import */ var _assets_images_micro_gerproc_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ~/assets/images/micro-gerproc.svg */ \"./src/assets/images/micro-gerproc.svg\");\n/* harmony import */ var _assets_images_micro_insight_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ~/assets/images/micro-insight.svg */ \"./src/assets/images/micro-insight.svg\");\n/* harmony import */ var _assets_images_micro_download_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ~/assets/images/micro-download.svg */ \"./src/assets/images/micro-download.svg\");\n/* harmony import */ var _util_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ~/util/constants */ \"./src/util/constants.ts\");\n/* harmony import */ var react_countdown__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-countdown */ \"./node_modules/react-countdown/dist/index.es.js\");\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\n\n\n\n\n\nvar HLErrorBoundary = /** @class */ (function (_super) {\n __extends(HLErrorBoundary, _super);\n function HLErrorBoundary(props) {\n var _this = _super.call(this, props) || this;\n _this.pageRefresh = function () {\n window.location.reload(true);\n };\n _this.
|
|
33392
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd */ \"antd\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(antd__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ~ */ \"./src/index.ts\");\n/* harmony import */ var _assets_images_micro_gerproc_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ~/assets/images/micro-gerproc.svg */ \"./src/assets/images/micro-gerproc.svg\");\n/* harmony import */ var _assets_images_micro_insight_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ~/assets/images/micro-insight.svg */ \"./src/assets/images/micro-insight.svg\");\n/* harmony import */ var _assets_images_micro_download_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ~/assets/images/micro-download.svg */ \"./src/assets/images/micro-download.svg\");\n/* harmony import */ var _util_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ~/util/constants */ \"./src/util/constants.ts\");\n/* harmony import */ var react_countdown__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-countdown */ \"./node_modules/react-countdown/dist/index.es.js\");\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\n\n\n\n\n\nvar HLErrorBoundary = /** @class */ (function (_super) {\n __extends(HLErrorBoundary, _super);\n function HLErrorBoundary(props) {\n var _this = _super.call(this, props) || this;\n _this.pageRefresh = function () {\n window.location.reload(true);\n };\n _this.state = { errorCatch: false };\n return _this;\n }\n HLErrorBoundary.getDerivedStateFromError = function (error) {\n return { errorCatch: true };\n };\n HLErrorBoundary.prototype.getErrorContent = function (serviceDescription) {\n var _this = this;\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { style: { marginTop: '40px', marginBottom: '40px' } },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"h1\", null, \"Erro\"),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", null, \"O componente respons\\u00E1vel \".concat(serviceDescription, \" encontra-se temporariamente inacess\\u00EDvel.\")),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", null, \"Por favor, aguarde alguns minutos e tente novamente.\"),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", null, \"Caso o erro persista, contate o suporte.\"),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_countdown__WEBPACK_IMPORTED_MODULE_7__[\"default\"], { date: Date.now() + 10000, renderer: function (_a) {\n var seconds = _a.seconds, completed = _a.completed;\n if (completed) {\n _this.pageRefresh();\n return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", null, \"Atualizando...\");\n }\n else {\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", null,\n \"Pr\\u00F3xima atualiza\\u00E7\\u00E3o em \",\n seconds,\n \" segundos.\"),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_1__.Button, { type: \"primary\", shape: \"round\", onClick: _this.pageRefresh }, \"Atualizar agora\")));\n }\n } }))));\n };\n HLErrorBoundary.prototype.componentDidCatch = function () {\n this.setState({\n errorCatch: true,\n });\n };\n HLErrorBoundary.prototype.render = function () {\n if (this.state.errorCatch) {\n var size = void 0;\n var content = void 0;\n var icon = void 0;\n switch (this.props.template) {\n case _util_constants__WEBPACK_IMPORTED_MODULE_6__.ERROR_BOUNDARY_TEMPLATES.GERPROC:\n size = _util_constants__WEBPACK_IMPORTED_MODULE_6__.ERROR_SIZES.PAGE;\n content = this.getErrorContent('pelos processos e obrigações');\n icon = react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.HLIcon, { component: _assets_images_micro_gerproc_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"] });\n break;\n case _util_constants__WEBPACK_IMPORTED_MODULE_6__.ERROR_BOUNDARY_TEMPLATES.INSIGHT:\n size = _util_constants__WEBPACK_IMPORTED_MODULE_6__.ERROR_SIZES.PAGE;\n content = this.getErrorContent('pelos relatórios e painéis');\n icon = react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.HLIcon, { component: _assets_images_micro_insight_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"] });\n break;\n case _util_constants__WEBPACK_IMPORTED_MODULE_6__.ERROR_BOUNDARY_TEMPLATES.DOWNLOAD:\n size = _util_constants__WEBPACK_IMPORTED_MODULE_6__.ERROR_SIZES.PAGE;\n content = this.getErrorContent('pelo download e suas páginas');\n icon = react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.HLIcon, { component: _assets_images_micro_download_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"] });\n break;\n default:\n size = this.props.size || _util_constants__WEBPACK_IMPORTED_MODULE_6__.ERROR_SIZES.BIG;\n break;\n }\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Suspense), { fallback: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_1__.Skeleton, null) },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.HLException.Error, { size: size, content: content, icon: icon })));\n }\n return react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Suspense), { fallback: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_1__.Skeleton, null) }, this.props.children);\n };\n return HLErrorBoundary;\n}((react__WEBPACK_IMPORTED_MODULE_0___default().Component)));\nHLErrorBoundary.propTypes = {\n size: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),\n children: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().Component),\n template: prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(Object.entries(_util_constants__WEBPACK_IMPORTED_MODULE_6__.ERROR_BOUNDARY_TEMPLATES)),\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HLErrorBoundary);\n\n\n//# sourceURL=webpack://synchro-helena/./src/HLErrorBoundary/HLErrorBoundary.js?");
|
|
33393
33393
|
|
|
33394
33394
|
/***/ }),
|
|
33395
33395
|
|
package/package.json
CHANGED
package/lib/dark.css.gz
DELETED
|
Binary file
|