@semcore/widget-empty 4.44.0-prerelease.0 → 4.44.0-prerelease.4

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/lib/cjs/WidgetEmpty.js +8 -6
  3. package/lib/cjs/WidgetEmpty.js.map +1 -1
  4. package/lib/cjs/style/widget-empty.shadow.css +2 -2
  5. package/lib/es6/WidgetEmpty.js +8 -6
  6. package/lib/es6/WidgetEmpty.js.map +1 -1
  7. package/lib/es6/style/widget-empty.shadow.css +2 -2
  8. package/lib/esm/Error/index.mjs +32 -29
  9. package/lib/esm/Error/translations/__intergalactic-dynamic-locales.mjs +32 -32
  10. package/lib/esm/Error/translations/de.json.mjs +8 -6
  11. package/lib/esm/Error/translations/en.json.mjs +8 -6
  12. package/lib/esm/Error/translations/es.json.mjs +8 -6
  13. package/lib/esm/Error/translations/fr.json.mjs +8 -6
  14. package/lib/esm/Error/translations/it.json.mjs +8 -6
  15. package/lib/esm/Error/translations/ja.json.mjs +8 -6
  16. package/lib/esm/Error/translations/ko.json.mjs +8 -6
  17. package/lib/esm/Error/translations/nl.json.mjs +8 -6
  18. package/lib/esm/Error/translations/pl.json.mjs +8 -6
  19. package/lib/esm/Error/translations/pt.json.mjs +8 -6
  20. package/lib/esm/Error/translations/ru.json.mjs +8 -6
  21. package/lib/esm/Error/translations/sv.json.mjs +8 -6
  22. package/lib/esm/Error/translations/tr.json.mjs +8 -6
  23. package/lib/esm/Error/translations/vi.json.mjs +8 -6
  24. package/lib/esm/Error/translations/zh.json.mjs +8 -6
  25. package/lib/esm/NoData/index.mjs +32 -29
  26. package/lib/esm/NoData/translations/__intergalactic-dynamic-locales.mjs +32 -32
  27. package/lib/esm/NoData/translations/de.json.mjs +8 -6
  28. package/lib/esm/NoData/translations/en.json.mjs +8 -6
  29. package/lib/esm/NoData/translations/es.json.mjs +8 -6
  30. package/lib/esm/NoData/translations/fr.json.mjs +8 -6
  31. package/lib/esm/NoData/translations/it.json.mjs +8 -6
  32. package/lib/esm/NoData/translations/ja.json.mjs +8 -6
  33. package/lib/esm/NoData/translations/ko.json.mjs +8 -6
  34. package/lib/esm/NoData/translations/nl.json.mjs +8 -6
  35. package/lib/esm/NoData/translations/pl.json.mjs +8 -6
  36. package/lib/esm/NoData/translations/pt.json.mjs +8 -6
  37. package/lib/esm/NoData/translations/ru.json.mjs +8 -6
  38. package/lib/esm/NoData/translations/sv.json.mjs +8 -6
  39. package/lib/esm/NoData/translations/tr.json.mjs +8 -6
  40. package/lib/esm/NoData/translations/vi.json.mjs +8 -6
  41. package/lib/esm/NoData/translations/zh.json.mjs +8 -6
  42. package/lib/esm/WidgetEmpty.mjs +68 -53
  43. package/lib/esm/index.mjs +7 -7
  44. package/lib/esm/style/widget-empty.shadow.css +39 -0
  45. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -2,11 +2,29 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [4.44.0] - 2025-04-04
5
+ ## [4.44.0] - 2026-05-06
6
6
 
7
7
  ### Changed
8
8
 
