revdev-components 0.57.0 → 0.59.0

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.
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import { HeaderProps } from "src/interfaces";
3
- export declare const Header1: React.FC<HeaderProps>;
3
+ export declare const ContentHeader1: React.FC<HeaderProps>;
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import { HeaderProps } from "src/interfaces";
3
- export declare const Header2: React.FC<HeaderProps>;
3
+ export declare const ContentHeader2: React.FC<HeaderProps>;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ export interface FrontFooterProps {
3
+ children?: React.ReactNode;
4
+ className?: string;
5
+ privacyHref: string;
6
+ termsHref: string;
7
+ infoMail: string;
8
+ text: {
9
+ privacy: string;
10
+ terms: string;
11
+ copyright: string;
12
+ };
13
+ }
14
+ export declare const FrontFooter: React.FC<FrontFooterProps>;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { FrontFooterProps } from "src/frontFooter";
3
+ import { FrontHeaderProps } from "src/frontHeader";
4
+ export interface FrontLayoutProps {
5
+ header: FrontHeaderProps;
6
+ footer: FrontFooterProps;
7
+ children?: React.ReactNode;
8
+ }
9
+ export declare const FrontLayout: React.FC<FrontLayoutProps>;
@@ -1,2 +1,2 @@
1
- export declare const RegularIconNameList: ("add" | "add-box" | "add-circle" | "add-circle-outline" | "arrow-back" | "arrow-back-ios" | "arrow-drop-down" | "arrow-drop-up" | "arrow-forward" | "arrow-forward-ios" | "arrow-left" | "arrow-right" | "autorenew" | "backspace" | "book" | "bookmark" | "bookmark-outline" | "brightness" | "brightness-outline" | "calendar" | "cards" | "check-circle" | "check-circle-outline" | "circle-notifications" | "collections-bookmark" | "contact-support" | "cross" | "cube-letter" | "cube-outline" | "date-range" | "delete" | "delete-forever" | "delete-outline" | "edit" | "enter" | "equalizer" | "expand-less" | "expand-more" | "external-link" | "favorite" | "favorite-outline" | "file-upload" | "flag" | "flag-outline" | "flip" | "folder" | "globe" | "group" | "group-add" | "help" | "help-live" | "help-outline" | "highlight-remove" | "key" | "keyboard" | "keyboard-arrow-down" | "keyboard-arrow-left" | "keyboard-arrow-right" | "keyboard-arrow-up" | "keyboard-voice" | "known" | "known-outline" | "language" | "letter-match" | "library-books" | "lightbulb" | "lightbulb-outline" | "list" | "lock" | "lock-open-outline" | "lock-outline" | "logout" | "loop" | "mail" | "mail-outline" | "match-up" | "menu" | "menu-book" | "more-horizontal" | "more-vertical" | "multiple-choice" | "person" | "person-add" | "person-outline" | "pie-chart" | "pie-chart-outlined" | "play-arrow" | "play-circle-filled" | "play-circle-outline" | "playlist-add" | "playlist-add-check" | "power-off" | "price-tag" | "rate-down" | "rate-down-outline" | "rate-up" | "rate-up-outline" | "refresh" | "remove" | "remove-circle" | "remove-circle-outline" | "replay-circle-filled" | "search" | "sentiment-dissatisfied" | "sentiment-satisfied" | "settings" | "share" | "snowflake" | "sort" | "space" | "spelling" | "star-half" | "star-outline" | "star" | "sun" | "table" | "thumb-down" | "thumb-down-outline" | "thumb-up" | "thumb-up-outline" | "time" | "translate" | "visibility" | "volume-off" | "volume-up" | "word" | "image" | "magic-wand" | "microphone-off" | "microphone" | "moon" | "music" | "learn" | "audio" | "tag" | "unknown" | "unknown-outline" | "discover")[];
1
+ export declare const RegularIconNameList: ("search" | "add" | "add-box" | "add-circle" | "add-circle-outline" | "arrow-back" | "arrow-back-ios" | "arrow-drop-down" | "arrow-drop-up" | "arrow-forward" | "arrow-forward-ios" | "arrow-left" | "arrow-right" | "autorenew" | "backspace" | "book" | "bookmark" | "bookmark-outline" | "brightness" | "brightness-outline" | "calendar" | "cards" | "check-circle" | "check-circle-outline" | "circle-notifications" | "collections-bookmark" | "contact-support" | "cross" | "cube-letter" | "cube-outline" | "date-range" | "delete" | "delete-forever" | "delete-outline" | "edit" | "enter" | "equalizer" | "expand-less" | "expand-more" | "external-link" | "favorite" | "favorite-outline" | "file-upload" | "flag" | "flag-outline" | "flip" | "folder" | "globe" | "group" | "group-add" | "help" | "help-live" | "help-outline" | "highlight-remove" | "key" | "keyboard" | "keyboard-arrow-down" | "keyboard-arrow-left" | "keyboard-arrow-right" | "keyboard-arrow-up" | "keyboard-voice" | "known" | "known-outline" | "language" | "letter-match" | "library-books" | "lightbulb" | "lightbulb-outline" | "list" | "lock" | "lock-open-outline" | "lock-outline" | "logout" | "loop" | "mail" | "mail-outline" | "match-up" | "menu" | "menu-book" | "more-horizontal" | "more-vertical" | "multiple-choice" | "person" | "person-add" | "person-outline" | "pie-chart" | "pie-chart-outlined" | "play-arrow" | "play-circle-filled" | "play-circle-outline" | "playlist-add" | "playlist-add-check" | "power-off" | "price-tag" | "rate-down" | "rate-down-outline" | "rate-up" | "rate-up-outline" | "refresh" | "remove" | "remove-circle" | "remove-circle-outline" | "replay-circle-filled" | "sentiment-dissatisfied" | "sentiment-satisfied" | "settings" | "share" | "snowflake" | "sort" | "space" | "spelling" | "star-half" | "star-outline" | "star" | "sun" | "table" | "thumb-down" | "thumb-down-outline" | "thumb-up" | "thumb-up-outline" | "time" | "translate" | "visibility" | "volume-off" | "volume-up" | "word" | "image" | "magic-wand" | "microphone-off" | "microphone" | "moon" | "music" | "learn" | "audio" | "tag" | "unknown" | "unknown-outline" | "discover")[];
2
2
  export type RegularIconName = (typeof RegularIconNameList)[number];
package/build/index.d.ts CHANGED
@@ -1,4 +1,10 @@
1
1
  import "./style/index.scss";
2
+ export * from "./contentHeader1";
3
+ export * from "./contentHeader2";
4
+ export * from "./paragraph";
5
+ export * from "./pageTitle";
6
+ export * from "./centralDivision";
7
+ export * from "./rowDivision";
2
8
  export * from "./icon";
3
9
  export * from "./interfaces";
4
10
  export * from "./form";
