@semcore/widget-empty 16.0.0-prerelease.2 → 16.0.0-prerelease.20

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 (43) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/lib/cjs/WidgetEmpty.js +4 -2
  3. package/lib/cjs/WidgetEmpty.js.map +1 -1
  4. package/lib/es6/WidgetEmpty.js +4 -2
  5. package/lib/es6/WidgetEmpty.js.map +1 -1
  6. package/lib/esm/Error/index.mjs +32 -29
  7. package/lib/esm/Error/translations/__intergalactic-dynamic-locales.mjs +32 -32
  8. package/lib/esm/Error/translations/de.json.mjs +8 -6
  9. package/lib/esm/Error/translations/en.json.mjs +8 -6
  10. package/lib/esm/Error/translations/es.json.mjs +8 -6
  11. package/lib/esm/Error/translations/fr.json.mjs +8 -6
  12. package/lib/esm/Error/translations/it.json.mjs +8 -6
  13. package/lib/esm/Error/translations/ja.json.mjs +8 -6
  14. package/lib/esm/Error/translations/ko.json.mjs +8 -6
  15. package/lib/esm/Error/translations/nl.json.mjs +8 -6
  16. package/lib/esm/Error/translations/pl.json.mjs +8 -6
  17. package/lib/esm/Error/translations/pt.json.mjs +8 -6
  18. package/lib/esm/Error/translations/ru.json.mjs +8 -6
  19. package/lib/esm/Error/translations/sv.json.mjs +8 -6
  20. package/lib/esm/Error/translations/tr.json.mjs +8 -6
  21. package/lib/esm/Error/translations/vi.json.mjs +8 -6
  22. package/lib/esm/Error/translations/zh.json.mjs +8 -6
  23. package/lib/esm/NoData/index.mjs +32 -29
  24. package/lib/esm/NoData/translations/__intergalactic-dynamic-locales.mjs +32 -32
  25. package/lib/esm/NoData/translations/de.json.mjs +8 -6
  26. package/lib/esm/NoData/translations/en.json.mjs +8 -6
  27. package/lib/esm/NoData/translations/es.json.mjs +8 -6
  28. package/lib/esm/NoData/translations/fr.json.mjs +8 -6
  29. package/lib/esm/NoData/translations/it.json.mjs +8 -6
  30. package/lib/esm/NoData/translations/ja.json.mjs +8 -6
  31. package/lib/esm/NoData/translations/ko.json.mjs +8 -6
  32. package/lib/esm/NoData/translations/nl.json.mjs +8 -6
  33. package/lib/esm/NoData/translations/pl.json.mjs +8 -6
  34. package/lib/esm/NoData/translations/pt.json.mjs +8 -6
  35. package/lib/esm/NoData/translations/ru.json.mjs +8 -6
  36. package/lib/esm/NoData/translations/sv.json.mjs +8 -6
  37. package/lib/esm/NoData/translations/tr.json.mjs +8 -6
  38. package/lib/esm/NoData/translations/vi.json.mjs +8 -6
  39. package/lib/esm/NoData/translations/zh.json.mjs +8 -6
  40. package/lib/esm/WidgetEmpty.mjs +65 -50
  41. package/lib/esm/index.mjs +7 -7
  42. package/lib/esm/style/widget-empty.shadow.css +39 -0
  43. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -2,12 +2,30 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [16.0.0] - 2025-03-26
5
+ ## [16.0.0] - 2025-05-19
6
6
 
7
7
  ### Added
8
8
 
9
9
  - Major version.
10
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]).
28
+
11
29
  ## [4.43.1] - 2025-03-20
12
30
 
13
31
  ### Changed
@@ -16,8 +16,10 @@ var _react = _interopRequireDefault(require("react"));
16
16
  var _illustration = require("@semcore/illustration");
17
17
  var _flexBox = require("@semcore/flex-box");
18
18
  var _isNode = _interopRequireDefault(require("@semcore/core/lib/utils/isNode"));