9
- - Version minor update due to children dependencies update (`@semcore/illustration` [2.43.1 ~> 2.44.0]).
9
+ - Version minor update due to children dependencies update (`@semcore/flex-box` [5.41.4 ~> 5.42.0], `@semcore/illustration` [2.44.2 ~> 2.45.0], `@semcore/utils` [4.48.5 ~> 4.49.0], `@semcore/core` [2.39.4 ~> 2.40.0]).
10
+
11
+ ## [4.43.4] - 2025-05-13
12
+
13
+ ### Changed
14
+
15
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [5.41.3 ~> 5.41.4], `@semcore/illustration` [2.44.1 ~> 2.44.2], `@semcore/utils` [4.48.4 ~> 4.48.5], `@semcore/core` [2.39.3 ~> 2.39.4]).
16
+
17
+ ## [4.43.3] - 2025-05-09
18
+
19
+ ### Changed
20
+
21
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [5.41.2 ~> 5.41.3], `@semcore/illustration` [2.44.0 ~> 2.44.1], `@semcore/utils` [4.48.2 ~> 4.48.4], `@semcore/core` [2.39.2 ~> 2.39.3]).
22
+
23
+ ## [4.43.2] - 2025-04-04
24
+
25
+ ### Changed
26
+
27
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [5.41.1 ~> 5.41.2], `@semcore/illustration` [2.43.1 ~> 2.44.0], `@semcore/utils` [4.48.1 ~> 4.48.2], `@semcore/core` [2.39.1 ~> 2.39.2]).
10
28
 
11
29
  ## [4.43.1] - 2025-03-20
12
30
 
@@ -18,12 +18,14 @@ var _react = _interopRequireDefault(require("react"));
18
18
  var _illustration = require("@semcore/illustration");
19
19
  var _flexBox = require("@semcore/flex-box");
20
20
  var _isNode = _interopRequireDefault(require("@semcore/utils/lib/isNode"));
21
- /*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
22
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_12olr_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_12olr_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_12olr_gg_,.___STitle_12olr_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_12olr_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_12olr_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "12olr_gg_") /*__reshadow_css_end__*/, {
23
- "__SWidgetEmpty": "___SWidgetEmpty_12olr_gg_",
24
- "__SImage": "___SImage_12olr_gg_",
25
- "__STitle": "___STitle_12olr_gg_",
26
- "__SDescription": "___SDescription_12olr_gg_"
21
+ /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
22
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_v8it2_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_v8it2_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___STitle_v8it2_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}@supports (color:color(display-p3 0 0 0)){.___STitle_v8it2_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_v8it2_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SDescription_v8it2_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));max-width:400px}@supports (color:color(display-p3 0 0 0)){.___SDescription_v8it2_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SDescription_v8it2_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___STitle_v8it2_gg_+.___SDescription_v8it2_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_v8it2_gg_+.___SDescription_v8it2_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"v8it2_gg_"),
23
+ /*__reshadow_css_end__*/
24
+ {
25
+ "__SWidgetEmpty": "___SWidgetEmpty_v8it2_gg_",
26
+ "__SImage": "___SImage_v8it2_gg_",
27
+ "__STitle": "___STitle_v8it2_gg_",
28
+ "__SDescription": "___SDescription_v8it2_gg_"
27
29
  });