@@ -10,8 +16,9 @@ export * from "./flatButton";
10
16
  export * from "./link";
11
17
  export * from "./backSidebar";
12
18
  export * from "./backLayout";
13
- export * from "./content";
14
19
  export * from "./frontHeader";
20
+ export * from "./frontFooter";
21
+ export * from "./frontLayout";
15
22
  export * from "./iconDivision";
16
23
  export * from "./tooltip";
17
24
  export * from "./popoverSelect";
package/build/index.js CHANGED
@@ -7,24 +7,66 @@ var router = require('next/router');
7
7
  var Link = require('next/link');
8
8
 
9
9
  function _interopNamespaceDefault(e) {
10
- var n = Object.create(null);
11
- if (e) {
12
- Object.keys(e).forEach(function (k) {
13
- if (k !== 'default') {
14
- var d = Object.getOwnPropertyDescriptor(e, k);
15
- Object.defineProperty(n, k, d.get ? d : {
16
- enumerable: true,
17
- get: function () { return e[k]; }
18
- });
19
- }
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
20
18
  });
21
- }
22
- n.default = e;
23
- return Object.freeze(n);
19
+ }
20
+ });
21
+ }
22
+ n.default = e;
23
+ return Object.freeze(n);
24
24
  }
25
25
 
26
26
  var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
27
27
 
28
+ var s$t = {"root":"index-module_root__oU85z"};
29
+
30
+ var ContentHeader1 = function (_a) {
31
+ var children = _a.children, className = _a.className;
32
+ return React.createElement("h1", { className: classNames(s$t.root, className) }, children);
33
+ };
34
+
35
+ var s$s = {"root":"index-module_root__51YHj"};
36
+
37
+ var ContentHeader2 = function (_a) {
38
+ var children = _a.children, className = _a.className;
39
+ return React.createElement("h1", { className: classNames(s$s.root, className) }, children);
40
+ };
41
+
42
+ var s$r = {"root":"index-module_root__Fq-q1"};
43
+
44
+ var Paragraph = function (_a) {
45
+ var children = _a.children;
46
+ return React.createElement("p", { className: s$r.root }, children);
47
+ };
48
+
49
+ var s$q = {"root":"index-module_root__VIFF-"};
50
+
51
+ var PageTitle = function (_a) {
52
+ var children = _a.children, className = _a.className;
53
+ return React.createElement("h1", { className: classNames(s$q.root, className) }, children);
54
+ };
55
+
56
+ var s$p = {"root":"index-module_root__p0I0n"};
57
+
58
+ var CentralDivision = function (_a) {
59
+ var children = _a.children, className = _a.className;
60
+ return React.createElement("div", { className: classNames(s$p.root, className) }, children);
61
+ };
62
+
63
+ var s$o = {"root":"index-module_root__yiKO0"};
64
+
65
+ var RowDivision = function (_a) {
66
+ var children = _a.children, className = _a.className;
67
+ return React.createElement("div", { className: classNames(s$o.root, className) }, children);
68
+ };
69
+
28
70
  var _path$2l;
29
71
  function _extends$2n() { return _extends$2n = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2n.apply(null, arguments); }
30
72
  var SvgAdd = function SvgAdd(props) {
@@ -1521,13 +1563,13 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
1521
1563
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1522
1564
  };
1523
1565
 
1524
- var s$r = {"root":"index-module_root__-LDR1"};
1566
+ var s$n = {"root":"index-module_root__-LDR1"};
1525
1567
 
1526
1568
  // https://www.svgrepo.com/
1527
1569
  function useBasicIcon(_a, icons) {
1528
1570
  var className = _a.className, name = _a.name, props = __rest(_a, ["className", "name"]);
1529
1571
  var svgAttrs = React.useMemo(function () {
1530
- return __assign({ className: classNames(s$r.root, className), fill: "currentColor" }, props);
1572
+ return __assign({ className: classNames(s$n.root, className), fill: "currentColor" }, props);
1531
1573
  }, [className, props]);
1532
1574
  var Icon = icons[name];
1533
1575
  return Icon ? React.createElement(Icon, __assign({}, svgAttrs)) : undefined;
@@ -4614,7 +4656,7 @@ var SocialIcon = function (props) {
4614
4656
  return useBasicIcon(props, icons);
4615
4657
  };
4616
4658
 
4617
- var s$q = {"root":"index-module_root__gtTIa","action":"index-module_action__pOSde"};
4659
+ var s$m = {"root":"index-module_root__gtTIa","action":"index-module_action__pOSde"};
4618
4660
 
4619
4661
  function useForm(form) {
4620
4662
  var newForm = antd.Form.useForm()[0];
@@ -4634,10 +4676,10 @@ function AppForm(_a) {
4634
4676
  React.useEffect(function () {
4635
4677
  onValid === null || onValid === void 0 ? void 0 : onValid(valid);
4636
4678
  }, [onValid, valid]);
4637
- return (React.createElement(antd.Form, { form: form, onFinish: onFinish, className: classNames(s$q.root, className), layout: "vertical", onValuesChange: onValuesChange, onFieldsChange: onFieldsChange, initialValues: initialValues }, typeof children === "function" ? children({ valid: valid }) : children));
4679
+ return (React.createElement(antd.Form, { form: form, onFinish: onFinish, className: classNames(s$m.root, className), layout: "vertical", onValuesChange: onValuesChange, onFieldsChange: onFieldsChange, initialValues: initialValues }, typeof children === "function" ? children({ valid: valid }) : children));
4638
4680
  }
4639
4681
 
4640
- var s$p = {"root":"index-module_root__2S1Jp"};
4682
+ var s$l = {"root":"index-module_root__2S1Jp"};
4641
4683
 
4642
4684
  function useLineProps(_a) {
4643
4685
  var lineClassName = _a.lineClassName, name = _a.name, label = _a.label, rules = _a.rules, valuePropName = _a.valuePropName, noStyle = _a.noStyle, hasFeedback = _a.hasFeedback, dependencies = _a.dependencies, rest = __rest(_a, ["lineClassName", "name", "label", "rules", "valuePropName", "noStyle", "hasFeedback", "dependencies"]);
@@ -4651,7 +4693,7 @@ var FormLine = function (_a) {
4651
4693
  }
4652
4694
  return [];
4653
4695
  }, [validateRules]);
4654
- return React.createElement(antd.Form.Item, __assign({ className: classNames(s$p.root, className), rules: rules }, props));
4696
+ return React.createElement(antd.Form.Item, __assign({ className: classNames(s$l.root, className), rules: rules }, props));
4655
4697
  };
4656
4698
 
4657
4699
  var DatePickerField = function (props) {
@@ -4672,12 +4714,12 @@ var InputField = function (props) {
4672
4714
  React.createElement(antd.Input, __assign({}, controlProps))));
4673
4715
  };
4674
4716
 
