@bigbinary/neeto-trash-frontend 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/README.md +185 -0
  2. package/app/javascript/src/translations/ar.json +32 -0
  3. package/app/javascript/src/translations/bg.json +32 -0
  4. package/app/javascript/src/translations/ca.json +32 -0
  5. package/app/javascript/src/translations/cs.json +32 -0
  6. package/app/javascript/src/translations/da.json +32 -0
  7. package/app/javascript/src/translations/de.json +32 -0
  8. package/app/javascript/src/translations/en.json +32 -0
  9. package/app/javascript/src/translations/es-MX.json +32 -0
  10. package/app/javascript/src/translations/es.json +32 -0
  11. package/app/javascript/src/translations/et.json +32 -0
  12. package/app/javascript/src/translations/fi.json +32 -0
  13. package/app/javascript/src/translations/fil.json +32 -0
  14. package/app/javascript/src/translations/fr.json +32 -0
  15. package/app/javascript/src/translations/he.json +32 -0
  16. package/app/javascript/src/translations/hi.json +32 -0
  17. package/app/javascript/src/translations/hr.json +32 -0
  18. package/app/javascript/src/translations/hu.json +32 -0
  19. package/app/javascript/src/translations/id.json +32 -0
  20. package/app/javascript/src/translations/index.js +3 -0
  21. package/app/javascript/src/translations/it.json +32 -0
  22. package/app/javascript/src/translations/ja.json +32 -0
  23. package/app/javascript/src/translations/ko.json +32 -0
  24. package/app/javascript/src/translations/nl.json +32 -0
  25. package/app/javascript/src/translations/pl.json +32 -0
  26. package/app/javascript/src/translations/pt-BR.json +32 -0
  27. package/app/javascript/src/translations/pt.json +32 -0
  28. package/app/javascript/src/translations/ro.json +32 -0
  29. package/app/javascript/src/translations/ru.json +32 -0
  30. package/app/javascript/src/translations/sk.json +32 -0
  31. package/app/javascript/src/translations/sl.json +32 -0
  32. package/app/javascript/src/translations/sv.json +32 -0
  33. package/app/javascript/src/translations/th.json +32 -0
  34. package/app/javascript/src/translations/tr.json +32 -0
  35. package/app/javascript/src/translations/uk.json +32 -0
  36. package/app/javascript/src/translations/vi.json +32 -0
  37. package/app/javascript/src/translations/zh-CN.json +32 -0
  38. package/app/javascript/src/translations/zh-TW.json +32 -0
  39. package/dist/.ready +1 -0
  40. package/dist/DeleteConfirmationAlert-CO3e6GqN.js +37 -0
  41. package/dist/DeleteConfirmationAlert-CO3e6GqN.js.map +1 -0
  42. package/dist/DeleteConfirmationAlert-Cpiz0Dyn.js +39 -0
  43. package/dist/DeleteConfirmationAlert-Cpiz0Dyn.js.map +1 -0
  44. package/dist/DeletePermanentlyAction.js +63 -0
  45. package/dist/DeletePermanentlyAction.js.map +1 -0
  46. package/dist/MoveToTrashAction.js +49 -0
  47. package/dist/MoveToTrashAction.js.map +1 -0
  48. package/dist/RestoreButton.js +47 -0
  49. package/dist/RestoreButton.js.map +1 -0
  50. package/dist/TrashBanner.js +28 -0
  51. package/dist/TrashBanner.js.map +1 -0
  52. package/dist/TrashList.js +329 -0
  53. package/dist/TrashList.js.map +1 -0
  54. package/dist/cjs/DeletePermanentlyAction.js +65 -0
  55. package/dist/cjs/DeletePermanentlyAction.js.map +1 -0
  56. package/dist/cjs/MoveToTrashAction.js +51 -0
  57. package/dist/cjs/MoveToTrashAction.js.map +1 -0
  58. package/dist/cjs/RestoreButton.js +49 -0
  59. package/dist/cjs/RestoreButton.js.map +1 -0
  60. package/dist/cjs/TrashBanner.js +30 -0
  61. package/dist/cjs/TrashBanner.js.map +1 -0
  62. package/dist/cjs/TrashList.js +331 -0
  63. package/dist/cjs/TrashList.js.map +1 -0
  64. package/dist/cjs/index.js +57 -0
  65. package/dist/cjs/index.js.map +1 -0
  66. package/dist/cjs/v2/DeletePermanentlyAction.js +64 -0
  67. package/dist/cjs/v2/DeletePermanentlyAction.js.map +1 -0
  68. package/dist/cjs/v2/MoveToTrashAction.js +51 -0
  69. package/dist/cjs/v2/MoveToTrashAction.js.map +1 -0
  70. package/dist/cjs/v2/RestoreButton.js +49 -0
  71. package/dist/cjs/v2/RestoreButton.js.map +1 -0
  72. package/dist/cjs/v2/TrashBanner.js +31 -0
  73. package/dist/cjs/v2/TrashBanner.js.map +1 -0
  74. package/dist/cjs/v2/TrashList.js +356 -0
  75. package/dist/cjs/v2/TrashList.js.map +1 -0
  76. package/dist/cjs/v2/index.js +48 -0
  77. package/dist/cjs/v2/index.js.map +1 -0
  78. package/dist/constants-BHoEWkzr.js +12 -0
  79. package/dist/constants-BHoEWkzr.js.map +1 -0
  80. package/dist/constants-D31SDP8c.js +8 -0
  81. package/dist/constants-D31SDP8c.js.map +1 -0
  82. package/dist/index-C3QMyI-t.js +39 -0
  83. package/dist/index-C3QMyI-t.js.map +1 -0
  84. package/dist/index-DNy0WI3h.js +37 -0
  85. package/dist/index-DNy0WI3h.js.map +1 -0
  86. package/dist/index.js +39 -0
  87. package/dist/index.js.map +1 -0
  88. package/dist/useConfirmedDelete-B0cAv2Ny.js +49 -0
  89. package/dist/useConfirmedDelete-B0cAv2Ny.js.map +1 -0
  90. package/dist/useConfirmedDelete-CUx3mFWB.js +47 -0
  91. package/dist/useConfirmedDelete-CUx3mFWB.js.map +1 -0
  92. package/dist/useTrashApi-88bP4rc1.js +92 -0
  93. package/dist/useTrashApi-88bP4rc1.js.map +1 -0
  94. package/dist/useTrashApi-DIlG3dId.js +86 -0
  95. package/dist/useTrashApi-DIlG3dId.js.map +1 -0
  96. package/dist/utils-CAHr5BB2.js +12 -0
  97. package/dist/utils-CAHr5BB2.js.map +1 -0
  98. package/dist/utils-f7lcIdEF.js +14 -0
  99. package/dist/utils-f7lcIdEF.js.map +1 -0
  100. package/dist/v2/DeletePermanentlyAction.js +62 -0
  101. package/dist/v2/DeletePermanentlyAction.js.map +1 -0
  102. package/dist/v2/MoveToTrashAction.js +49 -0
  103. package/dist/v2/MoveToTrashAction.js.map +1 -0
  104. package/dist/v2/RestoreButton.js +47 -0
  105. package/dist/v2/RestoreButton.js.map +1 -0
  106. package/dist/v2/TrashBanner.js +29 -0
  107. package/dist/v2/TrashBanner.js.map +1 -0
  108. package/dist/v2/TrashList.js +354 -0
  109. package/dist/v2/TrashList.js.map +1 -0
  110. package/dist/v2/index.js +30 -0
  111. package/dist/v2/index.js.map +1 -0
  112. package/package.json +248 -0
  113. package/types.d.ts +124 -0
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Các mục trong thùng rác sẽ bị xóa vĩnh viễn sau {{count}} ngày.",
4
+ "actions": {
5
+ "moveToTrash": "Chuyển vào thùng rác",
6
+ "restore": "Khôi phục",
7
+ "deletePermanently": "Xóa vĩnh viễn",
8
+ "deleteSelected": "Xóa mục đã chọn"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Xóa vĩnh viễn?",
13
+ "message_one": "Bạn đang xóa vĩnh viễn <strong>{{count}}</strong> mục. Hành động này không thể hoàn tác.",
14
+ "message_other": "Bạn đang xóa vĩnh viễn <strong>{{count}}</strong> mục. Hành động này không thể hoàn tác.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Tiêu đề",
21
+ "trashedBy": "Người xóa",
22
+ "trashedAt": "Ngày xóa",
23
+ "daysUntilDeletion": "Số ngày còn lại"
24
+ },
25
+ "selectedCount": "Đã chọn {{count}} mục"
26
+ },
27
+ "noData": {
28
+ "title": "Thùng rác trống",
29
+ "description": "Các mục đã xóa sẽ hiển thị ở đây trong {{count}} ngày trước khi bị xóa vĩnh viễn."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "回收站中的项目将在 {{count}} 天后永久删除。",
4
+ "actions": {
5
+ "moveToTrash": "移到回收站",
6
+ "restore": "恢复",
7
+ "deletePermanently": "永久删除",
8
+ "deleteSelected": "删除所选项"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "确认永久删除?",
13
+ "message_one": "您即将永久删除 <strong>{{count}}</strong> 个项目,此操作无法撤销。",
14
+ "message_other": "您即将永久删除 <strong>{{count}}</strong> 个项目,此操作无法撤销。",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "标题",
21
+ "trashedBy": "删除者",
22
+ "trashedAt": "删除时间",
23
+ "daysUntilDeletion": "剩余天数"
24
+ },
25
+ "selectedCount": "已选择 {{count}} 项"
26
+ },
27
+ "noData": {
28
+ "title": "回收站为空",
29
+ "description": "已删除的项目将在此处保留 {{count}} 天,之后会被永久删除。"
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "垃圾桶中的項目將在 {{count}} 天後永久刪除。",
4
+ "actions": {
5
+ "moveToTrash": "移到垃圾桶",
6
+ "restore": "還原",
7
+ "deletePermanently": "永久刪除",
8
+ "deleteSelected": "刪除所選項目"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "確定要永久刪除嗎?",
13
+ "message_one": "您即將永久刪除 <strong>{{count}}</strong> 個項目,此操作無法復原。",
14
+ "message_other": "您即將永久刪除 <strong>{{count}}</strong> 個項目,此操作無法復原。",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "標題",
21
+ "trashedBy": "刪除者",
22
+ "trashedAt": "刪除時間",
23
+ "daysUntilDeletion": "剩餘天數"
24
+ },
25
+ "selectedCount": "已選取 {{count}} 個項目"
26
+ },
27
+ "noData": {
28
+ "title": "垃圾桶是空的",
29
+ "description": "刪除的項目會在這裡保留 {{count}} 天,之後就會被永久刪除。"
30
+ }
31
+ }
32
+ }
package/dist/.ready ADDED
@@ -0,0 +1 @@
1
+ Built at 2026-07-14T03:51:23.698Z
@@ -0,0 +1,37 @@
1
+ import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
2
+ import Alert from '@bigbinary/neetoui/Alert';
3
+ import { Trans } from 'react-i18next';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
6
+ var DeleteConfirmationAlert = withT(function (_ref) {
7
+ var t = _ref.t,
8
+ isOpen = _ref.isOpen,
9
+ count = _ref.count,
10
+ name = _ref.name,
11
+ isDeleting = _ref.isDeleting,
12
+ onClose = _ref.onClose,
13
+ onConfirm = _ref.onConfirm;
14
+ return /*#__PURE__*/jsx(Alert, {
15
+ isOpen: isOpen,
16
+ onClose: onClose,
17
+ closeOnEsc: !isDeleting,
18
+ closeOnOutsideClick: !isDeleting,
19
+ isSubmitting: isDeleting,
20
+ submitButtonLabel: t("neetoTrash.actions.deletePermanently"),
21
+ title: t("neetoTrash.alerts.deletePermanently.title"),
22
+ message: /*#__PURE__*/jsx(Trans, {
23
+ components: {
24
+ strong: /*#__PURE__*/jsx("strong", {})
25
+ },
26
+ count: count,
27
+ i18nKey: name ? "neetoTrash.alerts.deletePermanently.messageWithName" : "neetoTrash.alerts.deletePermanently.message",
28
+ values: {
29
+ name: name
30
+ }
31
+ }),
32
+ onSubmit: onConfirm
33
+ });
34
+ });
35
+
36
+ export { DeleteConfirmationAlert as D };
37
+ //# sourceMappingURL=DeleteConfirmationAlert-CO3e6GqN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteConfirmationAlert-CO3e6GqN.js","sources":["../app/javascript/src/components/DeleteConfirmationAlert.jsx"],"sourcesContent":["import { withT } from \"neetocommons/react-utils\";\nimport { Alert } from \"neetoui\";\nimport { Trans } from \"react-i18next\";\n\nconst DeleteConfirmationAlert = withT(\n ({ t, isOpen, count, name, isDeleting, onClose, onConfirm }) => (\n <Alert\n {...{ isOpen, onClose }}\n closeOnEsc={!isDeleting}\n closeOnOutsideClick={!isDeleting}\n isSubmitting={isDeleting}\n submitButtonLabel={t(\"neetoTrash.actions.deletePermanently\")}\n title={t(\"neetoTrash.alerts.deletePermanently.title\")}\n message={\n <Trans\n components={{ strong: <strong /> }}\n count={count}\n i18nKey={\n name\n ? \"neetoTrash.alerts.deletePermanently.messageWithName\"\n : \"neetoTrash.alerts.deletePermanently.message\"\n }\n values={{ name }}\n />\n }\n onSubmit={onConfirm}\n />\n )\n);\n\nexport default DeleteConfirmationAlert;\n"],"names":["DeleteConfirmationAlert","withT","_ref","t","isOpen","count","name","isDeleting","onClose","onConfirm","_jsx","Alert","closeOnEsc","closeOnOutsideClick","isSubmitting","submitButtonLabel","title","message","Trans","components","strong","i18nKey","values","onSubmit"],"mappings":";;;;;AAIA,IAAMA,uBAAuB,GAAGC,KAAK,CACnC,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,MAAM,GAAAF,IAAA,CAANE,MAAM;IAAEC,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;IAAEC,UAAU,GAAAL,IAAA,CAAVK,UAAU;IAAEC,OAAO,GAAAN,IAAA,CAAPM,OAAO;IAAEC,SAAS,GAAAP,IAAA,CAATO,SAAS;EAAA,oBACvDC,GAAA,CAACC,KAAK,EAAA;AACEP,IAAAA,MAAM,EAANA,MAAM;AAAEI,IAAAA,OAAO,EAAPA,OAAO;IACrBI,UAAU,EAAE,CAACL,UAAW;IACxBM,mBAAmB,EAAE,CAACN,UAAW;AACjCO,IAAAA,YAAY,EAAEP,UAAW;AACzBQ,IAAAA,iBAAiB,EAAEZ,CAAC,CAAC,sCAAsC,CAAE;AAC7Da,IAAAA,KAAK,EAAEb,CAAC,CAAC,2CAA2C,CAAE;IACtDc,OAAO,eACLP,GAAA,CAACQ,KAAK,EAAA;AACJC,MAAAA,UAAU,EAAE;QAAEC,MAAM,eAAEV,GAAA,CAAA,QAAA,EAAA,EAAS;OAAI;AACnCL,MAAAA,KAAK,EAAEA,KAAM;AACbgB,MAAAA,OAAO,EACLf,IAAI,GACA,qDAAqD,GACrD,6CACL;AACDgB,MAAAA,MAAM,EAAE;AAAEhB,QAAAA,IAAI,EAAJA;AAAK;AAAE,KAClB,CACF;AACDiB,IAAAA,QAAQ,EAAEd;AAAU,GACrB,CAAC;AAAA,CAEN;;;;"}
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
4
+ var Alert = require('@bigbinary/neetoui/Alert');
5
+ var reactI18next = require('react-i18next');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ var DeleteConfirmationAlert = reactUtils.withT(function (_ref) {
9
+ var t = _ref.t,
10
+ isOpen = _ref.isOpen,
11
+ count = _ref.count,
12
+ name = _ref.name,
13
+ isDeleting = _ref.isDeleting,
14
+ onClose = _ref.onClose,
15
+ onConfirm = _ref.onConfirm;
16
+ return /*#__PURE__*/jsxRuntime.jsx(Alert, {
17
+ isOpen: isOpen,
18
+ onClose: onClose,
19
+ closeOnEsc: !isDeleting,
20
+ closeOnOutsideClick: !isDeleting,
21
+ isSubmitting: isDeleting,
22
+ submitButtonLabel: t("neetoTrash.actions.deletePermanently"),
23
+ title: t("neetoTrash.alerts.deletePermanently.title"),
24
+ message: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
25
+ components: {
26
+ strong: /*#__PURE__*/jsxRuntime.jsx("strong", {})
27
+ },
28
+ count: count,
29
+ i18nKey: name ? "neetoTrash.alerts.deletePermanently.messageWithName" : "neetoTrash.alerts.deletePermanently.message",
30
+ values: {
31
+ name: name
32
+ }
33
+ }),
34
+ onSubmit: onConfirm
35
+ });
36
+ });
37
+
38
+ exports.DeleteConfirmationAlert = DeleteConfirmationAlert;
39
+ //# sourceMappingURL=DeleteConfirmationAlert-Cpiz0Dyn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteConfirmationAlert-Cpiz0Dyn.js","sources":["../app/javascript/src/components/DeleteConfirmationAlert.jsx"],"sourcesContent":["import { withT } from \"neetocommons/react-utils\";\nimport { Alert } from \"neetoui\";\nimport { Trans } from \"react-i18next\";\n\nconst DeleteConfirmationAlert = withT(\n ({ t, isOpen, count, name, isDeleting, onClose, onConfirm }) => (\n <Alert\n {...{ isOpen, onClose }}\n closeOnEsc={!isDeleting}\n closeOnOutsideClick={!isDeleting}\n isSubmitting={isDeleting}\n submitButtonLabel={t(\"neetoTrash.actions.deletePermanently\")}\n title={t(\"neetoTrash.alerts.deletePermanently.title\")}\n message={\n <Trans\n components={{ strong: <strong /> }}\n count={count}\n i18nKey={\n name\n ? \"neetoTrash.alerts.deletePermanently.messageWithName\"\n : \"neetoTrash.alerts.deletePermanently.message\"\n }\n values={{ name }}\n />\n }\n onSubmit={onConfirm}\n />\n )\n);\n\nexport default DeleteConfirmationAlert;\n"],"names":["DeleteConfirmationAlert","withT","_ref","t","isOpen","count","name","isDeleting","onClose","onConfirm","_jsx","Alert","closeOnEsc","closeOnOutsideClick","isSubmitting","submitButtonLabel","title","message","Trans","components","strong","i18nKey","values","onSubmit"],"mappings":";;;;;;;AAIA,IAAMA,uBAAuB,GAAGC,gBAAK,CACnC,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,MAAM,GAAAF,IAAA,CAANE,MAAM;IAAEC,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;IAAEC,UAAU,GAAAL,IAAA,CAAVK,UAAU;IAAEC,OAAO,GAAAN,IAAA,CAAPM,OAAO;IAAEC,SAAS,GAAAP,IAAA,CAATO,SAAS;EAAA,oBACvDC,cAAA,CAACC,KAAK,EAAA;AACEP,IAAAA,MAAM,EAANA,MAAM;AAAEI,IAAAA,OAAO,EAAPA,OAAO;IACrBI,UAAU,EAAE,CAACL,UAAW;IACxBM,mBAAmB,EAAE,CAACN,UAAW;AACjCO,IAAAA,YAAY,EAAEP,UAAW;AACzBQ,IAAAA,iBAAiB,EAAEZ,CAAC,CAAC,sCAAsC,CAAE;AAC7Da,IAAAA,KAAK,EAAEb,CAAC,CAAC,2CAA2C,CAAE;IACtDc,OAAO,eACLP,cAAA,CAACQ,kBAAK,EAAA;AACJC,MAAAA,UAAU,EAAE;QAAEC,MAAM,eAAEV,cAAA,CAAA,QAAA,EAAA,EAAS;OAAI;AACnCL,MAAAA,KAAK,EAAEA,KAAM;AACbgB,MAAAA,OAAO,EACLf,IAAI,GACA,qDAAqD,GACrD,6CACL;AACDgB,MAAAA,MAAM,EAAE;AAAEhB,QAAAA,IAAI,EAAJA;AAAK;AAAE,KAClB,CACF;AACDiB,IAAAA,QAAQ,EAAEd;AAAU,GACrB,CAAC;AAAA,CAEN;;;;"}
@@ -0,0 +1,63 @@
1
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
+ import Button from '@bigbinary/neetoui/Button';
4
+ import { useTranslation } from 'react-i18next';
5
+ import { D as DeleteConfirmationAlert } from './DeleteConfirmationAlert-CO3e6GqN.js';
6
+ import { u as useConfirmedDelete } from './useConfirmedDelete-CUx3mFWB.js';
7
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
8
+ import '@bigbinary/neeto-commons-frontend/react-utils';
9
+ import '@bigbinary/neetoui/Alert';
10
+ import '@babel/runtime/helpers/slicedToArray';
11
+ import 'react';
12
+ import './useTrashApi-DIlG3dId.js';
13
+ import '@tanstack/react-query';
14
+ import 'ramda';
15
+ import 'axios';
16
+ import './constants-D31SDP8c.js';
17
+
18
+ var _excluded = ["type", "ids", "label", "onSuccess", "onClick"];
19
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21
+ var DeletePermanentlyAction = function DeletePermanentlyAction(_ref) {
22
+ var type = _ref.type,
23
+ ids = _ref.ids,
24
+ label = _ref.label,
25
+ onSuccess = _ref.onSuccess,
26
+ onClick = _ref.onClick,
27
+ otherProps = _objectWithoutProperties(_ref, _excluded);
28
+ var _useTranslation = useTranslation(),
29
+ t = _useTranslation.t;
30
+ var _useConfirmedDelete = useConfirmedDelete({
31
+ onSuccess: onSuccess
32
+ }),
33
+ pendingDelete = _useConfirmedDelete.pendingDelete,
34
+ isDeleting = _useConfirmedDelete.isDeleting,
35
+ requestDelete = _useConfirmedDelete.requestDelete,
36
+ cancelDelete = _useConfirmedDelete.cancelDelete,
37
+ confirmDelete = _useConfirmedDelete.confirmDelete;
38
+ var handleOpen = function handleOpen(event) {
39
+ onClick === null || onClick === void 0 || onClick(event);
40
+ requestDelete({
41
+ type: type,
42
+ ids: ids
43
+ });
44
+ };
45
+ return /*#__PURE__*/jsxs(Fragment, {
46
+ children: [/*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
47
+ label: label !== null && label !== void 0 ? label : t("neetoTrash.actions.deletePermanently"),
48
+ size: "small",
49
+ style: "danger"
50
+ }, otherProps), {}, {
51
+ onClick: handleOpen
52
+ })), /*#__PURE__*/jsx(DeleteConfirmationAlert, {
53
+ isDeleting: isDeleting,
54
+ count: ids.length,
55
+ isOpen: !!pendingDelete,
56
+ onClose: cancelDelete,
57
+ onConfirm: confirmDelete
58
+ })]
59
+ });
60
+ };
61
+
62
+ export { DeletePermanentlyAction as default };
63
+ //# sourceMappingURL=DeletePermanentlyAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeletePermanentlyAction.js","sources":["../app/javascript/src/components/DeletePermanentlyAction.jsx"],"sourcesContent":["import { Button } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport DeleteConfirmationAlert from \"components/DeleteConfirmationAlert\";\nimport useConfirmedDelete from \"src/hooks/useConfirmedDelete\";\n\nconst DeletePermanentlyAction = ({\n type,\n ids,\n label,\n onSuccess,\n onClick,\n ...otherProps\n}) => {\n const { t } = useTranslation();\n\n const {\n pendingDelete,\n isDeleting,\n requestDelete,\n cancelDelete,\n confirmDelete,\n } = useConfirmedDelete({ onSuccess });\n\n const handleOpen = event => {\n onClick?.(event);\n requestDelete({ type, ids });\n };\n\n return (\n <>\n <Button\n label={label ?? t(\"neetoTrash.actions.deletePermanently\")}\n size=\"small\"\n style=\"danger\"\n {...otherProps}\n onClick={handleOpen}\n />\n <DeleteConfirmationAlert\n {...{ isDeleting }}\n count={ids.length}\n isOpen={!!pendingDelete}\n onClose={cancelDelete}\n onConfirm={confirmDelete}\n />\n </>\n );\n};\n\nexport default DeletePermanentlyAction;\n"],"names":["DeletePermanentlyAction","_ref","type","ids","label","onSuccess","onClick","otherProps","_objectWithoutProperties","_excluded","_useTranslation","useTranslation","t","_useConfirmedDelete","useConfirmedDelete","pendingDelete","isDeleting","requestDelete","cancelDelete","confirmDelete","handleOpen","event","_jsxs","_Fragment","children","_jsx","Button","_objectSpread","size","style","DeleteConfirmationAlert","count","length","isOpen","onClose","onConfirm"],"mappings":";;;;;;;;;;;;;;;;;;;;AAMA,IAAMA,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAAC,IAAA,EAOvB;AAAA,EAAA,IANJC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IACHC,KAAK,GAAAH,IAAA,CAALG,KAAK;IACLC,SAAS,GAAAJ,IAAA,CAATI,SAAS;IACTC,OAAO,GAAAL,IAAA,CAAPK,OAAO;AACJC,IAAAA,UAAU,GAAAC,wBAAA,CAAAP,IAAA,EAAAQ,SAAA,CAAA;AAEb,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC;EAET,IAAAC,mBAAA,GAMIC,kBAAkB,CAAC;AAAET,MAAAA,SAAS,EAATA;AAAU,KAAC,CAAC;IALnCU,aAAa,GAAAF,mBAAA,CAAbE,aAAa;IACbC,UAAU,GAAAH,mBAAA,CAAVG,UAAU;IACVC,aAAa,GAAAJ,mBAAA,CAAbI,aAAa;IACbC,YAAY,GAAAL,mBAAA,CAAZK,YAAY;IACZC,aAAa,GAAAN,mBAAA,CAAbM,aAAa;AAGf,EAAA,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAGC,KAAK,EAAI;AAC1Bf,IAAAA,OAAO,aAAPA,OAAO,KAAA,MAAA,IAAPA,OAAO,CAAGe,KAAK,CAAC;AAChBJ,IAAAA,aAAa,CAAC;AAAEf,MAAAA,IAAI,EAAJA,IAAI;AAAEC,MAAAA,GAAG,EAAHA;AAAI,KAAC,CAAC;EAC9B,CAAC;EAED,oBACEmB,IAAA,CAAAC,QAAA,EAAA;AAAAC,IAAAA,QAAA,gBACEC,GAAA,CAACC,MAAM,EAAAC,aAAA,CAAAA,aAAA,CAAA;MACLvB,KAAK,EAAEA,KAAK,KAAA,IAAA,IAALA,KAAK,KAAA,MAAA,GAALA,KAAK,GAAIQ,CAAC,CAAC,sCAAsC,CAAE;AAC1DgB,MAAAA,IAAI,EAAC,OAAO;AACZC,MAAAA,KAAK,EAAC;AAAQ,KAAA,EACVtB,UAAU,CAAA,EAAA,EAAA,EAAA;AACdD,MAAAA,OAAO,EAAEc;AAAW,KAAA,CACrB,CAAC,eACFK,GAAA,CAACK,uBAAuB,EAAA;AAChBd,MAAAA,UAAU,EAAVA,UAAU;MAChBe,KAAK,EAAE5B,GAAG,CAAC6B,MAAO;MAClBC,MAAM,EAAE,CAAC,CAAClB,aAAc;AACxBmB,MAAAA,OAAO,EAAEhB,YAAa;AACtBiB,MAAAA,SAAS,EAAEhB;AAAc,KAC1B,CAAC;AAAA,GACF,CAAC;AAEP;;;;"}
@@ -0,0 +1,49 @@
1
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
+ import Delete from '@bigbinary/neeto-icons/Delete';
4
+ import Button from '@bigbinary/neetoui/Button';
5
+ import { useTranslation } from 'react-i18next';
6
+ import { b as useMoveToTrash } from './useTrashApi-DIlG3dId.js';
7
+ import { jsx } from 'react/jsx-runtime';
8
+ import '@tanstack/react-query';
9
+ import '@bigbinary/neeto-commons-frontend/react-utils';
10
+ import 'ramda';
11
+ import 'axios';
12
+ import './constants-D31SDP8c.js';
13
+
14
+ var _excluded = ["type", "ids", "label", "onSuccess", "onClick"];
15
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
+ var MoveToTrashAction = function MoveToTrashAction(_ref) {
18
+ var type = _ref.type,
19
+ ids = _ref.ids,
20
+ label = _ref.label,
21
+ onSuccess = _ref.onSuccess,
22
+ onClick = _ref.onClick,
23
+ otherProps = _objectWithoutProperties(_ref, _excluded);
24
+ var _useTranslation = useTranslation(),
25
+ t = _useTranslation.t;
26
+ var _useMoveToTrash = useMoveToTrash({
27
+ onSuccess: onSuccess
28
+ }),
29
+ mutate = _useMoveToTrash.mutate,
30
+ isPending = _useMoveToTrash.isPending;
31
+ var handleClick = function handleClick(event) {
32
+ onClick === null || onClick === void 0 || onClick(event);
33
+ mutate({
34
+ type: type,
35
+ ids: ids
36
+ });
37
+ };
38
+ return /*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
39
+ icon: Delete,
40
+ label: label !== null && label !== void 0 ? label : t("neetoTrash.actions.moveToTrash"),
41
+ loading: isPending,
42
+ style: "danger-text"
43
+ }, otherProps), {}, {
44
+ onClick: handleClick
45
+ }));
46
+ };
47
+
48
+ export { MoveToTrashAction as default };
49
+ //# sourceMappingURL=MoveToTrashAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoveToTrashAction.js","sources":["../app/javascript/src/components/MoveToTrashAction.jsx"],"sourcesContent":["import { Delete } from \"neetoicons\";\nimport { Button } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useMoveToTrash } from \"src/hooks/useTrashApi\";\n\nconst MoveToTrashAction = ({\n type,\n ids,\n label,\n onSuccess,\n onClick,\n ...otherProps\n}) => {\n const { t } = useTranslation();\n\n const { mutate, isPending } = useMoveToTrash({ onSuccess });\n\n const handleClick = event => {\n onClick?.(event);\n mutate({ type, ids });\n };\n\n return (\n <Button\n icon={Delete}\n label={label ?? t(\"neetoTrash.actions.moveToTrash\")}\n loading={isPending}\n style=\"danger-text\"\n {...otherProps}\n onClick={handleClick}\n />\n );\n};\n\nexport default MoveToTrashAction;\n"],"names":["MoveToTrashAction","_ref","type","ids","label","onSuccess","onClick","otherProps","_objectWithoutProperties","_excluded","_useTranslation","useTranslation","t","_useMoveToTrash","useMoveToTrash","mutate","isPending","handleClick","event","_jsx","Button","_objectSpread","icon","Delete","loading","style"],"mappings":";;;;;;;;;;;;;;;;AAMA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAOjB;AAAA,EAAA,IANJC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IACHC,KAAK,GAAAH,IAAA,CAALG,KAAK;IACLC,SAAS,GAAAJ,IAAA,CAATI,SAAS;IACTC,OAAO,GAAAL,IAAA,CAAPK,OAAO;AACJC,IAAAA,UAAU,GAAAC,wBAAA,CAAAP,IAAA,EAAAQ,SAAA,CAAA;AAEb,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC;EAET,IAAAC,eAAA,GAA8BC,cAAc,CAAC;AAAET,MAAAA,SAAS,EAATA;AAAU,KAAC,CAAC;IAAnDU,MAAM,GAAAF,eAAA,CAANE,MAAM;IAAEC,SAAS,GAAAH,eAAA,CAATG,SAAS;AAEzB,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAGC,KAAK,EAAI;AAC3BZ,IAAAA,OAAO,aAAPA,OAAO,KAAA,MAAA,IAAPA,OAAO,CAAGY,KAAK,CAAC;AAChBH,IAAAA,MAAM,CAAC;AAAEb,MAAAA,IAAI,EAAJA,IAAI;AAAEC,MAAAA,GAAG,EAAHA;AAAI,KAAC,CAAC;EACvB,CAAC;AAED,EAAA,oBACEgB,GAAA,CAACC,MAAM,EAAAC,aAAA,CAAAA,aAAA,CAAA;AACLC,IAAAA,IAAI,EAAEC,MAAO;IACbnB,KAAK,EAAEA,KAAK,KAAA,IAAA,IAALA,KAAK,KAAA,MAAA,GAALA,KAAK,GAAIQ,CAAC,CAAC,gCAAgC,CAAE;AACpDY,IAAAA,OAAO,EAAER,SAAU;AACnBS,IAAAA,KAAK,EAAC;AAAa,GAAA,EACflB,UAAU,CAAA,EAAA,EAAA,EAAA;AACdD,IAAAA,OAAO,EAAEW;AAAY,GAAA,CACtB,CAAC;AAEN;;;;"}
@@ -0,0 +1,47 @@
1
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
+ import Button from '@bigbinary/neetoui/Button';
4
+ import { useTranslation } from 'react-i18next';
5
+ import { d as useRestore } from './useTrashApi-DIlG3dId.js';
6
+ import { jsx } from 'react/jsx-runtime';
7
+ import '@tanstack/react-query';
8
+ import '@bigbinary/neeto-commons-frontend/react-utils';
9
+ import 'ramda';
10
+ import 'axios';
11
+ import './constants-D31SDP8c.js';
12
+
13
+ var _excluded = ["type", "id", "onSuccess", "onClick"];
14
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
+ var RestoreButton = function RestoreButton(_ref) {
17
+ var type = _ref.type,
18
+ id = _ref.id,
19
+ onSuccess = _ref.onSuccess,
20
+ onClick = _ref.onClick,
21
+ otherProps = _objectWithoutProperties(_ref, _excluded);
22
+ var _useTranslation = useTranslation(),
23
+ t = _useTranslation.t;
24
+ var _useRestore = useRestore({
25
+ onSuccess: onSuccess
26
+ }),
27
+ mutate = _useRestore.mutate,
28
+ isPending = _useRestore.isPending;
29
+ var handleClick = function handleClick(event) {
30
+ onClick === null || onClick === void 0 || onClick(event);
31
+ mutate({
32
+ type: type,
33
+ id: id
34
+ });
35
+ };
36
+ return /*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
37
+ label: t("neetoTrash.actions.restore"),
38
+ loading: isPending,
39
+ size: "small",
40
+ style: "secondary"
41
+ }, otherProps), {}, {
42
+ onClick: handleClick
43
+ }));
44
+ };
45
+
46
+ export { RestoreButton as default };
47
+ //# sourceMappingURL=RestoreButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RestoreButton.js","sources":["../app/javascript/src/components/RestoreButton.jsx"],"sourcesContent":["import { Button } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useRestore } from \"src/hooks/useTrashApi\";\n\nconst RestoreButton = ({ type, id, onSuccess, onClick, ...otherProps }) => {\n const { t } = useTranslation();\n\n const { mutate, isPending } = useRestore({ onSuccess });\n\n const handleClick = event => {\n onClick?.(event);\n mutate({ type, id });\n };\n\n return (\n <Button\n label={t(\"neetoTrash.actions.restore\")}\n loading={isPending}\n size=\"small\"\n style=\"secondary\"\n {...otherProps}\n onClick={handleClick}\n />\n );\n};\n\nexport default RestoreButton;\n"],"names":["RestoreButton","_ref","type","id","onSuccess","onClick","otherProps","_objectWithoutProperties","_excluded","_useTranslation","useTranslation","t","_useRestore","useRestore","mutate","isPending","handleClick","event","_jsx","Button","_objectSpread","label","loading","size","style"],"mappings":";;;;;;;;;;;;;;;AAKA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAAC,IAAA,EAAwD;AAAA,EAAA,IAAlDC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,EAAE,GAAAF,IAAA,CAAFE,EAAE;IAAEC,SAAS,GAAAH,IAAA,CAATG,SAAS;IAAEC,OAAO,GAAAJ,IAAA,CAAPI,OAAO;AAAKC,IAAAA,UAAU,GAAAC,wBAAA,CAAAN,IAAA,EAAAO,SAAA,CAAA;AAClE,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC;EAET,IAAAC,WAAA,GAA8BC,UAAU,CAAC;AAAET,MAAAA,SAAS,EAATA;AAAU,KAAC,CAAC;IAA/CU,MAAM,GAAAF,WAAA,CAANE,MAAM;IAAEC,SAAS,GAAAH,WAAA,CAATG,SAAS;AAEzB,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAGC,KAAK,EAAI;AAC3BZ,IAAAA,OAAO,aAAPA,OAAO,KAAA,MAAA,IAAPA,OAAO,CAAGY,KAAK,CAAC;AAChBH,IAAAA,MAAM,CAAC;AAAEZ,MAAAA,IAAI,EAAJA,IAAI;AAAEC,MAAAA,EAAE,EAAFA;AAAG,KAAC,CAAC;EACtB,CAAC;AAED,EAAA,oBACEe,GAAA,CAACC,MAAM,EAAAC,aAAA,CAAAA,aAAA,CAAA;AACLC,IAAAA,KAAK,EAAEV,CAAC,CAAC,4BAA4B,CAAE;AACvCW,IAAAA,OAAO,EAAEP,SAAU;AACnBQ,IAAAA,IAAI,EAAC,OAAO;AACZC,IAAAA,KAAK,EAAC;AAAW,GAAA,EACblB,UAAU,CAAA,EAAA,EAAA,EAAA;AACdD,IAAAA,OAAO,EAAEW;AAAY,GAAA,CACtB,CAAC;AAEN;;;;"}
@@ -0,0 +1,28 @@
1
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
+ import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
4
+ import Info from '@bigbinary/neeto-icons/Info';
5
+ import Callout from '@bigbinary/neetoui/Callout';
6
+ import { D as DEFAULT_RETENTION_PERIOD_DAYS } from './constants-D31SDP8c.js';
7
+ import { jsx } from 'react/jsx-runtime';
8
+
9
+ var _excluded = ["t", "retentionPeriodDays"];
10
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
+ var TrashBanner = withT(function (_ref) {
13
+ var t = _ref.t,
14
+ _ref$retentionPeriodD = _ref.retentionPeriodDays,
15
+ retentionPeriodDays = _ref$retentionPeriodD === void 0 ? DEFAULT_RETENTION_PERIOD_DAYS : _ref$retentionPeriodD,
16
+ otherProps = _objectWithoutProperties(_ref, _excluded);
17
+ return /*#__PURE__*/jsx(Callout, _objectSpread(_objectSpread({
18
+ icon: Info,
19
+ style: "info"
20
+ }, otherProps), {}, {
21
+ children: t("neetoTrash.banner", {
22
+ count: retentionPeriodDays
23
+ })
24
+ }));
25
+ });
26
+
27
+ export { TrashBanner as default };
28
+ //# sourceMappingURL=TrashBanner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrashBanner.js","sources":["../app/javascript/src/components/TrashBanner.jsx"],"sourcesContent":["import { withT } from \"neetocommons/react-utils\";\nimport { Info } from \"neetoicons\";\nimport { Callout } from \"neetoui\";\n\nimport { DEFAULT_RETENTION_PERIOD_DAYS } from \"src/constants\";\n\nconst TrashBanner = withT(\n ({\n t,\n retentionPeriodDays = DEFAULT_RETENTION_PERIOD_DAYS,\n ...otherProps\n }) => (\n <Callout icon={Info} style=\"info\" {...otherProps}>\n {t(\"neetoTrash.banner\", { count: retentionPeriodDays })}\n </Callout>\n )\n);\n\nexport default TrashBanner;\n"],"names":["TrashBanner","withT","_ref","t","_ref$retentionPeriodD","retentionPeriodDays","DEFAULT_RETENTION_PERIOD_DAYS","otherProps","_objectWithoutProperties","_excluded","_jsx","Callout","_objectSpread","icon","Info","style","children","count"],"mappings":";;;;;;;;;;;AAMA,IAAMA,WAAW,GAAGC,KAAK,CACvB,UAAAC,IAAA,EAAA;AAAA,EAAA,IACEC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAAC,qBAAA,GAAAF,IAAA,CACDG,mBAAmB;AAAnBA,IAAAA,mBAAmB,GAAAD,qBAAA,KAAA,MAAA,GAAGE,6BAA6B,GAAAF,qBAAA;AAChDG,IAAAA,UAAU,GAAAC,wBAAA,CAAAN,IAAA,EAAAO,SAAA,CAAA;AAAA,EAAA,oBAEbC,GAAA,CAACC,OAAO,EAAAC,aAAA,CAAAA,aAAA,CAAA;AAACC,IAAAA,IAAI,EAAEC,IAAK;AAACC,IAAAA,KAAK,EAAC;AAAM,GAAA,EAAKR,UAAU,CAAA,EAAA,EAAA,EAAA;AAAAS,IAAAA,QAAA,EAC7Cb,CAAC,CAAC,mBAAmB,EAAE;AAAEc,MAAAA,KAAK,EAAEZ;KAAqB;AAAC,GAAA,CAChD,CAAC;AAAA,CAEd;;;;"}