@webiny/app-scheduler 0.0.0-unstable.0d717d18dd

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 (229) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/domain/schedulerEntry.d.ts +16 -0
  4. package/domain/schedulerEntry.js +19 -0
  5. package/domain/schedulerEntry.js.map +1 -0
  6. package/features/cancelScheduledAction/CancelScheduledActionGateway.d.ts +11 -0
  7. package/features/cancelScheduledAction/CancelScheduledActionGateway.js +41 -0
  8. package/features/cancelScheduledAction/CancelScheduledActionGateway.js.map +1 -0
  9. package/features/cancelScheduledAction/abstractions.d.ts +11 -0
  10. package/features/cancelScheduledAction/abstractions.js +5 -0
  11. package/features/cancelScheduledAction/abstractions.js.map +1 -0
  12. package/features/cancelScheduledAction/feature.d.ts +1 -0
  13. package/features/cancelScheduledAction/feature.js +11 -0
  14. package/features/cancelScheduledAction/feature.js.map +1 -0
  15. package/features/feature.d.ts +1 -0
  16. package/features/feature.js +19 -0
  17. package/features/feature.js.map +1 -0
  18. package/features/getScheduledAction/GetScheduledActionGateway.d.ts +11 -0
  19. package/features/getScheduledAction/GetScheduledActionGateway.js +57 -0
  20. package/features/getScheduledAction/GetScheduledActionGateway.js.map +1 -0
  21. package/features/getScheduledAction/abstractions.d.ts +13 -0
  22. package/features/getScheduledAction/abstractions.js +5 -0
  23. package/features/getScheduledAction/abstractions.js.map +1 -0
  24. package/features/getScheduledAction/feature.d.ts +1 -0
  25. package/features/getScheduledAction/feature.js +11 -0
  26. package/features/getScheduledAction/feature.js.map +1 -0
  27. package/features/graphqlFields.d.ts +2 -0
  28. package/features/graphqlFields.js +23 -0
  29. package/features/graphqlFields.js.map +1 -0
  30. package/features/listScheduledActions/ListScheduledActionsGateway.d.ts +11 -0
  31. package/features/listScheduledActions/ListScheduledActionsGateway.js +84 -0
  32. package/features/listScheduledActions/ListScheduledActionsGateway.js.map +1 -0
  33. package/features/listScheduledActions/abstractions.d.ts +30 -0
  34. package/features/listScheduledActions/abstractions.js +5 -0
  35. package/features/listScheduledActions/abstractions.js.map +1 -0
  36. package/features/listScheduledActions/feature.d.ts +1 -0
  37. package/features/listScheduledActions/feature.js +11 -0
  38. package/features/listScheduledActions/feature.js.map +1 -0
  39. package/features/schedulePublishAction/SchedulePublishActionGateway.d.ts +11 -0
  40. package/features/schedulePublishAction/SchedulePublishActionGateway.js +67 -0
  41. package/features/schedulePublishAction/SchedulePublishActionGateway.js.map +1 -0
  42. package/features/schedulePublishAction/abstractions.d.ts +16 -0
  43. package/features/schedulePublishAction/abstractions.js +5 -0
  44. package/features/schedulePublishAction/abstractions.js.map +1 -0
  45. package/features/schedulePublishAction/feature.d.ts +1 -0
  46. package/features/schedulePublishAction/feature.js +11 -0
  47. package/features/schedulePublishAction/feature.js.map +1 -0
  48. package/features/scheduleUnpublishAction/ScheduleUnpublishActionGateway.d.ts +11 -0
  49. package/features/scheduleUnpublishAction/ScheduleUnpublishActionGateway.js +71 -0
  50. package/features/scheduleUnpublishAction/ScheduleUnpublishActionGateway.js.map +1 -0
  51. package/features/scheduleUnpublishAction/abstractions.d.ts +16 -0
  52. package/features/scheduleUnpublishAction/abstractions.js +5 -0
  53. package/features/scheduleUnpublishAction/abstractions.js.map +1 -0
  54. package/features/scheduleUnpublishAction/feature.d.ts +1 -0
  55. package/features/scheduleUnpublishAction/feature.js +11 -0
  56. package/features/scheduleUnpublishAction/feature.js.map +1 -0
  57. package/index.d.ts +9 -0
  58. package/index.js +17 -0
  59. package/index.js.map +1 -0
  60. package/package.json +56 -0
  61. package/presentation/SchedulerConfigs/SchedulerConfigs.d.ts +2 -0
  62. package/presentation/SchedulerConfigs/SchedulerConfigs.js +52 -0
  63. package/presentation/SchedulerConfigs/SchedulerConfigs.js.map +1 -0
  64. package/presentation/SchedulerConfigs/index.d.ts +1 -0
  65. package/presentation/SchedulerConfigs/index.js +1 -0
  66. package/presentation/components/Actions/CancelItem/CancelItem.d.ts +2 -0
  67. package/presentation/components/Actions/CancelItem/CancelItem.js +18 -0
  68. package/presentation/components/Actions/CancelItem/CancelItem.js.map +1 -0
  69. package/presentation/components/Actions/CancelItem/index.d.ts +1 -0
  70. package/presentation/components/Actions/CancelItem/index.js +1 -0
  71. package/presentation/components/Actions/index.d.ts +1 -0
  72. package/presentation/components/Actions/index.js +1 -0
  73. package/presentation/components/BottomInfoBar/BottomInfoBar.styled.d.ts +20 -0
  74. package/presentation/components/BottomInfoBar/BottomInfoBar.styled.js +43 -0
  75. package/presentation/components/BottomInfoBar/BottomInfoBar.styled.js.map +1 -0
  76. package/presentation/components/BottomInfoBar/ListMeta.d.ts +7 -0
  77. package/presentation/components/BottomInfoBar/ListMeta.js +9 -0
  78. package/presentation/components/BottomInfoBar/ListMeta.js.map +1 -0
  79. package/presentation/components/BottomInfoBar/ListStatus.d.ts +5 -0
  80. package/presentation/components/BottomInfoBar/ListStatus.js +12 -0
  81. package/presentation/components/BottomInfoBar/ListStatus.js.map +1 -0
  82. package/presentation/components/Cells/CellActions/CellActions.d.ts +2 -0
  83. package/presentation/components/Cells/CellActions/CellActions.js +18 -0
  84. package/presentation/components/Cells/CellActions/CellActions.js.map +1 -0
  85. package/presentation/components/Cells/CellActions/index.d.ts +1 -0
  86. package/presentation/components/Cells/CellActions/index.js +1 -0
  87. package/presentation/components/Cells/CellRevision/CellRevision.d.ts +2 -0
  88. package/presentation/components/Cells/CellRevision/CellRevision.js +15 -0
  89. package/presentation/components/Cells/CellRevision/CellRevision.js.map +1 -0
  90. package/presentation/components/Cells/CellRevision/CellRevision.styled.d.ts +11 -0
  91. package/presentation/components/Cells/CellRevision/CellRevision.styled.js +18 -0
  92. package/presentation/components/Cells/CellRevision/CellRevision.styled.js.map +1 -0
  93. package/presentation/components/Cells/CellRevision/index.d.ts +1 -0
  94. package/presentation/components/Cells/CellRevision/index.js +1 -0
  95. package/presentation/components/Cells/CellScheduledBy/CellScheduledBy.d.ts +2 -0
  96. package/presentation/components/Cells/CellScheduledBy/CellScheduledBy.js +10 -0
  97. package/presentation/components/Cells/CellScheduledBy/CellScheduledBy.js.map +1 -0
  98. package/presentation/components/Cells/CellScheduledBy/index.d.ts +1 -0
  99. package/presentation/components/Cells/CellScheduledBy/index.js +1 -0
  100. package/presentation/components/Cells/CellScheduledOn/CellScheduledOn.d.ts +24 -0
  101. package/presentation/components/Cells/CellScheduledOn/CellScheduledOn.js +19 -0
  102. package/presentation/components/Cells/CellScheduledOn/CellScheduledOn.js.map +1 -0
  103. package/presentation/components/Cells/CellScheduledOn/index.d.ts +1 -0
  104. package/presentation/components/Cells/CellScheduledOn/index.js +1 -0
  105. package/presentation/components/Cells/CellTitle/CellTitle.d.ts +2 -0
  106. package/presentation/components/Cells/CellTitle/CellTitle.js +14 -0
  107. package/presentation/components/Cells/CellTitle/CellTitle.js.map +1 -0
  108. package/presentation/components/Cells/CellTitle/CellTitle.styled.d.ts +11 -0
  109. package/presentation/components/Cells/CellTitle/CellTitle.styled.js +18 -0
  110. package/presentation/components/Cells/CellTitle/CellTitle.styled.js.map +1 -0
  111. package/presentation/components/Cells/CellTitle/index.d.ts +1 -0
  112. package/presentation/components/Cells/CellTitle/index.js +1 -0
  113. package/presentation/components/Cells/CellType/CellActionType.d.ts +2 -0
  114. package/presentation/components/Cells/CellType/CellActionType.js +15 -0
  115. package/presentation/components/Cells/CellType/CellActionType.js.map +1 -0
  116. package/presentation/components/Cells/CellType/CellActionType.styled.d.ts +11 -0
  117. package/presentation/components/Cells/CellType/CellActionType.styled.js +18 -0
  118. package/presentation/components/Cells/CellType/CellActionType.styled.js.map +1 -0
  119. package/presentation/components/Cells/CellType/index.d.ts +1 -0
  120. package/presentation/components/Cells/CellType/index.js +1 -0
  121. package/presentation/components/Cells/index.d.ts +6 -0
  122. package/presentation/components/Cells/index.js +6 -0
  123. package/presentation/components/Empty/Empty.styled.d.ts +8 -0
  124. package/presentation/components/Empty/Empty.styled.js +16 -0
  125. package/presentation/components/Empty/Empty.styled.js.map +1 -0
  126. package/presentation/components/Title/Title.d.ts +5 -0
  127. package/presentation/components/Title/Title.js +10 -0
  128. package/presentation/components/Title/Title.js.map +1 -0
  129. package/presentation/components/Title/Title.styled.d.ts +3 -0
  130. package/presentation/components/Title/Title.styled.js +13 -0
  131. package/presentation/components/Title/Title.styled.js.map +1 -0
  132. package/presentation/components/Title/index.d.ts +1 -0
  133. package/presentation/components/Title/index.js +1 -0
  134. package/presentation/configs/index.d.ts +1 -0
  135. package/presentation/configs/index.js +1 -0
  136. package/presentation/configs/list/Browser/EntryAction.d.ts +8 -0
  137. package/presentation/configs/list/Browser/EntryAction.js +13 -0
  138. package/presentation/configs/list/Browser/EntryAction.js.map +1 -0
  139. package/presentation/configs/list/Browser/Table/Column.d.ts +15 -0
  140. package/presentation/configs/list/Browser/Table/Column.js +11 -0
  141. package/presentation/configs/list/Browser/Table/Column.js.map +1 -0
  142. package/presentation/configs/list/Browser/Table/Sorting.d.ts +5 -0
  143. package/presentation/configs/list/Browser/Table/Sorting.js +7 -0
  144. package/presentation/configs/list/Browser/Table/Sorting.js.map +1 -0
  145. package/presentation/configs/list/Browser/Table/index.d.ts +19 -0
  146. package/presentation/configs/list/Browser/Table/index.js +9 -0
  147. package/presentation/configs/list/Browser/Table/index.js.map +1 -0
  148. package/presentation/configs/list/Browser/index.d.ts +23 -0
  149. package/presentation/configs/list/Browser/index.js +9 -0
  150. package/presentation/configs/list/Browser/index.js.map +1 -0
  151. package/presentation/configs/list/SchedulerListConfig.d.ts +35 -0
  152. package/presentation/configs/list/SchedulerListConfig.js +30 -0
  153. package/presentation/configs/list/SchedulerListConfig.js.map +1 -0
  154. package/presentation/configs/list/index.d.ts +1 -0
  155. package/presentation/configs/list/index.js +1 -0
  156. package/presentation/hooks/index.d.ts +2 -0
  157. package/presentation/hooks/index.js +2 -0
  158. package/presentation/hooks/useCancelSchedulerItem.d.ts +8 -0
  159. package/presentation/hooks/useCancelSchedulerItem.js +32 -0
  160. package/presentation/hooks/useCancelSchedulerItem.js.map +1 -0
  161. package/presentation/hooks/useSchedulerItem.d.ts +11 -0
  162. package/presentation/hooks/useSchedulerItem.js +7 -0
  163. package/presentation/hooks/useSchedulerItem.js.map +1 -0
  164. package/presentation/scheduleDialog/ScheduleDialogPresenter.d.ts +26 -0
  165. package/presentation/scheduleDialog/ScheduleDialogPresenter.js +115 -0
  166. package/presentation/scheduleDialog/ScheduleDialogPresenter.js.map +1 -0
  167. package/presentation/scheduleDialog/abstractions.d.ts +35 -0
  168. package/presentation/scheduleDialog/abstractions.js +5 -0
  169. package/presentation/scheduleDialog/abstractions.js.map +1 -0
  170. package/presentation/scheduleDialog/components/CancelButtonComponent.d.ts +10 -0
  171. package/presentation/scheduleDialog/components/CancelButtonComponent.js +20 -0
  172. package/presentation/scheduleDialog/components/CancelButtonComponent.js.map +1 -0
  173. package/presentation/scheduleDialog/components/FormComponent.d.ts +9 -0
  174. package/presentation/scheduleDialog/components/FormComponent.js +32 -0
  175. package/presentation/scheduleDialog/components/FormComponent.js.map +1 -0
  176. package/presentation/scheduleDialog/components/ReschedulingAlert.d.ts +7 -0
  177. package/presentation/scheduleDialog/components/ReschedulingAlert.js +14 -0
  178. package/presentation/scheduleDialog/components/ReschedulingAlert.js.map +1 -0
  179. package/presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.d.ts +24 -0
  180. package/presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.js +15 -0
  181. package/presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.js.map +1 -0
  182. package/presentation/scheduleDialog/createMinDateValidator.d.ts +7 -0
  183. package/presentation/scheduleDialog/createMinDateValidator.js +14 -0
  184. package/presentation/scheduleDialog/createMinDateValidator.js.map +1 -0
  185. package/presentation/scheduleDialog/feature.d.ts +3 -0
  186. package/presentation/scheduleDialog/feature.js +17 -0
  187. package/presentation/scheduleDialog/feature.js.map +1 -0
  188. package/presentation/scheduleDialog/useScheduleDialog.d.ts +20 -0
  189. package/presentation/scheduleDialog/useScheduleDialog.js +128 -0
  190. package/presentation/scheduleDialog/useScheduleDialog.js.map +1 -0
  191. package/presentation/schedulerList/Scheduler.d.ts +18 -0
  192. package/presentation/schedulerList/Scheduler.js +28 -0
  193. package/presentation/schedulerList/Scheduler.js.map +1 -0
  194. package/presentation/schedulerList/SchedulerListDataSource.d.ts +15 -0
  195. package/presentation/schedulerList/SchedulerListDataSource.js +41 -0
  196. package/presentation/schedulerList/SchedulerListDataSource.js.map +1 -0
  197. package/presentation/schedulerList/SchedulerListPresenter.d.ts +21 -0
  198. package/presentation/schedulerList/SchedulerListPresenter.js +47 -0
  199. package/presentation/schedulerList/SchedulerListPresenter.js.map +1 -0
  200. package/presentation/schedulerList/abstractions.d.ts +13 -0
  201. package/presentation/schedulerList/abstractions.js +5 -0
  202. package/presentation/schedulerList/abstractions.js.map +1 -0
  203. package/presentation/schedulerList/components/BottomInfoBar.d.ts +9 -0
  204. package/presentation/schedulerList/components/BottomInfoBar.js +18 -0
  205. package/presentation/schedulerList/components/BottomInfoBar.js.map +1 -0
  206. package/presentation/schedulerList/components/Empty.d.ts +9 -0
  207. package/presentation/schedulerList/components/Empty.js +21 -0
  208. package/presentation/schedulerList/components/Empty.js.map +1 -0
  209. package/presentation/schedulerList/components/SchedulerListView.d.ts +8 -0
  210. package/presentation/schedulerList/components/SchedulerListView.js +40 -0
  211. package/presentation/schedulerList/components/SchedulerListView.js.map +1 -0
  212. package/presentation/schedulerList/components/SchedulerOverlay.d.ts +11 -0
  213. package/presentation/schedulerList/components/SchedulerOverlay.js +38 -0
  214. package/presentation/schedulerList/components/SchedulerOverlay.js.map +1 -0
  215. package/presentation/schedulerList/components/SchedulerTable.d.ts +9 -0
  216. package/presentation/schedulerList/components/SchedulerTable.js +48 -0
  217. package/presentation/schedulerList/components/SchedulerTable.js.map +1 -0
  218. package/presentation/schedulerList/components/SearchInput.d.ts +9 -0
  219. package/presentation/schedulerList/components/SearchInput.js +30 -0
  220. package/presentation/schedulerList/components/SearchInput.js.map +1 -0
  221. package/presentation/schedulerList/feature.d.ts +3 -0
  222. package/presentation/schedulerList/feature.js +17 -0
  223. package/presentation/schedulerList/feature.js.map +1 -0
  224. package/presentation/schedulerList/useSchedulerListPresenter.d.ts +1 -0
  225. package/presentation/schedulerList/useSchedulerListPresenter.js +6 -0
  226. package/presentation/schedulerList/useSchedulerListPresenter.js.map +1 -0
  227. package/types.d.ts +30 -0
  228. package/types.js +8 -0
  229. package/types.js.map +1 -0