4675
- var s$o = {"input":"index-module_input__71iJw"};
4717
+ var s$k = {"input":"index-module_input__71iJw"};
4676
4718
 
4677
4719
  var InputNumberField = function (props) {
4678
4720
  var _a = useLineProps(props), lineProps = _a[0], _b = _a[1], className = _b.className, controlProps = __rest(_b, ["className"]);
4679
4721
  return (React.createElement(FormLine, __assign({}, lineProps),
4680
- React.createElement(antd.InputNumber, __assign({ className: classNames(s$o.input, className) }, controlProps))));
4722
+ React.createElement(antd.InputNumber, __assign({ className: classNames(s$k.input, className) }, controlProps))));
4681
4723
  };
4682
4724
 
4683
4725
  var RadioButtonField = function (props) {
@@ -4686,13 +4728,13 @@ var RadioButtonField = function (props) {
4686
4728
  React.createElement(antd.Radio.Group, __assign({ buttonStyle: buttonStyle, optionType: optionType }, controlProps))));
4687
4729
  };
4688
4730
 
4689
- var s$n = {"popup":"index-module_popup__Im5Y-"};
4731
+ var s$j = {"popup":"index-module_popup__Im5Y-"};
4690
4732
 
4691
4733
  var RangePicker = antd.DatePicker.RangePicker;
4692
4734
  var RangePickerField = function (props) {
4693
4735
  var _a = useLineProps(props), lineProps = _a[0], _b = _a[1], oneMonth = _b.oneMonth, controlProps = __rest(_b, ["oneMonth"]);
4694
4736
  return (React.createElement(FormLine, __assign({}, lineProps),
4695
- React.createElement(RangePicker, __assign({}, controlProps, { popupClassName: oneMonth ? s$n.popup : undefined }))));
4737
+ React.createElement(RangePicker, __assign({}, controlProps, { popupClassName: oneMonth ? s$j.popup : undefined }))));
4696
4738
  };
4697
4739
 
4698
4740
  var SelectField = function (props) {
@@ -4714,14 +4756,14 @@ var CheckboxField = function (props) {
4714
4756
  React.createElement(antd.Checkbox, __assign({}, controlProps))));
4715
4757
  };
4716
4758
 
4717
- var s$m = {"root":"index-module_root__3Y1jZ"};
4759
+ var s$i = {"root":"index-module_root__3Y1jZ"};
4718
4760
 
4719
4761
  var SwitchField = function (props) {
4720
4762
  var _a = useLineProps(props), lineProps = _a[0], _b = _a[1], children = _b.children, controlProps = __rest(_b, ["children"]);
4721
4763
  return (React.createElement(FormLine, __assign({}, lineProps, { valuePropName: "checked" }),
4722
- React.createElement("div", { className: s$m.root },
4764
+ React.createElement("div", { className: s$i.root },
4723
4765
  React.createElement(antd.Switch, __assign({}, controlProps)),
4724
- children && React.createElement("div", { className: s$m.content }, children))));
4766
+ children && React.createElement("div", { className: s$i.content }, children))));
4725
4767
  };
4726
4768
 
4727
4769
  // export function useDebounceCallback<T extends (...args: any[]) => any>(delay: number, callback: T, deps: DependencyList = []): DebouncedFunc<T> {
@@ -4778,22 +4820,22 @@ function useSuccessMutation(response, successCallback) {
4778
4820
  }, [response.isSuccess]);
4779
4821
  }
4780
4822
 
4781
- var s$l = {"root":"index-module_root__9GQDU"};
4823
+ var s$h = {"root":"index-module_root__9GQDU"};
4782
4824
 
4783
4825
  var FormButton = function (_a) {
4784
4826
  var className = _a.className, _b = _a.children, children = _b === void 0 ? "Save" : _b, loading = _a.loading;
4785
- return (React.createElement("div", { className: classNames(s$l.root, className) },
4827
+ return (React.createElement("div", { className: classNames(s$h.root, className) },
4786
4828
  React.createElement(antd.Button, { htmlType: "submit", type: "primary", loading: loading }, children)));
4787
4829
  };
4788
4830
 
4789
- var s$k = {"root":"index-module_root__C05Ty"};
4831
+ var s$g = {"root":"index-module_root__C05Ty"};
4790
4832
 
4791
4833
  var FormError = function (_a) {
4792
4834
  var children = _a.children, className = _a.className;
4793
- return children ? React.createElement("div", { className: classNames(s$k.root, className) }, children) : null;
4835
+ return children ? React.createElement("div", { className: classNames(s$g.root, className) }, children) : null;
4794
4836
  };
4795
4837
 
4796
- var s$j = {"root":"index-module_root__C7wx2","content":"index-module_content__RsiJT","close":"index-module_close__lBc6p"};
4838
+ var s$f = {"root":"index-module_root__C7wx2","content":"index-module_content__RsiJT","close":"index-module_close__lBc6p"};
4797
4839
 
4798
4840
  var InfoDialog = function (_a) {
4799
4841
  var children = _a.children, className = _a.className, width = _a.width, hideClose = _a.hideClose, onClose = _a.onClose, _b = _a.open, open = _b === void 0 ? true : _b, contentClassName = _a.contentClassName, _c = _a.maskClosable, maskClosable = _c === void 0 ? false : _c;
@@ -4805,23 +4847,23 @@ var InfoDialog = function (_a) {
4805
4847
  }
4806
4848
  return result;
4807
4849
  }, [width]);
4808
- return (React.createElement(antd.Modal, { open: open, onCancel: onClose, style: style, className: classNames(s$j.root, className), maskClosable: maskClosable, footer: null },
4809
- React.createElement("div", { className: classNames(s$j.content, contentClassName) },
4850
+ return (React.createElement(antd.Modal, { open: open, onCancel: onClose, style: style, className: classNames(s$f.root, className), maskClosable: maskClosable, footer: null },
4851
+ React.createElement("div", { className: classNames(s$f.content, contentClassName) },
4810
4852
  children,
4811
- hideClose ? null : React.createElement(RegularIcon, { name: "cross", className: s$j.close, onClick: onClose }))));
4853
+ hideClose ? null : React.createElement(RegularIcon, { name: "cross", className: s$f.close, onClick: onClose }))));
4812
4854
  };
4813
4855
 
4814
- var s$i = {"root":"index-module_root__BQI-i","header":"index-module_header__OUCQj","title":"index-module_title__HPbDC","close":"index-module_close__-FN6K","content":"index-module_content__BpXha","footer":"index-module_footer__xqKte"};
4856
+ var s$e = {"root":"index-module_root__BQI-i","header":"index-module_header__OUCQj","title":"index-module_title__HPbDC","close":"index-module_close__-FN6K","content":"index-module_content__BpXha","footer":"index-module_footer__xqKte"};
4815
4857
 