28
30
  var getIconPath = function getIconPath(name) {
29
31
  return (0, _illustration.getIllustrationPath)(name);
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetEmpty.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_illustration","_flexBox","_isNode","style","_index","sstyled","insert","getIconPath","name","getIllustrationPath","exports","WidgetEmpty","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","Flex","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread2","assignProps","isNode","Component","_defineProperty2","Title","props","_ref2","arguments[0]","_ref5","STitle","Box","Description","_ref3","_ref6","SDescription","_default","createComponent"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex} role='status'>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<S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EAAC0B,MAAM,CAAC,eAACjC,MAAA,YAAAmC,aAAA,CAACiB,YAAY,EAAAD,KAAA,CAAAf,EAAA,qBAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA,MAAAY,KAAA,IAAgB;AACtD,CAAC;AAAC,IAAAG,QAAA,GAEa,IAAAC,gBAAe,EAACzC,WAAW,EAAE;EAC1C6B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC;AAAArC,OAAA,cAAAyC,QAAA"}
1
+ {"version":3,"file":"WidgetEmpty.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_illustration","_flexBox","_isNode","style","_index","sstyled","insert","getIconPath","name","getIllustrationPath","exports","WidgetEmpty","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","Flex","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread2","assignProps","isNode","Component","_defineProperty2","Title","props","_ref2","arguments[0]","_ref5","STitle","Box","Description","_ref3","_ref6","SDescription","_default","createComponent"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex} role='status'>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,OAAA;AAA+C;AAAA,IAAAM,KAAA,+BAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAIxC,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAK,IAAAC,iCAAmB,EAACD,IAAI,CAAC;AAAA;AAACE,OAAA,CAAAH,WAAA,GAAAA,WAAA;AAAA,IAEzDI,WAAW,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,WAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,WAAA;EAAA,SAAAA,YAAA;IAAA,IAAAK,gBAAA,mBAAAL,WAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,IAAAC,aAAA,aAAAR,WAAA;IAAAS,GAAA;IAAAC,KAAA,EAIf,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;QAAAC,KAAA;MACP,IAAMC,YAAY,GAKMC,aAAI;MAJ5B,IAAAC,aAAA,GAAmC,IAAI,CAACJ,OAAO;QAAvCK,QAAQ,GAAAD,aAAA,CAARC,QAAQ;QAAEC,IAAI,GAAAF,aAAA,CAAJE,IAAI;QAAEC,MAAM,GAAAH,aAAA,CAANG,MAAM;MAC9B,IAAMC,MAAM,GAAG,KAAK;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AY,GAE2BJ,YAAG;EADhD,IAAQf,MAAM,GAAKU,KAAK,CAAhBV,MAAM;EACd,OAAAkB,KAAA,GAAO,IAAA5C,aAAO,EAAC0B,MAAM,CAAC,eAACjC,MAAA,YAAAmC,aAAA,CAACiB,YAAY,EAAAD,KAAA,CAAAf,EAAA,qBAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA,MAAAY,KAAA,IAAgB;AACtD,CAAC;AAAC,IAAAG,QAAA,GAEa,IAAAC,gBAAe,EAACzC,WAAW,EAAE;EAC1C6B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC;AAAArC,OAAA,cAAAyC,QAAA"}
@@ -15,7 +15,7 @@ SImage {
15
15
  }
16
16
 
17
17
  STitle {
18
- color: var(--intergalactic-text-secondary, #6c6e79);
18
+ color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
19
19
  font-size: var(--intergalactic-fs-300, 16px);
20
20
  line-height: var(--intergalactic-lh-300, 150%);
21
21
  font-weight: var(--intergalactic-bold, 700);
@@ -26,7 +26,7 @@ SDescription {
26
26
  text-wrap: balance;
27
27
  font-size: var(--intergalactic-fs-200, 14px);
28
28
  line-height: var(--intergalactic-lh-200, 142%);
29
- color: var(--intergalactic-text-secondary, #6c6e79);
29
+ color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
30
30
  max-width: 400px;
31
31
  }
32
32
 
@@ -13,12 +13,14 @@ import createComponent, { Component, sstyled, Root } from '@semcore/core';
13
13
  import { getIllustrationPath } from '@semcore/illustration';
14
14
  import { Box, Flex } from '@semcore/flex-box';
15
15
  import isNode from '@semcore/utils/lib/isNode';
16
- /*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_12olr_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_12olr_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_12olr_gg_,.___STitle_12olr_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_12olr_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_12olr_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "12olr_gg_") /*__reshadow_css_end__*/, {
18
- "__SWidgetEmpty": "___SWidgetEmpty_12olr_gg_",
19
- "__SImage": "___SImage_12olr_gg_",
20
- "__STitle": "___STitle_12olr_gg_",
21
- "__SDescription": "___SDescription_12olr_gg_"
16
+ /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_v8it2_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_v8it2_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___STitle_v8it2_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}@supports (color:color(display-p3 0 0 0)){.___STitle_v8it2_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_v8it2_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SDescription_v8it2_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));max-width:400px}@supports (color:color(display-p3 0 0 0)){.___SDescription_v8it2_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SDescription_v8it2_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___STitle_v8it2_gg_+.___SDescription_v8it2_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_v8it2_gg_+.___SDescription_v8it2_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"v8it2_gg_"),
18
+ /*__reshadow_css_end__*/
19
+ {
20
+ "__SWidgetEmpty": "___SWidgetEmpty_v8it2_gg_",
21
+ "__SImage": "___SImage_v8it2_gg_",
22
+ "__STitle": "___STitle_v8it2_gg_",
23
+ "__SDescription": "___SDescription_v8it2_gg_"
22
24
  });