@@ -0,0 +1,18 @@
1
+ import react from "react";
2
+ import { OptionsMenu } from "@webiny/app-admin";
3
+ import { SchedulerListConfig, useSchedulerListConfig } from "../../../configs/index.js";
4
+ import { SchedulerItemProvider } from "../../../hooks/index.js";
5
+ const CellActions = ()=>{
6
+ const { useTableRow } = SchedulerListConfig.Browser.Table.Column;
7
+ const { row } = useTableRow();
8
+ const { browser } = useSchedulerListConfig();
9
+ return /*#__PURE__*/ react.createElement(SchedulerItemProvider, {
10
+ item: row.data
11
+ }, /*#__PURE__*/ react.createElement(OptionsMenu, {
12
+ actions: browser.entryActions,
13
+ "data-testid": "table.row.scheduler.entry.menu-action"
14
+ }));
15
+ };
16
+ export { CellActions };
17
+
18
+ //# sourceMappingURL=CellActions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellActions/CellActions.js","sources":["../../../../../src/presentation/components/Cells/CellActions/CellActions.tsx"],"sourcesContent":["import React from \"react\";\nimport { OptionsMenu } from \"@webiny/app-admin\";\nimport { SchedulerListConfig, useSchedulerListConfig } from \"~/presentation/configs/index.js\";\nimport { SchedulerItemProvider } from \"~/presentation/hooks/index.js\";\n\nexport const CellActions = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n const { browser } = useSchedulerListConfig();\n\n return (\n <SchedulerItemProvider item={row.data}>\n <OptionsMenu\n actions={browser.entryActions}\n data-testid={\"table.row.scheduler.entry.menu-action\"}\n />\n </SchedulerItemProvider>\n );\n};\n"],"names":["CellActions","useTableRow","SchedulerListConfig","row","browser","useSchedulerListConfig","SchedulerItemProvider","OptionsMenu"],"mappings":";;;;AAKO,MAAMA,cAAc;IACvB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAChB,MAAM,EAAEG,OAAO,EAAE,GAAGC;IAEpB,OAAO,WAAP,GACI,oBAACC,uBAAqBA;QAAC,MAAMH,IAAI,IAAI;qBACjC,oBAACI,aAAWA;QACR,SAASH,QAAQ,YAAY;QAC7B,eAAa;;AAI7B"}
@@ -0,0 +1 @@
1
+ export * from "./CellActions.js";
@@ -0,0 +1 @@
1
+ export * from "./CellActions.js";
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const CellRevision: () => React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ import react from "react";
2
+ import { RowText, RowTitle } from "./CellRevision.styled.js";
3
+ import { SchedulerListConfig } from "../../../configs/index.js";
4
+ import { parseIdentifier } from "@webiny/utils/parseIdentifier.js";
5
+ const CellRevision = ()=>{
6
+ const { useTableRow } = SchedulerListConfig.Browser.Table.Column;
7
+ const { row } = useTableRow();
8
+ const { version } = parseIdentifier(row.data.targetId);
9
+ return /*#__PURE__*/ react.createElement(RowTitle, null, /*#__PURE__*/ react.createElement(RowText, {
10
+ size: "sm"
11
+ }, version));
12
+ };
13
+ export { CellRevision };
14
+
15
+ //# sourceMappingURL=CellRevision.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellRevision/CellRevision.js","sources":["../../../../../src/presentation/components/Cells/CellRevision/CellRevision.tsx"],"sourcesContent":["import React from \"react\";\nimport { RowText, RowTitle } from \"./CellRevision.styled.js\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\nimport { parseIdentifier } from \"@webiny/utils/parseIdentifier.js\";\n\nexport const CellRevision = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n const { version } = parseIdentifier(row.data.targetId);\n return (\n <RowTitle>\n <RowText size={\"sm\"}>{version}</RowText>\n </RowTitle>\n );\n};\n"],"names":["CellRevision","useTableRow","SchedulerListConfig","row","version","parseIdentifier","RowTitle","RowText"],"mappings":";;;;AAKO,MAAMA,eAAe;IACxB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,MAAM,EAAEG,OAAO,EAAE,GAAGC,gBAAgBF,IAAI,IAAI,CAAC,QAAQ;IACrD,OAAO,WAAP,GACI,oBAACG,UAAQA,MAAAA,WAAAA,GACL,oBAACC,SAAOA;QAAC,MAAM;OAAOH;AAGlC"}
@@ -0,0 +1,11 @@
1
+ export declare const RowTitle: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const RowIcon: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/admin-ui").TextProps & {
10
+ theme?: import("@emotion/react").Theme;
11
+ }, {}, {}>;
@@ -0,0 +1,18 @@
1
+ import styled from "@emotion/styled";
2
+ import { Text } from "@webiny/admin-ui";
3
+ const RowTitle = styled("div")`
4
+ display: flex;
5
+ align-items: center;
6
+ `;
7
+ const RowIcon = styled("div")`
8
+ margin-right: 8px;
9
+ height: 24px;
10
+ `;
11
+ const RowText = styled(Text)`
12
+ white-space: nowrap;
13
+ overflow: hidden;
14
+ text-overflow: ellipsis;
15
+ `;
16
+ export { RowIcon, RowText, RowTitle };
17
+
18
+ //# sourceMappingURL=CellRevision.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellRevision/CellRevision.styled.js","sources":["../../../../../src/presentation/components/Cells/CellRevision/CellRevision.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\n\nexport const RowTitle = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowTitle","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,WAAWC,OAAO,MAAM,CAAC;;;AAGtC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from "./CellRevision.js";
@@ -0,0 +1 @@
1
+ export * from "./CellRevision.js";
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const CellScheduledBy: () => React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import react from "react";
2
+ import { SchedulerListConfig } from "../../../configs/index.js";
3
+ const CellScheduledBy = ()=>{
4
+ const { useTableRow } = SchedulerListConfig.Browser.Table.Column;
5
+ const { row } = useTableRow();
6
+ return /*#__PURE__*/ react.createElement(react.Fragment, null, row.data.scheduledBy?.displayName || "unknown");
7
+ };
8
+ export { CellScheduledBy };
9
+
10
+ //# sourceMappingURL=CellScheduledBy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellScheduledBy/CellScheduledBy.js","sources":["../../../../../src/presentation/components/Cells/CellScheduledBy/CellScheduledBy.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\n\nexport const CellScheduledBy = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return <>{row.data.scheduledBy?.displayName || \"unknown\"}</>;\n};\n"],"names":["CellScheduledBy","useTableRow","SchedulerListConfig","row"],"mappings":";;AAGO,MAAMA,kBAAkB;IAC3B,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GAAO,0CAAGE,IAAI,IAAI,CAAC,WAAW,EAAE,eAAe;AACnD"}
@@ -0,0 +1 @@
1
+ export * from "./CellScheduledBy.js";
@@ -0,0 +1 @@
1
+ export * from "./CellScheduledBy.js";
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ export interface ICellScheduledOnLabelProps {
3
+ dateTime: Date | undefined;
4
+ }
5
+ export declare const CellScheduledOnLabel: (({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
6
+ original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
7
+ originalName: string;
8
+ displayName: string;
9
+ } & {
10
+ original: (({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
11
+ original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
12
+ originalName: string;
13
+ displayName: string;
14
+ };
15
+ originalName: string;
16
+ displayName: string;
17
+ } & {
18
+ createDecorator: (decorator: import("@webiny/react-composition").ComponentDecorator<(({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
19
+ original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
20
+ originalName: string;
21
+ displayName: string;
22
+ }>) => (props: unknown) => React.JSX.Element;
23
+ };
24
+ export declare const CellScheduledOn: () => React.JSX.Element;
@@ -0,0 +1,19 @@
1
+ import react from "react";
2
+ import { SchedulerListConfig } from "../../../configs/index.js";
3
+ import { makeDecoratable } from "@webiny/react-composition";
4
+ import { useDateFormatter } from "@webiny/app-admin";
5
+ const CellScheduledOnLabel = makeDecoratable("Scheduler.CellScheduledOnLabel", ({ dateTime })=>{
6
+ const dateFormatter = useDateFormatter();
7
+ if (!dateTime) return /*#__PURE__*/ react.createElement(react.Fragment, null, "Missing publish or unpublish date.");
8
+ return /*#__PURE__*/ react.createElement(react.Fragment, null, dateFormatter.format(dateTime));
9
+ });
10
+ const CellScheduledOn = ()=>{
11
+ const { useTableRow } = SchedulerListConfig.Browser.Table.Column;
12
+ const { row } = useTableRow();
13
+ return /*#__PURE__*/ react.createElement(CellScheduledOnLabel, {
14
+ dateTime: row.data.publishOn || row.data.unpublishOn
15
+ });
16
+ };
17
+ export { CellScheduledOn, CellScheduledOnLabel };
18
+
19
+ //# sourceMappingURL=CellScheduledOn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellScheduledOn/CellScheduledOn.js","sources":["../../../../../src/presentation/components/Cells/CellScheduledOn/CellScheduledOn.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\nimport { makeDecoratable } from \"@webiny/react-composition\";\nimport { useDateFormatter } from \"@webiny/app-admin\";\n\nexport interface ICellScheduledOnLabelProps {\n dateTime: Date | undefined;\n}\n\nexport const CellScheduledOnLabel = makeDecoratable(\n \"Scheduler.CellScheduledOnLabel\",\n ({ dateTime }: ICellScheduledOnLabelProps) => {\n const dateFormatter = useDateFormatter();\n if (!dateTime) {\n return <>Missing publish or unpublish date.</>;\n }\n\n return <>{dateFormatter.format(dateTime)}</>;\n }\n);\n\nexport const CellScheduledOn = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return <CellScheduledOnLabel dateTime={row.data.publishOn || row.data.unpublishOn} />;\n};\n"],"names":["CellScheduledOnLabel","makeDecoratable","dateTime","dateFormatter","useDateFormatter","CellScheduledOn","useTableRow","SchedulerListConfig","row"],"mappings":";;;;AASO,MAAMA,uBAAuBC,gBAChC,kCACA,CAAC,EAAEC,QAAQ,EAA8B;IACrC,MAAMC,gBAAgBC;IACtB,IAAI,CAACF,UACD,OAAO,WAAP,GAAO,0CAAE;IAGb,OAAO,WAAP,GAAO,0CAAGC,cAAc,MAAM,CAACD;AACnC;AAGG,MAAMG,kBAAkB;IAC3B,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GAAO,oBAACN,sBAAoBA;QAAC,UAAUQ,IAAI,IAAI,CAAC,SAAS,IAAIA,IAAI,IAAI,CAAC,WAAW;;AACrF"}
@@ -0,0 +1 @@
1
+ export * from "./CellScheduledOn.js";
@@ -0,0 +1 @@
1
+ export * from "./CellScheduledOn.js";
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const CellTitle: () => React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ import react from "react";
2
+ import { ReactComponent } from "@material-design-icons/svg/outlined/description.svg";
3
+ import { RowIcon, RowText, RowTitle } from "./CellTitle.styled.js";
4
+ import { SchedulerListConfig } from "../../../configs/index.js";
5
+ const CellTitle = ()=>{
6
+ const { useTableRow } = SchedulerListConfig.Browser.Table.Column;
7
+ const { row } = useTableRow();
8
+ return /*#__PURE__*/ react.createElement(RowTitle, null, /*#__PURE__*/ react.createElement(RowIcon, null, /*#__PURE__*/ react.createElement(ReactComponent, null)), /*#__PURE__*/ react.createElement(RowText, {
9
+ size: "sm"
10
+ }, row.data.title));
11
+ };
12
+ export { CellTitle };
13
+
14
+ //# sourceMappingURL=CellTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellTitle/CellTitle.js","sources":["../../../../../src/presentation/components/Cells/CellTitle/CellTitle.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as File } from \"@material-design-icons/svg/outlined/description.svg\";\nimport { RowIcon, RowText, RowTitle } from \"./CellTitle.styled.js\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\n\nexport const CellTitle = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowTitle>\n <RowIcon>\n <File />\n </RowIcon>\n <RowText size={\"sm\"}>{row.data.title}</RowText>\n </RowTitle>\n );\n};\n"],"names":["CellTitle","useTableRow","SchedulerListConfig","row","RowTitle","RowIcon","File","RowText"],"mappings":";;;;AAKO,MAAMA,YAAY;IACrB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GACI,oBAACG,UAAQA,MAAAA,WAAAA,GACL,oBAACC,SAAOA,MAAAA,WAAAA,GACJ,oBAACC,gBAAIA,QAAAA,WAAAA,GAET,oBAACC,SAAOA;QAAC,MAAM;OAAOJ,IAAI,IAAI,CAAC,KAAK;AAGhD"}
@@ -0,0 +1,11 @@
1
+ export declare const RowTitle: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const RowIcon: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/admin-ui").TextProps & {
10
+ theme?: import("@emotion/react").Theme;
11
+ }, {}, {}>;
@@ -0,0 +1,18 @@
1
+ import styled from "@emotion/styled";
2
+ import { Text } from "@webiny/admin-ui";
3
+ const RowTitle = styled("div")`
4
+ display: flex;
5
+ align-items: center;
6
+ `;
7
+ const RowIcon = styled("div")`
8
+ margin-right: 8px;
9
+ height: 24px;
10
+ `;
11
+ const RowText = styled(Text)`
12
+ white-space: nowrap;
13
+ overflow: hidden;
14
+ text-overflow: ellipsis;
15
+ `;
16
+ export { RowIcon, RowText, RowTitle };
17
+
18
+ //# sourceMappingURL=CellTitle.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellTitle/CellTitle.styled.js","sources":["../../../../../src/presentation/components/Cells/CellTitle/CellTitle.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\n\nexport const RowTitle = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowTitle","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,WAAWC,OAAO,MAAM,CAAC;;;AAGtC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from "./CellTitle.js";
@@ -0,0 +1 @@
1
+ export * from "./CellTitle.js";
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const CellActionType: () => React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ import react from "react";
2
+ import { ReactComponent } from "@webiny/icons/publish.svg";
3
+ import { ReactComponent as unpublished_svg_ReactComponent } from "@webiny/icons/unpublished.svg";
4
+ import { RowIcon, RowText, RowType } from "./CellActionType.styled.js";
5
+ import { SchedulerListConfig } from "../../../configs/index.js";
6
+ const CellActionType = ()=>{
7
+ const { useTableRow } = SchedulerListConfig.Browser.Table.Column;
8
+ const { row } = useTableRow();
9
+ return /*#__PURE__*/ react.createElement(RowType, null, /*#__PURE__*/ react.createElement(RowIcon, null, "publish" === row.data.actionType ? /*#__PURE__*/ react.createElement(ReactComponent, null) : /*#__PURE__*/ react.createElement(unpublished_svg_ReactComponent, null)), /*#__PURE__*/ react.createElement(RowText, {
10
+ size: "sm"
11
+ }, row.data.actionType));
12
+ };
13
+ export { CellActionType };
14
+
15
+ //# sourceMappingURL=CellActionType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellType/CellActionType.js","sources":["../../../../../src/presentation/components/Cells/CellType/CellActionType.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as Publish } from \"@webiny/icons/publish.svg\";\nimport { ReactComponent as Unpublish } from \"@webiny/icons/unpublished.svg\";\nimport { RowIcon, RowText, RowType } from \"./CellActionType.styled.js\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\n\nexport const CellActionType = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowType>\n <RowIcon>{row.data.actionType === \"publish\" ? <Publish /> : <Unpublish />}</RowIcon>\n <RowText size={\"sm\"}>{row.data.actionType}</RowText>\n </RowType>\n );\n};\n"],"names":["CellActionType","useTableRow","SchedulerListConfig","row","RowType","RowIcon","Publish","Unpublish","RowText"],"mappings":";;;;;AAMO,MAAMA,iBAAiB;IAC1B,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GACI,oBAACG,SAAOA,MAAAA,WAAAA,GACJ,oBAACC,SAAOA,MAAEF,AAAwB,cAAxBA,IAAI,IAAI,CAAC,UAAU,GAAiB,WAAZ,GAAY,oBAACG,gBAAOA,QAAAA,WAAAA,GAAM,oBAACC,gCAASA,QAAAA,WAAAA,GACtE,oBAACC,SAAOA;QAAC,MAAM;OAAOL,IAAI,IAAI,CAAC,UAAU;AAGrD"}
@@ -0,0 +1,11 @@
1
+ export declare const RowType: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const RowIcon: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/admin-ui").TextProps & {
10
+ theme?: import("@emotion/react").Theme;
11
+ }, {}, {}>;
@@ -0,0 +1,18 @@
1
+ import styled from "@emotion/styled";
2
+ import { Text } from "@webiny/admin-ui";
3
+ const RowType = styled("div")`
4
+ display: flex;
5
+ align-items: center;
6
+ `;
7
+ const RowIcon = styled("div")`
8
+ margin-right: 8px;
9
+ height: 24px;
10
+ `;
11
+ const RowText = styled(Text)`
12
+ white-space: nowrap;
13
+ overflow: hidden;
14
+ text-overflow: ellipsis;
15
+ `;
16
+ export { RowIcon, RowText, RowType };
17
+
18
+ //# sourceMappingURL=CellActionType.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellType/CellActionType.styled.js","sources":["../../../../../src/presentation/components/Cells/CellType/CellActionType.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\n\nexport const RowType = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowType","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,UAAUC,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from "./CellActionType.js";
@@ -0,0 +1 @@
1
+ export * from "./CellActionType.js";
@@ -0,0 +1,6 @@
1
+ export * from "./CellActions/index.js";
2
+ export * from "./CellScheduledBy/index.js";
3
+ export * from "./CellScheduledOn/index.js";
4
+ export * from "./CellType/index.js";
5
+ export * from "./CellTitle/index.js";
6
+ export * from "./CellRevision/index.js";
@@ -0,0 +1,6 @@
1
+ export * from "./CellActions/index.js";
2
+ export * from "./CellScheduledBy/index.js";
3
+ export * from "./CellScheduledOn/index.js";
4
+ export * from "./CellType/index.js";
5
+ export * from "./CellTitle/index.js";
6
+ export * from "./CellRevision/index.js";
@@ -0,0 +1,8 @@
1
+ export declare const EmptyWrapper: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const EmptyOuter: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,16 @@
1
+ import styled from "@emotion/styled";
2
+ const EmptyWrapper = styled("div")`
3
+ width: 100%;
4
+ height: calc(100% - 95px);
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ `;
9
+ const EmptyOuter = styled("div")`
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ `;
14
+ export { EmptyOuter, EmptyWrapper };
15
+
16
+ //# sourceMappingURL=Empty.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Empty/Empty.styled.js","sources":["../../../../src/presentation/components/Empty/Empty.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\n\nexport const EmptyWrapper = styled(\"div\")`\n width: 100%;\n height: calc(100% - 95px);\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const EmptyOuter = styled(\"div\")`\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n"],"names":["EmptyWrapper","styled","EmptyOuter"],"mappings":";AAEO,MAAMA,eAAeC,OAAO,MAAM,CAAC;;;;;;AAM1C,CAAC;AAEM,MAAMC,aAAaD,OAAO,MAAM,CAAC;;;;AAIxC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export interface TitleProps {
3
+ title?: string;
4
+ }
5
+ export declare const Title: ({ title }: TitleProps) => React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import react from "react";
2
+ import { Skeleton } from "@webiny/admin-ui";
3
+ import { Name } from "./Title.styled.js";
4
+ const Title = ({ title })=>/*#__PURE__*/ react.createElement(Name, {
5
+ level: 6,
6
+ as: "h1"
7
+ }, title || /*#__PURE__*/ react.createElement(Skeleton, null));
8
+ export { Title };
9
+
10
+ //# sourceMappingURL=Title.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Title/Title.js","sources":["../../../../src/presentation/components/Title/Title.tsx"],"sourcesContent":["import React from \"react\";\nimport { Skeleton } from \"@webiny/admin-ui\";\nimport { Name } from \"./Title.styled.js\";\n\nexport interface TitleProps {\n title?: string;\n}\n\nexport const Title = ({ title }: TitleProps) => {\n return (\n <Name level={6} as={\"h1\"}>\n {title || <Skeleton />}\n </Name>\n );\n};\n"],"names":["Title","title","Name","Skeleton"],"mappings":";;;AAQO,MAAMA,QAAQ,CAAC,EAAEC,KAAK,EAAc,GAChC,WAAP,GACI,oBAACC,MAAIA;QAAC,OAAO;QAAG,IAAI;OACfD,SAAS,WAATA,GAAS,oBAACE,UAAQA"}
@@ -0,0 +1,3 @@
1
+ export declare const Name: import("@emotion/styled").StyledComponent<import("@webiny/admin-ui").HeadingProps & {
2
+ theme?: import("@emotion/react").Theme;
3
+ }, {}, {}>;
@@ -0,0 +1,13 @@
1
+ import styled from "@emotion/styled";
2
+ import { Heading } from "@webiny/admin-ui";
3
+ const Name = styled(Heading)`
4
+ color: var(--mdc-theme-text-primary-on-background);
5
+ padding-left: 8px;
6
+ line-height: 48px;
7
+ white-space: nowrap;
8
+ overflow: hidden;
9
+ text-overflow: ellipsis;
10
+ `;
11
+ export { Name };
12
+
13
+ //# sourceMappingURL=Title.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Title/Title.styled.js","sources":["../../../../src/presentation/components/Title/Title.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Heading } from \"@webiny/admin-ui\";\n\nexport const Name = styled(Heading)`\n color: var(--mdc-theme-text-primary-on-background);\n padding-left: 8px;\n line-height: 48px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["Name","styled","Heading"],"mappings":";;AAGO,MAAMA,OAAOC,OAAOC,QAAQ,CAAC;;;;;;;AAOpC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from "./Title.js";
@@ -0,0 +1 @@
1
+ export * from "./Title.js";
@@ -0,0 +1 @@
1
+ export * from "./list/index.js";
@@ -0,0 +1 @@
1
+ export * from "./list/index.js";
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { AcoConfig, type RecordActionConfig } from "@webiny/app-aco";
3
+ export type { RecordActionConfig as EntryActionConfig };
4
+ type EntryActionProps = React.ComponentProps<typeof AcoConfig.Record.Action>;
5
+ declare const BaseEntryAction: (props: EntryActionProps) => React.JSX.Element;
6
+ export declare const EntryAction: typeof BaseEntryAction & {
7
+ OptionsMenuItem: (props: import("@webiny/app-admin/components").OptionsMenuItemProps) => React.JSX.Element;
8
+ };
@@ -0,0 +1,13 @@
1
+ import react from "react";
2
+ import { CompositionScope } from "@webiny/react-composition";
3
+ import { AcoConfig } from "@webiny/app-aco";
4
+ const { Record: Record } = AcoConfig;
5
+ const BaseEntryAction = (props)=>/*#__PURE__*/ react.createElement(CompositionScope, {
6
+ name: "scheduler"
7
+ }, /*#__PURE__*/ react.createElement(Record.Action, props));
8
+ const EntryAction = Object.assign(BaseEntryAction, {
9
+ OptionsMenuItem: Record.Action.OptionsMenuItem
10
+ });
11
+ export { EntryAction };
12
+
13
+ //# sourceMappingURL=EntryAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/configs/list/Browser/EntryAction.js","sources":["../../../../../src/presentation/configs/list/Browser/EntryAction.tsx"],"sourcesContent":["import React from \"react\";\nimport { CompositionScope } from \"@webiny/react-composition\";\nimport { AcoConfig, type RecordActionConfig } from \"@webiny/app-aco\";\n\nconst { Record } = AcoConfig;\n\nexport type { RecordActionConfig as EntryActionConfig };\n\ntype EntryActionProps = React.ComponentProps<typeof AcoConfig.Record.Action>;\n\nconst BaseEntryAction = (props: EntryActionProps) => {\n return (\n <CompositionScope name={\"scheduler\"}>\n <Record.Action {...props} />\n </CompositionScope>\n );\n};\n\nexport const EntryAction = Object.assign(BaseEntryAction, {\n OptionsMenuItem: Record.Action.OptionsMenuItem\n});\n"],"names":["Record","AcoConfig","BaseEntryAction","props","CompositionScope","EntryAction","Object"],"mappings":";;;AAIA,MAAM,EAAEA,QAAAA,MAAM,EAAE,GAAGC;AAMnB,MAAMC,kBAAkB,CAACC,QACd,WAAP,GACI,oBAACC,kBAAgBA;QAAC,MAAM;qBACpB,oBAACJ,OAAO,MAAM,EAAKG;AAKxB,MAAME,cAAcC,OAAO,MAAM,CAACJ,iBAAiB;IACtD,iBAAiBF,OAAO,MAAM,CAAC,eAAe;AAClD"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { AcoConfig, type TableColumnConfig as ColumnConfig } from "@webiny/app-aco";
3
+ import type { SchedulerEntryTableRow } from "../../../../../types.js";
4
+ export type { ColumnConfig };
5
+ type ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;
6
+ declare const BaseColumn: (props: ColumnProps) => React.JSX.Element;
7
+ export declare const Column: typeof BaseColumn & {
8
+ useTableRow: {
9
+ (): import("@webiny/app-admin/components").TableRowContextData<SchedulerEntryTableRow>;
10
+ <TUserRow>(): import("@webiny/app-admin/components").TableRowContextData<SchedulerEntryTableRow & {
11
+ data: TUserRow;
12
+ }>;
13
+ };
14
+ isFolderRow: (row: import("@webiny/app-aco").TableRow) => row is import("@webiny/app-aco").FolderTableRow;
15
+ };
@@ -0,0 +1,11 @@
1
+ import react from "react";
2
+ import { AcoConfig } from "@webiny/app-aco";
3
+ const { Table: Table } = AcoConfig;
4
+ const BaseColumn = (props)=>/*#__PURE__*/ react.createElement(Table.Column, props);
5
+ const Column = Object.assign(BaseColumn, {
6
+ useTableRow: Table.Column.createUseTableRow(),
7
+ isFolderRow: Table.Column.isFolderRow
8
+ });
9
+ export { Column };
10
+
11
+ //# sourceMappingURL=Column.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/configs/list/Browser/Table/Column.js","sources":["../../../../../../src/presentation/configs/list/Browser/Table/Column.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type TableColumnConfig as ColumnConfig } from \"@webiny/app-aco\";\nimport type { SchedulerEntryTableRow } from \"~/types.js\";\n\nconst { Table } = AcoConfig;\n\nexport type { ColumnConfig };\n\ntype ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;\n\nconst BaseColumn = (props: ColumnProps) => {\n return <Table.Column {...props} />;\n};\n\nexport const Column = Object.assign(BaseColumn, {\n useTableRow: Table.Column.createUseTableRow<SchedulerEntryTableRow>(),\n isFolderRow: Table.Column.isFolderRow\n});\n"],"names":["Table","AcoConfig","BaseColumn","props","Column","Object"],"mappings":";;AAIA,MAAM,EAAEA,OAAAA,KAAK,EAAE,GAAGC;AAMlB,MAAMC,aAAa,CAACC,QACT,WAAP,GAAO,oBAACH,MAAM,MAAM,EAAKG;AAGtB,MAAMC,SAASC,OAAO,MAAM,CAACH,YAAY;IAC5C,aAAaF,MAAM,MAAM,CAAC,iBAAiB;IAC3C,aAAaA,MAAM,MAAM,CAAC,WAAW;AACzC"}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { AcoConfig, type TableSortingConfig as SortingConfig } from "@webiny/app-aco";
3
+ export type { SortingConfig };
4
+ type SortingProps = React.ComponentProps<typeof AcoConfig.Table.Sorting>;
5
+ export declare const Sorting: (props: SortingProps) => React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import react from "react";
2
+ import { AcoConfig } from "@webiny/app-aco";
3
+ const { Table: Table } = AcoConfig;
4
+ const Sorting = (props)=>/*#__PURE__*/ react.createElement(Table.Sorting, props);
5
+ export { Sorting };
6
+
7
+ //# sourceMappingURL=Sorting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/configs/list/Browser/Table/Sorting.js","sources":["../../../../../../src/presentation/configs/list/Browser/Table/Sorting.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type TableSortingConfig as SortingConfig } from \"@webiny/app-aco\";\n\nconst { Table } = AcoConfig;\n\nexport type { SortingConfig };\n\ntype SortingProps = React.ComponentProps<typeof AcoConfig.Table.Sorting>;\n\nexport const Sorting = (props: SortingProps) => {\n return <Table.Sorting {...props} />;\n};\n"],"names":["Table","AcoConfig","Sorting","props"],"mappings":";;AAGA,MAAM,EAAEA,OAAAA,KAAK,EAAE,GAAGC;AAMX,MAAMC,UAAU,CAACC,QACb,WAAP,GAAO,oBAACH,MAAM,OAAO,EAAKG"}
@@ -0,0 +1,19 @@
1
+ import type { ColumnConfig } from "./Column.js";
2
+ import type { SortingConfig } from "./Sorting.js";
3
+ import { Sorting } from "./Sorting.js";
4
+ export interface TableConfig {
5
+ columns: ColumnConfig[];
6
+ sorting: SortingConfig[];
7
+ }
8
+ export declare const Table: {
9
+ Column: ((props: import("@webiny/app-admin/config/table/Column.js").ColumnProps) => import("react").JSX.Element) & {
10
+ useTableRow: {
11
+ (): import("@webiny/app-admin/index.js").TableRowContextData<import("../../../../../types.js").SchedulerEntryTableRow>;
12
+ <TUserRow>(): import("@webiny/app-admin/index.js").TableRowContextData<import("../../../../../types.js").SchedulerEntryTableRow & {
13
+ data: TUserRow;
14
+ }>;
15
+ };
16
+ isFolderRow: (row: import("@webiny/app-admin/index.js").TableRow) => row is import("@webiny/app-aco/table.types.js").FolderTableRow;
17
+ };
18
+ Sorting: typeof Sorting;
19
+ };
@@ -0,0 +1,9 @@
1
+ import { Column } from "./Column.js";
2
+ import { Sorting } from "./Sorting.js";
3
+ const Table = {
4
+ Column: Column,
5
+ Sorting: Sorting
6
+ };
7
+ export { Table };
8
+
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/configs/list/Browser/Table/index.js","sources":["../../../../../../src/presentation/configs/list/Browser/Table/index.ts"],"sourcesContent":["import type { ColumnConfig } from \"./Column.js\";\nimport { Column } from \"./Column.js\";\nimport type { SortingConfig } from \"./Sorting.js\";\nimport { Sorting } from \"./Sorting.js\";\n\nexport interface TableConfig {\n columns: ColumnConfig[];\n sorting: SortingConfig[];\n}\n\nexport const Table = {\n Column,\n Sorting\n};\n"],"names":["Table","Column","Sorting"],"mappings":";;AAUO,MAAMA,QAAQ;IACjBC,QAAMA;IACNC,SAAOA;AACX"}
@@ -0,0 +1,23 @@
1
+ import type { EntryActionConfig } from "./EntryAction.js";
2
+ import type { TableConfig } from "./Table/index.js";
3
+ export interface BrowserConfig {
4
+ entryActions: EntryActionConfig[];
5
+ table: TableConfig;
6
+ }
7
+ export declare const Browser: {
8
+ EntryAction: ((props: import("@webiny/app-aco/config/record/Action.js").ActionProps) => import("react").JSX.Element) & {
9
+ OptionsMenuItem: (props: import("@webiny/app-admin/index.js").OptionsMenuItemProps) => React.JSX.Element;
10
+ };
11
+ Table: {
12
+ Column: ((props: import("@webiny/app-admin/config/table/Column.js").ColumnProps) => import("react").JSX.Element) & {
13
+ useTableRow: {
14
+ (): import("@webiny/app-admin/index.js").TableRowContextData<import("../../../../types.js").SchedulerEntryTableRow>;
15
+ <TUserRow>(): import("@webiny/app-admin/index.js").TableRowContextData<import("../../../../types.js").SchedulerEntryTableRow & {
16
+ data: TUserRow;
17
+ }>;
18
+ };
19
+ isFolderRow: (row: import("@webiny/app-admin/index.js").TableRow) => row is import("@webiny/app-aco/table.types.js").FolderTableRow;
20
+ };
21
+ Sorting: typeof import("./Table/Sorting.js").Sorting;
22
+ };
23
+ };
@@ -0,0 +1,9 @@
1
+ import { EntryAction } from "./EntryAction.js";
2
+ import { Table } from "./Table/index.js";
3
+ const Browser = {
4
+ EntryAction: EntryAction,
5
+ Table: Table
6
+ };
7
+ export { Browser };
8
+
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/configs/list/Browser/index.js","sources":["../../../../../src/presentation/configs/list/Browser/index.ts"],"sourcesContent":["import type { EntryActionConfig } from \"./EntryAction.js\";\nimport { EntryAction } from \"./EntryAction.js\";\nimport type { TableConfig } from \"./Table/index.js\";\nimport { Table } from \"./Table/index.js\";\n\nexport interface BrowserConfig {\n entryActions: EntryActionConfig[];\n table: TableConfig;\n}\n\nexport const Browser = {\n EntryAction,\n Table\n};\n"],"names":["Browser","EntryAction","Table"],"mappings":";;AAUO,MAAMA,UAAU;IACnBC,aAAWA;IACXC,OAAKA;AACT"}