4816
4858
  var RegularDialog = function (_a) {
4817
4859
  var titleIcon = _a.titleIcon, titlePrefix = _a.titlePrefix, title = _a.title, children = _a.children, _b = _a.hideFooter, hideFooter = _b === void 0 ? false : _b, className = _a.className, width = _a.width, okText = _a.okText, cancelText = _a.cancelText, footerClassName = _a.footerClassName, contentClassName = _a.contentClassName, okHide = _a.okHide, okDisabled = _a.okDisabled, onOk = _a.onOk, onClose = _a.onClose, _c = _a.open, open = _c === void 0 ? true : _c;
4818
4860
  var close = React.useMemo(function () {
4819
- return React.createElement(RegularIcon, { name: "cross", className: s$i.close, onClick: onClose });
4861
+ return React.createElement(RegularIcon, { name: "cross", className: s$e.close, onClick: onClose });
4820
4862
  }, [onClose]);
4821
4863
  var titleContent = React.useMemo(function () {
4822
4864
  if (typeof title === "string") {
4823
- return (React.createElement("div", { className: s$i.header },
4824
- React.createElement("div", { className: s$i.title },
4865
+ return (React.createElement("div", { className: s$e.header },
4866
+ React.createElement("div", { className: s$e.title },
4825
4867
  titleIcon && React.createElement(RegularIcon, { name: titleIcon }),
4826
4868
  React.createElement("span", null,
4827
4869
  " ",
@@ -4832,7 +4874,7 @@ var RegularDialog = function (_a) {
4832
4874
  return title(close);
4833
4875
  }
4834
4876
  return null;
4835
- }, [s$i, title, titlePrefix, close, titleIcon]);
4877
+ }, [s$e, title, titlePrefix, close, titleIcon]);
4836
4878
  var style = React.useMemo(function () {
4837
4879
  var result = {};
4838
4880
  if (width) {
@@ -4846,15 +4888,15 @@ var RegularDialog = function (_a) {
4846
4888
  onOk();
4847
4889
  }
4848
4890
  }, [onOk]);
4849
- return (React.createElement(antd.Modal, { open: open, onCancel: onClose, style: style, className: classNames(s$i.root, className), maskClosable: false, footer: null },
4891
+ return (React.createElement(antd.Modal, { open: open, onCancel: onClose, style: style, className: classNames(s$e.root, className), maskClosable: false, footer: null },
4850
4892
  titleContent,
4851
- React.createElement("div", { className: classNames(s$i.content, contentClassName) }, children),
4852
- hideFooter ? null : (React.createElement("div", { className: classNames(s$i.footer, footerClassName) },
4893
+ React.createElement("div", { className: classNames(s$e.content, contentClassName) }, children),
4894
+ hideFooter ? null : (React.createElement("div", { className: classNames(s$e.footer, footerClassName) },
4853
4895
  React.createElement(antd.Button, { onClick: onClose }, cancelText || "Cancel"),
4854
4896
  okHide ? null : (React.createElement(antd.Button, { type: "primary", onClick: handleOk, disabled: okDisabled }, okText || "OK"))))));
4855
4897
  };
4856
4898
 
4857
- var s$h = {"root":"index-module_root__qFuRH"};
4899
+ var s$d = {"root":"index-module_root__qFuRH"};
4858
4900
 
4859
4901
  function isRegular(icon) {
4860
4902
  return RegularIconNameList.includes(icon);
@@ -4864,13 +4906,13 @@ function isSocial(icon) {
4864
4906
  }
4865
4907
  var FlatButton = function (_a) {
4866
4908
  var children = _a.children, className = _a.className, icon = _a.icon, onClick = _a.onClick;
4867
- return (React.createElement("div", { className: classNames(s$h.root, className), onClick: onClick },
4909
+ return (React.createElement("div", { className: classNames(s$d.root, className), onClick: onClick },
4868
4910
  isRegular(icon) ? React.createElement(RegularIcon, { name: icon }) : null,
4869
4911
  isSocial(icon) ? React.createElement(SocialIcon, { name: icon }) : null,
4870
4912
  children ? React.createElement("span", null, children) : null));
4871
4913
  };
4872
4914
 
4873
- var s$g = {"root":"index-module_root__r-dVh"};
4915
+ var s$c = {"root":"index-module_root__r-dVh"};
4874
4916
 
4875
4917
  function AppLink(_a) {
4876
4918
  var _b;
@@ -4881,29 +4923,29 @@ function AppLink(_a) {
4881
4923
  href = route.build(params || {});
4882
4924
  }
4883
4925
  }
4884
- return (React.createElement(Link, __assign({ href: href, as: as, shallow: shallow, title: title, className: classNames(s$g.root, className, (_b = {},
4885
- _b[s$g.none__decoration] = noneDecoration,
4886
- _b[s$g.show__underline] = showUnderline,
4926
+ return (React.createElement(Link, __assign({ href: href, as: as, shallow: shallow, title: title, className: classNames(s$c.root, className, (_b = {},
4927
+ _b[s$c.none__decoration] = noneDecoration,
4928
+ _b[s$c.show__underline] = showUnderline,
4887
4929
  _b)), ref: aRef }, rest), children));
4888
4930
  }
4889
4931
 
4890
- var s$f = {"root":"index-module_root__gpEkZ"};
4932
+ var s$b = {"root":"index-module_root__gpEkZ"};
4891
4933
 
4892
4934
  var AppLinkButton = function (_a) {
4893
4935
  var className = _a.className, children = _a.children, rest = __rest(_a, ["className", "children"]);
4894
- return (React.createElement("div", __assign({ className: classNames(s$f.root, className) }, rest), children));
4936
+ return (React.createElement("div", __assign({ className: classNames(s$b.root, className) }, rest), children));
4895
4937
  };
4896
4938
 
4897
- var s$e = {"root":"index-module_root__CQ7Qm","title":"index-module_title__Aud2u","title__active":"index-module_title__active__AueKr","title__label":"index-module_title__label__B3vUU","list":"index-module_list__EAf08","list__open":"index-module_list__open__1-0cD"};
4939
+ var s$a = {"root":"index-module_root__CQ7Qm","title":"index-module_title__Aud2u","title__active":"index-module_title__active__AueKr","title__label":"index-module_title__label__B3vUU","list":"index-module_list__EAf08","list__open":"index-module_list__open__1-0cD"};
4898
4940
 
4899
- var s$d = {"root":"index-module_root__AZ9HE","root__active":"index-module_root__active__UqszT"};
4941
+ var s$9 = {"root":"index-module_root__AZ9HE","root__active":"index-module_root__active__UqszT"};
4900
4942
 
4901
4943
  var BackSidebarSubMenuItem = function (_a) {
4902
4944
  var _b;
4903
4945
  var _c = _a.activePath, activePath = _c === void 0 ? "" : _c, option = _a.option;
4904
4946
  var icon = option.icon, label = option.label, path = option.path;
4905
4947
  var isActive = path.isActive(activePath);
4906
- return (React.createElement(AppLink, { className: classNames(s$d.root, (_b = {}, _b[s$d.root__active] = isActive, _b)), href: path.build() },
4948
+ return (React.createElement(AppLink, { className: classNames(s$9.root, (_b = {}, _b[s$9.root__active] = isActive, _b)), href: path.build() },
4907
4949
  icon && React.createElement(RegularIcon, { name: icon }),
4908
4950
  React.createElement("span", null, label)));
4909
4951
  };
@@ -4931,17 +4973,17 @@ var BackSidebarMenuItem = function (_a) {
4931
4973
  var handleClick = React.useCallback(function () {
4932
4974
  setOpen(!open);
4933
4975
  }, [open]);
4934
- return (React.createElement("div", { className: s$e.root },
4935
- React.createElement("div", { className: classNames(s$e.title, (_b = {}, _b[s$e.title__active] = isActive, _b)), onClick: handleClick },
4976
+ return (React.createElement("div", { className: s$a.root },
4977
+ React.createElement("div", { className: classNames(s$a.title, (_b = {}, _b[s$a.title__active] = isActive, _b)), onClick: handleClick },
4936
4978
  icon && React.createElement(RegularIcon, { name: icon }),
4937
- React.createElement("span", { className: s$e.title__label }, label),
4979
+ React.createElement("span", { className: s$a.title__label }, label),
4938
4980
  React.createElement(RegularIcon, { name: open ? "keyboard-arrow-down" : "keyboard-arrow-right" })),
4939
- React.createElement("div", { className: classNames(s$e.list, (_c = {}, _c[s$e.list__open] = open, _c)) }, options.map(function (x, i) {
4981
+ React.createElement("div", { className: classNames(s$a.list, (_c = {}, _c[s$a.list__open] = open, _c)) }, options.map(function (x, i) {
4940
4982
  return React.createElement(BackSidebarSubMenuItem, { key: i, option: x, activePath: activePath });
4941
4983
  }))));
4942
4984
  };
4943
4985
 
4944
- var s$c = {"root":"index-module_root__yMCtx","list":"index-module_list__Xr6Z5","master":"index-module_master__Eexhz","master__active":"index-module_master__active__j-iWA"};
4986
+ var s$8 = {"root":"index-module_root__yMCtx","list":"index-module_list__Xr6Z5","master":"index-module_master__Eexhz","master__active":"index-module_master__active__j-iWA"};
4945
4987
 
4946
4988
  var BackSidebarShortMenuItem = function (_a) {
4947
4989
  var _b;
@@ -4957,34 +4999,34 @@ var BackSidebarShortMenuItem = function (_a) {
4957
4999
  var handleClick = React.useCallback(function () {
4958
5000
  setOpen(!open);
4959
5001
  }, [open]);
4960
- return (React.createElement("div", { className: s$c.root },
4961
- React.createElement("div", { className: classNames(s$c.master, (_b = {}, _b[s$c.master__active] = isActive, _b)), onClick: handleClick }, icon && React.createElement(RegularIcon, { name: icon })),
4962
- React.createElement("div", { className: classNames(s$c.list) }, options.map(function (x, i) {
5002
+ return (React.createElement("div", { className: s$8.root },
5003
+ React.createElement("div", { className: classNames(s$8.master, (_b = {}, _b[s$8.master__active] = isActive, _b)), onClick: handleClick }, icon && React.createElement(RegularIcon, { name: icon })),
5004
+ React.createElement("div", { className: classNames(s$8.list) }, options.map(function (x, i) {
4963
5005
  return React.createElement(BackSidebarSubMenuItem, { key: i, option: x });
4964
5006
  }))));
4965
5007
  };
4966
5008
 
4967
- var s$b = {"root":"index-module_root__r4Egx"};
5009
+ var s$7 = {"root":"index-module_root__r4Egx"};
4968
5010
 
4969
5011
  // https://www.einfosoft.com/templates/admin/spice/source/edit_booking.html#
4970
5012
  var BackSidebar = function (_a) {
4971
5013
  var className = _a.className, options = _a.options, top = _a.top, shortMode = _a.shortMode, activePath = _a.activePath, defaultPath = _a.defaultPath;
4972
5014
  var path = (activePath || "").replace("/", "") ? activePath : defaultPath;
4973
- return (React.createElement("div", { className: classNames(s$b.root, className) },
4974
- top ? React.createElement("div", { className: classNames(s$b.top) }, top) : null,
4975
- React.createElement("div", { className: s$b.menu }, options.map(function (option, i) {
5015
+ return (React.createElement("div", { className: classNames(s$7.root, className) },
5016
+ top ? React.createElement("div", { className: classNames(s$7.top) }, top) : null,
5017
+ React.createElement("div", { className: s$7.menu }, options.map(function (option, i) {
4976
5018
  return shortMode ? (React.createElement(BackSidebarShortMenuItem, { key: i, option: option, activePath: path })) : (React.createElement(BackSidebarMenuItem, { key: i, option: option, activePath: path }));
4977
5019
  }))));
4978
5020
  };
4979
5021
 
4980
- var s$a = {"root":"index-module_root__SICCv","root__short":"index-module_root__short__XnXWP","header":"index-module_header__00DV1","sidebar":"index-module_sidebar__o2Obb","content":"index-module_content__D0okO","menu":"index-module_menu__48Uz3","menu__icon":"index-module_menu__icon__BFpAs","loading":"index-module_loading__SpWat"};
5022
+ var s$6 = {"root":"index-module_root__SICCv","root__short":"index-module_root__short__XnXWP","header":"index-module_header__00DV1","sidebar":"index-module_sidebar__o2Obb","content":"index-module_content__D0okO","menu":"index-module_menu__48Uz3","menu__icon":"index-module_menu__icon__BFpAs","loading":"index-module_loading__SpWat"};
4981
5023
 
4982
- var s$9 = {"root":"index-module_root__Q-TED","loader":"index-module_loader__qxQNC"};
5024
+ var s$5 = {"root":"index-module_root__Q-TED","loader":"index-module_loader__qxQNC"};
4983
5025
 
4984
5026
  var LoadingPanel = function (_a) {
4985
5027
  var className = _a.className;
4986
- return (React.createElement("div", { className: classNames(s$9.root, className) },
4987
- React.createElement(antd.Spin, { size: "large", className: s$9.loader })));
5028
+ return (React.createElement("div", { className: classNames(s$5.root, className) },
5029
+ React.createElement(antd.Spin, { size: "large", className: s$5.loader })));
4988
5030
  };
4989
5031
 
4990
5032
  var BackLayout = function (_a) {
@@ -4994,63 +5036,21 @@ var BackLayout = function (_a) {
4994
5036
  var handleMenu = React.useCallback(function () {
4995
5037
  setShort(!short);
4996
5038
  }, [short]);
4997
- return loading ? (React.createElement(LoadingPanel, { className: s$a.loading })) : (React.createElement("div", { className: classNames(s$a.root, className, (_b = {}, _b[s$a.root__short] = short, _b)) },
4998
- React.createElement("div", { className: classNames(s$a.header, headerClassName) }, header),
4999
- React.createElement("div", { className: classNames(s$a.sidebar, sidebarClassName) },
5000
- React.createElement("div", { className: s$a.menu },
5001
- React.createElement(RegularIcon, { className: s$a.menu__icon, name: "menu", onClick: handleMenu }),
5002
- !short && React.createElement("div", { className: s$a.menu__title }, sidebarTitle)),
5039
+ return loading ? (React.createElement(LoadingPanel, { className: s$6.loading })) : (React.createElement("div", { className: classNames(s$6.root, className, (_b = {}, _b[s$6.root__short] = short, _b)) },
5040
+ React.createElement("div", { className: classNames(s$6.header, headerClassName) }, header),
5041
+ React.createElement("div", { className: classNames(s$6.sidebar, sidebarClassName) },
5042
+ React.createElement("div", { className: s$6.menu },
5043
+ React.createElement(RegularIcon, { className: s$6.menu__icon, name: "menu", onClick: handleMenu }),
5044
+ !short && React.createElement("div", { className: s$6.menu__title }, sidebarTitle)),
5003
5045
  React.createElement(BackSidebar, __assign({}, sidebarProps, { shortMode: short }))),
5004
- contentLoading ? React.createElement(LoadingPanel, { className: s$a.content }) : React.createElement("div", { className: classNames(s$a.content, contentClassName) }, children)));
5046
+ contentLoading ? React.createElement(LoadingPanel, { className: s$6.content }) : React.createElement("div", { className: classNames(s$6.content, contentClassName) }, children)));
5005
5047
  };
5006
5048
 
5007
- var s$8 = {"root":"index-module_root__-jB4M"};
5049
+ var s$4 = {"root":"index-module_root__Q7VjD","root__shadow":"index-module_root__shadow__OhPad","logo":"index-module_logo__KCA1E","content":"index-module_content__T-JEW","link":"index-module_link__nXsvL","select":"index-module_select__22zW6"};
5008
5050
 
5009
- var Header1 = function (_a) {
5010
- var children = _a.children, className = _a.className;
5011
- return React.createElement("h1", { className: classNames(s$8.root, className) }, children);
5012
- };
5051
+ var s$3 = {"popover":"index-module_popover__lwzdT","item":"index-module_item__pfayG"};
5013
5052
 
5014
- var s$7 = {"root":"index-module_root__4eRbr"};
5015
-
5016
- var Header2 = function (_a) {
5017
- var children = _a.children, className = _a.className;
5018
- return React.createElement("h1", { className: classNames(s$7.root, className) }, children);
5019
- };
5020
-
5021
- var s$6 = {"root":"index-module_root__fJ5t3"};
5022
-
5023
- var Paragraph = function (_a) {
5024
- var children = _a.children;
5025
- return React.createElement("p", { className: s$6.root }, children);
5026
- };
5027
-
5028
- var s$5 = {"root":"index-module_root__USP1u"};
5029
-
5030
- var PageTitle = function (_a) {
5031
- var children = _a.children, className = _a.className;
5032
- return React.createElement("h1", { className: classNames(s$5.root, className) }, children);
5033
- };
5034
-
5035
- var s$4 = {"root":"index-module_root__Iszgj"};
5036
-
5037
- var CentralDivision = function (_a) {
5038
- var children = _a.children, className = _a.className;
5039
- return React.createElement("div", { className: classNames(s$4.root, className) }, children);
5040
- };
5041
-
5042
- var s$3 = {"root":"index-module_root__OPU-p"};
5043
-
5044
- var RowDivision = function (_a) {
5045
- var children = _a.children, className = _a.className;
5046
- return React.createElement("div", { className: classNames(s$3.root, className) }, children);
5047
- };
5048
-
5049
- var s$2 = {"root":"index-module_root__Q7VjD","root__shadow":"index-module_root__shadow__OhPad","logo":"index-module_logo__KCA1E","content":"index-module_content__T-JEW","link":"index-module_link__nXsvL","select":"index-module_select__22zW6"};
5050
-
5051
- var s$1 = {"popover":"index-module_popover__lwzdT","item":"index-module_item__pfayG"};
5052
-
5053
- var s = {"root":"index-module_root__UzFV2","column":"index-module_column__XEWzG","children":"index-module_children__y7-7m","flex":"index-module_flex__83M30","button":"index-module_button__U8D6K"};
5053
+ var s$2 = {"root":"index-module_root__UzFV2","column":"index-module_column__XEWzG","children":"index-module_children__y7-7m","flex":"index-module_flex__83M30","button":"index-module_button__U8D6K"};
5054
5054
 
5055
5055
  var AppTooltip = function (_a) {
5056
5056
  var _b = _a.placement, placement = _b === void 0 ? "top" : _b, children = _a.children, props = __rest(_a, ["placement", "children"]);
@@ -5061,14 +5061,14 @@ var AppTooltip = function (_a) {
5061
5061
  var IconBoxContent = function (_a) {
5062
5062
  var _b;
5063
5063
  var flexRoot = _a.flexRoot, icon = _a.icon, rightIcon = _a.rightIcon, children = _a.children, className = _a.className, contentClassName = _a.contentClassName, onClick = _a.onClick, _c = _a.direction, direction = _c === void 0 ? "row" : _c, elementRev = _a.elementRev, style = _a.style;
5064
- return (React.createElement("div", { ref: elementRev, style: style, className: classNames(s.root, (_b = {},
5065
- _b[s.flex] = flexRoot,
5066
- _b[s.button] = !!onClick,
5067
- _b[s.column] = direction === "column",
5064
+ return (React.createElement("div", { ref: elementRev, style: style, className: classNames(s$2.root, (_b = {},
5065
+ _b[s$2.flex] = flexRoot,
5066
+ _b[s$2.button] = !!onClick,
5067
+ _b[s$2.column] = direction === "column",
5068
5068
  _b), className), onClick: onClick },
5069
- icon ? React.createElement(RegularIcon, { className: s.icon, name: icon }) : null,
5070
- children ? React.createElement("div", { className: classNames(contentClassName, s.root__children) }, children) : null,
5071
- rightIcon ? React.createElement(RegularIcon, { className: s.icon, name: rightIcon }) : null));
5069
+ icon ? React.createElement(RegularIcon, { className: s$2.icon, name: icon }) : null,
5070
+ children ? React.createElement("div", { className: classNames(contentClassName, s$2.root__children) }, children) : null,
5071
+ rightIcon ? React.createElement(RegularIcon, { className: s$2.icon, name: rightIcon }) : null));
5072
5072
  };
5073
5073
  var IconDivision = function (props) {
5074
5074
  var tooltip = props.tooltip, tooltipPlacement = props.tooltipPlacement, hoverOpenDelay = props.hoverOpenDelay;
@@ -5092,9 +5092,9 @@ var PopoverSelect = function (_a) {
5092
5092
  var selectedOption = React.useMemo(function () {
5093
5093
  return options.find(function (x) { return x.value === value; });
5094
5094
  }, [options, value]);
5095
- var popoverContent = React.useMemo(function () { return (React.createElement("div", { className: s$1.popover }, options
5095
+ var popoverContent = React.useMemo(function () { return (React.createElement("div", { className: s$3.popover }, options
5096
5096
  .filter(function (x) { return x.value !== value; })
5097
- .map(function (x) { return (React.createElement(React.Fragment, { key: x.value }, renderOption ? (renderOption(x, { className: s$1.item, onClick: function () { return handleChange(x.value); } })) : (React.createElement("div", { className: s$1.item, onClick: function () { return handleChange(x.value); } }, x.label)))); }))); }, [options, value, handleChange, renderOption]);
5097
+ .map(function (x) { return (React.createElement(React.Fragment, { key: x.value }, renderOption ? (renderOption(x, { className: s$3.item, onClick: function () { return handleChange(x.value); } })) : (React.createElement("div", { className: s$3.item, onClick: function () { return handleChange(x.value); } }, x.label)))); }))); }, [options, value, handleChange, renderOption]);
5098
5098
  return (React.createElement(antd.Popover, { content: popoverContent, open: open, onOpenChange: closePopover, placement: "bottomRight" },
5099
5099
  React.createElement(IconDivision, { icon: icon, onClick: handleOpen, rightIcon: open ? "expand-less" : "expand-more" }, showValue ? value : selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.label)));
5100
5100
  };
@@ -5135,19 +5135,46 @@ var FrontHeader = function (_a) {
5135
5135
  var className = _b.className;
5136
5136
  return value === "logout" ? (React.createElement("div", { className: className, onClick: user === null || user === void 0 ? void 0 : user.onLogOut }, label)) : (React.createElement(AppLink, { href: value, className: className }, label));
5137
5137
  }, [user]);
5138
- return (React.createElement("div", { className: classNames(s$2.root, (_b = {},
5139
- _b[s$2.root__shadow] = shadow,
5138
+ return (React.createElement("div", { className: classNames(s$4.root, (_b = {},
5139
+ _b[s$4.root__shadow] = shadow,
5140
5140
  _b), className) },
5141
- React.createElement(AppLink, { className: s$2.logo, href: logoHref }, "AlfaSchool"),
5142
- React.createElement("div", { className: s$2.content }, children),
5143
- !user && (React.createElement("div", { className: s$2.link },
5141
+ React.createElement(AppLink, { className: s$4.logo, href: logoHref }, "AlfaSchool"),
5142
+ React.createElement("div", { className: s$4.content }, children),
5143
+ !user && (React.createElement("div", { className: s$4.link },
5144
5144
  React.createElement(AppLink, { href: loginHref }, text.login || "Login"),
5145
5145
  React.createElement(AppLink, { href: registerHref }, text.register || "Register"))),
5146
- React.createElement("div", { className: s$2.select },
5146
+ React.createElement("div", { className: s$4.select },
5147
5147
  user && React.createElement(PopoverSelect, { showValue: true, value: user.username, options: settingsOptions, renderOption: handleSettingRender }),
5148
5148
  React.createElement(PopoverSelect, __assign({ icon: "language" }, language)))));
5149
5149
  };
5150
5150
 
5151
+ var s$1 = {"root":"index-module_root__pGOaD","inner":"index-module_inner__yBaNK","email":"index-module_email__c66u4"};
5152
+
5153
+ var FrontFooter = function (_a) {
5154
+ var children = _a.children, className = _a.className, privacyHref = _a.privacyHref, termsHref = _a.termsHref, infoMail = _a.infoMail, text = _a.text;
5155
+ return (React.createElement("footer", { className: classNames(s$1.root, className) },
5156
+ children ? React.createElement("div", null, children) : null,
5157
+ React.createElement("div", { className: s$1.inner },
5158
+ React.createElement(AppLink, { className: s$1.email, href: "mailto:".concat(infoMail) }, infoMail),
5159
+ React.createElement("div", null,
5160
+ React.createElement(AppLink, { href: privacyHref }, text.privacy),
5161
+ React.createElement(AppLink, { href: termsHref }, text.terms),
5162
+ React.createElement("div", { className: s$1.text }, text.copyright)))));
5163
+ };
5164
+
5165
+ var s = {"root":"index-module_root__Fwjge","header":"index-module_header__DhAx3","header__inner":"index-module_header__inner__gYRYO","content":"index-module_content__Afu6q","content__footer":"index-module_content__footer__-ACCs","footer":"index-module_footer__3hSOQ"};
5166
+
5167
+ var FrontLayout = function (_a) {
5168
+ var children = _a.children, header = _a.header, footer = _a.footer;
5169
+ return (React.createElement("div", { className: s.root },
5170
+ React.createElement("div", { className: s.header },
5171
+ React.createElement(FrontHeader, __assign({}, header, { className: classNames(header.className, s.header__inner) }))),
5172
+ React.createElement("div", { className: classNames(s.content) },
5173
+ React.createElement("div", null, children)),
5174
+ React.createElement("div", { className: s.footer },
5175
+ React.createElement(FrontFooter, __assign({}, footer)))));
5176
+ };
5177
+
5151
5178
  exports.AppForm = AppForm;
5152
5179
  exports.AppLink = AppLink;
5153
5180
  exports.AppLinkButton = AppLinkButton;
@@ -5156,6 +5183,8 @@ exports.BackLayout = BackLayout;
5156
5183
  exports.BackSidebar = BackSidebar;
5157
5184
  exports.CentralDivision = CentralDivision;
5158
5185
  exports.CheckboxField = CheckboxField;
5186
+ exports.ContentHeader1 = ContentHeader1;
5187
+ exports.ContentHeader2 = ContentHeader2;
5159
5188
  exports.DatePickerField = DatePickerField;
5160
5189
  exports.FlagIcon = FlagIcon;
5161
5190
  exports.FlagIconNameList = FlagIconNameList;
@@ -5163,9 +5192,9 @@ exports.FlatButton = FlatButton;
5163
5192
  exports.FormButton = FormButton;
5164
5193
  exports.FormError = FormError;
5165
5194
  exports.FormLine = FormLine;
5195
+ exports.FrontFooter = FrontFooter;
5166
5196
  exports.FrontHeader = FrontHeader;
5167
- exports.Header1 = Header1;
5168
- exports.Header2 = Header2;
5197
+ exports.FrontLayout = FrontLayout;
5169
5198
  exports.HiddenField = HiddenField;
5170
5199
  exports.IconDivision = IconDivision;
5171
5200
  exports.InfoDialog = InfoDialog;
package/build/styles.css CHANGED
@@ -20,6 +20,7 @@
20
20
  --headerBorderColor: #cecece88;
21
21
  --centralDivisionMaxWidth: 1000px;
22
22
  --frontHeaderHeight: 50px;
23
+ --frontFooterHeight: 30px;
23
24
  --backSidebarBackgroundColor: rgb(58 63 81);
24
25
  --backSidebarColor: #aaadb7;
25
26
  --backSidebarActiveColor: white;
@@ -38,6 +39,44 @@ body {
38
39
  color: var(--color);
39
40
  font-family: var(--fontFamily);
40
41
  }
42
+ .index-module_root__oU85z {
43
+ margin: 1em 0 0.5em;
44
+ padding-bottom: 0.3em;
45
+ font-size: 2em;
46
+ font-weight: 600;
47
+ font-size: 2.1em;
48
+ border-bottom: 1px solid var(--headerBorderColor);
49
+ }
50
+ .index-module_root__51YHj {
51
+ margin: 1em 0 0.5em;
52
+ padding-bottom: 0.3em;
53
+ font-size: 2em;
54
+ font-weight: 600;
55
+ border-bottom: 1px solid var(--headerBorderColor);
56
+ font-size: 1.5em;
57
+ }
58
+ .index-module_root__Fq-q1 {
59
+ margin: 1.2em 0;
60
+ }
61
+ .index-module_root__VIFF- {
62
+ margin: 1em 0 0.5em;
63
+ padding-bottom: 0.3em;
64
+ font-size: 2em;
65
+ font-weight: 600;
66
+ font-size: 2.1em;
67
+ }
68
+ .index-module_root__p0I0n {
69
+ max-width: var(--centralDivisionMaxWidth);
70
+ margin-right: auto;
71
+ margin-left: auto;
72
+ }
73
+ .index-module_root__yiKO0 {
74
+ display: flex;
75
+ gap: 1em;
76
+ }
77
+ .index-module_root__yiKO0 > * {
78
+ flex: 1;
79
+ }
41
80
  .index-module_root__-LDR1 {
42
81
  display: inline-block;
43
82
  height: 1em;
@@ -330,44 +369,6 @@ body {
330
369
  .index-module_loader__qxQNC .ant-spin-dot-item {
331
370
  background-color: var(--backLayoutSpinColor);
332
371
  }
333
- .index-module_root__-jB4M {
334
- margin: 1em 0 0.5em;
335
- padding-bottom: 0.3em;
336
- font-size: 2em;
337
- font-weight: 600;
338
- font-size: 2.1em;
339
- border-bottom: 1px solid var(--headerBorderColor);
340
- }
341
- .index-module_root__4eRbr {
342
- margin: 1em 0 0.5em;
343
- padding-bottom: 0.3em;
344
- font-size: 2em;
345
- font-weight: 600;
346
- border-bottom: 1px solid var(--headerBorderColor);
347
- font-size: 1.5em;
348
- }
349
- .index-module_root__fJ5t3 {
350
- margin: 1.2em 0;
351
- }
352
- .index-module_root__USP1u {
353
- margin: 1em 0 0.5em;
354
- padding-bottom: 0.3em;
355
- font-size: 2em;
356
- font-weight: 600;
357
- font-size: 2.1em;
358
- }
359
- .index-module_root__Iszgj {
360
- max-width: var(--centralDivisionMaxWidth);
361
- margin-right: auto;
362
- margin-left: auto;
363
- }
364
- .index-module_root__OPU-p {
365
- display: flex;
366
- gap: 1em;
367
- }
368
- .index-module_root__OPU-p > * {
369
- flex: 1;
370
- }
371
372
  .index-module_root__Q7VjD {
372
373
  display: flex;
373
374
  align-items: center;
@@ -447,4 +448,78 @@ body {
447
448
 
448
449
  .index-module_button__U8D6K {
449
450
  cursor: pointer;
451
+ }
452
+ .index-module_root__pGOaD {
453
+ display: flex;
454
+ flex-direction: column;
455
+ height: var(--frontFooterHeight);
456
+ }
457
+
458
+ .index-module_inner__yBaNK {
459
+ min-height: var(--frontFooterHeight);
460
+ padding: 0 var(--spacing);
461
+ font-size: 10px;
462
+ border-top: 1px solid var(--borderColor);
463
+ display: flex;
464
+ flex-direction: row;
465
+ justify-content: space-between;
466
+ align-items: center;
467
+ gap: var(--spacing);
468
+ }
469
+ @media all and (max-width: 800px) {
470
+ .index-module_inner__yBaNK {
471
+ padding: 10px var(--spacing);
472
+ flex-direction: column;
473
+ justify-content: flex-start;
474
+ gap: 10px;
475
+ }
476
+ }
477
+ .index-module_inner__yBaNK > * {
478
+ display: flex;
479
+ flex-flow: row wrap;
480
+ align-items: center;
481
+ gap: 10px;
482
+ }
483
+ .index-module_inner__yBaNK > *:last-child {
484
+ justify-content: flex-end;
485
+ }
486
+ @media all and (max-width: 800px) {
487
+ .index-module_inner__yBaNK > *:last-child {
488
+ justify-content: flex-start;
489
+ }
490
+ }
491
+
492
+ .index-module_email__c66u4 {
493
+ font-size: 14px;
494
+ }
495
+ .index-module_root__Fwjge {
496
+ display: block;
497
+ padding-top: var(--frontHeaderHeight);
498
+ }
499
+
500
+ .index-module_header__DhAx3 {
501
+ position: fixed;
502
+ top: 0;
503
+ left: 0;
504
+ right: 0;
505
+ height: var(--frontHeaderHeight);
506
+ display: flex;
507
+ z-index: 100;
508
+ }
509
+ .index-module_header__inner__gYRYO {
510
+ width: 100%;
511
+ }
512
+
513
+ .index-module_content__Afu6q {
514
+ display: flex;
515
+ min-height: calc(100vh - var(--frontHeaderHeight) - var(--frontFooterHeight) - 1px) !important;
516
+ flex-direction: column;
517
+ }
518
+ .index-module_content__footer__-ACCs {
519
+ padding: 20px 0;
520
+ border-top: 1px solid var(--borderColor);
521
+ }
522
+
523
+ .index-module_footer__3hSOQ {
524
+ max-height: var(--frontFooterHeight);
450
525
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.57.0",
3
+ "version": "0.59.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {
@@ -1,6 +0,0 @@
1
- export * from "./header1";
2
- export * from "./header2";
3
- export * from "./paragraph";
4
- export * from "./pageTitle";
5
- export * from "./centralDivision";
6
- export * from "./rowDivision";