@powerhousedao/document-engineering 1.15.0 → 1.16.1

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 (171) hide show
  1. package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts +1 -1
  2. package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts.map +1 -1
  3. package/dist/src/scalars/components/amount-field/amount-currency-validations.js +6 -3
  4. package/dist/src/scalars/components/amount-field/amount-currency-validations.js.map +1 -1
  5. package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts +1 -1
  6. package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts.map +1 -1
  7. package/dist/src/scalars/components/amount-field/amount-field-validations.js +2 -2
  8. package/dist/src/scalars/components/amount-field/amount-field-validations.js.map +1 -1
  9. package/dist/src/scalars/components/date-picker-field/date-picker-validations.js +6 -6
  10. package/dist/src/scalars/components/date-picker-field/date-picker-validations.js.map +1 -1
  11. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts.map +1 -1
  12. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js +14 -7
  13. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js.map +1 -1
  14. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js +1 -1
  15. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js.map +1 -1
  16. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js +2 -2
  17. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js.map +1 -1
  18. package/dist/src/scalars/components/examples/reset-button/reset-button.js +2 -2
  19. package/dist/src/scalars/components/examples/reset-button/reset-button.js.map +1 -1
  20. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts.map +1 -1
  21. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js +2 -2
  22. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js.map +1 -1
  23. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js +3 -3
  24. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js.map +1 -1
  25. package/dist/src/scalars/components/fragments/command/command.d.ts +6 -6
  26. package/dist/src/scalars/components/fragments/command/command.d.ts.map +1 -1
  27. package/dist/src/scalars/components/fragments/command/command.js.map +1 -1
  28. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js +1 -1
  29. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map +1 -1
  30. package/dist/src/scalars/lib/decorators.js +2 -2
  31. package/dist/src/scalars/lib/decorators.js.map +1 -1
  32. package/dist/src/scalars/lib/value-cast.js +4 -4
  33. package/dist/src/scalars/lib/value-cast.js.map +1 -1
  34. package/dist/src/ui/components/button/button.d.ts +11 -0
  35. package/dist/src/ui/components/button/button.d.ts.map +1 -0
  36. package/dist/src/ui/components/button/button.js +32 -0
  37. package/dist/src/ui/components/button/button.js.map +1 -0
  38. package/dist/src/ui/components/button/index.d.ts +2 -0
  39. package/dist/src/ui/components/button/index.d.ts.map +1 -0
  40. package/dist/src/ui/components/button/index.js +2 -0
  41. package/dist/src/ui/components/button/index.js.map +1 -0
  42. package/dist/src/ui/components/confirm/alert-dialog.d.ts +21 -0
  43. package/dist/src/ui/components/confirm/alert-dialog.d.ts.map +1 -0
  44. package/dist/src/ui/components/confirm/alert-dialog.js +40 -0
  45. package/dist/src/ui/components/confirm/alert-dialog.js.map +1 -0
  46. package/dist/src/ui/components/confirm/confirm.d.ts +12 -0
  47. package/dist/src/ui/components/confirm/confirm.d.ts.map +1 -0
  48. package/dist/src/ui/components/confirm/confirm.js +14 -0
  49. package/dist/src/ui/components/confirm/confirm.js.map +1 -0
  50. package/dist/src/ui/components/confirm/index.d.ts +3 -0
  51. package/dist/src/ui/components/confirm/index.d.ts.map +1 -0
  52. package/dist/src/ui/components/confirm/index.js +2 -0
  53. package/dist/src/ui/components/confirm/index.js.map +1 -0
  54. package/dist/src/ui/components/data-entry/date-picker/subcomponents/date-picker-diff/date-picker-diff.js +1 -1
  55. package/dist/src/ui/components/data-entry/date-picker/subcomponents/date-picker-diff/date-picker-diff.js.map +1 -1
  56. package/dist/src/ui/components/data-entry/date-picker/subcomponents/month-grid.js +2 -2
  57. package/dist/src/ui/components/data-entry/date-picker/subcomponents/month-grid.js.map +1 -1
  58. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts.map +1 -1
  59. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js +3 -3
  60. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js.map +1 -1
  61. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts +3 -1
  62. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts.map +1 -1
  63. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js +2 -2
  64. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js.map +1 -1
  65. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts.map +1 -1
  66. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js +2 -2
  67. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js.map +1 -1
  68. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts +1 -0
  69. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +1 -1
  70. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js +29 -6
  71. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js.map +1 -1
  72. package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts +2 -1
  73. package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts.map +1 -1
  74. package/dist/src/ui/components/data-entry/date-time-picker/utils.js +6 -3
  75. package/dist/src/ui/components/data-entry/date-time-picker/utils.js.map +1 -1
  76. package/dist/src/ui/components/data-entry/text-input/text-input.d.ts.map +1 -1
  77. package/dist/src/ui/components/data-entry/text-input/text-input.js +1 -1
  78. package/dist/src/ui/components/data-entry/text-input/text-input.js.map +1 -1
  79. package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +1 -1
  80. package/dist/src/ui/components/data-entry/textarea/textarea.js +1 -1
  81. package/dist/src/ui/components/data-entry/textarea/textarea.js.map +1 -1
  82. package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.d.ts +2 -2
  83. package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.d.ts.map +1 -1
  84. package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.js +2 -2
  85. package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.js.map +1 -1
  86. package/dist/src/ui/components/data-entry/toggle/toggle.d.ts.map +1 -1
  87. package/dist/src/ui/components/data-entry/toggle/toggle.js +1 -1
  88. package/dist/src/ui/components/data-entry/toggle/toggle.js.map +1 -1
  89. package/dist/src/ui/components/data-entry/url-input/url-input-diff.d.ts +1 -1
  90. package/dist/src/ui/components/data-entry/url-input/url-input-diff.d.ts.map +1 -1
  91. package/dist/src/ui/components/data-entry/url-input/url-input-diff.js +2 -2
  92. package/dist/src/ui/components/data-entry/url-input/url-input-diff.js.map +1 -1
  93. package/dist/src/ui/components/data-entry/url-input/url-input.d.ts.map +1 -1
  94. package/dist/src/ui/components/data-entry/url-input/url-input.js +1 -1
  95. package/dist/src/ui/components/data-entry/url-input/url-input.js.map +1 -1
  96. package/dist/src/ui/components/index.d.ts +2 -0
  97. package/dist/src/ui/components/index.d.ts.map +1 -1
  98. package/dist/src/ui/components/index.js +3 -0
  99. package/dist/src/ui/components/index.js.map +1 -1
  100. package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.d.ts.map +1 -1
  101. package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js +0 -1
  102. package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js.map +1 -1
  103. package/dist/src/ui/components/object-set-table/examples/table-editing/table-editing.d.ts.map +1 -1
  104. package/dist/src/ui/components/object-set-table/examples/table-editing/table-editing.js +32 -5
  105. package/dist/src/ui/components/object-set-table/examples/table-editing/table-editing.js.map +1 -1
  106. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +1 -1
  107. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js +13 -0
  108. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +1 -1
  109. package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts +4 -0
  110. package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +1 -1
  111. package/dist/src/ui/components/object-set-table/logic/selection-manager.js +6 -0
  112. package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +1 -1
  113. package/dist/src/ui/components/object-set-table/logic/table-api.d.ts +24 -0
  114. package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +1 -1
  115. package/dist/src/ui/components/object-set-table/logic/table-api.js +56 -0
  116. package/dist/src/ui/components/object-set-table/logic/table-api.js.map +1 -1
  117. package/dist/src/ui/components/object-set-table/logic/types.d.ts +5 -0
  118. package/dist/src/ui/components/object-set-table/logic/types.d.ts.map +1 -1
  119. package/dist/src/ui/components/object-set-table/object-set-table.d.ts +3 -0
  120. package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +1 -1
  121. package/dist/src/ui/components/object-set-table/object-set-table.js +8 -1
  122. package/dist/src/ui/components/object-set-table/object-set-table.js.map +1 -1
  123. package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +1 -1
  124. package/dist/src/ui/components/object-set-table/subcomponents/body.js +11 -5
  125. package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +1 -1
  126. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts +5 -1
  127. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +1 -1
  128. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +8 -2
  129. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +1 -1
  130. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/empty-cell.d.ts +9 -0
  131. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/empty-cell.d.ts.map +1 -0
  132. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/empty-cell.js +7 -0
  133. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/empty-cell.js.map +1 -0
  134. package/dist/src/ui/components/object-set-table/subcomponents/cells/{render-cell.d.ts → render-cell/render-cell.d.ts} +1 -1
  135. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/render-cell.d.ts.map +1 -0
  136. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/render-cell.js +34 -0
  137. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/render-cell.js.map +1 -0
  138. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/use-cell-logic.d.ts +16 -0
  139. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/use-cell-logic.d.ts.map +1 -0
  140. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/use-cell-logic.js +44 -0
  141. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/use-cell-logic.js.map +1 -0
  142. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.d.ts +2 -1
  143. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.d.ts.map +1 -1
  144. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.js +7 -2
  145. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.js.map +1 -1
  146. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts +2 -1
  147. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +1 -1
  148. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js +7 -2
  149. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +1 -1
  150. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts +2 -1
  151. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +1 -1
  152. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js +7 -2
  153. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +1 -1
  154. package/dist/src/ui/components/object-set-table/subcomponents/rows/render-row.js +2 -2
  155. package/dist/src/ui/components/object-set-table/subcomponents/rows/render-row.js.map +1 -1
  156. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +1 -1
  157. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js +7 -1
  158. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +1 -1
  159. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +1 -1
  160. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js +5 -3
  161. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +1 -1
  162. package/dist/src/ui/components/object-set-table/types.d.ts +12 -4
  163. package/dist/src/ui/components/object-set-table/types.d.ts.map +1 -1
  164. package/dist/src/ui/components/object-set-table/utils.js +1 -1
  165. package/dist/src/ui/components/object-set-table/utils.js.map +1 -1
  166. package/dist/style.css +342 -0
  167. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  168. package/package.json +4 -4
  169. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell.d.ts.map +0 -1
  170. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell.js +0 -60
  171. package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/document-engineering",