19
- /*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_rymi7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_rymi7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_rymi7_gg_,.___STitle_rymi7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_rymi7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_rymi7_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_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "rymi7_gg_") /*__reshadow_css_end__*/, {
19
+ /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
20
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_rymi7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_rymi7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_rymi7_gg_,.___STitle_rymi7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_rymi7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_rymi7_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_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"rymi7_gg_"),
21
+ /*__reshadow_css_end__*/
22
+ {
21
23
  "__SWidgetEmpty": "___SWidgetEmpty_rymi7_gg_",
22
24
  "__SImage": "___SImage_rymi7_gg_",
23
25
  "__STitle": "___STitle_rymi7_gg_",
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetEmpty.js","names":["_core","require","_react","_interopRequireDefault","_illustration","_flexBox","_isNode","style","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/core/lib/utils/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,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;AAAoD;AAAA,IAAAM,KAAA,+BAAAP,KAAA,CAAAQ,OAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI7C,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,Q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C,MAAA,YAAAkC,aAAA,CAACY,MAAM,EAAAD,KAAA,CAAAV,EAAA,eAAAC,cAAA,qBAAAtC,KAAA,CAAAuC,WAAA,MAAAM,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2BJ,YAAG;EADhD,IAAQf,MAAM,GAAKU,KAAK,CAAhBV,MAAM;EACd,OAAAkB,KAAA,GAAO,IAAA5C,aAAO,EAAC0B,MAAM,CAAC,eAAChC,MAAA,YAAAkC,aAAA,CAACiB,YAAY,EAAAD,KAAA,CAAAf,EAAA,qBAAAC,cAAA,qBAAAtC,KAAA,CAAAuC,WAAA,MAAAY,KAAA,IAAgB;AACtD,CAAC;AAAC,IAAAG,QAAA,GAEa,IAAAC,qBAAe,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","require","_react","_interopRequireDefault","_illustration","_flexBox","_isNode","style","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/core/lib/utils/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,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;AAAoD;AAAA,IAAAM,KAAA,+BAAAP,KAAA,CAAAQ,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI7C,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,WA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AhBV,MAAM;EACd,OAAAa,KAAA,GAAO,IAAAvC,aAAO,EAAC0B,MAAM,CAAC,eAAChC,MAAA,YAAAkC,aAAA,CAACY,MAAM,EAAAD,KAAA,CAAAV,EAAA,eAAAC,cAAA,qBAAAtC,KAAA,CAAAuC,WAAA,MAAAM,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2BJ,YAAG;EADhD,IAAQf,MAAM,GAAKU,KAAK,CAAhBV,MAAM;EACd,OAAAkB,KAAA,GAAO,IAAA5C,aAAO,EAAC0B,MAAM,CAAC,eAAChC,MAAA,YAAAkC,aAAA,CAACiB,YAAY,EAAAD,KAAA,CAAAf,EAAA,qBAAAC,cAAA,qBAAAtC,KAAA,CAAAuC,WAAA,MAAAY,KAAA,IAAgB;AACtD,CAAC;AAAC,IAAAG,QAAA,GAEa,IAAAC,qBAAe,EAACzC,WAAW,EAAE;EAC1C6B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC;AAAArC,OAAA,cAAAyC,QAAA"}
@@ -13,8 +13,10 @@ 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/core/lib/utils/isNode';
16
- /*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_rymi7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_rymi7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_rymi7_gg_,.___STitle_rymi7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_rymi7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_rymi7_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_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "rymi7_gg_") /*__reshadow_css_end__*/, {
16
+ /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_rymi7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_rymi7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_rymi7_gg_,.___STitle_rymi7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_rymi7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_rymi7_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_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"rymi7_gg_"),
18
+ /*__reshadow_css_end__*/
19
+ {
18
20
  "__SWidgetEmpty": "___SWidgetEmpty_rymi7_gg_",
19
21
  "__SImage": "___SImage_rymi7_gg_",
20
22
  "__STitle": "___STitle_rymi7_gg_",
@@ -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/core/lib/utils/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,SAASC,eAAe,EAAEC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,GAAG,EAAEC,I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,IAAI;QAAA,OAAM;MAAE,GAAG,GAAGA,IAAI,CAE/D,eACDhC,KAAA,CAAAmC,aAAA,CAACJ,QAAQ,EAAAH,KAAA,CAAAQ,EAAA,iBAAG,CACC;IAEnB;EAAC;EAAA,OAAAtB,WAAA;AAAA,EAnBuBZ,SAAS;AAAAqC,eAAA,CAA7BzB,WAAW,iBACM,aAAa;AAAAyB,eAAA,CAD9BzB,WAAW,WAEAL,KAAK;AAoBtB,IAAM+B,KAAK,GAAG,SAARA,KAAKA,CAAIC,KAAK,EAAK;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EACvB,IAAMC,MAAM,GAE2BvC,GAAG;EAD1C,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAW,KAAA,GAAOzC,OAAO,CAAC8B,MAAM,CAAC,eAACjC,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/core/lib/utils/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,SAASC,eAAe,EAAEC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,GAAG,EAAEC,IAAI,QAAQ,mBAAmB;AAC7C,OAAOC,MAAM,MAAM,gCAAgC;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA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,EAAA,iBAAG,CACC;IAEnB;EAAC;EAAA,OAAAtB,WAAA;AAAA,EAnBuBZ,SAAS;AAAAqC,eAAA,CAA7BzB,WAAW,iBACM,aAAa;AAAAyB,eAAA,CAD9BzB,WAAW,WAEAL,KAAK;AAoBtB,IAAM+B,KAAK,GAAG,SAARA,KAAKA,CAAIC,KAAK,EAAK;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EACvB,IAAMC,MAAM,GAE2BvC,GAAG;EAD1C,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAW,KAAA,GAAOzC,OAAO,CAAC8B,MAAM,CAAC,eAACjC,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,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 { createComponent as 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/core/lib/utils/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/core/lib/utils/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
  };
@@ -1,37 +1,40 @@
1
- import u from "@babel/runtime/helpers/esm/classCallCheck";
2
- import h from "@babel/runtime/helpers/esm/createClass";
3
- import g from "@babel/runtime/helpers/esm/inherits";
4
- import y from "@babel/runtime/helpers/esm/createSuper";
5
- import i from "@babel/runtime/helpers/esm/defineProperty";
6
- import { createComponent as _, assignProps as C, Component as P } from "@semcore/core";
7
- import r from "react";
8
- import n, { getIconPath as E } from "../WidgetEmpty.mjs";
9
- import v from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
- import { localizedMessages as p } from "./translations/__intergalactic-dynamic-locales.mjs";
11
- var o = /* @__PURE__ */ function(s) {
12
- g(e, s);
13
- var m = y(e);
14
- function e() {
15
- return u(this, e), m.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/core/lib/utils/enhances/i18nEnhance";
10
+ import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
11
+ var NoData = /* @__PURE__ */ function(_Component) {
12
+ _inherits(NoData2, _Component);
13
+ var _super = _createSuper(NoData2);
14
+ function NoData2() {
15
+ _classCallCheck(this, NoData2);
16
+ return _super.apply(this, arguments);
16
17
  }
17
- return h(e, [{
18
+ _createClass(NoData2, [{
18
19
  key: "render",
19
- value: function() {
20
- var l = this.asProps, t = this.asProps, c = t.Children, f = t.type, d = t.description, a = t.getI18nText;
21
- return /* @__PURE__ */ r.createElement(n, C({
22
- icon: E(f)
23
- }, l), /* @__PURE__ */ r.createElement(n.Title, null, a("title")), /* @__PURE__ */ r.createElement(n.Description, null, d || 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, type = _this$asProps.type, description = _this$asProps.description, getI18nText = _this$asProps.getI18nText;
23
+ return /* @__PURE__ */ React.createElement(WidgetEmpty, assignProps({
24
+ "icon": getIconPath(type)
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
- }(P);
27
- i(o, "displayName", "WidgetNoData");
28
- i(o, "enhance", [v(p)]);
29
- i(o, "defaultProps", {
30
- i18n: p,
27
+ }]);
28
+ return NoData2;
29
+ }(Component);
30
+ _defineProperty(NoData, "displayName", "WidgetNoData");
31
+ _defineProperty(NoData, "enhance", [i18nEnhance(localizedMessages)]);
32
+ _defineProperty(NoData, "defaultProps", {
33
+ i18n: localizedMessages,
31
34
  locale: "en",
32
35
  type: "other-data"
33
36
  });
34
- const $ = _(o);
37
+ const index = createComponent(NoData);
35
38
  export {
36
- $ as default
39
+ index as default
37
40
  };
@@ -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 = "Nichts gefunden", t = "Ändern Sie Ihre Filter.", i = {
2
- title: e,
3
- description: t
1
+ const title = "Nichts gefunden";
2
+ const description = "Ändern Sie Ihre Filter.";
3
+ const de = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- i 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 t = "Nothing found", n = "Try changing your filters.", i = {
2
- title: t,
3
- description: n
1
+ const title = "Nothing found";
2
+ const description = "Try changing your filters.";
3
+ const en = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- i as default,
7
- n as description,
8
- t as title
8
+ en as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Ningún resultado", s = "Prueba a cambiar los filtros.", e = {
2
- title: t,
3
- description: s
1
+ const title = "Ningún resultado";
2
+ const description = "Prueba a cambiar los filtros.";
3
+ const es = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- e as default,
7
- s as description,
8
- t as title
8
+ es as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Rien n’a été trouvé", e = "Essayez de changer vos filtres.", s = {
2
- title: t,
3
- description: e
1
+ const title = "Rien n’a été trouvé";
2
+ const description = "Essayez de changer vos filtres.";
3
+ const fr = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- s as default,
7
- e as description,
8
- t as title
8
+ fr as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Nessun risultato trovato", i = "Prova a modificare i filtri.", o = {
2
- title: t,
3
- description: i
1
+ const title = "Nessun risultato trovato";
2
+ const description = "Prova a modificare i filtri.";
3
+ const it = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- o as default,
7
- i as description,
8
- t 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 = "Niets gevonden", t = "Probeer het nog eens met andere filters.", n = {
2
- title: e,
3
- description: t
1
+ const title = "Niets gevonden";
2
+ const description = "Probeer het nog eens met andere filters.";
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 i = "Niczego nie znaleziono", t = "Spróbuj zmienić filtry.", e = {
2
- title: i,
3
- description: t
1
+ const title = "Niczego nie znaleziono";
2
+ const description = "Spróbuj zmienić filtry.";
3
+ const pl = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- e as default,
7
- t as description,
8
- i as title
8
+ pl as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Nada encontrado", e = "Tente alterar seus filtros.", o = {
2
- title: t,
3
- description: e
1
+ const title = "Nada encontrado";
2
+ const description = "Tente alterar seus filtros.";
3
+ const pt = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- o as default,
7
- e as description,
8
- t 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 = "Inget hittades", e = "Prova att ändra dina filter.", i = {
2
- title: t,
3
- description: e
1
+ const title = "Inget hittades";
2
+ const description = "Prova att ändra dina filter.";
3
+ const sv = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- i 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 i = "Hiçbir şey bulunamadı", t = "Filtrelerinizi değiştirmeyi deneyin.", e = {
2
- title: i,
3
- description: t
1
+ const title = "Hiçbir şey bulunamadı";
2
+ const description = "Filtrelerinizi değiştirmeyi deneyin.";
3
+ const tr = {
4
+ title,
5
+ description
4
6
  };
5
7
  export {
6
- e as default,
7
- t as description,
8
- i as title
8
+ tr as default,
9
+ description,
10
+ title
9
11
  };
@@ -1,9 +1,11 @@
1
- const t = "Không tìm thấy gì", i = "Thử thay đổi bộ lọc của bạn.", c = {
2
- title: t,
3
- description: i
1
+ const title = "Không tìm thấy gì";
2
+ const description = "Thử thay đổi bộ lọc của bạn.";
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
  };
@@ -1,63 +1,78 @@
1
- import m from "@babel/runtime/helpers/esm/objectSpread2";
2
- import h from "@babel/runtime/helpers/esm/classCallCheck";
3
- import u from "@babel/runtime/helpers/esm/createClass";
4
- import x from "@babel/runtime/helpers/esm/inherits";
5
- import E from "@babel/runtime/helpers/esm/createSuper";
6
- import p from "@babel/runtime/helpers/esm/defineProperty";
7
- import { createComponent as D, sstyled as c, assignProps as s, Component as T } from "@semcore/core";
8
- import _ from "react";
9
- import { getIllustrationPath as W } from "@semcore/illustration";
10
- import { Flex as C, Box as y } from "@semcore/flex-box";
11
- import I from "@semcore/core/lib/utils/isNode";
12
- var P = (
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
4
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
5
+ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
6
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
7
+ import { createComponent, sstyled, assignProps, Component } from "@semcore/core";
8
+ import React from "react";
9
+ import { getIllustrationPath } from "@semcore/illustration";
10
+ import { Flex, Box } from "@semcore/flex-box";
11
+ import isNode from "@semcore/core/lib/utils/isNode";
12
+ /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
13
+ var style = (
13
14
  /*__reshadow_css_start__*/
14
- (c.insert(
15
+ (sstyled.insert(
15
16
  /*__inner_css_start__*/
16
17
  ".___SWidgetEmpty_rymi7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_rymi7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_rymi7_gg_,.___STitle_rymi7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_rymi7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_rymi7_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_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}",
18
+ /*__inner_css_end__*/
17
19
  "rymi7_gg_"
18
- ), {
19
- __SWidgetEmpty: "___SWidgetEmpty_rymi7_gg_",
20
- __SImage: "___SImage_rymi7_gg_",
21
- __STitle: "___STitle_rymi7_gg_",
22
- __SDescription: "___SDescription_rymi7_gg_"
20
+ ), /*__reshadow_css_end__*/
21
+ {
22
+ "__SWidgetEmpty": "___SWidgetEmpty_rymi7_gg_",
23
+ "__SImage": "___SImage_rymi7_gg_",
24
+ "__STitle": "___STitle_rymi7_gg_",
25
+ "__SDescription": "___SDescription_rymi7_gg_"
23
26
  })
24
- ), H = function(r) {
25
- return W(r);
26
- }, l = /* @__PURE__ */ function(a) {
27
- x(t, a);
28
- var r = E(t);
29
- function t() {
30
- return h(this, t), r.apply(this, arguments);
27
+ );
28
+ var getIconPath = function getIconPath2(name) {
29
+ return getIllustrationPath(name);
30
+ };
31
+ var WidgetEmpty = /* @__PURE__ */ function(_Component) {
32
+ _inherits(WidgetEmpty2, _Component);
33
+ var _super = _createSuper(WidgetEmpty2);
34
+ function WidgetEmpty2() {
35
+ _classCallCheck(this, WidgetEmpty2);
36
+ return _super.apply(this, arguments);
31
37
  }
32
- return u(t, [{
38
+ _createClass(WidgetEmpty2, [{
33
39
  key: "render",
34
- value: function() {
35
- var n = this.asProps, e, f = C, o = this.asProps, d = o.Children, g = o.icon, v = o.styles, S = "div";
36
- return e = c(v), /* @__PURE__ */ _.createElement(f, e.cn("SWidgetEmpty", m({}, s({
37
- role: "status"
38
- }, n))), I(g) && /* @__PURE__ */ _.createElement(S, e.cn("SImage", {
40
+ value: function render() {
41
+ var _ref = this.asProps, _ref4;
42
+ var SWidgetEmpty = Flex;
43
+ var _this$asProps = this.asProps, Children = _this$asProps.Children, icon = _this$asProps.icon, styles = _this$asProps.styles;
44
+ var SImage = "div";
45
+ return _ref4 = sstyled(styles), /* @__PURE__ */ React.createElement(SWidgetEmpty, _ref4.cn("SWidgetEmpty", _objectSpread({}, assignProps({
46
+ "role": "status"
47
+ }, _ref))), isNode(icon) && /* @__PURE__ */ React.createElement(SImage, _ref4.cn("SImage", {
39
48
  "aria-hidden": "true"
40
- }), typeof g == "string" ? /* @__PURE__ */ _.createElement("img", e.cn("img", {
41
- src: g,
42
- alt: ""
43
- })) : g), /* @__PURE__ */ _.createElement(d, e.cn("Children", {})));
49
+ }), typeof icon === "string" ? /* @__PURE__ */ React.createElement("img", _ref4.cn("img", {
50
+ "src": icon,
51
+ "alt": ""
52
+ })) : icon), /* @__PURE__ */ React.createElement(Children, _ref4.cn("Children", {})));
44
53
  }
45
- }]), t;
46
- }(T);
47
- p(l, "displayName", "WidgetEmpty");
48
- p(l, "style", P);
49
- var b = function(r) {
50
- var t = arguments[0], i, n = y, e = r.styles;
51
- return i = c(e), /* @__PURE__ */ _.createElement(n, i.cn("STitle", m({}, s({}, t))));
52
- }, w = function(r) {
53
- var t = arguments[0], i, n = y, e = r.styles;
54
- return i = c(e), /* @__PURE__ */ _.createElement(n, i.cn("SDescription", m({}, s({}, t))));
54
+ }]);
55
+ return WidgetEmpty2;
56
+ }(Component);
57
+ _defineProperty(WidgetEmpty, "displayName", "WidgetEmpty");
58
+ _defineProperty(WidgetEmpty, "style", style);
59
+ var Title = function Title2(props) {
60
+ var _ref2 = arguments[0], _ref5;
61
+ var STitle = Box;
62
+ var styles = props.styles;
63
+ return _ref5 = sstyled(styles), /* @__PURE__ */ React.createElement(STitle, _ref5.cn("STitle", _objectSpread({}, assignProps({}, _ref2))));
64
+ };
65
+ var Description = function Description2(props) {
66
+ var _ref3 = arguments[0], _ref6;
67
+ var SDescription = Box;
68
+ var styles = props.styles;
69
+ return _ref6 = sstyled(styles), /* @__PURE__ */ React.createElement(SDescription, _ref6.cn("SDescription", _objectSpread({}, assignProps({}, _ref3))));
55
70
  };
56
- const J = D(l, {
57
- Title: b,
58
- Description: w
71
+ const WidgetEmpty$1 = createComponent(WidgetEmpty, {
72
+ Title,
73
+ Description
59
74
  });
60
75
  export {
61
- J as default,
62
- H as getIconPath
76
+ WidgetEmpty$1 as default,
77
+ getIconPath
63
78
  };
package/lib/esm/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { default as t, getIconPath as a } from "./WidgetEmpty.mjs";
2
- import { default as f } from "./NoData/index.mjs";
3
- import { default as l } from "./Error/index.mjs";
1
+ import { default as default2, getIconPath } from "./WidgetEmpty.mjs";
2
+ import { default as default3 } from "./NoData/index.mjs";
3
+ import { default as default4 } from "./Error/index.mjs";
4
4
  export {
5
- l as Error,
6
- f as NoData,
7
- t as default,
8
- a as getIconPath
5
+ default4 as Error,
6
+ default3 as NoData,
7
+ default2 as default,
8
+ getIconPath
9
9
  };
@@ -0,0 +1,39 @@
1
+ SWidgetEmpty {
2
+ flex-direction: column;
3
+ justify-content: center;
4
+ align-items: center;
5
+ margin-bottom: var(--intergalactic-spacing-4x, 16px);
6
+ }
7
+
8
+ SImage {
9
+ display: flex;
10
+ align-items: flex-end;
11
+ justify-content: center;
12
+ margin-bottom: var(--intergalactic-spacing-3x, 12px);
13
+ width: 80px;
14
+ height: 80px;
15
+ }
16
+
17
+ STitle {
18
+ color: var(--intergalactic-text-secondary, #6c6e79);
19
+ font-size: var(--intergalactic-fs-300, 16px);
20
+ line-height: var(--intergalactic-lh-300, 150%);
21
+ font-weight: var(--intergalactic-bold, 700);
22
+ }
23
+
24
+ SDescription {
25
+ text-align: center;
26
+ text-wrap: balance;
27
+ font-size: var(--intergalactic-fs-200, 14px);
28
+ line-height: var(--intergalactic-lh-200, 142%);
29
+ color: var(--intergalactic-text-secondary, #6c6e79);
30
+ max-width: 400px;
31
+ }
32
+
33
+ STitle+SDescription {
34
+ margin-top: var(--intergalactic-spacing-1x, 4px);
35
+ }
36
+
37
+ SDescription+SDescription {
38
+ margin-top: var(--intergalactic-spacing-2x, 8px);
39
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/widget-empty",
3
3
  "description": "Semrush WidgetEmpty Component",
4
- "version": "16.0.0-prerelease.2",
4
+ "version": "16.0.0-prerelease.20",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,11 +14,11 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/flex-box": "16.0.0-prerelease.2",
18
- "@semcore/illustration": "16.0.0-prerelease.2"
17
+ "@semcore/flex-box": "16.0.0-prerelease.20",
18
+ "@semcore/illustration": "16.0.0-prerelease.20"
19
19
  },
20
20
  "peerDependencies": {
21
- "@semcore/base-components": "^16.0.0-prerelease.2"
21
+ "@semcore/base-components": "^16.0.0-prerelease.20"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",