23
25
  export var getIconPath = function getIconPath(name) {
24
26
  return getIllustrationPath(name);
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetEmpty.js","names":["React","createComponent","Component","sstyled","Root","getIllustrationPath","Box","Flex","isNode","style","_sstyled","insert","getIconPath","name","WidgetEmpty","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref5","STitle","_assignProps2","Description","_ref3","_ref6","SDescription","_assignProps3"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex} role='status'>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,eAAe,IAAIC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,GAAG,EAAEC,IAAI,QAAQ,mBAAmB;AAC7C,OAAOC,MAAM,MAAM,2BAA2B;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI/C,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAKR,mBAAmB,CAACQ,IAAI,CAAC;AAAA;AAAC,IAEzDC,WAAW,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,WAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,WAAA;EAAA,SAAAA,YAAA;IAAAK,eAAA,OAAAL,WAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAAC,YAAA,CAAAR,WAAA;IAAAS,GAAA;IAAAC,KAAA,EAIf,SA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jC,KAAA,CAAAmC,aAAA,CAACU,MAAM,EAAAD,KAAA,CAAAR,EAAA,WAAAC,aAAA,KAAAS,aAAA,KAAAJ,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2B5C,GAAG;EADhD,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAgB,KAAA,GAAO9C,OAAO,CAAC8B,MAAM,CAAC,eAACjC,KAAA,CAAAmC,aAAA,CAACe,YAAY,EAAAD,KAAA,CAAAb,EAAA,iBAAAC,aAAA,KAAAc,aAAA,KAAAH,KAAA,IAAgB;AACtD,CAAC;AAED,eAAe/C,eAAe,CAACa,WAAW,EAAE;EAC1C0B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"WidgetEmpty.js","names":["React","createComponent","Component","sstyled","Root","getIllustrationPath","Box","Flex","isNode","style","_sstyled","insert","getIconPath","name","WidgetEmpty","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref5","STitle","_assignProps2","Description","_ref3","_ref6","SDescription","_assignProps3"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex} role='status'>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,eAAe,IAAIC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,GAAG,EAAEC,IAAI,QAAQ,mBAAmB;AAC7C,OAAOC,MAAM,MAAM,2BAA2B;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI/C,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAKR,mBAAmB,CAACQ,IAAI,CAAC;AAAA;AAAC,IAEzDC,WAAW,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,WAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,WAAA;EAAA,SAAAA,YAAA;IAAAK,eAAA,OAAAL,WAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAAC,YAAA,CAAAR,WAAA;IAAAS,GAAA;IAAAC,KAAA,EAIf,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;QAAAC,KAAA;MACP,IAAMC,YAAY,GAKMtB,IAAI;MAJ5B,IAAAuB,aA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D,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2B5C,GAAG;EADhD,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAgB,KAAA,GAAO9C,OAAO,CAAC8B,MAAM,CAAC,eAACjC,KAAA,CAAAmC,aAAA,CAACe,YAAY,EAAAD,KAAA,CAAAb,EAAA,iBAAAC,aAAA,KAAAc,aAAA,KAAAH,KAAA,IAAgB;AACtD,CAAC;AAED,eAAe/C,eAAe,CAACa,WAAW,EAAE;EAC1C0B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC"}
@@ -15,7 +15,7 @@ SImage {
15
15
  }
16
16
 