3
- "version": "1.15.0",
3
+ "version": "1.16.1",
4
4
  "description": "",
5
5
  "files": [
6
6
  "/dist"
@@ -103,7 +103,7 @@
103
103
  "@testing-library/user-event": "^14.5.2",
104
104
  "@types/diff": "^7.0.2",
105
105
  "@types/jest": "^29.5.14",
106
- "@types/node": "^22.13.5",
106
+ "@types/node": "^22.15.15",
107
107
  "@types/react": "^18.3.12",
108
108
  "@types/react-dom": "^18.3.1",
109
109
  "@types/react-virtualized": "^9.22.0",
@@ -145,9 +145,8 @@
145
145
  },
146
146
  "dependencies": {
147
147
  "@internationalized/date": "^3.5.6",
148
- "@powerhousedao/design-system": "1.34.2-canary.59",
148
+ "@radix-ui/react-alert-dialog": "^1.1.14",
149
149
  "@radix-ui/react-checkbox": "^1.1.2",
150
- "@radix-ui/react-dialog": "^1.1.2",
151
150
  "@radix-ui/react-dropdown-menu": "^2.1.5",
152
151
  "@radix-ui/react-popover": "^1.1.2",
153
152
  "@radix-ui/react-radio-group": "^1.2.1",
@@ -168,6 +167,7 @@
168
167
  "graphql": "^16.9.0",
169
168
  "nanoid": "^5.0.9",
170
169
  "react-circle-flags": "^0.0.22",
170
+ "react-confirm": "^0.4.0",
171
171
  "react-day-picker": "9.4.3",
172
172
  "react-hook-form": "^7.53.0",
173
173
  "react-virtualized": "^9.22.6",
@@ -1 +0,0 @@
1
- {"version":3,"file":"render-cell.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/object-set-table/subcomponents/cells/render-cell.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,SAAS,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAOtE,UAAU,eAAe,CAAC,CAAC,SAAS,QAAQ;IAC1C,OAAO,EAAE,CAAC,CAAA;IACV,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,QAAA,MAAM,UAAU,GAAI,CAAC,SAAS,QAAQ,EAAE,8DAMrC,eAAe,CAAC,CAAC,CAAC,4CAuFpB,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1,60 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useCallback } from 'react';
3
- import { isCellEqual } from '../../utils.js';
4
- import { useInternalTableState } from '../table-provider/table-provider.js';
5
- import { DefaultTableCell } from './default-cell.js';
6
- import { Form } from '../../../../../scalars/components/form/form.js';
7
- import { cn } from '../../../../../scalars/lib/utils.js';
8
- const RenderCell = ({ rowItem, column, rowIndex, columnIndex, renderEmptyCell = false, }) => {
9
- const { config, state: { selectedCellIndex, isCellEditMode }, api, } = useInternalTableState();
10
- /**
11
- * Create a handler for the click event on the table cell
12
- * This handler is used to enter cell edit mode or select a cell
13
- */
14
- const createCellClickHandler = useCallback((index, column, columnDef) => (e) => {
15
- // if the cell is being edited, ignore clicking on it
16
- if (api.isEditing() && selectedCellIndex?.row === index && selectedCellIndex.column === column) {
17
- return;
18
- }
19
- // if shift, cmd or ctrl is pressed, the user is probably trying to select rows
20
- if (!e.ctrlKey && !e.metaKey && !e.shiftKey) {
21
- // if a cell is being edited but the cell being clicked is not the same
22
- // we need to save it before exiting edit mode and selecting a new cell
23
- if (api.isEditing()) {
24
- void api.exitCellEditMode(true);
25
- }
26
- if (e.detail === 2 && columnDef.editable) {
27
- api.enterCellEditMode(index, column);
28
- }
29
- else {
30
- api.selection.selectCell(index, column);
31
- }
32
- }
33
- }, [selectedCellIndex, api]);
34
- const currentCellIndex = {
35
- row: rowIndex,
36
- column: columnIndex,
37
- };
38
- const isThisCellSelected = isCellEqual(selectedCellIndex, currentCellIndex);
39
- /**
40
- * If the cell is empty, we don't want to render anything
41
- * so we're going to return a default table cell with no content
42
- */
43
- if (renderEmptyCell) {
44
- return (_jsx(DefaultTableCell, { onClick: createCellClickHandler(rowIndex, columnIndex, column), isSelected: isThisCellSelected, isEditable: false }, column.field));
45
- }
46
- const cellContext = {
47
- row: rowItem,
48
- column,
49
- rowIndex,
50
- columnIndex,
51
- tableConfig: config,
52
- };
53
- // get and format the cell value
54
- const cellValue = column.valueFormatter?.(column.valueGetter?.(rowItem, cellContext), cellContext);
55
- const isThisCellEditMode = isCellEditMode && isThisCellSelected;
56
- const formRef = api._getState().dataFormReferences[rowIndex][columnIndex];
57
- return (_jsx(DefaultTableCell, { onClick: createCellClickHandler(rowIndex, columnIndex, column), isSelected: isThisCellSelected, isEditable: column.editable ?? false, children: _jsxs(Form, { ref: formRef, onSubmit: () => undefined, submitChangesOnly: true, children: [_jsx("div", { className: cn({ hidden: !isThisCellEditMode }), children: column.renderCellEditor?.(cellValue, () => null, cellContext) }), _jsx("div", { className: cn({ hidden: isThisCellEditMode }), children: column.renderCell?.(cellValue, cellContext) })] }) }, column.field));
58
- };
59
- export { RenderCell };
60
- //# sourceMappingURL=render-cell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"render-cell.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/object-set-table/subcomponents/cells/render-cell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAEnC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,gDAAgD,CAAA;AACrE,OAAO,EAAE,EAAE,EAAE,MAAM,qCAAqC,CAAA;AAUxD,MAAM,UAAU,GAAG,CAAqB,EACtC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,WAAW,EACX,eAAe,GAAG,KAAK,GACJ,EAAE,EAAE;IACvB,MAAM,EACJ,MAAM,EACN,KAAK,EAAE,EAAE,iBAAiB,EAAE,cAAc,EAAE,EAC5C,GAAG,GACJ,GAAG,qBAA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