@zextras/carbonio-shell-ui 0.4.6 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.4.8](https://github.com/zextras/carbonio-shell-ui/compare/v0.4.7...v0.4.8) (2022-04-12)
6
+
7
+ ### [0.4.7](https://github.com/zextras/carbonio-shell-ui/compare/v0.4.6...v0.4.7) (2022-04-12)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * tag worker sync, accordion folder hook syntax ([e462b9b](https://github.com/zextras/carbonio-shell-ui/commit/e462b9bb60f7c688b2031a198b8ecfdfb7bfa392))
13
+
5
14
  ### [0.4.6](https://github.com/zextras/carbonio-shell-ui/compare/v0.4.5...v0.4.6) (2022-04-12)
6
15
 
7
16
 
package/dist/PKGBUILD CHANGED
@@ -10,7 +10,7 @@ targets=(
10
10
  "ubuntu"
11
11
  )
12
12
  pkgname="carbonio-shell-ui"
13
- pkgver="0.4.6"
13
+ pkgver="0.4.8"
14
14
  pkgrel="1"
15
15
  pkgdesc="The Zextras Carbonio web client"
16
16
  pkgdesclong=(
@@ -35,10 +35,10 @@ preinst() {
35
35
 
36
36
  package() {
37
37
  cd "${srcdir}"
38
- mkdir -p "${pkgdir}/opt/zextras/web/iris/${pkgname}/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58"
39
- cp -a ../dist/* "${pkgdir}/opt/zextras/web/iris/${pkgname}/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58" || true
40
- chown root:root -R "${pkgdir}/opt/zextras/web/iris/${pkgname}/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58"
41
- chmod 755 -R "${pkgdir}/opt/zextras/web/iris/${pkgname}/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58"
38
+ mkdir -p "${pkgdir}/opt/zextras/web/iris/${pkgname}/955232102991473ce4d1c264f00bf20e34e57069"
39
+ cp -a ../dist/* "${pkgdir}/opt/zextras/web/iris/${pkgname}/955232102991473ce4d1c264f00bf20e34e57069" || true
40
+ chown root:root -R "${pkgdir}/opt/zextras/web/iris/${pkgname}/955232102991473ce4d1c264f00bf20e34e57069"
41
+ chmod 755 -R "${pkgdir}/opt/zextras/web/iris/${pkgname}/955232102991473ce4d1c264f00bf20e34e57069"
42
42
  }
43
43
 
44
44
  postinst() {
@@ -46,7 +46,7 @@ postinst() {
46
46
  mkdir -p "/opt/zextras/web/iris/${pkgname}/current"
47
47
 
48
48
  # not every package has a index.html
49
- cp "/opt/zextras/web/iris/${pkgname}/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58/index.html" "/opt/zextras/web/iris/${pkgname}/current/index.html" 2>/dev/null || true
49
+ cp "/opt/zextras/web/iris/${pkgname}/955232102991473ce4d1c264f00bf20e34e57069/index.html" "/opt/zextras/web/iris/${pkgname}/current/index.html" 2>/dev/null || true
50
50
 
51
51
  # re-generate the component list, for every component
52
52
  # depth should be 3 since the path should be iris/NAME/COMMIT/component.json
package/dist/commit CHANGED
@@ -1 +1 @@
1
- 75d8734c461f4e4a54dd4e8eaa999c0c751fbf58
1
+ 955232102991473ce4d1c264f00bf20e34e57069
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "carbonio-shell-ui",
3
- "js_entrypoint": "/static/iris/carbonio-shell-ui/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58/zapp-shell.bundle.js",
3
+ "js_entrypoint": "/static/iris/carbonio-shell-ui/955232102991473ce4d1c264f00bf20e34e57069/zapp-shell.bundle.js",
4
4
  "description": "The Zextras Carbonio web client",
5
- "version": "0.4.6",
6
- "commit": "75d8734c461f4e4a54dd4e8eaa999c0c751fbf58",
5
+ "version": "0.4.8",
6
+ "commit": "955232102991473ce4d1c264f00bf20e34e57069",
7
7
  "priority": -1,
8
8
  "type": "shell",
9
9
  "attrKey": "",
package/dist/index.html CHANGED
@@ -8,8 +8,8 @@ SPDX-License-Identifier: AGPL-3.0-only
8
8
  <html lang="">
9
9
  <head>
10
10
  <title>Carbonio Client</title>
11
- <link rel="icon" type="image/svg+xml" href="/static/iris/carbonio-shell-ui/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58/favicon.svg">
12
- <link rel="alternate icon" href="/static/iris/carbonio-shell-ui/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58/favicon.png">
11
+ <link rel="icon" type="image/svg+xml" href="/static/iris/carbonio-shell-ui/955232102991473ce4d1c264f00bf20e34e57069/favicon.svg">
12
+ <link rel="alternate icon" href="/static/iris/carbonio-shell-ui/955232102991473ce4d1c264f00bf20e34e57069/favicon.png">
13
13
  <meta charset="utf-8">
14
14
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
15
15
  <meta name="viewport" content="minimum-scale=1.0, initial-scale=1.0, width=device-width, shrink-to-fit=no">
@@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only
17
17
  <meta http-equiv="Cache-Control" content="no-cache" />
18
18
  <meta http-equiv="Pragma" content="no-cache" />
19
19
  <meta http-equiv="Expires" content="0" />
20
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto"><script defer src="/static/iris/carbonio-shell-ui/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58/zapp-shell.bundle.js"></script><link href="/static/iris/carbonio-shell-ui/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58/style.e7c1b109.css" rel="stylesheet"></head>
20
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto"><script defer src="/static/iris/carbonio-shell-ui/955232102991473ce4d1c264f00bf20e34e57069/zapp-shell.bundle.js"></script><link href="/static/iris/carbonio-shell-ui/955232102991473ce4d1c264f00bf20e34e57069/style.b11e330b.css" rel="stylesheet"></head>
21
21
  <body>
22
22
  <script>
23
23
  window.__SHELL_ENV__ = "carbonio"
@@ -1923,7 +1923,7 @@ var I18nFactory = /*#__PURE__*/function () {
1923
1923
  }
1924
1924
 
1925
1925
  var newI18n = i18next__WEBPACK_IMPORTED_MODULE_7__["default"].createInstance();
1926
- var baseI18nPath = appPkgDescription.name === _constants__WEBPACK_IMPORTED_MODULE_11__.SHELL_APP_ID ? "/static/iris/carbonio-shell-ui/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58/" : (0,lodash__WEBPACK_IMPORTED_MODULE_9__.dropRight)(appPkgDescription.js_entrypoint.split('/')).join('/');
1926
+ var baseI18nPath = appPkgDescription.name === _constants__WEBPACK_IMPORTED_MODULE_11__.SHELL_APP_ID ? "/static/iris/carbonio-shell-ui/955232102991473ce4d1c264f00bf20e34e57069/" : (0,lodash__WEBPACK_IMPORTED_MODULE_9__.dropRight)(appPkgDescription.js_entrypoint.split('/')).join('/');
1927
1927
  newI18n // load translation using http -> see /public/locales (i.e. https://github.com/i18next/react-i18next/tree/master/example/react/public/locales)
1928
1928
  // learn more: https://github.com/i18next/i18next-http-backend
1929
1929
  .use(i18next_http_backend__WEBPACK_IMPORTED_MODULE_8__["default"]) // detect user language
@@ -12770,7 +12770,7 @@ var useFoldersByView = function useFoldersByView(view) {
12770
12770
  }, [roots, view]);
12771
12771
  return filtered;
12772
12772
  };
12773
- var useFoldersAccordionByView = function useFoldersAccordionByView(view, customComponent) {
12773
+ var useFoldersAccordionByView = function useFoldersAccordionByView(view, CustomComponent) {
12774
12774
  var roots = useRoots();
12775
12775
  var mapped = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
12776
12776
  return roots ? (0,_utils__WEBPACK_IMPORTED_MODULE_4__.mapNodes)(Object.values(roots), {
@@ -12778,7 +12778,7 @@ var useFoldersAccordionByView = function useFoldersAccordionByView(view, customC
12778
12778
  return {
12779
12779
  id: f.id,
12780
12780
  label: f.name,
12781
- customComponent: customComponent,
12781
+ CustomComponent: CustomComponent,
12782
12782
  items: [],
12783
12783
  folder: f
12784
12784
  };
@@ -12787,7 +12787,7 @@ var useFoldersAccordionByView = function useFoldersAccordionByView(view, customC
12787
12787
  recursionKey: 'items',
12788
12788
  sortFunction: _utils__WEBPACK_IMPORTED_MODULE_4__.sortFolders
12789
12789
  }) : [];
12790
- }, [customComponent, roots, view]);
12790
+ }, [CustomComponent, roots, view]);
12791
12791
  return mapped;
12792
12792
  };
12793
12793
 
@@ -13773,11 +13773,11 @@ var handleSync = function handleSync(_ref) {
13773
13773
  seq = _useNetworkStore$getS.seq;
13774
13774
 
13775
13775
  if (refresh) {
13776
- var _refresh$tags$tag, _refresh$tags, _refresh$folder;
13776
+ var _refresh$folder;
13777
13777
 
13778
13778
  _workers__WEBPACK_IMPORTED_MODULE_3__.tagWorker.postMessage({
13779
13779
  op: 'refresh',
13780
- tags: (_refresh$tags$tag = (_refresh$tags = refresh.tags) === null || _refresh$tags === void 0 ? void 0 : _refresh$tags.tag) !== null && _refresh$tags$tag !== void 0 ? _refresh$tags$tag : []
13780
+ tags: refresh.tags
13781
13781
  });
13782
13782
  _workers__WEBPACK_IMPORTED_MODULE_3__.folderWorker.postMessage({
13783
13783
  op: 'refresh',
@@ -15446,4 +15446,4 @@ webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$";
15446
15446
  /***/ })
15447
15447
 
15448
15448
  }]);
15449
- //# sourceMappingURL=src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.b2fa4170.chunk.js.map
15449
+ //# sourceMappingURL=src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.cbfc7e1b.chunk.js.map