17
17
  STitle {
18
- color: var(--intergalactic-text-secondary, #6c6e79);
18
+ color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
19
19
  font-size: var(--intergalactic-fs-300, 16px);
20
20
  line-height: var(--intergalactic-lh-300, 150%);
21
21
  font-weight: var(--intergalactic-bold, 700);
@@ -26,7 +26,7 @@ SDescription {
26
26
  text-wrap: balance;
27
27
  font-size: var(--intergalactic-fs-200, 14px);
28
28
  line-height: var(--intergalactic-lh-200, 142%);
29
- color: var(--intergalactic-text-secondary, #6c6e79);
29
+ color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
30
30
  max-width: 400px;
31
31
  }
32
32
 
@@ -1,36 +1,39 @@
1
- import d from "@babel/runtime/helpers/esm/classCallCheck";
2
- import u from "@babel/runtime/helpers/esm/createClass";
3
- import h from "@babel/runtime/helpers/esm/inherits";
4
- import g from "@babel/runtime/helpers/esm/createSuper";
5
- import i from "@babel/runtime/helpers/esm/defineProperty";
6
- import E, { assignProps as _, Component as C } from "@semcore/core";
7
- import r from "react";
8
- import o, { getIconPath as P } from "../WidgetEmpty.mjs";
9
- import v from "@semcore/utils/lib/enhances/i18nEnhance";
10
- import { localizedMessages as s } from "./translations/__intergalactic-dynamic-locales.mjs";
11
- var t = /* @__PURE__ */ function(m) {
12
- h(e, m);
13
- var p = g(e);
14
- function e() {
15
- return d(this, e), p.apply(this, arguments);
1
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
3
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
4
+ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
6
+ import createComponent, { assignProps, Component } from "@semcore/core";
7
+ import React from "react";
8
+ import WidgetEmpty, { getIconPath } from "../WidgetEmpty.mjs";
9
+ import i18nEnhance from "@semcore/utils/lib/enhances/i18nEnhance";
10
+ import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
11
+ var Error = /* @__PURE__ */ function(_Component) {
12
+ _inherits(Error2, _Component);
13
+ var _super = _createSuper(Error2);
14
+ function Error2() {
15
+ _classCallCheck(this, Error2);
16
+ return _super.apply(this, arguments);
16
17
  }
17
- return u(e, [{
18
+ _createClass(Error2, [{
18
19
  key: "render",
19
- value: function() {
20
- var l = this.asProps, n = this.asProps, c = n.Children, f = n.description, a = n.getI18nText;
21
- return /* @__PURE__ */ r.createElement(o, _({
22
- icon: P("warning")
23
- }, l), /* @__PURE__ */ r.createElement(o.Title, null, a("title")), /* @__PURE__ */ r.createElement(o.Description, null, f || a("description")), /* @__PURE__ */ r.createElement(c, null));
20
+ value: function render() {
21
+ var _ref = this.asProps;
22
+ var _this$asProps = this.asProps, Children = _this$asProps.Children, description = _this$asProps.description, getI18nText = _this$asProps.getI18nText;
23
+ return /* @__PURE__ */ React.createElement(WidgetEmpty, assignProps({
24
+ "icon": getIconPath("warning")
25
+ }, _ref), /* @__PURE__ */ React.createElement(WidgetEmpty.Title, null, getI18nText("title")), /* @__PURE__ */ React.createElement(WidgetEmpty.Description, null, description || getI18nText("description")), /* @__PURE__ */ React.createElement(Children, null));
24
26
  }
25
- }]), e;
26
- }(C);
27
- i(t, "displayName", "WidgetError");
28
- i(t, "defaultProps", {
29
- i18n: s,
27
+ }]);
28
+ return Error2;
29
+ }(Component);
30
+ _defineProperty(Error, "displayName", "WidgetError");
31
+ _defineProperty(Error, "defaultProps", {
32
+ i18n: localizedMessages,
30
33
  locale: "en"
31
34
  });
32
- i(t, "enhance", [v(s)]);
33
- const R = E(t);
35
+ _defineProperty(Error, "enhance", [i18nEnhance(localizedMessages)]);
36
+ const index = createComponent(Error);
34
37
  export {
35
- R as default
38
+ index as default
36
39
  };
@@ -1,35 +1,35 @@
1
- import r from "./de.json.mjs";
2
- import o from "./en.json.mjs";
3
- import m from "./es.json.mjs";
4
- import t from "./fr.json.mjs";
5
- import i from "./it.json.mjs";
6
- import p from "./ja.json.mjs";
7
- import f from "./ko.json.mjs";
8
- import e from "./nl.json.mjs";
9
- import s from "./pt.json.mjs";
10
- import a from "./ru.json.mjs";
11
- import l from "./tr.json.mjs";
12
- import v from "./vi.json.mjs";
13
- import d from "./zh.json.mjs";
14
- import n from "./pl.json.mjs";
15
- import z from "./sv.json.mjs";
16
- var D = {
17
- de: r,
18
- en: o,
19
- es: m,
20
- fr: t,
21
- it: i,
22
- ja: p,
23
- ko: f,
24
- nl: e,
25
- pt: s,
26
- ru: a,
27
- tr: l,
28
- vi: v,
29
- zh: d,
30
- pl: n,
31
- sv: z
1
+ import de from "./de.json.mjs";
2
+ import en from "./en.json.mjs";
3
+ import es from "./es.json.mjs";
4
+ import fr from "./fr.json.mjs";
5
+ import it from "./it.json.mjs";
6
+ import ja from "./ja.json.mjs";
7
+ import ko from "./ko.json.mjs";
8
+ import nl from "./nl.json.mjs";
9
+ import pt from "./pt.json.mjs";
10
+ import ru from "./ru.json.mjs";
11
+ import tr from "./tr.json.mjs";
12
+ import vi from "./vi.json.mjs";
13
+ import zh from "./zh.json.mjs";
14
+ import pl from "./pl.json.mjs";
15
+ import sv from "./sv.json.mjs";
16
+ var localizedMessages = {
17
+ de,
18
+ en,
19
+ es,
20
+ fr,
21
+ it,
22
+ ja,
23
+ ko,
24
+ nl,
25
+ pt,
26
+ ru,
27
+ tr,
28
+ vi,
29
+ zh,
30
+ pl,
31
+ sv
32
32
  };
33
33
  export {
34
- D as localizedMessages
34
+ localizedMessages
35
35
  };
@@ -1,9 +1,11 @@
1
- const e = "Es ist ein Fehler aufgetreten", t = "Dieses Problem ist uns bekannt und wir arbeiten an seiner Behebung. Bitte versuchen Sie es später erneut.", n = {
2
- title: e,
3
- description: t
1
+ const title = "Es ist ein Fehler aufgetreten";
2
+ const description = "Dieses Problem ist uns bekannt und wir arbeiten an seiner Behebung. Bitte versuchen Sie es später erneut.";
3
+ const de = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- n as default,
7
- t as description,
8
- e as title
8
+ de as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const e = "Something went wrong", t = "We are aware of the issue and are working to fix it. Please try again later.", i = {
2
- title: e,
3
- description: t
1
+ const title = "Something went wrong";
2
+ const description = "We are aware of the issue and are working to fix it. Please try again later.";
3
+ const en = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- i as default,
7
- t as description,
8
- e as title
8
+ en as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const o = "Algo salió mal", t = "Somos conscientes del problema y estamos trabajando para solucionarlo. Inténtalo de nuevo más tarde.", e = {
2
- title: o,
3
- description: t
1
+ const title = "Algo salió mal";
2
+ const description = "Somos conscientes del problema y estamos trabajando para solucionarlo. Inténtalo de nuevo más tarde.";
3
+ const es = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- e as default,
7
- t as description,
8
- o as title
8
+ es as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const e = "Une erreur est survenue", s = "Nous avons conscience de ce problème et nous nous efforçons de le résoudre. Veuillez réessayer plus tard.", o = {
2
- title: e,
3
- description: s
1
+ const title = "Une erreur est survenue";
2
+ const description = "Nous avons conscience de ce problème et nous nous efforçons de le résoudre. Veuillez réessayer plus tard.";
3
+ const fr = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- o as default,
7
- s as description,
8
- e as title
8
+ fr as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const o = "Si è verificato un errore", i = "Siamo a conoscenza del problema e stiamo lavorando per risolverlo. Riprova più tardi.", e = {
2
- title: o,
3
- description: i
1
+ const title = "Si è verificato un errore";
2
+ const description = "Siamo a conoscenza del problema e stiamo lavorando per risolverlo. Riprova più tardi.";
3
+ const it = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- e as default,
7
- i as description,
8
- o as title
8
+ it as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "エラーが発生しました", e = "心配はありません。私たちは問題を把握し、解決に向けて動いています。あとで再試行してください。", i = {
2
- title: t,
3
- description: e
1
+ const title = "エラーが発生しました";
2
+ const description = "心配はありません。私たちは問題を把握し、解決に向けて動いています。あとで再試行してください。";
3
+ const ja = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- i as default,
7
- e as description,
8
- t as title
8
+ ja as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "오류가 발생했습니다", o = "문제를 파악했으며 해결 중입니다. 나중에 다시 시도해 주세요.", e = {
2
- title: t,
3
- description: o
1
+ const title = "오류가 발생했습니다";
2
+ const description = "문제를 파악했으며 해결 중입니다. 나중에 다시 시도해 주세요.";
3
+ const ko = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- e as default,
7
- o as description,
8
- t as title
8
+ ko as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const e = "Er is iets fout gegaan", t = "We zijn op de hoogte van het probleem en werken aan een oplossing. Probeer het later nog eens.", n = {
2
- title: e,
3
- description: t
1
+ const title = "Er is iets fout gegaan";
2
+ const description = "We zijn op de hoogte van het probleem en werken aan een oplossing. Probeer het later nog eens.";
3
+ const nl = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- n as default,
7
- t as description,
8
- e as title
8
+ nl as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const e = "Coś poszło nie tak", o = "Wiemy o tym problemie i pracujemy nad jego rozwiązaniem. Spróbuj ponownie później.", i = {
2
- title: e,
3
- description: o
1
+ const title = "Coś poszło nie tak";
2
+ const description = "Wiemy o tym problemie i pracujemy nad jego rozwiązaniem. Spróbuj ponownie później.";
3
+ const pl = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- i as default,
7
- o as description,
8
- e as title
8
+ pl as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const e = "Algo deu errado", t = "Estamos cientes do problema e estamos trabalhando para resolvê-lo. Tente novamente mais tarde.", o = {
2
- title: e,
3
- description: t
1
+ const title = "Algo deu errado";
2
+ const description = "Estamos cientes do problema e estamos trabalhando para resolvê-lo. Tente novamente mais tarde.";
3
+ const pt = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- o as default,
7
- t as description,
8
- e as title
8
+ pt as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Произошла ошибка", e = "Мы уже знаем об этой проблеме и в настоящий момент устраняем ее. Повторите попытку позже.", i = {
2
- title: t,
3
- description: e
1
+ const title = "Произошла ошибка";
2
+ const description = "Мы уже знаем об этой проблеме и в настоящий момент устраняем ее. Повторите попытку позже.";
3
+ const ru = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- i as default,
7
- e as description,
8
- t as title
8
+ ru as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Något gick fel", e = "Vi är medvetna om problemet och arbetar på att åtgärda det. Försök igen senare.", o = {
2
- title: t,
3
- description: e
1
+ const title = "Något gick fel";
2
+ const description = "Vi är medvetna om problemet och arbetar på att åtgärda det. Försök igen senare.";
3
+ const sv = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- o as default,
7
- e as description,
8
- t as title
8
+ sv as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Bir şeyler ters gitti", e = "Sorunun farkındayız ve düzeltmek için çalışıyoruz. Lütfen daha sonra tekrar deneyin.", n = {
2
- title: t,
3
- description: e
1
+ const title = "Bir şeyler ters gitti";
2
+ const description = "Sorunun farkındayız ve düzeltmek için çalışıyoruz. Lütfen daha sonra tekrar deneyin.";
3
+ const tr = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- n as default,
7
- e as description,
8
- t as title
8
+ tr as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Đã xảy ra lỗi", i = "Chúng tôi đã biết sự cố và đang nỗ lực khắc phục sự cố. Vui lòng thử lại sau.", c = {
2
- title: t,
3
- description: i
1
+ const title = "Đã xảy ra lỗi";
2
+ const description = "Chúng tôi đã biết sự cố và đang nỗ lực khắc phục sự cố. Vui lòng thử lại sau.";
3
+ const vi = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- c as default,
7
- i as description,
8
- t as title
8
+ vi as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "出错了", e = "我们已发现问题,正在努力解决。请稍后重试。", i = {
2
- title: t,
3
- description: e
1
+ const title = "出错了";
2
+ const description = "我们已发现问题,正在努力解决。请稍后重试。";
3
+ const zh = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- i as default,
7
- e as description,
8
- t as title
8
+ zh as default,
9
+ description,
10
+ title
9
11
  };