ywana-core8 0.0.78 → 0.0.79

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.
@@ -1954,8 +1954,10 @@ var SiteProvider = function SiteProvider(_ref) {
1954
1954
  confirm: function confirm(message) {
1955
1955
  return window.confirm(message);
1956
1956
  },
1957
- notify: function notify(title, message) {
1958
- NotificationManager.info(message, title);
1957
+ notify: function notify(_ref2) {
1958
+ var title = _ref2.title,
1959
+ body = _ref2.body;
1960
+ NotificationManager.info(body, title);
1959
1961
  }
1960
1962
  };
1961
1963
  return /*#__PURE__*/React.createElement(SiteContext.Provider, {
@@ -1966,16 +1968,16 @@ var SiteProvider = function SiteProvider(_ref) {
1966
1968
  * Site
1967
1969
  */
1968
1970
 
1969
- var Site = function Site(_ref2) {
1970
- var icon = _ref2.icon,
1971
- logo = _ref2.logo,
1972
- title = _ref2.title,
1973
- toolbar = _ref2.toolbar,
1974
- children = _ref2.children,
1975
- init = _ref2.init,
1976
- min = _ref2.min,
1977
- lang = _ref2.lang,
1978
- dictionary = _ref2.dictionary;
1971
+ var Site = function Site(_ref3) {
1972
+ var icon = _ref3.icon,
1973
+ logo = _ref3.logo,
1974
+ title = _ref3.title,
1975
+ toolbar = _ref3.toolbar,
1976
+ children = _ref3.children,
1977
+ init = _ref3.init,
1978
+ min = _ref3.min,
1979
+ lang = _ref3.lang,
1980
+ dictionary = _ref3.dictionary;
1979
1981
  return /*#__PURE__*/React.createElement(SiteProvider, {
1980
1982
  siteLang: lang,
1981
1983
  siteDictionary: dictionary
@@ -2016,8 +2018,8 @@ var SiteHeader = function SiteHeader(props) {
2016
2018
  */
2017
2019
 
2018
2020
 
2019
- var SiteToolBar = function SiteToolBar(_ref3) {
2020
- var children = _ref3.children;
2021
+ var SiteToolBar = function SiteToolBar(_ref4) {
2022
+ var children = _ref4.children;
2021
2023
  useContext(SiteContext);
2022
2024
  return /*#__PURE__*/React.createElement("nav", null, children);
2023
2025
  };
@@ -2035,9 +2037,9 @@ var SiteAside = function SiteAside() {
2035
2037
  */
2036
2038
 
2037
2039
 
2038
- var SiteMenu = function SiteMenu(_ref4) {
2039
- var children = _ref4.children,
2040
- min = _ref4.min;
2040
+ var SiteMenu = function SiteMenu(_ref5) {
2041
+ var children = _ref5.children,
2042
+ min = _ref5.min;
2041
2043
  var context = useContext(SiteContext);
2042
2044
  var showNav = context.showNav;
2043
2045
  useEffect(function () {
@@ -2068,10 +2070,10 @@ var SiteMenu = function SiteMenu(_ref4) {
2068
2070
  }, /*#__PURE__*/React.createElement("main", null, Object.keys(sections).map(function (title) {
2069
2071
  return /*#__PURE__*/React.createElement(Fragment, {
2070
2072
  key: title
2071
- }, sections[title].map(function (_ref5) {
2072
- var id = _ref5.id,
2073
- _ref5$icon = _ref5.icon,
2074
- icon = _ref5$icon === void 0 ? 'info' : _ref5$icon;
2073
+ }, sections[title].map(function (_ref6) {
2074
+ var id = _ref6.id,
2075
+ _ref6$icon = _ref6.icon,
2076
+ icon = _ref6$icon === void 0 ? 'info' : _ref6$icon;
2075
2077
  return /*#__PURE__*/React.createElement(Icon, {
2076
2078
  key: id,
2077
2079
  icon: icon,
@@ -2091,9 +2093,9 @@ var SiteMenu = function SiteMenu(_ref4) {
2091
2093
  */
2092
2094
 
2093
2095
 
2094
- var SitePage = function SitePage(_ref6) {
2095
- var children = _ref6.children,
2096
- init = _ref6.init;
2096
+ var SitePage = function SitePage(_ref7) {
2097
+ var children = _ref7.children,
2098
+ init = _ref7.init;
2097
2099
  var context = useContext(SiteContext);
2098
2100
  var page = context.page;
2099
2101
  useEffect(function () {